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AC,eAAM,eAAM,eAAM,eAAM,eAAM,eAAM,gBAChD6zE,SAAU,CACN,qBACA,qBACA,qBACA,qBACA,qBACA,qBACA,uBAGR3zE,OAAQ,CACJF,UAAW,CACP,eACA,eACA,eACA,eACA,eACA,eACA,eACA,eACA,eACA,eACA,qBACA,sBAEJ6zE,SAAU,CACN,eACA,eACA,eACA,eACA,eACA,eACA,eACA,eACA,eACA,eACA,qBACA,uBAGRK,eAAgB,WAChBC,iBAAkB,SAClBC,YAAa,2BACbC,YAAa,2DAEjB2f,GAAKlO,MAAMoO,MAAQD,GACnBD,GAAKlO,MAEL,IAAIrlF,GAAO,CACPupF,GAAID,EACJI,GAAID,EACJI,GAAID,EACJI,GAAID,EACJO,GAAID,EACJI,GAAID,EACJL,GAAID,EACJU,IAAKD,EACLI,GAAID,EACJ/+H,GAAIk/H,GACJG,GAAID,GACJI,GAAID,GACJxkH,QAAW2pG,EAAS,CAAC,EAAGyC,IACxBgW,GAAIhW,GACJwY,GAAID,GACJI,GAAID,GACJI,GAAID,GACJI,GAAID,GACJI,GAAID,GACJI,GAAID,GACJI,GAAID,GACJI,GAAID,GACJI,GAAID,GACJI,GAAID,GACJI,GAAID,GACJI,GAAID,GACJ/1G,GAAIk2G,GACJG,GAAID,GACJI,GAAID,GACJI,GAAID,GACJI,GAAID,GACJI,GAAID,GACJI,GAAID,GACJI,GAAID,GACJI,GAAID,GACJI,GAAID,GACJI,GAAID,GACJgE,GAAI7D,GACJG,GAAID,GACJI,GAAID,GACJI,GAAID,GACJI,GAAID,GACJI,GAAID,GACJI,GAAID,GACJI,GAAID,GACJI,GAAID,GACJI,GAAID,GACJI,GAAID,GACJI,GAAID,GACJI,GAAID,GACJI,GAAID,GACJI,GAAID,GACJI,GAAID,GACJI,GAAID,GACJI,GAAID,GACJI,GAAID,GACJI,GAAID,GACJI,MAAOD,IAGXjvH,EAAQuC,QAAUk5B,GAElB5gD,OAAOC,eAAeklB,EAAS,aAAc,CAAEplB,OAAO,GAE1D,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GAAap0G,UAt3MoF6kL,MAAE,UAs3MgCg9J,MAmEnI,MAAMwZ,GAAqB,IAAIp3K,MAAey7H,GAAc,qBAAuB,IAkBnE,IAAI73E,MAAQ,0DCp4N5B,IAkBIyzH,EAAS,CAACz+V,EAAO,KACnB0oB,OAAOC,gBAAgB,IAAIsQ,WAAWj5B,IAAO62C,OAAO,CAAC5iB,EAAIiG,IAGrDjG,IAFFiG,GAAQ,IACG,GACHA,EAAK13B,SAAS,IACX03B,EAAO,IACTA,EAAO,IAAI13B,SAAS,IAAI6e,cACtB6Y,EAAO,GACV,IAEA,IAGP,kCChCL,0BACA,IACA,cACAz+B,SAIA,CAHA,MAAImlB,GAEJ,YADAoL,IAEA,CACAo3K,OACAr3K,KAEA9F,4BAEA,CACe,cACf,kBACA,WACAwP,YACA,iCACA,mBACA,cACAipU,qBACA,CACA,cACAA,sBACA,CACAr6L,SACA,EACA,CACA","names":["_defineProperty","obj","key","value","Object","defineProperty","enumerable","configurable","writable","ownKeys","object","enumerableOnly","keys","getOwnPropertySymbols","symbols","filter","sym","getOwnPropertyDescriptor","push","apply","_objectWithoutProperties","source","excluded","i","target","_objectWithoutPropertiesLoose","sourceKeys","length","indexOf","sourceSymbolKeys","prototype","propertyIsEnumerable","call","defaultAttributes","focusable","preserveAspectRatio","getAttributes","_ref","arguments","undefined","width","height","_ref$viewBox","viewBox","concat","attributes","tabindex","rest","iconAttributes","_objectSpread2","forEach","getOwnPropertyDescriptors","defineProperties","title","role","AddCommentDirective","AddCommentComponent","this","__decorate","Input","__metadata","String","Boolean","ɵfac","t","ɵcmp","ɵngcc0","type","selectors","inputs","ariaLabel","ariaLabelledby","ariaHidden","innerClass","size","decls","vars","consts","template","rf","ctx","dependencies","encapsulation","elementRef","isFocusable","icons","metadata","moduleName","filepath","descriptor","elem","attrs","xmlns","fill","content","d","name","svg","AddCommentDirective_1","ngAfterViewInit","nativeElement","setAttribute","icon","domParser","DOMParser","rawSVG","node","parseFromString","documentElement","firstChild","appendChild","ownerDocument","importNode","nextSibling","toString","attrKeys","document","createElement","textContent","titleIdCounter","ctorParameters","ElementRef","ɵdir","AddCommentModule","ɵmod","ɵinj","AddComponent","AddDirective","AddDirective_1","AddModule","ArrowLeftComponent","ArrowLeftDirective","ArrowLeftDirective_1","ArrowLeftModule","ArrowRightComponent","ArrowRightDirective","ArrowRightDirective_1","ArrowRightModule","ArrowsHorizontalDirective","ArrowsHorizontalComponent","ArrowsHorizontalDirective_1","ArrowsHorizontalModule","CameraDirective","CameraComponent","CameraDirective_1","CameraModule","ChartLineSmoothDirective","ChartLineSmoothComponent","ChartLineSmoothDirective_1","ChartLineSmoothModule","ChartLineComponent","ChartLineDirective","ChartLineDirective_1","ChartLineModule","CheckboxCheckedDirective","CheckboxCheckedComponent","CheckboxCheckedDirective_1","CheckboxCheckedModule","CheckboxDirective","CheckboxComponent","CheckboxDirective_1","CheckboxModule","CheckmarkFilledDirective","CheckmarkFilledComponent","opacity","CheckmarkFilledDirective_1","CheckmarkFilledModule","ChemistryDirective","ChemistryComponent","ChemistryDirective_1","ChemistryModule","ChevronDownDirective","ChevronDownComponent","glyph","ChevronDownDirective_1","ChevronDownModule","ChevronUpDirective","ChevronUpComponent","ChevronUpDirective_1","ChevronUpModule","CloseFilledDirective","CloseFilledComponent","CloseFilledDirective_1","CloseFilledModule","CloseComponent","CloseDirective","CloseDirective_1","CloseModule","CollaborateDirective","CollaborateComponent","CollaborateDirective_1","CollaborateModule","CopyFileComponent","CopyFileDirective","CopyFileDirective_1","CopyFileModule","CopyComponent","CopyDirective","CopyDirective_1","CopyModule","DashboardDirective","DashboardComponent","DashboardDirective_1","DashboardModule","DataBaseComponent","DataBaseDirective","cx","cy","r","DataBaseDirective_1","DataBaseModule","DataVis_1Directive","DataVis_1Component","DataVis_1Directive_1","DataVis_1Module","DeleteComponent","DeleteDirective","DeleteDirective_1","DeleteModule","DocumentViewDirective","DocumentViewComponent","DocumentViewDirective_1","DocumentViewModule","DownloadComponent","DownloadDirective","DownloadDirective_1","DownloadModule","DragVerticalComponent","DragVerticalDirective","DragVerticalDirective_1","DragVerticalModule","DraggableDirective","DraggableComponent","DraggableDirective_1","DraggableModule","EditComponent","EditDirective","EditDirective_1","EditModule","EducationDirective","EducationComponent","EducationDirective_1","EducationModule","EmailComponent","EmailDirective","EmailDirective_1","EmailModule","ErrorFilledDirective","ErrorFilledComponent","ErrorFilledDirective_1","ErrorFilledModule","ErrorDirective","ErrorComponent","ErrorDirective_1","ErrorModule","EventsAltDirective","EventsAltComponent","EventsAltDirective_1","EventsAltModule","FaceDissatisfiedDirective","FaceDissatisfiedComponent","FaceDissatisfiedDirective_1","FaceDissatisfiedModule","FaceSatisfiedDirective","FaceSatisfiedComponent","FaceSatisfiedDirective_1","FaceSatisfiedModule","FaceWinkDirective","FaceWinkComponent","FaceWinkDirective_1","FaceWinkModule","FadeDirective","FadeComponent","FadeDirective_1","FadeModule","FilterDirective","FilterComponent","FilterDirective_1","FilterModule","FingerprintRecognitionDirective","FingerprintRecognitionComponent","FingerprintRecognitionDirective_1","FingerprintRecognitionModule","FitToScreenDirective","FitToScreenComponent","FitToScreenDirective_1","FitToScreenModule","FlowDirective","FlowComponent","FlowDirective_1","FlowModule","FoldersDirective","FoldersComponent","FoldersDirective_1","FoldersModule","GeneratePdfDirective","GeneratePdfComponent","GeneratePdfDirective_1","GeneratePdfModule","HelpComponent","HelpDirective","HelpDirective_1","HelpModule","HomeDirective","HomeComponent","HomeDirective_1","HomeModule","IdeaDirective","IdeaComponent","IdeaDirective_1","IdeaModule","ImageDirective","ImageComponent","ImageDirective_1","ImageModule","InProgressErrorDirective","InProgressErrorComponent","InProgressErrorDirective_1","InProgressErrorModule","InProgressWarningComponent","InProgressWarningDirective","InProgressWarningDirective_1","InProgressWarningModule","InProgressDirective","InProgressComponent","InProgressDirective_1","InProgressModule","InformationFilledComponent","InformationFilledDirective","InformationFilledDirective_1","InformationFilledModule","InformationDirective","InformationComponent","InformationDirective_1","InformationModule","LaunchDirective","LaunchComponent","LaunchDirective_1","LaunchModule","LogoTwitterDirective","LogoTwitterComponent","LogoTwitterDirective_1","LogoTwitterModule","MachineLearningModelDirective","MachineLearningModelComponent","MachineLearningModelDirective_1","MachineLearningModelModule","MigrateDirective","MigrateComponent","MigrateDirective_1","MigrateModule","Network_1Directive","Network_1Component","Network_1Directive_1","Network_1Module","Network_2Directive","Network_2Component","Network_2Directive_1","Network_2Module","Network_3Directive","Network_3Component","Network_3Directive_1","Network_3Module","NotebookDirective","NotebookComponent","NotebookDirective_1","NotebookModule","ObjectStorageDirective","ObjectStorageComponent","ObjectStorageDirective_1","ObjectStorageModule","OpenPanelFilledRightDirective","OpenPanelFilledRightComponent","OpenPanelFilledRightDirective_1","OpenPanelFilledRightModule","OpenPanelRightDirective","OpenPanelRightComponent","OpenPanelRightDirective_1","OpenPanelRightModule","PauseFilledComponent","PauseFilledDirective","PauseFilledDirective_1","PauseFilledModule","PauseOutlineFilledDirective","PauseOutlineFilledComponent","PauseOutlineFilledDirective_1","PauseOutlineFilledModule","PlayFilledComponent","PlayFilledDirective","PlayFilledDirective_1","PlayFilledModule","RenewDirective","RenewComponent","RenewDirective_1","RenewModule","ReportComponent","ReportDirective","ReportDirective_1","ReportModule","RocketDirective","RocketComponent","transform","RocketDirective_1","RocketModule","SankeyDiagramDirective","SankeyDiagramComponent","SankeyDiagramDirective_1","SankeyDiagramModule","SaveDirective","SaveComponent","SaveDirective_1","SaveModule","SchematicsDirective","SchematicsComponent","SchematicsDirective_1","SchematicsModule","SendDirective","SendComponent","SendDirective_1","SendModule","SettingsDirective","SettingsComponent","SettingsDirective_1","SettingsModule","ShareDirective","ShareComponent","ShareDirective_1","ShareModule","SkipForwardOutlineFilledDirective","SkipForwardOutlineFilledComponent","SkipForwardOutlineFilledDirective_1","SkipForwardOutlineFilledModule","StarFilledDirective","StarFilledComponent","StarFilledDirective_1","StarFilledModule","StarDirective","StarComponent","StarDirective_1","StarModule","StopFilledComponent","StopFilledDirective","StopFilledDirective_1","StopFilledModule","SubtractDirective","SubtractComponent","SubtractDirective_1","SubtractModule","TaskViewDirective","TaskViewComponent","TaskViewDirective_1","TaskViewModule","TemperatureHotDirective","TemperatureHotComponent","TemperatureHotDirective_1","TemperatureHotModule","TextCreationDirective","TextCreationComponent","TextCreationDirective_1","TextCreationModule","TimeComponent","TimeDirective","TimeDirective_1","TimeModule","UserAdminDirective","UserAdminComponent","UserAdminDirective_1","UserAdminModule","UserAvatarFilledAltDirective","UserAvatarFilledAltComponent","UserAvatarFilledAltDirective_1","UserAvatarFilledAltModule","UserMultipleDirective","UserMultipleComponent","UserMultipleDirective_1","UserMultipleModule","UserDirective","UserComponent","UserDirective_1","UserModule","VideoDirective","VideoComponent","VideoDirective_1","VideoModule","ViewDirective","ViewComponent","ViewDirective_1","ViewModule","VisualRecognitionDirective","VisualRecognitionComponent","VisualRecognitionDirective_1","VisualRecognitionModule","WalletDirective","WalletComponent","WalletDirective_1","WalletModule","WarningAltFilledComponent","WarningAltFilledDirective","WarningAltFilledDirective_1","WarningAltFilledModule","WarningFilledComponent","WarningFilledDirective","WarningFilledDirective_1","WarningFilledModule","WarningComponent","WarningDirective","WarningDirective_1","WarningModule","ZoomInDirective","ZoomInComponent","ZoomInDirective_1","ZoomInModule","ZoomOutDirective","ZoomOutComponent","ZoomOutDirective_1","ZoomOutModule","_a","PLACEMENTS","LEFT","RIGHT","TOP","BOTTOM","defaultPositions","referenceOffset","referenceRect","top","Math","round","offsetHeight","left","offsetWidth","windowRef","window","innerHeight","scrollY","innerWidth","scrollX","Position","positions","assign","getRelativeOffset","offsets","offsetLeft","offsetTop","offsetParent","getComputedStyle","position","getAbsoluteOffset","currentNode","margins","computed","marginLeft","marginTop","parseInt","targetRect","getBoundingClientRect","relativeRect","body","findRelative","reference","placement","calculatePosition","findAbsolute","findPosition","offsetFunction","bind","findPositionAt","offset","getPlacementBox","targetBottom","targetRight","bottom","right","addOffset","setElement","element","style","findBestPlacement","placements","containerFunction","positionFunction","_this","defaultContainerFunction","weightedPlacements","map","pos","box","hiddenHeight","hiddenWidth","container","area","weight","sort","a","b","findBestPlacementAt","_","console","error","exports","version","getCountryMappings_1","require","getCbr","country","countryCode2","getCountryMapping","toUpperCase","cbr","JSON","parse","stringify","casedCountry","mapping","countryCode2Mapping","countryCode3Mapping","countryNameMapping","__createBinding","create","o","m","k","k2","desc","__esModule","get","__exportStar","p","hasOwnProperty","self","module","e","TypeError","s","Symbol","iterator","constructor","n","default","c","l","startSession","url","requestHeader","payload","autoResize","complete","callback","fail","cancel","change","timeout","autoSubmit","initContainerId","submitContainerId","startSessionUrl","startSessionRequestHeader","startSessionPayload","autoScroll","submitFrameWidth","submitFrameHeight","isInit","getElementById","initDOMs","iframe","_getIframeNode","_startSession","paymentSubmitUrl","completeSessionResponse","eventName","submitDOMs","displaySubmitIframe","_emptyTargetNode","onload","scrollIntoView","_showDOMNode","_isOneStepPayment","_doOneStepPayment","_doTwoStepPayment","removeEventListener","windowMessageListenerFn","removeChild","XMLHttpRequest","Promise","status","responseText","then","sessionId","sessionUrl","_processMessage","data","addEventListener","catch","_handleStartSessionError","open","setRequestHeader","send","submitSession","includes","attribute","parseFloat","substring","_onCreate","_onComplete","_onFail","_onCancel","_onTimeout","_onChange","current","response","startSessionError","__WEBPACK_EXTERNAL_MODULE__stomp_stompjs__","__WEBPACK_EXTERNAL_MODULE_rxjs__","__WEBPACK_EXTERNAL_MODULE_rxjs_operators__","modules","installedModules","__webpack_require__","moduleId","getter","toStringTag","mode","ns","property","UUID","crypto","getRandomValues","buf","Uint16Array","pad4","random4","num","ret","floor","random","__export","RxStompConfig","RxStompRPCConfig","rxjs_1","operators_1","angular2_uuid_1","RxStompRPC","rxStomp","stompRPCConfig","_replyQueueName","_setupReplyQueue","unhandledMessage$","replyQueueName","setupReplyQueue","rpc","params","stream","pipe","first","headers","destination","binaryBody","_repliesObservable","Observable","rpcObserver","defaultMessagesSubscription","correlationId","message","subscribe","next","publish","unsubscribe","RxStompState","CONNECTING","OPEN","CLOSING","CLOSED","__awaiter","thisArg","_arguments","P","generator","adopt","resolve","reject","fulfilled","step","rejected","throw","result","done","__generator","f","y","g","label","sent","trys","ops","verb","return","v","op","pop","stompjs_1","rx_stomp_state_1","RxStomp","_queuedMessages","_stompClient","Client","noOp","_beforeConnect","_debug","_connectionStatePre$","BehaviorSubject","_connectedPre$","currentState","connectionState$","connected$","_sendQueuedMessages","_serverHeadersBehaviourSubject$","serverHeaders$","stompErrors$","Subject","unhandledReceipts$","unhandledFrame$","webSocketErrors$","configure","rxStompConfig","stompConfig","beforeConnect","debug","activate","_changeState","onConnect","frame","onStompError","onWebSocketClose","onUnhandledMessage","onUnhandledReceipt","onUnhandledFrame","onWebSocketError","evt","deactivate","stompState","getValue","connected","stompClient","active","parameters","shouldRetry","retryIfDisconnected","Error","queuedMessages","_i","queuedMessages_1","queuedMessage","watch","ack","messages","stompSubscription","stompConnectedSubscription","share","watchForReceipt","receiptId","state","rxjs","BYTE","LF","NULL","stomp_handler_1","versions_1","web_socket_state_1","conf","stompVersions","Versions","reconnectDelay","heartbeatIncoming","heartbeatOutgoing","splitLargeFrames","maxWebSocketChunkSize","forceBinaryWSFrames","appendMissingNULLonIncoming","_active","onDisconnect","logRawCommunication","connectHeaders","_disconnectHeaders","_webSocket","set","_stompHandler","disconnectHeaders","connectedVersion","_connect","_createWebSocket","StompHandler","_disposeStompHandler","_schedule_reconnect","start","webSocket","webSocketFactory","WebSocket","brokerURL","protocolVersions","binaryType","_reconnector","setTimeout","clearTimeout","forceDisconnect","readyState","WebSocketState","_closeWebsocket","dispose","id","begin","transactionId","commit","abort","messageId","subscriptionId","nack","extendStatics","__extends","setPrototypeOf","__proto__","Array","__","client_1","heartbeat_info_1","CompatClient","_super","maxWebSocketFrameSize","_heartbeatInfo","HeartbeatInfo","reconnect_delay","log","_parseConnect","args","closeEventCallback","connectCallback","errorCallback","login","passcode","host","connect","out","disconnect","disconnectCallback","skipContentLengthHeader","incoming","outgoing","client","compat_client_1","Stomp","protocols","wsFn","WebSocketClass","over","ws","warn","byte_1","FrameImpl","command","escapeHeaderValues","_binaryBody","isBinaryBody","_body","TextDecoder","decode","TextEncoder","encode","fromRawFrame","rawFrame","trim","str","replace","reverse","header","hdrValueUnEscape","serializeCmdAndHeaders","serialize","cmdAndHeaders","toUnit8Array","buffer","lines","name_1","hdrValueEscape","isBodyEmpty","bodyLength","join","sizeOfUTF8","uint8CmdAndHeaders","nullTerminator","Uint8Array","uint8Frame","marshall","CR","COLON","Parser","onFrame","onIncomingPing","_encoder","_decoder","_token","_initState","parseChunk","segment","chunk","ArrayBuffer","chunkWithNull","byte","_onByte","_collectFrame","_collectCommand","_reinjectByte","_results","_consumeTokenAsUTF8","_collectHeaders","_consumeByte","_setupCollectBody","_collectHeaderKey","_headerKey","_collectHeaderValue","contentLengthHeader","_bodyBytesRemaining","_collectBodyFixedSize","_collectBodyNullTerminated","_retrievedBody","_consumeTokenAsRaw","rawResult","StompConfig","frame_impl_1","parser_1","_client","config","_serverFrameHandlers","CONNECTED","server","_connected","_connectedVersion","V1_2","_escapeHeaderValues","_setupHeartbeat","MESSAGE","subscription","onReceive","_subscriptions","RECEIPT","_receiptWatchers","ERROR","_counter","_partialData","_lastServerActivityTS","Date","now","parser","onmessage","rawChunkAsString","onclose","closeEvent","_cleanUp","onerror","errorEvent","onopen","supportedVersions","_transmit","V1_1","split","serverOutgoing","serverIncoming","ttl","max","_pinger","setInterval","ttl_1","_ponger","delta","close","rawChunk","receipt","clearInterval","hdrs","txId","transaction","StompHeaders","StompSubscription","versions","x","V1_0","_c0","a0","AccordionItem_p_2_Template","ctx_r0","skeleton","AccordionItem_3_ng_template_0_Template","AccordionItem_3_Template","ctx_r1","context","AccordionItem_ng_content_5_Template","AccordionItem_ng_template_6_Template","_c1","_c2","a1","a2","a3","a4","AccordionItem","accordionItemCount","selected","EventEmitter","itemClass","expanded","disabled","itemType","ariaLevel","toggleExpanded","emit","isTemplate","TemplateRef","hostVars","hostBindings","outputs","ngContentSelectors","_r3","ɵngcc1","ɵngcc2","propDecorators","Output","HostBinding","Accordion","align","_skeleton","updateChildren","ngAfterContentInit","children","toArray","child","contentQueries","dirIndex","_t","ContentChildren","AccordionModule","imports","CommonModule","IconModule","BreadcrumbItemComponent_a_0_ng_container_1_Template","BreadcrumbItemComponent_a_0_Template","_r5","$event","ctx_r4","navigate","_r1","href","ariaCurrent","BreadcrumbItemComponent_ng_template_1_Template","Breadcrumb_ng_template_2_Template","Breadcrumb_ng_template_3_ibm_breadcrumb_item_0_ng_container_1_Template","item_r5","$implicit","Breadcrumb_ng_template_3_ibm_breadcrumb_item_0_2_ng_template_0_Template","Breadcrumb_ng_template_3_ibm_breadcrumb_item_0_2_Template","Breadcrumb_ng_template_3_ibm_breadcrumb_item_0_Template","_r12","ctx_r11","navigation","route","routeExtras","Breadcrumb_ng_template_3_Template","ctx_r2","items","Breadcrumb_ng_template_4_ng_container_1_Template","ctx_r13","Breadcrumb_ng_template_4_2_ng_template_0_Template","Breadcrumb_ng_template_4_2_Template","ctx_r14","Breadcrumb_ng_template_4_li_5_ng_container_2_Template","item_r21","Breadcrumb_ng_template_4_li_5_3_ng_template_0_Template","Breadcrumb_ng_template_4_li_5_3_Template","Breadcrumb_ng_template_4_li_5_Template","_r28","ctx_r27","Breadcrumb_ng_template_4_ng_container_7_Template","ctx_r16","secondLast","Breadcrumb_ng_template_4_8_ng_template_0_Template","Breadcrumb_ng_template_4_8_Template","ctx_r17","Breadcrumb_ng_template_4_ng_container_10_Template","ctx_r18","last","Breadcrumb_ng_template_4_11_ng_template_0_Template","Breadcrumb_ng_template_4_11_Template","ctx_r19","Breadcrumb_ng_template_4_Template","_r32","ctx_r31","ctx_r33","ctx_r34","ctx_r3","overflowItems","BreadcrumbItemComponent","domSanitizer","router","_href","bypassSecurityTrustUrl","useTemplate","event","preventDefault","ɵngcc3","DomSanitizer","Router","decorators","Optional","Breadcrumb","i18n","noTrailingSlash","BREADCRUMB","LABEL","threshold","_threshold","isNaN","shouldShowContent","shouldShowOverflow","slice","item","ɵngcc4","ɵngcc5","I18n","BreadcrumbModule","DialogModule","I18nModule","Button","ibmButton","assistiveTextPlacement","assistiveTextAlignment","iconOnly","isExpressive","toolbarAction","overflowMenu","hasAssistiveText","baseClass","primaryButton","secondaryButton","tertiaryButton","ghostButton","dangerButton","dangerTertiary","dangerGhost","smallSize","largeSize","extraLargeSize","fieldSize","isAssistiveTextCenterAligned","isAssistiveTextStartAligned","isAssistiveTextEndAligned","isAssistiveTextTopPositioned","isAssistiveTextBottomPositioned","isAssistiveTextLeftPositioned","isAssistiveTextRightPositioned","ngOnInit","ButtonSet","buttonSetClass","ButtonModule","CheckboxState","Init","Indeterminate","Checked","Unchecked","CheckboxChange","Checkbox","changeDetectorRef","inline","hideLabel","checkboxCount","click","checkedChange","indeterminateChange","_checked","_indeterminate","currentCheckboxState","onTouched","propagateChange","_ariaLabel","_ariaLabelledby","indeterminate","transitionCheckboxState","checked","inputCheckbox","markForCheck","setChecked","toggle","writeValue","registerOnChange","fn","registerOnTouched","setDisabledState","isDisabled","focusOut","onChange","stopPropagation","onClick","observers","emitChangeEvent","newState","resetIndeterminate","viewQuery","nested","required","features","provide","NG_VALUE_ACCESSOR","useExisting","multi","changeDetection","ChangeDetectorRef","ViewChild","static","HostListener","FormsModule","ComboBox_label_1_ng_container_1_Template","ctx_r12","ComboBox_label_1_2_ng_template_0_Template","ComboBox_label_1_2_Template","_c3","ComboBox_label_1_Template","_c4","ComboBox_div_5_Template","_r16","ctx_r15","clearSelected","onBlur","pills","clearSelectionsTitle","clearSelectionAria","ComboBox__svg_svg_8_Template","ComboBox__svg_svg_9_Template","ComboBox_div_10_Template","_r20","clearInput","ctx_r21","ctx_r22","ctx_r6","clearSelectionTitle","ComboBox_ng_content_15_Template","ComboBox_div_16_ng_container_1_Template","ctx_r23","helperText","ComboBox_div_16_2_ng_template_0_Template","ComboBox_div_16_2_Template","ctx_r24","_c5","ComboBox_div_16_Template","ctx_r9","ComboBox_div_17_ng_container_1_Template","ctx_r26","invalidText","ComboBox_div_17_2_ng_template_0_Template","ComboBox_div_17_2_Template","ComboBox_div_17_Template","ctx_r10","ComboBox_div_18_ng_container_1_Template","ctx_r29","warnText","ComboBox_div_18_2_ng_template_0_Template","ComboBox_div_18_2_Template","ctx_r30","ComboBox_div_18_Template","_c6","a5","a6","_c7","_c8","_c9","ComboBox","dropdownService","comboBoxCount","appendInline","invalid","maxLength","theme","selectionFeedback","autocomplete","submit","search","clear","hostClass","display","showClearButton","selectedValue","outsideClick","_outsideClick","keyboardNav","_keyboardNav","_dropUp","noop","_noop","onTouchedCallback","propagateChangeCallback","_placeholder","getOverridable","_closeMenuAria","_openMenuAria","_clearSelectionsTitle","_clearSelectionsAria","_clearSelectionTitle","_clearSelectionAria","placeholder","override","openMenuAria","closeMenuAria","clearSelectionsAria","ngOnChanges","changes","view","currentValue","updateSelected","onSearch","input","isUpdate","select","updatePills","itemValueKey","getSelected","values","querySelector","focus","filterBy","closeDropdown","blurIntent","hasScrollableParents","ngOnDestroy","_appendToDropdown","hostkeys","ev","dropdownMenu","contains","openDropdown","initFocus","shiftKey","newValue","getListItems","find","propagateSelected","newValues","checkForReorder","_appendToBody","dropUp","_shouldDropUp","toggleDropdown","searchString","shouldEmitSearch","reorderSelected","some","toLowerCase","onSubmit","index","stopImmediatePropagation","dispatchEvent","KeyboardEvent","bubbles","cancelable","appendToBody","listbox","className","appendToDropdown","menu","menuRect","getScrollableParents","reduce","shouldDropUp","parent","parentRect","isBelowParent","topAfterReopen","AbstractDropdownView","listId","DropdownService","ContentChild","ComboBoxModule","providers","DropdownModule","UtilsModule","tabbableSelector","tabbableSelectorIgnoreTabIndex","getFocusElementList","selector","elements","querySelectorAll","el","isVisible","getClientRects","isFocusInFirstItem","list","srcElement","isFocusInLastItem","cycleTabs","focusChanged","isElementFocused","focusLastFocusableElement","focusFirstFocusableElement","range","stop","ceil","DatePickerInput_label_3_ng_container_1_Template","ctx_r8","DatePickerInput_label_3_2_ng_template_0_Template","DatePickerInput_label_3_2_Template","DatePickerInput_label_3_Template","DatePickerInput_input_5_Template","_r13","pattern","DatePickerInput__svg_svg_6_Template","DatePickerInput__svg_svg_7_Template","DatePickerInput__svg_svg_8_Template","DatePickerInput_div_9_ng_container_1_Template","DatePickerInput_div_9_2_ng_template_0_Template","DatePickerInput_div_9_2_Template","DatePickerInput_div_9_Template","ctx_r5","DatePickerInput_div_10_ng_container_1_Template","DatePickerInput_div_10_2_ng_template_0_Template","DatePickerInput_div_10_2_Template","DatePickerInput_div_10_Template","DatePickerInput_div_11_ng_container_1_Template","ctx_r20","DatePickerInput_div_11_2_ng_template_0_Template","DatePickerInput_div_11_2_Template","DatePickerInput_div_11_Template","ctx_r7","DatePickerInput","datePickerCount","hasIcon","valueChange","DatePickerInputModule","DatePicker_div_5_Template","_r4","onRangeValueChange","_r2","openCalendar","rangeLabel","inputPattern","rangeInvalid","rangeInvalidText","rangeWarn","rangeWarnText","rangeHelperText","monthToStr","monthNumber","shorthand","locale","months","carbonFlatpickrMonthSelectPlugin","fp","updateCurrentMonth","yearElements","monthStr","currentMonth","l10n","currentMonthContainer","closest","monthElement","onMonthChange","onValueUpdate","onOpen","onReady","monthElements","parentNode","splice","_createElement","insertBefore","loadedPlugins","DatePicker","dateFormat","language","plugins","onClose","_value","_flatpickrOptions","allowInput","flatpickrBaseOptions","updateClassNames","updateAttributes","updateCalendarListeners","date","flatpickrInstance","selectedDates","setDateValues","doSelect","inputValue","rangeInputValue","rangeInput","parseDate","onDayCreate","_dObj","_dStr","_fp","dayElem","classList","add","nextArrow","rightArrowHTML","prevArrow","leftArrowHTML","preventCalendarClose","flatpickrOptions","options","rangePlugin","languages__default","getLocale","getLocaleObservable","resetFlatpickrInstance","flatpickrChangeKeys","addInputListeners","ngAfterViewChecked","isFlatpickrLoaded","flatpickr","day","charAt","onFocus","activeElement","getMonth","changeMonth","onFocusOut","destroy","onValueChange","isOpen","datepickerInput","currentYear","getFullYear","calendarContainer","from","calendar","addFocusCalendarListener","dayElement","selectedDateElem","newDates","dates","didDateValueChange","previousValue","monthContainer","weekdaysContainer","weekdayContainer","daysContainer","dayContainer","addClassIfNotExists","classname","elementList","innerHTML","remove","singleInput","shouldRefocusDateElement","setDate","singleDate","formatDate","rangeDate","_r6","_r0","styles","DatePickerModule","Tooltip_3_ng_template_0_Template","tooltip","Tooltip_3_Template","dialogConfig","Tooltip_p_4_Template","OverflowMenuPane_ng_template_2_Template","OverflowMenuCustomPane_ng_template_2_Template","OverflowMenu_1_ng_template_0_Template","OverflowMenu_1_Template","customTrigger","OverflowMenu_ng_template_2_Template","OverflowMenu_ng_template_4_Template","OverflowMenuOption_button_0_ng_container_1_Template","OverflowMenuOption_button_0_Template","tabIndex","OverflowMenuOption_a_1_ng_container_1_Template","OverflowMenuOption_a_1_Template","_r11","rel","OverflowMenuOption_ng_template_2_Template","CloseReasons","Target","destroyed","programmatic","interaction","hidden","DialogService","componentFactoryResolver","injector","placeholderService","dialogRefs","ref","instance","doClose","reason","setContext","componentFactory","resolveComponentFactory","component","viewContainer","dialogRef","createComponent","hasPlaceholderRef","location","previouslyFocusedElement","elementToFocus","has","delete","closeAll","singletonClickListen","listeningForBodyClicks","firstElementChild","ɵprov","token","factory","Set","ComponentFactoryResolver","Injector","PlaceholderService","Dialog","elementService","animationFrameService","visibilitySubscription","Subscription","animationFrameSubscription","addGap","gap","onDialogInit","dialogElement","dialog","wrapperClass","extraClass","parentElement","parentRef","tick","placeDialog","closeWhenHidden","visibility","visible","afterDialogViewInit","positionService","parentEl","dialogPlacement","escapeClose","clickClose","meta","ElementService","AnimationFrameService","DialogDirective","viewContainerRef","dialogService","eventService","trigger","closeTrigger","isOpenChange","hasPopup","ariaOwns","compID","ibmDialog","shouldClose","firstChange","onDialogChanges","updateConfig","on","dialogCounter","_changes","exportAs","ViewContainerRef","EventService","Tooltip","super","hasContentTemplate","adjustedOffset","getAdjustOffset","closestWithPos","closestAttr","focusableElements","TooltipDefinition","tooltipItemCount","alignment","accessibility","TooltipIcon","TooltipDirective","tooltipType","descriptorId","ibmTooltip","EllipsisTooltip","updateTooltipContent","scrollWidth","innerText","onHover","ɵEllipsisTooltip_BaseFactory","OverflowMenuPane","experimental","positionOverflowMenu","closestRel","topFix","leftFix","flip","menuLabel","OVERFLOW_MENU","OVERFLOW","listItems","findIndex","focusElementList","button","getAttribute","ExperimentalService","OverflowMenuCustomPane","OverflowMenuDirective","customPane","ibmOverflowMenu","OverflowMenu","buttonLabel","openChange","triggerClass","handleOpenChange","overflowMenuDirective","ɵngcc6","blank","OverflowMenuOption","optionClass","divider","isDanger","_target","textContainer","PlaceholderModule","ExperimentalModule","Dropdown_label_0_ng_container_1_Template","Dropdown_label_0_2_ng_template_0_Template","Dropdown_label_0_2_Template","Dropdown_label_0_Template","Dropdown_div_4_Template","_r17","clearText","getSelectedCount","Dropdown_span_5_Template","getDisplayStringValue","Dropdown_6_ng_template_0_Template","Dropdown_6_Template","getRenderTemplateContext","displayValue","Dropdown__svg_svg_7_Template","Dropdown__svg_svg_8_Template","Dropdown__svg_svg_10_Template","menuIsClosed","menuButtonLabel","Dropdown_ng_content_13_Template","Dropdown_div_14_ng_container_1_Template","Dropdown_div_14_2_ng_template_0_Template","Dropdown_div_14_2_Template","Dropdown_div_14_Template","Dropdown_div_15_ng_container_1_Template","Dropdown_div_15_2_ng_template_0_Template","Dropdown_div_15_2_Template","Dropdown_div_15_Template","Dropdown_div_16_ng_container_1_Template","Dropdown_div_16_2_ng_template_0_Template","Dropdown_div_16_2_Template","Dropdown_div_16_Template","a7","a8","a9","a10","a11","a12","_c10","DropdownList_li_2_div_3_Template","item_r2","DropdownList_li_2_ng_container_4_Template","DropdownList_li_2__svg_svg_5_Template","DropdownList_li_2_6_ng_template_0_Template","_c11","DropdownList_li_2_6_Template","listTpl","_c12","DropdownList_li_2_Template","_r14","doClick","i_r3","getItemId","highlightedItem","showTitles","getNextItem","hasNextElement","getNextElement","getPrevItem","hasPrevElement","getPrevElement","getCurrentItem","getCurrentElement","onItemsReady","subcription","moveFocus","defaultOffset","_offset","menuRef","dropdownWrapper","appendElement","menuInstance","positionDropdown","hostRef","hasElement","removeElement","updatePosition","leftOffset","boxMenu","clientWidth","closestMenuWithPos","topPos","leftPos","Dropdown","dropdownCount","DROPDOWN","CLEAR","disableArrowKeys","selectedLabel","SELECTED","outsideKey","_outsideKey","_writtenValue","writtenValue","val","closeMenu","onKeyDown","dropdownButton","openMenu","closedDropdownNavigation","isRenderString","of","valueSelected","lightClass","expandedClass","disableScroll","toggleMenu","scrollableContainer","DropdownList","appRef","DROPDOWN_LIST","scroll","listCount","displayItems","_items","isObservable","_itemsSubscription","_itemsReady","observer","updateList","_originalItems","setupFocusObservable","doEmitSelect","focusJump","updateIndex","query","elList","watchFocusJump","fromEvent","debounceTime","itemEl","startsWith","elemList","listElementList","isArray","oldItem","tempOldItem","newItem","tempNewItem","doKeyDown","option","navigateList","block","otherItem","onItemFocus","onItemBlur","emitScroll","customScrollEvent","atTop","scrollTop","atBottom","scrollHeight","clientHeight","ApplicationRef","ViewChildren","ScrollableList","nScrollableList","scrollEnabled","scrollBy","canScrollUp","canScrollDown","overflow","scrollUpTarget","scrollDownTarget","updateScrollHeight","checkScrollArrows","hoverScrollInterval","onHoverUp","onHoverDown","containerRect","innerHeightDiff","scrollUpHeight","scrollDownHeight","scrollTopMax","onWheel","deltaY","onTouchStart","touches","lastTouch","clientY","onTouchMove","touch","hoverScrollBy","hovering","amount","experiments","Map","addExperiment","enabled","enableExperiment","getExperiment","disableExperiment","getExperiments","entries","EXPERIMENTAL_SERVICE_PROVIDER","deps","SkipSelf","useFactory","EXPERIMENTAL_SERVICE_PROVIDER_FACTORY","parentService","FileUploader_ng_container_0_div_6_ng_container_1_Template","dropText","FileUploader_ng_container_0_div_6_2_ng_template_0_Template","FileUploader_ng_container_0_div_6_2_Template","FileUploader_ng_container_0_div_6_Template","onDragOver","onDragLeave","onDrop","dragOver","fileUploaderId","FileUploader_ng_container_0_button_7_Template","_r18","buttonType","buttonText","FileUploader_ng_container_0_ng_container_11_div_2_Template","fileItem_r19","FileUploader_ng_container_0_ng_container_11_Template","_r23","removeFile","FileUploader_ng_container_0_Template","_r25","onFilesAdded","description","drop","accept","multiple","files","FileUploader_ng_template_1_Template","FileComponent_span_2__svg_svg_1_Template","FileComponent_span_2_Template","isInvalidText","translations","REMOVE_BUTTON","FileComponent_span_3_Template","FileComponent_span_4_Template","CHECKMARK","FileUploader","FILE_UPLOADER","fileUploaderCount","filesChange","onChangeCallback","fileList","fileInput","createFileItem","file","uploaded","newFiles","fileItem","transferredFiles","dataTransfer","fileExtension","FileComponent","selectedFile","FileUploaderModule","LoadingModule","GridDirective","condensed","RowDirective","gutter","leftGutter","rightGutter","showGutter","showLeftGutter","showRightGutter","ColumnDirective","class","columnNumbers","_columnClasses","columnClasses","classes","columnKeys","err","GridModule","EN","BANNER","CLOSE_BUTTON","CALENDAR","MONTHS","JANUARY","FEBRUARY","MARCH","APRIL","MAY","JUNE","JULY","AUGUST","SEPTEMBER","OCTOBER","NOVEMBER","DECEMBER","SHORTWEEKDAYS","SUNDAY","MONDAY","TUESDAY","WEDNESDAY","THURSDAY","FRIDAY","SATURDAY","QUARTERS","CODE_SNIPPET","CODE_SNIPPET_TEXT","SHOW_MORE","SHOW_LESS","SHOW_MORE_ICON","COPY_CODE","COPIED","COMBOBOX","PLACEHOLDER","CLEAR_SELECTIONS","CLEAR_SELECTED","A11Y","OPEN_MENU","CLOSE_MENU","DIALOG","POPOVER","CLOSE","FILTER","SELECTED_ONLY","SEARCH","NO_RESULTS","RESET_SEARCH","CHECKMARK_TITLE","REMOVE_TITLE","LOADING","TITLE","MODAL","NOTIFICATION","NUMBER","INCREMENT","DECREMENT","CLEAR_BUTTON","TOOLBAR_SEARCH","PAGINATION","ITEMS_PER_PAGE","OPEN_LIST_OF_OPTIONS","BACKWARD","FORWARD","TOTAL_ITEMS_UNKNOWN","TOTAL_ITEMS","TOTAL_ITEM","PAGE","OF_LAST_PAGES","OF_LAST_PAGE","NEXT","PREVIOUS","SELECT_ARIA","TABLE","GO_TO_PAGE","PREVIOUS_PAGE","NEXT_PAGE","PREVIOUS_3","NEXT_3","END_OF_DATA","SCROLL_TOP","CHECKBOX_HEADER","CHECKBOX_ROW","EXPAND_BUTTON","SORT_DESCENDING","SORT_ASCENDING","ROW","TABLE_TOOLBAR","ACTION_BAR","BATCH_TEXT","BATCH_TEXT_SINGLE","BATCH_TEXT_MULTIPLE","CANCEL","TABS","BUTTON_ARIA_LEFT","BUTTON_ARIA_RIGHT","TILES","TILE","EXPAND","COLLAPSE","TOGGLE","OFF","ON","UI_SHELL","SKIP_TO","HEADER","SIDE_NAV","SWITCHER","TOGGLE_OPEN","TOGGLE_CLOSE","subject","variables","RegExp","Overridable","path","baseTranslation","isOverridden","getValueFromPath","$override","iif","translationStrings","setLocale","strings","asObservable","merge","getSubject","getMultiple","partialPath","subjects","translation","ReplacePipe","ɵpipe","pure","I18N_SERVICE_PROVIDER","I18N_SERVICE_PROVIDER_FACTORY","_descriptor$elem","_descriptor$attrs","_descriptor$content","formatAttributes","acc","IconCache","IconNameNotFoundError","IconSizeNotFoundError","IconMemoryCache","iconMap","sizeMap","IconService","iconCache","registerAll","descriptors","register","registerAs","cache","IconDirective","iconService","ibmIcon","ariaLabelledBy","root","svgElement","tagName","ICON_SERVICE_PROVIDER","ICON_SERVICE_PROVIDER_FACTORY","Add16","Add20","Bee16","Bee20","Calendar16","Carbon16","Carbon20","CaretDown16","CaretLeft16","CaretRight16","CaretUp16","Checkmark16","CheckmarkFilled16","CheckmarkFilled20","CheckmarkOutline16","ChevronDown16","ChevronRight16","CircleDash16","Close16","Close20","Copy16","Copy20","Data216","Data220","Delete16","Document16","Document20","Download16","ErrorFilled16","ErrorFilled20","Fade16","Fade20","Incomplete16","InformationFilled16","InformationFilled20","Menu16","Menu20","OverflowMenuVertical16","OverflowMenuHorizontal16","Save16","Search16","Settings16","SettingsAdjust16","Subtract16","Warning16","WarningFilled16","WarningFilled20","WarningAltFilled16","InlineLoading_div_0_div_1_Template","InlineLoadingState","Inactive","InlineLoading_div_0__svg_svg_2_Template","InlineLoading_div_0__svg_svg_3_Template","InlineLoading_div_0_Template","Active","Finished","InlineLoading_p_1_Template","loadingText","InlineLoading_p_2_Template","successText","InlineLoading_p_3_Template","errorText","Hidden","InlineLoading","successDelay","onSuccess","loadingClass","isActive","success","InlineLoadingModule","Label_ng_template_0_Template","Label_ng_template_2_Template","Label_ng_container_5_Template","labelInputID","Label_ng_container_6_Template","Label_ng_container_7_ng_template_1_Template","Label_ng_container_7_Template","_r7","Label_ng_template_8_ng_template_1_Template","Label_ng_template_8__svg_svg_4_Template","Label_ng_template_8__svg_svg_5_Template","Label_ng_template_8_ng_template_6_Template","Label_ng_template_8_div_7_ng_container_1_Template","Label_ng_template_8_div_7_2_ng_template_0_Template","Label_ng_template_8_div_7_2_Template","Label_ng_template_8_div_7_Template","Label_ng_template_8_div_8_ng_container_1_Template","Label_ng_template_8_div_8_2_ng_template_0_Template","Label_ng_template_8_div_8_2_Template","Label_ng_template_8_div_8_Template","Label_ng_template_8_div_9_ng_container_1_Template","Label_ng_template_8_div_9_2_ng_template_0_Template","Label_ng_template_8_div_9_2_Template","ctx_r25","Label_ng_template_8_div_9_Template","Label_ng_template_8_Template","TextareaLabelComponent_1_ng_template_0_Template","TextareaLabelComponent_1_Template","labelTemplate","TextareaLabelComponent_ng_template_2_Template","TextareaLabelComponent__svg_svg_6_Template","TextareaLabelComponent__svg_svg_7_Template","TextareaLabelComponent_8_ng_template_0_Template","TextareaLabelComponent_8_Template","textAreaTemplate","TextareaLabelComponent_ng_template_9_Template","TextareaLabelComponent_div_11_ng_container_1_Template","TextareaLabelComponent_div_11_2_ng_template_0_Template","TextareaLabelComponent_div_11_2_Template","TextareaLabelComponent_div_11_Template","TextareaLabelComponent_div_12_ng_container_1_Template","TextareaLabelComponent_div_12_2_ng_template_0_Template","TextareaLabelComponent_div_12_2_Template","TextareaLabelComponent_div_12_Template","TextareaLabelComponent_div_13_ng_container_1_Template","TextareaLabelComponent_div_13_2_ng_template_0_Template","TextareaLabelComponent_div_13_2_Template","TextareaLabelComponent_div_13_Template","TextInputLabelComponent_1_ng_template_0_Template","TextInputLabelComponent_1_Template","TextInputLabelComponent_ng_template_2_Template","TextInputLabelComponent__svg_svg_6_Template","TextInputLabelComponent__svg_svg_7_Template","TextInputLabelComponent_8_ng_template_0_Template","TextInputLabelComponent_8_Template","textInputTemplate","TextInputLabelComponent_ng_template_9_Template","TextInputLabelComponent_div_11_ng_container_1_Template","TextInputLabelComponent_div_11_2_ng_template_0_Template","TextInputLabelComponent_div_11_2_Template","TextInputLabelComponent_div_11_Template","TextInputLabelComponent_div_12_ng_container_1_Template","TextInputLabelComponent_div_12_2_ng_template_0_Template","TextInputLabelComponent_div_12_2_Template","TextInputLabelComponent_div_12_Template","TextInputLabelComponent_div_13_ng_container_1_Template","TextInputLabelComponent_div_13_2_ng_template_0_Template","TextInputLabelComponent_div_13_2_Template","TextInputLabelComponent_div_13_Template","TextInput","inputClass","isSizeXl","isSizeSm","isLightTheme","TextArea","Label","labelCounter","labelState","labelClass","textArea","textInput","wrapper","inputElement","detectChanges","divElement","TextareaLabelComponent","TextInputLabelComponent","InputModule","Link","_disabled","LinkModule","ListItemDirective","List","ordered","unordered","ListModule","Loading","overlay","AlertModal_ibm_modal_footer_9_ng_container_1_Template","i_r4","buttonClicked","button_r3","text","AlertModal_ibm_modal_footer_9_Template","buttons","ModalHeader_button_2_Template","closeLabel","Modal_div_4_Template","BaseModal","closeModal","AlertModal","hasScrollingContent","showCloseButton","modalContent","buttonIndex","dismissModal","AlertModalType","ModalButtonType","Modal","ModalHeader","ModalFooter","ModalContent","ModalHeaderHeading","ModalHeaderLabel","Inject","Function","danger","primary","secondary","tertiary","ghost","danger_primary","closeSelect","ModalService","resolver","inputProviders","inputName","useValue","focusedElement","tap","delay","destroyComponent","modalList","onDestroy","show","modalService","renderer","overlaySelected","selectorPrimaryFocus","modalLabel","shouldShowScrollbar","modal","modalContentHeight","focusInitialElement","addClass","removeClass","handleKeyboardEvent","primaryFocusElement","DOCUMENT","Overlay","Document","Renderer2","overlaySelect","overlayClick","modalContentClass","hasForm","ModalContentText","modalContentTextClass","modalHeaderHeadingClass","modalHeaderLabelClass","ModalModule","Notification__svg_svg_1_Template","Notification__svg_svg_2_Template","Notification__svg_svg_3_Template","Notification__svg_svg_4_Template","Notification_p_6_Template","notificationObj","Notification_div_7_ng_container_2_Template","link_r10","Notification_div_7_Template","links","Notification_ng_container_8_Template","Notification_div_9_Template","action_r11","Notification_button_10_Template","_r15","Toast__svg_svg_0_Template","Toast__svg_svg_1_Template","Toast__svg_svg_2_Template","Toast__svg_svg_3_Template","Toast_h3_5_Template","Toast_div_6_ng_container_2_Template","Toast_div_6_Template","subtitle","Toast_p_7_Template","caption","Toast_ng_container_8_Template","Toast_button_9_Template","NotificationDisplayService","applicationRef","notificationRef","hostView","detachView","NotificationSubtitle","NotificationTitle","Notification","notificationDisplayService","notificationID","notificationCount","notificationClass","defaultNotificationObj","showClose","_notificationObj","isError","isInfo","isSuccess","isWarning","isLowContrast","lowContrast","isCloseHidden","action","notification","actions","Toast","toastID","toastCount","toastClass","ToastTitle","ToastSubtitle","ToastCaption","NotificationService","ngZone","notificationRefs","showNotification","notificationComp","attachView","notificationClassName","notificationList","duration","runOutsideAngular","run","smart","getSmartTimeout","componentRef","showToast","NgZone","NotificationModule","NumberComponent_label_1_Template","NumberComponent_label_2_ng_container_1_Template","NumberComponent_label_2_2_ng_template_0_Template","NumberComponent_label_2_2_Template","NumberComponent_label_2_Template","NumberComponent__svg_svg_5_Template","NumberComponent__svg_svg_6_Template","NumberComponent_div_7_Template","onDecrement","onIncrement","getDecrementLabel","getIncrementLabel","NumberComponent_div_8_ng_container_1_Template","NumberComponent_div_8_2_ng_template_0_Template","NumberComponent_div_8_2_Template","NumberComponent_div_8_Template","NumberComponent_div_9_ng_container_1_Template","NumberComponent_div_9_2_ng_template_0_Template","NumberComponent_div_9_2_Template","NumberComponent_div_9_Template","NumberComponent_div_10_ng_container_1_Template","NumberComponent_div_10_2_ng_template_0_Template","NumberComponent_div_10_2_Template","NumberComponent_div_10_Template","NumberChange","NumberComponent","containerClass","numberCount","min","_decrementLabel","_incrementLabel","Number","decrementLabel","incrementLabel","toPrecision","precision","onNumberInputChange","NumberModule","Pagination_div_1_Template","Pagination_div_2_ng_container_1_option_6_Template","option_r9","Pagination_div_2_ng_container_1_Template","itemsPerPage","itemsPerPageSelectId","itemsPerPageText","pageInputDisabled","itemsPerPageOptions","optionsListText","end","total","Pagination_div_2_span_2_Template","showPageInput","totalItemText","startItemIndex","endItemIndex","totalDataLength","Pagination_div_2_span_3_Template","totalItemsText","Pagination_div_2_span_4_Template","totalItemsUnknownText","Pagination_div_2_Template","pagesUnknown","Pagination_div_3_Template","Pagination_div_4_ng_container_1_input_5_Template","currentPage","currentPageSelectId","pageOptions","Pagination_div_4_ng_container_1_select_6_option_1_Template","i_r23","Pagination_div_4_ng_container_1_select_6_Template","Pagination_div_4_ng_container_1__svg_svg_7_Template","Pagination_div_4_ng_container_1_Template","pageText","pageSelectThreshold","Pagination_div_4_span_2_ng_container_1_Template","Pagination_div_4_span_2_Template","ofLastPageText","lastPage","Pagination_div_4_span_3_ng_container_1_Template","Pagination_div_4_span_3_Template","ofLastPagesText","Pagination_div_4_span_4_ng_container_1_Template","ctx_r28","Pagination_div_4_span_4_Template","Pagination_div_4_Template","_r30","selectPage","previousPage","nextPage","backwardText","forwardText","PaginationNav_ibm_pagination_nav_item_9_Template","PaginationNav_ibm_pagination_overflow_10_Template","_r8","handleOverflowSelection","frontCuts","startOffset","PaginationNav_ibm_pagination_nav_item_11_Template","page_r9","PaginationNav_ibm_pagination_overflow_12_Template","backCuts","totalNumbersArray","PaginationNav_ibm_pagination_nav_item_13_Template","PaginationOverflow_li_0_option_4_Template","fromIndex","PaginationOverflow_li_0_Template","handleChange","countAsArray","PaginationOverflow_ibm_pagination_nav_item_1_Template","Pagination","paginationCounter","_pageOptions","valueWithDefaults","model","pageLength","projectedEndItemIndex","PaginationNav","numOfItemsToShow","nextItemText","previousItemText","getCuts","front","back","leftArrowDisabled","rightArrowDisabled","page","jumpToNext","jumpToPrevious","getPages","cuts","splitPoint","totalItems","itemsThatFit","frontHidden","backHidden","abs","PaginationNavItem","PaginationOverflow","count","PaginationModule","viewContainerMap","registerViewContainerRef","vcRef","hasComponentRef","Placeholder","read","PLACEHOLDER_SERVICE_PROVIDER","PLACEHOLDER_SERVICE_PROVIDER_FACTORY","ProgressBar_div_0_ng_container_2_Template","ProgressBar_div_0_3_ng_template_0_Template","ProgressBar_div_0_3_Template","ProgressBar_div_0__svg_svg_4_Template","ProgressBar_div_0__svg_svg_5_Template","ProgressBar_div_0_Template","isFinished","ProgressBar_div_3_ng_container_1_Template","ProgressBar_div_3_2_ng_template_0_Template","ProgressBar_div_3_2_Template","ProgressBar_div_3_Template","helperId","ProgressBar","progressBarCounter","defaultClass","percentage","bigBar","smallBar","defaultType","indentedType","inlineType","ProgressBarModule","ProgressIndicator_li_1_ng_container_2__svg_svg_1_Template","ProgressIndicator_li_1_ng_container_2__svg_svg_2_Template","ProgressIndicator_li_1_ng_container_2__svg_svg_3_Template","ProgressIndicator_li_1_ng_container_2_Template","step_r1","ProgressIndicator_li_1__svg_svg_3_Template","ProgressIndicator_li_1_p_4_Template","i_r2","stepSelected","ProgressIndicator_li_1_div_5_p_1_Template","_r19","ProgressIndicator_li_1_div_5_p_2_Template","optionalText","ProgressIndicator_li_1_div_5_Template","ProgressIndicator_li_1_Template","ProgressIndicator","orientation","spacing","stepCount","steps","_current","setProgressIndicatorStates","ProgressIndicatorModule","Radio_input_0_Template","disabledFromGroup","Radio_div_1_Template","RadioChange","Radio","labelPlacement","radioCount","_labelledby","radioChangeHandler","labelLeft","radioEvent","registerRadioChangeHandler","setDisabledFromGroup","RadioGroup","radioButtonGroupClass","isInitialized","_selected","_name","radioGroupCount","checkSelectedRadio","updateSelectedRadioFromValue","updateRadios","alreadySelected","radios","radio","updateRadioChangeHandler","forwardRef","RadioModule","Search_div_3_Template","Search_ng_template_4_button_2_Template","openSearch","Search_ng_template_4__svg_svg_3_Template","Search_ng_template_4_Template","_r10","onEnter","tableSearch","toolbar","Search_button_6_Template","clearSearch","clearButtonTitle","Search","expandable","searchCount","searchTitle","isComposing","_size","doValueChange","inputRef","keyDown","relatedTarget","focusIn","compositionStart","compositionEnd","SearchModule","Select_ng_template_1_div_0_Template","Select_ng_template_1_Template","Select_div_2_label_1_ng_container_1_Template","Select_div_2_label_1_2_ng_template_0_Template","Select_div_2_label_1_2_Template","Select_div_2_label_1_Template","Select_div_2_div_2_ng_container_1_Template","Select_div_2_div_2_2_ng_template_0_Template","Select_div_2_div_2_2_Template","Select_div_2_div_2_Template","Select_div_2_div_3_ng_container_1_Template","Select_div_2_div_3_Template","Select_div_2_Template","Select_ng_template_3__svg_svg_6_Template","Select_ng_template_3__svg_svg_7_Template","Select_ng_template_3_div_8_ng_container_1_Template","Select_ng_template_3_div_8_2_ng_template_0_Template","Select_ng_template_3_div_8_2_Template","Select_ng_template_3_div_8_Template","Select_ng_template_3_div_9_ng_container_1_Template","Select_ng_template_3_div_9_2_ng_template_0_Template","Select_ng_template_3_div_9_2_Template","Select_ng_template_3_div_9_Template","Select_ng_template_3_Template","_r27","OptGroup","Option","Select","selectCount","onChangeHandler","onTouchedHandler","SelectModule","SkeletonText_p_0_Template","width_r1","SkeletonPlaceholder","SkeletonText","minLineWidth","maxLineWidth","getRandomInt","lineWidths","SkeletonModule","Slider_ng_container_0_label_1_ng_container_1_Template","Slider_ng_container_0_label_1_2_ng_template_0_Template","Slider_ng_container_0_label_1_2_Template","Slider_ng_container_0_label_1_Template","labelId","Slider_ng_container_0_ng_container_6_Template","onMouseDown","getFractionComplete","Slider_ng_container_0_ng_container_7_div_1_Template","_r21","i_r18","thumb_r17","Slider_ng_container_0_ng_container_7_Template","trackThumbsBy","Slider_ng_container_0_Template","_r24","bottomRangeId","isRange","topRangeId","Slider_ng_template_1_label_0_Template","Slider_ng_template_1_Template","Slider","shiftMultiplier","fractionComplete","isMouseDown","_min","_max","_previousValue","_focusedThumbIndex","filledTrack","updateTrackRangeWidth","scaleX","valueToEmit","getInputs","onDocument","onMouseMove","onMouseUp","track","trackWidth","convertToPx","convertToValue","pxAmount","unrounded","incrementValue","multiplier","decrementValue","fraction","fraction2","trackLeft","clientX","thumbs","SliderModule","ListColumn_span_0_Template","ListHeader_div_2_Template","ListRow_ng_container_1_Template","ListColumn","isHeaderColumn","isBodyColumn","nowrap","ListHeader","selection","columns","column","ListRow","onclick","StructuredList","border","setSelection","rowOrHeader","rows","row","StructuredListModule","NFormsModule","ToggleModule","TableToolbar_div_2_p_7_ng_container_1_Template","legacyText_r6","ngIf","n_r2","TableToolbar_div_2_p_7_ng_template_3_span_0_Template","_batchTextSingle","TableToolbar_div_2_p_7_ng_template_3_span_1_Template","_batchTextMultiple","TableToolbar_div_2_p_7_ng_template_3_Template","TableToolbar_div_2_p_7_Template","_batchTextLegacy","TableToolbar_div_2_Template","onCancel","_cancelText","TableToolbarSearch_div_3_Template","TableToolbarSearch_ng_template_4_button_2_Template","TableToolbarSearch_ng_template_4__svg_svg_3_Template","TableToolbarSearch_ng_template_4_Template","TableToolbarSearch_button_6_Template","Table_tbody_2_Template","onSelectRow","onScroll","onRowClick","getCheckboxRowLabel","enableSingleSelect","expandButtonAriaLabel","selectionLabelColumn","showSelectionColumn","Table_ng_template_3_Template","Table_ng_template_6_Template","Table_tr_7_Template","Table_tr_8_Template","scrollToTop","getEndOfDataText","getScrollTopText","TableHead_ng_container_0_th_2_Template","stickyHeader","getId","TableHead_ng_container_0_th_3_Template","TableHead_ng_container_0_th_4_Template","onSelectAllCheckboxChange","selectAllCheckbox","selectAllCheckboxSomeSelected","getCheckboxHeaderLabel","getHeaderId","TableHead_ng_container_0_ng_container_5_th_1_Template","i_r9","column_r8","sortable","getFilterTitle","colSpan","rowSpan","TableHead_ng_container_0_ng_container_5_Template","padding","TableHead_ng_container_0_th_6_Template","scrollbarWidth","TableHead_ng_container_0_Template","hasExpandableRows","TableHeadCell_button_0_div_3_Template","TableHeadCell_button_0_4_ng_template_0_Template","_c14","TableHeadCell_button_0_4_Template","TableHeadCell_button_0__svg_svg_5_Template","TableHeadCell_button_0__svg_svg_6_Template","_c15","TableHeadCell_button_0_Template","_r9","sorted","sortDirection","getSortDescendingLabel","getSortAscendingLabel","TableHeadCell_div_1_span_1_Template","TableHeadCell_div_1_ng_template_2_Template","TableHeadCell_div_1_Template","TableHeadCell_button_2_span_4_Template","filterCount","_c16","TableHeadCell_button_2_Template","filterTemplate","filterData","TableHeadCheckbox_ibm_checkbox_0_Template","getAriaLabel","_c20","TableBody_ng_container_0_ng_container_1_tr_1_Template","onRowCheckboxChange","expandRow","isRowExpanded","row_r2","rowsClass","isRowSelected","isRowExpandable","getExpandButtonAriaLabel","getRowContext","TableBody_ng_container_0_ng_container_1_tr_2_Template","TableBody_ng_container_0_ng_container_1_ng_container_3_tr_1_Template","expandedDataRow_r19","TableBody_ng_container_0_ng_container_1_ng_container_3_Template","firstExpandedDataInRow","TableBody_ng_container_0_ng_container_1_Template","isRowFiltered","shouldExpandAsTable","TableBody_ng_container_0_Template","TableRowComponent_ng_container_0_td_1_Template","TableRowComponent_ng_container_0_ng_container_2_td_1_Template","TableRowComponent_ng_container_0_ng_container_2_ng_template_2_Template","onSelectionChange","getCheckboxLabel","TableRowComponent_ng_container_0_ng_container_2_Template","showSelectionColumnCheckbox","TableRowComponent_ng_container_0_td_3_Template","TableRowComponent_ng_container_0_ng_container_4_td_1_Template","j_r15","item_r14","getHeader","TableRowComponent_ng_container_0_ng_container_4_td_2_Template","TableRowComponent_ng_container_0_ng_container_4_Template","TableRowComponent_ng_container_0_Template","TableExpandedRow_ng_container_1_Template","TableExpandedRow_ng_template_2_Template","TableData_ng_container_0_Template","TableData_1_ng_template_0_Template","TableData_1_Template","TableCheckbox_ibm_checkbox_0_Template","getLabel","getSelectionLabelValue","TableRadio_ibm_radio_0_Template","TableExpandButton_button_0_Template","TableHeaderItem","rawData","defaults","getOwnPropertyNames","ascending","asc","descending","_title","compare","one","two","localeCompare","TableItem","TableModel","dataChange","rowsSelectedChange","rowsExpandedChange","selectAllChange","rowsSelected","rowsExpanded","rowsIndices","rowsContext","isEnd","isLoading","_data","tableModelCount","COUNT","newData","_totalDataLength","ids","j","headerCell","selectedRowsCount","rowSelected","expandedRowsCount","rowExpanded","realRowIndex","addRow","realRow","columnCount","difference","currentRow","ri","deleteRow","rri","rowIndex","expandedData","realColumnIndex","rc","addColumn","ci","deleteColumn","rci","rowCount","moveColumn","indexFrom","indexTo","headerFrom","cycleSortState","pushRowStateToModelData","headerSorted","oldData","popRowStateFromModelData","rowSelectedMark","rowExpandedMark","rowContext","rowClass","realIndex","selectRow","isRowDisabled","selectAll","TableToolbar","actionBarLabel","batchText","SINGLE","MULTIPLE","cancelText","previous","TableToolbarActions","TableToolbarSearch","ɵTableToolbarSearch_BaseFactory","TableToolbarContent","TableHeaderDescription","counter","descriptionClass","TableHeaderTitle","titleClass","DataGridInteractionModel","keyboardEventStream","clickEventStream","tableAdapter","rowSubject","columnSubject","columnIndex","combineLatest","handleClickEvent","currentColumn","lastColumn","lastColumnIndex","lastRow","lastRowIndex","currentCell","getCell","findColumnIndex","findRowIndex","goToColumn","goToRow","ctrlKey","goTo","cell","cellIndex","resetTabIndexes","newTabIndex","getRow","cells","tabbableElements","reset","TableDomSpanDirection","TableDomAdapter","tableElement","getRealRowLength","col","getColumn","findCellInColumn","firstHeader","findCellInRow","linkedCells","linkedRowCells","headerRows","tHead","indexes","headerRow","headerCells","firstIndex","similarCells","rowCells","rowCell","findCell","targetIndex","spanDirection","Table","noBorder","scrollLoadDistance","columnsResizable","columnsDraggable","striped","tableContent","deselectAll","deselectRow","rowClick","scrollLoad","isColumnDragging","columnDraggedHoverIndex","columnDraggedPosition","_isDataGrid","isViewReady","subscriptions","_expandButtonAriaLabel","_sortDescendingLabel","_sortAscendingLabel","_checkboxHeaderLabel","_checkboxRowLabel","_endOfDataText","_scrollTopText","_filterTitle","_model","rowsChange","updateSelectAllCheckbox","isDataGrid","resetTabIndex","expandedChange","expandedRows","enableDataGridInteractions","disableDataGridInteractions","sortDescendingLabel","sortAscendingLabel","noData","positionSubscription","interactionModel","table","keydownEventStream","previousRow","previousColumn","currentElement","setTabIndex","previousElement","onSelectAll","onDeselectAll","selectedRowIndex","deselectedRowIndex","tabbable","columnResizeStart","columnResizeWidth","columnResizeMouseX","mouseMoveSubscription","columnResizeProgress","mouseUpSubscription","columnResizeEnd","move","columnDragStart","setData","columnDragEnd","columnDragEnter","columnDragLeave","columnDragover","columnDrop","getData","doSort","ariaDescribedby","footerTemplate","TableDirective","TableHead","TableBody","TableContainer","headerTitle","headerDescription","TableHeader","headerClass","displayStyle","TableHeadCellLabel","ExpandedRowHover","addHoverClass","previousElementSibling","removeHoverClass","tableClass","compactClass","tallClass","shortClass","checkboxHeaderLabel","filterTitle","getScrollbarWidth","TableHeadCell","TableHeadCheckbox","TableHeadExpand","theadAction","sortLabelMap","ariaSortLabel","formatSortLabel","tableSelectAllCount","checkboxRowLabel","found","expandAsTable","TableRowComponent","TableExpandedRow","_checkboxLabel","checkboxLabel","selectedClass","parentRowClass","expandableRowClass","selectableClass","isParentRow","isAccessible","onHostClick","TableData","TableCheckbox","TableRadio","TableExpandButton","dataChildRow","firstExpandedTemplateInRow","expandedTemplate","_label","ɵngcc7","expandClass","TableModule","Tab_div_0_Template","TabHeaderGroup_div_5_Template","TabHeaderGroup_ng_container_9_Template","contentBefore","TabHeaderGroup_ng_container_12_Template","contentAfter","TabHeaderGroup_div_13_Template","TabHeaders_div_6_Template","TabHeaders_ng_container_10_Template","TabHeaders_li_11_ng_container_3_Template","tab_r9","heading","TabHeaders_li_11_4_ng_template_0_Template","TabHeaders_li_11_4_Template","TabHeaders_li_11_Template","restoredCtx","i_r10","selectTab","onTabFocus","headingIsTemplate","TabHeaders_ng_container_13_Template","TabHeaders_div_14_Template","Tabs_ibm_tab_headers_0_Template","tabs","followFocus","cacheActive","Tabs_ng_template_2_Template","Tabs_ng_template_4_Template","Tabs_ibm_tab_headers_6_Template","nextId","Tab","attrClass","_cacheActive","shouldCache","shouldRender","TabHeader","paneReference","paneTabIndex","tabItem","TabHeaderGroup","isNavigation","selectedSubscriptionTracker","currentSelectedIndex","OVERFLOW_BUTTON_OFFSET","hasHorizontalOverflow","tabList","headerContainer","leftOverflowNavButtonHidden","scrollLeft","rightOverflowNavButtonHidden","keyboardInput","tabHeadersArray","tabHeaderQuery","handleScroll","tabHeader","selectedSubscriptions","filteredHeader","getSelectedTab","handleOverflowNavClick","direction","leftEdgeReached","rightEdgeReached","rightOverflowNavButton","leftOverflowNavButton","handleOverflowNavMouseDown","overflowNavInterval","handleOverflowNavMouseUp","TabHeaders","firstVisibleTab","tabsScrollable","tabsArray","currentSelectedTab","allTabHeaders","resizeObserver","ResizeObserver","observe","unobserve","tabInput","tabQuery","tab","setFirstTab","_tab","firstTab","Tabs","tabHeaders","hasTabHeaders","descendants","TabsModule","Tag","TagFilter","closeButtonLabel","attrAriaLabel","ɵTagFilter_BaseFactory","TagModule","ExpandableTile__svg_svg_2_Template","expand","ExpandableTile__svg_svg_3_Template","collapse","TileGroup_legend_1_1_ng_template_0_Template","TileGroup_legend_1_1_Template","legend","TileGroup_legend_1_ng_template_2_Template","TileGroup_legend_1_Template","ClickableTile","ExpandableTile","tileMaxHeight","currentExpandedHeight","updateMaxHeight","expandedHeight","tile","tilePadding","paddingBottom","paddingTop","SelectionTile","tileCount","TileGroup","tileGroupCount","tileGroupClass","unsubscribe$","unsubscribeTiles$","updateTiles","selectionTiles","takeUntil","Tile","tileClass","lightThemeEnabled","TilesModule","Toggle_label_0_ng_container_1_Template","Toggle_label_0_2_ng_template_0_Template","Toggle_label_0_2_Template","Toggle_label_0_Template","ToggleState","ToggleChange","Toggle","formItem","toggleCount","_offValues","_onValues","offText","onText","getOffText","getOnText","Header_a_1_Template","skipTo","Header_3_ng_template_0_Template","Header_3_Template","brand","Header_ng_container_4_a_1_Template","Header_ng_container_4_a_2_Template","Header_ng_container_4_Template","useRouter","HeaderItem_ng_template_2_Template","HeaderItem_a_4_ng_container_1_Template","HeaderItem_a_4_Template","isCurrentPage","HeaderItem_a_5_ng_container_1_Template","HeaderItem_a_5_Template","activeLinkClass","HeaderMenu_3_ng_template_0_Template","HeaderMenu_3_Template","HeaderMenu_ng_template_4_Template","HeaderMenu_ng_container_8_Template","headerItem_r5","HeaderNavigation_ng_container_3_ibm_header_item_1_Template","navigationItem_r1","HeaderNavigation_ng_container_3_ibm_header_menu_2_Template","menuItems","HeaderNavigation_ng_container_3_Template","Hamburger__svg_svg_5_Template","Hamburger__svg_svg_6_Template","SideNav_ng_container_4_ibm_sidenav_item_1_Template","navigationItem_r2","SideNav_ng_container_4_ibm_sidenav_menu_2_Template","SideNav_ng_container_4_Template","SideNav_button_7__svg_svg_3_Template","SideNav_button_7__svg_svg_4_Template","SideNav_button_7_Template","SideNavItem_div_2_Template","SideNavMenu_ng_container_11_Template","menuItem_r1","_c13","Header","HeaderItem","HeaderMenu","onMouseOver","onMouseOut","headerItems","HeaderNavigation","navigationItems","HeaderGlobal","HeaderAction","activeChange","Hamburger","HeaderModule","RouterModule","SideNav","rail","ux","allowExpansion","SideNavItem","SideNavMenu","isSubMenu","hasActiveChild","activeItemsSubscription","sidenavItems","findActiveChildren","activeItemSubscription","SideNavModule","Panel","SwitcherList","SwitcherListItem","itemRole","PanelModule","UIShellModule","AnimationFrameServiceSingleton","frameSource","animationFrameId","requestAnimationFrame","doTick","cancelAnimationFrame","singleton","merge$1","objects","isScrollableElement","computedStyle","isVisibleInContainer","elementRect","isAboveViewport","isLeftOfViewport","isBelowViewport","isRightOfViewport","matchesAttr","attr","nodeType","scrollableParents","getEventObservable","targetElement","eventType","passive","DocumentService","globalEvents","documentRef","handleEvent","observable","handleClick","documentService","targets","WeakMap","eventMap","DOCUMENT_SERVICE_PROVIDER","DOCUMENT_SERVICE_PROVIDER_FACTORY","ANIMATION_FRAME_SERVICE_SINGLETON_PROVIDER","ANIMATION_FRAME_SERVICE_SINGLETON_PROVIDER_FACTORY","_scrollbarWidth","outer","msOverflowStyle","widthNoScroll","inner","widthWithScroll","settings_1","prefix","selectorTabbable","selectorFocusable","_defineProperties","props","_toConsumableArray","arr","_arrayWithoutHoles","_arrayLikeToArray","_iterableToArray","iter","_unsupportedIterableToArray","minLen","test","_nonIterableSpread","len","arr2","flatten","_typeof","_setPrototypeOf","_createSuper","Derived","hasNativeReflectConstruct","_isNativeReflectConstruct","Reflect","construct","sham","Proxy","valueOf","Super","_getPrototypeOf","NewTarget","_possibleConstructorReturn","_assertThisInitialized","ReferenceError","getPrototypeOf","_len","_key","release","_get","receiver","base","_superPropBase","eventMatches","currentTarget","matches","Node","DOCUMENT_NODE","arrayLike","_mixin","_inherits","subClass","superClass","_classCallCheck","Constructor","manage","_toggle","_handleKeyDown","selectorItem","selectorTrigger","selectorMenu","_updateFocus","_createClass","protoProps","staticProps","classOpen","NAVIGATE","which","getCurrentNavigation","listNode","removeAttribute","focusedItem","selectorItemFocused","classFocused","itemToFocus","previouslyFocused","_this2","classDisabled","triggerNode","isOfSelf","changedState","selectedNode","selectorLinkSelected","_focusCleanup","menuListNode","focusedNode","focusedId","focused","ELEMENT_NODE","old","handleUnderflow","isShowSelected","classShowSelected","selectorItemHidden","selectorItemSelected","itemToSelect","_this3","eventStart","CustomEvent","eventBeforeSelected","detail","dataset","dropdownType","selectorText","selectorTextInner","classSelected","eventAfterSelected","settings","selectorInit","components","mixin","mixinfns","Class","mixinfn","_class","create_component","ToMix","_ToMix","CreateComponent","init_component_by_search","InitComponentBySearch","effectiveOptions","handles","Handles","handle","trackBlur","TrackBlur","hasFocusin","focusinEventName","focusoutEventName","contentNode","handleBlur","u","getResult","getSoftwareVersion","getBrowserData","getFingerprint","ua","getScreenPrint","getPlugins","getFonts","isLocalStorage","isSessionStorage","getTimeZone","getLanguage","getSystemLanguage","isCookie","getCanvasPrint","getCustomFingerprint","getUserAgent","getUserAgentLowerCase","getBrowser","browser","getBrowserVersion","getBrowserMajorVersion","major","isIE","isChrome","isFirefox","isSafari","isMobileSafari","isOpera","getEngine","engine","getEngineVersion","getOS","os","getOSVersion","isWindows","isMac","isLinux","isUbuntu","isSolaris","getDevice","device","getDeviceType","getDeviceVendor","vendor","getCPU","cpu","architecture","isMobile","navigator","opera","substr","isMobileMajor","isMobileAndroid","isMobileBlackBerry","isMobileIOS","isMobileOpera","isMobileWindows","match","isIphone","isIpad","isIpod","getCurrentResolution","getAvailableResolution","getColorDepth","getDeviceXDPI","getDeviceYDPI","screen","colorDepth","availWidth","availHeight","deviceXDPI","deviceYDPI","isJava","javaEnabled","getJavaVersion","isFlash","getFlashVersion","isSilverlight","getSilverlightVersion","isMimeTypes","mimeTypes","getMimeTypes","isFont","detect","localStorage","sessionStorage","cookieEnabled","getTimezoneOffset","systemLanguage","isCanvas","getContext","textBaseline","font","fillStyle","fillRect","fillText","toDataURL","ClientJS","global","charCodeAt","w","h","S","C","M","T","B","A","L","U","G","N","R","D","I","O","z","F","exec","q","W","ME","XP","Vista","RT","V","H","userAgent","getUA","setUA","VERSION","BROWSER","CPU","DEVICE","ENGINE","OS","UAParser","K","jQuery","Zepto","Y","getElementsByTagName","fontSize","fontFamily","__assign","HOOKS","_disable","_enable","altFormat","altInput","altInputClass","animate","ariaDateFormat","clickOpens","closeOnSelect","conjunction","defaultHour","defaultMinute","defaultSeconds","disable","disableMobile","enable","enableSeconds","enableTime","errorHandler","getWeek","givenDate","getTime","setHours","getDate","getDay","week1","hourIncrement","ignoredFocusElements","minuteIncrement","noCalendar","onParseConfig","onYearChange","onPreCalendarPosition","positionElement","shorthandCurrentMonth","showMonths","time_24hr","weekNumbers","wrap","english","weekdays","longhand","daysInMonth","firstDayOfWeek","ordinal","nth","rangeSeparator","weekAbbreviation","scrollTitle","toggleTitle","amPM","yearAriaLabel","pad","number","int","bool","debounce","func","wait","immediate","arrayify","toggleClass","tag","clearNode","findParent","condition","createNumberInput","inputClassName","opts","numInput","arrowUp","arrowDown","getEventTarget","composedPath","doNothing","revFormat","dateObj","monthName","setMonth","hour","J","getHours","shortMonth","seconds","setSeconds","unixSeconds","weekNum","weekNumber","year","setFullYear","Z","ISODate","minutes","setMinutes","month","unixMillSeconds","tokenRegex","formats","toISOString","getSeconds","getMinutes","createDateFormatter","_b","_c","frmt","overrideLocale","createDateParser","givenFormat","timeless","customLocale","parsedDate","dateOrig","toFixed","format","datestr","matched","matchIndex","regexStr","token_1","isBackSlash","escaped","compareDates","date1","date2","isBetween","ts","ts1","ts2","DAY","_loop_1","args_1","DEBOUNCED_CHANGE_MS","FlatpickrInstance","instanceConfig","defaultConfig","setupHelperFunctions","utils","getDaysInMonth","yr","init","parseConfig","setupLocale","setupInputs","setupDates","build","bindEvents","setHoursFromDate","latestSelectedDateObj","minDate","updateValue","setCalendarWidth","showTimeInput","positionCalendar","triggerEvent","bindToInstance","daysWidth","days","weekWrapper","removeProperty","updateTime","setDefaultTime","timeWrapper","prevValue","_input","setHoursFromInputs","_debouncedChange","ampm2military","military2ampm","hourElement","minuteElement","hours","secondElement","limitMinHours","minTime","minDateHasTime","maxTime","maxDate","maxDateHasTime","setDefaultHours","minHr","minMinutes","maxHr","maxMinutes","onYearInput","changeYear","handler","_handlers","triggerChange","setupMobile","debouncedResize","onResize","ontouchstart","documentClick","capture","monthNav","onMonthNavClick","selectDate","timeContainer","selText","timeIncrement","jumpToDate","jumpDate","jumpTo","oldYear","oldMonth","buildMonthSwitch","redraw","incrementNumInput","inputElem","createEvent","fragment","createDocumentFragment","buildMonthNav","innerContainer","buildWeeks","rContainer","buildWeekdays","buildDays","buildTime","customAppend","appendTo","createDay","dayNumber","dateIsEnabled","isEnabled","$i","todayDateElem","isDateSelected","isDateInRange","insertAdjacentHTML","focusOnDayElem","targetNode","getFirstAvailableDay","startMonth","endMonth","startIndex","endIndex","getNextAvailableDay","givenMonth","loopDelta","numMonthDays","focusOnDay","dayFocused","isInView","startElem","buildMonthDays","firstOfMonth","prevMonthDays","isMultiMonth","prevMonthDayClass","nextMonthDayClass","dayIndex","dayNum","frag","shouldBuildMonth","monthsDropdownContainer","buildMonth","monthNavFragment","selectedMonth","yearInput","yearElement","buildMonths","prevMonthNav","nextMonthNav","__hidePrevMonthArrow","__hideNextMonthArrow","currentYearElement","updateNavigationCurrentMonth","separator","hourInput","minuteInput","secondInput","updateWeekdays","isOffset","_hidePrevMonthArrow","_hideNextMonthArrow","triggerChangeEvent","toInitial","mobileInput","_initialDate","lastChild","_type","isCalendarElem","eventTarget_1","isCalendarElement","isInput","lostFocus","isIgnored","newYear","newYearNum","isNewYear","dateToCheck","array","parsed","to","allowKeydown","allowInlineKeydown","keyCode","blur","isTimeObj","focusAndClose","delta_1","elems","pluginElements","hoverDate","initialDate","rangeStartDate","rangeEndDate","containsDisabled","minRange","maxRange","timestamp","outOfRange","_positionElement","wasOpen","minMaxDateSetter","inverseDateObj","boolOpts","userConfig","parseDateRules","timeMode","defaultDateFormat","defaultAltFormat","_minDate","_maxDate","minMaxTimeSetter","_minTime","_maxTime","hook","pluginConf","l10ns","customPositionElement","calendarHeight","calendarWidth","configPos","configPosVertical","configPosHorizontal","inputBounds","distanceFromBottom","showOnTop","pageYOffset","pageXOffset","rightMost","centerMost","doc","styleSheets","bodyWidth","centerLeft","centerBefore","centerAfter","centerIndex","cssRules","centerStyle","insertRule","msMaxTouchPoints","isSelectable","selectedDate","shouldChangeMonth","selectedIndex","single","_bind","_setHoursFromDate","_positionCalendar","CALLBACKS","setSelectedDate","inputDate","rule","preloadedDate","defaultDate","nodeName","_showTimeInput","inputType","mobileFormatStr","defaultValue","hooks","initEvent","getDateStr","dObj","isPrevMonth","isNextMonth","isKeyDown","curValue","isHourElem","isMinuteElem","_flatpickr","nodeList","nodes","HTMLElement","instances","HTMLCollection","NodeList","en","localize","setDefaults","fp_incr","Arabic","ar","fp$1","Austria","at","fp$2","Azerbaijan","az","fp$3","Belarusian","be","fp$4","Bosnian","bs","fp$5","Bulgarian","bg","fp$6","Bangla","bn","fp$7","Catalan","cat","fp$8","Czech","cs","fp$9","Welsh","fp$a","Danish","da","fp$b","German","de","fp$c","Esperanto","eo","fp$d","Spanish","es","fp$e","Estonian","et","fp$f","Persian","fa","fp$g","Finnish","fi","fp$h","Faroese","fo","fp$i","French","fr","fp$j","Greek","gr","fp$k","Hebrew","he","fp$l","Hindi","hi","fp$m","Croatian","hr","fp$n","Hungarian","hu","fp$o","Indonesian","fp$p","Icelandic","is","fp$q","Italian","it","fp$r","Japanese","ja","fp$s","Korean","ko","fp$t","Khmer","km","fp$u","Kazakh","kz","fp$v","Lithuanian","lt","fp$w","Latvian","lv","fp$x","Macedonian","mk","fp$y","Mongolian","mn","fp$z","Malaysian","fp$A","Burmese","my","fp$B","Dutch","nl","fp$C","Norwegian","no","fp$D","Punjabi","pa","fp$E","Polish","pl","fp$F","Portuguese","pt","fp$G","Romanian","ro","fp$H","Russian","ru","fp$I","Sinhala","si","fp$J","Slovak","sk","fp$K","Slovenian","sl","fp$L","Albanian","sq","fp$M","Serbian","sr","fp$N","Swedish","sv","fp$O","Thai","th","fp$P","Turkish","tr","fp$Q","Ukrainian","uk","fp$R","Vietnamese","vn","fp$S","Mandarin","zh","fp$T","MandarinTraditional","zh_tw","ms","_secondInputFocused","_prevDates","createSecondInput","Element","cloneNode","plugin","selDates","newSelectedDate","Window","getWindow","defaultView","realWindow","createTextNode","docFrag","string","plainObject","prepared","axis","coords","cur","velocity","iEvent","install","Interactable","draggable","drag","methodDict","listeners","interactable","pointerIsDown","pointerType","mouseButtons","lockAxis","startAxis","setPerAction","setOnEvents","beforeMove","getCursor","DocumentFragment","SVGElement","SVGSVGElement","SVGElementInstance","Event","Touch","PointerEvent","MSPointerEvent","supportsTouch","DocumentTouch","supportsPointerEvent","pointerEnabled","isIOS","platform","isIOS7","appVersion","isIe9","isOperaMobile","appName","prefixedMatchesSelector","pEventTypes","up","down","wheelEvent","getActualElement","correspondingUseElement","getElementClientRect","getElementRect","getPath","getScrollXY","indexOfDeepestElement","E","ownerSVGElement","previousSibling","zIndex","matchesSelector","matchesUpTo","nodeContains","trySelector","unshift","getRect","addEdges","getStringOptionResult","rectToXY","resolveRectLike","tlbrToXywh","xywhToTlbr","origin","sqrt","__set","X","changedTouches","pageX","pageY","screenX","screenY","coordsToEvent","timeStamp","pointerId","copyCoords","getClientXY","getEventTargets","getPageXY","getPointerId","identifier","getPointerType","getTouchPair","getXY","isNativePointer","newCoords","pointerAverage","setCoordDeltas","setCoordVelocity","setCoords","setZeroCoords","touchAngle","atan2","PI","touchBBox","touchDistance","$","BaseEvent","_interaction","propagationStopped","immediatePropagationStopped","_proxy","Q","tt","nt","rt","ot","DropEvent","st","prev","dropzone","dragEvent","dropState","events","enter","activeDrops","fire","ut","ct","interactables","draggableElement","_context","rect","ft","dropCheck","dt","leave","dragLeave","prevDropzone","dragEnter","dragmove","vt","dynamicDrop","ht","interactStatic","usePlugin","off","ondrop","ondropactivate","ondropdeactivate","ondragenter","ondragleave","ondropmove","overlap","checker","phaselessTypes","dragenter","dragleave","dropactivate","dropdeactivate","dropmove","getActiveDrops","getDrop","getDropEvents","fireDropEvents","gt","yt","mt","phase","pointers","pointer","deltaSource","distance","scale","ds","angle","gesture","startDistance","startAngle","prevEvent","bt","before","gesturable","xt","wt","Pt","resizeAxes","resize","square","axes","Ot","cursors","xy","topleft","bottomright","topright","bottomleft","defaultMargin","resizable","edges","_rects","corrected","deltaRect","invert","_latestPointer","eventTarget","margin","NaN","Et","St","Tt","jt","Mt","kt","It","Dt","request","At","getContainer","Ct","getScroll","Rt","getScrollSize","getScrollSizeDelta","zt","speed","isScrolling","prevTime","check","onInteractionMove","interacting","simulation","Xt","autoscroll","perAction","Bt","copyAction","sign","warnOnce","Yt","Wt","styleCursor","Lt","actionChecker","Ut","getAction","ignoreFrom","_backCompatOption","allowFrom","Vt","Nt","testIgnoreAllow","Ht","qt","Gt","forEachMatch","manualStart","$t","Jt","maxPerElement","autoStart","maxInteractions","interactions","Kt","Zt","cursorElement","cursor","cursorChecker","_interacting","te","withinInteractionLimit","pointerWasMoved","validateAction","ee","ne","dx","dy","downPointer","downEvent","re","oe","hold","ae","autoStartHoldTimer","duplicate","getHoldDuration","se","le","ue","ce","fe","checkAndPreventDefault","supportsPassive","getDocOptions","docEvents","listener","pe","ve","ge","touchAction","boxSizing","noListeners","ye","me","xe","we","_e","Pe","getRectOffset","Se","Oe","Ee","modifiers","methods","_methods","prepareStates","startEdges","startDelta","fillArg","pageCoords","preEnd","startAll","setAll","states","skipModifiers","shouldDo","eventProps","rectDelta","changed","modifiedCoords","applyToInteraction","beforeEnd","endResult","modification","endOnly","setStart","Te","je","addEventModifiers","makeModifier","_defaults","ke","setAndApply","restoreInteractionCoords","Ie","De","Ae","ze","Ce","Re","Fe","Xe","Be","InteractEvent","Ye","altKey","metaKey","t0","downTime","x0","y0","clientX0","clientY0","swipe","getSwipe","velocityY","velocityX","We","Le","Ue","Ve","PointerInfo","Ne","downTarget","qe","Ge","$e","He","Ke","Interaction","_ProxyValues","_ProxyMethods","Ze","Je","scopeFire","_scopeFire","updatePointer","pointerIndex","pointerInfo","_stopped","_doPhase","pointerMoveTolerance","getPointerIndex","curEventTarget","removePointer","_ending","_now","pointerExtend","_updateLatestPointer","_createPreparedEvent","_fireEvent","Qe","tn","an","pending","nn","rn","addTotal","applyPending","offsetBy","ln","un","cn","InertiaState","dn","pn","copyFrom","allowResume","v0","currentOffset","startCoords","modifierArg","minSpeed","endSpeed","startInertia","startSmoothEnd","targetOffset","resistance","lambda_v0","one_ve_v0","isModified","modifiedOffset","onNextFrame","inertiaTick","smoothEnd","smoothEndTick","exp","hn","smoothEndDuration","gn","modifierCount","inertia","yn","phases","inertiastart","resume","xn","wn","Eventable","_n","types","Pn","On","createInteractStatic","new","getPointerAverage","getTouchBBox","getTouchDistance","getTouchAngle","scope","use","isSet","addDocument","removeDocument","En","Sn","Tn","jn","_actions","_win","_doc","_scopeEvents","onstart","onmove","onend","oninertiastart","updatePerActionListeners","_rectChecker","testIgnore","testAllow","_onOff","delegatedEvents","removeDelegate","Mn","kn","In","InteractableSet","Dn","addListeners","selectorMap","win","inContext","An","zn","Cn","Rn","Fn","Xn","originalEvent","Bn","Yn","addDelegate","delegateListener","delegateUseCapture","documents","supportsOptions","Wn","Ln","methodOrder","simulationResume","mouseOrPen","Un","hasPointer","idle","Vn","Nn","qn","Gn","$n","Hn","Kn","Zn","Jn","Qn","er","prevTouchTime","nr","searchDetails","rr","or","pointerDown","pointerMove","pointerUp","documentBlur","onDocSignal","doOnInteractions","methodNames","ir","lr","ur","dr","cr","pr","vr","Scope","initScope","mr","listenerMaps","_plugins","pluginIsInstalled","br","getDocIndex","onWindowUnload","xr","wr","_r","Pr","globalThis","Or","Er","Sr","Tr","jr","limits","grid","coordFields","Mr","kr","Dr","snappers","createSnapGrid","Ar","zr","Cr","Rr","aspectRatio","Fr","ratio","equalDelta","startRect","linkedEdges","xIsPrimaryAxis","edgeSign","subModification","Xr","Br","prevCoords","prevRect","Yr","Wr","Lr","Ur","Vr","Nr","qr","getRestrictionRect","restrict","Gr","restriction","$r","Hr","restrictEdges","Kr","Zr","Jr","Qr","noInner","noOuter","restrictRect","oo","io","restrictSize","ao","so","lo","uo","co","snap","po","offsetWithOrigin","relativePoints","relativePoint","inRange","vo","ho","go","snapSize","yo","targetFields","mo","bo","snapEdges","xo","wo","_o","Po","Oo","Eo","spring","avoid","rubberband","So","jo","Mo","Io","Do","Ao","zo","Co","Ro","tapTime","double","prevTap","Fo","Xo","pointerEvents","Wo","Bo","eventable","holdDuration","collectEventTargets","Yo","doubletap","pointerEvent","_subtractOrigin","_addOrigin","Lo","Uo","Vo","holdIntervalHandle","qo","holdRepeatInterval","holdrepeat","Go","$o","Ko","Zo","Qo","ti","ei","reflow","_reflowPromise","_reflowResolve","all","oi","ii","ai","li","atob","fromCharCode","decodeURIComponent","VirtualTimeScheduler","AsyncScheduler","SchedulerAction","VirtualAction","maxFrames","POSITIVE_INFINITY","flush","shift","execute","frameTimeFactor","AsyncAction","scheduler","work","schedule","requestAsyncId","sortActions","recycleAsyncId","_execute","bindCallback","callbackFunc","resultSelector","isScheduler","subscriber","dispatch","AsyncSubject","innerArgs","canReportError","dispatchNext","bindNodeCallback","dispatchError","arg","fromEventPattern","addHandler","removeHandler","retValue","isFunction","generate","initialStateOrOptions","iterate","resultSelectorOrObservable","initialState","identity","conditionResult","closed","needIterate","NEVER","never","onErrorResumeNext","sources","EMPTY","remainder","subNext","pairs","partition","predicate","subscribeTo","not","using","resourceFactory","observableFactory","resource","hasNext","hasCompleted","_subscribe","hasError","thrownError","ObjectUnsubscribedError","NotificationKind","COMPLETE","kind","hasValue","do","nextOrObserver","toObservable","throwError","empty","undefinedValueNotification","completeNotification","_isScalar","lift","operator","observerOrNext","sink","toSubscriber","Subscriber","rxSubscriberSymbol","emptyObserver","syncErrorThrowable","_trySubscribe","syncErrorThrown","syncErrorValue","promiseCtor","getPromiseCtor","Symbol_observable","operations","pipeFromArray","toPromise","hostReportError","OuterSubscriber","notifyNext","outerValue","innerValue","outerIndex","innerIndex","innerSub","notifyError","notifyComplete","ReplaySubject","bufferSize","windowTime","_events","_infiniteTimeWindow","_bufferSize","_windowTime","nextInfiniteTimeWindow","nextTimeWindow","isStopped","ReplayEvent","_getNow","_trimBufferThenGetEvents","SubjectSubscription","ObserveOnSubscriber","queue","eventsCount","spliceCount","time","Scheduler","SubjectSubscriber","AnonymousSubject","copy","subscriberIndex","destinationOrNext","SafeSubscriber","_next","_error","_complete","_unsubscribeAndRecycle","_parentOrParents","_parentSubscriber","__tryOrSetError","__tryOrUnsub","useDeprecatedSynchronousErrorHandling","wrappedComplete","_unsubscribe","_ctorUnsubscribe","errors","UnsubscriptionError","flattenUnsubscriptionErrors","sub","isObject","teardown","tmp","subscriptionIndex","errs","_enable_super_gross_mode_that_will_cause_bad_things","stack","SimpleInnerSubscriber","SimpleOuterSubscriber","innerSubscribe","innerSubscriber","ConnectableObservable","subjectFactory","_refCount","_isComplete","_subject","connection","_connection","ConnectableSubscriber","refCount","higherOrderRefCount","connectableObservableDescriptor","connectableProto","connectable","NONE","observables","fromArray","CombineLatestOperator","CombineLatestSubscriber","toRespond","subscribeToResult","unused","_outerValue","oldVal","_tryResultSelector","concatAll","defer","emptyScheduled","forkJoin","forkJoinInternal","completed","emitted","scheduled","scheduleArray","subscribeToArray","setupSubscription","sourceObj","isEventTarget","isJQueryStyleEventEmitter","isNodeStyleEventEmitter","addListener","removeListener","trueResult","falseResult","interval","period","async","isNumeric","concurrent","mergeAll","race","RaceOperator","RaceSubscriber","hasFirst","timer","dueTime","periodOrScheduler","due","zip","ZipOperator","ZipSubscriber","iterators","StaticArrayIterator","Symbol_iterator","StaticIterator","ZipBufferIterator","stillUnsubscribed","notifyInactive","checkIterators","shouldComplete","_tryresultSelector","nextResult","isComplete","audit","durationSelector","AuditOperator","AuditSubscriber","throttled","innerSubscription","clearThrottle","auditTime","catchError","CatchOperator","caught","CatchSubscriber","err2","concatMap","project","mergeMap","DebounceTimeOperator","DebounceTimeSubscriber","debouncedSubscription","lastValue","clearDebounce","debouncedNext","defaultIfEmpty","DefaultIfEmptyOperator","DefaultIfEmptySubscriber","isEmpty","delayFor","isDate","DelayOperator","DelaySubscriber","errored","_schedule","scheduleNotification","DelayMessage","delayWhen","delayDurationSelector","subscriptionDelay","SubscriptionDelayObservable","DelayWhenOperator","DelayWhenSubscriber","delayNotifierSubscriptions","_innerValue","_outerIndex","_innerIndex","removeSubscription","tryComplete","delayNotifier","tryDelay","subscriptionIdx","notifierSubscription","SubscriptionDelaySubscriber","sourceSubscribed","subscribeToSource","distinctUntilChanged","keySelector","DistinctUntilChangedOperator","DistinctUntilChangedSubscriber","hasKey","FilterOperator","FilterSubscriber","finalize","FinallyOperator","FinallySubscriber","hasDefaultValue","take","throwIfEmpty","EmptyError","groupBy","elementSelector","subjectSelector","GroupByOperator","GroupBySubscriber","groups","attemptedToUnsubscribe","_group","group","groupedObservable","GroupedObservable","GroupDurationSubscriber","removeGroup","groupSubject","refCountSubscription","InnerRefCountSubscription","takeLast","MapOperator","MapSubscriber","mapTo","MapToOperator","MapToSubscriber","MergeMapOperator","MergeMapSubscriber","_tryNext","_innerSub","ish","flatMap","multicast","subjectOrSubjectFactory","MulticastOperator","observeOn","ObserveOnOperator","scheduleMessage","ObserveOnMessage","pairwise","PairwiseOperator","PairwiseSubscriber","hasPrev","pair","RefCountOperator","refCounter","RefCountSubscriber","sharedConnection","repeatWhen","notifier","RepeatWhenOperator","RepeatWhenSubscriber","sourceIsBeingSubscribedTo","retries","subscribeToRetries","retriesSubscription","notifications","retryWhen","RetryWhenOperator","RetryWhenSubscriber","scan","accumulator","seed","hasSeed","ScanOperator","ScanSubscriber","_seed","shareSubjectFactory","shareReplay","configOrBufferSize","shareReplayOperator","useRefCount","skip","SkipOperator","SkipSubscriber","startWith","switchMap","SwitchMapOperator","SwitchMapSubscriber","switchMapTo","innerObservable","TakeOperator","ArgumentOutOfRangeError","TakeSubscriber","TakeLastOperator","TakeLastSubscriber","ring","idx","TakeUntilOperator","takeUntilSubscriber","TakeUntilSubscriber","seenValue","takeWhile","inclusive","TakeWhileOperator","TakeWhileSubscriber","nextOrComplete","predicateResult","DoOperator","TapSubscriber","_tapNext","_tapError","_tapComplete","errorFactory","defaultErrorFactory","ThrowIfEmptyOperator","ThrowIfEmptySubscriber","timeoutWith","TimeoutError","withObservable","absoluteTimeout","waitFor","TimeoutWithOperator","TimeoutWithSubscriber","scheduleTimeout","dispatchTimeout","isInteropObservable","scheduleObservable","isPromise","schedulePromise","isArrayLike","isIterable","scheduleIterable","Action","errorValue","delegate","AnimationFrameAction","AnimationFrameScheduler","animationFrameScheduler","animationFrame","nextHandle","RESOLVED","activeHandles","findAndClearHandle","Immediate","setImmediate","cb","clearImmediate","AsapAction","AsapScheduler","asapScheduler","asap","asyncScheduler","QueueAction","QueueScheduler","queueScheduler","getSymbolIterator","rxSubscriber","ArgumentOutOfRangeErrorImpl","EmptyErrorImpl","ObjectUnsubscribedErrorImpl","TimeoutErrorImpl","UnsubscriptionErrorImpl","pred","notPred","fns","obs","subscribeToObservable","promise","subscribeToPromise","iterable","subscribeToIterable","msg","InnerSubscriber","outerSubscriber","closingNotifier","BufferOperator","BufferSubscriber","bufferCount","startBufferEvery","BufferCountOperator","subscriberClass","BufferSkipCountSubscriber","BufferCountSubscriber","buffers","bufferTime","bufferTimeSpan","bufferCreationInterval","maxBufferSize","BufferTimeOperator","BufferTimeSubscriber","Context","contexts","openContext","timespanOnly","timeSpanOnlyState","closeAction","dispatchBufferTimeSpanOnly","closeState","creationState","dispatchBufferClose","dispatchBufferCreation","filledBufferContext","onBufferFull","closeContext","prevContext","bufferToggle","openings","closingSelector","BufferToggleOperator","BufferToggleSubscriber","closeBuffer","openBuffer","trySubscribe","bufferWhen","BufferWhenOperator","BufferWhenSubscriber","subscribing","closingSubscription","combineAll","concatStatic","concatMapTo","CountOperator","CountSubscriber","_tryPredicate","DebounceOperator","DebounceSubscriber","emitValue","durationSubscription","dematerialize","DeMaterializeOperator","DeMaterializeSubscriber","distinct","flushes","DistinctOperator","DistinctSubscriber","_useKeySelector","_finalizeNext","distinctUntilKeyChanged","elementAt","endWith","every","EveryOperator","EverySubscriber","everyValueMatch","exhaust","SwitchFirstOperator","SwitchFirstSubscriber","hasSubscription","exhaustMap","ExhaustMapOperator","ExhaustMapSubscriber","tryNext","ExpandOperator","ExpandSubscriber","subscribeToProjection","FindValueOperator","yieldIndex","FindValueSubscriber","ignoreElements","IgnoreElementsOperator","IgnoreElementsSubscriber","IsEmptyOperator","IsEmptySubscriber","materialize","MaterializeOperator","MaterializeSubscriber","comparer","mergeStatic","mergeMapTo","mergeScan","MergeScanOperator","MergeScanSubscriber","nextSources","OnErrorResumeNextOperator","OnErrorResumeNextSubscriber","subscribeToNextSource","pluck","properties","plucker","currentProp","publishBehavior","publishLast","publishReplay","selectorOrScheduler","raceStatic","repeat","RepeatOperator","RepeatSubscriber","retry","RetryOperator","RetrySubscriber","sample","SampleOperator","sampleSubscriber","SampleSubscriber","sampleTime","SampleTimeOperator","SampleTimeSubscriber","dispatchNotification","sequenceEqual","compareTo","comparator","SequenceEqualOperator","SequenceEqualSubscriber","_oneComplete","SequenceEqualCompareToSubscriber","checkValues","areEqual","nextB","completeB","SingleOperator","SingleSubscriber","applySingleValue","singleValue","skipLast","SkipLastOperator","_skipCount","SkipLastSubscriber","_count","_ring","skipCount","currentIndex","oldValue","skipUntil","SkipUntilOperator","SkipUntilSubscriber","skipWhile","SkipWhileOperator","SkipWhileSubscriber","skipping","tryCallPredicate","SubscribeOnObservable","delayTime","subscribeOn","SubscribeOnOperator","switchAll","defaultThrottleConfig","leading","trailing","throttle","ThrottleOperator","ThrottleSubscriber","_leading","_trailing","_hasValue","_sendValue","_throttled","tryDurationSelector","throttlingDone","throttleTime","ThrottleTimeOperator","ThrottleTimeSubscriber","_hasTrailingValue","_trailingValue","timeInterval","TimeInterval","Timestamp","toArrayReducer","windowBoundaries","WindowOperator","windowSubscriber","WindowSubscriber","sourceSubscription","openWindow","prevWindow","newWindow","windowCount","windowSize","startWindowEvery","WindowCountOperator","WindowCountSubscriber","windows","windowTimeSpan","windowCreationInterval","maxWindowSize","WindowTimeOperator","WindowTimeSubscriber","CountedSubject","_numberOfNextedValues","numberOfNextedValues","dispatchWindowClose","dispatchWindowCreation","dispatchWindowTimeSpanOnly","closeWindow","timeSpanState","windowToggle","WindowToggleOperator","WindowToggleSubscriber","openSubscription","windowWhen","unsubscribeClosingNotification","closingNotification","withLatestFrom","WithLatestFromOperator","WithLatestFromSubscriber","_tryProject","zipStatic","zipAll","coerceBooleanProperty","coerceNumberProperty","fallbackValue","_isNumberValue","coerceArray","coerceElement","elementOrRef","DIR_DOCUMENT","InjectionToken","providedIn","DIR_DOCUMENT_FACTORY","inject","RTL_LOCALE_PATTERN","_resolveDirectionality","rawValue","Directionality","_document","bodyDir","dir","htmlDir","i0","Dir","_dir","_isInitialized","_rawDir","BidiModule","DataSource","ArrayDataSource","UniqueSelectionDispatcher","_listeners","notify","listen","registered","_VIEW_REPEATER_STRATEGY","VIRTUAL_SCROLL_STRATEGY","FixedSizeVirtualScrollStrategy","itemSize","minBufferPx","maxBufferPx","_scrolledIndexChange","scrolledIndexChange","_viewport","_itemSize","_minBufferPx","_maxBufferPx","attach","viewport","_updateTotalContentSize","_updateRenderedRange","detach","updateItemAndBufferSize","onContentScrolled","onDataLengthChanged","onContentRendered","onRenderedOffsetChanged","scrollToIndex","behavior","scrollToOffset","setTotalContentSize","getDataLength","renderedRange","getRenderedRange","newRange","viewportSize","getViewportSize","dataLength","scrollOffset","measureScrollOffset","firstVisibleIndex","maxVisibleItems","newVisibleIndex","startBuffer","expandStart","endBuffer","expandEnd","setRenderedRange","setRenderedContentOffset","CdkFixedSizeVirtualScroll","_scrollStrategy","_fixedSizeVirtualScrollStrategyFactory","fixedSizeDir","ScrollDispatcher","_ngZone","_platform","_scrolled","_globalSubscription","_scrolledCount","scrollContainers","scrollable","elementScrolled","deregister","scrollableReference","scrolled","auditTimeInMs","isBrowser","_addGlobalListener","_removeGlobalListener","ancestorScrolled","elementOrElementRef","ancestors","getAncestorScrollContainers","scrollingContainers","_subscription","_scrollableContainsElement","_getWindow","scrollableElement","getElementRef","i1","CdkScrollable","scrollDispatcher","_destroyed","_elementScrolled","scrollTo","isRtl","getRtlScrollAxisType","_applyScrollToOptions","supportsScrollBehavior","i2","ViewportRuler","_change","_changeListener","_viewportSize","_updateViewportSize","output","getViewportRect","scrollPosition","getViewportScrollPosition","documentRect","VIRTUAL_SCROLLABLE","CdkVirtualScrollable","measureViewportSize","viewportEl","SCROLL_SCHEDULER","CdkVirtualScrollViewport","_orientation","_calculateSpacerSize","appendOnly","_appendOnly","_changeDetectorRef","viewportRuler","Platform","_detachedSubject","_renderedRangeSubject","renderedRangeStream","_totalContentSize","_totalContentWidth","_totalContentHeight","_renderedRange","_dataLength","_renderedContentOffset","_renderedContentOffsetNeedsRewrite","_isChangeDetectionPending","_runAfterChangeDetection","_viewportChanges","checkViewportSize","_measureViewportSize","_markChangeDetectionNeeded","forOf","_forOf","dataStream","newLength","_doChangeDetection","measureBoundingClientRectWithScrollOffset","rangesEqual","r1","r2","getOffsetToRenderedContentStart","isHorizontal","_renderedContentTransform","measureRenderedContentSize","_from","measureViewportOffset","fromRect","scrollerClientRect","contentEl","_contentWrapper","measureRangeSize","runAfter","runAfterChangeDetection","getOffset","virtualScrollable","CdkVirtualForOf","cdkVirtualForOf","_cdkVirtualForOf","isDataSource","_dataSourceChanges","cdkVirtualForTrackBy","_cdkVirtualForTrackBy","_needsUpdate","cdkVirtualForTemplate","_template","cdkVirtualForTemplateCacheSize","_viewRepeater","viewCacheSize","_viewContainerRef","_differs","viewChange","_changeDataSource","_differ","_onRenderedDataChange","renderedStartIndex","rangeLen","firstNode","lastNode","rootNodes","ngDoCheck","diff","_renderedItems","_applyChanges","_updateContext","oldDs","newDs","_updateComputedContextProperties","applyChanges","record","_adjustedPreviousIndex","_getEmbeddedViewArgs","forEachIdentityChange","even","odd","templateRef","useClass","_RecycleViewRepeaterStrategy","_viewCache","itemContextFactory","itemValueResolver","itemViewChanged","forEachOperation","adjustedPreviousIndex","operation","previousIndex","viewArgsFactory","_insertView","_detachAndCacheView","_moveView","cachedView","_insertViewFromCache","viewArgs","createEmbeddedView","detachedView","_maybeCacheView","insert","CdkVirtualScrollableElement","CdkVirtualScrollableWindow","CdkScrollableModule","ScrollingModule","MutationObserverFactory","MutationObserver","ContentObserver","_mutationObserverFactory","_observedElements","_cleanupObserver","_observeElement","_unobserveElement","mutations","characterData","childList","subtree","CdkObserveContent","_debounce","_contentObserver","_elementRef","_currentSubscription","ObserversModule","ID_DELIMITER","getAriaReferenceIds","CDK_DESCRIBEDBY_ID_PREFIX","CDK_DESCRIBEDBY_HOST_ATTRIBUTE","AriaDescriber","_messageRegistry","_messagesContainer","_id","APP_ID","describe","hostElement","_canBeDescribed","getKey","setMessageId","messageElement","referenceCount","_createMessageElement","_isElementDescribedByMessage","_addMessageReference","removeDescription","_isElementNode","_removeMessageReference","registeredMessage","_deleteMessageElement","childNodes","describedElements","_removeCdkDescribedByReferenceIds","_createMessagesContainer","containerClassName","serverContainers","messagesContainer","originalReferenceIds","addAriaReferencedId","existingId","removeAriaReferencedId","filteredIds","referenceIds","trimmedMessage","serviceId","InteractivityChecker","hasAttribute","hasGeometry","isTabbable","frameElement","getFrameElement","getTabIndexValue","tabIndexValue","WEBKIT","IOS","isPotentiallyTabbableIOS","FIREFOX","isPotentiallyFocusable","isHiddenInput","isInputElement","isNativeFormElement","isAnchorWithHref","isAnchorElement","hasValidTabIndex","ignoreVisibility","FocusTrap","_enabled","_startAnchor","_endAnchor","_toggleAnchorTabIndex","_element","_checker","deferAnchors","_hasAttached","startAnchorListener","focusLastTabbableElement","endAnchorListener","focusFirstTabbableElement","attachAnchors","startAnchor","endAnchor","_createAnchor","focusInitialElementWhenReady","_executeOnStable","focusFirstTabbableElementWhenReady","focusLastTabbableElementWhenReady","_getRegionBoundary","bound","markers","_getFirstTabbableElement","_getLastTabbableElement","redirectToElement","focusableChild","hasAttached","tabbableChild","anchor","toggleAnchors","isStable","onStable","FocusTrapFactory","deferCaptureElements","CdkTrapFocus","focusTrap","autoCapture","_autoCapture","_focusTrapFactory","_previouslyFocusedElement","_captureFocus","autoCaptureChange","_getFocusedElementPierceShadowDom","ConfigurableFocusTrap","_focusTrapManager","_inertStrategy","preventFocus","allowFocus","FOCUS_TRAP_INERT_STRATEGY","EventListenerFocusTrapInertStrategy","_listener","_trapFocus","focusTrapRoot","FocusTrapManager","_focusTrapStack","ConfigurableFocusTrapFactory","configObject","isFakeMousedownFromScreenReader","offsetX","offsetY","isFakeTouchstartFromScreenReader","radiusX","radiusY","INPUT_MODALITY_DETECTOR_OPTIONS","INPUT_MODALITY_DETECTOR_DEFAULT_OPTIONS","ignoreKeys","modalityEventListenerOptions","normalizePassiveListenerOptions","InputModalityDetector","mostRecentModality","_modality","_mostRecentTarget","_lastTouchMs","_onKeydown","_options","_getEventTarget","_onMousedown","_onTouchstart","modalityDetected","modalityChanged","LIVE_ANNOUNCER_ELEMENT_TOKEN","LIVE_ANNOUNCER_ELEMENT_TOKEN_FACTORY","LIVE_ANNOUNCER_DEFAULT_OPTIONS","uniqueIds","LiveAnnouncer","elementToken","_defaultOptions","_liveElement","_createLiveElement","announce","defaultOptions","politeness","_previousTimeout","_exposeAnnouncerToModals","_currentPromise","_currentResolve","elementClass","previousElements","getElementsByClassName","liveEl","modals","CdkAriaLive","_politeness","elementText","_previousAnnouncedText","_liveAnnouncer","i1$1","FOCUS_MONITOR_DEFAULT_OPTIONS","captureEventListenerOptions","FocusMonitor","_inputModalityDetector","_origin","_windowFocused","_originFromTouchInteraction","_elementInfo","_monitoredElementCount","_rootNodeFocusListenerCount","_windowFocusListener","_windowFocusTimeoutId","_stopInputModalityDetector","_rootNodeFocusAndBlurListener","_onFocus","_onBlur","_detectionMode","detectionMode","monitor","checkChildren","rootNode","_getShadowRoot","_getDocument","cachedInfo","info","_registerGlobalListeners","stopMonitoring","elementInfo","_setClasses","_removeGlobalListeners","focusVia","_getClosestElementsInfo","_originChanged","_setOrigin","_info","_getFocusOrigin","focusEventTarget","_shouldBeAttributedToTouch","_lastFocusOrigin","_isLastInteractionFromInputLabel","isFromInteraction","_originTimeoutId","_emitOrigin","rootNodeFocusListeners","modality","results","mostRecentTarget","labels","CdkMonitorFocus","_focusMonitor","_focusOrigin","cdkFocusChange","focusOrigin","_monitorSubscription","BLACK_ON_WHITE_CSS_CLASS","WHITE_ON_BLACK_CSS_CLASS","HIGH_CONTRAST_MODE_ACTIVE_CSS_CLASS","HighContrastModeDetector","_breakpointSubscription","BreakpointObserver","_hasCheckedHighContrastMode","_applyBodyHighContrastModeCssClasses","getHighContrastMode","testElement","backgroundColor","documentWindow","computedColor","bodyClasses","A11yModule","highContrastModeDetector","extendStyles","dest","importantProperties","setProperty","toggleNativeDragInteractions","userSelect","toggleVisibility","combineTransforms","initialTransform","parseCssTimeUnitsToMs","parseCssPropertyValue","getPropertyValue","part","getMutableClientRect","clientRect","isInsideClientRect","adjustClientRect","isPointerNearClientRect","pointerX","pointerY","xThreshold","yThreshold","ParentPositionTracker","cachedPosition","newTop","newLeft","viewportScrollPosition","topDifference","leftDifference","deepCloneNode","clone","descendantsWithId","transferCanvasData","transferInputData","transferData","descendantElements","cloneElements","cloneUniqueId","drawImage","passiveEventListenerOptions","activeEventListenerOptions","dragImportantProperties","DragRef","_dropContainer","_toggleNativeDragInteractions","_handles","_config","_viewportRuler","_dragDropRegistry","_passiveTransform","_activeTransform","_hasStartedDragging","_moveEvents","_pointerMoveSubscription","_pointerUpSubscription","_scrollSubscription","_resizeSubscription","_boundaryElement","_nativeInteractionsEnabled","_disabledHandles","_direction","dragStartDelay","beforeStarted","started","released","ended","entered","exited","dropped","moved","_pointerDown","targetHandle","_getTargetHandle","_initializeDragSequence","_rootElement","_pointerMove","pointerPosition","_getPointerPositionOnPage","_pickupPositionOnPage","dragStartThreshold","isDelayElapsed","_dragStartTime","_getDragStartDelay","_endDragSequence","isDragging","isReceiving","_startDragSequence","constrainedPointerPosition","_getConstrainedPointerPosition","_hasMoved","_lastKnownPointerPosition","_updatePointerDirectionDelta","_updateActiveDropContainer","constrainPosition","_initialClientRect","activeTransform","_applyRootElementTransform","_getDragDistance","_pointerDirectionDelta","_pointerUp","_nativeDragStart","withRootElement","withParent","parentDragRef","_parentPositions","registerDragItem","getPlaceholderElement","getRootElement","getVisibleElement","withHandles","disabledHandles","withPreviewTemplate","_previewTemplate","withPlaceholderTemplate","_placeholderTemplate","rootElement","_removeRootElementListeners","_initialTransform","_ownerSVGElement","withBoundaryElement","boundaryElement","_containInsideBoundaryOnResize","_parentDragRef","_anchor","_destroyPreview","_destroyPlaceholder","removeDragItem","_removeSubscriptions","disableHandle","enableHandle","withDirection","_withDropContainer","getFreeDragPosition","setFreeDragPosition","withPreviewContainer","_previewContainer","_sortFromLastPointerPosition","_preview","_previewRef","_placeholderRef","stopDragging","webkitTapHighlightColor","_rootElementTapHighlight","_stopScrolling","_animatePreviewToPlaceholder","_cleanupDragArtifacts","_cleanupCachedDimensions","dropPoint","isTouchEvent","_lastTouchEventTime","dropContainer","_createPlaceholderElement","createComment","shadowRoot","_createPreviewElement","replaceChild","_getPreviewInsertionPoint","_initialContainer","_initialIndex","getItemIndex","referenceElement","isTouchSequence","isAuxiliaryMouseButton","isSyntheticEvent","isFakeEvent","rootStyles","scrollEvent","_updateOnScroll","_boundaryRect","previewTemplate","_pickupPositionInElement","matchSize","_getPointerPositionInElement","_pointerPositionAtLastDirectionChange","startDragging","_previewRect","isPointerOverContainer","_isOverContainer","previousContainer","rawX","rawY","newContainer","_getSiblingContainerFromPosition","exit","sortingDisabled","_startScrollingIfNecessary","_sortItem","_applyPreviewTransform","previewConfig","previewClass","preview","rootRect","viewRef","getRootNode","matchElementSize","getTransform","placeholderRect","getTransformTransitionDurationInMs","transitionedProperties","prop","propertyIndex","rawDurations","rawDelays","propertyName","placeholderConfig","placeholderTemplate","handleElement","point","targetTouches","_getViewportScrollPosition","svgMatrix","getScreenCTM","svgPoint","createSVGPoint","matrixTransform","inverse","dropContainerLock","pickupX","pickupY","boundaryRect","previewWidth","previewHeight","_getPreviewRect","minY","maxY","clamp$1","pointerPositionOnPage","positionSinceLastChange","changeX","changeY","pointerDirectionChangeThreshold","shouldEnable","currentPosition","pickupPosition","leftOverflow","rightOverflow","topOverflow","bottomOverflow","mouse","scrollDifference","_cachedShadowRoot","initialParent","previewContainer","fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement","sourceRect","moveItemInArray","toIndex","clamp","SingleAxisSortStrategy","_itemPositions","_previousSwap","overlaps","withItems","pointerDelta","siblings","newIndex","_getItemIndexFromPointerPosition","currentItem","siblingAtNewPosition","newPosition","itemOffset","_getItemOffsetPx","siblingOffset","_getSiblingOffsetPx","oldOrder","sibling","isDraggedItem","elementToOffset","activeDraggables","_activeDraggables","newPositionReference","_shouldEnterAsFirstChild","_cacheItemPositions","withSortPredicate","_sortPredicate","getActiveItemsSnapshot","updateOnScroll","elementToMeasure","immediateSibling","itemPositions","lastItemRect","firstItemRect","SCROLL_PROXIMITY_THRESHOLD","DropListRef","autoScrollDisabled","autoScrollStep","enterPredicate","sortPredicate","receivingStarted","receivingStopped","_isDragging","_draggables","_siblings","_activeSiblings","_viewportScrollSubscription","_verticalScrollDirection","_horizontalScrollDirection","_stopScrollTimers","_startScrollInterval","_scrollNode","scrollStep","withScrollableParents","registerDropContainer","_sortStrategy","removeDropContainer","_draggingStarted","_notifyReceivingSiblings","_cacheParentPositions","_reset","previousItems","connectedTo","withOrientation","_scrollableElements","_clientRect","scrollNode","verticalScrollDirection","horizontalScrollDirection","getElementScrollDirections","computedVertical","getVerticalScrollDirection","computedHorizontal","getHorizontalScrollDirection","_initialScrollSnap","msScrollSnapType","scrollSnapType","_listenToScrollEvents","_stopReceiving","_canReceive","elementFromPoint","_startReceiving","activeSiblings","initiator","draggedItems","activeCapturingEventOptions","DragDropRegistry","_dropInstances","_dragInstances","_activeDragInstances","_globalListeners","_draggingPredicate","_preventDefaultWhileDragging","_persistentTouchmoveListener","_clearGlobalListeners","streams","eventOptions","DEFAULT_CONFIG","DragDrop","createDrag","createDropList","CDK_DRAG_PARENT","CDK_DROP_LIST_GROUP","CdkDropListGroup","CDK_DRAG_CONFIG","_uniqueIdCounter","CDK_DROP_LIST","CdkDropList","_dropListRef","dragDrop","_scrollDispatcher","_unsortedItems","_assignDefaults","_setupInputSyncSubscription","_handleEvents","_dropLists","addItem","_syncItemsWithRef","removeItem","getSortedItems","_dragRef","compareDocumentPosition","DOCUMENT_POSITION_FOLLOWING","correspondingDropList","_scrollableParentsResolved","dropEvent","draggingDisabled","listAutoScrollDisabled","listOrientation","i3","CDK_DRAG_HANDLE","CdkDragHandle","_stateChanges","parentDrag","_parentDrag","CDK_DRAG_PLACEHOLDER","CdkDragPlaceholder","CDK_DRAG_PREVIEW","CdkDragPreview","_matchSize","CdkDrag","_selfHandle","movedEvent","_syncInputs","_updateRootElement","_setupHandlesListener","freeDragPosition","rootSelectorChange","rootElementSelector","positionChange","_getBoundaryElement","boundary","startEvent","releaseEvent","endEvent","enterEvent","exitEvent","childHandleElements","handleInstance","dragRef","DragDropModule","LayoutModule","mediaQueriesForWebkitCompatibility","mediaQueryStyleNode","MediaMatcher","_matchMedia","matchMedia","noopMatchMedia","BLINK","createEmptyStyleRule","head","sheet","media","_mediaMatcher","_zone","_queries","_destroySubject","isMatched","splitQueries","mediaQuery","_registerQuery","mql","stateObservable","breakpointStates","breakpoints","queries","Breakpoints","XSmall","Small","Medium","Large","XLarge","Handset","Tablet","Web","HandsetPortrait","TabletPortrait","WebPortrait","HandsetLandscape","TabletLandscape","WebLandscape","hasV8BreakIterator","Intl","v8BreakIterator","_platformId","isPlatformBrowser","EDGE","TRIDENT","chrome","CSS","ANDROID","SAFARI","PLATFORM_ID","PlatformModule","supportsPassiveEvents","rtlScrollAxisType","scrollBehaviorSupported","shadowDomIsSupported","supportsPassiveEventListeners","scrollToFunction","scrollContainer","containerStyle","contentStyle","_supportsShadowDom","createShadowRoot","attachShadow","ShadowRoot","newActiveElement","_DOM","getDOM","setRootDomAdapter","adapter","DomAdapter","PlatformLocation","historyGo","relativePosition","useBrowserPlatformLocation","ɵɵinject","BrowserPlatformLocation","LOCATION_INITIALIZED","_location","_history","history","getBaseHrefFromDOM","getBaseHref","onPopState","getGlobalEventTarget","onHashChange","protocol","hostname","port","pathname","hash","newPath","pushState","supportsState","replaceState","forward","getState","joinWithSlash","slashes","endsWith","stripTrailingSlash","pathEndIdx","droppedSlashIdx","normalizeQueryParams","createBrowserPlatformLocation","LocationStrategy","PathLocationStrategy","APP_BASE_HREF","_platformLocation","_removeListenerFns","_baseHref","prepareExternalUrl","internal","includeHash","queryParams","externalUrl","HashLocationStrategy","Location","locationStrategy","_urlChangeListeners","_urlChangeSubscription","_locationStrategy","baseHref","_basePath","_stripOrigin","_stripIndexHtml","normalize","isCurrentPathEqualTo","_stripBasePath","basePath","strippedUrl","_notifyUrlChangeListeners","onUrlChange","fnIndex","onNext","onThrow","onReturn","createLocation","CURRENCIES_EN","ADP","AFN","ALL","AMD","AOA","ARS","AUD","AZN","BAM","BBD","BDT","BHD","BIF","BMD","BND","BOB","BRL","BSD","BWP","BYN","BYR","BZD","CAD","CHF","CLF","CLP","CNY","COP","CRC","CUC","CUP","CZK","DJF","DKK","DOP","EGP","ESP","EUR","FJD","FKP","GBP","GEL","GHS","GIP","GNF","GTQ","GYD","HKD","HNL","HRK","HUF","IDR","ILS","INR","IQD","IRR","ISK","ITL","JMD","JOD","JPY","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LTL","LUF","LVL","LYD","MGA","MGF","MMK","MNT","MRO","MUR","MXN","MYR","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PHP","PKR","PLN","PYG","RON","RSD","RUB","RWF","SBD","SEK","SGD","SHP","SLE","SLL","SOS","SRD","SSP","STD","STN","SYP","THB","TMM","TND","TRL","TRY","TTD","TWD","TZS","UAH","UGX","USD","UYI","UYU","UYW","UZS","VEF","VND","VUV","XAF","XCD","XOF","XPF","XXX","YER","ZAR","ZMK","ZMW","ZWD","NumberFormatStyle","Plural","FormStyle","TranslationWidth","FormatWidth","NumberSymbol","WeekDay","getLocaleDateFormat","getLastDefinedValue","ɵfindLocaleData","ɵLocaleDataIndex","getLocaleTimeFormat","getLocaleDateTimeFormat","dateTimeFormatData","getLocaleNumberSymbol","symbol","res","CurrencyDecimal","Decimal","CurrencyGroup","Group","getLocaleNumberFormat","Percent","Currency","Scientific","Zero","One","Two","Few","Many","Other","Format","Standalone","Narrow","Abbreviated","Wide","Short","Long","Full","PercentSign","PlusSign","MinusSign","Exponential","SuperscriptingExponent","PerMille","Infinity","TimeSeparator","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","getLocalePluralCase","ɵgetLocalePluralCase","checkFullData","extractTime","getCurrencySymbol","code","currency","getLocaleCurrencies","symbolNarrow","DEFAULT_NB_OF_CURRENCY_DIGITS","ISO8601_DATE_REGEX","NAMED_FORMATS","DATE_FORMATS_SPLIT","ZoneWidth","DateType","TranslationType","timezone","toDate","createDate","parsedNb","isoStringToDate","tzHour","tzMin","dateSetter","setUTCFullYear","timeSetter","setUTCHours","getNamedFormat","parts","dateTimezoneOffset","timezoneToOffset","convertTimezoneToLocal","reverseValue","timezoneOffset","addDateMinutes","dateFormatter","getDateFormatter","DATE_FORMATS","formatter","dateStrGetter","Eras","dateGetter","FullYear","weekNumberingYearGetter","Month","Months","weekGetter","Day","Days","DayPeriods","Hours","Minutes","Seconds","FractionalSeconds","timeZoneGetter","Extended","ShortGMT","newDate","localeId","getLocaleId","formatValue","shortTime","shortDate","formatDateTime","mediumTime","mediumDate","longTime","longDate","fullTime","fullDate","opt_values","padNumber","digits","minusSign","negWrap","neg","strNum","getDatePart","getMilliseconds","formatFractionalSeconds","milliseconds","localeMinus","form","extended","getDateTranslation","getLocaleMonthNames","formStyle","getLocaleDayNames","currentHours","currentMinutes","rules","getLocaleExtraDayPeriodRules","dayPeriods","getLocaleExtraDayPeriods","afterFrom","beforeTo","getLocaleDayPeriods","amPm","getLocaleEraNames","erasData","zone","getThursdayThisWeek","datetime","monthBased","nbDaysBefore1stDayOfMonth","today","thisThurs","firstThurs","getFirstThursdayOfYear","firstDayOfYear","fallback","requestedTimezoneOffset","NUMBER_FORMAT_REGEXP","MAX_DIGITS","DECIMAL_SEP","ZERO_CHAR","PATTERN_SEP","GROUP_SEP","DIGIT_CHAR","CURRENCY_CHAR","PERCENT_CHAR","formatNumberToLocaleString","groupSymbol","decimalSymbol","digitsInfo","isPercent","formattedText","isZero","isFinite","parsedNumber","parseNumber","integerLen","zeros","numStr","exponent","toPercent","fractionLen","minInt","minFraction","minFrac","maxFraction","maxFrac","minIntPart","minFractionPart","maxFractionPart","parseIntAutoRadix","roundNumber","fractionSize","roundAt","digit","dropTrailingZeros","carry","reduceRight","decimals","lgSize","gSize","negPre","negSuf","posPre","posSuf","formatCurrency","currencyCode","parseNumberFormat","getNumberOfCurrencyDigits","patternParts","positive","negative","positiveParts","lastIndexOf","integer","ch","trunkLen","NgLocalization","getPluralCategory","cases","ngLocalization","LOCALE_ID","NgLocaleLocalization","parseCookieValue","cookieStr","encodeURIComponent","cookie","eqIndex","cookieName","cookieValue","WS_REGEXP","EMPTY_ARRAY","NgClass","_iterableDiffers","_keyValueDiffers","_ngEl","_renderer","initialClasses","stateMap","klass","ngClass","rawClass","_updateState","_applyStateDiff","nextEnabled","touched","stateEntry","_toggleClass","NgComponentOutlet","ngComponentOutlet","ngComponentOutletNgModule","ngModule","ngComponentOutletNgModuleFactory","ngModuleFactory","_componentRef","ngComponentOutletInjector","parentInjector","_moduleRef","createNgModule","getParentInjector","ngModuleRef","projectableNodes","ngComponentOutletContent","NgModuleRef","NgForOfContext","ngForOf","NgForOf","_ngForOf","_ngForOfDirty","ngForTrackBy","_trackByFn","_viewContainer","ngForTemplate","applyViewChange","ilen","NgIf","NgIfContext","_thenTemplateRef","_elseTemplateRef","_thenViewRef","_elseViewRef","_updateView","ngIfThen","assertTemplate","ngIfElse","ɵstringify","SwitchView","_templateRef","_created","enforceState","created","NgSwitch","_defaultViews","_defaultUsed","_caseCount","_lastCaseCheckIndex","_lastCasesMatched","ngSwitch","_ngSwitch","_updateDefaultCases","_addCase","_addDefault","_matchCase","useDefault","NgSwitchCase","_view","ngSwitchCase","NgSwitchDefault","NgPlural","_localization","_caseViews","ngPlural","addCase","switchView","switchValue","_clearViews","_activateView","_activeView","NgPluralCase","isANumber","NgStyle","_ngStyle","ngStyle","_setStyle","nameAndUnit","unit","flags","RendererStyleFlags2","setStyle","removeStyle","forEachRemovedItem","forEachAddedItem","forEachChangedItem","NgTemplateOutlet","_viewRef","ngTemplateOutletContext","ngTemplateOutlet","ngTemplateOutletInjector","invalidPipeArgumentError","ɵRuntimeError","ngDevMode","_promiseStrategy","PromiseStrategy","createSubscription","updateLatestValue","_subscribableStrategy","SubscribableStrategy","AsyncPipe","_latestValue","_obj","_strategy","_dispose","_selectStrategy","_updateLatestValue","ɵisPromise","ɵisSubscribable","LowerCasePipe","unicodeWordMatch","TitleCasePipe","txt","UpperCasePipe","DATE_PIPE_DEFAULT_TIMEZONE","DATE_PIPE_DEFAULT_OPTIONS","DatePipe","defaultTimezone","_format","_timezone","_INTERPOLATION_REGEXP","I18nPluralPipe","pluralMap","I18nSelectPipe","other","JsonPipe","KeyValuePipe","differs","keyValues","compareFn","defaultComparator","differ","differChanges","compareFnChanged","forEachItem","makeKeyValuePair","keyValueA","keyValueB","aString","bString","DecimalPipe","_locale","isValue","formatNumber","strToNumber","PercentPipe","formatPercent","CurrencyPipe","_defaultCurrencyCode","DEFAULT_CURRENCY_CODE","SlicePipe","supports","PLATFORM_BROWSER_ID","PLATFORM_SERVER_ID","platformId","Version","ViewportScroller","ɵɵdefineInjectable","BrowserViewportScroller","setOffset","getScrollPosition","supportsScrolling","scrollToPosition","scrollToAnchor","elSelected","findAnchorFromDocument","documentResult","getElementsByName","createTreeWalker","treeWalker","NodeFilter","SHOW_ELEMENT","nextNode","scrollToElement","setHistoryScrollRestoration","scrollRestoration","supportScrollRestoration","scrollRestorationDescriptor","getScrollRestorationProperty","XhrFactory","getUrl","src","isAbsoluteUrl","URL","extractHostname","normalizeSrc","noopImageLoader","IMAGE_LOADER","createImageLoader","buildUrlFn","exampleUrls","isValidPath","throwInvalidPathError","normalizePath","throwUnexpectedAbsoluteUrlError","createCloudflareUrl","createCloudinaryUrl","createImagekitUrl","urlSegments","createImgixUrl","searchParams","imgDirectiveDetails","ngSrc","includeNgSrc","assertDevMode","checkName","LCPImageObserver","images","alreadyWarned","PerformanceObserver","initPerformanceObserver","entryList","getEntries","imgSrc","logMissingPriorityWarning","directiveDetails","ɵformatRuntimeError","buffered","registerImage","rewrittenSrc","originalNgSrc","unregisterImage","INTERNAL_PRECONNECT_CHECK_BLOCKLIST","PRECONNECT_CHECK_BLOCKLIST","PreconnectLinkChecker","preconnectLinks","alreadySeen","blocklist","optional","populateBlocklist","origins","deepForEach","assertPreconnect","imgUrl","queryPreconnectLinks","preconnectUrls","link","PRELOADED_IMAGES","PreloadLinkCreator","preloadedImages","createPreloadLinkTag","srcset","sizes","preload","VALID_WIDTH_DESCRIPTOR_SRCSET","DENSITY_SRCSET_MULTIPLIERS","IMAGE_CONFIG","NgOptimizedImage","imageLoader","processConfig","sortedBreakpoints","imgElement","isServer","isPlatformServer","preloadLinkChecker","lcpObserver","_renderedSrc","_priority","_disableOptimizedSrcset","_fill","_width","inputToInteger","_height","priority","inputToBoolean","disableOptimizedSrcset","setHostAttributes","setHostAttribute","getLoadingBehavior","getFetchPriority","getRewrittenSrc","rewrittenSrcset","ngSrcset","getRewrittenSrcset","shouldGenerateAutomaticSrcset","getAutomaticSrcset","callImageLoader","configWithoutCustomParams","augmentedConfig","loaderParams","loading","imgConfig","widthSrcSet","srcStr","getResponsiveSrcset","getFixedSrcset","filteredBreakpoints","bp","HttpHandler","HttpBackend","HttpHeaders","normalizedNames","lazyUpdate","lazyInit","line","maybeSetNormalizedName","headerValues","getAll","append","lcName","update","applyUpdate","toDelete","existing","HttpUrlEncodingCodec","encodeKey","standardEncoding","encodeValue","decodeKey","decodeValue","STANDARD_ENCODING_REGEX","STANDARD_ENCODING_REPLACEMENTS","valueToString","HttpParams","updates","cloneFrom","encoder","fromString","fromObject","paramParser","rawParams","codec","param","eqIdx","appendAll","eKey","HttpContext","isArrayBuffer","isBlob","Blob","isFormData","FormData","HttpRequest","method","third","fourth","reportProgress","withCredentials","responseType","mightHaveBody","urlWithParams","qIdx","sep","serializeBody","isUrlSearchParams","URLSearchParams","detectContentTypeHeader","setHeaders","setParams","HttpEventType","Sent","UploadProgress","ResponseHeader","DownloadProgress","Response","User","HttpResponseBase","defaultStatus","defaultStatusText","statusText","ok","HttpHeaderResponse","HttpResponse","HttpErrorResponse","addBody","HttpClient","req","events$","res$","jsonp","callbackParam","patch","post","put","interceptorChainEndFn","finalHandlerFn","adaptLegacyInterceptorToChain","chainTailFn","interceptor","initialRequest","intercept","downstreamRequest","HTTP_INTERCEPTORS","HTTP_INTERCEPTOR_FNS","legacyInterceptorFnFactory","chain","HttpInterceptorHandler","backend","dedupedInterceptorFns","nextSequencedFn","interceptorFn","chainedInterceptorFn","runInContext","foreignDocument","nextRequestId","JsonpCallbackContext","jsonpCallbackContext","JsonpClientBackend","callbackMap","resolvedPromise","nextCallback","finished","cleanup","removeListeners","script","implementation","createHTMLDocument","adoptNode","jsonpInterceptorFn","JsonpInterceptor","XSSI_PREFIX","HttpXhrBackend","xhrFactory","xhr","detectedType","reqBody","headerResponse","partialFromXhr","getAllResponseHeaders","getResponseUrl","responseURL","getResponseHeader","onLoad","originalBody","onError","sentHeaders","onDownProgress","progressEvent","loaded","lengthComputable","partialText","onUpProgress","progress","upload","DONE","XSRF_ENABLED","XSRF_DEFAULT_COOKIE_NAME","XSRF_COOKIE_NAME","XSRF_DEFAULT_HEADER_NAME","XSRF_HEADER_NAME","HttpXsrfTokenExtractor","HttpXsrfCookieExtractor","lastCookieString","lastToken","parseCount","getToken","cookieString","ɵparseCookieValue","xsrfInterceptorFn","lcUrl","headerName","HttpXsrfInterceptor","HttpFeatureKind","makeHttpFeature","ɵkind","ɵproviders","Interceptors","LegacyInterceptors","CustomXsrfConfiguration","NoXsrfProtection","JsonpSupport","RequestsMadeViaParent","LEGACY_INTERCEPTOR_FN","withXsrfConfiguration","HttpClientXsrfModule","HttpClientModule","provideHttpClient","feature","makeEnvironmentProviders","withInterceptorsFromDi","HttpClientJsonpModule","withJsonpSupport","getClosureSafeProperty","objWithPropertyToExtract","fillProperties","overriddenName","newLineIndex","concatStringsWithSpace","after","__forward_ref__","forwardRefFn","resolveForwardRef","isForwardRef","isEnvironmentProviders","XSS_SECURITY_URL","RuntimeError","formatRuntimeError","renderStringify","stringifyForError","throwProviderNotFoundError","injectorName","assertEqual","actual","expected","assertDefined","comparison","ɵɵdefineInjector","getInjectableDef","getOwnDefinition","NG_PROV_DEF","NG_INJECTABLE_DEF","isInjectable","field","getInjectorDef","NG_INJ_DEF","NG_INJECTOR_DEF","ngInjectableDef","ngInjectorDef","InjectFlags","_injectImplementation","setInjectImplementation","impl","injectRootLimpMode","notFoundValue","injectableDef","Default","Host","Self","_global","WorkerGlobalScope","THROW_IF_NOT_FOUND","DI_DECORATOR_FLAG","NG_TEMP_TOKEN_PATH","NG_TOKEN_PATH","NEW_LINE","NO_NEW_LINE","SOURCE","_currentInjector","setCurrentInjector","former","injectInjectorOnly","getInjectImplementation","ɵɵinvalidFactoryDep","convertToBitFlags","skipSelf","injectArgs","flag","getInjectFlag","attachInjectFlag","decorator","catchInjectorError","injectorErrorName","tokenPath","formatError","noSideEffects","ChangeDetectionStrategy","ViewEncapsulation$1","OnPush","ViewEncapsulation","Emulated","None","ShadowDom","EMPTY_OBJ","NG_COMP_DEF","NG_DIR_DEF","NG_PIPE_DEF","NG_MOD_DEF","NG_FACTORY_DEF","NG_ELEMENT_ID","__NG_ELEMENT_ID__","componentDefCount","ɵɵdefineComponent","componentDefinition","baseDef","getNgDirectiveDef","def","onPush","directiveDefs","pipeDefs","standalone","getStandaloneInjector","schemas","tView","initFeatures","extractDefListOrFactory","ɵɵsetComponentScope","directives","pipes","extractDirectiveDef","getComponentDef","getDirectiveDef","nonNull","ɵɵdefineNgModule","bootstrap","declarations","transitiveCompileScopes","ɵɵsetNgModuleScope","ngModuleDef","getNgModuleDef","invertObject","newLookup","minifiedKey","publicName","declaredName","ɵɵdefineDirective","directiveDefinition","ɵɵdefinePipe","pipeDef","getPipeDef$1","isStandalone","throwNotFound","declaredInputs","providersResolver","hostAttrs","setInput","findHostDirectiveDefs","hostDirectives","definition","defExtractor","dep","HOST","TVIEW","FLAGS","PARENT","TRANSPLANTED_VIEWS_TO_REFRESH","T_HOST","CLEANUP","CONTEXT","INJECTOR$1","RENDERER_FACTORY","RENDERER","SANITIZER","CHILD_HEAD","CHILD_TAIL","DECLARATION_VIEW","DECLARATION_COMPONENT_VIEW","DECLARATION_LCONTAINER","PREORDER_HOOK_FLAGS","QUERIES","ID","EMBEDDED_VIEW_INJECTOR","HEADER_OFFSET","TYPE","HAS_TRANSPLANTED_VIEWS","NATIVE","VIEW_REFS","MOVED_VIEWS","CONTAINER_HEADER_OFFSET","isLView","isLContainer","isContentQueryHost","tNode","isComponentHost","componentOffset","isDirectiveHost","isComponentDef","isRootView","getFactoryDef","SimpleChange","isFirstChange","ɵɵNgOnChangesFeature","NgOnChangesFeatureImpl","ngOnChangesSetInput","rememberChangeHistoryAndInvokeOnChangesHook","simpleChangesStore","getSimpleChangesStore","privateName","setSimpleChangesStore","store","SIMPLE_CHANGES_STORE","previousChange","ngInherit","profilerCallback","profiler","hookOrListener","SVG_NAMESPACE","MATH_ML_NAMESPACE","unwrapRNode","getNativeByIndex","lView","getNativeByTNode","getTNode","load","getComponentLViewByIndex","nodeIndex","slotValue","viewAttachedToChangeDetector","getConstant","resetPreOrderHookFlags","updateTransplantedViewCount","lContainer","viewOrContainer","instructionState","lFrame","createLFrame","bindingsEnabled","getBindingsEnabled","ɵɵenableBindings","ɵɵdisableBindings","getLView","getTView","ɵɵrestoreView","viewToRestore","contextLView","ɵɵresetView","getCurrentTNode","currentTNode","getCurrentTNodePlaceholderOk","getCurrentParentTNode","isParent","setCurrentTNode","isCurrentTNodeParent","setCurrentTNodeAsNotParent","getBindingRoot","bindingRootIndex","bindingStartIndex","getBindingIndex","bindingIndex","setBindingIndex","nextBindingIndex","incrementBindingIndex","setInI18nBlock","isInI18nBlock","inI18n","setBindingRootForHostBindings","currentDirectiveIndex","setCurrentDirectiveIndex","getCurrentDirectiveDef","tData","getCurrentQueryIndex","currentQueryIndex","setCurrentQueryIndex","getDeclarationTNode","declTNode","enterDI","parentTNode","parentLView","allocLFrame","enterView","newView","newLFrame","currentLFrame","childLFrame","elementDepthCount","currentNamespace","leaveViewLight","oldLFrame","leaveDI","leaveView","nextContextImpl","level","walkUpViews","nestingLevel","currentView","getSelectedIndex","setSelectedIndex","getSelectedTNode","ɵɵnamespaceSVG","ɵɵnamespaceMathML","ɵɵnamespaceHTML","namespaceHTMLInternal","registerPostOrderHooks","directiveStart","directiveEnd","lifecycleHooks","ngAfterContentChecked","contentHooks","contentCheckHooks","viewHooks","viewCheckHooks","destroyHooks","executeCheckHooks","callHooks","executeInitAndCheckHooks","initPhase","incrementInitPhaseFlags","currentNodeIndex","nodeIndexLimit","lastNodeIndexFound","callHook","isInitHook","directive","NO_PARENT_INJECTOR","NodeInjectorFactory","isViewProvider","injectImplementation","resolving","canSeeViewProviders","injectImpl","setUpAttributes","native","namespaceURI","attrName","attrVal","isAnimationProp","isNameOnlyAttributeMarker","marker","mergeHostAttrs","dst","srcMarker","mergeHostAttribute","key1","key2","markerInsertPosition","dstValue","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","mask","notFoundValueOrThrow","lookupTokenUsingModuleInjector","moduleInjector","previousInjectImplementation","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","isFactory","throwCyclicDependencyError","depPath","previousIncludeViewProviders","registerPreOrderHooks","directiveIndex","directiveDef","wrappedOnChanges","preOrderHooks","preOrderCheckHooks","injectorView","isFirstHostTNode","NodeInjector","_tNode","_lView","ɵɵgetInheritedFactory","ownConstructor","ownFactory","getFactoryOf","objectPrototype","tViewType","ɵɵinjectAttribute","attrNameToInject","injectAttributeImpl","attrsLength","ANNOTATIONS","PARAMETERS","PROP_METADATA","makeDecorator","parentClass","additionalProcessing","typeFn","metaCtor","makeMetadataCtor","DecoratorFactory","annotationInstance","cls","ngMetadataName","annotationCls","propName","makeParamDecorator","ParamDecoratorFactory","ParamDecorator","annotation","unusedKey","makePropDecorator","PropDecoratorFactory","decoratorInstance","PropDecorator","Attribute","attributeName","_desc","Query","isViewQuery","emitDistinctChangesOnly","FactoryTarget","R3TemplateDependencyKind","getCompilerFacade","globalNg","ng","ɵcompilerFacade","Directive","Component","Injectable","Pipe","NgModule","Type","isType","flat","addToArray","removeFromArray","newArray","keyValueArraySet","keyValueArray","keyValueArrayIndexOf","arrayInsert2","value1","value2","previousEnd","keyValueArrayGet","_arrayIndexOfSorted","middle","ES5_DELEGATE_CTOR","ES2015_INHERITED_CLASS","ES2015_INHERITED_CLASS_WITH_CTOR","ES2015_INHERITED_CLASS_WITH_DELEGATE_CTOR","ReflectionCapabilities","reflect","_reflect","_zipTypesAndAnnotations","paramTypes","paramAnnotations","_ownParameters","parentCtor","isDelegateCtor","typeStr","tsickleCtorParams","ctorParam","convertTsickleDecoratorIntoMetadata","getOwnMetadata","getParentCtor","_ownAnnotations","typeOrFunc","annotations","ownAnnotations","_ownPropMetadata","propMetadata","parentPropMetadata","ownPropMetadata","hasLifecycleHook","lcProperty","decoratorInvocations","decoratorInvocation","ctor","parentProto","getReflect","reflectDependencies","convertDependencies","reflectDependency","proto","componentResourceResolutionQueue","componentDefPendingResolution","componentNeedsResolution","templateUrl","styleUrls","checkForDuplicateNgModules","registerNgModuleType","ngModuleType","assertSameOrNotExisting","Important","DashCase","COMMENT_DISALLOWED","COMMENT_DELIMITER","COMMENT_DELIMITER_ESCAPED","escapeCommentText","TRACKED_LVIEWS","uniqueIdCounter","MONKEY_PATCH_KEY_NAME","attachPatchData","registerLView","_icuContainerIterate","icuContainerIterate","tIcuContainerNode","getLViewParent","getFirstLContainer","getNearestLContainer","getNextLContainer","applyToElementOrContainer","lNodeToHandle","beforeNode","isComponent","rNode","nativeAppendChild","nativeInsertBefore","nativeRemoveNode","destroyNode","applyContainer","parentRElement","applyView","createText","updateTextNode","setValue","createCommentNode","createElementNode","namespace","insertView","indexInContainer","containerLength","declarationLContainer","trackMovedView","declarationContainer","movedViews","insertedComponentLView","lQueries","detachMovedView","declarationViewIndex","insertionLContainer","removeIndex","viewToDetach","removedLView","removeViewFromContainer","destroyLView","destroyViewTree","rootView","lViewOrLContainer","cleanUpView","firstView","executeOnDestroys","toCall","callContext","processCleanups","tCleanup","lCleanup","lastLCleanupIndex","targetIdx","instanceCleanupFn","unregisterLView","getParentRElement","getClosestRElement","isMove","nativeAppendOrInsertBefore","nativeParentNode","getInsertInFrontOfRNode","_getInsertInFrontOfRNodeWithI18n","getInsertInFrontOfRNodeWithNoI18n","_processI18nInsertBefore","policy$1","policy","setI18nHandling","getInsertInFrontOfRNodeWithI18n","processI18nInsertBefore","childRNode","childTNode","parentRNode","anchorNode","getFirstNativeNode","tNodeType","getBeforeNodeForView","elIcuContainerChild","rNodeOrLContainer","projectionNodes","getProjectionNodes","componentHost","slotIdx","projection","viewIndexInContainer","nextViewIndex","firstTNodeOfView","isHostElement","nativeParent","nativeRemoveChild","applyNodes","isProjection","rawSlotValue","nextRNode","applyProjectionRecursive","projectionNext","tProjectionNode","componentLView","nodeToProjectOrRNodes","writeDirectClass","setupStaticAttributes","mergedAttrs","writeDirectStyle","getPolicy$1","trustedTypes","createPolicy","createHTML","createScript","createScriptURL","trustedHTMLFromString","html","ɵɵvalidateIframeAttribute","attrValue","srcdoc","setDocument","getDocument","getPolicy","trustedHTMLFromStringBypass","trustedScriptFromStringBypass","trustedScriptURLFromStringBypass","SafeValueImpl","changingThisBreaksApplicationSecurity","SafeHtmlImpl","getTypeName","SafeStyleImpl","SafeScriptImpl","SafeUrlImpl","SafeResourceUrlImpl","unwrapSafeValue","allowSanitizationBypassAndThrow","actualType","getSanitizationBypassType","bypassSanitizationTrustHtml","trustedHtml","bypassSanitizationTrustStyle","trustedStyle","bypassSanitizationTrustScript","trustedScript","bypassSanitizationTrustUrl","trustedUrl","bypassSanitizationTrustResourceUrl","trustedResourceUrl","getInertBodyHelper","defaultDoc","inertDocumentHelper","InertDocumentHelper","isDOMParserAvailable","DOMParserHelper","getInertBodyElement","inertDocument","templateEl","SAFE_URL_PATTERN","_sanitizeUrl","tagSet","tags","sets","VOID_ELEMENTS","OPTIONAL_END_TAG_BLOCK_ELEMENTS","OPTIONAL_END_TAG_INLINE_ELEMENTS","OPTIONAL_END_TAG_ELEMENTS","BLOCK_ELEMENTS","INLINE_ELEMENTS","VALID_ELEMENTS","URI_ATTRS","HTML_ATTRS","ARIA_ATTRS","VALID_ATTRS","SKIP_TRAVERSING_CONTENT_IF_INVALID_ELEMENTS","SanitizingHtmlSerializer","sanitizedSomething","sanitizeChildren","traverseContent","startElement","TEXT_NODE","chars","nodeValue","endElement","checkClobberedElement","elAttrs","elAttr","lower","encodeEntities","DOCUMENT_POSITION_CONTAINED_BY","outerHTML","SURROGATE_PAIR_REGEXP","NON_ALPHANUMERIC_REGEXP","inertBodyHelper","_sanitizeHtml","unsafeHtmlInput","inertBodyElement","unsafeHtml","mXSSAttempts","parsedHtml","getTemplateContent","isTemplateElement","SecurityContext","ɵɵsanitizeHtml","sanitizer","getSanitizer","sanitize","HTML","ɵɵsanitizeStyle","unsafeStyle","STYLE","ɵɵsanitizeUrl","unsafeUrl","ɵɵsanitizeResourceUrl","unsafeResourceUrl","RESOURCE_URL","ɵɵsanitizeScript","unsafeScript","SCRIPT","ɵɵtrustConstantHtml","ɵɵtrustConstantResourceUrl","trustedScriptURLFromString","ɵɵsanitizeUrlOrResourceUrl","getUrlSanitizer","ENVIRONMENT_INITIALIZER","INJECTOR","INJECTOR_DEF_TYPES","NullInjector","importProvidersFrom","internalImportProvidersFrom","ɵfromNgModule","checkForStandaloneCmp","providersOut","dedup","injectorTypesWithProviders","internalSource","walkProviderTree","processInjectorTypesWithProviders","typesWithProviders","deepForEachProvider","provider","parents","defType","injDef","cmpDef","isDuplicate","importTypesWithProviders","imported","defProviders","USE_VALUE$1","isValueProvider","isExistingProvider","isFactoryProvider","isTypeProvider","INJECTOR_SCOPE","NOT_YET","CIRCULAR","NULL_INJECTOR$1","getNullInjector","EnvironmentInjector","R3Injector","scopes","records","_ngOnDestroyHooks","_onDestroyHooks","forEachSingleProvider","processProvider","makeRecord","injectorDefTypes","assertNotDestroyed","service","previousInjector","couldBeInjectableType","injectableDefInScope","injectableDefOrInjectorDefFactory","hydrate","nextInjector","resolveInjectorInitializers","initializers","initializer","tokens","providerToRecord","providerToFactory","multiRecord","hasOnDestroy","getUndecoratedInjectableFactory","paramLength","inheritedInjectableDef","getInheritedInjectableDef","unwrappedProvider","classRef","hasDeps","ComponentRef$1","ComponentFactory$1","ERROR_COMPONENT","_NullComponentFactoryResolver","noComponentFactoryError","ComponentFactoryResolver$1","createElementRef","unwrapElementRef","injectElementRef","RendererFactory2","injectRenderer2","nodeAtIndex","Sanitizer","full","minor","NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR","ERROR_ORIGINAL_ERROR","getOriginalError","ErrorHandler","_console","handleError","originalError","_findOriginalError","ɵɵresolveWindow","ɵɵresolveDocument","ɵɵresolveBody","maybeUnwrapFn","classIndexOf","classToSearch","startingIndex","foundIndex","NG_TEMPLATE_SELECTOR","isCssClassMatching","cssClassToMatch","isProjectionMode","isImplicitAttrsSection","isInlineTemplate","hasTagAndTypeMatch","currentSelector","isNodeMatchingSelector","nodeAttrs","nameOnlyMarkerIdx","getNameOnlyMarkerIndex","skipToNextSelector","isPositive","selectorAttrValue","attrIndexInNode","findAttrIndexInNode","nodeAttrValue","compareAgainstClassName","bindingsMode","maybeAttrName","matchTemplateAttribute","isNodeMatchingSelectorList","isSelectorInSelectorList","selectorListLoop","currentSelectorInList","maybeWrapInNotSelector","isNegativeMode","stringifyCSSSelector","currentChunk","valueOrMarker","NO_CHANGE","ɵɵadvance","selectIndexInternal","checkNoChangesMode","angularCoreDiEnv","compileInjectable","ngFactoryDef","getInjectableMetadata","srcMeta","compilerMeta","typeArgumentCount","isUseClassProvider","isUseFactoryProvider","isUseValueProvider","USE_VALUE","isUseExistingProvider","compiler","compileFactory","createInjector","additionalProviders","createInjectorWithoutInjectorInstances","constructResolvingPath","findFirstClosedCycle","injectionError","constructResolvingMessage","errMsg","wrappedError","addKey","injectors","noAnnotationError","signature","parameter","mixingMultiProvidersWithRegularProvidersError","provider1","provider2","ReflectiveKey","displayName","_globalKeyRegistry","numberOfKeys","KeyRegistry","_allKeys","newKey","ReflectiveDependency","_EMPTY_LIST","ResolvedReflectiveProvider_","resolvedFactories","multiProvider","resolvedFactory","ResolvedReflectiveFactory","resolveReflectiveFactory","factoryFn","resolvedDeps","_dependenciesFor","aliasInstance","fromKey","constructDependencies","_extractToken","resolveReflectiveProvider","resolveReflectiveProviders","resolvedProviderMap","mergeResolvedReflectiveProviders","normalizedProvidersMap","resolvedProvider","_normalizeProviders","invalidProviderError","_createDependency","paramMetadata","UNDEFINED","ReflectiveInjector","ResolvedReflectiveProviders","fromResolvedProviders","ReflectiveInjector_","_providers","_parent","_constructionCounter","keyIds","objs","_getByKey","resolveAndCreateChild","createChildFromResolved","inj","resolveAndInstantiate","instantiateResolved","_instantiateProvider","getProviderAtIndex","outOfBoundsError","_new","_getMaxNumberOfObjects","cyclicDependencyError","_instantiate","_getByReflectiveDependency","instantiationError","originalException","originalStack","INJECTOR_KEY","_getByKeySelf","_getByKeyDefault","_getObjByKeyId","keyId","_throwOrNull","noProviderError","inj_","_mapProviders","ɵɵdirectiveInject","ɵɵinvalidFactory","refreshContentQueries","queryStartIdx","directiveDefIdx","createLView","tHostNode","rendererFactory","getUniqueLViewId","getOrCreateTNode","createTNodeAtIndex","createTNode","tParent","insertBeforeIndex","directiveStylingLast","propertyBindings","localNames","initialInputs","stylesWithoutHost","residualStyles","classesWithoutHost","residualClasses","classBindings","styleBindings","allocExpando","numSlotsToAlloc","initialValue","allocIdx","renderView","executeViewQueryFn","templateFn","executeTemplate","staticContentQueries","staticViewQueries","renderChildComponents","hostLView","renderComponent","incompleteFirstPass","refreshView","hooksInitPhaseCompleted","markTransplantedViewsForRefresh","movedLView","refreshEmbeddedViews","embeddedLView","embeddedTView","processHostBindingOpCodes","hostBindingOpCodes","opCode","directiveIdx","bindingRootIndx","hostBindingFn","refreshChildComponents","refreshComponent","firstUpdatePass","prevSelectedIndex","isUpdatePhase","executeContentQueries","createDirectivesInstances","instantiateAllDirectives","addComponentLogic","hostTNode","getOrCreateComponentTView","componentView","addToViewTree","createRenderer","setInputsFromAttrs","invokeDirectivesHostBindings","saveResolvedLocalsInData","viewData","localRefExtractor","localIndex","createTView","constsOrFactory","initialViewLength","createViewBlueprint","expandoStartIndex","directiveRegistry","pipeRegistry","storeCleanupWithContext","cleanupFn","getOrCreateLViewCleanup","getOrCreateTViewCleanup","generatePropertyAliases","aliasMap","propertyAliases","hostDirectiveAliasMap","internalName","addPropertyAlias","elementPropertyInternal","nativeOnly","dataValue","inputData","setInputsForProperty","markDirtyIfOnPush","viewIndex","childComponentLView","mapPropName","resolveDirectives","localRefs","exportsMap","matchResult","findDirectiveDefMatches","registry","hostDirectiveDefs","hostDirectiveMatches","markAsComponentHost","initializeDirectives","cacheMatchingLocalNames","initTNodeFlags","numberOfDirectives","preOrderHooksFound","preOrderCheckHooksFound","configureViewWithDirective","saveNameToExportMap","lifeCycleHooks","initializeInputAndOutputAliases","hostDirectiveDefinitionMap","tViewData","tNodeAttrs","inputsFromAttrs","inputsStore","outputsStore","aliasData","aliasedInputs","aliasedOutputs","generateInitialInputs","elementIndex","getCurrentDirectiveIndex","invokeHostBindingsInCreationMode","directiveFactory","nodeInjectorFactory","registerHostBindingOpCodes","directiveVarsIdx","elementIndx","lastSelectedElementIdx","elementAttributeInternal","setElementAttribute","strValue","initialInputData","inputsToStore","inputConfig","createLContainer","hostNative","componentHostIdx","refreshContainsDirtyView","componentTView","syncViewWithBlueprint","markViewDirty","detectChangesInternal","notifyErrorHandler","viewQueryFn","loadComponentRenderer","currentDef","unwrapLView","textBindingInternal","computeStaticStyling","writeToHost","collectNativeNodes","lNode","lViewInAContainer","lViewFirstChildTNode","nodesInSlot","ViewRef$1","_cdRefInjectingView","_appRef","_attachedToViewContainer","viewRefs","reattach","checkNoChanges","attachToViewContainerRef","detachFromAppRef","renderDetachView","attachToAppRef","RootViewRef","componentDef","ComponentFactory","toRefArray","nonMinified","minified","templateName","ChainedInjector","componentType","stringifyCSSSelectorList","selectorList","isBoundToModule","rootSelectorOrNode","environmentInjector","realEnvironmentInjector","rootViewInjector","hostRenderer","elementName","hostRNode","locateHostElement","elementOrSelector","preserveContent","selectRootElement","getNamespace","rootFlags","rootTView","rootLView","tElementNode","rootComponentDef","rootDirectives","createRootComponentTNode","createRootComponentView","applyRootComponentStyling","viewRenderer","setRootNodeAttributes","extractAttrsAndClassesFromSelector","projectNodes","nodesforSlot","createRootComponent","hostFeatures","rootTNode","LifecycleHooksFeature","ComponentRef","_rootLView","getSuperType","ɵɵInheritDefinitionFeature","superType","shouldInheritFields","inheritanceChain","superDef","writeableDef","maybeUnwrapEmpty","superHostBindings","inheritHostBindings","superViewQuery","superContentQueries","inheritViewQuery","inheritContentQueries","animation","defData","mergeHostAttrsAcrossInheritance","prevViewQuery","prevContentQueries","prevHostBindings","COPY_DIRECTIVE_FIELDS","COPY_COMPONENT_FIELDS","ɵɵCopyDefinitionFeature","defAny","ɵɵHostDirectivesFeature","rawHostDirectives","bindingArrayToMap","matchedDefs","hostDirectiveConfig","hostDirectiveDef","patchDeclaredInputs","bindings","exposedInputs","remappedPublicName","isListLikeIterable","isJsObject","updateBinding","getBinding","bindingUpdated","bindingUpdated2","exp1","exp2","different","bindingUpdated3","exp3","bindingUpdated4","exp4","ɵɵattribute","interpolationV","isBindingUpdated","interpolation1","suffix","interpolation2","v1","interpolation3","v2","interpolation4","v3","interpolation5","v4","interpolation6","i4","v5","interpolation7","i5","v6","interpolation8","i6","v7","ɵɵattributeInterpolate1","interpolatedValue","ɵɵattributeInterpolate2","ɵɵattributeInterpolate3","ɵɵattributeInterpolate4","ɵɵattributeInterpolate5","ɵɵattributeInterpolate6","ɵɵattributeInterpolate7","ɵɵattributeInterpolate8","ɵɵattributeInterpolateV","interpolated","ɵɵtemplate","attrsIndex","localRefsIndex","adjustedIndex","templateFirstCreatePass","tViewConsts","comment","ɵɵreference","getContextLView","ɵɵproperty","setDirectiveInputsWhichShadowsStyling","isClassBased","ɵɵelementStart","elementStartFirstCreatePass","elementStart","getNamespace$1","hasDirectives","getElementDepthCount","increaseElementDepthCount","ɵɵelementEnd","decreaseElementDepthCount","elementEnd","hasClassInput","hasStyleInput","ɵɵelement","ɵɵelementContainerStart","elementContainerStartFirstCreatePass","ɵɵelementContainerEnd","ɵɵelementContainer","ɵɵgetCurrentView","isSubscribable","ɵɵlistener","listenerFn","useCapture","eventTargetResolver","listenerInternal","ɵɵsyntheticHostListener","isTNodeDirectiveHost","processOutputs","lCleanupIndex","idxOrTargetGetter","existingListener","findExistingListener","tNodeIdx","cleanupEventName","listenerIdxInLCleanup","__ngLastListenerFn__","__ngNextListenerFn__","wrapListener","propsLength","minifiedName","executeListenerWithErrorHandling","wrapWithPreventDefault","wrapListenerIn_markDirtyAndPreventDefault","nextListenerFn","returnValue","ɵɵnextContext","matchingProjectionSlotIndex","projectionSlots","wildcardNgContentIndex","ngProjectAsAttrVal","getProjectAsAttrValue","ngProjectAsAttrIdx","ɵɵprojectionDef","componentNode","numProjectionSlots","projectionHeads","tails","componentChild","slotIndex","ɵɵprojection","selectorIndex","applyProjection","ɵɵpropertyInterpolate","ɵɵpropertyInterpolate1","ɵɵpropertyInterpolate2","ɵɵpropertyInterpolate3","ɵɵpropertyInterpolate4","ɵɵpropertyInterpolate5","ɵɵpropertyInterpolate6","ɵɵpropertyInterpolate7","ɵɵpropertyInterpolate8","ɵɵpropertyInterpolateV","toTStylingRange","getTStylingRangePrev","tStylingRange","setTStylingRangePrevDuplicate","getTStylingRangeNext","setTStylingRangeNext","setTStylingRangeNextDuplicate","insertTStylingBinding","tStylingKeyWithStatic","isHostBinding","isClassBinding","tBindings","tmplHead","tmplTail","tStylingKey","isKeyDuplicateOfStatic","staticKeyValueArray","previousNode","setTStylingRangePrev","markDuplicates","markDuplicateOfResidualStyling","residual","isPrevDir","tStylingAtIndex","isMap","foundDuplicate","tStylingValueAtCursor","tStyleRangeAtCursor","isStylingMatch","tStylingKeyCursor","parserState","textEnd","keyEnd","valueEnd","getLastParsedKey","getLastParsedValue","parseClassNameNext","consumeClassToken","consumeWhitespace","parseStyleNext","consumeStyleKey","consumeSeparator","consumeStyleValue","ch1","ch2","ch3","lastChIndex","consumeQuotedText","resetParserState","quoteCharCode","ɵɵstyleProp","checkStylingProperty","ɵɵclassProp","ɵɵstyleMap","checkStylingMap","styleKeyValueArraySet","styleStringParser","parseStyle","ɵɵclassMap","classKeyValueArraySet","classStringParser","parseClassName","stylingFirstUpdatePass","updateStyling","normalizeSuffix","stringParser","hasStylingInputShadow","isInHostBindings","staticPrefix","updateStylingMap","oldKeyValueArray","newKeyValueArray","oldIndex","oldKey","setKey","toStylingKeyValueArray","styleKeyValueArray","unwrappedValue","isHostBindings","wrapInStaticStylingKey","stylingKey","collectStylingFromDirectives","collectStylingFromTAttrs","templateStylingKey","getTemplateHeadTStylingKey","setTemplateHeadTStylingKey","collectResidual","currentDirective","desiredMarker","currentMarker","stringKey","tRange","higherPriorityValue","getTStylingRangeNextDuplicate","findStylingValue","isStylingValuePresent","getTStylingRangePrevDuplicate","applyStyling","isPrevDirection","rawKey","containsStatics","isStylingMap","valueAtLViewIndex","ɵɵtext","textNative","ɵɵtextInterpolate","ɵɵtextInterpolate1","ɵɵtextInterpolate2","ɵɵtextInterpolate3","ɵɵtextInterpolate4","ɵɵtextInterpolate5","ɵɵtextInterpolate6","ɵɵtextInterpolate7","ɵɵtextInterpolate8","ɵɵtextInterpolateV","ɵɵclassMapInterpolate1","ɵɵclassMapInterpolate2","ɵɵclassMapInterpolate3","ɵɵclassMapInterpolate4","ɵɵclassMapInterpolate5","ɵɵclassMapInterpolate6","ɵɵclassMapInterpolate7","ɵɵclassMapInterpolate8","ɵɵclassMapInterpolateV","ɵɵstyleMapInterpolate1","ɵɵstyleMapInterpolate2","ɵɵstyleMapInterpolate3","ɵɵstyleMapInterpolate4","ɵɵstyleMapInterpolate5","ɵɵstyleMapInterpolate6","ɵɵstyleMapInterpolate7","ɵɵstyleMapInterpolate8","ɵɵstyleMapInterpolateV","ɵɵstylePropInterpolate1","valueSuffix","ɵɵstylePropInterpolate2","ɵɵstylePropInterpolate3","ɵɵstylePropInterpolate4","ɵɵstylePropInterpolate5","ɵɵstylePropInterpolate6","ɵɵstylePropInterpolate7","ɵɵstylePropInterpolate8","ɵɵstylePropInterpolateV","ɵɵhostProperty","ɵɵsyntheticHostProperty","localeEn","plural","LOCALE_DATA","findLocaleData","normalizedLocale","normalizeLocale","getLocaleData","parentLocale","LocaleDataIndex","PluralCase","common","locales","LocaleId","DayPeriodsFormat","DayPeriodsStandalone","DaysFormat","DaysStandalone","MonthsFormat","MonthsStandalone","FirstDayOfWeek","WeekendRange","DateFormat","TimeFormat","DateTimeFormat","NumberSymbols","NumberFormats","CurrencyCode","CurrencySymbol","CurrencyName","Currencies","ExtraData","pluralMapping","DEFAULT_LOCALE_ID","ELEMENT_MARKER","ICU_MARKER","I18nCreateOpCode","SHIFT","APPEND_EAGERLY","COMMENT","LOCALE_ID$1","setLocaleId","tNodeInsertBeforeIndex","i18nParent","anchorRNode","addTNodeAndUpdateInsertBeforeIndex","previousTNodes","newTNode","existingTNode","isI18nText","isNewTNodeCreatedBefore","getInsertBeforeIndex","setInsertBeforeIndex","getTIcu","createTNodePlaceholder","getCurrentICUCaseIndex","tIcu","currentCase","currentCaseLViewIndex","getParentFromIcuCreateOpCode","mergedCode","getRefFromIcuCreateOpCode","changeMask","changeMaskCounter","applyMutableOpCodes","mutableOpCodes","rootRNode","rootIdx","textNodeIndex","parentIdx","insertInFrontOf","refIdx","caseIndex","anchorIdx","elementNodeIndex","commentValue","commentNodeIndex","applyUpdateOpCodes","updateOpCodes","bindingsStartIndex","checkBit","skipCodes","sanitizeFn","tNodeOrTagName","rText","applyIcuSwitchCase","applyIcuUpdateCase","activeCaseIndex","getCaseIndex","icuExpression","bindingValue","resolvedCase","getPluralCase","applyIcuSwitchCaseRemove","removeCodes","nodeOrIcuIndex","loadIcuContainerVisitor","_stack","_removes","_index","enterIcu","icuContainerIteratorNext","removeOpCode","tIcuIndex","icuContainerIteratorStart","BINDING_REGEXP","ICU_REGEXP","NESTED_ICU","ICU_BLOCK_REGEXP","MARKER","SUBTEMPLATE_REGEXP","PH_REGEXP","NGSP_UNICODE_REGEXP","i18nStartFirstCreatePass","parentTNodeIndex","subTemplateIndex","createOpCodes","existingTNodeStack","getTranslationForTemplate","isRootTemplateMessage","removeInnerTemplateTranslation","msgParts","replaceNgsp","isClosing","i18nParseTextIntoPartsAndICU","icuStart","createTNodeAndAddOpCode","i18nStartFirstCreatePassProcessTextNode","existingTNodes","isICU","i18nNodeIdx","ensureIcuContainerVisitorLoaded","loader","setTNodeInsertBeforeIndex","hasBinding","generateBindingUpdateOpCodes","destinationNode","bindingStart","maskIndex","sizeIndex","textParts","textValue","toMaskBit","countBindings","opCodes","tagMatched","inTemplate","bindingMask","addUpdateIcuSwitch","mainBinding","setTIcu","valueArr","nestedIcus","icuIndex","parseIcuCase","addUpdateIcuUpdate","parseICUBlock","icuType","binding","blocks","prevPos","braceStack","braces","lastIndex","caseName","unsafeCaseHtml","inertRootNode","walkIcuTree","sharedUpdateOpCodes","depth","addCreateNodeAndAppend","lowerAttrName","addCreateAttribute","addRemoveNode","COMMENT_NODE","isNestedIcu","addRemoveNestedIcu","appendToParentIdx","createAtIdx","icuCreateOpCode","ROOT_TEMPLATE_ID","PP_MULTI_VALUE_PLACEHOLDERS_REGEXP","PP_PLACEHOLDERS_REGEXP","PP_ICU_VARS_REGEXP","PP_ICU_PLACEHOLDERS_REGEXP","PP_ICUS_REGEXP","PP_CLOSE_TEMPLATE_REGEXP","PP_TEMPLATE_ID_REGEXP","ɵɵi18nStart","messageIndex","tI18n","applyCreateOpCodes","isComment","appendNow","ɵɵi18nEnd","ɵɵi18n","ɵɵi18nAttributes","i18nAttributesFirstPass","previousElementIndex","ɵɵi18nExp","setMaskBit","hasChange","ɵɵi18nApply","applyI18n","ɵɵi18nPostprocess","replacements","i18nPostprocess","templateIdsStack","phs","tmpl","placeholders","templateId","isCloseTemplateTag","currentTemplateId","_idx","resolveProvider","lInjectablesBlueprint","providerFactory","beginIndex","existingFactoryIndex","registerDestroyHooksIfSupported","existingProvidersFactoryIndex","existingViewProvidersFactoryIndex","doesProvidersFactoryExist","doesViewProvidersFactoryExist","multiFactory","componentProviders","multiFactoryAdd","multiViewProvidersFactoryResolver","multiProvidersFactoryResolver","contextIndex","indexInFactory","providerIsTypeProvider","providerIsClassProvider","isClassProvider","existingCallbacksIndex","isComponentProvider","lData","multiResolve","factories","componentCount","multiProviders","ɵɵProvidersFeature","viewProviders","processProvidersFn","NgModuleRef$1","NgModuleFactory$1","_bootstrapComponents","destroyCbs","_r3Injector","NgModuleFactory","moduleType","EnvironmentNgModuleRefAdapter","createEnvironmentInjector","debugName","StandaloneService","_injector","cachedInjectors","getOrCreateStandaloneInjector","standaloneInjector","ɵɵStandaloneFeature","setClassMetadata","clazz","ɵɵpureFunction0","slotOffset","pureFn","ɵɵpureFunction1","pureFunction1Internal","ɵɵpureFunction2","pureFunction2Internal","ɵɵpureFunction3","pureFunction3Internal","ɵɵpureFunction4","pureFunction4Internal","ɵɵpureFunction5","exp5","ɵɵpureFunction6","exp6","ɵɵpureFunction7","exp7","ɵɵpureFunction8","exp8","ɵɵpureFunctionV","exps","pureFunctionVInternal","getPureFunctionReturnValue","returnValueIndex","lastReturnValue","bindingRoot","ɵɵpipe","pipeName","getPipeDef","pipeFactory","pipeInstance","ɵɵpipeBind1","isPure","ɵɵpipeBind2","ɵɵpipeBind3","ɵɵpipeBind4","ɵɵpipeBindV","EventEmitter_","isAsync","__isAsync","nextFn","errorFn","completeFn","_wrapInTimeout","symbolIterator","QueryList","_emitDistinctChangesOnly","dirty","_changesDetected","resultsTree","identityAccessor","newResultFlat","arrayEquals","valueA","valueB","notifyOnChanges","setDirty","injectTemplateRef","createTemplateRef","ViewEngineTemplateRef","R3TemplateRef","_declarationLView","_declarationTContainer","declarationViewLQueries","injectViewContainerRef","previousTNode","createContainerRef","VE_ViewContainerRef","R3ViewContainerRef","_lContainer","_hostTNode","_hostLView","getViewRefs","indexOrOptions","componentFactoryOrType","isComponentFactory","contextInjector","viewAttachedToContainer","prevIdx","prevLContainer","prevVCRef","adjustedIdx","_adjustIndex","addViewToContainer","parentNativeNode","getOrCreateViewRefs","viewRefsArr","commentNode","nativeNextSibling","LQuery_","queryList","LQueries_","tQueries","noOfInheritedQueries","viewLQueries","tQuery","getByIndex","parentLQuery","indexInDeclarationView","dirtyQueriesWithMatches","getTQuery","TQueryMetadata_","TQueries_","queriesForTemplateRef","childQueryIndex","tqueryClone","tquery","TQuery_","crossesNgTemplate","_appliesToNextNode","_declarationNodeIndex","isApplyingToNode","matchTNode","addMatch","declarationNodeIdx","matchTNodeWithReadOption","getIdxOfMatchingSelector","nodeMatchIdx","directiveOrProviderIdx","matchIdx","createResultForNode","matchingIdx","createResultByTNodeType","createSpecialToken","materializeViewResults","queryIndex","lQuery","tQueryMatches","matchedNodeIdx","collectQueryResults","lViewResults","embeddedLViews","ɵɵqueryRefresh","isCreationMode","ɵɵviewQuery","createTQuery","createLQuery","ɵɵcontentQuery","saveContentQueryAndDirectiveIndex","tViewContentQueries","lastSavedDirectiveIndex","ɵɵloadQuery","loadQueryInternal","ɵɵtemplateRefExtractor","angularCoreEnv","jitOptions","isModuleWithProviders","isNgModule","moduleQueue","flushingModuleQueue","isResolvedDeclaration","declaration","compileNgModule","compileNgModuleDefs","allowDuplicateDeclarationsInRoot","expandModuleWithProviders","compileInjector","enqueueModuleForDelayedScoping","setScopeOnDeclaredComponents","transitiveScopes","transitiveScopesFor","patchComponentDefWithScope","ngSelectorScope","compilation","transitiveScopesForNgModule","exported","importedScope","entry","declared","exportedType","exportedScope","compilationDepth","compileComponent","ngComponentDef","maybeQueueResolutionOfComponentResources","addDirectiveFactoryDef","getJitOptions","preserveWhitespaces","defaultEncapsulation","directiveMetadata","typeSourceSpan","createParseSourceSpan","animations","interpolation","usesInheritance","addDirectiveDefToUndecoratedParents","getStandaloneDefFunctions","cachedDirectiveDefs","cachedPipeDefs","seen","rawDep","flushModuleScopingQueueAsMuchAsPossible","hasSelectorScope","compileDirective","ngDirectiveDef","getDirectiveMetadata","sourceMapUrl","facade","extendsDirectlyFromObject","extractQueriesMetadata","isContentQuery","lifecycle","usesOnChanges","extractExportAs","viewQueries","objPrototype","shouldAddAbstractDirective","convertToR3QueryPredicate","splitByComma","convertToR3QueryMetadata","ann","isQueryAnn","queriesMeta","isInputAnnotation","piece","LIFECYCLE_HOOKS","hookName","metadataName","getPipeMetadata","compilePipe","ngPipeDef","bindingPropertyName","hostPropertyName","APP_INITIALIZER","ApplicationInitStatus","appInits","initialized","donePromise","rej","runInitializers","asyncInitPromises","initResult","observableAsPromise","_appIdRandomProviderFactory","_randomChar","PLATFORM_INITIALIZER","Console","getGlobalLocale","$localize","MissingTranslationStrategy","Warning","Ignore","ModuleWithComponentFactories","componentFactories","Compiler","compileModuleSync","compileModuleAsync","compileModuleAndAllComponentsSync","compileModuleAndAllComponentsAsync","clearCache","clearCacheFor","getModuleId","scheduleMicroTask","Zone","enableLongStackTrace","shouldCoalesceEventChangeDetection","shouldCoalesceRunChangeDetection","hasPendingMacrotasks","hasPendingMicrotasks","onUnstable","onMicrotaskEmpty","assertZonePatched","_nesting","_outer","_inner","TaskTrackingZoneSpec","fork","longStackTraceZoneSpec","lastRequestAnimationFrameId","nativeRequestAnimationFrame","getNativeRequestAnimationFrame","nativeCancelAnimationFrame","unpatchedRequestAnimationFrame","__symbol__","unpatchedCancelAnimationFrame","forkInnerZoneWithAngularBehavior","delayChangeDetectionForEventsDelegate","delayChangeDetectionForEvents","isCheckStableRunning","fakeTopEventTask","scheduleEventTask","updateMicroTaskStatus","checkStable","invoke","isAngularZone","onInvokeTask","task","applyThis","applyArgs","invokeTask","onLeave","onInvoke","onHasTask","hasTaskState","hasTask","_hasPendingMicrotasks","microTask","macroTask","onHandleError","isInAngularZone","runTask","EMPTY_PAYLOAD","cancelTask","runGuarded","NoopNgZone","TESTABILITY","TESTABILITY_GETTER","Testability","testabilityGetter","_pendingCount","_isZoneStable","_didWork","_callbacks","taskTrackingZone","_testabilityGetter","setTestabilityGetter","addToWindow","_watchAngularEvents","assertNotInAngularZone","_runCallbacksIfReady","increasePendingRequestCount","decreasePendingRequestCount","timeoutId","doneCb","getPendingTasks","updateCb","macroTasks","creationLocation","addCallback","whenStable","getPendingRequestCount","registerApplication","unregisterApplication","findProviders","exactMatch","TestabilityRegistry","_applications","testability","unregisterAllApplications","getTestability","getAllTestabilities","getAllRootElements","findTestabilityInTree","findInAncestors","NG_DEV_MODE","_platformInjector","ALLOW_MULTIPLE_PLATFORMS","PLATFORM_DESTROY_LISTENERS","APP_BOOTSTRAP_LISTENER","NgProbeToken","runPlatformInitializers","inits","createPlatformFactory","parentPlatformFactory","extraProviders","getPlatform","platformProviders","createPlatform","PlatformRef","createPlatformInjector","assertPlatform","requiredToken","_modules","_destroyListeners","bootstrapModuleFactory","moduleFactory","getNgZone","getNgZoneOptions","ngZoneInjector","moduleRef","exceptionHandler","_callAndReportToErrorHandler","initStatus","_moduleDoBootstrap","bootstrapModule","compilerOptions","optionsReducer","compileNgModuleFactory","ngDoBootstrap","destroyListeners","ngZoneEventCoalescing","ngZoneRunCoalescing","ngZoneToUse","_exceptionHandler","_bootstrapListeners","_views","_runningTick","_stable","componentTypes","_onMicrotaskEmptySubscription","isCurrentlyStable","stableSub","unstableSub","assertInAngularZone","componentOrFactory","warnIfDestroyed","errorMessage","cf","selectorOrNode","compRef","_loadComponent","viewCount","enableProdMode","injectChangeDetectorRef","createViewRef","isPipe","hostComponentView","DefaultIterableDifferFactory","trackByFn","DefaultIterableDiffer","trackByIdentity","_linkedRecords","_unlinkedRecords","_previousItHead","_itHead","_itTail","_additionsHead","_additionsTail","_movesHead","_movesTail","_removalsHead","_removalsTail","_identityChangesHead","_identityChangesTail","nextIt","nextRemove","addRemoveOffset","moveOffsets","getPreviousIndex","adjPreviousIndex","_nextRemoved","localMovePreviousIndex","localCurrentIndex","forEachPreviousItem","_nextPrevious","_nextAdded","forEachMovedItem","_nextMoved","_nextIdentityChange","collection","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","keyValDiff","iterableDiff","platformCore","ApplicationModule","coerceToBoolean","BaseControlValueAccessor","BuiltInControlValueAccessor","CHECKBOX_VALUE_ACCESSOR","CheckboxControlValueAccessor","DEFAULT_VALUE_ACCESSOR","DefaultValueAccessor","COMPOSITION_BUFFER_MODE","_compositionMode","_composing","_isAndroid","ɵgetDOM","normalizedValue","_handleInput","_compositionStart","_compositionEnd","NG_DEV_MODE$1","isEmptyInputValue","hasValidLength","NG_VALIDATORS","NG_ASYNC_VALIDATORS","EMAIL_REGEXP","Validators","minValidator","maxValidator","control","requiredValidator","requiredTrueValidator","emailValidator","minLength","minLengthValidator","maxLengthValidator","patternValidator","validators","compose","composeAsync","email","minlength","requiredLength","actualLength","maxlength","nullValidator","regex","requiredPattern","actualValue","isPresent","ɵisObservable","mergeErrors","arrayOfErrors","executeValidators","validator","normalizeValidators","isValidatorFn","validate","presentValidators","composeValidators","composeAsyncValidators","mergeValidators","controlValidators","dirValidator","getControlValidators","_rawValidators","getControlAsyncValidators","_rawAsyncValidators","makeValidatorsArray","hasValidator","addValidators","currentValidators","validatorsToAdd","removeValidators","AbstractControlDirective","_onDestroyCallbacks","valid","pristine","untouched","statusChanges","valueChanges","_setValidators","_composedValidatorFn","_setAsyncValidators","_composedAsyncValidatorFn","asyncValidator","_registerOnDestroy","_invokeOnDestroyCallbacks","errorCode","getError","ControlContainer","formDirective","NgControl","valueAccessor","AbstractControlStatus","cd","_cd","isTouched","isUntouched","isPristine","isValid","isInvalid","isPending","isSubmitted","submitted","NgControlStatus","NgControlStatusGroup","describeKey","isFormGroup","VALID","INVALID","PENDING","DISABLED","pickValidators","validatorOrOpts","isOptionsObj","pickAsyncValidators","asyncValidators","assertControlPresent","isGroup","controls","noControlsError","missingControlError","assertAllValuesPresent","_forEachChild","missingControlValueError","AbstractControl","_pendingDirty","_hasOwnPendingAsyncValidator","_pendingTouched","_onCollectionChange","_onDisabledChange","_assignValidators","_assignAsyncValidators","validatorFn","asyncValidatorFn","updateOn","_updateOn","setValidators","setAsyncValidators","addAsyncValidators","removeAsyncValidators","hasAsyncValidator","clearValidators","clearAsyncValidators","markAsTouched","onlySelf","markAllAsTouched","markAsUntouched","_updateTouched","markAsDirty","markAsPristine","_updatePristine","markAsPending","emitEvent","skipPristineCheck","_parentMarkedDirty","_updateValue","_updateAncestors","changeFn","updateValueAndValidity","setParent","getRawValue","_setInitialStatus","_cancelExistingSubscription","_runValidator","_calculateStatus","_runAsyncValidator","_updateTreeValidity","ctrl","_allControlsDisabled","_asyncValidationSubscription","setErrors","_updateControlsErrors","currPath","_find","_initObservables","_anyControlsHaveStatus","_anyControls","_anyControlsDirty","_anyControlsTouched","_registerOnCollectionChange","_setUpdateStrategy","parentDirty","coerceToValidator","coerceToAsyncValidator","FormGroup","_setUpControls","registerControl","addControl","removeControl","setControl","controlName","patchValue","_reduceChildren","_syncPendingControls","subtreeUpdated","updated","_reduceValue","initValue","UntypedFormGroup","FormRecord","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","setUpFormContainer","isPropertyUpdated","viewModel","syncPendingControls","selectValueAccessor","valueAccessors","defaultAccessor","builtinAccessor","customAccessor","isBuiltInAccessor","formDirectiveProvider$1","NgForm","resolvedPromise$1","_directives","ngSubmit","_findContainer","getControl","addFormGroup","removeFormGroup","getFormGroup","updateModel","onReset","resetForm","removeListItem","isFormControlState","formState","FormControl","_applyFormState","nonNullable","initialValueIsDefault","emitViewToModelChange","UntypedFormControl","AbstractFormGroupDirective","_checkParentType","modelGroupProvider","NgModelGroup","formControlBinding$1","NgModel","_registered","_checkForErrors","_checkName","oldName","_getPath","_setUpControl","_updateDisabled","_isStandalone","_setUpStandalone","disabledValue","ɵcoerceToBoolean","ɵNgNoValidate","NUMBER_VALUE_ACCESSOR","NumberValueAccessor","RADIO_VALUE_ACCESSOR","RadioControlValueAccessor","RadioControlRegistryModule","RadioControlRegistry","_accessors","accessor","_isSameGroup","fireUncheck","controlPair","_control","_registry","setDisabledStateFired","_state","_fn","formControlName","RANGE_VALUE_ACCESSOR","RangeValueAccessor","NG_MODEL_WITH_FORM_CONTROL_WARNING","formControlBinding","FormControlDirective","_ngModelWarningConfig","_ngModelWarningSent","_isControlChanged","previousForm","_ngModelWarningSentOnce","formDirectiveProvider","FormGroupDirective","_updateDomValue","_checkFormPresent","_updateValidators","_updateRegistrations","_oldForm","removeListItem$1","_setUpFormContainer","_cleanUpFormContainer","addFormArray","removeFormArray","getFormArray","oldCtrl","newCtrl","cleanUpFormContainer","formGroupNameProvider","FormGroupName","_hasInvalidParent","formArrayNameProvider","FormArrayName","controlNameBinding","FormControlName","_added","SELECT_VALUE_ACCESSOR","SelectControlValueAccessor","_buildValueString$1","_optionMap","_idCounter","_compareWith","compareWith","valueString","_getOptionId","_getOptionValue","_registerOption","_extractId$1","NgSelectOption","_select","ngValue","_setElementValue","SELECT_MULTIPLE_VALUE_ACCESSOR","SelectMultipleControlValueAccessor","_buildValueString","optionSelectedStateSetter","opt","_setSelected","selectedOptions","_extractId","ɵNgSelectMultipleOption","toInteger","toFloat","AbstractValidatorDirective","_validator","normalizeInput","createValidator","MAX_VALIDATOR","MaxValidator","MIN_VALIDATOR","MinValidator","REQUIRED_VALIDATOR","RequiredValidator","CHECKBOX_REQUIRED_VALIDATOR","CheckboxRequiredValidator","EMAIL_VALIDATOR","EmailValidator","MIN_LENGTH_VALIDATOR","MinLengthValidator","MAX_LENGTH_VALIDATOR","MaxLengthValidator","PATTERN_VALIDATOR","PatternValidator","ɵInternalFormsSharedModule","FormArray","_registerControl","removeAt","isAbstractControlOptions","FormBuilder","useNonNullable","nnfb","reducedControls","_reduceControls","newOptions","createdControls","_createControl","NonNullableFormBuilder","UntypedFormBuilder","controlsConfig","ReactiveFormsModule","warnOnNgModelWithFormControl","GenericBrowserDomAdapter","ɵDomAdapter","supportsDOMEvents","BrowserDomAdapter","ɵsetRootDomAdapter","onAndCancel","getDefaultDocument","createHtmlDocument","isElementNode","isShadowRoot","getBaseElementHref","baseElement","relativePath","urlParsingNode","pathName","resetBaseElement","getCookie","TRANSITION_ID","SERVER_TRANSITION_PROVIDERS","appInitializerFactory","transitionId","dom","BrowserXhr","EVENT_MANAGER_PLUGINS","EventManager","_eventNameToPlugin","manager","_findPluginFor","addGlobalEventListener","getZone","EventManagerPlugin","SharedStylesHost","usageCount","addStyles","changeUsageCount","onStyleAdded","removeStyles","onStyleRemoved","getAllStyles","usage","DomSharedStylesHost","styleRef","hostNodes","resetHostNodes","addStyleToHost","addHost","hostNode","removeHost","styleEl","styleElRef","NAMESPACE_URIS","xhtml","xlink","xml","math","COMPONENT_REGEX","HOST_ATTR","CONTENT_ATTR","REMOVE_STYLES_ON_COMPONENT_DESTROY","flattenStyles","compId","decoratePreventDefault","eventHandler","DomRendererFactory2","eventManager","sharedStylesHost","appId","removeStylesOnCompDestory","rendererByCompId","defaultRenderer","DefaultDomRenderer2","getOrCreateRenderer","EmulatedEncapsulationDomRenderer2","applyToHost","NoneEncapsulationDomRenderer","applyStyles","ShadowDomRenderer","createElementNS","newChild","isTemplateNode","refChild","oldChild","namespaceUri","setAttributeNS","removeAttributeNS","hostEl","nodeOrShadowRoot","rendererUsageCount","contentAttr","shimContentAttribute","componentShortId","hostAttr","shimHostAttribute","DomEventsPlugin","MODIFIER_KEYS","_keyMap","Del","Esc","Left","Right","Up","Down","Menu","Scroll","Win","MODIFIER_KEY_GETTERS","alt","KeyEventsPlugin","parseEventName","parsedEvent","outsideHandler","eventCallback","fullKey","domEventName","_normalizeKey","codeIX","modifierName","fullKeyCode","keycode","modifierGetter","matchEventFullKeyCode","keyName","INTERNAL_BROWSER_PLATFORM_PROVIDERS","ɵPLATFORM_BROWSER_ID","initDomAdapter","makeCurrent","ɵsetDocument","platformBrowser","BROWSER_MODULE_PROVIDERS_MARKER","TESTABILITY_PROVIDERS","ɵTESTABILITY_GETTER","BrowserGetTestability","ɵglobal","testabilities","didWork","decrement","didWork_","ɵTESTABILITY","BROWSER_MODULE_PROVIDERS","ɵINJECTOR_SCOPE","BrowserModule","providersAlreadyPresent","Meta","_dom","addTag","forceCreation","_getOrCreateElement","addTags","getTag","attrSelector","getTags","updateTag","_parseSelector","_setMetaElementAttributes","removeTag","removeTagElement","_containsAttributes","_getMetaKeyMap","META_KEYS_MAP","createMeta","httpEquiv","Title","getTitle","setTitle","newTitle","createTitle","TransferState","onSerializeCallbacks","retrieveTransferredState","unescapeHtml","unescapedText","onSerialize","toJson","BrowserTransferStateModule","EVENT_NAMES","pan","panstart","panmove","panend","pancancel","panleft","panright","panup","pandown","pinch","pinchstart","pinchmove","pinchend","pinchcancel","pinchin","pinchout","press","pressup","rotate","rotatestart","rotatemove","rotateend","rotatecancel","swipeleft","swiperight","swipeup","swipedown","HAMMER_GESTURE_CONFIG","HAMMER_LOADER","HammerGestureConfig","overrides","buildHammer","mc","Hammer","HammerGesturesPlugin","_loaderPromise","isCustomEvent","cancelRegistration","eventObj","HammerModule","ɵConsole","DomSanitizerImpl","ɵallowSanitizationBypassAndThrow","ɵunwrapSafeValue","ɵ_sanitizeHtml","ɵ_sanitizeUrl","ɵXSS_SECURITY_URL","bypassSecurityTrustHtml","ɵbypassSanitizationTrustHtml","bypassSecurityTrustStyle","ɵbypassSanitizationTrustStyle","bypassSecurityTrustScript","ɵbypassSanitizationTrustScript","ɵbypassSanitizationTrustUrl","bypassSecurityTrustResourceUrl","ɵbypassSanitizationTrustResourceUrl","domSanitizerImplFactory","PRIMARY_OUTLET","RouteTitleKey","ParamsAsMap","convertToParamMap","defaultUrlMatcher","segments","segmentGroup","pathMatch","hasChildren","posParams","consumed","shallowEqual","k1","equalArraysOrString","aSorted","bSorted","wrapIntoObservable","NG_DEV_MODE$b","pathCompareMap","exact","equalSegmentGroups","containee","matrixParams","equalPath","matrixParamsMatch","numberOfChildren","subset","containsSegmentGroup","paramCompareMap","equalParams","containsParams","ignored","containsTree","paths","containsSegmentGroupHelper","containeePaths","containerPaths","containeeSegment","UrlTree","UrlSegmentGroup","queryParamMap","_queryParamMap","DEFAULT_SERIALIZER","serializePaths","UrlSegment","parameterMap","_parameterMap","serializePath","as","UrlSerializer","DefaultUrlSerializer","UrlParser","parseRootSegment","parseQueryParams","parseFragment","tree","serializeSegment","serializeQueryParams","strParams","encodeUriQuery","encodeUriFragment","encodeURI","mapChildrenIntoArray","childOutlet","encodeUriString","encodeUriSegment","decodeQuery","serializeMatrixParams","SEGMENT_RE","matchSegments","QUERY_PARAM_RE","QUERY_PARAM_VALUE_RE","remaining","consumeOptional","peekStartsWith","parseChildren","parseQueryParam","parseSegment","parseParens","parseMatrixParams","parseParam","valueMatch","matchQueryParams","matchUrlQueryParamValue","decodedKey","decodedVal","currentVal","allowPrimary","outletName","createRoot","rootCandidate","squashSegmentGroup","newChildren","childCandidate","mergeTrivialChildren","isUrlTree","NG_DEV_MODE$a","createSegmentGroupFromRoute","targetGroup","createSegmentGroupFromRouteRecursive","currentRoute","childOutlets","childSnapshot","outlet","rootSegmentGroup","createUrlTreeFromSegmentGroup","relativeTo","commands","nav","computeNavigation","toRoot","findStartingPositionForTargetGroup","isAbsolute","modifier","isMatrixParams","createPositionApplyingDoubleDots","numberOfDoubleDots","newSegmentGroup","processChildren","updateSegmentGroupChildren","updateSegmentGroup","createUrlTree","urlTree","createTreeUsingPathIndex","lastPathIndex","startingPosition","findStartingPosition","snapshot","_urlSegment","_lastPathIndex","outlets","segmentPath","isCommandWithOutlets","oldRoot","oldSegmentGroup","qp","replaceSegment","newRoot","oldSegment","newSegment","Navigation","cmdWithOutlet","cmd","cmdIdx","urlPart","partIndex","dd","prefixedWith","currentCommandIndex","currentPathIndex","noMatch","pathIndex","commandIndex","curr","slicedCommands","createNewSegmentGroup","getOutlets","childrenOfEmptyChild","createNewSegmentChildren","IMPERATIVE_NAVIGATION","RouterEvent","NavigationStart","navigationTrigger","restoredState","NavigationEnd","urlAfterRedirects","NavigationCancel","NavigationSkipped","NavigationError","RoutesRecognized","GuardsCheckStart","GuardsCheckEnd","shouldActivate","ResolveStart","ResolveEnd","RouteConfigLoadStart","RouteConfigLoadEnd","ChildActivationStart","routeConfig","ChildActivationEnd","ActivationStart","ActivationEnd","routerEvent","LegacyCreateUrlTree","currentUrlTree","CreateUrlTreeUsingSnapshot","relativeToUrlSegmentGroup","CreateUrlTreeStrategy","Tree","_root","pathFromRoot","findNode","findPath","cc","TreeNode","nodeChildrenAsMap","RouterState","setRouterState","createEmptyState","rootComponent","createEmptyStateSnapshot","emptyParams","emptyData","emptyQueryParams","activated","ActivatedRouteSnapshot","RouterStateSnapshot","emptyUrl","ActivatedRoute","futureSnapshot","_futureSnapshot","_routerState","paramMap","_paramMap","inheritedParamsDataResolve","paramsInheritanceStrategy","inheritingStartingFrom","flattenInherited","_resolvedData","urlSegment","_resolve","serializeNode","advanceActivatedRoute","currentSnapshot","nextSnapshot","shallowEqualArrays","equalParamsAndUrlSegments","equalUrlParams","equalSegments","parentsMismatch","createNode","routeReuseStrategy","prevState","shouldReuseRoute","createOrReuseChildren","shouldAttach","detachedRouteHandle","retrieve","createActivatedRoute","NAVIGATION_CANCELING_ERROR","redirectingNavigationError","urlSerializer","redirect","redirectTo","navigationBehaviorOptions","navigationCancelingError","redirectUrl","cancellationCode","isRedirectingNavigationCancelingError$1","isNavigationCancelingError$1","OutletContext","ChildrenOutletContexts","attachRef","onChildOutletCreated","childName","getOrCreateContext","onChildOutletDestroyed","onOutletDeactivated","onOutletReAttached","NG_DEV_MODE$8","RouterOutlet","_activatedRoute","activateEvents","deactivateEvents","attachEvents","detachEvents","parentContexts","changeDetector","isTrackedInParentContexts","initializeOutletWithName","activateWith","isActivated","activatedRoute","activatedRouteData","cmp","resolverOrInjector","childContexts","OutletInjector","isComponentFactoryResolver","ɵEmptyOutletComponent","getOrCreateRouteInjectorIfNeeded","currentInjector","validateConfig","parentPath","requireStandaloneComponents","validateNode","getFullPath","fullPath","standardizeConfig","loadComponent","loadChildren","getOutlet","sortByMatchingOutlets","routes","sortedConfig","getClosestRouteInjector","_loadedInjector","ActivateRoutes","futureState","currState","forwardEvent","futureRoot","currRoot","deactivateChildRoutes","activateChildRoutes","futureNode","currNode","futureChild","childOutletName","deactivateRoutes","deactivateRouteAndItsChildren","parentContext","future","shouldDetach","detachAndStoreRouteSubtree","deactivateRouteAndOutlet","activateRoutes","stored","cmpFactoryResolver","CanActivate","CanDeactivate","getAllRouteGuards","getChildRouteGuards","getTokenOrFunctionIdentity","tokenOrFunction","ɵisInjectable","futurePath","checks","canDeactivateChecks","canActivateChecks","prevChildren","getRouteGuards","shouldRun","shouldRunGuardsAndResolvers","runGuardsAndResolvers","isEmptyError","INITIAL_VALUE","prioritizedGuardValue","checkGuards","targetSnapshot","guards","guardsResult","runCanDeactivateChecks","futureRSS","currRSS","runCanDeactivate","currARS","canDeactivate","canDeactivateObservables","closestInjector","guard","isCanDeactivate","isBoolean","runCanActivateChecks","fireChildActivationStart","fireActivationStart","runCanActivateChild","futureARS","canActivateChildGuardsMapped","getCanActivateChild","canActivateChild","guardsMapped","isCanActivateChild","runCanActivate","canActivate","canActivateObservables","isCanActivate","runCanLoadGuards","canLoad","canLoadObservables","injectionToken","isCanLoad","redirectIfUrlTree","runCanMatchGuards","canMatch","canMatchObservables","isCanMatch","noMatch$1","consumedSegments","remainingSegments","positionalParamSegments","matchWithChecks","matcher","slicedSegments","containsEmptyPathMatchesWithNamedOutlets","emptyPathMatch","createChildrenForEmptyPaths","primarySegment","_sourceSegment","_segmentIndexShift","containsEmptyPathMatches","addEmptyPathsToChildrenIfNeeded","isImmediateMatch","rawSegment","noLeftoversInUrl","NG_DEV_MODE$7","NoMatch$1","AbsoluteRedirect","absoluteRedirect","newTree","ApplyRedirects","configLoader","allowRedirects","splitGroup","expandSegmentGroup","noMatchError","expandChildren","expandSegment","sortedRoutes","expandedChild","last$1","expandSegmentAgainstRoute","matchSegmentAgainstRoute","expandSegmentAgainstRouteUsingRedirect","expandWildCardWithParamsAgainstRouteUsingRedirect","expandRegularSegmentAgainstRouteUsingRedirect","applyRedirectCommands","lineralizeSegments","newSegments","rawSegmentGroup","_loadedRoutes","cfg","getChildConfig","routerConfig","childInjector","childConfig","splitSegmentGroup","matchedOnOutlet","shouldLoadResult","canLoadFails","applyRedirectCreateUrlTree","createSegmentGroup","createQueryParams","redirectToParams","actualParams","sourceName","updatedSegments","createSegments","redirectToSegments","actualSegments","findPosParam","findOrReturn","redirectToUrlSegment","applyRedirects","applyRedirects$1","extractedUrl","NG_DEV_MODE$6","NoMatch","recognize$1","rootComponentType","Recognizer","recognize","newObservableError","processSegmentGroup","freeze","routeState","inheritParamsAndData","routeNode","processSegment","outletChildren","mergedChildren","mergeEmptyPathMatches","checkOutletNameUniqueness","names","routeWithSameOutletName","sortActivatedRouteSnapshots","processSegmentAgainstRoute","pathIndexShift","getPathIndexShift","_loadedComponent","getSourceSegmentGroup","getResolve","hasEmptyPathConfig","mergedNodes","duplicateEmptyPathNode","resultNode","mergedNode","resolveData","canActivateChecksResolved","runResolve","hasStaticTitle","resolveNode","getDataKeys","getResolver","resolverValue","resolvedData","switchTap","ROUTES","RouterConfigLoader","componentLoaders","childrenLoaders","onLoadStartListener","loadRunner","maybeUnwrapDefaultExport","onLoadEndListener","loadModuleFactoryOrRoutes","factoryOrRoutes","rawRoutes","NG_DEV_MODE$5","isWrappedDefaultExport","NavigationTransitions","hasRequestedNavigation","navigationId","currentNavigation","lastSuccessfulNavigation","rootContexts","afterPreactivation","transitions","handleNavigationRequest","setupNavigations","targetPageId","currentRawUrl","urlHandlingStrategy","extract","rawUrl","extras","routerState","currentRouterState","targetRouterState","overallTransitionState","initialUrl","previousNavigation","browserUrlTree","urlTransition","navigated","onSameUrlNavigation","serializeUrl","rawUrlTree","shouldProcessUrl","isBrowserTriggeredNavigation","transition","finalUrl","serializer","urlUpdateStrategy","skipLocationChange","setBrowserUrl","routesRecognized","navStart","replaceUrl","guardsStart","guardsEnd","restoreHistory","cancelNavigationTransition","resolveStart","dataResolved","resolveEnd","loadComponents","loaders","loadedComponent","createRouterState","titleStrategy","updateTitle","cancelationReason","navCancel","mergedTree","scheduleNavigation","navError","TitleStrategy","buildTitle","pageTitle","getResolvedTitleForRoute","DefaultTitleStrategy","RouteReuseStrategy","DefaultRouteReuseStrategy","BaseRouteReuseStrategy","detachedTree","ROUTER_CONFIGURATION","UrlHandlingStrategy","DefaultUrlHandlingStrategy","newUrlPart","wholeUrl","NG_DEV_MODE$2","defaultErrorHandler","defaultMalformedUriErrorHandler","exactMatchOptions","subsetMatchOptions","navigationTransitions","browserPageId","canceledNavigationResolution","ɵrouterPageId","disposed","currentPageId","isNgZoneEnabled","malformedUriErrorHandler","lastSuccessfulId","urlCreationStrategy","resetConfig","resetRootComponentType","initialNavigation","setUpLocationChangeListener","navigateToSyncWithBrowser","locationSubscription","stateCopy","parseUrl","navigationExtras","queryParamsHandling","preserveFragment","removeEmptyProps","navigateByUrl","_warnIfUsedForNavigation","validateCommands","matchOptions","priorPromise","currentBrowserPageId","generateNgRouterState","restoringFromCaughtError","targetPagePosition","resetState","resetUrlToCurrentUrlTree","routerPageId","RouterLink","tabIndexAttribute","_preserveFragment","_skipLocationChange","_replaceUrl","onChanges","updateHref","setTabIndexIfNotOnNativeEl","applyAttributeValue","routerLink","sanitizedValue","RouterLinkActive","_isActive","cdr","routerLinkActiveOptions","isActiveChange","routerEventsSubscription","subscribeToEachLinkOnChanges","linkInputChangesSubscription","allLinkChanges","isLinkActive","routerLinkActive","hasActiveLinks","ariaCurrentWhenActive","isActiveMatchOptions","isActiveCheckFn","PreloadingStrategy","PreloadAllModules","NoPreloading","RouterPreloader","preloadingStrategy","setUpPreloading","processRoutes","injectorForCurrentRoute","injectorForChildren","preloadConfig","loadedChildren$","recursiveLoadChildren$","loadComponent$","ROUTER_SCROLLER","RouterScroller","viewportScroller","lastId","lastSource","restoredId","scrollPositionRestoration","anchorScrolling","createScrollEvents","scrollEventsSubscription","consumeScrollEvents","scheduleScrollEvent","NavigationResult","FAILED","REDIRECTING","rootRoute","routerFeature","ROUTER_IS_PROVIDED","getBootstrapListener","bootstrappedComponentRef","bootstrapDone","BOOTSTRAP_DONE","INITIAL_NAVIGATION","ROUTER_PRELOADER","withEnabledBlockingInitialNavigation","locationInitialized","afterNextNavigation","withDebugTracing","stringifyEvent","groupEnd","withPreloading","ROUTER_FORROOT_GUARD","ROUTER_PROVIDERS","routerNgProbeToken","enableTracing","provideForRootGuard","useHash","provideInitialNavigation","ROUTER_INITIALIZER","nanoid","asyncGeneratorStep"],"sourceRoot":"webpack:///","sources":["./node_modules/@carbon/icon-helpers/es/index.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/add-comment.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/add.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/arrow--left.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/arrow--right.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/arrows--horizontal.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/camera.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/chart--line-smooth.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/chart--line.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/checkbox--checked.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/checkbox.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/checkmark--filled.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/chemistry.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/chevron--down.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/chevron--up.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/close--filled.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/close.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/collaborate.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/copy--file.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/copy.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/dashboard.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/data--base.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/data-vis--1.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/delete.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/document--view.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/download.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/drag--vertical.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/draggable.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/edit.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/education.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/email.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/error--filled.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/error.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/events--alt.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/face--dissatisfied.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/face--satisfied.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/face--wink.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/fade.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/filter.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/fingerprint-recognition.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/fit-to-screen.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/flow.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/folders.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/generate-pdf.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/help.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/home.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/idea.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/image.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/in-progress--error.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/in-progress--warning.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/in-progress.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/information--filled.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/information.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/launch.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/logo--twitter.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/machine-learning-model.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/migrate.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/network--1.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/network--2.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/network--3.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/notebook.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/object-storage.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/open-panel--filled--right.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/open-panel--right.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/pause--filled.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/pause--outline--filled.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/play--filled.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/renew.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/report.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/rocket.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/sankey-diagram.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/save.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/schematics.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/send.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/settings.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/share.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/skip--forward--outline--filled.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/star--filled.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/star.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/stop--filled.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/subtract.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/task--view.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/temperature--hot.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/text--creation.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/time.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/user--admin.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/user--avatar--filled--alt.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/user--multiple.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/user.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/video.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/view.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/visual-recognition.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/wallet.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/warning--alt--filled.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/warning--filled.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/warning.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/zoom--in.js","./node_modules/@carbon/icons-angular/__ivy_ngcc__/fesm5/zoom--out.js","./node_modules/@carbon/utils-position/index.js","./node_modules/@mpcheckout/checkout-cbr-library/built/getCbr.js","./node_modules/@mpcheckout/checkout-cbr-library/built/getCountryMappings.js","./node_modules/@mpcheckout/checkout-cbr-library/built/index.js","./node_modules/@mpcheckout/checkout-cbr-library/built/models/FormFields.js","./node_modules/@mpcheckout/checkout-cbr-library/built/models/ICountryMappings.js","./node_modules/@mpcheckout/checkout-cbr-library/built/models/ICountryRules.js","./node_modules/@mpcheckout/checkout-cbr-library/built/models/ISupportedLanguages.js","./node_modules/@mpcheckout/checkout-cbr-library/built/models/ITaxNumber1Settings.js","./node_modules/@mpcheckout/checkout-cbr-library/built/models/IVatSettings.js","./node_modules/@mpcheckout/checkout-cbr-library/built/models/index.js","./node_modules/@mpcheckout/payment-iframe/dist/payment-service.js","./node_modules/@stomp/rx-stomp/bundles/rx-stomp.umd.js","./node_modules/@stomp/stompjs/bundles/stomp.umd.js","./node_modules/carbon-components-angular/__ivy_ngcc__/fesm2015/carbon-components-angular-accordion.js","./node_modules/carbon-components-angular/__ivy_ngcc__/fesm2015/carbon-components-angular-breadcrumb.js","./node_modules/carbon-components-angular/__ivy_ngcc__/fesm2015/carbon-components-angular-button.js","./node_modules/carbon-components-angular/__ivy_ngcc__/fesm2015/carbon-components-angular-checkbox.js","./node_modules/carbon-components-angular/__ivy_ngcc__/fesm2015/carbon-components-angular-combobox.js","./node_modules/carbon-components-angular/__ivy_ngcc__/fesm2015/carbon-components-angular-common.js","./node_modules/carbon-components-angular/__ivy_ngcc__/fesm2015/carbon-components-angular-datepicker-input.js","./node_modules/carbon-components-angular/__ivy_ngcc__/fesm2015/carbon-components-angular-datepicker.js","./node_modules/carbon-components-angular/__ivy_ngcc__/fesm2015/carbon-components-angular-dialog.js","./node_modules/carbon-components-angular/__ivy_ngcc__/fesm2015/carbon-components-angular-dropdown.js","./node_modules/carbon-components-angular/__ivy_ngcc__/fesm2015/carbon-components-angular-experimental.js","./node_modules/carbon-components-angular/__ivy_ngcc__/fesm2015/carbon-components-angular-file-uploader.js","./node_modules/carbon-components-angular/__ivy_ngcc__/fesm2015/carbon-components-angular-grid.js","./node_modules/carbon-components-angular/__ivy_ngcc__/fesm2015/carbon-components-angular-i18n.js","./node_modules/carbon-components-angular/node_modules/@carbon/icon-helpers/es/index.js","./node_modules/@carbon/icons/es/add/16.js","./node_modules/@carbon/icons/es/add/20.js","./node_modules/@carbon/icons/es/bee/16.js","./node_modules/@carbon/icons/es/bee/20.js","./node_modules/@carbon/icons/es/calendar/16.js","./node_modules/@carbon/icons/es/carbon/16.js","./node_modules/@carbon/icons/es/carbon/20.js","./node_modules/@carbon/icons/es/caret--down/16.js","./node_modules/@carbon/icons/es/caret--left/16.js","./node_modules/@carbon/icons/es/caret--right/16.js","./node_modules/@carbon/icons/es/caret--up/16.js","./node_modules/@carbon/icons/es/checkmark/16.js","./node_modules/@carbon/icons/es/checkmark--filled/16.js","./node_modules/@carbon/icons/es/checkmark--filled/20.js","./node_modules/@carbon/icons/es/checkmark--outline/16.js","./node_modules/@carbon/icons/es/chevron--down/16.js","./node_modules/@carbon/icons/es/chevron--right/16.js","./node_modules/@carbon/icons/es/circle-dash/16.js","./node_modules/@carbon/icons/es/close/16.js","./node_modules/@carbon/icons/es/close/20.js","./node_modules/@carbon/icons/es/copy/16.js","./node_modules/@carbon/icons/es/copy/20.js","./node_modules/@carbon/icons/es/data--2/16.js","./node_modules/@carbon/icons/es/data--2/20.js","./node_modules/@carbon/icons/es/delete/16.js","./node_modules/@carbon/icons/es/document/16.js","./node_modules/@carbon/icons/es/document/20.js","./node_modules/@carbon/icons/es/download/16.js","./node_modules/@carbon/icons/es/error--filled/16.js","./node_modules/@carbon/icons/es/error--filled/20.js","./node_modules/@carbon/icons/es/fade/16.js","./node_modules/@carbon/icons/es/fade/20.js","./node_modules/@carbon/icons/es/incomplete/16.js","./node_modules/@carbon/icons/es/information--filled/16.js","./node_modules/@carbon/icons/es/information--filled/20.js","./node_modules/@carbon/icons/es/menu/16.js","./node_modules/@carbon/icons/es/menu/20.js","./node_modules/@carbon/icons/es/overflow-menu--vertical/16.js","./node_modules/@carbon/icons/es/overflow-menu--horizontal/16.js","./node_modules/@carbon/icons/es/save/16.js","./node_modules/@carbon/icons/es/search/16.js","./node_modules/@carbon/icons/es/settings/16.js","./node_modules/@carbon/icons/es/settings--adjust/16.js","./node_modules/@carbon/icons/es/subtract/16.js","./node_modules/@carbon/icons/es/warning/16.js","./node_modules/@carbon/icons/es/warning--filled/16.js","./node_modules/@carbon/icons/es/warning--filled/20.js","./node_modules/@carbon/icons/es/warning--alt--filled/16.js","./node_modules/carbon-components-angular/__ivy_ngcc__/fesm2015/carbon-components-angular-icon.js","./node_modules/carbon-components-angular/__ivy_ngcc__/fesm2015/carbon-components-angular-inline-loading.js","./node_modules/carbon-components-angular/__ivy_ngcc__/fesm2015/carbon-components-angular-input.js","./node_modules/carbon-components-angular/__ivy_ngcc__/fesm2015/carbon-components-angular-link.js","./node_modules/carbon-components-angular/__ivy_ngcc__/fesm2015/carbon-components-angular-list.js","./node_modules/carbon-components-angular/__ivy_ngcc__/fesm2015/carbon-components-angular-loading.js","./node_modules/carbon-components-angular/__ivy_ngcc__/fesm2015/carbon-components-angular-modal.js","./node_modules/carbon-components-angular/__ivy_ngcc__/fesm2015/carbon-components-angular-notification.js","./node_modules/carbon-components-angular/__ivy_ngcc__/fesm2015/carbon-components-angular-number-input.js","./node_modules/carbon-components-angular/__ivy_ngcc__/fesm2015/carbon-components-angular-pagination.js","./node_modules/carbon-components-angular/__ivy_ngcc__/fesm2015/carbon-components-angular-placeholder.js","./node_modules/carbon-components-angular/__ivy_ngcc__/fesm2015/carbon-components-angular-progress-bar.js","./node_modules/carbon-components-angular/__ivy_ngcc__/fesm2015/carbon-components-angular-progress-indicator.js","./node_modules/carbon-components-angular/__ivy_ngcc__/fesm2015/carbon-components-angular-radio.js","./node_modules/carbon-components-angular/__ivy_ngcc__/fesm2015/carbon-components-angular-search.js","./node_modules/carbon-components-angular/__ivy_ngcc__/fesm2015/carbon-components-angular-select.js","./node_modules/carbon-components-angular/__ivy_ngcc__/fesm2015/carbon-components-angular-skeleton.js","./node_modules/carbon-components-angular/__ivy_ngcc__/fesm2015/carbon-components-angular-slider.js","./node_modules/carbon-components-angular/__ivy_ngcc__/fesm2015/carbon-components-angular-structured-list.js","./node_modules/carbon-components-angular/__ivy_ngcc__/fesm2015/carbon-components-angular-forms.js","./node_modules/carbon-components-angular/__ivy_ngcc__/fesm2015/carbon-components-angular-table.js","./node_modules/carbon-components-angular/__ivy_ngcc__/fesm2015/carbon-components-angular-tabs.js","./node_modules/carbon-components-angular/__ivy_ngcc__/fesm2015/carbon-components-angular-tag.js","./node_modules/carbon-components-angular/__ivy_ngcc__/fesm2015/carbon-components-angular-tiles.js","./node_modules/carbon-components-angular/__ivy_ngcc__/fesm2015/carbon-components-angular-toggle.js","./node_modules/carbon-components-angular/__ivy_ngcc__/fesm2015/carbon-components-angular-ui-shell.js","./node_modules/carbon-components-angular/__ivy_ngcc__/fesm2015/carbon-components-angular-utils.js","./node_modules/carbon-components/es/globals/js/settings.js","./node_modules/carbon-components/es/globals/js/misc/mixin.js","./node_modules/carbon-components/es/globals/js/mixins/create-component.js","./node_modules/carbon-components/es/globals/js/mixins/init-component-by-search.js","./node_modules/carbon-components/es/globals/js/misc/on.js","./node_modules/carbon-components/es/globals/js/mixins/handles.js","./node_modules/carbon-components/es/globals/js/mixins/track-blur.js","./node_modules/carbon-components/es/globals/js/misc/event-matches.js","./node_modules/carbon-components/es/components/dropdown/dropdown.js","./node_modules/clientjs/dist/client.base.min.js","./node_modules/flatpickr/dist/flatpickr.js","./node_modules/flatpickr/dist/l10n/index.js","./node_modules/flatpickr/dist/plugins/rangePlugin.js","./node_modules/interactjs/dist/interact.min.js","./node_modules/jwt-decode/build/jwt-decode.esm.js","./node_modules/rxjs-compat/observable/of.js","./node_modules/rxjs/_esm2015/internal/scheduler/VirtualTimeScheduler.js","./node_modules/rxjs/_esm2015/internal/observable/bindCallback.js","./node_modules/rxjs/_esm2015/internal/observable/bindNodeCallback.js","./node_modules/rxjs/_esm2015/internal/observable/fromEventPattern.js","./node_modules/rxjs/_esm2015/internal/observable/generate.js","./node_modules/rxjs/_esm2015/internal/observable/never.js","./node_modules/rxjs/_esm2015/internal/observable/onErrorResumeNext.js","./node_modules/rxjs/_esm2015/internal/observable/pairs.js","./node_modules/rxjs/_esm2015/internal/observable/partition.js","./node_modules/rxjs/_esm2015/internal/observable/range.js","./node_modules/rxjs/_esm2015/internal/observable/using.js","./node_modules/rxjs/_esm2015/internal/AsyncSubject.js","./node_modules/rxjs/_esm2015/internal/BehaviorSubject.js","./node_modules/rxjs/_esm2015/internal/Notification.js","./node_modules/rxjs/_esm2015/internal/Observable.js","./node_modules/rxjs/_esm2015/internal/util/toSubscriber.js","./node_modules/rxjs/_esm2015/internal/Observer.js","./node_modules/rxjs/_esm2015/internal/OuterSubscriber.js","./node_modules/rxjs/_esm2015/internal/ReplaySubject.js","./node_modules/rxjs/_esm2015/internal/Scheduler.js","./node_modules/rxjs/_esm2015/internal/Subject.js","./node_modules/rxjs/_esm2015/internal/SubjectSubscription.js","./node_modules/rxjs/_esm2015/internal/Subscriber.js","./node_modules/rxjs/_esm2015/internal/Subscription.js","./node_modules/rxjs/_esm2015/internal/config.js","./node_modules/rxjs/_esm2015/internal/innerSubscribe.js","./node_modules/rxjs/_esm2015/internal/observable/ConnectableObservable.js","./node_modules/rxjs/_esm2015/internal/observable/combineLatest.js","./node_modules/rxjs/_esm2015/internal/observable/concat.js","./node_modules/rxjs/_esm2015/internal/observable/defer.js","./node_modules/rxjs/_esm2015/internal/observable/empty.js","./node_modules/rxjs/_esm2015/internal/observable/forkJoin.js","./node_modules/rxjs/_esm2015/internal/observable/from.js","./node_modules/rxjs/_esm2015/internal/observable/fromArray.js","./node_modules/rxjs/_esm2015/internal/observable/fromEvent.js","./node_modules/rxjs/_esm2015/internal/observable/iif.js","./node_modules/rxjs/_esm2015/internal/observable/interval.js","./node_modules/rxjs/_esm2015/internal/observable/merge.js","./node_modules/rxjs/_esm2015/internal/observable/of.js","./node_modules/rxjs/_esm2015/internal/observable/race.js","./node_modules/rxjs/_esm2015/internal/observable/throwError.js","./node_modules/rxjs/_esm2015/internal/observable/timer.js","./node_modules/rxjs/_esm2015/internal/observable/zip.js","./node_modules/rxjs/_esm2015/internal/operators/audit.js","./node_modules/rxjs/_esm2015/internal/operators/auditTime.js","./node_modules/rxjs/_esm2015/internal/operators/catchError.js","./node_modules/rxjs/_esm2015/internal/operators/concatAll.js","./node_modules/rxjs/_esm2015/internal/operators/concatMap.js","./node_modules/rxjs/_esm2015/internal/operators/debounceTime.js","./node_modules/rxjs/_esm2015/internal/operators/defaultIfEmpty.js","./node_modules/rxjs/_esm2015/internal/operators/delay.js","./node_modules/rxjs/_esm2015/internal/operators/delayWhen.js","./node_modules/rxjs/_esm2015/internal/operators/distinctUntilChanged.js","./node_modules/rxjs/_esm2015/internal/operators/filter.js","./node_modules/rxjs/_esm2015/internal/operators/finalize.js","./node_modules/rxjs/_esm2015/internal/operators/first.js","./node_modules/rxjs/_esm2015/internal/operators/groupBy.js","./node_modules/rxjs/_esm2015/internal/operators/last.js","./node_modules/rxjs/_esm2015/internal/operators/map.js","./node_modules/rxjs/_esm2015/internal/operators/mapTo.js","./node_modules/rxjs/_esm2015/internal/operators/mergeAll.js","./node_modules/rxjs/_esm2015/internal/operators/mergeMap.js","./node_modules/rxjs/_esm2015/internal/operators/multicast.js","./node_modules/rxjs/_esm2015/internal/operators/observeOn.js","./node_modules/rxjs/_esm2015/internal/operators/pairwise.js","./node_modules/rxjs/_esm2015/internal/operators/refCount.js","./node_modules/rxjs/_esm2015/internal/operators/repeatWhen.js","./node_modules/rxjs/_esm2015/internal/operators/retryWhen.js","./node_modules/rxjs/_esm2015/internal/operators/scan.js","./node_modules/rxjs/_esm2015/internal/operators/share.js","./node_modules/rxjs/_esm2015/internal/operators/shareReplay.js","./node_modules/rxjs/_esm2015/internal/operators/skip.js","./node_modules/rxjs/_esm2015/internal/operators/startWith.js","./node_modules/rxjs/_esm2015/internal/operators/switchMap.js","./node_modules/rxjs/_esm2015/internal/operators/switchMapTo.js","./node_modules/rxjs/_esm2015/internal/operators/take.js","./node_modules/rxjs/_esm2015/internal/operators/takeLast.js","./node_modules/rxjs/_esm2015/internal/operators/takeUntil.js","./node_modules/rxjs/_esm2015/internal/operators/takeWhile.js","./node_modules/rxjs/_esm2015/internal/operators/tap.js","./node_modules/rxjs/_esm2015/internal/operators/throwIfEmpty.js","./node_modules/rxjs/_esm2015/internal/operators/timeout.js","./node_modules/rxjs/_esm2015/internal/operators/timeoutWith.js","./node_modules/rxjs/_esm2015/internal/scheduled/scheduleArray.js","./node_modules/rxjs/_esm2015/internal/scheduled/scheduled.js","./node_modules/rxjs/_esm2015/internal/util/isInteropObservable.js","./node_modules/rxjs/_esm2015/internal/scheduled/scheduleObservable.js","./node_modules/rxjs/_esm2015/internal/scheduled/schedulePromise.js","./node_modules/rxjs/_esm2015/internal/util/isIterable.js","./node_modules/rxjs/_esm2015/internal/scheduled/scheduleIterable.js","./node_modules/rxjs/_esm2015/internal/scheduler/Action.js","./node_modules/rxjs/_esm2015/internal/scheduler/AsyncAction.js","./node_modules/rxjs/_esm2015/internal/scheduler/AsyncScheduler.js","./node_modules/rxjs/_esm2015/internal/scheduler/AnimationFrameAction.js","./node_modules/rxjs/_esm2015/internal/scheduler/AnimationFrameScheduler.js","./node_modules/rxjs/_esm2015/internal/scheduler/animationFrame.js","./node_modules/rxjs/_esm2015/internal/util/Immediate.js","./node_modules/rxjs/_esm2015/internal/scheduler/AsapAction.js","./node_modules/rxjs/_esm2015/internal/scheduler/AsapScheduler.js","./node_modules/rxjs/_esm2015/internal/scheduler/asap.js","./node_modules/rxjs/_esm2015/internal/scheduler/async.js","./node_modules/rxjs/_esm2015/internal/scheduler/QueueAction.js","./node_modules/rxjs/_esm2015/internal/scheduler/QueueScheduler.js","./node_modules/rxjs/_esm2015/internal/scheduler/queue.js","./node_modules/rxjs/_esm2015/internal/symbol/iterator.js","./node_modules/rxjs/_esm2015/internal/symbol/observable.js","./node_modules/rxjs/_esm2015/internal/symbol/rxSubscriber.js","./node_modules/rxjs/_esm2015/internal/util/ArgumentOutOfRangeError.js","./node_modules/rxjs/_esm2015/internal/util/EmptyError.js","./node_modules/rxjs/_esm2015/internal/util/ObjectUnsubscribedError.js","./node_modules/rxjs/_esm2015/internal/util/TimeoutError.js","./node_modules/rxjs/_esm2015/internal/util/UnsubscriptionError.js","./node_modules/rxjs/_esm2015/internal/util/canReportError.js","./node_modules/rxjs/_esm2015/internal/util/hostReportError.js","./node_modules/rxjs/_esm2015/internal/util/identity.js","./node_modules/rxjs/_esm2015/internal/util/isArray.js","./node_modules/rxjs/_esm2015/internal/util/isArrayLike.js","./node_modules/rxjs/_esm2015/internal/util/isDate.js","./node_modules/rxjs/_esm2015/internal/util/isFunction.js","./node_modules/rxjs/_esm2015/internal/util/isNumeric.js","./node_modules/rxjs/_esm2015/internal/util/isObject.js","./node_modules/rxjs/_esm2015/internal/util/isObservable.js","./node_modules/rxjs/_esm2015/internal/util/isPromise.js","./node_modules/rxjs/_esm2015/internal/util/isScheduler.js","./node_modules/rxjs/_esm2015/internal/util/noop.js","./node_modules/rxjs/_esm2015/internal/util/not.js","./node_modules/rxjs/_esm2015/internal/util/pipe.js","./node_modules/rxjs/_esm2015/internal/util/subscribeTo.js","./node_modules/rxjs/_esm2015/internal/util/subscribeToObservable.js","./node_modules/rxjs/_esm2015/internal/util/subscribeToPromise.js","./node_modules/rxjs/_esm2015/internal/util/subscribeToIterable.js","./node_modules/rxjs/_esm2015/internal/util/subscribeToArray.js","./node_modules/rxjs/_esm2015/internal/InnerSubscriber.js","./node_modules/rxjs/_esm2015/internal/util/subscribeToResult.js","./node_modules/rxjs/_esm2015/internal/operators/buffer.js","./node_modules/rxjs/_esm2015/internal/operators/bufferCount.js","./node_modules/rxjs/_esm2015/internal/operators/bufferTime.js","./node_modules/rxjs/_esm2015/internal/operators/bufferToggle.js","./node_modules/rxjs/_esm2015/internal/operators/bufferWhen.js","./node_modules/rxjs/_esm2015/internal/operators/combineAll.js","./node_modules/rxjs/_esm2015/internal/operators/combineLatest.js","./node_modules/rxjs/_esm2015/internal/operators/concat.js","./node_modules/rxjs/_esm2015/internal/operators/concatMapTo.js","./node_modules/rxjs/_esm2015/internal/operators/count.js","./node_modules/rxjs/_esm2015/internal/operators/debounce.js","./node_modules/rxjs/_esm2015/internal/operators/dematerialize.js","./node_modules/rxjs/_esm2015/internal/operators/distinct.js","./node_modules/rxjs/_esm2015/internal/operators/distinctUntilKeyChanged.js","./node_modules/rxjs/_esm2015/internal/operators/elementAt.js","./node_modules/rxjs/_esm2015/internal/operators/endWith.js","./node_modules/rxjs/_esm2015/internal/operators/every.js","./node_modules/rxjs/_esm2015/internal/operators/exhaust.js","./node_modules/rxjs/_esm2015/internal/operators/exhaustMap.js","./node_modules/rxjs/_esm2015/internal/operators/expand.js","./node_modules/rxjs/_esm2015/internal/operators/find.js","./node_modules/rxjs/_esm2015/internal/operators/findIndex.js","./node_modules/rxjs/_esm2015/internal/operators/ignoreElements.js","./node_modules/rxjs/_esm2015/internal/operators/isEmpty.js","./node_modules/rxjs/_esm2015/internal/operators/materialize.js","./node_modules/rxjs/_esm2015/internal/operators/reduce.js","./node_modules/rxjs/_esm2015/internal/operators/max.js","./node_modules/rxjs/_esm2015/internal/operators/merge.js","./node_modules/rxjs/_esm2015/internal/operators/mergeMapTo.js","./node_modules/rxjs/_esm2015/internal/operators/mergeScan.js","./node_modules/rxjs/_esm2015/internal/operators/min.js","./node_modules/rxjs/_esm2015/internal/operators/onErrorResumeNext.js","./node_modules/rxjs/_esm2015/internal/operators/partition.js","./node_modules/rxjs/_esm2015/internal/operators/pluck.js","./node_modules/rxjs/_esm2015/internal/operators/publish.js","./node_modules/rxjs/_esm2015/internal/operators/publishBehavior.js","./node_modules/rxjs/_esm2015/internal/operators/publishLast.js","./node_modules/rxjs/_esm2015/internal/operators/publishReplay.js","./node_modules/rxjs/_esm2015/internal/operators/race.js","./node_modules/rxjs/_esm2015/internal/operators/repeat.js","./node_modules/rxjs/_esm2015/internal/operators/retry.js","./node_modules/rxjs/_esm2015/internal/operators/sample.js","./node_modules/rxjs/_esm2015/internal/operators/sampleTime.js","./node_modules/rxjs/_esm2015/internal/operators/sequenceEqual.js","./node_modules/rxjs/_esm2015/internal/operators/single.js","./node_modules/rxjs/_esm2015/internal/operators/skipLast.js","./node_modules/rxjs/_esm2015/internal/operators/skipUntil.js","./node_modules/rxjs/_esm2015/internal/operators/skipWhile.js","./node_modules/rxjs/_esm2015/internal/observable/SubscribeOnObservable.js","./node_modules/rxjs/_esm2015/internal/operators/subscribeOn.js","./node_modules/rxjs/_esm2015/internal/operators/switchAll.js","./node_modules/rxjs/_esm2015/internal/operators/throttle.js","./node_modules/rxjs/_esm2015/internal/operators/throttleTime.js","./node_modules/rxjs/_esm2015/internal/operators/timeInterval.js","./node_modules/rxjs/_esm2015/internal/operators/timestamp.js","./node_modules/rxjs/_esm2015/internal/operators/toArray.js","./node_modules/rxjs/_esm2015/internal/operators/window.js","./node_modules/rxjs/_esm2015/internal/operators/windowCount.js","./node_modules/rxjs/_esm2015/internal/operators/windowTime.js","./node_modules/rxjs/_esm2015/internal/operators/windowToggle.js","./node_modules/rxjs/_esm2015/internal/operators/windowWhen.js","./node_modules/rxjs/_esm2015/internal/operators/withLatestFrom.js","./node_modules/rxjs/_esm2015/internal/operators/zip.js","./node_modules/rxjs/_esm2015/internal/operators/zipAll.js","./node_modules/rxjs/observable/of.js","./node_modules/tslib/tslib.es6.js","./node_modules/@angular/cdk/fesm2020/coercion.mjs","./node_modules/@angular/cdk/fesm2020/bidi.mjs","./node_modules/@angular/cdk/fesm2020/collections.mjs","./node_modules/@angular/cdk/fesm2020/scrolling.mjs","./node_modules/@angular/cdk/fesm2020/observers.mjs","./node_modules/@angular/cdk/fesm2020/a11y.mjs","./node_modules/@angular/cdk/fesm2020/keycodes.mjs","./node_modules/@angular/cdk/fesm2020/drag-drop.mjs","./node_modules/@angular/cdk/fesm2020/layout.mjs","./node_modules/@angular/cdk/fesm2020/platform.mjs","./node_modules/@angular/common/fesm2020/common.mjs","./node_modules/@angular/common/fesm2020/http.mjs","./node_modules/@angular/core/fesm2020/core.mjs","./node_modules/@angular/forms/fesm2020/forms.mjs","./node_modules/@angular/platform-browser/fesm2020/platform-browser.mjs","./node_modules/@angular/router/fesm2020/router.mjs","./node_modules/nanoid/index.browser.js","./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js"],"sourcesContent":["function _defineProperty(obj, key, value) {\n  if (key in obj) {\n    Object.defineProperty(obj, key, {\n      value: value,\n      enumerable: true,\n      configurable: true,\n      writable: true\n    });\n  } else {\n    obj[key] = value;\n  }\n\n  return obj;\n}\n\nfunction ownKeys(object, enumerableOnly) {\n  var keys = Object.keys(object);\n\n  if (Object.getOwnPropertySymbols) {\n    var symbols = Object.getOwnPropertySymbols(object);\n    if (enumerableOnly) symbols = symbols.filter(function (sym) {\n      return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n    });\n    keys.push.apply(keys, symbols);\n  }\n\n  return keys;\n}\n\nfunction _objectSpread2(target) {\n  for (var i = 1; i < arguments.length; i++) {\n    var source = arguments[i] != null ? arguments[i] : {};\n\n    if (i % 2) {\n      ownKeys(Object(source), true).forEach(function (key) {\n        _defineProperty(target, key, source[key]);\n      });\n    } else if (Object.getOwnPropertyDescriptors) {\n      Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));\n    } else {\n      ownKeys(Object(source)).forEach(function (key) {\n        Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n      });\n    }\n  }\n\n  return target;\n}\n\nfunction _objectWithoutPropertiesLoose(source, excluded) {\n  if (source == null) return {};\n  var target = {};\n  var sourceKeys = Object.keys(source);\n  var key, i;\n\n  for (i = 0; i < sourceKeys.length; i++) {\n    key = sourceKeys[i];\n    if (excluded.indexOf(key) >= 0) continue;\n    target[key] = source[key];\n  }\n\n  return target;\n}\n\nfunction _objectWithoutProperties(source, excluded) {\n  if (source == null) return {};\n\n  var target = _objectWithoutPropertiesLoose(source, excluded);\n\n  var key, i;\n\n  if (Object.getOwnPropertySymbols) {\n    var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n\n    for (i = 0; i < sourceSymbolKeys.length; i++) {\n      key = sourceSymbolKeys[i];\n      if (excluded.indexOf(key) >= 0) continue;\n      if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n      target[key] = source[key];\n    }\n  }\n\n  return target;\n}\n\n/**\n * Copyright IBM Corp. 2018, 2018\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\nvar defaultAttributes = {\n  // Reference:\n  // https://github.com/IBM/carbon-components-react/issues/1392\n  // https://github.com/PolymerElements/iron-iconset-svg/pull/47\n  // `focusable` is a string attribute which is why we do not use a boolean here\n  focusable: 'false',\n  preserveAspectRatio: 'xMidYMid meet'\n};\n/**\n * Get supplementary HTML attributes for a given <svg> element based on existing\n * attributes.\n */\n\nfunction getAttributes() {\n  var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n      width = _ref.width,\n      height = _ref.height,\n      _ref$viewBox = _ref.viewBox,\n      viewBox = _ref$viewBox === void 0 ? \"0 0 \".concat(width, \" \").concat(height) : _ref$viewBox,\n      attributes = _objectWithoutProperties(_ref, [\"width\", \"height\", \"viewBox\"]);\n\n  var tabindex = attributes.tabindex,\n      rest = _objectWithoutProperties(attributes, [\"tabindex\"]);\n\n  var iconAttributes = _objectSpread2({}, defaultAttributes, {}, rest, {\n    width: width,\n    height: height,\n    viewBox: viewBox\n  }); // TODO: attributes.title assumes that the consumer will implement <title> and\n  // correctly set `aria-labelledby`.\n\n\n  if (iconAttributes['aria-label'] || iconAttributes['aria-labelledby'] || iconAttributes.title) {\n    iconAttributes.role = 'img'; // Reference:\n    // https://allyjs.io/tutorials/focusing-in-svg.html\n\n    if (tabindex !== undefined && tabindex !== null) {\n      iconAttributes.focusable = 'true';\n      iconAttributes.tabindex = tabindex;\n    }\n  } else {\n    iconAttributes['aria-hidden'] = true;\n  }\n\n  return iconAttributes;\n}\n\n/**\n * Copyright IBM Corp. 2018, 2018\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n/**\n * Convert an icon descriptor to a String\n */\n\nfunction toString(descriptor) {\n  var _descriptor$elem = descriptor.elem,\n      elem = _descriptor$elem === void 0 ? 'svg' : _descriptor$elem,\n      _descriptor$attrs = descriptor.attrs,\n      attrs = _descriptor$attrs === void 0 ? {} : _descriptor$attrs,\n      _descriptor$content = descriptor.content,\n      content = _descriptor$content === void 0 ? [] : _descriptor$content;\n  var children = content.map(toString).join('');\n\n  if (elem !== 'svg') {\n    return \"<\".concat(elem, \" \").concat(formatAttributes(attrs), \">\").concat(children, \"</\").concat(elem, \">\");\n  }\n\n  return \"<\".concat(elem, \" \").concat(formatAttributes(getAttributes(attrs)), \">\").concat(children, \"</\").concat(elem, \">\");\n}\nfunction formatAttributes(attrs) {\n  return Object.keys(attrs).reduce(function (acc, key, index) {\n    var attribute = \"\".concat(key, \"=\\\"\").concat(attrs[key], \"\\\"\");\n\n    if (index === 0) {\n      return attribute;\n    }\n\n    return acc + ' ' + attribute;\n  }, '');\n}\n\n/**\n * Copyright IBM Corp. 2018, 2018\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n/**\n * Convert an icon descriptor to a DOM node.\n */\n\nfunction toSVG(descriptor) {\n  var _descriptor$elem = descriptor.elem,\n      elem = _descriptor$elem === void 0 ? 'svg' : _descriptor$elem,\n      _descriptor$attrs = descriptor.attrs,\n      attrs = _descriptor$attrs === void 0 ? {} : _descriptor$attrs,\n      _descriptor$content = descriptor.content,\n      content = _descriptor$content === void 0 ? [] : _descriptor$content;\n  var node = document.createElementNS('http://www.w3.org/2000/svg', elem);\n  var attributes = elem !== 'svg' ? attrs : getAttributes(attrs);\n  Object.keys(attributes).forEach(function (key) {\n    node.setAttribute(key, attrs[key]);\n  });\n\n  for (var i = 0; i < content.length; i++) {\n    node.appendChild(toSVG(content[i]));\n  }\n\n  return node;\n}\n\n/**\n * Copyright IBM Corp. 2018, 2018\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nexport { defaultAttributes, getAttributes, formatAttributes, toString, toSVG };\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar AddCommentComponent = /** @class */ (function () {\n    function AddCommentComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], AddCommentComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], AddCommentComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], AddCommentComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], AddCommentComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], AddCommentComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], AddCommentComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], AddCommentComponent.prototype, \"size\", void 0);\nAddCommentComponent.ɵfac = function AddCommentComponent_Factory(t) { return new (t || AddCommentComponent)(); };\nAddCommentComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: AddCommentComponent, selectors: [[\"ibm-icon-add-comment\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconAddComment\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function AddCommentComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [AddCommentDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(AddCommentComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-add-comment\",\n                template: \"\\n    <svg\\n      ibmIconAddComment\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return AddCommentComponent;\n}());\nvar AddCommentDirective = /** @class */ (function () {\n    function AddCommentDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"AddComment32\", \"filepath\": \"add-comment/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M17.74,30,16,29l4-7h6a2,2,0,0,0,2-2V8a2,2,0,0,0-2-2H6A2,2,0,0,0,4,8V20a2,2,0,0,0,2,2h9v2H6a4,4,0,0,1-4-4V8A4,4,0,0,1,6,4H26a4,4,0,0,1,4,4V20a4,4,0,0,1-4,4H21.16Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M17 9L15 9 15 13 11 13 11 15 15 15 15 19 17 19 17 15 21 15 21 13 17 13 17 9z\" } }], \"name\": \"add-comment\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M17.74,30,16,29l4-7h6a2,2,0,0,0,2-2V8a2,2,0,0,0-2-2H6A2,2,0,0,0,4,8V20a2,2,0,0,0,2,2h9v2H6a4,4,0,0,1-4-4V8A4,4,0,0,1,6,4H26a4,4,0,0,1,4,4V20a4,4,0,0,1-4,4H21.16Z\\\"></path><path d=\\\"M17 9L15 9 15 13 11 13 11 15 15 15 15 19 17 19 17 15 21 15 21 13 17 13 17 9z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"AddComment24\", \"filepath\": \"add-comment/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M17.74,30,16,29l4-7h6a2,2,0,0,0,2-2V8a2,2,0,0,0-2-2H6A2,2,0,0,0,4,8V20a2,2,0,0,0,2,2h9v2H6a4,4,0,0,1-4-4V8A4,4,0,0,1,6,4H26a4,4,0,0,1,4,4V20a4,4,0,0,1-4,4H21.16Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M17 9L15 9 15 13 11 13 11 15 15 15 15 19 17 19 17 15 21 15 21 13 17 13 17 9z\" } }], \"name\": \"add-comment\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M17.74,30,16,29l4-7h6a2,2,0,0,0,2-2V8a2,2,0,0,0-2-2H6A2,2,0,0,0,4,8V20a2,2,0,0,0,2,2h9v2H6a4,4,0,0,1-4-4V8A4,4,0,0,1,6,4H26a4,4,0,0,1,4,4V20a4,4,0,0,1-4,4H21.16Z\\\"></path><path d=\\\"M17 9L15 9 15 13 11 13 11 15 15 15 15 19 17 19 17 15 21 15 21 13 17 13 17 9z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"AddComment20\", \"filepath\": \"add-comment/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M17.74,30,16,29l4-7h6a2,2,0,0,0,2-2V8a2,2,0,0,0-2-2H6A2,2,0,0,0,4,8V20a2,2,0,0,0,2,2h9v2H6a4,4,0,0,1-4-4V8A4,4,0,0,1,6,4H26a4,4,0,0,1,4,4V20a4,4,0,0,1-4,4H21.16Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M17 9L15 9 15 13 11 13 11 15 15 15 15 19 17 19 17 15 21 15 21 13 17 13 17 9z\" } }], \"name\": \"add-comment\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M17.74,30,16,29l4-7h6a2,2,0,0,0,2-2V8a2,2,0,0,0-2-2H6A2,2,0,0,0,4,8V20a2,2,0,0,0,2,2h9v2H6a4,4,0,0,1-4-4V8A4,4,0,0,1,6,4H26a4,4,0,0,1,4,4V20a4,4,0,0,1-4,4H21.16Z\\\"></path><path d=\\\"M17 9L15 9 15 13 11 13 11 15 15 15 15 19 17 19 17 15 21 15 21 13 17 13 17 9z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"AddComment16\", \"filepath\": \"add-comment/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M17.74,30,16,29l4-7h6a2,2,0,0,0,2-2V8a2,2,0,0,0-2-2H6A2,2,0,0,0,4,8V20a2,2,0,0,0,2,2h9v2H6a4,4,0,0,1-4-4V8A4,4,0,0,1,6,4H26a4,4,0,0,1,4,4V20a4,4,0,0,1-4,4H21.16Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M17 9L15 9 15 13 11 13 11 15 15 15 15 19 17 19 17 15 21 15 21 13 17 13 17 9z\" } }], \"name\": \"add-comment\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M17.74,30,16,29l4-7h6a2,2,0,0,0,2-2V8a2,2,0,0,0-2-2H6A2,2,0,0,0,4,8V20a2,2,0,0,0,2,2h9v2H6a4,4,0,0,1-4-4V8A4,4,0,0,1,6,4H26a4,4,0,0,1,4,4V20a4,4,0,0,1-4,4H21.16Z\\\"></path><path d=\\\"M17 9L15 9 15 13 11 13 11 15 15 15 15 19 17 19 17 15 21 15 21 13 17 13 17 9z\\\"></path></svg>\"\n            },\n        };\n    }\n    AddCommentDirective_1 = AddCommentDirective;\n    AddCommentDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            AddCommentDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"add-comment-\" + AddCommentDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"add-comment-\" + AddCommentDirective_1.titleIdCounter);\n        }\n    };\n    var AddCommentDirective_1;\n    AddCommentDirective.titleIdCounter = 0;\n    AddCommentDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], AddCommentDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], AddCommentDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], AddCommentDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], AddCommentDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], AddCommentDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], AddCommentDirective.prototype, \"size\", void 0);\n    AddCommentDirective = AddCommentDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], AddCommentDirective);\nAddCommentDirective.ɵfac = function AddCommentDirective_Factory(t) { return new (t || AddCommentDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nAddCommentDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: AddCommentDirective, selectors: [[\"\", \"ibmIconAddComment\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(AddCommentDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconAddComment]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return AddCommentDirective;\n}());\nvar AddCommentModule = /** @class */ (function () {\n    function AddCommentModule() {\n    }\nAddCommentModule.ɵfac = function AddCommentModule_Factory(t) { return new (t || AddCommentModule)(); };\nAddCommentModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: AddCommentModule });\nAddCommentModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(AddCommentModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    AddCommentComponent,\n                    AddCommentDirective,\n                ],\n                exports: [\n                    AddCommentComponent,\n                    AddCommentDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(AddCommentModule, { declarations: [AddCommentComponent, AddCommentDirective], exports: [AddCommentComponent, AddCommentDirective] }); })();\n    return AddCommentModule;\n}());\n\nexport { AddCommentComponent, AddCommentDirective, AddCommentModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar AddComponent = /** @class */ (function () {\n    function AddComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], AddComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], AddComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], AddComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], AddComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], AddComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], AddComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], AddComponent.prototype, \"size\", void 0);\nAddComponent.ɵfac = function AddComponent_Factory(t) { return new (t || AddComponent)(); };\nAddComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: AddComponent, selectors: [[\"ibm-icon-add\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconAdd\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function AddComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [AddDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(AddComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-add\",\n                template: \"\\n    <svg\\n      ibmIconAdd\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return AddComponent;\n}());\nvar AddDirective = /** @class */ (function () {\n    function AddDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"Add32\", \"filepath\": \"add/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M17 15L17 8 15 8 15 15 8 15 8 17 15 17 15 24 17 24 17 17 24 17 24 15z\" } }], \"name\": \"add\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M17 15L17 8 15 8 15 15 8 15 8 17 15 17 15 24 17 24 17 17 24 17 24 15z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"Add24\", \"filepath\": \"add/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M17 15L17 8 15 8 15 15 8 15 8 17 15 17 15 24 17 24 17 17 24 17 24 15z\" } }], \"name\": \"add\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M17 15L17 8 15 8 15 15 8 15 8 17 15 17 15 24 17 24 17 17 24 17 24 15z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"Add20\", \"filepath\": \"add/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M17 15L17 8 15 8 15 15 8 15 8 17 15 17 15 24 17 24 17 17 24 17 24 15z\" } }], \"name\": \"add\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M17 15L17 8 15 8 15 15 8 15 8 17 15 17 15 24 17 24 17 17 24 17 24 15z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"Add16\", \"filepath\": \"add/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M17 15L17 8 15 8 15 15 8 15 8 17 15 17 15 24 17 24 17 17 24 17 24 15z\" } }], \"name\": \"add\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M17 15L17 8 15 8 15 15 8 15 8 17 15 17 15 24 17 24 17 17 24 17 24 15z\\\"></path></svg>\"\n            },\n        };\n    }\n    AddDirective_1 = AddDirective;\n    AddDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            AddDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"add-\" + AddDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"add-\" + AddDirective_1.titleIdCounter);\n        }\n    };\n    var AddDirective_1;\n    AddDirective.titleIdCounter = 0;\n    AddDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], AddDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], AddDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], AddDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], AddDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], AddDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], AddDirective.prototype, \"size\", void 0);\n    AddDirective = AddDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], AddDirective);\nAddDirective.ɵfac = function AddDirective_Factory(t) { return new (t || AddDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nAddDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: AddDirective, selectors: [[\"\", \"ibmIconAdd\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(AddDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconAdd]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return AddDirective;\n}());\nvar AddModule = /** @class */ (function () {\n    function AddModule() {\n    }\nAddModule.ɵfac = function AddModule_Factory(t) { return new (t || AddModule)(); };\nAddModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: AddModule });\nAddModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(AddModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    AddComponent,\n                    AddDirective,\n                ],\n                exports: [\n                    AddComponent,\n                    AddDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(AddModule, { declarations: [AddComponent, AddDirective], exports: [AddComponent, AddDirective] }); })();\n    return AddModule;\n}());\n\nexport { AddComponent, AddDirective, AddModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar ArrowLeftComponent = /** @class */ (function () {\n    function ArrowLeftComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ArrowLeftComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ArrowLeftComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], ArrowLeftComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ArrowLeftComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], ArrowLeftComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ArrowLeftComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ArrowLeftComponent.prototype, \"size\", void 0);\nArrowLeftComponent.ɵfac = function ArrowLeftComponent_Factory(t) { return new (t || ArrowLeftComponent)(); };\nArrowLeftComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: ArrowLeftComponent, selectors: [[\"ibm-icon-arrow-left\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconArrowLeft\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function ArrowLeftComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [ArrowLeftDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ArrowLeftComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-arrow-left\",\n                template: \"\\n    <svg\\n      ibmIconArrowLeft\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return ArrowLeftComponent;\n}());\nvar ArrowLeftDirective = /** @class */ (function () {\n    function ArrowLeftDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"ArrowLeft32\", \"filepath\": \"arrow--left/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M13 26L14.41 24.59 6.83 17 29 17 29 15 6.83 15 14.41 7.41 13 6 3 16 13 26z\" } }], \"name\": \"arrow--left\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M13 26L14.41 24.59 6.83 17 29 17 29 15 6.83 15 14.41 7.41 13 6 3 16 13 26z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"ArrowLeft24\", \"filepath\": \"arrow--left/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M13 26L14.41 24.59 6.83 17 29 17 29 15 6.83 15 14.41 7.41 13 6 3 16 13 26z\" } }], \"name\": \"arrow--left\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M13 26L14.41 24.59 6.83 17 29 17 29 15 6.83 15 14.41 7.41 13 6 3 16 13 26z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"ArrowLeft20\", \"filepath\": \"arrow--left/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M13 26L14.41 24.59 6.83 17 29 17 29 15 6.83 15 14.41 7.41 13 6 3 16 13 26z\" } }], \"name\": \"arrow--left\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M13 26L14.41 24.59 6.83 17 29 17 29 15 6.83 15 14.41 7.41 13 6 3 16 13 26z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"ArrowLeft16\", \"filepath\": \"arrow--left/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 16 16\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M6.7 12.3L2.9 8.5 15 8.5 15 7.5 2.9 7.5 6.7 3.7 6 3 1 8 6 13z\" } }], \"name\": \"arrow--left\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\" aria-hidden=\\\"true\\\"><path d=\\\"M6.7 12.3L2.9 8.5 15 8.5 15 7.5 2.9 7.5 6.7 3.7 6 3 1 8 6 13z\\\"></path></svg>\"\n            },\n        };\n    }\n    ArrowLeftDirective_1 = ArrowLeftDirective;\n    ArrowLeftDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            ArrowLeftDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"arrow-left-\" + ArrowLeftDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"arrow-left-\" + ArrowLeftDirective_1.titleIdCounter);\n        }\n    };\n    var ArrowLeftDirective_1;\n    ArrowLeftDirective.titleIdCounter = 0;\n    ArrowLeftDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ArrowLeftDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ArrowLeftDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], ArrowLeftDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ArrowLeftDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], ArrowLeftDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ArrowLeftDirective.prototype, \"size\", void 0);\n    ArrowLeftDirective = ArrowLeftDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], ArrowLeftDirective);\nArrowLeftDirective.ɵfac = function ArrowLeftDirective_Factory(t) { return new (t || ArrowLeftDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nArrowLeftDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: ArrowLeftDirective, selectors: [[\"\", \"ibmIconArrowLeft\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ArrowLeftDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconArrowLeft]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return ArrowLeftDirective;\n}());\nvar ArrowLeftModule = /** @class */ (function () {\n    function ArrowLeftModule() {\n    }\nArrowLeftModule.ɵfac = function ArrowLeftModule_Factory(t) { return new (t || ArrowLeftModule)(); };\nArrowLeftModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: ArrowLeftModule });\nArrowLeftModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ArrowLeftModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    ArrowLeftComponent,\n                    ArrowLeftDirective,\n                ],\n                exports: [\n                    ArrowLeftComponent,\n                    ArrowLeftDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(ArrowLeftModule, { declarations: [ArrowLeftComponent, ArrowLeftDirective], exports: [ArrowLeftComponent, ArrowLeftDirective] }); })();\n    return ArrowLeftModule;\n}());\n\nexport { ArrowLeftComponent, ArrowLeftDirective, ArrowLeftModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar ArrowRightComponent = /** @class */ (function () {\n    function ArrowRightComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ArrowRightComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ArrowRightComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], ArrowRightComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ArrowRightComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], ArrowRightComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ArrowRightComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ArrowRightComponent.prototype, \"size\", void 0);\nArrowRightComponent.ɵfac = function ArrowRightComponent_Factory(t) { return new (t || ArrowRightComponent)(); };\nArrowRightComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: ArrowRightComponent, selectors: [[\"ibm-icon-arrow-right\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconArrowRight\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function ArrowRightComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [ArrowRightDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ArrowRightComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-arrow-right\",\n                template: \"\\n    <svg\\n      ibmIconArrowRight\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return ArrowRightComponent;\n}());\nvar ArrowRightDirective = /** @class */ (function () {\n    function ArrowRightDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"ArrowRight32\", \"filepath\": \"arrow--right/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M18 6L16.6 7.4 24.1 15 3 15 3 17 24.1 17 16.6 24.6 18 26 28 16z\" } }], \"name\": \"arrow--right\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M18 6L16.6 7.4 24.1 15 3 15 3 17 24.1 17 16.6 24.6 18 26 28 16z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"ArrowRight24\", \"filepath\": \"arrow--right/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 24 24\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M14 4L12.9 5.1 18.9 11.2 2 11.2 2 12.8 18.9 12.8 12.9 18.9 14 20 22 12z\" } }], \"name\": \"arrow--right\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" aria-hidden=\\\"true\\\"><path d=\\\"M14 4L12.9 5.1 18.9 11.2 2 11.2 2 12.8 18.9 12.8 12.9 18.9 14 20 22 12z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"ArrowRight20\", \"filepath\": \"arrow--right/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 20 20\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M11.8 2.8L10.8 3.8 16.2 9.3 1 9.3 1 10.7 16.2 10.7 10.8 16.2 11.8 17.2 19 10z\" } }], \"name\": \"arrow--right\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 20 20\\\" aria-hidden=\\\"true\\\"><path d=\\\"M11.8 2.8L10.8 3.8 16.2 9.3 1 9.3 1 10.7 16.2 10.7 10.8 16.2 11.8 17.2 19 10z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"ArrowRight16\", \"filepath\": \"arrow--right/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 16 16\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M9.3 3.7L13.1 7.5 1 7.5 1 8.5 13.1 8.5 9.3 12.3 10 13 15 8 10 3z\" } }], \"name\": \"arrow--right\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\" aria-hidden=\\\"true\\\"><path d=\\\"M9.3 3.7L13.1 7.5 1 7.5 1 8.5 13.1 8.5 9.3 12.3 10 13 15 8 10 3z\\\"></path></svg>\"\n            },\n        };\n    }\n    ArrowRightDirective_1 = ArrowRightDirective;\n    ArrowRightDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            ArrowRightDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"arrow-right-\" + ArrowRightDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"arrow-right-\" + ArrowRightDirective_1.titleIdCounter);\n        }\n    };\n    var ArrowRightDirective_1;\n    ArrowRightDirective.titleIdCounter = 0;\n    ArrowRightDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ArrowRightDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ArrowRightDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], ArrowRightDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ArrowRightDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], ArrowRightDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ArrowRightDirective.prototype, \"size\", void 0);\n    ArrowRightDirective = ArrowRightDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], ArrowRightDirective);\nArrowRightDirective.ɵfac = function ArrowRightDirective_Factory(t) { return new (t || ArrowRightDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nArrowRightDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: ArrowRightDirective, selectors: [[\"\", \"ibmIconArrowRight\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ArrowRightDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconArrowRight]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return ArrowRightDirective;\n}());\nvar ArrowRightModule = /** @class */ (function () {\n    function ArrowRightModule() {\n    }\nArrowRightModule.ɵfac = function ArrowRightModule_Factory(t) { return new (t || ArrowRightModule)(); };\nArrowRightModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: ArrowRightModule });\nArrowRightModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ArrowRightModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    ArrowRightComponent,\n                    ArrowRightDirective,\n                ],\n                exports: [\n                    ArrowRightComponent,\n                    ArrowRightDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(ArrowRightModule, { declarations: [ArrowRightComponent, ArrowRightDirective], exports: [ArrowRightComponent, ArrowRightDirective] }); })();\n    return ArrowRightModule;\n}());\n\nexport { ArrowRightComponent, ArrowRightDirective, ArrowRightModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar ArrowsHorizontalComponent = /** @class */ (function () {\n    function ArrowsHorizontalComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ArrowsHorizontalComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ArrowsHorizontalComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], ArrowsHorizontalComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ArrowsHorizontalComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], ArrowsHorizontalComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ArrowsHorizontalComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ArrowsHorizontalComponent.prototype, \"size\", void 0);\nArrowsHorizontalComponent.ɵfac = function ArrowsHorizontalComponent_Factory(t) { return new (t || ArrowsHorizontalComponent)(); };\nArrowsHorizontalComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: ArrowsHorizontalComponent, selectors: [[\"ibm-icon-arrows-horizontal\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconArrowsHorizontal\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function ArrowsHorizontalComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [ArrowsHorizontalDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ArrowsHorizontalComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-arrows-horizontal\",\n                template: \"\\n    <svg\\n      ibmIconArrowsHorizontal\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return ArrowsHorizontalComponent;\n}());\nvar ArrowsHorizontalDirective = /** @class */ (function () {\n    function ArrowsHorizontalDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"ArrowsHorizontal32\", \"filepath\": \"arrows--horizontal/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M11.41 26.59L7.83 23 28 23 28 21 7.83 21 11.41 17.41 10 16 4 22 10 28 11.41 26.59zM28 10L22 4 20.59 5.41 24.17 9 4 9 4 11 24.17 11 20.59 14.59 22 16 28 10z\" } }], \"name\": \"arrows--horizontal\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M11.41 26.59L7.83 23 28 23 28 21 7.83 21 11.41 17.41 10 16 4 22 10 28 11.41 26.59zM28 10L22 4 20.59 5.41 24.17 9 4 9 4 11 24.17 11 20.59 14.59 22 16 28 10z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"ArrowsHorizontal24\", \"filepath\": \"arrows--horizontal/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M11.41 26.59L7.83 23 28 23 28 21 7.83 21 11.41 17.41 10 16 4 22 10 28 11.41 26.59zM28 10L22 4 20.59 5.41 24.17 9 4 9 4 11 24.17 11 20.59 14.59 22 16 28 10z\" } }], \"name\": \"arrows--horizontal\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M11.41 26.59L7.83 23 28 23 28 21 7.83 21 11.41 17.41 10 16 4 22 10 28 11.41 26.59zM28 10L22 4 20.59 5.41 24.17 9 4 9 4 11 24.17 11 20.59 14.59 22 16 28 10z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"ArrowsHorizontal20\", \"filepath\": \"arrows--horizontal/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M11.41 26.59L7.83 23 28 23 28 21 7.83 21 11.41 17.41 10 16 4 22 10 28 11.41 26.59zM28 10L22 4 20.59 5.41 24.17 9 4 9 4 11 24.17 11 20.59 14.59 22 16 28 10z\" } }], \"name\": \"arrows--horizontal\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M11.41 26.59L7.83 23 28 23 28 21 7.83 21 11.41 17.41 10 16 4 22 10 28 11.41 26.59zM28 10L22 4 20.59 5.41 24.17 9 4 9 4 11 24.17 11 20.59 14.59 22 16 28 10z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"ArrowsHorizontal16\", \"filepath\": \"arrows--horizontal/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M11.41 26.59L7.83 23 28 23 28 21 7.83 21 11.41 17.41 10 16 4 22 10 28 11.41 26.59zM28 10L22 4 20.59 5.41 24.17 9 4 9 4 11 24.17 11 20.59 14.59 22 16 28 10z\" } }], \"name\": \"arrows--horizontal\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M11.41 26.59L7.83 23 28 23 28 21 7.83 21 11.41 17.41 10 16 4 22 10 28 11.41 26.59zM28 10L22 4 20.59 5.41 24.17 9 4 9 4 11 24.17 11 20.59 14.59 22 16 28 10z\\\"></path></svg>\"\n            },\n        };\n    }\n    ArrowsHorizontalDirective_1 = ArrowsHorizontalDirective;\n    ArrowsHorizontalDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            ArrowsHorizontalDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"arrows-horizontal-\" + ArrowsHorizontalDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"arrows-horizontal-\" + ArrowsHorizontalDirective_1.titleIdCounter);\n        }\n    };\n    var ArrowsHorizontalDirective_1;\n    ArrowsHorizontalDirective.titleIdCounter = 0;\n    ArrowsHorizontalDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ArrowsHorizontalDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ArrowsHorizontalDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], ArrowsHorizontalDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ArrowsHorizontalDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], ArrowsHorizontalDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ArrowsHorizontalDirective.prototype, \"size\", void 0);\n    ArrowsHorizontalDirective = ArrowsHorizontalDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], ArrowsHorizontalDirective);\nArrowsHorizontalDirective.ɵfac = function ArrowsHorizontalDirective_Factory(t) { return new (t || ArrowsHorizontalDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nArrowsHorizontalDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: ArrowsHorizontalDirective, selectors: [[\"\", \"ibmIconArrowsHorizontal\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ArrowsHorizontalDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconArrowsHorizontal]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return ArrowsHorizontalDirective;\n}());\nvar ArrowsHorizontalModule = /** @class */ (function () {\n    function ArrowsHorizontalModule() {\n    }\nArrowsHorizontalModule.ɵfac = function ArrowsHorizontalModule_Factory(t) { return new (t || ArrowsHorizontalModule)(); };\nArrowsHorizontalModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: ArrowsHorizontalModule });\nArrowsHorizontalModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ArrowsHorizontalModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    ArrowsHorizontalComponent,\n                    ArrowsHorizontalDirective,\n                ],\n                exports: [\n                    ArrowsHorizontalComponent,\n                    ArrowsHorizontalDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(ArrowsHorizontalModule, { declarations: [ArrowsHorizontalComponent, ArrowsHorizontalDirective], exports: [ArrowsHorizontalComponent, ArrowsHorizontalDirective] }); })();\n    return ArrowsHorizontalModule;\n}());\n\nexport { ArrowsHorizontalComponent, ArrowsHorizontalDirective, ArrowsHorizontalModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar CameraComponent = /** @class */ (function () {\n    function CameraComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CameraComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CameraComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], CameraComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CameraComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], CameraComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CameraComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CameraComponent.prototype, \"size\", void 0);\nCameraComponent.ɵfac = function CameraComponent_Factory(t) { return new (t || CameraComponent)(); };\nCameraComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: CameraComponent, selectors: [[\"ibm-icon-camera\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconCamera\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function CameraComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [CameraDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(CameraComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-camera\",\n                template: \"\\n    <svg\\n      ibmIconCamera\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return CameraComponent;\n}());\nvar CameraDirective = /** @class */ (function () {\n    function CameraDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"Camera32\", \"filepath\": \"camera/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M29,26H3a1,1,0,0,1-1-1V8A1,1,0,0,1,3,7H9.46l1.71-2.55A1,1,0,0,1,12,4h8a1,1,0,0,1,.83.45L22.54,7H29a1,1,0,0,1,1,1V25A1,1,0,0,1,29,26ZM4,24H28V9H22a1,1,0,0,1-.83-.45L19.46,6H12.54L10.83,8.55A1,1,0,0,1,10,9H4Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M16,22a6,6,0,1,1,6-6A6,6,0,0,1,16,22Zm0-10a4,4,0,1,0,4,4A4,4,0,0,0,16,12Z\" } }], \"name\": \"camera\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M29,26H3a1,1,0,0,1-1-1V8A1,1,0,0,1,3,7H9.46l1.71-2.55A1,1,0,0,1,12,4h8a1,1,0,0,1,.83.45L22.54,7H29a1,1,0,0,1,1,1V25A1,1,0,0,1,29,26ZM4,24H28V9H22a1,1,0,0,1-.83-.45L19.46,6H12.54L10.83,8.55A1,1,0,0,1,10,9H4Z\\\"></path><path d=\\\"M16,22a6,6,0,1,1,6-6A6,6,0,0,1,16,22Zm0-10a4,4,0,1,0,4,4A4,4,0,0,0,16,12Z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"Camera24\", \"filepath\": \"camera/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M29,26H3a1,1,0,0,1-1-1V8A1,1,0,0,1,3,7H9.46l1.71-2.55A1,1,0,0,1,12,4h8a1,1,0,0,1,.83.45L22.54,7H29a1,1,0,0,1,1,1V25A1,1,0,0,1,29,26ZM4,24H28V9H22a1,1,0,0,1-.83-.45L19.46,6H12.54L10.83,8.55A1,1,0,0,1,10,9H4Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M16,22a6,6,0,1,1,6-6A6,6,0,0,1,16,22Zm0-10a4,4,0,1,0,4,4A4,4,0,0,0,16,12Z\" } }], \"name\": \"camera\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M29,26H3a1,1,0,0,1-1-1V8A1,1,0,0,1,3,7H9.46l1.71-2.55A1,1,0,0,1,12,4h8a1,1,0,0,1,.83.45L22.54,7H29a1,1,0,0,1,1,1V25A1,1,0,0,1,29,26ZM4,24H28V9H22a1,1,0,0,1-.83-.45L19.46,6H12.54L10.83,8.55A1,1,0,0,1,10,9H4Z\\\"></path><path d=\\\"M16,22a6,6,0,1,1,6-6A6,6,0,0,1,16,22Zm0-10a4,4,0,1,0,4,4A4,4,0,0,0,16,12Z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"Camera20\", \"filepath\": \"camera/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M29,26H3a1,1,0,0,1-1-1V8A1,1,0,0,1,3,7H9.46l1.71-2.55A1,1,0,0,1,12,4h8a1,1,0,0,1,.83.45L22.54,7H29a1,1,0,0,1,1,1V25A1,1,0,0,1,29,26ZM4,24H28V9H22a1,1,0,0,1-.83-.45L19.46,6H12.54L10.83,8.55A1,1,0,0,1,10,9H4Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M16,22a6,6,0,1,1,6-6A6,6,0,0,1,16,22Zm0-10a4,4,0,1,0,4,4A4,4,0,0,0,16,12Z\" } }], \"name\": \"camera\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M29,26H3a1,1,0,0,1-1-1V8A1,1,0,0,1,3,7H9.46l1.71-2.55A1,1,0,0,1,12,4h8a1,1,0,0,1,.83.45L22.54,7H29a1,1,0,0,1,1,1V25A1,1,0,0,1,29,26ZM4,24H28V9H22a1,1,0,0,1-.83-.45L19.46,6H12.54L10.83,8.55A1,1,0,0,1,10,9H4Z\\\"></path><path d=\\\"M16,22a6,6,0,1,1,6-6A6,6,0,0,1,16,22Zm0-10a4,4,0,1,0,4,4A4,4,0,0,0,16,12Z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"Camera16\", \"filepath\": \"camera/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M29,26H3a1,1,0,0,1-1-1V8A1,1,0,0,1,3,7H9.46l1.71-2.55A1,1,0,0,1,12,4h8a1,1,0,0,1,.83.45L22.54,7H29a1,1,0,0,1,1,1V25A1,1,0,0,1,29,26ZM4,24H28V9H22a1,1,0,0,1-.83-.45L19.46,6H12.54L10.83,8.55A1,1,0,0,1,10,9H4Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M16,22a6,6,0,1,1,6-6A6,6,0,0,1,16,22Zm0-10a4,4,0,1,0,4,4A4,4,0,0,0,16,12Z\" } }], \"name\": \"camera\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M29,26H3a1,1,0,0,1-1-1V8A1,1,0,0,1,3,7H9.46l1.71-2.55A1,1,0,0,1,12,4h8a1,1,0,0,1,.83.45L22.54,7H29a1,1,0,0,1,1,1V25A1,1,0,0,1,29,26ZM4,24H28V9H22a1,1,0,0,1-.83-.45L19.46,6H12.54L10.83,8.55A1,1,0,0,1,10,9H4Z\\\"></path><path d=\\\"M16,22a6,6,0,1,1,6-6A6,6,0,0,1,16,22Zm0-10a4,4,0,1,0,4,4A4,4,0,0,0,16,12Z\\\"></path></svg>\"\n            },\n        };\n    }\n    CameraDirective_1 = CameraDirective;\n    CameraDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            CameraDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"camera-\" + CameraDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"camera-\" + CameraDirective_1.titleIdCounter);\n        }\n    };\n    var CameraDirective_1;\n    CameraDirective.titleIdCounter = 0;\n    CameraDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CameraDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CameraDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], CameraDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CameraDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], CameraDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CameraDirective.prototype, \"size\", void 0);\n    CameraDirective = CameraDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], CameraDirective);\nCameraDirective.ɵfac = function CameraDirective_Factory(t) { return new (t || CameraDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nCameraDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: CameraDirective, selectors: [[\"\", \"ibmIconCamera\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(CameraDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconCamera]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return CameraDirective;\n}());\nvar CameraModule = /** @class */ (function () {\n    function CameraModule() {\n    }\nCameraModule.ɵfac = function CameraModule_Factory(t) { return new (t || CameraModule)(); };\nCameraModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: CameraModule });\nCameraModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(CameraModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    CameraComponent,\n                    CameraDirective,\n                ],\n                exports: [\n                    CameraComponent,\n                    CameraDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(CameraModule, { declarations: [CameraComponent, CameraDirective], exports: [CameraComponent, CameraDirective] }); })();\n    return CameraModule;\n}());\n\nexport { CameraComponent, CameraDirective, CameraModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar ChartLineSmoothComponent = /** @class */ (function () {\n    function ChartLineSmoothComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ChartLineSmoothComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ChartLineSmoothComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], ChartLineSmoothComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ChartLineSmoothComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], ChartLineSmoothComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ChartLineSmoothComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ChartLineSmoothComponent.prototype, \"size\", void 0);\nChartLineSmoothComponent.ɵfac = function ChartLineSmoothComponent_Factory(t) { return new (t || ChartLineSmoothComponent)(); };\nChartLineSmoothComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: ChartLineSmoothComponent, selectors: [[\"ibm-icon-chart-line-smooth\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconChartLineSmooth\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function ChartLineSmoothComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [ChartLineSmoothDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ChartLineSmoothComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-chart-line-smooth\",\n                template: \"\\n    <svg\\n      ibmIconChartLineSmooth\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return ChartLineSmoothComponent;\n}());\nvar ChartLineSmoothDirective = /** @class */ (function () {\n    function ChartLineSmoothDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"ChartLineSmooth32\", \"filepath\": \"chart--line-smooth/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M13,15c1.4854,0,2.5544,1.4966,3.6863,3.0811C17.9983,19.918,19.4854,22,22,22c5.6709,0,7.78-10.79,8-12l-1.9678-.3584C27.55,12.2827,25.3938,20,22,20c-1.4854,0-2.5544-1.4966-3.6863-3.0811C17.0017,15.082,15.5146,13,13,13c-4.186,0-7.4448,7.4043-9,11.7617V2H2V28a2.0025,2.0025,0,0,0,2,2H30V28H5.0439C6.5544,22.8574,9.9634,15,13,15Z\" } }], \"name\": \"chart--line-smooth\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M13,15c1.4854,0,2.5544,1.4966,3.6863,3.0811C17.9983,19.918,19.4854,22,22,22c5.6709,0,7.78-10.79,8-12l-1.9678-.3584C27.55,12.2827,25.3938,20,22,20c-1.4854,0-2.5544-1.4966-3.6863-3.0811C17.0017,15.082,15.5146,13,13,13c-4.186,0-7.4448,7.4043-9,11.7617V2H2V28a2.0025,2.0025,0,0,0,2,2H30V28H5.0439C6.5544,22.8574,9.9634,15,13,15Z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"ChartLineSmooth24\", \"filepath\": \"chart--line-smooth/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M13,15c1.4854,0,2.5544,1.4966,3.6863,3.0811C17.9983,19.918,19.4854,22,22,22c5.6709,0,7.78-10.79,8-12l-1.9678-.3584C27.55,12.2827,25.3938,20,22,20c-1.4854,0-2.5544-1.4966-3.6863-3.0811C17.0017,15.082,15.5146,13,13,13c-4.186,0-7.4448,7.4043-9,11.7617V2H2V28a2.0025,2.0025,0,0,0,2,2H30V28H5.0439C6.5544,22.8574,9.9634,15,13,15Z\" } }], \"name\": \"chart--line-smooth\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M13,15c1.4854,0,2.5544,1.4966,3.6863,3.0811C17.9983,19.918,19.4854,22,22,22c5.6709,0,7.78-10.79,8-12l-1.9678-.3584C27.55,12.2827,25.3938,20,22,20c-1.4854,0-2.5544-1.4966-3.6863-3.0811C17.0017,15.082,15.5146,13,13,13c-4.186,0-7.4448,7.4043-9,11.7617V2H2V28a2.0025,2.0025,0,0,0,2,2H30V28H5.0439C6.5544,22.8574,9.9634,15,13,15Z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"ChartLineSmooth20\", \"filepath\": \"chart--line-smooth/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M13,15c1.4854,0,2.5544,1.4966,3.6863,3.0811C17.9983,19.918,19.4854,22,22,22c5.6709,0,7.78-10.79,8-12l-1.9678-.3584C27.55,12.2827,25.3938,20,22,20c-1.4854,0-2.5544-1.4966-3.6863-3.0811C17.0017,15.082,15.5146,13,13,13c-4.186,0-7.4448,7.4043-9,11.7617V2H2V28a2.0025,2.0025,0,0,0,2,2H30V28H5.0439C6.5544,22.8574,9.9634,15,13,15Z\" } }], \"name\": \"chart--line-smooth\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M13,15c1.4854,0,2.5544,1.4966,3.6863,3.0811C17.9983,19.918,19.4854,22,22,22c5.6709,0,7.78-10.79,8-12l-1.9678-.3584C27.55,12.2827,25.3938,20,22,20c-1.4854,0-2.5544-1.4966-3.6863-3.0811C17.0017,15.082,15.5146,13,13,13c-4.186,0-7.4448,7.4043-9,11.7617V2H2V28a2.0025,2.0025,0,0,0,2,2H30V28H5.0439C6.5544,22.8574,9.9634,15,13,15Z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"ChartLineSmooth16\", \"filepath\": \"chart--line-smooth/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M13,15c1.4854,0,2.5544,1.4966,3.6863,3.0811C17.9983,19.918,19.4854,22,22,22c5.6709,0,7.78-10.79,8-12l-1.9678-.3584C27.55,12.2827,25.3938,20,22,20c-1.4854,0-2.5544-1.4966-3.6863-3.0811C17.0017,15.082,15.5146,13,13,13c-4.186,0-7.4448,7.4043-9,11.7617V2H2V28a2.0025,2.0025,0,0,0,2,2H30V28H5.0439C6.5544,22.8574,9.9634,15,13,15Z\" } }], \"name\": \"chart--line-smooth\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M13,15c1.4854,0,2.5544,1.4966,3.6863,3.0811C17.9983,19.918,19.4854,22,22,22c5.6709,0,7.78-10.79,8-12l-1.9678-.3584C27.55,12.2827,25.3938,20,22,20c-1.4854,0-2.5544-1.4966-3.6863-3.0811C17.0017,15.082,15.5146,13,13,13c-4.186,0-7.4448,7.4043-9,11.7617V2H2V28a2.0025,2.0025,0,0,0,2,2H30V28H5.0439C6.5544,22.8574,9.9634,15,13,15Z\\\"></path></svg>\"\n            },\n        };\n    }\n    ChartLineSmoothDirective_1 = ChartLineSmoothDirective;\n    ChartLineSmoothDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            ChartLineSmoothDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"chart-line-smooth-\" + ChartLineSmoothDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"chart-line-smooth-\" + ChartLineSmoothDirective_1.titleIdCounter);\n        }\n    };\n    var ChartLineSmoothDirective_1;\n    ChartLineSmoothDirective.titleIdCounter = 0;\n    ChartLineSmoothDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ChartLineSmoothDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ChartLineSmoothDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], ChartLineSmoothDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ChartLineSmoothDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], ChartLineSmoothDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ChartLineSmoothDirective.prototype, \"size\", void 0);\n    ChartLineSmoothDirective = ChartLineSmoothDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], ChartLineSmoothDirective);\nChartLineSmoothDirective.ɵfac = function ChartLineSmoothDirective_Factory(t) { return new (t || ChartLineSmoothDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nChartLineSmoothDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: ChartLineSmoothDirective, selectors: [[\"\", \"ibmIconChartLineSmooth\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ChartLineSmoothDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconChartLineSmooth]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return ChartLineSmoothDirective;\n}());\nvar ChartLineSmoothModule = /** @class */ (function () {\n    function ChartLineSmoothModule() {\n    }\nChartLineSmoothModule.ɵfac = function ChartLineSmoothModule_Factory(t) { return new (t || ChartLineSmoothModule)(); };\nChartLineSmoothModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: ChartLineSmoothModule });\nChartLineSmoothModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ChartLineSmoothModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    ChartLineSmoothComponent,\n                    ChartLineSmoothDirective,\n                ],\n                exports: [\n                    ChartLineSmoothComponent,\n                    ChartLineSmoothDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(ChartLineSmoothModule, { declarations: [ChartLineSmoothComponent, ChartLineSmoothDirective], exports: [ChartLineSmoothComponent, ChartLineSmoothDirective] }); })();\n    return ChartLineSmoothModule;\n}());\n\nexport { ChartLineSmoothComponent, ChartLineSmoothDirective, ChartLineSmoothModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar ChartLineComponent = /** @class */ (function () {\n    function ChartLineComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ChartLineComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ChartLineComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], ChartLineComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ChartLineComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], ChartLineComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ChartLineComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ChartLineComponent.prototype, \"size\", void 0);\nChartLineComponent.ɵfac = function ChartLineComponent_Factory(t) { return new (t || ChartLineComponent)(); };\nChartLineComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: ChartLineComponent, selectors: [[\"ibm-icon-chart-line\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconChartLine\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function ChartLineComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [ChartLineDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ChartLineComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-chart-line\",\n                template: \"\\n    <svg\\n      ibmIconChartLine\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return ChartLineComponent;\n}());\nvar ChartLineDirective = /** @class */ (function () {\n    function ChartLineDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"ChartLine32\", \"filepath\": \"chart--line/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M4.67,28l6.39-12,7.3,6.49a2,2,0,0,0,1.7.47,2,2,0,0,0,1.42-1.07L27,10.9,25.18,10,19.69,21l-7.3-6.49A2,2,0,0,0,10.71,14a2,2,0,0,0-1.42,1L4,25V2H2V28a2,2,0,0,0,2,2H30V28Z\" } }], \"name\": \"chart--line\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M4.67,28l6.39-12,7.3,6.49a2,2,0,0,0,1.7.47,2,2,0,0,0,1.42-1.07L27,10.9,25.18,10,19.69,21l-7.3-6.49A2,2,0,0,0,10.71,14a2,2,0,0,0-1.42,1L4,25V2H2V28a2,2,0,0,0,2,2H30V28Z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"ChartLine24\", \"filepath\": \"chart--line/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M4.67,28l6.39-12,7.3,6.49a2,2,0,0,0,1.7.47,2,2,0,0,0,1.42-1.07L27,10.9,25.18,10,19.69,21l-7.3-6.49A2,2,0,0,0,10.71,14a2,2,0,0,0-1.42,1L4,25V2H2V28a2,2,0,0,0,2,2H30V28Z\" } }], \"name\": \"chart--line\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M4.67,28l6.39-12,7.3,6.49a2,2,0,0,0,1.7.47,2,2,0,0,0,1.42-1.07L27,10.9,25.18,10,19.69,21l-7.3-6.49A2,2,0,0,0,10.71,14a2,2,0,0,0-1.42,1L4,25V2H2V28a2,2,0,0,0,2,2H30V28Z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"ChartLine20\", \"filepath\": \"chart--line/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M4.67,28l6.39-12,7.3,6.49a2,2,0,0,0,1.7.47,2,2,0,0,0,1.42-1.07L27,10.9,25.18,10,19.69,21l-7.3-6.49A2,2,0,0,0,10.71,14a2,2,0,0,0-1.42,1L4,25V2H2V28a2,2,0,0,0,2,2H30V28Z\" } }], \"name\": \"chart--line\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M4.67,28l6.39-12,7.3,6.49a2,2,0,0,0,1.7.47,2,2,0,0,0,1.42-1.07L27,10.9,25.18,10,19.69,21l-7.3-6.49A2,2,0,0,0,10.71,14a2,2,0,0,0-1.42,1L4,25V2H2V28a2,2,0,0,0,2,2H30V28Z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"ChartLine16\", \"filepath\": \"chart--line/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M4.67,28l6.39-12,7.3,6.49a2,2,0,0,0,1.7.47,2,2,0,0,0,1.42-1.07L27,10.9,25.18,10,19.69,21l-7.3-6.49A2,2,0,0,0,10.71,14a2,2,0,0,0-1.42,1L4,25V2H2V28a2,2,0,0,0,2,2H30V28Z\" } }], \"name\": \"chart--line\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M4.67,28l6.39-12,7.3,6.49a2,2,0,0,0,1.7.47,2,2,0,0,0,1.42-1.07L27,10.9,25.18,10,19.69,21l-7.3-6.49A2,2,0,0,0,10.71,14a2,2,0,0,0-1.42,1L4,25V2H2V28a2,2,0,0,0,2,2H30V28Z\\\"></path></svg>\"\n            },\n        };\n    }\n    ChartLineDirective_1 = ChartLineDirective;\n    ChartLineDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            ChartLineDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"chart-line-\" + ChartLineDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"chart-line-\" + ChartLineDirective_1.titleIdCounter);\n        }\n    };\n    var ChartLineDirective_1;\n    ChartLineDirective.titleIdCounter = 0;\n    ChartLineDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ChartLineDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ChartLineDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], ChartLineDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ChartLineDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], ChartLineDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ChartLineDirective.prototype, \"size\", void 0);\n    ChartLineDirective = ChartLineDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], ChartLineDirective);\nChartLineDirective.ɵfac = function ChartLineDirective_Factory(t) { return new (t || ChartLineDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nChartLineDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: ChartLineDirective, selectors: [[\"\", \"ibmIconChartLine\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ChartLineDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconChartLine]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return ChartLineDirective;\n}());\nvar ChartLineModule = /** @class */ (function () {\n    function ChartLineModule() {\n    }\nChartLineModule.ɵfac = function ChartLineModule_Factory(t) { return new (t || ChartLineModule)(); };\nChartLineModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: ChartLineModule });\nChartLineModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ChartLineModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    ChartLineComponent,\n                    ChartLineDirective,\n                ],\n                exports: [\n                    ChartLineComponent,\n                    ChartLineDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(ChartLineModule, { declarations: [ChartLineComponent, ChartLineDirective], exports: [ChartLineComponent, ChartLineDirective] }); })();\n    return ChartLineModule;\n}());\n\nexport { ChartLineComponent, ChartLineDirective, ChartLineModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar CheckboxCheckedComponent = /** @class */ (function () {\n    function CheckboxCheckedComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CheckboxCheckedComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CheckboxCheckedComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], CheckboxCheckedComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CheckboxCheckedComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], CheckboxCheckedComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CheckboxCheckedComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CheckboxCheckedComponent.prototype, \"size\", void 0);\nCheckboxCheckedComponent.ɵfac = function CheckboxCheckedComponent_Factory(t) { return new (t || CheckboxCheckedComponent)(); };\nCheckboxCheckedComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: CheckboxCheckedComponent, selectors: [[\"ibm-icon-checkbox-checked\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconCheckboxChecked\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function CheckboxCheckedComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [CheckboxCheckedDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(CheckboxCheckedComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-checkbox-checked\",\n                template: \"\\n    <svg\\n      ibmIconCheckboxChecked\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return CheckboxCheckedComponent;\n}());\nvar CheckboxCheckedDirective = /** @class */ (function () {\n    function CheckboxCheckedDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"CheckboxChecked32\", \"filepath\": \"checkbox--checked/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M26,4H6A2,2,0,0,0,4,6V26a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2V6A2,2,0,0,0,26,4ZM6,26V6H26V26Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M14 21.5L9 16.54 10.59 15 14 18.35 21.41 11 23 12.58 14 21.5z\" } }], \"name\": \"checkbox--checked\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M26,4H6A2,2,0,0,0,4,6V26a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2V6A2,2,0,0,0,26,4ZM6,26V6H26V26Z\\\"></path><path d=\\\"M14 21.5L9 16.54 10.59 15 14 18.35 21.41 11 23 12.58 14 21.5z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"CheckboxChecked24\", \"filepath\": \"checkbox--checked/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M26,4H6A2,2,0,0,0,4,6V26a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2V6A2,2,0,0,0,26,4ZM6,26V6H26V26Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M14 21.5L9 16.54 10.59 15 14 18.35 21.41 11 23 12.58 14 21.5z\" } }], \"name\": \"checkbox--checked\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M26,4H6A2,2,0,0,0,4,6V26a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2V6A2,2,0,0,0,26,4ZM6,26V6H26V26Z\\\"></path><path d=\\\"M14 21.5L9 16.54 10.59 15 14 18.35 21.41 11 23 12.58 14 21.5z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"CheckboxChecked20\", \"filepath\": \"checkbox--checked/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M26,4H6A2,2,0,0,0,4,6V26a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2V6A2,2,0,0,0,26,4ZM6,26V6H26V26Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M14 21.5L9 16.54 10.59 15 14 18.35 21.41 11 23 12.58 14 21.5z\" } }], \"name\": \"checkbox--checked\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M26,4H6A2,2,0,0,0,4,6V26a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2V6A2,2,0,0,0,26,4ZM6,26V6H26V26Z\\\"></path><path d=\\\"M14 21.5L9 16.54 10.59 15 14 18.35 21.41 11 23 12.58 14 21.5z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"CheckboxChecked16\", \"filepath\": \"checkbox--checked/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M26,4H6A2,2,0,0,0,4,6V26a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2V6A2,2,0,0,0,26,4ZM6,26V6H26V26Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M14 21.5L9 16.54 10.59 15 14 18.35 21.41 11 23 12.58 14 21.5z\" } }], \"name\": \"checkbox--checked\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M26,4H6A2,2,0,0,0,4,6V26a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2V6A2,2,0,0,0,26,4ZM6,26V6H26V26Z\\\"></path><path d=\\\"M14 21.5L9 16.54 10.59 15 14 18.35 21.41 11 23 12.58 14 21.5z\\\"></path></svg>\"\n            },\n        };\n    }\n    CheckboxCheckedDirective_1 = CheckboxCheckedDirective;\n    CheckboxCheckedDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            CheckboxCheckedDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"checkbox-checked-\" + CheckboxCheckedDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"checkbox-checked-\" + CheckboxCheckedDirective_1.titleIdCounter);\n        }\n    };\n    var CheckboxCheckedDirective_1;\n    CheckboxCheckedDirective.titleIdCounter = 0;\n    CheckboxCheckedDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CheckboxCheckedDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CheckboxCheckedDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], CheckboxCheckedDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CheckboxCheckedDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], CheckboxCheckedDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CheckboxCheckedDirective.prototype, \"size\", void 0);\n    CheckboxCheckedDirective = CheckboxCheckedDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], CheckboxCheckedDirective);\nCheckboxCheckedDirective.ɵfac = function CheckboxCheckedDirective_Factory(t) { return new (t || CheckboxCheckedDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nCheckboxCheckedDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: CheckboxCheckedDirective, selectors: [[\"\", \"ibmIconCheckboxChecked\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(CheckboxCheckedDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconCheckboxChecked]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return CheckboxCheckedDirective;\n}());\nvar CheckboxCheckedModule = /** @class */ (function () {\n    function CheckboxCheckedModule() {\n    }\nCheckboxCheckedModule.ɵfac = function CheckboxCheckedModule_Factory(t) { return new (t || CheckboxCheckedModule)(); };\nCheckboxCheckedModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: CheckboxCheckedModule });\nCheckboxCheckedModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(CheckboxCheckedModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    CheckboxCheckedComponent,\n                    CheckboxCheckedDirective,\n                ],\n                exports: [\n                    CheckboxCheckedComponent,\n                    CheckboxCheckedDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(CheckboxCheckedModule, { declarations: [CheckboxCheckedComponent, CheckboxCheckedDirective], exports: [CheckboxCheckedComponent, CheckboxCheckedDirective] }); })();\n    return CheckboxCheckedModule;\n}());\n\nexport { CheckboxCheckedComponent, CheckboxCheckedDirective, CheckboxCheckedModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar CheckboxComponent = /** @class */ (function () {\n    function CheckboxComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CheckboxComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CheckboxComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], CheckboxComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CheckboxComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], CheckboxComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CheckboxComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CheckboxComponent.prototype, \"size\", void 0);\nCheckboxComponent.ɵfac = function CheckboxComponent_Factory(t) { return new (t || CheckboxComponent)(); };\nCheckboxComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: CheckboxComponent, selectors: [[\"ibm-icon-checkbox\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconCheckbox\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function CheckboxComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [CheckboxDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(CheckboxComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-checkbox\",\n                template: \"\\n    <svg\\n      ibmIconCheckbox\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return CheckboxComponent;\n}());\nvar CheckboxDirective = /** @class */ (function () {\n    function CheckboxDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"Checkbox32\", \"filepath\": \"checkbox/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M26,4H6A2,2,0,0,0,4,6V26a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2V6A2,2,0,0,0,26,4ZM6,26V6H26V26Z\" } }], \"name\": \"checkbox\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M26,4H6A2,2,0,0,0,4,6V26a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2V6A2,2,0,0,0,26,4ZM6,26V6H26V26Z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"Checkbox24\", \"filepath\": \"checkbox/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M26,4H6A2,2,0,0,0,4,6V26a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2V6A2,2,0,0,0,26,4ZM6,26V6H26V26Z\" } }], \"name\": \"checkbox\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M26,4H6A2,2,0,0,0,4,6V26a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2V6A2,2,0,0,0,26,4ZM6,26V6H26V26Z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"Checkbox20\", \"filepath\": \"checkbox/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M26,4H6A2,2,0,0,0,4,6V26a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2V6A2,2,0,0,0,26,4ZM6,26V6H26V26Z\" } }], \"name\": \"checkbox\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M26,4H6A2,2,0,0,0,4,6V26a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2V6A2,2,0,0,0,26,4ZM6,26V6H26V26Z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"Checkbox16\", \"filepath\": \"checkbox/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M26,4H6A2,2,0,0,0,4,6V26a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2V6A2,2,0,0,0,26,4ZM6,26V6H26V26Z\" } }], \"name\": \"checkbox\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M26,4H6A2,2,0,0,0,4,6V26a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2V6A2,2,0,0,0,26,4ZM6,26V6H26V26Z\\\"></path></svg>\"\n            },\n        };\n    }\n    CheckboxDirective_1 = CheckboxDirective;\n    CheckboxDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            CheckboxDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"checkbox-\" + CheckboxDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"checkbox-\" + CheckboxDirective_1.titleIdCounter);\n        }\n    };\n    var CheckboxDirective_1;\n    CheckboxDirective.titleIdCounter = 0;\n    CheckboxDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CheckboxDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CheckboxDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], CheckboxDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CheckboxDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], CheckboxDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CheckboxDirective.prototype, \"size\", void 0);\n    CheckboxDirective = CheckboxDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], CheckboxDirective);\nCheckboxDirective.ɵfac = function CheckboxDirective_Factory(t) { return new (t || CheckboxDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nCheckboxDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: CheckboxDirective, selectors: [[\"\", \"ibmIconCheckbox\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(CheckboxDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconCheckbox]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return CheckboxDirective;\n}());\nvar CheckboxModule = /** @class */ (function () {\n    function CheckboxModule() {\n    }\nCheckboxModule.ɵfac = function CheckboxModule_Factory(t) { return new (t || CheckboxModule)(); };\nCheckboxModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: CheckboxModule });\nCheckboxModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(CheckboxModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    CheckboxComponent,\n                    CheckboxDirective,\n                ],\n                exports: [\n                    CheckboxComponent,\n                    CheckboxDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(CheckboxModule, { declarations: [CheckboxComponent, CheckboxDirective], exports: [CheckboxComponent, CheckboxDirective] }); })();\n    return CheckboxModule;\n}());\n\nexport { CheckboxComponent, CheckboxDirective, CheckboxModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar CheckmarkFilledComponent = /** @class */ (function () {\n    function CheckmarkFilledComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CheckmarkFilledComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CheckmarkFilledComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], CheckmarkFilledComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CheckmarkFilledComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], CheckmarkFilledComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CheckmarkFilledComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CheckmarkFilledComponent.prototype, \"size\", void 0);\nCheckmarkFilledComponent.ɵfac = function CheckmarkFilledComponent_Factory(t) { return new (t || CheckmarkFilledComponent)(); };\nCheckmarkFilledComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: CheckmarkFilledComponent, selectors: [[\"ibm-icon-checkmark-filled\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconCheckmarkFilled\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function CheckmarkFilledComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [CheckmarkFilledDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(CheckmarkFilledComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-checkmark-filled\",\n                template: \"\\n    <svg\\n      ibmIconCheckmarkFilled\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return CheckmarkFilledComponent;\n}());\nvar CheckmarkFilledDirective = /** @class */ (function () {\n    function CheckmarkFilledDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"CheckmarkFilled32\", \"filepath\": \"checkmark--filled/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2ZM14,21.5908l-5-5L10.5906,15,14,18.4092,21.41,11l1.5957,1.5859Z\" } }, { \"elem\": \"path\", \"attrs\": { \"fill\": \"none\", \"d\": \"M14 21.591L9 16.591 10.591 15 14 18.409 21.41 11 23.005 12.585 14 21.591z\", \"data-icon-path\": \"inner-path\" } }], \"name\": \"checkmark--filled\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2ZM14,21.5908l-5-5L10.5906,15,14,18.4092,21.41,11l1.5957,1.5859Z\\\"></path><path fill=\\\"none\\\" d=\\\"M14 21.591L9 16.591 10.591 15 14 18.409 21.41 11 23.005 12.585 14 21.591z\\\" data-icon-path=\\\"inner-path\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"CheckmarkFilled24\", \"filepath\": \"checkmark--filled/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 24 24\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M12,1C6,1,1,6,1,12s5,11,11,11s11-4.9,11-11S18.1,1,12,1z M10.4,16.3l-3.9-3.9l1.3-1.2l2.7,2.7l5.8-5.8l1.3,1.3L10.4,16.3z\" } }, { \"elem\": \"path\", \"attrs\": { \"fill\": \"none\", \"d\": \"M10.4,16.3l-3.9-3.9l1.3-1.2l2.7,2.7l5.8-5.8l1.3,1.3L10.4,16.3z\", \"data-icon-path\": \"inner-path\", \"opacity\": \"0\" } }], \"name\": \"checkmark--filled\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" aria-hidden=\\\"true\\\"><path d=\\\"M12,1C6,1,1,6,1,12s5,11,11,11s11-4.9,11-11S18.1,1,12,1z M10.4,16.3l-3.9-3.9l1.3-1.2l2.7,2.7l5.8-5.8l1.3,1.3L10.4,16.3z\\\"></path><path fill=\\\"none\\\" d=\\\"M10.4,16.3l-3.9-3.9l1.3-1.2l2.7,2.7l5.8-5.8l1.3,1.3L10.4,16.3z\\\" data-icon-path=\\\"inner-path\\\" opacity=\\\"0\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"CheckmarkFilled20\", \"filepath\": \"checkmark--filled/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 20 20\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M10,1c-4.9,0-9,4.1-9,9s4.1,9,9,9s9-4,9-9S15,1,10,1z M8.7,13.5l-3.2-3.2l1-1l2.2,2.2l4.8-4.8l1,1L8.7,13.5z\" } }, { \"elem\": \"path\", \"attrs\": { \"fill\": \"none\", \"d\": \"M8.7,13.5l-3.2-3.2l1-1l2.2,2.2l4.8-4.8l1,1L8.7,13.5z\", \"data-icon-path\": \"inner-path\", \"opacity\": \"0\" } }], \"name\": \"checkmark--filled\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 20 20\\\" aria-hidden=\\\"true\\\"><path d=\\\"M10,1c-4.9,0-9,4.1-9,9s4.1,9,9,9s9-4,9-9S15,1,10,1z M8.7,13.5l-3.2-3.2l1-1l2.2,2.2l4.8-4.8l1,1L8.7,13.5z\\\"></path><path fill=\\\"none\\\" d=\\\"M8.7,13.5l-3.2-3.2l1-1l2.2,2.2l4.8-4.8l1,1L8.7,13.5z\\\" data-icon-path=\\\"inner-path\\\" opacity=\\\"0\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"CheckmarkFilled16\", \"filepath\": \"checkmark--filled/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 16 16\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M8,1C4.1,1,1,4.1,1,8c0,3.9,3.1,7,7,7s7-3.1,7-7C15,4.1,11.9,1,8,1z M7,11L4.3,8.3l0.9-0.8L7,9.3l4-3.9l0.9,0.8L7,11z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M7,11L4.3,8.3l0.9-0.8L7,9.3l4-3.9l0.9,0.8L7,11z\", \"data-icon-path\": \"inner-path\", \"opacity\": \"0\" } }], \"name\": \"checkmark--filled\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\" aria-hidden=\\\"true\\\"><path d=\\\"M8,1C4.1,1,1,4.1,1,8c0,3.9,3.1,7,7,7s7-3.1,7-7C15,4.1,11.9,1,8,1z M7,11L4.3,8.3l0.9-0.8L7,9.3l4-3.9l0.9,0.8L7,11z\\\"></path><path d=\\\"M7,11L4.3,8.3l0.9-0.8L7,9.3l4-3.9l0.9,0.8L7,11z\\\" data-icon-path=\\\"inner-path\\\" opacity=\\\"0\\\"></path></svg>\"\n            },\n        };\n    }\n    CheckmarkFilledDirective_1 = CheckmarkFilledDirective;\n    CheckmarkFilledDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            CheckmarkFilledDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"checkmark-filled-\" + CheckmarkFilledDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"checkmark-filled-\" + CheckmarkFilledDirective_1.titleIdCounter);\n        }\n    };\n    var CheckmarkFilledDirective_1;\n    CheckmarkFilledDirective.titleIdCounter = 0;\n    CheckmarkFilledDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CheckmarkFilledDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CheckmarkFilledDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], CheckmarkFilledDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CheckmarkFilledDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], CheckmarkFilledDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CheckmarkFilledDirective.prototype, \"size\", void 0);\n    CheckmarkFilledDirective = CheckmarkFilledDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], CheckmarkFilledDirective);\nCheckmarkFilledDirective.ɵfac = function CheckmarkFilledDirective_Factory(t) { return new (t || CheckmarkFilledDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nCheckmarkFilledDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: CheckmarkFilledDirective, selectors: [[\"\", \"ibmIconCheckmarkFilled\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(CheckmarkFilledDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconCheckmarkFilled]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return CheckmarkFilledDirective;\n}());\nvar CheckmarkFilledModule = /** @class */ (function () {\n    function CheckmarkFilledModule() {\n    }\nCheckmarkFilledModule.ɵfac = function CheckmarkFilledModule_Factory(t) { return new (t || CheckmarkFilledModule)(); };\nCheckmarkFilledModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: CheckmarkFilledModule });\nCheckmarkFilledModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(CheckmarkFilledModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    CheckmarkFilledComponent,\n                    CheckmarkFilledDirective,\n                ],\n                exports: [\n                    CheckmarkFilledComponent,\n                    CheckmarkFilledDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(CheckmarkFilledModule, { declarations: [CheckmarkFilledComponent, CheckmarkFilledDirective], exports: [CheckmarkFilledComponent, CheckmarkFilledDirective] }); })();\n    return CheckmarkFilledModule;\n}());\n\nexport { CheckmarkFilledComponent, CheckmarkFilledDirective, CheckmarkFilledModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar ChemistryComponent = /** @class */ (function () {\n    function ChemistryComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ChemistryComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ChemistryComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], ChemistryComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ChemistryComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], ChemistryComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ChemistryComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ChemistryComponent.prototype, \"size\", void 0);\nChemistryComponent.ɵfac = function ChemistryComponent_Factory(t) { return new (t || ChemistryComponent)(); };\nChemistryComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: ChemistryComponent, selectors: [[\"ibm-icon-chemistry\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconChemistry\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function ChemistryComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [ChemistryDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ChemistryComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-chemistry\",\n                template: \"\\n    <svg\\n      ibmIconChemistry\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return ChemistryComponent;\n}());\nvar ChemistryDirective = /** @class */ (function () {\n    function ChemistryDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"Chemistry32\", \"filepath\": \"chemistry/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M27.2314,23.6182,20,13.6748V4h2V2H10V4h2v9.6748L4.7686,23.6182A4.0183,4.0183,0,0,0,8.0186,30H23.9814a4.0183,4.0183,0,0,0,3.25-6.3818ZM14,14.3252V4h4V14.3252L20.6728,18H11.3272ZM23.9814,28H8.0186a2.0192,2.0192,0,0,1-1.6329-3.2061L9.8726,20H22.1274l3.4869,4.7939A2.0192,2.0192,0,0,1,23.9814,28Z\" } }], \"name\": \"chemistry\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M27.2314,23.6182,20,13.6748V4h2V2H10V4h2v9.6748L4.7686,23.6182A4.0183,4.0183,0,0,0,8.0186,30H23.9814a4.0183,4.0183,0,0,0,3.25-6.3818ZM14,14.3252V4h4V14.3252L20.6728,18H11.3272ZM23.9814,28H8.0186a2.0192,2.0192,0,0,1-1.6329-3.2061L9.8726,20H22.1274l3.4869,4.7939A2.0192,2.0192,0,0,1,23.9814,28Z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"Chemistry24\", \"filepath\": \"chemistry/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M27.2314,23.6182,20,13.6748V4h2V2H10V4h2v9.6748L4.7686,23.6182A4.0183,4.0183,0,0,0,8.0186,30H23.9814a4.0183,4.0183,0,0,0,3.25-6.3818ZM14,14.3252V4h4V14.3252L20.6728,18H11.3272ZM23.9814,28H8.0186a2.0192,2.0192,0,0,1-1.6329-3.2061L9.8726,20H22.1274l3.4869,4.7939A2.0192,2.0192,0,0,1,23.9814,28Z\" } }], \"name\": \"chemistry\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M27.2314,23.6182,20,13.6748V4h2V2H10V4h2v9.6748L4.7686,23.6182A4.0183,4.0183,0,0,0,8.0186,30H23.9814a4.0183,4.0183,0,0,0,3.25-6.3818ZM14,14.3252V4h4V14.3252L20.6728,18H11.3272ZM23.9814,28H8.0186a2.0192,2.0192,0,0,1-1.6329-3.2061L9.8726,20H22.1274l3.4869,4.7939A2.0192,2.0192,0,0,1,23.9814,28Z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"Chemistry20\", \"filepath\": \"chemistry/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M27.2314,23.6182,20,13.6748V4h2V2H10V4h2v9.6748L4.7686,23.6182A4.0183,4.0183,0,0,0,8.0186,30H23.9814a4.0183,4.0183,0,0,0,3.25-6.3818ZM14,14.3252V4h4V14.3252L20.6728,18H11.3272ZM23.9814,28H8.0186a2.0192,2.0192,0,0,1-1.6329-3.2061L9.8726,20H22.1274l3.4869,4.7939A2.0192,2.0192,0,0,1,23.9814,28Z\" } }], \"name\": \"chemistry\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M27.2314,23.6182,20,13.6748V4h2V2H10V4h2v9.6748L4.7686,23.6182A4.0183,4.0183,0,0,0,8.0186,30H23.9814a4.0183,4.0183,0,0,0,3.25-6.3818ZM14,14.3252V4h4V14.3252L20.6728,18H11.3272ZM23.9814,28H8.0186a2.0192,2.0192,0,0,1-1.6329-3.2061L9.8726,20H22.1274l3.4869,4.7939A2.0192,2.0192,0,0,1,23.9814,28Z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"Chemistry16\", \"filepath\": \"chemistry/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M27.2314,23.6182,20,13.6748V4h2V2H10V4h2v9.6748L4.7686,23.6182A4.0183,4.0183,0,0,0,8.0186,30H23.9814a4.0183,4.0183,0,0,0,3.25-6.3818ZM14,14.3252V4h4V14.3252L20.6728,18H11.3272ZM23.9814,28H8.0186a2.0192,2.0192,0,0,1-1.6329-3.2061L9.8726,20H22.1274l3.4869,4.7939A2.0192,2.0192,0,0,1,23.9814,28Z\" } }], \"name\": \"chemistry\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M27.2314,23.6182,20,13.6748V4h2V2H10V4h2v9.6748L4.7686,23.6182A4.0183,4.0183,0,0,0,8.0186,30H23.9814a4.0183,4.0183,0,0,0,3.25-6.3818ZM14,14.3252V4h4V14.3252L20.6728,18H11.3272ZM23.9814,28H8.0186a2.0192,2.0192,0,0,1-1.6329-3.2061L9.8726,20H22.1274l3.4869,4.7939A2.0192,2.0192,0,0,1,23.9814,28Z\\\"></path></svg>\"\n            },\n        };\n    }\n    ChemistryDirective_1 = ChemistryDirective;\n    ChemistryDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            ChemistryDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"chemistry-\" + ChemistryDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"chemistry-\" + ChemistryDirective_1.titleIdCounter);\n        }\n    };\n    var ChemistryDirective_1;\n    ChemistryDirective.titleIdCounter = 0;\n    ChemistryDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ChemistryDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ChemistryDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], ChemistryDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ChemistryDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], ChemistryDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ChemistryDirective.prototype, \"size\", void 0);\n    ChemistryDirective = ChemistryDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], ChemistryDirective);\nChemistryDirective.ɵfac = function ChemistryDirective_Factory(t) { return new (t || ChemistryDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nChemistryDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: ChemistryDirective, selectors: [[\"\", \"ibmIconChemistry\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ChemistryDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconChemistry]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return ChemistryDirective;\n}());\nvar ChemistryModule = /** @class */ (function () {\n    function ChemistryModule() {\n    }\nChemistryModule.ɵfac = function ChemistryModule_Factory(t) { return new (t || ChemistryModule)(); };\nChemistryModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: ChemistryModule });\nChemistryModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ChemistryModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    ChemistryComponent,\n                    ChemistryDirective,\n                ],\n                exports: [\n                    ChemistryComponent,\n                    ChemistryDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(ChemistryModule, { declarations: [ChemistryComponent, ChemistryDirective], exports: [ChemistryComponent, ChemistryDirective] }); })();\n    return ChemistryModule;\n}());\n\nexport { ChemistryComponent, ChemistryDirective, ChemistryModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar ChevronDownComponent = /** @class */ (function () {\n    function ChevronDownComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ChevronDownComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ChevronDownComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], ChevronDownComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ChevronDownComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], ChevronDownComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ChevronDownComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ChevronDownComponent.prototype, \"size\", void 0);\nChevronDownComponent.ɵfac = function ChevronDownComponent_Factory(t) { return new (t || ChevronDownComponent)(); };\nChevronDownComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: ChevronDownComponent, selectors: [[\"ibm-icon-chevron-down\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconChevronDown\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function ChevronDownComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [ChevronDownDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ChevronDownComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-chevron-down\",\n                template: \"\\n    <svg\\n      ibmIconChevronDown\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return ChevronDownComponent;\n}());\nvar ChevronDownDirective = /** @class */ (function () {\n    function ChevronDownDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"ChevronDown32\", \"filepath\": \"chevron--down/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M16 22L6 12 7.4 10.6 16 19.2 24.6 10.6 26 12z\" } }], \"name\": \"chevron--down\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M16 22L6 12 7.4 10.6 16 19.2 24.6 10.6 26 12z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"ChevronDown24\", \"filepath\": \"chevron--down/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M16 22L6 12 7.4 10.6 16 19.2 24.6 10.6 26 12z\" } }], \"name\": \"chevron--down\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M16 22L6 12 7.4 10.6 16 19.2 24.6 10.6 26 12z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"ChevronDown20\", \"filepath\": \"chevron--down/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M16 22L6 12 7.4 10.6 16 19.2 24.6 10.6 26 12z\" } }], \"name\": \"chevron--down\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M16 22L6 12 7.4 10.6 16 19.2 24.6 10.6 26 12z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"ChevronDown16\", \"filepath\": \"chevron--down/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 16 16\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M8 11L3 6 3.7 5.3 8 9.6 12.3 5.3 13 6z\" } }], \"name\": \"chevron--down\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\" aria-hidden=\\\"true\\\"><path d=\\\"M8 11L3 6 3.7 5.3 8 9.6 12.3 5.3 13 6z\\\"></path></svg>\"\n            },\n            \"glyph\": {\n                metadata: { \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 10 6\", \"fill\": \"currentColor\", \"width\": \"10\", \"height\": \"6\" }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M5 6L0 1 0.7 0.3 5 4.6 9.3 0.3 10 1z\" } }], \"name\": \"chevron--down\", \"size\": \"glyph\" }, \"moduleName\": \"ChevronDownGlyph\", \"filepath\": \"chevron--down/index.js\", \"size\": \"glyph\" },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"10\\\" height=\\\"6\\\" viewBox=\\\"0 0 10 6\\\" aria-hidden=\\\"true\\\"><path d=\\\"M5 6L0 1 0.7 0.3 5 4.6 9.3 0.3 10 1z\\\"></path></svg>\"\n            },\n        };\n    }\n    ChevronDownDirective_1 = ChevronDownDirective;\n    ChevronDownDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            ChevronDownDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"chevron-down-\" + ChevronDownDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"chevron-down-\" + ChevronDownDirective_1.titleIdCounter);\n        }\n    };\n    var ChevronDownDirective_1;\n    ChevronDownDirective.titleIdCounter = 0;\n    ChevronDownDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ChevronDownDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ChevronDownDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], ChevronDownDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ChevronDownDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], ChevronDownDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ChevronDownDirective.prototype, \"size\", void 0);\n    ChevronDownDirective = ChevronDownDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], ChevronDownDirective);\nChevronDownDirective.ɵfac = function ChevronDownDirective_Factory(t) { return new (t || ChevronDownDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nChevronDownDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: ChevronDownDirective, selectors: [[\"\", \"ibmIconChevronDown\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ChevronDownDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconChevronDown]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return ChevronDownDirective;\n}());\nvar ChevronDownModule = /** @class */ (function () {\n    function ChevronDownModule() {\n    }\nChevronDownModule.ɵfac = function ChevronDownModule_Factory(t) { return new (t || ChevronDownModule)(); };\nChevronDownModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: ChevronDownModule });\nChevronDownModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ChevronDownModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    ChevronDownComponent,\n                    ChevronDownDirective,\n                ],\n                exports: [\n                    ChevronDownComponent,\n                    ChevronDownDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(ChevronDownModule, { declarations: [ChevronDownComponent, ChevronDownDirective], exports: [ChevronDownComponent, ChevronDownDirective] }); })();\n    return ChevronDownModule;\n}());\n\nexport { ChevronDownComponent, ChevronDownDirective, ChevronDownModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar ChevronUpComponent = /** @class */ (function () {\n    function ChevronUpComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ChevronUpComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ChevronUpComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], ChevronUpComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ChevronUpComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], ChevronUpComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ChevronUpComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ChevronUpComponent.prototype, \"size\", void 0);\nChevronUpComponent.ɵfac = function ChevronUpComponent_Factory(t) { return new (t || ChevronUpComponent)(); };\nChevronUpComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: ChevronUpComponent, selectors: [[\"ibm-icon-chevron-up\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconChevronUp\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function ChevronUpComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [ChevronUpDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ChevronUpComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-chevron-up\",\n                template: \"\\n    <svg\\n      ibmIconChevronUp\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return ChevronUpComponent;\n}());\nvar ChevronUpDirective = /** @class */ (function () {\n    function ChevronUpDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"ChevronUp32\", \"filepath\": \"chevron--up/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M16 10L26 20 24.6 21.4 16 12.8 7.4 21.4 6 20z\" } }], \"name\": \"chevron--up\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M16 10L26 20 24.6 21.4 16 12.8 7.4 21.4 6 20z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"ChevronUp24\", \"filepath\": \"chevron--up/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M16 10L26 20 24.6 21.4 16 12.8 7.4 21.4 6 20z\" } }], \"name\": \"chevron--up\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M16 10L26 20 24.6 21.4 16 12.8 7.4 21.4 6 20z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"ChevronUp20\", \"filepath\": \"chevron--up/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M16 10L26 20 24.6 21.4 16 12.8 7.4 21.4 6 20z\" } }], \"name\": \"chevron--up\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M16 10L26 20 24.6 21.4 16 12.8 7.4 21.4 6 20z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"ChevronUp16\", \"filepath\": \"chevron--up/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 16 16\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M8 5L13 10 12.3 10.7 8 6.4 3.7 10.7 3 10z\" } }], \"name\": \"chevron--up\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\" aria-hidden=\\\"true\\\"><path d=\\\"M8 5L13 10 12.3 10.7 8 6.4 3.7 10.7 3 10z\\\"></path></svg>\"\n            },\n            \"glyph\": {\n                metadata: { \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 10 6\", \"fill\": \"currentColor\", \"width\": \"10\", \"height\": \"6\" }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M5 0L10 5 9.3 5.7 5 1.4 0.7 5.7 0 5z\" } }], \"name\": \"chevron--up\", \"size\": \"glyph\" }, \"moduleName\": \"ChevronUpGlyph\", \"filepath\": \"chevron--up/index.js\", \"size\": \"glyph\" },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"10\\\" height=\\\"6\\\" viewBox=\\\"0 0 10 6\\\" aria-hidden=\\\"true\\\"><path d=\\\"M5 0L10 5 9.3 5.7 5 1.4 0.7 5.7 0 5z\\\"></path></svg>\"\n            },\n        };\n    }\n    ChevronUpDirective_1 = ChevronUpDirective;\n    ChevronUpDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            ChevronUpDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"chevron-up-\" + ChevronUpDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"chevron-up-\" + ChevronUpDirective_1.titleIdCounter);\n        }\n    };\n    var ChevronUpDirective_1;\n    ChevronUpDirective.titleIdCounter = 0;\n    ChevronUpDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ChevronUpDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ChevronUpDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], ChevronUpDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ChevronUpDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], ChevronUpDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ChevronUpDirective.prototype, \"size\", void 0);\n    ChevronUpDirective = ChevronUpDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], ChevronUpDirective);\nChevronUpDirective.ɵfac = function ChevronUpDirective_Factory(t) { return new (t || ChevronUpDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nChevronUpDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: ChevronUpDirective, selectors: [[\"\", \"ibmIconChevronUp\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ChevronUpDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconChevronUp]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return ChevronUpDirective;\n}());\nvar ChevronUpModule = /** @class */ (function () {\n    function ChevronUpModule() {\n    }\nChevronUpModule.ɵfac = function ChevronUpModule_Factory(t) { return new (t || ChevronUpModule)(); };\nChevronUpModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: ChevronUpModule });\nChevronUpModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ChevronUpModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    ChevronUpComponent,\n                    ChevronUpDirective,\n                ],\n                exports: [\n                    ChevronUpComponent,\n                    ChevronUpDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(ChevronUpModule, { declarations: [ChevronUpComponent, ChevronUpDirective], exports: [ChevronUpComponent, ChevronUpDirective] }); })();\n    return ChevronUpModule;\n}());\n\nexport { ChevronUpComponent, ChevronUpDirective, ChevronUpModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar CloseFilledComponent = /** @class */ (function () {\n    function CloseFilledComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CloseFilledComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CloseFilledComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], CloseFilledComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CloseFilledComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], CloseFilledComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CloseFilledComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CloseFilledComponent.prototype, \"size\", void 0);\nCloseFilledComponent.ɵfac = function CloseFilledComponent_Factory(t) { return new (t || CloseFilledComponent)(); };\nCloseFilledComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: CloseFilledComponent, selectors: [[\"ibm-icon-close-filled\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconCloseFilled\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function CloseFilledComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [CloseFilledDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(CloseFilledComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-close-filled\",\n                template: \"\\n    <svg\\n      ibmIconCloseFilled\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return CloseFilledComponent;\n}());\nvar CloseFilledDirective = /** @class */ (function () {\n    function CloseFilledDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"CloseFilled32\", \"filepath\": \"close--filled/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M16,2C8.2,2,2,8.2,2,16s6.2,14,14,14s14-6.2,14-14S23.8,2,16,2z M21.4,23L16,17.6L10.6,23L9,21.4l5.4-5.4L9,10.6L10.6,9\\tl5.4,5.4L21.4,9l1.6,1.6L17.6,16l5.4,5.4L21.4,23z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M14.4 16L9 10.6 10.6 9 16 14.4 21.4 9 23 10.6 17.6 16 23 21.4 21.4 23 16 17.6 10.6 23 9 21.4 14.4 16\", \"data-icon-path\": \"inner-path\", \"opacity\": \"0\" } }], \"name\": \"close--filled\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M16,2C8.2,2,2,8.2,2,16s6.2,14,14,14s14-6.2,14-14S23.8,2,16,2z M21.4,23L16,17.6L10.6,23L9,21.4l5.4-5.4L9,10.6L10.6,9\\tl5.4,5.4L21.4,9l1.6,1.6L17.6,16l5.4,5.4L21.4,23z\\\"></path><path d=\\\"M14.4 16L9 10.6 10.6 9 16 14.4 21.4 9 23 10.6 17.6 16 23 21.4 21.4 23 16 17.6 10.6 23 9 21.4 14.4 16\\\" data-icon-path=\\\"inner-path\\\" opacity=\\\"0\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"CloseFilled24\", \"filepath\": \"close--filled/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M16,2C8.2,2,2,8.2,2,16s6.2,14,14,14s14-6.2,14-14S23.8,2,16,2z M21.4,23L16,17.6L10.6,23L9,21.4l5.4-5.4L9,10.6L10.6,9\\tl5.4,5.4L21.4,9l1.6,1.6L17.6,16l5.4,5.4L21.4,23z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M14.4 16L9 10.6 10.6 9 16 14.4 21.4 9 23 10.6 17.6 16 23 21.4 21.4 23 16 17.6 10.6 23 9 21.4 14.4 16\", \"data-icon-path\": \"inner-path\", \"opacity\": \"0\" } }], \"name\": \"close--filled\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M16,2C8.2,2,2,8.2,2,16s6.2,14,14,14s14-6.2,14-14S23.8,2,16,2z M21.4,23L16,17.6L10.6,23L9,21.4l5.4-5.4L9,10.6L10.6,9\\tl5.4,5.4L21.4,9l1.6,1.6L17.6,16l5.4,5.4L21.4,23z\\\"></path><path d=\\\"M14.4 16L9 10.6 10.6 9 16 14.4 21.4 9 23 10.6 17.6 16 23 21.4 21.4 23 16 17.6 10.6 23 9 21.4 14.4 16\\\" data-icon-path=\\\"inner-path\\\" opacity=\\\"0\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"CloseFilled20\", \"filepath\": \"close--filled/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M16,2C8.2,2,2,8.2,2,16s6.2,14,14,14s14-6.2,14-14S23.8,2,16,2z M21.4,23L16,17.6L10.6,23L9,21.4l5.4-5.4L9,10.6L10.6,9\\tl5.4,5.4L21.4,9l1.6,1.6L17.6,16l5.4,5.4L21.4,23z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M14.4 16L9 10.6 10.6 9 16 14.4 21.4 9 23 10.6 17.6 16 23 21.4 21.4 23 16 17.6 10.6 23 9 21.4 14.4 16\", \"data-icon-path\": \"inner-path\", \"opacity\": \"0\" } }], \"name\": \"close--filled\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M16,2C8.2,2,2,8.2,2,16s6.2,14,14,14s14-6.2,14-14S23.8,2,16,2z M21.4,23L16,17.6L10.6,23L9,21.4l5.4-5.4L9,10.6L10.6,9\\tl5.4,5.4L21.4,9l1.6,1.6L17.6,16l5.4,5.4L21.4,23z\\\"></path><path d=\\\"M14.4 16L9 10.6 10.6 9 16 14.4 21.4 9 23 10.6 17.6 16 23 21.4 21.4 23 16 17.6 10.6 23 9 21.4 14.4 16\\\" data-icon-path=\\\"inner-path\\\" opacity=\\\"0\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"CloseFilled16\", \"filepath\": \"close--filled/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 16 16\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L8,8.8l-2.7,2.7l-0.8-0.8L7.2,8L4.5,5.3l0.8-0.8L8,7.2\\tl2.7-2.7l0.8,0.8L8.8,8l2.7,2.7L10.7,11.5z\" } }], \"name\": \"close--filled\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\" aria-hidden=\\\"true\\\"><path d=\\\"M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L8,8.8l-2.7,2.7l-0.8-0.8L7.2,8L4.5,5.3l0.8-0.8L8,7.2\\tl2.7-2.7l0.8,0.8L8.8,8l2.7,2.7L10.7,11.5z\\\"></path></svg>\"\n            },\n        };\n    }\n    CloseFilledDirective_1 = CloseFilledDirective;\n    CloseFilledDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            CloseFilledDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"close-filled-\" + CloseFilledDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"close-filled-\" + CloseFilledDirective_1.titleIdCounter);\n        }\n    };\n    var CloseFilledDirective_1;\n    CloseFilledDirective.titleIdCounter = 0;\n    CloseFilledDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CloseFilledDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CloseFilledDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], CloseFilledDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CloseFilledDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], CloseFilledDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CloseFilledDirective.prototype, \"size\", void 0);\n    CloseFilledDirective = CloseFilledDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], CloseFilledDirective);\nCloseFilledDirective.ɵfac = function CloseFilledDirective_Factory(t) { return new (t || CloseFilledDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nCloseFilledDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: CloseFilledDirective, selectors: [[\"\", \"ibmIconCloseFilled\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(CloseFilledDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconCloseFilled]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return CloseFilledDirective;\n}());\nvar CloseFilledModule = /** @class */ (function () {\n    function CloseFilledModule() {\n    }\nCloseFilledModule.ɵfac = function CloseFilledModule_Factory(t) { return new (t || CloseFilledModule)(); };\nCloseFilledModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: CloseFilledModule });\nCloseFilledModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(CloseFilledModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    CloseFilledComponent,\n                    CloseFilledDirective,\n                ],\n                exports: [\n                    CloseFilledComponent,\n                    CloseFilledDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(CloseFilledModule, { declarations: [CloseFilledComponent, CloseFilledDirective], exports: [CloseFilledComponent, CloseFilledDirective] }); })();\n    return CloseFilledModule;\n}());\n\nexport { CloseFilledComponent, CloseFilledDirective, CloseFilledModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar CloseComponent = /** @class */ (function () {\n    function CloseComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CloseComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CloseComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], CloseComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CloseComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], CloseComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CloseComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CloseComponent.prototype, \"size\", void 0);\nCloseComponent.ɵfac = function CloseComponent_Factory(t) { return new (t || CloseComponent)(); };\nCloseComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: CloseComponent, selectors: [[\"ibm-icon-close\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconClose\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function CloseComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [CloseDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(CloseComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-close\",\n                template: \"\\n    <svg\\n      ibmIconClose\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return CloseComponent;\n}());\nvar CloseDirective = /** @class */ (function () {\n    function CloseDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"Close32\", \"filepath\": \"close/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M24 9.4L22.6 8 16 14.6 9.4 8 8 9.4 14.6 16 8 22.6 9.4 24 16 17.4 22.6 24 24 22.6 17.4 16 24 9.4z\" } }], \"name\": \"close\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M24 9.4L22.6 8 16 14.6 9.4 8 8 9.4 14.6 16 8 22.6 9.4 24 16 17.4 22.6 24 24 22.6 17.4 16 24 9.4z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"Close24\", \"filepath\": \"close/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M24 9.4L22.6 8 16 14.6 9.4 8 8 9.4 14.6 16 8 22.6 9.4 24 16 17.4 22.6 24 24 22.6 17.4 16 24 9.4z\" } }], \"name\": \"close\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M24 9.4L22.6 8 16 14.6 9.4 8 8 9.4 14.6 16 8 22.6 9.4 24 16 17.4 22.6 24 24 22.6 17.4 16 24 9.4z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"Close20\", \"filepath\": \"close/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M24 9.4L22.6 8 16 14.6 9.4 8 8 9.4 14.6 16 8 22.6 9.4 24 16 17.4 22.6 24 24 22.6 17.4 16 24 9.4z\" } }], \"name\": \"close\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M24 9.4L22.6 8 16 14.6 9.4 8 8 9.4 14.6 16 8 22.6 9.4 24 16 17.4 22.6 24 24 22.6 17.4 16 24 9.4z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"Close16\", \"filepath\": \"close/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M24 9.4L22.6 8 16 14.6 9.4 8 8 9.4 14.6 16 8 22.6 9.4 24 16 17.4 22.6 24 24 22.6 17.4 16 24 9.4z\" } }], \"name\": \"close\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M24 9.4L22.6 8 16 14.6 9.4 8 8 9.4 14.6 16 8 22.6 9.4 24 16 17.4 22.6 24 24 22.6 17.4 16 24 9.4z\\\"></path></svg>\"\n            },\n        };\n    }\n    CloseDirective_1 = CloseDirective;\n    CloseDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            CloseDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"close-\" + CloseDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"close-\" + CloseDirective_1.titleIdCounter);\n        }\n    };\n    var CloseDirective_1;\n    CloseDirective.titleIdCounter = 0;\n    CloseDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CloseDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CloseDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], CloseDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CloseDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], CloseDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CloseDirective.prototype, \"size\", void 0);\n    CloseDirective = CloseDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], CloseDirective);\nCloseDirective.ɵfac = function CloseDirective_Factory(t) { return new (t || CloseDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nCloseDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: CloseDirective, selectors: [[\"\", \"ibmIconClose\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(CloseDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconClose]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return CloseDirective;\n}());\nvar CloseModule = /** @class */ (function () {\n    function CloseModule() {\n    }\nCloseModule.ɵfac = function CloseModule_Factory(t) { return new (t || CloseModule)(); };\nCloseModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: CloseModule });\nCloseModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(CloseModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    CloseComponent,\n                    CloseDirective,\n                ],\n                exports: [\n                    CloseComponent,\n                    CloseDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(CloseModule, { declarations: [CloseComponent, CloseDirective], exports: [CloseComponent, CloseDirective] }); })();\n    return CloseModule;\n}());\n\nexport { CloseComponent, CloseDirective, CloseModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar CollaborateComponent = /** @class */ (function () {\n    function CollaborateComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CollaborateComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CollaborateComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], CollaborateComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CollaborateComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], CollaborateComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CollaborateComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CollaborateComponent.prototype, \"size\", void 0);\nCollaborateComponent.ɵfac = function CollaborateComponent_Factory(t) { return new (t || CollaborateComponent)(); };\nCollaborateComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: CollaborateComponent, selectors: [[\"ibm-icon-collaborate\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconCollaborate\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function CollaborateComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [CollaborateDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(CollaborateComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-collaborate\",\n                template: \"\\n    <svg\\n      ibmIconCollaborate\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return CollaborateComponent;\n}());\nvar CollaborateDirective = /** @class */ (function () {\n    function CollaborateDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"Collaborate32\", \"filepath\": \"collaborate/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M6 21V20H4v1a7 7 0 007 7h3V26H11A5 5 0 016 21zM24 11v1h2V11a7 7 0 00-7-7H16V6h3A5 5 0 0124 11zM11 11H5a3 3 0 00-3 3v2H4V14a1 1 0 011-1h6a1 1 0 011 1v2h2V14A3 3 0 0011 11zM8 10A4 4 0 104 6 4 4 0 008 10zM8 4A2 2 0 116 6 2 2 0 018 4zM27 25H21a3 3 0 00-3 3v2h2V28a1 1 0 011-1h6a1 1 0 011 1v2h2V28A3 3 0 0027 25zM20 20a4 4 0 104-4A4 4 0 0020 20zm6 0a2 2 0 11-2-2A2 2 0 0126 20z\" } }], \"name\": \"collaborate\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M6 21V20H4v1a7 7 0 007 7h3V26H11A5 5 0 016 21zM24 11v1h2V11a7 7 0 00-7-7H16V6h3A5 5 0 0124 11zM11 11H5a3 3 0 00-3 3v2H4V14a1 1 0 011-1h6a1 1 0 011 1v2h2V14A3 3 0 0011 11zM8 10A4 4 0 104 6 4 4 0 008 10zM8 4A2 2 0 116 6 2 2 0 018 4zM27 25H21a3 3 0 00-3 3v2h2V28a1 1 0 011-1h6a1 1 0 011 1v2h2V28A3 3 0 0027 25zM20 20a4 4 0 104-4A4 4 0 0020 20zm6 0a2 2 0 11-2-2A2 2 0 0126 20z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"Collaborate24\", \"filepath\": \"collaborate/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M6 21V20H4v1a7 7 0 007 7h3V26H11A5 5 0 016 21zM24 11v1h2V11a7 7 0 00-7-7H16V6h3A5 5 0 0124 11zM11 11H5a3 3 0 00-3 3v2H4V14a1 1 0 011-1h6a1 1 0 011 1v2h2V14A3 3 0 0011 11zM8 10A4 4 0 104 6 4 4 0 008 10zM8 4A2 2 0 116 6 2 2 0 018 4zM27 25H21a3 3 0 00-3 3v2h2V28a1 1 0 011-1h6a1 1 0 011 1v2h2V28A3 3 0 0027 25zM20 20a4 4 0 104-4A4 4 0 0020 20zm6 0a2 2 0 11-2-2A2 2 0 0126 20z\" } }], \"name\": \"collaborate\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M6 21V20H4v1a7 7 0 007 7h3V26H11A5 5 0 016 21zM24 11v1h2V11a7 7 0 00-7-7H16V6h3A5 5 0 0124 11zM11 11H5a3 3 0 00-3 3v2H4V14a1 1 0 011-1h6a1 1 0 011 1v2h2V14A3 3 0 0011 11zM8 10A4 4 0 104 6 4 4 0 008 10zM8 4A2 2 0 116 6 2 2 0 018 4zM27 25H21a3 3 0 00-3 3v2h2V28a1 1 0 011-1h6a1 1 0 011 1v2h2V28A3 3 0 0027 25zM20 20a4 4 0 104-4A4 4 0 0020 20zm6 0a2 2 0 11-2-2A2 2 0 0126 20z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"Collaborate20\", \"filepath\": \"collaborate/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M6 21V20H4v1a7 7 0 007 7h3V26H11A5 5 0 016 21zM24 11v1h2V11a7 7 0 00-7-7H16V6h3A5 5 0 0124 11zM11 11H5a3 3 0 00-3 3v2H4V14a1 1 0 011-1h6a1 1 0 011 1v2h2V14A3 3 0 0011 11zM8 10A4 4 0 104 6 4 4 0 008 10zM8 4A2 2 0 116 6 2 2 0 018 4zM27 25H21a3 3 0 00-3 3v2h2V28a1 1 0 011-1h6a1 1 0 011 1v2h2V28A3 3 0 0027 25zM20 20a4 4 0 104-4A4 4 0 0020 20zm6 0a2 2 0 11-2-2A2 2 0 0126 20z\" } }], \"name\": \"collaborate\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M6 21V20H4v1a7 7 0 007 7h3V26H11A5 5 0 016 21zM24 11v1h2V11a7 7 0 00-7-7H16V6h3A5 5 0 0124 11zM11 11H5a3 3 0 00-3 3v2H4V14a1 1 0 011-1h6a1 1 0 011 1v2h2V14A3 3 0 0011 11zM8 10A4 4 0 104 6 4 4 0 008 10zM8 4A2 2 0 116 6 2 2 0 018 4zM27 25H21a3 3 0 00-3 3v2h2V28a1 1 0 011-1h6a1 1 0 011 1v2h2V28A3 3 0 0027 25zM20 20a4 4 0 104-4A4 4 0 0020 20zm6 0a2 2 0 11-2-2A2 2 0 0126 20z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"Collaborate16\", \"filepath\": \"collaborate/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M6 21V20H4v1a7 7 0 007 7h3V26H11A5 5 0 016 21zM24 11v1h2V11a7 7 0 00-7-7H16V6h3A5 5 0 0124 11zM11 11H5a3 3 0 00-3 3v2H4V14a1 1 0 011-1h6a1 1 0 011 1v2h2V14A3 3 0 0011 11zM8 10A4 4 0 104 6 4 4 0 008 10zM8 4A2 2 0 116 6 2 2 0 018 4zM27 25H21a3 3 0 00-3 3v2h2V28a1 1 0 011-1h6a1 1 0 011 1v2h2V28A3 3 0 0027 25zM20 20a4 4 0 104-4A4 4 0 0020 20zm6 0a2 2 0 11-2-2A2 2 0 0126 20z\" } }], \"name\": \"collaborate\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M6 21V20H4v1a7 7 0 007 7h3V26H11A5 5 0 016 21zM24 11v1h2V11a7 7 0 00-7-7H16V6h3A5 5 0 0124 11zM11 11H5a3 3 0 00-3 3v2H4V14a1 1 0 011-1h6a1 1 0 011 1v2h2V14A3 3 0 0011 11zM8 10A4 4 0 104 6 4 4 0 008 10zM8 4A2 2 0 116 6 2 2 0 018 4zM27 25H21a3 3 0 00-3 3v2h2V28a1 1 0 011-1h6a1 1 0 011 1v2h2V28A3 3 0 0027 25zM20 20a4 4 0 104-4A4 4 0 0020 20zm6 0a2 2 0 11-2-2A2 2 0 0126 20z\\\"></path></svg>\"\n            },\n        };\n    }\n    CollaborateDirective_1 = CollaborateDirective;\n    CollaborateDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            CollaborateDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"collaborate-\" + CollaborateDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"collaborate-\" + CollaborateDirective_1.titleIdCounter);\n        }\n    };\n    var CollaborateDirective_1;\n    CollaborateDirective.titleIdCounter = 0;\n    CollaborateDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CollaborateDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CollaborateDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], CollaborateDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CollaborateDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], CollaborateDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CollaborateDirective.prototype, \"size\", void 0);\n    CollaborateDirective = CollaborateDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], CollaborateDirective);\nCollaborateDirective.ɵfac = function CollaborateDirective_Factory(t) { return new (t || CollaborateDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nCollaborateDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: CollaborateDirective, selectors: [[\"\", \"ibmIconCollaborate\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(CollaborateDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconCollaborate]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return CollaborateDirective;\n}());\nvar CollaborateModule = /** @class */ (function () {\n    function CollaborateModule() {\n    }\nCollaborateModule.ɵfac = function CollaborateModule_Factory(t) { return new (t || CollaborateModule)(); };\nCollaborateModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: CollaborateModule });\nCollaborateModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(CollaborateModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    CollaborateComponent,\n                    CollaborateDirective,\n                ],\n                exports: [\n                    CollaborateComponent,\n                    CollaborateDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(CollaborateModule, { declarations: [CollaborateComponent, CollaborateDirective], exports: [CollaborateComponent, CollaborateDirective] }); })();\n    return CollaborateModule;\n}());\n\nexport { CollaborateComponent, CollaborateDirective, CollaborateModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar CopyFileComponent = /** @class */ (function () {\n    function CopyFileComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CopyFileComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CopyFileComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], CopyFileComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CopyFileComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], CopyFileComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CopyFileComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CopyFileComponent.prototype, \"size\", void 0);\nCopyFileComponent.ɵfac = function CopyFileComponent_Factory(t) { return new (t || CopyFileComponent)(); };\nCopyFileComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: CopyFileComponent, selectors: [[\"ibm-icon-copy-file\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconCopyFile\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function CopyFileComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [CopyFileDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(CopyFileComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-copy-file\",\n                template: \"\\n    <svg\\n      ibmIconCopyFile\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return CopyFileComponent;\n}());\nvar CopyFileDirective = /** @class */ (function () {\n    function CopyFileDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"CopyFile32\", \"filepath\": \"copy--file/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M27.4,14.7l-6.1-6.1C21,8.2,20.5,8,20,8h-8c-1.1,0-2,0.9-2,2v18c0,1.1,0.9,2,2,2h14c1.1,0,2-0.9,2-2V16.1\\tC28,15.6,27.8,15.1,27.4,14.7z M20,10l5.9,6H20V10z M12,28V10h6v6c0,1.1,0.9,2,2,2h6l0,10H12z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M6,18H4V4c0-1.1,0.9-2,2-2h14v2H6V18z\" } }], \"name\": \"copy--file\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M27.4,14.7l-6.1-6.1C21,8.2,20.5,8,20,8h-8c-1.1,0-2,0.9-2,2v18c0,1.1,0.9,2,2,2h14c1.1,0,2-0.9,2-2V16.1\\tC28,15.6,27.8,15.1,27.4,14.7z M20,10l5.9,6H20V10z M12,28V10h6v6c0,1.1,0.9,2,2,2h6l0,10H12z\\\"></path><path d=\\\"M6,18H4V4c0-1.1,0.9-2,2-2h14v2H6V18z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"CopyFile24\", \"filepath\": \"copy--file/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M27.4,14.7l-6.1-6.1C21,8.2,20.5,8,20,8h-8c-1.1,0-2,0.9-2,2v18c0,1.1,0.9,2,2,2h14c1.1,0,2-0.9,2-2V16.1\\tC28,15.6,27.8,15.1,27.4,14.7z M20,10l5.9,6H20V10z M12,28V10h6v6c0,1.1,0.9,2,2,2h6l0,10H12z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M6,18H4V4c0-1.1,0.9-2,2-2h14v2H6V18z\" } }], \"name\": \"copy--file\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M27.4,14.7l-6.1-6.1C21,8.2,20.5,8,20,8h-8c-1.1,0-2,0.9-2,2v18c0,1.1,0.9,2,2,2h14c1.1,0,2-0.9,2-2V16.1\\tC28,15.6,27.8,15.1,27.4,14.7z M20,10l5.9,6H20V10z M12,28V10h6v6c0,1.1,0.9,2,2,2h6l0,10H12z\\\"></path><path d=\\\"M6,18H4V4c0-1.1,0.9-2,2-2h14v2H6V18z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"CopyFile20\", \"filepath\": \"copy--file/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M27.4,14.7l-6.1-6.1C21,8.2,20.5,8,20,8h-8c-1.1,0-2,0.9-2,2v18c0,1.1,0.9,2,2,2h14c1.1,0,2-0.9,2-2V16.1\\tC28,15.6,27.8,15.1,27.4,14.7z M20,10l5.9,6H20V10z M12,28V10h6v6c0,1.1,0.9,2,2,2h6l0,10H12z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M6,18H4V4c0-1.1,0.9-2,2-2h14v2H6V18z\" } }], \"name\": \"copy--file\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M27.4,14.7l-6.1-6.1C21,8.2,20.5,8,20,8h-8c-1.1,0-2,0.9-2,2v18c0,1.1,0.9,2,2,2h14c1.1,0,2-0.9,2-2V16.1\\tC28,15.6,27.8,15.1,27.4,14.7z M20,10l5.9,6H20V10z M12,28V10h6v6c0,1.1,0.9,2,2,2h6l0,10H12z\\\"></path><path d=\\\"M6,18H4V4c0-1.1,0.9-2,2-2h14v2H6V18z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"CopyFile16\", \"filepath\": \"copy--file/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M27.4,14.7l-6.1-6.1C21,8.2,20.5,8,20,8h-8c-1.1,0-2,0.9-2,2v18c0,1.1,0.9,2,2,2h14c1.1,0,2-0.9,2-2V16.1\\tC28,15.6,27.8,15.1,27.4,14.7z M20,10l5.9,6H20V10z M12,28V10h6v6c0,1.1,0.9,2,2,2h6l0,10H12z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M6,18H4V4c0-1.1,0.9-2,2-2h14v2H6V18z\" } }], \"name\": \"copy--file\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M27.4,14.7l-6.1-6.1C21,8.2,20.5,8,20,8h-8c-1.1,0-2,0.9-2,2v18c0,1.1,0.9,2,2,2h14c1.1,0,2-0.9,2-2V16.1\\tC28,15.6,27.8,15.1,27.4,14.7z M20,10l5.9,6H20V10z M12,28V10h6v6c0,1.1,0.9,2,2,2h6l0,10H12z\\\"></path><path d=\\\"M6,18H4V4c0-1.1,0.9-2,2-2h14v2H6V18z\\\"></path></svg>\"\n            },\n        };\n    }\n    CopyFileDirective_1 = CopyFileDirective;\n    CopyFileDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            CopyFileDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"copy-file-\" + CopyFileDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"copy-file-\" + CopyFileDirective_1.titleIdCounter);\n        }\n    };\n    var CopyFileDirective_1;\n    CopyFileDirective.titleIdCounter = 0;\n    CopyFileDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CopyFileDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CopyFileDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], CopyFileDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CopyFileDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], CopyFileDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CopyFileDirective.prototype, \"size\", void 0);\n    CopyFileDirective = CopyFileDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], CopyFileDirective);\nCopyFileDirective.ɵfac = function CopyFileDirective_Factory(t) { return new (t || CopyFileDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nCopyFileDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: CopyFileDirective, selectors: [[\"\", \"ibmIconCopyFile\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(CopyFileDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconCopyFile]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return CopyFileDirective;\n}());\nvar CopyFileModule = /** @class */ (function () {\n    function CopyFileModule() {\n    }\nCopyFileModule.ɵfac = function CopyFileModule_Factory(t) { return new (t || CopyFileModule)(); };\nCopyFileModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: CopyFileModule });\nCopyFileModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(CopyFileModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    CopyFileComponent,\n                    CopyFileDirective,\n                ],\n                exports: [\n                    CopyFileComponent,\n                    CopyFileDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(CopyFileModule, { declarations: [CopyFileComponent, CopyFileDirective], exports: [CopyFileComponent, CopyFileDirective] }); })();\n    return CopyFileModule;\n}());\n\nexport { CopyFileComponent, CopyFileDirective, CopyFileModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar CopyComponent = /** @class */ (function () {\n    function CopyComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CopyComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CopyComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], CopyComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CopyComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], CopyComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CopyComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CopyComponent.prototype, \"size\", void 0);\nCopyComponent.ɵfac = function CopyComponent_Factory(t) { return new (t || CopyComponent)(); };\nCopyComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: CopyComponent, selectors: [[\"ibm-icon-copy\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconCopy\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function CopyComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [CopyDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(CopyComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-copy\",\n                template: \"\\n    <svg\\n      ibmIconCopy\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return CopyComponent;\n}());\nvar CopyDirective = /** @class */ (function () {\n    function CopyDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"Copy32\", \"filepath\": \"copy/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M28,10V28H10V10H28m0-2H10a2,2,0,0,0-2,2V28a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V10a2,2,0,0,0-2-2Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M4,18H2V4A2,2,0,0,1,4,2H18V4H4Z\" } }], \"name\": \"copy\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M28,10V28H10V10H28m0-2H10a2,2,0,0,0-2,2V28a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V10a2,2,0,0,0-2-2Z\\\"></path><path d=\\\"M4,18H2V4A2,2,0,0,1,4,2H18V4H4Z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"Copy24\", \"filepath\": \"copy/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M28,10V28H10V10H28m0-2H10a2,2,0,0,0-2,2V28a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V10a2,2,0,0,0-2-2Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M4,18H2V4A2,2,0,0,1,4,2H18V4H4Z\" } }], \"name\": \"copy\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M28,10V28H10V10H28m0-2H10a2,2,0,0,0-2,2V28a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V10a2,2,0,0,0-2-2Z\\\"></path><path d=\\\"M4,18H2V4A2,2,0,0,1,4,2H18V4H4Z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"Copy20\", \"filepath\": \"copy/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M28,10V28H10V10H28m0-2H10a2,2,0,0,0-2,2V28a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V10a2,2,0,0,0-2-2Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M4,18H2V4A2,2,0,0,1,4,2H18V4H4Z\" } }], \"name\": \"copy\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M28,10V28H10V10H28m0-2H10a2,2,0,0,0-2,2V28a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V10a2,2,0,0,0-2-2Z\\\"></path><path d=\\\"M4,18H2V4A2,2,0,0,1,4,2H18V4H4Z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"Copy16\", \"filepath\": \"copy/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M28,10V28H10V10H28m0-2H10a2,2,0,0,0-2,2V28a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V10a2,2,0,0,0-2-2Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M4,18H2V4A2,2,0,0,1,4,2H18V4H4Z\" } }], \"name\": \"copy\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M28,10V28H10V10H28m0-2H10a2,2,0,0,0-2,2V28a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V10a2,2,0,0,0-2-2Z\\\"></path><path d=\\\"M4,18H2V4A2,2,0,0,1,4,2H18V4H4Z\\\"></path></svg>\"\n            },\n        };\n    }\n    CopyDirective_1 = CopyDirective;\n    CopyDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            CopyDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"copy-\" + CopyDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"copy-\" + CopyDirective_1.titleIdCounter);\n        }\n    };\n    var CopyDirective_1;\n    CopyDirective.titleIdCounter = 0;\n    CopyDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CopyDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CopyDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], CopyDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CopyDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], CopyDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], CopyDirective.prototype, \"size\", void 0);\n    CopyDirective = CopyDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], CopyDirective);\nCopyDirective.ɵfac = function CopyDirective_Factory(t) { return new (t || CopyDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nCopyDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: CopyDirective, selectors: [[\"\", \"ibmIconCopy\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(CopyDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconCopy]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return CopyDirective;\n}());\nvar CopyModule = /** @class */ (function () {\n    function CopyModule() {\n    }\nCopyModule.ɵfac = function CopyModule_Factory(t) { return new (t || CopyModule)(); };\nCopyModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: CopyModule });\nCopyModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(CopyModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    CopyComponent,\n                    CopyDirective,\n                ],\n                exports: [\n                    CopyComponent,\n                    CopyDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(CopyModule, { declarations: [CopyComponent, CopyDirective], exports: [CopyComponent, CopyDirective] }); })();\n    return CopyModule;\n}());\n\nexport { CopyComponent, CopyDirective, CopyModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar DashboardComponent = /** @class */ (function () {\n    function DashboardComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], DashboardComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], DashboardComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], DashboardComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], DashboardComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], DashboardComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], DashboardComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], DashboardComponent.prototype, \"size\", void 0);\nDashboardComponent.ɵfac = function DashboardComponent_Factory(t) { return new (t || DashboardComponent)(); };\nDashboardComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: DashboardComponent, selectors: [[\"ibm-icon-dashboard\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconDashboard\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function DashboardComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [DashboardDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(DashboardComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-dashboard\",\n                template: \"\\n    <svg\\n      ibmIconDashboard\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return DashboardComponent;\n}());\nvar DashboardDirective = /** @class */ (function () {\n    function DashboardDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"Dashboard32\", \"filepath\": \"dashboard/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M24 21H26V26H24zM20 16H22V26H20zM11 26a5.0059 5.0059 0 01-5-5H8a3 3 0 103-3V16a5 5 0 010 10z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M28,2H4A2.002,2.002,0,0,0,2,4V28a2.0023,2.0023,0,0,0,2,2H28a2.0027,2.0027,0,0,0,2-2V4A2.0023,2.0023,0,0,0,28,2Zm0,9H14V4H28ZM12,4v7H4V4ZM4,28V13H28.0007l.0013,15Z\" } }], \"name\": \"dashboard\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M24 21H26V26H24zM20 16H22V26H20zM11 26a5.0059 5.0059 0 01-5-5H8a3 3 0 103-3V16a5 5 0 010 10z\\\"></path><path d=\\\"M28,2H4A2.002,2.002,0,0,0,2,4V28a2.0023,2.0023,0,0,0,2,2H28a2.0027,2.0027,0,0,0,2-2V4A2.0023,2.0023,0,0,0,28,2Zm0,9H14V4H28ZM12,4v7H4V4ZM4,28V13H28.0007l.0013,15Z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"Dashboard24\", \"filepath\": \"dashboard/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M24 21H26V26H24zM20 16H22V26H20zM11 26a5.0059 5.0059 0 01-5-5H8a3 3 0 103-3V16a5 5 0 010 10z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M28,2H4A2.002,2.002,0,0,0,2,4V28a2.0023,2.0023,0,0,0,2,2H28a2.0027,2.0027,0,0,0,2-2V4A2.0023,2.0023,0,0,0,28,2Zm0,9H14V4H28ZM12,4v7H4V4ZM4,28V13H28.0007l.0013,15Z\" } }], \"name\": \"dashboard\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M24 21H26V26H24zM20 16H22V26H20zM11 26a5.0059 5.0059 0 01-5-5H8a3 3 0 103-3V16a5 5 0 010 10z\\\"></path><path d=\\\"M28,2H4A2.002,2.002,0,0,0,2,4V28a2.0023,2.0023,0,0,0,2,2H28a2.0027,2.0027,0,0,0,2-2V4A2.0023,2.0023,0,0,0,28,2Zm0,9H14V4H28ZM12,4v7H4V4ZM4,28V13H28.0007l.0013,15Z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"Dashboard20\", \"filepath\": \"dashboard/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M24 21H26V26H24zM20 16H22V26H20zM11 26a5.0059 5.0059 0 01-5-5H8a3 3 0 103-3V16a5 5 0 010 10z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M28,2H4A2.002,2.002,0,0,0,2,4V28a2.0023,2.0023,0,0,0,2,2H28a2.0027,2.0027,0,0,0,2-2V4A2.0023,2.0023,0,0,0,28,2Zm0,9H14V4H28ZM12,4v7H4V4ZM4,28V13H28.0007l.0013,15Z\" } }], \"name\": \"dashboard\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M24 21H26V26H24zM20 16H22V26H20zM11 26a5.0059 5.0059 0 01-5-5H8a3 3 0 103-3V16a5 5 0 010 10z\\\"></path><path d=\\\"M28,2H4A2.002,2.002,0,0,0,2,4V28a2.0023,2.0023,0,0,0,2,2H28a2.0027,2.0027,0,0,0,2-2V4A2.0023,2.0023,0,0,0,28,2Zm0,9H14V4H28ZM12,4v7H4V4ZM4,28V13H28.0007l.0013,15Z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"Dashboard16\", \"filepath\": \"dashboard/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M24 21H26V26H24zM20 16H22V26H20zM11 26a5.0059 5.0059 0 01-5-5H8a3 3 0 103-3V16a5 5 0 010 10z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M28,2H4A2.002,2.002,0,0,0,2,4V28a2.0023,2.0023,0,0,0,2,2H28a2.0027,2.0027,0,0,0,2-2V4A2.0023,2.0023,0,0,0,28,2Zm0,9H14V4H28ZM12,4v7H4V4ZM4,28V13H28.0007l.0013,15Z\" } }], \"name\": \"dashboard\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M24 21H26V26H24zM20 16H22V26H20zM11 26a5.0059 5.0059 0 01-5-5H8a3 3 0 103-3V16a5 5 0 010 10z\\\"></path><path d=\\\"M28,2H4A2.002,2.002,0,0,0,2,4V28a2.0023,2.0023,0,0,0,2,2H28a2.0027,2.0027,0,0,0,2-2V4A2.0023,2.0023,0,0,0,28,2Zm0,9H14V4H28ZM12,4v7H4V4ZM4,28V13H28.0007l.0013,15Z\\\"></path></svg>\"\n            },\n        };\n    }\n    DashboardDirective_1 = DashboardDirective;\n    DashboardDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            DashboardDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"dashboard-\" + DashboardDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"dashboard-\" + DashboardDirective_1.titleIdCounter);\n        }\n    };\n    var DashboardDirective_1;\n    DashboardDirective.titleIdCounter = 0;\n    DashboardDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], DashboardDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], DashboardDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], DashboardDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], DashboardDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], DashboardDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], DashboardDirective.prototype, \"size\", void 0);\n    DashboardDirective = DashboardDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], DashboardDirective);\nDashboardDirective.ɵfac = function DashboardDirective_Factory(t) { return new (t || DashboardDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nDashboardDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: DashboardDirective, selectors: [[\"\", \"ibmIconDashboard\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(DashboardDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconDashboard]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return DashboardDirective;\n}());\nvar DashboardModule = /** @class */ (function () {\n    function DashboardModule() {\n    }\nDashboardModule.ɵfac = function DashboardModule_Factory(t) { return new (t || DashboardModule)(); };\nDashboardModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: DashboardModule });\nDashboardModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(DashboardModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    DashboardComponent,\n                    DashboardDirective,\n                ],\n                exports: [\n                    DashboardComponent,\n                    DashboardDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(DashboardModule, { declarations: [DashboardComponent, DashboardDirective], exports: [DashboardComponent, DashboardDirective] }); })();\n    return DashboardModule;\n}());\n\nexport { DashboardComponent, DashboardDirective, DashboardModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar DataBaseComponent = /** @class */ (function () {\n    function DataBaseComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], DataBaseComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], DataBaseComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], DataBaseComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], DataBaseComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], DataBaseComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], DataBaseComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], DataBaseComponent.prototype, \"size\", void 0);\nDataBaseComponent.ɵfac = function DataBaseComponent_Factory(t) { return new (t || DataBaseComponent)(); };\nDataBaseComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: DataBaseComponent, selectors: [[\"ibm-icon-data-base\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconDataBase\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function DataBaseComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [DataBaseDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(DataBaseComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-data-base\",\n                template: \"\\n    <svg\\n      ibmIconDataBase\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return DataBaseComponent;\n}());\nvar DataBaseDirective = /** @class */ (function () {\n    function DataBaseDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"DataBase32\", \"filepath\": \"data--base/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M24,3H8A2,2,0,0,0,6,5V27a2,2,0,0,0,2,2H24a2,2,0,0,0,2-2V5A2,2,0,0,0,24,3Zm0,2v6H8V5ZM8,19V13H24v6Zm0,8V21H24v6Z\" } }, { \"elem\": \"circle\", \"attrs\": { \"cx\": \"11\", \"cy\": \"8\", \"r\": \"1\" } }, { \"elem\": \"circle\", \"attrs\": { \"cx\": \"11\", \"cy\": \"16\", \"r\": \"1\" } }, { \"elem\": \"circle\", \"attrs\": { \"cx\": \"11\", \"cy\": \"24\", \"r\": \"1\" } }], \"name\": \"data--base\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M24,3H8A2,2,0,0,0,6,5V27a2,2,0,0,0,2,2H24a2,2,0,0,0,2-2V5A2,2,0,0,0,24,3Zm0,2v6H8V5ZM8,19V13H24v6Zm0,8V21H24v6Z\\\"></path><circle cx=\\\"11\\\" cy=\\\"8\\\" r=\\\"1\\\"></circle><circle cx=\\\"11\\\" cy=\\\"16\\\" r=\\\"1\\\"></circle><circle cx=\\\"11\\\" cy=\\\"24\\\" r=\\\"1\\\"></circle></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"DataBase24\", \"filepath\": \"data--base/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M24,3H8A2,2,0,0,0,6,5V27a2,2,0,0,0,2,2H24a2,2,0,0,0,2-2V5A2,2,0,0,0,24,3Zm0,2v6H8V5ZM8,19V13H24v6Zm0,8V21H24v6Z\" } }, { \"elem\": \"circle\", \"attrs\": { \"cx\": \"11\", \"cy\": \"8\", \"r\": \"1\" } }, { \"elem\": \"circle\", \"attrs\": { \"cx\": \"11\", \"cy\": \"16\", \"r\": \"1\" } }, { \"elem\": \"circle\", \"attrs\": { \"cx\": \"11\", \"cy\": \"24\", \"r\": \"1\" } }], \"name\": \"data--base\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M24,3H8A2,2,0,0,0,6,5V27a2,2,0,0,0,2,2H24a2,2,0,0,0,2-2V5A2,2,0,0,0,24,3Zm0,2v6H8V5ZM8,19V13H24v6Zm0,8V21H24v6Z\\\"></path><circle cx=\\\"11\\\" cy=\\\"8\\\" r=\\\"1\\\"></circle><circle cx=\\\"11\\\" cy=\\\"16\\\" r=\\\"1\\\"></circle><circle cx=\\\"11\\\" cy=\\\"24\\\" r=\\\"1\\\"></circle></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"DataBase20\", \"filepath\": \"data--base/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M24,3H8A2,2,0,0,0,6,5V27a2,2,0,0,0,2,2H24a2,2,0,0,0,2-2V5A2,2,0,0,0,24,3Zm0,2v6H8V5ZM8,19V13H24v6Zm0,8V21H24v6Z\" } }, { \"elem\": \"circle\", \"attrs\": { \"cx\": \"11\", \"cy\": \"8\", \"r\": \"1\" } }, { \"elem\": \"circle\", \"attrs\": { \"cx\": \"11\", \"cy\": \"16\", \"r\": \"1\" } }, { \"elem\": \"circle\", \"attrs\": { \"cx\": \"11\", \"cy\": \"24\", \"r\": \"1\" } }], \"name\": \"data--base\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M24,3H8A2,2,0,0,0,6,5V27a2,2,0,0,0,2,2H24a2,2,0,0,0,2-2V5A2,2,0,0,0,24,3Zm0,2v6H8V5ZM8,19V13H24v6Zm0,8V21H24v6Z\\\"></path><circle cx=\\\"11\\\" cy=\\\"8\\\" r=\\\"1\\\"></circle><circle cx=\\\"11\\\" cy=\\\"16\\\" r=\\\"1\\\"></circle><circle cx=\\\"11\\\" cy=\\\"24\\\" r=\\\"1\\\"></circle></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"DataBase16\", \"filepath\": \"data--base/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M24,3H8A2,2,0,0,0,6,5V27a2,2,0,0,0,2,2H24a2,2,0,0,0,2-2V5A2,2,0,0,0,24,3Zm0,2v6H8V5ZM8,19V13H24v6Zm0,8V21H24v6Z\" } }, { \"elem\": \"circle\", \"attrs\": { \"cx\": \"11\", \"cy\": \"8\", \"r\": \"1\" } }, { \"elem\": \"circle\", \"attrs\": { \"cx\": \"11\", \"cy\": \"16\", \"r\": \"1\" } }, { \"elem\": \"circle\", \"attrs\": { \"cx\": \"11\", \"cy\": \"24\", \"r\": \"1\" } }], \"name\": \"data--base\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M24,3H8A2,2,0,0,0,6,5V27a2,2,0,0,0,2,2H24a2,2,0,0,0,2-2V5A2,2,0,0,0,24,3Zm0,2v6H8V5ZM8,19V13H24v6Zm0,8V21H24v6Z\\\"></path><circle cx=\\\"11\\\" cy=\\\"8\\\" r=\\\"1\\\"></circle><circle cx=\\\"11\\\" cy=\\\"16\\\" r=\\\"1\\\"></circle><circle cx=\\\"11\\\" cy=\\\"24\\\" r=\\\"1\\\"></circle></svg>\"\n            },\n        };\n    }\n    DataBaseDirective_1 = DataBaseDirective;\n    DataBaseDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            DataBaseDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"data-base-\" + DataBaseDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"data-base-\" + DataBaseDirective_1.titleIdCounter);\n        }\n    };\n    var DataBaseDirective_1;\n    DataBaseDirective.titleIdCounter = 0;\n    DataBaseDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], DataBaseDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], DataBaseDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], DataBaseDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], DataBaseDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], DataBaseDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], DataBaseDirective.prototype, \"size\", void 0);\n    DataBaseDirective = DataBaseDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], DataBaseDirective);\nDataBaseDirective.ɵfac = function DataBaseDirective_Factory(t) { return new (t || DataBaseDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nDataBaseDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: DataBaseDirective, selectors: [[\"\", \"ibmIconDataBase\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(DataBaseDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconDataBase]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return DataBaseDirective;\n}());\nvar DataBaseModule = /** @class */ (function () {\n    function DataBaseModule() {\n    }\nDataBaseModule.ɵfac = function DataBaseModule_Factory(t) { return new (t || DataBaseModule)(); };\nDataBaseModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: DataBaseModule });\nDataBaseModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(DataBaseModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    DataBaseComponent,\n                    DataBaseDirective,\n                ],\n                exports: [\n                    DataBaseComponent,\n                    DataBaseDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(DataBaseModule, { declarations: [DataBaseComponent, DataBaseDirective], exports: [DataBaseComponent, DataBaseDirective] }); })();\n    return DataBaseModule;\n}());\n\nexport { DataBaseComponent, DataBaseDirective, DataBaseModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar DataVis_1Component = /** @class */ (function () {\n    function DataVis_1Component() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], DataVis_1Component.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], DataVis_1Component.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], DataVis_1Component.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], DataVis_1Component.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], DataVis_1Component.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], DataVis_1Component.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], DataVis_1Component.prototype, \"size\", void 0);\nDataVis_1Component.ɵfac = function DataVis_1Component_Factory(t) { return new (t || DataVis_1Component)(); };\nDataVis_1Component.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: DataVis_1Component, selectors: [[\"ibm-icon-data-vis-1\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconDataVis_1\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function DataVis_1Component_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [DataVis_1Directive]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(DataVis_1Component, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-data-vis-1\",\n                template: \"\\n    <svg\\n      ibmIconDataVis_1\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return DataVis_1Component;\n}());\nvar DataVis_1Directive = /** @class */ (function () {\n    function DataVis_1Directive(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"DataVis_132\", \"filepath\": \"data-vis--1/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M26,22a3.9553,3.9553,0,0,0-2.0193.5667L20.167,18.7529a4.9654,4.9654,0,0,0,0-5.5058L22.714,10.7A3.0284,3.0284,0,1,0,21.3,9.286l-2.547,2.547a4.9654,4.9654,0,0,0-5.5058,0L9.4332,8.0191A3.9553,3.9553,0,0,0,10,6a4,4,0,1,0-4,4,3.9553,3.9553,0,0,0,2.0191-.5668l3.8139,3.8139a4.9654,4.9654,0,0,0,0,5.5058L8.0192,22.5668A3.9556,3.9556,0,0,0,6,22a4,4,0,1,0,4,4,3.9553,3.9553,0,0,0-.5667-2.0192l3.8138-3.8138A4.9686,4.9686,0,0,0,15,20.8989v3.2848a3,3,0,1,0,2,0V20.8989a4.9686,4.9686,0,0,0,1.7529-.7319l3.8138,3.8137A3.9553,3.9553,0,0,0,22,26a4,4,0,1,0,4-4ZM16,13a3,3,0,1,1-3,3A3.0033,3.0033,0,0,1,16,13ZM4,6A2,2,0,1,1,6,8,2.002,2.002,0,0,1,4,6ZM6,28a2,2,0,1,1,2-2A2.0023,2.0023,0,0,1,6,28Zm20,0a2,2,0,1,1,2-2A2.0027,2.0027,0,0,1,26,28Z\" } }], \"name\": \"data-vis--1\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M26,22a3.9553,3.9553,0,0,0-2.0193.5667L20.167,18.7529a4.9654,4.9654,0,0,0,0-5.5058L22.714,10.7A3.0284,3.0284,0,1,0,21.3,9.286l-2.547,2.547a4.9654,4.9654,0,0,0-5.5058,0L9.4332,8.0191A3.9553,3.9553,0,0,0,10,6a4,4,0,1,0-4,4,3.9553,3.9553,0,0,0,2.0191-.5668l3.8139,3.8139a4.9654,4.9654,0,0,0,0,5.5058L8.0192,22.5668A3.9556,3.9556,0,0,0,6,22a4,4,0,1,0,4,4,3.9553,3.9553,0,0,0-.5667-2.0192l3.8138-3.8138A4.9686,4.9686,0,0,0,15,20.8989v3.2848a3,3,0,1,0,2,0V20.8989a4.9686,4.9686,0,0,0,1.7529-.7319l3.8138,3.8137A3.9553,3.9553,0,0,0,22,26a4,4,0,1,0,4-4ZM16,13a3,3,0,1,1-3,3A3.0033,3.0033,0,0,1,16,13ZM4,6A2,2,0,1,1,6,8,2.002,2.002,0,0,1,4,6ZM6,28a2,2,0,1,1,2-2A2.0023,2.0023,0,0,1,6,28Zm20,0a2,2,0,1,1,2-2A2.0027,2.0027,0,0,1,26,28Z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"DataVis_124\", \"filepath\": \"data-vis--1/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M26,22a3.9553,3.9553,0,0,0-2.0193.5667L20.167,18.7529a4.9654,4.9654,0,0,0,0-5.5058L22.714,10.7A3.0284,3.0284,0,1,0,21.3,9.286l-2.547,2.547a4.9654,4.9654,0,0,0-5.5058,0L9.4332,8.0191A3.9553,3.9553,0,0,0,10,6a4,4,0,1,0-4,4,3.9553,3.9553,0,0,0,2.0191-.5668l3.8139,3.8139a4.9654,4.9654,0,0,0,0,5.5058L8.0192,22.5668A3.9556,3.9556,0,0,0,6,22a4,4,0,1,0,4,4,3.9553,3.9553,0,0,0-.5667-2.0192l3.8138-3.8138A4.9686,4.9686,0,0,0,15,20.8989v3.2848a3,3,0,1,0,2,0V20.8989a4.9686,4.9686,0,0,0,1.7529-.7319l3.8138,3.8137A3.9553,3.9553,0,0,0,22,26a4,4,0,1,0,4-4ZM16,13a3,3,0,1,1-3,3A3.0033,3.0033,0,0,1,16,13ZM4,6A2,2,0,1,1,6,8,2.002,2.002,0,0,1,4,6ZM6,28a2,2,0,1,1,2-2A2.0023,2.0023,0,0,1,6,28Zm20,0a2,2,0,1,1,2-2A2.0027,2.0027,0,0,1,26,28Z\" } }], \"name\": \"data-vis--1\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M26,22a3.9553,3.9553,0,0,0-2.0193.5667L20.167,18.7529a4.9654,4.9654,0,0,0,0-5.5058L22.714,10.7A3.0284,3.0284,0,1,0,21.3,9.286l-2.547,2.547a4.9654,4.9654,0,0,0-5.5058,0L9.4332,8.0191A3.9553,3.9553,0,0,0,10,6a4,4,0,1,0-4,4,3.9553,3.9553,0,0,0,2.0191-.5668l3.8139,3.8139a4.9654,4.9654,0,0,0,0,5.5058L8.0192,22.5668A3.9556,3.9556,0,0,0,6,22a4,4,0,1,0,4,4,3.9553,3.9553,0,0,0-.5667-2.0192l3.8138-3.8138A4.9686,4.9686,0,0,0,15,20.8989v3.2848a3,3,0,1,0,2,0V20.8989a4.9686,4.9686,0,0,0,1.7529-.7319l3.8138,3.8137A3.9553,3.9553,0,0,0,22,26a4,4,0,1,0,4-4ZM16,13a3,3,0,1,1-3,3A3.0033,3.0033,0,0,1,16,13ZM4,6A2,2,0,1,1,6,8,2.002,2.002,0,0,1,4,6ZM6,28a2,2,0,1,1,2-2A2.0023,2.0023,0,0,1,6,28Zm20,0a2,2,0,1,1,2-2A2.0027,2.0027,0,0,1,26,28Z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"DataVis_120\", \"filepath\": \"data-vis--1/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M26,22a3.9553,3.9553,0,0,0-2.0193.5667L20.167,18.7529a4.9654,4.9654,0,0,0,0-5.5058L22.714,10.7A3.0284,3.0284,0,1,0,21.3,9.286l-2.547,2.547a4.9654,4.9654,0,0,0-5.5058,0L9.4332,8.0191A3.9553,3.9553,0,0,0,10,6a4,4,0,1,0-4,4,3.9553,3.9553,0,0,0,2.0191-.5668l3.8139,3.8139a4.9654,4.9654,0,0,0,0,5.5058L8.0192,22.5668A3.9556,3.9556,0,0,0,6,22a4,4,0,1,0,4,4,3.9553,3.9553,0,0,0-.5667-2.0192l3.8138-3.8138A4.9686,4.9686,0,0,0,15,20.8989v3.2848a3,3,0,1,0,2,0V20.8989a4.9686,4.9686,0,0,0,1.7529-.7319l3.8138,3.8137A3.9553,3.9553,0,0,0,22,26a4,4,0,1,0,4-4ZM16,13a3,3,0,1,1-3,3A3.0033,3.0033,0,0,1,16,13ZM4,6A2,2,0,1,1,6,8,2.002,2.002,0,0,1,4,6ZM6,28a2,2,0,1,1,2-2A2.0023,2.0023,0,0,1,6,28Zm20,0a2,2,0,1,1,2-2A2.0027,2.0027,0,0,1,26,28Z\" } }], \"name\": \"data-vis--1\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M26,22a3.9553,3.9553,0,0,0-2.0193.5667L20.167,18.7529a4.9654,4.9654,0,0,0,0-5.5058L22.714,10.7A3.0284,3.0284,0,1,0,21.3,9.286l-2.547,2.547a4.9654,4.9654,0,0,0-5.5058,0L9.4332,8.0191A3.9553,3.9553,0,0,0,10,6a4,4,0,1,0-4,4,3.9553,3.9553,0,0,0,2.0191-.5668l3.8139,3.8139a4.9654,4.9654,0,0,0,0,5.5058L8.0192,22.5668A3.9556,3.9556,0,0,0,6,22a4,4,0,1,0,4,4,3.9553,3.9553,0,0,0-.5667-2.0192l3.8138-3.8138A4.9686,4.9686,0,0,0,15,20.8989v3.2848a3,3,0,1,0,2,0V20.8989a4.9686,4.9686,0,0,0,1.7529-.7319l3.8138,3.8137A3.9553,3.9553,0,0,0,22,26a4,4,0,1,0,4-4ZM16,13a3,3,0,1,1-3,3A3.0033,3.0033,0,0,1,16,13ZM4,6A2,2,0,1,1,6,8,2.002,2.002,0,0,1,4,6ZM6,28a2,2,0,1,1,2-2A2.0023,2.0023,0,0,1,6,28Zm20,0a2,2,0,1,1,2-2A2.0027,2.0027,0,0,1,26,28Z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"DataVis_116\", \"filepath\": \"data-vis--1/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M26,22a3.9553,3.9553,0,0,0-2.0193.5667L20.167,18.7529a4.9654,4.9654,0,0,0,0-5.5058L22.714,10.7A3.0284,3.0284,0,1,0,21.3,9.286l-2.547,2.547a4.9654,4.9654,0,0,0-5.5058,0L9.4332,8.0191A3.9553,3.9553,0,0,0,10,6a4,4,0,1,0-4,4,3.9553,3.9553,0,0,0,2.0191-.5668l3.8139,3.8139a4.9654,4.9654,0,0,0,0,5.5058L8.0192,22.5668A3.9556,3.9556,0,0,0,6,22a4,4,0,1,0,4,4,3.9553,3.9553,0,0,0-.5667-2.0192l3.8138-3.8138A4.9686,4.9686,0,0,0,15,20.8989v3.2848a3,3,0,1,0,2,0V20.8989a4.9686,4.9686,0,0,0,1.7529-.7319l3.8138,3.8137A3.9553,3.9553,0,0,0,22,26a4,4,0,1,0,4-4ZM16,13a3,3,0,1,1-3,3A3.0033,3.0033,0,0,1,16,13ZM4,6A2,2,0,1,1,6,8,2.002,2.002,0,0,1,4,6ZM6,28a2,2,0,1,1,2-2A2.0023,2.0023,0,0,1,6,28Zm20,0a2,2,0,1,1,2-2A2.0027,2.0027,0,0,1,26,28Z\" } }], \"name\": \"data-vis--1\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M26,22a3.9553,3.9553,0,0,0-2.0193.5667L20.167,18.7529a4.9654,4.9654,0,0,0,0-5.5058L22.714,10.7A3.0284,3.0284,0,1,0,21.3,9.286l-2.547,2.547a4.9654,4.9654,0,0,0-5.5058,0L9.4332,8.0191A3.9553,3.9553,0,0,0,10,6a4,4,0,1,0-4,4,3.9553,3.9553,0,0,0,2.0191-.5668l3.8139,3.8139a4.9654,4.9654,0,0,0,0,5.5058L8.0192,22.5668A3.9556,3.9556,0,0,0,6,22a4,4,0,1,0,4,4,3.9553,3.9553,0,0,0-.5667-2.0192l3.8138-3.8138A4.9686,4.9686,0,0,0,15,20.8989v3.2848a3,3,0,1,0,2,0V20.8989a4.9686,4.9686,0,0,0,1.7529-.7319l3.8138,3.8137A3.9553,3.9553,0,0,0,22,26a4,4,0,1,0,4-4ZM16,13a3,3,0,1,1-3,3A3.0033,3.0033,0,0,1,16,13ZM4,6A2,2,0,1,1,6,8,2.002,2.002,0,0,1,4,6ZM6,28a2,2,0,1,1,2-2A2.0023,2.0023,0,0,1,6,28Zm20,0a2,2,0,1,1,2-2A2.0027,2.0027,0,0,1,26,28Z\\\"></path></svg>\"\n            },\n        };\n    }\n    DataVis_1Directive_1 = DataVis_1Directive;\n    DataVis_1Directive.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            DataVis_1Directive_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"data-vis-1-\" + DataVis_1Directive_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"data-vis-1-\" + DataVis_1Directive_1.titleIdCounter);\n        }\n    };\n    var DataVis_1Directive_1;\n    DataVis_1Directive.titleIdCounter = 0;\n    DataVis_1Directive.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], DataVis_1Directive.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], DataVis_1Directive.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], DataVis_1Directive.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], DataVis_1Directive.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], DataVis_1Directive.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], DataVis_1Directive.prototype, \"size\", void 0);\n    DataVis_1Directive = DataVis_1Directive_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], DataVis_1Directive);\nDataVis_1Directive.ɵfac = function DataVis_1Directive_Factory(t) { return new (t || DataVis_1Directive)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nDataVis_1Directive.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: DataVis_1Directive, selectors: [[\"\", \"ibmIconDataVis_1\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(DataVis_1Directive, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconDataVis_1]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return DataVis_1Directive;\n}());\nvar DataVis_1Module = /** @class */ (function () {\n    function DataVis_1Module() {\n    }\nDataVis_1Module.ɵfac = function DataVis_1Module_Factory(t) { return new (t || DataVis_1Module)(); };\nDataVis_1Module.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: DataVis_1Module });\nDataVis_1Module.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(DataVis_1Module, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    DataVis_1Component,\n                    DataVis_1Directive,\n                ],\n                exports: [\n                    DataVis_1Component,\n                    DataVis_1Directive,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(DataVis_1Module, { declarations: [DataVis_1Component, DataVis_1Directive], exports: [DataVis_1Component, DataVis_1Directive] }); })();\n    return DataVis_1Module;\n}());\n\nexport { DataVis_1Component, DataVis_1Directive, DataVis_1Module };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar DeleteComponent = /** @class */ (function () {\n    function DeleteComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], DeleteComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], DeleteComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], DeleteComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], DeleteComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], DeleteComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], DeleteComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], DeleteComponent.prototype, \"size\", void 0);\nDeleteComponent.ɵfac = function DeleteComponent_Factory(t) { return new (t || DeleteComponent)(); };\nDeleteComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: DeleteComponent, selectors: [[\"ibm-icon-delete\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconDelete\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function DeleteComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [DeleteDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(DeleteComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-delete\",\n                template: \"\\n    <svg\\n      ibmIconDelete\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return DeleteComponent;\n}());\nvar DeleteDirective = /** @class */ (function () {\n    function DeleteDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"Delete32\", \"filepath\": \"delete/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M12 12H14V24H12zM18 12H20V24H18z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M4 6V8H6V28a2 2 0 002 2H24a2 2 0 002-2V8h2V6zM8 28V8H24V28zM12 2H20V4H12z\" } }], \"name\": \"delete\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M12 12H14V24H12zM18 12H20V24H18z\\\"></path><path d=\\\"M4 6V8H6V28a2 2 0 002 2H24a2 2 0 002-2V8h2V6zM8 28V8H24V28zM12 2H20V4H12z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"Delete24\", \"filepath\": \"delete/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M12 12H14V24H12zM18 12H20V24H18z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M4 6V8H6V28a2 2 0 002 2H24a2 2 0 002-2V8h2V6zM8 28V8H24V28zM12 2H20V4H12z\" } }], \"name\": \"delete\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M12 12H14V24H12zM18 12H20V24H18z\\\"></path><path d=\\\"M4 6V8H6V28a2 2 0 002 2H24a2 2 0 002-2V8h2V6zM8 28V8H24V28zM12 2H20V4H12z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"Delete20\", \"filepath\": \"delete/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M12 12H14V24H12zM18 12H20V24H18z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M4 6V8H6V28a2 2 0 002 2H24a2 2 0 002-2V8h2V6zM8 28V8H24V28zM12 2H20V4H12z\" } }], \"name\": \"delete\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M12 12H14V24H12zM18 12H20V24H18z\\\"></path><path d=\\\"M4 6V8H6V28a2 2 0 002 2H24a2 2 0 002-2V8h2V6zM8 28V8H24V28zM12 2H20V4H12z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"Delete16\", \"filepath\": \"delete/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M12 12H14V24H12zM18 12H20V24H18z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M4 6V8H6V28a2 2 0 002 2H24a2 2 0 002-2V8h2V6zM8 28V8H24V28zM12 2H20V4H12z\" } }], \"name\": \"delete\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M12 12H14V24H12zM18 12H20V24H18z\\\"></path><path d=\\\"M4 6V8H6V28a2 2 0 002 2H24a2 2 0 002-2V8h2V6zM8 28V8H24V28zM12 2H20V4H12z\\\"></path></svg>\"\n            },\n        };\n    }\n    DeleteDirective_1 = DeleteDirective;\n    DeleteDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            DeleteDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"delete-\" + DeleteDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"delete-\" + DeleteDirective_1.titleIdCounter);\n        }\n    };\n    var DeleteDirective_1;\n    DeleteDirective.titleIdCounter = 0;\n    DeleteDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], DeleteDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], DeleteDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], DeleteDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], DeleteDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], DeleteDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], DeleteDirective.prototype, \"size\", void 0);\n    DeleteDirective = DeleteDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], DeleteDirective);\nDeleteDirective.ɵfac = function DeleteDirective_Factory(t) { return new (t || DeleteDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nDeleteDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: DeleteDirective, selectors: [[\"\", \"ibmIconDelete\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(DeleteDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconDelete]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return DeleteDirective;\n}());\nvar DeleteModule = /** @class */ (function () {\n    function DeleteModule() {\n    }\nDeleteModule.ɵfac = function DeleteModule_Factory(t) { return new (t || DeleteModule)(); };\nDeleteModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: DeleteModule });\nDeleteModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(DeleteModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    DeleteComponent,\n                    DeleteDirective,\n                ],\n                exports: [\n                    DeleteComponent,\n                    DeleteDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(DeleteModule, { declarations: [DeleteComponent, DeleteDirective], exports: [DeleteComponent, DeleteDirective] }); })();\n    return DeleteModule;\n}());\n\nexport { DeleteComponent, DeleteDirective, DeleteModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar DocumentViewComponent = /** @class */ (function () {\n    function DocumentViewComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], DocumentViewComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], DocumentViewComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], DocumentViewComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], DocumentViewComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], DocumentViewComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], DocumentViewComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], DocumentViewComponent.prototype, \"size\", void 0);\nDocumentViewComponent.ɵfac = function DocumentViewComponent_Factory(t) { return new (t || DocumentViewComponent)(); };\nDocumentViewComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: DocumentViewComponent, selectors: [[\"ibm-icon-document-view\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconDocumentView\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function DocumentViewComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [DocumentViewDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(DocumentViewComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-document-view\",\n                template: \"\\n    <svg\\n      ibmIconDocumentView\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return DocumentViewComponent;\n}());\nvar DocumentViewDirective = /** @class */ (function () {\n    function DocumentViewDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"DocumentView32\", \"filepath\": \"document--view/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"circle\", \"attrs\": { \"cx\": \"22\", \"cy\": \"24\", \"r\": \"2\" } }, { \"elem\": \"path\", \"attrs\": { \"fill\": \"none\", \"d\": \"M22,28a4,4,0,1,1,4-4A4.0039,4.0039,0,0,1,22,28Zm0-6a2,2,0,1,0,2,2A2.0027,2.0027,0,0,0,22,22Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M29.7769,23.4785A8.64,8.64,0,0,0,22,18a8.64,8.64,0,0,0-7.7769,5.4785L14,24l.2231.5215A8.64,8.64,0,0,0,22,30a8.64,8.64,0,0,0,7.7769-5.4785L30,24ZM22,28a4,4,0,1,1,4-4A4.0045,4.0045,0,0,1,22,28Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M12,28H8V4h8v6a2.0058,2.0058,0,0,0,2,2h6v4h2V10a.9092.9092,0,0,0-.3-.7l-7-7A.9087.9087,0,0,0,18,2H8A2.0058,2.0058,0,0,0,6,4V28a2.0058,2.0058,0,0,0,2,2h4ZM18,4.4,23.6,10H18Z\" } }], \"name\": \"document--view\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><circle cx=\\\"22\\\" cy=\\\"24\\\" r=\\\"2\\\"></circle><path fill=\\\"none\\\" d=\\\"M22,28a4,4,0,1,1,4-4A4.0039,4.0039,0,0,1,22,28Zm0-6a2,2,0,1,0,2,2A2.0027,2.0027,0,0,0,22,22Z\\\"></path><path d=\\\"M29.7769,23.4785A8.64,8.64,0,0,0,22,18a8.64,8.64,0,0,0-7.7769,5.4785L14,24l.2231.5215A8.64,8.64,0,0,0,22,30a8.64,8.64,0,0,0,7.7769-5.4785L30,24ZM22,28a4,4,0,1,1,4-4A4.0045,4.0045,0,0,1,22,28Z\\\"></path><path d=\\\"M12,28H8V4h8v6a2.0058,2.0058,0,0,0,2,2h6v4h2V10a.9092.9092,0,0,0-.3-.7l-7-7A.9087.9087,0,0,0,18,2H8A2.0058,2.0058,0,0,0,6,4V28a2.0058,2.0058,0,0,0,2,2h4ZM18,4.4,23.6,10H18Z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"DocumentView24\", \"filepath\": \"document--view/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"circle\", \"attrs\": { \"cx\": \"22\", \"cy\": \"24\", \"r\": \"2\" } }, { \"elem\": \"path\", \"attrs\": { \"fill\": \"none\", \"d\": \"M22,28a4,4,0,1,1,4-4A4.0039,4.0039,0,0,1,22,28Zm0-6a2,2,0,1,0,2,2A2.0027,2.0027,0,0,0,22,22Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M29.7769,23.4785A8.64,8.64,0,0,0,22,18a8.64,8.64,0,0,0-7.7769,5.4785L14,24l.2231.5215A8.64,8.64,0,0,0,22,30a8.64,8.64,0,0,0,7.7769-5.4785L30,24ZM22,28a4,4,0,1,1,4-4A4.0045,4.0045,0,0,1,22,28Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M12,28H8V4h8v6a2.0058,2.0058,0,0,0,2,2h6v4h2V10a.9092.9092,0,0,0-.3-.7l-7-7A.9087.9087,0,0,0,18,2H8A2.0058,2.0058,0,0,0,6,4V28a2.0058,2.0058,0,0,0,2,2h4ZM18,4.4,23.6,10H18Z\" } }], \"name\": \"document--view\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><circle cx=\\\"22\\\" cy=\\\"24\\\" r=\\\"2\\\"></circle><path fill=\\\"none\\\" d=\\\"M22,28a4,4,0,1,1,4-4A4.0039,4.0039,0,0,1,22,28Zm0-6a2,2,0,1,0,2,2A2.0027,2.0027,0,0,0,22,22Z\\\"></path><path d=\\\"M29.7769,23.4785A8.64,8.64,0,0,0,22,18a8.64,8.64,0,0,0-7.7769,5.4785L14,24l.2231.5215A8.64,8.64,0,0,0,22,30a8.64,8.64,0,0,0,7.7769-5.4785L30,24ZM22,28a4,4,0,1,1,4-4A4.0045,4.0045,0,0,1,22,28Z\\\"></path><path d=\\\"M12,28H8V4h8v6a2.0058,2.0058,0,0,0,2,2h6v4h2V10a.9092.9092,0,0,0-.3-.7l-7-7A.9087.9087,0,0,0,18,2H8A2.0058,2.0058,0,0,0,6,4V28a2.0058,2.0058,0,0,0,2,2h4ZM18,4.4,23.6,10H18Z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"DocumentView20\", \"filepath\": \"document--view/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"circle\", \"attrs\": { \"cx\": \"22\", \"cy\": \"24\", \"r\": \"2\" } }, { \"elem\": \"path\", \"attrs\": { \"fill\": \"none\", \"d\": \"M22,28a4,4,0,1,1,4-4A4.0039,4.0039,0,0,1,22,28Zm0-6a2,2,0,1,0,2,2A2.0027,2.0027,0,0,0,22,22Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M29.7769,23.4785A8.64,8.64,0,0,0,22,18a8.64,8.64,0,0,0-7.7769,5.4785L14,24l.2231.5215A8.64,8.64,0,0,0,22,30a8.64,8.64,0,0,0,7.7769-5.4785L30,24ZM22,28a4,4,0,1,1,4-4A4.0045,4.0045,0,0,1,22,28Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M12,28H8V4h8v6a2.0058,2.0058,0,0,0,2,2h6v4h2V10a.9092.9092,0,0,0-.3-.7l-7-7A.9087.9087,0,0,0,18,2H8A2.0058,2.0058,0,0,0,6,4V28a2.0058,2.0058,0,0,0,2,2h4ZM18,4.4,23.6,10H18Z\" } }], \"name\": \"document--view\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><circle cx=\\\"22\\\" cy=\\\"24\\\" r=\\\"2\\\"></circle><path fill=\\\"none\\\" d=\\\"M22,28a4,4,0,1,1,4-4A4.0039,4.0039,0,0,1,22,28Zm0-6a2,2,0,1,0,2,2A2.0027,2.0027,0,0,0,22,22Z\\\"></path><path d=\\\"M29.7769,23.4785A8.64,8.64,0,0,0,22,18a8.64,8.64,0,0,0-7.7769,5.4785L14,24l.2231.5215A8.64,8.64,0,0,0,22,30a8.64,8.64,0,0,0,7.7769-5.4785L30,24ZM22,28a4,4,0,1,1,4-4A4.0045,4.0045,0,0,1,22,28Z\\\"></path><path d=\\\"M12,28H8V4h8v6a2.0058,2.0058,0,0,0,2,2h6v4h2V10a.9092.9092,0,0,0-.3-.7l-7-7A.9087.9087,0,0,0,18,2H8A2.0058,2.0058,0,0,0,6,4V28a2.0058,2.0058,0,0,0,2,2h4ZM18,4.4,23.6,10H18Z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"DocumentView16\", \"filepath\": \"document--view/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"circle\", \"attrs\": { \"cx\": \"22\", \"cy\": \"24\", \"r\": \"2\" } }, { \"elem\": \"path\", \"attrs\": { \"fill\": \"none\", \"d\": \"M22,28a4,4,0,1,1,4-4A4.0039,4.0039,0,0,1,22,28Zm0-6a2,2,0,1,0,2,2A2.0027,2.0027,0,0,0,22,22Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M29.7769,23.4785A8.64,8.64,0,0,0,22,18a8.64,8.64,0,0,0-7.7769,5.4785L14,24l.2231.5215A8.64,8.64,0,0,0,22,30a8.64,8.64,0,0,0,7.7769-5.4785L30,24ZM22,28a4,4,0,1,1,4-4A4.0045,4.0045,0,0,1,22,28Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M12,28H8V4h8v6a2.0058,2.0058,0,0,0,2,2h6v4h2V10a.9092.9092,0,0,0-.3-.7l-7-7A.9087.9087,0,0,0,18,2H8A2.0058,2.0058,0,0,0,6,4V28a2.0058,2.0058,0,0,0,2,2h4ZM18,4.4,23.6,10H18Z\" } }], \"name\": \"document--view\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><circle cx=\\\"22\\\" cy=\\\"24\\\" r=\\\"2\\\"></circle><path fill=\\\"none\\\" d=\\\"M22,28a4,4,0,1,1,4-4A4.0039,4.0039,0,0,1,22,28Zm0-6a2,2,0,1,0,2,2A2.0027,2.0027,0,0,0,22,22Z\\\"></path><path d=\\\"M29.7769,23.4785A8.64,8.64,0,0,0,22,18a8.64,8.64,0,0,0-7.7769,5.4785L14,24l.2231.5215A8.64,8.64,0,0,0,22,30a8.64,8.64,0,0,0,7.7769-5.4785L30,24ZM22,28a4,4,0,1,1,4-4A4.0045,4.0045,0,0,1,22,28Z\\\"></path><path d=\\\"M12,28H8V4h8v6a2.0058,2.0058,0,0,0,2,2h6v4h2V10a.9092.9092,0,0,0-.3-.7l-7-7A.9087.9087,0,0,0,18,2H8A2.0058,2.0058,0,0,0,6,4V28a2.0058,2.0058,0,0,0,2,2h4ZM18,4.4,23.6,10H18Z\\\"></path></svg>\"\n            },\n        };\n    }\n    DocumentViewDirective_1 = DocumentViewDirective;\n    DocumentViewDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            DocumentViewDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"document-view-\" + DocumentViewDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"document-view-\" + DocumentViewDirective_1.titleIdCounter);\n        }\n    };\n    var DocumentViewDirective_1;\n    DocumentViewDirective.titleIdCounter = 0;\n    DocumentViewDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], DocumentViewDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], DocumentViewDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], DocumentViewDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], DocumentViewDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], DocumentViewDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], DocumentViewDirective.prototype, \"size\", void 0);\n    DocumentViewDirective = DocumentViewDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], DocumentViewDirective);\nDocumentViewDirective.ɵfac = function DocumentViewDirective_Factory(t) { return new (t || DocumentViewDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nDocumentViewDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: DocumentViewDirective, selectors: [[\"\", \"ibmIconDocumentView\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(DocumentViewDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconDocumentView]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return DocumentViewDirective;\n}());\nvar DocumentViewModule = /** @class */ (function () {\n    function DocumentViewModule() {\n    }\nDocumentViewModule.ɵfac = function DocumentViewModule_Factory(t) { return new (t || DocumentViewModule)(); };\nDocumentViewModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: DocumentViewModule });\nDocumentViewModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(DocumentViewModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    DocumentViewComponent,\n                    DocumentViewDirective,\n                ],\n                exports: [\n                    DocumentViewComponent,\n                    DocumentViewDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(DocumentViewModule, { declarations: [DocumentViewComponent, DocumentViewDirective], exports: [DocumentViewComponent, DocumentViewDirective] }); })();\n    return DocumentViewModule;\n}());\n\nexport { DocumentViewComponent, DocumentViewDirective, DocumentViewModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar DownloadComponent = /** @class */ (function () {\n    function DownloadComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], DownloadComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], DownloadComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], DownloadComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], DownloadComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], DownloadComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], DownloadComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], DownloadComponent.prototype, \"size\", void 0);\nDownloadComponent.ɵfac = function DownloadComponent_Factory(t) { return new (t || DownloadComponent)(); };\nDownloadComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: DownloadComponent, selectors: [[\"ibm-icon-download\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconDownload\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function DownloadComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [DownloadDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(DownloadComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-download\",\n                template: \"\\n    <svg\\n      ibmIconDownload\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return DownloadComponent;\n}());\nvar DownloadDirective = /** @class */ (function () {\n    function DownloadDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"Download32\", \"filepath\": \"download/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M26 15L24.59 13.59 17 21.17 17 2 15 2 15 21.17 7.41 13.59 6 15 16 25 26 15z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M26,24v4H6V24H4v4H4a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2h0V24Z\" } }], \"name\": \"download\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M26 15L24.59 13.59 17 21.17 17 2 15 2 15 21.17 7.41 13.59 6 15 16 25 26 15z\\\"></path><path d=\\\"M26,24v4H6V24H4v4H4a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2h0V24Z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"Download24\", \"filepath\": \"download/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M26 15L24.59 13.59 17 21.17 17 2 15 2 15 21.17 7.41 13.59 6 15 16 25 26 15z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M26,24v4H6V24H4v4H4a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2h0V24Z\" } }], \"name\": \"download\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M26 15L24.59 13.59 17 21.17 17 2 15 2 15 21.17 7.41 13.59 6 15 16 25 26 15z\\\"></path><path d=\\\"M26,24v4H6V24H4v4H4a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2h0V24Z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"Download20\", \"filepath\": \"download/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M26 15L24.59 13.59 17 21.17 17 2 15 2 15 21.17 7.41 13.59 6 15 16 25 26 15z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M26,24v4H6V24H4v4H4a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2h0V24Z\" } }], \"name\": \"download\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M26 15L24.59 13.59 17 21.17 17 2 15 2 15 21.17 7.41 13.59 6 15 16 25 26 15z\\\"></path><path d=\\\"M26,24v4H6V24H4v4H4a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2h0V24Z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"Download16\", \"filepath\": \"download/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 16 16\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M13 7L12.3 6.3 8.5 10.1 8.5 1 7.5 1 7.5 10.1 3.7 6.3 3 7 8 12zM13 12v2H3v-2H2v2l0 0c0 .6.4 1 1 1h10c.6 0 1-.4 1-1l0 0v-2H13z\" } }], \"name\": \"download\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\" aria-hidden=\\\"true\\\"><path d=\\\"M13 7L12.3 6.3 8.5 10.1 8.5 1 7.5 1 7.5 10.1 3.7 6.3 3 7 8 12zM13 12v2H3v-2H2v2l0 0c0 .6.4 1 1 1h10c.6 0 1-.4 1-1l0 0v-2H13z\\\"></path></svg>\"\n            },\n        };\n    }\n    DownloadDirective_1 = DownloadDirective;\n    DownloadDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            DownloadDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"download-\" + DownloadDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"download-\" + DownloadDirective_1.titleIdCounter);\n        }\n    };\n    var DownloadDirective_1;\n    DownloadDirective.titleIdCounter = 0;\n    DownloadDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], DownloadDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], DownloadDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], DownloadDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], DownloadDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], DownloadDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], DownloadDirective.prototype, \"size\", void 0);\n    DownloadDirective = DownloadDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], DownloadDirective);\nDownloadDirective.ɵfac = function DownloadDirective_Factory(t) { return new (t || DownloadDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nDownloadDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: DownloadDirective, selectors: [[\"\", \"ibmIconDownload\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(DownloadDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconDownload]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return DownloadDirective;\n}());\nvar DownloadModule = /** @class */ (function () {\n    function DownloadModule() {\n    }\nDownloadModule.ɵfac = function DownloadModule_Factory(t) { return new (t || DownloadModule)(); };\nDownloadModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: DownloadModule });\nDownloadModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(DownloadModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    DownloadComponent,\n                    DownloadDirective,\n                ],\n                exports: [\n                    DownloadComponent,\n                    DownloadDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(DownloadModule, { declarations: [DownloadComponent, DownloadDirective], exports: [DownloadComponent, DownloadDirective] }); })();\n    return DownloadModule;\n}());\n\nexport { DownloadComponent, DownloadDirective, DownloadModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar DragVerticalComponent = /** @class */ (function () {\n    function DragVerticalComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], DragVerticalComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], DragVerticalComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], DragVerticalComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], DragVerticalComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], DragVerticalComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], DragVerticalComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], DragVerticalComponent.prototype, \"size\", void 0);\nDragVerticalComponent.ɵfac = function DragVerticalComponent_Factory(t) { return new (t || DragVerticalComponent)(); };\nDragVerticalComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: DragVerticalComponent, selectors: [[\"ibm-icon-drag-vertical\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconDragVertical\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function DragVerticalComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [DragVerticalDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(DragVerticalComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-drag-vertical\",\n                template: \"\\n    <svg\\n      ibmIconDragVertical\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return DragVerticalComponent;\n}());\nvar DragVerticalDirective = /** @class */ (function () {\n    function DragVerticalDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"DragVertical32\", \"filepath\": \"drag--vertical/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M4 20L15 20 15 26.17 12.41 23.59 11 25 16 30 21 25 19.59 23.59 17 26.17 17 20 28 20 28 18 4 18 4 20zM11 7L12.41 8.41 15 5.83 15 12 4 12 4 14 28 14 28 12 17 12 17 5.83 19.59 8.41 21 7 16 2 11 7z\" } }], \"name\": \"drag--vertical\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M4 20L15 20 15 26.17 12.41 23.59 11 25 16 30 21 25 19.59 23.59 17 26.17 17 20 28 20 28 18 4 18 4 20zM11 7L12.41 8.41 15 5.83 15 12 4 12 4 14 28 14 28 12 17 12 17 5.83 19.59 8.41 21 7 16 2 11 7z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"DragVertical24\", \"filepath\": \"drag--vertical/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M4 20L15 20 15 26.17 12.41 23.59 11 25 16 30 21 25 19.59 23.59 17 26.17 17 20 28 20 28 18 4 18 4 20zM11 7L12.41 8.41 15 5.83 15 12 4 12 4 14 28 14 28 12 17 12 17 5.83 19.59 8.41 21 7 16 2 11 7z\" } }], \"name\": \"drag--vertical\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M4 20L15 20 15 26.17 12.41 23.59 11 25 16 30 21 25 19.59 23.59 17 26.17 17 20 28 20 28 18 4 18 4 20zM11 7L12.41 8.41 15 5.83 15 12 4 12 4 14 28 14 28 12 17 12 17 5.83 19.59 8.41 21 7 16 2 11 7z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"DragVertical20\", \"filepath\": \"drag--vertical/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M4 20L15 20 15 26.17 12.41 23.59 11 25 16 30 21 25 19.59 23.59 17 26.17 17 20 28 20 28 18 4 18 4 20zM11 7L12.41 8.41 15 5.83 15 12 4 12 4 14 28 14 28 12 17 12 17 5.83 19.59 8.41 21 7 16 2 11 7z\" } }], \"name\": \"drag--vertical\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M4 20L15 20 15 26.17 12.41 23.59 11 25 16 30 21 25 19.59 23.59 17 26.17 17 20 28 20 28 18 4 18 4 20zM11 7L12.41 8.41 15 5.83 15 12 4 12 4 14 28 14 28 12 17 12 17 5.83 19.59 8.41 21 7 16 2 11 7z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"DragVertical16\", \"filepath\": \"drag--vertical/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M4 20L15 20 15 26.17 12.41 23.59 11 25 16 30 21 25 19.59 23.59 17 26.17 17 20 28 20 28 18 4 18 4 20zM11 7L12.41 8.41 15 5.83 15 12 4 12 4 14 28 14 28 12 17 12 17 5.83 19.59 8.41 21 7 16 2 11 7z\" } }], \"name\": \"drag--vertical\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M4 20L15 20 15 26.17 12.41 23.59 11 25 16 30 21 25 19.59 23.59 17 26.17 17 20 28 20 28 18 4 18 4 20zM11 7L12.41 8.41 15 5.83 15 12 4 12 4 14 28 14 28 12 17 12 17 5.83 19.59 8.41 21 7 16 2 11 7z\\\"></path></svg>\"\n            },\n        };\n    }\n    DragVerticalDirective_1 = DragVerticalDirective;\n    DragVerticalDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            DragVerticalDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"drag-vertical-\" + DragVerticalDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"drag-vertical-\" + DragVerticalDirective_1.titleIdCounter);\n        }\n    };\n    var DragVerticalDirective_1;\n    DragVerticalDirective.titleIdCounter = 0;\n    DragVerticalDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], DragVerticalDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], DragVerticalDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], DragVerticalDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], DragVerticalDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], DragVerticalDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], DragVerticalDirective.prototype, \"size\", void 0);\n    DragVerticalDirective = DragVerticalDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], DragVerticalDirective);\nDragVerticalDirective.ɵfac = function DragVerticalDirective_Factory(t) { return new (t || DragVerticalDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nDragVerticalDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: DragVerticalDirective, selectors: [[\"\", \"ibmIconDragVertical\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(DragVerticalDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconDragVertical]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return DragVerticalDirective;\n}());\nvar DragVerticalModule = /** @class */ (function () {\n    function DragVerticalModule() {\n    }\nDragVerticalModule.ɵfac = function DragVerticalModule_Factory(t) { return new (t || DragVerticalModule)(); };\nDragVerticalModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: DragVerticalModule });\nDragVerticalModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(DragVerticalModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    DragVerticalComponent,\n                    DragVerticalDirective,\n                ],\n                exports: [\n                    DragVerticalComponent,\n                    DragVerticalDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(DragVerticalModule, { declarations: [DragVerticalComponent, DragVerticalDirective], exports: [DragVerticalComponent, DragVerticalDirective] }); })();\n    return DragVerticalModule;\n}());\n\nexport { DragVerticalComponent, DragVerticalDirective, DragVerticalModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar DraggableComponent = /** @class */ (function () {\n    function DraggableComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], DraggableComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], DraggableComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], DraggableComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], DraggableComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], DraggableComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], DraggableComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], DraggableComponent.prototype, \"size\", void 0);\nDraggableComponent.ɵfac = function DraggableComponent_Factory(t) { return new (t || DraggableComponent)(); };\nDraggableComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: DraggableComponent, selectors: [[\"ibm-icon-draggable\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconDraggable\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function DraggableComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [DraggableDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(DraggableComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-draggable\",\n                template: \"\\n    <svg\\n      ibmIconDraggable\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return DraggableComponent;\n}());\nvar DraggableDirective = /** @class */ (function () {\n    function DraggableDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"Draggable32\", \"filepath\": \"draggable/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M10 6H14V10H10zM18 6H22V10H18zM10 14H14V18H10zM18 14H22V18H18zM10 22H14V26H10zM18 22H22V26H18z\" } }], \"name\": \"draggable\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M10 6H14V10H10zM18 6H22V10H18zM10 14H14V18H10zM18 14H22V18H18zM10 22H14V26H10zM18 22H22V26H18z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"Draggable24\", \"filepath\": \"draggable/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M10 6H14V10H10zM18 6H22V10H18zM10 14H14V18H10zM18 14H22V18H18zM10 22H14V26H10zM18 22H22V26H18z\" } }], \"name\": \"draggable\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M10 6H14V10H10zM18 6H22V10H18zM10 14H14V18H10zM18 14H22V18H18zM10 22H14V26H10zM18 22H22V26H18z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"Draggable20\", \"filepath\": \"draggable/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M10 6H14V10H10zM18 6H22V10H18zM10 14H14V18H10zM18 14H22V18H18zM10 22H14V26H10zM18 22H22V26H18z\" } }], \"name\": \"draggable\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M10 6H14V10H10zM18 6H22V10H18zM10 14H14V18H10zM18 14H22V18H18zM10 22H14V26H10zM18 22H22V26H18z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"Draggable16\", \"filepath\": \"draggable/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M10 6H14V10H10zM18 6H22V10H18zM10 14H14V18H10zM18 14H22V18H18zM10 22H14V26H10zM18 22H22V26H18z\" } }], \"name\": \"draggable\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M10 6H14V10H10zM18 6H22V10H18zM10 14H14V18H10zM18 14H22V18H18zM10 22H14V26H10zM18 22H22V26H18z\\\"></path></svg>\"\n            },\n        };\n    }\n    DraggableDirective_1 = DraggableDirective;\n    DraggableDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            DraggableDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"draggable-\" + DraggableDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"draggable-\" + DraggableDirective_1.titleIdCounter);\n        }\n    };\n    var DraggableDirective_1;\n    DraggableDirective.titleIdCounter = 0;\n    DraggableDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], DraggableDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], DraggableDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], DraggableDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], DraggableDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], DraggableDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], DraggableDirective.prototype, \"size\", void 0);\n    DraggableDirective = DraggableDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], DraggableDirective);\nDraggableDirective.ɵfac = function DraggableDirective_Factory(t) { return new (t || DraggableDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nDraggableDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: DraggableDirective, selectors: [[\"\", \"ibmIconDraggable\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(DraggableDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconDraggable]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return DraggableDirective;\n}());\nvar DraggableModule = /** @class */ (function () {\n    function DraggableModule() {\n    }\nDraggableModule.ɵfac = function DraggableModule_Factory(t) { return new (t || DraggableModule)(); };\nDraggableModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: DraggableModule });\nDraggableModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(DraggableModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    DraggableComponent,\n                    DraggableDirective,\n                ],\n                exports: [\n                    DraggableComponent,\n                    DraggableDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(DraggableModule, { declarations: [DraggableComponent, DraggableDirective], exports: [DraggableComponent, DraggableDirective] }); })();\n    return DraggableModule;\n}());\n\nexport { DraggableComponent, DraggableDirective, DraggableModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar EditComponent = /** @class */ (function () {\n    function EditComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], EditComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], EditComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], EditComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], EditComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], EditComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], EditComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], EditComponent.prototype, \"size\", void 0);\nEditComponent.ɵfac = function EditComponent_Factory(t) { return new (t || EditComponent)(); };\nEditComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: EditComponent, selectors: [[\"ibm-icon-edit\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconEdit\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function EditComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [EditDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(EditComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-edit\",\n                template: \"\\n    <svg\\n      ibmIconEdit\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return EditComponent;\n}());\nvar EditDirective = /** @class */ (function () {\n    function EditDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"Edit32\", \"filepath\": \"edit/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M2 26H30V28H2zM25.4 9c.8-.8.8-2 0-2.8 0 0 0 0 0 0l-3.6-3.6c-.8-.8-2-.8-2.8 0 0 0 0 0 0 0l-15 15V24h6.4L25.4 9zM20.4 4L24 7.6l-3 3L17.4 7 20.4 4zM6 22v-3.6l10-10 3.6 3.6-10 10H6z\" } }], \"name\": \"edit\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M2 26H30V28H2zM25.4 9c.8-.8.8-2 0-2.8 0 0 0 0 0 0l-3.6-3.6c-.8-.8-2-.8-2.8 0 0 0 0 0 0 0l-15 15V24h6.4L25.4 9zM20.4 4L24 7.6l-3 3L17.4 7 20.4 4zM6 22v-3.6l10-10 3.6 3.6-10 10H6z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"Edit24\", \"filepath\": \"edit/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M2 26H30V28H2zM25.4 9c.8-.8.8-2 0-2.8 0 0 0 0 0 0l-3.6-3.6c-.8-.8-2-.8-2.8 0 0 0 0 0 0 0l-15 15V24h6.4L25.4 9zM20.4 4L24 7.6l-3 3L17.4 7 20.4 4zM6 22v-3.6l10-10 3.6 3.6-10 10H6z\" } }], \"name\": \"edit\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M2 26H30V28H2zM25.4 9c.8-.8.8-2 0-2.8 0 0 0 0 0 0l-3.6-3.6c-.8-.8-2-.8-2.8 0 0 0 0 0 0 0l-15 15V24h6.4L25.4 9zM20.4 4L24 7.6l-3 3L17.4 7 20.4 4zM6 22v-3.6l10-10 3.6 3.6-10 10H6z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"Edit20\", \"filepath\": \"edit/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M2 26H30V28H2zM25.4 9c.8-.8.8-2 0-2.8 0 0 0 0 0 0l-3.6-3.6c-.8-.8-2-.8-2.8 0 0 0 0 0 0 0l-15 15V24h6.4L25.4 9zM20.4 4L24 7.6l-3 3L17.4 7 20.4 4zM6 22v-3.6l10-10 3.6 3.6-10 10H6z\" } }], \"name\": \"edit\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M2 26H30V28H2zM25.4 9c.8-.8.8-2 0-2.8 0 0 0 0 0 0l-3.6-3.6c-.8-.8-2-.8-2.8 0 0 0 0 0 0 0l-15 15V24h6.4L25.4 9zM20.4 4L24 7.6l-3 3L17.4 7 20.4 4zM6 22v-3.6l10-10 3.6 3.6-10 10H6z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"Edit16\", \"filepath\": \"edit/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M2 26H30V28H2zM25.4 9c.8-.8.8-2 0-2.8 0 0 0 0 0 0l-3.6-3.6c-.8-.8-2-.8-2.8 0 0 0 0 0 0 0l-15 15V24h6.4L25.4 9zM20.4 4L24 7.6l-3 3L17.4 7 20.4 4zM6 22v-3.6l10-10 3.6 3.6-10 10H6z\" } }], \"name\": \"edit\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M2 26H30V28H2zM25.4 9c.8-.8.8-2 0-2.8 0 0 0 0 0 0l-3.6-3.6c-.8-.8-2-.8-2.8 0 0 0 0 0 0 0l-15 15V24h6.4L25.4 9zM20.4 4L24 7.6l-3 3L17.4 7 20.4 4zM6 22v-3.6l10-10 3.6 3.6-10 10H6z\\\"></path></svg>\"\n            },\n        };\n    }\n    EditDirective_1 = EditDirective;\n    EditDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            EditDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"edit-\" + EditDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"edit-\" + EditDirective_1.titleIdCounter);\n        }\n    };\n    var EditDirective_1;\n    EditDirective.titleIdCounter = 0;\n    EditDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], EditDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], EditDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], EditDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], EditDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], EditDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], EditDirective.prototype, \"size\", void 0);\n    EditDirective = EditDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], EditDirective);\nEditDirective.ɵfac = function EditDirective_Factory(t) { return new (t || EditDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nEditDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: EditDirective, selectors: [[\"\", \"ibmIconEdit\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(EditDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconEdit]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return EditDirective;\n}());\nvar EditModule = /** @class */ (function () {\n    function EditModule() {\n    }\nEditModule.ɵfac = function EditModule_Factory(t) { return new (t || EditModule)(); };\nEditModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: EditModule });\nEditModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(EditModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    EditComponent,\n                    EditDirective,\n                ],\n                exports: [\n                    EditComponent,\n                    EditDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(EditModule, { declarations: [EditComponent, EditDirective], exports: [EditComponent, EditDirective] }); })();\n    return EditModule;\n}());\n\nexport { EditComponent, EditDirective, EditModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar EducationComponent = /** @class */ (function () {\n    function EducationComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], EducationComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], EducationComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], EducationComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], EducationComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], EducationComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], EducationComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], EducationComponent.prototype, \"size\", void 0);\nEducationComponent.ɵfac = function EducationComponent_Factory(t) { return new (t || EducationComponent)(); };\nEducationComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: EducationComponent, selectors: [[\"ibm-icon-education\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconEducation\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function EducationComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [EducationDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(EducationComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-education\",\n                template: \"\\n    <svg\\n      ibmIconEducation\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return EducationComponent;\n}());\nvar EducationDirective = /** @class */ (function () {\n    function EducationDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"Education32\", \"filepath\": \"education/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M26 30H24V27a5.0059 5.0059 0 00-5-5H13a5.0059 5.0059 0 00-5 5v3H6V27a7.0082 7.0082 0 017-7h6a7.0082 7.0082 0 017 7zM5 6A1 1 0 004 7v9H6V7A1 1 0 005 6z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M4,2V4H9v7a7,7,0,0,0,14,0V4h5V2Zm7,2H21V7H11Zm5,12a5,5,0,0,1-5-5V9H21v2A5,5,0,0,1,16,16Z\" } }], \"name\": \"education\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M26 30H24V27a5.0059 5.0059 0 00-5-5H13a5.0059 5.0059 0 00-5 5v3H6V27a7.0082 7.0082 0 017-7h6a7.0082 7.0082 0 017 7zM5 6A1 1 0 004 7v9H6V7A1 1 0 005 6z\\\"></path><path d=\\\"M4,2V4H9v7a7,7,0,0,0,14,0V4h5V2Zm7,2H21V7H11Zm5,12a5,5,0,0,1-5-5V9H21v2A5,5,0,0,1,16,16Z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"Education24\", \"filepath\": \"education/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M26 30H24V27a5.0059 5.0059 0 00-5-5H13a5.0059 5.0059 0 00-5 5v3H6V27a7.0082 7.0082 0 017-7h6a7.0082 7.0082 0 017 7zM5 6A1 1 0 004 7v9H6V7A1 1 0 005 6z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M4,2V4H9v7a7,7,0,0,0,14,0V4h5V2Zm7,2H21V7H11Zm5,12a5,5,0,0,1-5-5V9H21v2A5,5,0,0,1,16,16Z\" } }], \"name\": \"education\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M26 30H24V27a5.0059 5.0059 0 00-5-5H13a5.0059 5.0059 0 00-5 5v3H6V27a7.0082 7.0082 0 017-7h6a7.0082 7.0082 0 017 7zM5 6A1 1 0 004 7v9H6V7A1 1 0 005 6z\\\"></path><path d=\\\"M4,2V4H9v7a7,7,0,0,0,14,0V4h5V2Zm7,2H21V7H11Zm5,12a5,5,0,0,1-5-5V9H21v2A5,5,0,0,1,16,16Z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"Education20\", \"filepath\": \"education/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M26 30H24V27a5.0059 5.0059 0 00-5-5H13a5.0059 5.0059 0 00-5 5v3H6V27a7.0082 7.0082 0 017-7h6a7.0082 7.0082 0 017 7zM5 6A1 1 0 004 7v9H6V7A1 1 0 005 6z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M4,2V4H9v7a7,7,0,0,0,14,0V4h5V2Zm7,2H21V7H11Zm5,12a5,5,0,0,1-5-5V9H21v2A5,5,0,0,1,16,16Z\" } }], \"name\": \"education\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M26 30H24V27a5.0059 5.0059 0 00-5-5H13a5.0059 5.0059 0 00-5 5v3H6V27a7.0082 7.0082 0 017-7h6a7.0082 7.0082 0 017 7zM5 6A1 1 0 004 7v9H6V7A1 1 0 005 6z\\\"></path><path d=\\\"M4,2V4H9v7a7,7,0,0,0,14,0V4h5V2Zm7,2H21V7H11Zm5,12a5,5,0,0,1-5-5V9H21v2A5,5,0,0,1,16,16Z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"Education16\", \"filepath\": \"education/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M26 30H24V27a5.0059 5.0059 0 00-5-5H13a5.0059 5.0059 0 00-5 5v3H6V27a7.0082 7.0082 0 017-7h6a7.0082 7.0082 0 017 7zM5 6A1 1 0 004 7v9H6V7A1 1 0 005 6z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M4,2V4H9v7a7,7,0,0,0,14,0V4h5V2Zm7,2H21V7H11Zm5,12a5,5,0,0,1-5-5V9H21v2A5,5,0,0,1,16,16Z\" } }], \"name\": \"education\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M26 30H24V27a5.0059 5.0059 0 00-5-5H13a5.0059 5.0059 0 00-5 5v3H6V27a7.0082 7.0082 0 017-7h6a7.0082 7.0082 0 017 7zM5 6A1 1 0 004 7v9H6V7A1 1 0 005 6z\\\"></path><path d=\\\"M4,2V4H9v7a7,7,0,0,0,14,0V4h5V2Zm7,2H21V7H11Zm5,12a5,5,0,0,1-5-5V9H21v2A5,5,0,0,1,16,16Z\\\"></path></svg>\"\n            },\n        };\n    }\n    EducationDirective_1 = EducationDirective;\n    EducationDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            EducationDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"education-\" + EducationDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"education-\" + EducationDirective_1.titleIdCounter);\n        }\n    };\n    var EducationDirective_1;\n    EducationDirective.titleIdCounter = 0;\n    EducationDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], EducationDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], EducationDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], EducationDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], EducationDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], EducationDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], EducationDirective.prototype, \"size\", void 0);\n    EducationDirective = EducationDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], EducationDirective);\nEducationDirective.ɵfac = function EducationDirective_Factory(t) { return new (t || EducationDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nEducationDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: EducationDirective, selectors: [[\"\", \"ibmIconEducation\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(EducationDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconEducation]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return EducationDirective;\n}());\nvar EducationModule = /** @class */ (function () {\n    function EducationModule() {\n    }\nEducationModule.ɵfac = function EducationModule_Factory(t) { return new (t || EducationModule)(); };\nEducationModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: EducationModule });\nEducationModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(EducationModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    EducationComponent,\n                    EducationDirective,\n                ],\n                exports: [\n                    EducationComponent,\n                    EducationDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(EducationModule, { declarations: [EducationComponent, EducationDirective], exports: [EducationComponent, EducationDirective] }); })();\n    return EducationModule;\n}());\n\nexport { EducationComponent, EducationDirective, EducationModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar EmailComponent = /** @class */ (function () {\n    function EmailComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], EmailComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], EmailComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], EmailComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], EmailComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], EmailComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], EmailComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], EmailComponent.prototype, \"size\", void 0);\nEmailComponent.ɵfac = function EmailComponent_Factory(t) { return new (t || EmailComponent)(); };\nEmailComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: EmailComponent, selectors: [[\"ibm-icon-email\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconEmail\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function EmailComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [EmailDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(EmailComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-email\",\n                template: \"\\n    <svg\\n      ibmIconEmail\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return EmailComponent;\n}());\nvar EmailDirective = /** @class */ (function () {\n    function EmailDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"Email32\", \"filepath\": \"email/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M28,6H4A2,2,0,0,0,2,8V24a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V8A2,2,0,0,0,28,6ZM25.8,8,16,14.78,6.2,8ZM4,24V8.91l11.43,7.91a1,1,0,0,0,1.14,0L28,8.91V24Z\" } }], \"name\": \"email\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M28,6H4A2,2,0,0,0,2,8V24a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V8A2,2,0,0,0,28,6ZM25.8,8,16,14.78,6.2,8ZM4,24V8.91l11.43,7.91a1,1,0,0,0,1.14,0L28,8.91V24Z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"Email24\", \"filepath\": \"email/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M28,6H4A2,2,0,0,0,2,8V24a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V8A2,2,0,0,0,28,6ZM25.8,8,16,14.78,6.2,8ZM4,24V8.91l11.43,7.91a1,1,0,0,0,1.14,0L28,8.91V24Z\" } }], \"name\": \"email\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M28,6H4A2,2,0,0,0,2,8V24a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V8A2,2,0,0,0,28,6ZM25.8,8,16,14.78,6.2,8ZM4,24V8.91l11.43,7.91a1,1,0,0,0,1.14,0L28,8.91V24Z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"Email20\", \"filepath\": \"email/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M28,6H4A2,2,0,0,0,2,8V24a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V8A2,2,0,0,0,28,6ZM25.8,8,16,14.78,6.2,8ZM4,24V8.91l11.43,7.91a1,1,0,0,0,1.14,0L28,8.91V24Z\" } }], \"name\": \"email\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M28,6H4A2,2,0,0,0,2,8V24a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V8A2,2,0,0,0,28,6ZM25.8,8,16,14.78,6.2,8ZM4,24V8.91l11.43,7.91a1,1,0,0,0,1.14,0L28,8.91V24Z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"Email16\", \"filepath\": \"email/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M28,6H4A2,2,0,0,0,2,8V24a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V8A2,2,0,0,0,28,6ZM25.8,8,16,14.78,6.2,8ZM4,24V8.91l11.43,7.91a1,1,0,0,0,1.14,0L28,8.91V24Z\" } }], \"name\": \"email\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M28,6H4A2,2,0,0,0,2,8V24a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V8A2,2,0,0,0,28,6ZM25.8,8,16,14.78,6.2,8ZM4,24V8.91l11.43,7.91a1,1,0,0,0,1.14,0L28,8.91V24Z\\\"></path></svg>\"\n            },\n        };\n    }\n    EmailDirective_1 = EmailDirective;\n    EmailDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            EmailDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"email-\" + EmailDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"email-\" + EmailDirective_1.titleIdCounter);\n        }\n    };\n    var EmailDirective_1;\n    EmailDirective.titleIdCounter = 0;\n    EmailDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], EmailDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], EmailDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], EmailDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], EmailDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], EmailDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], EmailDirective.prototype, \"size\", void 0);\n    EmailDirective = EmailDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], EmailDirective);\nEmailDirective.ɵfac = function EmailDirective_Factory(t) { return new (t || EmailDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nEmailDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: EmailDirective, selectors: [[\"\", \"ibmIconEmail\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(EmailDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconEmail]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return EmailDirective;\n}());\nvar EmailModule = /** @class */ (function () {\n    function EmailModule() {\n    }\nEmailModule.ɵfac = function EmailModule_Factory(t) { return new (t || EmailModule)(); };\nEmailModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: EmailModule });\nEmailModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(EmailModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    EmailComponent,\n                    EmailDirective,\n                ],\n                exports: [\n                    EmailComponent,\n                    EmailDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(EmailModule, { declarations: [EmailComponent, EmailDirective], exports: [EmailComponent, EmailDirective] }); })();\n    return EmailModule;\n}());\n\nexport { EmailComponent, EmailDirective, EmailModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar ErrorFilledComponent = /** @class */ (function () {\n    function ErrorFilledComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ErrorFilledComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ErrorFilledComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], ErrorFilledComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ErrorFilledComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], ErrorFilledComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ErrorFilledComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ErrorFilledComponent.prototype, \"size\", void 0);\nErrorFilledComponent.ɵfac = function ErrorFilledComponent_Factory(t) { return new (t || ErrorFilledComponent)(); };\nErrorFilledComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: ErrorFilledComponent, selectors: [[\"ibm-icon-error-filled\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconErrorFilled\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function ErrorFilledComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [ErrorFilledDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ErrorFilledComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-error-filled\",\n                template: \"\\n    <svg\\n      ibmIconErrorFilled\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return ErrorFilledComponent;\n}());\nvar ErrorFilledDirective = /** @class */ (function () {\n    function ErrorFilledDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"ErrorFilled32\", \"filepath\": \"error--filled/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M16,2C8.2,2,2,8.2,2,16s6.2,14,14,14s14-6.2,14-14S23.8,2,16,2z M21.4,23L9,10.6L10.6,9L23,21.4L21.4,23z\" } }, { \"elem\": \"path\", \"attrs\": { \"fill\": \"none\", \"d\": \"M21.4,23L9,10.6L10.6,9L23,21.4L21.4,23z\", \"data-icon-path\": \"inner-path\", \"opacity\": \"0\" } }], \"name\": \"error--filled\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M16,2C8.2,2,2,8.2,2,16s6.2,14,14,14s14-6.2,14-14S23.8,2,16,2z M21.4,23L9,10.6L10.6,9L23,21.4L21.4,23z\\\"></path><path fill=\\\"none\\\" d=\\\"M21.4,23L9,10.6L10.6,9L23,21.4L21.4,23z\\\" data-icon-path=\\\"inner-path\\\" opacity=\\\"0\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"ErrorFilled24\", \"filepath\": \"error--filled/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 24 24\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M12,1C5.9,1,1,5.9,1,12s4.9,11,11,11s11-4.9,11-11S18.1,1,12,1z M16.3,17.5L6.5,7.7l1.2-1.2l9.8,9.8L16.3,17.5z\" } }, { \"elem\": \"path\", \"attrs\": { \"fill\": \"none\", \"d\": \"M16.3,17.5L6.5,7.7l1.2-1.2l9.8,9.8L16.3,17.5z\", \"data-icon-path\": \"inner-path\", \"opacity\": \"0\" } }], \"name\": \"error--filled\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" aria-hidden=\\\"true\\\"><path d=\\\"M12,1C5.9,1,1,5.9,1,12s4.9,11,11,11s11-4.9,11-11S18.1,1,12,1z M16.3,17.5L6.5,7.7l1.2-1.2l9.8,9.8L16.3,17.5z\\\"></path><path fill=\\\"none\\\" d=\\\"M16.3,17.5L6.5,7.7l1.2-1.2l9.8,9.8L16.3,17.5z\\\" data-icon-path=\\\"inner-path\\\" opacity=\\\"0\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"ErrorFilled20\", \"filepath\": \"error--filled/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 20 20\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M10,1c-5,0-9,4-9,9s4,9,9,9s9-4,9-9S15,1,10,1z M13.5,14.5l-8-8l1-1l8,8L13.5,14.5z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M13.5,14.5l-8-8l1-1l8,8L13.5,14.5z\", \"data-icon-path\": \"inner-path\", \"opacity\": \"0\" } }], \"name\": \"error--filled\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 20 20\\\" aria-hidden=\\\"true\\\"><path d=\\\"M10,1c-5,0-9,4-9,9s4,9,9,9s9-4,9-9S15,1,10,1z M13.5,14.5l-8-8l1-1l8,8L13.5,14.5z\\\"></path><path d=\\\"M13.5,14.5l-8-8l1-1l8,8L13.5,14.5z\\\" data-icon-path=\\\"inner-path\\\" opacity=\\\"0\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"ErrorFilled16\", \"filepath\": \"error--filled/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 16 16\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z\" } }, { \"elem\": \"path\", \"attrs\": { \"fill\": \"none\", \"d\": \"M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z\", \"data-icon-path\": \"inner-path\", \"opacity\": \"0\" } }], \"name\": \"error--filled\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\" aria-hidden=\\\"true\\\"><path d=\\\"M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z\\\"></path><path fill=\\\"none\\\" d=\\\"M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z\\\" data-icon-path=\\\"inner-path\\\" opacity=\\\"0\\\"></path></svg>\"\n            },\n        };\n    }\n    ErrorFilledDirective_1 = ErrorFilledDirective;\n    ErrorFilledDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            ErrorFilledDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"error-filled-\" + ErrorFilledDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"error-filled-\" + ErrorFilledDirective_1.titleIdCounter);\n        }\n    };\n    var ErrorFilledDirective_1;\n    ErrorFilledDirective.titleIdCounter = 0;\n    ErrorFilledDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ErrorFilledDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ErrorFilledDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], ErrorFilledDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ErrorFilledDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], ErrorFilledDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ErrorFilledDirective.prototype, \"size\", void 0);\n    ErrorFilledDirective = ErrorFilledDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], ErrorFilledDirective);\nErrorFilledDirective.ɵfac = function ErrorFilledDirective_Factory(t) { return new (t || ErrorFilledDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nErrorFilledDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: ErrorFilledDirective, selectors: [[\"\", \"ibmIconErrorFilled\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ErrorFilledDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconErrorFilled]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return ErrorFilledDirective;\n}());\nvar ErrorFilledModule = /** @class */ (function () {\n    function ErrorFilledModule() {\n    }\nErrorFilledModule.ɵfac = function ErrorFilledModule_Factory(t) { return new (t || ErrorFilledModule)(); };\nErrorFilledModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: ErrorFilledModule });\nErrorFilledModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ErrorFilledModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    ErrorFilledComponent,\n                    ErrorFilledDirective,\n                ],\n                exports: [\n                    ErrorFilledComponent,\n                    ErrorFilledDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(ErrorFilledModule, { declarations: [ErrorFilledComponent, ErrorFilledDirective], exports: [ErrorFilledComponent, ErrorFilledDirective] }); })();\n    return ErrorFilledModule;\n}());\n\nexport { ErrorFilledComponent, ErrorFilledDirective, ErrorFilledModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar ErrorComponent = /** @class */ (function () {\n    function ErrorComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ErrorComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ErrorComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], ErrorComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ErrorComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], ErrorComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ErrorComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ErrorComponent.prototype, \"size\", void 0);\nErrorComponent.ɵfac = function ErrorComponent_Factory(t) { return new (t || ErrorComponent)(); };\nErrorComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: ErrorComponent, selectors: [[\"ibm-icon-error\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconError\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function ErrorComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [ErrorDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ErrorComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-error\",\n                template: \"\\n    <svg\\n      ibmIconError\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return ErrorComponent;\n}());\nvar ErrorDirective = /** @class */ (function () {\n    function ErrorDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"Error32\", \"filepath\": \"error/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M2,16H2A14,14,0,1,0,16,2,14,14,0,0,0,2,16Zm23.15,7.75L8.25,6.85a12,12,0,0,1,16.9,16.9ZM8.24,25.16A12,12,0,0,1,6.84,8.27L23.73,25.16a12,12,0,0,1-15.49,0Z\" } }], \"name\": \"error\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M2,16H2A14,14,0,1,0,16,2,14,14,0,0,0,2,16Zm23.15,7.75L8.25,6.85a12,12,0,0,1,16.9,16.9ZM8.24,25.16A12,12,0,0,1,6.84,8.27L23.73,25.16a12,12,0,0,1-15.49,0Z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"Error24\", \"filepath\": \"error/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M2,16H2A14,14,0,1,0,16,2,14,14,0,0,0,2,16Zm23.15,7.75L8.25,6.85a12,12,0,0,1,16.9,16.9ZM8.24,25.16A12,12,0,0,1,6.84,8.27L23.73,25.16a12,12,0,0,1-15.49,0Z\" } }], \"name\": \"error\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M2,16H2A14,14,0,1,0,16,2,14,14,0,0,0,2,16Zm23.15,7.75L8.25,6.85a12,12,0,0,1,16.9,16.9ZM8.24,25.16A12,12,0,0,1,6.84,8.27L23.73,25.16a12,12,0,0,1-15.49,0Z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"Error20\", \"filepath\": \"error/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M2,16H2A14,14,0,1,0,16,2,14,14,0,0,0,2,16Zm23.15,7.75L8.25,6.85a12,12,0,0,1,16.9,16.9ZM8.24,25.16A12,12,0,0,1,6.84,8.27L23.73,25.16a12,12,0,0,1-15.49,0Z\" } }], \"name\": \"error\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M2,16H2A14,14,0,1,0,16,2,14,14,0,0,0,2,16Zm23.15,7.75L8.25,6.85a12,12,0,0,1,16.9,16.9ZM8.24,25.16A12,12,0,0,1,6.84,8.27L23.73,25.16a12,12,0,0,1-15.49,0Z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"Error16\", \"filepath\": \"error/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M2,16H2A14,14,0,1,0,16,2,14,14,0,0,0,2,16Zm23.15,7.75L8.25,6.85a12,12,0,0,1,16.9,16.9ZM8.24,25.16A12,12,0,0,1,6.84,8.27L23.73,25.16a12,12,0,0,1-15.49,0Z\" } }], \"name\": \"error\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M2,16H2A14,14,0,1,0,16,2,14,14,0,0,0,2,16Zm23.15,7.75L8.25,6.85a12,12,0,0,1,16.9,16.9ZM8.24,25.16A12,12,0,0,1,6.84,8.27L23.73,25.16a12,12,0,0,1-15.49,0Z\\\"></path></svg>\"\n            },\n        };\n    }\n    ErrorDirective_1 = ErrorDirective;\n    ErrorDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            ErrorDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"error-\" + ErrorDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"error-\" + ErrorDirective_1.titleIdCounter);\n        }\n    };\n    var ErrorDirective_1;\n    ErrorDirective.titleIdCounter = 0;\n    ErrorDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ErrorDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ErrorDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], ErrorDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ErrorDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], ErrorDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ErrorDirective.prototype, \"size\", void 0);\n    ErrorDirective = ErrorDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], ErrorDirective);\nErrorDirective.ɵfac = function ErrorDirective_Factory(t) { return new (t || ErrorDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nErrorDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: ErrorDirective, selectors: [[\"\", \"ibmIconError\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ErrorDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconError]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return ErrorDirective;\n}());\nvar ErrorModule = /** @class */ (function () {\n    function ErrorModule() {\n    }\nErrorModule.ɵfac = function ErrorModule_Factory(t) { return new (t || ErrorModule)(); };\nErrorModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: ErrorModule });\nErrorModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ErrorModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    ErrorComponent,\n                    ErrorDirective,\n                ],\n                exports: [\n                    ErrorComponent,\n                    ErrorDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(ErrorModule, { declarations: [ErrorComponent, ErrorDirective], exports: [ErrorComponent, ErrorDirective] }); })();\n    return ErrorModule;\n}());\n\nexport { ErrorComponent, ErrorDirective, ErrorModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar EventsAltComponent = /** @class */ (function () {\n    function EventsAltComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], EventsAltComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], EventsAltComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], EventsAltComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], EventsAltComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], EventsAltComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], EventsAltComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], EventsAltComponent.prototype, \"size\", void 0);\nEventsAltComponent.ɵfac = function EventsAltComponent_Factory(t) { return new (t || EventsAltComponent)(); };\nEventsAltComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: EventsAltComponent, selectors: [[\"ibm-icon-events-alt\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconEventsAlt\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function EventsAltComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [EventsAltDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(EventsAltComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-events-alt\",\n                template: \"\\n    <svg\\n      ibmIconEventsAlt\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return EventsAltComponent;\n}());\nvar EventsAltDirective = /** @class */ (function () {\n    function EventsAltDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"EventsAlt32\", \"filepath\": \"events--alt/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M18 31h2V29a1.0006 1.0006 0 011-1h6a1.0006 1.0006 0 011 1v2h2V29a3.0033 3.0033 0 00-3-3H21a3.0033 3.0033 0 00-3 3zM24 25a4 4 0 114-4A4.0039 4.0039 0 0124 25zm0-6a2 2 0 102 2A2.0027 2.0027 0 0024 19zM2 31H4V29a1.0009 1.0009 0 011-1h6a1.0009 1.0009 0 011 1v2h2V29a3.0033 3.0033 0 00-3-3H5a3.0033 3.0033 0 00-3 3zM8 25a4 4 0 114-4A4.0042 4.0042 0 018 25zm0-6a2 2 0 102 2A2.0023 2.0023 0 008 19zM18 16h2V14a1.0009 1.0009 0 011-1h6a1.0009 1.0009 0 011 1v2h2V14a3.0033 3.0033 0 00-3-3H21a3.0033 3.0033 0 00-3 3zM24 10a4 4 0 114-4A4.0042 4.0042 0 0124 10zm0-6a2 2 0 102 2A2.0023 2.0023 0 0024 4zM2 16H4V14a1.0013 1.0013 0 011-1h6a1.0013 1.0013 0 011 1v2h2V14a3.0033 3.0033 0 00-3-3H5a3.0033 3.0033 0 00-3 3zM8 10a4 4 0 114-4A4.0045 4.0045 0 018 10zM8 4a2 2 0 102 2A2.002 2.002 0 008 4z\" } }], \"name\": \"events--alt\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M18 31h2V29a1.0006 1.0006 0 011-1h6a1.0006 1.0006 0 011 1v2h2V29a3.0033 3.0033 0 00-3-3H21a3.0033 3.0033 0 00-3 3zM24 25a4 4 0 114-4A4.0039 4.0039 0 0124 25zm0-6a2 2 0 102 2A2.0027 2.0027 0 0024 19zM2 31H4V29a1.0009 1.0009 0 011-1h6a1.0009 1.0009 0 011 1v2h2V29a3.0033 3.0033 0 00-3-3H5a3.0033 3.0033 0 00-3 3zM8 25a4 4 0 114-4A4.0042 4.0042 0 018 25zm0-6a2 2 0 102 2A2.0023 2.0023 0 008 19zM18 16h2V14a1.0009 1.0009 0 011-1h6a1.0009 1.0009 0 011 1v2h2V14a3.0033 3.0033 0 00-3-3H21a3.0033 3.0033 0 00-3 3zM24 10a4 4 0 114-4A4.0042 4.0042 0 0124 10zm0-6a2 2 0 102 2A2.0023 2.0023 0 0024 4zM2 16H4V14a1.0013 1.0013 0 011-1h6a1.0013 1.0013 0 011 1v2h2V14a3.0033 3.0033 0 00-3-3H5a3.0033 3.0033 0 00-3 3zM8 10a4 4 0 114-4A4.0045 4.0045 0 018 10zM8 4a2 2 0 102 2A2.002 2.002 0 008 4z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"EventsAlt24\", \"filepath\": \"events--alt/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M18 31h2V29a1.0006 1.0006 0 011-1h6a1.0006 1.0006 0 011 1v2h2V29a3.0033 3.0033 0 00-3-3H21a3.0033 3.0033 0 00-3 3zM24 25a4 4 0 114-4A4.0039 4.0039 0 0124 25zm0-6a2 2 0 102 2A2.0027 2.0027 0 0024 19zM2 31H4V29a1.0009 1.0009 0 011-1h6a1.0009 1.0009 0 011 1v2h2V29a3.0033 3.0033 0 00-3-3H5a3.0033 3.0033 0 00-3 3zM8 25a4 4 0 114-4A4.0042 4.0042 0 018 25zm0-6a2 2 0 102 2A2.0023 2.0023 0 008 19zM18 16h2V14a1.0009 1.0009 0 011-1h6a1.0009 1.0009 0 011 1v2h2V14a3.0033 3.0033 0 00-3-3H21a3.0033 3.0033 0 00-3 3zM24 10a4 4 0 114-4A4.0042 4.0042 0 0124 10zm0-6a2 2 0 102 2A2.0023 2.0023 0 0024 4zM2 16H4V14a1.0013 1.0013 0 011-1h6a1.0013 1.0013 0 011 1v2h2V14a3.0033 3.0033 0 00-3-3H5a3.0033 3.0033 0 00-3 3zM8 10a4 4 0 114-4A4.0045 4.0045 0 018 10zM8 4a2 2 0 102 2A2.002 2.002 0 008 4z\" } }], \"name\": \"events--alt\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M18 31h2V29a1.0006 1.0006 0 011-1h6a1.0006 1.0006 0 011 1v2h2V29a3.0033 3.0033 0 00-3-3H21a3.0033 3.0033 0 00-3 3zM24 25a4 4 0 114-4A4.0039 4.0039 0 0124 25zm0-6a2 2 0 102 2A2.0027 2.0027 0 0024 19zM2 31H4V29a1.0009 1.0009 0 011-1h6a1.0009 1.0009 0 011 1v2h2V29a3.0033 3.0033 0 00-3-3H5a3.0033 3.0033 0 00-3 3zM8 25a4 4 0 114-4A4.0042 4.0042 0 018 25zm0-6a2 2 0 102 2A2.0023 2.0023 0 008 19zM18 16h2V14a1.0009 1.0009 0 011-1h6a1.0009 1.0009 0 011 1v2h2V14a3.0033 3.0033 0 00-3-3H21a3.0033 3.0033 0 00-3 3zM24 10a4 4 0 114-4A4.0042 4.0042 0 0124 10zm0-6a2 2 0 102 2A2.0023 2.0023 0 0024 4zM2 16H4V14a1.0013 1.0013 0 011-1h6a1.0013 1.0013 0 011 1v2h2V14a3.0033 3.0033 0 00-3-3H5a3.0033 3.0033 0 00-3 3zM8 10a4 4 0 114-4A4.0045 4.0045 0 018 10zM8 4a2 2 0 102 2A2.002 2.002 0 008 4z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"EventsAlt20\", \"filepath\": \"events--alt/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M18 31h2V29a1.0006 1.0006 0 011-1h6a1.0006 1.0006 0 011 1v2h2V29a3.0033 3.0033 0 00-3-3H21a3.0033 3.0033 0 00-3 3zM24 25a4 4 0 114-4A4.0039 4.0039 0 0124 25zm0-6a2 2 0 102 2A2.0027 2.0027 0 0024 19zM2 31H4V29a1.0009 1.0009 0 011-1h6a1.0009 1.0009 0 011 1v2h2V29a3.0033 3.0033 0 00-3-3H5a3.0033 3.0033 0 00-3 3zM8 25a4 4 0 114-4A4.0042 4.0042 0 018 25zm0-6a2 2 0 102 2A2.0023 2.0023 0 008 19zM18 16h2V14a1.0009 1.0009 0 011-1h6a1.0009 1.0009 0 011 1v2h2V14a3.0033 3.0033 0 00-3-3H21a3.0033 3.0033 0 00-3 3zM24 10a4 4 0 114-4A4.0042 4.0042 0 0124 10zm0-6a2 2 0 102 2A2.0023 2.0023 0 0024 4zM2 16H4V14a1.0013 1.0013 0 011-1h6a1.0013 1.0013 0 011 1v2h2V14a3.0033 3.0033 0 00-3-3H5a3.0033 3.0033 0 00-3 3zM8 10a4 4 0 114-4A4.0045 4.0045 0 018 10zM8 4a2 2 0 102 2A2.002 2.002 0 008 4z\" } }], \"name\": \"events--alt\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M18 31h2V29a1.0006 1.0006 0 011-1h6a1.0006 1.0006 0 011 1v2h2V29a3.0033 3.0033 0 00-3-3H21a3.0033 3.0033 0 00-3 3zM24 25a4 4 0 114-4A4.0039 4.0039 0 0124 25zm0-6a2 2 0 102 2A2.0027 2.0027 0 0024 19zM2 31H4V29a1.0009 1.0009 0 011-1h6a1.0009 1.0009 0 011 1v2h2V29a3.0033 3.0033 0 00-3-3H5a3.0033 3.0033 0 00-3 3zM8 25a4 4 0 114-4A4.0042 4.0042 0 018 25zm0-6a2 2 0 102 2A2.0023 2.0023 0 008 19zM18 16h2V14a1.0009 1.0009 0 011-1h6a1.0009 1.0009 0 011 1v2h2V14a3.0033 3.0033 0 00-3-3H21a3.0033 3.0033 0 00-3 3zM24 10a4 4 0 114-4A4.0042 4.0042 0 0124 10zm0-6a2 2 0 102 2A2.0023 2.0023 0 0024 4zM2 16H4V14a1.0013 1.0013 0 011-1h6a1.0013 1.0013 0 011 1v2h2V14a3.0033 3.0033 0 00-3-3H5a3.0033 3.0033 0 00-3 3zM8 10a4 4 0 114-4A4.0045 4.0045 0 018 10zM8 4a2 2 0 102 2A2.002 2.002 0 008 4z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"EventsAlt16\", \"filepath\": \"events--alt/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M18 31h2V29a1.0006 1.0006 0 011-1h6a1.0006 1.0006 0 011 1v2h2V29a3.0033 3.0033 0 00-3-3H21a3.0033 3.0033 0 00-3 3zM24 25a4 4 0 114-4A4.0039 4.0039 0 0124 25zm0-6a2 2 0 102 2A2.0027 2.0027 0 0024 19zM2 31H4V29a1.0009 1.0009 0 011-1h6a1.0009 1.0009 0 011 1v2h2V29a3.0033 3.0033 0 00-3-3H5a3.0033 3.0033 0 00-3 3zM8 25a4 4 0 114-4A4.0042 4.0042 0 018 25zm0-6a2 2 0 102 2A2.0023 2.0023 0 008 19zM18 16h2V14a1.0009 1.0009 0 011-1h6a1.0009 1.0009 0 011 1v2h2V14a3.0033 3.0033 0 00-3-3H21a3.0033 3.0033 0 00-3 3zM24 10a4 4 0 114-4A4.0042 4.0042 0 0124 10zm0-6a2 2 0 102 2A2.0023 2.0023 0 0024 4zM2 16H4V14a1.0013 1.0013 0 011-1h6a1.0013 1.0013 0 011 1v2h2V14a3.0033 3.0033 0 00-3-3H5a3.0033 3.0033 0 00-3 3zM8 10a4 4 0 114-4A4.0045 4.0045 0 018 10zM8 4a2 2 0 102 2A2.002 2.002 0 008 4z\" } }], \"name\": \"events--alt\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M18 31h2V29a1.0006 1.0006 0 011-1h6a1.0006 1.0006 0 011 1v2h2V29a3.0033 3.0033 0 00-3-3H21a3.0033 3.0033 0 00-3 3zM24 25a4 4 0 114-4A4.0039 4.0039 0 0124 25zm0-6a2 2 0 102 2A2.0027 2.0027 0 0024 19zM2 31H4V29a1.0009 1.0009 0 011-1h6a1.0009 1.0009 0 011 1v2h2V29a3.0033 3.0033 0 00-3-3H5a3.0033 3.0033 0 00-3 3zM8 25a4 4 0 114-4A4.0042 4.0042 0 018 25zm0-6a2 2 0 102 2A2.0023 2.0023 0 008 19zM18 16h2V14a1.0009 1.0009 0 011-1h6a1.0009 1.0009 0 011 1v2h2V14a3.0033 3.0033 0 00-3-3H21a3.0033 3.0033 0 00-3 3zM24 10a4 4 0 114-4A4.0042 4.0042 0 0124 10zm0-6a2 2 0 102 2A2.0023 2.0023 0 0024 4zM2 16H4V14a1.0013 1.0013 0 011-1h6a1.0013 1.0013 0 011 1v2h2V14a3.0033 3.0033 0 00-3-3H5a3.0033 3.0033 0 00-3 3zM8 10a4 4 0 114-4A4.0045 4.0045 0 018 10zM8 4a2 2 0 102 2A2.002 2.002 0 008 4z\\\"></path></svg>\"\n            },\n        };\n    }\n    EventsAltDirective_1 = EventsAltDirective;\n    EventsAltDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            EventsAltDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"events-alt-\" + EventsAltDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"events-alt-\" + EventsAltDirective_1.titleIdCounter);\n        }\n    };\n    var EventsAltDirective_1;\n    EventsAltDirective.titleIdCounter = 0;\n    EventsAltDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], EventsAltDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], EventsAltDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], EventsAltDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], EventsAltDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], EventsAltDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], EventsAltDirective.prototype, \"size\", void 0);\n    EventsAltDirective = EventsAltDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], EventsAltDirective);\nEventsAltDirective.ɵfac = function EventsAltDirective_Factory(t) { return new (t || EventsAltDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nEventsAltDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: EventsAltDirective, selectors: [[\"\", \"ibmIconEventsAlt\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(EventsAltDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconEventsAlt]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return EventsAltDirective;\n}());\nvar EventsAltModule = /** @class */ (function () {\n    function EventsAltModule() {\n    }\nEventsAltModule.ɵfac = function EventsAltModule_Factory(t) { return new (t || EventsAltModule)(); };\nEventsAltModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: EventsAltModule });\nEventsAltModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(EventsAltModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    EventsAltComponent,\n                    EventsAltDirective,\n                ],\n                exports: [\n                    EventsAltComponent,\n                    EventsAltDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(EventsAltModule, { declarations: [EventsAltComponent, EventsAltDirective], exports: [EventsAltComponent, EventsAltDirective] }); })();\n    return EventsAltModule;\n}());\n\nexport { EventsAltComponent, EventsAltDirective, EventsAltModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar FaceDissatisfiedComponent = /** @class */ (function () {\n    function FaceDissatisfiedComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FaceDissatisfiedComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FaceDissatisfiedComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], FaceDissatisfiedComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FaceDissatisfiedComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], FaceDissatisfiedComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FaceDissatisfiedComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FaceDissatisfiedComponent.prototype, \"size\", void 0);\nFaceDissatisfiedComponent.ɵfac = function FaceDissatisfiedComponent_Factory(t) { return new (t || FaceDissatisfiedComponent)(); };\nFaceDissatisfiedComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: FaceDissatisfiedComponent, selectors: [[\"ibm-icon-face-dissatisfied\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconFaceDissatisfied\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function FaceDissatisfiedComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [FaceDissatisfiedDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(FaceDissatisfiedComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-face-dissatisfied\",\n                template: \"\\n    <svg\\n      ibmIconFaceDissatisfied\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return FaceDissatisfiedComponent;\n}());\nvar FaceDissatisfiedDirective = /** @class */ (function () {\n    function FaceDissatisfiedDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"FaceDissatisfied32\", \"filepath\": \"face--dissatisfied/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,26A12,12,0,1,1,28,16,12,12,0,0,1,16,28Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M11.5 11A2.5 2.5 0 1014 13.5 2.5 2.5 0 0011.5 11zM20.5 11A2.5 2.5 0 1023 13.5 2.5 2.5 0 0020.5 11zM16 19a8 8 0 00-6.85 3.89l1.71 1a6 6 0 0110.28 0l1.71-1A8 8 0 0016 19z\" } }], \"name\": \"face--dissatisfied\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,26A12,12,0,1,1,28,16,12,12,0,0,1,16,28Z\\\"></path><path d=\\\"M11.5 11A2.5 2.5 0 1014 13.5 2.5 2.5 0 0011.5 11zM20.5 11A2.5 2.5 0 1023 13.5 2.5 2.5 0 0020.5 11zM16 19a8 8 0 00-6.85 3.89l1.71 1a6 6 0 0110.28 0l1.71-1A8 8 0 0016 19z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"FaceDissatisfied24\", \"filepath\": \"face--dissatisfied/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,26A12,12,0,1,1,28,16,12,12,0,0,1,16,28Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M11.5 11A2.5 2.5 0 1014 13.5 2.5 2.5 0 0011.5 11zM20.5 11A2.5 2.5 0 1023 13.5 2.5 2.5 0 0020.5 11zM16 19a8 8 0 00-6.85 3.89l1.71 1a6 6 0 0110.28 0l1.71-1A8 8 0 0016 19z\" } }], \"name\": \"face--dissatisfied\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,26A12,12,0,1,1,28,16,12,12,0,0,1,16,28Z\\\"></path><path d=\\\"M11.5 11A2.5 2.5 0 1014 13.5 2.5 2.5 0 0011.5 11zM20.5 11A2.5 2.5 0 1023 13.5 2.5 2.5 0 0020.5 11zM16 19a8 8 0 00-6.85 3.89l1.71 1a6 6 0 0110.28 0l1.71-1A8 8 0 0016 19z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"FaceDissatisfied20\", \"filepath\": \"face--dissatisfied/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,26A12,12,0,1,1,28,16,12,12,0,0,1,16,28Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M11.5 11A2.5 2.5 0 1014 13.5 2.5 2.5 0 0011.5 11zM20.5 11A2.5 2.5 0 1023 13.5 2.5 2.5 0 0020.5 11zM16 19a8 8 0 00-6.85 3.89l1.71 1a6 6 0 0110.28 0l1.71-1A8 8 0 0016 19z\" } }], \"name\": \"face--dissatisfied\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,26A12,12,0,1,1,28,16,12,12,0,0,1,16,28Z\\\"></path><path d=\\\"M11.5 11A2.5 2.5 0 1014 13.5 2.5 2.5 0 0011.5 11zM20.5 11A2.5 2.5 0 1023 13.5 2.5 2.5 0 0020.5 11zM16 19a8 8 0 00-6.85 3.89l1.71 1a6 6 0 0110.28 0l1.71-1A8 8 0 0016 19z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"FaceDissatisfied16\", \"filepath\": \"face--dissatisfied/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,26A12,12,0,1,1,28,16,12,12,0,0,1,16,28Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M11.5 11A2.5 2.5 0 1014 13.5 2.5 2.5 0 0011.5 11zM20.5 11A2.5 2.5 0 1023 13.5 2.5 2.5 0 0020.5 11zM16 19a8 8 0 00-6.85 3.89l1.71 1a6 6 0 0110.28 0l1.71-1A8 8 0 0016 19z\" } }], \"name\": \"face--dissatisfied\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,26A12,12,0,1,1,28,16,12,12,0,0,1,16,28Z\\\"></path><path d=\\\"M11.5 11A2.5 2.5 0 1014 13.5 2.5 2.5 0 0011.5 11zM20.5 11A2.5 2.5 0 1023 13.5 2.5 2.5 0 0020.5 11zM16 19a8 8 0 00-6.85 3.89l1.71 1a6 6 0 0110.28 0l1.71-1A8 8 0 0016 19z\\\"></path></svg>\"\n            },\n        };\n    }\n    FaceDissatisfiedDirective_1 = FaceDissatisfiedDirective;\n    FaceDissatisfiedDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            FaceDissatisfiedDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"face-dissatisfied-\" + FaceDissatisfiedDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"face-dissatisfied-\" + FaceDissatisfiedDirective_1.titleIdCounter);\n        }\n    };\n    var FaceDissatisfiedDirective_1;\n    FaceDissatisfiedDirective.titleIdCounter = 0;\n    FaceDissatisfiedDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FaceDissatisfiedDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FaceDissatisfiedDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], FaceDissatisfiedDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FaceDissatisfiedDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], FaceDissatisfiedDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FaceDissatisfiedDirective.prototype, \"size\", void 0);\n    FaceDissatisfiedDirective = FaceDissatisfiedDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], FaceDissatisfiedDirective);\nFaceDissatisfiedDirective.ɵfac = function FaceDissatisfiedDirective_Factory(t) { return new (t || FaceDissatisfiedDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nFaceDissatisfiedDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: FaceDissatisfiedDirective, selectors: [[\"\", \"ibmIconFaceDissatisfied\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(FaceDissatisfiedDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconFaceDissatisfied]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return FaceDissatisfiedDirective;\n}());\nvar FaceDissatisfiedModule = /** @class */ (function () {\n    function FaceDissatisfiedModule() {\n    }\nFaceDissatisfiedModule.ɵfac = function FaceDissatisfiedModule_Factory(t) { return new (t || FaceDissatisfiedModule)(); };\nFaceDissatisfiedModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: FaceDissatisfiedModule });\nFaceDissatisfiedModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(FaceDissatisfiedModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    FaceDissatisfiedComponent,\n                    FaceDissatisfiedDirective,\n                ],\n                exports: [\n                    FaceDissatisfiedComponent,\n                    FaceDissatisfiedDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(FaceDissatisfiedModule, { declarations: [FaceDissatisfiedComponent, FaceDissatisfiedDirective], exports: [FaceDissatisfiedComponent, FaceDissatisfiedDirective] }); })();\n    return FaceDissatisfiedModule;\n}());\n\nexport { FaceDissatisfiedComponent, FaceDissatisfiedDirective, FaceDissatisfiedModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar FaceSatisfiedComponent = /** @class */ (function () {\n    function FaceSatisfiedComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FaceSatisfiedComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FaceSatisfiedComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], FaceSatisfiedComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FaceSatisfiedComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], FaceSatisfiedComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FaceSatisfiedComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FaceSatisfiedComponent.prototype, \"size\", void 0);\nFaceSatisfiedComponent.ɵfac = function FaceSatisfiedComponent_Factory(t) { return new (t || FaceSatisfiedComponent)(); };\nFaceSatisfiedComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: FaceSatisfiedComponent, selectors: [[\"ibm-icon-face-satisfied\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconFaceSatisfied\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function FaceSatisfiedComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [FaceSatisfiedDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(FaceSatisfiedComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-face-satisfied\",\n                template: \"\\n    <svg\\n      ibmIconFaceSatisfied\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return FaceSatisfiedComponent;\n}());\nvar FaceSatisfiedDirective = /** @class */ (function () {\n    function FaceSatisfiedDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"FaceSatisfied32\", \"filepath\": \"face--satisfied/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,26A12,12,0,1,1,28,16,12,12,0,0,1,16,28Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M11.5 11A2.5 2.5 0 1014 13.5 2.48 2.48 0 0011.5 11zM20.5 11A2.5 2.5 0 1023 13.5 2.48 2.48 0 0020.5 11zM16 24a8 8 0 006.85-3.89l-1.71-1a6 6 0 01-10.28 0l-1.71 1A8 8 0 0016 24z\" } }], \"name\": \"face--satisfied\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,26A12,12,0,1,1,28,16,12,12,0,0,1,16,28Z\\\"></path><path d=\\\"M11.5 11A2.5 2.5 0 1014 13.5 2.48 2.48 0 0011.5 11zM20.5 11A2.5 2.5 0 1023 13.5 2.48 2.48 0 0020.5 11zM16 24a8 8 0 006.85-3.89l-1.71-1a6 6 0 01-10.28 0l-1.71 1A8 8 0 0016 24z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"FaceSatisfied24\", \"filepath\": \"face--satisfied/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,26A12,12,0,1,1,28,16,12,12,0,0,1,16,28Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M11.5 11A2.5 2.5 0 1014 13.5 2.48 2.48 0 0011.5 11zM20.5 11A2.5 2.5 0 1023 13.5 2.48 2.48 0 0020.5 11zM16 24a8 8 0 006.85-3.89l-1.71-1a6 6 0 01-10.28 0l-1.71 1A8 8 0 0016 24z\" } }], \"name\": \"face--satisfied\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,26A12,12,0,1,1,28,16,12,12,0,0,1,16,28Z\\\"></path><path d=\\\"M11.5 11A2.5 2.5 0 1014 13.5 2.48 2.48 0 0011.5 11zM20.5 11A2.5 2.5 0 1023 13.5 2.48 2.48 0 0020.5 11zM16 24a8 8 0 006.85-3.89l-1.71-1a6 6 0 01-10.28 0l-1.71 1A8 8 0 0016 24z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"FaceSatisfied20\", \"filepath\": \"face--satisfied/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,26A12,12,0,1,1,28,16,12,12,0,0,1,16,28Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M11.5 11A2.5 2.5 0 1014 13.5 2.48 2.48 0 0011.5 11zM20.5 11A2.5 2.5 0 1023 13.5 2.48 2.48 0 0020.5 11zM16 24a8 8 0 006.85-3.89l-1.71-1a6 6 0 01-10.28 0l-1.71 1A8 8 0 0016 24z\" } }], \"name\": \"face--satisfied\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,26A12,12,0,1,1,28,16,12,12,0,0,1,16,28Z\\\"></path><path d=\\\"M11.5 11A2.5 2.5 0 1014 13.5 2.48 2.48 0 0011.5 11zM20.5 11A2.5 2.5 0 1023 13.5 2.48 2.48 0 0020.5 11zM16 24a8 8 0 006.85-3.89l-1.71-1a6 6 0 01-10.28 0l-1.71 1A8 8 0 0016 24z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"FaceSatisfied16\", \"filepath\": \"face--satisfied/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,26A12,12,0,1,1,28,16,12,12,0,0,1,16,28Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M11.5 11A2.5 2.5 0 1014 13.5 2.48 2.48 0 0011.5 11zM20.5 11A2.5 2.5 0 1023 13.5 2.48 2.48 0 0020.5 11zM16 24a8 8 0 006.85-3.89l-1.71-1a6 6 0 01-10.28 0l-1.71 1A8 8 0 0016 24z\" } }], \"name\": \"face--satisfied\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,26A12,12,0,1,1,28,16,12,12,0,0,1,16,28Z\\\"></path><path d=\\\"M11.5 11A2.5 2.5 0 1014 13.5 2.48 2.48 0 0011.5 11zM20.5 11A2.5 2.5 0 1023 13.5 2.48 2.48 0 0020.5 11zM16 24a8 8 0 006.85-3.89l-1.71-1a6 6 0 01-10.28 0l-1.71 1A8 8 0 0016 24z\\\"></path></svg>\"\n            },\n        };\n    }\n    FaceSatisfiedDirective_1 = FaceSatisfiedDirective;\n    FaceSatisfiedDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            FaceSatisfiedDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"face-satisfied-\" + FaceSatisfiedDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"face-satisfied-\" + FaceSatisfiedDirective_1.titleIdCounter);\n        }\n    };\n    var FaceSatisfiedDirective_1;\n    FaceSatisfiedDirective.titleIdCounter = 0;\n    FaceSatisfiedDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FaceSatisfiedDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FaceSatisfiedDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], FaceSatisfiedDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FaceSatisfiedDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], FaceSatisfiedDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FaceSatisfiedDirective.prototype, \"size\", void 0);\n    FaceSatisfiedDirective = FaceSatisfiedDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], FaceSatisfiedDirective);\nFaceSatisfiedDirective.ɵfac = function FaceSatisfiedDirective_Factory(t) { return new (t || FaceSatisfiedDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nFaceSatisfiedDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: FaceSatisfiedDirective, selectors: [[\"\", \"ibmIconFaceSatisfied\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(FaceSatisfiedDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconFaceSatisfied]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return FaceSatisfiedDirective;\n}());\nvar FaceSatisfiedModule = /** @class */ (function () {\n    function FaceSatisfiedModule() {\n    }\nFaceSatisfiedModule.ɵfac = function FaceSatisfiedModule_Factory(t) { return new (t || FaceSatisfiedModule)(); };\nFaceSatisfiedModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: FaceSatisfiedModule });\nFaceSatisfiedModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(FaceSatisfiedModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    FaceSatisfiedComponent,\n                    FaceSatisfiedDirective,\n                ],\n                exports: [\n                    FaceSatisfiedComponent,\n                    FaceSatisfiedDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(FaceSatisfiedModule, { declarations: [FaceSatisfiedComponent, FaceSatisfiedDirective], exports: [FaceSatisfiedComponent, FaceSatisfiedDirective] }); })();\n    return FaceSatisfiedModule;\n}());\n\nexport { FaceSatisfiedComponent, FaceSatisfiedDirective, FaceSatisfiedModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar FaceWinkComponent = /** @class */ (function () {\n    function FaceWinkComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FaceWinkComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FaceWinkComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], FaceWinkComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FaceWinkComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], FaceWinkComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FaceWinkComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FaceWinkComponent.prototype, \"size\", void 0);\nFaceWinkComponent.ɵfac = function FaceWinkComponent_Factory(t) { return new (t || FaceWinkComponent)(); };\nFaceWinkComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: FaceWinkComponent, selectors: [[\"ibm-icon-face-wink\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconFaceWink\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function FaceWinkComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [FaceWinkDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(FaceWinkComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-face-wink\",\n                template: \"\\n    <svg\\n      ibmIconFaceWink\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return FaceWinkComponent;\n}());\nvar FaceWinkDirective = /** @class */ (function () {\n    function FaceWinkDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"FaceWink32\", \"filepath\": \"face--wink/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,26A12,12,0,1,1,28,16,12,12,0,0,1,16,28Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M20.5 11A2.5 2.5 0 1023 13.5 2.5 2.5 0 0020.5 11zM8 13H14V15H8zM16 24a8 8 0 006.85-3.89l-1.71-1a6 6 0 01-10.28 0l-1.71 1A8 8 0 0016 24z\" } }], \"name\": \"face--wink\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,26A12,12,0,1,1,28,16,12,12,0,0,1,16,28Z\\\"></path><path d=\\\"M20.5 11A2.5 2.5 0 1023 13.5 2.5 2.5 0 0020.5 11zM8 13H14V15H8zM16 24a8 8 0 006.85-3.89l-1.71-1a6 6 0 01-10.28 0l-1.71 1A8 8 0 0016 24z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"FaceWink24\", \"filepath\": \"face--wink/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,26A12,12,0,1,1,28,16,12,12,0,0,1,16,28Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M20.5 11A2.5 2.5 0 1023 13.5 2.5 2.5 0 0020.5 11zM8 13H14V15H8zM16 24a8 8 0 006.85-3.89l-1.71-1a6 6 0 01-10.28 0l-1.71 1A8 8 0 0016 24z\" } }], \"name\": \"face--wink\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,26A12,12,0,1,1,28,16,12,12,0,0,1,16,28Z\\\"></path><path d=\\\"M20.5 11A2.5 2.5 0 1023 13.5 2.5 2.5 0 0020.5 11zM8 13H14V15H8zM16 24a8 8 0 006.85-3.89l-1.71-1a6 6 0 01-10.28 0l-1.71 1A8 8 0 0016 24z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"FaceWink20\", \"filepath\": \"face--wink/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,26A12,12,0,1,1,28,16,12,12,0,0,1,16,28Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M20.5 11A2.5 2.5 0 1023 13.5 2.5 2.5 0 0020.5 11zM8 13H14V15H8zM16 24a8 8 0 006.85-3.89l-1.71-1a6 6 0 01-10.28 0l-1.71 1A8 8 0 0016 24z\" } }], \"name\": \"face--wink\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,26A12,12,0,1,1,28,16,12,12,0,0,1,16,28Z\\\"></path><path d=\\\"M20.5 11A2.5 2.5 0 1023 13.5 2.5 2.5 0 0020.5 11zM8 13H14V15H8zM16 24a8 8 0 006.85-3.89l-1.71-1a6 6 0 01-10.28 0l-1.71 1A8 8 0 0016 24z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"FaceWink16\", \"filepath\": \"face--wink/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,26A12,12,0,1,1,28,16,12,12,0,0,1,16,28Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M20.5 11A2.5 2.5 0 1023 13.5 2.5 2.5 0 0020.5 11zM8 13H14V15H8zM16 24a8 8 0 006.85-3.89l-1.71-1a6 6 0 01-10.28 0l-1.71 1A8 8 0 0016 24z\" } }], \"name\": \"face--wink\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,26A12,12,0,1,1,28,16,12,12,0,0,1,16,28Z\\\"></path><path d=\\\"M20.5 11A2.5 2.5 0 1023 13.5 2.5 2.5 0 0020.5 11zM8 13H14V15H8zM16 24a8 8 0 006.85-3.89l-1.71-1a6 6 0 01-10.28 0l-1.71 1A8 8 0 0016 24z\\\"></path></svg>\"\n            },\n        };\n    }\n    FaceWinkDirective_1 = FaceWinkDirective;\n    FaceWinkDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            FaceWinkDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"face-wink-\" + FaceWinkDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"face-wink-\" + FaceWinkDirective_1.titleIdCounter);\n        }\n    };\n    var FaceWinkDirective_1;\n    FaceWinkDirective.titleIdCounter = 0;\n    FaceWinkDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FaceWinkDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FaceWinkDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], FaceWinkDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FaceWinkDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], FaceWinkDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FaceWinkDirective.prototype, \"size\", void 0);\n    FaceWinkDirective = FaceWinkDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], FaceWinkDirective);\nFaceWinkDirective.ɵfac = function FaceWinkDirective_Factory(t) { return new (t || FaceWinkDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nFaceWinkDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: FaceWinkDirective, selectors: [[\"\", \"ibmIconFaceWink\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(FaceWinkDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconFaceWink]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return FaceWinkDirective;\n}());\nvar FaceWinkModule = /** @class */ (function () {\n    function FaceWinkModule() {\n    }\nFaceWinkModule.ɵfac = function FaceWinkModule_Factory(t) { return new (t || FaceWinkModule)(); };\nFaceWinkModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: FaceWinkModule });\nFaceWinkModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(FaceWinkModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    FaceWinkComponent,\n                    FaceWinkDirective,\n                ],\n                exports: [\n                    FaceWinkComponent,\n                    FaceWinkDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(FaceWinkModule, { declarations: [FaceWinkComponent, FaceWinkDirective], exports: [FaceWinkComponent, FaceWinkDirective] }); })();\n    return FaceWinkModule;\n}());\n\nexport { FaceWinkComponent, FaceWinkDirective, FaceWinkModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar FadeComponent = /** @class */ (function () {\n    function FadeComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FadeComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FadeComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], FadeComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FadeComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], FadeComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FadeComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FadeComponent.prototype, \"size\", void 0);\nFadeComponent.ɵfac = function FadeComponent_Factory(t) { return new (t || FadeComponent)(); };\nFadeComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: FadeComponent, selectors: [[\"ibm-icon-fade\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconFade\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function FadeComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [FadeDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(FadeComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-fade\",\n                template: \"\\n    <svg\\n      ibmIconFade\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return FadeComponent;\n}());\nvar FadeDirective = /** @class */ (function () {\n    function FadeDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"Fade32\", \"filepath\": \"fade/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M8.24 25.14L7 26.67a13.79 13.79 0 004.18 2.44l.69-1.87A12 12 0 018.24 25.14zM4.19 18l-2 .41A14.09 14.09 0 003.86 23L5.59 22A12.44 12.44 0 014.19 18zM11.82 4.76l-.69-1.87A13.79 13.79 0 007 5.33L8.24 6.86A12 12 0 0111.82 4.76zM5.59 10L3.86 9a14.37 14.37 0 00-1.64 4.59l2 .34A12.05 12.05 0 015.59 10zM16 2V4a12 12 0 010 24v2A14 14 0 0016 2z\" } }], \"name\": \"fade\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M8.24 25.14L7 26.67a13.79 13.79 0 004.18 2.44l.69-1.87A12 12 0 018.24 25.14zM4.19 18l-2 .41A14.09 14.09 0 003.86 23L5.59 22A12.44 12.44 0 014.19 18zM11.82 4.76l-.69-1.87A13.79 13.79 0 007 5.33L8.24 6.86A12 12 0 0111.82 4.76zM5.59 10L3.86 9a14.37 14.37 0 00-1.64 4.59l2 .34A12.05 12.05 0 015.59 10zM16 2V4a12 12 0 010 24v2A14 14 0 0016 2z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"Fade24\", \"filepath\": \"fade/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M8.24 25.14L7 26.67a13.79 13.79 0 004.18 2.44l.69-1.87A12 12 0 018.24 25.14zM4.19 18l-2 .41A14.09 14.09 0 003.86 23L5.59 22A12.44 12.44 0 014.19 18zM11.82 4.76l-.69-1.87A13.79 13.79 0 007 5.33L8.24 6.86A12 12 0 0111.82 4.76zM5.59 10L3.86 9a14.37 14.37 0 00-1.64 4.59l2 .34A12.05 12.05 0 015.59 10zM16 2V4a12 12 0 010 24v2A14 14 0 0016 2z\" } }], \"name\": \"fade\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M8.24 25.14L7 26.67a13.79 13.79 0 004.18 2.44l.69-1.87A12 12 0 018.24 25.14zM4.19 18l-2 .41A14.09 14.09 0 003.86 23L5.59 22A12.44 12.44 0 014.19 18zM11.82 4.76l-.69-1.87A13.79 13.79 0 007 5.33L8.24 6.86A12 12 0 0111.82 4.76zM5.59 10L3.86 9a14.37 14.37 0 00-1.64 4.59l2 .34A12.05 12.05 0 015.59 10zM16 2V4a12 12 0 010 24v2A14 14 0 0016 2z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"Fade20\", \"filepath\": \"fade/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M8.24 25.14L7 26.67a13.79 13.79 0 004.18 2.44l.69-1.87A12 12 0 018.24 25.14zM4.19 18l-2 .41A14.09 14.09 0 003.86 23L5.59 22A12.44 12.44 0 014.19 18zM11.82 4.76l-.69-1.87A13.79 13.79 0 007 5.33L8.24 6.86A12 12 0 0111.82 4.76zM5.59 10L3.86 9a14.37 14.37 0 00-1.64 4.59l2 .34A12.05 12.05 0 015.59 10zM16 2V4a12 12 0 010 24v2A14 14 0 0016 2z\" } }], \"name\": \"fade\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M8.24 25.14L7 26.67a13.79 13.79 0 004.18 2.44l.69-1.87A12 12 0 018.24 25.14zM4.19 18l-2 .41A14.09 14.09 0 003.86 23L5.59 22A12.44 12.44 0 014.19 18zM11.82 4.76l-.69-1.87A13.79 13.79 0 007 5.33L8.24 6.86A12 12 0 0111.82 4.76zM5.59 10L3.86 9a14.37 14.37 0 00-1.64 4.59l2 .34A12.05 12.05 0 015.59 10zM16 2V4a12 12 0 010 24v2A14 14 0 0016 2z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"Fade16\", \"filepath\": \"fade/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 16 16\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M4.1 12.6l-.6.8c.6.5 1.3.9 2.1 1.2l.3-.9C5.3 13.4 4.7 13 4.1 12.6zM2.1 9l-1 .2c.1.8.4 1.6.8 2.3L2.8 11C2.4 10.4 2.2 9.7 2.1 9zM5.9 2.4L5.6 1.4C4.8 1.7 4.1 2.1 3.5 2.7l.6.8C4.7 3 5.3 2.6 5.9 2.4zM2.8 5L1.9 4.5C1.5 5.2 1.3 6 1.1 6.8l1 .2C2.2 6.3 2.5 5.6 2.8 5zM8 1v1c3.3 0 6 2.7 6 6s-2.7 6-6 6v1c3.9 0 7-3.1 7-7S11.9 1 8 1z\" } }], \"name\": \"fade\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\" aria-hidden=\\\"true\\\"><path d=\\\"M4.1 12.6l-.6.8c.6.5 1.3.9 2.1 1.2l.3-.9C5.3 13.4 4.7 13 4.1 12.6zM2.1 9l-1 .2c.1.8.4 1.6.8 2.3L2.8 11C2.4 10.4 2.2 9.7 2.1 9zM5.9 2.4L5.6 1.4C4.8 1.7 4.1 2.1 3.5 2.7l.6.8C4.7 3 5.3 2.6 5.9 2.4zM2.8 5L1.9 4.5C1.5 5.2 1.3 6 1.1 6.8l1 .2C2.2 6.3 2.5 5.6 2.8 5zM8 1v1c3.3 0 6 2.7 6 6s-2.7 6-6 6v1c3.9 0 7-3.1 7-7S11.9 1 8 1z\\\"></path></svg>\"\n            },\n        };\n    }\n    FadeDirective_1 = FadeDirective;\n    FadeDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            FadeDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"fade-\" + FadeDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"fade-\" + FadeDirective_1.titleIdCounter);\n        }\n    };\n    var FadeDirective_1;\n    FadeDirective.titleIdCounter = 0;\n    FadeDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FadeDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FadeDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], FadeDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FadeDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], FadeDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FadeDirective.prototype, \"size\", void 0);\n    FadeDirective = FadeDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], FadeDirective);\nFadeDirective.ɵfac = function FadeDirective_Factory(t) { return new (t || FadeDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nFadeDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: FadeDirective, selectors: [[\"\", \"ibmIconFade\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(FadeDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconFade]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return FadeDirective;\n}());\nvar FadeModule = /** @class */ (function () {\n    function FadeModule() {\n    }\nFadeModule.ɵfac = function FadeModule_Factory(t) { return new (t || FadeModule)(); };\nFadeModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: FadeModule });\nFadeModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(FadeModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    FadeComponent,\n                    FadeDirective,\n                ],\n                exports: [\n                    FadeComponent,\n                    FadeDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(FadeModule, { declarations: [FadeComponent, FadeDirective], exports: [FadeComponent, FadeDirective] }); })();\n    return FadeModule;\n}());\n\nexport { FadeComponent, FadeDirective, FadeModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar FilterComponent = /** @class */ (function () {\n    function FilterComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FilterComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FilterComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], FilterComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FilterComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], FilterComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FilterComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FilterComponent.prototype, \"size\", void 0);\nFilterComponent.ɵfac = function FilterComponent_Factory(t) { return new (t || FilterComponent)(); };\nFilterComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: FilterComponent, selectors: [[\"ibm-icon-filter\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconFilter\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function FilterComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [FilterDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(FilterComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-filter\",\n                template: \"\\n    <svg\\n      ibmIconFilter\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return FilterComponent;\n}());\nvar FilterDirective = /** @class */ (function () {\n    function FilterDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"Filter32\", \"filepath\": \"filter/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M18,28H14a2,2,0,0,1-2-2V18.41L4.59,11A2,2,0,0,1,4,9.59V6A2,2,0,0,1,6,4H26a2,2,0,0,1,2,2V9.59A2,2,0,0,1,27.41,11L20,18.41V26A2,2,0,0,1,18,28ZM6,6V9.59l8,8V26h4V17.59l8-8V6Z\" } }], \"name\": \"filter\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M18,28H14a2,2,0,0,1-2-2V18.41L4.59,11A2,2,0,0,1,4,9.59V6A2,2,0,0,1,6,4H26a2,2,0,0,1,2,2V9.59A2,2,0,0,1,27.41,11L20,18.41V26A2,2,0,0,1,18,28ZM6,6V9.59l8,8V26h4V17.59l8-8V6Z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"Filter24\", \"filepath\": \"filter/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M18,28H14a2,2,0,0,1-2-2V18.41L4.59,11A2,2,0,0,1,4,9.59V6A2,2,0,0,1,6,4H26a2,2,0,0,1,2,2V9.59A2,2,0,0,1,27.41,11L20,18.41V26A2,2,0,0,1,18,28ZM6,6V9.59l8,8V26h4V17.59l8-8V6Z\" } }], \"name\": \"filter\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M18,28H14a2,2,0,0,1-2-2V18.41L4.59,11A2,2,0,0,1,4,9.59V6A2,2,0,0,1,6,4H26a2,2,0,0,1,2,2V9.59A2,2,0,0,1,27.41,11L20,18.41V26A2,2,0,0,1,18,28ZM6,6V9.59l8,8V26h4V17.59l8-8V6Z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"Filter20\", \"filepath\": \"filter/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M18,28H14a2,2,0,0,1-2-2V18.41L4.59,11A2,2,0,0,1,4,9.59V6A2,2,0,0,1,6,4H26a2,2,0,0,1,2,2V9.59A2,2,0,0,1,27.41,11L20,18.41V26A2,2,0,0,1,18,28ZM6,6V9.59l8,8V26h4V17.59l8-8V6Z\" } }], \"name\": \"filter\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M18,28H14a2,2,0,0,1-2-2V18.41L4.59,11A2,2,0,0,1,4,9.59V6A2,2,0,0,1,6,4H26a2,2,0,0,1,2,2V9.59A2,2,0,0,1,27.41,11L20,18.41V26A2,2,0,0,1,18,28ZM6,6V9.59l8,8V26h4V17.59l8-8V6Z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"Filter16\", \"filepath\": \"filter/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M18,28H14a2,2,0,0,1-2-2V18.41L4.59,11A2,2,0,0,1,4,9.59V6A2,2,0,0,1,6,4H26a2,2,0,0,1,2,2V9.59A2,2,0,0,1,27.41,11L20,18.41V26A2,2,0,0,1,18,28ZM6,6V9.59l8,8V26h4V17.59l8-8V6Z\" } }], \"name\": \"filter\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M18,28H14a2,2,0,0,1-2-2V18.41L4.59,11A2,2,0,0,1,4,9.59V6A2,2,0,0,1,6,4H26a2,2,0,0,1,2,2V9.59A2,2,0,0,1,27.41,11L20,18.41V26A2,2,0,0,1,18,28ZM6,6V9.59l8,8V26h4V17.59l8-8V6Z\\\"></path></svg>\"\n            },\n        };\n    }\n    FilterDirective_1 = FilterDirective;\n    FilterDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            FilterDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"filter-\" + FilterDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"filter-\" + FilterDirective_1.titleIdCounter);\n        }\n    };\n    var FilterDirective_1;\n    FilterDirective.titleIdCounter = 0;\n    FilterDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FilterDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FilterDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], FilterDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FilterDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], FilterDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FilterDirective.prototype, \"size\", void 0);\n    FilterDirective = FilterDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], FilterDirective);\nFilterDirective.ɵfac = function FilterDirective_Factory(t) { return new (t || FilterDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nFilterDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: FilterDirective, selectors: [[\"\", \"ibmIconFilter\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(FilterDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconFilter]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return FilterDirective;\n}());\nvar FilterModule = /** @class */ (function () {\n    function FilterModule() {\n    }\nFilterModule.ɵfac = function FilterModule_Factory(t) { return new (t || FilterModule)(); };\nFilterModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: FilterModule });\nFilterModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(FilterModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    FilterComponent,\n                    FilterDirective,\n                ],\n                exports: [\n                    FilterComponent,\n                    FilterDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(FilterModule, { declarations: [FilterComponent, FilterDirective], exports: [FilterComponent, FilterDirective] }); })();\n    return FilterModule;\n}());\n\nexport { FilterComponent, FilterDirective, FilterModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar FingerprintRecognitionComponent = /** @class */ (function () {\n    function FingerprintRecognitionComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FingerprintRecognitionComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FingerprintRecognitionComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], FingerprintRecognitionComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FingerprintRecognitionComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], FingerprintRecognitionComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FingerprintRecognitionComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FingerprintRecognitionComponent.prototype, \"size\", void 0);\nFingerprintRecognitionComponent.ɵfac = function FingerprintRecognitionComponent_Factory(t) { return new (t || FingerprintRecognitionComponent)(); };\nFingerprintRecognitionComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: FingerprintRecognitionComponent, selectors: [[\"ibm-icon-fingerprint-recognition\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconFingerprintRecognition\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function FingerprintRecognitionComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [FingerprintRecognitionDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(FingerprintRecognitionComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-fingerprint-recognition\",\n                template: \"\\n    <svg\\n      ibmIconFingerprintRecognition\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return FingerprintRecognitionComponent;\n}());\nvar FingerprintRecognitionDirective = /** @class */ (function () {\n    function FingerprintRecognitionDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"FingerprintRecognition32\", \"filepath\": \"fingerprint-recognition/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M7,5.21a.77.77,0,0,1-.46-1.38A15.46,15.46,0,0,1,16,1c2.66,0,6.48.45,9.5,2.62a.77.77,0,0,1,.18,1.07.78.78,0,0,1-1.08.17A15,15,0,0,0,16,2.53,14,14,0,0,0,7.5,5.05.74.74,0,0,1,7,5.21Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M28.23,12.26a.78.78,0,0,1-.63-.33C25.87,9.49,22.78,6.24,16,6.24a14,14,0,0,0-11.63,5.7.77.77,0,0,1-1.07.17A.76.76,0,0,1,3.15,11,15.54,15.54,0,0,1,16,4.71c5.61,0,9.81,2.08,12.84,6.34a.77.77,0,0,1-.19,1.07A.79.79,0,0,1,28.23,12.26Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M12.28,31a.78.78,0,0,1-.72-.49.75.75,0,0,1,.44-1c4.37-1.68,7-5.12,7-9.21a2.8,2.8,0,0,0-3-3c-1.86,0-2.76,1-3,3.35a4.27,4.27,0,0,1-4.52,3.83,4.27,4.27,0,0,1-4.32-4.59A11.71,11.71,0,0,1,16,8.39a12,12,0,0,1,12,11.93,18.66,18.66,0,0,1-1.39,6.5.78.78,0,0,1-1,.41.76.76,0,0,1-.41-1,17.25,17.25,0,0,0,1.27-5.91A10.45,10.45,0,0,0,16,9.92a10.18,10.18,0,0,0-10.38,10,2.77,2.77,0,0,0,2.79,3.06,2.74,2.74,0,0,0,3-2.48c.36-3.11,1.89-4.69,4.56-4.69a4.31,4.31,0,0,1,4.52,4.56c0,4.74-3,8.72-8,10.63A.92.92,0,0,1,12.28,31Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M19.77,30.28a.81.81,0,0,1-.52-.2.76.76,0,0,1,0-1.08,12.63,12.63,0,0,0,3.54-8.68c0-1.56-.48-6.65-6.7-6.65a6.83,6.83,0,0,0-4.94,1.87A6.17,6.17,0,0,0,9.32,20a.77.77,0,0,1-.77.76h0A.76.76,0,0,1,7.78,20,7.73,7.73,0,0,1,10,14.46a8.34,8.34,0,0,1,6-2.32c6.08,0,8.24,4.4,8.24,8.18A14.09,14.09,0,0,1,20.34,30,.75.75,0,0,1,19.77,30.28Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M8.66,27.74a14.14,14.14,0,0,1-1.56-.09.76.76,0,1,1,.17-1.52c2.49.28,4.45-.16,5.84-1.32a6.37,6.37,0,0,0,2.12-4.53.75.75,0,0,1,.82-.71.78.78,0,0,1,.72.81A7.89,7.89,0,0,1,14.09,26,8.2,8.2,0,0,1,8.66,27.74Z\" } }], \"name\": \"fingerprint-recognition\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M7,5.21a.77.77,0,0,1-.46-1.38A15.46,15.46,0,0,1,16,1c2.66,0,6.48.45,9.5,2.62a.77.77,0,0,1,.18,1.07.78.78,0,0,1-1.08.17A15,15,0,0,0,16,2.53,14,14,0,0,0,7.5,5.05.74.74,0,0,1,7,5.21Z\\\"></path><path d=\\\"M28.23,12.26a.78.78,0,0,1-.63-.33C25.87,9.49,22.78,6.24,16,6.24a14,14,0,0,0-11.63,5.7.77.77,0,0,1-1.07.17A.76.76,0,0,1,3.15,11,15.54,15.54,0,0,1,16,4.71c5.61,0,9.81,2.08,12.84,6.34a.77.77,0,0,1-.19,1.07A.79.79,0,0,1,28.23,12.26Z\\\"></path><path d=\\\"M12.28,31a.78.78,0,0,1-.72-.49.75.75,0,0,1,.44-1c4.37-1.68,7-5.12,7-9.21a2.8,2.8,0,0,0-3-3c-1.86,0-2.76,1-3,3.35a4.27,4.27,0,0,1-4.52,3.83,4.27,4.27,0,0,1-4.32-4.59A11.71,11.71,0,0,1,16,8.39a12,12,0,0,1,12,11.93,18.66,18.66,0,0,1-1.39,6.5.78.78,0,0,1-1,.41.76.76,0,0,1-.41-1,17.25,17.25,0,0,0,1.27-5.91A10.45,10.45,0,0,0,16,9.92a10.18,10.18,0,0,0-10.38,10,2.77,2.77,0,0,0,2.79,3.06,2.74,2.74,0,0,0,3-2.48c.36-3.11,1.89-4.69,4.56-4.69a4.31,4.31,0,0,1,4.52,4.56c0,4.74-3,8.72-8,10.63A.92.92,0,0,1,12.28,31Z\\\"></path><path d=\\\"M19.77,30.28a.81.81,0,0,1-.52-.2.76.76,0,0,1,0-1.08,12.63,12.63,0,0,0,3.54-8.68c0-1.56-.48-6.65-6.7-6.65a6.83,6.83,0,0,0-4.94,1.87A6.17,6.17,0,0,0,9.32,20a.77.77,0,0,1-.77.76h0A.76.76,0,0,1,7.78,20,7.73,7.73,0,0,1,10,14.46a8.34,8.34,0,0,1,6-2.32c6.08,0,8.24,4.4,8.24,8.18A14.09,14.09,0,0,1,20.34,30,.75.75,0,0,1,19.77,30.28Z\\\"></path><path d=\\\"M8.66,27.74a14.14,14.14,0,0,1-1.56-.09.76.76,0,1,1,.17-1.52c2.49.28,4.45-.16,5.84-1.32a6.37,6.37,0,0,0,2.12-4.53.75.75,0,0,1,.82-.71.78.78,0,0,1,.72.81A7.89,7.89,0,0,1,14.09,26,8.2,8.2,0,0,1,8.66,27.74Z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"FingerprintRecognition24\", \"filepath\": \"fingerprint-recognition/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M7,5.21a.77.77,0,0,1-.46-1.38A15.46,15.46,0,0,1,16,1c2.66,0,6.48.45,9.5,2.62a.77.77,0,0,1,.18,1.07.78.78,0,0,1-1.08.17A15,15,0,0,0,16,2.53,14,14,0,0,0,7.5,5.05.74.74,0,0,1,7,5.21Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M28.23,12.26a.78.78,0,0,1-.63-.33C25.87,9.49,22.78,6.24,16,6.24a14,14,0,0,0-11.63,5.7.77.77,0,0,1-1.07.17A.76.76,0,0,1,3.15,11,15.54,15.54,0,0,1,16,4.71c5.61,0,9.81,2.08,12.84,6.34a.77.77,0,0,1-.19,1.07A.79.79,0,0,1,28.23,12.26Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M12.28,31a.78.78,0,0,1-.72-.49.75.75,0,0,1,.44-1c4.37-1.68,7-5.12,7-9.21a2.8,2.8,0,0,0-3-3c-1.86,0-2.76,1-3,3.35a4.27,4.27,0,0,1-4.52,3.83,4.27,4.27,0,0,1-4.32-4.59A11.71,11.71,0,0,1,16,8.39a12,12,0,0,1,12,11.93,18.66,18.66,0,0,1-1.39,6.5.78.78,0,0,1-1,.41.76.76,0,0,1-.41-1,17.25,17.25,0,0,0,1.27-5.91A10.45,10.45,0,0,0,16,9.92a10.18,10.18,0,0,0-10.38,10,2.77,2.77,0,0,0,2.79,3.06,2.74,2.74,0,0,0,3-2.48c.36-3.11,1.89-4.69,4.56-4.69a4.31,4.31,0,0,1,4.52,4.56c0,4.74-3,8.72-8,10.63A.92.92,0,0,1,12.28,31Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M19.77,30.28a.81.81,0,0,1-.52-.2.76.76,0,0,1,0-1.08,12.63,12.63,0,0,0,3.54-8.68c0-1.56-.48-6.65-6.7-6.65a6.83,6.83,0,0,0-4.94,1.87A6.17,6.17,0,0,0,9.32,20a.77.77,0,0,1-.77.76h0A.76.76,0,0,1,7.78,20,7.73,7.73,0,0,1,10,14.46a8.34,8.34,0,0,1,6-2.32c6.08,0,8.24,4.4,8.24,8.18A14.09,14.09,0,0,1,20.34,30,.75.75,0,0,1,19.77,30.28Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M8.66,27.74a14.14,14.14,0,0,1-1.56-.09.76.76,0,1,1,.17-1.52c2.49.28,4.45-.16,5.84-1.32a6.37,6.37,0,0,0,2.12-4.53.75.75,0,0,1,.82-.71.78.78,0,0,1,.72.81A7.89,7.89,0,0,1,14.09,26,8.2,8.2,0,0,1,8.66,27.74Z\" } }], \"name\": \"fingerprint-recognition\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M7,5.21a.77.77,0,0,1-.46-1.38A15.46,15.46,0,0,1,16,1c2.66,0,6.48.45,9.5,2.62a.77.77,0,0,1,.18,1.07.78.78,0,0,1-1.08.17A15,15,0,0,0,16,2.53,14,14,0,0,0,7.5,5.05.74.74,0,0,1,7,5.21Z\\\"></path><path d=\\\"M28.23,12.26a.78.78,0,0,1-.63-.33C25.87,9.49,22.78,6.24,16,6.24a14,14,0,0,0-11.63,5.7.77.77,0,0,1-1.07.17A.76.76,0,0,1,3.15,11,15.54,15.54,0,0,1,16,4.71c5.61,0,9.81,2.08,12.84,6.34a.77.77,0,0,1-.19,1.07A.79.79,0,0,1,28.23,12.26Z\\\"></path><path d=\\\"M12.28,31a.78.78,0,0,1-.72-.49.75.75,0,0,1,.44-1c4.37-1.68,7-5.12,7-9.21a2.8,2.8,0,0,0-3-3c-1.86,0-2.76,1-3,3.35a4.27,4.27,0,0,1-4.52,3.83,4.27,4.27,0,0,1-4.32-4.59A11.71,11.71,0,0,1,16,8.39a12,12,0,0,1,12,11.93,18.66,18.66,0,0,1-1.39,6.5.78.78,0,0,1-1,.41.76.76,0,0,1-.41-1,17.25,17.25,0,0,0,1.27-5.91A10.45,10.45,0,0,0,16,9.92a10.18,10.18,0,0,0-10.38,10,2.77,2.77,0,0,0,2.79,3.06,2.74,2.74,0,0,0,3-2.48c.36-3.11,1.89-4.69,4.56-4.69a4.31,4.31,0,0,1,4.52,4.56c0,4.74-3,8.72-8,10.63A.92.92,0,0,1,12.28,31Z\\\"></path><path d=\\\"M19.77,30.28a.81.81,0,0,1-.52-.2.76.76,0,0,1,0-1.08,12.63,12.63,0,0,0,3.54-8.68c0-1.56-.48-6.65-6.7-6.65a6.83,6.83,0,0,0-4.94,1.87A6.17,6.17,0,0,0,9.32,20a.77.77,0,0,1-.77.76h0A.76.76,0,0,1,7.78,20,7.73,7.73,0,0,1,10,14.46a8.34,8.34,0,0,1,6-2.32c6.08,0,8.24,4.4,8.24,8.18A14.09,14.09,0,0,1,20.34,30,.75.75,0,0,1,19.77,30.28Z\\\"></path><path d=\\\"M8.66,27.74a14.14,14.14,0,0,1-1.56-.09.76.76,0,1,1,.17-1.52c2.49.28,4.45-.16,5.84-1.32a6.37,6.37,0,0,0,2.12-4.53.75.75,0,0,1,.82-.71.78.78,0,0,1,.72.81A7.89,7.89,0,0,1,14.09,26,8.2,8.2,0,0,1,8.66,27.74Z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"FingerprintRecognition20\", \"filepath\": \"fingerprint-recognition/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M7,5.21a.77.77,0,0,1-.46-1.38A15.46,15.46,0,0,1,16,1c2.66,0,6.48.45,9.5,2.62a.77.77,0,0,1,.18,1.07.78.78,0,0,1-1.08.17A15,15,0,0,0,16,2.53,14,14,0,0,0,7.5,5.05.74.74,0,0,1,7,5.21Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M28.23,12.26a.78.78,0,0,1-.63-.33C25.87,9.49,22.78,6.24,16,6.24a14,14,0,0,0-11.63,5.7.77.77,0,0,1-1.07.17A.76.76,0,0,1,3.15,11,15.54,15.54,0,0,1,16,4.71c5.61,0,9.81,2.08,12.84,6.34a.77.77,0,0,1-.19,1.07A.79.79,0,0,1,28.23,12.26Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M12.28,31a.78.78,0,0,1-.72-.49.75.75,0,0,1,.44-1c4.37-1.68,7-5.12,7-9.21a2.8,2.8,0,0,0-3-3c-1.86,0-2.76,1-3,3.35a4.27,4.27,0,0,1-4.52,3.83,4.27,4.27,0,0,1-4.32-4.59A11.71,11.71,0,0,1,16,8.39a12,12,0,0,1,12,11.93,18.66,18.66,0,0,1-1.39,6.5.78.78,0,0,1-1,.41.76.76,0,0,1-.41-1,17.25,17.25,0,0,0,1.27-5.91A10.45,10.45,0,0,0,16,9.92a10.18,10.18,0,0,0-10.38,10,2.77,2.77,0,0,0,2.79,3.06,2.74,2.74,0,0,0,3-2.48c.36-3.11,1.89-4.69,4.56-4.69a4.31,4.31,0,0,1,4.52,4.56c0,4.74-3,8.72-8,10.63A.92.92,0,0,1,12.28,31Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M19.77,30.28a.81.81,0,0,1-.52-.2.76.76,0,0,1,0-1.08,12.63,12.63,0,0,0,3.54-8.68c0-1.56-.48-6.65-6.7-6.65a6.83,6.83,0,0,0-4.94,1.87A6.17,6.17,0,0,0,9.32,20a.77.77,0,0,1-.77.76h0A.76.76,0,0,1,7.78,20,7.73,7.73,0,0,1,10,14.46a8.34,8.34,0,0,1,6-2.32c6.08,0,8.24,4.4,8.24,8.18A14.09,14.09,0,0,1,20.34,30,.75.75,0,0,1,19.77,30.28Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M8.66,27.74a14.14,14.14,0,0,1-1.56-.09.76.76,0,1,1,.17-1.52c2.49.28,4.45-.16,5.84-1.32a6.37,6.37,0,0,0,2.12-4.53.75.75,0,0,1,.82-.71.78.78,0,0,1,.72.81A7.89,7.89,0,0,1,14.09,26,8.2,8.2,0,0,1,8.66,27.74Z\" } }], \"name\": \"fingerprint-recognition\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M7,5.21a.77.77,0,0,1-.46-1.38A15.46,15.46,0,0,1,16,1c2.66,0,6.48.45,9.5,2.62a.77.77,0,0,1,.18,1.07.78.78,0,0,1-1.08.17A15,15,0,0,0,16,2.53,14,14,0,0,0,7.5,5.05.74.74,0,0,1,7,5.21Z\\\"></path><path d=\\\"M28.23,12.26a.78.78,0,0,1-.63-.33C25.87,9.49,22.78,6.24,16,6.24a14,14,0,0,0-11.63,5.7.77.77,0,0,1-1.07.17A.76.76,0,0,1,3.15,11,15.54,15.54,0,0,1,16,4.71c5.61,0,9.81,2.08,12.84,6.34a.77.77,0,0,1-.19,1.07A.79.79,0,0,1,28.23,12.26Z\\\"></path><path d=\\\"M12.28,31a.78.78,0,0,1-.72-.49.75.75,0,0,1,.44-1c4.37-1.68,7-5.12,7-9.21a2.8,2.8,0,0,0-3-3c-1.86,0-2.76,1-3,3.35a4.27,4.27,0,0,1-4.52,3.83,4.27,4.27,0,0,1-4.32-4.59A11.71,11.71,0,0,1,16,8.39a12,12,0,0,1,12,11.93,18.66,18.66,0,0,1-1.39,6.5.78.78,0,0,1-1,.41.76.76,0,0,1-.41-1,17.25,17.25,0,0,0,1.27-5.91A10.45,10.45,0,0,0,16,9.92a10.18,10.18,0,0,0-10.38,10,2.77,2.77,0,0,0,2.79,3.06,2.74,2.74,0,0,0,3-2.48c.36-3.11,1.89-4.69,4.56-4.69a4.31,4.31,0,0,1,4.52,4.56c0,4.74-3,8.72-8,10.63A.92.92,0,0,1,12.28,31Z\\\"></path><path d=\\\"M19.77,30.28a.81.81,0,0,1-.52-.2.76.76,0,0,1,0-1.08,12.63,12.63,0,0,0,3.54-8.68c0-1.56-.48-6.65-6.7-6.65a6.83,6.83,0,0,0-4.94,1.87A6.17,6.17,0,0,0,9.32,20a.77.77,0,0,1-.77.76h0A.76.76,0,0,1,7.78,20,7.73,7.73,0,0,1,10,14.46a8.34,8.34,0,0,1,6-2.32c6.08,0,8.24,4.4,8.24,8.18A14.09,14.09,0,0,1,20.34,30,.75.75,0,0,1,19.77,30.28Z\\\"></path><path d=\\\"M8.66,27.74a14.14,14.14,0,0,1-1.56-.09.76.76,0,1,1,.17-1.52c2.49.28,4.45-.16,5.84-1.32a6.37,6.37,0,0,0,2.12-4.53.75.75,0,0,1,.82-.71.78.78,0,0,1,.72.81A7.89,7.89,0,0,1,14.09,26,8.2,8.2,0,0,1,8.66,27.74Z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"FingerprintRecognition16\", \"filepath\": \"fingerprint-recognition/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M7,5.21a.77.77,0,0,1-.46-1.38A15.46,15.46,0,0,1,16,1c2.66,0,6.48.45,9.5,2.62a.77.77,0,0,1,.18,1.07.78.78,0,0,1-1.08.17A15,15,0,0,0,16,2.53,14,14,0,0,0,7.5,5.05.74.74,0,0,1,7,5.21Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M28.23,12.26a.78.78,0,0,1-.63-.33C25.87,9.49,22.78,6.24,16,6.24a14,14,0,0,0-11.63,5.7.77.77,0,0,1-1.07.17A.76.76,0,0,1,3.15,11,15.54,15.54,0,0,1,16,4.71c5.61,0,9.81,2.08,12.84,6.34a.77.77,0,0,1-.19,1.07A.79.79,0,0,1,28.23,12.26Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M12.28,31a.78.78,0,0,1-.72-.49.75.75,0,0,1,.44-1c4.37-1.68,7-5.12,7-9.21a2.8,2.8,0,0,0-3-3c-1.86,0-2.76,1-3,3.35a4.27,4.27,0,0,1-4.52,3.83,4.27,4.27,0,0,1-4.32-4.59A11.71,11.71,0,0,1,16,8.39a12,12,0,0,1,12,11.93,18.66,18.66,0,0,1-1.39,6.5.78.78,0,0,1-1,.41.76.76,0,0,1-.41-1,17.25,17.25,0,0,0,1.27-5.91A10.45,10.45,0,0,0,16,9.92a10.18,10.18,0,0,0-10.38,10,2.77,2.77,0,0,0,2.79,3.06,2.74,2.74,0,0,0,3-2.48c.36-3.11,1.89-4.69,4.56-4.69a4.31,4.31,0,0,1,4.52,4.56c0,4.74-3,8.72-8,10.63A.92.92,0,0,1,12.28,31Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M19.77,30.28a.81.81,0,0,1-.52-.2.76.76,0,0,1,0-1.08,12.63,12.63,0,0,0,3.54-8.68c0-1.56-.48-6.65-6.7-6.65a6.83,6.83,0,0,0-4.94,1.87A6.17,6.17,0,0,0,9.32,20a.77.77,0,0,1-.77.76h0A.76.76,0,0,1,7.78,20,7.73,7.73,0,0,1,10,14.46a8.34,8.34,0,0,1,6-2.32c6.08,0,8.24,4.4,8.24,8.18A14.09,14.09,0,0,1,20.34,30,.75.75,0,0,1,19.77,30.28Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M8.66,27.74a14.14,14.14,0,0,1-1.56-.09.76.76,0,1,1,.17-1.52c2.49.28,4.45-.16,5.84-1.32a6.37,6.37,0,0,0,2.12-4.53.75.75,0,0,1,.82-.71.78.78,0,0,1,.72.81A7.89,7.89,0,0,1,14.09,26,8.2,8.2,0,0,1,8.66,27.74Z\" } }], \"name\": \"fingerprint-recognition\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M7,5.21a.77.77,0,0,1-.46-1.38A15.46,15.46,0,0,1,16,1c2.66,0,6.48.45,9.5,2.62a.77.77,0,0,1,.18,1.07.78.78,0,0,1-1.08.17A15,15,0,0,0,16,2.53,14,14,0,0,0,7.5,5.05.74.74,0,0,1,7,5.21Z\\\"></path><path d=\\\"M28.23,12.26a.78.78,0,0,1-.63-.33C25.87,9.49,22.78,6.24,16,6.24a14,14,0,0,0-11.63,5.7.77.77,0,0,1-1.07.17A.76.76,0,0,1,3.15,11,15.54,15.54,0,0,1,16,4.71c5.61,0,9.81,2.08,12.84,6.34a.77.77,0,0,1-.19,1.07A.79.79,0,0,1,28.23,12.26Z\\\"></path><path d=\\\"M12.28,31a.78.78,0,0,1-.72-.49.75.75,0,0,1,.44-1c4.37-1.68,7-5.12,7-9.21a2.8,2.8,0,0,0-3-3c-1.86,0-2.76,1-3,3.35a4.27,4.27,0,0,1-4.52,3.83,4.27,4.27,0,0,1-4.32-4.59A11.71,11.71,0,0,1,16,8.39a12,12,0,0,1,12,11.93,18.66,18.66,0,0,1-1.39,6.5.78.78,0,0,1-1,.41.76.76,0,0,1-.41-1,17.25,17.25,0,0,0,1.27-5.91A10.45,10.45,0,0,0,16,9.92a10.18,10.18,0,0,0-10.38,10,2.77,2.77,0,0,0,2.79,3.06,2.74,2.74,0,0,0,3-2.48c.36-3.11,1.89-4.69,4.56-4.69a4.31,4.31,0,0,1,4.52,4.56c0,4.74-3,8.72-8,10.63A.92.92,0,0,1,12.28,31Z\\\"></path><path d=\\\"M19.77,30.28a.81.81,0,0,1-.52-.2.76.76,0,0,1,0-1.08,12.63,12.63,0,0,0,3.54-8.68c0-1.56-.48-6.65-6.7-6.65a6.83,6.83,0,0,0-4.94,1.87A6.17,6.17,0,0,0,9.32,20a.77.77,0,0,1-.77.76h0A.76.76,0,0,1,7.78,20,7.73,7.73,0,0,1,10,14.46a8.34,8.34,0,0,1,6-2.32c6.08,0,8.24,4.4,8.24,8.18A14.09,14.09,0,0,1,20.34,30,.75.75,0,0,1,19.77,30.28Z\\\"></path><path d=\\\"M8.66,27.74a14.14,14.14,0,0,1-1.56-.09.76.76,0,1,1,.17-1.52c2.49.28,4.45-.16,5.84-1.32a6.37,6.37,0,0,0,2.12-4.53.75.75,0,0,1,.82-.71.78.78,0,0,1,.72.81A7.89,7.89,0,0,1,14.09,26,8.2,8.2,0,0,1,8.66,27.74Z\\\"></path></svg>\"\n            },\n        };\n    }\n    FingerprintRecognitionDirective_1 = FingerprintRecognitionDirective;\n    FingerprintRecognitionDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            FingerprintRecognitionDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"fingerprint-recognition-\" + FingerprintRecognitionDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"fingerprint-recognition-\" + FingerprintRecognitionDirective_1.titleIdCounter);\n        }\n    };\n    var FingerprintRecognitionDirective_1;\n    FingerprintRecognitionDirective.titleIdCounter = 0;\n    FingerprintRecognitionDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FingerprintRecognitionDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FingerprintRecognitionDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], FingerprintRecognitionDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FingerprintRecognitionDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], FingerprintRecognitionDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FingerprintRecognitionDirective.prototype, \"size\", void 0);\n    FingerprintRecognitionDirective = FingerprintRecognitionDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], FingerprintRecognitionDirective);\nFingerprintRecognitionDirective.ɵfac = function FingerprintRecognitionDirective_Factory(t) { return new (t || FingerprintRecognitionDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nFingerprintRecognitionDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: FingerprintRecognitionDirective, selectors: [[\"\", \"ibmIconFingerprintRecognition\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(FingerprintRecognitionDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconFingerprintRecognition]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return FingerprintRecognitionDirective;\n}());\nvar FingerprintRecognitionModule = /** @class */ (function () {\n    function FingerprintRecognitionModule() {\n    }\nFingerprintRecognitionModule.ɵfac = function FingerprintRecognitionModule_Factory(t) { return new (t || FingerprintRecognitionModule)(); };\nFingerprintRecognitionModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: FingerprintRecognitionModule });\nFingerprintRecognitionModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(FingerprintRecognitionModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    FingerprintRecognitionComponent,\n                    FingerprintRecognitionDirective,\n                ],\n                exports: [\n                    FingerprintRecognitionComponent,\n                    FingerprintRecognitionDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(FingerprintRecognitionModule, { declarations: [FingerprintRecognitionComponent, FingerprintRecognitionDirective], exports: [FingerprintRecognitionComponent, FingerprintRecognitionDirective] }); })();\n    return FingerprintRecognitionModule;\n}());\n\nexport { FingerprintRecognitionComponent, FingerprintRecognitionDirective, FingerprintRecognitionModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar FitToScreenComponent = /** @class */ (function () {\n    function FitToScreenComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FitToScreenComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FitToScreenComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], FitToScreenComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FitToScreenComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], FitToScreenComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FitToScreenComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FitToScreenComponent.prototype, \"size\", void 0);\nFitToScreenComponent.ɵfac = function FitToScreenComponent_Factory(t) { return new (t || FitToScreenComponent)(); };\nFitToScreenComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: FitToScreenComponent, selectors: [[\"ibm-icon-fit-to-screen\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconFitToScreen\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function FitToScreenComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [FitToScreenDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(FitToScreenComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-fit-to-screen\",\n                template: \"\\n    <svg\\n      ibmIconFitToScreen\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return FitToScreenComponent;\n}());\nvar FitToScreenDirective = /** @class */ (function () {\n    function FitToScreenDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"FitToScreen32\", \"filepath\": \"fit-to-screen/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M22 16L24 16 24 8 16 8 16 10 22 10 22 16zM8 24L16 24 16 22 10 22 10 16 8 16 8 24z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M26,28H6a2.0023,2.0023,0,0,1-2-2V6A2.0023,2.0023,0,0,1,6,4H26a2.0023,2.0023,0,0,1,2,2V26A2.0023,2.0023,0,0,1,26,28ZM6,6V26H26.0012L26,6Z\" } }], \"name\": \"fit-to-screen\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M22 16L24 16 24 8 16 8 16 10 22 10 22 16zM8 24L16 24 16 22 10 22 10 16 8 16 8 24z\\\"></path><path d=\\\"M26,28H6a2.0023,2.0023,0,0,1-2-2V6A2.0023,2.0023,0,0,1,6,4H26a2.0023,2.0023,0,0,1,2,2V26A2.0023,2.0023,0,0,1,26,28ZM6,6V26H26.0012L26,6Z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"FitToScreen24\", \"filepath\": \"fit-to-screen/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M22 16L24 16 24 8 16 8 16 10 22 10 22 16zM8 24L16 24 16 22 10 22 10 16 8 16 8 24z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M26,28H6a2.0023,2.0023,0,0,1-2-2V6A2.0023,2.0023,0,0,1,6,4H26a2.0023,2.0023,0,0,1,2,2V26A2.0023,2.0023,0,0,1,26,28ZM6,6V26H26.0012L26,6Z\" } }], \"name\": \"fit-to-screen\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M22 16L24 16 24 8 16 8 16 10 22 10 22 16zM8 24L16 24 16 22 10 22 10 16 8 16 8 24z\\\"></path><path d=\\\"M26,28H6a2.0023,2.0023,0,0,1-2-2V6A2.0023,2.0023,0,0,1,6,4H26a2.0023,2.0023,0,0,1,2,2V26A2.0023,2.0023,0,0,1,26,28ZM6,6V26H26.0012L26,6Z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"FitToScreen20\", \"filepath\": \"fit-to-screen/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M22 16L24 16 24 8 16 8 16 10 22 10 22 16zM8 24L16 24 16 22 10 22 10 16 8 16 8 24z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M26,28H6a2.0023,2.0023,0,0,1-2-2V6A2.0023,2.0023,0,0,1,6,4H26a2.0023,2.0023,0,0,1,2,2V26A2.0023,2.0023,0,0,1,26,28ZM6,6V26H26.0012L26,6Z\" } }], \"name\": \"fit-to-screen\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M22 16L24 16 24 8 16 8 16 10 22 10 22 16zM8 24L16 24 16 22 10 22 10 16 8 16 8 24z\\\"></path><path d=\\\"M26,28H6a2.0023,2.0023,0,0,1-2-2V6A2.0023,2.0023,0,0,1,6,4H26a2.0023,2.0023,0,0,1,2,2V26A2.0023,2.0023,0,0,1,26,28ZM6,6V26H26.0012L26,6Z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"FitToScreen16\", \"filepath\": \"fit-to-screen/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M22 16L24 16 24 8 16 8 16 10 22 10 22 16zM8 24L16 24 16 22 10 22 10 16 8 16 8 24z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M26,28H6a2.0023,2.0023,0,0,1-2-2V6A2.0023,2.0023,0,0,1,6,4H26a2.0023,2.0023,0,0,1,2,2V26A2.0023,2.0023,0,0,1,26,28ZM6,6V26H26.0012L26,6Z\" } }], \"name\": \"fit-to-screen\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M22 16L24 16 24 8 16 8 16 10 22 10 22 16zM8 24L16 24 16 22 10 22 10 16 8 16 8 24z\\\"></path><path d=\\\"M26,28H6a2.0023,2.0023,0,0,1-2-2V6A2.0023,2.0023,0,0,1,6,4H26a2.0023,2.0023,0,0,1,2,2V26A2.0023,2.0023,0,0,1,26,28ZM6,6V26H26.0012L26,6Z\\\"></path></svg>\"\n            },\n        };\n    }\n    FitToScreenDirective_1 = FitToScreenDirective;\n    FitToScreenDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            FitToScreenDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"fit-to-screen-\" + FitToScreenDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"fit-to-screen-\" + FitToScreenDirective_1.titleIdCounter);\n        }\n    };\n    var FitToScreenDirective_1;\n    FitToScreenDirective.titleIdCounter = 0;\n    FitToScreenDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FitToScreenDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FitToScreenDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], FitToScreenDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FitToScreenDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], FitToScreenDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FitToScreenDirective.prototype, \"size\", void 0);\n    FitToScreenDirective = FitToScreenDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], FitToScreenDirective);\nFitToScreenDirective.ɵfac = function FitToScreenDirective_Factory(t) { return new (t || FitToScreenDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nFitToScreenDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: FitToScreenDirective, selectors: [[\"\", \"ibmIconFitToScreen\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(FitToScreenDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconFitToScreen]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return FitToScreenDirective;\n}());\nvar FitToScreenModule = /** @class */ (function () {\n    function FitToScreenModule() {\n    }\nFitToScreenModule.ɵfac = function FitToScreenModule_Factory(t) { return new (t || FitToScreenModule)(); };\nFitToScreenModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: FitToScreenModule });\nFitToScreenModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(FitToScreenModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    FitToScreenComponent,\n                    FitToScreenDirective,\n                ],\n                exports: [\n                    FitToScreenComponent,\n                    FitToScreenDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(FitToScreenModule, { declarations: [FitToScreenComponent, FitToScreenDirective], exports: [FitToScreenComponent, FitToScreenDirective] }); })();\n    return FitToScreenModule;\n}());\n\nexport { FitToScreenComponent, FitToScreenDirective, FitToScreenModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar FlowComponent = /** @class */ (function () {\n    function FlowComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FlowComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FlowComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], FlowComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FlowComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], FlowComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FlowComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FlowComponent.prototype, \"size\", void 0);\nFlowComponent.ɵfac = function FlowComponent_Factory(t) { return new (t || FlowComponent)(); };\nFlowComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: FlowComponent, selectors: [[\"ibm-icon-flow\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconFlow\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function FlowComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [FlowDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(FlowComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-flow\",\n                template: \"\\n    <svg\\n      ibmIconFlow\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return FlowComponent;\n}());\nvar FlowDirective = /** @class */ (function () {\n    function FlowDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"Flow32\", \"filepath\": \"flow/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M27,22.14V17a2,2,0,0,0-2-2H17V9.86a4,4,0,1,0-2,0V15H7a2,2,0,0,0-2,2v5.14a4,4,0,1,0,2,0V17H25v5.14a4,4,0,1,0,2,0ZM8,26a2,2,0,1,1-2-2A2,2,0,0,1,8,26ZM14,6a2,2,0,1,1,2,2A2,2,0,0,1,14,6ZM26,28a2,2,0,1,1,2-2A2,2,0,0,1,26,28Z\" } }], \"name\": \"flow\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M27,22.14V17a2,2,0,0,0-2-2H17V9.86a4,4,0,1,0-2,0V15H7a2,2,0,0,0-2,2v5.14a4,4,0,1,0,2,0V17H25v5.14a4,4,0,1,0,2,0ZM8,26a2,2,0,1,1-2-2A2,2,0,0,1,8,26ZM14,6a2,2,0,1,1,2,2A2,2,0,0,1,14,6ZM26,28a2,2,0,1,1,2-2A2,2,0,0,1,26,28Z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"Flow24\", \"filepath\": \"flow/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M27,22.14V17a2,2,0,0,0-2-2H17V9.86a4,4,0,1,0-2,0V15H7a2,2,0,0,0-2,2v5.14a4,4,0,1,0,2,0V17H25v5.14a4,4,0,1,0,2,0ZM8,26a2,2,0,1,1-2-2A2,2,0,0,1,8,26ZM14,6a2,2,0,1,1,2,2A2,2,0,0,1,14,6ZM26,28a2,2,0,1,1,2-2A2,2,0,0,1,26,28Z\" } }], \"name\": \"flow\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M27,22.14V17a2,2,0,0,0-2-2H17V9.86a4,4,0,1,0-2,0V15H7a2,2,0,0,0-2,2v5.14a4,4,0,1,0,2,0V17H25v5.14a4,4,0,1,0,2,0ZM8,26a2,2,0,1,1-2-2A2,2,0,0,1,8,26ZM14,6a2,2,0,1,1,2,2A2,2,0,0,1,14,6ZM26,28a2,2,0,1,1,2-2A2,2,0,0,1,26,28Z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"Flow20\", \"filepath\": \"flow/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M27,22.14V17a2,2,0,0,0-2-2H17V9.86a4,4,0,1,0-2,0V15H7a2,2,0,0,0-2,2v5.14a4,4,0,1,0,2,0V17H25v5.14a4,4,0,1,0,2,0ZM8,26a2,2,0,1,1-2-2A2,2,0,0,1,8,26ZM14,6a2,2,0,1,1,2,2A2,2,0,0,1,14,6ZM26,28a2,2,0,1,1,2-2A2,2,0,0,1,26,28Z\" } }], \"name\": \"flow\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M27,22.14V17a2,2,0,0,0-2-2H17V9.86a4,4,0,1,0-2,0V15H7a2,2,0,0,0-2,2v5.14a4,4,0,1,0,2,0V17H25v5.14a4,4,0,1,0,2,0ZM8,26a2,2,0,1,1-2-2A2,2,0,0,1,8,26ZM14,6a2,2,0,1,1,2,2A2,2,0,0,1,14,6ZM26,28a2,2,0,1,1,2-2A2,2,0,0,1,26,28Z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"Flow16\", \"filepath\": \"flow/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M27,22.14V17a2,2,0,0,0-2-2H17V9.86a4,4,0,1,0-2,0V15H7a2,2,0,0,0-2,2v5.14a4,4,0,1,0,2,0V17H25v5.14a4,4,0,1,0,2,0ZM8,26a2,2,0,1,1-2-2A2,2,0,0,1,8,26ZM14,6a2,2,0,1,1,2,2A2,2,0,0,1,14,6ZM26,28a2,2,0,1,1,2-2A2,2,0,0,1,26,28Z\" } }], \"name\": \"flow\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M27,22.14V17a2,2,0,0,0-2-2H17V9.86a4,4,0,1,0-2,0V15H7a2,2,0,0,0-2,2v5.14a4,4,0,1,0,2,0V17H25v5.14a4,4,0,1,0,2,0ZM8,26a2,2,0,1,1-2-2A2,2,0,0,1,8,26ZM14,6a2,2,0,1,1,2,2A2,2,0,0,1,14,6ZM26,28a2,2,0,1,1,2-2A2,2,0,0,1,26,28Z\\\"></path></svg>\"\n            },\n        };\n    }\n    FlowDirective_1 = FlowDirective;\n    FlowDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            FlowDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"flow-\" + FlowDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"flow-\" + FlowDirective_1.titleIdCounter);\n        }\n    };\n    var FlowDirective_1;\n    FlowDirective.titleIdCounter = 0;\n    FlowDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FlowDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FlowDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], FlowDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FlowDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], FlowDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FlowDirective.prototype, \"size\", void 0);\n    FlowDirective = FlowDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], FlowDirective);\nFlowDirective.ɵfac = function FlowDirective_Factory(t) { return new (t || FlowDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nFlowDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: FlowDirective, selectors: [[\"\", \"ibmIconFlow\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(FlowDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconFlow]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return FlowDirective;\n}());\nvar FlowModule = /** @class */ (function () {\n    function FlowModule() {\n    }\nFlowModule.ɵfac = function FlowModule_Factory(t) { return new (t || FlowModule)(); };\nFlowModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: FlowModule });\nFlowModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(FlowModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    FlowComponent,\n                    FlowDirective,\n                ],\n                exports: [\n                    FlowComponent,\n                    FlowDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(FlowModule, { declarations: [FlowComponent, FlowDirective], exports: [FlowComponent, FlowDirective] }); })();\n    return FlowModule;\n}());\n\nexport { FlowComponent, FlowDirective, FlowModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar FoldersComponent = /** @class */ (function () {\n    function FoldersComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FoldersComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FoldersComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], FoldersComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FoldersComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], FoldersComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FoldersComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FoldersComponent.prototype, \"size\", void 0);\nFoldersComponent.ɵfac = function FoldersComponent_Factory(t) { return new (t || FoldersComponent)(); };\nFoldersComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: FoldersComponent, selectors: [[\"ibm-icon-folders\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconFolders\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function FoldersComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [FoldersDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(FoldersComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-folders\",\n                template: \"\\n    <svg\\n      ibmIconFolders\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return FoldersComponent;\n}());\nvar FoldersDirective = /** @class */ (function () {\n    function FoldersDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"Folders32\", \"filepath\": \"folders/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M26 28H6a2.0021 2.0021 0 01-2-2V11A2.0021 2.0021 0 016 9h5.6665a2.0119 2.0119 0 011.2007.4L16.3335 12H26a2.0021 2.0021 0 012 2V26A2.0021 2.0021 0 0126 28zM11.6665 11H5.9985L6 26H26V14H15.6665zM28 9H17.6665l-4-3H6V4h7.6665a2.0119 2.0119 0 011.2007.4L18.3335 7H28z\" } }], \"name\": \"folders\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M26 28H6a2.0021 2.0021 0 01-2-2V11A2.0021 2.0021 0 016 9h5.6665a2.0119 2.0119 0 011.2007.4L16.3335 12H26a2.0021 2.0021 0 012 2V26A2.0021 2.0021 0 0126 28zM11.6665 11H5.9985L6 26H26V14H15.6665zM28 9H17.6665l-4-3H6V4h7.6665a2.0119 2.0119 0 011.2007.4L18.3335 7H28z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"Folders24\", \"filepath\": \"folders/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M26 28H6a2.0021 2.0021 0 01-2-2V11A2.0021 2.0021 0 016 9h5.6665a2.0119 2.0119 0 011.2007.4L16.3335 12H26a2.0021 2.0021 0 012 2V26A2.0021 2.0021 0 0126 28zM11.6665 11H5.9985L6 26H26V14H15.6665zM28 9H17.6665l-4-3H6V4h7.6665a2.0119 2.0119 0 011.2007.4L18.3335 7H28z\" } }], \"name\": \"folders\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M26 28H6a2.0021 2.0021 0 01-2-2V11A2.0021 2.0021 0 016 9h5.6665a2.0119 2.0119 0 011.2007.4L16.3335 12H26a2.0021 2.0021 0 012 2V26A2.0021 2.0021 0 0126 28zM11.6665 11H5.9985L6 26H26V14H15.6665zM28 9H17.6665l-4-3H6V4h7.6665a2.0119 2.0119 0 011.2007.4L18.3335 7H28z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"Folders20\", \"filepath\": \"folders/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M26 28H6a2.0021 2.0021 0 01-2-2V11A2.0021 2.0021 0 016 9h5.6665a2.0119 2.0119 0 011.2007.4L16.3335 12H26a2.0021 2.0021 0 012 2V26A2.0021 2.0021 0 0126 28zM11.6665 11H5.9985L6 26H26V14H15.6665zM28 9H17.6665l-4-3H6V4h7.6665a2.0119 2.0119 0 011.2007.4L18.3335 7H28z\" } }], \"name\": \"folders\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M26 28H6a2.0021 2.0021 0 01-2-2V11A2.0021 2.0021 0 016 9h5.6665a2.0119 2.0119 0 011.2007.4L16.3335 12H26a2.0021 2.0021 0 012 2V26A2.0021 2.0021 0 0126 28zM11.6665 11H5.9985L6 26H26V14H15.6665zM28 9H17.6665l-4-3H6V4h7.6665a2.0119 2.0119 0 011.2007.4L18.3335 7H28z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"Folders16\", \"filepath\": \"folders/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M26 28H6a2.0021 2.0021 0 01-2-2V11A2.0021 2.0021 0 016 9h5.6665a2.0119 2.0119 0 011.2007.4L16.3335 12H26a2.0021 2.0021 0 012 2V26A2.0021 2.0021 0 0126 28zM11.6665 11H5.9985L6 26H26V14H15.6665zM28 9H17.6665l-4-3H6V4h7.6665a2.0119 2.0119 0 011.2007.4L18.3335 7H28z\" } }], \"name\": \"folders\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M26 28H6a2.0021 2.0021 0 01-2-2V11A2.0021 2.0021 0 016 9h5.6665a2.0119 2.0119 0 011.2007.4L16.3335 12H26a2.0021 2.0021 0 012 2V26A2.0021 2.0021 0 0126 28zM11.6665 11H5.9985L6 26H26V14H15.6665zM28 9H17.6665l-4-3H6V4h7.6665a2.0119 2.0119 0 011.2007.4L18.3335 7H28z\\\"></path></svg>\"\n            },\n        };\n    }\n    FoldersDirective_1 = FoldersDirective;\n    FoldersDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            FoldersDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"folders-\" + FoldersDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"folders-\" + FoldersDirective_1.titleIdCounter);\n        }\n    };\n    var FoldersDirective_1;\n    FoldersDirective.titleIdCounter = 0;\n    FoldersDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FoldersDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FoldersDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], FoldersDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FoldersDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], FoldersDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], FoldersDirective.prototype, \"size\", void 0);\n    FoldersDirective = FoldersDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], FoldersDirective);\nFoldersDirective.ɵfac = function FoldersDirective_Factory(t) { return new (t || FoldersDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nFoldersDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: FoldersDirective, selectors: [[\"\", \"ibmIconFolders\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(FoldersDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconFolders]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return FoldersDirective;\n}());\nvar FoldersModule = /** @class */ (function () {\n    function FoldersModule() {\n    }\nFoldersModule.ɵfac = function FoldersModule_Factory(t) { return new (t || FoldersModule)(); };\nFoldersModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: FoldersModule });\nFoldersModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(FoldersModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    FoldersComponent,\n                    FoldersDirective,\n                ],\n                exports: [\n                    FoldersComponent,\n                    FoldersDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(FoldersModule, { declarations: [FoldersComponent, FoldersDirective], exports: [FoldersComponent, FoldersDirective] }); })();\n    return FoldersModule;\n}());\n\nexport { FoldersComponent, FoldersDirective, FoldersModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar GeneratePdfComponent = /** @class */ (function () {\n    function GeneratePdfComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], GeneratePdfComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], GeneratePdfComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], GeneratePdfComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], GeneratePdfComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], GeneratePdfComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], GeneratePdfComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], GeneratePdfComponent.prototype, \"size\", void 0);\nGeneratePdfComponent.ɵfac = function GeneratePdfComponent_Factory(t) { return new (t || GeneratePdfComponent)(); };\nGeneratePdfComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: GeneratePdfComponent, selectors: [[\"ibm-icon-generate-pdf\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconGeneratePdf\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function GeneratePdfComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [GeneratePdfDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(GeneratePdfComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-generate-pdf\",\n                template: \"\\n    <svg\\n      ibmIconGeneratePdf\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return GeneratePdfComponent;\n}());\nvar GeneratePdfDirective = /** @class */ (function () {\n    function GeneratePdfDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"GeneratePdf32\", \"filepath\": \"generate-pdf/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M24,24v4H8V24H6v4H6a2,2,0,0,0,2,2H24a2,2,0,0,0,2-2h0V24Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M21 21L19.586 19.586 17 22.172 17 14 15 14 15 22.172 12.414 19.586 11 21 16 26 21 21zM28 4L28 2 22 2 22 12 24 12 24 8 27 8 27 6 24 6 24 4 28 4zM17 12H13V2h4a3.0033 3.0033 0 013 3V9A3.0033 3.0033 0 0117 12zm-2-2h2a1.0011 1.0011 0 001-1V5a1.0011 1.0011 0 00-1-1H15zM9 2H4V12H6V9H9a2.0027 2.0027 0 002-2V4A2.0023 2.0023 0 009 2zM6 7V4H9l.001 3z\" } }], \"name\": \"generate-pdf\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M24,24v4H8V24H6v4H6a2,2,0,0,0,2,2H24a2,2,0,0,0,2-2h0V24Z\\\"></path><path d=\\\"M21 21L19.586 19.586 17 22.172 17 14 15 14 15 22.172 12.414 19.586 11 21 16 26 21 21zM28 4L28 2 22 2 22 12 24 12 24 8 27 8 27 6 24 6 24 4 28 4zM17 12H13V2h4a3.0033 3.0033 0 013 3V9A3.0033 3.0033 0 0117 12zm-2-2h2a1.0011 1.0011 0 001-1V5a1.0011 1.0011 0 00-1-1H15zM9 2H4V12H6V9H9a2.0027 2.0027 0 002-2V4A2.0023 2.0023 0 009 2zM6 7V4H9l.001 3z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"GeneratePdf24\", \"filepath\": \"generate-pdf/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M24,24v4H8V24H6v4H6a2,2,0,0,0,2,2H24a2,2,0,0,0,2-2h0V24Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M21 21L19.586 19.586 17 22.172 17 14 15 14 15 22.172 12.414 19.586 11 21 16 26 21 21zM28 4L28 2 22 2 22 12 24 12 24 8 27 8 27 6 24 6 24 4 28 4zM17 12H13V2h4a3.0033 3.0033 0 013 3V9A3.0033 3.0033 0 0117 12zm-2-2h2a1.0011 1.0011 0 001-1V5a1.0011 1.0011 0 00-1-1H15zM9 2H4V12H6V9H9a2.0027 2.0027 0 002-2V4A2.0023 2.0023 0 009 2zM6 7V4H9l.001 3z\" } }], \"name\": \"generate-pdf\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M24,24v4H8V24H6v4H6a2,2,0,0,0,2,2H24a2,2,0,0,0,2-2h0V24Z\\\"></path><path d=\\\"M21 21L19.586 19.586 17 22.172 17 14 15 14 15 22.172 12.414 19.586 11 21 16 26 21 21zM28 4L28 2 22 2 22 12 24 12 24 8 27 8 27 6 24 6 24 4 28 4zM17 12H13V2h4a3.0033 3.0033 0 013 3V9A3.0033 3.0033 0 0117 12zm-2-2h2a1.0011 1.0011 0 001-1V5a1.0011 1.0011 0 00-1-1H15zM9 2H4V12H6V9H9a2.0027 2.0027 0 002-2V4A2.0023 2.0023 0 009 2zM6 7V4H9l.001 3z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"GeneratePdf20\", \"filepath\": \"generate-pdf/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M24,24v4H8V24H6v4H6a2,2,0,0,0,2,2H24a2,2,0,0,0,2-2h0V24Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M21 21L19.586 19.586 17 22.172 17 14 15 14 15 22.172 12.414 19.586 11 21 16 26 21 21zM28 4L28 2 22 2 22 12 24 12 24 8 27 8 27 6 24 6 24 4 28 4zM17 12H13V2h4a3.0033 3.0033 0 013 3V9A3.0033 3.0033 0 0117 12zm-2-2h2a1.0011 1.0011 0 001-1V5a1.0011 1.0011 0 00-1-1H15zM9 2H4V12H6V9H9a2.0027 2.0027 0 002-2V4A2.0023 2.0023 0 009 2zM6 7V4H9l.001 3z\" } }], \"name\": \"generate-pdf\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M24,24v4H8V24H6v4H6a2,2,0,0,0,2,2H24a2,2,0,0,0,2-2h0V24Z\\\"></path><path d=\\\"M21 21L19.586 19.586 17 22.172 17 14 15 14 15 22.172 12.414 19.586 11 21 16 26 21 21zM28 4L28 2 22 2 22 12 24 12 24 8 27 8 27 6 24 6 24 4 28 4zM17 12H13V2h4a3.0033 3.0033 0 013 3V9A3.0033 3.0033 0 0117 12zm-2-2h2a1.0011 1.0011 0 001-1V5a1.0011 1.0011 0 00-1-1H15zM9 2H4V12H6V9H9a2.0027 2.0027 0 002-2V4A2.0023 2.0023 0 009 2zM6 7V4H9l.001 3z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"GeneratePdf16\", \"filepath\": \"generate-pdf/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M24,24v4H8V24H6v4H6a2,2,0,0,0,2,2H24a2,2,0,0,0,2-2h0V24Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M21 21L19.586 19.586 17 22.172 17 14 15 14 15 22.172 12.414 19.586 11 21 16 26 21 21zM28 4L28 2 22 2 22 12 24 12 24 8 27 8 27 6 24 6 24 4 28 4zM17 12H13V2h4a3.0033 3.0033 0 013 3V9A3.0033 3.0033 0 0117 12zm-2-2h2a1.0011 1.0011 0 001-1V5a1.0011 1.0011 0 00-1-1H15zM9 2H4V12H6V9H9a2.0027 2.0027 0 002-2V4A2.0023 2.0023 0 009 2zM6 7V4H9l.001 3z\" } }], \"name\": \"generate-pdf\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M24,24v4H8V24H6v4H6a2,2,0,0,0,2,2H24a2,2,0,0,0,2-2h0V24Z\\\"></path><path d=\\\"M21 21L19.586 19.586 17 22.172 17 14 15 14 15 22.172 12.414 19.586 11 21 16 26 21 21zM28 4L28 2 22 2 22 12 24 12 24 8 27 8 27 6 24 6 24 4 28 4zM17 12H13V2h4a3.0033 3.0033 0 013 3V9A3.0033 3.0033 0 0117 12zm-2-2h2a1.0011 1.0011 0 001-1V5a1.0011 1.0011 0 00-1-1H15zM9 2H4V12H6V9H9a2.0027 2.0027 0 002-2V4A2.0023 2.0023 0 009 2zM6 7V4H9l.001 3z\\\"></path></svg>\"\n            },\n        };\n    }\n    GeneratePdfDirective_1 = GeneratePdfDirective;\n    GeneratePdfDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            GeneratePdfDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"generate-pdf-\" + GeneratePdfDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"generate-pdf-\" + GeneratePdfDirective_1.titleIdCounter);\n        }\n    };\n    var GeneratePdfDirective_1;\n    GeneratePdfDirective.titleIdCounter = 0;\n    GeneratePdfDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], GeneratePdfDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], GeneratePdfDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], GeneratePdfDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], GeneratePdfDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], GeneratePdfDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], GeneratePdfDirective.prototype, \"size\", void 0);\n    GeneratePdfDirective = GeneratePdfDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], GeneratePdfDirective);\nGeneratePdfDirective.ɵfac = function GeneratePdfDirective_Factory(t) { return new (t || GeneratePdfDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nGeneratePdfDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: GeneratePdfDirective, selectors: [[\"\", \"ibmIconGeneratePdf\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(GeneratePdfDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconGeneratePdf]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return GeneratePdfDirective;\n}());\nvar GeneratePdfModule = /** @class */ (function () {\n    function GeneratePdfModule() {\n    }\nGeneratePdfModule.ɵfac = function GeneratePdfModule_Factory(t) { return new (t || GeneratePdfModule)(); };\nGeneratePdfModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: GeneratePdfModule });\nGeneratePdfModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(GeneratePdfModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    GeneratePdfComponent,\n                    GeneratePdfDirective,\n                ],\n                exports: [\n                    GeneratePdfComponent,\n                    GeneratePdfDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(GeneratePdfModule, { declarations: [GeneratePdfComponent, GeneratePdfDirective], exports: [GeneratePdfComponent, GeneratePdfDirective] }); })();\n    return GeneratePdfModule;\n}());\n\nexport { GeneratePdfComponent, GeneratePdfDirective, GeneratePdfModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar HelpComponent = /** @class */ (function () {\n    function HelpComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], HelpComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], HelpComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], HelpComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], HelpComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], HelpComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], HelpComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], HelpComponent.prototype, \"size\", void 0);\nHelpComponent.ɵfac = function HelpComponent_Factory(t) { return new (t || HelpComponent)(); };\nHelpComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: HelpComponent, selectors: [[\"ibm-icon-help\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconHelp\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function HelpComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [HelpDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(HelpComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-help\",\n                template: \"\\n    <svg\\n      ibmIconHelp\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return HelpComponent;\n}());\nvar HelpDirective = /** @class */ (function () {\n    function HelpDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"Help32\", \"filepath\": \"help/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,26A12,12,0,1,1,28,16,12,12,0,0,1,16,28Z\" } }, { \"elem\": \"circle\", \"attrs\": { \"cx\": \"16\", \"cy\": \"23.5\", \"r\": \"1.5\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M17,8H15.5A4.49,4.49,0,0,0,11,12.5V13h2v-.5A2.5,2.5,0,0,1,15.5,10H17a2.5,2.5,0,0,1,0,5H15v4.5h2V17a4.5,4.5,0,0,0,0-9Z\" } }], \"name\": \"help\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,26A12,12,0,1,1,28,16,12,12,0,0,1,16,28Z\\\"></path><circle cx=\\\"16\\\" cy=\\\"23.5\\\" r=\\\"1.5\\\"></circle><path d=\\\"M17,8H15.5A4.49,4.49,0,0,0,11,12.5V13h2v-.5A2.5,2.5,0,0,1,15.5,10H17a2.5,2.5,0,0,1,0,5H15v4.5h2V17a4.5,4.5,0,0,0,0-9Z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"Help24\", \"filepath\": \"help/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,26A12,12,0,1,1,28,16,12,12,0,0,1,16,28Z\" } }, { \"elem\": \"circle\", \"attrs\": { \"cx\": \"16\", \"cy\": \"23.5\", \"r\": \"1.5\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M17,8H15.5A4.49,4.49,0,0,0,11,12.5V13h2v-.5A2.5,2.5,0,0,1,15.5,10H17a2.5,2.5,0,0,1,0,5H15v4.5h2V17a4.5,4.5,0,0,0,0-9Z\" } }], \"name\": \"help\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,26A12,12,0,1,1,28,16,12,12,0,0,1,16,28Z\\\"></path><circle cx=\\\"16\\\" cy=\\\"23.5\\\" r=\\\"1.5\\\"></circle><path d=\\\"M17,8H15.5A4.49,4.49,0,0,0,11,12.5V13h2v-.5A2.5,2.5,0,0,1,15.5,10H17a2.5,2.5,0,0,1,0,5H15v4.5h2V17a4.5,4.5,0,0,0,0-9Z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"Help20\", \"filepath\": \"help/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,26A12,12,0,1,1,28,16,12,12,0,0,1,16,28Z\" } }, { \"elem\": \"circle\", \"attrs\": { \"cx\": \"16\", \"cy\": \"23.5\", \"r\": \"1.5\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M17,8H15.5A4.49,4.49,0,0,0,11,12.5V13h2v-.5A2.5,2.5,0,0,1,15.5,10H17a2.5,2.5,0,0,1,0,5H15v4.5h2V17a4.5,4.5,0,0,0,0-9Z\" } }], \"name\": \"help\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,26A12,12,0,1,1,28,16,12,12,0,0,1,16,28Z\\\"></path><circle cx=\\\"16\\\" cy=\\\"23.5\\\" r=\\\"1.5\\\"></circle><path d=\\\"M17,8H15.5A4.49,4.49,0,0,0,11,12.5V13h2v-.5A2.5,2.5,0,0,1,15.5,10H17a2.5,2.5,0,0,1,0,5H15v4.5h2V17a4.5,4.5,0,0,0,0-9Z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"Help16\", \"filepath\": \"help/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 16 16\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M8,14c-3.3,0-6-2.7-6-6s2.7-6,6-6s6,2.7,6,6S11.3,14,8,14z\" } }, { \"elem\": \"circle\", \"attrs\": { \"cx\": \"8\", \"cy\": \"11.8\", \"r\": \".8\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M8.5,4H7.8C6.5,4,5.5,5,5.5,6.2c0,0,0,0,0,0v0.2h1V6.2C6.5,5.6,7.1,5,7.8,5h0.8c0.7,0,1.2,0.6,1.2,1.2S9.2,7.5,8.5,7.5h-1\\tv2.2h1V8.5c1.2,0,2.2-1,2.2-2.2S9.7,4,8.5,4z\" } }], \"name\": \"help\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\" aria-hidden=\\\"true\\\"><path d=\\\"M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M8,14c-3.3,0-6-2.7-6-6s2.7-6,6-6s6,2.7,6,6S11.3,14,8,14z\\\"></path><circle cx=\\\"8\\\" cy=\\\"11.8\\\" r=\\\".8\\\"></circle><path d=\\\"M8.5,4H7.8C6.5,4,5.5,5,5.5,6.2c0,0,0,0,0,0v0.2h1V6.2C6.5,5.6,7.1,5,7.8,5h0.8c0.7,0,1.2,0.6,1.2,1.2S9.2,7.5,8.5,7.5h-1\\tv2.2h1V8.5c1.2,0,2.2-1,2.2-2.2S9.7,4,8.5,4z\\\"></path></svg>\"\n            },\n        };\n    }\n    HelpDirective_1 = HelpDirective;\n    HelpDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            HelpDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"help-\" + HelpDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"help-\" + HelpDirective_1.titleIdCounter);\n        }\n    };\n    var HelpDirective_1;\n    HelpDirective.titleIdCounter = 0;\n    HelpDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], HelpDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], HelpDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], HelpDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], HelpDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], HelpDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], HelpDirective.prototype, \"size\", void 0);\n    HelpDirective = HelpDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], HelpDirective);\nHelpDirective.ɵfac = function HelpDirective_Factory(t) { return new (t || HelpDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nHelpDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: HelpDirective, selectors: [[\"\", \"ibmIconHelp\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(HelpDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconHelp]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return HelpDirective;\n}());\nvar HelpModule = /** @class */ (function () {\n    function HelpModule() {\n    }\nHelpModule.ɵfac = function HelpModule_Factory(t) { return new (t || HelpModule)(); };\nHelpModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: HelpModule });\nHelpModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(HelpModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    HelpComponent,\n                    HelpDirective,\n                ],\n                exports: [\n                    HelpComponent,\n                    HelpDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(HelpModule, { declarations: [HelpComponent, HelpDirective], exports: [HelpComponent, HelpDirective] }); })();\n    return HelpModule;\n}());\n\nexport { HelpComponent, HelpDirective, HelpModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar HomeComponent = /** @class */ (function () {\n    function HomeComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], HomeComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], HomeComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], HomeComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], HomeComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], HomeComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], HomeComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], HomeComponent.prototype, \"size\", void 0);\nHomeComponent.ɵfac = function HomeComponent_Factory(t) { return new (t || HomeComponent)(); };\nHomeComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: HomeComponent, selectors: [[\"ibm-icon-home\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconHome\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function HomeComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [HomeDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(HomeComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-home\",\n                template: \"\\n    <svg\\n      ibmIconHome\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return HomeComponent;\n}());\nvar HomeDirective = /** @class */ (function () {\n    function HomeDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"Home32\", \"filepath\": \"home/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M16.61,2.21a1,1,0,0,0-1.24,0L1,13.42,2.24,15,4,13.62V26a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2V13.63L29.76,15,31,13.43ZM18,26H14V18h4Zm2,0h0V18a2,2,0,0,0-2-2H14a2,2,0,0,0-2,2v8H6V12.06L16,4.27l10,7.8V26Z\" } }], \"name\": \"home\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M16.61,2.21a1,1,0,0,0-1.24,0L1,13.42,2.24,15,4,13.62V26a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2V13.63L29.76,15,31,13.43ZM18,26H14V18h4Zm2,0h0V18a2,2,0,0,0-2-2H14a2,2,0,0,0-2,2v8H6V12.06L16,4.27l10,7.8V26Z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"Home24\", \"filepath\": \"home/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M16.61,2.21a1,1,0,0,0-1.24,0L1,13.42,2.24,15,4,13.62V26a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2V13.63L29.76,15,31,13.43ZM18,26H14V18h4Zm2,0h0V18a2,2,0,0,0-2-2H14a2,2,0,0,0-2,2v8H6V12.06L16,4.27l10,7.8V26Z\" } }], \"name\": \"home\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M16.61,2.21a1,1,0,0,0-1.24,0L1,13.42,2.24,15,4,13.62V26a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2V13.63L29.76,15,31,13.43ZM18,26H14V18h4Zm2,0h0V18a2,2,0,0,0-2-2H14a2,2,0,0,0-2,2v8H6V12.06L16,4.27l10,7.8V26Z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"Home20\", \"filepath\": \"home/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M16.61,2.21a1,1,0,0,0-1.24,0L1,13.42,2.24,15,4,13.62V26a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2V13.63L29.76,15,31,13.43ZM18,26H14V18h4Zm2,0h0V18a2,2,0,0,0-2-2H14a2,2,0,0,0-2,2v8H6V12.06L16,4.27l10,7.8V26Z\" } }], \"name\": \"home\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M16.61,2.21a1,1,0,0,0-1.24,0L1,13.42,2.24,15,4,13.62V26a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2V13.63L29.76,15,31,13.43ZM18,26H14V18h4Zm2,0h0V18a2,2,0,0,0-2-2H14a2,2,0,0,0-2,2v8H6V12.06L16,4.27l10,7.8V26Z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"Home16\", \"filepath\": \"home/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M16.61,2.21a1,1,0,0,0-1.24,0L1,13.42,2.24,15,4,13.62V26a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2V13.63L29.76,15,31,13.43ZM18,26H14V18h4Zm2,0h0V18a2,2,0,0,0-2-2H14a2,2,0,0,0-2,2v8H6V12.06L16,4.27l10,7.8V26Z\" } }], \"name\": \"home\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M16.61,2.21a1,1,0,0,0-1.24,0L1,13.42,2.24,15,4,13.62V26a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2V13.63L29.76,15,31,13.43ZM18,26H14V18h4Zm2,0h0V18a2,2,0,0,0-2-2H14a2,2,0,0,0-2,2v8H6V12.06L16,4.27l10,7.8V26Z\\\"></path></svg>\"\n            },\n        };\n    }\n    HomeDirective_1 = HomeDirective;\n    HomeDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            HomeDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"home-\" + HomeDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"home-\" + HomeDirective_1.titleIdCounter);\n        }\n    };\n    var HomeDirective_1;\n    HomeDirective.titleIdCounter = 0;\n    HomeDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], HomeDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], HomeDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], HomeDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], HomeDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], HomeDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], HomeDirective.prototype, \"size\", void 0);\n    HomeDirective = HomeDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], HomeDirective);\nHomeDirective.ɵfac = function HomeDirective_Factory(t) { return new (t || HomeDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nHomeDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: HomeDirective, selectors: [[\"\", \"ibmIconHome\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(HomeDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconHome]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return HomeDirective;\n}());\nvar HomeModule = /** @class */ (function () {\n    function HomeModule() {\n    }\nHomeModule.ɵfac = function HomeModule_Factory(t) { return new (t || HomeModule)(); };\nHomeModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: HomeModule });\nHomeModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(HomeModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    HomeComponent,\n                    HomeDirective,\n                ],\n                exports: [\n                    HomeComponent,\n                    HomeDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(HomeModule, { declarations: [HomeComponent, HomeDirective], exports: [HomeComponent, HomeDirective] }); })();\n    return HomeModule;\n}());\n\nexport { HomeComponent, HomeDirective, HomeModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar IdeaComponent = /** @class */ (function () {\n    function IdeaComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], IdeaComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], IdeaComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], IdeaComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], IdeaComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], IdeaComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], IdeaComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], IdeaComponent.prototype, \"size\", void 0);\nIdeaComponent.ɵfac = function IdeaComponent_Factory(t) { return new (t || IdeaComponent)(); };\nIdeaComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: IdeaComponent, selectors: [[\"ibm-icon-idea\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconIdea\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function IdeaComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [IdeaDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(IdeaComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-idea\",\n                template: \"\\n    <svg\\n      ibmIconIdea\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return IdeaComponent;\n}());\nvar IdeaDirective = /** @class */ (function () {\n    function IdeaDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"Idea32\", \"filepath\": \"idea/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M11 24H21V26H11zM13 28H19V30H13zM16 2A10 10 0 006 12a9.19 9.19 0 003.46 7.62c1 .93 1.54 1.46 1.54 2.38h2c0-1.84-1.11-2.87-2.19-3.86A7.2 7.2 0 018 12a8 8 0 0116 0 7.2 7.2 0 01-2.82 6.14c-1.07 1-2.18 2-2.18 3.86h2c0-.92.53-1.45 1.54-2.39A9.18 9.18 0 0026 12 10 10 0 0016 2z\" } }], \"name\": \"idea\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M11 24H21V26H11zM13 28H19V30H13zM16 2A10 10 0 006 12a9.19 9.19 0 003.46 7.62c1 .93 1.54 1.46 1.54 2.38h2c0-1.84-1.11-2.87-2.19-3.86A7.2 7.2 0 018 12a8 8 0 0116 0 7.2 7.2 0 01-2.82 6.14c-1.07 1-2.18 2-2.18 3.86h2c0-.92.53-1.45 1.54-2.39A9.18 9.18 0 0026 12 10 10 0 0016 2z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"Idea24\", \"filepath\": \"idea/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M11 24H21V26H11zM13 28H19V30H13zM16 2A10 10 0 006 12a9.19 9.19 0 003.46 7.62c1 .93 1.54 1.46 1.54 2.38h2c0-1.84-1.11-2.87-2.19-3.86A7.2 7.2 0 018 12a8 8 0 0116 0 7.2 7.2 0 01-2.82 6.14c-1.07 1-2.18 2-2.18 3.86h2c0-.92.53-1.45 1.54-2.39A9.18 9.18 0 0026 12 10 10 0 0016 2z\" } }], \"name\": \"idea\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M11 24H21V26H11zM13 28H19V30H13zM16 2A10 10 0 006 12a9.19 9.19 0 003.46 7.62c1 .93 1.54 1.46 1.54 2.38h2c0-1.84-1.11-2.87-2.19-3.86A7.2 7.2 0 018 12a8 8 0 0116 0 7.2 7.2 0 01-2.82 6.14c-1.07 1-2.18 2-2.18 3.86h2c0-.92.53-1.45 1.54-2.39A9.18 9.18 0 0026 12 10 10 0 0016 2z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"Idea20\", \"filepath\": \"idea/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M11 24H21V26H11zM13 28H19V30H13zM16 2A10 10 0 006 12a9.19 9.19 0 003.46 7.62c1 .93 1.54 1.46 1.54 2.38h2c0-1.84-1.11-2.87-2.19-3.86A7.2 7.2 0 018 12a8 8 0 0116 0 7.2 7.2 0 01-2.82 6.14c-1.07 1-2.18 2-2.18 3.86h2c0-.92.53-1.45 1.54-2.39A9.18 9.18 0 0026 12 10 10 0 0016 2z\" } }], \"name\": \"idea\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M11 24H21V26H11zM13 28H19V30H13zM16 2A10 10 0 006 12a9.19 9.19 0 003.46 7.62c1 .93 1.54 1.46 1.54 2.38h2c0-1.84-1.11-2.87-2.19-3.86A7.2 7.2 0 018 12a8 8 0 0116 0 7.2 7.2 0 01-2.82 6.14c-1.07 1-2.18 2-2.18 3.86h2c0-.92.53-1.45 1.54-2.39A9.18 9.18 0 0026 12 10 10 0 0016 2z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"Idea16\", \"filepath\": \"idea/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M11 24H21V26H11zM13 28H19V30H13zM16 2A10 10 0 006 12a9.19 9.19 0 003.46 7.62c1 .93 1.54 1.46 1.54 2.38h2c0-1.84-1.11-2.87-2.19-3.86A7.2 7.2 0 018 12a8 8 0 0116 0 7.2 7.2 0 01-2.82 6.14c-1.07 1-2.18 2-2.18 3.86h2c0-.92.53-1.45 1.54-2.39A9.18 9.18 0 0026 12 10 10 0 0016 2z\" } }], \"name\": \"idea\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M11 24H21V26H11zM13 28H19V30H13zM16 2A10 10 0 006 12a9.19 9.19 0 003.46 7.62c1 .93 1.54 1.46 1.54 2.38h2c0-1.84-1.11-2.87-2.19-3.86A7.2 7.2 0 018 12a8 8 0 0116 0 7.2 7.2 0 01-2.82 6.14c-1.07 1-2.18 2-2.18 3.86h2c0-.92.53-1.45 1.54-2.39A9.18 9.18 0 0026 12 10 10 0 0016 2z\\\"></path></svg>\"\n            },\n        };\n    }\n    IdeaDirective_1 = IdeaDirective;\n    IdeaDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            IdeaDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"idea-\" + IdeaDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"idea-\" + IdeaDirective_1.titleIdCounter);\n        }\n    };\n    var IdeaDirective_1;\n    IdeaDirective.titleIdCounter = 0;\n    IdeaDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], IdeaDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], IdeaDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], IdeaDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], IdeaDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], IdeaDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], IdeaDirective.prototype, \"size\", void 0);\n    IdeaDirective = IdeaDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], IdeaDirective);\nIdeaDirective.ɵfac = function IdeaDirective_Factory(t) { return new (t || IdeaDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nIdeaDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: IdeaDirective, selectors: [[\"\", \"ibmIconIdea\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(IdeaDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconIdea]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return IdeaDirective;\n}());\nvar IdeaModule = /** @class */ (function () {\n    function IdeaModule() {\n    }\nIdeaModule.ɵfac = function IdeaModule_Factory(t) { return new (t || IdeaModule)(); };\nIdeaModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: IdeaModule });\nIdeaModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(IdeaModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    IdeaComponent,\n                    IdeaDirective,\n                ],\n                exports: [\n                    IdeaComponent,\n                    IdeaDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(IdeaModule, { declarations: [IdeaComponent, IdeaDirective], exports: [IdeaComponent, IdeaDirective] }); })();\n    return IdeaModule;\n}());\n\nexport { IdeaComponent, IdeaDirective, IdeaModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar ImageComponent = /** @class */ (function () {\n    function ImageComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ImageComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ImageComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], ImageComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ImageComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], ImageComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ImageComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ImageComponent.prototype, \"size\", void 0);\nImageComponent.ɵfac = function ImageComponent_Factory(t) { return new (t || ImageComponent)(); };\nImageComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: ImageComponent, selectors: [[\"ibm-icon-image\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconImage\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function ImageComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [ImageDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ImageComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-image\",\n                template: \"\\n    <svg\\n      ibmIconImage\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return ImageComponent;\n}());\nvar ImageDirective = /** @class */ (function () {\n    function ImageDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"Image32\", \"filepath\": \"image/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M19,14a3,3,0,1,0-3-3A3,3,0,0,0,19,14Zm0-4a1,1,0,1,1-1,1A1,1,0,0,1,19,10Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M26,4H6A2,2,0,0,0,4,6V26a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2V6A2,2,0,0,0,26,4Zm0,22H6V20l5-5,5.59,5.59a2,2,0,0,0,2.82,0L21,19l5,5Zm0-4.83-3.59-3.59a2,2,0,0,0-2.82,0L18,19.17l-5.59-5.59a2,2,0,0,0-2.82,0L6,17.17V6H26Z\" } }], \"name\": \"image\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M19,14a3,3,0,1,0-3-3A3,3,0,0,0,19,14Zm0-4a1,1,0,1,1-1,1A1,1,0,0,1,19,10Z\\\"></path><path d=\\\"M26,4H6A2,2,0,0,0,4,6V26a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2V6A2,2,0,0,0,26,4Zm0,22H6V20l5-5,5.59,5.59a2,2,0,0,0,2.82,0L21,19l5,5Zm0-4.83-3.59-3.59a2,2,0,0,0-2.82,0L18,19.17l-5.59-5.59a2,2,0,0,0-2.82,0L6,17.17V6H26Z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"Image24\", \"filepath\": \"image/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M19,14a3,3,0,1,0-3-3A3,3,0,0,0,19,14Zm0-4a1,1,0,1,1-1,1A1,1,0,0,1,19,10Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M26,4H6A2,2,0,0,0,4,6V26a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2V6A2,2,0,0,0,26,4Zm0,22H6V20l5-5,5.59,5.59a2,2,0,0,0,2.82,0L21,19l5,5Zm0-4.83-3.59-3.59a2,2,0,0,0-2.82,0L18,19.17l-5.59-5.59a2,2,0,0,0-2.82,0L6,17.17V6H26Z\" } }], \"name\": \"image\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M19,14a3,3,0,1,0-3-3A3,3,0,0,0,19,14Zm0-4a1,1,0,1,1-1,1A1,1,0,0,1,19,10Z\\\"></path><path d=\\\"M26,4H6A2,2,0,0,0,4,6V26a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2V6A2,2,0,0,0,26,4Zm0,22H6V20l5-5,5.59,5.59a2,2,0,0,0,2.82,0L21,19l5,5Zm0-4.83-3.59-3.59a2,2,0,0,0-2.82,0L18,19.17l-5.59-5.59a2,2,0,0,0-2.82,0L6,17.17V6H26Z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"Image20\", \"filepath\": \"image/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M19,14a3,3,0,1,0-3-3A3,3,0,0,0,19,14Zm0-4a1,1,0,1,1-1,1A1,1,0,0,1,19,10Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M26,4H6A2,2,0,0,0,4,6V26a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2V6A2,2,0,0,0,26,4Zm0,22H6V20l5-5,5.59,5.59a2,2,0,0,0,2.82,0L21,19l5,5Zm0-4.83-3.59-3.59a2,2,0,0,0-2.82,0L18,19.17l-5.59-5.59a2,2,0,0,0-2.82,0L6,17.17V6H26Z\" } }], \"name\": \"image\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M19,14a3,3,0,1,0-3-3A3,3,0,0,0,19,14Zm0-4a1,1,0,1,1-1,1A1,1,0,0,1,19,10Z\\\"></path><path d=\\\"M26,4H6A2,2,0,0,0,4,6V26a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2V6A2,2,0,0,0,26,4Zm0,22H6V20l5-5,5.59,5.59a2,2,0,0,0,2.82,0L21,19l5,5Zm0-4.83-3.59-3.59a2,2,0,0,0-2.82,0L18,19.17l-5.59-5.59a2,2,0,0,0-2.82,0L6,17.17V6H26Z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"Image16\", \"filepath\": \"image/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M19,14a3,3,0,1,0-3-3A3,3,0,0,0,19,14Zm0-4a1,1,0,1,1-1,1A1,1,0,0,1,19,10Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M26,4H6A2,2,0,0,0,4,6V26a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2V6A2,2,0,0,0,26,4Zm0,22H6V20l5-5,5.59,5.59a2,2,0,0,0,2.82,0L21,19l5,5Zm0-4.83-3.59-3.59a2,2,0,0,0-2.82,0L18,19.17l-5.59-5.59a2,2,0,0,0-2.82,0L6,17.17V6H26Z\" } }], \"name\": \"image\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M19,14a3,3,0,1,0-3-3A3,3,0,0,0,19,14Zm0-4a1,1,0,1,1-1,1A1,1,0,0,1,19,10Z\\\"></path><path d=\\\"M26,4H6A2,2,0,0,0,4,6V26a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2V6A2,2,0,0,0,26,4Zm0,22H6V20l5-5,5.59,5.59a2,2,0,0,0,2.82,0L21,19l5,5Zm0-4.83-3.59-3.59a2,2,0,0,0-2.82,0L18,19.17l-5.59-5.59a2,2,0,0,0-2.82,0L6,17.17V6H26Z\\\"></path></svg>\"\n            },\n        };\n    }\n    ImageDirective_1 = ImageDirective;\n    ImageDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            ImageDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"image-\" + ImageDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"image-\" + ImageDirective_1.titleIdCounter);\n        }\n    };\n    var ImageDirective_1;\n    ImageDirective.titleIdCounter = 0;\n    ImageDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ImageDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ImageDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], ImageDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ImageDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], ImageDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ImageDirective.prototype, \"size\", void 0);\n    ImageDirective = ImageDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], ImageDirective);\nImageDirective.ɵfac = function ImageDirective_Factory(t) { return new (t || ImageDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nImageDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: ImageDirective, selectors: [[\"\", \"ibmIconImage\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ImageDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconImage]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return ImageDirective;\n}());\nvar ImageModule = /** @class */ (function () {\n    function ImageModule() {\n    }\nImageModule.ɵfac = function ImageModule_Factory(t) { return new (t || ImageModule)(); };\nImageModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: ImageModule });\nImageModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ImageModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    ImageComponent,\n                    ImageDirective,\n                ],\n                exports: [\n                    ImageComponent,\n                    ImageDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(ImageModule, { declarations: [ImageComponent, ImageDirective], exports: [ImageComponent, ImageDirective] }); })();\n    return ImageModule;\n}());\n\nexport { ImageComponent, ImageDirective, ImageModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar InProgressErrorComponent = /** @class */ (function () {\n    function InProgressErrorComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], InProgressErrorComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], InProgressErrorComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], InProgressErrorComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], InProgressErrorComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], InProgressErrorComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], InProgressErrorComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], InProgressErrorComponent.prototype, \"size\", void 0);\nInProgressErrorComponent.ɵfac = function InProgressErrorComponent_Factory(t) { return new (t || InProgressErrorComponent)(); };\nInProgressErrorComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: InProgressErrorComponent, selectors: [[\"ibm-icon-in-progress-error\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconInProgressError\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function InProgressErrorComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [InProgressErrorDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(InProgressErrorComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-in-progress-error\",\n                template: \"\\n    <svg\\n      ibmIconInProgressError\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return InProgressErrorComponent;\n}());\nvar InProgressErrorDirective = /** @class */ (function () {\n    function InProgressErrorDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"InProgressError32\", \"filepath\": \"in-progress--error/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M30,24a6,6,0,1,0-6,6A6.0066,6.0066,0,0,0,30,24Zm-2,0a3.9521,3.9521,0,0,1-.5669,2.019L21.981,20.5669A3.9529,3.9529,0,0,1,24,20,4.0045,4.0045,0,0,1,28,24Zm-8,0a3.9521,3.9521,0,0,1,.5669-2.019l5.4521,5.4521A3.9529,3.9529,0,0,1,24,28,4.0045,4.0045,0,0,1,20,24Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M14,2a12,12,0,1,0,2,23.8193v-2.021A10,10,0,1,1,14,4V14l4.343,4.3433A7.9751,7.9751,0,0,1,24,16h1.8193A11.93,11.93,0,0,0,14,2Z\" } }], \"name\": \"in-progress--error\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M30,24a6,6,0,1,0-6,6A6.0066,6.0066,0,0,0,30,24Zm-2,0a3.9521,3.9521,0,0,1-.5669,2.019L21.981,20.5669A3.9529,3.9529,0,0,1,24,20,4.0045,4.0045,0,0,1,28,24Zm-8,0a3.9521,3.9521,0,0,1,.5669-2.019l5.4521,5.4521A3.9529,3.9529,0,0,1,24,28,4.0045,4.0045,0,0,1,20,24Z\\\"></path><path d=\\\"M14,2a12,12,0,1,0,2,23.8193v-2.021A10,10,0,1,1,14,4V14l4.343,4.3433A7.9751,7.9751,0,0,1,24,16h1.8193A11.93,11.93,0,0,0,14,2Z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"InProgressError24\", \"filepath\": \"in-progress--error/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M30,24a6,6,0,1,0-6,6A6.0066,6.0066,0,0,0,30,24Zm-2,0a3.9521,3.9521,0,0,1-.5669,2.019L21.981,20.5669A3.9529,3.9529,0,0,1,24,20,4.0045,4.0045,0,0,1,28,24Zm-8,0a3.9521,3.9521,0,0,1,.5669-2.019l5.4521,5.4521A3.9529,3.9529,0,0,1,24,28,4.0045,4.0045,0,0,1,20,24Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M14,2a12,12,0,1,0,2,23.8193v-2.021A10,10,0,1,1,14,4V14l4.343,4.3433A7.9751,7.9751,0,0,1,24,16h1.8193A11.93,11.93,0,0,0,14,2Z\" } }], \"name\": \"in-progress--error\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M30,24a6,6,0,1,0-6,6A6.0066,6.0066,0,0,0,30,24Zm-2,0a3.9521,3.9521,0,0,1-.5669,2.019L21.981,20.5669A3.9529,3.9529,0,0,1,24,20,4.0045,4.0045,0,0,1,28,24Zm-8,0a3.9521,3.9521,0,0,1,.5669-2.019l5.4521,5.4521A3.9529,3.9529,0,0,1,24,28,4.0045,4.0045,0,0,1,20,24Z\\\"></path><path d=\\\"M14,2a12,12,0,1,0,2,23.8193v-2.021A10,10,0,1,1,14,4V14l4.343,4.3433A7.9751,7.9751,0,0,1,24,16h1.8193A11.93,11.93,0,0,0,14,2Z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"InProgressError20\", \"filepath\": \"in-progress--error/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M30,24a6,6,0,1,0-6,6A6.0066,6.0066,0,0,0,30,24Zm-2,0a3.9521,3.9521,0,0,1-.5669,2.019L21.981,20.5669A3.9529,3.9529,0,0,1,24,20,4.0045,4.0045,0,0,1,28,24Zm-8,0a3.9521,3.9521,0,0,1,.5669-2.019l5.4521,5.4521A3.9529,3.9529,0,0,1,24,28,4.0045,4.0045,0,0,1,20,24Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M14,2a12,12,0,1,0,2,23.8193v-2.021A10,10,0,1,1,14,4V14l4.343,4.3433A7.9751,7.9751,0,0,1,24,16h1.8193A11.93,11.93,0,0,0,14,2Z\" } }], \"name\": \"in-progress--error\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M30,24a6,6,0,1,0-6,6A6.0066,6.0066,0,0,0,30,24Zm-2,0a3.9521,3.9521,0,0,1-.5669,2.019L21.981,20.5669A3.9529,3.9529,0,0,1,24,20,4.0045,4.0045,0,0,1,28,24Zm-8,0a3.9521,3.9521,0,0,1,.5669-2.019l5.4521,5.4521A3.9529,3.9529,0,0,1,24,28,4.0045,4.0045,0,0,1,20,24Z\\\"></path><path d=\\\"M14,2a12,12,0,1,0,2,23.8193v-2.021A10,10,0,1,1,14,4V14l4.343,4.3433A7.9751,7.9751,0,0,1,24,16h1.8193A11.93,11.93,0,0,0,14,2Z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"InProgressError16\", \"filepath\": \"in-progress--error/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M30,24a6,6,0,1,0-6,6A6.0066,6.0066,0,0,0,30,24Zm-2,0a3.9521,3.9521,0,0,1-.5669,2.019L21.981,20.5669A3.9529,3.9529,0,0,1,24,20,4.0045,4.0045,0,0,1,28,24Zm-8,0a3.9521,3.9521,0,0,1,.5669-2.019l5.4521,5.4521A3.9529,3.9529,0,0,1,24,28,4.0045,4.0045,0,0,1,20,24Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M14,2a12,12,0,1,0,2,23.8193v-2.021A10,10,0,1,1,14,4V14l4.343,4.3433A7.9751,7.9751,0,0,1,24,16h1.8193A11.93,11.93,0,0,0,14,2Z\" } }], \"name\": \"in-progress--error\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M30,24a6,6,0,1,0-6,6A6.0066,6.0066,0,0,0,30,24Zm-2,0a3.9521,3.9521,0,0,1-.5669,2.019L21.981,20.5669A3.9529,3.9529,0,0,1,24,20,4.0045,4.0045,0,0,1,28,24Zm-8,0a3.9521,3.9521,0,0,1,.5669-2.019l5.4521,5.4521A3.9529,3.9529,0,0,1,24,28,4.0045,4.0045,0,0,1,20,24Z\\\"></path><path d=\\\"M14,2a12,12,0,1,0,2,23.8193v-2.021A10,10,0,1,1,14,4V14l4.343,4.3433A7.9751,7.9751,0,0,1,24,16h1.8193A11.93,11.93,0,0,0,14,2Z\\\"></path></svg>\"\n            },\n        };\n    }\n    InProgressErrorDirective_1 = InProgressErrorDirective;\n    InProgressErrorDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            InProgressErrorDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"in-progress-error-\" + InProgressErrorDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"in-progress-error-\" + InProgressErrorDirective_1.titleIdCounter);\n        }\n    };\n    var InProgressErrorDirective_1;\n    InProgressErrorDirective.titleIdCounter = 0;\n    InProgressErrorDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], InProgressErrorDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], InProgressErrorDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], InProgressErrorDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], InProgressErrorDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], InProgressErrorDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], InProgressErrorDirective.prototype, \"size\", void 0);\n    InProgressErrorDirective = InProgressErrorDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], InProgressErrorDirective);\nInProgressErrorDirective.ɵfac = function InProgressErrorDirective_Factory(t) { return new (t || InProgressErrorDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nInProgressErrorDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: InProgressErrorDirective, selectors: [[\"\", \"ibmIconInProgressError\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(InProgressErrorDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconInProgressError]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return InProgressErrorDirective;\n}());\nvar InProgressErrorModule = /** @class */ (function () {\n    function InProgressErrorModule() {\n    }\nInProgressErrorModule.ɵfac = function InProgressErrorModule_Factory(t) { return new (t || InProgressErrorModule)(); };\nInProgressErrorModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: InProgressErrorModule });\nInProgressErrorModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(InProgressErrorModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    InProgressErrorComponent,\n                    InProgressErrorDirective,\n                ],\n                exports: [\n                    InProgressErrorComponent,\n                    InProgressErrorDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(InProgressErrorModule, { declarations: [InProgressErrorComponent, InProgressErrorDirective], exports: [InProgressErrorComponent, InProgressErrorDirective] }); })();\n    return InProgressErrorModule;\n}());\n\nexport { InProgressErrorComponent, InProgressErrorDirective, InProgressErrorModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar InProgressWarningComponent = /** @class */ (function () {\n    function InProgressWarningComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], InProgressWarningComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], InProgressWarningComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], InProgressWarningComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], InProgressWarningComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], InProgressWarningComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], InProgressWarningComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], InProgressWarningComponent.prototype, \"size\", void 0);\nInProgressWarningComponent.ɵfac = function InProgressWarningComponent_Factory(t) { return new (t || InProgressWarningComponent)(); };\nInProgressWarningComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: InProgressWarningComponent, selectors: [[\"ibm-icon-in-progress-warning\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconInProgressWarning\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function InProgressWarningComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [InProgressWarningDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(InProgressWarningComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-in-progress-warning\",\n                template: \"\\n    <svg\\n      ibmIconInProgressWarning\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return InProgressWarningComponent;\n}());\nvar InProgressWarningDirective = /** @class */ (function () {\n    function InProgressWarningDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"InProgressWarning32\", \"filepath\": \"in-progress--warning/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M27.38,28H20.6178L24,21.2358ZM24,18a1,1,0,0,0-.8947.5527l-5,10A1.0005,1.0005,0,0,0,19,30H29a1,1,0,0,0,.9214-1.3892L24.8946,18.5527A1,1,0,0,0,24,18Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M18.746,22.7993A9.999,9.999,0,1,1,14,4V14l6.0971,6.0972,1.22-2.44A2.9849,2.9849,0,0,1,24,16h1.8193A11.993,11.993,0,1,0,14,26a11.9337,11.9337,0,0,0,3.3939-.4966Z\" } }], \"name\": \"in-progress--warning\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M27.38,28H20.6178L24,21.2358ZM24,18a1,1,0,0,0-.8947.5527l-5,10A1.0005,1.0005,0,0,0,19,30H29a1,1,0,0,0,.9214-1.3892L24.8946,18.5527A1,1,0,0,0,24,18Z\\\"></path><path d=\\\"M18.746,22.7993A9.999,9.999,0,1,1,14,4V14l6.0971,6.0972,1.22-2.44A2.9849,2.9849,0,0,1,24,16h1.8193A11.993,11.993,0,1,0,14,26a11.9337,11.9337,0,0,0,3.3939-.4966Z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"InProgressWarning24\", \"filepath\": \"in-progress--warning/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M27.38,28H20.6178L24,21.2358ZM24,18a1,1,0,0,0-.8947.5527l-5,10A1.0005,1.0005,0,0,0,19,30H29a1,1,0,0,0,.9214-1.3892L24.8946,18.5527A1,1,0,0,0,24,18Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M18.746,22.7993A9.999,9.999,0,1,1,14,4V14l6.0971,6.0972,1.22-2.44A2.9849,2.9849,0,0,1,24,16h1.8193A11.993,11.993,0,1,0,14,26a11.9337,11.9337,0,0,0,3.3939-.4966Z\" } }], \"name\": \"in-progress--warning\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M27.38,28H20.6178L24,21.2358ZM24,18a1,1,0,0,0-.8947.5527l-5,10A1.0005,1.0005,0,0,0,19,30H29a1,1,0,0,0,.9214-1.3892L24.8946,18.5527A1,1,0,0,0,24,18Z\\\"></path><path d=\\\"M18.746,22.7993A9.999,9.999,0,1,1,14,4V14l6.0971,6.0972,1.22-2.44A2.9849,2.9849,0,0,1,24,16h1.8193A11.993,11.993,0,1,0,14,26a11.9337,11.9337,0,0,0,3.3939-.4966Z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"InProgressWarning20\", \"filepath\": \"in-progress--warning/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M27.38,28H20.6178L24,21.2358ZM24,18a1,1,0,0,0-.8947.5527l-5,10A1.0005,1.0005,0,0,0,19,30H29a1,1,0,0,0,.9214-1.3892L24.8946,18.5527A1,1,0,0,0,24,18Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M18.746,22.7993A9.999,9.999,0,1,1,14,4V14l6.0971,6.0972,1.22-2.44A2.9849,2.9849,0,0,1,24,16h1.8193A11.993,11.993,0,1,0,14,26a11.9337,11.9337,0,0,0,3.3939-.4966Z\" } }], \"name\": \"in-progress--warning\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M27.38,28H20.6178L24,21.2358ZM24,18a1,1,0,0,0-.8947.5527l-5,10A1.0005,1.0005,0,0,0,19,30H29a1,1,0,0,0,.9214-1.3892L24.8946,18.5527A1,1,0,0,0,24,18Z\\\"></path><path d=\\\"M18.746,22.7993A9.999,9.999,0,1,1,14,4V14l6.0971,6.0972,1.22-2.44A2.9849,2.9849,0,0,1,24,16h1.8193A11.993,11.993,0,1,0,14,26a11.9337,11.9337,0,0,0,3.3939-.4966Z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"InProgressWarning16\", \"filepath\": \"in-progress--warning/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M27.38,28H20.6178L24,21.2358ZM24,18a1,1,0,0,0-.8947.5527l-5,10A1.0005,1.0005,0,0,0,19,30H29a1,1,0,0,0,.9214-1.3892L24.8946,18.5527A1,1,0,0,0,24,18Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M18.746,22.7993A9.999,9.999,0,1,1,14,4V14l6.0971,6.0972,1.22-2.44A2.9849,2.9849,0,0,1,24,16h1.8193A11.993,11.993,0,1,0,14,26a11.9337,11.9337,0,0,0,3.3939-.4966Z\" } }], \"name\": \"in-progress--warning\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M27.38,28H20.6178L24,21.2358ZM24,18a1,1,0,0,0-.8947.5527l-5,10A1.0005,1.0005,0,0,0,19,30H29a1,1,0,0,0,.9214-1.3892L24.8946,18.5527A1,1,0,0,0,24,18Z\\\"></path><path d=\\\"M18.746,22.7993A9.999,9.999,0,1,1,14,4V14l6.0971,6.0972,1.22-2.44A2.9849,2.9849,0,0,1,24,16h1.8193A11.993,11.993,0,1,0,14,26a11.9337,11.9337,0,0,0,3.3939-.4966Z\\\"></path></svg>\"\n            },\n        };\n    }\n    InProgressWarningDirective_1 = InProgressWarningDirective;\n    InProgressWarningDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            InProgressWarningDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"in-progress-warning-\" + InProgressWarningDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"in-progress-warning-\" + InProgressWarningDirective_1.titleIdCounter);\n        }\n    };\n    var InProgressWarningDirective_1;\n    InProgressWarningDirective.titleIdCounter = 0;\n    InProgressWarningDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], InProgressWarningDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], InProgressWarningDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], InProgressWarningDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], InProgressWarningDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], InProgressWarningDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], InProgressWarningDirective.prototype, \"size\", void 0);\n    InProgressWarningDirective = InProgressWarningDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], InProgressWarningDirective);\nInProgressWarningDirective.ɵfac = function InProgressWarningDirective_Factory(t) { return new (t || InProgressWarningDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nInProgressWarningDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: InProgressWarningDirective, selectors: [[\"\", \"ibmIconInProgressWarning\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(InProgressWarningDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconInProgressWarning]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return InProgressWarningDirective;\n}());\nvar InProgressWarningModule = /** @class */ (function () {\n    function InProgressWarningModule() {\n    }\nInProgressWarningModule.ɵfac = function InProgressWarningModule_Factory(t) { return new (t || InProgressWarningModule)(); };\nInProgressWarningModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: InProgressWarningModule });\nInProgressWarningModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(InProgressWarningModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    InProgressWarningComponent,\n                    InProgressWarningDirective,\n                ],\n                exports: [\n                    InProgressWarningComponent,\n                    InProgressWarningDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(InProgressWarningModule, { declarations: [InProgressWarningComponent, InProgressWarningDirective], exports: [InProgressWarningComponent, InProgressWarningDirective] }); })();\n    return InProgressWarningModule;\n}());\n\nexport { InProgressWarningComponent, InProgressWarningDirective, InProgressWarningModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar InProgressComponent = /** @class */ (function () {\n    function InProgressComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], InProgressComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], InProgressComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], InProgressComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], InProgressComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], InProgressComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], InProgressComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], InProgressComponent.prototype, \"size\", void 0);\nInProgressComponent.ɵfac = function InProgressComponent_Factory(t) { return new (t || InProgressComponent)(); };\nInProgressComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: InProgressComponent, selectors: [[\"ibm-icon-in-progress\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconInProgress\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function InProgressComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [InProgressDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(InProgressComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-in-progress\",\n                template: \"\\n    <svg\\n      ibmIconInProgress\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return InProgressComponent;\n}());\nvar InProgressDirective = /** @class */ (function () {\n    function InProgressDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"InProgress32\", \"filepath\": \"in-progress/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M16,2A14,14,0,1,0,30,16,14.0158,14.0158,0,0,0,16,2Zm0,26A12,12,0,0,1,16,4V16l8.4812,8.4814A11.9625,11.9625,0,0,1,16,28Z\" } }], \"name\": \"in-progress\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M16,2A14,14,0,1,0,30,16,14.0158,14.0158,0,0,0,16,2Zm0,26A12,12,0,0,1,16,4V16l8.4812,8.4814A11.9625,11.9625,0,0,1,16,28Z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"InProgress24\", \"filepath\": \"in-progress/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M16,2A14,14,0,1,0,30,16,14.0158,14.0158,0,0,0,16,2Zm0,26A12,12,0,0,1,16,4V16l8.4812,8.4814A11.9625,11.9625,0,0,1,16,28Z\" } }], \"name\": \"in-progress\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M16,2A14,14,0,1,0,30,16,14.0158,14.0158,0,0,0,16,2Zm0,26A12,12,0,0,1,16,4V16l8.4812,8.4814A11.9625,11.9625,0,0,1,16,28Z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"InProgress20\", \"filepath\": \"in-progress/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M16,2A14,14,0,1,0,30,16,14.0158,14.0158,0,0,0,16,2Zm0,26A12,12,0,0,1,16,4V16l8.4812,8.4814A11.9625,11.9625,0,0,1,16,28Z\" } }], \"name\": \"in-progress\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M16,2A14,14,0,1,0,30,16,14.0158,14.0158,0,0,0,16,2Zm0,26A12,12,0,0,1,16,4V16l8.4812,8.4814A11.9625,11.9625,0,0,1,16,28Z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"InProgress16\", \"filepath\": \"in-progress/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M16,2A14,14,0,1,0,30,16,14.0158,14.0158,0,0,0,16,2Zm0,26A12,12,0,0,1,16,4V16l8.4812,8.4814A11.9625,11.9625,0,0,1,16,28Z\" } }], \"name\": \"in-progress\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M16,2A14,14,0,1,0,30,16,14.0158,14.0158,0,0,0,16,2Zm0,26A12,12,0,0,1,16,4V16l8.4812,8.4814A11.9625,11.9625,0,0,1,16,28Z\\\"></path></svg>\"\n            },\n        };\n    }\n    InProgressDirective_1 = InProgressDirective;\n    InProgressDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            InProgressDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"in-progress-\" + InProgressDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"in-progress-\" + InProgressDirective_1.titleIdCounter);\n        }\n    };\n    var InProgressDirective_1;\n    InProgressDirective.titleIdCounter = 0;\n    InProgressDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], InProgressDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], InProgressDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], InProgressDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], InProgressDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], InProgressDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], InProgressDirective.prototype, \"size\", void 0);\n    InProgressDirective = InProgressDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], InProgressDirective);\nInProgressDirective.ɵfac = function InProgressDirective_Factory(t) { return new (t || InProgressDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nInProgressDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: InProgressDirective, selectors: [[\"\", \"ibmIconInProgress\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(InProgressDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconInProgress]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return InProgressDirective;\n}());\nvar InProgressModule = /** @class */ (function () {\n    function InProgressModule() {\n    }\nInProgressModule.ɵfac = function InProgressModule_Factory(t) { return new (t || InProgressModule)(); };\nInProgressModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: InProgressModule });\nInProgressModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(InProgressModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    InProgressComponent,\n                    InProgressDirective,\n                ],\n                exports: [\n                    InProgressComponent,\n                    InProgressDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(InProgressModule, { declarations: [InProgressComponent, InProgressDirective], exports: [InProgressComponent, InProgressDirective] }); })();\n    return InProgressModule;\n}());\n\nexport { InProgressComponent, InProgressDirective, InProgressModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar InformationFilledComponent = /** @class */ (function () {\n    function InformationFilledComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], InformationFilledComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], InformationFilledComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], InformationFilledComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], InformationFilledComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], InformationFilledComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], InformationFilledComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], InformationFilledComponent.prototype, \"size\", void 0);\nInformationFilledComponent.ɵfac = function InformationFilledComponent_Factory(t) { return new (t || InformationFilledComponent)(); };\nInformationFilledComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: InformationFilledComponent, selectors: [[\"ibm-icon-information-filled\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconInformationFilled\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function InformationFilledComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [InformationFilledDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(InformationFilledComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-information-filled\",\n                template: \"\\n    <svg\\n      ibmIconInformationFilled\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return InformationFilledComponent;\n}());\nvar InformationFilledDirective = /** @class */ (function () {\n    function InformationFilledDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"InformationFilled32\", \"filepath\": \"information--filled/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,5a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,16,7Zm4,17.125h-8v-2.25h2.875v-6.75h-1.875v-2.25h4.125v9h2.875Z\" } }, { \"elem\": \"path\", \"attrs\": { \"fill\": \"none\", \"d\": \"M16,7a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,16,7Zm4,17.125h-8v-2.25h2.875v-6.75h-1.875v-2.25h4.125v9h2.875Z\", \"data-icon-path\": \"inner-path\" } }], \"name\": \"information--filled\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,5a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,16,7Zm4,17.125h-8v-2.25h2.875v-6.75h-1.875v-2.25h4.125v9h2.875Z\\\"></path><path fill=\\\"none\\\" d=\\\"M16,7a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,16,7Zm4,17.125h-8v-2.25h2.875v-6.75h-1.875v-2.25h4.125v9h2.875Z\\\" data-icon-path=\\\"inner-path\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"InformationFilled24\", \"filepath\": \"information--filled/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,5a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,16,7Zm4,17.125h-8v-2.25h2.875v-6.75h-1.875v-2.25h4.125v9h2.875Z\" } }, { \"elem\": \"path\", \"attrs\": { \"fill\": \"none\", \"d\": \"M16,7a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,16,7Zm4,17.125h-8v-2.25h2.875v-6.75h-1.875v-2.25h4.125v9h2.875Z\", \"data-icon-path\": \"inner-path\" } }], \"name\": \"information--filled\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,5a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,16,7Zm4,17.125h-8v-2.25h2.875v-6.75h-1.875v-2.25h4.125v9h2.875Z\\\"></path><path fill=\\\"none\\\" d=\\\"M16,7a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,16,7Zm4,17.125h-8v-2.25h2.875v-6.75h-1.875v-2.25h4.125v9h2.875Z\\\" data-icon-path=\\\"inner-path\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"InformationFilled20\", \"filepath\": \"information--filled/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,5a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,16,7Zm4,17.125h-8v-2.25h2.875v-6.75h-1.875v-2.25h4.125v9h2.875Z\" } }, { \"elem\": \"path\", \"attrs\": { \"fill\": \"none\", \"d\": \"M16,7a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,16,7Zm4,17.125h-8v-2.25h2.875v-6.75h-1.875v-2.25h4.125v9h2.875Z\", \"data-icon-path\": \"inner-path\" } }], \"name\": \"information--filled\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,5a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,16,7Zm4,17.125h-8v-2.25h2.875v-6.75h-1.875v-2.25h4.125v9h2.875Z\\\"></path><path fill=\\\"none\\\" d=\\\"M16,7a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,16,7Zm4,17.125h-8v-2.25h2.875v-6.75h-1.875v-2.25h4.125v9h2.875Z\\\" data-icon-path=\\\"inner-path\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"InformationFilled16\", \"filepath\": \"information--filled/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,5a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,16,7Zm4,17.125h-8v-2.25h2.875v-6.75h-1.875v-2.25h4.125v9h2.875Z\" } }, { \"elem\": \"path\", \"attrs\": { \"fill\": \"none\", \"d\": \"M16,7a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,16,7Zm4,17.125h-8v-2.25h2.875v-6.75h-1.875v-2.25h4.125v9h2.875Z\", \"data-icon-path\": \"inner-path\" } }], \"name\": \"information--filled\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,5a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,16,7Zm4,17.125h-8v-2.25h2.875v-6.75h-1.875v-2.25h4.125v9h2.875Z\\\"></path><path fill=\\\"none\\\" d=\\\"M16,7a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,16,7Zm4,17.125h-8v-2.25h2.875v-6.75h-1.875v-2.25h4.125v9h2.875Z\\\" data-icon-path=\\\"inner-path\\\"></path></svg>\"\n            },\n        };\n    }\n    InformationFilledDirective_1 = InformationFilledDirective;\n    InformationFilledDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            InformationFilledDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"information-filled-\" + InformationFilledDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"information-filled-\" + InformationFilledDirective_1.titleIdCounter);\n        }\n    };\n    var InformationFilledDirective_1;\n    InformationFilledDirective.titleIdCounter = 0;\n    InformationFilledDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], InformationFilledDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], InformationFilledDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], InformationFilledDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], InformationFilledDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], InformationFilledDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], InformationFilledDirective.prototype, \"size\", void 0);\n    InformationFilledDirective = InformationFilledDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], InformationFilledDirective);\nInformationFilledDirective.ɵfac = function InformationFilledDirective_Factory(t) { return new (t || InformationFilledDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nInformationFilledDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: InformationFilledDirective, selectors: [[\"\", \"ibmIconInformationFilled\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(InformationFilledDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconInformationFilled]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return InformationFilledDirective;\n}());\nvar InformationFilledModule = /** @class */ (function () {\n    function InformationFilledModule() {\n    }\nInformationFilledModule.ɵfac = function InformationFilledModule_Factory(t) { return new (t || InformationFilledModule)(); };\nInformationFilledModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: InformationFilledModule });\nInformationFilledModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(InformationFilledModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    InformationFilledComponent,\n                    InformationFilledDirective,\n                ],\n                exports: [\n                    InformationFilledComponent,\n                    InformationFilledDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(InformationFilledModule, { declarations: [InformationFilledComponent, InformationFilledDirective], exports: [InformationFilledComponent, InformationFilledDirective] }); })();\n    return InformationFilledModule;\n}());\n\nexport { InformationFilledComponent, InformationFilledDirective, InformationFilledModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar InformationComponent = /** @class */ (function () {\n    function InformationComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], InformationComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], InformationComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], InformationComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], InformationComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], InformationComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], InformationComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], InformationComponent.prototype, \"size\", void 0);\nInformationComponent.ɵfac = function InformationComponent_Factory(t) { return new (t || InformationComponent)(); };\nInformationComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: InformationComponent, selectors: [[\"ibm-icon-information\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconInformation\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function InformationComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [InformationDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(InformationComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-information\",\n                template: \"\\n    <svg\\n      ibmIconInformation\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return InformationComponent;\n}());\nvar InformationDirective = /** @class */ (function () {\n    function InformationDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"Information32\", \"filepath\": \"information/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M17 22L17 13 13 13 13 15 15 15 15 22 12 22 12 24 20 24 20 22 17 22zM16 7a1.5 1.5 0 101.5 1.5A1.5 1.5 0 0016 7z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M16,30A14,14,0,1,1,30,16,14,14,0,0,1,16,30ZM16,4A12,12,0,1,0,28,16,12,12,0,0,0,16,4Z\" } }], \"name\": \"information\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M17 22L17 13 13 13 13 15 15 15 15 22 12 22 12 24 20 24 20 22 17 22zM16 7a1.5 1.5 0 101.5 1.5A1.5 1.5 0 0016 7z\\\"></path><path d=\\\"M16,30A14,14,0,1,1,30,16,14,14,0,0,1,16,30ZM16,4A12,12,0,1,0,28,16,12,12,0,0,0,16,4Z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"Information24\", \"filepath\": \"information/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M17 22L17 13 13 13 13 15 15 15 15 22 12 22 12 24 20 24 20 22 17 22zM16 7a1.5 1.5 0 101.5 1.5A1.5 1.5 0 0016 7z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M16,30A14,14,0,1,1,30,16,14,14,0,0,1,16,30ZM16,4A12,12,0,1,0,28,16,12,12,0,0,0,16,4Z\" } }], \"name\": \"information\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M17 22L17 13 13 13 13 15 15 15 15 22 12 22 12 24 20 24 20 22 17 22zM16 7a1.5 1.5 0 101.5 1.5A1.5 1.5 0 0016 7z\\\"></path><path d=\\\"M16,30A14,14,0,1,1,30,16,14,14,0,0,1,16,30ZM16,4A12,12,0,1,0,28,16,12,12,0,0,0,16,4Z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"Information20\", \"filepath\": \"information/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M17 22L17 13 13 13 13 15 15 15 15 22 12 22 12 24 20 24 20 22 17 22zM16 7a1.5 1.5 0 101.5 1.5A1.5 1.5 0 0016 7z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M16,30A14,14,0,1,1,30,16,14,14,0,0,1,16,30ZM16,4A12,12,0,1,0,28,16,12,12,0,0,0,16,4Z\" } }], \"name\": \"information\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M17 22L17 13 13 13 13 15 15 15 15 22 12 22 12 24 20 24 20 22 17 22zM16 7a1.5 1.5 0 101.5 1.5A1.5 1.5 0 0016 7z\\\"></path><path d=\\\"M16,30A14,14,0,1,1,30,16,14,14,0,0,1,16,30ZM16,4A12,12,0,1,0,28,16,12,12,0,0,0,16,4Z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"Information16\", \"filepath\": \"information/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 16 16\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M8.5 11L8.5 6.5 6.5 6.5 6.5 7.5 7.5 7.5 7.5 11 6 11 6 12 10 12 10 11zM8 3.5c-.4 0-.8.3-.8.8S7.6 5 8 5c.4 0 .8-.3.8-.8S8.4 3.5 8 3.5z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M8,15c-3.9,0-7-3.1-7-7s3.1-7,7-7s7,3.1,7,7S11.9,15,8,15z M8,2C4.7,2,2,4.7,2,8s2.7,6,6,6s6-2.7,6-6S11.3,2,8,2z\" } }], \"name\": \"information\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\" aria-hidden=\\\"true\\\"><path d=\\\"M8.5 11L8.5 6.5 6.5 6.5 6.5 7.5 7.5 7.5 7.5 11 6 11 6 12 10 12 10 11zM8 3.5c-.4 0-.8.3-.8.8S7.6 5 8 5c.4 0 .8-.3.8-.8S8.4 3.5 8 3.5z\\\"></path><path d=\\\"M8,15c-3.9,0-7-3.1-7-7s3.1-7,7-7s7,3.1,7,7S11.9,15,8,15z M8,2C4.7,2,2,4.7,2,8s2.7,6,6,6s6-2.7,6-6S11.3,2,8,2z\\\"></path></svg>\"\n            },\n        };\n    }\n    InformationDirective_1 = InformationDirective;\n    InformationDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            InformationDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"information-\" + InformationDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"information-\" + InformationDirective_1.titleIdCounter);\n        }\n    };\n    var InformationDirective_1;\n    InformationDirective.titleIdCounter = 0;\n    InformationDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], InformationDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], InformationDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], InformationDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], InformationDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], InformationDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], InformationDirective.prototype, \"size\", void 0);\n    InformationDirective = InformationDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], InformationDirective);\nInformationDirective.ɵfac = function InformationDirective_Factory(t) { return new (t || InformationDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nInformationDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: InformationDirective, selectors: [[\"\", \"ibmIconInformation\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(InformationDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconInformation]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return InformationDirective;\n}());\nvar InformationModule = /** @class */ (function () {\n    function InformationModule() {\n    }\nInformationModule.ɵfac = function InformationModule_Factory(t) { return new (t || InformationModule)(); };\nInformationModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: InformationModule });\nInformationModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(InformationModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    InformationComponent,\n                    InformationDirective,\n                ],\n                exports: [\n                    InformationComponent,\n                    InformationDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(InformationModule, { declarations: [InformationComponent, InformationDirective], exports: [InformationComponent, InformationDirective] }); })();\n    return InformationModule;\n}());\n\nexport { InformationComponent, InformationDirective, InformationModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar LaunchComponent = /** @class */ (function () {\n    function LaunchComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], LaunchComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], LaunchComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], LaunchComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], LaunchComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], LaunchComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], LaunchComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], LaunchComponent.prototype, \"size\", void 0);\nLaunchComponent.ɵfac = function LaunchComponent_Factory(t) { return new (t || LaunchComponent)(); };\nLaunchComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: LaunchComponent, selectors: [[\"ibm-icon-launch\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconLaunch\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function LaunchComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [LaunchDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(LaunchComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-launch\",\n                template: \"\\n    <svg\\n      ibmIconLaunch\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return LaunchComponent;\n}());\nvar LaunchDirective = /** @class */ (function () {\n    function LaunchDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"Launch32\", \"filepath\": \"launch/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M26,28H6a2,2,0,0,1-2-2V6A2,2,0,0,1,6,4h9V6H6V26H26V17h2v9A2,2,0,0,1,26,28Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M21 2L21 4 26.59 4 18 12.59 19.41 14 28 5.41 28 11 30 11 30 2 21 2z\" } }], \"name\": \"launch\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M26,28H6a2,2,0,0,1-2-2V6A2,2,0,0,1,6,4h9V6H6V26H26V17h2v9A2,2,0,0,1,26,28Z\\\"></path><path d=\\\"M21 2L21 4 26.59 4 18 12.59 19.41 14 28 5.41 28 11 30 11 30 2 21 2z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"Launch24\", \"filepath\": \"launch/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M26,28H6a2,2,0,0,1-2-2V6A2,2,0,0,1,6,4h9V6H6V26H26V17h2v9A2,2,0,0,1,26,28Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M21 2L21 4 26.59 4 18 12.59 19.41 14 28 5.41 28 11 30 11 30 2 21 2z\" } }], \"name\": \"launch\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M26,28H6a2,2,0,0,1-2-2V6A2,2,0,0,1,6,4h9V6H6V26H26V17h2v9A2,2,0,0,1,26,28Z\\\"></path><path d=\\\"M21 2L21 4 26.59 4 18 12.59 19.41 14 28 5.41 28 11 30 11 30 2 21 2z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"Launch20\", \"filepath\": \"launch/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M26,28H6a2,2,0,0,1-2-2V6A2,2,0,0,1,6,4h9V6H6V26H26V17h2v9A2,2,0,0,1,26,28Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M21 2L21 4 26.59 4 18 12.59 19.41 14 28 5.41 28 11 30 11 30 2 21 2z\" } }], \"name\": \"launch\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M26,28H6a2,2,0,0,1-2-2V6A2,2,0,0,1,6,4h9V6H6V26H26V17h2v9A2,2,0,0,1,26,28Z\\\"></path><path d=\\\"M21 2L21 4 26.59 4 18 12.59 19.41 14 28 5.41 28 11 30 11 30 2 21 2z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"Launch16\", \"filepath\": \"launch/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 16 16\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M13,14H3c-0.6,0-1-0.4-1-1V3c0-0.6,0.4-1,1-1h5v1H3v10h10V8h1v5C14,13.6,13.6,14,13,14z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M10 1L10 2 13.3 2 9 6.3 9.7 7 14 2.7 14 6 15 6 15 1z\" } }], \"name\": \"launch\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\" aria-hidden=\\\"true\\\"><path d=\\\"M13,14H3c-0.6,0-1-0.4-1-1V3c0-0.6,0.4-1,1-1h5v1H3v10h10V8h1v5C14,13.6,13.6,14,13,14z\\\"></path><path d=\\\"M10 1L10 2 13.3 2 9 6.3 9.7 7 14 2.7 14 6 15 6 15 1z\\\"></path></svg>\"\n            },\n        };\n    }\n    LaunchDirective_1 = LaunchDirective;\n    LaunchDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            LaunchDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"launch-\" + LaunchDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"launch-\" + LaunchDirective_1.titleIdCounter);\n        }\n    };\n    var LaunchDirective_1;\n    LaunchDirective.titleIdCounter = 0;\n    LaunchDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], LaunchDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], LaunchDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], LaunchDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], LaunchDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], LaunchDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], LaunchDirective.prototype, \"size\", void 0);\n    LaunchDirective = LaunchDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], LaunchDirective);\nLaunchDirective.ɵfac = function LaunchDirective_Factory(t) { return new (t || LaunchDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nLaunchDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: LaunchDirective, selectors: [[\"\", \"ibmIconLaunch\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(LaunchDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconLaunch]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return LaunchDirective;\n}());\nvar LaunchModule = /** @class */ (function () {\n    function LaunchModule() {\n    }\nLaunchModule.ɵfac = function LaunchModule_Factory(t) { return new (t || LaunchModule)(); };\nLaunchModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: LaunchModule });\nLaunchModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(LaunchModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    LaunchComponent,\n                    LaunchDirective,\n                ],\n                exports: [\n                    LaunchComponent,\n                    LaunchDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(LaunchModule, { declarations: [LaunchComponent, LaunchDirective], exports: [LaunchComponent, LaunchDirective] }); })();\n    return LaunchModule;\n}());\n\nexport { LaunchComponent, LaunchDirective, LaunchModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar LogoTwitterComponent = /** @class */ (function () {\n    function LogoTwitterComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], LogoTwitterComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], LogoTwitterComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], LogoTwitterComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], LogoTwitterComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], LogoTwitterComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], LogoTwitterComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], LogoTwitterComponent.prototype, \"size\", void 0);\nLogoTwitterComponent.ɵfac = function LogoTwitterComponent_Factory(t) { return new (t || LogoTwitterComponent)(); };\nLogoTwitterComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: LogoTwitterComponent, selectors: [[\"ibm-icon-logo-twitter\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconLogoTwitter\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function LogoTwitterComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [LogoTwitterDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(LogoTwitterComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-logo-twitter\",\n                template: \"\\n    <svg\\n      ibmIconLogoTwitter\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return LogoTwitterComponent;\n}());\nvar LogoTwitterDirective = /** @class */ (function () {\n    function LogoTwitterDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"LogoTwitter32\", \"filepath\": \"logo--twitter/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M11.92,24.94A12.76,12.76,0,0,0,24.76,12.1c0-.2,0-.39,0-.59A9.4,9.4,0,0,0,27,9.18a9.31,9.31,0,0,1-2.59.71,4.56,4.56,0,0,0,2-2.5,8.89,8.89,0,0,1-2.86,1.1,4.52,4.52,0,0,0-7.7,4.11,12.79,12.79,0,0,1-9.3-4.71,4.51,4.51,0,0,0,1.4,6,4.47,4.47,0,0,1-2-.56v.05A4.53,4.53,0,0,0,9.5,17.83a4.53,4.53,0,0,1-2,.08A4.51,4.51,0,0,0,11.68,21,9.05,9.05,0,0,1,6.07,23,9.77,9.77,0,0,1,5,22.91a12.77,12.77,0,0,0,6.92,2\" } }], \"name\": \"logo--twitter\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M11.92,24.94A12.76,12.76,0,0,0,24.76,12.1c0-.2,0-.39,0-.59A9.4,9.4,0,0,0,27,9.18a9.31,9.31,0,0,1-2.59.71,4.56,4.56,0,0,0,2-2.5,8.89,8.89,0,0,1-2.86,1.1,4.52,4.52,0,0,0-7.7,4.11,12.79,12.79,0,0,1-9.3-4.71,4.51,4.51,0,0,0,1.4,6,4.47,4.47,0,0,1-2-.56v.05A4.53,4.53,0,0,0,9.5,17.83a4.53,4.53,0,0,1-2,.08A4.51,4.51,0,0,0,11.68,21,9.05,9.05,0,0,1,6.07,23,9.77,9.77,0,0,1,5,22.91a12.77,12.77,0,0,0,6.92,2\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"LogoTwitter24\", \"filepath\": \"logo--twitter/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M11.92,24.94A12.76,12.76,0,0,0,24.76,12.1c0-.2,0-.39,0-.59A9.4,9.4,0,0,0,27,9.18a9.31,9.31,0,0,1-2.59.71,4.56,4.56,0,0,0,2-2.5,8.89,8.89,0,0,1-2.86,1.1,4.52,4.52,0,0,0-7.7,4.11,12.79,12.79,0,0,1-9.3-4.71,4.51,4.51,0,0,0,1.4,6,4.47,4.47,0,0,1-2-.56v.05A4.53,4.53,0,0,0,9.5,17.83a4.53,4.53,0,0,1-2,.08A4.51,4.51,0,0,0,11.68,21,9.05,9.05,0,0,1,6.07,23,9.77,9.77,0,0,1,5,22.91a12.77,12.77,0,0,0,6.92,2\" } }], \"name\": \"logo--twitter\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M11.92,24.94A12.76,12.76,0,0,0,24.76,12.1c0-.2,0-.39,0-.59A9.4,9.4,0,0,0,27,9.18a9.31,9.31,0,0,1-2.59.71,4.56,4.56,0,0,0,2-2.5,8.89,8.89,0,0,1-2.86,1.1,4.52,4.52,0,0,0-7.7,4.11,12.79,12.79,0,0,1-9.3-4.71,4.51,4.51,0,0,0,1.4,6,4.47,4.47,0,0,1-2-.56v.05A4.53,4.53,0,0,0,9.5,17.83a4.53,4.53,0,0,1-2,.08A4.51,4.51,0,0,0,11.68,21,9.05,9.05,0,0,1,6.07,23,9.77,9.77,0,0,1,5,22.91a12.77,12.77,0,0,0,6.92,2\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"LogoTwitter20\", \"filepath\": \"logo--twitter/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M11.92,24.94A12.76,12.76,0,0,0,24.76,12.1c0-.2,0-.39,0-.59A9.4,9.4,0,0,0,27,9.18a9.31,9.31,0,0,1-2.59.71,4.56,4.56,0,0,0,2-2.5,8.89,8.89,0,0,1-2.86,1.1,4.52,4.52,0,0,0-7.7,4.11,12.79,12.79,0,0,1-9.3-4.71,4.51,4.51,0,0,0,1.4,6,4.47,4.47,0,0,1-2-.56v.05A4.53,4.53,0,0,0,9.5,17.83a4.53,4.53,0,0,1-2,.08A4.51,4.51,0,0,0,11.68,21,9.05,9.05,0,0,1,6.07,23,9.77,9.77,0,0,1,5,22.91a12.77,12.77,0,0,0,6.92,2\" } }], \"name\": \"logo--twitter\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M11.92,24.94A12.76,12.76,0,0,0,24.76,12.1c0-.2,0-.39,0-.59A9.4,9.4,0,0,0,27,9.18a9.31,9.31,0,0,1-2.59.71,4.56,4.56,0,0,0,2-2.5,8.89,8.89,0,0,1-2.86,1.1,4.52,4.52,0,0,0-7.7,4.11,12.79,12.79,0,0,1-9.3-4.71,4.51,4.51,0,0,0,1.4,6,4.47,4.47,0,0,1-2-.56v.05A4.53,4.53,0,0,0,9.5,17.83a4.53,4.53,0,0,1-2,.08A4.51,4.51,0,0,0,11.68,21,9.05,9.05,0,0,1,6.07,23,9.77,9.77,0,0,1,5,22.91a12.77,12.77,0,0,0,6.92,2\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"LogoTwitter16\", \"filepath\": \"logo--twitter/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M11.92,24.94A12.76,12.76,0,0,0,24.76,12.1c0-.2,0-.39,0-.59A9.4,9.4,0,0,0,27,9.18a9.31,9.31,0,0,1-2.59.71,4.56,4.56,0,0,0,2-2.5,8.89,8.89,0,0,1-2.86,1.1,4.52,4.52,0,0,0-7.7,4.11,12.79,12.79,0,0,1-9.3-4.71,4.51,4.51,0,0,0,1.4,6,4.47,4.47,0,0,1-2-.56v.05A4.53,4.53,0,0,0,9.5,17.83a4.53,4.53,0,0,1-2,.08A4.51,4.51,0,0,0,11.68,21,9.05,9.05,0,0,1,6.07,23,9.77,9.77,0,0,1,5,22.91a12.77,12.77,0,0,0,6.92,2\" } }], \"name\": \"logo--twitter\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M11.92,24.94A12.76,12.76,0,0,0,24.76,12.1c0-.2,0-.39,0-.59A9.4,9.4,0,0,0,27,9.18a9.31,9.31,0,0,1-2.59.71,4.56,4.56,0,0,0,2-2.5,8.89,8.89,0,0,1-2.86,1.1,4.52,4.52,0,0,0-7.7,4.11,12.79,12.79,0,0,1-9.3-4.71,4.51,4.51,0,0,0,1.4,6,4.47,4.47,0,0,1-2-.56v.05A4.53,4.53,0,0,0,9.5,17.83a4.53,4.53,0,0,1-2,.08A4.51,4.51,0,0,0,11.68,21,9.05,9.05,0,0,1,6.07,23,9.77,9.77,0,0,1,5,22.91a12.77,12.77,0,0,0,6.92,2\\\"></path></svg>\"\n            },\n        };\n    }\n    LogoTwitterDirective_1 = LogoTwitterDirective;\n    LogoTwitterDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            LogoTwitterDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"logo-twitter-\" + LogoTwitterDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"logo-twitter-\" + LogoTwitterDirective_1.titleIdCounter);\n        }\n    };\n    var LogoTwitterDirective_1;\n    LogoTwitterDirective.titleIdCounter = 0;\n    LogoTwitterDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], LogoTwitterDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], LogoTwitterDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], LogoTwitterDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], LogoTwitterDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], LogoTwitterDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], LogoTwitterDirective.prototype, \"size\", void 0);\n    LogoTwitterDirective = LogoTwitterDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], LogoTwitterDirective);\nLogoTwitterDirective.ɵfac = function LogoTwitterDirective_Factory(t) { return new (t || LogoTwitterDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nLogoTwitterDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: LogoTwitterDirective, selectors: [[\"\", \"ibmIconLogoTwitter\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(LogoTwitterDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconLogoTwitter]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return LogoTwitterDirective;\n}());\nvar LogoTwitterModule = /** @class */ (function () {\n    function LogoTwitterModule() {\n    }\nLogoTwitterModule.ɵfac = function LogoTwitterModule_Factory(t) { return new (t || LogoTwitterModule)(); };\nLogoTwitterModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: LogoTwitterModule });\nLogoTwitterModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(LogoTwitterModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    LogoTwitterComponent,\n                    LogoTwitterDirective,\n                ],\n                exports: [\n                    LogoTwitterComponent,\n                    LogoTwitterDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(LogoTwitterModule, { declarations: [LogoTwitterComponent, LogoTwitterDirective], exports: [LogoTwitterComponent, LogoTwitterDirective] }); })();\n    return LogoTwitterModule;\n}());\n\nexport { LogoTwitterComponent, LogoTwitterDirective, LogoTwitterModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar MachineLearningModelComponent = /** @class */ (function () {\n    function MachineLearningModelComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], MachineLearningModelComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], MachineLearningModelComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], MachineLearningModelComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], MachineLearningModelComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], MachineLearningModelComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], MachineLearningModelComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], MachineLearningModelComponent.prototype, \"size\", void 0);\nMachineLearningModelComponent.ɵfac = function MachineLearningModelComponent_Factory(t) { return new (t || MachineLearningModelComponent)(); };\nMachineLearningModelComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: MachineLearningModelComponent, selectors: [[\"ibm-icon-machine-learning-model\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconMachineLearningModel\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function MachineLearningModelComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [MachineLearningModelDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(MachineLearningModelComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-machine-learning-model\",\n                template: \"\\n    <svg\\n      ibmIconMachineLearningModel\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return MachineLearningModelComponent;\n}());\nvar MachineLearningModelDirective = /** @class */ (function () {\n    function MachineLearningModelDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"MachineLearningModel32\", \"filepath\": \"machine-learning-model/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M27 24a2.9609 2.9609 0 00-1.2854.3008L21.4141 20H18v2h2.5859l3.7146 3.7148A2.9665 2.9665 0 0024 27a3 3 0 103-3zm0 4a1 1 0 111-1A1.0009 1.0009 0 0127 28zM27 13a2.9948 2.9948 0 00-2.8157 2H18v2h6.1843A2.9947 2.9947 0 1027 13zm0 4a1 1 0 111-1A1.0009 1.0009 0 0127 17zM27 2a3.0033 3.0033 0 00-3 3 2.9657 2.9657 0 00.3481 1.373L20.5957 10H18v2h3.4043l4.3989-4.2524A2.9987 2.9987 0 1027 2zm0 4a1 1 0 111-1A1.0009 1.0009 0 0127 6z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M18,6h2V4H18a3.9756,3.9756,0,0,0-3,1.3823A3.9756,3.9756,0,0,0,12,4H11a9.01,9.01,0,0,0-9,9v6a9.01,9.01,0,0,0,9,9h1a3.9756,3.9756,0,0,0,3-1.3823A3.9756,3.9756,0,0,0,18,28h2V26H18a2.0023,2.0023,0,0,1-2-2V8A2.0023,2.0023,0,0,1,18,6ZM12,26H11a7.0047,7.0047,0,0,1-6.92-6H6V18H4V14H7a3.0033,3.0033,0,0,0,3-3V9H8v2a1.0009,1.0009,0,0,1-1,1H4.08A7.0047,7.0047,0,0,1,11,6h1a2.0023,2.0023,0,0,1,2,2v4H12v2h2v4H12a3.0033,3.0033,0,0,0-3,3v2h2V21a1.0009,1.0009,0,0,1,1-1h2v4A2.0023,2.0023,0,0,1,12,26Z\" } }], \"name\": \"machine-learning-model\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M27 24a2.9609 2.9609 0 00-1.2854.3008L21.4141 20H18v2h2.5859l3.7146 3.7148A2.9665 2.9665 0 0024 27a3 3 0 103-3zm0 4a1 1 0 111-1A1.0009 1.0009 0 0127 28zM27 13a2.9948 2.9948 0 00-2.8157 2H18v2h6.1843A2.9947 2.9947 0 1027 13zm0 4a1 1 0 111-1A1.0009 1.0009 0 0127 17zM27 2a3.0033 3.0033 0 00-3 3 2.9657 2.9657 0 00.3481 1.373L20.5957 10H18v2h3.4043l4.3989-4.2524A2.9987 2.9987 0 1027 2zm0 4a1 1 0 111-1A1.0009 1.0009 0 0127 6z\\\"></path><path d=\\\"M18,6h2V4H18a3.9756,3.9756,0,0,0-3,1.3823A3.9756,3.9756,0,0,0,12,4H11a9.01,9.01,0,0,0-9,9v6a9.01,9.01,0,0,0,9,9h1a3.9756,3.9756,0,0,0,3-1.3823A3.9756,3.9756,0,0,0,18,28h2V26H18a2.0023,2.0023,0,0,1-2-2V8A2.0023,2.0023,0,0,1,18,6ZM12,26H11a7.0047,7.0047,0,0,1-6.92-6H6V18H4V14H7a3.0033,3.0033,0,0,0,3-3V9H8v2a1.0009,1.0009,0,0,1-1,1H4.08A7.0047,7.0047,0,0,1,11,6h1a2.0023,2.0023,0,0,1,2,2v4H12v2h2v4H12a3.0033,3.0033,0,0,0-3,3v2h2V21a1.0009,1.0009,0,0,1,1-1h2v4A2.0023,2.0023,0,0,1,12,26Z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"MachineLearningModel24\", \"filepath\": \"machine-learning-model/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M27 24a2.9609 2.9609 0 00-1.2854.3008L21.4141 20H18v2h2.5859l3.7146 3.7148A2.9665 2.9665 0 0024 27a3 3 0 103-3zm0 4a1 1 0 111-1A1.0009 1.0009 0 0127 28zM27 13a2.9948 2.9948 0 00-2.8157 2H18v2h6.1843A2.9947 2.9947 0 1027 13zm0 4a1 1 0 111-1A1.0009 1.0009 0 0127 17zM27 2a3.0033 3.0033 0 00-3 3 2.9657 2.9657 0 00.3481 1.373L20.5957 10H18v2h3.4043l4.3989-4.2524A2.9987 2.9987 0 1027 2zm0 4a1 1 0 111-1A1.0009 1.0009 0 0127 6z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M18,6h2V4H18a3.9756,3.9756,0,0,0-3,1.3823A3.9756,3.9756,0,0,0,12,4H11a9.01,9.01,0,0,0-9,9v6a9.01,9.01,0,0,0,9,9h1a3.9756,3.9756,0,0,0,3-1.3823A3.9756,3.9756,0,0,0,18,28h2V26H18a2.0023,2.0023,0,0,1-2-2V8A2.0023,2.0023,0,0,1,18,6ZM12,26H11a7.0047,7.0047,0,0,1-6.92-6H6V18H4V14H7a3.0033,3.0033,0,0,0,3-3V9H8v2a1.0009,1.0009,0,0,1-1,1H4.08A7.0047,7.0047,0,0,1,11,6h1a2.0023,2.0023,0,0,1,2,2v4H12v2h2v4H12a3.0033,3.0033,0,0,0-3,3v2h2V21a1.0009,1.0009,0,0,1,1-1h2v4A2.0023,2.0023,0,0,1,12,26Z\" } }], \"name\": \"machine-learning-model\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M27 24a2.9609 2.9609 0 00-1.2854.3008L21.4141 20H18v2h2.5859l3.7146 3.7148A2.9665 2.9665 0 0024 27a3 3 0 103-3zm0 4a1 1 0 111-1A1.0009 1.0009 0 0127 28zM27 13a2.9948 2.9948 0 00-2.8157 2H18v2h6.1843A2.9947 2.9947 0 1027 13zm0 4a1 1 0 111-1A1.0009 1.0009 0 0127 17zM27 2a3.0033 3.0033 0 00-3 3 2.9657 2.9657 0 00.3481 1.373L20.5957 10H18v2h3.4043l4.3989-4.2524A2.9987 2.9987 0 1027 2zm0 4a1 1 0 111-1A1.0009 1.0009 0 0127 6z\\\"></path><path d=\\\"M18,6h2V4H18a3.9756,3.9756,0,0,0-3,1.3823A3.9756,3.9756,0,0,0,12,4H11a9.01,9.01,0,0,0-9,9v6a9.01,9.01,0,0,0,9,9h1a3.9756,3.9756,0,0,0,3-1.3823A3.9756,3.9756,0,0,0,18,28h2V26H18a2.0023,2.0023,0,0,1-2-2V8A2.0023,2.0023,0,0,1,18,6ZM12,26H11a7.0047,7.0047,0,0,1-6.92-6H6V18H4V14H7a3.0033,3.0033,0,0,0,3-3V9H8v2a1.0009,1.0009,0,0,1-1,1H4.08A7.0047,7.0047,0,0,1,11,6h1a2.0023,2.0023,0,0,1,2,2v4H12v2h2v4H12a3.0033,3.0033,0,0,0-3,3v2h2V21a1.0009,1.0009,0,0,1,1-1h2v4A2.0023,2.0023,0,0,1,12,26Z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"MachineLearningModel20\", \"filepath\": \"machine-learning-model/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M27 24a2.9609 2.9609 0 00-1.2854.3008L21.4141 20H18v2h2.5859l3.7146 3.7148A2.9665 2.9665 0 0024 27a3 3 0 103-3zm0 4a1 1 0 111-1A1.0009 1.0009 0 0127 28zM27 13a2.9948 2.9948 0 00-2.8157 2H18v2h6.1843A2.9947 2.9947 0 1027 13zm0 4a1 1 0 111-1A1.0009 1.0009 0 0127 17zM27 2a3.0033 3.0033 0 00-3 3 2.9657 2.9657 0 00.3481 1.373L20.5957 10H18v2h3.4043l4.3989-4.2524A2.9987 2.9987 0 1027 2zm0 4a1 1 0 111-1A1.0009 1.0009 0 0127 6z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M18,6h2V4H18a3.9756,3.9756,0,0,0-3,1.3823A3.9756,3.9756,0,0,0,12,4H11a9.01,9.01,0,0,0-9,9v6a9.01,9.01,0,0,0,9,9h1a3.9756,3.9756,0,0,0,3-1.3823A3.9756,3.9756,0,0,0,18,28h2V26H18a2.0023,2.0023,0,0,1-2-2V8A2.0023,2.0023,0,0,1,18,6ZM12,26H11a7.0047,7.0047,0,0,1-6.92-6H6V18H4V14H7a3.0033,3.0033,0,0,0,3-3V9H8v2a1.0009,1.0009,0,0,1-1,1H4.08A7.0047,7.0047,0,0,1,11,6h1a2.0023,2.0023,0,0,1,2,2v4H12v2h2v4H12a3.0033,3.0033,0,0,0-3,3v2h2V21a1.0009,1.0009,0,0,1,1-1h2v4A2.0023,2.0023,0,0,1,12,26Z\" } }], \"name\": \"machine-learning-model\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M27 24a2.9609 2.9609 0 00-1.2854.3008L21.4141 20H18v2h2.5859l3.7146 3.7148A2.9665 2.9665 0 0024 27a3 3 0 103-3zm0 4a1 1 0 111-1A1.0009 1.0009 0 0127 28zM27 13a2.9948 2.9948 0 00-2.8157 2H18v2h6.1843A2.9947 2.9947 0 1027 13zm0 4a1 1 0 111-1A1.0009 1.0009 0 0127 17zM27 2a3.0033 3.0033 0 00-3 3 2.9657 2.9657 0 00.3481 1.373L20.5957 10H18v2h3.4043l4.3989-4.2524A2.9987 2.9987 0 1027 2zm0 4a1 1 0 111-1A1.0009 1.0009 0 0127 6z\\\"></path><path d=\\\"M18,6h2V4H18a3.9756,3.9756,0,0,0-3,1.3823A3.9756,3.9756,0,0,0,12,4H11a9.01,9.01,0,0,0-9,9v6a9.01,9.01,0,0,0,9,9h1a3.9756,3.9756,0,0,0,3-1.3823A3.9756,3.9756,0,0,0,18,28h2V26H18a2.0023,2.0023,0,0,1-2-2V8A2.0023,2.0023,0,0,1,18,6ZM12,26H11a7.0047,7.0047,0,0,1-6.92-6H6V18H4V14H7a3.0033,3.0033,0,0,0,3-3V9H8v2a1.0009,1.0009,0,0,1-1,1H4.08A7.0047,7.0047,0,0,1,11,6h1a2.0023,2.0023,0,0,1,2,2v4H12v2h2v4H12a3.0033,3.0033,0,0,0-3,3v2h2V21a1.0009,1.0009,0,0,1,1-1h2v4A2.0023,2.0023,0,0,1,12,26Z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"MachineLearningModel16\", \"filepath\": \"machine-learning-model/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M27 24a2.9609 2.9609 0 00-1.2854.3008L21.4141 20H18v2h2.5859l3.7146 3.7148A2.9665 2.9665 0 0024 27a3 3 0 103-3zm0 4a1 1 0 111-1A1.0009 1.0009 0 0127 28zM27 13a2.9948 2.9948 0 00-2.8157 2H18v2h6.1843A2.9947 2.9947 0 1027 13zm0 4a1 1 0 111-1A1.0009 1.0009 0 0127 17zM27 2a3.0033 3.0033 0 00-3 3 2.9657 2.9657 0 00.3481 1.373L20.5957 10H18v2h3.4043l4.3989-4.2524A2.9987 2.9987 0 1027 2zm0 4a1 1 0 111-1A1.0009 1.0009 0 0127 6z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M18,6h2V4H18a3.9756,3.9756,0,0,0-3,1.3823A3.9756,3.9756,0,0,0,12,4H11a9.01,9.01,0,0,0-9,9v6a9.01,9.01,0,0,0,9,9h1a3.9756,3.9756,0,0,0,3-1.3823A3.9756,3.9756,0,0,0,18,28h2V26H18a2.0023,2.0023,0,0,1-2-2V8A2.0023,2.0023,0,0,1,18,6ZM12,26H11a7.0047,7.0047,0,0,1-6.92-6H6V18H4V14H7a3.0033,3.0033,0,0,0,3-3V9H8v2a1.0009,1.0009,0,0,1-1,1H4.08A7.0047,7.0047,0,0,1,11,6h1a2.0023,2.0023,0,0,1,2,2v4H12v2h2v4H12a3.0033,3.0033,0,0,0-3,3v2h2V21a1.0009,1.0009,0,0,1,1-1h2v4A2.0023,2.0023,0,0,1,12,26Z\" } }], \"name\": \"machine-learning-model\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M27 24a2.9609 2.9609 0 00-1.2854.3008L21.4141 20H18v2h2.5859l3.7146 3.7148A2.9665 2.9665 0 0024 27a3 3 0 103-3zm0 4a1 1 0 111-1A1.0009 1.0009 0 0127 28zM27 13a2.9948 2.9948 0 00-2.8157 2H18v2h6.1843A2.9947 2.9947 0 1027 13zm0 4a1 1 0 111-1A1.0009 1.0009 0 0127 17zM27 2a3.0033 3.0033 0 00-3 3 2.9657 2.9657 0 00.3481 1.373L20.5957 10H18v2h3.4043l4.3989-4.2524A2.9987 2.9987 0 1027 2zm0 4a1 1 0 111-1A1.0009 1.0009 0 0127 6z\\\"></path><path d=\\\"M18,6h2V4H18a3.9756,3.9756,0,0,0-3,1.3823A3.9756,3.9756,0,0,0,12,4H11a9.01,9.01,0,0,0-9,9v6a9.01,9.01,0,0,0,9,9h1a3.9756,3.9756,0,0,0,3-1.3823A3.9756,3.9756,0,0,0,18,28h2V26H18a2.0023,2.0023,0,0,1-2-2V8A2.0023,2.0023,0,0,1,18,6ZM12,26H11a7.0047,7.0047,0,0,1-6.92-6H6V18H4V14H7a3.0033,3.0033,0,0,0,3-3V9H8v2a1.0009,1.0009,0,0,1-1,1H4.08A7.0047,7.0047,0,0,1,11,6h1a2.0023,2.0023,0,0,1,2,2v4H12v2h2v4H12a3.0033,3.0033,0,0,0-3,3v2h2V21a1.0009,1.0009,0,0,1,1-1h2v4A2.0023,2.0023,0,0,1,12,26Z\\\"></path></svg>\"\n            },\n        };\n    }\n    MachineLearningModelDirective_1 = MachineLearningModelDirective;\n    MachineLearningModelDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            MachineLearningModelDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"machine-learning-model-\" + MachineLearningModelDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"machine-learning-model-\" + MachineLearningModelDirective_1.titleIdCounter);\n        }\n    };\n    var MachineLearningModelDirective_1;\n    MachineLearningModelDirective.titleIdCounter = 0;\n    MachineLearningModelDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], MachineLearningModelDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], MachineLearningModelDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], MachineLearningModelDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], MachineLearningModelDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], MachineLearningModelDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], MachineLearningModelDirective.prototype, \"size\", void 0);\n    MachineLearningModelDirective = MachineLearningModelDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], MachineLearningModelDirective);\nMachineLearningModelDirective.ɵfac = function MachineLearningModelDirective_Factory(t) { return new (t || MachineLearningModelDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nMachineLearningModelDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: MachineLearningModelDirective, selectors: [[\"\", \"ibmIconMachineLearningModel\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(MachineLearningModelDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconMachineLearningModel]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return MachineLearningModelDirective;\n}());\nvar MachineLearningModelModule = /** @class */ (function () {\n    function MachineLearningModelModule() {\n    }\nMachineLearningModelModule.ɵfac = function MachineLearningModelModule_Factory(t) { return new (t || MachineLearningModelModule)(); };\nMachineLearningModelModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: MachineLearningModelModule });\nMachineLearningModelModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(MachineLearningModelModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    MachineLearningModelComponent,\n                    MachineLearningModelDirective,\n                ],\n                exports: [\n                    MachineLearningModelComponent,\n                    MachineLearningModelDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(MachineLearningModelModule, { declarations: [MachineLearningModelComponent, MachineLearningModelDirective], exports: [MachineLearningModelComponent, MachineLearningModelDirective] }); })();\n    return MachineLearningModelModule;\n}());\n\nexport { MachineLearningModelComponent, MachineLearningModelDirective, MachineLearningModelModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar MigrateComponent = /** @class */ (function () {\n    function MigrateComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], MigrateComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], MigrateComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], MigrateComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], MigrateComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], MigrateComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], MigrateComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], MigrateComponent.prototype, \"size\", void 0);\nMigrateComponent.ɵfac = function MigrateComponent_Factory(t) { return new (t || MigrateComponent)(); };\nMigrateComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: MigrateComponent, selectors: [[\"ibm-icon-migrate\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconMigrate\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function MigrateComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [MigrateDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(MigrateComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-migrate\",\n                template: \"\\n    <svg\\n      ibmIconMigrate\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return MigrateComponent;\n}());\nvar MigrateDirective = /** @class */ (function () {\n    function MigrateDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"Migrate32\", \"filepath\": \"migrate/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M26 2H6A2 2 0 004 4V8a2 2 0 002 2h9v6.17l-2.59-2.58L11 15l5 5 5-5-1.41-1.41L17 16.17V10h9a2 2 0 002-2V4A2 2 0 0026 2zM6 4h4V8H6zM26 8H12V4H26zM26 22H6a2 2 0 00-2 2v4a2 2 0 002 2H26a2 2 0 002-2V24A2 2 0 0026 22zM6 24H20v4H6zm20 4H22V24h4z\" } }], \"name\": \"migrate\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M26 2H6A2 2 0 004 4V8a2 2 0 002 2h9v6.17l-2.59-2.58L11 15l5 5 5-5-1.41-1.41L17 16.17V10h9a2 2 0 002-2V4A2 2 0 0026 2zM6 4h4V8H6zM26 8H12V4H26zM26 22H6a2 2 0 00-2 2v4a2 2 0 002 2H26a2 2 0 002-2V24A2 2 0 0026 22zM6 24H20v4H6zm20 4H22V24h4z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"Migrate24\", \"filepath\": \"migrate/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M26 2H6A2 2 0 004 4V8a2 2 0 002 2h9v6.17l-2.59-2.58L11 15l5 5 5-5-1.41-1.41L17 16.17V10h9a2 2 0 002-2V4A2 2 0 0026 2zM6 4h4V8H6zM26 8H12V4H26zM26 22H6a2 2 0 00-2 2v4a2 2 0 002 2H26a2 2 0 002-2V24A2 2 0 0026 22zM6 24H20v4H6zm20 4H22V24h4z\" } }], \"name\": \"migrate\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M26 2H6A2 2 0 004 4V8a2 2 0 002 2h9v6.17l-2.59-2.58L11 15l5 5 5-5-1.41-1.41L17 16.17V10h9a2 2 0 002-2V4A2 2 0 0026 2zM6 4h4V8H6zM26 8H12V4H26zM26 22H6a2 2 0 00-2 2v4a2 2 0 002 2H26a2 2 0 002-2V24A2 2 0 0026 22zM6 24H20v4H6zm20 4H22V24h4z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"Migrate20\", \"filepath\": \"migrate/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M26 2H6A2 2 0 004 4V8a2 2 0 002 2h9v6.17l-2.59-2.58L11 15l5 5 5-5-1.41-1.41L17 16.17V10h9a2 2 0 002-2V4A2 2 0 0026 2zM6 4h4V8H6zM26 8H12V4H26zM26 22H6a2 2 0 00-2 2v4a2 2 0 002 2H26a2 2 0 002-2V24A2 2 0 0026 22zM6 24H20v4H6zm20 4H22V24h4z\" } }], \"name\": \"migrate\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M26 2H6A2 2 0 004 4V8a2 2 0 002 2h9v6.17l-2.59-2.58L11 15l5 5 5-5-1.41-1.41L17 16.17V10h9a2 2 0 002-2V4A2 2 0 0026 2zM6 4h4V8H6zM26 8H12V4H26zM26 22H6a2 2 0 00-2 2v4a2 2 0 002 2H26a2 2 0 002-2V24A2 2 0 0026 22zM6 24H20v4H6zm20 4H22V24h4z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"Migrate16\", \"filepath\": \"migrate/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M26 2H6A2 2 0 004 4V8a2 2 0 002 2h9v6.17l-2.59-2.58L11 15l5 5 5-5-1.41-1.41L17 16.17V10h9a2 2 0 002-2V4A2 2 0 0026 2zM6 4h4V8H6zM26 8H12V4H26zM26 22H6a2 2 0 00-2 2v4a2 2 0 002 2H26a2 2 0 002-2V24A2 2 0 0026 22zM6 24H20v4H6zm20 4H22V24h4z\" } }], \"name\": \"migrate\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M26 2H6A2 2 0 004 4V8a2 2 0 002 2h9v6.17l-2.59-2.58L11 15l5 5 5-5-1.41-1.41L17 16.17V10h9a2 2 0 002-2V4A2 2 0 0026 2zM6 4h4V8H6zM26 8H12V4H26zM26 22H6a2 2 0 00-2 2v4a2 2 0 002 2H26a2 2 0 002-2V24A2 2 0 0026 22zM6 24H20v4H6zm20 4H22V24h4z\\\"></path></svg>\"\n            },\n        };\n    }\n    MigrateDirective_1 = MigrateDirective;\n    MigrateDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            MigrateDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"migrate-\" + MigrateDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"migrate-\" + MigrateDirective_1.titleIdCounter);\n        }\n    };\n    var MigrateDirective_1;\n    MigrateDirective.titleIdCounter = 0;\n    MigrateDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], MigrateDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], MigrateDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], MigrateDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], MigrateDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], MigrateDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], MigrateDirective.prototype, \"size\", void 0);\n    MigrateDirective = MigrateDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], MigrateDirective);\nMigrateDirective.ɵfac = function MigrateDirective_Factory(t) { return new (t || MigrateDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nMigrateDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: MigrateDirective, selectors: [[\"\", \"ibmIconMigrate\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(MigrateDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconMigrate]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return MigrateDirective;\n}());\nvar MigrateModule = /** @class */ (function () {\n    function MigrateModule() {\n    }\nMigrateModule.ɵfac = function MigrateModule_Factory(t) { return new (t || MigrateModule)(); };\nMigrateModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: MigrateModule });\nMigrateModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(MigrateModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    MigrateComponent,\n                    MigrateDirective,\n                ],\n                exports: [\n                    MigrateComponent,\n                    MigrateDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(MigrateModule, { declarations: [MigrateComponent, MigrateDirective], exports: [MigrateComponent, MigrateDirective] }); })();\n    return MigrateModule;\n}());\n\nexport { MigrateComponent, MigrateDirective, MigrateModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar Network_1Component = /** @class */ (function () {\n    function Network_1Component() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], Network_1Component.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], Network_1Component.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], Network_1Component.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], Network_1Component.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], Network_1Component.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], Network_1Component.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], Network_1Component.prototype, \"size\", void 0);\nNetwork_1Component.ɵfac = function Network_1Component_Factory(t) { return new (t || Network_1Component)(); };\nNetwork_1Component.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: Network_1Component, selectors: [[\"ibm-icon-network-1\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconNetwork_1\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function Network_1Component_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [Network_1Directive]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(Network_1Component, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-network-1\",\n                template: \"\\n    <svg\\n      ibmIconNetwork_1\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return Network_1Component;\n}());\nvar Network_1Directive = /** @class */ (function () {\n    function Network_1Directive(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"Network_132\", \"filepath\": \"network--1/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M16 20a4 4 0 114-4A4.0045 4.0045 0 0116 20zm0-6a2 2 0 102 2A2.0021 2.0021 0 0016 14zM5 20a4 4 0 114-4A4.0045 4.0045 0 015 20zm0-6a2 2 0 102 2A2.0023 2.0023 0 005 14zM10 31a4 4 0 114-4A4.0045 4.0045 0 0110 31zm0-6a2 2 0 102 2A2.0021 2.0021 0 0010 25zM22 31a4 4 0 114-4A4.0045 4.0045 0 0122 31zm0-6a2 2 0 102 2A2.0021 2.0021 0 0022 25zM27 20a4 4 0 114-4A4.0045 4.0045 0 0127 20zm0-6a2 2 0 102 2A2.0021 2.0021 0 0027 14zM22 9a4 4 0 114-4A4.0045 4.0045 0 0122 9zm0-6a2 2 0 102 2A2.0021 2.0021 0 0022 3zM10 9a4 4 0 114-4A4.0045 4.0045 0 0110 9zm0-6a2 2 0 102 2A2.0021 2.0021 0 0010 3z\" } }], \"name\": \"network--1\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M16 20a4 4 0 114-4A4.0045 4.0045 0 0116 20zm0-6a2 2 0 102 2A2.0021 2.0021 0 0016 14zM5 20a4 4 0 114-4A4.0045 4.0045 0 015 20zm0-6a2 2 0 102 2A2.0023 2.0023 0 005 14zM10 31a4 4 0 114-4A4.0045 4.0045 0 0110 31zm0-6a2 2 0 102 2A2.0021 2.0021 0 0010 25zM22 31a4 4 0 114-4A4.0045 4.0045 0 0122 31zm0-6a2 2 0 102 2A2.0021 2.0021 0 0022 25zM27 20a4 4 0 114-4A4.0045 4.0045 0 0127 20zm0-6a2 2 0 102 2A2.0021 2.0021 0 0027 14zM22 9a4 4 0 114-4A4.0045 4.0045 0 0122 9zm0-6a2 2 0 102 2A2.0021 2.0021 0 0022 3zM10 9a4 4 0 114-4A4.0045 4.0045 0 0110 9zm0-6a2 2 0 102 2A2.0021 2.0021 0 0010 3z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"Network_124\", \"filepath\": \"network--1/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M16 20a4 4 0 114-4A4.0045 4.0045 0 0116 20zm0-6a2 2 0 102 2A2.0021 2.0021 0 0016 14zM5 20a4 4 0 114-4A4.0045 4.0045 0 015 20zm0-6a2 2 0 102 2A2.0023 2.0023 0 005 14zM10 31a4 4 0 114-4A4.0045 4.0045 0 0110 31zm0-6a2 2 0 102 2A2.0021 2.0021 0 0010 25zM22 31a4 4 0 114-4A4.0045 4.0045 0 0122 31zm0-6a2 2 0 102 2A2.0021 2.0021 0 0022 25zM27 20a4 4 0 114-4A4.0045 4.0045 0 0127 20zm0-6a2 2 0 102 2A2.0021 2.0021 0 0027 14zM22 9a4 4 0 114-4A4.0045 4.0045 0 0122 9zm0-6a2 2 0 102 2A2.0021 2.0021 0 0022 3zM10 9a4 4 0 114-4A4.0045 4.0045 0 0110 9zm0-6a2 2 0 102 2A2.0021 2.0021 0 0010 3z\" } }], \"name\": \"network--1\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M16 20a4 4 0 114-4A4.0045 4.0045 0 0116 20zm0-6a2 2 0 102 2A2.0021 2.0021 0 0016 14zM5 20a4 4 0 114-4A4.0045 4.0045 0 015 20zm0-6a2 2 0 102 2A2.0023 2.0023 0 005 14zM10 31a4 4 0 114-4A4.0045 4.0045 0 0110 31zm0-6a2 2 0 102 2A2.0021 2.0021 0 0010 25zM22 31a4 4 0 114-4A4.0045 4.0045 0 0122 31zm0-6a2 2 0 102 2A2.0021 2.0021 0 0022 25zM27 20a4 4 0 114-4A4.0045 4.0045 0 0127 20zm0-6a2 2 0 102 2A2.0021 2.0021 0 0027 14zM22 9a4 4 0 114-4A4.0045 4.0045 0 0122 9zm0-6a2 2 0 102 2A2.0021 2.0021 0 0022 3zM10 9a4 4 0 114-4A4.0045 4.0045 0 0110 9zm0-6a2 2 0 102 2A2.0021 2.0021 0 0010 3z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"Network_120\", \"filepath\": \"network--1/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M16 20a4 4 0 114-4A4.0045 4.0045 0 0116 20zm0-6a2 2 0 102 2A2.0021 2.0021 0 0016 14zM5 20a4 4 0 114-4A4.0045 4.0045 0 015 20zm0-6a2 2 0 102 2A2.0023 2.0023 0 005 14zM10 31a4 4 0 114-4A4.0045 4.0045 0 0110 31zm0-6a2 2 0 102 2A2.0021 2.0021 0 0010 25zM22 31a4 4 0 114-4A4.0045 4.0045 0 0122 31zm0-6a2 2 0 102 2A2.0021 2.0021 0 0022 25zM27 20a4 4 0 114-4A4.0045 4.0045 0 0127 20zm0-6a2 2 0 102 2A2.0021 2.0021 0 0027 14zM22 9a4 4 0 114-4A4.0045 4.0045 0 0122 9zm0-6a2 2 0 102 2A2.0021 2.0021 0 0022 3zM10 9a4 4 0 114-4A4.0045 4.0045 0 0110 9zm0-6a2 2 0 102 2A2.0021 2.0021 0 0010 3z\" } }], \"name\": \"network--1\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M16 20a4 4 0 114-4A4.0045 4.0045 0 0116 20zm0-6a2 2 0 102 2A2.0021 2.0021 0 0016 14zM5 20a4 4 0 114-4A4.0045 4.0045 0 015 20zm0-6a2 2 0 102 2A2.0023 2.0023 0 005 14zM10 31a4 4 0 114-4A4.0045 4.0045 0 0110 31zm0-6a2 2 0 102 2A2.0021 2.0021 0 0010 25zM22 31a4 4 0 114-4A4.0045 4.0045 0 0122 31zm0-6a2 2 0 102 2A2.0021 2.0021 0 0022 25zM27 20a4 4 0 114-4A4.0045 4.0045 0 0127 20zm0-6a2 2 0 102 2A2.0021 2.0021 0 0027 14zM22 9a4 4 0 114-4A4.0045 4.0045 0 0122 9zm0-6a2 2 0 102 2A2.0021 2.0021 0 0022 3zM10 9a4 4 0 114-4A4.0045 4.0045 0 0110 9zm0-6a2 2 0 102 2A2.0021 2.0021 0 0010 3z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"Network_116\", \"filepath\": \"network--1/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M16 20a4 4 0 114-4A4.0045 4.0045 0 0116 20zm0-6a2 2 0 102 2A2.0021 2.0021 0 0016 14zM5 20a4 4 0 114-4A4.0045 4.0045 0 015 20zm0-6a2 2 0 102 2A2.0023 2.0023 0 005 14zM10 31a4 4 0 114-4A4.0045 4.0045 0 0110 31zm0-6a2 2 0 102 2A2.0021 2.0021 0 0010 25zM22 31a4 4 0 114-4A4.0045 4.0045 0 0122 31zm0-6a2 2 0 102 2A2.0021 2.0021 0 0022 25zM27 20a4 4 0 114-4A4.0045 4.0045 0 0127 20zm0-6a2 2 0 102 2A2.0021 2.0021 0 0027 14zM22 9a4 4 0 114-4A4.0045 4.0045 0 0122 9zm0-6a2 2 0 102 2A2.0021 2.0021 0 0022 3zM10 9a4 4 0 114-4A4.0045 4.0045 0 0110 9zm0-6a2 2 0 102 2A2.0021 2.0021 0 0010 3z\" } }], \"name\": \"network--1\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M16 20a4 4 0 114-4A4.0045 4.0045 0 0116 20zm0-6a2 2 0 102 2A2.0021 2.0021 0 0016 14zM5 20a4 4 0 114-4A4.0045 4.0045 0 015 20zm0-6a2 2 0 102 2A2.0023 2.0023 0 005 14zM10 31a4 4 0 114-4A4.0045 4.0045 0 0110 31zm0-6a2 2 0 102 2A2.0021 2.0021 0 0010 25zM22 31a4 4 0 114-4A4.0045 4.0045 0 0122 31zm0-6a2 2 0 102 2A2.0021 2.0021 0 0022 25zM27 20a4 4 0 114-4A4.0045 4.0045 0 0127 20zm0-6a2 2 0 102 2A2.0021 2.0021 0 0027 14zM22 9a4 4 0 114-4A4.0045 4.0045 0 0122 9zm0-6a2 2 0 102 2A2.0021 2.0021 0 0022 3zM10 9a4 4 0 114-4A4.0045 4.0045 0 0110 9zm0-6a2 2 0 102 2A2.0021 2.0021 0 0010 3z\\\"></path></svg>\"\n            },\n        };\n    }\n    Network_1Directive_1 = Network_1Directive;\n    Network_1Directive.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            Network_1Directive_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"network-1-\" + Network_1Directive_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"network-1-\" + Network_1Directive_1.titleIdCounter);\n        }\n    };\n    var Network_1Directive_1;\n    Network_1Directive.titleIdCounter = 0;\n    Network_1Directive.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], Network_1Directive.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], Network_1Directive.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], Network_1Directive.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], Network_1Directive.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], Network_1Directive.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], Network_1Directive.prototype, \"size\", void 0);\n    Network_1Directive = Network_1Directive_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], Network_1Directive);\nNetwork_1Directive.ɵfac = function Network_1Directive_Factory(t) { return new (t || Network_1Directive)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nNetwork_1Directive.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: Network_1Directive, selectors: [[\"\", \"ibmIconNetwork_1\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(Network_1Directive, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconNetwork_1]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return Network_1Directive;\n}());\nvar Network_1Module = /** @class */ (function () {\n    function Network_1Module() {\n    }\nNetwork_1Module.ɵfac = function Network_1Module_Factory(t) { return new (t || Network_1Module)(); };\nNetwork_1Module.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: Network_1Module });\nNetwork_1Module.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(Network_1Module, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    Network_1Component,\n                    Network_1Directive,\n                ],\n                exports: [\n                    Network_1Component,\n                    Network_1Directive,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(Network_1Module, { declarations: [Network_1Component, Network_1Directive], exports: [Network_1Component, Network_1Directive] }); })();\n    return Network_1Module;\n}());\n\nexport { Network_1Component, Network_1Directive, Network_1Module };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar Network_2Component = /** @class */ (function () {\n    function Network_2Component() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], Network_2Component.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], Network_2Component.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], Network_2Component.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], Network_2Component.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], Network_2Component.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], Network_2Component.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], Network_2Component.prototype, \"size\", void 0);\nNetwork_2Component.ɵfac = function Network_2Component_Factory(t) { return new (t || Network_2Component)(); };\nNetwork_2Component.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: Network_2Component, selectors: [[\"ibm-icon-network-2\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconNetwork_2\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function Network_2Component_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [Network_2Directive]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(Network_2Component, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-network-2\",\n                template: \"\\n    <svg\\n      ibmIconNetwork_2\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return Network_2Component;\n}());\nvar Network_2Directive = /** @class */ (function () {\n    function Network_2Directive(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"Network_232\", \"filepath\": \"network--2/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M17,17h5.1421a4,4,0,1,0,0-2H17V7h5.1421a4,4,0,1,0,0-2H17a2.0023,2.0023,0,0,0-2,2v8H9.8579a4,4,0,1,0,0,2H15v8a2.0023,2.0023,0,0,0,2,2h5.1421a4,4,0,1,0,0-2H17Zm9-3a2,2,0,1,1-2,2A2.0023,2.0023,0,0,1,26,14ZM26,4a2,2,0,1,1-2,2A2.0023,2.0023,0,0,1,26,4ZM6,18a2,2,0,1,1,2-2A2.0023,2.0023,0,0,1,6,18Zm20,6a2,2,0,1,1-2,2A2.0023,2.0023,0,0,1,26,24Z\" } }], \"name\": \"network--2\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M17,17h5.1421a4,4,0,1,0,0-2H17V7h5.1421a4,4,0,1,0,0-2H17a2.0023,2.0023,0,0,0-2,2v8H9.8579a4,4,0,1,0,0,2H15v8a2.0023,2.0023,0,0,0,2,2h5.1421a4,4,0,1,0,0-2H17Zm9-3a2,2,0,1,1-2,2A2.0023,2.0023,0,0,1,26,14ZM26,4a2,2,0,1,1-2,2A2.0023,2.0023,0,0,1,26,4ZM6,18a2,2,0,1,1,2-2A2.0023,2.0023,0,0,1,6,18Zm20,6a2,2,0,1,1-2,2A2.0023,2.0023,0,0,1,26,24Z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"Network_224\", \"filepath\": \"network--2/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M17,17h5.1421a4,4,0,1,0,0-2H17V7h5.1421a4,4,0,1,0,0-2H17a2.0023,2.0023,0,0,0-2,2v8H9.8579a4,4,0,1,0,0,2H15v8a2.0023,2.0023,0,0,0,2,2h5.1421a4,4,0,1,0,0-2H17Zm9-3a2,2,0,1,1-2,2A2.0023,2.0023,0,0,1,26,14ZM26,4a2,2,0,1,1-2,2A2.0023,2.0023,0,0,1,26,4ZM6,18a2,2,0,1,1,2-2A2.0023,2.0023,0,0,1,6,18Zm20,6a2,2,0,1,1-2,2A2.0023,2.0023,0,0,1,26,24Z\" } }], \"name\": \"network--2\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M17,17h5.1421a4,4,0,1,0,0-2H17V7h5.1421a4,4,0,1,0,0-2H17a2.0023,2.0023,0,0,0-2,2v8H9.8579a4,4,0,1,0,0,2H15v8a2.0023,2.0023,0,0,0,2,2h5.1421a4,4,0,1,0,0-2H17Zm9-3a2,2,0,1,1-2,2A2.0023,2.0023,0,0,1,26,14ZM26,4a2,2,0,1,1-2,2A2.0023,2.0023,0,0,1,26,4ZM6,18a2,2,0,1,1,2-2A2.0023,2.0023,0,0,1,6,18Zm20,6a2,2,0,1,1-2,2A2.0023,2.0023,0,0,1,26,24Z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"Network_220\", \"filepath\": \"network--2/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M17,17h5.1421a4,4,0,1,0,0-2H17V7h5.1421a4,4,0,1,0,0-2H17a2.0023,2.0023,0,0,0-2,2v8H9.8579a4,4,0,1,0,0,2H15v8a2.0023,2.0023,0,0,0,2,2h5.1421a4,4,0,1,0,0-2H17Zm9-3a2,2,0,1,1-2,2A2.0023,2.0023,0,0,1,26,14ZM26,4a2,2,0,1,1-2,2A2.0023,2.0023,0,0,1,26,4ZM6,18a2,2,0,1,1,2-2A2.0023,2.0023,0,0,1,6,18Zm20,6a2,2,0,1,1-2,2A2.0023,2.0023,0,0,1,26,24Z\" } }], \"name\": \"network--2\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M17,17h5.1421a4,4,0,1,0,0-2H17V7h5.1421a4,4,0,1,0,0-2H17a2.0023,2.0023,0,0,0-2,2v8H9.8579a4,4,0,1,0,0,2H15v8a2.0023,2.0023,0,0,0,2,2h5.1421a4,4,0,1,0,0-2H17Zm9-3a2,2,0,1,1-2,2A2.0023,2.0023,0,0,1,26,14ZM26,4a2,2,0,1,1-2,2A2.0023,2.0023,0,0,1,26,4ZM6,18a2,2,0,1,1,2-2A2.0023,2.0023,0,0,1,6,18Zm20,6a2,2,0,1,1-2,2A2.0023,2.0023,0,0,1,26,24Z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"Network_216\", \"filepath\": \"network--2/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M17,17h5.1421a4,4,0,1,0,0-2H17V7h5.1421a4,4,0,1,0,0-2H17a2.0023,2.0023,0,0,0-2,2v8H9.8579a4,4,0,1,0,0,2H15v8a2.0023,2.0023,0,0,0,2,2h5.1421a4,4,0,1,0,0-2H17Zm9-3a2,2,0,1,1-2,2A2.0023,2.0023,0,0,1,26,14ZM26,4a2,2,0,1,1-2,2A2.0023,2.0023,0,0,1,26,4ZM6,18a2,2,0,1,1,2-2A2.0023,2.0023,0,0,1,6,18Zm20,6a2,2,0,1,1-2,2A2.0023,2.0023,0,0,1,26,24Z\" } }], \"name\": \"network--2\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M17,17h5.1421a4,4,0,1,0,0-2H17V7h5.1421a4,4,0,1,0,0-2H17a2.0023,2.0023,0,0,0-2,2v8H9.8579a4,4,0,1,0,0,2H15v8a2.0023,2.0023,0,0,0,2,2h5.1421a4,4,0,1,0,0-2H17Zm9-3a2,2,0,1,1-2,2A2.0023,2.0023,0,0,1,26,14ZM26,4a2,2,0,1,1-2,2A2.0023,2.0023,0,0,1,26,4ZM6,18a2,2,0,1,1,2-2A2.0023,2.0023,0,0,1,6,18Zm20,6a2,2,0,1,1-2,2A2.0023,2.0023,0,0,1,26,24Z\\\"></path></svg>\"\n            },\n        };\n    }\n    Network_2Directive_1 = Network_2Directive;\n    Network_2Directive.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            Network_2Directive_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"network-2-\" + Network_2Directive_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"network-2-\" + Network_2Directive_1.titleIdCounter);\n        }\n    };\n    var Network_2Directive_1;\n    Network_2Directive.titleIdCounter = 0;\n    Network_2Directive.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], Network_2Directive.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], Network_2Directive.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], Network_2Directive.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], Network_2Directive.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], Network_2Directive.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], Network_2Directive.prototype, \"size\", void 0);\n    Network_2Directive = Network_2Directive_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], Network_2Directive);\nNetwork_2Directive.ɵfac = function Network_2Directive_Factory(t) { return new (t || Network_2Directive)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nNetwork_2Directive.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: Network_2Directive, selectors: [[\"\", \"ibmIconNetwork_2\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(Network_2Directive, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconNetwork_2]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return Network_2Directive;\n}());\nvar Network_2Module = /** @class */ (function () {\n    function Network_2Module() {\n    }\nNetwork_2Module.ɵfac = function Network_2Module_Factory(t) { return new (t || Network_2Module)(); };\nNetwork_2Module.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: Network_2Module });\nNetwork_2Module.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(Network_2Module, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    Network_2Component,\n                    Network_2Directive,\n                ],\n                exports: [\n                    Network_2Component,\n                    Network_2Directive,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(Network_2Module, { declarations: [Network_2Component, Network_2Directive], exports: [Network_2Component, Network_2Directive] }); })();\n    return Network_2Module;\n}());\n\nexport { Network_2Component, Network_2Directive, Network_2Module };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar Network_3Component = /** @class */ (function () {\n    function Network_3Component() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], Network_3Component.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], Network_3Component.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], Network_3Component.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], Network_3Component.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], Network_3Component.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], Network_3Component.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], Network_3Component.prototype, \"size\", void 0);\nNetwork_3Component.ɵfac = function Network_3Component_Factory(t) { return new (t || Network_3Component)(); };\nNetwork_3Component.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: Network_3Component, selectors: [[\"ibm-icon-network-3\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconNetwork_3\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function Network_3Component_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [Network_3Directive]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(Network_3Component, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-network-3\",\n                template: \"\\n    <svg\\n      ibmIconNetwork_3\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return Network_3Component;\n}());\nvar Network_3Directive = /** @class */ (function () {\n    function Network_3Directive(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"Network_332\", \"filepath\": \"network--3/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M30 30H22V22h8zm-6-2h4V24H24zM20 27H8A6 6 0 018 15h2v2H8a4 4 0 000 8H20z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M20,20H12V12h8Zm-6-2h4V14H14Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M24 17H22V15h2a4 4 0 000-8H12V5H24a6 6 0 010 12zM10 10H2V2h8zM4 8H8V4H4z\" } }], \"name\": \"network--3\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M30 30H22V22h8zm-6-2h4V24H24zM20 27H8A6 6 0 018 15h2v2H8a4 4 0 000 8H20z\\\"></path><path d=\\\"M20,20H12V12h8Zm-6-2h4V14H14Z\\\"></path><path d=\\\"M24 17H22V15h2a4 4 0 000-8H12V5H24a6 6 0 010 12zM10 10H2V2h8zM4 8H8V4H4z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"Network_324\", \"filepath\": \"network--3/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M30 30H22V22h8zm-6-2h4V24H24zM20 27H8A6 6 0 018 15h2v2H8a4 4 0 000 8H20z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M20,20H12V12h8Zm-6-2h4V14H14Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M24 17H22V15h2a4 4 0 000-8H12V5H24a6 6 0 010 12zM10 10H2V2h8zM4 8H8V4H4z\" } }], \"name\": \"network--3\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M30 30H22V22h8zm-6-2h4V24H24zM20 27H8A6 6 0 018 15h2v2H8a4 4 0 000 8H20z\\\"></path><path d=\\\"M20,20H12V12h8Zm-6-2h4V14H14Z\\\"></path><path d=\\\"M24 17H22V15h2a4 4 0 000-8H12V5H24a6 6 0 010 12zM10 10H2V2h8zM4 8H8V4H4z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"Network_320\", \"filepath\": \"network--3/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M30 30H22V22h8zm-6-2h4V24H24zM20 27H8A6 6 0 018 15h2v2H8a4 4 0 000 8H20z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M20,20H12V12h8Zm-6-2h4V14H14Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M24 17H22V15h2a4 4 0 000-8H12V5H24a6 6 0 010 12zM10 10H2V2h8zM4 8H8V4H4z\" } }], \"name\": \"network--3\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M30 30H22V22h8zm-6-2h4V24H24zM20 27H8A6 6 0 018 15h2v2H8a4 4 0 000 8H20z\\\"></path><path d=\\\"M20,20H12V12h8Zm-6-2h4V14H14Z\\\"></path><path d=\\\"M24 17H22V15h2a4 4 0 000-8H12V5H24a6 6 0 010 12zM10 10H2V2h8zM4 8H8V4H4z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"Network_316\", \"filepath\": \"network--3/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M30 30H22V22h8zm-6-2h4V24H24zM20 27H8A6 6 0 018 15h2v2H8a4 4 0 000 8H20z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M20,20H12V12h8Zm-6-2h4V14H14Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M24 17H22V15h2a4 4 0 000-8H12V5H24a6 6 0 010 12zM10 10H2V2h8zM4 8H8V4H4z\" } }], \"name\": \"network--3\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M30 30H22V22h8zm-6-2h4V24H24zM20 27H8A6 6 0 018 15h2v2H8a4 4 0 000 8H20z\\\"></path><path d=\\\"M20,20H12V12h8Zm-6-2h4V14H14Z\\\"></path><path d=\\\"M24 17H22V15h2a4 4 0 000-8H12V5H24a6 6 0 010 12zM10 10H2V2h8zM4 8H8V4H4z\\\"></path></svg>\"\n            },\n        };\n    }\n    Network_3Directive_1 = Network_3Directive;\n    Network_3Directive.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            Network_3Directive_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"network-3-\" + Network_3Directive_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"network-3-\" + Network_3Directive_1.titleIdCounter);\n        }\n    };\n    var Network_3Directive_1;\n    Network_3Directive.titleIdCounter = 0;\n    Network_3Directive.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], Network_3Directive.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], Network_3Directive.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], Network_3Directive.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], Network_3Directive.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], Network_3Directive.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], Network_3Directive.prototype, \"size\", void 0);\n    Network_3Directive = Network_3Directive_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], Network_3Directive);\nNetwork_3Directive.ɵfac = function Network_3Directive_Factory(t) { return new (t || Network_3Directive)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nNetwork_3Directive.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: Network_3Directive, selectors: [[\"\", \"ibmIconNetwork_3\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(Network_3Directive, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconNetwork_3]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return Network_3Directive;\n}());\nvar Network_3Module = /** @class */ (function () {\n    function Network_3Module() {\n    }\nNetwork_3Module.ɵfac = function Network_3Module_Factory(t) { return new (t || Network_3Module)(); };\nNetwork_3Module.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: Network_3Module });\nNetwork_3Module.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(Network_3Module, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    Network_3Component,\n                    Network_3Directive,\n                ],\n                exports: [\n                    Network_3Component,\n                    Network_3Directive,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(Network_3Module, { declarations: [Network_3Component, Network_3Directive], exports: [Network_3Component, Network_3Directive] }); })();\n    return Network_3Module;\n}());\n\nexport { Network_3Component, Network_3Directive, Network_3Module };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar NotebookComponent = /** @class */ (function () {\n    function NotebookComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], NotebookComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], NotebookComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], NotebookComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], NotebookComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], NotebookComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], NotebookComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], NotebookComponent.prototype, \"size\", void 0);\nNotebookComponent.ɵfac = function NotebookComponent_Factory(t) { return new (t || NotebookComponent)(); };\nNotebookComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: NotebookComponent, selectors: [[\"ibm-icon-notebook\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconNotebook\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function NotebookComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [NotebookDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(NotebookComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-notebook\",\n                template: \"\\n    <svg\\n      ibmIconNotebook\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return NotebookComponent;\n}());\nvar NotebookDirective = /** @class */ (function () {\n    function NotebookDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"Notebook32\", \"filepath\": \"notebook/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M19 10H26V12H19zM19 15H26V17H19zM19 20H26V22H19z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M28,5H4A2.002,2.002,0,0,0,2,7V25a2.0023,2.0023,0,0,0,2,2H28a2.0027,2.0027,0,0,0,2-2V7A2.0023,2.0023,0,0,0,28,5ZM4,7H15V25H4ZM17,25V7H28l.002,18Z\" } }], \"name\": \"notebook\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M19 10H26V12H19zM19 15H26V17H19zM19 20H26V22H19z\\\"></path><path d=\\\"M28,5H4A2.002,2.002,0,0,0,2,7V25a2.0023,2.0023,0,0,0,2,2H28a2.0027,2.0027,0,0,0,2-2V7A2.0023,2.0023,0,0,0,28,5ZM4,7H15V25H4ZM17,25V7H28l.002,18Z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"Notebook24\", \"filepath\": \"notebook/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M19 10H26V12H19zM19 15H26V17H19zM19 20H26V22H19z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M28,5H4A2.002,2.002,0,0,0,2,7V25a2.0023,2.0023,0,0,0,2,2H28a2.0027,2.0027,0,0,0,2-2V7A2.0023,2.0023,0,0,0,28,5ZM4,7H15V25H4ZM17,25V7H28l.002,18Z\" } }], \"name\": \"notebook\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M19 10H26V12H19zM19 15H26V17H19zM19 20H26V22H19z\\\"></path><path d=\\\"M28,5H4A2.002,2.002,0,0,0,2,7V25a2.0023,2.0023,0,0,0,2,2H28a2.0027,2.0027,0,0,0,2-2V7A2.0023,2.0023,0,0,0,28,5ZM4,7H15V25H4ZM17,25V7H28l.002,18Z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"Notebook20\", \"filepath\": \"notebook/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M19 10H26V12H19zM19 15H26V17H19zM19 20H26V22H19z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M28,5H4A2.002,2.002,0,0,0,2,7V25a2.0023,2.0023,0,0,0,2,2H28a2.0027,2.0027,0,0,0,2-2V7A2.0023,2.0023,0,0,0,28,5ZM4,7H15V25H4ZM17,25V7H28l.002,18Z\" } }], \"name\": \"notebook\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M19 10H26V12H19zM19 15H26V17H19zM19 20H26V22H19z\\\"></path><path d=\\\"M28,5H4A2.002,2.002,0,0,0,2,7V25a2.0023,2.0023,0,0,0,2,2H28a2.0027,2.0027,0,0,0,2-2V7A2.0023,2.0023,0,0,0,28,5ZM4,7H15V25H4ZM17,25V7H28l.002,18Z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"Notebook16\", \"filepath\": \"notebook/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M19 10H26V12H19zM19 15H26V17H19zM19 20H26V22H19z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M28,5H4A2.002,2.002,0,0,0,2,7V25a2.0023,2.0023,0,0,0,2,2H28a2.0027,2.0027,0,0,0,2-2V7A2.0023,2.0023,0,0,0,28,5ZM4,7H15V25H4ZM17,25V7H28l.002,18Z\" } }], \"name\": \"notebook\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M19 10H26V12H19zM19 15H26V17H19zM19 20H26V22H19z\\\"></path><path d=\\\"M28,5H4A2.002,2.002,0,0,0,2,7V25a2.0023,2.0023,0,0,0,2,2H28a2.0027,2.0027,0,0,0,2-2V7A2.0023,2.0023,0,0,0,28,5ZM4,7H15V25H4ZM17,25V7H28l.002,18Z\\\"></path></svg>\"\n            },\n        };\n    }\n    NotebookDirective_1 = NotebookDirective;\n    NotebookDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            NotebookDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"notebook-\" + NotebookDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"notebook-\" + NotebookDirective_1.titleIdCounter);\n        }\n    };\n    var NotebookDirective_1;\n    NotebookDirective.titleIdCounter = 0;\n    NotebookDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], NotebookDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], NotebookDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], NotebookDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], NotebookDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], NotebookDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], NotebookDirective.prototype, \"size\", void 0);\n    NotebookDirective = NotebookDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], NotebookDirective);\nNotebookDirective.ɵfac = function NotebookDirective_Factory(t) { return new (t || NotebookDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nNotebookDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: NotebookDirective, selectors: [[\"\", \"ibmIconNotebook\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(NotebookDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconNotebook]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return NotebookDirective;\n}());\nvar NotebookModule = /** @class */ (function () {\n    function NotebookModule() {\n    }\nNotebookModule.ɵfac = function NotebookModule_Factory(t) { return new (t || NotebookModule)(); };\nNotebookModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: NotebookModule });\nNotebookModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(NotebookModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    NotebookComponent,\n                    NotebookDirective,\n                ],\n                exports: [\n                    NotebookComponent,\n                    NotebookDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(NotebookModule, { declarations: [NotebookComponent, NotebookDirective], exports: [NotebookComponent, NotebookDirective] }); })();\n    return NotebookModule;\n}());\n\nexport { NotebookComponent, NotebookDirective, NotebookModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar ObjectStorageComponent = /** @class */ (function () {\n    function ObjectStorageComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ObjectStorageComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ObjectStorageComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], ObjectStorageComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ObjectStorageComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], ObjectStorageComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ObjectStorageComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ObjectStorageComponent.prototype, \"size\", void 0);\nObjectStorageComponent.ɵfac = function ObjectStorageComponent_Factory(t) { return new (t || ObjectStorageComponent)(); };\nObjectStorageComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: ObjectStorageComponent, selectors: [[\"ibm-icon-object-storage\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconObjectStorage\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function ObjectStorageComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [ObjectStorageDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ObjectStorageComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-object-storage\",\n                template: \"\\n    <svg\\n      ibmIconObjectStorage\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return ObjectStorageComponent;\n}());\nvar ObjectStorageDirective = /** @class */ (function () {\n    function ObjectStorageDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"ObjectStorage32\", \"filepath\": \"object-storage/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M28,20H26v2h2v6H4V22H14V20H4a2.0023,2.0023,0,0,0-2,2v6a2.0023,2.0023,0,0,0,2,2H28a2.0023,2.0023,0,0,0,2-2V22A2.0023,2.0023,0,0,0,28,20Z\" } }, { \"elem\": \"circle\", \"attrs\": { \"cx\": \"7\", \"cy\": \"25\", \"r\": \"1\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M30 8H22v6H16v8h8V16h6zM22 20H18V16h4zm6-6H24V10h4zM18 10H10V2h8zM12 8h4V4H12z\" } }], \"name\": \"object-storage\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M28,20H26v2h2v6H4V22H14V20H4a2.0023,2.0023,0,0,0-2,2v6a2.0023,2.0023,0,0,0,2,2H28a2.0023,2.0023,0,0,0,2-2V22A2.0023,2.0023,0,0,0,28,20Z\\\"></path><circle cx=\\\"7\\\" cy=\\\"25\\\" r=\\\"1\\\"></circle><path d=\\\"M30 8H22v6H16v8h8V16h6zM22 20H18V16h4zm6-6H24V10h4zM18 10H10V2h8zM12 8h4V4H12z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"ObjectStorage24\", \"filepath\": \"object-storage/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M28,20H26v2h2v6H4V22H14V20H4a2.0023,2.0023,0,0,0-2,2v6a2.0023,2.0023,0,0,0,2,2H28a2.0023,2.0023,0,0,0,2-2V22A2.0023,2.0023,0,0,0,28,20Z\" } }, { \"elem\": \"circle\", \"attrs\": { \"cx\": \"7\", \"cy\": \"25\", \"r\": \"1\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M30 8H22v6H16v8h8V16h6zM22 20H18V16h4zm6-6H24V10h4zM18 10H10V2h8zM12 8h4V4H12z\" } }], \"name\": \"object-storage\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M28,20H26v2h2v6H4V22H14V20H4a2.0023,2.0023,0,0,0-2,2v6a2.0023,2.0023,0,0,0,2,2H28a2.0023,2.0023,0,0,0,2-2V22A2.0023,2.0023,0,0,0,28,20Z\\\"></path><circle cx=\\\"7\\\" cy=\\\"25\\\" r=\\\"1\\\"></circle><path d=\\\"M30 8H22v6H16v8h8V16h6zM22 20H18V16h4zm6-6H24V10h4zM18 10H10V2h8zM12 8h4V4H12z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"ObjectStorage20\", \"filepath\": \"object-storage/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M28,20H26v2h2v6H4V22H14V20H4a2.0023,2.0023,0,0,0-2,2v6a2.0023,2.0023,0,0,0,2,2H28a2.0023,2.0023,0,0,0,2-2V22A2.0023,2.0023,0,0,0,28,20Z\" } }, { \"elem\": \"circle\", \"attrs\": { \"cx\": \"7\", \"cy\": \"25\", \"r\": \"1\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M30 8H22v6H16v8h8V16h6zM22 20H18V16h4zm6-6H24V10h4zM18 10H10V2h8zM12 8h4V4H12z\" } }], \"name\": \"object-storage\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M28,20H26v2h2v6H4V22H14V20H4a2.0023,2.0023,0,0,0-2,2v6a2.0023,2.0023,0,0,0,2,2H28a2.0023,2.0023,0,0,0,2-2V22A2.0023,2.0023,0,0,0,28,20Z\\\"></path><circle cx=\\\"7\\\" cy=\\\"25\\\" r=\\\"1\\\"></circle><path d=\\\"M30 8H22v6H16v8h8V16h6zM22 20H18V16h4zm6-6H24V10h4zM18 10H10V2h8zM12 8h4V4H12z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"ObjectStorage16\", \"filepath\": \"object-storage/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M28,20H26v2h2v6H4V22H14V20H4a2.0023,2.0023,0,0,0-2,2v6a2.0023,2.0023,0,0,0,2,2H28a2.0023,2.0023,0,0,0,2-2V22A2.0023,2.0023,0,0,0,28,20Z\" } }, { \"elem\": \"circle\", \"attrs\": { \"cx\": \"7\", \"cy\": \"25\", \"r\": \"1\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M30 8H22v6H16v8h8V16h6zM22 20H18V16h4zm6-6H24V10h4zM18 10H10V2h8zM12 8h4V4H12z\" } }], \"name\": \"object-storage\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M28,20H26v2h2v6H4V22H14V20H4a2.0023,2.0023,0,0,0-2,2v6a2.0023,2.0023,0,0,0,2,2H28a2.0023,2.0023,0,0,0,2-2V22A2.0023,2.0023,0,0,0,28,20Z\\\"></path><circle cx=\\\"7\\\" cy=\\\"25\\\" r=\\\"1\\\"></circle><path d=\\\"M30 8H22v6H16v8h8V16h6zM22 20H18V16h4zm6-6H24V10h4zM18 10H10V2h8zM12 8h4V4H12z\\\"></path></svg>\"\n            },\n        };\n    }\n    ObjectStorageDirective_1 = ObjectStorageDirective;\n    ObjectStorageDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            ObjectStorageDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"object-storage-\" + ObjectStorageDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"object-storage-\" + ObjectStorageDirective_1.titleIdCounter);\n        }\n    };\n    var ObjectStorageDirective_1;\n    ObjectStorageDirective.titleIdCounter = 0;\n    ObjectStorageDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ObjectStorageDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ObjectStorageDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], ObjectStorageDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ObjectStorageDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], ObjectStorageDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ObjectStorageDirective.prototype, \"size\", void 0);\n    ObjectStorageDirective = ObjectStorageDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], ObjectStorageDirective);\nObjectStorageDirective.ɵfac = function ObjectStorageDirective_Factory(t) { return new (t || ObjectStorageDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nObjectStorageDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: ObjectStorageDirective, selectors: [[\"\", \"ibmIconObjectStorage\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ObjectStorageDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconObjectStorage]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return ObjectStorageDirective;\n}());\nvar ObjectStorageModule = /** @class */ (function () {\n    function ObjectStorageModule() {\n    }\nObjectStorageModule.ɵfac = function ObjectStorageModule_Factory(t) { return new (t || ObjectStorageModule)(); };\nObjectStorageModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: ObjectStorageModule });\nObjectStorageModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ObjectStorageModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    ObjectStorageComponent,\n                    ObjectStorageDirective,\n                ],\n                exports: [\n                    ObjectStorageComponent,\n                    ObjectStorageDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(ObjectStorageModule, { declarations: [ObjectStorageComponent, ObjectStorageDirective], exports: [ObjectStorageComponent, ObjectStorageDirective] }); })();\n    return ObjectStorageModule;\n}());\n\nexport { ObjectStorageComponent, ObjectStorageDirective, ObjectStorageModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar OpenPanelFilledRightComponent = /** @class */ (function () {\n    function OpenPanelFilledRightComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], OpenPanelFilledRightComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], OpenPanelFilledRightComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], OpenPanelFilledRightComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], OpenPanelFilledRightComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], OpenPanelFilledRightComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], OpenPanelFilledRightComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], OpenPanelFilledRightComponent.prototype, \"size\", void 0);\nOpenPanelFilledRightComponent.ɵfac = function OpenPanelFilledRightComponent_Factory(t) { return new (t || OpenPanelFilledRightComponent)(); };\nOpenPanelFilledRightComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: OpenPanelFilledRightComponent, selectors: [[\"ibm-icon-open-panel-filled-right\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconOpenPanelFilledRight\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function OpenPanelFilledRightComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [OpenPanelFilledRightDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(OpenPanelFilledRightComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-open-panel-filled-right\",\n                template: \"\\n    <svg\\n      ibmIconOpenPanelFilledRight\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return OpenPanelFilledRightComponent;\n}());\nvar OpenPanelFilledRightDirective = /** @class */ (function () {\n    function OpenPanelFilledRightDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"OpenPanelFilledRight32\", \"filepath\": \"open-panel--filled--right/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M28,4H4A2,2,0,0,0,2,6V26a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V6A2,2,0,0,0,28,4ZM4,6H20V26H4Z\" } }], \"name\": \"open-panel--filled--right\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M28,4H4A2,2,0,0,0,2,6V26a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V6A2,2,0,0,0,28,4ZM4,6H20V26H4Z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"OpenPanelFilledRight24\", \"filepath\": \"open-panel--filled--right/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M28,4H4A2,2,0,0,0,2,6V26a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V6A2,2,0,0,0,28,4ZM4,6H20V26H4Z\" } }], \"name\": \"open-panel--filled--right\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M28,4H4A2,2,0,0,0,2,6V26a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V6A2,2,0,0,0,28,4ZM4,6H20V26H4Z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"OpenPanelFilledRight20\", \"filepath\": \"open-panel--filled--right/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M28,4H4A2,2,0,0,0,2,6V26a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V6A2,2,0,0,0,28,4ZM4,6H20V26H4Z\" } }], \"name\": \"open-panel--filled--right\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M28,4H4A2,2,0,0,0,2,6V26a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V6A2,2,0,0,0,28,4ZM4,6H20V26H4Z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"OpenPanelFilledRight16\", \"filepath\": \"open-panel--filled--right/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M28,4H4A2,2,0,0,0,2,6V26a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V6A2,2,0,0,0,28,4ZM4,6H20V26H4Z\" } }], \"name\": \"open-panel--filled--right\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M28,4H4A2,2,0,0,0,2,6V26a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V6A2,2,0,0,0,28,4ZM4,6H20V26H4Z\\\"></path></svg>\"\n            },\n        };\n    }\n    OpenPanelFilledRightDirective_1 = OpenPanelFilledRightDirective;\n    OpenPanelFilledRightDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            OpenPanelFilledRightDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"open-panel-filled-right-\" + OpenPanelFilledRightDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"open-panel-filled-right-\" + OpenPanelFilledRightDirective_1.titleIdCounter);\n        }\n    };\n    var OpenPanelFilledRightDirective_1;\n    OpenPanelFilledRightDirective.titleIdCounter = 0;\n    OpenPanelFilledRightDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], OpenPanelFilledRightDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], OpenPanelFilledRightDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], OpenPanelFilledRightDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], OpenPanelFilledRightDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], OpenPanelFilledRightDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], OpenPanelFilledRightDirective.prototype, \"size\", void 0);\n    OpenPanelFilledRightDirective = OpenPanelFilledRightDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], OpenPanelFilledRightDirective);\nOpenPanelFilledRightDirective.ɵfac = function OpenPanelFilledRightDirective_Factory(t) { return new (t || OpenPanelFilledRightDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nOpenPanelFilledRightDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: OpenPanelFilledRightDirective, selectors: [[\"\", \"ibmIconOpenPanelFilledRight\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(OpenPanelFilledRightDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconOpenPanelFilledRight]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return OpenPanelFilledRightDirective;\n}());\nvar OpenPanelFilledRightModule = /** @class */ (function () {\n    function OpenPanelFilledRightModule() {\n    }\nOpenPanelFilledRightModule.ɵfac = function OpenPanelFilledRightModule_Factory(t) { return new (t || OpenPanelFilledRightModule)(); };\nOpenPanelFilledRightModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: OpenPanelFilledRightModule });\nOpenPanelFilledRightModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(OpenPanelFilledRightModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    OpenPanelFilledRightComponent,\n                    OpenPanelFilledRightDirective,\n                ],\n                exports: [\n                    OpenPanelFilledRightComponent,\n                    OpenPanelFilledRightDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(OpenPanelFilledRightModule, { declarations: [OpenPanelFilledRightComponent, OpenPanelFilledRightDirective], exports: [OpenPanelFilledRightComponent, OpenPanelFilledRightDirective] }); })();\n    return OpenPanelFilledRightModule;\n}());\n\nexport { OpenPanelFilledRightComponent, OpenPanelFilledRightDirective, OpenPanelFilledRightModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar OpenPanelRightComponent = /** @class */ (function () {\n    function OpenPanelRightComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], OpenPanelRightComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], OpenPanelRightComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], OpenPanelRightComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], OpenPanelRightComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], OpenPanelRightComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], OpenPanelRightComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], OpenPanelRightComponent.prototype, \"size\", void 0);\nOpenPanelRightComponent.ɵfac = function OpenPanelRightComponent_Factory(t) { return new (t || OpenPanelRightComponent)(); };\nOpenPanelRightComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: OpenPanelRightComponent, selectors: [[\"ibm-icon-open-panel-right\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconOpenPanelRight\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function OpenPanelRightComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [OpenPanelRightDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(OpenPanelRightComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-open-panel-right\",\n                template: \"\\n    <svg\\n      ibmIconOpenPanelRight\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return OpenPanelRightComponent;\n}());\nvar OpenPanelRightDirective = /** @class */ (function () {\n    function OpenPanelRightDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"OpenPanelRight32\", \"filepath\": \"open-panel--right/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M28,4H4A2,2,0,0,0,2,6V26a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V6A2,2,0,0,0,28,4ZM4,6H20V26H4ZM28,26H22V6h6Z\" } }], \"name\": \"open-panel--right\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M28,4H4A2,2,0,0,0,2,6V26a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V6A2,2,0,0,0,28,4ZM4,6H20V26H4ZM28,26H22V6h6Z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"OpenPanelRight24\", \"filepath\": \"open-panel--right/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M28,4H4A2,2,0,0,0,2,6V26a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V6A2,2,0,0,0,28,4ZM4,6H20V26H4ZM28,26H22V6h6Z\" } }], \"name\": \"open-panel--right\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M28,4H4A2,2,0,0,0,2,6V26a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V6A2,2,0,0,0,28,4ZM4,6H20V26H4ZM28,26H22V6h6Z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"OpenPanelRight20\", \"filepath\": \"open-panel--right/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M28,4H4A2,2,0,0,0,2,6V26a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V6A2,2,0,0,0,28,4ZM4,6H20V26H4ZM28,26H22V6h6Z\" } }], \"name\": \"open-panel--right\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M28,4H4A2,2,0,0,0,2,6V26a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V6A2,2,0,0,0,28,4ZM4,6H20V26H4ZM28,26H22V6h6Z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"OpenPanelRight16\", \"filepath\": \"open-panel--right/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M28,4H4A2,2,0,0,0,2,6V26a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V6A2,2,0,0,0,28,4ZM4,6H20V26H4ZM28,26H22V6h6Z\" } }], \"name\": \"open-panel--right\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M28,4H4A2,2,0,0,0,2,6V26a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V6A2,2,0,0,0,28,4ZM4,6H20V26H4ZM28,26H22V6h6Z\\\"></path></svg>\"\n            },\n        };\n    }\n    OpenPanelRightDirective_1 = OpenPanelRightDirective;\n    OpenPanelRightDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            OpenPanelRightDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"open-panel-right-\" + OpenPanelRightDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"open-panel-right-\" + OpenPanelRightDirective_1.titleIdCounter);\n        }\n    };\n    var OpenPanelRightDirective_1;\n    OpenPanelRightDirective.titleIdCounter = 0;\n    OpenPanelRightDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], OpenPanelRightDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], OpenPanelRightDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], OpenPanelRightDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], OpenPanelRightDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], OpenPanelRightDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], OpenPanelRightDirective.prototype, \"size\", void 0);\n    OpenPanelRightDirective = OpenPanelRightDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], OpenPanelRightDirective);\nOpenPanelRightDirective.ɵfac = function OpenPanelRightDirective_Factory(t) { return new (t || OpenPanelRightDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nOpenPanelRightDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: OpenPanelRightDirective, selectors: [[\"\", \"ibmIconOpenPanelRight\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(OpenPanelRightDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconOpenPanelRight]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return OpenPanelRightDirective;\n}());\nvar OpenPanelRightModule = /** @class */ (function () {\n    function OpenPanelRightModule() {\n    }\nOpenPanelRightModule.ɵfac = function OpenPanelRightModule_Factory(t) { return new (t || OpenPanelRightModule)(); };\nOpenPanelRightModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: OpenPanelRightModule });\nOpenPanelRightModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(OpenPanelRightModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    OpenPanelRightComponent,\n                    OpenPanelRightDirective,\n                ],\n                exports: [\n                    OpenPanelRightComponent,\n                    OpenPanelRightDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(OpenPanelRightModule, { declarations: [OpenPanelRightComponent, OpenPanelRightDirective], exports: [OpenPanelRightComponent, OpenPanelRightDirective] }); })();\n    return OpenPanelRightModule;\n}());\n\nexport { OpenPanelRightComponent, OpenPanelRightDirective, OpenPanelRightModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar PauseFilledComponent = /** @class */ (function () {\n    function PauseFilledComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], PauseFilledComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], PauseFilledComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], PauseFilledComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], PauseFilledComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], PauseFilledComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], PauseFilledComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], PauseFilledComponent.prototype, \"size\", void 0);\nPauseFilledComponent.ɵfac = function PauseFilledComponent_Factory(t) { return new (t || PauseFilledComponent)(); };\nPauseFilledComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: PauseFilledComponent, selectors: [[\"ibm-icon-pause-filled\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconPauseFilled\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function PauseFilledComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [PauseFilledDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(PauseFilledComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-pause-filled\",\n                template: \"\\n    <svg\\n      ibmIconPauseFilled\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return PauseFilledComponent;\n}());\nvar PauseFilledDirective = /** @class */ (function () {\n    function PauseFilledDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"PauseFilled32\", \"filepath\": \"pause--filled/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M12 6H10A2 2 0 008 8V24a2 2 0 002 2h2a2 2 0 002-2V8a2 2 0 00-2-2zM22 6H20a2 2 0 00-2 2V24a2 2 0 002 2h2a2 2 0 002-2V8a2 2 0 00-2-2z\" } }], \"name\": \"pause--filled\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M12 6H10A2 2 0 008 8V24a2 2 0 002 2h2a2 2 0 002-2V8a2 2 0 00-2-2zM22 6H20a2 2 0 00-2 2V24a2 2 0 002 2h2a2 2 0 002-2V8a2 2 0 00-2-2z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"PauseFilled24\", \"filepath\": \"pause--filled/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M12 6H10A2 2 0 008 8V24a2 2 0 002 2h2a2 2 0 002-2V8a2 2 0 00-2-2zM22 6H20a2 2 0 00-2 2V24a2 2 0 002 2h2a2 2 0 002-2V8a2 2 0 00-2-2z\" } }], \"name\": \"pause--filled\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M12 6H10A2 2 0 008 8V24a2 2 0 002 2h2a2 2 0 002-2V8a2 2 0 00-2-2zM22 6H20a2 2 0 00-2 2V24a2 2 0 002 2h2a2 2 0 002-2V8a2 2 0 00-2-2z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"PauseFilled20\", \"filepath\": \"pause--filled/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M12 6H10A2 2 0 008 8V24a2 2 0 002 2h2a2 2 0 002-2V8a2 2 0 00-2-2zM22 6H20a2 2 0 00-2 2V24a2 2 0 002 2h2a2 2 0 002-2V8a2 2 0 00-2-2z\" } }], \"name\": \"pause--filled\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M12 6H10A2 2 0 008 8V24a2 2 0 002 2h2a2 2 0 002-2V8a2 2 0 00-2-2zM22 6H20a2 2 0 00-2 2V24a2 2 0 002 2h2a2 2 0 002-2V8a2 2 0 00-2-2z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"PauseFilled16\", \"filepath\": \"pause--filled/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M12 6H10A2 2 0 008 8V24a2 2 0 002 2h2a2 2 0 002-2V8a2 2 0 00-2-2zM22 6H20a2 2 0 00-2 2V24a2 2 0 002 2h2a2 2 0 002-2V8a2 2 0 00-2-2z\" } }], \"name\": \"pause--filled\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M12 6H10A2 2 0 008 8V24a2 2 0 002 2h2a2 2 0 002-2V8a2 2 0 00-2-2zM22 6H20a2 2 0 00-2 2V24a2 2 0 002 2h2a2 2 0 002-2V8a2 2 0 00-2-2z\\\"></path></svg>\"\n            },\n        };\n    }\n    PauseFilledDirective_1 = PauseFilledDirective;\n    PauseFilledDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            PauseFilledDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"pause-filled-\" + PauseFilledDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"pause-filled-\" + PauseFilledDirective_1.titleIdCounter);\n        }\n    };\n    var PauseFilledDirective_1;\n    PauseFilledDirective.titleIdCounter = 0;\n    PauseFilledDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], PauseFilledDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], PauseFilledDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], PauseFilledDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], PauseFilledDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], PauseFilledDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], PauseFilledDirective.prototype, \"size\", void 0);\n    PauseFilledDirective = PauseFilledDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], PauseFilledDirective);\nPauseFilledDirective.ɵfac = function PauseFilledDirective_Factory(t) { return new (t || PauseFilledDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nPauseFilledDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: PauseFilledDirective, selectors: [[\"\", \"ibmIconPauseFilled\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(PauseFilledDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconPauseFilled]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return PauseFilledDirective;\n}());\nvar PauseFilledModule = /** @class */ (function () {\n    function PauseFilledModule() {\n    }\nPauseFilledModule.ɵfac = function PauseFilledModule_Factory(t) { return new (t || PauseFilledModule)(); };\nPauseFilledModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: PauseFilledModule });\nPauseFilledModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(PauseFilledModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    PauseFilledComponent,\n                    PauseFilledDirective,\n                ],\n                exports: [\n                    PauseFilledComponent,\n                    PauseFilledDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(PauseFilledModule, { declarations: [PauseFilledComponent, PauseFilledDirective], exports: [PauseFilledComponent, PauseFilledDirective] }); })();\n    return PauseFilledModule;\n}());\n\nexport { PauseFilledComponent, PauseFilledDirective, PauseFilledModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar PauseOutlineFilledComponent = /** @class */ (function () {\n    function PauseOutlineFilledComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], PauseOutlineFilledComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], PauseOutlineFilledComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], PauseOutlineFilledComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], PauseOutlineFilledComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], PauseOutlineFilledComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], PauseOutlineFilledComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], PauseOutlineFilledComponent.prototype, \"size\", void 0);\nPauseOutlineFilledComponent.ɵfac = function PauseOutlineFilledComponent_Factory(t) { return new (t || PauseOutlineFilledComponent)(); };\nPauseOutlineFilledComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: PauseOutlineFilledComponent, selectors: [[\"ibm-icon-pause-outline-filled\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconPauseOutlineFilled\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function PauseOutlineFilledComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [PauseOutlineFilledDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(PauseOutlineFilledComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-pause-outline-filled\",\n                template: \"\\n    <svg\\n      ibmIconPauseOutlineFilled\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return PauseOutlineFilledComponent;\n}());\nvar PauseOutlineFilledDirective = /** @class */ (function () {\n    function PauseOutlineFilledDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"PauseOutlineFilled32\", \"filepath\": \"pause--outline--filled/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2ZM14,22H12V10h2Zm6,0H18V10h2Z\" } }], \"name\": \"pause--outline--filled\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2ZM14,22H12V10h2Zm6,0H18V10h2Z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"PauseOutlineFilled24\", \"filepath\": \"pause--outline--filled/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2ZM14,22H12V10h2Zm6,0H18V10h2Z\" } }], \"name\": \"pause--outline--filled\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2ZM14,22H12V10h2Zm6,0H18V10h2Z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"PauseOutlineFilled20\", \"filepath\": \"pause--outline--filled/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2ZM14,22H12V10h2Zm6,0H18V10h2Z\" } }], \"name\": \"pause--outline--filled\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2ZM14,22H12V10h2Zm6,0H18V10h2Z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"PauseOutlineFilled16\", \"filepath\": \"pause--outline--filled/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 16 16\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M7,11H6V5h1V11z M10,11H9V5h1V11z\" } }], \"name\": \"pause--outline--filled\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\" aria-hidden=\\\"true\\\"><path d=\\\"M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M7,11H6V5h1V11z M10,11H9V5h1V11z\\\"></path></svg>\"\n            },\n        };\n    }\n    PauseOutlineFilledDirective_1 = PauseOutlineFilledDirective;\n    PauseOutlineFilledDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            PauseOutlineFilledDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"pause-outline-filled-\" + PauseOutlineFilledDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"pause-outline-filled-\" + PauseOutlineFilledDirective_1.titleIdCounter);\n        }\n    };\n    var PauseOutlineFilledDirective_1;\n    PauseOutlineFilledDirective.titleIdCounter = 0;\n    PauseOutlineFilledDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], PauseOutlineFilledDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], PauseOutlineFilledDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], PauseOutlineFilledDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], PauseOutlineFilledDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], PauseOutlineFilledDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], PauseOutlineFilledDirective.prototype, \"size\", void 0);\n    PauseOutlineFilledDirective = PauseOutlineFilledDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], PauseOutlineFilledDirective);\nPauseOutlineFilledDirective.ɵfac = function PauseOutlineFilledDirective_Factory(t) { return new (t || PauseOutlineFilledDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nPauseOutlineFilledDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: PauseOutlineFilledDirective, selectors: [[\"\", \"ibmIconPauseOutlineFilled\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(PauseOutlineFilledDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconPauseOutlineFilled]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return PauseOutlineFilledDirective;\n}());\nvar PauseOutlineFilledModule = /** @class */ (function () {\n    function PauseOutlineFilledModule() {\n    }\nPauseOutlineFilledModule.ɵfac = function PauseOutlineFilledModule_Factory(t) { return new (t || PauseOutlineFilledModule)(); };\nPauseOutlineFilledModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: PauseOutlineFilledModule });\nPauseOutlineFilledModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(PauseOutlineFilledModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    PauseOutlineFilledComponent,\n                    PauseOutlineFilledDirective,\n                ],\n                exports: [\n                    PauseOutlineFilledComponent,\n                    PauseOutlineFilledDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(PauseOutlineFilledModule, { declarations: [PauseOutlineFilledComponent, PauseOutlineFilledDirective], exports: [PauseOutlineFilledComponent, PauseOutlineFilledDirective] }); })();\n    return PauseOutlineFilledModule;\n}());\n\nexport { PauseOutlineFilledComponent, PauseOutlineFilledDirective, PauseOutlineFilledModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar PlayFilledComponent = /** @class */ (function () {\n    function PlayFilledComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], PlayFilledComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], PlayFilledComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], PlayFilledComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], PlayFilledComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], PlayFilledComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], PlayFilledComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], PlayFilledComponent.prototype, \"size\", void 0);\nPlayFilledComponent.ɵfac = function PlayFilledComponent_Factory(t) { return new (t || PlayFilledComponent)(); };\nPlayFilledComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: PlayFilledComponent, selectors: [[\"ibm-icon-play-filled\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconPlayFilled\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function PlayFilledComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [PlayFilledDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(PlayFilledComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-play-filled\",\n                template: \"\\n    <svg\\n      ibmIconPlayFilled\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return PlayFilledComponent;\n}());\nvar PlayFilledDirective = /** @class */ (function () {\n    function PlayFilledDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"PlayFilled32\", \"filepath\": \"play--filled/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm7.48,14.88-11,6a1,1,0,0,1-1,0A1,1,0,0,1,11,22V10a1,1,0,0,1,.49-.86,1,1,0,0,1,1,0l11,6a1,1,0,0,1,0,1.76Z\" } }], \"name\": \"play--filled\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm7.48,14.88-11,6a1,1,0,0,1-1,0A1,1,0,0,1,11,22V10a1,1,0,0,1,.49-.86,1,1,0,0,1,1,0l11,6a1,1,0,0,1,0,1.76Z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"PlayFilled24\", \"filepath\": \"play--filled/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm7.48,14.88-11,6a1,1,0,0,1-1,0A1,1,0,0,1,11,22V10a1,1,0,0,1,.49-.86,1,1,0,0,1,1,0l11,6a1,1,0,0,1,0,1.76Z\" } }], \"name\": \"play--filled\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm7.48,14.88-11,6a1,1,0,0,1-1,0A1,1,0,0,1,11,22V10a1,1,0,0,1,.49-.86,1,1,0,0,1,1,0l11,6a1,1,0,0,1,0,1.76Z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"PlayFilled20\", \"filepath\": \"play--filled/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm7.48,14.88-11,6a1,1,0,0,1-1,0A1,1,0,0,1,11,22V10a1,1,0,0,1,.49-.86,1,1,0,0,1,1,0l11,6a1,1,0,0,1,0,1.76Z\" } }], \"name\": \"play--filled\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm7.48,14.88-11,6a1,1,0,0,1-1,0A1,1,0,0,1,11,22V10a1,1,0,0,1,.49-.86,1,1,0,0,1,1,0l11,6a1,1,0,0,1,0,1.76Z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"PlayFilled16\", \"filepath\": \"play--filled/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 16 16\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M11.7,8.4l-5.5,3c-0.2,0.1-0.3,0.1-0.5,0c-0.2-0.1-0.2-0.3-0.2-0.4V5\\tc0-0.2,0.1-0.3,0.2-0.4c0.2-0.1,0.3-0.1,0.5,0l5.5,3C12,7.7,12.1,8,11.9,8.2C11.9,8.3,11.8,8.4,11.7,8.4L11.7,8.4z\" } }], \"name\": \"play--filled\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\" aria-hidden=\\\"true\\\"><path d=\\\"M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M11.7,8.4l-5.5,3c-0.2,0.1-0.3,0.1-0.5,0c-0.2-0.1-0.2-0.3-0.2-0.4V5\\tc0-0.2,0.1-0.3,0.2-0.4c0.2-0.1,0.3-0.1,0.5,0l5.5,3C12,7.7,12.1,8,11.9,8.2C11.9,8.3,11.8,8.4,11.7,8.4L11.7,8.4z\\\"></path></svg>\"\n            },\n        };\n    }\n    PlayFilledDirective_1 = PlayFilledDirective;\n    PlayFilledDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            PlayFilledDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"play-filled-\" + PlayFilledDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"play-filled-\" + PlayFilledDirective_1.titleIdCounter);\n        }\n    };\n    var PlayFilledDirective_1;\n    PlayFilledDirective.titleIdCounter = 0;\n    PlayFilledDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], PlayFilledDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], PlayFilledDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], PlayFilledDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], PlayFilledDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], PlayFilledDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], PlayFilledDirective.prototype, \"size\", void 0);\n    PlayFilledDirective = PlayFilledDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], PlayFilledDirective);\nPlayFilledDirective.ɵfac = function PlayFilledDirective_Factory(t) { return new (t || PlayFilledDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nPlayFilledDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: PlayFilledDirective, selectors: [[\"\", \"ibmIconPlayFilled\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(PlayFilledDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconPlayFilled]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return PlayFilledDirective;\n}());\nvar PlayFilledModule = /** @class */ (function () {\n    function PlayFilledModule() {\n    }\nPlayFilledModule.ɵfac = function PlayFilledModule_Factory(t) { return new (t || PlayFilledModule)(); };\nPlayFilledModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: PlayFilledModule });\nPlayFilledModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(PlayFilledModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    PlayFilledComponent,\n                    PlayFilledDirective,\n                ],\n                exports: [\n                    PlayFilledComponent,\n                    PlayFilledDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(PlayFilledModule, { declarations: [PlayFilledComponent, PlayFilledDirective], exports: [PlayFilledComponent, PlayFilledDirective] }); })();\n    return PlayFilledModule;\n}());\n\nexport { PlayFilledComponent, PlayFilledDirective, PlayFilledModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar RenewComponent = /** @class */ (function () {\n    function RenewComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], RenewComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], RenewComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], RenewComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], RenewComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], RenewComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], RenewComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], RenewComponent.prototype, \"size\", void 0);\nRenewComponent.ɵfac = function RenewComponent_Factory(t) { return new (t || RenewComponent)(); };\nRenewComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: RenewComponent, selectors: [[\"ibm-icon-renew\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconRenew\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function RenewComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [RenewDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(RenewComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-renew\",\n                template: \"\\n    <svg\\n      ibmIconRenew\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return RenewComponent;\n}());\nvar RenewDirective = /** @class */ (function () {\n    function RenewDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"Renew32\", \"filepath\": \"renew/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M12 10H6.78A11 11 0 0127 16h2A13 13 0 006 7.68V4H4v8h8zM20 22h5.22A11 11 0 015 16H3a13 13 0 0023 8.32V28h2V20H20z\" } }], \"name\": \"renew\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M12 10H6.78A11 11 0 0127 16h2A13 13 0 006 7.68V4H4v8h8zM20 22h5.22A11 11 0 015 16H3a13 13 0 0023 8.32V28h2V20H20z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"Renew24\", \"filepath\": \"renew/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M12 10H6.78A11 11 0 0127 16h2A13 13 0 006 7.68V4H4v8h8zM20 22h5.22A11 11 0 015 16H3a13 13 0 0023 8.32V28h2V20H20z\" } }], \"name\": \"renew\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M12 10H6.78A11 11 0 0127 16h2A13 13 0 006 7.68V4H4v8h8zM20 22h5.22A11 11 0 015 16H3a13 13 0 0023 8.32V28h2V20H20z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"Renew20\", \"filepath\": \"renew/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M12 10H6.78A11 11 0 0127 16h2A13 13 0 006 7.68V4H4v8h8zM20 22h5.22A11 11 0 015 16H3a13 13 0 0023 8.32V28h2V20H20z\" } }], \"name\": \"renew\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M12 10H6.78A11 11 0 0127 16h2A13 13 0 006 7.68V4H4v8h8zM20 22h5.22A11 11 0 015 16H3a13 13 0 0023 8.32V28h2V20H20z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"Renew16\", \"filepath\": \"renew/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M12 10H6.78A11 11 0 0127 16h2A13 13 0 006 7.68V4H4v8h8zM20 22h5.22A11 11 0 015 16H3a13 13 0 0023 8.32V28h2V20H20z\" } }], \"name\": \"renew\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M12 10H6.78A11 11 0 0127 16h2A13 13 0 006 7.68V4H4v8h8zM20 22h5.22A11 11 0 015 16H3a13 13 0 0023 8.32V28h2V20H20z\\\"></path></svg>\"\n            },\n        };\n    }\n    RenewDirective_1 = RenewDirective;\n    RenewDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            RenewDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"renew-\" + RenewDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"renew-\" + RenewDirective_1.titleIdCounter);\n        }\n    };\n    var RenewDirective_1;\n    RenewDirective.titleIdCounter = 0;\n    RenewDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], RenewDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], RenewDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], RenewDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], RenewDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], RenewDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], RenewDirective.prototype, \"size\", void 0);\n    RenewDirective = RenewDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], RenewDirective);\nRenewDirective.ɵfac = function RenewDirective_Factory(t) { return new (t || RenewDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nRenewDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: RenewDirective, selectors: [[\"\", \"ibmIconRenew\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(RenewDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconRenew]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return RenewDirective;\n}());\nvar RenewModule = /** @class */ (function () {\n    function RenewModule() {\n    }\nRenewModule.ɵfac = function RenewModule_Factory(t) { return new (t || RenewModule)(); };\nRenewModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: RenewModule });\nRenewModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(RenewModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    RenewComponent,\n                    RenewDirective,\n                ],\n                exports: [\n                    RenewComponent,\n                    RenewDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(RenewModule, { declarations: [RenewComponent, RenewDirective], exports: [RenewComponent, RenewDirective] }); })();\n    return RenewModule;\n}());\n\nexport { RenewComponent, RenewDirective, RenewModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar ReportComponent = /** @class */ (function () {\n    function ReportComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ReportComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ReportComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], ReportComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ReportComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], ReportComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ReportComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ReportComponent.prototype, \"size\", void 0);\nReportComponent.ɵfac = function ReportComponent_Factory(t) { return new (t || ReportComponent)(); };\nReportComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: ReportComponent, selectors: [[\"ibm-icon-report\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconReport\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function ReportComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [ReportDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ReportComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-report\",\n                template: \"\\n    <svg\\n      ibmIconReport\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return ReportComponent;\n}());\nvar ReportDirective = /** @class */ (function () {\n    function ReportDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"Report32\", \"filepath\": \"report/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M10 18H18V20H10zM10 13H22V15H10zM10 23H15V25H10z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M25,5H22V4a2,2,0,0,0-2-2H12a2,2,0,0,0-2,2V5H7A2,2,0,0,0,5,7V28a2,2,0,0,0,2,2H25a2,2,0,0,0,2-2V7A2,2,0,0,0,25,5ZM12,4h8V8H12ZM25,28H7V7h3v3H22V7h3Z\" } }], \"name\": \"report\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M10 18H18V20H10zM10 13H22V15H10zM10 23H15V25H10z\\\"></path><path d=\\\"M25,5H22V4a2,2,0,0,0-2-2H12a2,2,0,0,0-2,2V5H7A2,2,0,0,0,5,7V28a2,2,0,0,0,2,2H25a2,2,0,0,0,2-2V7A2,2,0,0,0,25,5ZM12,4h8V8H12ZM25,28H7V7h3v3H22V7h3Z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"Report24\", \"filepath\": \"report/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M10 18H18V20H10zM10 13H22V15H10zM10 23H15V25H10z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M25,5H22V4a2,2,0,0,0-2-2H12a2,2,0,0,0-2,2V5H7A2,2,0,0,0,5,7V28a2,2,0,0,0,2,2H25a2,2,0,0,0,2-2V7A2,2,0,0,0,25,5ZM12,4h8V8H12ZM25,28H7V7h3v3H22V7h3Z\" } }], \"name\": \"report\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M10 18H18V20H10zM10 13H22V15H10zM10 23H15V25H10z\\\"></path><path d=\\\"M25,5H22V4a2,2,0,0,0-2-2H12a2,2,0,0,0-2,2V5H7A2,2,0,0,0,5,7V28a2,2,0,0,0,2,2H25a2,2,0,0,0,2-2V7A2,2,0,0,0,25,5ZM12,4h8V8H12ZM25,28H7V7h3v3H22V7h3Z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"Report20\", \"filepath\": \"report/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M10 18H18V20H10zM10 13H22V15H10zM10 23H15V25H10z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M25,5H22V4a2,2,0,0,0-2-2H12a2,2,0,0,0-2,2V5H7A2,2,0,0,0,5,7V28a2,2,0,0,0,2,2H25a2,2,0,0,0,2-2V7A2,2,0,0,0,25,5ZM12,4h8V8H12ZM25,28H7V7h3v3H22V7h3Z\" } }], \"name\": \"report\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M10 18H18V20H10zM10 13H22V15H10zM10 23H15V25H10z\\\"></path><path d=\\\"M25,5H22V4a2,2,0,0,0-2-2H12a2,2,0,0,0-2,2V5H7A2,2,0,0,0,5,7V28a2,2,0,0,0,2,2H25a2,2,0,0,0,2-2V7A2,2,0,0,0,25,5ZM12,4h8V8H12ZM25,28H7V7h3v3H22V7h3Z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"Report16\", \"filepath\": \"report/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M10 18H18V20H10zM10 13H22V15H10zM10 23H15V25H10z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M25,5H22V4a2,2,0,0,0-2-2H12a2,2,0,0,0-2,2V5H7A2,2,0,0,0,5,7V28a2,2,0,0,0,2,2H25a2,2,0,0,0,2-2V7A2,2,0,0,0,25,5ZM12,4h8V8H12ZM25,28H7V7h3v3H22V7h3Z\" } }], \"name\": \"report\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M10 18H18V20H10zM10 13H22V15H10zM10 23H15V25H10z\\\"></path><path d=\\\"M25,5H22V4a2,2,0,0,0-2-2H12a2,2,0,0,0-2,2V5H7A2,2,0,0,0,5,7V28a2,2,0,0,0,2,2H25a2,2,0,0,0,2-2V7A2,2,0,0,0,25,5ZM12,4h8V8H12ZM25,28H7V7h3v3H22V7h3Z\\\"></path></svg>\"\n            },\n        };\n    }\n    ReportDirective_1 = ReportDirective;\n    ReportDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            ReportDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"report-\" + ReportDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"report-\" + ReportDirective_1.titleIdCounter);\n        }\n    };\n    var ReportDirective_1;\n    ReportDirective.titleIdCounter = 0;\n    ReportDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ReportDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ReportDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], ReportDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ReportDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], ReportDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ReportDirective.prototype, \"size\", void 0);\n    ReportDirective = ReportDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], ReportDirective);\nReportDirective.ɵfac = function ReportDirective_Factory(t) { return new (t || ReportDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nReportDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: ReportDirective, selectors: [[\"\", \"ibmIconReport\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ReportDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconReport]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return ReportDirective;\n}());\nvar ReportModule = /** @class */ (function () {\n    function ReportModule() {\n    }\nReportModule.ɵfac = function ReportModule_Factory(t) { return new (t || ReportModule)(); };\nReportModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: ReportModule });\nReportModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ReportModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    ReportComponent,\n                    ReportDirective,\n                ],\n                exports: [\n                    ReportComponent,\n                    ReportDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(ReportModule, { declarations: [ReportComponent, ReportDirective], exports: [ReportComponent, ReportDirective] }); })();\n    return ReportModule;\n}());\n\nexport { ReportComponent, ReportDirective, ReportModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar RocketComponent = /** @class */ (function () {\n    function RocketComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], RocketComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], RocketComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], RocketComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], RocketComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], RocketComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], RocketComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], RocketComponent.prototype, \"size\", void 0);\nRocketComponent.ɵfac = function RocketComponent_Factory(t) { return new (t || RocketComponent)(); };\nRocketComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: RocketComponent, selectors: [[\"ibm-icon-rocket\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconRocket\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function RocketComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [RocketDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(RocketComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-rocket\",\n                template: \"\\n    <svg\\n      ibmIconRocket\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return RocketComponent;\n}());\nvar RocketDirective = /** @class */ (function () {\n    function RocketDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"Rocket32\", \"filepath\": \"rocket/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M6.34 19H17.65V21H6.34z\", \"transform\": \"rotate(-45 11.995 20.002)\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M17,30a1,1,0,0,1-.37-.07,1,1,0,0,1-.62-.79l-1-7,2-.28.75,5.27L21,24.52V17a1,1,0,0,1,.29-.71l4.07-4.07A8.94,8.94,0,0,0,28,5.86V4H26.14a8.94,8.94,0,0,0-6.36,2.64l-4.07,4.07A1,1,0,0,1,15,11H7.48L4.87,14.26l5.27.75-.28,2-7-1a1,1,0,0,1-.79-.62,1,1,0,0,1,.15-1l4-5A1,1,0,0,1,7,9h7.59l3.77-3.78A10.92,10.92,0,0,1,26.14,2H28a2,2,0,0,1,2,2V5.86a10.92,10.92,0,0,1-3.22,7.78L23,17.41V25a1,1,0,0,1-.38.78l-5,4A1,1,0,0,1,17,30Z\" } }], \"name\": \"rocket\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M6.34 19H17.65V21H6.34z\\\" transform=\\\"rotate(-45 11.995 20.002)\\\"></path><path d=\\\"M17,30a1,1,0,0,1-.37-.07,1,1,0,0,1-.62-.79l-1-7,2-.28.75,5.27L21,24.52V17a1,1,0,0,1,.29-.71l4.07-4.07A8.94,8.94,0,0,0,28,5.86V4H26.14a8.94,8.94,0,0,0-6.36,2.64l-4.07,4.07A1,1,0,0,1,15,11H7.48L4.87,14.26l5.27.75-.28,2-7-1a1,1,0,0,1-.79-.62,1,1,0,0,1,.15-1l4-5A1,1,0,0,1,7,9h7.59l3.77-3.78A10.92,10.92,0,0,1,26.14,2H28a2,2,0,0,1,2,2V5.86a10.92,10.92,0,0,1-3.22,7.78L23,17.41V25a1,1,0,0,1-.38.78l-5,4A1,1,0,0,1,17,30Z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"Rocket24\", \"filepath\": \"rocket/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M6.34 19H17.65V21H6.34z\", \"transform\": \"rotate(-45 11.995 20.002)\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M17,30a1,1,0,0,1-.37-.07,1,1,0,0,1-.62-.79l-1-7,2-.28.75,5.27L21,24.52V17a1,1,0,0,1,.29-.71l4.07-4.07A8.94,8.94,0,0,0,28,5.86V4H26.14a8.94,8.94,0,0,0-6.36,2.64l-4.07,4.07A1,1,0,0,1,15,11H7.48L4.87,14.26l5.27.75-.28,2-7-1a1,1,0,0,1-.79-.62,1,1,0,0,1,.15-1l4-5A1,1,0,0,1,7,9h7.59l3.77-3.78A10.92,10.92,0,0,1,26.14,2H28a2,2,0,0,1,2,2V5.86a10.92,10.92,0,0,1-3.22,7.78L23,17.41V25a1,1,0,0,1-.38.78l-5,4A1,1,0,0,1,17,30Z\" } }], \"name\": \"rocket\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M6.34 19H17.65V21H6.34z\\\" transform=\\\"rotate(-45 11.995 20.002)\\\"></path><path d=\\\"M17,30a1,1,0,0,1-.37-.07,1,1,0,0,1-.62-.79l-1-7,2-.28.75,5.27L21,24.52V17a1,1,0,0,1,.29-.71l4.07-4.07A8.94,8.94,0,0,0,28,5.86V4H26.14a8.94,8.94,0,0,0-6.36,2.64l-4.07,4.07A1,1,0,0,1,15,11H7.48L4.87,14.26l5.27.75-.28,2-7-1a1,1,0,0,1-.79-.62,1,1,0,0,1,.15-1l4-5A1,1,0,0,1,7,9h7.59l3.77-3.78A10.92,10.92,0,0,1,26.14,2H28a2,2,0,0,1,2,2V5.86a10.92,10.92,0,0,1-3.22,7.78L23,17.41V25a1,1,0,0,1-.38.78l-5,4A1,1,0,0,1,17,30Z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"Rocket20\", \"filepath\": \"rocket/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M6.34 19H17.65V21H6.34z\", \"transform\": \"rotate(-45 11.995 20.002)\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M17,30a1,1,0,0,1-.37-.07,1,1,0,0,1-.62-.79l-1-7,2-.28.75,5.27L21,24.52V17a1,1,0,0,1,.29-.71l4.07-4.07A8.94,8.94,0,0,0,28,5.86V4H26.14a8.94,8.94,0,0,0-6.36,2.64l-4.07,4.07A1,1,0,0,1,15,11H7.48L4.87,14.26l5.27.75-.28,2-7-1a1,1,0,0,1-.79-.62,1,1,0,0,1,.15-1l4-5A1,1,0,0,1,7,9h7.59l3.77-3.78A10.92,10.92,0,0,1,26.14,2H28a2,2,0,0,1,2,2V5.86a10.92,10.92,0,0,1-3.22,7.78L23,17.41V25a1,1,0,0,1-.38.78l-5,4A1,1,0,0,1,17,30Z\" } }], \"name\": \"rocket\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M6.34 19H17.65V21H6.34z\\\" transform=\\\"rotate(-45 11.995 20.002)\\\"></path><path d=\\\"M17,30a1,1,0,0,1-.37-.07,1,1,0,0,1-.62-.79l-1-7,2-.28.75,5.27L21,24.52V17a1,1,0,0,1,.29-.71l4.07-4.07A8.94,8.94,0,0,0,28,5.86V4H26.14a8.94,8.94,0,0,0-6.36,2.64l-4.07,4.07A1,1,0,0,1,15,11H7.48L4.87,14.26l5.27.75-.28,2-7-1a1,1,0,0,1-.79-.62,1,1,0,0,1,.15-1l4-5A1,1,0,0,1,7,9h7.59l3.77-3.78A10.92,10.92,0,0,1,26.14,2H28a2,2,0,0,1,2,2V5.86a10.92,10.92,0,0,1-3.22,7.78L23,17.41V25a1,1,0,0,1-.38.78l-5,4A1,1,0,0,1,17,30Z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"Rocket16\", \"filepath\": \"rocket/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M6.34 19H17.65V21H6.34z\", \"transform\": \"rotate(-45 11.995 20.002)\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M17,30a1,1,0,0,1-.37-.07,1,1,0,0,1-.62-.79l-1-7,2-.28.75,5.27L21,24.52V17a1,1,0,0,1,.29-.71l4.07-4.07A8.94,8.94,0,0,0,28,5.86V4H26.14a8.94,8.94,0,0,0-6.36,2.64l-4.07,4.07A1,1,0,0,1,15,11H7.48L4.87,14.26l5.27.75-.28,2-7-1a1,1,0,0,1-.79-.62,1,1,0,0,1,.15-1l4-5A1,1,0,0,1,7,9h7.59l3.77-3.78A10.92,10.92,0,0,1,26.14,2H28a2,2,0,0,1,2,2V5.86a10.92,10.92,0,0,1-3.22,7.78L23,17.41V25a1,1,0,0,1-.38.78l-5,4A1,1,0,0,1,17,30Z\" } }], \"name\": \"rocket\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M6.34 19H17.65V21H6.34z\\\" transform=\\\"rotate(-45 11.995 20.002)\\\"></path><path d=\\\"M17,30a1,1,0,0,1-.37-.07,1,1,0,0,1-.62-.79l-1-7,2-.28.75,5.27L21,24.52V17a1,1,0,0,1,.29-.71l4.07-4.07A8.94,8.94,0,0,0,28,5.86V4H26.14a8.94,8.94,0,0,0-6.36,2.64l-4.07,4.07A1,1,0,0,1,15,11H7.48L4.87,14.26l5.27.75-.28,2-7-1a1,1,0,0,1-.79-.62,1,1,0,0,1,.15-1l4-5A1,1,0,0,1,7,9h7.59l3.77-3.78A10.92,10.92,0,0,1,26.14,2H28a2,2,0,0,1,2,2V5.86a10.92,10.92,0,0,1-3.22,7.78L23,17.41V25a1,1,0,0,1-.38.78l-5,4A1,1,0,0,1,17,30Z\\\"></path></svg>\"\n            },\n        };\n    }\n    RocketDirective_1 = RocketDirective;\n    RocketDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            RocketDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"rocket-\" + RocketDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"rocket-\" + RocketDirective_1.titleIdCounter);\n        }\n    };\n    var RocketDirective_1;\n    RocketDirective.titleIdCounter = 0;\n    RocketDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], RocketDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], RocketDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], RocketDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], RocketDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], RocketDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], RocketDirective.prototype, \"size\", void 0);\n    RocketDirective = RocketDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], RocketDirective);\nRocketDirective.ɵfac = function RocketDirective_Factory(t) { return new (t || RocketDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nRocketDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: RocketDirective, selectors: [[\"\", \"ibmIconRocket\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(RocketDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconRocket]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return RocketDirective;\n}());\nvar RocketModule = /** @class */ (function () {\n    function RocketModule() {\n    }\nRocketModule.ɵfac = function RocketModule_Factory(t) { return new (t || RocketModule)(); };\nRocketModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: RocketModule });\nRocketModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(RocketModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    RocketComponent,\n                    RocketDirective,\n                ],\n                exports: [\n                    RocketComponent,\n                    RocketDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(RocketModule, { declarations: [RocketComponent, RocketDirective], exports: [RocketComponent, RocketDirective] }); })();\n    return RocketModule;\n}());\n\nexport { RocketComponent, RocketDirective, RocketModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar SankeyDiagramComponent = /** @class */ (function () {\n    function SankeyDiagramComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], SankeyDiagramComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], SankeyDiagramComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], SankeyDiagramComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], SankeyDiagramComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], SankeyDiagramComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], SankeyDiagramComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], SankeyDiagramComponent.prototype, \"size\", void 0);\nSankeyDiagramComponent.ɵfac = function SankeyDiagramComponent_Factory(t) { return new (t || SankeyDiagramComponent)(); };\nSankeyDiagramComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: SankeyDiagramComponent, selectors: [[\"ibm-icon-sankey-diagram\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconSankeyDiagram\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function SankeyDiagramComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [SankeyDiagramDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(SankeyDiagramComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-sankey-diagram\",\n                template: \"\\n    <svg\\n      ibmIconSankeyDiagram\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return SankeyDiagramComponent;\n}());\nvar SankeyDiagramDirective = /** @class */ (function () {\n    function SankeyDiagramDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"SankeyDiagram32\", \"filepath\": \"sankey-diagram/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M28,2V8.0439c-1.9634.1968-6.3162,1.2325-10.5637,6.2764-.198-.2768-.3982-.5464-.5882-.8506C11.9736,5.6714,6.3191,4.2759,4,4.042V2H2V30H4V26.0464a14.8661,14.8661,0,0,0,9.9185-3.96C18.47,27.46,25.2363,28.0381,27.9341,28.0381c.0244,0,.0422-.001.0659-.001V30h2V2Zm0,8.0552v9.99a12.8834,12.8834,0,0,1-9.2756-4.1328C22.5032,11.2666,26.2915,10.26,28,10.0552ZM15.1519,14.53c.3242.5185.663.9907,1.0078,1.4409-.3384.4741-.6753.9707-1.0078,1.5029a16.1346,16.1346,0,0,1-1.0313,1.4531c-.0825-.1372-.1675-.27-.2466-.4126C9.3279,10.3315,5.7871,8.4438,4,8.0684V6.0508C5.9932,6.2905,10.8228,7.6035,15.1519,14.53ZM4,24.0488V10.1406c1.3254.4644,4.2034,2.2847,8.126,9.3448.1894.3413.396.6523.6.9667A12.8784,12.8784,0,0,1,4,24.0488Zm11.3179-3.4209a18.0563,18.0563,0,0,0,1.53-2.0937c.2212-.354.4454-.67.6687-.9951A14.8686,14.8686,0,0,0,28,22.0425v3.9863C25.67,26.019,19.374,25.5088,15.3179,20.6279Z\" } }], \"name\": \"sankey-diagram\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M28,2V8.0439c-1.9634.1968-6.3162,1.2325-10.5637,6.2764-.198-.2768-.3982-.5464-.5882-.8506C11.9736,5.6714,6.3191,4.2759,4,4.042V2H2V30H4V26.0464a14.8661,14.8661,0,0,0,9.9185-3.96C18.47,27.46,25.2363,28.0381,27.9341,28.0381c.0244,0,.0422-.001.0659-.001V30h2V2Zm0,8.0552v9.99a12.8834,12.8834,0,0,1-9.2756-4.1328C22.5032,11.2666,26.2915,10.26,28,10.0552ZM15.1519,14.53c.3242.5185.663.9907,1.0078,1.4409-.3384.4741-.6753.9707-1.0078,1.5029a16.1346,16.1346,0,0,1-1.0313,1.4531c-.0825-.1372-.1675-.27-.2466-.4126C9.3279,10.3315,5.7871,8.4438,4,8.0684V6.0508C5.9932,6.2905,10.8228,7.6035,15.1519,14.53ZM4,24.0488V10.1406c1.3254.4644,4.2034,2.2847,8.126,9.3448.1894.3413.396.6523.6.9667A12.8784,12.8784,0,0,1,4,24.0488Zm11.3179-3.4209a18.0563,18.0563,0,0,0,1.53-2.0937c.2212-.354.4454-.67.6687-.9951A14.8686,14.8686,0,0,0,28,22.0425v3.9863C25.67,26.019,19.374,25.5088,15.3179,20.6279Z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"SankeyDiagram24\", \"filepath\": \"sankey-diagram/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M28,2V8.0439c-1.9634.1968-6.3162,1.2325-10.5637,6.2764-.198-.2768-.3982-.5464-.5882-.8506C11.9736,5.6714,6.3191,4.2759,4,4.042V2H2V30H4V26.0464a14.8661,14.8661,0,0,0,9.9185-3.96C18.47,27.46,25.2363,28.0381,27.9341,28.0381c.0244,0,.0422-.001.0659-.001V30h2V2Zm0,8.0552v9.99a12.8834,12.8834,0,0,1-9.2756-4.1328C22.5032,11.2666,26.2915,10.26,28,10.0552ZM15.1519,14.53c.3242.5185.663.9907,1.0078,1.4409-.3384.4741-.6753.9707-1.0078,1.5029a16.1346,16.1346,0,0,1-1.0313,1.4531c-.0825-.1372-.1675-.27-.2466-.4126C9.3279,10.3315,5.7871,8.4438,4,8.0684V6.0508C5.9932,6.2905,10.8228,7.6035,15.1519,14.53ZM4,24.0488V10.1406c1.3254.4644,4.2034,2.2847,8.126,9.3448.1894.3413.396.6523.6.9667A12.8784,12.8784,0,0,1,4,24.0488Zm11.3179-3.4209a18.0563,18.0563,0,0,0,1.53-2.0937c.2212-.354.4454-.67.6687-.9951A14.8686,14.8686,0,0,0,28,22.0425v3.9863C25.67,26.019,19.374,25.5088,15.3179,20.6279Z\" } }], \"name\": \"sankey-diagram\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M28,2V8.0439c-1.9634.1968-6.3162,1.2325-10.5637,6.2764-.198-.2768-.3982-.5464-.5882-.8506C11.9736,5.6714,6.3191,4.2759,4,4.042V2H2V30H4V26.0464a14.8661,14.8661,0,0,0,9.9185-3.96C18.47,27.46,25.2363,28.0381,27.9341,28.0381c.0244,0,.0422-.001.0659-.001V30h2V2Zm0,8.0552v9.99a12.8834,12.8834,0,0,1-9.2756-4.1328C22.5032,11.2666,26.2915,10.26,28,10.0552ZM15.1519,14.53c.3242.5185.663.9907,1.0078,1.4409-.3384.4741-.6753.9707-1.0078,1.5029a16.1346,16.1346,0,0,1-1.0313,1.4531c-.0825-.1372-.1675-.27-.2466-.4126C9.3279,10.3315,5.7871,8.4438,4,8.0684V6.0508C5.9932,6.2905,10.8228,7.6035,15.1519,14.53ZM4,24.0488V10.1406c1.3254.4644,4.2034,2.2847,8.126,9.3448.1894.3413.396.6523.6.9667A12.8784,12.8784,0,0,1,4,24.0488Zm11.3179-3.4209a18.0563,18.0563,0,0,0,1.53-2.0937c.2212-.354.4454-.67.6687-.9951A14.8686,14.8686,0,0,0,28,22.0425v3.9863C25.67,26.019,19.374,25.5088,15.3179,20.6279Z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"SankeyDiagram20\", \"filepath\": \"sankey-diagram/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M28,2V8.0439c-1.9634.1968-6.3162,1.2325-10.5637,6.2764-.198-.2768-.3982-.5464-.5882-.8506C11.9736,5.6714,6.3191,4.2759,4,4.042V2H2V30H4V26.0464a14.8661,14.8661,0,0,0,9.9185-3.96C18.47,27.46,25.2363,28.0381,27.9341,28.0381c.0244,0,.0422-.001.0659-.001V30h2V2Zm0,8.0552v9.99a12.8834,12.8834,0,0,1-9.2756-4.1328C22.5032,11.2666,26.2915,10.26,28,10.0552ZM15.1519,14.53c.3242.5185.663.9907,1.0078,1.4409-.3384.4741-.6753.9707-1.0078,1.5029a16.1346,16.1346,0,0,1-1.0313,1.4531c-.0825-.1372-.1675-.27-.2466-.4126C9.3279,10.3315,5.7871,8.4438,4,8.0684V6.0508C5.9932,6.2905,10.8228,7.6035,15.1519,14.53ZM4,24.0488V10.1406c1.3254.4644,4.2034,2.2847,8.126,9.3448.1894.3413.396.6523.6.9667A12.8784,12.8784,0,0,1,4,24.0488Zm11.3179-3.4209a18.0563,18.0563,0,0,0,1.53-2.0937c.2212-.354.4454-.67.6687-.9951A14.8686,14.8686,0,0,0,28,22.0425v3.9863C25.67,26.019,19.374,25.5088,15.3179,20.6279Z\" } }], \"name\": \"sankey-diagram\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M28,2V8.0439c-1.9634.1968-6.3162,1.2325-10.5637,6.2764-.198-.2768-.3982-.5464-.5882-.8506C11.9736,5.6714,6.3191,4.2759,4,4.042V2H2V30H4V26.0464a14.8661,14.8661,0,0,0,9.9185-3.96C18.47,27.46,25.2363,28.0381,27.9341,28.0381c.0244,0,.0422-.001.0659-.001V30h2V2Zm0,8.0552v9.99a12.8834,12.8834,0,0,1-9.2756-4.1328C22.5032,11.2666,26.2915,10.26,28,10.0552ZM15.1519,14.53c.3242.5185.663.9907,1.0078,1.4409-.3384.4741-.6753.9707-1.0078,1.5029a16.1346,16.1346,0,0,1-1.0313,1.4531c-.0825-.1372-.1675-.27-.2466-.4126C9.3279,10.3315,5.7871,8.4438,4,8.0684V6.0508C5.9932,6.2905,10.8228,7.6035,15.1519,14.53ZM4,24.0488V10.1406c1.3254.4644,4.2034,2.2847,8.126,9.3448.1894.3413.396.6523.6.9667A12.8784,12.8784,0,0,1,4,24.0488Zm11.3179-3.4209a18.0563,18.0563,0,0,0,1.53-2.0937c.2212-.354.4454-.67.6687-.9951A14.8686,14.8686,0,0,0,28,22.0425v3.9863C25.67,26.019,19.374,25.5088,15.3179,20.6279Z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"SankeyDiagram16\", \"filepath\": \"sankey-diagram/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M28,2V8.0439c-1.9634.1968-6.3162,1.2325-10.5637,6.2764-.198-.2768-.3982-.5464-.5882-.8506C11.9736,5.6714,6.3191,4.2759,4,4.042V2H2V30H4V26.0464a14.8661,14.8661,0,0,0,9.9185-3.96C18.47,27.46,25.2363,28.0381,27.9341,28.0381c.0244,0,.0422-.001.0659-.001V30h2V2Zm0,8.0552v9.99a12.8834,12.8834,0,0,1-9.2756-4.1328C22.5032,11.2666,26.2915,10.26,28,10.0552ZM15.1519,14.53c.3242.5185.663.9907,1.0078,1.4409-.3384.4741-.6753.9707-1.0078,1.5029a16.1346,16.1346,0,0,1-1.0313,1.4531c-.0825-.1372-.1675-.27-.2466-.4126C9.3279,10.3315,5.7871,8.4438,4,8.0684V6.0508C5.9932,6.2905,10.8228,7.6035,15.1519,14.53ZM4,24.0488V10.1406c1.3254.4644,4.2034,2.2847,8.126,9.3448.1894.3413.396.6523.6.9667A12.8784,12.8784,0,0,1,4,24.0488Zm11.3179-3.4209a18.0563,18.0563,0,0,0,1.53-2.0937c.2212-.354.4454-.67.6687-.9951A14.8686,14.8686,0,0,0,28,22.0425v3.9863C25.67,26.019,19.374,25.5088,15.3179,20.6279Z\" } }], \"name\": \"sankey-diagram\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M28,2V8.0439c-1.9634.1968-6.3162,1.2325-10.5637,6.2764-.198-.2768-.3982-.5464-.5882-.8506C11.9736,5.6714,6.3191,4.2759,4,4.042V2H2V30H4V26.0464a14.8661,14.8661,0,0,0,9.9185-3.96C18.47,27.46,25.2363,28.0381,27.9341,28.0381c.0244,0,.0422-.001.0659-.001V30h2V2Zm0,8.0552v9.99a12.8834,12.8834,0,0,1-9.2756-4.1328C22.5032,11.2666,26.2915,10.26,28,10.0552ZM15.1519,14.53c.3242.5185.663.9907,1.0078,1.4409-.3384.4741-.6753.9707-1.0078,1.5029a16.1346,16.1346,0,0,1-1.0313,1.4531c-.0825-.1372-.1675-.27-.2466-.4126C9.3279,10.3315,5.7871,8.4438,4,8.0684V6.0508C5.9932,6.2905,10.8228,7.6035,15.1519,14.53ZM4,24.0488V10.1406c1.3254.4644,4.2034,2.2847,8.126,9.3448.1894.3413.396.6523.6.9667A12.8784,12.8784,0,0,1,4,24.0488Zm11.3179-3.4209a18.0563,18.0563,0,0,0,1.53-2.0937c.2212-.354.4454-.67.6687-.9951A14.8686,14.8686,0,0,0,28,22.0425v3.9863C25.67,26.019,19.374,25.5088,15.3179,20.6279Z\\\"></path></svg>\"\n            },\n        };\n    }\n    SankeyDiagramDirective_1 = SankeyDiagramDirective;\n    SankeyDiagramDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            SankeyDiagramDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"sankey-diagram-\" + SankeyDiagramDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"sankey-diagram-\" + SankeyDiagramDirective_1.titleIdCounter);\n        }\n    };\n    var SankeyDiagramDirective_1;\n    SankeyDiagramDirective.titleIdCounter = 0;\n    SankeyDiagramDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], SankeyDiagramDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], SankeyDiagramDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], SankeyDiagramDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], SankeyDiagramDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], SankeyDiagramDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], SankeyDiagramDirective.prototype, \"size\", void 0);\n    SankeyDiagramDirective = SankeyDiagramDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], SankeyDiagramDirective);\nSankeyDiagramDirective.ɵfac = function SankeyDiagramDirective_Factory(t) { return new (t || SankeyDiagramDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nSankeyDiagramDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: SankeyDiagramDirective, selectors: [[\"\", \"ibmIconSankeyDiagram\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(SankeyDiagramDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconSankeyDiagram]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return SankeyDiagramDirective;\n}());\nvar SankeyDiagramModule = /** @class */ (function () {\n    function SankeyDiagramModule() {\n    }\nSankeyDiagramModule.ɵfac = function SankeyDiagramModule_Factory(t) { return new (t || SankeyDiagramModule)(); };\nSankeyDiagramModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: SankeyDiagramModule });\nSankeyDiagramModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(SankeyDiagramModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    SankeyDiagramComponent,\n                    SankeyDiagramDirective,\n                ],\n                exports: [\n                    SankeyDiagramComponent,\n                    SankeyDiagramDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(SankeyDiagramModule, { declarations: [SankeyDiagramComponent, SankeyDiagramDirective], exports: [SankeyDiagramComponent, SankeyDiagramDirective] }); })();\n    return SankeyDiagramModule;\n}());\n\nexport { SankeyDiagramComponent, SankeyDiagramDirective, SankeyDiagramModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar SaveComponent = /** @class */ (function () {\n    function SaveComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], SaveComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], SaveComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], SaveComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], SaveComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], SaveComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], SaveComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], SaveComponent.prototype, \"size\", void 0);\nSaveComponent.ɵfac = function SaveComponent_Factory(t) { return new (t || SaveComponent)(); };\nSaveComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: SaveComponent, selectors: [[\"ibm-icon-save\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconSave\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function SaveComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [SaveDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(SaveComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-save\",\n                template: \"\\n    <svg\\n      ibmIconSave\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return SaveComponent;\n}());\nvar SaveDirective = /** @class */ (function () {\n    function SaveDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"Save32\", \"filepath\": \"save/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M27.71,9.29l-5-5A1,1,0,0,0,22,4H6A2,2,0,0,0,4,6V26a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2V10A1,1,0,0,0,27.71,9.29ZM12,6h8v4H12Zm8,20H12V18h8Zm2,0V18a2,2,0,0,0-2-2H12a2,2,0,0,0-2,2v8H6V6h4v4a2,2,0,0,0,2,2h8a2,2,0,0,0,2-2V6.41l4,4V26Z\" } }], \"name\": \"save\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M27.71,9.29l-5-5A1,1,0,0,0,22,4H6A2,2,0,0,0,4,6V26a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2V10A1,1,0,0,0,27.71,9.29ZM12,6h8v4H12Zm8,20H12V18h8Zm2,0V18a2,2,0,0,0-2-2H12a2,2,0,0,0-2,2v8H6V6h4v4a2,2,0,0,0,2,2h8a2,2,0,0,0,2-2V6.41l4,4V26Z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"Save24\", \"filepath\": \"save/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 24 24\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M20.8,7L17,3.2C16.9,3.1,16.7,3,16.5,3h-12C3.7,3,3,3.7,3,4.5v15C3,20.3,3.7,21,4.5,21h15c0.8,0,1.5-0.7,1.5-1.5v-12\\tC21,7.3,20.9,7.1,20.8,7z M9,4.5h6v3H9V4.5z M15,19.5H9v-6h6V19.5z M16.5,19.5v-6c0-0.8-0.7-1.5-1.5-1.5H9c-0.8,0-1.5,0.7-1.5,1.5v6\\th-3v-15h3v3C7.5,8.3,8.2,9,9,9h6c0.8,0,1.5-0.7,1.5-1.5V4.8l3,3v11.7H16.5z\" } }], \"name\": \"save\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" aria-hidden=\\\"true\\\"><path d=\\\"M20.8,7L17,3.2C16.9,3.1,16.7,3,16.5,3h-12C3.7,3,3,3.7,3,4.5v15C3,20.3,3.7,21,4.5,21h15c0.8,0,1.5-0.7,1.5-1.5v-12\\tC21,7.3,20.9,7.1,20.8,7z M9,4.5h6v3H9V4.5z M15,19.5H9v-6h6V19.5z M16.5,19.5v-6c0-0.8-0.7-1.5-1.5-1.5H9c-0.8,0-1.5,0.7-1.5,1.5v6\\th-3v-15h3v3C7.5,8.3,8.2,9,9,9h6c0.8,0,1.5-0.7,1.5-1.5V4.8l3,3v11.7H16.5z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"Save20\", \"filepath\": \"save/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 20 20\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M17.8,5.5l-3.3-3.3C14.3,2.1,14.2,2,14,2H3.3C2.6,2,2,2.6,2,3.3v13.3C2,17.4,2.6,18,3.3,18h13.3c0.7,0,1.4-0.5,1.4-1.2V6.1\\tC18,5.7,17.9,5.7,17.8,5.5z M7.3,3.3h5.3v3.3H7.3V3.3z M12.7,16.7H7.3v-5.3h5.3L12.7,16.7L12.7,16.7z M14,16.7v-5.3\\tc0-0.7-0.6-1.3-1.3-1.3H7.3C6.6,10,6,10.6,6,11.3v5.3H3.3V3.3H6v3.3C6,7.4,6.6,8,7.3,8h5.3C13.4,8,14,7.4,14,6.7v-3l2.7,2.7v10.4\\tL14,16.7L14,16.7z\" } }], \"name\": \"save\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 20 20\\\" aria-hidden=\\\"true\\\"><path d=\\\"M17.8,5.5l-3.3-3.3C14.3,2.1,14.2,2,14,2H3.3C2.6,2,2,2.6,2,3.3v13.3C2,17.4,2.6,18,3.3,18h13.3c0.7,0,1.4-0.5,1.4-1.2V6.1\\tC18,5.7,17.9,5.7,17.8,5.5z M7.3,3.3h5.3v3.3H7.3V3.3z M12.7,16.7H7.3v-5.3h5.3L12.7,16.7L12.7,16.7z M14,16.7v-5.3\\tc0-0.7-0.6-1.3-1.3-1.3H7.3C6.6,10,6,10.6,6,11.3v5.3H3.3V3.3H6v3.3C6,7.4,6.6,8,7.3,8h5.3C13.4,8,14,7.4,14,6.7v-3l2.7,2.7v10.4\\tL14,16.7L14,16.7z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"Save16\", \"filepath\": \"save/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 16 16\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M13.9,4.6l-2.5-2.5C11.3,2.1,11.1,2,11,2H3C2.4,2,2,2.4,2,3v10c0,0.6,0.4,1,1,1h10c0.6,0,1-0.4,1-1V5\\tC14,4.9,13.9,4.7,13.9,4.6z M6,3h4v2H6V3z M10,13H6V9h4V13z M11,13V9c0-0.6-0.4-1-1-1H6C5.4,8,5,8.4,5,9v4H3V3h2v2c0,0.6,0.4,1,1,1\\th4c0.6,0,1-0.4,1-1V3.2l2,2V13H11z\" } }], \"name\": \"save\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\" aria-hidden=\\\"true\\\"><path d=\\\"M13.9,4.6l-2.5-2.5C11.3,2.1,11.1,2,11,2H3C2.4,2,2,2.4,2,3v10c0,0.6,0.4,1,1,1h10c0.6,0,1-0.4,1-1V5\\tC14,4.9,13.9,4.7,13.9,4.6z M6,3h4v2H6V3z M10,13H6V9h4V13z M11,13V9c0-0.6-0.4-1-1-1H6C5.4,8,5,8.4,5,9v4H3V3h2v2c0,0.6,0.4,1,1,1\\th4c0.6,0,1-0.4,1-1V3.2l2,2V13H11z\\\"></path></svg>\"\n            },\n        };\n    }\n    SaveDirective_1 = SaveDirective;\n    SaveDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            SaveDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"save-\" + SaveDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"save-\" + SaveDirective_1.titleIdCounter);\n        }\n    };\n    var SaveDirective_1;\n    SaveDirective.titleIdCounter = 0;\n    SaveDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], SaveDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], SaveDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], SaveDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], SaveDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], SaveDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], SaveDirective.prototype, \"size\", void 0);\n    SaveDirective = SaveDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], SaveDirective);\nSaveDirective.ɵfac = function SaveDirective_Factory(t) { return new (t || SaveDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nSaveDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: SaveDirective, selectors: [[\"\", \"ibmIconSave\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(SaveDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconSave]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return SaveDirective;\n}());\nvar SaveModule = /** @class */ (function () {\n    function SaveModule() {\n    }\nSaveModule.ɵfac = function SaveModule_Factory(t) { return new (t || SaveModule)(); };\nSaveModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: SaveModule });\nSaveModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(SaveModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    SaveComponent,\n                    SaveDirective,\n                ],\n                exports: [\n                    SaveComponent,\n                    SaveDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(SaveModule, { declarations: [SaveComponent, SaveDirective], exports: [SaveComponent, SaveDirective] }); })();\n    return SaveModule;\n}());\n\nexport { SaveComponent, SaveDirective, SaveModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar SchematicsComponent = /** @class */ (function () {\n    function SchematicsComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], SchematicsComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], SchematicsComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], SchematicsComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], SchematicsComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], SchematicsComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], SchematicsComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], SchematicsComponent.prototype, \"size\", void 0);\nSchematicsComponent.ɵfac = function SchematicsComponent_Factory(t) { return new (t || SchematicsComponent)(); };\nSchematicsComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: SchematicsComponent, selectors: [[\"ibm-icon-schematics\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconSchematics\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function SchematicsComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [SchematicsDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(SchematicsComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-schematics\",\n                template: \"\\n    <svg\\n      ibmIconSchematics\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return SchematicsComponent;\n}());\nvar SchematicsDirective = /** @class */ (function () {\n    function SchematicsDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"Schematics32\", \"filepath\": \"schematics/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M27,19.001A4.0056,4.0056,0,0,0,22.9991,15H9.0011A2.0031,2.0031,0,0,1,7,12.9991V9.858A3.9949,3.9949,0,0,0,9.8581,7h12.284a4,4,0,1,0,0-2H9.8581A3.9916,3.9916,0,1,0,5,9.858v3.1411A4.0057,4.0057,0,0,0,9.0011,17h13.998A2.003,2.003,0,0,1,25,19.001V22H22v3H9.8581a4,4,0,1,0,0,2H22v3h8V22H27ZM26,4a2,2,0,1,1-2,2A2.0019,2.0019,0,0,1,26,4ZM4,6A2,2,0,1,1,6,8,2.0019,2.0019,0,0,1,4,6ZM6,28a2,2,0,1,1,2-2A2.002,2.002,0,0,1,6,28Zm22-4v4H24V24Z\" } }], \"name\": \"schematics\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M27,19.001A4.0056,4.0056,0,0,0,22.9991,15H9.0011A2.0031,2.0031,0,0,1,7,12.9991V9.858A3.9949,3.9949,0,0,0,9.8581,7h12.284a4,4,0,1,0,0-2H9.8581A3.9916,3.9916,0,1,0,5,9.858v3.1411A4.0057,4.0057,0,0,0,9.0011,17h13.998A2.003,2.003,0,0,1,25,19.001V22H22v3H9.8581a4,4,0,1,0,0,2H22v3h8V22H27ZM26,4a2,2,0,1,1-2,2A2.0019,2.0019,0,0,1,26,4ZM4,6A2,2,0,1,1,6,8,2.0019,2.0019,0,0,1,4,6ZM6,28a2,2,0,1,1,2-2A2.002,2.002,0,0,1,6,28Zm22-4v4H24V24Z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"Schematics24\", \"filepath\": \"schematics/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M27,19.001A4.0056,4.0056,0,0,0,22.9991,15H9.0011A2.0031,2.0031,0,0,1,7,12.9991V9.858A3.9949,3.9949,0,0,0,9.8581,7h12.284a4,4,0,1,0,0-2H9.8581A3.9916,3.9916,0,1,0,5,9.858v3.1411A4.0057,4.0057,0,0,0,9.0011,17h13.998A2.003,2.003,0,0,1,25,19.001V22H22v3H9.8581a4,4,0,1,0,0,2H22v3h8V22H27ZM26,4a2,2,0,1,1-2,2A2.0019,2.0019,0,0,1,26,4ZM4,6A2,2,0,1,1,6,8,2.0019,2.0019,0,0,1,4,6ZM6,28a2,2,0,1,1,2-2A2.002,2.002,0,0,1,6,28Zm22-4v4H24V24Z\" } }], \"name\": \"schematics\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M27,19.001A4.0056,4.0056,0,0,0,22.9991,15H9.0011A2.0031,2.0031,0,0,1,7,12.9991V9.858A3.9949,3.9949,0,0,0,9.8581,7h12.284a4,4,0,1,0,0-2H9.8581A3.9916,3.9916,0,1,0,5,9.858v3.1411A4.0057,4.0057,0,0,0,9.0011,17h13.998A2.003,2.003,0,0,1,25,19.001V22H22v3H9.8581a4,4,0,1,0,0,2H22v3h8V22H27ZM26,4a2,2,0,1,1-2,2A2.0019,2.0019,0,0,1,26,4ZM4,6A2,2,0,1,1,6,8,2.0019,2.0019,0,0,1,4,6ZM6,28a2,2,0,1,1,2-2A2.002,2.002,0,0,1,6,28Zm22-4v4H24V24Z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"Schematics20\", \"filepath\": \"schematics/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M27,19.001A4.0056,4.0056,0,0,0,22.9991,15H9.0011A2.0031,2.0031,0,0,1,7,12.9991V9.858A3.9949,3.9949,0,0,0,9.8581,7h12.284a4,4,0,1,0,0-2H9.8581A3.9916,3.9916,0,1,0,5,9.858v3.1411A4.0057,4.0057,0,0,0,9.0011,17h13.998A2.003,2.003,0,0,1,25,19.001V22H22v3H9.8581a4,4,0,1,0,0,2H22v3h8V22H27ZM26,4a2,2,0,1,1-2,2A2.0019,2.0019,0,0,1,26,4ZM4,6A2,2,0,1,1,6,8,2.0019,2.0019,0,0,1,4,6ZM6,28a2,2,0,1,1,2-2A2.002,2.002,0,0,1,6,28Zm22-4v4H24V24Z\" } }], \"name\": \"schematics\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M27,19.001A4.0056,4.0056,0,0,0,22.9991,15H9.0011A2.0031,2.0031,0,0,1,7,12.9991V9.858A3.9949,3.9949,0,0,0,9.8581,7h12.284a4,4,0,1,0,0-2H9.8581A3.9916,3.9916,0,1,0,5,9.858v3.1411A4.0057,4.0057,0,0,0,9.0011,17h13.998A2.003,2.003,0,0,1,25,19.001V22H22v3H9.8581a4,4,0,1,0,0,2H22v3h8V22H27ZM26,4a2,2,0,1,1-2,2A2.0019,2.0019,0,0,1,26,4ZM4,6A2,2,0,1,1,6,8,2.0019,2.0019,0,0,1,4,6ZM6,28a2,2,0,1,1,2-2A2.002,2.002,0,0,1,6,28Zm22-4v4H24V24Z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"Schematics16\", \"filepath\": \"schematics/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M27,19.001A4.0056,4.0056,0,0,0,22.9991,15H9.0011A2.0031,2.0031,0,0,1,7,12.9991V9.858A3.9949,3.9949,0,0,0,9.8581,7h12.284a4,4,0,1,0,0-2H9.8581A3.9916,3.9916,0,1,0,5,9.858v3.1411A4.0057,4.0057,0,0,0,9.0011,17h13.998A2.003,2.003,0,0,1,25,19.001V22H22v3H9.8581a4,4,0,1,0,0,2H22v3h8V22H27ZM26,4a2,2,0,1,1-2,2A2.0019,2.0019,0,0,1,26,4ZM4,6A2,2,0,1,1,6,8,2.0019,2.0019,0,0,1,4,6ZM6,28a2,2,0,1,1,2-2A2.002,2.002,0,0,1,6,28Zm22-4v4H24V24Z\" } }], \"name\": \"schematics\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M27,19.001A4.0056,4.0056,0,0,0,22.9991,15H9.0011A2.0031,2.0031,0,0,1,7,12.9991V9.858A3.9949,3.9949,0,0,0,9.8581,7h12.284a4,4,0,1,0,0-2H9.8581A3.9916,3.9916,0,1,0,5,9.858v3.1411A4.0057,4.0057,0,0,0,9.0011,17h13.998A2.003,2.003,0,0,1,25,19.001V22H22v3H9.8581a4,4,0,1,0,0,2H22v3h8V22H27ZM26,4a2,2,0,1,1-2,2A2.0019,2.0019,0,0,1,26,4ZM4,6A2,2,0,1,1,6,8,2.0019,2.0019,0,0,1,4,6ZM6,28a2,2,0,1,1,2-2A2.002,2.002,0,0,1,6,28Zm22-4v4H24V24Z\\\"></path></svg>\"\n            },\n        };\n    }\n    SchematicsDirective_1 = SchematicsDirective;\n    SchematicsDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            SchematicsDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"schematics-\" + SchematicsDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"schematics-\" + SchematicsDirective_1.titleIdCounter);\n        }\n    };\n    var SchematicsDirective_1;\n    SchematicsDirective.titleIdCounter = 0;\n    SchematicsDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], SchematicsDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], SchematicsDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], SchematicsDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], SchematicsDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], SchematicsDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], SchematicsDirective.prototype, \"size\", void 0);\n    SchematicsDirective = SchematicsDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], SchematicsDirective);\nSchematicsDirective.ɵfac = function SchematicsDirective_Factory(t) { return new (t || SchematicsDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nSchematicsDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: SchematicsDirective, selectors: [[\"\", \"ibmIconSchematics\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(SchematicsDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconSchematics]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return SchematicsDirective;\n}());\nvar SchematicsModule = /** @class */ (function () {\n    function SchematicsModule() {\n    }\nSchematicsModule.ɵfac = function SchematicsModule_Factory(t) { return new (t || SchematicsModule)(); };\nSchematicsModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: SchematicsModule });\nSchematicsModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(SchematicsModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    SchematicsComponent,\n                    SchematicsDirective,\n                ],\n                exports: [\n                    SchematicsComponent,\n                    SchematicsDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(SchematicsModule, { declarations: [SchematicsComponent, SchematicsDirective], exports: [SchematicsComponent, SchematicsDirective] }); })();\n    return SchematicsModule;\n}());\n\nexport { SchematicsComponent, SchematicsDirective, SchematicsModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar SendComponent = /** @class */ (function () {\n    function SendComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], SendComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], SendComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], SendComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], SendComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], SendComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], SendComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], SendComponent.prototype, \"size\", void 0);\nSendComponent.ɵfac = function SendComponent_Factory(t) { return new (t || SendComponent)(); };\nSendComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: SendComponent, selectors: [[\"ibm-icon-send\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconSend\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function SendComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [SendDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(SendComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-send\",\n                template: \"\\n    <svg\\n      ibmIconSend\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return SendComponent;\n}());\nvar SendDirective = /** @class */ (function () {\n    function SendDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"Send32\", \"filepath\": \"send/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M27.45,15.11l-22-11a1,1,0,0,0-1.08.12,1,1,0,0,0-.33,1L7,16,4,26.74A1,1,0,0,0,5,28a1,1,0,0,0,.45-.11l22-11a1,1,0,0,0,0-1.78Zm-20.9,10L8.76,17H18V15H8.76L6.55,6.89,24.76,16Z\" } }], \"name\": \"send\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M27.45,15.11l-22-11a1,1,0,0,0-1.08.12,1,1,0,0,0-.33,1L7,16,4,26.74A1,1,0,0,0,5,28a1,1,0,0,0,.45-.11l22-11a1,1,0,0,0,0-1.78Zm-20.9,10L8.76,17H18V15H8.76L6.55,6.89,24.76,16Z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"Send24\", \"filepath\": \"send/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M27.45,15.11l-22-11a1,1,0,0,0-1.08.12,1,1,0,0,0-.33,1L7,16,4,26.74A1,1,0,0,0,5,28a1,1,0,0,0,.45-.11l22-11a1,1,0,0,0,0-1.78Zm-20.9,10L8.76,17H18V15H8.76L6.55,6.89,24.76,16Z\" } }], \"name\": \"send\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M27.45,15.11l-22-11a1,1,0,0,0-1.08.12,1,1,0,0,0-.33,1L7,16,4,26.74A1,1,0,0,0,5,28a1,1,0,0,0,.45-.11l22-11a1,1,0,0,0,0-1.78Zm-20.9,10L8.76,17H18V15H8.76L6.55,6.89,24.76,16Z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"Send20\", \"filepath\": \"send/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M27.45,15.11l-22-11a1,1,0,0,0-1.08.12,1,1,0,0,0-.33,1L7,16,4,26.74A1,1,0,0,0,5,28a1,1,0,0,0,.45-.11l22-11a1,1,0,0,0,0-1.78Zm-20.9,10L8.76,17H18V15H8.76L6.55,6.89,24.76,16Z\" } }], \"name\": \"send\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M27.45,15.11l-22-11a1,1,0,0,0-1.08.12,1,1,0,0,0-.33,1L7,16,4,26.74A1,1,0,0,0,5,28a1,1,0,0,0,.45-.11l22-11a1,1,0,0,0,0-1.78Zm-20.9,10L8.76,17H18V15H8.76L6.55,6.89,24.76,16Z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"Send16\", \"filepath\": \"send/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M27.45,15.11l-22-11a1,1,0,0,0-1.08.12,1,1,0,0,0-.33,1L7,16,4,26.74A1,1,0,0,0,5,28a1,1,0,0,0,.45-.11l22-11a1,1,0,0,0,0-1.78Zm-20.9,10L8.76,17H18V15H8.76L6.55,6.89,24.76,16Z\" } }], \"name\": \"send\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M27.45,15.11l-22-11a1,1,0,0,0-1.08.12,1,1,0,0,0-.33,1L7,16,4,26.74A1,1,0,0,0,5,28a1,1,0,0,0,.45-.11l22-11a1,1,0,0,0,0-1.78Zm-20.9,10L8.76,17H18V15H8.76L6.55,6.89,24.76,16Z\\\"></path></svg>\"\n            },\n        };\n    }\n    SendDirective_1 = SendDirective;\n    SendDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            SendDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"send-\" + SendDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"send-\" + SendDirective_1.titleIdCounter);\n        }\n    };\n    var SendDirective_1;\n    SendDirective.titleIdCounter = 0;\n    SendDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], SendDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], SendDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], SendDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], SendDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], SendDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], SendDirective.prototype, \"size\", void 0);\n    SendDirective = SendDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], SendDirective);\nSendDirective.ɵfac = function SendDirective_Factory(t) { return new (t || SendDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nSendDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: SendDirective, selectors: [[\"\", \"ibmIconSend\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(SendDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconSend]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return SendDirective;\n}());\nvar SendModule = /** @class */ (function () {\n    function SendModule() {\n    }\nSendModule.ɵfac = function SendModule_Factory(t) { return new (t || SendModule)(); };\nSendModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: SendModule });\nSendModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(SendModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    SendComponent,\n                    SendDirective,\n                ],\n                exports: [\n                    SendComponent,\n                    SendDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(SendModule, { declarations: [SendComponent, SendDirective], exports: [SendComponent, SendDirective] }); })();\n    return SendModule;\n}());\n\nexport { SendComponent, SendDirective, SendModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar SettingsComponent = /** @class */ (function () {\n    function SettingsComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], SettingsComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], SettingsComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], SettingsComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], SettingsComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], SettingsComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], SettingsComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], SettingsComponent.prototype, \"size\", void 0);\nSettingsComponent.ɵfac = function SettingsComponent_Factory(t) { return new (t || SettingsComponent)(); };\nSettingsComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: SettingsComponent, selectors: [[\"ibm-icon-settings\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconSettings\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function SettingsComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [SettingsDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(SettingsComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-settings\",\n                template: \"\\n    <svg\\n      ibmIconSettings\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return SettingsComponent;\n}());\nvar SettingsDirective = /** @class */ (function () {\n    function SettingsDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"Settings32\", \"filepath\": \"settings/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M27,16.76c0-.25,0-.5,0-.76s0-.51,0-.77l1.92-1.68A2,2,0,0,0,29.3,11L26.94,7a2,2,0,0,0-1.73-1,2,2,0,0,0-.64.1l-2.43.82a11.35,11.35,0,0,0-1.31-.75l-.51-2.52a2,2,0,0,0-2-1.61H13.64a2,2,0,0,0-2,1.61l-.51,2.52a11.48,11.48,0,0,0-1.32.75L7.43,6.06A2,2,0,0,0,6.79,6,2,2,0,0,0,5.06,7L2.7,11a2,2,0,0,0,.41,2.51L5,15.24c0,.25,0,.5,0,.76s0,.51,0,.77L3.11,18.45A2,2,0,0,0,2.7,21L5.06,25a2,2,0,0,0,1.73,1,2,2,0,0,0,.64-.1l2.43-.82a11.35,11.35,0,0,0,1.31.75l.51,2.52a2,2,0,0,0,2,1.61h4.72a2,2,0,0,0,2-1.61l.51-2.52a11.48,11.48,0,0,0,1.32-.75l2.42.82a2,2,0,0,0,.64.1,2,2,0,0,0,1.73-1L29.3,21a2,2,0,0,0-.41-2.51ZM25.21,24l-3.43-1.16a8.86,8.86,0,0,1-2.71,1.57L18.36,28H13.64l-.71-3.55a9.36,9.36,0,0,1-2.7-1.57L6.79,24,4.43,20l2.72-2.4a8.9,8.9,0,0,1,0-3.13L4.43,12,6.79,8l3.43,1.16a8.86,8.86,0,0,1,2.71-1.57L13.64,4h4.72l.71,3.55a9.36,9.36,0,0,1,2.7,1.57L25.21,8,27.57,12l-2.72,2.4a8.9,8.9,0,0,1,0,3.13L27.57,20Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M16,22a6,6,0,1,1,6-6A5.94,5.94,0,0,1,16,22Zm0-10a3.91,3.91,0,0,0-4,4,3.91,3.91,0,0,0,4,4,3.91,3.91,0,0,0,4-4A3.91,3.91,0,0,0,16,12Z\" } }], \"name\": \"settings\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M27,16.76c0-.25,0-.5,0-.76s0-.51,0-.77l1.92-1.68A2,2,0,0,0,29.3,11L26.94,7a2,2,0,0,0-1.73-1,2,2,0,0,0-.64.1l-2.43.82a11.35,11.35,0,0,0-1.31-.75l-.51-2.52a2,2,0,0,0-2-1.61H13.64a2,2,0,0,0-2,1.61l-.51,2.52a11.48,11.48,0,0,0-1.32.75L7.43,6.06A2,2,0,0,0,6.79,6,2,2,0,0,0,5.06,7L2.7,11a2,2,0,0,0,.41,2.51L5,15.24c0,.25,0,.5,0,.76s0,.51,0,.77L3.11,18.45A2,2,0,0,0,2.7,21L5.06,25a2,2,0,0,0,1.73,1,2,2,0,0,0,.64-.1l2.43-.82a11.35,11.35,0,0,0,1.31.75l.51,2.52a2,2,0,0,0,2,1.61h4.72a2,2,0,0,0,2-1.61l.51-2.52a11.48,11.48,0,0,0,1.32-.75l2.42.82a2,2,0,0,0,.64.1,2,2,0,0,0,1.73-1L29.3,21a2,2,0,0,0-.41-2.51ZM25.21,24l-3.43-1.16a8.86,8.86,0,0,1-2.71,1.57L18.36,28H13.64l-.71-3.55a9.36,9.36,0,0,1-2.7-1.57L6.79,24,4.43,20l2.72-2.4a8.9,8.9,0,0,1,0-3.13L4.43,12,6.79,8l3.43,1.16a8.86,8.86,0,0,1,2.71-1.57L13.64,4h4.72l.71,3.55a9.36,9.36,0,0,1,2.7,1.57L25.21,8,27.57,12l-2.72,2.4a8.9,8.9,0,0,1,0,3.13L27.57,20Z\\\"></path><path d=\\\"M16,22a6,6,0,1,1,6-6A5.94,5.94,0,0,1,16,22Zm0-10a3.91,3.91,0,0,0-4,4,3.91,3.91,0,0,0,4,4,3.91,3.91,0,0,0,4-4A3.91,3.91,0,0,0,16,12Z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"Settings24\", \"filepath\": \"settings/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M27,16.76c0-.25,0-.5,0-.76s0-.51,0-.77l1.92-1.68A2,2,0,0,0,29.3,11L26.94,7a2,2,0,0,0-1.73-1,2,2,0,0,0-.64.1l-2.43.82a11.35,11.35,0,0,0-1.31-.75l-.51-2.52a2,2,0,0,0-2-1.61H13.64a2,2,0,0,0-2,1.61l-.51,2.52a11.48,11.48,0,0,0-1.32.75L7.43,6.06A2,2,0,0,0,6.79,6,2,2,0,0,0,5.06,7L2.7,11a2,2,0,0,0,.41,2.51L5,15.24c0,.25,0,.5,0,.76s0,.51,0,.77L3.11,18.45A2,2,0,0,0,2.7,21L5.06,25a2,2,0,0,0,1.73,1,2,2,0,0,0,.64-.1l2.43-.82a11.35,11.35,0,0,0,1.31.75l.51,2.52a2,2,0,0,0,2,1.61h4.72a2,2,0,0,0,2-1.61l.51-2.52a11.48,11.48,0,0,0,1.32-.75l2.42.82a2,2,0,0,0,.64.1,2,2,0,0,0,1.73-1L29.3,21a2,2,0,0,0-.41-2.51ZM25.21,24l-3.43-1.16a8.86,8.86,0,0,1-2.71,1.57L18.36,28H13.64l-.71-3.55a9.36,9.36,0,0,1-2.7-1.57L6.79,24,4.43,20l2.72-2.4a8.9,8.9,0,0,1,0-3.13L4.43,12,6.79,8l3.43,1.16a8.86,8.86,0,0,1,2.71-1.57L13.64,4h4.72l.71,3.55a9.36,9.36,0,0,1,2.7,1.57L25.21,8,27.57,12l-2.72,2.4a8.9,8.9,0,0,1,0,3.13L27.57,20Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M16,22a6,6,0,1,1,6-6A5.94,5.94,0,0,1,16,22Zm0-10a3.91,3.91,0,0,0-4,4,3.91,3.91,0,0,0,4,4,3.91,3.91,0,0,0,4-4A3.91,3.91,0,0,0,16,12Z\" } }], \"name\": \"settings\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M27,16.76c0-.25,0-.5,0-.76s0-.51,0-.77l1.92-1.68A2,2,0,0,0,29.3,11L26.94,7a2,2,0,0,0-1.73-1,2,2,0,0,0-.64.1l-2.43.82a11.35,11.35,0,0,0-1.31-.75l-.51-2.52a2,2,0,0,0-2-1.61H13.64a2,2,0,0,0-2,1.61l-.51,2.52a11.48,11.48,0,0,0-1.32.75L7.43,6.06A2,2,0,0,0,6.79,6,2,2,0,0,0,5.06,7L2.7,11a2,2,0,0,0,.41,2.51L5,15.24c0,.25,0,.5,0,.76s0,.51,0,.77L3.11,18.45A2,2,0,0,0,2.7,21L5.06,25a2,2,0,0,0,1.73,1,2,2,0,0,0,.64-.1l2.43-.82a11.35,11.35,0,0,0,1.31.75l.51,2.52a2,2,0,0,0,2,1.61h4.72a2,2,0,0,0,2-1.61l.51-2.52a11.48,11.48,0,0,0,1.32-.75l2.42.82a2,2,0,0,0,.64.1,2,2,0,0,0,1.73-1L29.3,21a2,2,0,0,0-.41-2.51ZM25.21,24l-3.43-1.16a8.86,8.86,0,0,1-2.71,1.57L18.36,28H13.64l-.71-3.55a9.36,9.36,0,0,1-2.7-1.57L6.79,24,4.43,20l2.72-2.4a8.9,8.9,0,0,1,0-3.13L4.43,12,6.79,8l3.43,1.16a8.86,8.86,0,0,1,2.71-1.57L13.64,4h4.72l.71,3.55a9.36,9.36,0,0,1,2.7,1.57L25.21,8,27.57,12l-2.72,2.4a8.9,8.9,0,0,1,0,3.13L27.57,20Z\\\"></path><path d=\\\"M16,22a6,6,0,1,1,6-6A5.94,5.94,0,0,1,16,22Zm0-10a3.91,3.91,0,0,0-4,4,3.91,3.91,0,0,0,4,4,3.91,3.91,0,0,0,4-4A3.91,3.91,0,0,0,16,12Z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"Settings20\", \"filepath\": \"settings/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M27,16.76c0-.25,0-.5,0-.76s0-.51,0-.77l1.92-1.68A2,2,0,0,0,29.3,11L26.94,7a2,2,0,0,0-1.73-1,2,2,0,0,0-.64.1l-2.43.82a11.35,11.35,0,0,0-1.31-.75l-.51-2.52a2,2,0,0,0-2-1.61H13.64a2,2,0,0,0-2,1.61l-.51,2.52a11.48,11.48,0,0,0-1.32.75L7.43,6.06A2,2,0,0,0,6.79,6,2,2,0,0,0,5.06,7L2.7,11a2,2,0,0,0,.41,2.51L5,15.24c0,.25,0,.5,0,.76s0,.51,0,.77L3.11,18.45A2,2,0,0,0,2.7,21L5.06,25a2,2,0,0,0,1.73,1,2,2,0,0,0,.64-.1l2.43-.82a11.35,11.35,0,0,0,1.31.75l.51,2.52a2,2,0,0,0,2,1.61h4.72a2,2,0,0,0,2-1.61l.51-2.52a11.48,11.48,0,0,0,1.32-.75l2.42.82a2,2,0,0,0,.64.1,2,2,0,0,0,1.73-1L29.3,21a2,2,0,0,0-.41-2.51ZM25.21,24l-3.43-1.16a8.86,8.86,0,0,1-2.71,1.57L18.36,28H13.64l-.71-3.55a9.36,9.36,0,0,1-2.7-1.57L6.79,24,4.43,20l2.72-2.4a8.9,8.9,0,0,1,0-3.13L4.43,12,6.79,8l3.43,1.16a8.86,8.86,0,0,1,2.71-1.57L13.64,4h4.72l.71,3.55a9.36,9.36,0,0,1,2.7,1.57L25.21,8,27.57,12l-2.72,2.4a8.9,8.9,0,0,1,0,3.13L27.57,20Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M16,22a6,6,0,1,1,6-6A5.94,5.94,0,0,1,16,22Zm0-10a3.91,3.91,0,0,0-4,4,3.91,3.91,0,0,0,4,4,3.91,3.91,0,0,0,4-4A3.91,3.91,0,0,0,16,12Z\" } }], \"name\": \"settings\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M27,16.76c0-.25,0-.5,0-.76s0-.51,0-.77l1.92-1.68A2,2,0,0,0,29.3,11L26.94,7a2,2,0,0,0-1.73-1,2,2,0,0,0-.64.1l-2.43.82a11.35,11.35,0,0,0-1.31-.75l-.51-2.52a2,2,0,0,0-2-1.61H13.64a2,2,0,0,0-2,1.61l-.51,2.52a11.48,11.48,0,0,0-1.32.75L7.43,6.06A2,2,0,0,0,6.79,6,2,2,0,0,0,5.06,7L2.7,11a2,2,0,0,0,.41,2.51L5,15.24c0,.25,0,.5,0,.76s0,.51,0,.77L3.11,18.45A2,2,0,0,0,2.7,21L5.06,25a2,2,0,0,0,1.73,1,2,2,0,0,0,.64-.1l2.43-.82a11.35,11.35,0,0,0,1.31.75l.51,2.52a2,2,0,0,0,2,1.61h4.72a2,2,0,0,0,2-1.61l.51-2.52a11.48,11.48,0,0,0,1.32-.75l2.42.82a2,2,0,0,0,.64.1,2,2,0,0,0,1.73-1L29.3,21a2,2,0,0,0-.41-2.51ZM25.21,24l-3.43-1.16a8.86,8.86,0,0,1-2.71,1.57L18.36,28H13.64l-.71-3.55a9.36,9.36,0,0,1-2.7-1.57L6.79,24,4.43,20l2.72-2.4a8.9,8.9,0,0,1,0-3.13L4.43,12,6.79,8l3.43,1.16a8.86,8.86,0,0,1,2.71-1.57L13.64,4h4.72l.71,3.55a9.36,9.36,0,0,1,2.7,1.57L25.21,8,27.57,12l-2.72,2.4a8.9,8.9,0,0,1,0,3.13L27.57,20Z\\\"></path><path d=\\\"M16,22a6,6,0,1,1,6-6A5.94,5.94,0,0,1,16,22Zm0-10a3.91,3.91,0,0,0-4,4,3.91,3.91,0,0,0,4,4,3.91,3.91,0,0,0,4-4A3.91,3.91,0,0,0,16,12Z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"Settings16\", \"filepath\": \"settings/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 16 16\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M13.5,8.4c0-0.1,0-0.3,0-0.4c0-0.1,0-0.3,0-0.4l1-0.8c0.4-0.3,0.4-0.9,0.2-1.3l-1.2-2C13.3,3.2,13,3,12.6,3\\tc-0.1,0-0.2,0-0.3,0.1l-1.2,0.4c-0.2-0.1-0.4-0.3-0.7-0.4l-0.3-1.3C10.1,1.3,9.7,1,9.2,1H6.8c-0.5,0-0.9,0.3-1,0.8L5.6,3.1\\tC5.3,3.2,5.1,3.3,4.9,3.4L3.7,3C3.6,3,3.5,3,3.4,3C3,3,2.7,3.2,2.5,3.5l-1.2,2C1.1,5.9,1.2,6.4,1.6,6.8l0.9,0.9c0,0.1,0,0.3,0,0.4\\tc0,0.1,0,0.3,0,0.4L1.6,9.2c-0.4,0.3-0.5,0.9-0.2,1.3l1.2,2C2.7,12.8,3,13,3.4,13c0.1,0,0.2,0,0.3-0.1l1.2-0.4\\tc0.2,0.1,0.4,0.3,0.7,0.4l0.3,1.3c0.1,0.5,0.5,0.8,1,0.8h2.4c0.5,0,0.9-0.3,1-0.8l0.3-1.3c0.2-0.1,0.4-0.2,0.7-0.4l1.2,0.4\\tc0.1,0,0.2,0.1,0.3,0.1c0.4,0,0.7-0.2,0.9-0.5l1.1-2c0.2-0.4,0.2-0.9-0.2-1.3L13.5,8.4z M12.6,12l-1.7-0.6c-0.4,0.3-0.9,0.6-1.4,0.8\\tL9.2,14H6.8l-0.4-1.8c-0.5-0.2-0.9-0.5-1.4-0.8L3.4,12l-1.2-2l1.4-1.2c-0.1-0.5-0.1-1.1,0-1.6L2.2,6l1.2-2l1.7,0.6\\tC5.5,4.2,6,4,6.5,3.8L6.8,2h2.4l0.4,1.8c0.5,0.2,0.9,0.5,1.4,0.8L12.6,4l1.2,2l-1.4,1.2c0.1,0.5,0.1,1.1,0,1.6l1.4,1.2L12.6,12z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M8,11c-1.7,0-3-1.3-3-3s1.3-3,3-3s3,1.3,3,3C11,9.6,9.7,11,8,11C8,11,8,11,8,11z M8,6C6.9,6,6,6.8,6,7.9C6,7.9,6,8,6,8\\tc0,1.1,0.8,2,1.9,2c0,0,0.1,0,0.1,0c1.1,0,2-0.8,2-1.9c0,0,0-0.1,0-0.1C10,6.9,9.2,6,8,6C8.1,6,8,6,8,6z\" } }], \"name\": \"settings\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\" aria-hidden=\\\"true\\\"><path d=\\\"M13.5,8.4c0-0.1,0-0.3,0-0.4c0-0.1,0-0.3,0-0.4l1-0.8c0.4-0.3,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,0,0.1,0c1.1,0,2-0.8,2-1.9c0,0,0-0.1,0-0.1C10,6.9,9.2,6,8,6C8.1,6,8,6,8,6z\\\"></path></svg>\"\n            },\n        };\n    }\n    SettingsDirective_1 = SettingsDirective;\n    SettingsDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            SettingsDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"settings-\" + SettingsDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"settings-\" + SettingsDirective_1.titleIdCounter);\n        }\n    };\n    var SettingsDirective_1;\n    SettingsDirective.titleIdCounter = 0;\n    SettingsDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], SettingsDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], SettingsDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], SettingsDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], SettingsDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], SettingsDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], SettingsDirective.prototype, \"size\", void 0);\n    SettingsDirective = SettingsDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], SettingsDirective);\nSettingsDirective.ɵfac = function SettingsDirective_Factory(t) { return new (t || SettingsDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nSettingsDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: SettingsDirective, selectors: [[\"\", \"ibmIconSettings\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(SettingsDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconSettings]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return SettingsDirective;\n}());\nvar SettingsModule = /** @class */ (function () {\n    function SettingsModule() {\n    }\nSettingsModule.ɵfac = function SettingsModule_Factory(t) { return new (t || SettingsModule)(); };\nSettingsModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: SettingsModule });\nSettingsModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(SettingsModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    SettingsComponent,\n                    SettingsDirective,\n                ],\n                exports: [\n                    SettingsComponent,\n                    SettingsDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(SettingsModule, { declarations: [SettingsComponent, SettingsDirective], exports: [SettingsComponent, SettingsDirective] }); })();\n    return SettingsModule;\n}());\n\nexport { SettingsComponent, SettingsDirective, SettingsModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar ShareComponent = /** @class */ (function () {\n    function ShareComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ShareComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ShareComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], ShareComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ShareComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], ShareComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ShareComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ShareComponent.prototype, \"size\", void 0);\nShareComponent.ɵfac = function ShareComponent_Factory(t) { return new (t || ShareComponent)(); };\nShareComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: ShareComponent, selectors: [[\"ibm-icon-share\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconShare\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function ShareComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [ShareDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ShareComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-share\",\n                template: \"\\n    <svg\\n      ibmIconShare\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return ShareComponent;\n}());\nvar ShareDirective = /** @class */ (function () {\n    function ShareDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"Share32\", \"filepath\": \"share/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M23,20a5,5,0,0,0-3.89,1.89L11.8,17.32a4.46,4.46,0,0,0,0-2.64l7.31-4.57A5,5,0,1,0,18,7a4.79,4.79,0,0,0,.2,1.32l-7.31,4.57a5,5,0,1,0,0,6.22l7.31,4.57A4.79,4.79,0,0,0,18,25a5,5,0,1,0,5-5ZM23,4a3,3,0,1,1-3,3A3,3,0,0,1,23,4ZM7,19a3,3,0,1,1,3-3A3,3,0,0,1,7,19Zm16,9a3,3,0,1,1,3-3A3,3,0,0,1,23,28Z\" } }], \"name\": \"share\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M23,20a5,5,0,0,0-3.89,1.89L11.8,17.32a4.46,4.46,0,0,0,0-2.64l7.31-4.57A5,5,0,1,0,18,7a4.79,4.79,0,0,0,.2,1.32l-7.31,4.57a5,5,0,1,0,0,6.22l7.31,4.57A4.79,4.79,0,0,0,18,25a5,5,0,1,0,5-5ZM23,4a3,3,0,1,1-3,3A3,3,0,0,1,23,4ZM7,19a3,3,0,1,1,3-3A3,3,0,0,1,7,19Zm16,9a3,3,0,1,1,3-3A3,3,0,0,1,23,28Z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"Share24\", \"filepath\": \"share/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M23,20a5,5,0,0,0-3.89,1.89L11.8,17.32a4.46,4.46,0,0,0,0-2.64l7.31-4.57A5,5,0,1,0,18,7a4.79,4.79,0,0,0,.2,1.32l-7.31,4.57a5,5,0,1,0,0,6.22l7.31,4.57A4.79,4.79,0,0,0,18,25a5,5,0,1,0,5-5ZM23,4a3,3,0,1,1-3,3A3,3,0,0,1,23,4ZM7,19a3,3,0,1,1,3-3A3,3,0,0,1,7,19Zm16,9a3,3,0,1,1,3-3A3,3,0,0,1,23,28Z\" } }], \"name\": \"share\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M23,20a5,5,0,0,0-3.89,1.89L11.8,17.32a4.46,4.46,0,0,0,0-2.64l7.31-4.57A5,5,0,1,0,18,7a4.79,4.79,0,0,0,.2,1.32l-7.31,4.57a5,5,0,1,0,0,6.22l7.31,4.57A4.79,4.79,0,0,0,18,25a5,5,0,1,0,5-5ZM23,4a3,3,0,1,1-3,3A3,3,0,0,1,23,4ZM7,19a3,3,0,1,1,3-3A3,3,0,0,1,7,19Zm16,9a3,3,0,1,1,3-3A3,3,0,0,1,23,28Z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"Share20\", \"filepath\": \"share/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M23,20a5,5,0,0,0-3.89,1.89L11.8,17.32a4.46,4.46,0,0,0,0-2.64l7.31-4.57A5,5,0,1,0,18,7a4.79,4.79,0,0,0,.2,1.32l-7.31,4.57a5,5,0,1,0,0,6.22l7.31,4.57A4.79,4.79,0,0,0,18,25a5,5,0,1,0,5-5ZM23,4a3,3,0,1,1-3,3A3,3,0,0,1,23,4ZM7,19a3,3,0,1,1,3-3A3,3,0,0,1,7,19Zm16,9a3,3,0,1,1,3-3A3,3,0,0,1,23,28Z\" } }], \"name\": \"share\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M23,20a5,5,0,0,0-3.89,1.89L11.8,17.32a4.46,4.46,0,0,0,0-2.64l7.31-4.57A5,5,0,1,0,18,7a4.79,4.79,0,0,0,.2,1.32l-7.31,4.57a5,5,0,1,0,0,6.22l7.31,4.57A4.79,4.79,0,0,0,18,25a5,5,0,1,0,5-5ZM23,4a3,3,0,1,1-3,3A3,3,0,0,1,23,4ZM7,19a3,3,0,1,1,3-3A3,3,0,0,1,7,19Zm16,9a3,3,0,1,1,3-3A3,3,0,0,1,23,28Z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"Share16\", \"filepath\": \"share/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M23,20a5,5,0,0,0-3.89,1.89L11.8,17.32a4.46,4.46,0,0,0,0-2.64l7.31-4.57A5,5,0,1,0,18,7a4.79,4.79,0,0,0,.2,1.32l-7.31,4.57a5,5,0,1,0,0,6.22l7.31,4.57A4.79,4.79,0,0,0,18,25a5,5,0,1,0,5-5ZM23,4a3,3,0,1,1-3,3A3,3,0,0,1,23,4ZM7,19a3,3,0,1,1,3-3A3,3,0,0,1,7,19Zm16,9a3,3,0,1,1,3-3A3,3,0,0,1,23,28Z\" } }], \"name\": \"share\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M23,20a5,5,0,0,0-3.89,1.89L11.8,17.32a4.46,4.46,0,0,0,0-2.64l7.31-4.57A5,5,0,1,0,18,7a4.79,4.79,0,0,0,.2,1.32l-7.31,4.57a5,5,0,1,0,0,6.22l7.31,4.57A4.79,4.79,0,0,0,18,25a5,5,0,1,0,5-5ZM23,4a3,3,0,1,1-3,3A3,3,0,0,1,23,4ZM7,19a3,3,0,1,1,3-3A3,3,0,0,1,7,19Zm16,9a3,3,0,1,1,3-3A3,3,0,0,1,23,28Z\\\"></path></svg>\"\n            },\n        };\n    }\n    ShareDirective_1 = ShareDirective;\n    ShareDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            ShareDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"share-\" + ShareDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"share-\" + ShareDirective_1.titleIdCounter);\n        }\n    };\n    var ShareDirective_1;\n    ShareDirective.titleIdCounter = 0;\n    ShareDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ShareDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ShareDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], ShareDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ShareDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], ShareDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ShareDirective.prototype, \"size\", void 0);\n    ShareDirective = ShareDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], ShareDirective);\nShareDirective.ɵfac = function ShareDirective_Factory(t) { return new (t || ShareDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nShareDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: ShareDirective, selectors: [[\"\", \"ibmIconShare\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ShareDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconShare]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return ShareDirective;\n}());\nvar ShareModule = /** @class */ (function () {\n    function ShareModule() {\n    }\nShareModule.ɵfac = function ShareModule_Factory(t) { return new (t || ShareModule)(); };\nShareModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: ShareModule });\nShareModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ShareModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    ShareComponent,\n                    ShareDirective,\n                ],\n                exports: [\n                    ShareComponent,\n                    ShareDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(ShareModule, { declarations: [ShareComponent, ShareDirective], exports: [ShareComponent, ShareDirective] }); })();\n    return ShareModule;\n}());\n\nexport { ShareComponent, ShareDirective, ShareModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar SkipForwardOutlineFilledComponent = /** @class */ (function () {\n    function SkipForwardOutlineFilledComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], SkipForwardOutlineFilledComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], SkipForwardOutlineFilledComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], SkipForwardOutlineFilledComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], SkipForwardOutlineFilledComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], SkipForwardOutlineFilledComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], SkipForwardOutlineFilledComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], SkipForwardOutlineFilledComponent.prototype, \"size\", void 0);\nSkipForwardOutlineFilledComponent.ɵfac = function SkipForwardOutlineFilledComponent_Factory(t) { return new (t || SkipForwardOutlineFilledComponent)(); };\nSkipForwardOutlineFilledComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: SkipForwardOutlineFilledComponent, selectors: [[\"ibm-icon-skip-forward-outline-filled\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconSkipForwardOutlineFilled\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function SkipForwardOutlineFilledComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [SkipForwardOutlineFilledDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(SkipForwardOutlineFilledComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-skip-forward-outline-filled\",\n                template: \"\\n    <svg\\n      ibmIconSkipForwardOutlineFilled\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return SkipForwardOutlineFilledComponent;\n}());\nvar SkipForwardOutlineFilledDirective = /** @class */ (function () {\n    function SkipForwardOutlineFilledDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"SkipForwardOutlineFilled32\", \"filepath\": \"skip--forward--outline--filled/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M10 19.301L15.941 16 10 12.699 10 19.301z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm2.4858,14.874-9,5A1,1,0,0,1,8,21V11a1,1,0,0,1,1.4858-.874l9,5a1,1,0,0,1,0,1.748ZM24,22H22V10h2Z\" } }, { \"elem\": \"path\", \"attrs\": { \"fill\": \"none\", \"d\": \"M22 10H24V22H22zM8.4927 21.8618A1 1 0 018 21V11a1 1 0 011.4858-.8743l9 5a1 1 0 010 1.7486l-9 5a1.0009 1.0009 0 01-.9931-.0125zM10 12.7v6.601L15.9409 16z\" } }], \"name\": \"skip--forward--outline--filled\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M10 19.301L15.941 16 10 12.699 10 19.301z\\\"></path><path d=\\\"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm2.4858,14.874-9,5A1,1,0,0,1,8,21V11a1,1,0,0,1,1.4858-.874l9,5a1,1,0,0,1,0,1.748ZM24,22H22V10h2Z\\\"></path><path fill=\\\"none\\\" d=\\\"M22 10H24V22H22zM8.4927 21.8618A1 1 0 018 21V11a1 1 0 011.4858-.8743l9 5a1 1 0 010 1.7486l-9 5a1.0009 1.0009 0 01-.9931-.0125zM10 12.7v6.601L15.9409 16z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"SkipForwardOutlineFilled24\", \"filepath\": \"skip--forward--outline--filled/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M10 19.301L15.941 16 10 12.699 10 19.301z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm2.4858,14.874-9,5A1,1,0,0,1,8,21V11a1,1,0,0,1,1.4858-.874l9,5a1,1,0,0,1,0,1.748ZM24,22H22V10h2Z\" } }, { \"elem\": \"path\", \"attrs\": { \"fill\": \"none\", \"d\": \"M22 10H24V22H22zM8.4927 21.8618A1 1 0 018 21V11a1 1 0 011.4858-.8743l9 5a1 1 0 010 1.7486l-9 5a1.0009 1.0009 0 01-.9931-.0125zM10 12.7v6.601L15.9409 16z\" } }], \"name\": \"skip--forward--outline--filled\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M10 19.301L15.941 16 10 12.699 10 19.301z\\\"></path><path d=\\\"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm2.4858,14.874-9,5A1,1,0,0,1,8,21V11a1,1,0,0,1,1.4858-.874l9,5a1,1,0,0,1,0,1.748ZM24,22H22V10h2Z\\\"></path><path fill=\\\"none\\\" d=\\\"M22 10H24V22H22zM8.4927 21.8618A1 1 0 018 21V11a1 1 0 011.4858-.8743l9 5a1 1 0 010 1.7486l-9 5a1.0009 1.0009 0 01-.9931-.0125zM10 12.7v6.601L15.9409 16z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"SkipForwardOutlineFilled20\", \"filepath\": \"skip--forward--outline--filled/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M10 19.301L15.941 16 10 12.699 10 19.301z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm2.4858,14.874-9,5A1,1,0,0,1,8,21V11a1,1,0,0,1,1.4858-.874l9,5a1,1,0,0,1,0,1.748ZM24,22H22V10h2Z\" } }, { \"elem\": \"path\", \"attrs\": { \"fill\": \"none\", \"d\": \"M22 10H24V22H22zM8.4927 21.8618A1 1 0 018 21V11a1 1 0 011.4858-.8743l9 5a1 1 0 010 1.7486l-9 5a1.0009 1.0009 0 01-.9931-.0125zM10 12.7v6.601L15.9409 16z\" } }], \"name\": \"skip--forward--outline--filled\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M10 19.301L15.941 16 10 12.699 10 19.301z\\\"></path><path d=\\\"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm2.4858,14.874-9,5A1,1,0,0,1,8,21V11a1,1,0,0,1,1.4858-.874l9,5a1,1,0,0,1,0,1.748ZM24,22H22V10h2Z\\\"></path><path fill=\\\"none\\\" d=\\\"M22 10H24V22H22zM8.4927 21.8618A1 1 0 018 21V11a1 1 0 011.4858-.8743l9 5a1 1 0 010 1.7486l-9 5a1.0009 1.0009 0 01-.9931-.0125zM10 12.7v6.601L15.9409 16z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"SkipForwardOutlineFilled16\", \"filepath\": \"skip--forward--outline--filled/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M10 19.301L15.941 16 10 12.699 10 19.301z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm2.4858,14.874-9,5A1,1,0,0,1,8,21V11a1,1,0,0,1,1.4858-.874l9,5a1,1,0,0,1,0,1.748ZM24,22H22V10h2Z\" } }, { \"elem\": \"path\", \"attrs\": { \"fill\": \"none\", \"d\": \"M22 10H24V22H22zM8.4927 21.8618A1 1 0 018 21V11a1 1 0 011.4858-.8743l9 5a1 1 0 010 1.7486l-9 5a1.0009 1.0009 0 01-.9931-.0125zM10 12.7v6.601L15.9409 16z\" } }], \"name\": \"skip--forward--outline--filled\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M10 19.301L15.941 16 10 12.699 10 19.301z\\\"></path><path d=\\\"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm2.4858,14.874-9,5A1,1,0,0,1,8,21V11a1,1,0,0,1,1.4858-.874l9,5a1,1,0,0,1,0,1.748ZM24,22H22V10h2Z\\\"></path><path fill=\\\"none\\\" d=\\\"M22 10H24V22H22zM8.4927 21.8618A1 1 0 018 21V11a1 1 0 011.4858-.8743l9 5a1 1 0 010 1.7486l-9 5a1.0009 1.0009 0 01-.9931-.0125zM10 12.7v6.601L15.9409 16z\\\"></path></svg>\"\n            },\n        };\n    }\n    SkipForwardOutlineFilledDirective_1 = SkipForwardOutlineFilledDirective;\n    SkipForwardOutlineFilledDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            SkipForwardOutlineFilledDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"skip-forward-outline-filled-\" + SkipForwardOutlineFilledDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"skip-forward-outline-filled-\" + SkipForwardOutlineFilledDirective_1.titleIdCounter);\n        }\n    };\n    var SkipForwardOutlineFilledDirective_1;\n    SkipForwardOutlineFilledDirective.titleIdCounter = 0;\n    SkipForwardOutlineFilledDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], SkipForwardOutlineFilledDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], SkipForwardOutlineFilledDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], SkipForwardOutlineFilledDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], SkipForwardOutlineFilledDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], SkipForwardOutlineFilledDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], SkipForwardOutlineFilledDirective.prototype, \"size\", void 0);\n    SkipForwardOutlineFilledDirective = SkipForwardOutlineFilledDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], SkipForwardOutlineFilledDirective);\nSkipForwardOutlineFilledDirective.ɵfac = function SkipForwardOutlineFilledDirective_Factory(t) { return new (t || SkipForwardOutlineFilledDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nSkipForwardOutlineFilledDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: SkipForwardOutlineFilledDirective, selectors: [[\"\", \"ibmIconSkipForwardOutlineFilled\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(SkipForwardOutlineFilledDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconSkipForwardOutlineFilled]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return SkipForwardOutlineFilledDirective;\n}());\nvar SkipForwardOutlineFilledModule = /** @class */ (function () {\n    function SkipForwardOutlineFilledModule() {\n    }\nSkipForwardOutlineFilledModule.ɵfac = function SkipForwardOutlineFilledModule_Factory(t) { return new (t || SkipForwardOutlineFilledModule)(); };\nSkipForwardOutlineFilledModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: SkipForwardOutlineFilledModule });\nSkipForwardOutlineFilledModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(SkipForwardOutlineFilledModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    SkipForwardOutlineFilledComponent,\n                    SkipForwardOutlineFilledDirective,\n                ],\n                exports: [\n                    SkipForwardOutlineFilledComponent,\n                    SkipForwardOutlineFilledDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(SkipForwardOutlineFilledModule, { declarations: [SkipForwardOutlineFilledComponent, SkipForwardOutlineFilledDirective], exports: [SkipForwardOutlineFilledComponent, SkipForwardOutlineFilledDirective] }); })();\n    return SkipForwardOutlineFilledModule;\n}());\n\nexport { SkipForwardOutlineFilledComponent, SkipForwardOutlineFilledDirective, SkipForwardOutlineFilledModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar StarFilledComponent = /** @class */ (function () {\n    function StarFilledComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], StarFilledComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], StarFilledComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], StarFilledComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], StarFilledComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], StarFilledComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], StarFilledComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], StarFilledComponent.prototype, \"size\", void 0);\nStarFilledComponent.ɵfac = function StarFilledComponent_Factory(t) { return new (t || StarFilledComponent)(); };\nStarFilledComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: StarFilledComponent, selectors: [[\"ibm-icon-star-filled\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconStarFilled\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function StarFilledComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [StarFilledDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(StarFilledComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-star-filled\",\n                template: \"\\n    <svg\\n      ibmIconStarFilled\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return StarFilledComponent;\n}());\nvar StarFilledDirective = /** @class */ (function () {\n    function StarFilledDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"StarFilled32\", \"filepath\": \"star--filled/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M16,2l-4.55,9.22L1.28,12.69l7.36,7.18L6.9,30,16,25.22,25.1,30,23.36,19.87l7.36-7.17L20.55,11.22Z\" } }], \"name\": \"star--filled\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M16,2l-4.55,9.22L1.28,12.69l7.36,7.18L6.9,30,16,25.22,25.1,30,23.36,19.87l7.36-7.17L20.55,11.22Z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"StarFilled24\", \"filepath\": \"star--filled/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M16,2l-4.55,9.22L1.28,12.69l7.36,7.18L6.9,30,16,25.22,25.1,30,23.36,19.87l7.36-7.17L20.55,11.22Z\" } }], \"name\": \"star--filled\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M16,2l-4.55,9.22L1.28,12.69l7.36,7.18L6.9,30,16,25.22,25.1,30,23.36,19.87l7.36-7.17L20.55,11.22Z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"StarFilled20\", \"filepath\": \"star--filled/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M16,2l-4.55,9.22L1.28,12.69l7.36,7.18L6.9,30,16,25.22,25.1,30,23.36,19.87l7.36-7.17L20.55,11.22Z\" } }], \"name\": \"star--filled\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M16,2l-4.55,9.22L1.28,12.69l7.36,7.18L6.9,30,16,25.22,25.1,30,23.36,19.87l7.36-7.17L20.55,11.22Z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"StarFilled16\", \"filepath\": \"star--filled/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 16 16\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M8,1L5.7,5.6L0.6,6.3l3.7,3.6L3.5,15L8,12.6l4.6,2.4l-0.9-5.1l3.7-3.6l-5.1-0.7L8,1z\" } }], \"name\": \"star--filled\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\" aria-hidden=\\\"true\\\"><path d=\\\"M8,1L5.7,5.6L0.6,6.3l3.7,3.6L3.5,15L8,12.6l4.6,2.4l-0.9-5.1l3.7-3.6l-5.1-0.7L8,1z\\\"></path></svg>\"\n            },\n        };\n    }\n    StarFilledDirective_1 = StarFilledDirective;\n    StarFilledDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            StarFilledDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"star-filled-\" + StarFilledDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"star-filled-\" + StarFilledDirective_1.titleIdCounter);\n        }\n    };\n    var StarFilledDirective_1;\n    StarFilledDirective.titleIdCounter = 0;\n    StarFilledDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], StarFilledDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], StarFilledDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], StarFilledDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], StarFilledDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], StarFilledDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], StarFilledDirective.prototype, \"size\", void 0);\n    StarFilledDirective = StarFilledDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], StarFilledDirective);\nStarFilledDirective.ɵfac = function StarFilledDirective_Factory(t) { return new (t || StarFilledDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nStarFilledDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: StarFilledDirective, selectors: [[\"\", \"ibmIconStarFilled\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(StarFilledDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconStarFilled]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return StarFilledDirective;\n}());\nvar StarFilledModule = /** @class */ (function () {\n    function StarFilledModule() {\n    }\nStarFilledModule.ɵfac = function StarFilledModule_Factory(t) { return new (t || StarFilledModule)(); };\nStarFilledModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: StarFilledModule });\nStarFilledModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(StarFilledModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    StarFilledComponent,\n                    StarFilledDirective,\n                ],\n                exports: [\n                    StarFilledComponent,\n                    StarFilledDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(StarFilledModule, { declarations: [StarFilledComponent, StarFilledDirective], exports: [StarFilledComponent, StarFilledDirective] }); })();\n    return StarFilledModule;\n}());\n\nexport { StarFilledComponent, StarFilledDirective, StarFilledModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar StarComponent = /** @class */ (function () {\n    function StarComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], StarComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], StarComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], StarComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], StarComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], StarComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], StarComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], StarComponent.prototype, \"size\", void 0);\nStarComponent.ɵfac = function StarComponent_Factory(t) { return new (t || StarComponent)(); };\nStarComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: StarComponent, selectors: [[\"ibm-icon-star\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconStar\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function StarComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [StarDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(StarComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-star\",\n                template: \"\\n    <svg\\n      ibmIconStar\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return StarComponent;\n}());\nvar StarDirective = /** @class */ (function () {\n    function StarDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"Star32\", \"filepath\": \"star/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M16,6.52l2.76,5.58.46,1,1,.15,6.16.89L22,18.44l-.75.73.18,1,1.05,6.13-5.51-2.89L16,23l-.93.49L9.56,26.34l1-6.13.18-1L10,18.44,5.58,14.09l6.16-.89,1-.15.46-1L16,6.52M16,2l-4.55,9.22L1.28,12.69l7.36,7.18L6.9,30,16,25.22,25.1,30,23.36,19.87l7.36-7.17L20.55,11.22Z\" } }], \"name\": \"star\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M16,6.52l2.76,5.58.46,1,1,.15,6.16.89L22,18.44l-.75.73.18,1,1.05,6.13-5.51-2.89L16,23l-.93.49L9.56,26.34l1-6.13.18-1L10,18.44,5.58,14.09l6.16-.89,1-.15.46-1L16,6.52M16,2l-4.55,9.22L1.28,12.69l7.36,7.18L6.9,30,16,25.22,25.1,30,23.36,19.87l7.36-7.17L20.55,11.22Z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"Star24\", \"filepath\": \"star/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M16,6.52l2.76,5.58.46,1,1,.15,6.16.89L22,18.44l-.75.73.18,1,1.05,6.13-5.51-2.89L16,23l-.93.49L9.56,26.34l1-6.13.18-1L10,18.44,5.58,14.09l6.16-.89,1-.15.46-1L16,6.52M16,2l-4.55,9.22L1.28,12.69l7.36,7.18L6.9,30,16,25.22,25.1,30,23.36,19.87l7.36-7.17L20.55,11.22Z\" } }], \"name\": \"star\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M16,6.52l2.76,5.58.46,1,1,.15,6.16.89L22,18.44l-.75.73.18,1,1.05,6.13-5.51-2.89L16,23l-.93.49L9.56,26.34l1-6.13.18-1L10,18.44,5.58,14.09l6.16-.89,1-.15.46-1L16,6.52M16,2l-4.55,9.22L1.28,12.69l7.36,7.18L6.9,30,16,25.22,25.1,30,23.36,19.87l7.36-7.17L20.55,11.22Z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"Star20\", \"filepath\": \"star/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M16,6.52l2.76,5.58.46,1,1,.15,6.16.89L22,18.44l-.75.73.18,1,1.05,6.13-5.51-2.89L16,23l-.93.49L9.56,26.34l1-6.13.18-1L10,18.44,5.58,14.09l6.16-.89,1-.15.46-1L16,6.52M16,2l-4.55,9.22L1.28,12.69l7.36,7.18L6.9,30,16,25.22,25.1,30,23.36,19.87l7.36-7.17L20.55,11.22Z\" } }], \"name\": \"star\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M16,6.52l2.76,5.58.46,1,1,.15,6.16.89L22,18.44l-.75.73.18,1,1.05,6.13-5.51-2.89L16,23l-.93.49L9.56,26.34l1-6.13.18-1L10,18.44,5.58,14.09l6.16-.89,1-.15.46-1L16,6.52M16,2l-4.55,9.22L1.28,12.69l7.36,7.18L6.9,30,16,25.22,25.1,30,23.36,19.87l7.36-7.17L20.55,11.22Z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"Star16\", \"filepath\": \"star/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 16 16\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M8,3.3l1.4,2.8l0.2,0.5l0.5,0.1l3.1,0.4L11,9.2l-0.4,0.4l0.1,0.5l0.5,3.1l-2.8-1.4L8,11.5l-0.5,0.2l-2.8,1.4l0.5-3.1\\tl0.1-0.5L5,9.2L2.8,7l3.1-0.4l0.5-0.1L6.6,6L8,3.3 M8,1L5.7,5.6L0.6,6.3l3.7,3.6L3.5,15L8,12.6l4.6,2.4l-0.9-5.1l3.7-3.6l-5.1-0.7\\tL8,1z\" } }], \"name\": \"star\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\" aria-hidden=\\\"true\\\"><path d=\\\"M8,3.3l1.4,2.8l0.2,0.5l0.5,0.1l3.1,0.4L11,9.2l-0.4,0.4l0.1,0.5l0.5,3.1l-2.8-1.4L8,11.5l-0.5,0.2l-2.8,1.4l0.5-3.1\\tl0.1-0.5L5,9.2L2.8,7l3.1-0.4l0.5-0.1L6.6,6L8,3.3 M8,1L5.7,5.6L0.6,6.3l3.7,3.6L3.5,15L8,12.6l4.6,2.4l-0.9-5.1l3.7-3.6l-5.1-0.7\\tL8,1z\\\"></path></svg>\"\n            },\n        };\n    }\n    StarDirective_1 = StarDirective;\n    StarDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            StarDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"star-\" + StarDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"star-\" + StarDirective_1.titleIdCounter);\n        }\n    };\n    var StarDirective_1;\n    StarDirective.titleIdCounter = 0;\n    StarDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], StarDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], StarDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], StarDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], StarDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], StarDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], StarDirective.prototype, \"size\", void 0);\n    StarDirective = StarDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], StarDirective);\nStarDirective.ɵfac = function StarDirective_Factory(t) { return new (t || StarDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nStarDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: StarDirective, selectors: [[\"\", \"ibmIconStar\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(StarDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconStar]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return StarDirective;\n}());\nvar StarModule = /** @class */ (function () {\n    function StarModule() {\n    }\nStarModule.ɵfac = function StarModule_Factory(t) { return new (t || StarModule)(); };\nStarModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: StarModule });\nStarModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(StarModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    StarComponent,\n                    StarDirective,\n                ],\n                exports: [\n                    StarComponent,\n                    StarDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(StarModule, { declarations: [StarComponent, StarDirective], exports: [StarComponent, StarDirective] }); })();\n    return StarModule;\n}());\n\nexport { StarComponent, StarDirective, StarModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar StopFilledComponent = /** @class */ (function () {\n    function StopFilledComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], StopFilledComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], StopFilledComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], StopFilledComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], StopFilledComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], StopFilledComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], StopFilledComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], StopFilledComponent.prototype, \"size\", void 0);\nStopFilledComponent.ɵfac = function StopFilledComponent_Factory(t) { return new (t || StopFilledComponent)(); };\nStopFilledComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: StopFilledComponent, selectors: [[\"ibm-icon-stop-filled\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconStopFilled\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function StopFilledComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [StopFilledDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(StopFilledComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-stop-filled\",\n                template: \"\\n    <svg\\n      ibmIconStopFilled\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return StopFilledComponent;\n}());\nvar StopFilledDirective = /** @class */ (function () {\n    function StopFilledDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"StopFilled32\", \"filepath\": \"stop--filled/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm6,18a2,2,0,0,1-2,2H12a2,2,0,0,1-2-2V12a2,2,0,0,1,2-2h8a2,2,0,0,1,2,2Z\" } }], \"name\": \"stop--filled\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm6,18a2,2,0,0,1-2,2H12a2,2,0,0,1-2-2V12a2,2,0,0,1,2-2h8a2,2,0,0,1,2,2Z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"StopFilled24\", \"filepath\": \"stop--filled/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm6,18a2,2,0,0,1-2,2H12a2,2,0,0,1-2-2V12a2,2,0,0,1,2-2h8a2,2,0,0,1,2,2Z\" } }], \"name\": \"stop--filled\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm6,18a2,2,0,0,1-2,2H12a2,2,0,0,1-2-2V12a2,2,0,0,1,2-2h8a2,2,0,0,1,2,2Z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"StopFilled20\", \"filepath\": \"stop--filled/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm6,18a2,2,0,0,1-2,2H12a2,2,0,0,1-2-2V12a2,2,0,0,1,2-2h8a2,2,0,0,1,2,2Z\" } }], \"name\": \"stop--filled\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm6,18a2,2,0,0,1-2,2H12a2,2,0,0,1-2-2V12a2,2,0,0,1,2-2h8a2,2,0,0,1,2,2Z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"StopFilled16\", \"filepath\": \"stop--filled/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 16 16\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M11,10c0,0.6-0.4,1-1,1H6c-0.6,0-1-0.4-1-1V6c0-0.6,0.4-1,1-1h4\\tc0.6,0,1,0.4,1,1V10z\" } }], \"name\": \"stop--filled\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\" aria-hidden=\\\"true\\\"><path d=\\\"M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M11,10c0,0.6-0.4,1-1,1H6c-0.6,0-1-0.4-1-1V6c0-0.6,0.4-1,1-1h4\\tc0.6,0,1,0.4,1,1V10z\\\"></path></svg>\"\n            },\n        };\n    }\n    StopFilledDirective_1 = StopFilledDirective;\n    StopFilledDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            StopFilledDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"stop-filled-\" + StopFilledDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"stop-filled-\" + StopFilledDirective_1.titleIdCounter);\n        }\n    };\n    var StopFilledDirective_1;\n    StopFilledDirective.titleIdCounter = 0;\n    StopFilledDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], StopFilledDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], StopFilledDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], StopFilledDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], StopFilledDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], StopFilledDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], StopFilledDirective.prototype, \"size\", void 0);\n    StopFilledDirective = StopFilledDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], StopFilledDirective);\nStopFilledDirective.ɵfac = function StopFilledDirective_Factory(t) { return new (t || StopFilledDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nStopFilledDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: StopFilledDirective, selectors: [[\"\", \"ibmIconStopFilled\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(StopFilledDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconStopFilled]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return StopFilledDirective;\n}());\nvar StopFilledModule = /** @class */ (function () {\n    function StopFilledModule() {\n    }\nStopFilledModule.ɵfac = function StopFilledModule_Factory(t) { return new (t || StopFilledModule)(); };\nStopFilledModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: StopFilledModule });\nStopFilledModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(StopFilledModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    StopFilledComponent,\n                    StopFilledDirective,\n                ],\n                exports: [\n                    StopFilledComponent,\n                    StopFilledDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(StopFilledModule, { declarations: [StopFilledComponent, StopFilledDirective], exports: [StopFilledComponent, StopFilledDirective] }); })();\n    return StopFilledModule;\n}());\n\nexport { StopFilledComponent, StopFilledDirective, StopFilledModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar SubtractComponent = /** @class */ (function () {\n    function SubtractComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], SubtractComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], SubtractComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], SubtractComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], SubtractComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], SubtractComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], SubtractComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], SubtractComponent.prototype, \"size\", void 0);\nSubtractComponent.ɵfac = function SubtractComponent_Factory(t) { return new (t || SubtractComponent)(); };\nSubtractComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: SubtractComponent, selectors: [[\"ibm-icon-subtract\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconSubtract\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function SubtractComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [SubtractDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(SubtractComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-subtract\",\n                template: \"\\n    <svg\\n      ibmIconSubtract\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return SubtractComponent;\n}());\nvar SubtractDirective = /** @class */ (function () {\n    function SubtractDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"Subtract32\", \"filepath\": \"subtract/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M8 15H24V17H8z\" } }], \"name\": \"subtract\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M8 15H24V17H8z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"Subtract24\", \"filepath\": \"subtract/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M8 15H24V17H8z\" } }], \"name\": \"subtract\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M8 15H24V17H8z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"Subtract20\", \"filepath\": \"subtract/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M8 15H24V17H8z\" } }], \"name\": \"subtract\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M8 15H24V17H8z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"Subtract16\", \"filepath\": \"subtract/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M8 15H24V17H8z\" } }], \"name\": \"subtract\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M8 15H24V17H8z\\\"></path></svg>\"\n            },\n        };\n    }\n    SubtractDirective_1 = SubtractDirective;\n    SubtractDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            SubtractDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"subtract-\" + SubtractDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"subtract-\" + SubtractDirective_1.titleIdCounter);\n        }\n    };\n    var SubtractDirective_1;\n    SubtractDirective.titleIdCounter = 0;\n    SubtractDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], SubtractDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], SubtractDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], SubtractDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], SubtractDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], SubtractDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], SubtractDirective.prototype, \"size\", void 0);\n    SubtractDirective = SubtractDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], SubtractDirective);\nSubtractDirective.ɵfac = function SubtractDirective_Factory(t) { return new (t || SubtractDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nSubtractDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: SubtractDirective, selectors: [[\"\", \"ibmIconSubtract\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(SubtractDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconSubtract]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return SubtractDirective;\n}());\nvar SubtractModule = /** @class */ (function () {\n    function SubtractModule() {\n    }\nSubtractModule.ɵfac = function SubtractModule_Factory(t) { return new (t || SubtractModule)(); };\nSubtractModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: SubtractModule });\nSubtractModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(SubtractModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    SubtractComponent,\n                    SubtractDirective,\n                ],\n                exports: [\n                    SubtractComponent,\n                    SubtractDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(SubtractModule, { declarations: [SubtractComponent, SubtractDirective], exports: [SubtractComponent, SubtractDirective] }); })();\n    return SubtractModule;\n}());\n\nexport { SubtractComponent, SubtractDirective, SubtractModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar TaskViewComponent = /** @class */ (function () {\n    function TaskViewComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], TaskViewComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], TaskViewComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], TaskViewComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], TaskViewComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], TaskViewComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], TaskViewComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], TaskViewComponent.prototype, \"size\", void 0);\nTaskViewComponent.ɵfac = function TaskViewComponent_Factory(t) { return new (t || TaskViewComponent)(); };\nTaskViewComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: TaskViewComponent, selectors: [[\"ibm-icon-task-view\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconTaskView\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function TaskViewComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [TaskViewDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(TaskViewComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-task-view\",\n                template: \"\\n    <svg\\n      ibmIconTaskView\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return TaskViewComponent;\n}());\nvar TaskViewDirective = /** @class */ (function () {\n    function TaskViewDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"TaskView32\", \"filepath\": \"task--view/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"circle\", \"attrs\": { \"cx\": \"22\", \"cy\": \"24\", \"r\": \"2\" } }, { \"elem\": \"path\", \"attrs\": { \"fill\": \"none\", \"d\": \"M22,28a4,4,0,1,1,4-4A4.0039,4.0039,0,0,1,22,28Zm0-6a2,2,0,1,0,2,2A2.0027,2.0027,0,0,0,22,22Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M29.7769,23.4785A8.64,8.64,0,0,0,22,18a8.64,8.64,0,0,0-7.7769,5.4785L14,24l.2231.5215A8.64,8.64,0,0,0,22,30a8.64,8.64,0,0,0,7.7769-5.4785L30,24ZM22,28a4,4,0,1,1,4-4A4.0045,4.0045,0,0,1,22,28Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M12,28H7V7h3v3H22V7h3v9h2V7a2,2,0,0,0-2-2H22V4a2,2,0,0,0-2-2H12a2,2,0,0,0-2,2V5H7A2,2,0,0,0,5,7V28a2,2,0,0,0,2,2h5ZM12,4h8V8H12Z\" } }], \"name\": \"task--view\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><circle cx=\\\"22\\\" cy=\\\"24\\\" r=\\\"2\\\"></circle><path fill=\\\"none\\\" d=\\\"M22,28a4,4,0,1,1,4-4A4.0039,4.0039,0,0,1,22,28Zm0-6a2,2,0,1,0,2,2A2.0027,2.0027,0,0,0,22,22Z\\\"></path><path d=\\\"M29.7769,23.4785A8.64,8.64,0,0,0,22,18a8.64,8.64,0,0,0-7.7769,5.4785L14,24l.2231.5215A8.64,8.64,0,0,0,22,30a8.64,8.64,0,0,0,7.7769-5.4785L30,24ZM22,28a4,4,0,1,1,4-4A4.0045,4.0045,0,0,1,22,28Z\\\"></path><path d=\\\"M12,28H7V7h3v3H22V7h3v9h2V7a2,2,0,0,0-2-2H22V4a2,2,0,0,0-2-2H12a2,2,0,0,0-2,2V5H7A2,2,0,0,0,5,7V28a2,2,0,0,0,2,2h5ZM12,4h8V8H12Z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"TaskView24\", \"filepath\": \"task--view/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"circle\", \"attrs\": { \"cx\": \"22\", \"cy\": \"24\", \"r\": \"2\" } }, { \"elem\": \"path\", \"attrs\": { \"fill\": \"none\", \"d\": \"M22,28a4,4,0,1,1,4-4A4.0039,4.0039,0,0,1,22,28Zm0-6a2,2,0,1,0,2,2A2.0027,2.0027,0,0,0,22,22Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M29.7769,23.4785A8.64,8.64,0,0,0,22,18a8.64,8.64,0,0,0-7.7769,5.4785L14,24l.2231.5215A8.64,8.64,0,0,0,22,30a8.64,8.64,0,0,0,7.7769-5.4785L30,24ZM22,28a4,4,0,1,1,4-4A4.0045,4.0045,0,0,1,22,28Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M12,28H7V7h3v3H22V7h3v9h2V7a2,2,0,0,0-2-2H22V4a2,2,0,0,0-2-2H12a2,2,0,0,0-2,2V5H7A2,2,0,0,0,5,7V28a2,2,0,0,0,2,2h5ZM12,4h8V8H12Z\" } }], \"name\": \"task--view\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><circle cx=\\\"22\\\" cy=\\\"24\\\" r=\\\"2\\\"></circle><path fill=\\\"none\\\" d=\\\"M22,28a4,4,0,1,1,4-4A4.0039,4.0039,0,0,1,22,28Zm0-6a2,2,0,1,0,2,2A2.0027,2.0027,0,0,0,22,22Z\\\"></path><path d=\\\"M29.7769,23.4785A8.64,8.64,0,0,0,22,18a8.64,8.64,0,0,0-7.7769,5.4785L14,24l.2231.5215A8.64,8.64,0,0,0,22,30a8.64,8.64,0,0,0,7.7769-5.4785L30,24ZM22,28a4,4,0,1,1,4-4A4.0045,4.0045,0,0,1,22,28Z\\\"></path><path d=\\\"M12,28H7V7h3v3H22V7h3v9h2V7a2,2,0,0,0-2-2H22V4a2,2,0,0,0-2-2H12a2,2,0,0,0-2,2V5H7A2,2,0,0,0,5,7V28a2,2,0,0,0,2,2h5ZM12,4h8V8H12Z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"TaskView20\", \"filepath\": \"task--view/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"circle\", \"attrs\": { \"cx\": \"22\", \"cy\": \"24\", \"r\": \"2\" } }, { \"elem\": \"path\", \"attrs\": { \"fill\": \"none\", \"d\": \"M22,28a4,4,0,1,1,4-4A4.0039,4.0039,0,0,1,22,28Zm0-6a2,2,0,1,0,2,2A2.0027,2.0027,0,0,0,22,22Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M29.7769,23.4785A8.64,8.64,0,0,0,22,18a8.64,8.64,0,0,0-7.7769,5.4785L14,24l.2231.5215A8.64,8.64,0,0,0,22,30a8.64,8.64,0,0,0,7.7769-5.4785L30,24ZM22,28a4,4,0,1,1,4-4A4.0045,4.0045,0,0,1,22,28Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M12,28H7V7h3v3H22V7h3v9h2V7a2,2,0,0,0-2-2H22V4a2,2,0,0,0-2-2H12a2,2,0,0,0-2,2V5H7A2,2,0,0,0,5,7V28a2,2,0,0,0,2,2h5ZM12,4h8V8H12Z\" } }], \"name\": \"task--view\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><circle cx=\\\"22\\\" cy=\\\"24\\\" r=\\\"2\\\"></circle><path fill=\\\"none\\\" d=\\\"M22,28a4,4,0,1,1,4-4A4.0039,4.0039,0,0,1,22,28Zm0-6a2,2,0,1,0,2,2A2.0027,2.0027,0,0,0,22,22Z\\\"></path><path d=\\\"M29.7769,23.4785A8.64,8.64,0,0,0,22,18a8.64,8.64,0,0,0-7.7769,5.4785L14,24l.2231.5215A8.64,8.64,0,0,0,22,30a8.64,8.64,0,0,0,7.7769-5.4785L30,24ZM22,28a4,4,0,1,1,4-4A4.0045,4.0045,0,0,1,22,28Z\\\"></path><path d=\\\"M12,28H7V7h3v3H22V7h3v9h2V7a2,2,0,0,0-2-2H22V4a2,2,0,0,0-2-2H12a2,2,0,0,0-2,2V5H7A2,2,0,0,0,5,7V28a2,2,0,0,0,2,2h5ZM12,4h8V8H12Z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"TaskView16\", \"filepath\": \"task--view/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"circle\", \"attrs\": { \"cx\": \"22\", \"cy\": \"24\", \"r\": \"2\" } }, { \"elem\": \"path\", \"attrs\": { \"fill\": \"none\", \"d\": \"M22,28a4,4,0,1,1,4-4A4.0039,4.0039,0,0,1,22,28Zm0-6a2,2,0,1,0,2,2A2.0027,2.0027,0,0,0,22,22Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M29.7769,23.4785A8.64,8.64,0,0,0,22,18a8.64,8.64,0,0,0-7.7769,5.4785L14,24l.2231.5215A8.64,8.64,0,0,0,22,30a8.64,8.64,0,0,0,7.7769-5.4785L30,24ZM22,28a4,4,0,1,1,4-4A4.0045,4.0045,0,0,1,22,28Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M12,28H7V7h3v3H22V7h3v9h2V7a2,2,0,0,0-2-2H22V4a2,2,0,0,0-2-2H12a2,2,0,0,0-2,2V5H7A2,2,0,0,0,5,7V28a2,2,0,0,0,2,2h5ZM12,4h8V8H12Z\" } }], \"name\": \"task--view\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><circle cx=\\\"22\\\" cy=\\\"24\\\" r=\\\"2\\\"></circle><path fill=\\\"none\\\" d=\\\"M22,28a4,4,0,1,1,4-4A4.0039,4.0039,0,0,1,22,28Zm0-6a2,2,0,1,0,2,2A2.0027,2.0027,0,0,0,22,22Z\\\"></path><path d=\\\"M29.7769,23.4785A8.64,8.64,0,0,0,22,18a8.64,8.64,0,0,0-7.7769,5.4785L14,24l.2231.5215A8.64,8.64,0,0,0,22,30a8.64,8.64,0,0,0,7.7769-5.4785L30,24ZM22,28a4,4,0,1,1,4-4A4.0045,4.0045,0,0,1,22,28Z\\\"></path><path d=\\\"M12,28H7V7h3v3H22V7h3v9h2V7a2,2,0,0,0-2-2H22V4a2,2,0,0,0-2-2H12a2,2,0,0,0-2,2V5H7A2,2,0,0,0,5,7V28a2,2,0,0,0,2,2h5ZM12,4h8V8H12Z\\\"></path></svg>\"\n            },\n        };\n    }\n    TaskViewDirective_1 = TaskViewDirective;\n    TaskViewDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            TaskViewDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"task-view-\" + TaskViewDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"task-view-\" + TaskViewDirective_1.titleIdCounter);\n        }\n    };\n    var TaskViewDirective_1;\n    TaskViewDirective.titleIdCounter = 0;\n    TaskViewDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], TaskViewDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], TaskViewDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], TaskViewDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], TaskViewDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], TaskViewDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], TaskViewDirective.prototype, \"size\", void 0);\n    TaskViewDirective = TaskViewDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], TaskViewDirective);\nTaskViewDirective.ɵfac = function TaskViewDirective_Factory(t) { return new (t || TaskViewDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nTaskViewDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: TaskViewDirective, selectors: [[\"\", \"ibmIconTaskView\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(TaskViewDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconTaskView]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return TaskViewDirective;\n}());\nvar TaskViewModule = /** @class */ (function () {\n    function TaskViewModule() {\n    }\nTaskViewModule.ɵfac = function TaskViewModule_Factory(t) { return new (t || TaskViewModule)(); };\nTaskViewModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: TaskViewModule });\nTaskViewModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(TaskViewModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    TaskViewComponent,\n                    TaskViewDirective,\n                ],\n                exports: [\n                    TaskViewComponent,\n                    TaskViewDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(TaskViewModule, { declarations: [TaskViewComponent, TaskViewDirective], exports: [TaskViewComponent, TaskViewDirective] }); })();\n    return TaskViewModule;\n}());\n\nexport { TaskViewComponent, TaskViewDirective, TaskViewModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar TemperatureHotComponent = /** @class */ (function () {\n    function TemperatureHotComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], TemperatureHotComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], TemperatureHotComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], TemperatureHotComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], TemperatureHotComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], TemperatureHotComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], TemperatureHotComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], TemperatureHotComponent.prototype, \"size\", void 0);\nTemperatureHotComponent.ɵfac = function TemperatureHotComponent_Factory(t) { return new (t || TemperatureHotComponent)(); };\nTemperatureHotComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: TemperatureHotComponent, selectors: [[\"ibm-icon-temperature-hot\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconTemperatureHot\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function TemperatureHotComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [TemperatureHotDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(TemperatureHotComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-temperature-hot\",\n                template: \"\\n    <svg\\n      ibmIconTemperatureHot\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return TemperatureHotComponent;\n}());\nvar TemperatureHotDirective = /** @class */ (function () {\n    function TemperatureHotDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"TemperatureHot32\", \"filepath\": \"temperature--hot/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M24.121 19.121H26.121V23.121H24.121z\", \"transform\": \"rotate(-45 25.121 21.121)\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M26 13H30V15H26z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M23.121 5.879H27.121V7.879H23.121z\", \"transform\": \"rotate(-45 25.121 6.879)\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M17 2H19V6H17zM18 8a6.0365 6.0365 0 00-1 .09v2.0518A3.9567 3.9567 0 0118 10a4 4 0 010 8v2A6 6 0 0018 8zM10 20.1839V7H8V20.1839a3 3 0 102 0z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M14,18.1377V7A5,5,0,0,0,4,7V18.1377A6.9894,6.9894,0,1,0,16,23,6.9411,6.9411,0,0,0,14,18.1377ZM9,28a5.0057,5.0057,0,0,1-5-5,4.9164,4.9164,0,0,1,1.0747-3.06c.094-.12.1953-.2329.2993-.3437.0518-.0547.1009-.1113.1548-.1636.11-.1064.2271-.2051.3462-.3013.0425-.0346.0815-.0727.125-.1059V7a3,3,0,0,1,6,0V19.0254c.0437.0332.0828.0718.1255.1064.1189.0962.2361.1944.3454.3008.0542.0523.1038.1094.1556.1641.1037.11.205.2236.2988.3432A4.9146,4.9146,0,0,1,14,23,5.0057,5.0057,0,0,1,9,28Z\" } }], \"name\": \"temperature--hot\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M24.121 19.121H26.121V23.121H24.121z\\\" transform=\\\"rotate(-45 25.121 21.121)\\\"></path><path d=\\\"M26 13H30V15H26z\\\"></path><path d=\\\"M23.121 5.879H27.121V7.879H23.121z\\\" transform=\\\"rotate(-45 25.121 6.879)\\\"></path><path d=\\\"M17 2H19V6H17zM18 8a6.0365 6.0365 0 00-1 .09v2.0518A3.9567 3.9567 0 0118 10a4 4 0 010 8v2A6 6 0 0018 8zM10 20.1839V7H8V20.1839a3 3 0 102 0z\\\"></path><path d=\\\"M14,18.1377V7A5,5,0,0,0,4,7V18.1377A6.9894,6.9894,0,1,0,16,23,6.9411,6.9411,0,0,0,14,18.1377ZM9,28a5.0057,5.0057,0,0,1-5-5,4.9164,4.9164,0,0,1,1.0747-3.06c.094-.12.1953-.2329.2993-.3437.0518-.0547.1009-.1113.1548-.1636.11-.1064.2271-.2051.3462-.3013.0425-.0346.0815-.0727.125-.1059V7a3,3,0,0,1,6,0V19.0254c.0437.0332.0828.0718.1255.1064.1189.0962.2361.1944.3454.3008.0542.0523.1038.1094.1556.1641.1037.11.205.2236.2988.3432A4.9146,4.9146,0,0,1,14,23,5.0057,5.0057,0,0,1,9,28Z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"TemperatureHot24\", \"filepath\": \"temperature--hot/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M24.121 19.121H26.121V23.121H24.121z\", \"transform\": \"rotate(-45 25.121 21.121)\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M26 13H30V15H26z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M23.121 5.879H27.121V7.879H23.121z\", \"transform\": \"rotate(-45 25.121 6.879)\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M17 2H19V6H17zM18 8a6.0365 6.0365 0 00-1 .09v2.0518A3.9567 3.9567 0 0118 10a4 4 0 010 8v2A6 6 0 0018 8zM10 20.1839V7H8V20.1839a3 3 0 102 0z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M14,18.1377V7A5,5,0,0,0,4,7V18.1377A6.9894,6.9894,0,1,0,16,23,6.9411,6.9411,0,0,0,14,18.1377ZM9,28a5.0057,5.0057,0,0,1-5-5,4.9164,4.9164,0,0,1,1.0747-3.06c.094-.12.1953-.2329.2993-.3437.0518-.0547.1009-.1113.1548-.1636.11-.1064.2271-.2051.3462-.3013.0425-.0346.0815-.0727.125-.1059V7a3,3,0,0,1,6,0V19.0254c.0437.0332.0828.0718.1255.1064.1189.0962.2361.1944.3454.3008.0542.0523.1038.1094.1556.1641.1037.11.205.2236.2988.3432A4.9146,4.9146,0,0,1,14,23,5.0057,5.0057,0,0,1,9,28Z\" } }], \"name\": \"temperature--hot\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M24.121 19.121H26.121V23.121H24.121z\\\" transform=\\\"rotate(-45 25.121 21.121)\\\"></path><path d=\\\"M26 13H30V15H26z\\\"></path><path d=\\\"M23.121 5.879H27.121V7.879H23.121z\\\" transform=\\\"rotate(-45 25.121 6.879)\\\"></path><path d=\\\"M17 2H19V6H17zM18 8a6.0365 6.0365 0 00-1 .09v2.0518A3.9567 3.9567 0 0118 10a4 4 0 010 8v2A6 6 0 0018 8zM10 20.1839V7H8V20.1839a3 3 0 102 0z\\\"></path><path d=\\\"M14,18.1377V7A5,5,0,0,0,4,7V18.1377A6.9894,6.9894,0,1,0,16,23,6.9411,6.9411,0,0,0,14,18.1377ZM9,28a5.0057,5.0057,0,0,1-5-5,4.9164,4.9164,0,0,1,1.0747-3.06c.094-.12.1953-.2329.2993-.3437.0518-.0547.1009-.1113.1548-.1636.11-.1064.2271-.2051.3462-.3013.0425-.0346.0815-.0727.125-.1059V7a3,3,0,0,1,6,0V19.0254c.0437.0332.0828.0718.1255.1064.1189.0962.2361.1944.3454.3008.0542.0523.1038.1094.1556.1641.1037.11.205.2236.2988.3432A4.9146,4.9146,0,0,1,14,23,5.0057,5.0057,0,0,1,9,28Z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"TemperatureHot20\", \"filepath\": \"temperature--hot/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M24.121 19.121H26.121V23.121H24.121z\", \"transform\": \"rotate(-45 25.121 21.121)\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M26 13H30V15H26z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M23.121 5.879H27.121V7.879H23.121z\", \"transform\": \"rotate(-45 25.121 6.879)\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M17 2H19V6H17zM18 8a6.0365 6.0365 0 00-1 .09v2.0518A3.9567 3.9567 0 0118 10a4 4 0 010 8v2A6 6 0 0018 8zM10 20.1839V7H8V20.1839a3 3 0 102 0z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M14,18.1377V7A5,5,0,0,0,4,7V18.1377A6.9894,6.9894,0,1,0,16,23,6.9411,6.9411,0,0,0,14,18.1377ZM9,28a5.0057,5.0057,0,0,1-5-5,4.9164,4.9164,0,0,1,1.0747-3.06c.094-.12.1953-.2329.2993-.3437.0518-.0547.1009-.1113.1548-.1636.11-.1064.2271-.2051.3462-.3013.0425-.0346.0815-.0727.125-.1059V7a3,3,0,0,1,6,0V19.0254c.0437.0332.0828.0718.1255.1064.1189.0962.2361.1944.3454.3008.0542.0523.1038.1094.1556.1641.1037.11.205.2236.2988.3432A4.9146,4.9146,0,0,1,14,23,5.0057,5.0057,0,0,1,9,28Z\" } }], \"name\": \"temperature--hot\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M24.121 19.121H26.121V23.121H24.121z\\\" transform=\\\"rotate(-45 25.121 21.121)\\\"></path><path d=\\\"M26 13H30V15H26z\\\"></path><path d=\\\"M23.121 5.879H27.121V7.879H23.121z\\\" transform=\\\"rotate(-45 25.121 6.879)\\\"></path><path d=\\\"M17 2H19V6H17zM18 8a6.0365 6.0365 0 00-1 .09v2.0518A3.9567 3.9567 0 0118 10a4 4 0 010 8v2A6 6 0 0018 8zM10 20.1839V7H8V20.1839a3 3 0 102 0z\\\"></path><path d=\\\"M14,18.1377V7A5,5,0,0,0,4,7V18.1377A6.9894,6.9894,0,1,0,16,23,6.9411,6.9411,0,0,0,14,18.1377ZM9,28a5.0057,5.0057,0,0,1-5-5,4.9164,4.9164,0,0,1,1.0747-3.06c.094-.12.1953-.2329.2993-.3437.0518-.0547.1009-.1113.1548-.1636.11-.1064.2271-.2051.3462-.3013.0425-.0346.0815-.0727.125-.1059V7a3,3,0,0,1,6,0V19.0254c.0437.0332.0828.0718.1255.1064.1189.0962.2361.1944.3454.3008.0542.0523.1038.1094.1556.1641.1037.11.205.2236.2988.3432A4.9146,4.9146,0,0,1,14,23,5.0057,5.0057,0,0,1,9,28Z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"TemperatureHot16\", \"filepath\": \"temperature--hot/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M24.121 19.121H26.121V23.121H24.121z\", \"transform\": \"rotate(-45 25.121 21.121)\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M26 13H30V15H26z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M23.121 5.879H27.121V7.879H23.121z\", \"transform\": \"rotate(-45 25.121 6.879)\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M17 2H19V6H17zM18 8a6.0365 6.0365 0 00-1 .09v2.0518A3.9567 3.9567 0 0118 10a4 4 0 010 8v2A6 6 0 0018 8zM10 20.1839V7H8V20.1839a3 3 0 102 0z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M14,18.1377V7A5,5,0,0,0,4,7V18.1377A6.9894,6.9894,0,1,0,16,23,6.9411,6.9411,0,0,0,14,18.1377ZM9,28a5.0057,5.0057,0,0,1-5-5,4.9164,4.9164,0,0,1,1.0747-3.06c.094-.12.1953-.2329.2993-.3437.0518-.0547.1009-.1113.1548-.1636.11-.1064.2271-.2051.3462-.3013.0425-.0346.0815-.0727.125-.1059V7a3,3,0,0,1,6,0V19.0254c.0437.0332.0828.0718.1255.1064.1189.0962.2361.1944.3454.3008.0542.0523.1038.1094.1556.1641.1037.11.205.2236.2988.3432A4.9146,4.9146,0,0,1,14,23,5.0057,5.0057,0,0,1,9,28Z\" } }], \"name\": \"temperature--hot\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M24.121 19.121H26.121V23.121H24.121z\\\" transform=\\\"rotate(-45 25.121 21.121)\\\"></path><path d=\\\"M26 13H30V15H26z\\\"></path><path d=\\\"M23.121 5.879H27.121V7.879H23.121z\\\" transform=\\\"rotate(-45 25.121 6.879)\\\"></path><path d=\\\"M17 2H19V6H17zM18 8a6.0365 6.0365 0 00-1 .09v2.0518A3.9567 3.9567 0 0118 10a4 4 0 010 8v2A6 6 0 0018 8zM10 20.1839V7H8V20.1839a3 3 0 102 0z\\\"></path><path d=\\\"M14,18.1377V7A5,5,0,0,0,4,7V18.1377A6.9894,6.9894,0,1,0,16,23,6.9411,6.9411,0,0,0,14,18.1377ZM9,28a5.0057,5.0057,0,0,1-5-5,4.9164,4.9164,0,0,1,1.0747-3.06c.094-.12.1953-.2329.2993-.3437.0518-.0547.1009-.1113.1548-.1636.11-.1064.2271-.2051.3462-.3013.0425-.0346.0815-.0727.125-.1059V7a3,3,0,0,1,6,0V19.0254c.0437.0332.0828.0718.1255.1064.1189.0962.2361.1944.3454.3008.0542.0523.1038.1094.1556.1641.1037.11.205.2236.2988.3432A4.9146,4.9146,0,0,1,14,23,5.0057,5.0057,0,0,1,9,28Z\\\"></path></svg>\"\n            },\n        };\n    }\n    TemperatureHotDirective_1 = TemperatureHotDirective;\n    TemperatureHotDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            TemperatureHotDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"temperature-hot-\" + TemperatureHotDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"temperature-hot-\" + TemperatureHotDirective_1.titleIdCounter);\n        }\n    };\n    var TemperatureHotDirective_1;\n    TemperatureHotDirective.titleIdCounter = 0;\n    TemperatureHotDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], TemperatureHotDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], TemperatureHotDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], TemperatureHotDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], TemperatureHotDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], TemperatureHotDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], TemperatureHotDirective.prototype, \"size\", void 0);\n    TemperatureHotDirective = TemperatureHotDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], TemperatureHotDirective);\nTemperatureHotDirective.ɵfac = function TemperatureHotDirective_Factory(t) { return new (t || TemperatureHotDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nTemperatureHotDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: TemperatureHotDirective, selectors: [[\"\", \"ibmIconTemperatureHot\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(TemperatureHotDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconTemperatureHot]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return TemperatureHotDirective;\n}());\nvar TemperatureHotModule = /** @class */ (function () {\n    function TemperatureHotModule() {\n    }\nTemperatureHotModule.ɵfac = function TemperatureHotModule_Factory(t) { return new (t || TemperatureHotModule)(); };\nTemperatureHotModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: TemperatureHotModule });\nTemperatureHotModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(TemperatureHotModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    TemperatureHotComponent,\n                    TemperatureHotDirective,\n                ],\n                exports: [\n                    TemperatureHotComponent,\n                    TemperatureHotDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(TemperatureHotModule, { declarations: [TemperatureHotComponent, TemperatureHotDirective], exports: [TemperatureHotComponent, TemperatureHotDirective] }); })();\n    return TemperatureHotModule;\n}());\n\nexport { TemperatureHotComponent, TemperatureHotDirective, TemperatureHotModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar TextCreationComponent = /** @class */ (function () {\n    function TextCreationComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], TextCreationComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], TextCreationComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], TextCreationComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], TextCreationComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], TextCreationComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], TextCreationComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], TextCreationComponent.prototype, \"size\", void 0);\nTextCreationComponent.ɵfac = function TextCreationComponent_Factory(t) { return new (t || TextCreationComponent)(); };\nTextCreationComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: TextCreationComponent, selectors: [[\"ibm-icon-text-creation\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconTextCreation\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function TextCreationComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [TextCreationDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(TextCreationComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-text-creation\",\n                template: \"\\n    <svg\\n      ibmIconTextCreation\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return TextCreationComponent;\n}());\nvar TextCreationDirective = /** @class */ (function () {\n    function TextCreationDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"TextCreation32\", \"filepath\": \"text--creation/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M27,22.14V9.86A4,4,0,1,0,22.14,5H9.86A4,4,0,1,0,5,9.86V22.14A4,4,0,1,0,9.86,27H22.14A4,4,0,1,0,27,22.14ZM26,4a2,2,0,1,1-2,2A2,2,0,0,1,26,4ZM4,6A2,2,0,1,1,6,8,2,2,0,0,1,4,6ZM6,28a2,2,0,1,1,2-2A2,2,0,0,1,6,28Zm16.14-3H9.86A4,4,0,0,0,7,22.14V9.86A4,4,0,0,0,9.86,7H22.14A4,4,0,0,0,25,9.86V22.14A4,4,0,0,0,22.14,25ZM26,28a2,2,0,1,1,2-2A2,2,0,0,1,26,28Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M21 11L11 11 11 13 15 13 15 22 17 22 17 13 21 13 21 11z\" } }], \"name\": \"text--creation\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M27,22.14V9.86A4,4,0,1,0,22.14,5H9.86A4,4,0,1,0,5,9.86V22.14A4,4,0,1,0,9.86,27H22.14A4,4,0,1,0,27,22.14ZM26,4a2,2,0,1,1-2,2A2,2,0,0,1,26,4ZM4,6A2,2,0,1,1,6,8,2,2,0,0,1,4,6ZM6,28a2,2,0,1,1,2-2A2,2,0,0,1,6,28Zm16.14-3H9.86A4,4,0,0,0,7,22.14V9.86A4,4,0,0,0,9.86,7H22.14A4,4,0,0,0,25,9.86V22.14A4,4,0,0,0,22.14,25ZM26,28a2,2,0,1,1,2-2A2,2,0,0,1,26,28Z\\\"></path><path d=\\\"M21 11L11 11 11 13 15 13 15 22 17 22 17 13 21 13 21 11z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"TextCreation24\", \"filepath\": \"text--creation/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M27,22.14V9.86A4,4,0,1,0,22.14,5H9.86A4,4,0,1,0,5,9.86V22.14A4,4,0,1,0,9.86,27H22.14A4,4,0,1,0,27,22.14ZM26,4a2,2,0,1,1-2,2A2,2,0,0,1,26,4ZM4,6A2,2,0,1,1,6,8,2,2,0,0,1,4,6ZM6,28a2,2,0,1,1,2-2A2,2,0,0,1,6,28Zm16.14-3H9.86A4,4,0,0,0,7,22.14V9.86A4,4,0,0,0,9.86,7H22.14A4,4,0,0,0,25,9.86V22.14A4,4,0,0,0,22.14,25ZM26,28a2,2,0,1,1,2-2A2,2,0,0,1,26,28Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M21 11L11 11 11 13 15 13 15 22 17 22 17 13 21 13 21 11z\" } }], \"name\": \"text--creation\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M27,22.14V9.86A4,4,0,1,0,22.14,5H9.86A4,4,0,1,0,5,9.86V22.14A4,4,0,1,0,9.86,27H22.14A4,4,0,1,0,27,22.14ZM26,4a2,2,0,1,1-2,2A2,2,0,0,1,26,4ZM4,6A2,2,0,1,1,6,8,2,2,0,0,1,4,6ZM6,28a2,2,0,1,1,2-2A2,2,0,0,1,6,28Zm16.14-3H9.86A4,4,0,0,0,7,22.14V9.86A4,4,0,0,0,9.86,7H22.14A4,4,0,0,0,25,9.86V22.14A4,4,0,0,0,22.14,25ZM26,28a2,2,0,1,1,2-2A2,2,0,0,1,26,28Z\\\"></path><path d=\\\"M21 11L11 11 11 13 15 13 15 22 17 22 17 13 21 13 21 11z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"TextCreation20\", \"filepath\": \"text--creation/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M27,22.14V9.86A4,4,0,1,0,22.14,5H9.86A4,4,0,1,0,5,9.86V22.14A4,4,0,1,0,9.86,27H22.14A4,4,0,1,0,27,22.14ZM26,4a2,2,0,1,1-2,2A2,2,0,0,1,26,4ZM4,6A2,2,0,1,1,6,8,2,2,0,0,1,4,6ZM6,28a2,2,0,1,1,2-2A2,2,0,0,1,6,28Zm16.14-3H9.86A4,4,0,0,0,7,22.14V9.86A4,4,0,0,0,9.86,7H22.14A4,4,0,0,0,25,9.86V22.14A4,4,0,0,0,22.14,25ZM26,28a2,2,0,1,1,2-2A2,2,0,0,1,26,28Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M21 11L11 11 11 13 15 13 15 22 17 22 17 13 21 13 21 11z\" } }], \"name\": \"text--creation\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M27,22.14V9.86A4,4,0,1,0,22.14,5H9.86A4,4,0,1,0,5,9.86V22.14A4,4,0,1,0,9.86,27H22.14A4,4,0,1,0,27,22.14ZM26,4a2,2,0,1,1-2,2A2,2,0,0,1,26,4ZM4,6A2,2,0,1,1,6,8,2,2,0,0,1,4,6ZM6,28a2,2,0,1,1,2-2A2,2,0,0,1,6,28Zm16.14-3H9.86A4,4,0,0,0,7,22.14V9.86A4,4,0,0,0,9.86,7H22.14A4,4,0,0,0,25,9.86V22.14A4,4,0,0,0,22.14,25ZM26,28a2,2,0,1,1,2-2A2,2,0,0,1,26,28Z\\\"></path><path d=\\\"M21 11L11 11 11 13 15 13 15 22 17 22 17 13 21 13 21 11z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"TextCreation16\", \"filepath\": \"text--creation/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M27,22.14V9.86A4,4,0,1,0,22.14,5H9.86A4,4,0,1,0,5,9.86V22.14A4,4,0,1,0,9.86,27H22.14A4,4,0,1,0,27,22.14ZM26,4a2,2,0,1,1-2,2A2,2,0,0,1,26,4ZM4,6A2,2,0,1,1,6,8,2,2,0,0,1,4,6ZM6,28a2,2,0,1,1,2-2A2,2,0,0,1,6,28Zm16.14-3H9.86A4,4,0,0,0,7,22.14V9.86A4,4,0,0,0,9.86,7H22.14A4,4,0,0,0,25,9.86V22.14A4,4,0,0,0,22.14,25ZM26,28a2,2,0,1,1,2-2A2,2,0,0,1,26,28Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M21 11L11 11 11 13 15 13 15 22 17 22 17 13 21 13 21 11z\" } }], \"name\": \"text--creation\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M27,22.14V9.86A4,4,0,1,0,22.14,5H9.86A4,4,0,1,0,5,9.86V22.14A4,4,0,1,0,9.86,27H22.14A4,4,0,1,0,27,22.14ZM26,4a2,2,0,1,1-2,2A2,2,0,0,1,26,4ZM4,6A2,2,0,1,1,6,8,2,2,0,0,1,4,6ZM6,28a2,2,0,1,1,2-2A2,2,0,0,1,6,28Zm16.14-3H9.86A4,4,0,0,0,7,22.14V9.86A4,4,0,0,0,9.86,7H22.14A4,4,0,0,0,25,9.86V22.14A4,4,0,0,0,22.14,25ZM26,28a2,2,0,1,1,2-2A2,2,0,0,1,26,28Z\\\"></path><path d=\\\"M21 11L11 11 11 13 15 13 15 22 17 22 17 13 21 13 21 11z\\\"></path></svg>\"\n            },\n        };\n    }\n    TextCreationDirective_1 = TextCreationDirective;\n    TextCreationDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            TextCreationDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"text-creation-\" + TextCreationDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"text-creation-\" + TextCreationDirective_1.titleIdCounter);\n        }\n    };\n    var TextCreationDirective_1;\n    TextCreationDirective.titleIdCounter = 0;\n    TextCreationDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], TextCreationDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], TextCreationDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], TextCreationDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], TextCreationDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], TextCreationDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], TextCreationDirective.prototype, \"size\", void 0);\n    TextCreationDirective = TextCreationDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], TextCreationDirective);\nTextCreationDirective.ɵfac = function TextCreationDirective_Factory(t) { return new (t || TextCreationDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nTextCreationDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: TextCreationDirective, selectors: [[\"\", \"ibmIconTextCreation\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(TextCreationDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconTextCreation]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return TextCreationDirective;\n}());\nvar TextCreationModule = /** @class */ (function () {\n    function TextCreationModule() {\n    }\nTextCreationModule.ɵfac = function TextCreationModule_Factory(t) { return new (t || TextCreationModule)(); };\nTextCreationModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: TextCreationModule });\nTextCreationModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(TextCreationModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    TextCreationComponent,\n                    TextCreationDirective,\n                ],\n                exports: [\n                    TextCreationComponent,\n                    TextCreationDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(TextCreationModule, { declarations: [TextCreationComponent, TextCreationDirective], exports: [TextCreationComponent, TextCreationDirective] }); })();\n    return TextCreationModule;\n}());\n\nexport { TextCreationComponent, TextCreationDirective, TextCreationModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar TimeComponent = /** @class */ (function () {\n    function TimeComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], TimeComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], TimeComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], TimeComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], TimeComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], TimeComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], TimeComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], TimeComponent.prototype, \"size\", void 0);\nTimeComponent.ɵfac = function TimeComponent_Factory(t) { return new (t || TimeComponent)(); };\nTimeComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: TimeComponent, selectors: [[\"ibm-icon-time\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconTime\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function TimeComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [TimeDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(TimeComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-time\",\n                template: \"\\n    <svg\\n      ibmIconTime\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return TimeComponent;\n}());\nvar TimeDirective = /** @class */ (function () {\n    function TimeDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"Time32\", \"filepath\": \"time/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M16,30A14,14,0,1,1,30,16,14,14,0,0,1,16,30ZM16,4A12,12,0,1,0,28,16,12,12,0,0,0,16,4Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M20.59 22L15 16.41 15 7 17 7 17 15.58 22 20.59 20.59 22z\" } }], \"name\": \"time\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M16,30A14,14,0,1,1,30,16,14,14,0,0,1,16,30ZM16,4A12,12,0,1,0,28,16,12,12,0,0,0,16,4Z\\\"></path><path d=\\\"M20.59 22L15 16.41 15 7 17 7 17 15.58 22 20.59 20.59 22z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"Time24\", \"filepath\": \"time/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M16,30A14,14,0,1,1,30,16,14,14,0,0,1,16,30ZM16,4A12,12,0,1,0,28,16,12,12,0,0,0,16,4Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M20.59 22L15 16.41 15 7 17 7 17 15.58 22 20.59 20.59 22z\" } }], \"name\": \"time\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M16,30A14,14,0,1,1,30,16,14,14,0,0,1,16,30ZM16,4A12,12,0,1,0,28,16,12,12,0,0,0,16,4Z\\\"></path><path d=\\\"M20.59 22L15 16.41 15 7 17 7 17 15.58 22 20.59 20.59 22z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"Time20\", \"filepath\": \"time/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 20 20\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M10,19c-5,0-9-4-9-9s4-9,9-9s9,4,9,9S15,19,10,19z M10,2.3c-4.3,0-7.7,3.5-7.7,7.7s3.5,7.7,7.7,7.7s7.7-3.5,7.7-7.7\\tS14.3,2.3,10,2.3z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M13 13.9L9.4 10.3 9.4 4 10.6 4 10.6 9.7 13.9 13z\" } }], \"name\": \"time\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 20 20\\\" aria-hidden=\\\"true\\\"><path d=\\\"M10,19c-5,0-9-4-9-9s4-9,9-9s9,4,9,9S15,19,10,19z M10,2.3c-4.3,0-7.7,3.5-7.7,7.7s3.5,7.7,7.7,7.7s7.7-3.5,7.7-7.7\\tS14.3,2.3,10,2.3z\\\"></path><path d=\\\"M13 13.9L9.4 10.3 9.4 4 10.6 4 10.6 9.7 13.9 13z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"Time16\", \"filepath\": \"time/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M16,30A14,14,0,1,1,30,16,14,14,0,0,1,16,30ZM16,4A12,12,0,1,0,28,16,12,12,0,0,0,16,4Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M20.59 22L15 16.41 15 7 17 7 17 15.58 22 20.59 20.59 22z\" } }], \"name\": \"time\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M16,30A14,14,0,1,1,30,16,14,14,0,0,1,16,30ZM16,4A12,12,0,1,0,28,16,12,12,0,0,0,16,4Z\\\"></path><path d=\\\"M20.59 22L15 16.41 15 7 17 7 17 15.58 22 20.59 20.59 22z\\\"></path></svg>\"\n            },\n        };\n    }\n    TimeDirective_1 = TimeDirective;\n    TimeDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            TimeDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"time-\" + TimeDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"time-\" + TimeDirective_1.titleIdCounter);\n        }\n    };\n    var TimeDirective_1;\n    TimeDirective.titleIdCounter = 0;\n    TimeDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], TimeDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], TimeDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], TimeDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], TimeDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], TimeDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], TimeDirective.prototype, \"size\", void 0);\n    TimeDirective = TimeDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], TimeDirective);\nTimeDirective.ɵfac = function TimeDirective_Factory(t) { return new (t || TimeDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nTimeDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: TimeDirective, selectors: [[\"\", \"ibmIconTime\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(TimeDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconTime]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return TimeDirective;\n}());\nvar TimeModule = /** @class */ (function () {\n    function TimeModule() {\n    }\nTimeModule.ɵfac = function TimeModule_Factory(t) { return new (t || TimeModule)(); };\nTimeModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: TimeModule });\nTimeModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(TimeModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    TimeComponent,\n                    TimeDirective,\n                ],\n                exports: [\n                    TimeComponent,\n                    TimeDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(TimeModule, { declarations: [TimeComponent, TimeDirective], exports: [TimeComponent, TimeDirective] }); })();\n    return TimeModule;\n}());\n\nexport { TimeComponent, TimeDirective, TimeModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar UserAdminComponent = /** @class */ (function () {\n    function UserAdminComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], UserAdminComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], UserAdminComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], UserAdminComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], UserAdminComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], UserAdminComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], UserAdminComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], UserAdminComponent.prototype, \"size\", void 0);\nUserAdminComponent.ɵfac = function UserAdminComponent_Factory(t) { return new (t || UserAdminComponent)(); };\nUserAdminComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: UserAdminComponent, selectors: [[\"ibm-icon-user-admin\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconUserAdmin\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function UserAdminComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [UserAdminDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(UserAdminComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-user-admin\",\n                template: \"\\n    <svg\\n      ibmIconUserAdmin\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return UserAdminComponent;\n}());\nvar UserAdminDirective = /** @class */ (function () {\n    function UserAdminDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"UserAdmin32\", \"filepath\": \"user--admin/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M12 4A5 5 0 117 9a5 5 0 015-5m0-2a7 7 0 107 7A7 7 0 0012 2zM22 30H20V25a5 5 0 00-5-5H9a5 5 0 00-5 5v5H2V25a7 7 0 017-7h6a7 7 0 017 7zM25 16.18L22.41 13.59 21 15 25 19 32 12 30.59 10.59 25 16.18z\" } }], \"name\": \"user--admin\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M12 4A5 5 0 117 9a5 5 0 015-5m0-2a7 7 0 107 7A7 7 0 0012 2zM22 30H20V25a5 5 0 00-5-5H9a5 5 0 00-5 5v5H2V25a7 7 0 017-7h6a7 7 0 017 7zM25 16.18L22.41 13.59 21 15 25 19 32 12 30.59 10.59 25 16.18z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"UserAdmin24\", \"filepath\": \"user--admin/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M12 4A5 5 0 117 9a5 5 0 015-5m0-2a7 7 0 107 7A7 7 0 0012 2zM22 30H20V25a5 5 0 00-5-5H9a5 5 0 00-5 5v5H2V25a7 7 0 017-7h6a7 7 0 017 7zM25 16.18L22.41 13.59 21 15 25 19 32 12 30.59 10.59 25 16.18z\" } }], \"name\": \"user--admin\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M12 4A5 5 0 117 9a5 5 0 015-5m0-2a7 7 0 107 7A7 7 0 0012 2zM22 30H20V25a5 5 0 00-5-5H9a5 5 0 00-5 5v5H2V25a7 7 0 017-7h6a7 7 0 017 7zM25 16.18L22.41 13.59 21 15 25 19 32 12 30.59 10.59 25 16.18z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"UserAdmin20\", \"filepath\": \"user--admin/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M12 4A5 5 0 117 9a5 5 0 015-5m0-2a7 7 0 107 7A7 7 0 0012 2zM22 30H20V25a5 5 0 00-5-5H9a5 5 0 00-5 5v5H2V25a7 7 0 017-7h6a7 7 0 017 7zM25 16.18L22.41 13.59 21 15 25 19 32 12 30.59 10.59 25 16.18z\" } }], \"name\": \"user--admin\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M12 4A5 5 0 117 9a5 5 0 015-5m0-2a7 7 0 107 7A7 7 0 0012 2zM22 30H20V25a5 5 0 00-5-5H9a5 5 0 00-5 5v5H2V25a7 7 0 017-7h6a7 7 0 017 7zM25 16.18L22.41 13.59 21 15 25 19 32 12 30.59 10.59 25 16.18z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"UserAdmin16\", \"filepath\": \"user--admin/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M12 4A5 5 0 117 9a5 5 0 015-5m0-2a7 7 0 107 7A7 7 0 0012 2zM22 30H20V25a5 5 0 00-5-5H9a5 5 0 00-5 5v5H2V25a7 7 0 017-7h6a7 7 0 017 7zM25 16.18L22.41 13.59 21 15 25 19 32 12 30.59 10.59 25 16.18z\" } }], \"name\": \"user--admin\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M12 4A5 5 0 117 9a5 5 0 015-5m0-2a7 7 0 107 7A7 7 0 0012 2zM22 30H20V25a5 5 0 00-5-5H9a5 5 0 00-5 5v5H2V25a7 7 0 017-7h6a7 7 0 017 7zM25 16.18L22.41 13.59 21 15 25 19 32 12 30.59 10.59 25 16.18z\\\"></path></svg>\"\n            },\n        };\n    }\n    UserAdminDirective_1 = UserAdminDirective;\n    UserAdminDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            UserAdminDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"user-admin-\" + UserAdminDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"user-admin-\" + UserAdminDirective_1.titleIdCounter);\n        }\n    };\n    var UserAdminDirective_1;\n    UserAdminDirective.titleIdCounter = 0;\n    UserAdminDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], UserAdminDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], UserAdminDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], UserAdminDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], UserAdminDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], UserAdminDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], UserAdminDirective.prototype, \"size\", void 0);\n    UserAdminDirective = UserAdminDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], UserAdminDirective);\nUserAdminDirective.ɵfac = function UserAdminDirective_Factory(t) { return new (t || UserAdminDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nUserAdminDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: UserAdminDirective, selectors: [[\"\", \"ibmIconUserAdmin\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(UserAdminDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconUserAdmin]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return UserAdminDirective;\n}());\nvar UserAdminModule = /** @class */ (function () {\n    function UserAdminModule() {\n    }\nUserAdminModule.ɵfac = function UserAdminModule_Factory(t) { return new (t || UserAdminModule)(); };\nUserAdminModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: UserAdminModule });\nUserAdminModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(UserAdminModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    UserAdminComponent,\n                    UserAdminDirective,\n                ],\n                exports: [\n                    UserAdminComponent,\n                    UserAdminDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(UserAdminModule, { declarations: [UserAdminComponent, UserAdminDirective], exports: [UserAdminComponent, UserAdminDirective] }); })();\n    return UserAdminModule;\n}());\n\nexport { UserAdminComponent, UserAdminDirective, UserAdminModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar UserAvatarFilledAltComponent = /** @class */ (function () {\n    function UserAvatarFilledAltComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], UserAvatarFilledAltComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], UserAvatarFilledAltComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], UserAvatarFilledAltComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], UserAvatarFilledAltComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], UserAvatarFilledAltComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], UserAvatarFilledAltComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], UserAvatarFilledAltComponent.prototype, \"size\", void 0);\nUserAvatarFilledAltComponent.ɵfac = function UserAvatarFilledAltComponent_Factory(t) { return new (t || UserAvatarFilledAltComponent)(); };\nUserAvatarFilledAltComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: UserAvatarFilledAltComponent, selectors: [[\"ibm-icon-user-avatar-filled-alt\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconUserAvatarFilledAlt\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function UserAvatarFilledAltComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [UserAvatarFilledAltDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(UserAvatarFilledAltComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-user-avatar-filled-alt\",\n                template: \"\\n    <svg\\n      ibmIconUserAvatarFilledAlt\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return UserAvatarFilledAltComponent;\n}());\nvar UserAvatarFilledAltDirective = /** @class */ (function () {\n    function UserAvatarFilledAltDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"UserAvatarFilledAlt32\", \"filepath\": \"user--avatar--filled--alt/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm8,22.9188v-.576l0-.0323A5.2086,5.2086,0,0,0,19,19H13a5.2,5.2,0,0,0-4.9893,5.3105c0,.0108-.0107.0215-.0107.0323v.5854a12.0053,12.0053,0,1,1,16-.0094Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M16,7a5,5,0,1,0,5,5A5,5,0,0,0,16,7Z\" } }], \"name\": \"user--avatar--filled--alt\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm8,22.9188v-.576l0-.0323A5.2086,5.2086,0,0,0,19,19H13a5.2,5.2,0,0,0-4.9893,5.3105c0,.0108-.0107.0215-.0107.0323v.5854a12.0053,12.0053,0,1,1,16-.0094Z\\\"></path><path d=\\\"M16,7a5,5,0,1,0,5,5A5,5,0,0,0,16,7Z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"UserAvatarFilledAlt24\", \"filepath\": \"user--avatar--filled--alt/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm8,22.9188v-.576l0-.0323A5.2086,5.2086,0,0,0,19,19H13a5.2,5.2,0,0,0-4.9893,5.3105c0,.0108-.0107.0215-.0107.0323v.5854a12.0053,12.0053,0,1,1,16-.0094Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M16,7a5,5,0,1,0,5,5A5,5,0,0,0,16,7Z\" } }], \"name\": \"user--avatar--filled--alt\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm8,22.9188v-.576l0-.0323A5.2086,5.2086,0,0,0,19,19H13a5.2,5.2,0,0,0-4.9893,5.3105c0,.0108-.0107.0215-.0107.0323v.5854a12.0053,12.0053,0,1,1,16-.0094Z\\\"></path><path d=\\\"M16,7a5,5,0,1,0,5,5A5,5,0,0,0,16,7Z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"UserAvatarFilledAlt20\", \"filepath\": \"user--avatar--filled--alt/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm8,22.9188v-.576l0-.0323A5.2086,5.2086,0,0,0,19,19H13a5.2,5.2,0,0,0-4.9893,5.3105c0,.0108-.0107.0215-.0107.0323v.5854a12.0053,12.0053,0,1,1,16-.0094Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M16,7a5,5,0,1,0,5,5A5,5,0,0,0,16,7Z\" } }], \"name\": \"user--avatar--filled--alt\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm8,22.9188v-.576l0-.0323A5.2086,5.2086,0,0,0,19,19H13a5.2,5.2,0,0,0-4.9893,5.3105c0,.0108-.0107.0215-.0107.0323v.5854a12.0053,12.0053,0,1,1,16-.0094Z\\\"></path><path d=\\\"M16,7a5,5,0,1,0,5,5A5,5,0,0,0,16,7Z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"UserAvatarFilledAlt16\", \"filepath\": \"user--avatar--filled--alt/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm8,22.9188v-.576l0-.0323A5.2086,5.2086,0,0,0,19,19H13a5.2,5.2,0,0,0-4.9893,5.3105c0,.0108-.0107.0215-.0107.0323v.5854a12.0053,12.0053,0,1,1,16-.0094Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M16,7a5,5,0,1,0,5,5A5,5,0,0,0,16,7Z\" } }], \"name\": \"user--avatar--filled--alt\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm8,22.9188v-.576l0-.0323A5.2086,5.2086,0,0,0,19,19H13a5.2,5.2,0,0,0-4.9893,5.3105c0,.0108-.0107.0215-.0107.0323v.5854a12.0053,12.0053,0,1,1,16-.0094Z\\\"></path><path d=\\\"M16,7a5,5,0,1,0,5,5A5,5,0,0,0,16,7Z\\\"></path></svg>\"\n            },\n        };\n    }\n    UserAvatarFilledAltDirective_1 = UserAvatarFilledAltDirective;\n    UserAvatarFilledAltDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            UserAvatarFilledAltDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"user-avatar-filled-alt-\" + UserAvatarFilledAltDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"user-avatar-filled-alt-\" + UserAvatarFilledAltDirective_1.titleIdCounter);\n        }\n    };\n    var UserAvatarFilledAltDirective_1;\n    UserAvatarFilledAltDirective.titleIdCounter = 0;\n    UserAvatarFilledAltDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], UserAvatarFilledAltDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], UserAvatarFilledAltDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], UserAvatarFilledAltDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], UserAvatarFilledAltDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], UserAvatarFilledAltDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], UserAvatarFilledAltDirective.prototype, \"size\", void 0);\n    UserAvatarFilledAltDirective = UserAvatarFilledAltDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], UserAvatarFilledAltDirective);\nUserAvatarFilledAltDirective.ɵfac = function UserAvatarFilledAltDirective_Factory(t) { return new (t || UserAvatarFilledAltDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nUserAvatarFilledAltDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: UserAvatarFilledAltDirective, selectors: [[\"\", \"ibmIconUserAvatarFilledAlt\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(UserAvatarFilledAltDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconUserAvatarFilledAlt]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return UserAvatarFilledAltDirective;\n}());\nvar UserAvatarFilledAltModule = /** @class */ (function () {\n    function UserAvatarFilledAltModule() {\n    }\nUserAvatarFilledAltModule.ɵfac = function UserAvatarFilledAltModule_Factory(t) { return new (t || UserAvatarFilledAltModule)(); };\nUserAvatarFilledAltModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: UserAvatarFilledAltModule });\nUserAvatarFilledAltModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(UserAvatarFilledAltModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    UserAvatarFilledAltComponent,\n                    UserAvatarFilledAltDirective,\n                ],\n                exports: [\n                    UserAvatarFilledAltComponent,\n                    UserAvatarFilledAltDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(UserAvatarFilledAltModule, { declarations: [UserAvatarFilledAltComponent, UserAvatarFilledAltDirective], exports: [UserAvatarFilledAltComponent, UserAvatarFilledAltDirective] }); })();\n    return UserAvatarFilledAltModule;\n}());\n\nexport { UserAvatarFilledAltComponent, UserAvatarFilledAltDirective, UserAvatarFilledAltModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar UserMultipleComponent = /** @class */ (function () {\n    function UserMultipleComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], UserMultipleComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], UserMultipleComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], UserMultipleComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], UserMultipleComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], UserMultipleComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], UserMultipleComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], UserMultipleComponent.prototype, \"size\", void 0);\nUserMultipleComponent.ɵfac = function UserMultipleComponent_Factory(t) { return new (t || UserMultipleComponent)(); };\nUserMultipleComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: UserMultipleComponent, selectors: [[\"ibm-icon-user-multiple\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconUserMultiple\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function UserMultipleComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [UserMultipleDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(UserMultipleComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-user-multiple\",\n                template: \"\\n    <svg\\n      ibmIconUserMultiple\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return UserMultipleComponent;\n}());\nvar UserMultipleDirective = /** @class */ (function () {\n    function UserMultipleDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"UserMultiple32\", \"filepath\": \"user--multiple/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M30 30H28V25a5.0057 5.0057 0 00-5-5V18a7.0078 7.0078 0 017 7zM22 30H20V25a5.0059 5.0059 0 00-5-5H9a5.0059 5.0059 0 00-5 5v5H2V25a7.0082 7.0082 0 017-7h6a7.0082 7.0082 0 017 7zM20 2V4a5 5 0 010 10v2A7 7 0 0020 2zM12 4A5 5 0 117 9a5 5 0 015-5m0-2a7 7 0 107 7A7 7 0 0012 2z\" } }], \"name\": \"user--multiple\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M30 30H28V25a5.0057 5.0057 0 00-5-5V18a7.0078 7.0078 0 017 7zM22 30H20V25a5.0059 5.0059 0 00-5-5H9a5.0059 5.0059 0 00-5 5v5H2V25a7.0082 7.0082 0 017-7h6a7.0082 7.0082 0 017 7zM20 2V4a5 5 0 010 10v2A7 7 0 0020 2zM12 4A5 5 0 117 9a5 5 0 015-5m0-2a7 7 0 107 7A7 7 0 0012 2z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"UserMultiple24\", \"filepath\": \"user--multiple/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M30 30H28V25a5.0057 5.0057 0 00-5-5V18a7.0078 7.0078 0 017 7zM22 30H20V25a5.0059 5.0059 0 00-5-5H9a5.0059 5.0059 0 00-5 5v5H2V25a7.0082 7.0082 0 017-7h6a7.0082 7.0082 0 017 7zM20 2V4a5 5 0 010 10v2A7 7 0 0020 2zM12 4A5 5 0 117 9a5 5 0 015-5m0-2a7 7 0 107 7A7 7 0 0012 2z\" } }], \"name\": \"user--multiple\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M30 30H28V25a5.0057 5.0057 0 00-5-5V18a7.0078 7.0078 0 017 7zM22 30H20V25a5.0059 5.0059 0 00-5-5H9a5.0059 5.0059 0 00-5 5v5H2V25a7.0082 7.0082 0 017-7h6a7.0082 7.0082 0 017 7zM20 2V4a5 5 0 010 10v2A7 7 0 0020 2zM12 4A5 5 0 117 9a5 5 0 015-5m0-2a7 7 0 107 7A7 7 0 0012 2z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"UserMultiple20\", \"filepath\": \"user--multiple/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M30 30H28V25a5.0057 5.0057 0 00-5-5V18a7.0078 7.0078 0 017 7zM22 30H20V25a5.0059 5.0059 0 00-5-5H9a5.0059 5.0059 0 00-5 5v5H2V25a7.0082 7.0082 0 017-7h6a7.0082 7.0082 0 017 7zM20 2V4a5 5 0 010 10v2A7 7 0 0020 2zM12 4A5 5 0 117 9a5 5 0 015-5m0-2a7 7 0 107 7A7 7 0 0012 2z\" } }], \"name\": \"user--multiple\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M30 30H28V25a5.0057 5.0057 0 00-5-5V18a7.0078 7.0078 0 017 7zM22 30H20V25a5.0059 5.0059 0 00-5-5H9a5.0059 5.0059 0 00-5 5v5H2V25a7.0082 7.0082 0 017-7h6a7.0082 7.0082 0 017 7zM20 2V4a5 5 0 010 10v2A7 7 0 0020 2zM12 4A5 5 0 117 9a5 5 0 015-5m0-2a7 7 0 107 7A7 7 0 0012 2z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"UserMultiple16\", \"filepath\": \"user--multiple/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M30 30H28V25a5.0057 5.0057 0 00-5-5V18a7.0078 7.0078 0 017 7zM22 30H20V25a5.0059 5.0059 0 00-5-5H9a5.0059 5.0059 0 00-5 5v5H2V25a7.0082 7.0082 0 017-7h6a7.0082 7.0082 0 017 7zM20 2V4a5 5 0 010 10v2A7 7 0 0020 2zM12 4A5 5 0 117 9a5 5 0 015-5m0-2a7 7 0 107 7A7 7 0 0012 2z\" } }], \"name\": \"user--multiple\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M30 30H28V25a5.0057 5.0057 0 00-5-5V18a7.0078 7.0078 0 017 7zM22 30H20V25a5.0059 5.0059 0 00-5-5H9a5.0059 5.0059 0 00-5 5v5H2V25a7.0082 7.0082 0 017-7h6a7.0082 7.0082 0 017 7zM20 2V4a5 5 0 010 10v2A7 7 0 0020 2zM12 4A5 5 0 117 9a5 5 0 015-5m0-2a7 7 0 107 7A7 7 0 0012 2z\\\"></path></svg>\"\n            },\n        };\n    }\n    UserMultipleDirective_1 = UserMultipleDirective;\n    UserMultipleDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            UserMultipleDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"user-multiple-\" + UserMultipleDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"user-multiple-\" + UserMultipleDirective_1.titleIdCounter);\n        }\n    };\n    var UserMultipleDirective_1;\n    UserMultipleDirective.titleIdCounter = 0;\n    UserMultipleDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], UserMultipleDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], UserMultipleDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], UserMultipleDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], UserMultipleDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], UserMultipleDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], UserMultipleDirective.prototype, \"size\", void 0);\n    UserMultipleDirective = UserMultipleDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], UserMultipleDirective);\nUserMultipleDirective.ɵfac = function UserMultipleDirective_Factory(t) { return new (t || UserMultipleDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nUserMultipleDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: UserMultipleDirective, selectors: [[\"\", \"ibmIconUserMultiple\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(UserMultipleDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconUserMultiple]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return UserMultipleDirective;\n}());\nvar UserMultipleModule = /** @class */ (function () {\n    function UserMultipleModule() {\n    }\nUserMultipleModule.ɵfac = function UserMultipleModule_Factory(t) { return new (t || UserMultipleModule)(); };\nUserMultipleModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: UserMultipleModule });\nUserMultipleModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(UserMultipleModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    UserMultipleComponent,\n                    UserMultipleDirective,\n                ],\n                exports: [\n                    UserMultipleComponent,\n                    UserMultipleDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(UserMultipleModule, { declarations: [UserMultipleComponent, UserMultipleDirective], exports: [UserMultipleComponent, UserMultipleDirective] }); })();\n    return UserMultipleModule;\n}());\n\nexport { UserMultipleComponent, UserMultipleDirective, UserMultipleModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar UserComponent = /** @class */ (function () {\n    function UserComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], UserComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], UserComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], UserComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], UserComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], UserComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], UserComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], UserComponent.prototype, \"size\", void 0);\nUserComponent.ɵfac = function UserComponent_Factory(t) { return new (t || UserComponent)(); };\nUserComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: UserComponent, selectors: [[\"ibm-icon-user\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconUser\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function UserComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [UserDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(UserComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-user\",\n                template: \"\\n    <svg\\n      ibmIconUser\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return UserComponent;\n}());\nvar UserDirective = /** @class */ (function () {\n    function UserDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"User32\", \"filepath\": \"user/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M16 4a5 5 0 11-5 5 5 5 0 015-5m0-2a7 7 0 107 7A7 7 0 0016 2zM26 30H24V25a5 5 0 00-5-5H13a5 5 0 00-5 5v5H6V25a7 7 0 017-7h6a7 7 0 017 7z\" } }], \"name\": \"user\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M16 4a5 5 0 11-5 5 5 5 0 015-5m0-2a7 7 0 107 7A7 7 0 0016 2zM26 30H24V25a5 5 0 00-5-5H13a5 5 0 00-5 5v5H6V25a7 7 0 017-7h6a7 7 0 017 7z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"User24\", \"filepath\": \"user/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M16 4a5 5 0 11-5 5 5 5 0 015-5m0-2a7 7 0 107 7A7 7 0 0016 2zM26 30H24V25a5 5 0 00-5-5H13a5 5 0 00-5 5v5H6V25a7 7 0 017-7h6a7 7 0 017 7z\" } }], \"name\": \"user\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M16 4a5 5 0 11-5 5 5 5 0 015-5m0-2a7 7 0 107 7A7 7 0 0016 2zM26 30H24V25a5 5 0 00-5-5H13a5 5 0 00-5 5v5H6V25a7 7 0 017-7h6a7 7 0 017 7z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"User20\", \"filepath\": \"user/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M16 4a5 5 0 11-5 5 5 5 0 015-5m0-2a7 7 0 107 7A7 7 0 0016 2zM26 30H24V25a5 5 0 00-5-5H13a5 5 0 00-5 5v5H6V25a7 7 0 017-7h6a7 7 0 017 7z\" } }], \"name\": \"user\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M16 4a5 5 0 11-5 5 5 5 0 015-5m0-2a7 7 0 107 7A7 7 0 0016 2zM26 30H24V25a5 5 0 00-5-5H13a5 5 0 00-5 5v5H6V25a7 7 0 017-7h6a7 7 0 017 7z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"User16\", \"filepath\": \"user/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 16 16\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M8 2c1.4 0 2.5 1.1 2.5 2.5S9.4 7 8 7 5.5 5.9 5.5 4.5 6.6 2 8 2M8 1C6.1 1 4.5 2.6 4.5 4.5S6.1 8 8 8s3.5-1.6 3.5-3.5S9.9 1 8 1zM13 15h-1v-2.5c0-1.4-1.1-2.5-2.5-2.5h-3C5.1 10 4 11.1 4 12.5V15H3v-2.5C3 10.6 4.6 9 6.5 9h3c1.9 0 3.5 1.6 3.5 3.5V15z\" } }], \"name\": \"user\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\" aria-hidden=\\\"true\\\"><path d=\\\"M8 2c1.4 0 2.5 1.1 2.5 2.5S9.4 7 8 7 5.5 5.9 5.5 4.5 6.6 2 8 2M8 1C6.1 1 4.5 2.6 4.5 4.5S6.1 8 8 8s3.5-1.6 3.5-3.5S9.9 1 8 1zM13 15h-1v-2.5c0-1.4-1.1-2.5-2.5-2.5h-3C5.1 10 4 11.1 4 12.5V15H3v-2.5C3 10.6 4.6 9 6.5 9h3c1.9 0 3.5 1.6 3.5 3.5V15z\\\"></path></svg>\"\n            },\n        };\n    }\n    UserDirective_1 = UserDirective;\n    UserDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            UserDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"user-\" + UserDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"user-\" + UserDirective_1.titleIdCounter);\n        }\n    };\n    var UserDirective_1;\n    UserDirective.titleIdCounter = 0;\n    UserDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], UserDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], UserDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], UserDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], UserDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], UserDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], UserDirective.prototype, \"size\", void 0);\n    UserDirective = UserDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], UserDirective);\nUserDirective.ɵfac = function UserDirective_Factory(t) { return new (t || UserDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nUserDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: UserDirective, selectors: [[\"\", \"ibmIconUser\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(UserDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconUser]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return UserDirective;\n}());\nvar UserModule = /** @class */ (function () {\n    function UserModule() {\n    }\nUserModule.ɵfac = function UserModule_Factory(t) { return new (t || UserModule)(); };\nUserModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: UserModule });\nUserModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(UserModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    UserComponent,\n                    UserDirective,\n                ],\n                exports: [\n                    UserComponent,\n                    UserDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(UserModule, { declarations: [UserComponent, UserDirective], exports: [UserComponent, UserDirective] }); })();\n    return UserModule;\n}());\n\nexport { UserComponent, UserDirective, UserModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar VideoComponent = /** @class */ (function () {\n    function VideoComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], VideoComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], VideoComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], VideoComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], VideoComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], VideoComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], VideoComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], VideoComponent.prototype, \"size\", void 0);\nVideoComponent.ɵfac = function VideoComponent_Factory(t) { return new (t || VideoComponent)(); };\nVideoComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: VideoComponent, selectors: [[\"ibm-icon-video\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconVideo\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function VideoComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [VideoDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(VideoComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-video\",\n                template: \"\\n    <svg\\n      ibmIconVideo\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return VideoComponent;\n}());\nvar VideoDirective = /** @class */ (function () {\n    function VideoDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"Video32\", \"filepath\": \"video/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M21,26H4a2,2,0,0,1-2-2V8A2,2,0,0,1,4,6H21a2,2,0,0,1,2,2v4.06l5.42-3.87A1,1,0,0,1,30,9V23a1,1,0,0,1-1.58.81L23,19.94V24A2,2,0,0,1,21,26ZM4,8V24H21V18a1,1,0,0,1,1.58-.81L28,21.06V10.94l-5.42,3.87A1,1,0,0,1,21,14V8Z\" } }], \"name\": \"video\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M21,26H4a2,2,0,0,1-2-2V8A2,2,0,0,1,4,6H21a2,2,0,0,1,2,2v4.06l5.42-3.87A1,1,0,0,1,30,9V23a1,1,0,0,1-1.58.81L23,19.94V24A2,2,0,0,1,21,26ZM4,8V24H21V18a1,1,0,0,1,1.58-.81L28,21.06V10.94l-5.42,3.87A1,1,0,0,1,21,14V8Z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"Video24\", \"filepath\": \"video/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M21,26H4a2,2,0,0,1-2-2V8A2,2,0,0,1,4,6H21a2,2,0,0,1,2,2v4.06l5.42-3.87A1,1,0,0,1,30,9V23a1,1,0,0,1-1.58.81L23,19.94V24A2,2,0,0,1,21,26ZM4,8V24H21V18a1,1,0,0,1,1.58-.81L28,21.06V10.94l-5.42,3.87A1,1,0,0,1,21,14V8Z\" } }], \"name\": \"video\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M21,26H4a2,2,0,0,1-2-2V8A2,2,0,0,1,4,6H21a2,2,0,0,1,2,2v4.06l5.42-3.87A1,1,0,0,1,30,9V23a1,1,0,0,1-1.58.81L23,19.94V24A2,2,0,0,1,21,26ZM4,8V24H21V18a1,1,0,0,1,1.58-.81L28,21.06V10.94l-5.42,3.87A1,1,0,0,1,21,14V8Z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"Video20\", \"filepath\": \"video/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M21,26H4a2,2,0,0,1-2-2V8A2,2,0,0,1,4,6H21a2,2,0,0,1,2,2v4.06l5.42-3.87A1,1,0,0,1,30,9V23a1,1,0,0,1-1.58.81L23,19.94V24A2,2,0,0,1,21,26ZM4,8V24H21V18a1,1,0,0,1,1.58-.81L28,21.06V10.94l-5.42,3.87A1,1,0,0,1,21,14V8Z\" } }], \"name\": \"video\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M21,26H4a2,2,0,0,1-2-2V8A2,2,0,0,1,4,6H21a2,2,0,0,1,2,2v4.06l5.42-3.87A1,1,0,0,1,30,9V23a1,1,0,0,1-1.58.81L23,19.94V24A2,2,0,0,1,21,26ZM4,8V24H21V18a1,1,0,0,1,1.58-.81L28,21.06V10.94l-5.42,3.87A1,1,0,0,1,21,14V8Z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"Video16\", \"filepath\": \"video/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M21,26H4a2,2,0,0,1-2-2V8A2,2,0,0,1,4,6H21a2,2,0,0,1,2,2v4.06l5.42-3.87A1,1,0,0,1,30,9V23a1,1,0,0,1-1.58.81L23,19.94V24A2,2,0,0,1,21,26ZM4,8V24H21V18a1,1,0,0,1,1.58-.81L28,21.06V10.94l-5.42,3.87A1,1,0,0,1,21,14V8Z\" } }], \"name\": \"video\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M21,26H4a2,2,0,0,1-2-2V8A2,2,0,0,1,4,6H21a2,2,0,0,1,2,2v4.06l5.42-3.87A1,1,0,0,1,30,9V23a1,1,0,0,1-1.58.81L23,19.94V24A2,2,0,0,1,21,26ZM4,8V24H21V18a1,1,0,0,1,1.58-.81L28,21.06V10.94l-5.42,3.87A1,1,0,0,1,21,14V8Z\\\"></path></svg>\"\n            },\n        };\n    }\n    VideoDirective_1 = VideoDirective;\n    VideoDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            VideoDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"video-\" + VideoDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"video-\" + VideoDirective_1.titleIdCounter);\n        }\n    };\n    var VideoDirective_1;\n    VideoDirective.titleIdCounter = 0;\n    VideoDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], VideoDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], VideoDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], VideoDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], VideoDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], VideoDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], VideoDirective.prototype, \"size\", void 0);\n    VideoDirective = VideoDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], VideoDirective);\nVideoDirective.ɵfac = function VideoDirective_Factory(t) { return new (t || VideoDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nVideoDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: VideoDirective, selectors: [[\"\", \"ibmIconVideo\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(VideoDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconVideo]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return VideoDirective;\n}());\nvar VideoModule = /** @class */ (function () {\n    function VideoModule() {\n    }\nVideoModule.ɵfac = function VideoModule_Factory(t) { return new (t || VideoModule)(); };\nVideoModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: VideoModule });\nVideoModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(VideoModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    VideoComponent,\n                    VideoDirective,\n                ],\n                exports: [\n                    VideoComponent,\n                    VideoDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(VideoModule, { declarations: [VideoComponent, VideoDirective], exports: [VideoComponent, VideoDirective] }); })();\n    return VideoModule;\n}());\n\nexport { VideoComponent, VideoDirective, VideoModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar ViewComponent = /** @class */ (function () {\n    function ViewComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ViewComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ViewComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], ViewComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ViewComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], ViewComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ViewComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ViewComponent.prototype, \"size\", void 0);\nViewComponent.ɵfac = function ViewComponent_Factory(t) { return new (t || ViewComponent)(); };\nViewComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: ViewComponent, selectors: [[\"ibm-icon-view\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconView\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function ViewComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [ViewDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ViewComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-view\",\n                template: \"\\n    <svg\\n      ibmIconView\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return ViewComponent;\n}());\nvar ViewDirective = /** @class */ (function () {\n    function ViewDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"View32\", \"filepath\": \"view/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M30.94,15.66A16.69,16.69,0,0,0,16,5,16.69,16.69,0,0,0,1.06,15.66a1,1,0,0,0,0,.68A16.69,16.69,0,0,0,16,27,16.69,16.69,0,0,0,30.94,16.34,1,1,0,0,0,30.94,15.66ZM16,25c-5.3,0-10.9-3.93-12.93-9C5.1,10.93,10.7,7,16,7s10.9,3.93,12.93,9C26.9,21.07,21.3,25,16,25Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M16,10a6,6,0,1,0,6,6A6,6,0,0,0,16,10Zm0,10a4,4,0,1,1,4-4A4,4,0,0,1,16,20Z\" } }], \"name\": \"view\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M30.94,15.66A16.69,16.69,0,0,0,16,5,16.69,16.69,0,0,0,1.06,15.66a1,1,0,0,0,0,.68A16.69,16.69,0,0,0,16,27,16.69,16.69,0,0,0,30.94,16.34,1,1,0,0,0,30.94,15.66ZM16,25c-5.3,0-10.9-3.93-12.93-9C5.1,10.93,10.7,7,16,7s10.9,3.93,12.93,9C26.9,21.07,21.3,25,16,25Z\\\"></path><path d=\\\"M16,10a6,6,0,1,0,6,6A6,6,0,0,0,16,10Zm0,10a4,4,0,1,1,4-4A4,4,0,0,1,16,20Z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"View24\", \"filepath\": \"view/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M30.94,15.66A16.69,16.69,0,0,0,16,5,16.69,16.69,0,0,0,1.06,15.66a1,1,0,0,0,0,.68A16.69,16.69,0,0,0,16,27,16.69,16.69,0,0,0,30.94,16.34,1,1,0,0,0,30.94,15.66ZM16,25c-5.3,0-10.9-3.93-12.93-9C5.1,10.93,10.7,7,16,7s10.9,3.93,12.93,9C26.9,21.07,21.3,25,16,25Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M16,10a6,6,0,1,0,6,6A6,6,0,0,0,16,10Zm0,10a4,4,0,1,1,4-4A4,4,0,0,1,16,20Z\" } }], \"name\": \"view\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M30.94,15.66A16.69,16.69,0,0,0,16,5,16.69,16.69,0,0,0,1.06,15.66a1,1,0,0,0,0,.68A16.69,16.69,0,0,0,16,27,16.69,16.69,0,0,0,30.94,16.34,1,1,0,0,0,30.94,15.66ZM16,25c-5.3,0-10.9-3.93-12.93-9C5.1,10.93,10.7,7,16,7s10.9,3.93,12.93,9C26.9,21.07,21.3,25,16,25Z\\\"></path><path d=\\\"M16,10a6,6,0,1,0,6,6A6,6,0,0,0,16,10Zm0,10a4,4,0,1,1,4-4A4,4,0,0,1,16,20Z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"View20\", \"filepath\": \"view/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M30.94,15.66A16.69,16.69,0,0,0,16,5,16.69,16.69,0,0,0,1.06,15.66a1,1,0,0,0,0,.68A16.69,16.69,0,0,0,16,27,16.69,16.69,0,0,0,30.94,16.34,1,1,0,0,0,30.94,15.66ZM16,25c-5.3,0-10.9-3.93-12.93-9C5.1,10.93,10.7,7,16,7s10.9,3.93,12.93,9C26.9,21.07,21.3,25,16,25Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M16,10a6,6,0,1,0,6,6A6,6,0,0,0,16,10Zm0,10a4,4,0,1,1,4-4A4,4,0,0,1,16,20Z\" } }], \"name\": \"view\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M30.94,15.66A16.69,16.69,0,0,0,16,5,16.69,16.69,0,0,0,1.06,15.66a1,1,0,0,0,0,.68A16.69,16.69,0,0,0,16,27,16.69,16.69,0,0,0,30.94,16.34,1,1,0,0,0,30.94,15.66ZM16,25c-5.3,0-10.9-3.93-12.93-9C5.1,10.93,10.7,7,16,7s10.9,3.93,12.93,9C26.9,21.07,21.3,25,16,25Z\\\"></path><path d=\\\"M16,10a6,6,0,1,0,6,6A6,6,0,0,0,16,10Zm0,10a4,4,0,1,1,4-4A4,4,0,0,1,16,20Z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"View16\", \"filepath\": \"view/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 16 16\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M15.5,7.8C14.3,4.7,11.3,2.6,8,2.5C4.7,2.6,1.7,4.7,0.5,7.8c0,0.1,0,0.2,0,0.3c1.2,3.1,4.1,5.2,7.5,5.3\\tc3.3-0.1,6.3-2.2,7.5-5.3C15.5,8.1,15.5,7.9,15.5,7.8z M8,12.5c-2.7,0-5.4-2-6.5-4.5c1-2.5,3.8-4.5,6.5-4.5s5.4,2,6.5,4.5\\tC13.4,10.5,10.6,12.5,8,12.5z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M8,5C6.3,5,5,6.3,5,8s1.3,3,3,3s3-1.3,3-3S9.7,5,8,5z M8,10c-1.1,0-2-0.9-2-2s0.9-2,2-2s2,0.9,2,2S9.1,10,8,10z\" } }], \"name\": \"view\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\" aria-hidden=\\\"true\\\"><path d=\\\"M15.5,7.8C14.3,4.7,11.3,2.6,8,2.5C4.7,2.6,1.7,4.7,0.5,7.8c0,0.1,0,0.2,0,0.3c1.2,3.1,4.1,5.2,7.5,5.3\\tc3.3-0.1,6.3-2.2,7.5-5.3C15.5,8.1,15.5,7.9,15.5,7.8z M8,12.5c-2.7,0-5.4-2-6.5-4.5c1-2.5,3.8-4.5,6.5-4.5s5.4,2,6.5,4.5\\tC13.4,10.5,10.6,12.5,8,12.5z\\\"></path><path d=\\\"M8,5C6.3,5,5,6.3,5,8s1.3,3,3,3s3-1.3,3-3S9.7,5,8,5z M8,10c-1.1,0-2-0.9-2-2s0.9-2,2-2s2,0.9,2,2S9.1,10,8,10z\\\"></path></svg>\"\n            },\n        };\n    }\n    ViewDirective_1 = ViewDirective;\n    ViewDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            ViewDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"view-\" + ViewDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"view-\" + ViewDirective_1.titleIdCounter);\n        }\n    };\n    var ViewDirective_1;\n    ViewDirective.titleIdCounter = 0;\n    ViewDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ViewDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ViewDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], ViewDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ViewDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], ViewDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ViewDirective.prototype, \"size\", void 0);\n    ViewDirective = ViewDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], ViewDirective);\nViewDirective.ɵfac = function ViewDirective_Factory(t) { return new (t || ViewDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nViewDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: ViewDirective, selectors: [[\"\", \"ibmIconView\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ViewDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconView]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return ViewDirective;\n}());\nvar ViewModule = /** @class */ (function () {\n    function ViewModule() {\n    }\nViewModule.ɵfac = function ViewModule_Factory(t) { return new (t || ViewModule)(); };\nViewModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: ViewModule });\nViewModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ViewModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    ViewComponent,\n                    ViewDirective,\n                ],\n                exports: [\n                    ViewComponent,\n                    ViewDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(ViewModule, { declarations: [ViewComponent, ViewDirective], exports: [ViewComponent, ViewDirective] }); })();\n    return ViewModule;\n}());\n\nexport { ViewComponent, ViewDirective, ViewModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar VisualRecognitionComponent = /** @class */ (function () {\n    function VisualRecognitionComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], VisualRecognitionComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], VisualRecognitionComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], VisualRecognitionComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], VisualRecognitionComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], VisualRecognitionComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], VisualRecognitionComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], VisualRecognitionComponent.prototype, \"size\", void 0);\nVisualRecognitionComponent.ɵfac = function VisualRecognitionComponent_Factory(t) { return new (t || VisualRecognitionComponent)(); };\nVisualRecognitionComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: VisualRecognitionComponent, selectors: [[\"ibm-icon-visual-recognition\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconVisualRecognition\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function VisualRecognitionComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [VisualRecognitionDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(VisualRecognitionComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-visual-recognition\",\n                template: \"\\n    <svg\\n      ibmIconVisualRecognition\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return VisualRecognitionComponent;\n}());\nvar VisualRecognitionDirective = /** @class */ (function () {\n    function VisualRecognitionDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"VisualRecognition32\", \"filepath\": \"visual-recognition/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"circle\", \"attrs\": { \"cx\": \"23\", \"cy\": \"12\", \"r\": \"2\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M28,5H16.24A8,8,0,1,0,6,16.92V27a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V7A2,2,0,0,0,28,5ZM4,10A6,6,0,0,1,15.19,7H8V9h7.91A6.64,6.64,0,0,1,16,10a6.64,6.64,0,0,1-.09,1H10v2h5.19A6,6,0,0,1,4,10ZM28,27H8l5-5,1.59,1.59a2,2,0,0,0,2.82,0L23,18l5,5Zm0-6.83-3.59-3.59a2,2,0,0,0-2.82,0L16,22.17l-1.59-1.59a2,2,0,0,0-2.82,0L8,24.17V17.74A8.24,8.24,0,0,0,10,18a8,8,0,0,0,8-8,7.9,7.9,0,0,0-.59-3H28Z\" } }], \"name\": \"visual-recognition\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><circle cx=\\\"23\\\" cy=\\\"12\\\" r=\\\"2\\\"></circle><path d=\\\"M28,5H16.24A8,8,0,1,0,6,16.92V27a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V7A2,2,0,0,0,28,5ZM4,10A6,6,0,0,1,15.19,7H8V9h7.91A6.64,6.64,0,0,1,16,10a6.64,6.64,0,0,1-.09,1H10v2h5.19A6,6,0,0,1,4,10ZM28,27H8l5-5,1.59,1.59a2,2,0,0,0,2.82,0L23,18l5,5Zm0-6.83-3.59-3.59a2,2,0,0,0-2.82,0L16,22.17l-1.59-1.59a2,2,0,0,0-2.82,0L8,24.17V17.74A8.24,8.24,0,0,0,10,18a8,8,0,0,0,8-8,7.9,7.9,0,0,0-.59-3H28Z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"VisualRecognition24\", \"filepath\": \"visual-recognition/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"circle\", \"attrs\": { \"cx\": \"23\", \"cy\": \"12\", \"r\": \"2\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M28,5H16.24A8,8,0,1,0,6,16.92V27a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V7A2,2,0,0,0,28,5ZM4,10A6,6,0,0,1,15.19,7H8V9h7.91A6.64,6.64,0,0,1,16,10a6.64,6.64,0,0,1-.09,1H10v2h5.19A6,6,0,0,1,4,10ZM28,27H8l5-5,1.59,1.59a2,2,0,0,0,2.82,0L23,18l5,5Zm0-6.83-3.59-3.59a2,2,0,0,0-2.82,0L16,22.17l-1.59-1.59a2,2,0,0,0-2.82,0L8,24.17V17.74A8.24,8.24,0,0,0,10,18a8,8,0,0,0,8-8,7.9,7.9,0,0,0-.59-3H28Z\" } }], \"name\": \"visual-recognition\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><circle cx=\\\"23\\\" cy=\\\"12\\\" r=\\\"2\\\"></circle><path d=\\\"M28,5H16.24A8,8,0,1,0,6,16.92V27a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V7A2,2,0,0,0,28,5ZM4,10A6,6,0,0,1,15.19,7H8V9h7.91A6.64,6.64,0,0,1,16,10a6.64,6.64,0,0,1-.09,1H10v2h5.19A6,6,0,0,1,4,10ZM28,27H8l5-5,1.59,1.59a2,2,0,0,0,2.82,0L23,18l5,5Zm0-6.83-3.59-3.59a2,2,0,0,0-2.82,0L16,22.17l-1.59-1.59a2,2,0,0,0-2.82,0L8,24.17V17.74A8.24,8.24,0,0,0,10,18a8,8,0,0,0,8-8,7.9,7.9,0,0,0-.59-3H28Z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"VisualRecognition20\", \"filepath\": \"visual-recognition/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"circle\", \"attrs\": { \"cx\": \"23\", \"cy\": \"12\", \"r\": \"2\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M28,5H16.24A8,8,0,1,0,6,16.92V27a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V7A2,2,0,0,0,28,5ZM4,10A6,6,0,0,1,15.19,7H8V9h7.91A6.64,6.64,0,0,1,16,10a6.64,6.64,0,0,1-.09,1H10v2h5.19A6,6,0,0,1,4,10ZM28,27H8l5-5,1.59,1.59a2,2,0,0,0,2.82,0L23,18l5,5Zm0-6.83-3.59-3.59a2,2,0,0,0-2.82,0L16,22.17l-1.59-1.59a2,2,0,0,0-2.82,0L8,24.17V17.74A8.24,8.24,0,0,0,10,18a8,8,0,0,0,8-8,7.9,7.9,0,0,0-.59-3H28Z\" } }], \"name\": \"visual-recognition\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><circle cx=\\\"23\\\" cy=\\\"12\\\" r=\\\"2\\\"></circle><path d=\\\"M28,5H16.24A8,8,0,1,0,6,16.92V27a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V7A2,2,0,0,0,28,5ZM4,10A6,6,0,0,1,15.19,7H8V9h7.91A6.64,6.64,0,0,1,16,10a6.64,6.64,0,0,1-.09,1H10v2h5.19A6,6,0,0,1,4,10ZM28,27H8l5-5,1.59,1.59a2,2,0,0,0,2.82,0L23,18l5,5Zm0-6.83-3.59-3.59a2,2,0,0,0-2.82,0L16,22.17l-1.59-1.59a2,2,0,0,0-2.82,0L8,24.17V17.74A8.24,8.24,0,0,0,10,18a8,8,0,0,0,8-8,7.9,7.9,0,0,0-.59-3H28Z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"VisualRecognition16\", \"filepath\": \"visual-recognition/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"circle\", \"attrs\": { \"cx\": \"23\", \"cy\": \"12\", \"r\": \"2\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M28,5H16.24A8,8,0,1,0,6,16.92V27a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V7A2,2,0,0,0,28,5ZM4,10A6,6,0,0,1,15.19,7H8V9h7.91A6.64,6.64,0,0,1,16,10a6.64,6.64,0,0,1-.09,1H10v2h5.19A6,6,0,0,1,4,10ZM28,27H8l5-5,1.59,1.59a2,2,0,0,0,2.82,0L23,18l5,5Zm0-6.83-3.59-3.59a2,2,0,0,0-2.82,0L16,22.17l-1.59-1.59a2,2,0,0,0-2.82,0L8,24.17V17.74A8.24,8.24,0,0,0,10,18a8,8,0,0,0,8-8,7.9,7.9,0,0,0-.59-3H28Z\" } }], \"name\": \"visual-recognition\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><circle cx=\\\"23\\\" cy=\\\"12\\\" r=\\\"2\\\"></circle><path d=\\\"M28,5H16.24A8,8,0,1,0,6,16.92V27a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V7A2,2,0,0,0,28,5ZM4,10A6,6,0,0,1,15.19,7H8V9h7.91A6.64,6.64,0,0,1,16,10a6.64,6.64,0,0,1-.09,1H10v2h5.19A6,6,0,0,1,4,10ZM28,27H8l5-5,1.59,1.59a2,2,0,0,0,2.82,0L23,18l5,5Zm0-6.83-3.59-3.59a2,2,0,0,0-2.82,0L16,22.17l-1.59-1.59a2,2,0,0,0-2.82,0L8,24.17V17.74A8.24,8.24,0,0,0,10,18a8,8,0,0,0,8-8,7.9,7.9,0,0,0-.59-3H28Z\\\"></path></svg>\"\n            },\n        };\n    }\n    VisualRecognitionDirective_1 = VisualRecognitionDirective;\n    VisualRecognitionDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            VisualRecognitionDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"visual-recognition-\" + VisualRecognitionDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"visual-recognition-\" + VisualRecognitionDirective_1.titleIdCounter);\n        }\n    };\n    var VisualRecognitionDirective_1;\n    VisualRecognitionDirective.titleIdCounter = 0;\n    VisualRecognitionDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], VisualRecognitionDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], VisualRecognitionDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], VisualRecognitionDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], VisualRecognitionDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], VisualRecognitionDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], VisualRecognitionDirective.prototype, \"size\", void 0);\n    VisualRecognitionDirective = VisualRecognitionDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], VisualRecognitionDirective);\nVisualRecognitionDirective.ɵfac = function VisualRecognitionDirective_Factory(t) { return new (t || VisualRecognitionDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nVisualRecognitionDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: VisualRecognitionDirective, selectors: [[\"\", \"ibmIconVisualRecognition\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(VisualRecognitionDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconVisualRecognition]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return VisualRecognitionDirective;\n}());\nvar VisualRecognitionModule = /** @class */ (function () {\n    function VisualRecognitionModule() {\n    }\nVisualRecognitionModule.ɵfac = function VisualRecognitionModule_Factory(t) { return new (t || VisualRecognitionModule)(); };\nVisualRecognitionModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: VisualRecognitionModule });\nVisualRecognitionModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(VisualRecognitionModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    VisualRecognitionComponent,\n                    VisualRecognitionDirective,\n                ],\n                exports: [\n                    VisualRecognitionComponent,\n                    VisualRecognitionDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(VisualRecognitionModule, { declarations: [VisualRecognitionComponent, VisualRecognitionDirective], exports: [VisualRecognitionComponent, VisualRecognitionDirective] }); })();\n    return VisualRecognitionModule;\n}());\n\nexport { VisualRecognitionComponent, VisualRecognitionDirective, VisualRecognitionModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar WalletComponent = /** @class */ (function () {\n    function WalletComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], WalletComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], WalletComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], WalletComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], WalletComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], WalletComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], WalletComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], WalletComponent.prototype, \"size\", void 0);\nWalletComponent.ɵfac = function WalletComponent_Factory(t) { return new (t || WalletComponent)(); };\nWalletComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: WalletComponent, selectors: [[\"ibm-icon-wallet\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconWallet\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function WalletComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [WalletDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(WalletComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-wallet\",\n                template: \"\\n    <svg\\n      ibmIconWallet\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return WalletComponent;\n}());\nvar WalletDirective = /** @class */ (function () {\n    function WalletDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"Wallet32\", \"filepath\": \"wallet/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M22 17H24V19H22z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M28,8H4V5H26V3H4A2,2,0,0,0,2,5V26a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V10A2,2,0,0,0,28,8ZM4,26V10H28v3H20a2,2,0,0,0-2,2v6a2,2,0,0,0,2,2h8v3ZM28,15v6H20V15Z\" } }], \"name\": \"wallet\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M22 17H24V19H22z\\\"></path><path d=\\\"M28,8H4V5H26V3H4A2,2,0,0,0,2,5V26a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V10A2,2,0,0,0,28,8ZM4,26V10H28v3H20a2,2,0,0,0-2,2v6a2,2,0,0,0,2,2h8v3ZM28,15v6H20V15Z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"Wallet24\", \"filepath\": \"wallet/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M22 17H24V19H22z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M28,8H4V5H26V3H4A2,2,0,0,0,2,5V26a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V10A2,2,0,0,0,28,8ZM4,26V10H28v3H20a2,2,0,0,0-2,2v6a2,2,0,0,0,2,2h8v3ZM28,15v6H20V15Z\" } }], \"name\": \"wallet\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M22 17H24V19H22z\\\"></path><path d=\\\"M28,8H4V5H26V3H4A2,2,0,0,0,2,5V26a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V10A2,2,0,0,0,28,8ZM4,26V10H28v3H20a2,2,0,0,0-2,2v6a2,2,0,0,0,2,2h8v3ZM28,15v6H20V15Z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"Wallet20\", \"filepath\": \"wallet/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M22 17H24V19H22z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M28,8H4V5H26V3H4A2,2,0,0,0,2,5V26a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V10A2,2,0,0,0,28,8ZM4,26V10H28v3H20a2,2,0,0,0-2,2v6a2,2,0,0,0,2,2h8v3ZM28,15v6H20V15Z\" } }], \"name\": \"wallet\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M22 17H24V19H22z\\\"></path><path d=\\\"M28,8H4V5H26V3H4A2,2,0,0,0,2,5V26a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V10A2,2,0,0,0,28,8ZM4,26V10H28v3H20a2,2,0,0,0-2,2v6a2,2,0,0,0,2,2h8v3ZM28,15v6H20V15Z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"Wallet16\", \"filepath\": \"wallet/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M22 17H24V19H22z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M28,8H4V5H26V3H4A2,2,0,0,0,2,5V26a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V10A2,2,0,0,0,28,8ZM4,26V10H28v3H20a2,2,0,0,0-2,2v6a2,2,0,0,0,2,2h8v3ZM28,15v6H20V15Z\" } }], \"name\": \"wallet\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M22 17H24V19H22z\\\"></path><path d=\\\"M28,8H4V5H26V3H4A2,2,0,0,0,2,5V26a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V10A2,2,0,0,0,28,8ZM4,26V10H28v3H20a2,2,0,0,0-2,2v6a2,2,0,0,0,2,2h8v3ZM28,15v6H20V15Z\\\"></path></svg>\"\n            },\n        };\n    }\n    WalletDirective_1 = WalletDirective;\n    WalletDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            WalletDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"wallet-\" + WalletDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"wallet-\" + WalletDirective_1.titleIdCounter);\n        }\n    };\n    var WalletDirective_1;\n    WalletDirective.titleIdCounter = 0;\n    WalletDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], WalletDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], WalletDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], WalletDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], WalletDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], WalletDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], WalletDirective.prototype, \"size\", void 0);\n    WalletDirective = WalletDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], WalletDirective);\nWalletDirective.ɵfac = function WalletDirective_Factory(t) { return new (t || WalletDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nWalletDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: WalletDirective, selectors: [[\"\", \"ibmIconWallet\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(WalletDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconWallet]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return WalletDirective;\n}());\nvar WalletModule = /** @class */ (function () {\n    function WalletModule() {\n    }\nWalletModule.ɵfac = function WalletModule_Factory(t) { return new (t || WalletModule)(); };\nWalletModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: WalletModule });\nWalletModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(WalletModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    WalletComponent,\n                    WalletDirective,\n                ],\n                exports: [\n                    WalletComponent,\n                    WalletDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(WalletModule, { declarations: [WalletComponent, WalletDirective], exports: [WalletComponent, WalletDirective] }); })();\n    return WalletModule;\n}());\n\nexport { WalletComponent, WalletDirective, WalletModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar WarningAltFilledComponent = /** @class */ (function () {\n    function WarningAltFilledComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], WarningAltFilledComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], WarningAltFilledComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], WarningAltFilledComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], WarningAltFilledComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], WarningAltFilledComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], WarningAltFilledComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], WarningAltFilledComponent.prototype, \"size\", void 0);\nWarningAltFilledComponent.ɵfac = function WarningAltFilledComponent_Factory(t) { return new (t || WarningAltFilledComponent)(); };\nWarningAltFilledComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: WarningAltFilledComponent, selectors: [[\"ibm-icon-warning-alt-filled\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconWarningAltFilled\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function WarningAltFilledComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [WarningAltFilledDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(WarningAltFilledComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-warning-alt-filled\",\n                template: \"\\n    <svg\\n      ibmIconWarningAltFilled\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return WarningAltFilledComponent;\n}());\nvar WarningAltFilledDirective = /** @class */ (function () {\n    function WarningAltFilledDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"WarningAltFilled32\", \"filepath\": \"warning--alt--filled/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M29.879,27.5212l-13-25.0363a1.04,1.04,0,0,0-1.7583,0l-13,25.0363A1.0015,1.0015,0,0,0,3,29H29a1.001,1.001,0,0,0,.8789-1.4788ZM14.8751,10.0086h2.25V20h-2.25ZM16,26a1.5,1.5,0,1,1,1.5-1.5A1.5,1.5,0,0,1,16,26Z\" } }, { \"elem\": \"path\", \"attrs\": { \"fill\": \"none\", \"d\": \"M14.8751,10.0086h2.25V20h-2.25ZM16,26a1.5,1.5,0,1,1,1.5-1.5A1.5,1.5,0,0,1,16,26Z\", \"data-icon-path\": \"inner-path\" } }], \"name\": \"warning--alt--filled\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M29.879,27.5212l-13-25.0363a1.04,1.04,0,0,0-1.7583,0l-13,25.0363A1.0015,1.0015,0,0,0,3,29H29a1.001,1.001,0,0,0,.8789-1.4788ZM14.8751,10.0086h2.25V20h-2.25ZM16,26a1.5,1.5,0,1,1,1.5-1.5A1.5,1.5,0,0,1,16,26Z\\\"></path><path fill=\\\"none\\\" d=\\\"M14.8751,10.0086h2.25V20h-2.25ZM16,26a1.5,1.5,0,1,1,1.5-1.5A1.5,1.5,0,0,1,16,26Z\\\" data-icon-path=\\\"inner-path\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"WarningAltFilled24\", \"filepath\": \"warning--alt--filled/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M29.879,27.5212l-13-25.0363a1.04,1.04,0,0,0-1.7583,0l-13,25.0363A1.0015,1.0015,0,0,0,3,29H29a1.001,1.001,0,0,0,.8789-1.4788ZM14.8751,10.0086h2.25V20h-2.25ZM16,26a1.5,1.5,0,1,1,1.5-1.5A1.5,1.5,0,0,1,16,26Z\" } }, { \"elem\": \"path\", \"attrs\": { \"fill\": \"none\", \"d\": \"M14.8751,10.0086h2.25V20h-2.25ZM16,26a1.5,1.5,0,1,1,1.5-1.5A1.5,1.5,0,0,1,16,26Z\", \"data-icon-path\": \"inner-path\" } }], \"name\": \"warning--alt--filled\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M29.879,27.5212l-13-25.0363a1.04,1.04,0,0,0-1.7583,0l-13,25.0363A1.0015,1.0015,0,0,0,3,29H29a1.001,1.001,0,0,0,.8789-1.4788ZM14.8751,10.0086h2.25V20h-2.25ZM16,26a1.5,1.5,0,1,1,1.5-1.5A1.5,1.5,0,0,1,16,26Z\\\"></path><path fill=\\\"none\\\" d=\\\"M14.8751,10.0086h2.25V20h-2.25ZM16,26a1.5,1.5,0,1,1,1.5-1.5A1.5,1.5,0,0,1,16,26Z\\\" data-icon-path=\\\"inner-path\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"WarningAltFilled20\", \"filepath\": \"warning--alt--filled/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M29.879,27.5212l-13-25.0363a1.04,1.04,0,0,0-1.7583,0l-13,25.0363A1.0015,1.0015,0,0,0,3,29H29a1.001,1.001,0,0,0,.8789-1.4788ZM14.8751,10.0086h2.25V20h-2.25ZM16,26a1.5,1.5,0,1,1,1.5-1.5A1.5,1.5,0,0,1,16,26Z\" } }, { \"elem\": \"path\", \"attrs\": { \"fill\": \"none\", \"d\": \"M14.8751,10.0086h2.25V20h-2.25ZM16,26a1.5,1.5,0,1,1,1.5-1.5A1.5,1.5,0,0,1,16,26Z\", \"data-icon-path\": \"inner-path\" } }], \"name\": \"warning--alt--filled\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M29.879,27.5212l-13-25.0363a1.04,1.04,0,0,0-1.7583,0l-13,25.0363A1.0015,1.0015,0,0,0,3,29H29a1.001,1.001,0,0,0,.8789-1.4788ZM14.8751,10.0086h2.25V20h-2.25ZM16,26a1.5,1.5,0,1,1,1.5-1.5A1.5,1.5,0,0,1,16,26Z\\\"></path><path fill=\\\"none\\\" d=\\\"M14.8751,10.0086h2.25V20h-2.25ZM16,26a1.5,1.5,0,1,1,1.5-1.5A1.5,1.5,0,0,1,16,26Z\\\" data-icon-path=\\\"inner-path\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"WarningAltFilled16\", \"filepath\": \"warning--alt--filled/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M29.879,27.5212l-13-25.0363a1.04,1.04,0,0,0-1.7583,0l-13,25.0363A1.0015,1.0015,0,0,0,3,29H29a1.001,1.001,0,0,0,.8789-1.4788ZM14.8751,10.0086h2.25V20h-2.25ZM16,26a1.5,1.5,0,1,1,1.5-1.5A1.5,1.5,0,0,1,16,26Z\" } }, { \"elem\": \"path\", \"attrs\": { \"fill\": \"none\", \"d\": \"M14.8751,10.0086h2.25V20h-2.25ZM16,26a1.5,1.5,0,1,1,1.5-1.5A1.5,1.5,0,0,1,16,26Z\", \"data-icon-path\": \"inner-path\" } }], \"name\": \"warning--alt--filled\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M29.879,27.5212l-13-25.0363a1.04,1.04,0,0,0-1.7583,0l-13,25.0363A1.0015,1.0015,0,0,0,3,29H29a1.001,1.001,0,0,0,.8789-1.4788ZM14.8751,10.0086h2.25V20h-2.25ZM16,26a1.5,1.5,0,1,1,1.5-1.5A1.5,1.5,0,0,1,16,26Z\\\"></path><path fill=\\\"none\\\" d=\\\"M14.8751,10.0086h2.25V20h-2.25ZM16,26a1.5,1.5,0,1,1,1.5-1.5A1.5,1.5,0,0,1,16,26Z\\\" data-icon-path=\\\"inner-path\\\"></path></svg>\"\n            },\n        };\n    }\n    WarningAltFilledDirective_1 = WarningAltFilledDirective;\n    WarningAltFilledDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            WarningAltFilledDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"warning-alt-filled-\" + WarningAltFilledDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"warning-alt-filled-\" + WarningAltFilledDirective_1.titleIdCounter);\n        }\n    };\n    var WarningAltFilledDirective_1;\n    WarningAltFilledDirective.titleIdCounter = 0;\n    WarningAltFilledDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], WarningAltFilledDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], WarningAltFilledDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], WarningAltFilledDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], WarningAltFilledDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], WarningAltFilledDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], WarningAltFilledDirective.prototype, \"size\", void 0);\n    WarningAltFilledDirective = WarningAltFilledDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], WarningAltFilledDirective);\nWarningAltFilledDirective.ɵfac = function WarningAltFilledDirective_Factory(t) { return new (t || WarningAltFilledDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nWarningAltFilledDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: WarningAltFilledDirective, selectors: [[\"\", \"ibmIconWarningAltFilled\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(WarningAltFilledDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconWarningAltFilled]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return WarningAltFilledDirective;\n}());\nvar WarningAltFilledModule = /** @class */ (function () {\n    function WarningAltFilledModule() {\n    }\nWarningAltFilledModule.ɵfac = function WarningAltFilledModule_Factory(t) { return new (t || WarningAltFilledModule)(); };\nWarningAltFilledModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: WarningAltFilledModule });\nWarningAltFilledModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(WarningAltFilledModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    WarningAltFilledComponent,\n                    WarningAltFilledDirective,\n                ],\n                exports: [\n                    WarningAltFilledComponent,\n                    WarningAltFilledDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(WarningAltFilledModule, { declarations: [WarningAltFilledComponent, WarningAltFilledDirective], exports: [WarningAltFilledComponent, WarningAltFilledDirective] }); })();\n    return WarningAltFilledModule;\n}());\n\nexport { WarningAltFilledComponent, WarningAltFilledDirective, WarningAltFilledModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar WarningFilledComponent = /** @class */ (function () {\n    function WarningFilledComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], WarningFilledComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], WarningFilledComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], WarningFilledComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], WarningFilledComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], WarningFilledComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], WarningFilledComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], WarningFilledComponent.prototype, \"size\", void 0);\nWarningFilledComponent.ɵfac = function WarningFilledComponent_Factory(t) { return new (t || WarningFilledComponent)(); };\nWarningFilledComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: WarningFilledComponent, selectors: [[\"ibm-icon-warning-filled\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconWarningFilled\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function WarningFilledComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [WarningFilledDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(WarningFilledComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-warning-filled\",\n                template: \"\\n    <svg\\n      ibmIconWarningFilled\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return WarningFilledComponent;\n}());\nvar WarningFilledDirective = /** @class */ (function () {\n    function WarningFilledDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"WarningFilled32\", \"filepath\": \"warning--filled/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M16,2C8.3,2,2,8.3,2,16s6.3,14,14,14s14-6.3,14-14C30,8.3,23.7,2,16,2z M14.9,8h2.2v11h-2.2V8z M16,25\\tc-0.8,0-1.5-0.7-1.5-1.5S15.2,22,16,22c0.8,0,1.5,0.7,1.5,1.5S16.8,25,16,25z\" } }, { \"elem\": \"path\", \"attrs\": { \"fill\": \"none\", \"d\": \"M17.5,23.5c0,0.8-0.7,1.5-1.5,1.5c-0.8,0-1.5-0.7-1.5-1.5S15.2,22,16,22\\tC16.8,22,17.5,22.7,17.5,23.5z M17.1,8h-2.2v11h2.2V8z\", \"data-icon-path\": \"inner-path\", \"opacity\": \"0\" } }], \"name\": \"warning--filled\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M16,2C8.3,2,2,8.3,2,16s6.3,14,14,14s14-6.3,14-14C30,8.3,23.7,2,16,2z M14.9,8h2.2v11h-2.2V8z M16,25\\tc-0.8,0-1.5-0.7-1.5-1.5S15.2,22,16,22c0.8,0,1.5,0.7,1.5,1.5S16.8,25,16,25z\\\"></path><path fill=\\\"none\\\" d=\\\"M17.5,23.5c0,0.8-0.7,1.5-1.5,1.5c-0.8,0-1.5-0.7-1.5-1.5S15.2,22,16,22\\tC16.8,22,17.5,22.7,17.5,23.5z M17.1,8h-2.2v11h2.2V8z\\\" data-icon-path=\\\"inner-path\\\" opacity=\\\"0\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"WarningFilled24\", \"filepath\": \"warning--filled/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 24 24\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M12,1C5.9,1,1,5.9,1,12s4.9,11,11,11s11-4.9,11-11C23,5.9,18.1,1,12,1z M11.1,6h1.8v8h-1.8V6z M12,19.2\\tc-0.7,0-1.2-0.6-1.2-1.2s0.6-1.2,1.2-1.2s1.2,0.6,1.2,1.2S12.7,19.2,12,19.2z\" } }, { \"elem\": \"path\", \"attrs\": { \"fill\": \"none\", \"d\": \"M13.2,18c0,0.7-0.6,1.2-1.2,1.2s-1.2-0.6-1.2-1.2s0.6-1.2,1.2-1.2S13.2,17.3,13.2,18z M12.9,6\\th-1.8v8h1.8V6z\", \"data-icon-path\": \"inner-path\", \"opacity\": \"0\" } }], \"name\": \"warning--filled\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" aria-hidden=\\\"true\\\"><path d=\\\"M12,1C5.9,1,1,5.9,1,12s4.9,11,11,11s11-4.9,11-11C23,5.9,18.1,1,12,1z M11.1,6h1.8v8h-1.8V6z M12,19.2\\tc-0.7,0-1.2-0.6-1.2-1.2s0.6-1.2,1.2-1.2s1.2,0.6,1.2,1.2S12.7,19.2,12,19.2z\\\"></path><path fill=\\\"none\\\" d=\\\"M13.2,18c0,0.7-0.6,1.2-1.2,1.2s-1.2-0.6-1.2-1.2s0.6-1.2,1.2-1.2S13.2,17.3,13.2,18z M12.9,6\\th-1.8v8h1.8V6z\\\" data-icon-path=\\\"inner-path\\\" opacity=\\\"0\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"WarningFilled20\", \"filepath\": \"warning--filled/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 20 20\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M10,1c-5,0-9,4-9,9s4,9,9,9s9-4,9-9S15,1,10,1z M9.2,5h1.5v7H9.2V5z M10,16c-0.6,0-1-0.4-1-1s0.4-1,1-1\\ts1,0.4,1,1S10.6,16,10,16z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M9.2,5h1.5v7H9.2V5z M10,16c-0.6,0-1-0.4-1-1s0.4-1,1-1s1,0.4,1,1S10.6,16,10,16z\", \"data-icon-path\": \"inner-path\", \"opacity\": \"0\" } }], \"name\": \"warning--filled\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 20 20\\\" aria-hidden=\\\"true\\\"><path d=\\\"M10,1c-5,0-9,4-9,9s4,9,9,9s9-4,9-9S15,1,10,1z M9.2,5h1.5v7H9.2V5z M10,16c-0.6,0-1-0.4-1-1s0.4-1,1-1\\ts1,0.4,1,1S10.6,16,10,16z\\\"></path><path d=\\\"M9.2,5h1.5v7H9.2V5z M10,16c-0.6,0-1-0.4-1-1s0.4-1,1-1s1,0.4,1,1S10.6,16,10,16z\\\" data-icon-path=\\\"inner-path\\\" opacity=\\\"0\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"WarningFilled16\", \"filepath\": \"warning--filled/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 16 16\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M8,1C4.2,1,1,4.2,1,8s3.2,7,7,7s7-3.1,7-7S11.9,1,8,1z M7.5,4h1v5h-1C7.5,9,7.5,4,7.5,4z M8,12.2\\tc-0.4,0-0.8-0.4-0.8-0.8s0.3-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,12.2,8,12.2z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M7.5,4h1v5h-1C7.5,9,7.5,4,7.5,4z M8,12.2c-0.4,0-0.8-0.4-0.8-0.8s0.3-0.8,0.8-0.8\\tc0.4,0,0.8,0.4,0.8,0.8S8.4,12.2,8,12.2z\", \"data-icon-path\": \"inner-path\", \"opacity\": \"0\" } }], \"name\": \"warning--filled\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\" aria-hidden=\\\"true\\\"><path d=\\\"M8,1C4.2,1,1,4.2,1,8s3.2,7,7,7s7-3.1,7-7S11.9,1,8,1z M7.5,4h1v5h-1C7.5,9,7.5,4,7.5,4z M8,12.2\\tc-0.4,0-0.8-0.4-0.8-0.8s0.3-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,12.2,8,12.2z\\\"></path><path d=\\\"M7.5,4h1v5h-1C7.5,9,7.5,4,7.5,4z M8,12.2c-0.4,0-0.8-0.4-0.8-0.8s0.3-0.8,0.8-0.8\\tc0.4,0,0.8,0.4,0.8,0.8S8.4,12.2,8,12.2z\\\" data-icon-path=\\\"inner-path\\\" opacity=\\\"0\\\"></path></svg>\"\n            },\n        };\n    }\n    WarningFilledDirective_1 = WarningFilledDirective;\n    WarningFilledDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            WarningFilledDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"warning-filled-\" + WarningFilledDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"warning-filled-\" + WarningFilledDirective_1.titleIdCounter);\n        }\n    };\n    var WarningFilledDirective_1;\n    WarningFilledDirective.titleIdCounter = 0;\n    WarningFilledDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], WarningFilledDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], WarningFilledDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], WarningFilledDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], WarningFilledDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], WarningFilledDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], WarningFilledDirective.prototype, \"size\", void 0);\n    WarningFilledDirective = WarningFilledDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], WarningFilledDirective);\nWarningFilledDirective.ɵfac = function WarningFilledDirective_Factory(t) { return new (t || WarningFilledDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nWarningFilledDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: WarningFilledDirective, selectors: [[\"\", \"ibmIconWarningFilled\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(WarningFilledDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconWarningFilled]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return WarningFilledDirective;\n}());\nvar WarningFilledModule = /** @class */ (function () {\n    function WarningFilledModule() {\n    }\nWarningFilledModule.ɵfac = function WarningFilledModule_Factory(t) { return new (t || WarningFilledModule)(); };\nWarningFilledModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: WarningFilledModule });\nWarningFilledModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(WarningFilledModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    WarningFilledComponent,\n                    WarningFilledDirective,\n                ],\n                exports: [\n                    WarningFilledComponent,\n                    WarningFilledDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(WarningFilledModule, { declarations: [WarningFilledComponent, WarningFilledDirective], exports: [WarningFilledComponent, WarningFilledDirective] }); })();\n    return WarningFilledModule;\n}());\n\nexport { WarningFilledComponent, WarningFilledDirective, WarningFilledModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar WarningComponent = /** @class */ (function () {\n    function WarningComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], WarningComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], WarningComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], WarningComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], WarningComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], WarningComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], WarningComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], WarningComponent.prototype, \"size\", void 0);\nWarningComponent.ɵfac = function WarningComponent_Factory(t) { return new (t || WarningComponent)(); };\nWarningComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: WarningComponent, selectors: [[\"ibm-icon-warning\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconWarning\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function WarningComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [WarningDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(WarningComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-warning\",\n                template: \"\\n    <svg\\n      ibmIconWarning\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return WarningComponent;\n}());\nvar WarningDirective = /** @class */ (function () {\n    function WarningDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"Warning32\", \"filepath\": \"warning/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,26A12,12,0,1,1,28,16,12,12,0,0,1,16,28Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M15 8H17V19H15zM16 22a1.5 1.5 0 101.5 1.5A1.5 1.5 0 0016 22z\" } }], \"name\": \"warning\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,26A12,12,0,1,1,28,16,12,12,0,0,1,16,28Z\\\"></path><path d=\\\"M15 8H17V19H15zM16 22a1.5 1.5 0 101.5 1.5A1.5 1.5 0 0016 22z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"Warning24\", \"filepath\": \"warning/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,26A12,12,0,1,1,28,16,12,12,0,0,1,16,28Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M15 8H17V19H15zM16 22a1.5 1.5 0 101.5 1.5A1.5 1.5 0 0016 22z\" } }], \"name\": \"warning\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,26A12,12,0,1,1,28,16,12,12,0,0,1,16,28Z\\\"></path><path d=\\\"M15 8H17V19H15zM16 22a1.5 1.5 0 101.5 1.5A1.5 1.5 0 0016 22z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"Warning20\", \"filepath\": \"warning/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,26A12,12,0,1,1,28,16,12,12,0,0,1,16,28Z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M15 8H17V19H15zM16 22a1.5 1.5 0 101.5 1.5A1.5 1.5 0 0016 22z\" } }], \"name\": \"warning\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,26A12,12,0,1,1,28,16,12,12,0,0,1,16,28Z\\\"></path><path d=\\\"M15 8H17V19H15zM16 22a1.5 1.5 0 101.5 1.5A1.5 1.5 0 0016 22z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"Warning16\", \"filepath\": \"warning/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 16 16\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M8,14c-3.3,0-6-2.7-6-6s2.7-6,6-6s6,2.7,6,6S11.3,14,8,14z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M7.5 4H8.5V9H7.5zM8 10.2c-.4 0-.8.3-.8.8s.3.8.8.8c.4 0 .8-.3.8-.8S8.4 10.2 8 10.2z\" } }], \"name\": \"warning\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\" aria-hidden=\\\"true\\\"><path d=\\\"M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M8,14c-3.3,0-6-2.7-6-6s2.7-6,6-6s6,2.7,6,6S11.3,14,8,14z\\\"></path><path d=\\\"M7.5 4H8.5V9H7.5zM8 10.2c-.4 0-.8.3-.8.8s.3.8.8.8c.4 0 .8-.3.8-.8S8.4 10.2 8 10.2z\\\"></path></svg>\"\n            },\n        };\n    }\n    WarningDirective_1 = WarningDirective;\n    WarningDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            WarningDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"warning-\" + WarningDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"warning-\" + WarningDirective_1.titleIdCounter);\n        }\n    };\n    var WarningDirective_1;\n    WarningDirective.titleIdCounter = 0;\n    WarningDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], WarningDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], WarningDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], WarningDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], WarningDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], WarningDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], WarningDirective.prototype, \"size\", void 0);\n    WarningDirective = WarningDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], WarningDirective);\nWarningDirective.ɵfac = function WarningDirective_Factory(t) { return new (t || WarningDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nWarningDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: WarningDirective, selectors: [[\"\", \"ibmIconWarning\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(WarningDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconWarning]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return WarningDirective;\n}());\nvar WarningModule = /** @class */ (function () {\n    function WarningModule() {\n    }\nWarningModule.ɵfac = function WarningModule_Factory(t) { return new (t || WarningModule)(); };\nWarningModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: WarningModule });\nWarningModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(WarningModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    WarningComponent,\n                    WarningDirective,\n                ],\n                exports: [\n                    WarningComponent,\n                    WarningDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(WarningModule, { declarations: [WarningComponent, WarningDirective], exports: [WarningComponent, WarningDirective] }); })();\n    return WarningModule;\n}());\n\nexport { WarningComponent, WarningDirective, WarningModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar ZoomInComponent = /** @class */ (function () {\n    function ZoomInComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ZoomInComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ZoomInComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], ZoomInComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ZoomInComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], ZoomInComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ZoomInComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ZoomInComponent.prototype, \"size\", void 0);\nZoomInComponent.ɵfac = function ZoomInComponent_Factory(t) { return new (t || ZoomInComponent)(); };\nZoomInComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: ZoomInComponent, selectors: [[\"ibm-icon-zoom-in\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconZoomIn\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function ZoomInComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [ZoomInDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ZoomInComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-zoom-in\",\n                template: \"\\n    <svg\\n      ibmIconZoomIn\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return ZoomInComponent;\n}());\nvar ZoomInDirective = /** @class */ (function () {\n    function ZoomInDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"ZoomIn32\", \"filepath\": \"zoom--in/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M19 13L15 13 15 9 13 9 13 13 9 13 9 15 13 15 13 19 15 19 15 15 19 15 19 13z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M22.45,21A10.87,10.87,0,0,0,25,14,11,11,0,1,0,14,25a10.87,10.87,0,0,0,7-2.55L28.59,30,30,28.59ZM14,23a9,9,0,1,1,9-9A9,9,0,0,1,14,23Z\" } }], \"name\": \"zoom--in\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M19 13L15 13 15 9 13 9 13 13 9 13 9 15 13 15 13 19 15 19 15 15 19 15 19 13z\\\"></path><path d=\\\"M22.45,21A10.87,10.87,0,0,0,25,14,11,11,0,1,0,14,25a10.87,10.87,0,0,0,7-2.55L28.59,30,30,28.59ZM14,23a9,9,0,1,1,9-9A9,9,0,0,1,14,23Z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"ZoomIn24\", \"filepath\": \"zoom--in/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M19 13L15 13 15 9 13 9 13 13 9 13 9 15 13 15 13 19 15 19 15 15 19 15 19 13z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M22.45,21A10.87,10.87,0,0,0,25,14,11,11,0,1,0,14,25a10.87,10.87,0,0,0,7-2.55L28.59,30,30,28.59ZM14,23a9,9,0,1,1,9-9A9,9,0,0,1,14,23Z\" } }], \"name\": \"zoom--in\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M19 13L15 13 15 9 13 9 13 13 9 13 9 15 13 15 13 19 15 19 15 15 19 15 19 13z\\\"></path><path d=\\\"M22.45,21A10.87,10.87,0,0,0,25,14,11,11,0,1,0,14,25a10.87,10.87,0,0,0,7-2.55L28.59,30,30,28.59ZM14,23a9,9,0,1,1,9-9A9,9,0,0,1,14,23Z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"ZoomIn20\", \"filepath\": \"zoom--in/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M19 13L15 13 15 9 13 9 13 13 9 13 9 15 13 15 13 19 15 19 15 15 19 15 19 13z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M22.45,21A10.87,10.87,0,0,0,25,14,11,11,0,1,0,14,25a10.87,10.87,0,0,0,7-2.55L28.59,30,30,28.59ZM14,23a9,9,0,1,1,9-9A9,9,0,0,1,14,23Z\" } }], \"name\": \"zoom--in\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M19 13L15 13 15 9 13 9 13 13 9 13 9 15 13 15 13 19 15 19 15 15 19 15 19 13z\\\"></path><path d=\\\"M22.45,21A10.87,10.87,0,0,0,25,14,11,11,0,1,0,14,25a10.87,10.87,0,0,0,7-2.55L28.59,30,30,28.59ZM14,23a9,9,0,1,1,9-9A9,9,0,0,1,14,23Z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"ZoomIn16\", \"filepath\": \"zoom--in/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 16 16\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M9 6L7 6 7 4 6 4 6 6 4 6 4 7 6 7 6 9 7 9 7 7 9 7z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M10.7,10C11.5,9,12,7.8,12,6.5C12,3.5,9.5,1,6.5,1S1,3.5,1,6.5S3.5,12,6.5,12c1.3,0,2.5-0.5,3.5-1.3l3.8,3.8l0.7-0.7\\tL10.7,10z M6.5,11C4,11,2,9,2,6.5S4,2,6.5,2S11,4,11,6.5S9,11,6.5,11L6.5,11z\" } }], \"name\": \"zoom--in\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\" aria-hidden=\\\"true\\\"><path d=\\\"M9 6L7 6 7 4 6 4 6 6 4 6 4 7 6 7 6 9 7 9 7 7 9 7z\\\"></path><path d=\\\"M10.7,10C11.5,9,12,7.8,12,6.5C12,3.5,9.5,1,6.5,1S1,3.5,1,6.5S3.5,12,6.5,12c1.3,0,2.5-0.5,3.5-1.3l3.8,3.8l0.7-0.7\\tL10.7,10z M6.5,11C4,11,2,9,2,6.5S4,2,6.5,2S11,4,11,6.5S9,11,6.5,11L6.5,11z\\\"></path></svg>\"\n            },\n        };\n    }\n    ZoomInDirective_1 = ZoomInDirective;\n    ZoomInDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            ZoomInDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"zoom-in-\" + ZoomInDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"zoom-in-\" + ZoomInDirective_1.titleIdCounter);\n        }\n    };\n    var ZoomInDirective_1;\n    ZoomInDirective.titleIdCounter = 0;\n    ZoomInDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ZoomInDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ZoomInDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], ZoomInDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ZoomInDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], ZoomInDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ZoomInDirective.prototype, \"size\", void 0);\n    ZoomInDirective = ZoomInDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], ZoomInDirective);\nZoomInDirective.ɵfac = function ZoomInDirective_Factory(t) { return new (t || ZoomInDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nZoomInDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: ZoomInDirective, selectors: [[\"\", \"ibmIconZoomIn\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ZoomInDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconZoomIn]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return ZoomInDirective;\n}());\nvar ZoomInModule = /** @class */ (function () {\n    function ZoomInModule() {\n    }\nZoomInModule.ɵfac = function ZoomInModule_Factory(t) { return new (t || ZoomInModule)(); };\nZoomInModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: ZoomInModule });\nZoomInModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ZoomInModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    ZoomInComponent,\n                    ZoomInDirective,\n                ],\n                exports: [\n                    ZoomInComponent,\n                    ZoomInDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(ZoomInModule, { declarations: [ZoomInComponent, ZoomInDirective], exports: [ZoomInComponent, ZoomInDirective] }); })();\n    return ZoomInModule;\n}());\n\nexport { ZoomInComponent, ZoomInDirective, ZoomInModule };\n\n","import { __decorate, __metadata } from 'tslib';\nimport { Input, Component, ElementRef, Directive, NgModule } from '@angular/core';\nimport { getAttributes } from '@carbon/icon-helpers';\n\nimport * as ɵngcc0 from '@angular/core';\nvar ZoomOutComponent = /** @class */ (function () {\n    function ZoomOutComponent() {\n        this.focusable = false;\n    }\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ZoomOutComponent.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ZoomOutComponent.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], ZoomOutComponent.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ZoomOutComponent.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], ZoomOutComponent.prototype, \"focusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ZoomOutComponent.prototype, \"innerClass\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ZoomOutComponent.prototype, \"size\", void 0);\nZoomOutComponent.ɵfac = function ZoomOutComponent_Factory(t) { return new (t || ZoomOutComponent)(); };\nZoomOutComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: ZoomOutComponent, selectors: [[\"ibm-icon-zoom-out\"]], inputs: { focusable: \"focusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", innerClass: \"innerClass\", size: \"size\" }, decls: 1, vars: 7, consts: [[\"ibmIconZoomOut\", \"\", 3, \"size\", \"ariaLabel\", \"ariaLabelledby\", \"ariaHidden\", \"title\", \"isFocusable\"]], template: function ZoomOutComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(0, \"svg\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"ariaLabel\", ctx.ariaLabel)(\"ariaLabelledby\", ctx.ariaLabelledby)(\"ariaHidden\", ctx.ariaHidden)(\"title\", ctx.title)(\"isFocusable\", ctx.focusable);\n        ɵngcc0.ɵɵattribute(\"class\", ctx.innerClass);\n    } }, dependencies: function () { return [ZoomOutDirective]; }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ZoomOutComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-icon-zoom-out\",\n                template: \"\\n    <svg\\n      ibmIconZoomOut\\n      [size]=\\\"size\\\"\\n      [ariaLabel]=\\\"ariaLabel\\\"\\n      [ariaLabelledby]=\\\"ariaLabelledby\\\"\\n      [ariaHidden]=\\\"ariaHidden\\\"\\n      [title]=\\\"title\\\"\\n      [isFocusable]=\\\"focusable\\\"\\n      [attr.class]=\\\"innerClass\\\">\\n    </svg>\\n  \"\n            }]\n    }], function () { return []; }, { focusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return ZoomOutComponent;\n}());\nvar ZoomOutDirective = /** @class */ (function () {\n    function ZoomOutDirective(elementRef) {\n        this.elementRef = elementRef;\n        this.isFocusable = false;\n        this.icons = {\n            \"32\": {\n                metadata: { \"moduleName\": \"ZoomOut32\", \"filepath\": \"zoom--out/32.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 32, \"height\": 32 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M9 13H19V15H9z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M22.45,21A10.87,10.87,0,0,0,25,14,11,11,0,1,0,14,25a10.87,10.87,0,0,0,7-2.55L28.59,30,30,28.59ZM14,23a9,9,0,1,1,9-9A9,9,0,0,1,14,23Z\" } }], \"name\": \"zoom--out\", \"size\": 32 }, \"size\": 32 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M9 13H19V15H9z\\\"></path><path d=\\\"M22.45,21A10.87,10.87,0,0,0,25,14,11,11,0,1,0,14,25a10.87,10.87,0,0,0,7-2.55L28.59,30,30,28.59ZM14,23a9,9,0,1,1,9-9A9,9,0,0,1,14,23Z\\\"></path></svg>\"\n            },\n            \"24\": {\n                metadata: { \"moduleName\": \"ZoomOut24\", \"filepath\": \"zoom--out/24.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 24, \"height\": 24 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M9 13H19V15H9z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M22.45,21A10.87,10.87,0,0,0,25,14,11,11,0,1,0,14,25a10.87,10.87,0,0,0,7-2.55L28.59,30,30,28.59ZM14,23a9,9,0,1,1,9-9A9,9,0,0,1,14,23Z\" } }], \"name\": \"zoom--out\", \"size\": 24 }, \"size\": 24 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M9 13H19V15H9z\\\"></path><path d=\\\"M22.45,21A10.87,10.87,0,0,0,25,14,11,11,0,1,0,14,25a10.87,10.87,0,0,0,7-2.55L28.59,30,30,28.59ZM14,23a9,9,0,1,1,9-9A9,9,0,0,1,14,23Z\\\"></path></svg>\"\n            },\n            \"20\": {\n                metadata: { \"moduleName\": \"ZoomOut20\", \"filepath\": \"zoom--out/20.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 32 32\", \"fill\": \"currentColor\", \"width\": 20, \"height\": 20 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M9 13H19V15H9z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M22.45,21A10.87,10.87,0,0,0,25,14,11,11,0,1,0,14,25a10.87,10.87,0,0,0,7-2.55L28.59,30,30,28.59ZM14,23a9,9,0,1,1,9-9A9,9,0,0,1,14,23Z\" } }], \"name\": \"zoom--out\", \"size\": 20 }, \"size\": 20 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 32 32\\\" aria-hidden=\\\"true\\\"><path d=\\\"M9 13H19V15H9z\\\"></path><path d=\\\"M22.45,21A10.87,10.87,0,0,0,25,14,11,11,0,1,0,14,25a10.87,10.87,0,0,0,7-2.55L28.59,30,30,28.59ZM14,23a9,9,0,1,1,9-9A9,9,0,0,1,14,23Z\\\"></path></svg>\"\n            },\n            \"16\": {\n                metadata: { \"moduleName\": \"ZoomOut16\", \"filepath\": \"zoom--out/16.js\", \"descriptor\": { \"elem\": \"svg\", \"attrs\": { \"xmlns\": \"http://www.w3.org/2000/svg\", \"viewBox\": \"0 0 16 16\", \"fill\": \"currentColor\", \"width\": 16, \"height\": 16 }, \"content\": [{ \"elem\": \"path\", \"attrs\": { \"d\": \"M4 6H9V7H4z\" } }, { \"elem\": \"path\", \"attrs\": { \"d\": \"M10.7,10C11.5,9,12,7.8,12,6.5C12,3.5,9.5,1,6.5,1S1,3.5,1,6.5S3.5,12,6.5,12c1.3,0,2.5-0.5,3.5-1.3l3.8,3.8l0.7-0.7\\tL10.7,10z M6.5,11C4,11,2,9,2,6.5S4,2,6.5,2S11,4,11,6.5S9,11,6.5,11L6.5,11z\" } }], \"name\": \"zoom--out\", \"size\": 16 }, \"size\": 16 },\n                svg: \"<svg focusable=\\\"false\\\" preserveAspectRatio=\\\"xMidYMid meet\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\" aria-hidden=\\\"true\\\"><path d=\\\"M4 6H9V7H4z\\\"></path><path d=\\\"M10.7,10C11.5,9,12,7.8,12,6.5C12,3.5,9.5,1,6.5,1S1,3.5,1,6.5S3.5,12,6.5,12c1.3,0,2.5-0.5,3.5-1.3l3.8,3.8l0.7-0.7\\tL10.7,10z M6.5,11C4,11,2,9,2,6.5S4,2,6.5,2S11,4,11,6.5S9,11,6.5,11L6.5,11z\\\"></path></svg>\"\n            },\n        };\n    }\n    ZoomOutDirective_1 = ZoomOutDirective;\n    ZoomOutDirective.prototype.ngAfterViewInit = function () {\n        var svg = this.elementRef.nativeElement;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        var icon = this.icons[this.size];\n        var domParser = new DOMParser();\n        var rawSVG = icon.svg;\n        var svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        var node = svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            svg.appendChild(svg.ownerDocument.importNode(node, true));\n            node = node.nextSibling;\n        }\n        var attributes = getAttributes({\n            width: icon.metadata.descriptor.attrs.height,\n            height: icon.metadata.descriptor.attrs.height,\n            viewBox: icon.metadata.descriptor.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledby,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        var attrKeys = Object.keys(attributes);\n        for (var i = 0; i < attrKeys.length; i++) {\n            var key = attrKeys[i];\n            var value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes.title) {\n            var title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            ZoomOutDirective_1.titleIdCounter++;\n            title.setAttribute(\"id\", \"zoom-out-\" + ZoomOutDirective_1.titleIdCounter);\n            svg.appendChild(title);\n            svg.setAttribute(\"aria-labelledby\", \"zoom-out-\" + ZoomOutDirective_1.titleIdCounter);\n        }\n    };\n    var ZoomOutDirective_1;\n    ZoomOutDirective.titleIdCounter = 0;\n    ZoomOutDirective.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ZoomOutDirective.prototype, \"ariaLabel\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ZoomOutDirective.prototype, \"ariaLabelledby\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], ZoomOutDirective.prototype, \"ariaHidden\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ZoomOutDirective.prototype, \"title\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", Boolean)\n    ], ZoomOutDirective.prototype, \"isFocusable\", void 0);\n    __decorate([\n        Input(),\n        __metadata(\"design:type\", String)\n    ], ZoomOutDirective.prototype, \"size\", void 0);\n    ZoomOutDirective = ZoomOutDirective_1 = __decorate([ __metadata(\"design:paramtypes\", [ElementRef])\n    ], ZoomOutDirective);\nZoomOutDirective.ɵfac = function ZoomOutDirective_Factory(t) { return new (t || ZoomOutDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nZoomOutDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: ZoomOutDirective, selectors: [[\"\", \"ibmIconZoomOut\", \"\"]], inputs: { isFocusable: \"isFocusable\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", ariaHidden: \"ariaHidden\", title: \"title\", size: \"size\" } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ZoomOutDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIconZoomOut]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { isFocusable: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }] }); })();\n    return ZoomOutDirective;\n}());\nvar ZoomOutModule = /** @class */ (function () {\n    function ZoomOutModule() {\n    }\nZoomOutModule.ɵfac = function ZoomOutModule_Factory(t) { return new (t || ZoomOutModule)(); };\nZoomOutModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: ZoomOutModule });\nZoomOutModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ZoomOutModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    ZoomOutComponent,\n                    ZoomOutDirective,\n                ],\n                exports: [\n                    ZoomOutComponent,\n                    ZoomOutDirective,\n                ]\n            }]\n    }], function () { return []; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(ZoomOutModule, { declarations: [ZoomOutComponent, ZoomOutDirective], exports: [ZoomOutComponent, ZoomOutDirective] }); })();\n    return ZoomOutModule;\n}());\n\nexport { ZoomOutComponent, ZoomOutDirective, ZoomOutModule };\n\n","/**\n * Utilites to manipulate the position of elements relative to other elements\n */\nvar _a;\nexport var PLACEMENTS;\n(function (PLACEMENTS) {\n    PLACEMENTS[\"LEFT\"] = \"left\";\n    PLACEMENTS[\"RIGHT\"] = \"right\";\n    PLACEMENTS[\"TOP\"] = \"top\";\n    PLACEMENTS[\"BOTTOM\"] = \"bottom\";\n})(PLACEMENTS || (PLACEMENTS = {}));\nexport var defaultPositions = (_a = {},\n    _a[PLACEMENTS.LEFT] = function (referenceOffset, target, referenceRect) { return ({\n        top: referenceOffset.top - Math.round(target.offsetHeight / 2) + Math.round(referenceRect.height / 2),\n        left: Math.round(referenceOffset.left - target.offsetWidth)\n    }); },\n    _a[PLACEMENTS.RIGHT] = function (referenceOffset, target, referenceRect) { return ({\n        top: referenceOffset.top - Math.round(target.offsetHeight / 2) + Math.round(referenceRect.height / 2),\n        left: Math.round(referenceOffset.left + referenceRect.width)\n    }); },\n    _a[PLACEMENTS.TOP] = function (referenceOffset, target, referenceRect) { return ({\n        top: Math.round(referenceOffset.top - target.offsetHeight),\n        left: referenceOffset.left - Math.round(target.offsetWidth / 2) + Math.round(referenceRect.width / 2)\n    }); },\n    _a[PLACEMENTS.BOTTOM] = function (referenceOffset, target, referenceRect) { return ({\n        top: Math.round(referenceOffset.top + referenceRect.height),\n        left: referenceOffset.left - Math.round(target.offsetWidth / 2) + Math.round(referenceRect.width / 2)\n    }); },\n    _a);\nvar windowRef = typeof window !== \"undefined\" ? window : {\n    innerHeight: 0,\n    scrollY: 0,\n    innerWidth: 0,\n    scrollX: 0\n};\nvar Position = /** @class */ (function () {\n    function Position(positions) {\n        if (positions === void 0) { positions = {}; }\n        this.positions = defaultPositions;\n        this.positions = Object.assign({}, defaultPositions, positions);\n    }\n    Position.prototype.getRelativeOffset = function (target) {\n        // start with the initial element offsets\n        var offsets = {\n            left: target.offsetLeft,\n            top: target.offsetTop\n        };\n        // get each static (i.e. not absolute or relative) offsetParent and sum the left/right offsets\n        while (target.offsetParent && getComputedStyle(target.offsetParent).position === \"static\") {\n            offsets.left += target.offsetLeft;\n            offsets.top += target.offsetTop;\n            target = target.offsetParent;\n        }\n        return offsets;\n    };\n    Position.prototype.getAbsoluteOffset = function (target) {\n        var currentNode = target;\n        var margins = {\n            top: 0,\n            left: 0\n        };\n        // searches for containing elements with additional margins\n        while (currentNode.offsetParent) {\n            var computed = getComputedStyle(currentNode.offsetParent);\n            // find static elements with additional margins\n            // since they tend to throw off our positioning\n            // (usually this is just the body)\n            if (computed.position === \"static\" &&\n                computed.marginLeft &&\n                computed.marginTop) {\n                if (parseInt(computed.marginTop, 10)) {\n                    margins.top += parseInt(computed.marginTop, 10);\n                }\n                if (parseInt(computed.marginLeft, 10)) {\n                    margins.left += parseInt(computed.marginLeft, 10);\n                }\n            }\n            currentNode = currentNode.offsetParent;\n        }\n        var targetRect = target.getBoundingClientRect();\n        var relativeRect = document.body.getBoundingClientRect();\n        return {\n            top: targetRect.top - relativeRect.top + margins.top,\n            left: targetRect.left - relativeRect.left + margins.left\n        };\n    };\n    // finds the position relative to the `reference` element\n    Position.prototype.findRelative = function (reference, target, placement) {\n        var referenceOffset = this.getRelativeOffset(reference);\n        var referenceRect = reference.getBoundingClientRect();\n        return this.calculatePosition(referenceOffset, referenceRect, target, placement);\n    };\n    Position.prototype.findAbsolute = function (reference, target, placement) {\n        var referenceOffset = this.getAbsoluteOffset(reference);\n        var referenceRect = reference.getBoundingClientRect();\n        return this.calculatePosition(referenceOffset, referenceRect, target, placement);\n    };\n    Position.prototype.findPosition = function (reference, target, placement, offsetFunction) {\n        if (offsetFunction === void 0) { offsetFunction = this.getAbsoluteOffset.bind(this); }\n        var referenceOffset = offsetFunction(reference);\n        var referenceRect = reference.getBoundingClientRect();\n        return this.calculatePosition(referenceOffset, referenceRect, target, placement);\n    };\n    Position.prototype.findPositionAt = function (offset, target, placement) {\n        return this.calculatePosition(offset, { top: 0, left: 0, height: 0, width: 0 }, target, placement);\n    };\n    /**\n     * Get the dimensions of an element from an AbsolutePosition and a reference element\n     */\n    Position.prototype.getPlacementBox = function (target, position) {\n        var targetBottom = target.offsetHeight + position.top;\n        var targetRight = target.offsetWidth + position.left;\n        return {\n            top: position.top,\n            bottom: targetBottom,\n            left: position.left,\n            right: targetRight\n        };\n    };\n    Position.prototype.addOffset = function (position, top, left) {\n        if (top === void 0) { top = 0; }\n        if (left === void 0) { left = 0; }\n        return Object.assign({}, position, {\n            top: position.top + top,\n            left: position.left + left\n        });\n    };\n    Position.prototype.setElement = function (element, position) {\n        element.style.top = position.top + \"px\";\n        element.style.left = position.left + \"px\";\n    };\n    Position.prototype.findBestPlacement = function (reference, target, placements, containerFunction, positionFunction) {\n        var _this = this;\n        if (containerFunction === void 0) { containerFunction = this.defaultContainerFunction.bind(this); }\n        if (positionFunction === void 0) { positionFunction = this.findPosition.bind(this); }\n        /**\n         * map over the array of placements and weight them based on the percentage of visible area\n         * where visible area is defined as the area not obscured by the window borders\n         */\n        var weightedPlacements = placements.map(function (placement) {\n            var pos = positionFunction(reference, target, placement);\n            var box = _this.getPlacementBox(target, pos);\n            var hiddenHeight = 0;\n            var hiddenWidth = 0;\n            var container = containerFunction();\n            // the element is exceeding from top or bottom of its container\n            if (box.top < container.top) {\n                hiddenHeight = container.top - box.top;\n            }\n            else if (box.bottom > container.height) {\n                hiddenHeight = box.bottom - container.height;\n            }\n            // the element is exceeding from left or right of its container\n            if (box.left < container.left) {\n                hiddenWidth = container.left - box.left;\n            }\n            else if (box.right > container.width) {\n                hiddenWidth = box.right - container.width;\n            }\n            // if one of the hidden dimensions is 0 but the other is > 0\n            // we want to have a positive area, so setting the null one to 1\n            if (hiddenHeight && !hiddenWidth) {\n                hiddenWidth = 1;\n            }\n            else if (hiddenWidth && !hiddenHeight) {\n                hiddenHeight = 1;\n            }\n            var area = target.offsetHeight * target.offsetWidth;\n            var hiddenArea = hiddenHeight * hiddenWidth;\n            // if visibleArea is 0 it means the element is fully outside container bounds\n            // and visiblePercent will then be 0\n            var visibleArea = area - hiddenArea;\n            var visiblePercent = visibleArea / area;\n            return {\n                placement: placement,\n                weight: visiblePercent\n            };\n        });\n        // sort the placements from best to worst\n        weightedPlacements.sort(function (a, b) { return b.weight - a.weight; });\n        // pick the best!\n        return weightedPlacements[0].placement;\n    };\n    Position.prototype.findBestPlacementAt = function (offset, target, placements, containerFunction) {\n        var _this = this;\n        if (containerFunction === void 0) { containerFunction = this.defaultContainerFunction.bind(this); }\n        var positionAt = function (_, target, placement) {\n            return _this.findPositionAt(offset, target, placement);\n        };\n        return this.findBestPlacement(null, target, placements, containerFunction, positionAt);\n    };\n    Position.prototype.defaultContainerFunction = function () {\n        return {\n            // we go with window here, because that's going to be the simple/common case\n            top: 0,\n            left: 0,\n            height: windowRef.innerHeight,\n            width: windowRef.innerWidth\n        };\n    };\n    Position.prototype.calculatePosition = function (referenceOffset, referenceRect, target, placement) {\n        if (this.positions[placement]) {\n            return this.positions[placement](referenceOffset, target, referenceRect);\n        }\n        console.error(\"No function found for placement, defaulting to 0,0\");\n        return { left: 0, top: 0 };\n    };\n    return Position;\n}());\nexport { Position };\nexport var position = new Position();\nexport default Position;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getCbr = void 0;\nconst version = \"v4\";\nconst getCountryMappings_1 = require(\"./getCountryMappings\");\nfunction getCbr(country) {\n    try {\n        let countryCode2 = country;\n        if (country.length !== 2) {\n            countryCode2 = (0, getCountryMappings_1.getCountryMapping)(country).countryCode2;\n        }\n        countryCode2 = countryCode2.toUpperCase();\n        if (countryCode2 === \"GB\") {\n            countryCode2 = \"UK\";\n        }\n        const cbr = require(\"../country-business-rules/\" +\n            version +\n            \"/self-service/\" +\n            countryCode2 +\n            \".json\");\n        return JSON.parse(JSON.stringify(cbr));\n    }\n    catch (e) {\n        throw \"Could not locate business rules for country: \" + country;\n    }\n}\nexports.getCbr = getCbr;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getCountryMapping = exports.countryNameMapping = exports.countryCode3Mapping = exports.countryCode2Mapping = exports.countryNameList = exports.countryCode3List = exports.countryCode2List = exports.countryMappings = void 0;\nexports.countryMappings = require(\"../country-business-rules/v4/country-mapping/country-mapping-list.json\");\nexports.countryCode2List = require(\"../country-business-rules/v4/country-mapping/country-code-2-list.json\");\nexports.countryCode3List = require(\"../country-business-rules/v4/country-mapping/country-code-2-list.json\");\nexports.countryNameList = require(\"../country-business-rules/v4/country-mapping/country-name-list.json\");\nexports.countryCode2Mapping = require(\"../country-business-rules/v4/country-mapping/country-code-2-mapping.json\");\nexports.countryCode3Mapping = require(\"../country-business-rules/v4/country-mapping/country-code-3-mapping.json\");\nexports.countryNameMapping = require(\"../country-business-rules/v4/country-mapping/country-name-mapping.json\");\nfunction getCountryMapping(country) {\n    const casedCountry = country.toUpperCase();\n    let mapping = {};\n    switch (casedCountry.length) {\n        case 0:\n        case 1:\n            throw `Could not locate mapping for invalid country: ${casedCountry}`;\n        case 2:\n            mapping = exports.countryCode2Mapping;\n            break;\n        case 3:\n            mapping = exports.countryCode3Mapping;\n            break;\n        default:\n            mapping = exports.countryNameMapping;\n    }\n    if (!(casedCountry in mapping)) {\n        throw `Could not locate mapping for country: ${casedCountry}`;\n    }\n    return mapping[casedCountry];\n}\nexports.getCountryMapping = getCountryMapping;\n","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n    if (k2 === undefined) k2 = k;\n    var desc = Object.getOwnPropertyDescriptor(m, k);\n    if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n      desc = { enumerable: true, get: function() { return m[k]; } };\n    }\n    Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n    if (k2 === undefined) k2 = k;\n    o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n    for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__exportStar(require(\"./getCbr\"), exports);\n__exportStar(require(\"./getCountryMappings\"), exports);\n__exportStar(require(\"./models\"), exports);\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n    if (k2 === undefined) k2 = k;\n    var desc = Object.getOwnPropertyDescriptor(m, k);\n    if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n      desc = { enumerable: true, get: function() { return m[k]; } };\n    }\n    Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n    if (k2 === undefined) k2 = k;\n    o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n    for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__exportStar(require(\"./FormFields\"), exports);\n__exportStar(require(\"./ICountryMappings\"), exports);\n__exportStar(require(\"./ICountryRules\"), exports);\n__exportStar(require(\"./ISupportedLanguages\"), exports);\n__exportStar(require(\"./ISupportedLanguages\"), exports);\n__exportStar(require(\"./ITaxNumber1Settings\"), exports);\n__exportStar(require(\"./IVatSettings\"), exports);\n","!function(e,t){\"object\"==typeof exports&&\"object\"==typeof module?module.exports=t():\"function\"==typeof define&&define.amd?define([],t):\"object\"==typeof exports?exports.PaymentService=t():e.PaymentService=t()}(self,(function(){return(()=>{var e={575:e=>{e.exports=function(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}},913:e=>{function t(e,t){for(var i=0;i<t.length;i++){var s=t[i];s.enumerable=s.enumerable||!1,s.configurable=!0,\"value\"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}e.exports=function(e,i,s){return i&&t(e.prototype,i),s&&t(e,s),e}},8:e=>{function t(i){return\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?e.exports=t=function(e){return typeof e}:e.exports=t=function(e){return e&&\"function\"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e},t(i)}e.exports=t}},t={};function i(s){var n=t[s];if(void 0!==n)return n.exports;var o=t[s]={exports:{}};return e[s](o,o.exports,i),o.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var s in t)i.o(t,s)&&!i.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var s={};return(()=>{\"use strict\";i.d(s,{default:()=>c});var e=i(575),t=i.n(e),n=i(913),o=i.n(n),a=i(8),r=i.n(a),l=function(e){var t,i,s,n,o;return!!e&&(!!e.startSession&&(!!e.startSession.url&&(\"string\"==typeof e.startSession.url&&((!e.startSession.requestHeader||\"object\"===r()(e.startSession.requestHeader))&&((!e.startSession.payload||\"object\"===r()(e.startSession.payload))&&((void 0===e.autoResize||\"boolean\"==typeof e.autoResize)&&((!(null===(t=e.complete)||void 0===t?void 0:t.callback)||\"function\"==typeof e.complete.callback)&&((!(null===(i=e.fail)||void 0===i?void 0:i.callback)||\"function\"==typeof e.fail.callback)&&((!(null===(s=e.cancel)||void 0===s?void 0:s.callback)||\"function\"==typeof e.cancel.callback)&&((!(null===(n=e.change)||void 0===n?void 0:n.callback)||\"function\"==typeof e.change.callback)&&((!(null===(o=e.timeout)||void 0===o?void 0:o.callback)||\"function\"==typeof e.timeout.callback)&&(!!e.create&&!(!e.create.callback&&!e.create.autoSubmit)))))))))))))};const c=function(){function e(i,s,n){if(t()(this,e),!l(n))throw\"Invalid parameter\";this.initContainerId=i,this.submitContainerId=s,this.startSessionUrl=n.startSession.url,n.startSession.requestHeader&&(this.startSessionRequestHeader=n.startSession.requestHeader),n.startSession.payload&&(this.startSessionPayload=n.startSession.payload),this.create=n.create,n.complete&&(this.complete=n.complete),n.fail&&(this.fail=n.fail),n.cancel&&(this.cancel=n.cancel),n.change&&(this.change=n.change),n.timeout&&(this.timeout=n.timeout),n.autoScroll?this.autoScroll=!0:this.autoScroll=!1,!1===n.autoResize?this.autoResize=!1:this.autoResize=!0,this.submitFrameWidth=n.submitFrameWidth?n.submitFrameWidth:\"100%\",this.submitFrameHeight=n.submitFrameHeight?n.submitFrameHeight:\"450px\"}return o()(e,[{key:\"init\",value:function(){if(!this.isInit){if(\"string\"!=typeof this.initContainerId||!document.getElementById(this.initContainerId))throw\"Cannot find init container\";this.initDOMs={target:document.getElementById(this.initContainerId),iframe:this._getIframeNode()},this._startSession()}}},{key:\"_isOneStepPayment\",value:function(){return!this.paymentSubmitUrl&&this.completeSessionResponse}},{key:\"_doOneStepPayment\",value:function(){this.completeSessionResponse.eventName=\"ipg_response_completed\",this.complete.callback(this.completeSessionResponse)}},{key:\"_doTwoStepPayment\",value:function(){var e=this;if(\"string\"!=typeof this.submitContainerId||!document.getElementById(this.submitContainerId))throw\"Cannot find submit container\";this.submitDOMs={target:document.getElementById(this.submitContainerId),iframe:this._getIframeNode()},this.displaySubmitIframe?(this.submitDOMs.iframe.width=this.submitFrameWidth,this.submitDOMs.iframe.height=this.submitFrameHeight):(this.submitDOMs.iframe.width=\"0px\",this.submitDOMs.iframe.height=\"0px\"),this._emptyTargetNode(this.submitDOMs),this.submitDOMs.iframe.setAttribute(\"src\",this.paymentSubmitUrl),this.autoScroll&&(this.submitDOMs.iframe.onload=function(){return e.submitDOMs.target.scrollIntoView()}),this._showDOMNode(this.submitDOMs,\"iframe\")}},{key:\"submitSession\",value:function(){this._isOneStepPayment()?this._doOneStepPayment():this._doTwoStepPayment()}},{key:\"destroy\",value:function(){window.removeEventListener(\"message\",this.windowMessageListenerFn),this._emptyTargetNode(this.initDOMs),this._emptyTargetNode(this.submitDOMs)}},{key:\"_emptyTargetNode\",value:function(e){if(e&&e.target&&e.target.firstChild)for(;e.target.firstChild;)e.target.removeChild(e.target.firstChild)}},{key:\"_startSession\",value:function(){var e=this,t=new XMLHttpRequest;if(this.completeSessionResponse=null,new Promise((function(e,i){t.onload=function(){if(200===t.status)e(JSON.parse(t.responseText));else i(t)}})).then((function(t){if(!t.body)throw\"Failed starting session\";if(!t.body.sessionId||!t.body.sessionUrl)throw\"Invalid response from startsession\";e.sessionId=t.body.sessionId,e.paymentSubmitUrl=t.body.paymentSubmitUrl,e.displaySubmitIframe=t.body.displaySubmitIframe,e.initDOMs.iframe.setAttribute(\"src\",t.body.sessionUrl),e._emptyTargetNode(e.initDOMs),e._showDOMNode(e.initDOMs,\"iframe\"),e.windowMessageListenerFn=function(t){return e._processMessage(t.data)},window.addEventListener(\"message\",e.windowMessageListenerFn),e.isInit=!0})).catch((function(t){e._handleStartSessionError(t)})),t.open(\"POST\",this.startSessionUrl,!0),t.setRequestHeader(\"Content-Type\",\"application/json\"),this.startSessionRequestHeader)for(var i in this.startSessionRequestHeader)t.setRequestHeader(i,this.startSessionRequestHeader[i]);this.startSessionPayload&&t.send(JSON.stringify(this.startSessionPayload))}},{key:\"_onCreate\",value:function(e){this.paymentSubmitUrl||(this.completeSessionResponse=e),this.create.autoSubmit?this.submitSession():(this._emptyTargetNode(this.initDOMs),this.create.callback(e))}},{key:\"_onComplete\",value:function(e){this.complete.callback(e)}},{key:\"_onFail\",value:function(e){this.fail.callback(e)}},{key:\"_onCancel\",value:function(e){this.cancel.callback(e)}},{key:\"_onTimeout\",value:function(e){this.timeout.callback(e)}},{key:\"_onChange\",value:function(e){this.autoResize&&(this.initDOMs.iframe.style.height=e.value+\"px\"),this.change&&\"function\"==typeof this.change.callback&&this.change.callback(e)}},{key:\"_processMessage\",value:function(e){var t;try{t=JSON.parse(e)}catch(i){e.includes(\"new_height\")&&(t={eventName:\"change\",attribute:\"height\",value:parseFloat(e.substring(12))})}if(t&&t.eventName)switch(t.eventName){case\"ipg_response_created\":this._onCreate(t);break;case\"ipg_response_completed\":this._onComplete(t);break;case\"ipg_response_failure\":this._onFail(t);break;case\"ipg_response_canceled\":this._onCancel(t);break;case\"ipg_response_expired\":this._onTimeout(t);break;case\"change\":this._onChange(t)}}},{key:\"_showDOMNode\",value:function(e,t){return e.target.appendChild(e[t]),e.current=e[t],e.current}},{key:\"_getIframeNode\",value:function(){var e=document.createElement(\"iframe\");return e.title=\"Payment section\",e}},{key:\"_handleStartSessionError\",value:function(e){var t={};if(e&&e.response&&\"string\"==typeof e.response)try{t=JSON.parse(e.response)}catch(e){console.error(e)}t.startSessionError=!0,this._onFail(t)}}]),e}()})(),s=s.default})()}));","(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"@stomp/stompjs\"), require(\"rxjs\"), require(\"rxjs/operators\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"RxStomp\", [\"@stomp/stompjs\", \"rxjs\", \"rxjs/operators\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"RxStomp\"] = factory(require(\"@stomp/stompjs\"), require(\"rxjs\"), require(\"rxjs/operators\"));\n\telse\n\t\troot[\"RxStomp\"] = factory(root[\"StompJs\"], root[\"rxjs\"], root[\"rxjs\"][\"operators\"]);\n})(typeof self !== 'undefined' ? self : this, function(__WEBPACK_EXTERNAL_MODULE__stomp_stompjs__, __WEBPACK_EXTERNAL_MODULE_rxjs__, __WEBPACK_EXTERNAL_MODULE_rxjs_operators__) {\nreturn /******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// define __esModule on exports\n/******/ \t__webpack_require__.r = function(exports) {\n/******/ \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n/******/ \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n/******/ \t\t}\n/******/ \t\tObject.defineProperty(exports, '__esModule', { value: true });\n/******/ \t};\n/******/\n/******/ \t// create a fake namespace object\n/******/ \t// mode & 1: value is a module id, require it\n/******/ \t// mode & 2: merge all properties of value into the ns\n/******/ \t// mode & 4: return value when already ns object\n/******/ \t// mode & 8|1: behave like require\n/******/ \t__webpack_require__.t = function(value, mode) {\n/******/ \t\tif(mode & 1) value = __webpack_require__(value);\n/******/ \t\tif(mode & 8) return value;\n/******/ \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n/******/ \t\tvar ns = Object.create(null);\n/******/ \t\t__webpack_require__.r(ns);\n/******/ \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n/******/ \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n/******/ \t\treturn ns;\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n/******/\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = 0);\n/******/ })\n/************************************************************************/\n/******/ ({\n\n/***/ \"./node_modules/angular2-uuid/index.js\":\n/*!*********************************************!*\\\n  !*** ./node_modules/angular2-uuid/index.js ***!\n  \\*********************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nvar UUID = (function () {\n    function UUID() {\n        // no-op\n    }\n    UUID.UUID = function () {\n        if (typeof (window) !== \"undefined\" && typeof (window.crypto) !== \"undefined\" && typeof (window.crypto.getRandomValues) !== \"undefined\") {\n            // If we have a cryptographically secure PRNG, use that\n            // http://stackoverflow.com/questions/6906916/collisions-when-generating-uuids-in-javascript\n            var buf = new Uint16Array(8);\n            window.crypto.getRandomValues(buf);\n            return (this.pad4(buf[0]) + this.pad4(buf[1]) + \"-\" + this.pad4(buf[2]) + \"-\" + this.pad4(buf[3]) + \"-\" + this.pad4(buf[4]) + \"-\" + this.pad4(buf[5]) + this.pad4(buf[6]) + this.pad4(buf[7]));\n        }\n        else {\n            // Otherwise, just use Math.random\n            // https://stackoverflow.com/questions/105034/create-guid-uuid-in-javascript\n            // https://stackoverflow.com/questions/11605068/why-does-jshint-argue-against-bitwise-operators-how-should-i-express-this-code\n            return this.random4() + this.random4() + \"-\" + this.random4() + \"-\" + this.random4() + \"-\" +\n                this.random4() + \"-\" + this.random4() + this.random4() + this.random4();\n        }\n    };\n    UUID.pad4 = function (num) {\n        var ret = num.toString(16);\n        while (ret.length < 4) {\n            ret = \"0\" + ret;\n        }\n        return ret;\n    };\n    UUID.random4 = function () {\n        return Math.floor((1 + Math.random()) * 0x10000)\n            .toString(16)\n            .substring(1);\n    };\n    return UUID;\n}());\nexports.UUID = UUID;\n//# sourceMappingURL=index.js.map\n\n/***/ }),\n\n/***/ \"./src/index.ts\":\n/*!**********************!*\\\n  !*** ./src/index.ts ***!\n  \\**********************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nfunction __export(m) {\n    for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(__webpack_require__(/*! ./rx-stomp-config */ \"./src/rx-stomp-config.ts\"));\n__export(__webpack_require__(/*! ./rx-stomp */ \"./src/rx-stomp.ts\"));\n__export(__webpack_require__(/*! ./rx-stomp-state */ \"./src/rx-stomp-state.ts\"));\n__export(__webpack_require__(/*! ./rx-stomp-rpc-config */ \"./src/rx-stomp-rpc-config.ts\"));\n__export(__webpack_require__(/*! ./rx-stomp-rpc */ \"./src/rx-stomp-rpc.ts\"));\n\n\n/***/ }),\n\n/***/ \"./src/rx-stomp-config.ts\":\n/*!********************************!*\\\n  !*** ./src/rx-stomp-config.ts ***!\n  \\********************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * Represents a configuration object for RxSTOMP.\n * Instance of this can be passed to [RxStomp#configure]{@link RxStomp#configure}\n *\n * All the attributes of this calls are optional.\n *\n * Part of `@stomp/rx-stomp`\n */\nvar RxStompConfig = /** @class */ (function () {\n    function RxStompConfig() {\n    }\n    return RxStompConfig;\n}());\nexports.RxStompConfig = RxStompConfig;\n\n\n/***/ }),\n\n/***/ \"./src/rx-stomp-rpc-config.ts\":\n/*!************************************!*\\\n  !*** ./src/rx-stomp-rpc-config.ts ***!\n  \\************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * RPC Config. See the guide for example.\n */\nvar RxStompRPCConfig = /** @class */ (function () {\n    function RxStompRPCConfig() {\n    }\n    return RxStompRPCConfig;\n}());\nexports.RxStompRPCConfig = RxStompRPCConfig;\n\n\n/***/ }),\n\n/***/ \"./src/rx-stomp-rpc.ts\":\n/*!*****************************!*\\\n  !*** ./src/rx-stomp-rpc.ts ***!\n  \\*****************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar rxjs_1 = __webpack_require__(/*! rxjs */ \"rxjs\");\nvar operators_1 = __webpack_require__(/*! rxjs/operators */ \"rxjs/operators\");\nvar angular2_uuid_1 = __webpack_require__(/*! angular2-uuid */ \"./node_modules/angular2-uuid/index.js\");\n/**\n * An implementation of Remote Procedure Call (RPC) using messaging.\n *\n * Please see the [guide](/guide/rx-stomp/ng2-stompjs/2018/10/12/remote-procedure-call.html) for details.\n *\n * Part of `@stomp/rx-stomp`\n */\nvar RxStompRPC = /** @class */ (function () {\n    /**\n     * Create an instance, see the [guide](/guide/rx-stomp/ng2-stompjs/2018/10/12/remote-procedure-call.html) for details.\n     */\n    function RxStompRPC(rxStomp, stompRPCConfig) {\n        var _this = this;\n        this.rxStomp = rxStomp;\n        this.stompRPCConfig = stompRPCConfig;\n        this._replyQueueName = '/temp-queue/rpc-replies';\n        this._setupReplyQueue = function () {\n            return _this.rxStomp.unhandledMessage$;\n        };\n        if (stompRPCConfig) {\n            if (stompRPCConfig.replyQueueName) {\n                this._replyQueueName = stompRPCConfig.replyQueueName;\n            }\n            if (stompRPCConfig.setupReplyQueue) {\n                this._setupReplyQueue = stompRPCConfig.setupReplyQueue;\n            }\n        }\n    }\n    /**\n     * Make an RPC request.\n     * See the [guide](/guide/rx-stomp/ng2-stompjs/2018/10/12/remote-procedure-call.html) for example.\n     *\n     * It is a simple wrapper around [RxStompRPC#stream]{@link RxStompRPC#stream}.\n     */\n    RxStompRPC.prototype.rpc = function (params) {\n        // We know there will be only one message in reply\n        return this.stream(params).pipe(operators_1.first());\n    };\n    /**\n     * Make an RPC stream request. See the [guide](/guide/rx-stomp/ng2-stompjs/2018/10/12/remote-procedure-call.html).\n     *\n     * Note: This call internally takes care of generating a correlation id,\n     * however, if `correlation-id` is passed via `headers`, that will be used instead.\n     */\n    RxStompRPC.prototype.stream = function (params) {\n        var _this = this;\n        var headers = Object.assign({}, params.headers || {});\n        var destination = params.destination, body = params.body, binaryBody = params.binaryBody;\n        if (!this._repliesObservable) {\n            this._repliesObservable = this._setupReplyQueue(this._replyQueueName, this.rxStomp);\n        }\n        return rxjs_1.Observable.create(function (rpcObserver) {\n            var defaultMessagesSubscription;\n            var correlationId = headers['correlation-id'] || angular2_uuid_1.UUID.UUID();\n            defaultMessagesSubscription = _this._repliesObservable.pipe(operators_1.filter(function (message) {\n                return message.headers['correlation-id'] === correlationId;\n            })).subscribe(function (message) {\n                rpcObserver.next(message);\n            });\n            // send an RPC request\n            headers['reply-to'] = _this._replyQueueName;\n            headers['correlation-id'] = correlationId;\n            _this.rxStomp.publish({ destination: destination, body: body, binaryBody: binaryBody, headers: headers });\n            return function () {\n                defaultMessagesSubscription.unsubscribe();\n            };\n        });\n    };\n    return RxStompRPC;\n}());\nexports.RxStompRPC = RxStompRPC;\n\n\n/***/ }),\n\n/***/ \"./src/rx-stomp-state.ts\":\n/*!*******************************!*\\\n  !*** ./src/rx-stomp-state.ts ***!\n  \\*******************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * Possible states for the RxStomp\n *\n * Part of `@stomp/rx-stomp`\n */\nvar RxStompState;\n(function (RxStompState) {\n    RxStompState[RxStompState[\"CONNECTING\"] = 0] = \"CONNECTING\";\n    RxStompState[RxStompState[\"OPEN\"] = 1] = \"OPEN\";\n    RxStompState[RxStompState[\"CLOSING\"] = 2] = \"CLOSING\";\n    RxStompState[RxStompState[\"CLOSED\"] = 3] = \"CLOSED\";\n})(RxStompState = exports.RxStompState || (exports.RxStompState = {}));\n\n\n/***/ }),\n\n/***/ \"./src/rx-stomp.ts\":\n/*!*************************!*\\\n  !*** ./src/rx-stomp.ts ***!\n  \\*************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\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 (_) 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};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar rxjs_1 = __webpack_require__(/*! rxjs */ \"rxjs\");\nvar operators_1 = __webpack_require__(/*! rxjs/operators */ \"rxjs/operators\");\nvar stompjs_1 = __webpack_require__(/*! @stomp/stompjs */ \"@stomp/stompjs\");\nvar rx_stomp_state_1 = __webpack_require__(/*! ./rx-stomp-state */ \"./src/rx-stomp-state.ts\");\n/**\n * This is the main Stomp Client.\n * Typically you will create an instance of this to connect to the STOMP broker.\n *\n * This wraps [@stomp/stompjs]{@link https://github.com/stomp-js/stompjs}\n * {@link Client} class.\n *\n * The key difference is that it exposes operations as RxJS Observables.\n * For example when a STOMP endpoint is subscribed it returns an Observable\n * that will stream all received messages.\n *\n * With exception of beforeConnect, functionality related to all callbacks in\n * [@stomp/stompjs Client]{@link Client}\n * is exposed as Observables/Subjects/BehaviorSubjects.\n *\n * RxStomp also tries to transparently handle connection failures.\n *\n * Part of `@stomp/rx-stomp`\n */\nvar RxStomp = /** @class */ (function () {\n    /**\n     * Constructor\n     */\n    function RxStomp() {\n        var _this = this;\n        /**\n         * Internal array to hold locally queued messages when STOMP broker is not connected.\n         */\n        this._queuedMessages = [];\n        this._stompClient = new stompjs_1.Client();\n        var noOp = function () { };\n        // Before connect is no op by default\n        this._beforeConnect = noOp;\n        // debug is no-op by default\n        this._debug = noOp;\n        // Initial state is CLOSED\n        this._connectionStatePre$ = new rxjs_1.BehaviorSubject(rx_stomp_state_1.RxStompState.CLOSED);\n        this._connectedPre$ = this._connectionStatePre$.pipe(operators_1.filter(function (currentState) {\n            return currentState === rx_stomp_state_1.RxStompState.OPEN;\n        }));\n        // Initial state is CLOSED\n        this.connectionState$ = new rxjs_1.BehaviorSubject(rx_stomp_state_1.RxStompState.CLOSED);\n        this.connected$ = this.connectionState$.pipe(operators_1.filter(function (currentState) {\n            return currentState === rx_stomp_state_1.RxStompState.OPEN;\n        }));\n        // Setup sending queuedMessages\n        this.connected$.subscribe(function () {\n            _this._sendQueuedMessages();\n        });\n        this._serverHeadersBehaviourSubject$ = new rxjs_1.BehaviorSubject(null);\n        this.serverHeaders$ = this._serverHeadersBehaviourSubject$.pipe(operators_1.filter(function (headers) {\n            return headers !== null;\n        }));\n        this.stompErrors$ = new rxjs_1.Subject();\n        this.unhandledMessage$ = new rxjs_1.Subject();\n        this.unhandledReceipts$ = new rxjs_1.Subject();\n        this.unhandledFrame$ = new rxjs_1.Subject();\n        this.webSocketErrors$ = new rxjs_1.Subject();\n    }\n    Object.defineProperty(RxStomp.prototype, \"stompClient\", {\n        /**\n         * Instance of actual\n         * [@stomp/stompjs]{@link https://github.com/stomp-js/stompjs}\n         * {@link Client}.\n         *\n         * **Be careful in calling methods on it directly - you may get unintended consequences.**\n         */\n        get: function () {\n            return this._stompClient;\n        },\n        enumerable: true,\n        configurable: true\n    });\n    /**\n     * Set configuration. This method may be called multiple times.\n     * Each call will add to the existing configuration.\n     *\n     * Example:\n     *\n     * ```javascript\n     *        const rxStomp = new RxStomp();\n     *        rxStomp.configure({\n     *          brokerURL: 'ws://127.0.0.1:15674/ws',\n     *          connectHeaders: {\n     *            login: 'guest',\n     *            passcode: 'guest'\n     *          },\n     *          heartbeatIncoming: 0,\n     *          heartbeatOutgoing: 20000,\n     *          reconnectDelay: 200,\n     *          debug: (msg: string): void => {\n     *            console.log(new Date(), msg);\n     *          }\n     *        });\n     *        rxStomp.activate();\n     * ```\n     *\n     * Maps to: [Client#configure]{@link Client#configure}\n     */\n    RxStomp.prototype.configure = function (rxStompConfig) {\n        var stompConfig = Object.assign({}, rxStompConfig);\n        if (stompConfig.beforeConnect) {\n            this._beforeConnect = stompConfig.beforeConnect;\n            delete stompConfig.beforeConnect;\n        }\n        // RxStompConfig has subset of StompConfig fields\n        this._stompClient.configure(stompConfig);\n        if (stompConfig.debug) {\n            this._debug = stompConfig.debug;\n        }\n    };\n    /**\n     * Initiate the connection with the broker.\n     * If the connection breaks, as per [RxStompConfig#reconnectDelay]{@link RxStompConfig#reconnectDelay},\n     * it will keep trying to reconnect.\n     *\n     * Call [RxStomp#deactivate]{@link RxStomp#deactivate} to disconnect and stop reconnection attempts.\n     *\n     * Maps to: [Client#activate]{@link Client#activate}\n     */\n    RxStomp.prototype.activate = function () {\n        var _this = this;\n        this._stompClient.configure({\n            beforeConnect: function () { return __awaiter(_this, void 0, void 0, function () {\n                return __generator(this, function (_a) {\n                    switch (_a.label) {\n                        case 0:\n                            this._changeState(rx_stomp_state_1.RxStompState.CONNECTING);\n                            // Call handler\n                            return [4 /*yield*/, this._beforeConnect(this)];\n                        case 1:\n                            // Call handler\n                            _a.sent();\n                            return [2 /*return*/];\n                    }\n                });\n            }); },\n            onConnect: function (frame) {\n                _this._serverHeadersBehaviourSubject$.next(frame.headers);\n                // Indicate our connected state to observers\n                _this._changeState(rx_stomp_state_1.RxStompState.OPEN);\n            },\n            onStompError: function (frame) {\n                // Trigger the frame subject\n                _this.stompErrors$.next(frame);\n            },\n            onWebSocketClose: function () {\n                _this._changeState(rx_stomp_state_1.RxStompState.CLOSED);\n            },\n            onUnhandledMessage: function (message) {\n                _this.unhandledMessage$.next(message);\n            },\n            onUnhandledReceipt: function (frame) {\n                _this.unhandledReceipts$.next(frame);\n            },\n            onUnhandledFrame: function (frame) {\n                _this.unhandledFrame$.next(frame);\n            },\n            onWebSocketError: function (evt) {\n                _this.webSocketErrors$.next(evt);\n            }\n        });\n        // Attempt connection\n        this._stompClient.activate();\n    };\n    /**\n     * Disconnect if connected and stop auto reconnect loop.\n     * Appropriate callbacks will be invoked if underlying STOMP connection was connected.\n     *\n     * To reactivate you can call [RxStomp#activate]{@link RxStomp#activate}.\n     *\n     * Maps to: [Client#deactivate]{@link Client#deactivate}\n     */\n    RxStomp.prototype.deactivate = function () {\n        // Disconnect if connected. Callback will set CLOSED state\n        this._stompClient.deactivate();\n        var stompState = this.connectionState$.getValue();\n        if (stompState === rx_stomp_state_1.RxStompState.OPEN) {\n            // Notify observers that we are disconnecting!\n            this._changeState(rx_stomp_state_1.RxStompState.CLOSING);\n        }\n        // This is bit tricky situation, it would be better handled at stompjs level\n        if (stompState === rx_stomp_state_1.RxStompState.CONNECTING) {\n            // Notify observers that we are disconnecting!\n            this._changeState(rx_stomp_state_1.RxStompState.CLOSED);\n        }\n    };\n    /**\n     * It will return `true` if STOMP broker is connected and `false` otherwise.\n     */\n    RxStomp.prototype.connected = function () {\n        return this.connectionState$.getValue() === rx_stomp_state_1.RxStompState.OPEN;\n    };\n    Object.defineProperty(RxStomp.prototype, \"active\", {\n        /**\n         * If the client is active (connected or going to reconnect).\n         *\n         *  Maps to: [Client#active]{@link Client#active}\n         */\n        get: function () {\n            return this.stompClient.active;\n        },\n        enumerable: true,\n        configurable: true\n    });\n    /**\n     * Send a message to a named destination. Refer to your STOMP broker documentation for types\n     * and naming of destinations.\n     *\n     * STOMP protocol specifies and suggests some headers and also allows broker specific headers.\n     *\n     * `body` must be String.\n     * You will need to covert the payload to string in case it is not string (e.g. JSON).\n     *\n     * To send a binary message body use binaryBody parameter. It should be a\n     * [Uint8Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array).\n     * Sometimes brokers may not support binary frames out of the box.\n     * Please check your broker documentation.\n     *\n     * `content-length` header is automatically added to the STOMP Frame sent to the broker.\n     * Set `skipContentLengthHeader` to indicate that `content-length` header should not be added.\n     * For binary messages `content-length` header is always added.\n     *\n     * Caution: The broker will, most likely, report an error and disconnect if message body has NULL octet(s)\n     * and `content-length` header is missing.\n     *\n     * The message will get locally queued if the STOMP broker is not connected. It will attempt to\n     * publish queued messages as soon as the broker gets connected.\n     * If you do not want that behavior,\n     * please set [retryIfDisconnected]{@link IRxStompPublishParams#retryIfDisconnected} to `false`\n     * in the parameters.\n     * When `false`, this function will raise an error if message could not be sent immediately.\n     *\n     * Maps to: [Client#publish]{@link Client#publish}\n     *\n     * See: {@link IRxStompPublishParams} and {@link IPublishParams}\n     *\n     * ```javascript\n     *        rxStomp.publish({destination: \"/queue/test\", headers: {priority: 9}, body: \"Hello, STOMP\"});\n     *\n     *        // Only destination is mandatory parameter\n     *        rxStomp.publish({destination: \"/queue/test\", body: \"Hello, STOMP\"});\n     *\n     *        // Skip content-length header in the frame to the broker\n     *        rxStomp.publish({\"/queue/test\", body: \"Hello, STOMP\", skipContentLengthHeader: true});\n     *\n     *        var binaryData = generateBinaryData(); // This need to be of type Uint8Array\n     *        // setting content-type header is not mandatory, however a good practice\n     *        rxStomp.publish({destination: '/topic/special', binaryBody: binaryData,\n     *                         headers: {'content-type': 'application/octet-stream'}});\n     * ```\n     */\n    RxStomp.prototype.publish = function (parameters) {\n        // retry behaviour is defaulted to true\n        var shouldRetry = parameters.retryIfDisconnected == null\n            ? true\n            : parameters.retryIfDisconnected;\n        if (this.connected()) {\n            this._stompClient.publish(parameters);\n        }\n        else if (shouldRetry) {\n            this._debug(\"Not connected, queueing\");\n            this._queuedMessages.push(parameters);\n        }\n        else {\n            throw new Error('Cannot publish while broker is not connected');\n        }\n    };\n    /** It will send queued messages. */\n    RxStomp.prototype._sendQueuedMessages = function () {\n        var queuedMessages = this._queuedMessages;\n        this._queuedMessages = [];\n        if (queuedMessages.length === 0) {\n            return;\n        }\n        this._debug(\"Will try sending  \" + queuedMessages.length + \" queued message(s)\");\n        for (var _i = 0, queuedMessages_1 = queuedMessages; _i < queuedMessages_1.length; _i++) {\n            var queuedMessage = queuedMessages_1[_i];\n            this._debug(\"Attempting to send \" + queuedMessage);\n            this.publish(queuedMessage);\n        }\n    };\n    /**\n     * It will subscribe to server message queues\n     *\n     * This method can be safely called even if the STOMP broker is not connected.\n     * If the underlying STOMP connection drops and reconnects, it will resubscribe automatically.\n     *\n     * Note that messages might be missed during reconnect. This issue is not specific\n     * to this library but the way STOMP brokers are designed to work.\n     *\n     * This method in the underlying library is called `subscribe`.\n     * In earlier version it was called `subscribe` here as well.\n     * However `subscribe` is also used by RxJS and code read quite strange with two subscribe calls\n     * following each other and both meaning very different things.\n     *\n     * Maps to: [Client#subscribe]{@link Client#subscribe}\n     */\n    RxStomp.prototype.watch = function (destination, headers) {\n        var _this = this;\n        if (headers === void 0) { headers = {}; }\n        /* Well the logic is complicated but works beautifully. RxJS is indeed wonderful.\n         *\n         * We need to activate the underlying subscription immediately if Stomp is connected. If not it should\n         * subscribe when it gets next connected. Further it should re establish the subscription whenever Stomp\n         * successfully reconnects.\n         *\n         * Actual implementation is simple, we filter the BehaviourSubject 'state' so that we can trigger whenever Stomp is\n         * connected. Since 'state' is a BehaviourSubject, if Stomp is already connected, it will immediately trigger.\n         *\n         * The observable that we return to caller remains same across all reconnects, so no special handling needed at\n         * the message subscriber.\n         */\n        this._debug(\"Request to subscribe \" + destination);\n        // By default auto acknowledgement of messages\n        if (!headers.ack) {\n            headers.ack = 'auto';\n        }\n        var coldObservable = rxjs_1.Observable.create(function (messages) {\n            /*\n             * These variables will be used as part of the closure and work their magic during unsubscribe\n             */\n            var stompSubscription;\n            var stompConnectedSubscription;\n            stompConnectedSubscription = _this._connectedPre$.subscribe(function () {\n                _this._debug(\"Will subscribe to \" + destination);\n                stompSubscription = _this._stompClient.subscribe(destination, function (message) {\n                    messages.next(message);\n                }, headers);\n            });\n            return function () {\n                _this._debug(\"Stop watching connection state (for \" + destination + \")\");\n                stompConnectedSubscription.unsubscribe();\n                if (_this.connected()) {\n                    _this._debug(\"Will unsubscribe from \" + destination + \" at Stomp\");\n                    stompSubscription.unsubscribe();\n                }\n                else {\n                    _this._debug(\"Stomp not connected, no need to unsubscribe from \" + destination + \" at Stomp\");\n                }\n            };\n        });\n        /**\n         * Important - convert it to hot Observable - otherwise, if the user code subscribes\n         * to this observable twice, it will subscribe twice to Stomp broker. (This was happening in the current example).\n         * A long but good explanatory article at https://medium.com/@benlesh/hot-vs-cold-observables-f8094ed53339\n         */\n        return coldObservable.pipe(operators_1.share());\n    };\n    /**\n     * STOMP brokers may carry out operation asynchronously and allow requesting for acknowledgement.\n     * To request an acknowledgement, a `receipt` header needs to be sent with the actual request.\n     * The value (say receipt-id) for this header needs to be unique for each use. Typically a sequence, a UUID, a\n     * random number or a combination may be used.\n     *\n     * A complaint broker will send a RECEIPT frame when an operation has actually been completed.\n     * The operation needs to be matched based in the value of the receipt-id.\n     *\n     * This method allow watching for a receipt and invoke the callback\n     * when corresponding receipt has been received.\n     *\n     * The actual {@link Frame}\n     * will be passed as parameter to the callback.\n     *\n     * Example:\n     * ```javascript\n     *        // Publishing with acknowledgement\n     *        let receiptId = randomText();\n     *\n     *        rxStomp.watchForReceipt(receiptId, function() {\n     *          // Will be called after server acknowledges\n     *        });\n     *        rxStomp.publish({destination: '/topic/special', headers: {receipt: receiptId}, body: msg});\n     * ```\n     *\n     * Maps to: [Client#watchForReceipt]{@link Client#watchForReceipt}\n     */\n    RxStomp.prototype.watchForReceipt = function (receiptId, callback) {\n        this._stompClient.watchForReceipt(receiptId, callback);\n    };\n    RxStomp.prototype._changeState = function (state) {\n        this._connectionStatePre$.next(state);\n        this.connectionState$.next(state);\n    };\n    return RxStomp;\n}());\nexports.RxStomp = RxStomp;\n\n\n/***/ }),\n\n/***/ 0:\n/*!****************************!*\\\n  !*** multi ./src/index.ts ***!\n  \\****************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nmodule.exports = __webpack_require__(/*! /home/kdeepak/MyWork/Tech/stomp/rx-stomp/src/index.ts */\"./src/index.ts\");\n\n\n/***/ }),\n\n/***/ \"@stomp/stompjs\":\n/*!*******************************************************************************************************************!*\\\n  !*** external {\"commonjs\":\"@stomp/stompjs\",\"commonjs2\":\"@stomp/stompjs\",\"amd\":\"@stomp/stompjs\",\"root\":\"StompJs\"} ***!\n  \\*******************************************************************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE__stomp_stompjs__;\n\n/***/ }),\n\n/***/ \"rxjs\":\n/*!************************************************************************************!*\\\n  !*** external {\"root\":[\"rxjs\"],\"commonjs\":\"rxjs\",\"commonjs2\":\"rxjs\",\"amd\":\"rxjs\"} ***!\n  \\************************************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE_rxjs__;\n\n/***/ }),\n\n/***/ \"rxjs/operators\":\n/*!******************************************************************************************************************************!*\\\n  !*** external {\"root\":[\"rxjs\",\"operators\"],\"commonjs\":\"rxjs/operators\",\"commonjs2\":\"rxjs/operators\",\"amd\":\"rxjs/operators\"} ***!\n  \\******************************************************************************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE_rxjs_operators__;\n\n/***/ })\n\n/******/ });\n});\n","(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"StompJs\", [], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"StompJs\"] = factory();\n\telse\n\t\troot[\"StompJs\"] = factory();\n})(typeof self !== 'undefined' ? self : this, function() {\nreturn /******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// define __esModule on exports\n/******/ \t__webpack_require__.r = function(exports) {\n/******/ \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n/******/ \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n/******/ \t\t}\n/******/ \t\tObject.defineProperty(exports, '__esModule', { value: true });\n/******/ \t};\n/******/\n/******/ \t// create a fake namespace object\n/******/ \t// mode & 1: value is a module id, require it\n/******/ \t// mode & 2: merge all properties of value into the ns\n/******/ \t// mode & 4: return value when already ns object\n/******/ \t// mode & 8|1: behave like require\n/******/ \t__webpack_require__.t = function(value, mode) {\n/******/ \t\tif(mode & 1) value = __webpack_require__(value);\n/******/ \t\tif(mode & 8) return value;\n/******/ \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n/******/ \t\tvar ns = Object.create(null);\n/******/ \t\t__webpack_require__.r(ns);\n/******/ \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n/******/ \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n/******/ \t\treturn ns;\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n/******/\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = 0);\n/******/ })\n/************************************************************************/\n/******/ ({\n\n/***/ \"./src/byte.ts\":\n/*!*********************!*\\\n  !*** ./src/byte.ts ***!\n  \\*********************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * Some byte values, used as per STOMP specifications.\n *\n * Part of `@stomp/stompjs`.\n *\n * @internal\n */\nexports.BYTE = {\n    // LINEFEED byte (octet 10)\n    LF: '\\x0A',\n    // NULL byte (octet 0)\n    NULL: '\\x00'\n};\n\n\n/***/ }),\n\n/***/ \"./src/client.ts\":\n/*!***********************!*\\\n  !*** ./src/client.ts ***!\n  \\***********************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\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 (_) 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};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar stomp_handler_1 = __webpack_require__(/*! ./stomp-handler */ \"./src/stomp-handler.ts\");\nvar versions_1 = __webpack_require__(/*! ./versions */ \"./src/versions.ts\");\nvar web_socket_state_1 = __webpack_require__(/*! ./web-socket-state */ \"./src/web-socket-state.ts\");\n/**\n * STOMP Client Class.\n *\n * Part of `@stomp/stompjs`.\n */\nvar Client = /** @class */ (function () {\n    /**\n     * Create an instance.\n     */\n    function Client(conf) {\n        if (conf === void 0) { conf = {}; }\n        /**\n         * STOMP versions to attempt during STOMP handshake. By default versions `1.0`, `1.1`, and `1.2` are attempted.\n         *\n         * Example:\n         * ```javascript\n         *        // Try only versions 1.0 and 1.1\n         *        client.stompVersions = new Versions(['1.0', '1.1'])\n         * ```\n         */\n        this.stompVersions = versions_1.Versions.default;\n        /**\n         *  automatically reconnect with delay in milliseconds, set to 0 to disable.\n         */\n        this.reconnectDelay = 5000;\n        /**\n         * Incoming heartbeat interval in milliseconds. Set to 0 to disable.\n         */\n        this.heartbeatIncoming = 10000;\n        /**\n         * Outgoing heartbeat interval in milliseconds. Set to 0 to disable.\n         */\n        this.heartbeatOutgoing = 10000;\n        /**\n         * This switches on a non standard behavior while sending WebSocket packets.\n         * It splits larger (text) packets into chunks of [maxWebSocketChunkSize]{@link Client#maxWebSocketChunkSize}.\n         * Only Java Spring brokers seems to use this mode.\n         *\n         * WebSockets, by itself, split large (text) packets,\n         * so it is not needed with a truly compliant STOMP/WebSocket broker.\n         * Actually setting it for such broker will cause large messages to fail.\n         *\n         * `false` by default.\n         *\n         * Binary frames are never split.\n         */\n        this.splitLargeFrames = false;\n        /**\n         * See [splitLargeFrames]{@link Client#splitLargeFrames}.\n         * This has no effect if [splitLargeFrames]{@link Client#splitLargeFrames} is `false`.\n         */\n        this.maxWebSocketChunkSize = 8 * 1024;\n        /**\n         * Usually the\n         * [type of WebSocket frame]{@link https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/send#Parameters}\n         * is automatically decided by type of the payload.\n         * Default is `false`, which should work with all compliant brokers.\n         *\n         * Set this flag to force binary frames.\n         */\n        this.forceBinaryWSFrames = false;\n        /**\n         * A bug in ReactNative chops a string on occurrence of a NULL.\n         * See issue [https://github.com/stomp-js/stompjs/issues/89]{@link https://github.com/stomp-js/stompjs/issues/89}.\n         * This makes incoming WebSocket messages invalid STOMP packets.\n         * Setting this flag attempts to reverse the damage by appending a NULL.\n         * If the broker splits a large message into multiple WebSocket messages,\n         * this flag will cause data loss and abnormal termination of connection.\n         *\n         * This is not an ideal solution, but a stop gap until the underlying issue is fixed at ReactNative library.\n         */\n        this.appendMissingNULLonIncoming = false;\n        this._active = false;\n        // Dummy callbacks\n        var noOp = function () { };\n        this.debug = noOp;\n        this.beforeConnect = noOp;\n        this.onConnect = noOp;\n        this.onDisconnect = noOp;\n        this.onUnhandledMessage = noOp;\n        this.onUnhandledReceipt = noOp;\n        this.onUnhandledFrame = noOp;\n        this.onStompError = noOp;\n        this.onWebSocketClose = noOp;\n        this.onWebSocketError = noOp;\n        this.logRawCommunication = false;\n        // These parameters would typically get proper values before connect is called\n        this.connectHeaders = {};\n        this._disconnectHeaders = {};\n        // Apply configuration\n        this.configure(conf);\n    }\n    Object.defineProperty(Client.prototype, \"webSocket\", {\n        /**\n         * Underlying WebSocket instance, READONLY.\n         */\n        get: function () {\n            return this._webSocket;\n        },\n        enumerable: true,\n        configurable: true\n    });\n    Object.defineProperty(Client.prototype, \"disconnectHeaders\", {\n        /**\n         * Disconnection headers.\n         */\n        get: function () {\n            return this._disconnectHeaders;\n        },\n        set: function (value) {\n            this._disconnectHeaders = value;\n            if (this._stompHandler) {\n                this._stompHandler.disconnectHeaders = this._disconnectHeaders;\n            }\n        },\n        enumerable: true,\n        configurable: true\n    });\n    Object.defineProperty(Client.prototype, \"connected\", {\n        /**\n         * `true` if there is a active connection with STOMP Broker\n         */\n        get: function () {\n            return (!!this._stompHandler) && this._stompHandler.connected;\n        },\n        enumerable: true,\n        configurable: true\n    });\n    Object.defineProperty(Client.prototype, \"connectedVersion\", {\n        /**\n         * version of STOMP protocol negotiated with the server, READONLY\n         */\n        get: function () {\n            return this._stompHandler ? this._stompHandler.connectedVersion : undefined;\n        },\n        enumerable: true,\n        configurable: true\n    });\n    Object.defineProperty(Client.prototype, \"active\", {\n        /**\n         * if the client is active (connected or going to reconnect)\n         */\n        get: function () {\n            return this._active;\n        },\n        enumerable: true,\n        configurable: true\n    });\n    /**\n     * Update configuration.\n     */\n    Client.prototype.configure = function (conf) {\n        // bulk assign all properties to this\n        Object.assign(this, conf);\n    };\n    /**\n     * Initiate the connection with the broker.\n     * If the connection breaks, as per [Client#reconnectDelay]{@link Client#reconnectDelay},\n     * it will keep trying to reconnect.\n     *\n     * Call [Client#deactivate]{@link Client#deactivate} to disconnect and stop reconnection attempts.\n     */\n    Client.prototype.activate = function () {\n        this._active = true;\n        this._connect();\n    };\n    Client.prototype._connect = function () {\n        return __awaiter(this, void 0, void 0, function () {\n            var _this = this;\n            return __generator(this, function (_a) {\n                switch (_a.label) {\n                    case 0:\n                        if (this.connected) {\n                            this.debug('STOMP: already connected, nothing to do');\n                            return [2 /*return*/];\n                        }\n                        return [4 /*yield*/, this.beforeConnect()];\n                    case 1:\n                        _a.sent();\n                        if (!this._active) {\n                            this.debug('Client has been marked inactive, will not attempt to connect');\n                            return [2 /*return*/];\n                        }\n                        this.debug('Opening Web Socket...');\n                        // Get the actual WebSocket (or a similar object)\n                        this._webSocket = this._createWebSocket();\n                        this._stompHandler = new stomp_handler_1.StompHandler(this, this._webSocket, {\n                            debug: this.debug,\n                            stompVersions: this.stompVersions,\n                            connectHeaders: this.connectHeaders,\n                            disconnectHeaders: this._disconnectHeaders,\n                            heartbeatIncoming: this.heartbeatIncoming,\n                            heartbeatOutgoing: this.heartbeatOutgoing,\n                            splitLargeFrames: this.splitLargeFrames,\n                            maxWebSocketChunkSize: this.maxWebSocketChunkSize,\n                            forceBinaryWSFrames: this.forceBinaryWSFrames,\n                            logRawCommunication: this.logRawCommunication,\n                            appendMissingNULLonIncoming: this.appendMissingNULLonIncoming,\n                            onConnect: function (frame) {\n                                if (!_this._active) {\n                                    _this.debug('STOMP got connected while deactivate was issued, will disconnect now');\n                                    _this._disposeStompHandler();\n                                    return;\n                                }\n                                _this.onConnect(frame);\n                            },\n                            onDisconnect: function (frame) {\n                                _this.onDisconnect(frame);\n                            },\n                            onStompError: function (frame) {\n                                _this.onStompError(frame);\n                            },\n                            onWebSocketClose: function (evt) {\n                                _this.onWebSocketClose(evt);\n                                // The callback is called before attempting to reconnect, this would allow the client\n                                // to be `deactivated` in the callback.\n                                if (_this._active) {\n                                    _this._schedule_reconnect();\n                                }\n                            },\n                            onWebSocketError: function (evt) {\n                                _this.onWebSocketError(evt);\n                            },\n                            onUnhandledMessage: function (message) {\n                                _this.onUnhandledMessage(message);\n                            },\n                            onUnhandledReceipt: function (frame) {\n                                _this.onUnhandledReceipt(frame);\n                            },\n                            onUnhandledFrame: function (frame) {\n                                _this.onUnhandledFrame(frame);\n                            }\n                        });\n                        this._stompHandler.start();\n                        return [2 /*return*/];\n                }\n            });\n        });\n    };\n    Client.prototype._createWebSocket = function () {\n        var webSocket;\n        if (this.webSocketFactory) {\n            webSocket = this.webSocketFactory();\n        }\n        else {\n            webSocket = new WebSocket(this.brokerURL, this.stompVersions.protocolVersions());\n        }\n        webSocket.binaryType = 'arraybuffer';\n        return webSocket;\n    };\n    Client.prototype._schedule_reconnect = function () {\n        var _this = this;\n        if (this.reconnectDelay > 0) {\n            this.debug(\"STOMP: scheduling reconnection in \" + this.reconnectDelay + \"ms\");\n            this._reconnector = setTimeout(function () {\n                _this._connect();\n            }, this.reconnectDelay);\n        }\n    };\n    /**\n     * Disconnect if connected and stop auto reconnect loop.\n     * Appropriate callbacks will be invoked if underlying STOMP connection was connected.\n     *\n     * To reactivate you can call [Client#activate]{@link Client#activate}.\n     */\n    Client.prototype.deactivate = function () {\n        // indicate that auto reconnect loop should terminate\n        this._active = false;\n        // Clear if a reconnection was scheduled\n        if (this._reconnector) {\n            clearTimeout(this._reconnector);\n        }\n        this._disposeStompHandler();\n    };\n    /**\n     * Force disconnect if there is an active connection by directly closing the underlying WebSocket.\n     * This is different than a normal disconnect where a DISCONNECT sequence is carried out with the broker.\n     * After forcing disconnect, automatic reconnect will be attempted.\n     * To stop further reconnects call [Client#deactivate]{@link Client#deactivate} as well.\n     */\n    Client.prototype.forceDisconnect = function () {\n        if (this._webSocket) {\n            if (this._webSocket.readyState === web_socket_state_1.WebSocketState.CONNECTING\n                || this._webSocket.readyState === web_socket_state_1.WebSocketState.OPEN) {\n                this._stompHandler._closeWebsocket();\n            }\n        }\n    };\n    Client.prototype._disposeStompHandler = function () {\n        // Dispose STOMP Handler\n        if (this._stompHandler) {\n            this._stompHandler.dispose();\n            this._stompHandler = null;\n        }\n    };\n    /**\n     * Send a message to a named destination. Refer to your STOMP broker documentation for types\n     * and naming of destinations.\n     *\n     * STOMP protocol specifies and suggests some headers and also allows broker specific headers.\n     *\n     * `body` must be String.\n     * You will need to covert the payload to string in case it is not string (e.g. JSON).\n     *\n     * To send a binary message body use binaryBody parameter. It should be a\n     * [Uint8Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array).\n     * Sometimes brokers may not support binary frames out of the box.\n     * Please check your broker documentation.\n     *\n     * `content-length` header is automatically added to the STOMP Frame sent to the broker.\n     * Set `skipContentLengthHeader` to indicate that `content-length` header should not be added.\n     * For binary messages `content-length` header is always added.\n     *\n     * Caution: The broker will, most likely, report an error and disconnect if message body has NULL octet(s)\n     * and `content-length` header is missing.\n     *\n     * ```javascript\n     *        client.publish({destination: \"/queue/test\", headers: {priority: 9}, body: \"Hello, STOMP\"});\n     *\n     *        // Only destination is mandatory parameter\n     *        client.publish({destination: \"/queue/test\", body: \"Hello, STOMP\"});\n     *\n     *        // Skip content-length header in the frame to the broker\n     *        client.publish({\"/queue/test\", body: \"Hello, STOMP\", skipContentLengthHeader: true});\n     *\n     *        var binaryData = generateBinaryData(); // This need to be of type Uint8Array\n     *        // setting content-type header is not mandatory, however a good practice\n     *        client.publish({destination: '/topic/special', binaryBody: binaryData,\n     *                         headers: {'content-type': 'application/octet-stream'}});\n     * ```\n     */\n    Client.prototype.publish = function (params) {\n        this._stompHandler.publish(params);\n    };\n    /**\n     * STOMP brokers may carry out operation asynchronously and allow requesting for acknowledgement.\n     * To request an acknowledgement, a `receipt` header needs to be sent with the actual request.\n     * The value (say receipt-id) for this header needs to be unique for each use. Typically a sequence, a UUID, a\n     * random number or a combination may be used.\n     *\n     * A complaint broker will send a RECEIPT frame when an operation has actually been completed.\n     * The operation needs to be matched based in the value of the receipt-id.\n     *\n     * This method allow watching for a receipt and invoke the callback\n     * when corresponding receipt has been received.\n     *\n     * The actual {@link FrameImpl} will be passed as parameter to the callback.\n     *\n     * Example:\n     * ```javascript\n     *        // Subscribing with acknowledgement\n     *        let receiptId = randomText();\n     *\n     *        client.watchForReceipt(receiptId, function() {\n     *          // Will be called after server acknowledges\n     *        });\n     *\n     *        client.subscribe(TEST.destination, onMessage, {receipt: receiptId});\n     *\n     *\n     *        // Publishing with acknowledgement\n     *        receiptId = randomText();\n     *\n     *        client.watchForReceipt(receiptId, function() {\n     *          // Will be called after server acknowledges\n     *        });\n     *        client.publish({destination: TEST.destination, headers: {receipt: receiptId}, body: msg});\n     * ```\n     */\n    Client.prototype.watchForReceipt = function (receiptId, callback) {\n        this._stompHandler.watchForReceipt(receiptId, callback);\n    };\n    /**\n     * Subscribe to a STOMP Broker location. The callback will be invoked for each received message with\n     * the {@link IMessage} as argument.\n     *\n     * Note: The library will generate an unique ID if there is none provided in the headers.\n     *       To use your own ID, pass it using the headers argument.\n     *\n     * ```javascript\n     *        callback = function(message) {\n     *        // called when the client receives a STOMP message from the server\n     *          if (message.body) {\n     *            alert(\"got message with body \" + message.body)\n     *          } else {\n     *            alert(\"got empty message\");\n     *          }\n     *        });\n     *\n     *        var subscription = client.subscribe(\"/queue/test\", callback);\n     *\n     *        // Explicit subscription id\n     *        var mySubId = 'my-subscription-id-001';\n     *        var subscription = client.subscribe(destination, callback, { id: mySubId });\n     * ```\n     */\n    Client.prototype.subscribe = function (destination, callback, headers) {\n        if (headers === void 0) { headers = {}; }\n        return this._stompHandler.subscribe(destination, callback, headers);\n    };\n    /**\n     * It is preferable to unsubscribe from a subscription by calling\n     * `unsubscribe()` directly on {@link StompSubscription} returned by `client.subscribe()`:\n     *\n     * ```javascript\n     *        var subscription = client.subscribe(destination, onmessage);\n     *        // ...\n     *        subscription.unsubscribe();\n     * ```\n     *\n     * See: http://stomp.github.com/stomp-specification-1.2.html#UNSUBSCRIBE UNSUBSCRIBE Frame\n     */\n    Client.prototype.unsubscribe = function (id, headers) {\n        if (headers === void 0) { headers = {}; }\n        this._stompHandler.unsubscribe(id, headers);\n    };\n    /**\n     * Start a transaction, the returned {@link ITransaction} has methods - [commit]{@link ITransaction#commit}\n     * and [abort]{@link ITransaction#abort}.\n     *\n     * `transactionId` is optional, if not passed the library will generate it internally.\n     */\n    Client.prototype.begin = function (transactionId) {\n        return this._stompHandler.begin(transactionId);\n    };\n    /**\n     * Commit a transaction.\n     *\n     * It is preferable to commit a transaction by calling [commit]{@link ITransaction#commit} directly on\n     * {@link ITransaction} returned by [client.begin]{@link Client#begin}.\n     *\n     * ```javascript\n     *        var tx = client.begin(txId);\n     *        //...\n     *        tx.commit();\n     * ```\n     */\n    Client.prototype.commit = function (transactionId) {\n        this._stompHandler.commit(transactionId);\n    };\n    /**\n     * Abort a transaction.\n     * It is preferable to abort a transaction by calling [abort]{@link ITransaction#abort} directly on\n     * {@link ITransaction} returned by [client.begin]{@link Client#begin}.\n     *\n     * ```javascript\n     *        var tx = client.begin(txId);\n     *        //...\n     *        tx.abort();\n     * ```\n     */\n    Client.prototype.abort = function (transactionId) {\n        this._stompHandler.abort(transactionId);\n    };\n    /**\n     * ACK a message. It is preferable to acknowledge a message by calling [ack]{@link IMessage#ack} directly\n     * on the {@link IMessage} handled by a subscription callback:\n     *\n     * ```javascript\n     *        var callback = function (message) {\n     *          // process the message\n     *          // acknowledge it\n     *          message.ack();\n     *        };\n     *        client.subscribe(destination, callback, {'ack': 'client'});\n     * ```\n     */\n    Client.prototype.ack = function (messageId, subscriptionId, headers) {\n        if (headers === void 0) { headers = {}; }\n        this._stompHandler.ack(messageId, subscriptionId, headers);\n    };\n    /**\n     * NACK a message. It is preferable to acknowledge a message by calling [nack]{@link IMessage#nack} directly\n     * on the {@link IMessage} handled by a subscription callback:\n     *\n     * ```javascript\n     *        var callback = function (message) {\n     *          // process the message\n     *          // an error occurs, nack it\n     *          message.nack();\n     *        };\n     *        client.subscribe(destination, callback, {'ack': 'client'});\n     * ```\n     */\n    Client.prototype.nack = function (messageId, subscriptionId, headers) {\n        if (headers === void 0) { headers = {}; }\n        this._stompHandler.nack(messageId, subscriptionId, headers);\n    };\n    return Client;\n}());\nexports.Client = Client;\n\n\n/***/ }),\n\n/***/ \"./src/compatibility/compat-client.ts\":\n/*!********************************************!*\\\n  !*** ./src/compatibility/compat-client.ts ***!\n  \\********************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nvar __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 (b.hasOwnProperty(p)) d[p] = b[p]; };\n        return extendStatics(d, b);\n    };\n    return function (d, b) {\n        extendStatics(d, b);\n        function __() { this.constructor = d; }\n        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n    };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar client_1 = __webpack_require__(/*! ../client */ \"./src/client.ts\");\nvar heartbeat_info_1 = __webpack_require__(/*! ./heartbeat-info */ \"./src/compatibility/heartbeat-info.ts\");\n/**\n * Available for backward compatibility, please shift to using {@link Client}.\n *\n * **Deprecated**\n *\n * Part of `@stomp/stompjs`.\n *\n * To upgrade, please follow the [Upgrade Guide](../additional-documentation/upgrading.html)\n */\nvar CompatClient = /** @class */ (function (_super) {\n    __extends(CompatClient, _super);\n    /**\n     * Available for backward compatibility, please shift to using {@link Client}\n     * and [Client#webSocketFactory]{@link Client#webSocketFactory}.\n     *\n     * **Deprecated**\n     *\n     * @internal\n     */\n    function CompatClient(webSocketFactory) {\n        var _this = _super.call(this) || this;\n        /**\n         * It is no op now. No longer needed. Large packets work out of the box.\n         */\n        _this.maxWebSocketFrameSize = 16 * 1024;\n        _this._heartbeatInfo = new heartbeat_info_1.HeartbeatInfo(_this);\n        _this.reconnect_delay = 0;\n        _this.webSocketFactory = webSocketFactory;\n        // Default from previous version\n        _this.debug = function () {\n            var message = [];\n            for (var _i = 0; _i < arguments.length; _i++) {\n                message[_i] = arguments[_i];\n            }\n            console.log.apply(console, message);\n        };\n        return _this;\n    }\n    CompatClient.prototype._parseConnect = function () {\n        var args = [];\n        for (var _i = 0; _i < arguments.length; _i++) {\n            args[_i] = arguments[_i];\n        }\n        var closeEventCallback;\n        var connectCallback;\n        var errorCallback;\n        var headers = {};\n        if (args.length < 2) {\n            throw new Error(('Connect requires at least 2 arguments'));\n        }\n        if (typeof (args[1]) === 'function') {\n            headers = args[0], connectCallback = args[1], errorCallback = args[2], closeEventCallback = args[3];\n        }\n        else {\n            switch (args.length) {\n                case 6:\n                    headers.login = args[0], headers.passcode = args[1], connectCallback = args[2], errorCallback = args[3], closeEventCallback = args[4], headers.host = args[5];\n                    break;\n                default:\n                    headers.login = args[0], headers.passcode = args[1], connectCallback = args[2], errorCallback = args[3], closeEventCallback = args[4];\n            }\n        }\n        return [headers, connectCallback, errorCallback, closeEventCallback];\n    };\n    /**\n     * Available for backward compatibility, please shift to using [Client#activate]{@link Client#activate}.\n     *\n     * **Deprecated**\n     *\n     * The `connect` method accepts different number of arguments and types. See the Overloads list. Use the\n     * version with headers to pass your broker specific options.\n     *\n     * overloads:\n     * - connect(headers, connectCallback)\n     * - connect(headers, connectCallback, errorCallback)\n     * - connect(login, passcode, connectCallback)\n     * - connect(login, passcode, connectCallback, errorCallback)\n     * - connect(login, passcode, connectCallback, errorCallback, closeEventCallback)\n     * - connect(login, passcode, connectCallback, errorCallback, closeEventCallback, host)\n     *\n     * params:\n     * - headers, see [Client#connectHeaders]{@link Client#connectHeaders}\n     * - connectCallback, see [Client#onConnect]{@link Client#onConnect}\n     * - errorCallback, see [Client#onStompError]{@link Client#onStompError}\n     * - closeEventCallback, see [Client#onWebSocketClose]{@link Client#onWebSocketClose}\n     * - login [String], see [Client#connectHeaders](../classes/Client.html#connectHeaders)\n     * - passcode [String], [Client#connectHeaders](../classes/Client.html#connectHeaders)\n     * - host [String], see [Client#connectHeaders](../classes/Client.html#connectHeaders)\n     *\n     * To upgrade, please follow the [Upgrade Guide](../additional-documentation/upgrading.html)\n     */\n    CompatClient.prototype.connect = function () {\n        var args = [];\n        for (var _i = 0; _i < arguments.length; _i++) {\n            args[_i] = arguments[_i];\n        }\n        var out = this._parseConnect.apply(this, args);\n        if (out[0]) {\n            this.connectHeaders = out[0];\n        }\n        if (out[1]) {\n            this.onConnect = out[1];\n        }\n        if (out[2]) {\n            this.onStompError = out[2];\n        }\n        if (out[3]) {\n            this.onWebSocketClose = out[3];\n        }\n        _super.prototype.activate.call(this);\n    };\n    /**\n     * Available for backward compatibility, please shift to using [Client#deactivate]{@link Client#deactivate}.\n     *\n     * **Deprecated**\n     *\n     * See:\n     * [Client#onDisconnect]{@link Client#onDisconnect}, and\n     * [Client#disconnectHeaders]{@link Client#disconnectHeaders}\n     *\n     * To upgrade, please follow the [Upgrade Guide](../additional-documentation/upgrading.html)\n     */\n    CompatClient.prototype.disconnect = function (disconnectCallback, headers) {\n        if (headers === void 0) { headers = {}; }\n        if (disconnectCallback) {\n            this.onDisconnect = disconnectCallback;\n        }\n        this.disconnectHeaders = headers;\n        _super.prototype.deactivate.call(this);\n    };\n    /**\n     * Available for backward compatibility, use [Client#publish]{@link Client#publish}.\n     *\n     * Send a message to a named destination. Refer to your STOMP broker documentation for types\n     * and naming of destinations. The headers will, typically, be available to the subscriber.\n     * However, there may be special purpose headers corresponding to your STOMP broker.\n     *\n     *  **Deprecated**, use [Client#publish]{@link Client#publish}\n     *\n     * Note: Body must be String. You will need to covert the payload to string in case it is not string (e.g. JSON)\n     *\n     * ```javascript\n     *        client.send(\"/queue/test\", {priority: 9}, \"Hello, STOMP\");\n     *\n     *        // If you want to send a message with a body, you must also pass the headers argument.\n     *        client.send(\"/queue/test\", {}, \"Hello, STOMP\");\n     * ```\n     *\n     * To upgrade, please follow the [Upgrade Guide](../additional-documentation/upgrading.html)\n     */\n    CompatClient.prototype.send = function (destination, headers, body) {\n        if (headers === void 0) { headers = {}; }\n        if (body === void 0) { body = ''; }\n        headers = Object.assign({}, headers);\n        var skipContentLengthHeader = (headers['content-length'] === false);\n        if (skipContentLengthHeader) {\n            delete headers['content-length'];\n        }\n        this.publish({\n            destination: destination,\n            headers: headers,\n            body: body,\n            skipContentLengthHeader: skipContentLengthHeader\n        });\n    };\n    Object.defineProperty(CompatClient.prototype, \"reconnect_delay\", {\n        /**\n         * Available for backward compatibility, renamed to [Client#reconnectDelay]{@link Client#reconnectDelay}.\n         *\n         * **Deprecated**\n         */\n        set: function (value) {\n            this.reconnectDelay = value;\n        },\n        enumerable: true,\n        configurable: true\n    });\n    Object.defineProperty(CompatClient.prototype, \"ws\", {\n        /**\n         * Available for backward compatibility, renamed to [Client#webSocket]{@link Client#webSocket}.\n         *\n         * **Deprecated**\n         */\n        get: function () {\n            return this._webSocket;\n        },\n        enumerable: true,\n        configurable: true\n    });\n    Object.defineProperty(CompatClient.prototype, \"version\", {\n        /**\n         * Available for backward compatibility, renamed to [Client#connectedVersion]{@link Client#connectedVersion}.\n         *\n         * **Deprecated**\n         */\n        get: function () {\n            return this.connectedVersion;\n        },\n        enumerable: true,\n        configurable: true\n    });\n    Object.defineProperty(CompatClient.prototype, \"onreceive\", {\n        /**\n         * Available for backward compatibility, renamed to [Client#onUnhandledMessage]{@link Client#onUnhandledMessage}.\n         *\n         * **Deprecated**\n         */\n        get: function () {\n            return this.onUnhandledMessage;\n        },\n        /**\n         * Available for backward compatibility, renamed to [Client#onUnhandledMessage]{@link Client#onUnhandledMessage}.\n         *\n         * **Deprecated**\n         */\n        set: function (value) {\n            this.onUnhandledMessage = value;\n        },\n        enumerable: true,\n        configurable: true\n    });\n    Object.defineProperty(CompatClient.prototype, \"onreceipt\", {\n        /**\n         * Available for backward compatibility, renamed to [Client#onUnhandledReceipt]{@link Client#onUnhandledReceipt}.\n         * Prefer using [Client#watchForReceipt]{@link Client#watchForReceipt}.\n         *\n         * **Deprecated**\n         */\n        get: function () {\n            return this.onUnhandledReceipt;\n        },\n        /**\n         * Available for backward compatibility, renamed to [Client#onUnhandledReceipt]{@link Client#onUnhandledReceipt}.\n         *\n         * **Deprecated**\n         */\n        set: function (value) {\n            this.onUnhandledReceipt = value;\n        },\n        enumerable: true,\n        configurable: true\n    });\n    Object.defineProperty(CompatClient.prototype, \"heartbeat\", {\n        /**\n         * Available for backward compatibility, renamed to [Client#heartbeatIncoming]{@link Client#heartbeatIncoming}\n         * [Client#heartbeatOutgoing]{@link Client#heartbeatOutgoing}.\n         *\n         * **Deprecated**\n         */\n        get: function () {\n            return this._heartbeatInfo;\n        },\n        /**\n         * Available for backward compatibility, renamed to [Client#heartbeatIncoming]{@link Client#heartbeatIncoming}\n         * [Client#heartbeatOutgoing]{@link Client#heartbeatOutgoing}.\n         *\n         * **Deprecated**\n         */\n        set: function (value) {\n            this.heartbeatIncoming = value.incoming;\n            this.heartbeatOutgoing = value.outgoing;\n        },\n        enumerable: true,\n        configurable: true\n    });\n    return CompatClient;\n}(client_1.Client));\nexports.CompatClient = CompatClient;\n\n\n/***/ }),\n\n/***/ \"./src/compatibility/heartbeat-info.ts\":\n/*!*********************************************!*\\\n  !*** ./src/compatibility/heartbeat-info.ts ***!\n  \\*********************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * Part of `@stomp/stompjs`.\n *\n * @internal\n */\nvar HeartbeatInfo = /** @class */ (function () {\n    function HeartbeatInfo(client) {\n        this.client = client;\n    }\n    Object.defineProperty(HeartbeatInfo.prototype, \"outgoing\", {\n        get: function () {\n            return this.client.heartbeatOutgoing;\n        },\n        set: function (value) {\n            this.client.heartbeatOutgoing = value;\n        },\n        enumerable: true,\n        configurable: true\n    });\n    Object.defineProperty(HeartbeatInfo.prototype, \"incoming\", {\n        get: function () {\n            return this.client.heartbeatIncoming;\n        },\n        set: function (value) {\n            this.client.heartbeatIncoming = value;\n        },\n        enumerable: true,\n        configurable: true\n    });\n    return HeartbeatInfo;\n}());\nexports.HeartbeatInfo = HeartbeatInfo;\n\n\n/***/ }),\n\n/***/ \"./src/compatibility/stomp.ts\":\n/*!************************************!*\\\n  !*** ./src/compatibility/stomp.ts ***!\n  \\************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar versions_1 = __webpack_require__(/*! ../versions */ \"./src/versions.ts\");\nvar compat_client_1 = __webpack_require__(/*! ./compat-client */ \"./src/compatibility/compat-client.ts\");\n/**\n * STOMP Class, acts like a factory to create {@link Client}.\n *\n * Part of `@stomp/stompjs`.\n *\n * **Deprecated**\n *\n * It will be removed in next major version. Please switch to {@link Client}.\n */\nvar Stomp = /** @class */ (function () {\n    function Stomp() {\n    }\n    /**\n     * This method creates a WebSocket client that is connected to\n     * the STOMP server located at the url.\n     *\n     * ```javascript\n     *        var url = \"ws://localhost:61614/stomp\";\n     *        var client = Stomp.client(url);\n     * ```\n     *\n     * **Deprecated**\n     *\n     * It will be removed in next major version. Please switch to {@link Client}\n     * using [Client#brokerURL]{@link Client#brokerURL}.\n     */\n    Stomp.client = function (url, protocols) {\n        // This is a hack to allow another implementation than the standard\n        // HTML5 WebSocket class.\n        //\n        // It is possible to use another class by calling\n        //\n        //     Stomp.WebSocketClass = MozWebSocket\n        //\n        // *prior* to call `Stomp.client()`.\n        //\n        // This hack is deprecated and `Stomp.over()` method should be used\n        // instead.\n        // See remarks on the function Stomp.over\n        if (protocols == null) {\n            protocols = versions_1.Versions.default.protocolVersions();\n        }\n        var wsFn = function () {\n            var klass = Stomp.WebSocketClass || WebSocket;\n            return new klass(url, protocols);\n        };\n        return new compat_client_1.CompatClient(wsFn);\n    };\n    /**\n     * This method is an alternative to [Stomp#client]{@link Stomp#client} to let the user\n     * specify the WebSocket to use (either a standard HTML5 WebSocket or\n     * a similar object).\n     *\n     * In order to support reconnection, the function Client._connect should be callable more than once.\n     * While reconnecting\n     * a new instance of underlying transport (TCP Socket, WebSocket or SockJS) will be needed. So, this function\n     * alternatively allows passing a function that should return a new instance of the underlying socket.\n     *\n     * ```javascript\n     *        var client = Stomp.over(function(){\n     *          return new WebSocket('ws://localhost:15674/ws')\n     *        });\n     * ```\n     *\n     * **Deprecated**\n     *\n     * It will be removed in next major version. Please switch to {@link Client}\n     * using [Client#webSocketFactory]{@link Client#webSocketFactory}.\n     */\n    Stomp.over = function (ws) {\n        var wsFn;\n        if (typeof (ws) === 'function') {\n            wsFn = ws;\n        }\n        else {\n            console.warn('Stomp.over did not receive a factory, auto reconnect will not work. ' +\n                'Please see https://stomp-js.github.io/api-docs/latest/classes/Stomp.html#over');\n            wsFn = function () { return ws; };\n        }\n        return new compat_client_1.CompatClient(wsFn);\n    };\n    /**\n     * In case you need to use a non standard class for WebSocket.\n     *\n     * For example when using within NodeJS environment:\n     *\n     * ```javascript\n     *        StompJs = require('../../esm5/');\n     *        Stomp = StompJs.Stomp;\n     *        Stomp.WebSocketClass = require('websocket').w3cwebsocket;\n     * ```\n     *\n     * **Deprecated**\n     *\n     *\n     * It will be removed in next major version. Please switch to {@link Client}\n     * using [Client#webSocketFactory]{@link Client#webSocketFactory}.\n     */\n    // tslint:disable-next-line:variable-name\n    Stomp.WebSocketClass = null;\n    return Stomp;\n}());\nexports.Stomp = Stomp;\n\n\n/***/ }),\n\n/***/ \"./src/frame-impl.ts\":\n/*!***************************!*\\\n  !*** ./src/frame-impl.ts ***!\n  \\***************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar byte_1 = __webpack_require__(/*! ./byte */ \"./src/byte.ts\");\n/**\n * Frame class represents a STOMP frame.\n *\n * @internal\n */\nvar FrameImpl = /** @class */ (function () {\n    /**\n     * Frame constructor. `command`, `headers` and `body` are available as properties.\n     *\n     * @internal\n     */\n    function FrameImpl(params) {\n        var command = params.command, headers = params.headers, body = params.body, binaryBody = params.binaryBody, escapeHeaderValues = params.escapeHeaderValues, skipContentLengthHeader = params.skipContentLengthHeader;\n        this.command = command;\n        this.headers = Object.assign({}, headers || {});\n        if (binaryBody) {\n            this._binaryBody = binaryBody;\n            this.isBinaryBody = true;\n        }\n        else {\n            this._body = body || '';\n            this.isBinaryBody = false;\n        }\n        this.escapeHeaderValues = escapeHeaderValues || false;\n        this.skipContentLengthHeader = skipContentLengthHeader || false;\n    }\n    Object.defineProperty(FrameImpl.prototype, \"body\", {\n        /**\n         * body of the frame\n         */\n        get: function () {\n            if (!this._body && this.isBinaryBody) {\n                this._body = new TextDecoder().decode(this._binaryBody);\n            }\n            return this._body;\n        },\n        enumerable: true,\n        configurable: true\n    });\n    Object.defineProperty(FrameImpl.prototype, \"binaryBody\", {\n        /**\n         * body as Uint8Array\n         */\n        get: function () {\n            if (!this._binaryBody && !this.isBinaryBody) {\n                this._binaryBody = new TextEncoder().encode(this._body);\n            }\n            return this._binaryBody;\n        },\n        enumerable: true,\n        configurable: true\n    });\n    /**\n     * deserialize a STOMP Frame from raw data.\n     *\n     * @internal\n     */\n    FrameImpl.fromRawFrame = function (rawFrame, escapeHeaderValues) {\n        var headers = {};\n        var trim = function (str) { return str.replace(/^\\s+|\\s+$/g, ''); };\n        // In case of repeated headers, as per standards, first value need to be used\n        for (var _i = 0, _a = rawFrame.headers.reverse(); _i < _a.length; _i++) {\n            var header = _a[_i];\n            var idx = header.indexOf(':');\n            var key = trim(header[0]);\n            var value = trim(header[1]);\n            if (escapeHeaderValues && (rawFrame.command !== 'CONNECT') && (rawFrame.command !== 'CONNECTED')) {\n                value = FrameImpl.hdrValueUnEscape(value);\n            }\n            headers[key] = value;\n        }\n        return new FrameImpl({\n            command: rawFrame.command,\n            headers: headers,\n            binaryBody: rawFrame.binaryBody,\n            escapeHeaderValues: escapeHeaderValues\n        });\n    };\n    /**\n     * @internal\n     */\n    FrameImpl.prototype.toString = function () {\n        return this.serializeCmdAndHeaders();\n    };\n    /**\n     * serialize this Frame in a format suitable to be passed to WebSocket.\n     * If the body is string the output will be string.\n     * If the body is binary (i.e. of type Unit8Array) it will be serialized to ArrayBuffer.\n     *\n     * @internal\n     */\n    FrameImpl.prototype.serialize = function () {\n        var cmdAndHeaders = this.serializeCmdAndHeaders();\n        if (this.isBinaryBody) {\n            return FrameImpl.toUnit8Array(cmdAndHeaders, this._binaryBody).buffer;\n        }\n        else {\n            return cmdAndHeaders + this._body + byte_1.BYTE.NULL;\n        }\n    };\n    FrameImpl.prototype.serializeCmdAndHeaders = function () {\n        var lines = [this.command];\n        if (this.skipContentLengthHeader) {\n            delete this.headers['content-length'];\n        }\n        for (var _i = 0, _a = Object.keys(this.headers || {}); _i < _a.length; _i++) {\n            var name_1 = _a[_i];\n            var value = this.headers[name_1];\n            if (this.escapeHeaderValues && (this.command !== 'CONNECT') && (this.command !== 'CONNECTED')) {\n                lines.push(name_1 + \":\" + FrameImpl.hdrValueEscape(\"\" + value));\n            }\n            else {\n                lines.push(name_1 + \":\" + value);\n            }\n        }\n        if (this.isBinaryBody || (!this.isBodyEmpty() && !this.skipContentLengthHeader)) {\n            lines.push(\"content-length:\" + this.bodyLength());\n        }\n        return lines.join(byte_1.BYTE.LF) + byte_1.BYTE.LF + byte_1.BYTE.LF;\n    };\n    FrameImpl.prototype.isBodyEmpty = function () {\n        return this.bodyLength() === 0;\n    };\n    FrameImpl.prototype.bodyLength = function () {\n        var binaryBody = this.binaryBody;\n        return binaryBody ? binaryBody.length : 0;\n    };\n    /**\n     * Compute the size of a UTF-8 string by counting its number of bytes\n     * (and not the number of characters composing the string)\n     */\n    FrameImpl.sizeOfUTF8 = function (s) {\n        return s ? new TextEncoder().encode(s).length : 0;\n    };\n    FrameImpl.toUnit8Array = function (cmdAndHeaders, binaryBody) {\n        var uint8CmdAndHeaders = new TextEncoder().encode(cmdAndHeaders);\n        var nullTerminator = new Uint8Array([0]);\n        var uint8Frame = new Uint8Array(uint8CmdAndHeaders.length + binaryBody.length + nullTerminator.length);\n        uint8Frame.set(uint8CmdAndHeaders);\n        uint8Frame.set(binaryBody, uint8CmdAndHeaders.length);\n        uint8Frame.set(nullTerminator, uint8CmdAndHeaders.length + binaryBody.length);\n        return uint8Frame;\n    };\n    /**\n     * Serialize a STOMP frame as per STOMP standards, suitable to be sent to the STOMP broker.\n     *\n     * @internal\n     */\n    FrameImpl.marshall = function (params) {\n        var frame = new FrameImpl(params);\n        return frame.serialize();\n    };\n    /**\n     *  Escape header values\n     */\n    FrameImpl.hdrValueEscape = function (str) {\n        return str.replace(/\\\\/g, '\\\\\\\\').replace(/\\r/g, '\\\\r').replace(/\\n/g, '\\\\n').replace(/:/g, '\\\\c');\n    };\n    /**\n     * UnEscape header values\n     */\n    FrameImpl.hdrValueUnEscape = function (str) {\n        return str.replace(/\\\\r/g, '\\r').replace(/\\\\n/g, '\\n').replace(/\\\\c/g, ':').replace(/\\\\\\\\/g, '\\\\');\n    };\n    return FrameImpl;\n}());\nexports.FrameImpl = FrameImpl;\n\n\n/***/ }),\n\n/***/ \"./src/index.ts\":\n/*!**********************!*\\\n  !*** ./src/index.ts ***!\n  \\**********************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nfunction __export(m) {\n    for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(__webpack_require__(/*! ./client */ \"./src/client.ts\"));\n__export(__webpack_require__(/*! ./frame-impl */ \"./src/frame-impl.ts\"));\n__export(__webpack_require__(/*! ./parser */ \"./src/parser.ts\"));\n__export(__webpack_require__(/*! ./stomp-config */ \"./src/stomp-config.ts\"));\n__export(__webpack_require__(/*! ./stomp-headers */ \"./src/stomp-headers.ts\"));\n__export(__webpack_require__(/*! ./stomp-subscription */ \"./src/stomp-subscription.ts\"));\n__export(__webpack_require__(/*! ./versions */ \"./src/versions.ts\"));\n__export(__webpack_require__(/*! ./web-socket-state */ \"./src/web-socket-state.ts\"));\n// Compatibility code\n__export(__webpack_require__(/*! ./compatibility/compat-client */ \"./src/compatibility/compat-client.ts\"));\n__export(__webpack_require__(/*! ./compatibility/stomp */ \"./src/compatibility/stomp.ts\"));\n\n\n/***/ }),\n\n/***/ \"./src/parser.ts\":\n/*!***********************!*\\\n  !*** ./src/parser.ts ***!\n  \\***********************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * @internal\n */\nvar NULL = 0;\n/**\n * @internal\n */\nvar LF = 10;\n/**\n * @internal\n */\nvar CR = 13;\n/**\n * @internal\n */\nvar COLON = 58;\n/**\n * This is an evented, rec descent parser.\n * A stream of Octets can be passed and whenever it recognizes\n * a complete Frame or an incoming ping it will invoke the registered callbacks.\n *\n * All incoming Octets are fed into _onByte function.\n * Depending on current state the _onByte function keeps changing.\n * Depending on the state it keeps accumulating into _token and _results.\n * State is indicated by current value of _onByte, all states are named as _collect.\n *\n * STOMP standards https://stomp.github.io/stomp-specification-1.2.html\n * imply that all lengths are considered in bytes (instead of string lengths).\n * So, before actual parsing, if the incoming data is String it is converted to Octets.\n * This allows faithful implementation of the protocol and allows NULL Octets to be present in the body.\n *\n * There is no peek function on the incoming data.\n * When a state change occurs based on an Octet without consuming the Octet,\n * the Octet, after state change, is fed again (_reinjectByte).\n * This became possible as the state change can be determined by inspecting just one Octet.\n *\n * There are two modes to collect the body, if content-length header is there then it by counting Octets\n * otherwise it is determined by NULL terminator.\n *\n * Following the standards, the command and headers are converted to Strings\n * and the body is returned as Octets.\n * Headers are returned as an array and not as Hash - to allow multiple occurrence of an header.\n *\n * This parser does not use Regular Expressions as that can only operate on Strings.\n *\n * It handles if multiple STOMP frames are given as one chunk, a frame is split into multiple chunks, or\n * any combination there of. The parser remembers its state (any partial frame) and continues when a new chunk\n * is pushed.\n *\n * Typically the higher level function will convert headers to Hash, handle unescaping of header values\n * (which is protocol version specific), and convert body to text.\n *\n * Check the parser.spec.js to understand cases that this parser is supposed to handle.\n *\n * Part of `@stomp/stompjs`.\n *\n * @internal\n */\nvar Parser = /** @class */ (function () {\n    function Parser(onFrame, onIncomingPing) {\n        this.onFrame = onFrame;\n        this.onIncomingPing = onIncomingPing;\n        this._encoder = new TextEncoder();\n        this._decoder = new TextDecoder();\n        this._token = [];\n        this._initState();\n    }\n    Parser.prototype.parseChunk = function (segment, appendMissingNULLonIncoming) {\n        if (appendMissingNULLonIncoming === void 0) { appendMissingNULLonIncoming = false; }\n        var chunk;\n        if ((segment instanceof ArrayBuffer)) {\n            chunk = new Uint8Array(segment);\n        }\n        else {\n            chunk = this._encoder.encode(segment);\n        }\n        // See https://github.com/stomp-js/stompjs/issues/89\n        // Remove when underlying issue is fixed.\n        //\n        // Send a NULL byte, if the last byte of a Text frame was not NULL.F\n        if (appendMissingNULLonIncoming && chunk[chunk.length - 1] !== 0) {\n            var chunkWithNull = new Uint8Array(chunk.length + 1);\n            chunkWithNull.set(chunk, 0);\n            chunkWithNull[chunk.length] = 0;\n            chunk = chunkWithNull;\n        }\n        // tslint:disable-next-line:prefer-for-of\n        for (var i = 0; i < chunk.length; i++) {\n            var byte = chunk[i];\n            this._onByte(byte);\n        }\n    };\n    // The following implements a simple Rec Descent Parser.\n    // The grammar is simple and just one byte tells what should be the next state\n    Parser.prototype._collectFrame = function (byte) {\n        if (byte === NULL) { // Ignore\n            return;\n        }\n        if (byte === CR) { // Ignore CR\n            return;\n        }\n        if (byte === LF) { // Incoming Ping\n            this.onIncomingPing();\n            return;\n        }\n        this._onByte = this._collectCommand;\n        this._reinjectByte(byte);\n    };\n    Parser.prototype._collectCommand = function (byte) {\n        if (byte === CR) { // Ignore CR\n            return;\n        }\n        if (byte === LF) {\n            this._results.command = this._consumeTokenAsUTF8();\n            this._onByte = this._collectHeaders;\n            return;\n        }\n        this._consumeByte(byte);\n    };\n    Parser.prototype._collectHeaders = function (byte) {\n        if (byte === CR) { // Ignore CR\n            return;\n        }\n        if (byte === LF) {\n            this._setupCollectBody();\n            return;\n        }\n        this._onByte = this._collectHeaderKey;\n        this._reinjectByte(byte);\n    };\n    Parser.prototype._reinjectByte = function (byte) {\n        this._onByte(byte);\n    };\n    Parser.prototype._collectHeaderKey = function (byte) {\n        if (byte === COLON) {\n            this._headerKey = this._consumeTokenAsUTF8();\n            this._onByte = this._collectHeaderValue;\n            return;\n        }\n        this._consumeByte(byte);\n    };\n    Parser.prototype._collectHeaderValue = function (byte) {\n        if (byte === CR) { // Ignore CR\n            return;\n        }\n        if (byte === LF) {\n            this._results.headers.push([this._headerKey, this._consumeTokenAsUTF8()]);\n            this._headerKey = undefined;\n            this._onByte = this._collectHeaders;\n            return;\n        }\n        this._consumeByte(byte);\n    };\n    Parser.prototype._setupCollectBody = function () {\n        var contentLengthHeader = this._results.headers.filter(function (header) {\n            return header[0] === 'content-length';\n        })[0];\n        if (contentLengthHeader) {\n            this._bodyBytesRemaining = parseInt(contentLengthHeader[1], 10);\n            this._onByte = this._collectBodyFixedSize;\n        }\n        else {\n            this._onByte = this._collectBodyNullTerminated;\n        }\n    };\n    Parser.prototype._collectBodyNullTerminated = function (byte) {\n        if (byte === NULL) {\n            this._retrievedBody();\n            return;\n        }\n        this._consumeByte(byte);\n    };\n    Parser.prototype._collectBodyFixedSize = function (byte) {\n        // It is post decrement, so that we discard the trailing NULL octet\n        if (this._bodyBytesRemaining-- === 0) {\n            this._retrievedBody();\n            return;\n        }\n        this._consumeByte(byte);\n    };\n    Parser.prototype._retrievedBody = function () {\n        this._results.binaryBody = this._consumeTokenAsRaw();\n        this.onFrame(this._results);\n        this._initState();\n    };\n    // Rec Descent Parser helpers\n    Parser.prototype._consumeByte = function (byte) {\n        this._token.push(byte);\n    };\n    Parser.prototype._consumeTokenAsUTF8 = function () {\n        return this._decoder.decode(this._consumeTokenAsRaw());\n    };\n    Parser.prototype._consumeTokenAsRaw = function () {\n        var rawResult = new Uint8Array(this._token);\n        this._token = [];\n        return rawResult;\n    };\n    Parser.prototype._initState = function () {\n        this._results = {\n            command: undefined,\n            headers: [],\n            binaryBody: undefined\n        };\n        this._token = [];\n        this._headerKey = undefined;\n        this._onByte = this._collectFrame;\n    };\n    return Parser;\n}());\nexports.Parser = Parser;\n\n\n/***/ }),\n\n/***/ \"./src/stomp-config.ts\":\n/*!*****************************!*\\\n  !*** ./src/stomp-config.ts ***!\n  \\*****************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * Configuration options for STOMP Client, each key corresponds to\n * field by the same name in {@link Client}. This can be passed to\n * the constructor of {@link Client} or to [Client#configure]{@link Client#configure}.\n *\n * Part of `@stomp/stompjs`.\n */\nvar StompConfig = /** @class */ (function () {\n    function StompConfig() {\n    }\n    return StompConfig;\n}());\nexports.StompConfig = StompConfig;\n\n\n/***/ }),\n\n/***/ \"./src/stomp-handler.ts\":\n/*!******************************!*\\\n  !*** ./src/stomp-handler.ts ***!\n  \\******************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar byte_1 = __webpack_require__(/*! ./byte */ \"./src/byte.ts\");\nvar frame_impl_1 = __webpack_require__(/*! ./frame-impl */ \"./src/frame-impl.ts\");\nvar parser_1 = __webpack_require__(/*! ./parser */ \"./src/parser.ts\");\nvar versions_1 = __webpack_require__(/*! ./versions */ \"./src/versions.ts\");\nvar web_socket_state_1 = __webpack_require__(/*! ./web-socket-state */ \"./src/web-socket-state.ts\");\n/**\n * The STOMP protocol handler\n *\n * Part of `@stomp/stompjs`.\n *\n * @internal\n */\nvar StompHandler = /** @class */ (function () {\n    function StompHandler(_client, _webSocket, config) {\n        var _this = this;\n        if (config === void 0) { config = {}; }\n        this._client = _client;\n        this._webSocket = _webSocket;\n        this._serverFrameHandlers = {\n            // [CONNECTED Frame](http://stomp.github.com/stomp-specification-1.2.html#CONNECTED_Frame)\n            CONNECTED: function (frame) {\n                _this.debug(\"connected to server \" + frame.headers.server);\n                _this._connected = true;\n                _this._connectedVersion = frame.headers.version;\n                // STOMP version 1.2 needs header values to be escaped\n                if (_this._connectedVersion === versions_1.Versions.V1_2) {\n                    _this._escapeHeaderValues = true;\n                }\n                _this._setupHeartbeat(frame.headers);\n                _this.onConnect(frame);\n            },\n            // [MESSAGE Frame](http://stomp.github.com/stomp-specification-1.2.html#MESSAGE)\n            MESSAGE: function (frame) {\n                // the callback is registered when the client calls\n                // `subscribe()`.\n                // If there is no registered subscription for the received message,\n                // the default `onUnhandledMessage` callback is used that the client can set.\n                // This is useful for subscriptions that are automatically created\n                // on the browser side (e.g. [RabbitMQ's temporary\n                // queues](http://www.rabbitmq.com/stomp.html)).\n                var subscription = frame.headers.subscription;\n                var onReceive = _this._subscriptions[subscription] || _this.onUnhandledMessage;\n                // bless the frame to be a Message\n                var message = frame;\n                var client = _this;\n                var messageId = _this._connectedVersion === versions_1.Versions.V1_2 ? message.headers.ack : message.headers['message-id'];\n                // add `ack()` and `nack()` methods directly to the returned frame\n                // so that a simple call to `message.ack()` can acknowledge the message.\n                message.ack = function (headers) {\n                    if (headers === void 0) { headers = {}; }\n                    return client.ack(messageId, subscription, headers);\n                };\n                message.nack = function (headers) {\n                    if (headers === void 0) { headers = {}; }\n                    return client.nack(messageId, subscription, headers);\n                };\n                onReceive(message);\n            },\n            // [RECEIPT Frame](http://stomp.github.com/stomp-specification-1.2.html#RECEIPT)\n            RECEIPT: function (frame) {\n                var callback = _this._receiptWatchers[frame.headers['receipt-id']];\n                if (callback) {\n                    callback(frame);\n                    // Server will acknowledge only once, remove the callback\n                    delete _this._receiptWatchers[frame.headers['receipt-id']];\n                }\n                else {\n                    _this.onUnhandledReceipt(frame);\n                }\n            },\n            // [ERROR Frame](http://stomp.github.com/stomp-specification-1.2.html#ERROR)\n            ERROR: function (frame) {\n                _this.onStompError(frame);\n            }\n        };\n        // used to index subscribers\n        this._counter = 0;\n        // subscription callbacks indexed by subscriber's ID\n        this._subscriptions = {};\n        // receipt-watchers indexed by receipts-ids\n        this._receiptWatchers = {};\n        this._partialData = '';\n        this._escapeHeaderValues = false;\n        this._lastServerActivityTS = Date.now();\n        this.configure(config);\n    }\n    Object.defineProperty(StompHandler.prototype, \"connectedVersion\", {\n        get: function () {\n            return this._connectedVersion;\n        },\n        enumerable: true,\n        configurable: true\n    });\n    Object.defineProperty(StompHandler.prototype, \"connected\", {\n        get: function () {\n            return this._connected;\n        },\n        enumerable: true,\n        configurable: true\n    });\n    StompHandler.prototype.configure = function (conf) {\n        // bulk assign all properties to this\n        Object.assign(this, conf);\n    };\n    StompHandler.prototype.start = function () {\n        var _this = this;\n        var parser = new parser_1.Parser(\n        // On Frame\n        function (rawFrame) {\n            var frame = frame_impl_1.FrameImpl.fromRawFrame(rawFrame, _this._escapeHeaderValues);\n            // if this.logRawCommunication is set, the rawChunk is logged at this._webSocket.onmessage\n            if (!_this.logRawCommunication) {\n                _this.debug(\"<<< \" + frame);\n            }\n            var serverFrameHandler = _this._serverFrameHandlers[frame.command] || _this.onUnhandledFrame;\n            serverFrameHandler(frame);\n        }, \n        // On Incoming Ping\n        function () {\n            _this.debug('<<< PONG');\n        });\n        this._webSocket.onmessage = function (evt) {\n            _this.debug('Received data');\n            _this._lastServerActivityTS = Date.now();\n            if (_this.logRawCommunication) {\n                var rawChunkAsString = (evt.data instanceof ArrayBuffer) ? new TextDecoder().decode(evt.data) : evt.data;\n                _this.debug(\"<<< \" + rawChunkAsString);\n            }\n            parser.parseChunk(evt.data, _this.appendMissingNULLonIncoming);\n        };\n        this._webSocket.onclose = function (closeEvent) {\n            _this.debug(\"Connection closed to \" + _this._webSocket.url);\n            _this.onWebSocketClose(closeEvent);\n            _this._cleanUp();\n        };\n        this._webSocket.onerror = function (errorEvent) {\n            _this.onWebSocketError(errorEvent);\n        };\n        this._webSocket.onopen = function () {\n            // Clone before updating\n            var connectHeaders = Object.assign({}, _this.connectHeaders);\n            _this.debug('Web Socket Opened...');\n            connectHeaders['accept-version'] = _this.stompVersions.supportedVersions();\n            connectHeaders['heart-beat'] = [_this.heartbeatOutgoing, _this.heartbeatIncoming].join(',');\n            _this._transmit({ command: 'CONNECT', headers: connectHeaders });\n        };\n    };\n    StompHandler.prototype._setupHeartbeat = function (headers) {\n        var _this = this;\n        if ((headers.version !== versions_1.Versions.V1_1 && headers.version !== versions_1.Versions.V1_2)) {\n            return;\n        }\n        // It is valid for the server to not send this header\n        // https://stomp.github.io/stomp-specification-1.2.html#Heart-beating\n        if (!headers['heart-beat']) {\n            return;\n        }\n        // heart-beat header received from the server looks like:\n        //\n        //     heart-beat: sx, sy\n        var _a = (headers['heart-beat']).split(',').map(function (v) { return parseInt(v, 10); }), serverOutgoing = _a[0], serverIncoming = _a[1];\n        if ((this.heartbeatOutgoing !== 0) && (serverIncoming !== 0)) {\n            var ttl = Math.max(this.heartbeatOutgoing, serverIncoming);\n            this.debug(\"send PING every \" + ttl + \"ms\");\n            this._pinger = setInterval(function () {\n                if (_this._webSocket.readyState === web_socket_state_1.WebSocketState.OPEN) {\n                    _this._webSocket.send(byte_1.BYTE.LF);\n                    _this.debug('>>> PING');\n                }\n            }, ttl);\n        }\n        if ((this.heartbeatIncoming !== 0) && (serverOutgoing !== 0)) {\n            var ttl_1 = Math.max(this.heartbeatIncoming, serverOutgoing);\n            this.debug(\"check PONG every \" + ttl_1 + \"ms\");\n            this._ponger = setInterval(function () {\n                var delta = Date.now() - _this._lastServerActivityTS;\n                // We wait twice the TTL to be flexible on window's setInterval calls\n                if (delta > (ttl_1 * 2)) {\n                    _this.debug(\"did not receive server activity for the last \" + delta + \"ms\");\n                    _this._closeWebsocket();\n                }\n            }, ttl_1);\n        }\n    };\n    StompHandler.prototype._closeWebsocket = function () {\n        this._webSocket.onmessage = function () { }; // ignore messages\n        this._webSocket.close();\n    };\n    StompHandler.prototype._transmit = function (params) {\n        var command = params.command, headers = params.headers, body = params.body, binaryBody = params.binaryBody, skipContentLengthHeader = params.skipContentLengthHeader;\n        var frame = new frame_impl_1.FrameImpl({\n            command: command,\n            headers: headers,\n            body: body,\n            binaryBody: binaryBody,\n            escapeHeaderValues: this._escapeHeaderValues,\n            skipContentLengthHeader: skipContentLengthHeader\n        });\n        var rawChunk = frame.serialize();\n        if (this.logRawCommunication) {\n            this.debug(\">>> \" + rawChunk);\n        }\n        else {\n            this.debug(\">>> \" + frame);\n        }\n        if (this.forceBinaryWSFrames && typeof rawChunk === 'string') {\n            rawChunk = new TextEncoder().encode(rawChunk);\n        }\n        if (typeof rawChunk !== 'string' || !this.splitLargeFrames) {\n            this._webSocket.send(rawChunk);\n        }\n        else {\n            var out = rawChunk;\n            while (out.length > 0) {\n                var chunk = out.substring(0, this.maxWebSocketChunkSize);\n                out = out.substring(this.maxWebSocketChunkSize);\n                this._webSocket.send(chunk);\n                this.debug(\"chunk sent = \" + chunk.length + \", remaining = \" + out.length);\n            }\n        }\n    };\n    StompHandler.prototype.dispose = function () {\n        var _this = this;\n        if (this.connected) {\n            try {\n                // clone before updating\n                var disconnectHeaders = Object.assign({}, this.disconnectHeaders);\n                if (!disconnectHeaders.receipt) {\n                    disconnectHeaders.receipt = \"close-\" + this._counter++;\n                }\n                this.watchForReceipt(disconnectHeaders.receipt, function (frame) {\n                    _this._closeWebsocket();\n                    _this._cleanUp();\n                    _this.onDisconnect(frame);\n                });\n                this._transmit({ command: 'DISCONNECT', headers: disconnectHeaders });\n            }\n            catch (error) {\n                this.debug(\"Ignoring error during disconnect \" + error);\n            }\n        }\n        else {\n            if (this._webSocket.readyState === web_socket_state_1.WebSocketState.CONNECTING\n                || this._webSocket.readyState === web_socket_state_1.WebSocketState.OPEN) {\n                this._closeWebsocket();\n            }\n        }\n    };\n    StompHandler.prototype._cleanUp = function () {\n        this._connected = false;\n        if (this._pinger) {\n            clearInterval(this._pinger);\n        }\n        if (this._ponger) {\n            clearInterval(this._ponger);\n        }\n    };\n    StompHandler.prototype.publish = function (params) {\n        var destination = params.destination, headers = params.headers, body = params.body, binaryBody = params.binaryBody, skipContentLengthHeader = params.skipContentLengthHeader;\n        var hdrs = Object.assign({ destination: destination }, headers);\n        this._transmit({\n            command: 'SEND',\n            headers: hdrs,\n            body: body,\n            binaryBody: binaryBody,\n            skipContentLengthHeader: skipContentLengthHeader\n        });\n    };\n    StompHandler.prototype.watchForReceipt = function (receiptId, callback) {\n        this._receiptWatchers[receiptId] = callback;\n    };\n    StompHandler.prototype.subscribe = function (destination, callback, headers) {\n        if (headers === void 0) { headers = {}; }\n        headers = Object.assign({}, headers);\n        if (!headers.id) {\n            headers.id = \"sub-\" + this._counter++;\n        }\n        headers.destination = destination;\n        this._subscriptions[headers.id] = callback;\n        this._transmit({ command: 'SUBSCRIBE', headers: headers });\n        var client = this;\n        return {\n            id: headers.id,\n            unsubscribe: function (hdrs) {\n                return client.unsubscribe(headers.id, hdrs);\n            }\n        };\n    };\n    StompHandler.prototype.unsubscribe = function (id, headers) {\n        if (headers === void 0) { headers = {}; }\n        headers = Object.assign({}, headers);\n        delete this._subscriptions[id];\n        headers.id = id;\n        this._transmit({ command: 'UNSUBSCRIBE', headers: headers });\n    };\n    StompHandler.prototype.begin = function (transactionId) {\n        var txId = transactionId || (\"tx-\" + this._counter++);\n        this._transmit({\n            command: 'BEGIN', headers: {\n                transaction: txId\n            }\n        });\n        var client = this;\n        return {\n            id: txId,\n            commit: function () {\n                client.commit(txId);\n            },\n            abort: function () {\n                client.abort(txId);\n            }\n        };\n    };\n    StompHandler.prototype.commit = function (transactionId) {\n        this._transmit({\n            command: 'COMMIT', headers: {\n                transaction: transactionId\n            }\n        });\n    };\n    StompHandler.prototype.abort = function (transactionId) {\n        this._transmit({\n            command: 'ABORT', headers: {\n                transaction: transactionId\n            }\n        });\n    };\n    StompHandler.prototype.ack = function (messageId, subscriptionId, headers) {\n        if (headers === void 0) { headers = {}; }\n        headers = Object.assign({}, headers);\n        if (this._connectedVersion === versions_1.Versions.V1_2) {\n            headers.id = messageId;\n        }\n        else {\n            headers['message-id'] = messageId;\n        }\n        headers.subscription = subscriptionId;\n        this._transmit({ command: 'ACK', headers: headers });\n    };\n    StompHandler.prototype.nack = function (messageId, subscriptionId, headers) {\n        if (headers === void 0) { headers = {}; }\n        headers = Object.assign({}, headers);\n        if (this._connectedVersion === versions_1.Versions.V1_2) {\n            headers.id = messageId;\n        }\n        else {\n            headers['message-id'] = messageId;\n        }\n        headers.subscription = subscriptionId;\n        return this._transmit({ command: 'NACK', headers: headers });\n    };\n    return StompHandler;\n}());\nexports.StompHandler = StompHandler;\n\n\n/***/ }),\n\n/***/ \"./src/stomp-headers.ts\":\n/*!******************************!*\\\n  !*** ./src/stomp-headers.ts ***!\n  \\******************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * STOMP headers. Many functions calls will accept headers as parameters.\n * The headers sent by Broker will be available as [IFrame#headers]{@link IFrame#headers}.\n *\n * `key` and `value` must be valid strings.\n * In addition, `key` must not contain `CR`, `LF`, or `:`.\n *\n * Part of `@stomp/stompjs`.\n */\nvar StompHeaders = /** @class */ (function () {\n    function StompHeaders() {\n    }\n    return StompHeaders;\n}());\nexports.StompHeaders = StompHeaders;\n\n\n/***/ }),\n\n/***/ \"./src/stomp-subscription.ts\":\n/*!***********************************!*\\\n  !*** ./src/stomp-subscription.ts ***!\n  \\***********************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * Call [Client#subscribe]{@link Client#subscribe} to create a StompSubscription.\n *\n * Part of `@stomp/stompjs`.\n */\nvar StompSubscription = /** @class */ (function () {\n    function StompSubscription() {\n    }\n    return StompSubscription;\n}());\nexports.StompSubscription = StompSubscription;\n\n\n/***/ }),\n\n/***/ \"./src/versions.ts\":\n/*!*************************!*\\\n  !*** ./src/versions.ts ***!\n  \\*************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * Supported STOMP versions\n *\n * Part of `@stomp/stompjs`.\n */\nvar Versions = /** @class */ (function () {\n    /**\n     * Takes an array of string of versions, typical elements '1.0', '1.1', or '1.2'\n     *\n     * You will an instance if this class if you want to override supported versions to be declared during\n     * STOMP handshake.\n     */\n    function Versions(versions) {\n        this.versions = versions;\n    }\n    /**\n     * Used as part of CONNECT STOMP Frame\n     */\n    Versions.prototype.supportedVersions = function () {\n        return this.versions.join(',');\n    };\n    /**\n     * Used while creating a WebSocket\n     */\n    Versions.prototype.protocolVersions = function () {\n        return this.versions.map(function (x) { return \"v\" + x.replace('.', '') + \".stomp\"; });\n    };\n    /**\n     * Indicates protocol version 1.0\n     */\n    Versions.V1_0 = '1.0';\n    /**\n     * Indicates protocol version 1.1\n     */\n    Versions.V1_1 = '1.1';\n    /**\n     * Indicates protocol version 1.2\n     */\n    Versions.V1_2 = '1.2';\n    /**\n     * @internal\n     */\n    Versions.default = new Versions([Versions.V1_0, Versions.V1_1, Versions.V1_2]);\n    return Versions;\n}());\nexports.Versions = Versions;\n\n\n/***/ }),\n\n/***/ \"./src/web-socket-state.ts\":\n/*!*********************************!*\\\n  !*** ./src/web-socket-state.ts ***!\n  \\*********************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * Possible states for the WebSocket, copied here to avoid dependency on WebSocket class\n *\n * Part of `@stomp/rx-stomp`\n *\n * @internal\n */\nvar WebSocketState;\n(function (WebSocketState) {\n    WebSocketState[WebSocketState[\"CONNECTING\"] = 0] = \"CONNECTING\";\n    WebSocketState[WebSocketState[\"OPEN\"] = 1] = \"OPEN\";\n    WebSocketState[WebSocketState[\"CLOSING\"] = 2] = \"CLOSING\";\n    WebSocketState[WebSocketState[\"CLOSED\"] = 3] = \"CLOSED\";\n})(WebSocketState = exports.WebSocketState || (exports.WebSocketState = {}));\n\n\n/***/ }),\n\n/***/ 0:\n/*!****************************!*\\\n  !*** multi ./src/index.ts ***!\n  \\****************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nmodule.exports = __webpack_require__(/*! /home/kdeepak/MyWork/Tech/stomp/stompjs/src/index.ts */\"./src/index.ts\");\n\n\n/***/ })\n\n/******/ });\n});\n","/**\n *\n * carbon-angular v0.0.0 | carbon-components-angular-accordion.js\n *\n * Copyright 2014, 2023 IBM\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\nimport { Component, Input, HostBinding, Output, TemplateRef, EventEmitter, ContentChildren, NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { IconModule } from 'carbon-components-angular/icon';\n\nimport * as ɵngcc0 from '@angular/core';\nimport * as ɵngcc1 from '@angular/common';\nimport * as ɵngcc2 from 'carbon-components-angular/icon';\n\nconst _c0 = function (a0) { return { \"bx--skeleton__text\": a0 }; };\nfunction AccordionItem_p_2_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵnamespaceHTML();\n    ɵngcc0.ɵɵelementStart(0, \"p\", 7);\n    ɵngcc0.ɵɵtext(1);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r0 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction1(2, _c0, ctx_r0.skeleton));\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate1(\" \", !ctx_r0.skeleton ? ctx_r0.title : null, \" \");\n} }\nfunction AccordionItem_3_ng_template_0_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵnamespaceSVG();\n} }\nfunction AccordionItem_3_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵtemplate(0, AccordionItem_3_ng_template_0_Template, 0, 0, \"ng-template\", 8);\n} if (rf & 2) {\n    const ctx_r1 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r1.title)(\"ngTemplateOutletContext\", ctx_r1.context);\n} }\nfunction AccordionItem_ng_content_5_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵprojection(0, 0, [\"*ngIf\", \"!skeleton; else skeletonTemplate\"]);\n} }\nfunction AccordionItem_ng_template_6_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelement(0, \"p\", 9)(1, \"p\", 10)(2, \"p\", 11);\n} }\nconst _c1 = [\"*\"];\nconst _c2 = function (a0, a1, a2, a3, a4) { return { \"bx--accordion--end\": a0, \"bx--accordion--start\": a1, \"bx--accordion--sm\": a2, \"bx--accordion--md\": a3, \"bx--accordion--lg\": a4 }; };\nclass AccordionItem {\n    constructor() {\n        this.context = null;\n        this.id = `accordion-item-${AccordionItem.accordionItemCount}`;\n        this.skeleton = false;\n        this.selected = new EventEmitter();\n        this.itemClass = true;\n        this.expanded = false;\n        this.disabled = false;\n        this.itemType = \"list-item\";\n        this.role = \"heading\";\n        this.ariaLevel = 3;\n        AccordionItem.accordionItemCount++;\n    }\n    toggleExpanded() {\n        if (!this.skeleton) {\n            this.expanded = !this.expanded;\n            this.selected.emit({ id: this.id, expanded: this.expanded });\n        }\n    }\n    isTemplate(value) {\n        return value instanceof TemplateRef;\n    }\n}\nAccordionItem.ɵfac = function AccordionItem_Factory(t) { return new (t || AccordionItem)(); };\nAccordionItem.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: AccordionItem, selectors: [[\"ibm-accordion-item\"]], hostVars: 10, hostBindings: function AccordionItem_HostBindings(rf, ctx) { if (rf & 2) {\n        ɵngcc0.ɵɵattribute(\"role\", ctx.role)(\"aria-level\", ctx.ariaLevel);\n        ɵngcc0.ɵɵstyleProp(\"display\", ctx.itemType);\n        ɵngcc0.ɵɵclassProp(\"bx--accordion__item\", ctx.itemClass)(\"bx--accordion__item--active\", ctx.expanded)(\"bx--accordion__item--disabled\", ctx.disabled);\n    } }, inputs: { context: \"context\", id: \"id\", skeleton: \"skeleton\", expanded: \"expanded\", disabled: \"disabled\", ariaLevel: \"ariaLevel\", title: \"title\" }, outputs: { selected: \"selected\" }, ngContentSelectors: _c1, decls: 8, vars: 8, consts: [[\"type\", \"button\", 1, \"bx--accordion__heading\", 3, \"disabled\", \"click\"], [\"ibmIcon\", \"chevron--right\", \"size\", \"16\", 1, \"bx--accordion__arrow\"], [\"class\", \"bx--accordion__title\", 3, \"ngClass\", 4, \"ngIf\"], [4, \"ngIf\"], [1, \"bx--accordion__content\", 3, \"id\"], [4, \"ngIf\", \"ngIfElse\"], [\"skeletonTemplate\", \"\"], [1, \"bx--accordion__title\", 3, \"ngClass\"], [3, \"ngTemplateOutlet\", \"ngTemplateOutletContext\"], [1, \"bx--skeleton__text\", 2, \"width\", \"90%\"], [1, \"bx--skeleton__text\", 2, \"width\", \"80%\"], [1, \"bx--skeleton__text\", 2, \"width\", \"95%\"]], template: function AccordionItem_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵprojectionDef();\n        ɵngcc0.ɵɵelementStart(0, \"button\", 0);\n        ɵngcc0.ɵɵlistener(\"click\", function AccordionItem_Template_button_click_0_listener() { return ctx.toggleExpanded(); });\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(1, \"svg\", 1);\n        ɵngcc0.ɵɵtemplate(2, AccordionItem_p_2_Template, 2, 4, \"p\", 2);\n        ɵngcc0.ɵɵtemplate(3, AccordionItem_3_Template, 1, 2, null, 3);\n        ɵngcc0.ɵɵelementEnd();\n        ɵngcc0.ɵɵnamespaceHTML();\n        ɵngcc0.ɵɵelementStart(4, \"div\", 4);\n        ɵngcc0.ɵɵtemplate(5, AccordionItem_ng_content_5_Template, 1, 0, \"ng-content\", 5);\n        ɵngcc0.ɵɵtemplate(6, AccordionItem_ng_template_6_Template, 3, 0, \"ng-template\", null, 6, ɵngcc0.ɵɵtemplateRefExtractor);\n        ɵngcc0.ɵɵelementEnd();\n    } if (rf & 2) {\n        const _r3 = ɵngcc0.ɵɵreference(7);\n        ɵngcc0.ɵɵproperty(\"disabled\", ctx.disabled);\n        ɵngcc0.ɵɵattribute(\"aria-expanded\", ctx.expanded)(\"aria-controls\", ctx.id);\n        ɵngcc0.ɵɵadvance(2);\n        ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.isTemplate(ctx.title));\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.isTemplate(ctx.title));\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"id\", ctx.id);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.skeleton)(\"ngIfElse\", _r3);\n    } }, dependencies: [ɵngcc1.NgClass, ɵngcc1.NgIf, ɵngcc1.NgTemplateOutlet, ɵngcc2.IconDirective], encapsulation: 2 });\nAccordionItem.accordionItemCount = 0;\n/** @nocollapse */\nAccordionItem.ctorParameters = () => [];\nAccordionItem.propDecorators = {\n    title: [{ type: Input }],\n    context: [{ type: Input }],\n    id: [{ type: Input }],\n    skeleton: [{ type: Input }],\n    selected: [{ type: Output }],\n    itemClass: [{ type: HostBinding, args: [\"class.bx--accordion__item\",] }],\n    expanded: [{ type: HostBinding, args: [\"class.bx--accordion__item--active\",] }, { type: Input }],\n    disabled: [{ type: HostBinding, args: [\"class.bx--accordion__item--disabled\",] }, { type: Input }],\n    itemType: [{ type: HostBinding, args: [\"style.display\",] }],\n    role: [{ type: HostBinding, args: [\"attr.role\",] }],\n    ariaLevel: [{ type: HostBinding, args: [\"attr.aria-level\",] }, { type: Input }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(AccordionItem, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-accordion-item\",\n                template: `\n\t\t<button\n\t\t\ttype=\"button\"\n\t\t\t[disabled]=\"disabled\"\n\t\t\t[attr.aria-expanded]=\"expanded\"\n\t\t\t[attr.aria-controls]=\"id\"\n\t\t\t(click)=\"toggleExpanded()\"\n\t\t\tclass=\"bx--accordion__heading\">\n\t\t\t<svg ibmIcon=\"chevron--right\" size=\"16\" class=\"bx--accordion__arrow\"></svg>\n\t\t\t<p *ngIf=\"!isTemplate(title)\"\n\t\t\t\tclass=\"bx--accordion__title\"\n\t\t\t\t[ngClass]=\"{\n\t\t\t\t\t'bx--skeleton__text': skeleton\n\t\t\t\t}\">\n\t\t\t\t{{!skeleton ? title : null}}\n\t\t\t</p>\n\t\t\t<ng-template\n\t\t\t\t*ngIf=\"isTemplate(title)\"\n\t\t\t\t[ngTemplateOutlet]=\"title\"\n\t\t\t\t[ngTemplateOutletContext]=\"context\">\n\t\t\t</ng-template>\n\t\t</button>\n\t\t<div [id]=\"id\" class=\"bx--accordion__content\">\n\t\t\t<ng-content *ngIf=\"!skeleton; else skeletonTemplate\"></ng-content>\n\t\t\t<ng-template #skeletonTemplate>\n\t\t\t\t<p class=\"bx--skeleton__text\" style=\"width: 90%\"></p>\n\t\t\t\t<p class=\"bx--skeleton__text\" style=\"width: 80%\"></p>\n\t\t\t\t<p class=\"bx--skeleton__text\" style=\"width: 95%\"></p>\n\t\t\t</ng-template>\n\t\t</div>\n\t`\n            }]\n    }], function () { return []; }, { context: [{\n            type: Input\n        }], id: [{\n            type: Input\n        }], skeleton: [{\n            type: Input\n        }], selected: [{\n            type: Output\n        }], itemClass: [{\n            type: HostBinding,\n            args: [\"class.bx--accordion__item\"]\n        }], expanded: [{\n            type: HostBinding,\n            args: [\"class.bx--accordion__item--active\"]\n        }, {\n            type: Input\n        }], disabled: [{\n            type: HostBinding,\n            args: [\"class.bx--accordion__item--disabled\"]\n        }, {\n            type: Input\n        }], itemType: [{\n            type: HostBinding,\n            args: [\"style.display\"]\n        }], role: [{\n            type: HostBinding,\n            args: [\"attr.role\"]\n        }], ariaLevel: [{\n            type: HostBinding,\n            args: [\"attr.aria-level\"]\n        }, {\n            type: Input\n        }], title: [{\n            type: Input\n        }] }); })();\n\n/**\n * [See demo](../../?path=/story/components-accordion--basic)\n *\n * <example-url>../../iframe.html?id=components-accordion--basic</example-url>\n */\nclass Accordion {\n    constructor() {\n        this.align = \"end\";\n        this.size = \"md\";\n        this._skeleton = false;\n    }\n    set skeleton(value) {\n        this._skeleton = value;\n        this.updateChildren();\n    }\n    get skeleton() {\n        return this._skeleton;\n    }\n    ngAfterContentInit() {\n        this.updateChildren();\n    }\n    updateChildren() {\n        if (this.children) {\n            this.children.toArray().forEach(child => child.skeleton = this.skeleton);\n        }\n    }\n}\nAccordion.ɵfac = function Accordion_Factory(t) { return new (t || Accordion)(); };\nAccordion.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: Accordion, selectors: [[\"ibm-accordion\"]], contentQueries: function Accordion_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {\n        ɵngcc0.ɵɵcontentQuery(dirIndex, AccordionItem, 4);\n    } if (rf & 2) {\n        let _t;\n        ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.children = _t);\n    } }, inputs: { align: \"align\", size: \"size\", skeleton: \"skeleton\" }, ngContentSelectors: _c1, decls: 2, vars: 7, consts: [[1, \"bx--accordion\", 3, \"ngClass\"]], template: function Accordion_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵprojectionDef();\n        ɵngcc0.ɵɵelementStart(0, \"ul\", 0);\n        ɵngcc0.ɵɵprojection(1);\n        ɵngcc0.ɵɵelementEnd();\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction5(1, _c2, ctx.align == \"end\", ctx.align == \"start\", ctx.size == \"sm\", ctx.size == \"md\", ctx.size == \"lg\"));\n    } }, dependencies: [ɵngcc1.NgClass], encapsulation: 2 });\nAccordion.propDecorators = {\n    align: [{ type: Input }],\n    size: [{ type: Input }],\n    children: [{ type: ContentChildren, args: [AccordionItem,] }],\n    skeleton: [{ type: Input }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(Accordion, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-accordion\",\n                template: `\n\t\t<ul class=\"bx--accordion\"\n\t\t\t[ngClass]=\"{\n\t\t\t\t'bx--accordion--end': align == 'end',\n\t\t\t\t'bx--accordion--start': align == 'start',\n\t\t\t\t'bx--accordion--sm': size == 'sm',\n\t\t\t\t'bx--accordion--md': size == 'md',\n\t\t\t\t'bx--accordion--lg': size == 'lg'\n\t\t\t}\">\n\t\t\t<ng-content></ng-content>\n\t\t</ul>\n\t`\n            }]\n    }], function () { return []; }, { align: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }], skeleton: [{\n            type: Input\n        }], children: [{\n            type: ContentChildren,\n            args: [AccordionItem]\n        }] }); })();\n\nclass AccordionModule {\n}\nAccordionModule.ɵfac = function AccordionModule_Factory(t) { return new (t || AccordionModule)(); };\nAccordionModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: AccordionModule });\nAccordionModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({ imports: [CommonModule,\n        IconModule] });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(AccordionModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    Accordion,\n                    AccordionItem\n                ],\n                exports: [\n                    Accordion,\n                    AccordionItem\n                ],\n                imports: [\n                    CommonModule,\n                    IconModule\n                ]\n            }]\n    }], null, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(AccordionModule, { declarations: function () { return [Accordion, AccordionItem]; }, imports: function () { return [CommonModule,\n        IconModule]; }, exports: function () { return [Accordion, AccordionItem]; } }); })();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { AccordionItem, Accordion, AccordionModule };\n\n","/**\n *\n * carbon-angular v0.0.0 | carbon-components-angular-breadcrumb.js\n *\n * Copyright 2014, 2023 IBM\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\nimport { DomSanitizer } from '@angular/platform-browser';\nimport { Router } from '@angular/router';\nimport { Component, HostBinding, Input, Output, EventEmitter, Optional, ContentChildren, NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { DialogModule } from 'carbon-components-angular/dialog';\nimport { I18n, I18nModule } from 'carbon-components-angular/i18n';\n\nimport * as ɵngcc0 from '@angular/core';\nimport * as ɵngcc1 from '@angular/platform-browser';\nimport * as ɵngcc2 from '@angular/router';\nimport * as ɵngcc3 from '@angular/common';\nimport * as ɵngcc4 from 'carbon-components-angular/i18n';\nimport * as ɵngcc5 from 'carbon-components-angular/dialog';\n\nfunction BreadcrumbItemComponent_a_0_ng_container_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainer(0);\n} }\nfunction BreadcrumbItemComponent_a_0_Template(rf, ctx) { if (rf & 1) {\n    const _r5 = ɵngcc0.ɵɵgetCurrentView();\n    ɵngcc0.ɵɵelementStart(0, \"a\", 2);\n    ɵngcc0.ɵɵlistener(\"click\", function BreadcrumbItemComponent_a_0_Template_a_click_0_listener($event) { ɵngcc0.ɵɵrestoreView(_r5); const ctx_r4 = ɵngcc0.ɵɵnextContext(); return ɵngcc0.ɵɵresetView(ctx_r4.navigate($event)); });\n    ɵngcc0.ɵɵtemplate(1, BreadcrumbItemComponent_a_0_ng_container_1_Template, 1, 0, \"ng-container\", 3);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r0 = ɵngcc0.ɵɵnextContext();\n    const _r1 = ɵngcc0.ɵɵreference(2);\n    ɵngcc0.ɵɵproperty(\"href\", ctx_r0.skeleton ? \"/#\" : ctx_r0.href, ɵngcc0.ɵɵsanitizeUrl);\n    ɵngcc0.ɵɵattribute(\"aria-current\", ctx_r0.current ? ctx_r0.ariaCurrent : null);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", _r1);\n} }\nfunction BreadcrumbItemComponent_ng_template_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵprojection(0);\n} }\nconst _c0 = [\"*\"];\nfunction Breadcrumb_ng_template_2_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵprojection(0);\n} }\nfunction Breadcrumb_ng_template_3_ibm_breadcrumb_item_0_ng_container_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainerStart(0);\n    ɵngcc0.ɵɵtext(1);\n    ɵngcc0.ɵɵelementContainerEnd();\n} if (rf & 2) {\n    const item_r5 = ɵngcc0.ɵɵnextContext().$implicit;\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate(item_r5.content);\n} }\nfunction Breadcrumb_ng_template_3_ibm_breadcrumb_item_0_2_ng_template_0_Template(rf, ctx) { }\nconst _c1 = function (a0) { return { $implicit: a0 }; };\nfunction Breadcrumb_ng_template_3_ibm_breadcrumb_item_0_2_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵtemplate(0, Breadcrumb_ng_template_3_ibm_breadcrumb_item_0_2_ng_template_0_Template, 0, 0, \"ng-template\", 6);\n} if (rf & 2) {\n    const item_r5 = ɵngcc0.ɵɵnextContext().$implicit;\n    ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", item_r5.template)(\"ngTemplateOutletContext\", ɵngcc0.ɵɵpureFunction1(2, _c1, item_r5));\n} }\nfunction Breadcrumb_ng_template_3_ibm_breadcrumb_item_0_Template(rf, ctx) { if (rf & 1) {\n    const _r12 = ɵngcc0.ɵɵgetCurrentView();\n    ɵngcc0.ɵɵelementStart(0, \"ibm-breadcrumb-item\", 4);\n    ɵngcc0.ɵɵlistener(\"navigation\", function Breadcrumb_ng_template_3_ibm_breadcrumb_item_0_Template_ibm_breadcrumb_item_navigation_0_listener($event) { ɵngcc0.ɵɵrestoreView(_r12); const ctx_r11 = ɵngcc0.ɵɵnextContext(2); return ɵngcc0.ɵɵresetView(ctx_r11.navigation.emit($event)); });\n    ɵngcc0.ɵɵtemplate(1, Breadcrumb_ng_template_3_ibm_breadcrumb_item_0_ng_container_1_Template, 2, 1, \"ng-container\", 5);\n    ɵngcc0.ɵɵtemplate(2, Breadcrumb_ng_template_3_ibm_breadcrumb_item_0_2_Template, 1, 4, null, 5);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const item_r5 = ctx.$implicit;\n    ɵngcc0.ɵɵproperty(\"href\", item_r5.href)(\"route\", item_r5.route)(\"routeExtras\", item_r5.routeExtras)(\"current\", item_r5.current)(\"ariaCurrent\", item_r5.ariaCurrent);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", !item_r5.template);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", item_r5.template);\n} }\nfunction Breadcrumb_ng_template_3_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵtemplate(0, Breadcrumb_ng_template_3_ibm_breadcrumb_item_0_Template, 3, 7, \"ibm-breadcrumb-item\", 3);\n} if (rf & 2) {\n    const ctx_r2 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵproperty(\"ngForOf\", ctx_r2.items);\n} }\nfunction Breadcrumb_ng_template_4_ng_container_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainerStart(0);\n    ɵngcc0.ɵɵtext(1);\n    ɵngcc0.ɵɵelementContainerEnd();\n} if (rf & 2) {\n    const ctx_r13 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate(ctx_r13.first == null ? null : ctx_r13.first.content);\n} }\nfunction Breadcrumb_ng_template_4_2_ng_template_0_Template(rf, ctx) { }\nfunction Breadcrumb_ng_template_4_2_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵtemplate(0, Breadcrumb_ng_template_4_2_ng_template_0_Template, 0, 0, \"ng-template\", 6);\n} if (rf & 2) {\n    const ctx_r14 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r14.first == null ? null : ctx_r14.first.template)(\"ngTemplateOutletContext\", ɵngcc0.ɵɵpureFunction1(2, _c1, ctx_r14.first));\n} }\nfunction Breadcrumb_ng_template_4_li_5_ng_container_2_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainerStart(0);\n    ɵngcc0.ɵɵtext(1);\n    ɵngcc0.ɵɵelementContainerEnd();\n} if (rf & 2) {\n    const item_r21 = ɵngcc0.ɵɵnextContext().$implicit;\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate(item_r21 == null ? null : item_r21.content);\n} }\nfunction Breadcrumb_ng_template_4_li_5_3_ng_template_0_Template(rf, ctx) { }\nfunction Breadcrumb_ng_template_4_li_5_3_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵtemplate(0, Breadcrumb_ng_template_4_li_5_3_ng_template_0_Template, 0, 0, \"ng-template\", 6);\n} if (rf & 2) {\n    const item_r21 = ɵngcc0.ɵɵnextContext().$implicit;\n    ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", item_r21 == null ? null : item_r21.template)(\"ngTemplateOutletContext\", ɵngcc0.ɵɵpureFunction1(2, _c1, item_r21));\n} }\nfunction Breadcrumb_ng_template_4_li_5_Template(rf, ctx) { if (rf & 1) {\n    const _r28 = ɵngcc0.ɵɵgetCurrentView();\n    ɵngcc0.ɵɵelementStart(0, \"li\", 8)(1, \"a\", 9);\n    ɵngcc0.ɵɵlistener(\"click\", function Breadcrumb_ng_template_4_li_5_Template_a_click_1_listener($event) { const restoredCtx = ɵngcc0.ɵɵrestoreView(_r28); const item_r21 = restoredCtx.$implicit; const ctx_r27 = ɵngcc0.ɵɵnextContext(2); return ɵngcc0.ɵɵresetView(ctx_r27.navigate($event, item_r21)); });\n    ɵngcc0.ɵɵtemplate(2, Breadcrumb_ng_template_4_li_5_ng_container_2_Template, 2, 1, \"ng-container\", 5);\n    ɵngcc0.ɵɵtemplate(3, Breadcrumb_ng_template_4_li_5_3_Template, 1, 4, null, 5);\n    ɵngcc0.ɵɵelementEnd()();\n} if (rf & 2) {\n    const item_r21 = ctx.$implicit;\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵpropertyInterpolate(\"href\", item_r21 == null ? null : item_r21.href, ɵngcc0.ɵɵsanitizeUrl);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", !(item_r21 == null ? null : item_r21.template));\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", item_r21 == null ? null : item_r21.template);\n} }\nfunction Breadcrumb_ng_template_4_ng_container_7_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainerStart(0);\n    ɵngcc0.ɵɵtext(1);\n    ɵngcc0.ɵɵelementContainerEnd();\n} if (rf & 2) {\n    const ctx_r16 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate(ctx_r16.secondLast == null ? null : ctx_r16.secondLast.content);\n} }\nfunction Breadcrumb_ng_template_4_8_ng_template_0_Template(rf, ctx) { }\nfunction Breadcrumb_ng_template_4_8_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵtemplate(0, Breadcrumb_ng_template_4_8_ng_template_0_Template, 0, 0, \"ng-template\", 6);\n} if (rf & 2) {\n    const ctx_r17 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r17.secondLast == null ? null : ctx_r17.secondLast.template)(\"ngTemplateOutletContext\", ɵngcc0.ɵɵpureFunction1(2, _c1, ctx_r17.secondLast));\n} }\nfunction Breadcrumb_ng_template_4_ng_container_10_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainerStart(0);\n    ɵngcc0.ɵɵtext(1);\n    ɵngcc0.ɵɵelementContainerEnd();\n} if (rf & 2) {\n    const ctx_r18 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate(ctx_r18.last == null ? null : ctx_r18.last.content);\n} }\nfunction Breadcrumb_ng_template_4_11_ng_template_0_Template(rf, ctx) { }\nfunction Breadcrumb_ng_template_4_11_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵtemplate(0, Breadcrumb_ng_template_4_11_ng_template_0_Template, 0, 0, \"ng-template\", 6);\n} if (rf & 2) {\n    const ctx_r19 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r19.last == null ? null : ctx_r19.last.template)(\"ngTemplateOutletContext\", ɵngcc0.ɵɵpureFunction1(2, _c1, ctx_r19.last));\n} }\nfunction Breadcrumb_ng_template_4_Template(rf, ctx) { if (rf & 1) {\n    const _r32 = ɵngcc0.ɵɵgetCurrentView();\n    ɵngcc0.ɵɵelementStart(0, \"ibm-breadcrumb-item\", 4);\n    ɵngcc0.ɵɵlistener(\"navigation\", function Breadcrumb_ng_template_4_Template_ibm_breadcrumb_item_navigation_0_listener($event) { ɵngcc0.ɵɵrestoreView(_r32); const ctx_r31 = ɵngcc0.ɵɵnextContext(); return ɵngcc0.ɵɵresetView(ctx_r31.navigation.emit($event)); });\n    ɵngcc0.ɵɵtemplate(1, Breadcrumb_ng_template_4_ng_container_1_Template, 2, 1, \"ng-container\", 5);\n    ɵngcc0.ɵɵtemplate(2, Breadcrumb_ng_template_4_2_Template, 1, 4, null, 5);\n    ɵngcc0.ɵɵelementEnd();\n    ɵngcc0.ɵɵelementStart(3, \"ibm-breadcrumb-item\")(4, \"ibm-overflow-menu\");\n    ɵngcc0.ɵɵtemplate(5, Breadcrumb_ng_template_4_li_5_Template, 4, 3, \"li\", 7);\n    ɵngcc0.ɵɵelementEnd()();\n    ɵngcc0.ɵɵelementStart(6, \"ibm-breadcrumb-item\", 4);\n    ɵngcc0.ɵɵlistener(\"navigation\", function Breadcrumb_ng_template_4_Template_ibm_breadcrumb_item_navigation_6_listener($event) { ɵngcc0.ɵɵrestoreView(_r32); const ctx_r33 = ɵngcc0.ɵɵnextContext(); return ɵngcc0.ɵɵresetView(ctx_r33.navigation.emit($event)); });\n    ɵngcc0.ɵɵtemplate(7, Breadcrumb_ng_template_4_ng_container_7_Template, 2, 1, \"ng-container\", 5);\n    ɵngcc0.ɵɵtemplate(8, Breadcrumb_ng_template_4_8_Template, 1, 4, null, 5);\n    ɵngcc0.ɵɵelementEnd();\n    ɵngcc0.ɵɵelementStart(9, \"ibm-breadcrumb-item\", 4);\n    ɵngcc0.ɵɵlistener(\"navigation\", function Breadcrumb_ng_template_4_Template_ibm_breadcrumb_item_navigation_9_listener($event) { ɵngcc0.ɵɵrestoreView(_r32); const ctx_r34 = ɵngcc0.ɵɵnextContext(); return ɵngcc0.ɵɵresetView(ctx_r34.navigation.emit($event)); });\n    ɵngcc0.ɵɵtemplate(10, Breadcrumb_ng_template_4_ng_container_10_Template, 2, 1, \"ng-container\", 5);\n    ɵngcc0.ɵɵtemplate(11, Breadcrumb_ng_template_4_11_Template, 1, 4, null, 5);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r3 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵproperty(\"href\", ctx_r3.first == null ? null : ctx_r3.first.href)(\"route\", ctx_r3.first == null ? null : ctx_r3.first.route)(\"routeExtras\", ctx_r3.first == null ? null : ctx_r3.first.routeExtras)(\"current\", ctx_r3.first == null ? null : ctx_r3.first.current)(\"ariaCurrent\", ctx_r3.first == null ? null : ctx_r3.first.ariaCurrent);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", !(ctx_r3.first == null ? null : ctx_r3.first.template));\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r3.first == null ? null : ctx_r3.first.template);\n    ɵngcc0.ɵɵadvance(3);\n    ɵngcc0.ɵɵproperty(\"ngForOf\", ctx_r3.overflowItems);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"href\", ctx_r3.secondLast == null ? null : ctx_r3.secondLast.href)(\"route\", ctx_r3.secondLast == null ? null : ctx_r3.secondLast.route)(\"routeExtras\", ctx_r3.secondLast == null ? null : ctx_r3.secondLast.routeExtras)(\"current\", ctx_r3.secondLast == null ? null : ctx_r3.secondLast.current)(\"ariaCurrent\", ctx_r3.secondLast == null ? null : ctx_r3.secondLast.ariaCurrent);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", !(ctx_r3.secondLast == null ? null : ctx_r3.secondLast.template));\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r3.secondLast == null ? null : ctx_r3.secondLast.template);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"href\", ctx_r3.last == null ? null : ctx_r3.last.href)(\"route\", ctx_r3.last == null ? null : ctx_r3.last.route)(\"routeExtras\", ctx_r3.last == null ? null : ctx_r3.last.routeExtras)(\"current\", ctx_r3.last == null ? null : ctx_r3.last.current)(\"ariaCurrent\", ctx_r3.last == null ? null : ctx_r3.last.ariaCurrent);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", !(ctx_r3.last == null ? null : ctx_r3.last.template));\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r3.last == null ? null : ctx_r3.last.template);\n} }\nconst _c2 = function (a0, a1) { return { \"bx--skeleton\": a0, \"bx--breadcrumb--no-trailing-slash\": a1 }; };\nclass BreadcrumbItemComponent {\n    constructor(domSanitizer, router) {\n        this.domSanitizer = domSanitizer;\n        this.router = router;\n        /**\n         * Emits the navigation status promise when the link is activated\n         */\n        this.navigation = new EventEmitter();\n        this.skeleton = false;\n        this.ariaCurrent = \"page\";\n        this.current = false;\n        this.itemClass = true;\n    }\n    set href(v) {\n        this._href = v;\n    }\n    get href() {\n        return this.domSanitizer.bypassSecurityTrustUrl(this._href);\n    }\n    useTemplate() {\n        return this.skeleton || this._href || this.route;\n    }\n    navigate(event) {\n        if (this.router && this.route) {\n            event.preventDefault();\n            const status = this.router.navigate(this.route, this.routeExtras);\n            this.navigation.emit(status);\n        }\n    }\n}\nBreadcrumbItemComponent.ɵfac = function BreadcrumbItemComponent_Factory(t) { return new (t || BreadcrumbItemComponent)(ɵngcc0.ɵɵdirectiveInject(ɵngcc1.DomSanitizer), ɵngcc0.ɵɵdirectiveInject(ɵngcc2.Router, 8)); };\nBreadcrumbItemComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: BreadcrumbItemComponent, selectors: [[\"ibm-breadcrumb-item\"]], hostVars: 4, hostBindings: function BreadcrumbItemComponent_HostBindings(rf, ctx) { if (rf & 2) {\n        ɵngcc0.ɵɵclassProp(\"bx--breadcrumb-item--current\", ctx.current)(\"bx--breadcrumb-item\", ctx.itemClass);\n    } }, inputs: { skeleton: \"skeleton\", ariaCurrent: \"ariaCurrent\", current: \"current\", href: \"href\", route: \"route\", routeExtras: \"routeExtras\" }, outputs: { navigation: \"navigation\" }, ngContentSelectors: _c0, decls: 3, vars: 2, consts: [[\"class\", \"bx--link\", 3, \"href\", \"click\", 4, \"ngIf\", \"ngIfElse\"], [\"content\", \"\"], [1, \"bx--link\", 3, \"href\", \"click\"], [4, \"ngTemplateOutlet\"]], template: function BreadcrumbItemComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵprojectionDef();\n        ɵngcc0.ɵɵtemplate(0, BreadcrumbItemComponent_a_0_Template, 2, 3, \"a\", 0);\n        ɵngcc0.ɵɵtemplate(1, BreadcrumbItemComponent_ng_template_1_Template, 1, 0, \"ng-template\", null, 1, ɵngcc0.ɵɵtemplateRefExtractor);\n    } if (rf & 2) {\n        const _r1 = ɵngcc0.ɵɵreference(2);\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.useTemplate())(\"ngIfElse\", _r1);\n    } }, dependencies: [ɵngcc3.NgIf, ɵngcc3.NgTemplateOutlet], encapsulation: 2 });\n/** @nocollapse */\nBreadcrumbItemComponent.ctorParameters = () => [\n    { type: DomSanitizer },\n    { type: Router, decorators: [{ type: Optional }] }\n];\nBreadcrumbItemComponent.propDecorators = {\n    href: [{ type: Input }],\n    route: [{ type: Input }],\n    routeExtras: [{ type: Input }],\n    navigation: [{ type: Output }],\n    skeleton: [{ type: Input }],\n    ariaCurrent: [{ type: Input }],\n    current: [{ type: HostBinding, args: [\"class.bx--breadcrumb-item--current\",] }, { type: Input }],\n    itemClass: [{ type: HostBinding, args: [\"class.bx--breadcrumb-item\",] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(BreadcrumbItemComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-breadcrumb-item\",\n                template: `\n\t<a\n\t\tclass=\"bx--link\"\n\t\t[href]=\"(skeleton ? '/#' : href)\"\n\t\t(click)=\"navigate($event)\"\n\t\t[attr.aria-current]=\"(current ? ariaCurrent : null)\"\n\t\t*ngIf=\"useTemplate(); else content\">\n\t\t<ng-container *ngTemplateOutlet=\"content\"></ng-container>\n\t</a>\n\t<ng-template #content>\n\t\t<ng-content></ng-content>\n\t</ng-template>`\n            }]\n    }], function () { return [{ type: ɵngcc1.DomSanitizer }, { type: ɵngcc2.Router, decorators: [{\n                type: Optional\n            }] }]; }, { navigation: [{\n            type: Output\n        }], skeleton: [{\n            type: Input\n        }], ariaCurrent: [{\n            type: Input\n        }], current: [{\n            type: HostBinding,\n            args: [\"class.bx--breadcrumb-item--current\"]\n        }, {\n            type: Input\n        }], itemClass: [{\n            type: HostBinding,\n            args: [\"class.bx--breadcrumb-item\"]\n        }], href: [{\n            type: Input\n        }], route: [{\n            type: Input\n        }], routeExtras: [{\n            type: Input\n        }] }); })();\n\nconst MINIMUM_OVERFLOW_THRESHOLD = 4;\n/**\n *  [See demo](../../?path=/story/components-breadcrumb--basic)\n *\n * <example-url>../../iframe.html?id=components-breadcrumb--basic</example-url>\n */\nclass Breadcrumb {\n    constructor(i18n, router) {\n        this.i18n = i18n;\n        this.router = router;\n        this.noTrailingSlash = false;\n        this.ariaLabel = this.i18n.get().BREADCRUMB.LABEL;\n        /**\n         * Emits the navigation status promise when the link is activated\n         */\n        this.navigation = new EventEmitter();\n        this._skeleton = false;\n    }\n    set skeleton(value) {\n        this._skeleton = value;\n        this.updateChildren();\n    }\n    get skeleton() {\n        return this._skeleton;\n    }\n    set threshold(threshold) {\n        this._threshold = threshold;\n        if (isNaN(threshold) || threshold < MINIMUM_OVERFLOW_THRESHOLD) {\n            this._threshold = MINIMUM_OVERFLOW_THRESHOLD;\n        }\n    }\n    get threshold() {\n        return this._threshold;\n    }\n    get shouldShowContent() {\n        return !this.items;\n    }\n    get shouldShowOverflow() {\n        if (!this.items) {\n            return false;\n        }\n        return this.items.length > this.threshold;\n    }\n    get first() {\n        return this.shouldShowOverflow ? this.items[0] : null;\n    }\n    get overflowItems() {\n        return this.shouldShowOverflow ? this.items.slice(1, this.items.length - 2) : [];\n    }\n    get secondLast() {\n        return this.shouldShowOverflow ? this.items[this.items.length - 2] : null;\n    }\n    get last() {\n        return this.shouldShowOverflow ? this.items[this.items.length - 1] : null;\n    }\n    ngAfterContentInit() {\n        this.updateChildren();\n    }\n    navigate(event, item) {\n        if (this.router && item.route) {\n            event.preventDefault();\n            const status = this.router.navigate(item.route, item.routeExtras);\n            this.navigation.emit(status);\n        }\n    }\n    updateChildren() {\n        if (this.children) {\n            this.children.toArray().forEach(child => child.skeleton = this.skeleton);\n        }\n    }\n}\nBreadcrumb.ɵfac = function Breadcrumb_Factory(t) { return new (t || Breadcrumb)(ɵngcc0.ɵɵdirectiveInject(ɵngcc4.I18n), ɵngcc0.ɵɵdirectiveInject(ɵngcc2.Router, 8)); };\nBreadcrumb.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: Breadcrumb, selectors: [[\"ibm-breadcrumb\"]], contentQueries: function Breadcrumb_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {\n        ɵngcc0.ɵɵcontentQuery(dirIndex, BreadcrumbItemComponent, 4);\n    } if (rf & 2) {\n        let _t;\n        ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.children = _t);\n    } }, inputs: { noTrailingSlash: \"noTrailingSlash\", ariaLabel: \"ariaLabel\", skeleton: \"skeleton\", threshold: \"threshold\", items: \"items\" }, outputs: { navigation: \"navigation\" }, ngContentSelectors: _c0, decls: 5, vars: 8, consts: [[1, \"bx--breadcrumb\", 3, \"ngClass\"], [\"nav\", \"\"], [3, \"ngIf\"], [3, \"href\", \"route\", \"routeExtras\", \"current\", \"ariaCurrent\", \"navigation\", 4, \"ngFor\", \"ngForOf\"], [3, \"href\", \"route\", \"routeExtras\", \"current\", \"ariaCurrent\", \"navigation\"], [4, \"ngIf\"], [3, \"ngTemplateOutlet\", \"ngTemplateOutletContext\"], [\"class\", \"bx--overflow-menu-options__option\", 4, \"ngFor\", \"ngForOf\"], [1, \"bx--overflow-menu-options__option\"], [1, \"bx--overflow-menu-options__btn\", 2, \"text-decoration\", \"none\", 3, \"href\", \"click\"]], template: function Breadcrumb_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵprojectionDef();\n        ɵngcc0.ɵɵelementStart(0, \"nav\", 0, 1);\n        ɵngcc0.ɵɵtemplate(2, Breadcrumb_ng_template_2_Template, 1, 0, \"ng-template\", 2);\n        ɵngcc0.ɵɵtemplate(3, Breadcrumb_ng_template_3_Template, 1, 1, \"ng-template\", 2);\n        ɵngcc0.ɵɵtemplate(4, Breadcrumb_ng_template_4_Template, 12, 22, \"ng-template\", 2);\n        ɵngcc0.ɵɵelementEnd();\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction2(5, _c2, ctx.skeleton, ctx.noTrailingSlash));\n        ɵngcc0.ɵɵattribute(\"aria-label\", ctx.ariaLabel);\n        ɵngcc0.ɵɵadvance(2);\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.shouldShowContent);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.shouldShowOverflow);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.shouldShowOverflow);\n    } }, dependencies: [ɵngcc3.NgClass, ɵngcc3.NgForOf, ɵngcc3.NgIf, ɵngcc3.NgTemplateOutlet, ɵngcc5.OverflowMenu, BreadcrumbItemComponent], encapsulation: 2 });\n/** @nocollapse */\nBreadcrumb.ctorParameters = () => [\n    { type: I18n },\n    { type: Router, decorators: [{ type: Optional }] }\n];\nBreadcrumb.propDecorators = {\n    children: [{ type: ContentChildren, args: [BreadcrumbItemComponent,] }],\n    items: [{ type: Input }],\n    noTrailingSlash: [{ type: Input }],\n    ariaLabel: [{ type: Input }],\n    skeleton: [{ type: Input }],\n    threshold: [{ type: Input }],\n    navigation: [{ type: Output }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(Breadcrumb, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-breadcrumb\",\n                template: `\n\t<nav #nav class=\"bx--breadcrumb\"\n\t\t[ngClass]=\"{\n\t\t\t'bx--skeleton' : skeleton,\n\t\t\t'bx--breadcrumb--no-trailing-slash' : noTrailingSlash\n\t\t}\"\n\t\t[attr.aria-label]=\"ariaLabel\">\n\t\t<ng-template [ngIf]=\"shouldShowContent\">\n\t\t\t<ng-content></ng-content>\n\t\t</ng-template>\n\t\t<ng-template [ngIf]=\"!shouldShowOverflow\">\n\t\t\t<ibm-breadcrumb-item\n\t\t\t\t*ngFor=\"let item of items\"\n\t\t\t\t[href]=\"item.href\"\n\t\t\t\t[route]=\"item.route\"\n\t\t\t\t[routeExtras]=\"item.routeExtras\"\n\t\t\t\t[current]=\"item.current\"\n\t\t\t\t[ariaCurrent]=\"item.ariaCurrent\"\n\t\t\t\t(navigation)=\"navigation.emit($event)\">\n\t\t\t\t<ng-container *ngIf=\"!item.template\">{{item.content}}</ng-container>\n\t\t\t\t<ng-template\n\t\t\t\t\t*ngIf=\"item.template\"\n\t\t\t\t\t[ngTemplateOutlet]=\"item.template\"\n\t\t\t\t\t[ngTemplateOutletContext]=\"{ $implicit: item }\">\n\t\t\t\t</ng-template>\n\t\t\t</ibm-breadcrumb-item>\n\t\t</ng-template>\n\t\t<ng-template [ngIf]=\"shouldShowOverflow\">\n\t\t\t<ibm-breadcrumb-item\n\t\t\t\t[href]=\"first?.href\"\n\t\t\t\t[route]=\"first?.route\"\n\t\t\t\t[routeExtras]=\"first?.routeExtras\"\n\t\t\t\t[current]=\"first?.current\"\n\t\t\t\t[ariaCurrent]=\"first?.ariaCurrent\"\n\t\t\t\t(navigation)=\"navigation.emit($event)\">\n\t\t\t\t<ng-container *ngIf=\"!first?.template\">{{first?.content}}</ng-container>\n\t\t\t\t<ng-template\n\t\t\t\t\t*ngIf=\"first?.template\"\n\t\t\t\t\t[ngTemplateOutlet]=\"first?.template\"\n\t\t\t\t\t[ngTemplateOutletContext]=\"{ $implicit: first }\">\n\t\t\t\t</ng-template>\n\t\t\t</ibm-breadcrumb-item>\n\t\t\t<ibm-breadcrumb-item>\n\t\t\t\t<ibm-overflow-menu>\n\t\t\t\t\t<li class=\"bx--overflow-menu-options__option\"\n\t\t\t\t\t\t*ngFor=\"let item of overflowItems\">\n\t\t\t\t\t\t<a class=\"bx--overflow-menu-options__btn\"\n\t\t\t\t\t\t\thref=\"{{item?.href}}\"\n\t\t\t\t\t\t\t(click)=\"navigate($event, item)\"\n\t\t\t\t\t\t\tstyle=\"text-decoration: none;\">\n\t\t\t\t\t\t\t<ng-container *ngIf=\"!item?.template\">{{item?.content}}</ng-container>\n\t\t\t\t\t\t\t<ng-template\n\t\t\t\t\t\t\t\t*ngIf=\"item?.template\"\n\t\t\t\t\t\t\t\t[ngTemplateOutlet]=\"item?.template\"\n\t\t\t\t\t\t\t\t[ngTemplateOutletContext]=\"{ $implicit: item }\">\n\t\t\t\t\t\t\t</ng-template>\n\t\t\t\t\t\t</a>\n\t\t\t\t\t</li>\n\t\t\t\t</ibm-overflow-menu>\n\t\t\t</ibm-breadcrumb-item>\n\t\t\t<ibm-breadcrumb-item\n\t\t\t\t[href]=\"secondLast?.href\"\n\t\t\t\t[route]=\"secondLast?.route\"\n\t\t\t\t[routeExtras]=\"secondLast?.routeExtras\"\n\t\t\t\t[current]=\"secondLast?.current\"\n\t\t\t\t[ariaCurrent]=\"secondLast?.ariaCurrent\"\n\t\t\t\t(navigation)=\"navigation.emit($event)\">\n\t\t\t\t<ng-container *ngIf=\"!secondLast?.template\">{{secondLast?.content}}</ng-container>\n\t\t\t\t<ng-template\n\t\t\t\t\t*ngIf=\"secondLast?.template\"\n\t\t\t\t\t[ngTemplateOutlet]=\"secondLast?.template\"\n\t\t\t\t\t[ngTemplateOutletContext]=\"{ $implicit: secondLast }\">\n\t\t\t\t</ng-template>\n\t\t\t</ibm-breadcrumb-item>\n\t\t\t<ibm-breadcrumb-item\n\t\t\t\t[href]=\"last?.href\"\n\t\t\t\t[route]=\"last?.route\"\n\t\t\t\t[routeExtras]=\"last?.routeExtras\"\n\t\t\t\t[current]=\"last?.current\"\n\t\t\t\t[ariaCurrent]=\"last?.ariaCurrent\"\n\t\t\t\t(navigation)=\"navigation.emit($event)\">\n\t\t\t\t<ng-container *ngIf=\"!last?.template\">{{last?.content}}</ng-container>\n\t\t\t\t<ng-template\n\t\t\t\t\t*ngIf=\"last?.template\"\n\t\t\t\t\t[ngTemplateOutlet]=\"last?.template\"\n\t\t\t\t\t[ngTemplateOutletContext]=\"{ $implicit: last }\">\n\t\t\t\t</ng-template>\n\t\t\t</ibm-breadcrumb-item>\n\t\t</ng-template>\n\t</nav>`\n            }]\n    }], function () { return [{ type: ɵngcc4.I18n }, { type: ɵngcc2.Router, decorators: [{\n                type: Optional\n            }] }]; }, { noTrailingSlash: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], navigation: [{\n            type: Output\n        }], skeleton: [{\n            type: Input\n        }], threshold: [{\n            type: Input\n        }], children: [{\n            type: ContentChildren,\n            args: [BreadcrumbItemComponent]\n        }], items: [{\n            type: Input\n        }] }); })();\n\nclass BreadcrumbModule {\n}\nBreadcrumbModule.ɵfac = function BreadcrumbModule_Factory(t) { return new (t || BreadcrumbModule)(); };\nBreadcrumbModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: BreadcrumbModule });\nBreadcrumbModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({ imports: [CommonModule,\n        DialogModule,\n        I18nModule] });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(BreadcrumbModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    Breadcrumb,\n                    BreadcrumbItemComponent\n                ],\n                exports: [\n                    Breadcrumb,\n                    BreadcrumbItemComponent\n                ],\n                imports: [\n                    CommonModule,\n                    DialogModule,\n                    I18nModule\n                ]\n            }]\n    }], null, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(BreadcrumbModule, { declarations: function () { return [Breadcrumb, BreadcrumbItemComponent]; }, imports: function () { return [CommonModule,\n        DialogModule,\n        I18nModule]; }, exports: function () { return [Breadcrumb, BreadcrumbItemComponent]; } }); })();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { Breadcrumb, BreadcrumbItemComponent, BreadcrumbModule };\n\n","/**\n *\n * carbon-angular v0.0.0 | carbon-components-angular-button.js\n *\n * Copyright 2014, 2023 IBM\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\nimport { Directive, HostBinding, Input, Component, NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\n/**\n * A convenience directive for applying styling to a button.\n *\n * [See demo](../../?path=/story/components-button--basic)\n *\n * Example:\n *\n * ```html\n * <button ibmButton>A button</button>\n * <button ibmButton=\"secondary\">A secondary button</button>\n * ```\n *\n * See the [vanilla carbon docs](http://www.carbondesignsystem.com/components/button/code) for more detail.\n *\n * <example-url>../../iframe.html?id=components-button--basic</example-url>\n */\nimport * as ɵngcc0 from '@angular/core';\n\nconst _c0 = [\"*\"];\nclass Button {\n    constructor() {\n        /**\n         * sets the button type\n         */\n        this.ibmButton = \"primary\";\n        /**\n         * If assistive text is used, this specifies the placement.\n         * Possible placements are `top`, `bottom`, `left`, `right`.\n         * If assistive text is not used, this can be left undefined.\n         */\n        this.assistiveTextPlacement = \"top\";\n        /**\n         * If assistive text is used, this specifies the alignment.\n         * Possible alignments are `center`, `start`, `end`.\n         * If assistive text is not used, this can be left undefined.\n         */\n        this.assistiveTextAlignment = \"center\";\n        /**\n         * Set to `true` for a skeleton state button\n         */\n        this.skeleton = false;\n        /**\n         * Set to `true` if the button contains only an icon, and a span with `.bx--assistive-text` containing the content\n         * For example:\n         *\n         * <button ibmButton=\"primary\" [iconOnly]=\"true\" [hasAssistiveText]=\"true\">\n         *    <svg class=\"bx--btn__icon\" ibmIconCopy size=\"20\"></svg>\n         *    <span class=\"bx--assistive-text\">Icon description</span>\n         * </button>\n         */\n        this.iconOnly = false;\n        /**\n         * Set to `true` for a \"expressive\" style button\n         */\n        this.isExpressive = false;\n        this.toolbarAction = false;\n        this.overflowMenu = false;\n        /**\n         * `hasAssistiveText` input specifies whether the button contains assistive text or not.\n         * Assistive text can be utilized as follows:\n         * ```typescript\n         *\t<button\n         *\t\tibmButton=\"tertiary\"\n         *\t\t[iconOnly]=\"true\"\n         *\t\t[hasAssistiveText]=\"true\"\n         *\t\tassistiveTextPlacement=\"top\"\n         *\t\tassistiveTextAlignment=\"center\">\n         *\t\t<svg class=\"bx--btn__icon\" ibmIcon=\"copy\" size=\"20\"></svg>\n         *\t\t<span class=\"bx--assistive-text\">Icon description</span>\n         *\t</button>\n         * ```\n         */\n        this.hasAssistiveText = false;\n    }\n    // a whole lot of HostBindings ... this way we don't have to touch the elementRef directly\n    get baseClass() {\n        return !this.toolbarAction;\n    }\n    get primaryButton() {\n        return this.ibmButton === \"primary\";\n    }\n    get secondaryButton() {\n        return this.ibmButton === \"secondary\";\n    }\n    get tertiaryButton() {\n        return this.ibmButton === \"tertiary\";\n    }\n    get ghostButton() {\n        return this.ibmButton === \"ghost\";\n    }\n    get dangerButton() {\n        return this.ibmButton === \"danger\" || this.ibmButton === \"danger--primary\";\n    }\n    get dangerTertiary() {\n        return this.ibmButton === \"danger--tertiary\";\n    }\n    get dangerGhost() {\n        return this.ibmButton === \"danger--ghost\";\n    }\n    get smallSize() {\n        return this.size === \"sm\";\n    }\n    get largeSize() {\n        return this.size === \"lg\";\n    }\n    get extraLargeSize() {\n        return this.size === \"xl\";\n    }\n    get fieldSize() {\n        return this.size === \"field\";\n    }\n    get isAssistiveTextCenterAligned() {\n        return this.hasAssistiveText && this.assistiveTextAlignment === \"center\";\n    }\n    get isAssistiveTextStartAligned() {\n        return this.hasAssistiveText && this.assistiveTextAlignment === \"start\";\n    }\n    get isAssistiveTextEndAligned() {\n        return this.hasAssistiveText && this.assistiveTextAlignment === \"end\";\n    }\n    get isAssistiveTextTopPositioned() {\n        return this.hasAssistiveText && this.assistiveTextPlacement === \"top\";\n    }\n    get isAssistiveTextBottomPositioned() {\n        return this.hasAssistiveText && this.assistiveTextPlacement === \"bottom\";\n    }\n    get isAssistiveTextLeftPositioned() {\n        return this.hasAssistiveText && this.assistiveTextPlacement === \"left\";\n    }\n    get isAssistiveTextRightPositioned() {\n        return this.hasAssistiveText && this.assistiveTextPlacement === \"right\";\n    }\n    ngOnInit() {\n        if (!this.ibmButton) {\n            this.ibmButton = \"primary\";\n        }\n    }\n}\nButton.ɵfac = function Button_Factory(t) { return new (t || Button)(); };\nButton.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: Button, selectors: [[\"\", \"ibmButton\", \"\"]], hostVars: 52, hostBindings: function Button_HostBindings(rf, ctx) { if (rf & 2) {\n        ɵngcc0.ɵɵclassProp(\"bx--skeleton\", ctx.skeleton)(\"bx--btn--icon-only\", ctx.iconOnly)(\"bx--btn--expressive\", ctx.isExpressive)(\"bx--toolbar-action\", ctx.toolbarAction)(\"bx--overflow-menu\", ctx.overflowMenu)(\"bx--tooltip__trigger\", ctx.hasAssistiveText)(\"bx--tooltip--a11y\", ctx.hasAssistiveText)(\"bx--btn\", ctx.baseClass)(\"bx--btn--primary\", ctx.primaryButton)(\"bx--btn--secondary\", ctx.secondaryButton)(\"bx--btn--tertiary\", ctx.tertiaryButton)(\"bx--btn--ghost\", ctx.ghostButton)(\"bx--btn--danger\", ctx.dangerButton)(\"bx--btn--danger--tertiary\", ctx.dangerTertiary)(\"bx--btn--danger--ghost\", ctx.dangerGhost)(\"bx--btn--sm\", ctx.smallSize)(\"bx--btn--lg\", ctx.largeSize)(\"bx--btn--xl\", ctx.extraLargeSize)(\"bx--btn--field\", ctx.fieldSize)(\"bx--tooltip--align-center\", ctx.isAssistiveTextCenterAligned)(\"bx--tooltip--align-start\", ctx.isAssistiveTextStartAligned)(\"bx--tooltip--align-end\", ctx.isAssistiveTextEndAligned)(\"bx--tooltip--top\", ctx.isAssistiveTextTopPositioned)(\"bx--tooltip--bottom\", ctx.isAssistiveTextBottomPositioned)(\"bx--tooltip--left\", ctx.isAssistiveTextLeftPositioned)(\"bx--tooltip--right\", ctx.isAssistiveTextRightPositioned);\n    } }, inputs: { ibmButton: \"ibmButton\", assistiveTextPlacement: \"assistiveTextPlacement\", assistiveTextAlignment: \"assistiveTextAlignment\", skeleton: \"skeleton\", iconOnly: \"iconOnly\", isExpressive: \"isExpressive\", hasAssistiveText: \"hasAssistiveText\", size: \"size\" } });\nButton.propDecorators = {\n    ibmButton: [{ type: Input }],\n    size: [{ type: Input }],\n    assistiveTextPlacement: [{ type: Input }],\n    assistiveTextAlignment: [{ type: Input }],\n    skeleton: [{ type: HostBinding, args: [\"class.bx--skeleton\",] }, { type: Input }],\n    iconOnly: [{ type: HostBinding, args: [\"class.bx--btn--icon-only\",] }, { type: Input }],\n    isExpressive: [{ type: HostBinding, args: [\"class.bx--btn--expressive\",] }, { type: Input }],\n    baseClass: [{ type: HostBinding, args: [\"class.bx--btn\",] }],\n    primaryButton: [{ type: HostBinding, args: [\"class.bx--btn--primary\",] }],\n    secondaryButton: [{ type: HostBinding, args: [\"class.bx--btn--secondary\",] }],\n    tertiaryButton: [{ type: HostBinding, args: [\"class.bx--btn--tertiary\",] }],\n    ghostButton: [{ type: HostBinding, args: [\"class.bx--btn--ghost\",] }],\n    dangerButton: [{ type: HostBinding, args: [\"class.bx--btn--danger\",] }],\n    dangerTertiary: [{ type: HostBinding, args: [\"class.bx--btn--danger--tertiary\",] }],\n    dangerGhost: [{ type: HostBinding, args: [\"class.bx--btn--danger--ghost\",] }],\n    smallSize: [{ type: HostBinding, args: [\"class.bx--btn--sm\",] }],\n    largeSize: [{ type: HostBinding, args: [\"class.bx--btn--lg\",] }],\n    extraLargeSize: [{ type: HostBinding, args: [\"class.bx--btn--xl\",] }],\n    fieldSize: [{ type: HostBinding, args: [\"class.bx--btn--field\",] }],\n    toolbarAction: [{ type: HostBinding, args: [\"class.bx--toolbar-action\",] }],\n    overflowMenu: [{ type: HostBinding, args: [\"class.bx--overflow-menu\",] }],\n    hasAssistiveText: [{ type: HostBinding, args: [\"class.bx--tooltip__trigger\",] }, { type: HostBinding, args: [\"class.bx--tooltip--a11y\",] }, { type: Input }],\n    isAssistiveTextCenterAligned: [{ type: HostBinding, args: [\"class.bx--tooltip--align-center\",] }],\n    isAssistiveTextStartAligned: [{ type: HostBinding, args: [\"class.bx--tooltip--align-start\",] }],\n    isAssistiveTextEndAligned: [{ type: HostBinding, args: [\"class.bx--tooltip--align-end\",] }],\n    isAssistiveTextTopPositioned: [{ type: HostBinding, args: [\"class.bx--tooltip--top\",] }],\n    isAssistiveTextBottomPositioned: [{ type: HostBinding, args: [\"class.bx--tooltip--bottom\",] }],\n    isAssistiveTextLeftPositioned: [{ type: HostBinding, args: [\"class.bx--tooltip--left\",] }],\n    isAssistiveTextRightPositioned: [{ type: HostBinding, args: [\"class.bx--tooltip--right\",] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(Button, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmButton]\"\n            }]\n    }], function () { return []; }, { ibmButton: [{\n            type: Input\n        }], assistiveTextPlacement: [{\n            type: Input\n        }], assistiveTextAlignment: [{\n            type: Input\n        }], skeleton: [{\n            type: HostBinding,\n            args: [\"class.bx--skeleton\"]\n        }, {\n            type: Input\n        }], iconOnly: [{\n            type: HostBinding,\n            args: [\"class.bx--btn--icon-only\"]\n        }, {\n            type: Input\n        }], isExpressive: [{\n            type: HostBinding,\n            args: [\"class.bx--btn--expressive\"]\n        }, {\n            type: Input\n        }], toolbarAction: [{\n            type: HostBinding,\n            args: [\"class.bx--toolbar-action\"]\n        }], overflowMenu: [{\n            type: HostBinding,\n            args: [\"class.bx--overflow-menu\"]\n        }], hasAssistiveText: [{\n            type: HostBinding,\n            args: [\"class.bx--tooltip__trigger\"]\n        }, {\n            type: HostBinding,\n            args: [\"class.bx--tooltip--a11y\"]\n        }, {\n            type: Input\n        }], baseClass: [{\n            type: HostBinding,\n            args: [\"class.bx--btn\"]\n        }], primaryButton: [{\n            type: HostBinding,\n            args: [\"class.bx--btn--primary\"]\n        }], secondaryButton: [{\n            type: HostBinding,\n            args: [\"class.bx--btn--secondary\"]\n        }], tertiaryButton: [{\n            type: HostBinding,\n            args: [\"class.bx--btn--tertiary\"]\n        }], ghostButton: [{\n            type: HostBinding,\n            args: [\"class.bx--btn--ghost\"]\n        }], dangerButton: [{\n            type: HostBinding,\n            args: [\"class.bx--btn--danger\"]\n        }], dangerTertiary: [{\n            type: HostBinding,\n            args: [\"class.bx--btn--danger--tertiary\"]\n        }], dangerGhost: [{\n            type: HostBinding,\n            args: [\"class.bx--btn--danger--ghost\"]\n        }], smallSize: [{\n            type: HostBinding,\n            args: [\"class.bx--btn--sm\"]\n        }], largeSize: [{\n            type: HostBinding,\n            args: [\"class.bx--btn--lg\"]\n        }], extraLargeSize: [{\n            type: HostBinding,\n            args: [\"class.bx--btn--xl\"]\n        }], fieldSize: [{\n            type: HostBinding,\n            args: [\"class.bx--btn--field\"]\n        }], isAssistiveTextCenterAligned: [{\n            type: HostBinding,\n            args: [\"class.bx--tooltip--align-center\"]\n        }], isAssistiveTextStartAligned: [{\n            type: HostBinding,\n            args: [\"class.bx--tooltip--align-start\"]\n        }], isAssistiveTextEndAligned: [{\n            type: HostBinding,\n            args: [\"class.bx--tooltip--align-end\"]\n        }], isAssistiveTextTopPositioned: [{\n            type: HostBinding,\n            args: [\"class.bx--tooltip--top\"]\n        }], isAssistiveTextBottomPositioned: [{\n            type: HostBinding,\n            args: [\"class.bx--tooltip--bottom\"]\n        }], isAssistiveTextLeftPositioned: [{\n            type: HostBinding,\n            args: [\"class.bx--tooltip--left\"]\n        }], isAssistiveTextRightPositioned: [{\n            type: HostBinding,\n            args: [\"class.bx--tooltip--right\"]\n        }], size: [{\n            type: Input\n        }] }); })();\n\nclass ButtonSet {\n    constructor() {\n        this.buttonSetClass = true;\n    }\n}\nButtonSet.ɵfac = function ButtonSet_Factory(t) { return new (t || ButtonSet)(); };\nButtonSet.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: ButtonSet, selectors: [[\"ibm-button-set\"]], hostVars: 2, hostBindings: function ButtonSet_HostBindings(rf, ctx) { if (rf & 2) {\n        ɵngcc0.ɵɵclassProp(\"bx--btn-set\", ctx.buttonSetClass);\n    } }, ngContentSelectors: _c0, decls: 1, vars: 0, template: function ButtonSet_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵprojectionDef();\n        ɵngcc0.ɵɵprojection(0);\n    } }, encapsulation: 2 });\nButtonSet.propDecorators = {\n    buttonSetClass: [{ type: HostBinding, args: [\"class.bx--btn-set\",] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ButtonSet, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-button-set\",\n                template: \"<ng-content></ng-content>\"\n            }]\n    }], function () { return []; }, { buttonSetClass: [{\n            type: HostBinding,\n            args: [\"class.bx--btn-set\"]\n        }] }); })();\n\nclass ButtonModule {\n}\nButtonModule.ɵfac = function ButtonModule_Factory(t) { return new (t || ButtonModule)(); };\nButtonModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: ButtonModule });\nButtonModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({ imports: [CommonModule] });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ButtonModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [Button, ButtonSet],\n                exports: [Button, ButtonSet],\n                imports: [CommonModule]\n            }]\n    }], null, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(ButtonModule, { declarations: function () { return [Button, ButtonSet]; }, imports: function () { return [CommonModule]; }, exports: function () { return [Button, ButtonSet]; } }); })();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { Button, ButtonSet, ButtonModule };\n\n","/**\n *\n * carbon-angular v0.0.0 | carbon-components-angular-checkbox.js\n *\n * Copyright 2014, 2023 IBM\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\nimport { ChangeDetectionStrategy, ChangeDetectorRef, Component, EventEmitter, Input, Output, ViewChild, HostListener, NgModule } from '@angular/core';\nimport { NG_VALUE_ACCESSOR, FormsModule } from '@angular/forms';\nimport { CommonModule } from '@angular/common';\n\n/**\n * Defines the set of states for a checkbox component.\n */\nimport * as ɵngcc0 from '@angular/core';\nimport * as ɵngcc1 from '@angular/common';\n\nconst _c0 = [\"inputCheckbox\"];\nconst _c1 = function (a0) { return { \"bx--skeleton\": a0 }; };\nconst _c2 = function (a0) { return { \"bx--visually-hidden\": a0 }; };\nconst _c3 = [\"*\"];\nvar CheckboxState;\n(function (CheckboxState) {\n    CheckboxState[CheckboxState[\"Init\"] = 0] = \"Init\";\n    CheckboxState[CheckboxState[\"Indeterminate\"] = 1] = \"Indeterminate\";\n    CheckboxState[CheckboxState[\"Checked\"] = 2] = \"Checked\";\n    CheckboxState[CheckboxState[\"Unchecked\"] = 3] = \"Unchecked\";\n})(CheckboxState || (CheckboxState = {}));\n/**\n * Used to emit changes performed on checkbox components.\n *\n * @deprecated since v4\n */\nclass CheckboxChange {\n}\n/**\n * [See demo](../../?path=/story/components-checkbox--basic)\n *\n * <example-url>../../iframe.html?id=components-checkbox--basic</example-url>\n */\nclass Checkbox {\n    /**\n     * Creates an instance of `Checkbox`.\n     */\n    constructor(changeDetectorRef) {\n        this.changeDetectorRef = changeDetectorRef;\n        /**\n         * Size of the checkbox.\n         *\n         * @deprecated since v4\n         */\n        this.size = \"md\";\n        /**\n         * Set to `true` for checkbox to be rendered without any classes on the host element.\n         */\n        this.inline = false;\n        /**\n         * Set to `true` for a disabled checkbox.\n         */\n        this.disabled = false;\n        /**\n         * Set to `true` for a loading checkbox.\n         */\n        this.skeleton = false;\n        /**\n         * Set to `true` to hide the checkbox labels.\n         */\n        this.hideLabel = false;\n        /**\n         * The unique id for the checkbox component.\n         */\n        this.id = `checkbox-${Checkbox.checkboxCount}`;\n        /**\n         * Emits click event.\n         */\n        this.click = new EventEmitter();\n        /**\n         * Emits event notifying other classes when a change in state occurs on a checkbox after a\n         * click.\n         *\n         * @deprecated since v4 use `checked` and `checkedChange` instead\n         */\n        this.change = new EventEmitter();\n        /**\n         * Emits an event when the value of the checkbox changes.\n         *\n         * Allows double biding with the `checked` Input.\n         */\n        this.checkedChange = new EventEmitter();\n        /**\n         * Emits event notifying other classes when a change in state occurs specifically\n         * on an indeterminate checkbox.\n         */\n        this.indeterminateChange = new EventEmitter();\n        /**\n         * Set to `true` if the input checkbox is selected (or checked).\n         */\n        this._checked = false;\n        /**\n         * Set to `true` if the input checkbox is in state indeterminate.\n         */\n        this._indeterminate = false;\n        /**\n         * Keeps a reference to the checkboxes current state, as defined in `CheckboxState`.\n         */\n        this.currentCheckboxState = CheckboxState.Init;\n        /**\n         * Called when checkbox is blurred. Needed to properly implement `ControlValueAccessor`.\n         */\n        this.onTouched = () => { };\n        /**\n         * Method set in `registerOnChange` to propagate changes back to the form.\n         */\n        this.propagateChange = (_) => { };\n        Checkbox.checkboxCount++;\n    }\n    /**\n     * Used to set the `aria-label` attribute on the input element.\n     *\n     * @deprecated since v4 use the `ariaLabel` input instead\n     */\n    // tslint:disable-next-line:no-input-rename\n    set ariaLabel(value) {\n        this._ariaLabel = value;\n    }\n    get ariaLabel() {\n        return this._ariaLabel;\n    }\n    /**\n     * Used to set the `aria-labelledby` attribute on the input element.\n     *\n     * @deprecated since v4 use the `ariaLabelledby` input instead\n     */\n    // tslint:disable-next-line:no-input-rename\n    set ariaLabelledby(value) {\n        this._ariaLabelledby = value;\n    }\n    get ariaLabelledby() {\n        return this._ariaLabelledby;\n    }\n    /**\n     * Set the checkbox's indeterminate state to match the parameter and transition the view to reflect the change.\n     *\n     * Allows double binding with the `indeterminateChange` Output.\n     */\n    set indeterminate(indeterminate) {\n        if (indeterminate === this._indeterminate) {\n            return;\n        }\n        this._indeterminate = indeterminate;\n        if (this._indeterminate) {\n            this.transitionCheckboxState(CheckboxState.Indeterminate);\n        }\n        else {\n            this.transitionCheckboxState(this.checked ? CheckboxState.Checked : CheckboxState.Unchecked);\n        }\n        if (this.inputCheckbox && this.inputCheckbox.nativeElement) {\n            this.inputCheckbox.nativeElement.indeterminate = indeterminate;\n        }\n        this.changeDetectorRef.markForCheck();\n        this.indeterminateChange.emit(this._indeterminate);\n    }\n    /**\n     * Reflects whether the checkbox state is indeterminate.\n     */\n    get indeterminate() {\n        return this._indeterminate;\n    }\n    /**\n     * Sets the `checked` state. `true` for checked, `false` for unchecked\n     *\n     * Allows double binding with the `checkedChange` Output.\n     */\n    set checked(checked) {\n        this.setChecked(checked, false);\n    }\n    /**\n     * Returns value `true` if state is selected for the checkbox.\n     */\n    get checked() {\n        return this._checked;\n    }\n    /**\n     * Toggle the selected state of the checkbox.\n     */\n    toggle() {\n        // Flip checked and reset indeterminate\n        this.setChecked(!this.checked, true);\n    }\n    /**\n     * Writes a value from `ngModel` to the component.\n     *\n     * In this case the value is the `checked` property.\n     *\n     * @param value boolean, corresponds to the `checked` property.\n     */\n    writeValue(value) {\n        // Set checked and reset indeterminate\n        this.setChecked(!!value, true);\n    }\n    /**\n     * Sets a method in order to propagate changes back to the form.\n     */\n    registerOnChange(fn) {\n        this.propagateChange = fn;\n    }\n    /**\n     * Registers a callback to be triggered when the control has been touched.\n     * @param fn Callback to be triggered when the checkbox is touched.\n     */\n    registerOnTouched(fn) {\n        this.onTouched = fn;\n    }\n    /**\n     * `ControlValueAccessor` method to programmatically disable the checkbox.\n     *\n     * ex: `this.formGroup.get(\"myCheckbox\").disable();`\n     *\n     * @param isDisabled `true` to disable the checkbox\n     */\n    setDisabledState(isDisabled) {\n        this.disabled = isDisabled;\n        this.changeDetectorRef.markForCheck();\n    }\n    focusOut() {\n        this.onTouched();\n    }\n    /**\n     * Executes on the event of a change within `Checkbox` to block propagation.\n     */\n    onChange(event) {\n        event.stopPropagation();\n    }\n    /**\n     * Handles click events on the `Checkbox` and emits changes to other classes.\n     */\n    onClick(event) {\n        if (this.click.observers.length) {\n            // Disable default checkbox activation behavior which flips checked and resets indeterminate.\n            // This allows the parent component to control the checked/indeterminate properties.\n            event.preventDefault();\n            this.click.emit();\n            return;\n        }\n        if (!this.disabled) {\n            this.toggle();\n            this.transitionCheckboxState(this._checked ? CheckboxState.Checked : CheckboxState.Unchecked);\n            this.emitChangeEvent();\n        }\n    }\n    /**\n     * Handles changes between checkbox states.\n     */\n    transitionCheckboxState(newState) {\n        this.currentCheckboxState = newState;\n    }\n    /**\n     * Creates instance of `CheckboxChange` used to propagate the change event.\n     */\n    emitChangeEvent() {\n        /* begin deprecation */\n        let event = new CheckboxChange();\n        event.source = this;\n        event.checked = this.checked;\n        this.change.emit(event);\n        /* end deprecation */\n        this.checkedChange.emit(this.checked);\n        this.propagateChange(this.checked);\n    }\n    /**\n     * Updates the checkbox if it is in the indeterminate state.\n     */\n    ngAfterViewInit() {\n        if (this.indeterminate && this.inputCheckbox && this.inputCheckbox.nativeElement) {\n            this.inputCheckbox.nativeElement.indeterminate = true;\n        }\n    }\n    /**\n     * Sets checked state and optionally resets indeterminate state.\n     */\n    setChecked(checked, resetIndeterminate) {\n        if (checked === this._checked) {\n            return;\n        }\n        this._checked = checked;\n        // Reset indeterminate if requested\n        if (resetIndeterminate && this._indeterminate) {\n            this._indeterminate = false;\n            Promise.resolve().then(() => {\n                this.indeterminateChange.emit(this._indeterminate);\n            });\n        }\n        this.changeDetectorRef.markForCheck();\n    }\n}\nCheckbox.ɵfac = function Checkbox_Factory(t) { return new (t || Checkbox)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ChangeDetectorRef)); };\nCheckbox.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: Checkbox, selectors: [[\"ibm-checkbox\"]], viewQuery: function Checkbox_Query(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵviewQuery(_c0, 5);\n    } if (rf & 2) {\n        let _t;\n        ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.inputCheckbox = _t.first);\n    } }, hostBindings: function Checkbox_HostBindings(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵlistener(\"focusout\", function Checkbox_focusout_HostBindingHandler() { return ctx.focusOut(); });\n    } }, inputs: { size: \"size\", inline: \"inline\", disabled: \"disabled\", skeleton: \"skeleton\", hideLabel: \"hideLabel\", id: \"id\", ariaLabel: [\"aria-label\", \"ariaLabel\"], _ariaLabel: [\"ariaLabel\", \"_ariaLabel\"], ariaLabelledby: [\"aria-labelledby\", \"ariaLabelledby\"], _ariaLabelledby: [\"ariaLabelledby\", \"_ariaLabelledby\"], indeterminate: \"indeterminate\", checked: \"checked\", nested: \"nested\", name: \"name\", required: \"required\", value: \"value\" }, outputs: { click: \"click\", change: \"change\", checkedChange: \"checkedChange\", indeterminateChange: \"indeterminateChange\" }, features: [ɵngcc0.ɵɵProvidersFeature([\n            {\n                provide: NG_VALUE_ACCESSOR,\n                useExisting: Checkbox,\n                multi: true\n            }\n        ])], ngContentSelectors: _c3, decls: 6, vars: 15, consts: [[1, \"bx--form-item\", \"bx--checkbox-wrapper\"], [\"type\", \"checkbox\", 1, \"bx--checkbox\", 3, \"id\", \"value\", \"name\", \"required\", \"checked\", \"disabled\", \"change\", \"click\"], [\"inputCheckbox\", \"\"], [1, \"bx--checkbox-label\", 3, \"for\", \"ngClass\"], [1, \"bx--checkbox-label-text\", 3, \"ngClass\"]], template: function Checkbox_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵprojectionDef();\n        ɵngcc0.ɵɵelementStart(0, \"div\", 0)(1, \"input\", 1, 2);\n        ɵngcc0.ɵɵlistener(\"change\", function Checkbox_Template_input_change_1_listener($event) { return ctx.onChange($event); })(\"click\", function Checkbox_Template_input_click_1_listener($event) { return ctx.onClick($event); });\n        ɵngcc0.ɵɵelementEnd();\n        ɵngcc0.ɵɵelementStart(3, \"label\", 3)(4, \"span\", 4);\n        ɵngcc0.ɵɵprojection(5);\n        ɵngcc0.ɵɵelementEnd()()();\n    } if (rf & 2) {\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"id\", ctx.id + \"_input\")(\"value\", ctx.value)(\"name\", ctx.name)(\"required\", ctx.required)(\"checked\", ctx.checked)(\"disabled\", ctx.disabled);\n        ɵngcc0.ɵɵattribute(\"aria-labelledby\", ctx.ariaLabelledby);\n        ɵngcc0.ɵɵadvance(2);\n        ɵngcc0.ɵɵproperty(\"for\", ctx.id + \"_input\")(\"ngClass\", ɵngcc0.ɵɵpureFunction1(11, _c1, ctx.skeleton));\n        ɵngcc0.ɵɵattribute(\"aria-label\", ctx.ariaLabel);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction1(13, _c2, ctx.hideLabel));\n    } }, dependencies: [ɵngcc1.NgClass], encapsulation: 2, changeDetection: 0 });\n/**\n * Variable used for creating unique ids for checkbox components.\n */\nCheckbox.checkboxCount = 0;\n/** @nocollapse */\nCheckbox.ctorParameters = () => [\n    { type: ChangeDetectorRef }\n];\nCheckbox.propDecorators = {\n    size: [{ type: Input }],\n    nested: [{ type: Input }],\n    inline: [{ type: Input }],\n    disabled: [{ type: Input }],\n    skeleton: [{ type: Input }],\n    hideLabel: [{ type: Input }],\n    name: [{ type: Input }],\n    id: [{ type: Input }],\n    required: [{ type: Input }],\n    value: [{ type: Input }],\n    ariaLabel: [{ type: Input, args: [\"aria-label\",] }],\n    _ariaLabel: [{ type: Input, args: [\"ariaLabel\",] }],\n    ariaLabelledby: [{ type: Input, args: [\"aria-labelledby\",] }],\n    _ariaLabelledby: [{ type: Input, args: [\"ariaLabelledby\",] }],\n    indeterminate: [{ type: Input }],\n    checked: [{ type: Input }],\n    click: [{ type: Output }],\n    change: [{ type: Output }],\n    checkedChange: [{ type: Output }],\n    indeterminateChange: [{ type: Output }],\n    inputCheckbox: [{ type: ViewChild, args: [\"inputCheckbox\", { static: false },] }],\n    focusOut: [{ type: HostListener, args: [\"focusout\",] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(Checkbox, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-checkbox\",\n                template: `\n\t\t<div class=\"bx--form-item bx--checkbox-wrapper\">\n\t\t\t<input\n\t\t\t\t#inputCheckbox\n\t\t\t\tclass=\"bx--checkbox\"\n\t\t\t\ttype=\"checkbox\"\n\t\t\t\t[id]=\"id + '_input'\"\n\t\t\t\t[value]=\"value\"\n\t\t\t\t[name]=\"name\"\n\t\t\t\t[required]=\"required\"\n\t\t\t\t[checked]=\"checked\"\n\t\t\t\t[disabled]=\"disabled\"\n\t\t\t\t[attr.aria-labelledby]=\"ariaLabelledby\"\n\t\t\t\t(change)=\"onChange($event)\"\n\t\t\t\t(click)=\"onClick($event)\">\n\t\t\t<label\n\t\t\t\t[for]=\"id + '_input'\"\n\t\t\t\t[attr.aria-label]=\"ariaLabel\"\n\t\t\t\tclass=\"bx--checkbox-label\"\n\t\t\t\t[ngClass]=\"{\n\t\t\t\t\t'bx--skeleton' : skeleton\n\t\t\t\t}\">\n\t\t\t\t<span [ngClass]=\"{'bx--visually-hidden' : hideLabel}\" class=\"bx--checkbox-label-text\">\n\t\t\t\t\t<ng-content></ng-content>\n\t\t\t\t</span>\n\t\t\t</label>\n\t\t</div>\n\t`,\n                providers: [\n                    {\n                        provide: NG_VALUE_ACCESSOR,\n                        useExisting: Checkbox,\n                        multi: true\n                    }\n                ],\n                changeDetection: ChangeDetectionStrategy.OnPush\n            }]\n    }], function () { return [{ type: ɵngcc0.ChangeDetectorRef }]; }, { size: [{\n            type: Input\n        }], inline: [{\n            type: Input\n        }], disabled: [{\n            type: Input\n        }], skeleton: [{\n            type: Input\n        }], hideLabel: [{\n            type: Input\n        }], id: [{\n            type: Input\n        }], click: [{\n            type: Output\n        }], change: [{\n            type: Output\n        }], checkedChange: [{\n            type: Output\n        }], indeterminateChange: [{\n            type: Output\n        }], ariaLabel: [{\n            type: Input,\n            args: [\"aria-label\"]\n        }], _ariaLabel: [{\n            type: Input,\n            args: [\"ariaLabel\"]\n        }], ariaLabelledby: [{\n            type: Input,\n            args: [\"aria-labelledby\"]\n        }], _ariaLabelledby: [{\n            type: Input,\n            args: [\"ariaLabelledby\"]\n        }], indeterminate: [{\n            type: Input\n        }], checked: [{\n            type: Input\n        }], focusOut: [{\n            type: HostListener,\n            args: [\"focusout\"]\n        }], nested: [{\n            type: Input\n        }], name: [{\n            type: Input\n        }], required: [{\n            type: Input\n        }], value: [{\n            type: Input\n        }], inputCheckbox: [{\n            type: ViewChild,\n            args: [\"inputCheckbox\", { static: false }]\n        }] }); })();\n\n// modules\nclass CheckboxModule {\n}\nCheckboxModule.ɵfac = function CheckboxModule_Factory(t) { return new (t || CheckboxModule)(); };\nCheckboxModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: CheckboxModule });\nCheckboxModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({ imports: [CommonModule,\n        FormsModule] });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(CheckboxModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    Checkbox\n                ],\n                exports: [\n                    Checkbox\n                ],\n                imports: [\n                    CommonModule,\n                    FormsModule\n                ]\n            }]\n    }], null, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(CheckboxModule, { declarations: function () { return [Checkbox]; }, imports: function () { return [CommonModule,\n        FormsModule]; }, exports: function () { return [Checkbox]; } }); })();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { Checkbox, CheckboxState, CheckboxChange, CheckboxModule };\n\n","/**\n *\n * carbon-angular v0.0.0 | carbon-components-angular-combobox.js\n *\n * Copyright 2014, 2023 IBM\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { filter } from 'rxjs/operators';\nimport { Component, ContentChild, Input, Output, HostListener, ElementRef, ViewChild, EventEmitter, HostBinding, TemplateRef, NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { AbstractDropdownView, DropdownService, DropdownModule } from 'carbon-components-angular/dropdown';\nimport { I18n, I18nModule } from 'carbon-components-angular/i18n';\nimport { getScrollableParents, hasScrollableParents, UtilsModule } from 'carbon-components-angular/utils';\nimport { IconModule } from 'carbon-components-angular/icon';\n\n/**\n * ComboBoxes are similar to dropdowns, except a combobox provides an input field for users to search items and (optionally) add their own.\n * Multi-select comboboxes also provide \"pills\" of selected items.\n *\n * [See demo](../../?path=/story/components-combobox--basic)\n *\n * <example-url>../../iframe.html?id=components-combobox--basic</example-url>\n */\nimport * as ɵngcc0 from '@angular/core';\nimport * as ɵngcc1 from 'carbon-components-angular/dropdown';\nimport * as ɵngcc2 from 'carbon-components-angular/i18n';\nimport * as ɵngcc3 from '@angular/common';\nimport * as ɵngcc4 from 'carbon-components-angular/icon';\n\nconst _c0 = [\"dropdownMenu\"];\nconst _c1 = [\"input\"];\nconst _c2 = [\"listbox\"];\nfunction ComboBox_label_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainerStart(0);\n    ɵngcc0.ɵɵtext(1);\n    ɵngcc0.ɵɵelementContainerEnd();\n} if (rf & 2) {\n    const ctx_r12 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate(ctx_r12.label);\n} }\nfunction ComboBox_label_1_2_ng_template_0_Template(rf, ctx) { }\nfunction ComboBox_label_1_2_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵtemplate(0, ComboBox_label_1_2_ng_template_0_Template, 0, 0, \"ng-template\", 19);\n} if (rf & 2) {\n    const ctx_r13 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r13.label);\n} }\nconst _c3 = function (a0) { return { \"bx--label--disabled\": a0 }; };\nfunction ComboBox_label_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"label\", 18);\n    ɵngcc0.ɵɵtemplate(1, ComboBox_label_1_ng_container_1_Template, 2, 1, \"ng-container\", 15);\n    ɵngcc0.ɵɵtemplate(2, ComboBox_label_1_2_Template, 1, 1, null, 15);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r0 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵproperty(\"for\", ctx_r0.id)(\"ngClass\", ɵngcc0.ɵɵpureFunction1(4, _c3, ctx_r0.disabled));\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r0.isTemplate(ctx_r0.label));\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r0.isTemplate(ctx_r0.label));\n} }\nconst _c4 = function (a0) { return { \"bx--tag--disabled\": a0 }; };\nfunction ComboBox_div_5_Template(rf, ctx) { if (rf & 1) {\n    const _r16 = ɵngcc0.ɵɵgetCurrentView();\n    ɵngcc0.ɵɵelementStart(0, \"div\", 20)(1, \"span\", 21);\n    ɵngcc0.ɵɵtext(2);\n    ɵngcc0.ɵɵelementEnd();\n    ɵngcc0.ɵɵelementStart(3, \"button\", 22);\n    ɵngcc0.ɵɵlistener(\"click\", function ComboBox_div_5_Template_button_click_3_listener($event) { ɵngcc0.ɵɵrestoreView(_r16); const ctx_r15 = ɵngcc0.ɵɵnextContext(); return ɵngcc0.ɵɵresetView(ctx_r15.clearSelected($event)); })(\"blur\", function ComboBox_div_5_Template_button_blur_3_listener() { ɵngcc0.ɵɵrestoreView(_r16); const ctx_r17 = ɵngcc0.ɵɵnextContext(); return ɵngcc0.ɵɵresetView(ctx_r17.onBlur()); })(\"keydown.enter\", function ComboBox_div_5_Template_button_keydown_enter_3_listener($event) { ɵngcc0.ɵɵrestoreView(_r16); const ctx_r18 = ɵngcc0.ɵɵnextContext(); return ɵngcc0.ɵɵresetView(ctx_r18.clearSelected($event)); });\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵelementStart(4, \"svg\", 23);\n    ɵngcc0.ɵɵelement(5, \"path\", 24);\n    ɵngcc0.ɵɵelementEnd()()();\n} if (rf & 2) {\n    const ctx_r2 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction1(5, _c4, ctx_r2.disabled));\n    ɵngcc0.ɵɵadvance(2);\n    ɵngcc0.ɵɵtextInterpolate(ctx_r2.pills.length);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"title\", ctx_r2.clearSelectionsTitle)(\"disabled\", ctx_r2.disabled);\n    ɵngcc0.ɵɵattribute(\"aria-label\", ctx_r2.clearSelectionAria);\n} }\nfunction ComboBox__svg_svg_8_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵelement(0, \"svg\", 25);\n} }\nfunction ComboBox__svg_svg_9_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵelement(0, \"svg\", 26);\n} }\nfunction ComboBox_div_10_Template(rf, ctx) { if (rf & 1) {\n    const _r20 = ɵngcc0.ɵɵgetCurrentView();\n    ɵngcc0.ɵɵelementStart(0, \"div\", 27);\n    ɵngcc0.ɵɵlistener(\"keyup.enter\", function ComboBox_div_10_Template_div_keyup_enter_0_listener($event) { ɵngcc0.ɵɵrestoreView(_r20); const ctx_r19 = ɵngcc0.ɵɵnextContext(); return ɵngcc0.ɵɵresetView(ctx_r19.clearInput($event)); })(\"click\", function ComboBox_div_10_Template_div_click_0_listener($event) { ɵngcc0.ɵɵrestoreView(_r20); const ctx_r21 = ɵngcc0.ɵɵnextContext(); return ɵngcc0.ɵɵresetView(ctx_r21.clearInput($event)); })(\"blur\", function ComboBox_div_10_Template_div_blur_0_listener() { ɵngcc0.ɵɵrestoreView(_r20); const ctx_r22 = ɵngcc0.ɵɵnextContext(); return ɵngcc0.ɵɵresetView(ctx_r22.onBlur()); });\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵelement(1, \"svg\", 28);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r6 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵproperty(\"title\", ctx_r6.clearSelectionTitle);\n    ɵngcc0.ɵɵattribute(\"aria-label\", ctx_r6.clearSelectionAria);\n} }\nfunction ComboBox_ng_content_15_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵprojection(0, 0, [\"*ngIf\", \"open\"]);\n} }\nfunction ComboBox_div_16_ng_container_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainerStart(0);\n    ɵngcc0.ɵɵtext(1);\n    ɵngcc0.ɵɵelementContainerEnd();\n} if (rf & 2) {\n    const ctx_r23 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate(ctx_r23.helperText);\n} }\nfunction ComboBox_div_16_2_ng_template_0_Template(rf, ctx) { }\nfunction ComboBox_div_16_2_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵtemplate(0, ComboBox_div_16_2_ng_template_0_Template, 0, 0, \"ng-template\", 19);\n} if (rf & 2) {\n    const ctx_r24 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r24.helperText);\n} }\nconst _c5 = function (a0) { return { \"bx--form__helper-text--disabled\": a0 }; };\nfunction ComboBox_div_16_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"div\", 29);\n    ɵngcc0.ɵɵtemplate(1, ComboBox_div_16_ng_container_1_Template, 2, 1, \"ng-container\", 15);\n    ɵngcc0.ɵɵtemplate(2, ComboBox_div_16_2_Template, 1, 1, null, 15);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r9 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction1(3, _c5, ctx_r9.disabled));\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r9.isTemplate(ctx_r9.helperText));\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r9.isTemplate(ctx_r9.helperText));\n} }\nfunction ComboBox_div_17_ng_container_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainerStart(0);\n    ɵngcc0.ɵɵtext(1);\n    ɵngcc0.ɵɵelementContainerEnd();\n} if (rf & 2) {\n    const ctx_r26 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate(ctx_r26.invalidText);\n} }\nfunction ComboBox_div_17_2_ng_template_0_Template(rf, ctx) { }\nfunction ComboBox_div_17_2_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵtemplate(0, ComboBox_div_17_2_ng_template_0_Template, 0, 0, \"ng-template\", 19);\n} if (rf & 2) {\n    const ctx_r27 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r27.invalidText);\n} }\nfunction ComboBox_div_17_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"div\", 30);\n    ɵngcc0.ɵɵtemplate(1, ComboBox_div_17_ng_container_1_Template, 2, 1, \"ng-container\", 15);\n    ɵngcc0.ɵɵtemplate(2, ComboBox_div_17_2_Template, 1, 1, null, 15);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r10 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r10.isTemplate(ctx_r10.invalidText));\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r10.isTemplate(ctx_r10.invalidText));\n} }\nfunction ComboBox_div_18_ng_container_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainerStart(0);\n    ɵngcc0.ɵɵtext(1);\n    ɵngcc0.ɵɵelementContainerEnd();\n} if (rf & 2) {\n    const ctx_r29 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate(ctx_r29.warnText);\n} }\nfunction ComboBox_div_18_2_ng_template_0_Template(rf, ctx) { }\nfunction ComboBox_div_18_2_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵtemplate(0, ComboBox_div_18_2_ng_template_0_Template, 0, 0, \"ng-template\", 19);\n} if (rf & 2) {\n    const ctx_r30 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r30.warnText);\n} }\nfunction ComboBox_div_18_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"div\", 30);\n    ɵngcc0.ɵɵtemplate(1, ComboBox_div_18_ng_container_1_Template, 2, 1, \"ng-container\", 15);\n    ɵngcc0.ɵɵtemplate(2, ComboBox_div_18_2_Template, 1, 1, null, 15);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r11 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r11.isTemplate(ctx_r11.warnText));\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r11.isTemplate(ctx_r11.warnText));\n} }\nconst _c6 = function (a0, a1, a2, a3, a4, a5, a6) { return { \"bx--multi-select bx--multi-select--filterable\": a0, \"bx--list-box--light\": a1, \"bx--list-box--expanded\": a2, \"bx--list-box--sm\": a3, \"bx--list-box--lg\": a4, \"bx--list-box--disabled\": a5, \"bx--combo-box--warning bx--list-box--warning\": a6 }; };\nconst _c7 = function (a0) { return { \"bx--text-input--empty\": a0 }; };\nconst _c8 = function (a0) { return { \"bx--list-box__menu-icon--open\": a0 }; };\nconst _c9 = function (a0) { return { \"bx--list-box--up\": a0 }; };\nconst _c10 = [\"*\"];\nclass ComboBox {\n    /**\n     * Creates an instance of ComboBox.\n     */\n    constructor(elementRef, dropdownService, i18n) {\n        this.elementRef = elementRef;\n        this.dropdownService = dropdownService;\n        this.i18n = i18n;\n        this.id = `dropdown-${ComboBox.comboBoxCount++}`;\n        /**\n         * List of items to fill the content with.\n         *\n         * **Example:**\n         * ```javascript\n         * items = [\n         *\t\t{\n         *\t\t\tcontent: \"Abacus\",\n         *\t\t\tselected: false\n         *\t\t},\n         *\t\t{\n         *\t\t\tcontent: \"Byte\",\n         *\t\t\tselected: false,\n         *\t\t},\n         *\t\t{\n         *\t\t\tcontent: \"Computer\",\n         *\t\t\tselected: false\n         *\t\t},\n         *\t\t{\n         *\t\t\tcontent: \"Digital\",\n         *\t\t\tselected: false\n         *\t\t}\n         * ];\n         * ```\n         *\n         */\n        this.items = [];\n        /**\n         * Combo box type (supporting single or multi selection of items).\n         */\n        this.type = \"single\";\n        /**\n         * Combo box render size.\n         *\n         * @deprecated since v4\n         */\n        this.size = \"md\";\n        /**\n         * set to `true` to place the dropdown view inline with the component\n         */\n        this.appendInline = null;\n        /**\n         * Set to `true` to show the invalid state.\n         */\n        this.invalid = false;\n        /**\n        * Set to `true` to show a warning (contents set by warnText)\n        */\n        this.warn = false;\n        /**\n         * Max length value to limit input characters\n         */\n        this.maxLength = null;\n        /**\n         * `light` or `dark` dropdown theme\n         */\n        this.theme = \"dark\";\n        /**\n         * Specify feedback (mode) of the selection.\n         * `top`: selected item jumps to top\n         * `fixed`: selected item stays at its position\n         * `top-after-reopen`: selected item jump to top after reopen dropdown\n         */\n        this.selectionFeedback = \"top-after-reopen\";\n        /**\n         * Specify aria-autocomplete attribute of text input.\n         * \"list\", is the expected value for a combobox that invokes a drop-down list\n         */\n        this.autocomplete = \"list\";\n        /**\n         * Set to `true` to disable combobox.\n         */\n        this.disabled = false;\n        /**\n         * Emits a ListItem\n         *\n         * Example:\n         * ```javascript\n         * {\n         * \t\tcontent: \"one\",\n         * \t\tselected: true\n         * }\n         * ```\n         */\n        this.selected = new EventEmitter();\n        /**\n         * Intended to be used to add items to the list.\n         *\n         * Emits an event that includes the current item list, the suggested index for the new item, and a simple ListItem\n         *\n         * Example:\n         * ```javascript\n         *\t{\n         *\t\titems: [{content: \"one\", selected: true}, {content: \"two\", selected: true}],\n         *\t\tindex: 1,\n         *\t\tvalue: {\n         *\t\t\tcontent: \"some user string\",\n         *\t\t\tselected: false\n         *\t\t}\n         *\t}\n         * ```\n         *\n         *\n         * Example:\n         * ```javascript\n         * {\n         *\tafter: 1,\n         *\tvalue: \"some user string\"\n         * }\n         * ```\n         */\n        this.submit = new EventEmitter();\n        /** Emits an empty event when the menu is closed */\n        this.close = new EventEmitter();\n        /** Emits the search string from the input */\n        this.search = new EventEmitter();\n        /** Emits an event when the clear button is clicked. */\n        this.clear = new EventEmitter();\n        this.hostClass = true;\n        // @HostBinding(\"attr.role\") role = \"combobox\";\n        this.display = \"block\";\n        this.open = false;\n        this.showClearButton = false;\n        /** Selected items for multi-select combo-boxes. */\n        this.pills = [];\n        /** used to update the displayValue */\n        this.selectedValue = \"\";\n        this.outsideClick = this._outsideClick.bind(this);\n        this.keyboardNav = this._keyboardNav.bind(this);\n        /**\n         * controls whether the `drop-up` class is applied\n         */\n        this._dropUp = false;\n        this.noop = this._noop.bind(this);\n        this.onTouchedCallback = this._noop;\n        this.propagateChangeCallback = this._noop;\n        this._placeholder = this.i18n.getOverridable(\"COMBOBOX.PLACEHOLDER\");\n        this._closeMenuAria = this.i18n.getOverridable(\"COMBOBOX.A11Y.CLOSE_MENU\");\n        this._openMenuAria = this.i18n.getOverridable(\"COMBOBOX.A11Y.OPEN_MENU\");\n        this._clearSelectionsTitle = this.i18n.getOverridable(\"COMBOBOX.CLEAR_SELECTIONS\");\n        this._clearSelectionsAria = this.i18n.getOverridable(\"COMBOBOX.A11Y.CLEAR_SELECTIONS\");\n        this._clearSelectionTitle = this.i18n.getOverridable(\"COMBOBOX.CLEAR_SELECTED\");\n        this._clearSelectionAria = this.i18n.getOverridable(\"COMBOBOX.A11Y.CLEAR_SELECTED\");\n    }\n    /**\n     * Text to show when nothing is selected.\n     */\n    set placeholder(value) {\n        this._placeholder.override(value);\n    }\n    get placeholder() {\n        return this._placeholder.value;\n    }\n    /**\n     * Value to display for accessibility purposes on the combobox control menu when closed\n     */\n    set openMenuAria(value) {\n        this._openMenuAria.override(value);\n    }\n    get openMenuAria() {\n        return this._openMenuAria.value;\n    }\n    /**\n     * Value to display for accessibility purposes on the combobox control menu when opened\n     */\n    set closeMenuAria(value) {\n        this._closeMenuAria.override(value);\n    }\n    get closeMenuAria() {\n        return this._closeMenuAria.value;\n    }\n    /**\n     * Value to display on the clear selections icon, when multi is selected\n     */\n    set clearSelectionsTitle(value) {\n        this._clearSelectionsTitle.override(value);\n    }\n    get clearSelectionsTitle() {\n        return this._clearSelectionsTitle.value;\n    }\n    /**\n     * Value to display for accessibility purposes to clear selections, when multi is selected\n     */\n    set clearSelectionsAria(value) {\n        this._clearSelectionsAria.override(value);\n    }\n    get clearSelectionsAria() {\n        return this._clearSelectionsAria.value;\n    }\n    /**\n     * Value to display on the clear the selected item icon, when single is selected\n     */\n    set clearSelectionTitle(value) {\n        this._clearSelectionTitle.override(value);\n    }\n    get clearSelectionTitle() {\n        return this._clearSelectionTitle.value;\n    }\n    /**\n     * Value to display for accessibility purposes on the clear the selected item icon, when single is selected\n     */\n    set clearSelectionAria(value) {\n        this._clearSelectionAria.override(value);\n    }\n    get clearSelectionAria() {\n        return this._clearSelectionAria.value;\n    }\n    /**\n     * Lifecycle hook.\n     * Updates pills if necessary.\n     *\n     */\n    ngOnChanges(changes) {\n        if (changes.items) {\n            this.view.items = changes.items.currentValue;\n            this.updateSelected();\n            // If new items are added into the combobox while there is search input,\n            // repeat the search. Search should only trigger for type 'single' when there is no value selected.\n            if (this.type === \"multi\" || (this.type === \"single\" && !this.selectedValue)) {\n                this.onSearch(this.input.nativeElement.value, false);\n            }\n        }\n    }\n    /**\n     * Sets initial state that depends on child components\n     * Subscribes to select events and handles focus/filtering/initial list updates\n     */\n    ngAfterContentInit() {\n        if (this.view) {\n            this.view.type = this.type;\n            // function to check if the event is organic (isUpdate === false) or programmatic\n            const isUpdate = event => event && event.isUpdate;\n            this.view.select.subscribe(event => {\n                if (this.type === \"multi\") {\n                    this.updatePills();\n                    if (!isUpdate(event)) {\n                        if (this.itemValueKey && this.view.getSelected()) {\n                            const values = this.view.getSelected().map(item => item[this.itemValueKey]);\n                            this.propagateChangeCallback(values);\n                            // otherwise just pass up the values from `getSelected`\n                        }\n                        else {\n                            this.propagateChangeCallback(this.view.getSelected());\n                        }\n                    }\n                }\n                else {\n                    if (event.item && event.item.selected) {\n                        this.showClearButton = true;\n                        this.selectedValue = event.item.content;\n                        if (!isUpdate(event)) {\n                            if (this.itemValueKey) {\n                                this.propagateChangeCallback(event.item[this.itemValueKey]);\n                            }\n                            else {\n                                this.propagateChangeCallback(event.item);\n                            }\n                        }\n                    }\n                    else {\n                        this.selectedValue = \"\";\n                        if (!isUpdate(event)) {\n                            this.propagateChangeCallback(null);\n                        }\n                    }\n                    // not guarding these since the nativeElement has to be loaded\n                    // for select to even fire\n                    // only focus for \"organic\" selections\n                    if (!isUpdate(event)) {\n                        this.elementRef.nativeElement.querySelector(\"input\").focus();\n                        this.view.filterBy(\"\");\n                    }\n                    this.closeDropdown();\n                }\n                if (!isUpdate(event)) {\n                    this.selected.emit(event);\n                }\n            });\n            // update the rest of combobox with any pre-selected items\n            // setTimeout just defers the call to the next check cycle\n            setTimeout(() => {\n                this.updateSelected();\n            });\n            this.view.blurIntent.pipe(filter(v => v === \"top\")).subscribe(() => {\n                this.elementRef.nativeElement.querySelector(\".bx--text-input\").focus();\n            });\n        }\n    }\n    /**\n     * Binds event handlers against the rendered view\n     */\n    ngAfterViewInit() {\n        // if appendInline is default valued (null) we should:\n        // 1. if there are scrollable parents (not including body) don't append inline\n        //    this should also cover the case where the dropdown is in a modal\n        //    (where we _do_ want to append to the placeholder)\n        if (this.appendInline === null && hasScrollableParents(this.elementRef.nativeElement)) {\n            this.appendInline = false;\n            // 2. otherwise we should append inline\n        }\n        else if (this.appendInline === null) {\n            this.appendInline = true;\n        }\n    }\n    /**\n     * Removing the `Dropdown` from the body if it is appended to the body.\n     */\n    ngOnDestroy() {\n        if (!this.appendInline) {\n            this._appendToDropdown();\n        }\n    }\n    /**\n     * Handles `Escape/Tab` key closing the dropdown, and arrow up/down focus to/from the dropdown list.\n     */\n    hostkeys(ev) {\n        if (ev.key === \"Escape\") {\n            this.closeDropdown();\n        }\n        else if ((ev.key === \"ArrowDown\" || ev.key === \"Down\") // `\"Down\"` is IE specific value\n            && (!this.dropdownMenu || !this.dropdownMenu.nativeElement.contains(ev.target))) {\n            ev.stopPropagation();\n            this.openDropdown();\n            setTimeout(() => { this.view.initFocus(); }, 0);\n        }\n        if (this.open && ev.key === \"Tab\" &&\n            (this.dropdownMenu.nativeElement.contains(ev.target) || ev.target === this.input.nativeElement)) {\n            this.closeDropdown();\n        }\n        if (this.open && ev.key === \"Tab\" && ev.shiftKey) {\n            this.closeDropdown();\n        }\n    }\n    /*\n     * no-op method for null event listeners, and other no op calls\n     */\n    _noop() { }\n    /*\n     * propagates the value provided from ngModel\n     */\n    writeValue(value) {\n        if (this.type === \"single\") {\n            if (this.itemValueKey) {\n                // clone the specified item and update its state\n                const newValue = Object.assign({}, this.view.getListItems().find(item => item[this.itemValueKey] === value));\n                newValue.selected = true;\n                this.view.propagateSelected([newValue]);\n            }\n            else {\n                // all items in propagateSelected must be iterable\n                this.view.propagateSelected([value || \"\"]);\n            }\n            this.showClearButton = !!(value && this.view.getSelected().length);\n        }\n        else {\n            if (this.itemValueKey) {\n                // clone the items and update their state based on the received value array\n                // this way we don't lose any additional metadata that may be passed in via the `items` Input\n                let newValues = [];\n                for (const v of value) {\n                    for (const item of this.view.getListItems()) {\n                        if (item[this.itemValueKey] === v) {\n                            newValues.push(Object.assign({}, item, { selected: true }));\n                        }\n                    }\n                }\n                this.view.propagateSelected(newValues);\n            }\n            else {\n                this.view.propagateSelected(value ? value : [\"\"]);\n            }\n        }\n        this.updateSelected();\n    }\n    onBlur() {\n        this.onTouchedCallback();\n    }\n    registerOnChange(fn) {\n        this.propagateChangeCallback = fn;\n    }\n    registerOnTouched(fn) {\n        this.onTouchedCallback = fn;\n    }\n    /**\n     * `ControlValueAccessor` method to programmatically disable the combobox.\n     *\n     * ex: `this.formGroup.get(\"myCoolCombobox\").disable();`\n     */\n    setDisabledState(isDisabled) {\n        this.disabled = isDisabled;\n    }\n    /**\n     * Called by `n-pill-input` when the selected pills have changed.\n     */\n    updatePills() {\n        this.pills = this.view.getSelected() || [];\n        this.checkForReorder();\n    }\n    clearSelected(event) {\n        this.items = this.items.map(item => {\n            if (!item.disabled) {\n                item.selected = false;\n            }\n            return item;\n        });\n        this.view.items = this.items;\n        this.updatePills();\n        // clearSelected can only fire on type=multi\n        // so we just emit getSelected() (just in case there's any disabled but selected items)\n        const selected = this.view.getSelected();\n        this.propagateChangeCallback(selected);\n        this.selected.emit(selected);\n        this.clear.emit(event);\n    }\n    /**\n     * Closes the dropdown and emits the close event.\n     */\n    closeDropdown() {\n        this.open = false;\n        this.checkForReorder();\n        this.close.emit();\n        if (!this.appendInline) {\n            this._appendToDropdown();\n        }\n        document.removeEventListener(\"click\", this.outsideClick, true);\n    }\n    /**\n     * Opens the dropdown.\n     */\n    openDropdown() {\n        if (this.disabled) {\n            return;\n        }\n        this.open = true;\n        this._dropUp = false;\n        if (!this.appendInline) {\n            this._appendToBody();\n        }\n        document.addEventListener(\"click\", this.outsideClick, true);\n        // set the dropdown menu to drop up if it is near the bottom of the screen\n        // setTimeout lets us do the calculations after it is visible in the DOM\n        setTimeout(() => {\n            if (this.dropUp === null || this.dropUp === undefined) {\n                this._dropUp = this._shouldDropUp();\n            }\n        }, 0);\n    }\n    /**\n     * Toggles the dropdown.\n     */\n    toggleDropdown() {\n        if (this.open) {\n            this.closeDropdown();\n        }\n        else {\n            this.openDropdown();\n        }\n    }\n    /**\n     * Sets the list group filter, and manages single select item selection.\n     */\n    onSearch(searchString, shouldEmitSearch = true) {\n        if (shouldEmitSearch) {\n            this.search.emit(searchString);\n        }\n        this.showClearButton = !!searchString;\n        this.view.filterBy(searchString);\n        if (searchString !== \"\") {\n            if (!this.open) {\n                this.openDropdown();\n            }\n        }\n        else {\n            this.selectedValue = \"\";\n            if (this.type === \"multi\" &&\n                (this.selectionFeedback === \"top\" || this.selectionFeedback === \"top-after-reopen\")) {\n                this.view.reorderSelected();\n            }\n        }\n        if (this.type === \"single\") {\n            // deselect if the input doesn't match the content\n            // of any given item\n            const matches = this.view.getListItems().some(item => item.content.toLowerCase().includes(searchString.toLowerCase()));\n            if (!matches) {\n                const selected = this.view.getSelected();\n                if (!selected || !selected[0]) {\n                    this.view.filterBy(searchString);\n                }\n            }\n        }\n    }\n    /**\n     * Intended to be used to add items to the list.\n     */\n    onSubmit(event) {\n        this.submit.emit({\n            items: this.view.getListItems(),\n            index: 0,\n            value: {\n                content: event.target.value,\n                selected: false\n            }\n        });\n    }\n    clearInput(event) {\n        event.stopPropagation();\n        event.preventDefault();\n        if (this.type === \"single\") { // don't want to clear selected or close if multi\n            this.clearSelected(event);\n            this.closeDropdown();\n        }\n        this.selectedValue = \"\";\n        this.input.nativeElement.value = \"\";\n        this.showClearButton = false;\n        this.input.nativeElement.focus();\n        this.onSearch(this.input.nativeElement.value);\n    }\n    isTemplate(value) {\n        return value instanceof TemplateRef;\n    }\n    /**\n     * Handles keyboard events so users are controlling the `Dropdown` instead of unintentionally controlling outside elements.\n     */\n    _keyboardNav(event) {\n        // \"Esc\" is an IE specific value\n        if ((event.key === \"Escape\" || event.key === \"Esc\") && this.open) {\n            event.stopImmediatePropagation(); // don't unintentionally close modal if inside of it\n        }\n        if (event.key === \"Escape\" || event.key === \"Esc\") {\n            event.preventDefault();\n            this.closeDropdown();\n            this.input.nativeElement.focus();\n        }\n        else if (this.open && event.key === \"Tab\") {\n            // this way focus will start on the next focusable item from the dropdown\n            // not the top of the body!\n            this.input.nativeElement.focus();\n            this.input.nativeElement.dispatchEvent(new KeyboardEvent(\"keydown\", { bubbles: true, cancelable: true, key: \"Tab\" }));\n            this.closeDropdown();\n        }\n    }\n    /**\n     * Creates the `Dropdown` list as an element that is appended to the DOM body.\n     */\n    _appendToBody() {\n        this.dropdownService.appendToBody(this.listbox.nativeElement, this.dropdownMenu.nativeElement, `${this.elementRef.nativeElement.className}${this.open ? \" bx--list-box--expanded\" : \"\"}`);\n        this.dropdownMenu.nativeElement.addEventListener(\"keydown\", this.keyboardNav, true);\n    }\n    /**\n     * Creates the `Dropdown` list appending it to the dropdown parent object instead of the body.\n     */\n    _appendToDropdown() {\n        this.dropdownService.appendToDropdown(this.elementRef.nativeElement);\n        this.dropdownMenu.nativeElement.removeEventListener(\"keydown\", this.keyboardNav, true);\n    }\n    /**\n     * Detects whether or not the `Dropdown` list is visible within all scrollable parents.\n     * This can be overridden by passing in a value to the `dropUp` input.\n     */\n    _shouldDropUp() {\n        // check if dropdownMenu exists first.\n        const menu = this.dropdownMenu && this.dropdownMenu.nativeElement.querySelector(\".bx--list-box__menu\");\n        // check if menu exists first.\n        const menuRect = menu && menu.getBoundingClientRect();\n        if (menu && menuRect) {\n            const scrollableParents = getScrollableParents(menu);\n            return scrollableParents.reduce((shouldDropUp, parent) => {\n                const parentRect = parent.getBoundingClientRect();\n                const isBelowParent = !(menuRect.bottom <= parentRect.bottom);\n                return shouldDropUp || isBelowParent;\n            }, false);\n        }\n        return false;\n    }\n    /**\n     * Handles clicks outside of the `Dropdown` list.\n     */\n    _outsideClick(event) {\n        if (!this.elementRef.nativeElement.contains(event.target) &&\n            // if we're appendToBody the list isn't within the _elementRef,\n            // so we've got to check if our target is possibly in there too.\n            !this.dropdownMenu.nativeElement.contains(event.target)) {\n            this.closeDropdown();\n        }\n    }\n    updateSelected() {\n        const selected = this.view.getSelected();\n        if (this.type === \"multi\") {\n            this.updatePills();\n        }\n        else if (selected) {\n            const value = selected[0] ? selected[0].content : \"\";\n            const changeCallbackValue = selected[0] ? selected[0] : \"\";\n            this.selectedValue = value;\n            this.showClearButton = !!value;\n        }\n    }\n    checkForReorder() {\n        const topAfterReopen = !this.open && this.selectionFeedback === \"top-after-reopen\";\n        if ((this.type === \"multi\") && (topAfterReopen || this.selectionFeedback === \"top\")) {\n            this.view.reorderSelected(true);\n        }\n    }\n}\nComboBox.ɵfac = function ComboBox_Factory(t) { return new (t || ComboBox)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef), ɵngcc0.ɵɵdirectiveInject(ɵngcc1.DropdownService), ɵngcc0.ɵɵdirectiveInject(ɵngcc2.I18n)); };\nComboBox.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: ComboBox, selectors: [[\"ibm-combo-box\"]], contentQueries: function ComboBox_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {\n        ɵngcc0.ɵɵcontentQuery(dirIndex, AbstractDropdownView, 7);\n    } if (rf & 2) {\n        let _t;\n        ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.view = _t.first);\n    } }, viewQuery: function ComboBox_Query(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵviewQuery(_c0, 5);\n        ɵngcc0.ɵɵviewQuery(_c1, 7);\n        ɵngcc0.ɵɵviewQuery(_c2, 7);\n    } if (rf & 2) {\n        let _t;\n        ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.dropdownMenu = _t.first);\n        ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.input = _t.first);\n        ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.listbox = _t.first);\n    } }, hostVars: 4, hostBindings: function ComboBox_HostBindings(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵlistener(\"keydown\", function ComboBox_keydown_HostBindingHandler($event) { return ctx.hostkeys($event); });\n    } if (rf & 2) {\n        ɵngcc0.ɵɵstyleProp(\"display\", ctx.display);\n        ɵngcc0.ɵɵclassProp(\"bx--list-box__wrapper\", ctx.hostClass);\n    } }, inputs: { id: \"id\", items: \"items\", type: \"type\", size: \"size\", appendInline: \"appendInline\", invalid: \"invalid\", warn: \"warn\", maxLength: \"maxLength\", theme: \"theme\", selectionFeedback: \"selectionFeedback\", autocomplete: \"autocomplete\", disabled: \"disabled\", placeholder: \"placeholder\", openMenuAria: \"openMenuAria\", closeMenuAria: \"closeMenuAria\", clearSelectionsTitle: \"clearSelectionsTitle\", clearSelectionsAria: \"clearSelectionsAria\", clearSelectionTitle: \"clearSelectionTitle\", clearSelectionAria: \"clearSelectionAria\", itemValueKey: \"itemValueKey\", label: \"label\", helperText: \"helperText\", invalidText: \"invalidText\", warnText: \"warnText\", dropUp: \"dropUp\" }, outputs: { selected: \"selected\", submit: \"submit\", close: \"close\", search: \"search\", clear: \"clear\" }, features: [ɵngcc0.ɵɵProvidersFeature([\n            {\n                provide: NG_VALUE_ACCESSOR,\n                useExisting: ComboBox,\n                multi: true\n            }\n        ]), ɵngcc0.ɵɵNgOnChangesFeature], ngContentSelectors: _c10, decls: 19, vars: 39, consts: [[1, \"bx--list-box__wrapper\"], [\"class\", \"bx--label\", 3, \"for\", \"ngClass\", 4, \"ngIf\"], [1, \"bx--list-box\", \"bx--combo-box\", 3, \"ngClass\"], [\"listbox\", \"\"], [1, \"bx--list-box__field\", 3, \"click\", \"blur\"], [\"class\", \"bx--tag bx--tag--filter bx--tag--high-contrast\", 3, \"ngClass\", 4, \"ngIf\"], [\"type\", \"text\", \"autocomplete\", \"off\", \"role\", \"combobox\", \"tabindex\", \"0\", \"aria-haspopup\", \"listbox\", 1, \"bx--text-input\", 3, \"disabled\", \"value\", \"ngClass\", \"id\", \"placeholder\", \"input\", \"blur\", \"keydown.enter\"], [\"input\", \"\"], [\"ibmIcon\", \"warning--filled\", \"size\", \"16\", \"class\", \"bx--list-box__invalid-icon\", 4, \"ngIf\"], [\"ibmIcon\", \"warning--alt--filled\", \"size\", \"16\", \"class\", \"bx--list-box__invalid-icon bx--list-box__invalid-icon--warning\", 4, \"ngIf\"], [\"role\", \"button\", \"class\", \"bx--list-box__selection\", \"tabindex\", \"0\", 3, \"title\", \"keyup.enter\", \"click\", \"blur\", 4, \"ngIf\"], [\"type\", \"button\", \"role\", \"button\", \"tabindex\", \"-1\", 1, \"bx--list-box__menu-icon\", 3, \"title\", \"ngClass\"], [\"ibmIcon\", \"chevron--down\", \"size\", \"16\"], [3, \"ngClass\"], [\"dropdownMenu\", \"\"], [4, \"ngIf\"], [\"class\", \"bx--form__helper-text\", 3, \"ngClass\", 4, \"ngIf\"], [\"class\", \"bx--form-requirement\", 4, \"ngIf\"], [1, \"bx--label\", 3, \"for\", \"ngClass\"], [3, \"ngTemplateOutlet\"], [1, \"bx--tag\", \"bx--tag--filter\", \"bx--tag--high-contrast\", 3, \"ngClass\"], [1, \"bx--tag__label\"], [\"type\", \"button\", \"tabindex\", \"0\", 1, \"bx--tag__close-icon\", 3, \"title\", \"disabled\", \"click\", \"blur\", \"keydown.enter\"], [\"focusable\", \"false\", \"preserveAspectRatio\", \"xMidYMid meet\", \"role\", \"img\", \"xmlns\", \"http://www.w3.org/2000/svg\", \"width\", \"16\", \"height\", \"16\", \"viewBox\", \"0 0 16 16\", \"aria-hidden\", \"true\", 2, \"will-change\", \"transform\"], [\"d\", \"M12 4.7l-.7-.7L8 7.3 4.7 4l-.7.7L7.3 8 4 11.3l.7.7L8 8.7l3.3 3.3.7-.7L8.7 8z\"], [\"ibmIcon\", \"warning--filled\", \"size\", \"16\", 1, \"bx--list-box__invalid-icon\"], [\"ibmIcon\", \"warning--alt--filled\", \"size\", \"16\", 1, \"bx--list-box__invalid-icon\", \"bx--list-box__invalid-icon--warning\"], [\"role\", \"button\", \"tabindex\", \"0\", 1, \"bx--list-box__selection\", 3, \"title\", \"keyup.enter\", \"click\", \"blur\"], [\"ibmIcon\", \"close\", \"size\", \"16\"], [1, \"bx--form__helper-text\", 3, \"ngClass\"], [1, \"bx--form-requirement\"]], template: function ComboBox_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵprojectionDef();\n        ɵngcc0.ɵɵelementStart(0, \"div\", 0);\n        ɵngcc0.ɵɵtemplate(1, ComboBox_label_1_Template, 3, 6, \"label\", 1);\n        ɵngcc0.ɵɵelementStart(2, \"div\", 2, 3)(4, \"div\", 4);\n        ɵngcc0.ɵɵlistener(\"click\", function ComboBox_Template_div_click_4_listener() { return ctx.toggleDropdown(); })(\"blur\", function ComboBox_Template_div_blur_4_listener() { return ctx.onBlur(); });\n        ɵngcc0.ɵɵtemplate(5, ComboBox_div_5_Template, 6, 7, \"div\", 5);\n        ɵngcc0.ɵɵelementStart(6, \"input\", 6, 7);\n        ɵngcc0.ɵɵlistener(\"input\", function ComboBox_Template_input_input_6_listener($event) { return ctx.onSearch($event.target.value); })(\"blur\", function ComboBox_Template_input_blur_6_listener() { return ctx.onBlur(); })(\"keydown.enter\", function ComboBox_Template_input_keydown_enter_6_listener($event) { return ctx.onSubmit($event); });\n        ɵngcc0.ɵɵelementEnd();\n        ɵngcc0.ɵɵtemplate(8, ComboBox__svg_svg_8_Template, 1, 0, \"svg\", 8);\n        ɵngcc0.ɵɵtemplate(9, ComboBox__svg_svg_9_Template, 1, 0, \"svg\", 9);\n        ɵngcc0.ɵɵtemplate(10, ComboBox_div_10_Template, 2, 2, \"div\", 10);\n        ɵngcc0.ɵɵelementStart(11, \"button\", 11);\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(12, \"svg\", 12);\n        ɵngcc0.ɵɵelementEnd()();\n        ɵngcc0.ɵɵnamespaceHTML();\n        ɵngcc0.ɵɵelementStart(13, \"div\", 13, 14);\n        ɵngcc0.ɵɵtemplate(15, ComboBox_ng_content_15_Template, 1, 0, \"ng-content\", 15);\n        ɵngcc0.ɵɵelementEnd()();\n        ɵngcc0.ɵɵtemplate(16, ComboBox_div_16_Template, 3, 5, \"div\", 16);\n        ɵngcc0.ɵɵtemplate(17, ComboBox_div_17_Template, 3, 2, \"div\", 17);\n        ɵngcc0.ɵɵtemplate(18, ComboBox_div_18_Template, 3, 2, \"div\", 17);\n        ɵngcc0.ɵɵelementEnd();\n    } if (rf & 2) {\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.label);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction7(25, _c6, ctx.type === \"multi\", ctx.theme === \"light\", ctx.open, ctx.size === \"sm\", ctx.size === \"xl\", ctx.disabled, ctx.warn));\n        ɵngcc0.ɵɵattribute(\"data-invalid\", ctx.invalid ? true : null);\n        ɵngcc0.ɵɵadvance(3);\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.type === \"multi\" && ctx.pills.length > 0);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"disabled\", ctx.disabled)(\"value\", ctx.selectedValue)(\"ngClass\", ɵngcc0.ɵɵpureFunction1(33, _c7, !ctx.showClearButton))(\"id\", ctx.id)(\"placeholder\", ctx.placeholder);\n        ɵngcc0.ɵɵattribute(\"aria-labelledby\", ctx.id)(\"aria-expanded\", ctx.open)(\"maxlength\", ctx.maxLength)(\"aria-controls\", ctx.open ? ctx.view == null ? null : ctx.view.listId : null)(\"aria-autocomplete\", ctx.autocomplete);\n        ɵngcc0.ɵɵadvance(2);\n        ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.warn && ctx.invalid);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.invalid && ctx.warn);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.showClearButton);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"title\", ctx.open ? ctx.closeMenuAria : ctx.openMenuAria)(\"ngClass\", ɵngcc0.ɵɵpureFunction1(35, _c8, ctx.open));\n        ɵngcc0.ɵɵattribute(\"aria-label\", ctx.open ? ctx.closeMenuAria : ctx.openMenuAria);\n        ɵngcc0.ɵɵadvance(2);\n        ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction1(37, _c9, ctx.dropUp !== null && ctx.dropUp !== undefined ? ctx.dropUp : ctx._dropUp));\n        ɵngcc0.ɵɵadvance(2);\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.open);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.helperText && !ctx.invalid && !ctx.warn);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.warn && ctx.invalid);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.invalid && ctx.warn);\n    } }, dependencies: [ɵngcc3.NgClass, ɵngcc3.NgIf, ɵngcc3.NgTemplateOutlet, ɵngcc4.IconDirective], encapsulation: 2 });\nComboBox.comboBoxCount = 0;\n/** @nocollapse */\nComboBox.ctorParameters = () => [\n    { type: ElementRef },\n    { type: DropdownService },\n    { type: I18n }\n];\nComboBox.propDecorators = {\n    placeholder: [{ type: Input }],\n    openMenuAria: [{ type: Input }],\n    closeMenuAria: [{ type: Input }],\n    clearSelectionsTitle: [{ type: Input }],\n    clearSelectionsAria: [{ type: Input }],\n    clearSelectionTitle: [{ type: Input }],\n    clearSelectionAria: [{ type: Input }],\n    id: [{ type: Input }],\n    items: [{ type: Input }],\n    type: [{ type: Input }],\n    size: [{ type: Input }],\n    itemValueKey: [{ type: Input }],\n    label: [{ type: Input }],\n    helperText: [{ type: Input }],\n    appendInline: [{ type: Input }],\n    invalid: [{ type: Input }],\n    invalidText: [{ type: Input }],\n    warn: [{ type: Input }],\n    warnText: [{ type: Input }],\n    maxLength: [{ type: Input }],\n    theme: [{ type: Input }],\n    selectionFeedback: [{ type: Input }],\n    autocomplete: [{ type: Input }],\n    dropUp: [{ type: Input }],\n    disabled: [{ type: Input }],\n    selected: [{ type: Output }],\n    submit: [{ type: Output }],\n    close: [{ type: Output }],\n    search: [{ type: Output }],\n    clear: [{ type: Output }],\n    view: [{ type: ContentChild, args: [AbstractDropdownView, { static: true },] }],\n    dropdownMenu: [{ type: ViewChild, args: [\"dropdownMenu\", { static: false },] }],\n    input: [{ type: ViewChild, args: [\"input\", { static: true },] }],\n    listbox: [{ type: ViewChild, args: [\"listbox\", { static: true },] }],\n    hostClass: [{ type: HostBinding, args: [\"class.bx--list-box__wrapper\",] }],\n    display: [{ type: HostBinding, args: [\"style.display\",] }],\n    hostkeys: [{ type: HostListener, args: [\"keydown\", [\"$event\"],] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ComboBox, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-combo-box\",\n                template: `\n\t\t<div class=\"bx--list-box__wrapper\">\n\t\t\t<label\n\t\t\t\t*ngIf=\"label\"\n\t\t\t\t[for]=\"id\"\n\t\t\t\tclass=\"bx--label\"\n\t\t\t\t[ngClass]=\"{'bx--label--disabled': disabled}\">\n\t\t\t\t<ng-container *ngIf=\"!isTemplate(label)\">{{label}}</ng-container>\n\t\t\t\t<ng-template *ngIf=\"isTemplate(label)\" [ngTemplateOutlet]=\"label\"></ng-template>\n\t\t\t</label>\n\t\t\t<div\n\t\t\t\t#listbox\n\t\t\t\t[ngClass]=\"{\n\t\t\t\t\t'bx--multi-select bx--multi-select--filterable': type === 'multi',\n\t\t\t\t\t'bx--list-box--light': theme === 'light',\n\t\t\t\t\t'bx--list-box--expanded': open,\n\t\t\t\t\t'bx--list-box--sm': size === 'sm',\n\t\t\t\t\t'bx--list-box--lg': size === 'xl',\n\t\t\t\t\t'bx--list-box--disabled': disabled,\n\t\t\t\t\t'bx--combo-box--warning bx--list-box--warning': warn\n\t\t\t\t}\"\n\t\t\t\tclass=\"bx--list-box bx--combo-box\"\n\t\t\t\t[attr.data-invalid]=\"(invalid ? true : null)\">\n\t\t\t\t<div\n\t\t\t\t\tclass=\"bx--list-box__field\"\n\t\t\t\t\t(click)=\"toggleDropdown()\"\n\t\t\t\t\t(blur)=\"onBlur()\">\n\t\t\t\t\t<div\n\t\t\t\t\t\t*ngIf=\"type === 'multi' && pills.length > 0\"\n\t\t\t\t\t\tclass=\"bx--tag bx--tag--filter bx--tag--high-contrast\"\n\t\t\t\t\t\t[ngClass]=\"{'bx--tag--disabled': disabled}\">\n\t\t\t\t\t\t<span class=\"bx--tag__label\">{{ pills.length }}</span>\n\t\t\t\t\t\t<button\n\t\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\t\t(click)=\"clearSelected($event)\"\n\t\t\t\t\t\t\t(blur)=\"onBlur()\"\n\t\t\t\t\t\t\t(keydown.enter)=\"clearSelected($event)\"\n\t\t\t\t\t\t\tclass=\"bx--tag__close-icon\"\n\t\t\t\t\t\t\ttabindex=\"0\"\n\t\t\t\t\t\t\t[title]=\"clearSelectionsTitle\"\n\t\t\t\t\t\t\t[disabled]=\"disabled\"\n\t\t\t\t\t\t\t[attr.aria-label]=\"clearSelectionAria\">\n\t\t\t\t\t\t\t<svg\n\t\t\t\t\t\t\t\tfocusable=\"false\"\n\t\t\t\t\t\t\t\tpreserveAspectRatio=\"xMidYMid meet\"\n\t\t\t\t\t\t\t\tstyle=\"will-change: transform;\"\n\t\t\t\t\t\t\t\trole=\"img\"\n\t\t\t\t\t\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\t\t\t\t\t\twidth=\"16\"\n\t\t\t\t\t\t\t\theight=\"16\"\n\t\t\t\t\t\t\t\tviewBox=\"0 0 16 16\"\n\t\t\t\t\t\t\t\taria-hidden=\"true\">\n\t\t\t\t\t\t\t\t<path d=\"M12 4.7l-.7-.7L8 7.3 4.7 4l-.7.7L7.3 8 4 11.3l.7.7L8 8.7l3.3 3.3.7-.7L8.7 8z\"></path>\n\t\t\t\t\t\t\t</svg>\n\t\t\t\t\t\t</button>\n\t\t\t\t\t</div>\n\t\t\t\t\t<input\n\t\t\t\t\t\t#input\n\t\t\t\t\t\ttype=\"text\"\n\t\t\t\t\t\tautocomplete=\"off\"\n\t\t\t\t\t\trole=\"combobox\"\n\t\t\t\t\t\t[disabled]=\"disabled\"\n\t\t\t\t\t\t(input)=\"onSearch($event.target.value)\"\n\t\t\t\t\t\t(blur)=\"onBlur()\"\n\t\t\t\t\t\t(keydown.enter)=\"onSubmit($event)\"\n\t\t\t\t\t\t[value]=\"selectedValue\"\n\t\t\t\t\t\tclass=\"bx--text-input\"\n\t\t\t\t\t\t[ngClass]=\"{'bx--text-input--empty': !showClearButton}\"\n\t\t\t\t\t\ttabindex=\"0\"\n\t\t\t\t\t\t[id]=\"id\"\n\t\t\t\t\t\t[attr.aria-labelledby]=\"id\"\n\t\t\t\t\t\t[attr.aria-expanded]=\"open\"\n\t\t\t\t\t\taria-haspopup=\"listbox\"\n\t\t\t\t\t\t[attr.maxlength]=\"maxLength\"\n\t\t\t\t\t\t[attr.aria-controls]=\"open ? view?.listId : null\"\n\t\t\t\t\t\t[attr.aria-autocomplete]=\"autocomplete\"\n\t\t\t\t\t\t[placeholder]=\"placeholder\"/>\n\t\t\t\t\t<svg\n\t\t\t\t\t\t*ngIf=\"!warn && invalid\"\n\t\t\t\t\t\tibmIcon=\"warning--filled\"\n\t\t\t\t\t\tsize=\"16\"\n\t\t\t\t\t\tclass=\"bx--list-box__invalid-icon\">\n\t\t\t\t\t</svg>\n\t\t\t\t\t<svg\n\t\t\t\t\t\t*ngIf=\"!invalid && warn\"\n\t\t\t\t\t\tibmIcon=\"warning--alt--filled\"\n\t\t\t\t\t\tsize=\"16\"\n\t\t\t\t\t\tclass=\"bx--list-box__invalid-icon bx--list-box__invalid-icon--warning\">\n\t\t\t\t\t</svg>\n\t\t\t\t\t<div\n\t\t\t\t\t\t*ngIf=\"showClearButton\"\n\t\t\t\t\t\trole=\"button\"\n\t\t\t\t\t\tclass=\"bx--list-box__selection\"\n\t\t\t\t\t\ttabindex=\"0\"\n\t\t\t\t\t\t[attr.aria-label]=\"clearSelectionAria\"\n\t\t\t\t\t\t[title]=\"clearSelectionTitle\"\n\t\t\t\t\t\t(keyup.enter)=\"clearInput($event)\"\n\t\t\t\t\t\t(click)=\"clearInput($event)\"\n\t\t\t\t\t\t(blur)=\"onBlur()\">\n\t\t\t\t\t\t<svg ibmIcon=\"close\" size=\"16\"></svg>\n\t\t\t\t\t</div>\n\t\t\t\t\t<button\n\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\trole=\"button\"\n\t\t\t\t\t\ttabindex=\"-1\"\n\t\t\t\t\t\tclass=\"bx--list-box__menu-icon\"\n\t\t\t\t\t\t[title]=\"open ? closeMenuAria : openMenuAria\"\n\t\t\t\t\t\t[attr.aria-label]=\"open ? closeMenuAria : openMenuAria\"\n\t\t\t\t\t\t[ngClass]=\"{'bx--list-box__menu-icon--open': open}\">\n\t\t\t\t\t\t<svg ibmIcon=\"chevron--down\" size=\"16\"></svg>\n\t\t\t\t\t</button>\n\t\t\t\t</div>\n\t\t\t\t<div\n\t\t\t\t\t#dropdownMenu\n\t\t\t\t\t[ngClass]=\"{\n\t\t\t\t\t\t'bx--list-box--up': this.dropUp !== null && this.dropUp !== undefined ? dropUp : _dropUp\n\t\t\t\t\t}\">\n\t\t\t\t\t<ng-content *ngIf=\"open\"></ng-content>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div\n\t\t\t\t*ngIf=\"helperText && !invalid && !warn\"\n\t\t\t\tclass=\"bx--form__helper-text\"\n\t\t\t\t[ngClass]=\"{'bx--form__helper-text--disabled': disabled}\">\n\t\t\t\t<ng-container *ngIf=\"!isTemplate(helperText)\">{{helperText}}</ng-container>\n\t\t\t\t<ng-template *ngIf=\"isTemplate(helperText)\" [ngTemplateOutlet]=\"helperText\"></ng-template>\n\t\t\t</div>\n\t\t\t<div *ngIf=\"!warn && invalid\" class=\"bx--form-requirement\">\n\t\t\t\t<ng-container *ngIf=\"!isTemplate(invalidText)\">{{ invalidText }}</ng-container>\n\t\t\t\t<ng-template *ngIf=\"isTemplate(invalidText)\" [ngTemplateOutlet]=\"invalidText\"></ng-template>\n\t\t\t</div>\n\t\t\t<div *ngIf=\"!invalid && warn\" class=\"bx--form-requirement\">\n\t\t\t\t<ng-container *ngIf=\"!isTemplate(warnText)\">{{warnText}}</ng-container>\n\t\t\t\t<ng-template *ngIf=\"isTemplate(warnText)\" [ngTemplateOutlet]=\"warnText\"></ng-template>\n\t\t\t</div>\n\t\t</div>\n\t`,\n                providers: [\n                    {\n                        provide: NG_VALUE_ACCESSOR,\n                        useExisting: ComboBox,\n                        multi: true\n                    }\n                ]\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }, { type: ɵngcc1.DropdownService }, { type: ɵngcc2.I18n }]; }, { id: [{\n            type: Input\n        }], items: [{\n            type: Input\n        }], type: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }], appendInline: [{\n            type: Input\n        }], invalid: [{\n            type: Input\n        }], warn: [{\n            type: Input\n        }], maxLength: [{\n            type: Input\n        }], theme: [{\n            type: Input\n        }], selectionFeedback: [{\n            type: Input\n        }], autocomplete: [{\n            type: Input\n        }], disabled: [{\n            type: Input\n        }], selected: [{\n            type: Output\n        }], submit: [{\n            type: Output\n        }], close: [{\n            type: Output\n        }], search: [{\n            type: Output\n        }], clear: [{\n            type: Output\n        }], hostClass: [{\n            type: HostBinding,\n            args: [\"class.bx--list-box__wrapper\"]\n        }], display: [{\n            type: HostBinding,\n            args: [\"style.display\"]\n        }], placeholder: [{\n            type: Input\n        }], openMenuAria: [{\n            type: Input\n        }], closeMenuAria: [{\n            type: Input\n        }], clearSelectionsTitle: [{\n            type: Input\n        }], clearSelectionsAria: [{\n            type: Input\n        }], clearSelectionTitle: [{\n            type: Input\n        }], clearSelectionAria: [{\n            type: Input\n        }], \n    /**\n     * Handles `Escape/Tab` key closing the dropdown, and arrow up/down focus to/from the dropdown list.\n     */\n    hostkeys: [{\n            type: HostListener,\n            args: [\"keydown\", [\"$event\"]]\n        }], itemValueKey: [{\n            type: Input\n        }], label: [{\n            type: Input\n        }], helperText: [{\n            type: Input\n        }], invalidText: [{\n            type: Input\n        }], warnText: [{\n            type: Input\n        }], dropUp: [{\n            type: Input\n        }], view: [{\n            type: ContentChild,\n            args: [AbstractDropdownView, { static: true }]\n        }], dropdownMenu: [{\n            type: ViewChild,\n            args: [\"dropdownMenu\", { static: false }]\n        }], input: [{\n            type: ViewChild,\n            args: [\"input\", { static: true }]\n        }], listbox: [{\n            type: ViewChild,\n            args: [\"listbox\", { static: true }]\n        }] }); })();\n\nclass ComboBoxModule {\n}\nComboBoxModule.ɵfac = function ComboBoxModule_Factory(t) { return new (t || ComboBoxModule)(); };\nComboBoxModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: ComboBoxModule });\nComboBoxModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({ providers: [DropdownService], imports: [CommonModule,\n        DropdownModule,\n        I18nModule,\n        UtilsModule,\n        IconModule, DropdownModule] });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ComboBoxModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    ComboBox\n                ],\n                exports: [\n                    ComboBox,\n                    DropdownModule\n                ],\n                imports: [\n                    CommonModule,\n                    DropdownModule,\n                    I18nModule,\n                    UtilsModule,\n                    IconModule\n                ],\n                providers: [DropdownService]\n            }]\n    }], null, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(ComboBoxModule, { declarations: function () { return [ComboBox]; }, imports: function () { return [CommonModule,\n        DropdownModule,\n        I18nModule,\n        UtilsModule,\n        IconModule]; }, exports: function () { return [ComboBox, DropdownModule]; } }); })();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { ComboBox, ComboBoxModule };\n\n","/**\n *\n * carbon-angular v0.0.0 | carbon-components-angular-common.js\n *\n * Copyright 2014, 2023 IBM\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\nlet tabbableSelector = \"a[href], area[href], input:not([disabled]):not([tabindex=\\'-1\\']), \" +\n    \"button:not([disabled]):not([tabindex=\\'-1\\']),select:not([disabled]):not([tabindex=\\'-1\\']), \" +\n    \"textarea:not([disabled]):not([tabindex=\\'-1\\']), \" +\n    \"iframe, object, embed, *[tabindex]:not([tabindex=\\'-1\\']), *[contenteditable=true]\";\nlet tabbableSelectorIgnoreTabIndex = \"a[href], area[href], input:not([disabled]), \" +\n    \"button:not([disabled]),select:not([disabled]), \" +\n    \"textarea:not([disabled]), \" +\n    \"iframe, object, embed, *[tabindex], *[contenteditable=true]\";\nfunction getFocusElementList(element, selector = tabbableSelector) {\n    let elements = element.querySelectorAll(selector);\n    return elements ? Array.prototype.filter.call(elements, el => isVisible(el)) : elements;\n}\nfunction isFocusInFirstItem(event, list) {\n    if (list.length > 0) {\n        return (event.target || event.srcElement) === list[0];\n    }\n    return false;\n}\nfunction isFocusInLastItem(event, list) {\n    if (list.length > 0) {\n        return (event.target || event.srcElement) === list[list.length - 1];\n    }\n    return false;\n}\nfunction isElementFocused(event, element) {\n    return (event.target || event.srcElement) === element;\n}\nfunction focusFirstFocusableElement(list) {\n    if (list.length > 0) {\n        list[0].focus();\n        return true;\n    }\n    return false;\n}\nfunction focusLastFocusableElement(list) {\n    if (list.length > 0) {\n        list[list.length - 1].focus();\n        return true;\n    }\n    return false;\n}\nfunction isVisible(element) {\n    return !!(element.offsetWidth || element.offsetHeight || element.getClientRects().length);\n}\nfunction cycleTabs(event, element) {\n    if (event.key === \"Tab\") {\n        let list = getFocusElementList(element);\n        let focusChanged = false;\n        if (event.shiftKey) {\n            if (isFocusInFirstItem(event, list) || isElementFocused(event, element)) {\n                focusChanged = focusLastFocusableElement(list);\n            }\n        }\n        else {\n            if (isFocusInLastItem(event, list)) {\n                focusChanged = focusFirstFocusableElement(list);\n            }\n        }\n        if (focusChanged) {\n            event.preventDefault();\n            event.stopPropagation();\n        }\n    }\n}\n\n/**\n * Does what python's `range` function does, with a slightly different\n * signature because of Typescript limitations.\n *\n * Useful for numbered loops in angular templates, since we can do\n * a normal for loop.\n *\n * @export\n * @param stop Generate numbers up to, but not including this number\n * @param [start=0] Starting number of the sequence\n * @param [step=1] Difference between each number in the sequence\n * @returns an array with resulting numbers\n */\nfunction range(stop, start = 0, step = 1) {\n    return Array(Math.ceil((stop - start) / step)).fill(0).map((x, i) => i * step + start);\n}\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { cycleTabs, focusFirstFocusableElement, focusLastFocusableElement, getFocusElementList, isElementFocused, isFocusInFirstItem, isFocusInLastItem, isVisible, tabbableSelector, tabbableSelectorIgnoreTabIndex, range };\n\n","/**\n *\n * carbon-angular v0.0.0 | carbon-components-angular-datepicker-input.js\n *\n * Copyright 2014, 2023 IBM\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\nimport { CommonModule } from '@angular/common';\nimport { Component, Input, Output, EventEmitter, ElementRef, TemplateRef, ViewChild, NgModule } from '@angular/core';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { IconModule } from 'carbon-components-angular/icon';\n\nimport * as ɵngcc0 from '@angular/core';\nimport * as ɵngcc1 from '@angular/common';\nimport * as ɵngcc2 from 'carbon-components-angular/icon';\n\nconst _c0 = [\"input\"];\nfunction DatePickerInput_label_3_ng_container_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainerStart(0);\n    ɵngcc0.ɵɵtext(1);\n    ɵngcc0.ɵɵelementContainerEnd();\n} if (rf & 2) {\n    const ctx_r8 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate(ctx_r8.label);\n} }\nfunction DatePickerInput_label_3_2_ng_template_0_Template(rf, ctx) { }\nfunction DatePickerInput_label_3_2_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵtemplate(0, DatePickerInput_label_3_2_ng_template_0_Template, 0, 0, \"ng-template\", 13);\n} if (rf & 2) {\n    const ctx_r9 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r9.label);\n} }\nfunction DatePickerInput_label_3_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"label\", 11);\n    ɵngcc0.ɵɵtemplate(1, DatePickerInput_label_3_ng_container_1_Template, 2, 1, \"ng-container\", 12);\n    ɵngcc0.ɵɵtemplate(2, DatePickerInput_label_3_2_Template, 1, 1, null, 12);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r0 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵproperty(\"for\", ctx_r0.id);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r0.isTemplate(ctx_r0.label));\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r0.isTemplate(ctx_r0.label));\n} }\nconst _c1 = function (a0, a1) { return { \"bx--date-picker__input--sm\": a0, \"bx--date-picker__input--xl\": a1 }; };\nfunction DatePickerInput_input_5_Template(rf, ctx) { if (rf & 1) {\n    const _r13 = ɵngcc0.ɵɵgetCurrentView();\n    ɵngcc0.ɵɵelementStart(0, \"input\", 14, 15);\n    ɵngcc0.ɵɵlistener(\"change\", function DatePickerInput_input_5_Template_input_change_0_listener($event) { ɵngcc0.ɵɵrestoreView(_r13); const ctx_r12 = ɵngcc0.ɵɵnextContext(); return ɵngcc0.ɵɵresetView(ctx_r12.onChange($event)); });\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r1 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction2(7, _c1, ctx_r1.size === \"sm\", ctx_r1.size === \"xl\"))(\"value\", ctx_r1.value)(\"pattern\", ctx_r1.pattern)(\"placeholder\", ctx_r1.placeholder)(\"id\", ctx_r1.id)(\"disabled\", ctx_r1.disabled);\n    ɵngcc0.ɵɵattribute(\"data-invalid\", ctx_r1.invalid ? true : undefined);\n} }\nfunction DatePickerInput__svg_svg_6_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵelement(0, \"svg\", 16);\n} }\nfunction DatePickerInput__svg_svg_7_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵelement(0, \"svg\", 17);\n} }\nfunction DatePickerInput__svg_svg_8_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵelement(0, \"svg\", 18);\n} }\nfunction DatePickerInput_div_9_ng_container_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainerStart(0);\n    ɵngcc0.ɵɵtext(1);\n    ɵngcc0.ɵɵelementContainerEnd();\n} if (rf & 2) {\n    const ctx_r14 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate(ctx_r14.helperText);\n} }\nfunction DatePickerInput_div_9_2_ng_template_0_Template(rf, ctx) { }\nfunction DatePickerInput_div_9_2_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵtemplate(0, DatePickerInput_div_9_2_ng_template_0_Template, 0, 0, \"ng-template\", 13);\n} if (rf & 2) {\n    const ctx_r15 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r15.helperText);\n} }\nconst _c2 = function (a0) { return { \"bx--form__helper-text--disabled\": a0 }; };\nfunction DatePickerInput_div_9_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"div\", 19);\n    ɵngcc0.ɵɵtemplate(1, DatePickerInput_div_9_ng_container_1_Template, 2, 1, \"ng-container\", 12);\n    ɵngcc0.ɵɵtemplate(2, DatePickerInput_div_9_2_Template, 1, 1, null, 12);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r5 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction1(3, _c2, ctx_r5.disabled));\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r5.isTemplate(ctx_r5.helperText));\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r5.isTemplate(ctx_r5.helperText));\n} }\nfunction DatePickerInput_div_10_ng_container_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainerStart(0);\n    ɵngcc0.ɵɵtext(1);\n    ɵngcc0.ɵɵelementContainerEnd();\n} if (rf & 2) {\n    const ctx_r17 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate(ctx_r17.invalidText);\n} }\nfunction DatePickerInput_div_10_2_ng_template_0_Template(rf, ctx) { }\nfunction DatePickerInput_div_10_2_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵtemplate(0, DatePickerInput_div_10_2_ng_template_0_Template, 0, 0, \"ng-template\", 13);\n} if (rf & 2) {\n    const ctx_r18 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r18.invalidText);\n} }\nfunction DatePickerInput_div_10_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"div\", 20);\n    ɵngcc0.ɵɵtemplate(1, DatePickerInput_div_10_ng_container_1_Template, 2, 1, \"ng-container\", 12);\n    ɵngcc0.ɵɵtemplate(2, DatePickerInput_div_10_2_Template, 1, 1, null, 12);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r6 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r6.isTemplate(ctx_r6.invalidText));\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r6.isTemplate(ctx_r6.invalidText));\n} }\nfunction DatePickerInput_div_11_ng_container_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainerStart(0);\n    ɵngcc0.ɵɵtext(1);\n    ɵngcc0.ɵɵelementContainerEnd();\n} if (rf & 2) {\n    const ctx_r20 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate(ctx_r20.warnText);\n} }\nfunction DatePickerInput_div_11_2_ng_template_0_Template(rf, ctx) { }\nfunction DatePickerInput_div_11_2_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵtemplate(0, DatePickerInput_div_11_2_ng_template_0_Template, 0, 0, \"ng-template\", 13);\n} if (rf & 2) {\n    const ctx_r21 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r21.warnText);\n} }\nfunction DatePickerInput_div_11_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"div\", 20);\n    ɵngcc0.ɵɵtemplate(1, DatePickerInput_div_11_ng_container_1_Template, 2, 1, \"ng-container\", 12);\n    ɵngcc0.ɵɵtemplate(2, DatePickerInput_div_11_2_Template, 1, 1, null, 12);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r7 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r7.isTemplate(ctx_r7.warnText));\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r7.isTemplate(ctx_r7.warnText));\n} }\nconst _c3 = function (a0, a1, a2, a3, a4) { return { \"bx--date-picker--simple\": a0, \"bx--date-picker--single\": a1, \"bx--date-picker--range\": a2, \"bx--date-picker--light\": a3, \"bx--skeleton\": a4 }; };\nconst _c4 = function (a0, a1) { return { \"bx--date-picker-input__wrapper--invalid\": a0, \"bx--date-picker-input__wrapper--warn\": a1 }; };\nclass DatePickerInput {\n    constructor(elementRef) {\n        this.elementRef = elementRef;\n        /**\n         * Select a calendar type for the `model`.\n         * Internal purposes only.\n         */\n        this.type = \"simple\";\n        this.id = `datepicker-${DatePickerInput.datePickerCount++}`;\n        this.hasIcon = false;\n        this.placeholder = \"mm/dd/yyyy\";\n        this.pattern = \"^\\\\d{1,2}/\\\\d{1,2}/\\\\d{4}$\";\n        this.valueChange = new EventEmitter();\n        this.theme = \"dark\";\n        this.disabled = false;\n        /**\n         * Set to `true` for invalid state.\n         */\n        this.invalid = false;\n        /**\n          * Set to `true` to show a warning (contents set by warnText)\n          */\n        this.warn = false;\n        this.skeleton = false;\n        this.value = \"\";\n        this.size = \"md\";\n        this.onTouched = () => { };\n        this.propagateChange = (_) => { };\n    }\n    onChange(event) {\n        this.value = event.target.value;\n        this.valueChange.emit(this.value);\n        this.propagateChange(this.value);\n        this.onTouched();\n    }\n    writeValue(value) {\n        this.value = value;\n    }\n    registerOnChange(fn) {\n        this.propagateChange = fn;\n    }\n    registerOnTouched(fn) {\n        this.onTouched = fn;\n    }\n    isTemplate(value) {\n        return value instanceof TemplateRef;\n    }\n}\nDatePickerInput.ɵfac = function DatePickerInput_Factory(t) { return new (t || DatePickerInput)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nDatePickerInput.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: DatePickerInput, selectors: [[\"ibm-date-picker-input\"]], viewQuery: function DatePickerInput_Query(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵviewQuery(_c0, 5);\n    } if (rf & 2) {\n        let _t;\n        ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.input = _t.first);\n    } }, inputs: { type: \"type\", id: \"id\", hasIcon: \"hasIcon\", placeholder: \"placeholder\", pattern: \"pattern\", theme: \"theme\", disabled: \"disabled\", invalid: \"invalid\", warn: \"warn\", skeleton: \"skeleton\", value: \"value\", size: \"size\", label: \"label\", invalidText: \"invalidText\", warnText: \"warnText\", helperText: \"helperText\" }, outputs: { valueChange: \"valueChange\" }, features: [ɵngcc0.ɵɵProvidersFeature([\n            {\n                provide: NG_VALUE_ACCESSOR,\n                useExisting: DatePickerInput,\n                multi: true\n            }\n        ])], decls: 12, vars: 19, consts: [[1, \"bx--form-item\"], [1, \"bx--date-picker\", 3, \"ngClass\"], [1, \"bx--date-picker-container\"], [\"class\", \"bx--label\", 3, \"for\", 4, \"ngIf\"], [1, \"bx--date-picker-input__wrapper\", 3, \"ngClass\"], [\"autocomplete\", \"off\", \"type\", \"text\", \"class\", \"bx--date-picker__input\", 3, \"ngClass\", \"value\", \"pattern\", \"placeholder\", \"id\", \"disabled\", \"change\", 4, \"ngIf\"], [\"ibmIcon\", \"calendar\", \"size\", \"16\", \"class\", \"bx--date-picker__icon\", 4, \"ngIf\"], [\"class\", \"bx--date-picker__icon bx--date-picker__icon--invalid\", \"ibmIcon\", \"warning--filled\", \"size\", \"16\", 4, \"ngIf\"], [\"ibmIcon\", \"warning--alt--filled\", \"size\", \"16\", \"class\", \"bx--date-picker__icon bx--date-picker__icon--warn\", 4, \"ngIf\"], [\"class\", \"bx--form__helper-text\", 3, \"ngClass\", 4, \"ngIf\"], [\"class\", \"bx--form-requirement\", 4, \"ngIf\"], [1, \"bx--label\", 3, \"for\"], [4, \"ngIf\"], [3, \"ngTemplateOutlet\"], [\"autocomplete\", \"off\", \"type\", \"text\", 1, \"bx--date-picker__input\", 3, \"ngClass\", \"value\", \"pattern\", \"placeholder\", \"id\", \"disabled\", \"change\"], [\"input\", \"\"], [\"ibmIcon\", \"calendar\", \"size\", \"16\", 1, \"bx--date-picker__icon\"], [\"ibmIcon\", \"warning--filled\", \"size\", \"16\", 1, \"bx--date-picker__icon\", \"bx--date-picker__icon--invalid\"], [\"ibmIcon\", \"warning--alt--filled\", \"size\", \"16\", 1, \"bx--date-picker__icon\", \"bx--date-picker__icon--warn\"], [1, \"bx--form__helper-text\", 3, \"ngClass\"], [1, \"bx--form-requirement\"]], template: function DatePickerInput_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"div\", 2);\n        ɵngcc0.ɵɵtemplate(3, DatePickerInput_label_3_Template, 3, 3, \"label\", 3);\n        ɵngcc0.ɵɵelementStart(4, \"div\", 4);\n        ɵngcc0.ɵɵtemplate(5, DatePickerInput_input_5_Template, 2, 10, \"input\", 5);\n        ɵngcc0.ɵɵtemplate(6, DatePickerInput__svg_svg_6_Template, 1, 0, \"svg\", 6);\n        ɵngcc0.ɵɵtemplate(7, DatePickerInput__svg_svg_7_Template, 1, 0, \"svg\", 7);\n        ɵngcc0.ɵɵtemplate(8, DatePickerInput__svg_svg_8_Template, 1, 0, \"svg\", 8);\n        ɵngcc0.ɵɵelementEnd();\n        ɵngcc0.ɵɵtemplate(9, DatePickerInput_div_9_Template, 3, 5, \"div\", 9);\n        ɵngcc0.ɵɵtemplate(10, DatePickerInput_div_10_Template, 3, 2, \"div\", 10);\n        ɵngcc0.ɵɵtemplate(11, DatePickerInput_div_11_Template, 3, 2, \"div\", 10);\n        ɵngcc0.ɵɵelementEnd()()();\n    } if (rf & 2) {\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction5(10, _c3, ctx.type === \"simple\", ctx.type === \"single\", ctx.type === \"range\", ctx.theme === \"light\", ctx.skeleton));\n        ɵngcc0.ɵɵadvance(2);\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.label);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction2(16, _c4, ctx.invalid, ctx.warn));\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.skeleton);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.type !== \"simple\" && !ctx.warn && !ctx.invalid);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.warn && ctx.invalid);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.invalid && ctx.warn);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.helperText && !ctx.invalid && !ctx.warn);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.warn && ctx.invalid);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.invalid && ctx.warn);\n    } }, dependencies: [ɵngcc1.NgClass, ɵngcc1.NgIf, ɵngcc1.NgTemplateOutlet, ɵngcc2.IconDirective], encapsulation: 2 });\nDatePickerInput.datePickerCount = 0;\n/** @nocollapse */\nDatePickerInput.ctorParameters = () => [\n    { type: ElementRef }\n];\nDatePickerInput.propDecorators = {\n    type: [{ type: Input }],\n    id: [{ type: Input }],\n    hasIcon: [{ type: Input }],\n    label: [{ type: Input }],\n    placeholder: [{ type: Input }],\n    pattern: [{ type: Input }],\n    valueChange: [{ type: Output }],\n    theme: [{ type: Input }],\n    disabled: [{ type: Input }],\n    invalid: [{ type: Input }],\n    invalidText: [{ type: Input }],\n    warn: [{ type: Input }],\n    warnText: [{ type: Input }],\n    helperText: [{ type: Input }],\n    skeleton: [{ type: Input }],\n    value: [{ type: Input }],\n    size: [{ type: Input }],\n    input: [{ type: ViewChild, args: [\"input\", { static: false },] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(DatePickerInput, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-date-picker-input\",\n                template: `\n\t<div class=\"bx--form-item\">\n\t\t<div class=\"bx--date-picker\"\n\t\t\t[ngClass]=\"{\n\t\t\t\t'bx--date-picker--simple' : type === 'simple',\n\t\t\t\t'bx--date-picker--single' : type === 'single',\n\t\t\t\t'bx--date-picker--range' : type === 'range',\n\t\t\t\t'bx--date-picker--light' : theme === 'light',\n\t\t\t\t'bx--skeleton' : skeleton\n\t\t\t}\">\n\t\t\t<div class=\"bx--date-picker-container\">\n\t\t\t\t<label *ngIf=\"label\" [for]=\"id\" class=\"bx--label\">\n\t\t\t\t\t<ng-container *ngIf=\"!isTemplate(label)\">{{label}}</ng-container>\n\t\t\t\t\t<ng-template *ngIf=\"isTemplate(label)\" [ngTemplateOutlet]=\"label\"></ng-template>\n\t\t\t\t</label>\n\t\t\t\t<div class=\"bx--date-picker-input__wrapper\"\n\t\t\t\t\t[ngClass]=\"{\n\t\t\t\t\t\t'bx--date-picker-input__wrapper--invalid': invalid,\n\t\t\t\t\t\t'bx--date-picker-input__wrapper--warn': warn\n\t\t\t\t\t}\">\n\t\t\t\t\t<input\n\t\t\t\t\t\t#input\n\t\t\t\t\t\t*ngIf=\"!skeleton\"\n\t\t\t\t\t\tautocomplete=\"off\"\n\t\t\t\t\t\ttype=\"text\"\n\t\t\t\t\t\tclass=\"bx--date-picker__input\"\n\t\t\t\t\t\t[ngClass]=\"{\n\t\t\t\t\t\t\t'bx--date-picker__input--sm': size === 'sm',\n\t\t\t\t\t\t\t'bx--date-picker__input--xl': size === 'xl'\n\t\t\t\t\t\t}\"\n\t\t\t\t\t\t[attr.data-invalid]=\"invalid ? true : undefined\"\n\t\t\t\t\t\t[value]=\"value\"\n\t\t\t\t\t\t[pattern]=\"pattern\"\n\t\t\t\t\t\t[placeholder]=\"placeholder\"\n\t\t\t\t\t\t[id]= \"id\"\n\t\t\t\t\t\t[disabled]=\"disabled\"\n\t\t\t\t\t\t(change)=\"onChange($event)\"/>\n\t\t\t\t\t\t<svg\n\t\t\t\t\t\t\t*ngIf=\"type !== 'simple' && !warn && !invalid\"\n\t\t\t\t\t\t\tibmIcon=\"calendar\"\n\t\t\t\t\t\t\tsize=\"16\"\n\t\t\t\t\t\t\tclass=\"bx--date-picker__icon\">\n\t\t\t\t\t\t</svg>\n\t\t\t\t\t\t<svg\n\t\t\t\t\t\t\t*ngIf=\"!warn && invalid\"\n\t\t\t\t\t\t\tclass=\"bx--date-picker__icon bx--date-picker__icon--invalid\"\n\t\t\t\t\t\t\tibmIcon=\"warning--filled\"\n\t\t\t\t\t\t\tsize=\"16\">\n\t\t\t\t\t\t</svg>\n\t\t\t\t\t\t<svg\n\t\t\t\t\t\t\t*ngIf=\"!invalid && warn\"\n\t\t\t\t\t\t\tibmIcon=\"warning--alt--filled\"\n\t\t\t\t\t\t\tsize=\"16\"\n\t\t\t\t\t\t\tclass=\"bx--date-picker__icon bx--date-picker__icon--warn\">\n\t\t\t\t\t\t</svg>\n\t\t\t\t</div>\n\t\t\t\t<div\n\t\t\t\t\t*ngIf=\"helperText && !invalid && !warn\"\n\t\t\t\t\tclass=\"bx--form__helper-text\"\n\t\t\t\t\t[ngClass]=\"{'bx--form__helper-text--disabled': disabled}\">\n\t\t\t\t\t<ng-container *ngIf=\"!isTemplate(helperText)\">{{helperText}}</ng-container>\n\t\t\t\t\t<ng-template *ngIf=\"isTemplate(helperText)\" [ngTemplateOutlet]=\"helperText\"></ng-template>\n\t\t\t\t</div>\n\t\t\t\t<div *ngIf=\"!warn && invalid\" class=\"bx--form-requirement\">\n\t\t\t\t\t<ng-container *ngIf=\"!isTemplate(invalidText)\">{{invalidText}}</ng-container>\n\t\t\t\t\t<ng-template *ngIf=\"isTemplate(invalidText)\" [ngTemplateOutlet]=\"invalidText\"></ng-template>\n\t\t\t\t</div>\n\t\t\t\t<div *ngIf=\"!invalid && warn\" class=\"bx--form-requirement\">\n\t\t\t\t\t<ng-container *ngIf=\"!isTemplate(warnText)\">{{warnText}}</ng-container>\n\t\t\t\t\t<ng-template *ngIf=\"isTemplate(warnText)\" [ngTemplateOutlet]=\"warnText\"></ng-template>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n</div>\n\t`,\n                providers: [\n                    {\n                        provide: NG_VALUE_ACCESSOR,\n                        useExisting: DatePickerInput,\n                        multi: true\n                    }\n                ]\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { type: [{\n            type: Input\n        }], id: [{\n            type: Input\n        }], hasIcon: [{\n            type: Input\n        }], placeholder: [{\n            type: Input\n        }], pattern: [{\n            type: Input\n        }], valueChange: [{\n            type: Output\n        }], theme: [{\n            type: Input\n        }], disabled: [{\n            type: Input\n        }], invalid: [{\n            type: Input\n        }], warn: [{\n            type: Input\n        }], skeleton: [{\n            type: Input\n        }], value: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }], label: [{\n            type: Input\n        }], invalidText: [{\n            type: Input\n        }], warnText: [{\n            type: Input\n        }], helperText: [{\n            type: Input\n        }], input: [{\n            type: ViewChild,\n            args: [\"input\", { static: false }]\n        }] }); })();\n\nclass DatePickerInputModule {\n}\nDatePickerInputModule.ɵfac = function DatePickerInputModule_Factory(t) { return new (t || DatePickerInputModule)(); };\nDatePickerInputModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: DatePickerInputModule });\nDatePickerInputModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({ imports: [CommonModule,\n        IconModule] });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(DatePickerInputModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    DatePickerInput\n                ],\n                exports: [\n                    DatePickerInput\n                ],\n                imports: [\n                    CommonModule,\n                    IconModule\n                ]\n            }]\n    }], null, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(DatePickerInputModule, { declarations: function () { return [DatePickerInput]; }, imports: function () { return [CommonModule,\n        IconModule]; }, exports: function () { return [DatePickerInput]; } }); })();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { DatePickerInputModule, DatePickerInput };\n\n","/**\n *\n * carbon-angular v0.0.0 | carbon-components-angular-datepicker.js\n *\n * Copyright 2014, 2023 IBM\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\nimport rangePlugin from 'flatpickr/dist/plugins/rangePlugin';\nimport flatpickr from 'flatpickr';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\nimport languages__default from 'flatpickr/dist/l10n/index';\nimport { DatePickerInputModule } from 'carbon-components-angular/datepicker-input';\nimport { Component, Input, Output, EventEmitter, ViewEncapsulation, ElementRef, HostListener, ViewChild, NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { UtilsModule } from 'carbon-components-angular/utils';\nimport { I18n, I18nModule } from 'carbon-components-angular/i18n';\n\n/**\n * This is from carbon-components.\n * We need it to format the month select according to specs.\n * Carbon currently doesn't expose this as a seperate package,\n * and we don't import the carbon-components js (on purpose)\n * so some copy pasta is required\n *\n * ref: https://github.com/carbon-design-system/carbon/blob/\n * \tf06f38f0c2ef624e409a3d5711e897a79f4c88fc/packages/components/src/components/date-picker/date-picker.js#L52-L123\n */\nimport * as ɵngcc0 from '@angular/core';\nimport * as ɵngcc1 from 'carbon-components-angular/i18n';\nimport * as ɵngcc2 from '@angular/common';\nimport * as ɵngcc3 from 'carbon-components-angular/datepicker-input';\n\nconst _c0 = [\"input\"];\nconst _c1 = [\"rangeInput\"];\nfunction DatePicker_div_5_Template(rf, ctx) { if (rf & 1) {\n    const _r4 = ɵngcc0.ɵɵgetCurrentView();\n    ɵngcc0.ɵɵelementStart(0, \"div\", 2)(1, \"ibm-date-picker-input\", 3, 6);\n    ɵngcc0.ɵɵlistener(\"valueChange\", function DatePicker_div_5_Template_ibm_date_picker_input_valueChange_1_listener($event) { ɵngcc0.ɵɵrestoreView(_r4); const ctx_r3 = ɵngcc0.ɵɵnextContext(); return ɵngcc0.ɵɵresetView(ctx_r3.onRangeValueChange($event)); })(\"click\", function DatePicker_div_5_Template_ibm_date_picker_input_click_1_listener() { ɵngcc0.ɵɵrestoreView(_r4); const _r2 = ɵngcc0.ɵɵreference(2); const ctx_r5 = ɵngcc0.ɵɵnextContext(); return ɵngcc0.ɵɵresetView(ctx_r5.openCalendar(_r2)); });\n    ɵngcc0.ɵɵelementEnd()();\n} if (rf & 2) {\n    const ctx_r1 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"label\", ctx_r1.rangeLabel)(\"placeholder\", ctx_r1.placeholder)(\"pattern\", ctx_r1.inputPattern)(\"id\", ctx_r1.id + \"-rangeInput\")(\"size\", ctx_r1.size)(\"type\", ctx_r1.range ? \"range\" : \"single\")(\"hasIcon\", ctx_r1.range ? true : null)(\"disabled\", ctx_r1.disabled)(\"invalid\", ctx_r1.rangeInvalid)(\"invalidText\", ctx_r1.rangeInvalidText)(\"warn\", ctx_r1.rangeWarn)(\"warnText\", ctx_r1.rangeWarnText)(\"skeleton\", ctx_r1.skeleton)(\"helperText\", ctx_r1.rangeHelperText);\n} }\nconst _c2 = function (a0, a1, a2, a3) { return { \"bx--date-picker--range\": a0, \"bx--date-picker--single\": a1, \"bx--date-picker--light\": a2, \"bx--skeleton\": a3 }; };\nconst monthToStr = (monthNumber, shorthand, locale) => locale.months[shorthand ? \"shorthand\" : \"longhand\"][monthNumber];\nconst config = {\n    selectorInit: \"[data-date-picker]\",\n    selectorDatePickerInput: \"[data-date-picker-input]\",\n    selectorDatePickerInputFrom: \"[data-date-picker-input-from]\",\n    selectorDatePickerInputTo: \"[data-date-picker-input-to]\",\n    selectorDatePickerIcon: \"[data-date-picker-icon]\",\n    selectorFlatpickrMonthYearContainer: \".flatpickr-current-month\",\n    selectorFlatpickrYearContainer: \".numInputWrapper\",\n    selectorFlatpickrCurrentMonth: \".cur-month\",\n    classCalendarContainer: `bx--date-picker__calendar`,\n    classMonth: `bx--date-picker__month`,\n    classWeekdays: `bx--date-picker__weekdays`,\n    classDays: `bx--date-picker__days`,\n    classWeekday: `bx--date-picker__weekday`,\n    classDay: `bx--date-picker__day`,\n    classFocused: `bx--focused`,\n    classVisuallyHidden: `bx--visually-hidden`,\n    classFlatpickrCurrentMonth: \"cur-month\",\n    attribType: \"data-date-picker-type\",\n    dateFormat: \"m/d/Y\",\n    shorthand: false\n};\nconst carbonFlatpickrMonthSelectPlugin = fp => {\n    const setupElements = () => {\n        if (!fp.monthElements || !fp.yearElements) {\n            return;\n        }\n        fp.monthElements.forEach(elem => {\n            if (!elem.parentNode) {\n                return;\n            }\n            elem.parentNode.removeChild(elem);\n        });\n        fp.monthElements.splice(0, fp.monthElements.length, ...fp.monthElements.map(() => {\n            // eslint-disable-next-line no-underscore-dangle\n            const monthElement = fp._createElement(\"span\", config.classFlatpickrCurrentMonth);\n            monthElement.textContent = monthToStr(fp.currentMonth, config.shorthand === true, fp.l10n);\n            fp.yearElements[0]\n                .closest(config.selectorFlatpickrMonthYearContainer)\n                .insertBefore(monthElement, fp.yearElements[0].closest(config.selectorFlatpickrYearContainer));\n            return monthElement;\n        }));\n    };\n    const updateCurrentMonth = () => {\n        if (!fp.yearElements) {\n            return;\n        }\n        const monthStr = monthToStr(fp.currentMonth, config.shorthand === true, fp.l10n);\n        fp.yearElements.forEach(elem => {\n            const currentMonthContainer = elem.closest(config.selectorFlatpickrMonthYearContainer);\n            Array.prototype.forEach.call(currentMonthContainer.querySelectorAll(\".cur-month\"), monthElement => {\n                monthElement.textContent = monthStr;\n            });\n        });\n    };\n    const register = () => {\n        fp.loadedPlugins.push(\"carbonFlatpickrMonthSelectPlugin\");\n    };\n    return {\n        onMonthChange: updateCurrentMonth,\n        onValueUpdate: updateCurrentMonth,\n        onOpen: updateCurrentMonth,\n        onReady: [setupElements, updateCurrentMonth, register]\n    };\n};\n\n/**\n * [See demo](../../?path=/story/components-date-picker--single)\n *\n * <example-url>../../iframe.html?id=components-date-picker--single</example-url>\n */\nclass DatePicker {\n    constructor(elementRef, i18n) {\n        this.elementRef = elementRef;\n        this.i18n = i18n;\n        /**\n         * Select calendar range mode\n         */\n        this.range = false;\n        /**\n         * Format of date\n         *\n         * For reference: https://flatpickr.js.org/formatting/\n         */\n        this.dateFormat = \"m/d/Y\";\n        /**\n         * Language of the flatpickr calendar.\n         *\n         * For reference of the possible locales:\n         * https://github.com/flatpickr/flatpickr/blob/master/src/l10n/index.ts\n         */\n        this.language = \"en\";\n        this.placeholder = \"mm/dd/yyyy\";\n        /**\n         * Aria label added to datepicker's calendar container.\n         */\n        this.ariaLabel = \"calendar container\";\n        /**\n         * The pattern for the underlying input element\n         * @deprecated as of v4 - switch to inputPattern\n         */\n        this.pattern = \"^\\\\d{1,2}/\\\\d{1,2}/\\\\d{4}$\";\n        this.id = `datepicker-${DatePicker.datePickerCount++}`;\n        this.theme = \"dark\";\n        this.disabled = false;\n        /**\n         * Set to `true` to display the invalid state.\n         */\n        this.invalid = false;\n        /**\n          * Set to `true` to show a warning (contents set by warningText)\n          */\n        this.warn = false;\n        this.size = \"md\";\n        /**\n         * Set to `true` to display the invalid state for the second datepicker input.\n         */\n        this.rangeInvalid = false;\n        /**\n          * Set to `true` to show a warning in the second datepicker input (contents set by rangeWarningText)\n          */\n        this.rangeWarn = false;\n        this.skeleton = false;\n        this.plugins = [];\n        this.valueChange = new EventEmitter();\n        /**\n         * We are overriding onClose event even if users pass it via flatpickr options\n         * Emits an event when date picker closes\n         */\n        this.onClose = new EventEmitter();\n        this._value = [];\n        this._flatpickrOptions = {\n            allowInput: true\n        };\n        this.flatpickrBaseOptions = {\n            mode: \"single\",\n            dateFormat: \"m/d/Y\",\n            plugins: this.plugins,\n            onOpen: () => {\n                this.updateClassNames();\n                this.updateAttributes();\n                this.updateCalendarListeners();\n            },\n            onClose: (date) => {\n                // This makes sure that the `flatpickrInstance selectedDates` are in sync with the values of\n                // the inputs when the calendar closes.\n                if (this.range && this.flatpickrInstance) {\n                    if (this.flatpickrInstance.selectedDates.length !== 2) {\n                        // we could `this.flatpickrInstance.clear()` but it insists on opening the second picker\n                        // in some cases, so instead we do this\n                        this.setDateValues([]);\n                        this.doSelect([]);\n                        return;\n                    }\n                    const inputValue = this.input.input.nativeElement.value;\n                    const rangeInputValue = this.rangeInput.input.nativeElement.value;\n                    if (inputValue || rangeInputValue) {\n                        const parseDate = (date) => this.flatpickrInstance.parseDate(date, this.dateFormat);\n                        this.setDateValues([parseDate(inputValue), parseDate(rangeInputValue)]);\n                        this.doSelect(this.flatpickrInstance.selectedDates);\n                    }\n                }\n                this.onClose.emit(date);\n            },\n            onDayCreate: (_dObj, _dStr, _fp, dayElem) => {\n                dayElem.classList.add(\"bx--date-picker__day\");\n            },\n            nextArrow: this.rightArrowHTML(),\n            prevArrow: this.leftArrowHTML(),\n            value: this.value\n        };\n        this.flatpickrInstance = null;\n        this.onTouched = () => { };\n        this.propagateChange = (_) => { };\n        this.preventCalendarClose = event => event.stopPropagation();\n    }\n    /**\n     * The pattern for the underlying input element\n     */\n    set inputPattern(value) {\n        this.pattern = value;\n    }\n    get inputPattern() {\n        return this.pattern;\n    }\n    set value(v) {\n        if (!v) {\n            v = [];\n        }\n        this._value = v;\n    }\n    get value() {\n        return this._value;\n    }\n    set flatpickrOptions(options) {\n        this._flatpickrOptions = Object.assign({}, this._flatpickrOptions, options);\n    }\n    get flatpickrOptions() {\n        const plugins = [...this.plugins, carbonFlatpickrMonthSelectPlugin];\n        if (this.range) {\n            plugins.push(rangePlugin({ input: `#${this.id}-rangeInput`, position: \"left\" }));\n        }\n        return Object.assign({}, this._flatpickrOptions, this.flatpickrBaseOptions, {\n            mode: this.range ? \"range\" : \"single\",\n            plugins,\n            dateFormat: this.dateFormat,\n            locale: languages__default[this.language]\n        });\n    }\n    ngOnInit() {\n        // if i18n is set to anything other than en we'll want to change the language\n        // otherwise we'll just use the local setting\n        if (this.i18n.getLocale() !== \"en\") {\n            this.i18n.getLocaleObservable().subscribe(locale => {\n                this.language = locale;\n                this.resetFlatpickrInstance();\n            });\n        }\n    }\n    ngOnChanges(changes) {\n        // Reset the flatpickr instance on input changes that affect flatpickr.\n        const flatpickrChangeKeys = [\n            \"range\",\n            \"dateFormat\",\n            \"language\",\n            \"id\",\n            \"value\",\n            \"plugins\",\n            \"flatpickrOptions\"\n        ];\n        const changeKeys = Object.keys(changes);\n        if (changeKeys.some(key => flatpickrChangeKeys.includes(key))) {\n            this.resetFlatpickrInstance(changes.value);\n        }\n    }\n    ngAfterViewInit() {\n        setTimeout(() => {\n            this.addInputListeners();\n        }, 0);\n    }\n    // because the actual view may be delayed in loading (think projection into a tab pane)\n    // and because we rely on a library that operates outside the Angular view of the world\n    // we need to keep trying to load the library, until the relevant DOM is actually live\n    ngAfterViewChecked() {\n        if (!this.isFlatpickrLoaded()) {\n            /// @ts-ignore ts is unhappy with the below call to `flatpickr`\n            this.flatpickrInstance = flatpickr(`#${this.id}-input`, this.flatpickrOptions);\n            // if (and only if) the initialization succeeded, we can set the date values\n            if (this.isFlatpickrLoaded()) {\n                if (this.value.length > 0) {\n                    this.setDateValues(this.value);\n                }\n            }\n        }\n    }\n    ngAfterContentInit() {\n        languages__default.en.weekdays.shorthand\n            = languages__default.en.weekdays.longhand.map(day => {\n                if (day === \"Thursday\") {\n                    return \"Th\";\n                }\n                return day.charAt(0);\n            });\n    }\n    onFocus() {\n        // Updates the month manually when calendar mode is range because month\n        // will not update properly without manually updating them on focus.\n        if (this.range) {\n            if (this.rangeInput.input.nativeElement === document.activeElement && this.flatpickrInstance.selectedDates[1]) {\n                const currentMonth = this.flatpickrInstance.selectedDates[1].getMonth();\n                this.flatpickrInstance.changeMonth(currentMonth, false);\n            }\n            else if (this.input.input.nativeElement === document.activeElement && this.flatpickrInstance.selectedDates[0]) {\n                const currentMonth = this.flatpickrInstance.selectedDates[0].getMonth();\n                this.flatpickrInstance.changeMonth(currentMonth, false);\n            }\n        }\n    }\n    onFocusOut() {\n        this.onTouched();\n    }\n    /**\n     * Writes a value from the model to the component. Expects the value to be `null` or `(Date | string)[]`\n     * @param value value received from the model\n     */\n    writeValue(value) {\n        this.value = value;\n        setTimeout(() => {\n            if (this.isFlatpickrLoaded() && this.flatpickrInstance.config) {\n                this.setDateValues(this.value);\n            }\n        });\n    }\n    /**\n     * `ControlValueAccessor` method to programmatically disable the DatePicker.\n     *\n     * ex: `this.formGroup.get(\"myDatePicker\").disable();`\n     *\n     * @param isDisabled `true` to disable the DatePicker\n     */\n    setDisabledState(isDisabled) {\n        this.disabled = isDisabled;\n    }\n    registerOnChange(fn) {\n        this.propagateChange = fn;\n    }\n    registerOnTouched(fn) {\n        this.onTouched = fn;\n    }\n    /**\n     * Cleans up our flatpickr instance\n     */\n    ngOnDestroy() {\n        if (!this.isFlatpickrLoaded()) {\n            return;\n        }\n        this.flatpickrInstance.destroy();\n    }\n    /**\n     * Handles the `valueChange` event from the primary/single input\n     */\n    onValueChange(event) {\n        if (this.isFlatpickrLoaded()) {\n            const date = this.flatpickrInstance.parseDate(event, this.dateFormat);\n            if (this.range) {\n                this.setDateValues([date, this.flatpickrInstance.selectedDates[1]]);\n            }\n            else {\n                this.setDateValues([date]);\n            }\n            this.doSelect(this.flatpickrInstance.selectedDates);\n        }\n    }\n    /**\n     * Handles the `valueChange` event from the range input\n     */\n    onRangeValueChange(event) {\n        if (this.isFlatpickrLoaded() && this.flatpickrInstance.isOpen) {\n            const date = this.flatpickrInstance.parseDate(event, this.dateFormat);\n            this.setDateValues([this.flatpickrInstance.selectedDates[0], date]);\n            this.doSelect(this.flatpickrInstance.selectedDates);\n        }\n    }\n    /**\n     * Handles opening the calendar \"properly\" when the calendar icon is clicked.\n     */\n    openCalendar(datepickerInput) {\n        if (this.range) {\n            datepickerInput.input.nativeElement.click();\n            // If the first input's calendar icon is clicked when calendar is in range mode, then\n            // the month and year needs to be manually changed to the current selected month and\n            // year otherwise the calendar view will not be updated upon opening.\n            if (datepickerInput === this.input && this.flatpickrInstance.selectedDates[0]) {\n                const currentMonth = this.flatpickrInstance.selectedDates[0].getMonth();\n                this.flatpickrInstance.currentYear = this.flatpickrInstance.selectedDates[0].getFullYear();\n                this.flatpickrInstance.changeMonth(currentMonth, false);\n            }\n        }\n        else {\n            // Single-mode flatpickr handles mousedown but not click, so nativeElement.click() won't\n            // work when the calendar icon is clicked. In this case we simply use flatpickr.open().\n            this.flatpickrInstance.open();\n        }\n    }\n    updateCalendarListeners() {\n        const calendarContainer = document.querySelectorAll(\".flatpickr-calendar\");\n        Array.from(calendarContainer).forEach(calendar => {\n            calendar.removeEventListener(\"click\", this.preventCalendarClose);\n            calendar.addEventListener(\"click\", this.preventCalendarClose);\n        });\n    }\n    /**\n     * Handles the initialization of event listeners for the datepicker input and range input fields.\n     */\n    addInputListeners() {\n        if (!this.isFlatpickrLoaded()) {\n            return;\n        }\n        // Allows focus transition from the datepicker input or range input field to\n        // flatpickr calendar using a keyboard.\n        const addFocusCalendarListener = (element) => {\n            element.addEventListener(\"keydown\", (event) => {\n                if (event.key === \"ArrowDown\") {\n                    if (!this.flatpickrInstance.isOpen) {\n                        this.flatpickrInstance.open();\n                    }\n                    const calendarContainer = this.flatpickrInstance.calendarContainer;\n                    const dayElement = calendarContainer && calendarContainer.querySelector(\".flatpickr-day[tabindex]\");\n                    if (dayElement) {\n                        dayElement.focus();\n                        // If the user manually inputs a value into the date field and presses arrow down,\n                        // datepicker input onchange will be triggered when focus is removed from it and\n                        // `flatpickrInstance.setDate` and `flatpickrInstance.changeMonth` will be invoked\n                        // which will automatically change focus to the beginning of the document.\n                        if (document.activeElement !== dayElement && this.flatpickrInstance.selectedDateElem) {\n                            this.flatpickrInstance.selectedDateElem.focus();\n                        }\n                    }\n                }\n            });\n        };\n        if (this.input && this.input.input) {\n            addFocusCalendarListener(this.input.input.nativeElement);\n        }\n        if (this.rangeInput && this.rangeInput.input) {\n            addFocusCalendarListener(this.rangeInput.input.nativeElement);\n        }\n    }\n    /**\n     * Resets the flatpickr instance while keeping the date values (or updating them if newDates is provided)\n     *\n     * Used to pick up input changes or locale changes.\n     *\n     * @param newDates An optional SimpleChange of date values\n     */\n    resetFlatpickrInstance(newDates) {\n        if (this.isFlatpickrLoaded()) {\n            let dates = this.flatpickrInstance.selectedDates;\n            if (newDates && this.didDateValueChange(newDates.currentValue, newDates.previousValue)) {\n                dates = newDates.currentValue;\n            }\n            // only reset the flatpickr instance on Input changes\n            this.flatpickrInstance = flatpickr(`#${this.id}-input`, this.flatpickrOptions);\n            this.setDateValues(dates);\n        }\n    }\n    /**\n     * Carbon uses a number of specific classnames for parts of the flatpickr - this idempotent method applies them if needed.\n     */\n    updateClassNames() {\n        if (!this.elementRef) {\n            return;\n        }\n        // get all the possible flatpickrs in the document - we need to add classes to (potentially) all of them\n        const calendarContainer = document.querySelectorAll(\".flatpickr-calendar\");\n        const monthContainer = document.querySelectorAll(\".flatpickr-month\");\n        const weekdaysContainer = document.querySelectorAll(\".flatpickr-weekdays\");\n        const weekdayContainer = document.querySelectorAll(\".flatpickr-weekday\");\n        const daysContainer = document.querySelectorAll(\".flatpickr-days\");\n        const dayContainer = document.querySelectorAll(\".flatpickr-day\");\n        // add classes to lists of elements\n        const addClassIfNotExists = (classname, elementList) => {\n            Array.from(elementList).forEach(element => {\n                if (!element.classList.contains(classname)) {\n                    element.classList.add(classname);\n                }\n            });\n        };\n        // add classes (but only if they don't exist, small perf win)\n        addClassIfNotExists(\"bx--date-picker__calendar\", calendarContainer);\n        addClassIfNotExists(\"bx--date-picker__month\", monthContainer);\n        addClassIfNotExists(\"bx--date-picker__weekdays\", weekdaysContainer);\n        addClassIfNotExists(\"bx--date-picker__days\", daysContainer);\n        // add weekday classes and format the text\n        Array.from(weekdayContainer).forEach(element => {\n            element.innerHTML = element.innerHTML.replace(/\\s+/g, \"\");\n            element.classList.add(\"bx--date-picker__weekday\");\n        });\n        // add day classes and special case the \"today\" element based on `this.value`\n        Array.from(dayContainer).forEach(element => {\n            element.classList.add(\"bx--date-picker__day\");\n            if (!this.value) {\n                return;\n            }\n            if (element.classList.contains(\"today\") && this.value.length > 0) {\n                element.classList.add(\"no-border\");\n            }\n            else if (element.classList.contains(\"today\") && this.value.length === 0) {\n                element.classList.remove(\"no-border\");\n            }\n        });\n    }\n    updateAttributes() {\n        const calendarContainer = document.querySelectorAll(\".flatpickr-calendar\");\n        Array.from(calendarContainer).forEach(calendar => {\n            calendar.setAttribute(\"role\", \"region\");\n            calendar.setAttribute(\"aria-label\", this.ariaLabel);\n        });\n    }\n    /**\n     * Applies the given date value array to both the flatpickr instance and the `input`(s)\n     * @param dates the date values to apply\n     */\n    setDateValues(dates) {\n        if (this.isFlatpickrLoaded()) {\n            const singleInput = this.elementRef.nativeElement.querySelector(`#${this.id}-input`);\n            const rangeInput = this.elementRef.nativeElement.querySelector(`#${this.id}-rangeInput`);\n            // `flatpickrInstance.setDate` removes the focus on the selected date element and will\n            // automatically change focus to the beginning of the document. If a selected date is\n            // focused before `flatpickrInstance.setDate` is invoked then it should remain focused.\n            let shouldRefocusDateElement = this.flatpickrInstance.selectedDateElem === document.activeElement;\n            // set the date on the instance\n            this.flatpickrInstance.setDate(dates);\n            if (shouldRefocusDateElement) {\n                this.flatpickrInstance.selectedDateElem.focus();\n            }\n            // we can either set a date value or an empty string, so we start with an empty string\n            let singleDate = \"\";\n            // if date is a string, parse and format\n            if (typeof this.flatpickrInstance.selectedDates[0] === \"string\") {\n                singleDate = this.flatpickrInstance.parseDate(this.flatpickrInstance.selectedDates[0], this.dateFormat);\n                singleDate = this.flatpickrInstance.formatDate(singleDate, this.dateFormat);\n                // if date is not a string we can assume it's a Date and we should format\n            }\n            else if (!!this.flatpickrInstance.selectedDates[0]) {\n                singleDate = this.flatpickrInstance.formatDate(this.flatpickrInstance.selectedDates[0], this.dateFormat);\n            }\n            if (rangeInput) {\n                // we can either set a date value or an empty string, so we start with an empty string\n                let rangeDate = \"\";\n                // if date is a string, parse and format\n                if (typeof this.flatpickrInstance.selectedDates[1] === \"string\") {\n                    rangeDate = this.flatpickrInstance.parseDate(this.flatpickrInstance.selectedDates[1].toString(), this.dateFormat);\n                    rangeDate = this.flatpickrInstance.formatDate(rangeDate, this.dateFormat);\n                    // if date is not a string we can assume it's a Date and we should format\n                }\n                else if (!!this.flatpickrInstance.selectedDates[1]) {\n                    rangeDate = this.flatpickrInstance.formatDate(this.flatpickrInstance.selectedDates[1], this.dateFormat);\n                }\n                setTimeout(() => {\n                    // apply the values\n                    rangeInput.value = rangeDate;\n                    singleInput.value = singleDate;\n                });\n            }\n        }\n    }\n    doSelect(selectedValue) {\n        // In range mode, if a date is selected from the first calendar that is from the previous month,\n        // the month will not be updated on the calendar until the calendar is re-opened.\n        // This will make sure the calendar is updated with the correct month.\n        if (this.range && this.flatpickrInstance.selectedDates[0]) {\n            const currentMonth = this.flatpickrInstance.selectedDates[0].getMonth();\n            // `flatpickrInstance.changeMonth` removes the focus on the selected date element and will\n            // automatically change focus to the beginning of the document. If a selected date is\n            // focused before `flatpickrInstance.changeMonth` is invoked then it should remain focused.\n            let shouldRefocusDateElement = this.flatpickrInstance.selectedDateElem === document.activeElement;\n            this.flatpickrInstance.changeMonth(currentMonth, false);\n            if (shouldRefocusDateElement) {\n                this.flatpickrInstance.selectedDateElem.focus();\n            }\n        }\n        this.valueChange.emit(selectedValue);\n        this.propagateChange(selectedValue);\n    }\n    didDateValueChange(currentValue, previousValue) {\n        return currentValue[0] !== previousValue[0] || currentValue[1] !== previousValue[1];\n    }\n    /**\n     * More advanced checking of the loaded state of flatpickr\n     */\n    isFlatpickrLoaded() {\n        // cast the instance to a boolean, and some method that has to exist for the library to be loaded in this case `setDate`\n        return !!this.flatpickrInstance && !!this.flatpickrInstance.setDate;\n    }\n    /**\n     * Right arrow HTML passed to flatpickr\n     */\n    rightArrowHTML() {\n        return `\n\t\t\t<svg width=\"16px\" height=\"16px\" viewBox=\"0 0 16 16\">\n\t\t\t\t<polygon points=\"11,8 6,13 5.3,12.3 9.6,8 5.3,3.7 6,3 \"/>\n\t\t\t\t<rect width=\"16\" height=\"16\" style=\"fill:none\" />\n\t\t\t</svg>`;\n    }\n    /**\n     * Left arrow HTML passed to flatpickr\n     */\n    leftArrowHTML() {\n        return `\n\t\t\t<svg width=\"16px\" height=\"16px\" viewBox=\"0 0 16 16\">\n\t\t\t\t<polygon points=\"5,8 10,3 10.7,3.7 6.4,8 10.7,12.3 10,13 \"/>\n\t\t\t\t<rect width=\"16\" height=\"16\" style=\"fill:none\" />\n\t\t\t</svg>`;\n    }\n}\nDatePicker.ɵfac = function DatePicker_Factory(t) { return new (t || DatePicker)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef), ɵngcc0.ɵɵdirectiveInject(ɵngcc1.I18n)); };\nDatePicker.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: DatePicker, selectors: [[\"ibm-date-picker\"]], viewQuery: function DatePicker_Query(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵviewQuery(_c0, 7);\n        ɵngcc0.ɵɵviewQuery(_c1, 5);\n    } if (rf & 2) {\n        let _t;\n        ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.input = _t.first);\n        ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.rangeInput = _t.first);\n    } }, hostBindings: function DatePicker_HostBindings(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵlistener(\"focusin\", function DatePicker_focusin_HostBindingHandler() { return ctx.onFocus(); })(\"focusout\", function DatePicker_focusout_HostBindingHandler() { return ctx.onFocusOut(); });\n    } }, inputs: { range: \"range\", dateFormat: \"dateFormat\", language: \"language\", placeholder: \"placeholder\", ariaLabel: \"ariaLabel\", pattern: \"pattern\", id: \"id\", theme: \"theme\", disabled: \"disabled\", invalid: \"invalid\", warn: \"warn\", size: \"size\", rangeInvalid: \"rangeInvalid\", rangeWarn: \"rangeWarn\", skeleton: \"skeleton\", plugins: \"plugins\", inputPattern: \"inputPattern\", value: \"value\", flatpickrOptions: \"flatpickrOptions\", label: \"label\", helperText: \"helperText\", rangeHelperText: \"rangeHelperText\", rangeLabel: \"rangeLabel\", invalidText: \"invalidText\", warnText: \"warnText\", rangeInvalidText: \"rangeInvalidText\", rangeWarnText: \"rangeWarnText\" }, outputs: { valueChange: \"valueChange\", onClose: \"onClose\" }, features: [ɵngcc0.ɵɵProvidersFeature([\n            {\n                provide: NG_VALUE_ACCESSOR,\n                useExisting: DatePicker,\n                multi: true\n            }\n        ]), ɵngcc0.ɵɵNgOnChangesFeature], decls: 6, vars: 21, consts: [[1, \"bx--form-item\"], [1, \"bx--date-picker\", 3, \"ngClass\"], [1, \"bx--date-picker-container\"], [3, \"label\", \"placeholder\", \"pattern\", \"id\", \"size\", \"type\", \"hasIcon\", \"disabled\", \"invalid\", \"invalidText\", \"warn\", \"warnText\", \"skeleton\", \"helperText\", \"valueChange\", \"click\"], [\"input\", \"\"], [\"class\", \"bx--date-picker-container\", 4, \"ngIf\"], [\"rangeInput\", \"\"]], template: function DatePicker_Template(rf, ctx) { if (rf & 1) {\n        const _r6 = ɵngcc0.ɵɵgetCurrentView();\n        ɵngcc0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"div\", 2)(3, \"ibm-date-picker-input\", 3, 4);\n        ɵngcc0.ɵɵlistener(\"valueChange\", function DatePicker_Template_ibm_date_picker_input_valueChange_3_listener($event) { return ctx.onValueChange($event); })(\"click\", function DatePicker_Template_ibm_date_picker_input_click_3_listener() { ɵngcc0.ɵɵrestoreView(_r6); const _r0 = ɵngcc0.ɵɵreference(4); return ɵngcc0.ɵɵresetView(ctx.openCalendar(_r0)); });\n        ɵngcc0.ɵɵelementEnd()();\n        ɵngcc0.ɵɵtemplate(5, DatePicker_div_5_Template, 3, 14, \"div\", 5);\n        ɵngcc0.ɵɵelementEnd()();\n    } if (rf & 2) {\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction4(16, _c2, ctx.range, !ctx.range, ctx.theme === \"light\", ctx.skeleton));\n        ɵngcc0.ɵɵadvance(2);\n        ɵngcc0.ɵɵproperty(\"label\", ctx.label)(\"placeholder\", ctx.placeholder)(\"pattern\", ctx.inputPattern)(\"id\", ctx.id + \"-input\")(\"size\", ctx.size)(\"type\", ctx.range ? \"range\" : \"single\")(\"hasIcon\", ctx.range ? false : true)(\"disabled\", ctx.disabled)(\"invalid\", ctx.invalid)(\"invalidText\", ctx.invalidText)(\"warn\", ctx.warn)(\"warnText\", ctx.warnText)(\"skeleton\", ctx.skeleton)(\"helperText\", ctx.helperText);\n        ɵngcc0.ɵɵadvance(2);\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.range);\n    } }, dependencies: [ɵngcc2.NgClass, ɵngcc2.NgIf, ɵngcc3.DatePickerInput], styles: [\".dayContainer {\\n\\t\\t\\tjustify-content: initial;\\n\\t\\t}\"], encapsulation: 2 });\nDatePicker.datePickerCount = 0;\n/** @nocollapse */\nDatePicker.ctorParameters = () => [\n    { type: ElementRef },\n    { type: I18n }\n];\nDatePicker.propDecorators = {\n    range: [{ type: Input }],\n    dateFormat: [{ type: Input }],\n    language: [{ type: Input }],\n    label: [{ type: Input }],\n    helperText: [{ type: Input }],\n    rangeHelperText: [{ type: Input }],\n    rangeLabel: [{ type: Input }],\n    placeholder: [{ type: Input }],\n    ariaLabel: [{ type: Input }],\n    pattern: [{ type: Input }],\n    inputPattern: [{ type: Input }],\n    id: [{ type: Input }],\n    value: [{ type: Input }],\n    theme: [{ type: Input }],\n    disabled: [{ type: Input }],\n    invalid: [{ type: Input }],\n    invalidText: [{ type: Input }],\n    warn: [{ type: Input }],\n    warnText: [{ type: Input }],\n    size: [{ type: Input }],\n    rangeInvalid: [{ type: Input }],\n    rangeInvalidText: [{ type: Input }],\n    rangeWarn: [{ type: Input }],\n    rangeWarnText: [{ type: Input }],\n    skeleton: [{ type: Input }],\n    plugins: [{ type: Input }],\n    flatpickrOptions: [{ type: Input }],\n    input: [{ type: ViewChild, args: [\"input\", { static: true },] }],\n    rangeInput: [{ type: ViewChild, args: [\"rangeInput\", { static: false },] }],\n    valueChange: [{ type: Output }],\n    onClose: [{ type: Output }],\n    onFocus: [{ type: HostListener, args: [\"focusin\",] }],\n    onFocusOut: [{ type: HostListener, args: [\"focusout\",] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(DatePicker, [{\n        type: Component,\n        args: [{ selector: \"ibm-date-picker\", template: `\n\t<div class=\"bx--form-item\">\n\t\t<div\n\t\t\tclass=\"bx--date-picker\"\n\t\t\t[ngClass]=\"{\n\t\t\t\t'bx--date-picker--range' : range,\n\t\t\t\t'bx--date-picker--single' : !range,\n\t\t\t\t'bx--date-picker--light' : theme === 'light',\n\t\t\t\t'bx--skeleton' : skeleton\n\t\t\t}\">\n\t\t\t<div class=\"bx--date-picker-container\">\n\t\t\t\t<ibm-date-picker-input\n\t\t\t\t\t#input\n\t\t\t\t\t[label]=\"label\"\n\t\t\t\t\t[placeholder]=\"placeholder\"\n\t\t\t\t\t[pattern]=\"inputPattern\"\n\t\t\t\t\t[id]=\"id + '-input'\"\n\t\t\t\t\t[size]=\"size\"\n\t\t\t\t\t[type]=\"(range ? 'range' : 'single')\"\n\t\t\t\t\t[hasIcon]=\"(range ? false : true)\"\n\t\t\t\t\t[disabled]=\"disabled\"\n\t\t\t\t\t[invalid]=\"invalid\"\n\t\t\t\t\t[invalidText]=\"invalidText\"\n\t\t\t\t\t[warn]=\"warn\"\n\t\t\t\t\t[warnText]=\"warnText\"\n\t\t\t\t\t[skeleton]=\"skeleton\"\n\t\t\t\t\t[helperText]=\"helperText\"\n\t\t\t\t\t(valueChange)=\"onValueChange($event)\"\n\t\t\t\t\t(click)=\"openCalendar(input)\">\n\t\t\t\t</ibm-date-picker-input>\n\t\t\t</div>\n\n\t\t\t<div *ngIf=\"range\" class=\"bx--date-picker-container\">\n\t\t\t\t<ibm-date-picker-input\n\t\t\t\t\t#rangeInput\n\t\t\t\t\t[label]=\"rangeLabel\"\n\t\t\t\t\t[placeholder]=\"placeholder\"\n\t\t\t\t\t[pattern]=\"inputPattern\"\n\t\t\t\t\t[id]=\"id + '-rangeInput'\"\n\t\t\t\t\t[size]=\"size\"\n\t\t\t\t\t[type]=\"(range ? 'range' : 'single')\"\n\t\t\t\t\t[hasIcon]=\"(range ? true : null)\"\n\t\t\t\t\t[disabled]=\"disabled\"\n\t\t\t\t\t[invalid]=\"rangeInvalid\"\n\t\t\t\t\t[invalidText]=\"rangeInvalidText\"\n\t\t\t\t\t[warn]=\"rangeWarn\"\n\t\t\t\t\t[warnText]=\"rangeWarnText\"\n\t\t\t\t\t[skeleton]=\"skeleton\"\n\t\t\t\t\t[helperText]=\"rangeHelperText\"\n\t\t\t\t\t(valueChange)=\"onRangeValueChange($event)\"\n\t\t\t\t\t(click)=\"openCalendar(rangeInput)\">\n\t\t\t\t</ibm-date-picker-input>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n\t`, providers: [\n                    {\n                        provide: NG_VALUE_ACCESSOR,\n                        useExisting: DatePicker,\n                        multi: true\n                    }\n                ], encapsulation: ViewEncapsulation.None, styles: [\".dayContainer {\\n\\t\\t\\tjustify-content: initial;\\n\\t\\t}\"] }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }, { type: ɵngcc1.I18n }]; }, { range: [{\n            type: Input\n        }], dateFormat: [{\n            type: Input\n        }], language: [{\n            type: Input\n        }], placeholder: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], pattern: [{\n            type: Input\n        }], id: [{\n            type: Input\n        }], theme: [{\n            type: Input\n        }], disabled: [{\n            type: Input\n        }], invalid: [{\n            type: Input\n        }], warn: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }], rangeInvalid: [{\n            type: Input\n        }], rangeWarn: [{\n            type: Input\n        }], skeleton: [{\n            type: Input\n        }], plugins: [{\n            type: Input\n        }], valueChange: [{\n            type: Output\n        }], onClose: [{\n            type: Output\n        }], inputPattern: [{\n            type: Input\n        }], value: [{\n            type: Input\n        }], flatpickrOptions: [{\n            type: Input\n        }], onFocus: [{\n            type: HostListener,\n            args: [\"focusin\"]\n        }], onFocusOut: [{\n            type: HostListener,\n            args: [\"focusout\"]\n        }], label: [{\n            type: Input\n        }], helperText: [{\n            type: Input\n        }], rangeHelperText: [{\n            type: Input\n        }], rangeLabel: [{\n            type: Input\n        }], invalidText: [{\n            type: Input\n        }], warnText: [{\n            type: Input\n        }], rangeInvalidText: [{\n            type: Input\n        }], rangeWarnText: [{\n            type: Input\n        }], input: [{\n            type: ViewChild,\n            args: [\"input\", { static: true }]\n        }], rangeInput: [{\n            type: ViewChild,\n            args: [\"rangeInput\", { static: false }]\n        }] }); })();\n\nclass DatePickerModule {\n}\nDatePickerModule.ɵfac = function DatePickerModule_Factory(t) { return new (t || DatePickerModule)(); };\nDatePickerModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: DatePickerModule });\nDatePickerModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({ imports: [CommonModule,\n        DatePickerInputModule,\n        UtilsModule,\n        I18nModule, DatePickerInputModule] });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(DatePickerModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    DatePicker\n                ],\n                exports: [\n                    DatePicker,\n                    DatePickerInputModule\n                ],\n                imports: [\n                    CommonModule,\n                    DatePickerInputModule,\n                    UtilsModule,\n                    I18nModule\n                ]\n            }]\n    }], null, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(DatePickerModule, { declarations: function () { return [DatePicker]; }, imports: function () { return [CommonModule,\n        DatePickerInputModule,\n        UtilsModule,\n        I18nModule]; }, exports: function () { return [DatePicker, DatePickerInputModule]; } }); })();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { DatePicker, DatePickerModule };\n\n","/**\n *\n * carbon-angular v0.0.0 | carbon-components-angular-dialog.js\n *\n * Copyright 2014, 2023 IBM\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\nimport { Subscription } from 'rxjs';\nimport { tabbableSelector, cycleTabs, getFocusElementList, isFocusInLastItem, isFocusInFirstItem } from 'carbon-components-angular/common';\nimport Position, { position } from '@carbon/utils-position';\nimport { Injector, ComponentFactoryResolver, Injectable, Component, Input, Output, EventEmitter, ElementRef, ViewChild, HostListener, Optional, Directive, ViewContainerRef, HostBinding, TemplateRef, ContentChild, ViewEncapsulation, NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { I18n, I18nModule } from 'carbon-components-angular/i18n';\nimport { PlaceholderService, PlaceholderModule } from 'carbon-components-angular/placeholder';\nimport { ExperimentalService, ExperimentalModule } from 'carbon-components-angular/experimental';\nimport { AnimationFrameService, ElementService, EventService, closestAttr, UtilsModule } from 'carbon-components-angular/utils';\nimport { IconModule } from 'carbon-components-angular/icon';\n\n/**\n * An enum of the various reasons a dialog may close. For use with `CloseMeta` and `shouldClose`\n *\n * It's expected that `interaction` will be a common closure reason.\n */\nimport * as ɵngcc0 from '@angular/core';\nimport * as ɵngcc1 from 'carbon-components-angular/placeholder';\nimport * as ɵngcc2 from 'carbon-components-angular/utils';\nimport * as ɵngcc3 from '@angular/common';\nimport * as ɵngcc4 from 'carbon-components-angular/i18n';\nimport * as ɵngcc5 from 'carbon-components-angular/experimental';\nimport * as ɵngcc6 from 'carbon-components-angular/icon';\n\nconst _c0 = [\"dialog\"];\nfunction Tooltip_3_ng_template_0_Template(rf, ctx) { }\nconst _c1 = function (a0) { return { tooltip: a0 }; };\nfunction Tooltip_3_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵtemplate(0, Tooltip_3_ng_template_0_Template, 0, 0, \"ng-template\", 4);\n} if (rf & 2) {\n    const ctx_r1 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r1.dialogConfig.content)(\"ngTemplateOutletContext\", ɵngcc0.ɵɵpureFunction1(2, _c1, ctx_r1));\n} }\nfunction Tooltip_p_4_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"p\");\n    ɵngcc0.ɵɵtext(1);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r2 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate1(\" \", ctx_r2.dialogConfig.content, \" \");\n} }\nconst _c2 = function (a0, a1, a2, a3, a4) { return { \"bx--tooltip--bottom\": a0, \"bx--tooltip--top\": a1, \"bx--tooltip--align-start\": a2, \"bx--tooltip--align-center\": a3, \"bx--tooltip--align-end\": a4 }; };\nconst _c3 = [\"*\"];\nconst _c4 = function (a0, a1, a2, a3, a4, a5, a6) { return { \"bx--tooltip--bottom\": a0, \"bx--tooltip--top\": a1, \"bx--tooltip--left\": a2, \"bx--tooltip--right\": a3, \"bx--tooltip--align-start\": a4, \"bx--tooltip--align-center\": a5, \"bx--tooltip--align-end\": a6 }; };\nfunction OverflowMenuPane_ng_template_2_Template(rf, ctx) { }\nconst _c5 = function (a0) { return { \"bx--overflow-menu--flip\": a0 }; };\nconst _c6 = function (a0) { return { overflowMenu: a0 }; };\nfunction OverflowMenuCustomPane_ng_template_2_Template(rf, ctx) { }\nfunction OverflowMenu_1_ng_template_0_Template(rf, ctx) { }\nfunction OverflowMenu_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵtemplate(0, OverflowMenu_1_ng_template_0_Template, 0, 0, \"ng-template\", 4);\n} if (rf & 2) {\n    const ctx_r0 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r0.customTrigger);\n} }\nfunction OverflowMenu_ng_template_2_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵprojection(0);\n} }\nfunction OverflowMenu_ng_template_4_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵelement(0, \"svg\", 5);\n} }\nconst _c7 = function (a0) { return { \"bx--overflow-menu--open\": a0 }; };\nfunction OverflowMenuOption_button_0_ng_container_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainer(0);\n} }\nfunction OverflowMenuOption_button_0_Template(rf, ctx) { if (rf & 1) {\n    const _r6 = ɵngcc0.ɵɵgetCurrentView();\n    ɵngcc0.ɵɵelementStart(0, \"button\", 3);\n    ɵngcc0.ɵɵlistener(\"focus\", function OverflowMenuOption_button_0_Template_button_focus_0_listener() { ɵngcc0.ɵɵrestoreView(_r6); const ctx_r5 = ɵngcc0.ɵɵnextContext(); return ɵngcc0.ɵɵresetView(ctx_r5.onFocus()); })(\"blur\", function OverflowMenuOption_button_0_Template_button_blur_0_listener() { ɵngcc0.ɵɵrestoreView(_r6); const ctx_r7 = ɵngcc0.ɵɵnextContext(); return ɵngcc0.ɵɵresetView(ctx_r7.onBlur()); })(\"click\", function OverflowMenuOption_button_0_Template_button_click_0_listener() { ɵngcc0.ɵɵrestoreView(_r6); const ctx_r8 = ɵngcc0.ɵɵnextContext(); return ɵngcc0.ɵɵresetView(ctx_r8.onClick()); });\n    ɵngcc0.ɵɵtemplate(1, OverflowMenuOption_button_0_ng_container_1_Template, 1, 0, \"ng-container\", 4);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r0 = ɵngcc0.ɵɵnextContext();\n    const _r2 = ɵngcc0.ɵɵreference(3);\n    ɵngcc0.ɵɵclassMapInterpolate1(\"bx--overflow-menu-options__btn \", ctx_r0.innerClass, \"\");\n    ɵngcc0.ɵɵproperty(\"tabindex\", ctx_r0.tabIndex)(\"disabled\", ctx_r0.disabled);\n    ɵngcc0.ɵɵattribute(\"title\", ctx_r0.title);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", _r2);\n} }\nfunction OverflowMenuOption_a_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainer(0);\n} }\nfunction OverflowMenuOption_a_1_Template(rf, ctx) { if (rf & 1) {\n    const _r11 = ɵngcc0.ɵɵgetCurrentView();\n    ɵngcc0.ɵɵelementStart(0, \"a\", 5);\n    ɵngcc0.ɵɵlistener(\"focus\", function OverflowMenuOption_a_1_Template_a_focus_0_listener() { ɵngcc0.ɵɵrestoreView(_r11); const ctx_r10 = ɵngcc0.ɵɵnextContext(); return ɵngcc0.ɵɵresetView(ctx_r10.onFocus()); })(\"blur\", function OverflowMenuOption_a_1_Template_a_blur_0_listener() { ɵngcc0.ɵɵrestoreView(_r11); const ctx_r12 = ɵngcc0.ɵɵnextContext(); return ɵngcc0.ɵɵresetView(ctx_r12.onBlur()); })(\"click\", function OverflowMenuOption_a_1_Template_a_click_0_listener() { ɵngcc0.ɵɵrestoreView(_r11); const ctx_r13 = ɵngcc0.ɵɵnextContext(); return ɵngcc0.ɵɵresetView(ctx_r13.onClick()); });\n    ɵngcc0.ɵɵtemplate(1, OverflowMenuOption_a_1_ng_container_1_Template, 1, 0, \"ng-container\", 4);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r1 = ɵngcc0.ɵɵnextContext();\n    const _r2 = ɵngcc0.ɵɵreference(3);\n    ɵngcc0.ɵɵclassMapInterpolate1(\"bx--overflow-menu-options__btn \", ctx_r1.innerClass, \"\");\n    ɵngcc0.ɵɵproperty(\"tabindex\", ctx_r1.tabIndex)(\"href\", ctx_r1.href, ɵngcc0.ɵɵsanitizeUrl);\n    ɵngcc0.ɵɵattribute(\"disabled\", ctx_r1.disabled)(\"target\", ctx_r1.target)(\"rel\", ctx_r1.rel)(\"title\", ctx_r1.title);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", _r2);\n} }\nfunction OverflowMenuOption_ng_template_2_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"div\", 6);\n    ɵngcc0.ɵɵprojection(1);\n    ɵngcc0.ɵɵelementEnd();\n} }\nvar CloseReasons;\n(function (CloseReasons) {\n    /**\n     * For when the component is closed by being destroyed\n     */\n    CloseReasons[CloseReasons[\"destroyed\"] = 0] = \"destroyed\";\n    /**\n     * For use in cases where the dialog closes for programmatic reasons other than destruction\n     */\n    CloseReasons[CloseReasons[\"programmatic\"] = 1] = \"programmatic\";\n    /**\n     * interaction reasons will also provide a target for the interaction\n     */\n    CloseReasons[CloseReasons[\"interaction\"] = 2] = \"interaction\";\n    /**\n     * For use in cases where the dialog closes due to being hidden\n     */\n    CloseReasons[CloseReasons[\"hidden\"] = 3] = \"hidden\";\n})(CloseReasons || (CloseReasons = {}));\n\n/**\n * `Dialog` object to be injected into other components.\n */\nclass DialogService {\n    /**\n     * Creates an instance of `DialogService`.\n     */\n    constructor(componentFactoryResolver, injector, placeholderService) {\n        this.componentFactoryResolver = componentFactoryResolver;\n        this.injector = injector;\n        this.placeholderService = placeholderService;\n    }\n    /**\n     * Closes all known `Dialog`s. Does not focus any previous elements, since we can't know which would be correct\n     */\n    static closeAll() {\n        DialogService.dialogRefs.forEach(ref => ref.instance.doClose({\n            reason: CloseReasons.programmatic\n        }));\n        DialogService.dialogRefs.clear();\n    }\n    /**\n     * Set the context for the service. For example, the `component` property can be used to set the\n     * default component that should be created by the service, for a given instance of the service.\n     * @param options `{ component: any }` where `component` is a component that extends `dialog.component`\n     */\n    setContext(options) {\n        this.componentFactory = this.componentFactoryResolver.resolveComponentFactory(options.component);\n    }\n    /**\n     * If `dialogRef` is defined, the Dialog is already open. If\n     * `dialogRef` is undefined, we create the `Dialog` component and reference to it.\n     * A subscription is created to track if the `Dialog` should close.\n     *\n     * @param viewContainer a `ViewContainerRef` to instantiate the component against.\n     * May be `null` if an `ibm-placeholder` exists and `dialogConfig.appendInline` is false\n     * @param dialogConfig the `DialogConfig` for the component\n     */\n    open(viewContainer, dialogConfig, component) {\n        let componentFactory = this.componentFactory;\n        if (component) {\n            componentFactory = this.componentFactoryResolver.resolveComponentFactory(component);\n        }\n        let dialogRef;\n        if (dialogConfig.appendInline) {\n            // add our component to the view\n            dialogRef = viewContainer.createComponent(componentFactory, 0, this.injector);\n        }\n        else if (!this.placeholderService.hasPlaceholderRef()) {\n            dialogRef = viewContainer.createComponent(componentFactory, 0, this.injector);\n            if (dialogRef) {\n                setTimeout(() => {\n                    window.document.querySelector(\"body\").appendChild(dialogRef.location.nativeElement);\n                });\n            }\n        }\n        else {\n            dialogRef = this.placeholderService.createComponent(componentFactory, this.injector);\n        }\n        // keep track of all initialized dialogs\n        DialogService.dialogRefs.add(dialogRef);\n        // initialize some extra options\n        dialogConfig[\"previouslyFocusedElement\"] = document.activeElement;\n        dialogRef.instance.dialogConfig = dialogConfig;\n        dialogRef.instance.elementRef.nativeElement.focus();\n        return dialogRef;\n    }\n    /**\n     * On close of `Dialog` item, sets focus back to previous item, unsets\n     * the current `dialogRef` item. Unsubscribes to the event of `Dialog` close.\n     *\n     * @param dialogRef the dialogRef to close\n     */\n    close(dialogRef) {\n        // to handle the case where we have a null `this.dialogRef`\n        if (!dialogRef) {\n            return;\n        }\n        const elementToFocus = dialogRef.instance.dialogConfig[\"previouslyFocusedElement\"];\n        dialogRef.destroy();\n        // update the globally tracked dialogRefs\n        if (DialogService.dialogRefs.has(dialogRef)) {\n            DialogService.dialogRefs.delete(dialogRef);\n        }\n        // Keeps the focus on the dialog trigger if there are no focusable elements. Change focus to previously focused element\n        // if there are focusable elements in the dialog.\n        if (!dialogRef.location.nativeElement.querySelectorAll(tabbableSelector)) {\n            elementToFocus.focus();\n        }\n    }\n    /**\n     * Closes all known `Dialog`s. Does not focus any previous elements, since we can't know which would be correct\n     *\n     * @deprecated since v4. Use the static `DialogService.closeAll` instead\n     */\n    closeAll() {\n        DialogService.closeAll();\n    }\n    /**\n     * Fix for safari hijacking clicks.\n     *\n     * Runs on `ngOnInit` of every dialog. Ensures we don't have multiple listeners\n     * because having many of them could degrade performance in certain cases (and is\n     * not necessary for our use case)\n     *\n     * This is an internally used function, can change at any point (even get removed)\n     * and changes to it won't be considered a breaking change. Use at your own risk.\n     */\n    singletonClickListen() {\n        if (!DialogService.listeningForBodyClicks) {\n            document.body.firstElementChild.addEventListener(\"click\", () => null, true);\n            DialogService.listeningForBodyClicks = true;\n        }\n    }\n}\nDialogService.ɵfac = function DialogService_Factory(t) { return new (t || DialogService)(ɵngcc0.ɵɵinject(ɵngcc0.ComponentFactoryResolver), ɵngcc0.ɵɵinject(ɵngcc0.Injector), ɵngcc0.ɵɵinject(ɵngcc1.PlaceholderService)); };\nDialogService.ɵprov = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjectable({ token: DialogService, factory: DialogService.ɵfac });\n/**\n * Used in `singletonClickListen`, don't count on its existence and values.\n */\nDialogService.listeningForBodyClicks = false;\n/**\n * A set of all known dialog components\n */\nDialogService.dialogRefs = new Set();\n/** @nocollapse */\nDialogService.ctorParameters = () => [\n    { type: ComponentFactoryResolver },\n    { type: Injector },\n    { type: PlaceholderService }\n];\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(DialogService, [{\n        type: Injectable\n    }], function () { return [{ type: ɵngcc0.ComponentFactoryResolver }, { type: ɵngcc0.Injector }, { type: ɵngcc1.PlaceholderService }]; }, null); })();\n\n/**\n * Implements a `Dialog` that can be positioned anywhere on the page.\n * Used to implement a popover or tooltip.\n */\nclass Dialog {\n    /**\n     * Creates an instance of `Dialog`.\n     * @param elementRef\n     * @param elementService\n     */\n    constructor(elementRef, elementService, animationFrameService = null) {\n        this.elementRef = elementRef;\n        this.elementService = elementService;\n        this.animationFrameService = animationFrameService;\n        /**\n         * Emits event that handles the closing of a `Dialog` object.\n         */\n        this.close = new EventEmitter();\n        /**\n         * Stores the data received from `dialogConfig`.\n         */\n        this.data = {};\n        this.visibilitySubscription = new Subscription();\n        this.animationFrameSubscription = new Subscription();\n        /**\n         * Handles offsetting the `Dialog` item based on the defined position\n         * to not obscure the content beneath.\n         */\n        this.addGap = {\n            \"left\": pos => position.addOffset(pos, 0, -this.dialogConfig.gap),\n            \"right\": pos => position.addOffset(pos, 0, this.dialogConfig.gap),\n            \"top\": pos => position.addOffset(pos, -this.dialogConfig.gap),\n            \"bottom\": pos => position.addOffset(pos, this.dialogConfig.gap),\n            \"left-bottom\": pos => position.addOffset(pos, 0, -this.dialogConfig.gap),\n            \"right-bottom\": pos => position.addOffset(pos, 0, this.dialogConfig.gap)\n        };\n        /**\n         * Extra placements. Child classes can add to this for use in `placeDialog`.\n         */\n        this.placements = {};\n    }\n    /**\n     * Initialize the `Dialog`, set the placement and gap, and add a `Subscription` to resize events.\n     */\n    ngOnInit() {\n        this.placement = this.dialogConfig.placement.split(\",\")[0];\n        this.data = this.dialogConfig.data;\n        // run any additional initialization code that consuming classes may have\n        this.onDialogInit();\n    }\n    /**\n     * After the DOM is ready, focus is set and dialog is placed\n     * in respect to the parent element.\n     */\n    ngAfterViewInit() {\n        const dialogElement = this.dialog.nativeElement;\n        // split the wrapper class list and apply separately to avoid IE\n        // 1. throwing an error due to assigning a readonly property (classList)\n        // 2. throwing a SyntaxError due to passing an empty string to `add`\n        if (this.dialogConfig.wrapperClass) {\n            for (const extraClass of this.dialogConfig.wrapperClass.split(\" \")) {\n                dialogElement.classList.add(extraClass);\n            }\n        }\n        // only focus the dialog if there are focusable elements within the dialog\n        if (getFocusElementList(this.dialog.nativeElement).length > 0) {\n            dialogElement.focus();\n        }\n        const parentElement = this.dialogConfig.parentRef.nativeElement;\n        if (this.animationFrameService) {\n            this.animationFrameSubscription = this.animationFrameService.tick.subscribe(() => {\n                this.placeDialog();\n            });\n        }\n        if (this.dialogConfig.closeWhenHidden) {\n            this.visibilitySubscription = this.elementService\n                .visibility(parentElement, parentElement)\n                .subscribe(value => {\n                this.placeDialog();\n                if (!value.visible) {\n                    this.doClose({\n                        reason: CloseReasons.hidden\n                    });\n                }\n            });\n        }\n        this.placeDialog();\n        // run afterDialogViewInit on the next tick\n        setTimeout(() => this.afterDialogViewInit());\n    }\n    /**\n     * Empty method to be overridden by consuming classes to run any additional initialization code.\n     */\n    onDialogInit() { }\n    /**\n     * Empty method to be overridden by consuming classes to run any additional initialization code after the view is available.\n     * NOTE: this does _not_ guarantee the dialog will be positioned, simply that it will exist in the DOM\n     */\n    afterDialogViewInit() { }\n    /**\n     * Uses the position service to position the `Dialog` in screen space\n     */\n    placeDialog() {\n        const positionService = new Position(this.placements);\n        // helper to find the position based on the current/given environment\n        const findPosition = (reference, target, placement) => {\n            let pos;\n            if (this.dialogConfig.appendInline) {\n                pos = this.addGap[placement](positionService.findRelative(reference, target, placement));\n            }\n            else {\n                pos = this.addGap[placement](positionService.findAbsolute(reference, target, placement));\n            }\n            if (this.dialogConfig.offset) {\n                // Apply vertical and horizontal offsets given through the dialogConfig\n                pos.top = pos.top + this.dialogConfig.offset.y;\n                pos.left = pos.left + this.dialogConfig.offset.x;\n            }\n            return pos;\n        };\n        let parentEl = this.dialogConfig.parentRef.nativeElement;\n        let el = this.dialog.nativeElement;\n        let dialogPlacement = this.placement;\n        // split always returns an array, so we can just use the auto position logic\n        // for single positions too\n        const placements = this.dialogConfig.placement.split(\",\");\n        // find the best placement\n        dialogPlacement = positionService.findBestPlacement(parentEl, el, placements);\n        // calculate the final position\n        const pos = findPosition(parentEl, el, dialogPlacement);\n        // update the element\n        positionService.setElement(el, pos);\n        setTimeout(() => { this.placement = dialogPlacement; });\n    }\n    /**\n     * Sets up a KeyboardEvent to close `Dialog` with Escape key.\n     * @param event\n     */\n    escapeClose(event) {\n        switch (event.key) {\n            case \"Esc\": // IE specific value\n            case \"Escape\": {\n                event.stopImmediatePropagation();\n                this.doClose({\n                    reason: CloseReasons.interaction,\n                    target: event.target\n                });\n                break;\n            }\n            case \"Tab\": {\n                cycleTabs(event, this.elementRef.nativeElement);\n                break;\n            }\n        }\n    }\n    /**\n     * Sets up a event Listener to close `Dialog` if click event occurs outside\n     * `Dialog` object.\n     * @param event\n     */\n    clickClose(event) {\n        if (!this.elementRef.nativeElement.contains(event.target)\n            && !this.dialogConfig.parentRef.nativeElement.contains(event.target)) {\n            this.doClose({\n                reason: CloseReasons.interaction,\n                target: event.target\n            });\n        }\n    }\n    /**\n     * Closes `Dialog` object by emitting the close event upwards to parents.\n     */\n    doClose(meta = { reason: CloseReasons.interaction }) {\n        this.close.emit(meta);\n    }\n    /**\n     * At destruction of component, `Dialog` unsubscribes from all the subscriptions.\n     */\n    ngOnDestroy() {\n        this.visibilitySubscription.unsubscribe();\n        if (this.animationFrameSubscription) {\n            this.animationFrameSubscription.unsubscribe();\n        }\n    }\n}\nDialog.ɵfac = function Dialog_Factory(t) { return new (t || Dialog)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef), ɵngcc0.ɵɵdirectiveInject(ɵngcc2.ElementService), ɵngcc0.ɵɵdirectiveInject(ɵngcc2.AnimationFrameService, 8)); };\nDialog.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: Dialog, selectors: [[\"ibm-dialog\"]], viewQuery: function Dialog_Query(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵviewQuery(_c0, 5);\n    } if (rf & 2) {\n        let _t;\n        ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.dialog = _t.first);\n    } }, hostBindings: function Dialog_HostBindings(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵlistener(\"keydown\", function Dialog_keydown_HostBindingHandler($event) { return ctx.escapeClose($event); })(\"click\", function Dialog_click_HostBindingHandler($event) { return ctx.clickClose($event); }, false, ɵngcc0.ɵɵresolveDocument);\n    } }, inputs: { dialogConfig: \"dialogConfig\" }, outputs: { close: \"close\" }, decls: 0, vars: 0, template: function Dialog_Template(rf, ctx) { }, encapsulation: 2 });\n/** @nocollapse */\nDialog.ctorParameters = () => [\n    { type: ElementRef },\n    { type: ElementService },\n    { type: AnimationFrameService, decorators: [{ type: Optional }] }\n];\nDialog.propDecorators = {\n    close: [{ type: Output }],\n    dialogConfig: [{ type: Input }],\n    dialog: [{ type: ViewChild, args: [\"dialog\", { static: false },] }],\n    escapeClose: [{ type: HostListener, args: [\"keydown\", [\"$event\"],] }],\n    clickClose: [{ type: HostListener, args: [\"document:click\", [\"$event\"],] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(Dialog, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-dialog\",\n                template: \"\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }, { type: ɵngcc2.ElementService }, { type: ɵngcc2.AnimationFrameService, decorators: [{\n                type: Optional\n            }] }]; }, { close: [{\n            type: Output\n        }], \n    /**\n     * Sets up a KeyboardEvent to close `Dialog` with Escape key.\n     * @param event\n     */\n    escapeClose: [{\n            type: HostListener,\n            args: [\"keydown\", [\"$event\"]]\n        }], \n    /**\n     * Sets up a event Listener to close `Dialog` if click event occurs outside\n     * `Dialog` object.\n     * @param event\n     */\n    clickClose: [{\n            type: HostListener,\n            args: [\"document:click\", [\"$event\"]]\n        }], dialogConfig: [{\n            type: Input\n        }], dialog: [{\n            type: ViewChild,\n            args: [\"dialog\", { static: false }]\n        }] }); })();\n\n/**\n * A generic directive that can be inherited from to create dialogs (for example, a tooltip or popover)\n *\n * This class contains the relevant initialization code, specific templates, options, and additional inputs\n * should be specified in the derived class.\n *\n * NOTE: All child classes should add `DialogService` as a provider, otherwise they will lose context that\n * the service relies on.\n */\nclass DialogDirective {\n    /**\n     * Creates an instance of DialogDirective.\n     * @param elementRef\n     * @param viewContainerRef\n     * @param dialogService\n     * @param eventService\n     */\n    constructor(elementRef, viewContainerRef, dialogService, eventService) {\n        this.elementRef = elementRef;\n        this.viewContainerRef = viewContainerRef;\n        this.dialogService = dialogService;\n        this.eventService = eventService;\n        /**\n         * Title for the dialog\n         */\n        this.title = \"\";\n        /**\n         * Defines how the Dialog is triggered.(Hover and click behave the same on mobile - both respond to a single tap).\n         * Do not add focusable elements if trigger is `hover` or `mouseenter`.\n         */\n        this.trigger = \"click\";\n        /**\n         * Defines how the Dialog close event is triggered.\n         *\n         * [See here](https://developer.mozilla.org/en-US/docs/Web/API/Element/mouseleave_event)\n         * for more on the difference between `mouseleave` and `mouseout`.\n         *\n         * Defaults to `click` when `trigger` is set to `click`.\n         */\n        this.closeTrigger = \"mouseleave\";\n        /**\n         * Placement of the dialog, usually relative to the element the directive is on.\n         */\n        this.placement = \"left\";\n        /**\n         * Spacing between the dialog and it's triggering element\n         */\n        this.gap = 0;\n        /**\n         * Set to `true` to open the dialog next to the triggering component\n         */\n        this.appendInline = false;\n        /**\n         * Optional data for templates\n         */\n        this.data = {};\n        this.isOpen = false;\n        /**\n         * This prevents the dialog from being toggled\n         */\n        this.disabled = false;\n        /**\n         * Emits an event when the dialog is closed\n         */\n        this.onClose = new EventEmitter();\n        /**\n         * Emits an event when the dialog is opened\n         */\n        this.onOpen = new EventEmitter();\n        /**\n         * Emits an event when the state of `isOpen` changes. Allows `isOpen` to be double bound\n         */\n        this.isOpenChange = new EventEmitter();\n        this.role = \"button\";\n        this.hasPopup = true;\n    }\n    get ariaOwns() {\n        return this.isOpen ? this.dialogConfig.compID : null;\n    }\n    ngOnChanges(changes) {\n        // set the config object (this can [and should!] be added to in child classes depending on what they need)\n        this.dialogConfig = {\n            title: this.title,\n            content: this.ibmDialog,\n            placement: this.placement,\n            parentRef: this.elementRef,\n            gap: this.gap,\n            trigger: this.trigger,\n            closeTrigger: this.closeTrigger,\n            shouldClose: this.shouldClose || (() => true),\n            appendInline: this.appendInline,\n            wrapperClass: this.wrapperClass,\n            data: this.data,\n            offset: this.offset,\n            disabled: this.disabled\n        };\n        if (changes.isOpen) {\n            if (changes.isOpen.currentValue) {\n                this.open();\n            }\n            else if (!changes.isOpen.firstChange) {\n                this.close({\n                    reason: CloseReasons.programmatic\n                });\n            }\n        }\n        // Run any code a child class may need.\n        this.onDialogChanges(changes);\n        this.updateConfig();\n    }\n    /**\n     * Sets the config object and binds events for hovering or clicking before\n     * running code from child class.\n     */\n    ngOnInit() {\n        // fix for safari hijacking clicks\n        this.dialogService.singletonClickListen();\n        const element = this.elementRef.nativeElement;\n        this.eventService.on(element, \"keydown\", (event) => {\n            // \"Esc\" is an IE specific value\n            if (event.target === this.dialogConfig.parentRef.nativeElement &&\n                (event.key === \"Tab\" || event.key === \"Tab\" && event.shiftKey) ||\n                event.key === \"Escape\" || event.key === \"Esc\") {\n                this.close({\n                    reason: CloseReasons.interaction,\n                    target: event.target\n                });\n            }\n        });\n        // bind events for hovering or clicking the host\n        if (this.trigger === \"hover\" || this.trigger === \"mouseenter\") {\n            this.eventService.on(element, \"mouseenter\", this.open.bind(this));\n            this.eventService.on(element, this.closeTrigger, (event) => {\n                this.close({\n                    reason: CloseReasons.interaction,\n                    target: event.target\n                });\n            });\n            this.eventService.on(element, \"focus\", this.open.bind(this));\n            this.eventService.on(element, \"blur\", (event) => {\n                this.close({\n                    reason: CloseReasons.interaction,\n                    target: event.target\n                });\n            });\n        }\n        else {\n            this.eventService.on(element, \"click\", (event) => {\n                this.toggle({\n                    reason: CloseReasons.interaction,\n                    target: event.target\n                });\n            });\n            this.eventService.on(element, \"keydown\", (event) => {\n                // \"Spacebar\" is an IE specific value\n                if (event.key === \"Enter\" || event.key === \" \" || event.key === \"Spacebar\") {\n                    setTimeout(() => {\n                        this.open();\n                    });\n                }\n            });\n        }\n        DialogDirective.dialogCounter++;\n        this.dialogConfig.compID = \"dialog-\" + DialogDirective.dialogCounter;\n        // run any code a child class may need\n        this.onDialogInit();\n        this.updateConfig();\n    }\n    /**\n     * When the host dies, kill the popover.\n     * - Useful for use in a modal or similar.\n     */\n    ngOnDestroy() {\n        this.close({\n            reason: CloseReasons.destroyed\n        });\n    }\n    /**\n     * Helper method to call dialogService 'open'.\n     * - Enforce accessibility by updating an aria attr for nativeElement.\n     */\n    open() {\n        // don't allow dialogs to be opened if they're already open\n        if (this.dialogRef || this.disabled) {\n            return;\n        }\n        // actually open the dialog, emit events, and set the open state\n        this.dialogRef = this.dialogService.open(this.viewContainerRef, this.dialogConfig);\n        this.isOpen = true;\n        this.onOpen.emit();\n        this.isOpenChange.emit(true);\n        // Handles emitting all the close events to clean everything up\n        // Also enforce accessibility on close by updating an aria attr on the nativeElement.\n        this.dialogRef.instance.close.subscribe((meta) => {\n            if (!this.dialogRef) {\n                return;\n            }\n            if (this.dialogConfig.shouldClose && this.dialogConfig.shouldClose(meta)) {\n                // close the dialog, emit events, and clear out the open states\n                this.dialogService.close(this.dialogRef);\n                this.dialogRef = null;\n                this.isOpen = false;\n                this.onClose.emit();\n                this.isOpenChange.emit(false);\n            }\n        });\n        return this.dialogRef;\n    }\n    /**\n     * Helper method to toggle the open state of the dialog\n     */\n    toggle(meta = { reason: CloseReasons.interaction }) {\n        if (!this.isOpen) {\n            this.open();\n        }\n        else {\n            this.close(meta);\n        }\n    }\n    /**\n     * Helper method to close the dialogRef.\n     */\n    close(meta = { reason: CloseReasons.interaction }) {\n        if (this.dialogRef) {\n            this.dialogRef.instance.doClose(meta);\n        }\n    }\n    /**\n     * Empty method for child classes to override and specify additional init steps.\n     * Run after DialogDirective completes it's ngOnInit.\n     */\n    onDialogInit() { }\n    /**\n     * Empty method for child to override and specify additional on changes steps.\n     * run after DialogDirective completes it's ngOnChanges.\n     */\n    onDialogChanges(_changes) { }\n    updateConfig() { }\n}\nDialogDirective.ɵfac = function DialogDirective_Factory(t) { return new (t || DialogDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef), ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ViewContainerRef), ɵngcc0.ɵɵdirectiveInject(DialogService), ɵngcc0.ɵɵdirectiveInject(ɵngcc2.EventService)); };\nDialogDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: DialogDirective, selectors: [[\"\", \"ibmDialog\", \"\"]], hostVars: 4, hostBindings: function DialogDirective_HostBindings(rf, ctx) { if (rf & 2) {\n        ɵngcc0.ɵɵattribute(\"aria-expanded\", ctx.isOpen)(\"role\", ctx.role)(\"aria-haspopup\", ctx.hasPopup)(\"aria-owns\", ctx.ariaOwns);\n    } }, inputs: { title: \"title\", trigger: \"trigger\", closeTrigger: \"closeTrigger\", placement: \"placement\", gap: \"gap\", appendInline: \"appendInline\", data: \"data\", isOpen: \"isOpen\", disabled: \"disabled\", ibmDialog: \"ibmDialog\", offset: \"offset\", wrapperClass: \"wrapperClass\", shouldClose: \"shouldClose\" }, outputs: { onClose: \"onClose\", onOpen: \"onOpen\", isOpenChange: \"isOpenChange\" }, exportAs: [\"ibmDialog\"], features: [ɵngcc0.ɵɵProvidersFeature([\n            DialogService\n        ]), ɵngcc0.ɵɵNgOnChangesFeature] });\nDialogDirective.dialogCounter = 0;\n/** @nocollapse */\nDialogDirective.ctorParameters = () => [\n    { type: ElementRef },\n    { type: ViewContainerRef },\n    { type: DialogService },\n    { type: EventService }\n];\nDialogDirective.propDecorators = {\n    title: [{ type: Input }],\n    ibmDialog: [{ type: Input }],\n    trigger: [{ type: Input }],\n    closeTrigger: [{ type: Input }],\n    placement: [{ type: Input }],\n    offset: [{ type: Input }],\n    wrapperClass: [{ type: Input }],\n    gap: [{ type: Input }],\n    appendInline: [{ type: Input }],\n    data: [{ type: Input }],\n    isOpen: [{ type: Input }, { type: HostBinding, args: [\"attr.aria-expanded\",] }],\n    disabled: [{ type: Input }],\n    shouldClose: [{ type: Input }],\n    onClose: [{ type: Output }],\n    onOpen: [{ type: Output }],\n    isOpenChange: [{ type: Output }],\n    role: [{ type: HostBinding, args: [\"attr.role\",] }],\n    hasPopup: [{ type: HostBinding, args: [\"attr.aria-haspopup\",] }],\n    ariaOwns: [{ type: HostBinding, args: [\"attr.aria-owns\",] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(DialogDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmDialog]\",\n                exportAs: \"ibmDialog\",\n                providers: [\n                    DialogService\n                ]\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }, { type: ɵngcc0.ViewContainerRef }, { type: DialogService }, { type: ɵngcc2.EventService }]; }, { title: [{\n            type: Input\n        }], trigger: [{\n            type: Input\n        }], closeTrigger: [{\n            type: Input\n        }], placement: [{\n            type: Input\n        }], gap: [{\n            type: Input\n        }], appendInline: [{\n            type: Input\n        }], data: [{\n            type: Input\n        }], isOpen: [{\n            type: Input\n        }, {\n            type: HostBinding,\n            args: [\"attr.aria-expanded\"]\n        }], disabled: [{\n            type: Input\n        }], onClose: [{\n            type: Output\n        }], onOpen: [{\n            type: Output\n        }], isOpenChange: [{\n            type: Output\n        }], role: [{\n            type: HostBinding,\n            args: [\"attr.role\"]\n        }], hasPopup: [{\n            type: HostBinding,\n            args: [\"attr.aria-haspopup\"]\n        }], ariaOwns: [{\n            type: HostBinding,\n            args: [\"attr.aria-owns\"]\n        }], ibmDialog: [{\n            type: Input\n        }], offset: [{\n            type: Input\n        }], wrapperClass: [{\n            type: Input\n        }], shouldClose: [{\n            type: Input\n        }] }); })();\n\n/**\n * Extend the `Dialog` component to create a tooltip for exposing content.\n */\nclass Tooltip extends Dialog {\n    constructor(elementRef, elementService, animationFrameService = null) {\n        super(elementRef, elementService, animationFrameService);\n        this.elementRef = elementRef;\n        this.elementService = elementService;\n        this.animationFrameService = animationFrameService;\n        this.style = \"inline-block\";\n        /**\n         * Value is set to `true` if the `Tooltip` is to display a `TemplateRef` instead of a string.\n         */\n        this.hasContentTemplate = false;\n        /**\n         * Sets the role of the tooltip. If there's no focusable content we leave it as a `tooltip`,\n         * if there _is_ focusable content we switch to the interactive `dialog` role.\n         */\n        this.role = \"tooltip\";\n    }\n    /**\n     * Check whether there is a template for the `Tooltip` content.\n     */\n    onDialogInit() {\n        this.addGap[\"bottom\"] = pos => {\n            const adjustedOffset = this.getAdjustOffset();\n            return position.addOffset(pos, 3 + adjustedOffset.top, 0 + adjustedOffset.left);\n        };\n        this.addGap[\"top\"] = pos => {\n            const adjustedOffset = this.getAdjustOffset();\n            return position.addOffset(pos, -10 + adjustedOffset.top, 0 + adjustedOffset.left);\n        };\n        this.addGap[\"left\"] = pos => {\n            const adjustedOffset = this.getAdjustOffset();\n            return position.addOffset(pos, -3 + adjustedOffset.top, -6 + adjustedOffset.left);\n        };\n        this.addGap[\"right\"] = pos => {\n            const adjustedOffset = this.getAdjustOffset();\n            return position.addOffset(pos, -3 + adjustedOffset.top, 6 + adjustedOffset.left);\n        };\n        this.hasContentTemplate = this.dialogConfig.content instanceof TemplateRef;\n    }\n    getAdjustOffset() {\n        const closestWithPos = closestAttr(\"position\", [\"relative\", \"fixed\", \"absolute\"], this.elementRef.nativeElement.parentElement);\n        const topPos = closestWithPos ? closestWithPos.getBoundingClientRect().top * -1 : 0;\n        const leftPos = closestWithPos ? closestWithPos.getBoundingClientRect().left * -1 : 0;\n        return { top: topPos, left: leftPos };\n    }\n    afterDialogViewInit() {\n        const focusableElements = getFocusElementList(this.dialog.nativeElement);\n        if (focusableElements.length > 0) {\n            this.role = \"dialog\";\n            focusableElements[0].focus();\n        }\n    }\n}\nTooltip.ɵfac = function Tooltip_Factory(t) { return new (t || Tooltip)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef), ɵngcc0.ɵɵdirectiveInject(ɵngcc2.ElementService), ɵngcc0.ɵɵdirectiveInject(ɵngcc2.AnimationFrameService, 8)); };\nTooltip.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: Tooltip, selectors: [[\"ibm-tooltip\"]], hostVars: 2, hostBindings: function Tooltip_HostBindings(rf, ctx) { if (rf & 2) {\n        ɵngcc0.ɵɵstyleProp(\"display\", ctx.style);\n    } }, features: [ɵngcc0.ɵɵInheritDefinitionFeature], decls: 5, vars: 5, consts: [[1, \"bx--tooltip\", \"bx--tooltip--shown\", 3, \"id\"], [\"dialog\", \"\"], [\"aria-hidden\", \"true\", 1, \"bx--tooltip__caret\"], [4, \"ngIf\"], [3, \"ngTemplateOutlet\", \"ngTemplateOutletContext\"]], template: function Tooltip_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵelementStart(0, \"div\", 0, 1);\n        ɵngcc0.ɵɵelement(2, \"span\", 2);\n        ɵngcc0.ɵɵtemplate(3, Tooltip_3_Template, 1, 4, null, 3);\n        ɵngcc0.ɵɵtemplate(4, Tooltip_p_4_Template, 2, 1, \"p\", 3);\n        ɵngcc0.ɵɵelementEnd();\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"id\", ctx.dialogConfig.compID);\n        ɵngcc0.ɵɵattribute(\"role\", ctx.role)(\"data-floating-menu-direction\", ctx.placement);\n        ɵngcc0.ɵɵadvance(3);\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.hasContentTemplate);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.hasContentTemplate);\n    } }, dependencies: [ɵngcc3.NgIf, ɵngcc3.NgTemplateOutlet], encapsulation: 2 });\n/** @nocollapse */\nTooltip.ctorParameters = () => [\n    { type: ElementRef },\n    { type: ElementService },\n    { type: AnimationFrameService, decorators: [{ type: Optional }] }\n];\nTooltip.propDecorators = {\n    style: [{ type: HostBinding, args: [\"style.display\",] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(Tooltip, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-tooltip\",\n                template: `\n\t\t<div\n\t\t\t#dialog\n\t\t\t[id]=\"dialogConfig.compID\"\n\t\t\t[attr.role]=\"role\"\n\t\t\t[attr.data-floating-menu-direction]=\"placement\"\n\t\t\tclass=\"bx--tooltip bx--tooltip--shown\">\n\t\t\t<span class=\"bx--tooltip__caret\" aria-hidden=\"true\"></span>\n\t\t\t<ng-template\n\t\t\t\t\t*ngIf=\"hasContentTemplate\"\n\t\t\t\t\t[ngTemplateOutlet]=\"dialogConfig.content\"\n\t\t\t\t\t[ngTemplateOutletContext]=\"{tooltip: this}\">\n\t\t\t</ng-template>\n\t\t\t<p\n\t\t\t\t*ngIf=\"!hasContentTemplate\">\n\t\t\t\t{{dialogConfig.content}}\n\t\t\t</p>\n\t\t</div>\n\t\t`\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }, { type: ɵngcc2.ElementService }, { type: ɵngcc2.AnimationFrameService, decorators: [{\n                type: Optional\n            }] }]; }, { style: [{\n            type: HostBinding,\n            args: [\"style.display\"]\n        }] }); })();\n\nclass TooltipDefinition {\n    constructor() {\n        this.id = `definition-tooltip-${TooltipDefinition.tooltipItemCount++}`;\n        /**\n         * The placement in which the `TooltipDefinition` appears.\n         * Set to `\"top\"` to have it positioned above the trigger text\n         */\n        this.placement = \"bottom\";\n        this.alignment = \"start\";\n        this.className = true;\n        this.accessibility = true;\n    }\n}\nTooltipDefinition.ɵfac = function TooltipDefinition_Factory(t) { return new (t || TooltipDefinition)(); };\nTooltipDefinition.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: TooltipDefinition, selectors: [[\"ibm-tooltip-definition\"]], hostVars: 4, hostBindings: function TooltipDefinition_HostBindings(rf, ctx) { if (rf & 2) {\n        ɵngcc0.ɵɵclassProp(\"bx--tooltip--definition\", ctx.className)(\"bx--tooltip--a11y\", ctx.accessibility);\n    } }, inputs: { id: \"id\", placement: \"placement\", alignment: \"alignment\", content: \"content\" }, ngContentSelectors: _c3, decls: 4, vars: 10, consts: [[\"type\", \"button\", 1, \"bx--tooltip__trigger\", \"bx--tooltip--a11y\", \"bx--tooltip__trigger--definition\", 3, \"ngClass\"], [\"role\", \"tooltip\", 1, \"bx--assistive-text\", 3, \"id\"]], template: function TooltipDefinition_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵprojectionDef();\n        ɵngcc0.ɵɵelementStart(0, \"button\", 0);\n        ɵngcc0.ɵɵprojection(1);\n        ɵngcc0.ɵɵelementEnd();\n        ɵngcc0.ɵɵelementStart(2, \"div\", 1);\n        ɵngcc0.ɵɵtext(3);\n        ɵngcc0.ɵɵelementEnd();\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction5(4, _c2, ctx.placement === \"bottom\", ctx.placement === \"top\", ctx.alignment === \"start\", ctx.alignment === \"center\", ctx.alignment === \"end\"));\n        ɵngcc0.ɵɵattribute(\"aria-describedby\", ctx.id);\n        ɵngcc0.ɵɵadvance(2);\n        ɵngcc0.ɵɵproperty(\"id\", ctx.id);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵtextInterpolate(ctx.content);\n    } }, dependencies: [ɵngcc3.NgClass], encapsulation: 2 });\nTooltipDefinition.tooltipItemCount = 0;\nTooltipDefinition.propDecorators = {\n    id: [{ type: Input }],\n    content: [{ type: Input }],\n    placement: [{ type: Input }],\n    alignment: [{ type: Input }],\n    className: [{ type: HostBinding, args: [\"class.bx--tooltip--definition\",] }],\n    accessibility: [{ type: HostBinding, args: [\"class.bx--tooltip--a11y\",] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(TooltipDefinition, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-tooltip-definition\",\n                template: `\n\t\t<button\n\t\t\ttype=\"button\"\n\t\t\t[ngClass]=\"{\n\t\t\t\t'bx--tooltip--bottom' : placement === 'bottom',\n\t\t\t\t'bx--tooltip--top' : placement === 'top',\n\t\t\t\t'bx--tooltip--align-start' : alignment === 'start',\n\t\t\t\t'bx--tooltip--align-center' : alignment === 'center',\n\t\t\t\t'bx--tooltip--align-end' : alignment === 'end'\n\t\t\t}\"\n\t\t\tclass=\"bx--tooltip__trigger bx--tooltip--a11y bx--tooltip__trigger--definition\"\n\t\t\t[attr.aria-describedby]=\"id\">\n\t\t\t<ng-content></ng-content>\n\t\t</button>\n\t\t<div class=\"bx--assistive-text\" [id]=\"id\" role=\"tooltip\">{{content}}</div>\n\t`\n            }]\n    }], function () { return []; }, { id: [{\n            type: Input\n        }], placement: [{\n            type: Input\n        }], alignment: [{\n            type: Input\n        }], className: [{\n            type: HostBinding,\n            args: [\"class.bx--tooltip--definition\"]\n        }], accessibility: [{\n            type: HostBinding,\n            args: [\"class.bx--tooltip--a11y\"]\n        }], content: [{\n            type: Input\n        }] }); })();\n\nclass TooltipIcon {\n    constructor() {\n        /**\n         * The placement in which the `TooltipIcon` appears.\n         * Set to `\"top\"` to have it positioned above the icon\n         */\n        this.placement = \"bottom\";\n        this.alignment = \"start\";\n        this.className = true;\n    }\n}\nTooltipIcon.ɵfac = function TooltipIcon_Factory(t) { return new (t || TooltipIcon)(); };\nTooltipIcon.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: TooltipIcon, selectors: [[\"ibm-tooltip-icon\"]], hostVars: 2, hostBindings: function TooltipIcon_HostBindings(rf, ctx) { if (rf & 2) {\n        ɵngcc0.ɵɵclassProp(\"bx--tooltip-icon\", ctx.className);\n    } }, inputs: { placement: \"placement\", alignment: \"alignment\", content: \"content\" }, ngContentSelectors: _c3, decls: 4, vars: 10, consts: [[\"type\", \"button\", 1, \"bx--tooltip__trigger\", \"bx--tooltip--a11y\", 3, \"ngClass\"], [1, \"bx--assistive-text\"]], template: function TooltipIcon_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵprojectionDef();\n        ɵngcc0.ɵɵelementStart(0, \"button\", 0)(1, \"span\", 1);\n        ɵngcc0.ɵɵtext(2);\n        ɵngcc0.ɵɵelementEnd();\n        ɵngcc0.ɵɵprojection(3);\n        ɵngcc0.ɵɵelementEnd();\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction7(2, _c4, ctx.placement === \"bottom\", ctx.placement === \"top\", ctx.placement === \"left\", ctx.placement === \"right\", ctx.alignment === \"start\", ctx.alignment === \"center\", ctx.alignment === \"end\"));\n        ɵngcc0.ɵɵadvance(2);\n        ɵngcc0.ɵɵtextInterpolate(ctx.content);\n    } }, dependencies: [ɵngcc3.NgClass], encapsulation: 2 });\nTooltipIcon.propDecorators = {\n    content: [{ type: Input }],\n    placement: [{ type: Input }],\n    alignment: [{ type: Input }],\n    className: [{ type: HostBinding, args: [\"class.bx--tooltip-icon\",] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(TooltipIcon, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-tooltip-icon\",\n                template: `\n\t\t<button\n\t\t\ttype=\"button\"\n\t\t\tclass=\"bx--tooltip__trigger bx--tooltip--a11y\"\n\t\t\t[ngClass]=\"{\n\t\t\t\t'bx--tooltip--bottom' : placement === 'bottom',\n\t\t\t\t'bx--tooltip--top' : placement === 'top',\n\t\t\t\t'bx--tooltip--left' : placement === 'left',\n\t\t\t\t'bx--tooltip--right' : placement === 'right',\n\t\t\t\t'bx--tooltip--align-start' : alignment === 'start',\n\t\t\t\t'bx--tooltip--align-center' : alignment === 'center',\n\t\t\t\t'bx--tooltip--align-end' : alignment === 'end'\n\t\t\t}\">\n\t\t\t<span class=\"bx--assistive-text\">{{content}}</span>\n\t\t\t<ng-content></ng-content>\n\t\t</button>\n\t`\n            }]\n    }], function () { return []; }, { placement: [{\n            type: Input\n        }], alignment: [{\n            type: Input\n        }], className: [{\n            type: HostBinding,\n            args: [\"class.bx--tooltip-icon\"]\n        }], content: [{\n            type: Input\n        }] }); })();\n\n/**\n * Directive for extending `Dialog` to create tooltips.\n *\n * [See demo](../../?path=/story/components-tooltip--basic)\n *\n * class: TooltipDirective (extends PopoverDirective)\n *\n *\n * selector: `nTooltip`\n *\n *\n * ```html\n * <button nTooltip=\"I am a tooltip\" placement=\"right\" trigger=\"mouseenter\" type=\"danger\">Tooltip Right</button>\n * <button nTooltip=\"I am a tooltip\" type=\"warning\">Tooltip Top warning on click</button>\n * ```\n *\n * <example-url>../../iframe.html?id=components-tooltip--basic</example-url>\n */\nclass TooltipDirective extends DialogDirective {\n    /**\n     * Creates an instance of `TooltipDirective`.\n     */\n    constructor(elementRef, viewContainerRef, dialogService, eventService) {\n        super(elementRef, viewContainerRef, dialogService, eventService);\n        this.elementRef = elementRef;\n        this.viewContainerRef = viewContainerRef;\n        this.dialogService = dialogService;\n        this.eventService = eventService;\n        /**\n         * Set tooltip type to reflect 'warning' or 'error' styles.\n         */\n        // tslint:disable-next-line:no-input-rename\n        this.tooltipType = \"\";\n        this.tabIndex = 0;\n        this.className = true;\n        dialogService.setContext({ component: Tooltip });\n    }\n    get descriptorId() {\n        return this.isOpen ? this.dialogConfig.compID : null;\n    }\n    updateConfig() {\n        this.dialogConfig.content = this.ibmTooltip;\n        this.dialogConfig.type = this.tooltipType;\n        this.dialogConfig.offset = this.offset;\n    }\n}\nTooltipDirective.ɵfac = function TooltipDirective_Factory(t) { return new (t || TooltipDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef), ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ViewContainerRef), ɵngcc0.ɵɵdirectiveInject(DialogService), ɵngcc0.ɵɵdirectiveInject(ɵngcc2.EventService)); };\nTooltipDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: TooltipDirective, selectors: [[\"\", \"ibmTooltip\", \"\"]], hostVars: 4, hostBindings: function TooltipDirective_HostBindings(rf, ctx) { if (rf & 2) {\n        ɵngcc0.ɵɵhostProperty(\"tabindex\", ctx.tabIndex);\n        ɵngcc0.ɵɵattribute(\"aria-describedby\", ctx.descriptorId);\n        ɵngcc0.ɵɵclassProp(\"bx--tooltip__trigger\", ctx.className);\n    } }, inputs: { tooltipType: [\"tooltip-type\", \"tooltipType\"], ibmTooltip: \"ibmTooltip\" }, exportAs: [\"ibmTooltip\"], features: [ɵngcc0.ɵɵProvidersFeature([\n            DialogService\n        ]), ɵngcc0.ɵɵInheritDefinitionFeature] });\n/** @nocollapse */\nTooltipDirective.ctorParameters = () => [\n    { type: ElementRef },\n    { type: ViewContainerRef },\n    { type: DialogService },\n    { type: EventService }\n];\nTooltipDirective.propDecorators = {\n    ibmTooltip: [{ type: Input }],\n    tooltipType: [{ type: Input, args: [\"tooltip-type\",] }],\n    tabIndex: [{ type: HostBinding, args: [\"tabindex\",] }],\n    className: [{ type: HostBinding, args: [\"class.bx--tooltip__trigger\",] }],\n    descriptorId: [{ type: HostBinding, args: [\"attr.aria-describedby\",] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(TooltipDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmTooltip]\",\n                exportAs: \"ibmTooltip\",\n                providers: [\n                    DialogService\n                ]\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }, { type: ɵngcc0.ViewContainerRef }, { type: DialogService }, { type: ɵngcc2.EventService }]; }, { tooltipType: [{\n            type: Input,\n            args: [\"tooltip-type\"]\n        }], tabIndex: [{\n            type: HostBinding,\n            args: [\"tabindex\"]\n        }], className: [{\n            type: HostBinding,\n            args: [\"class.bx--tooltip__trigger\"]\n        }], descriptorId: [{\n            type: HostBinding,\n            args: [\"attr.aria-describedby\"]\n        }], ibmTooltip: [{\n            type: Input\n        }] }); })();\n\n/**\n * A directive that creates a tooltip `Dialog` for exposing truncated text.\n *\n * class: EllipsisTooltip (extends PopoverDirective)\n *\n * selector: `nEllipsisTooltip`\n *\n * ```html\n * <div class=\"ellipsis\" nEllipsisTooltip>Tooltip for ellipsis because I can and I am really really long</div>\n * ```\n */\nclass EllipsisTooltip extends TooltipDirective {\n    /**\n     * If text is truncated, this appends the text to the dialog as content.\n     * @returns null\n     * @memberof EllipsisTooltip\n     */\n    updateTooltipContent() {\n        if (this.elementRef.nativeElement.scrollWidth <= this.elementRef.nativeElement.offsetWidth) {\n            this.disabled = true;\n            return;\n        }\n        this.disabled = false;\n        this.dialogConfig.content = this.elementRef.nativeElement.innerText;\n    }\n    onClick() {\n        if (this.trigger === \"click\") {\n            this.updateTooltipContent();\n        }\n    }\n    onHover() {\n        if (this.trigger === \"hover\" || this.trigger === \"mouseenter\") {\n            this.updateTooltipContent();\n        }\n    }\n    onFocus() {\n        this.updateTooltipContent();\n    }\n}\nEllipsisTooltip.ɵfac = /*@__PURE__*/ function () { let ɵEllipsisTooltip_BaseFactory; return function EllipsisTooltip_Factory(t) { return (ɵEllipsisTooltip_BaseFactory || (ɵEllipsisTooltip_BaseFactory = ɵngcc0.ɵɵgetInheritedFactory(EllipsisTooltip)))(t || EllipsisTooltip); }; }();\nEllipsisTooltip.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: EllipsisTooltip, selectors: [[\"\", \"ibmEllipsisTooltip\", \"\"]], hostBindings: function EllipsisTooltip_HostBindings(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵlistener(\"click\", function EllipsisTooltip_click_HostBindingHandler() { return ctx.onClick(); })(\"mouseenter\", function EllipsisTooltip_mouseenter_HostBindingHandler() { return ctx.onHover(); })(\"focus\", function EllipsisTooltip_focus_HostBindingHandler() { return ctx.onFocus(); });\n    } }, features: [ɵngcc0.ɵɵProvidersFeature([\n            DialogService\n        ]), ɵngcc0.ɵɵInheritDefinitionFeature] });\nEllipsisTooltip.propDecorators = {\n    onClick: [{ type: HostListener, args: [\"click\",] }],\n    onHover: [{ type: HostListener, args: [\"mouseenter\",] }],\n    onFocus: [{ type: HostListener, args: [\"focus\",] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(EllipsisTooltip, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmEllipsisTooltip]\",\n                providers: [\n                    DialogService\n                ]\n            }]\n    }], null, { onClick: [{\n            type: HostListener,\n            args: [\"click\"]\n        }], onHover: [{\n            type: HostListener,\n            args: [\"mouseenter\"]\n        }], onFocus: [{\n            type: HostListener,\n            args: [\"focus\"]\n        }] }); })();\n\n/**\n * Extend the `Dialog` component to create an overflow menu.\n *\n * Not used directly. See overflow-menu.component and overflow-menu.directive for more\n */\nclass OverflowMenuPane extends Dialog {\n    constructor(elementRef, i18n, experimental, animationFrameService = null, \n    // mark `elementService` as optional since making it mandatory would be a breaking change\n    elementService = null) {\n        super(elementRef, elementService, animationFrameService);\n        this.elementRef = elementRef;\n        this.i18n = i18n;\n        this.experimental = experimental;\n        this.animationFrameService = animationFrameService;\n        this.elementService = elementService;\n    }\n    onDialogInit() {\n        const positionOverflowMenu = pos => {\n            let offset;\n            /*\n            * 20 is half the width of the overflow menu trigger element.\n            * we also move the element by half of it's own width, since\n            * position service will try and center everything\n            */\n            const closestRel = closestAttr(\"position\", [\"relative\", \"fixed\", \"absolute\"], this.elementRef.nativeElement);\n            const topFix = closestRel ? closestRel.getBoundingClientRect().top * -1 : 0;\n            const leftFix = closestRel ? closestRel.getBoundingClientRect().left * -1 : 0;\n            offset = Math.round(this.dialog.nativeElement.offsetWidth / 2) - 20;\n            if (this.dialogConfig.flip) {\n                return position.addOffset(pos, topFix, (-offset + leftFix));\n            }\n            return position.addOffset(pos, topFix, (offset + leftFix));\n        };\n        this.addGap[\"bottom\"] = positionOverflowMenu;\n        this.addGap[\"top\"] = positionOverflowMenu;\n        if (!this.dialogConfig.menuLabel) {\n            this.dialogConfig.menuLabel = this.i18n.get().OVERFLOW_MENU.OVERFLOW;\n        }\n    }\n    hostkeys(event) {\n        const listItems = this.listItems();\n        switch (event.key) {\n            case \"Down\": // IE specific value\n            case \"ArrowDown\":\n                event.preventDefault();\n                if (!isFocusInLastItem(event, listItems)) {\n                    const index = listItems.findIndex(item => item === event.target);\n                    listItems[index + 1].focus();\n                }\n                else {\n                    listItems[0].focus();\n                }\n                break;\n            case \"Up\": // IE specific value\n            case \"ArrowUp\":\n                event.preventDefault();\n                if (!isFocusInFirstItem(event, listItems)) {\n                    const index = listItems.findIndex(item => item === event.target);\n                    listItems[index - 1].focus();\n                }\n                else {\n                    listItems[listItems.length - 1].focus();\n                }\n                break;\n            case \"Home\":\n                event.preventDefault();\n                listItems[0].focus();\n                break;\n            case \"End\":\n                event.preventDefault();\n                listItems[listItems.length - 1].focus();\n                break;\n            case \"Esc\": // IE specific value\n            case \"Escape\":\n            case \"Tab\":\n                event.stopImmediatePropagation();\n                this.doClose({\n                    reason: CloseReasons.interaction,\n                    target: event.target\n                });\n                break;\n            default: break;\n        }\n    }\n    onClose(event) {\n        this.doClose({\n            reason: CloseReasons.interaction,\n            target: event.target\n        });\n    }\n    afterDialogViewInit() {\n        const focusElementList = this.listItems();\n        focusElementList.forEach(button => {\n            // Allows user to set tabindex to 0.\n            if (button.getAttribute(\"tabindex\") === null) {\n                button.tabIndex = -1;\n            }\n        });\n        if (focusElementList[0]) {\n            focusElementList[0].tabIndex = 0;\n            focusElementList[0].focus();\n        }\n    }\n    listItems() {\n        const selector = \".bx--overflow-menu-options__option:not([disabled]) .bx--overflow-menu-options__btn\";\n        return Array.from(this.elementRef.nativeElement.querySelectorAll(selector));\n    }\n}\nOverflowMenuPane.ɵfac = function OverflowMenuPane_Factory(t) { return new (t || OverflowMenuPane)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef), ɵngcc0.ɵɵdirectiveInject(ɵngcc4.I18n), ɵngcc0.ɵɵdirectiveInject(ɵngcc5.ExperimentalService), ɵngcc0.ɵɵdirectiveInject(ɵngcc2.AnimationFrameService, 8), ɵngcc0.ɵɵdirectiveInject(ɵngcc2.ElementService, 8)); };\nOverflowMenuPane.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: OverflowMenuPane, selectors: [[\"ibm-overflow-menu-pane\"]], hostBindings: function OverflowMenuPane_HostBindings(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵlistener(\"keydown\", function OverflowMenuPane_keydown_HostBindingHandler($event) { return ctx.hostkeys($event); });\n    } }, features: [ɵngcc0.ɵɵInheritDefinitionFeature], decls: 3, vars: 11, consts: [[\"role\", \"menu\", 1, \"bx--overflow-menu-options\", \"bx--overflow-menu-options--open\", 3, \"ngClass\", \"click\"], [\"dialog\", \"\"], [3, \"ngTemplateOutlet\", \"ngTemplateOutletContext\"]], template: function OverflowMenuPane_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵelementStart(0, \"ul\", 0, 1);\n        ɵngcc0.ɵɵlistener(\"click\", function OverflowMenuPane_Template_ul_click_0_listener($event) { return ctx.onClose($event); });\n        ɵngcc0.ɵɵtemplate(2, OverflowMenuPane_ng_template_2_Template, 0, 0, \"ng-template\", 2);\n        ɵngcc0.ɵɵelementEnd();\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction1(7, _c5, ctx.dialogConfig.flip));\n        ɵngcc0.ɵɵattribute(\"id\", ctx.dialogConfig.compID)(\"aria-label\", ctx.dialogConfig.menuLabel)(\"data-floating-menu-direction\", ctx.placement ? ctx.placement : null)(\"aria-label\", ctx.dialogConfig.menuLabel);\n        ɵngcc0.ɵɵadvance(2);\n        ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", ctx.dialogConfig.content)(\"ngTemplateOutletContext\", ɵngcc0.ɵɵpureFunction1(9, _c6, ctx));\n    } }, dependencies: [ɵngcc3.NgClass, ɵngcc3.NgTemplateOutlet], encapsulation: 2 });\n/** @nocollapse */\nOverflowMenuPane.ctorParameters = () => [\n    { type: ElementRef },\n    { type: I18n },\n    { type: ExperimentalService },\n    { type: AnimationFrameService, decorators: [{ type: Optional }] },\n    { type: ElementService, decorators: [{ type: Optional }] }\n];\nOverflowMenuPane.propDecorators = {\n    hostkeys: [{ type: HostListener, args: [\"keydown\", [\"$event\"],] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(OverflowMenuPane, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-overflow-menu-pane\",\n                template: `\n\t\t<ul\n\t\t\t[attr.id]=\"dialogConfig.compID\"\n\t\t\t[attr.aria-label]=\"dialogConfig.menuLabel\"\n\t\t\t[attr.data-floating-menu-direction]=\"placement ? placement : null\"\n\t\t\t[ngClass]=\"{'bx--overflow-menu--flip': dialogConfig.flip}\"\n\t\t\trole=\"menu\"\n\t\t\t#dialog\n\t\t\tclass=\"bx--overflow-menu-options bx--overflow-menu-options--open\"\n\t\t\t(click)=\"onClose($event)\"\n\t\t\t[attr.aria-label]=\"dialogConfig.menuLabel\">\n\t\t\t<ng-template\n\t\t\t\t[ngTemplateOutlet]=\"dialogConfig.content\"\n\t\t\t\t[ngTemplateOutletContext]=\"{overflowMenu: this}\">\n\t\t\t</ng-template>\n\t\t</ul>\n\t`\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }, { type: ɵngcc4.I18n }, { type: ɵngcc5.ExperimentalService }, { type: ɵngcc2.AnimationFrameService, decorators: [{\n                type: Optional\n            }] }, { type: ɵngcc2.ElementService, decorators: [{\n                type: Optional\n            }] }]; }, { hostkeys: [{\n            type: HostListener,\n            args: [\"keydown\", [\"$event\"]]\n        }] }); })();\n\nclass OverflowMenuCustomPane extends Dialog {\n    constructor(elementRef, i18n, animationFrameService = null, \n    // mark `elementService` as optional since making it mandatory would be a breaking change\n    elementService = null) {\n        super(elementRef, elementService, animationFrameService);\n        this.elementRef = elementRef;\n        this.i18n = i18n;\n        this.animationFrameService = animationFrameService;\n        this.elementService = elementService;\n    }\n    onClick(event) {\n        this.doClose({\n            reason: CloseReasons.interaction,\n            target: event.target\n        });\n    }\n    onDialogInit() {\n        const positionOverflowMenu = pos => {\n            let offset;\n            /*\n            * 20 is half the width of the overflow menu trigger element.\n            * we also move the element by half of it's own width, since\n            * position service will try and center everything\n            */\n            const closestRel = closestAttr(\"position\", [\"relative\", \"fixed\", \"absolute\"], this.elementRef.nativeElement);\n            const topFix = closestRel ? closestRel.getBoundingClientRect().top * -1 : 0;\n            const leftFix = closestRel ? closestRel.getBoundingClientRect().left * -1 : 0;\n            offset = Math.round(this.dialog.nativeElement.offsetWidth / 2) - 20;\n            if (this.dialogConfig.flip) {\n                return position.addOffset(pos, topFix, (-offset + leftFix));\n            }\n            return position.addOffset(pos, topFix, (offset + leftFix));\n        };\n        this.addGap[\"bottom\"] = positionOverflowMenu;\n        this.addGap[\"top\"] = positionOverflowMenu;\n        if (!this.dialogConfig.menuLabel) {\n            this.dialogConfig.menuLabel = this.i18n.get().OVERFLOW_MENU.OVERFLOW;\n        }\n    }\n}\nOverflowMenuCustomPane.ɵfac = function OverflowMenuCustomPane_Factory(t) { return new (t || OverflowMenuCustomPane)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef), ɵngcc0.ɵɵdirectiveInject(ɵngcc4.I18n), ɵngcc0.ɵɵdirectiveInject(ɵngcc2.AnimationFrameService, 8), ɵngcc0.ɵɵdirectiveInject(ɵngcc2.ElementService, 8)); };\nOverflowMenuCustomPane.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: OverflowMenuCustomPane, selectors: [[\"ibm-overflow-custom-menu-pane\"]], features: [ɵngcc0.ɵɵInheritDefinitionFeature], decls: 3, vars: 11, consts: [[\"role\", \"menu\", 1, \"bx--overflow-menu-options\", \"bx--overflow-menu-options--open\", 3, \"ngClass\", \"click\"], [\"dialog\", \"\"], [3, \"ngTemplateOutlet\", \"ngTemplateOutletContext\"]], template: function OverflowMenuCustomPane_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵelementStart(0, \"div\", 0, 1);\n        ɵngcc0.ɵɵlistener(\"click\", function OverflowMenuCustomPane_Template_div_click_0_listener($event) { return ctx.onClick($event); });\n        ɵngcc0.ɵɵtemplate(2, OverflowMenuCustomPane_ng_template_2_Template, 0, 0, \"ng-template\", 2);\n        ɵngcc0.ɵɵelementEnd();\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction1(7, _c5, ctx.dialogConfig.flip));\n        ɵngcc0.ɵɵattribute(\"id\", ctx.dialogConfig.compID)(\"aria-label\", ctx.dialogConfig.menuLabel)(\"data-floating-menu-direction\", ctx.placement ? ctx.placement : null)(\"aria-label\", ctx.dialogConfig.menuLabel);\n        ɵngcc0.ɵɵadvance(2);\n        ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", ctx.dialogConfig.content)(\"ngTemplateOutletContext\", ɵngcc0.ɵɵpureFunction1(9, _c6, ctx));\n    } }, dependencies: [ɵngcc3.NgClass, ɵngcc3.NgTemplateOutlet], encapsulation: 2 });\n/** @nocollapse */\nOverflowMenuCustomPane.ctorParameters = () => [\n    { type: ElementRef },\n    { type: I18n },\n    { type: AnimationFrameService, decorators: [{ type: Optional }] },\n    { type: ElementService, decorators: [{ type: Optional }] }\n];\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(OverflowMenuCustomPane, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-overflow-custom-menu-pane\",\n                template: `\n\t\t<div\n\t\t\t[attr.id]=\"dialogConfig.compID\"\n\t\t\t[attr.aria-label]=\"dialogConfig.menuLabel\"\n\t\t\t[attr.data-floating-menu-direction]=\"placement ? placement : null\"\n\t\t\t[ngClass]=\"{'bx--overflow-menu--flip': dialogConfig.flip}\"\n\t\t\tclass=\"bx--overflow-menu-options bx--overflow-menu-options--open\"\n\t\t\trole=\"menu\"\n\t\t\t(click)=\"onClick($event)\"\n\t\t\t#dialog\n\t\t\t[attr.aria-label]=\"dialogConfig.menuLabel\">\n\t\t\t<ng-template\n\t\t\t\t[ngTemplateOutlet]=\"dialogConfig.content\"\n\t\t\t\t[ngTemplateOutletContext]=\"{overflowMenu: this}\">\n\t\t\t</ng-template>\n\t\t</div>\n\t`\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }, { type: ɵngcc4.I18n }, { type: ɵngcc2.AnimationFrameService, decorators: [{\n                type: Optional\n            }] }, { type: ɵngcc2.ElementService, decorators: [{\n                type: Optional\n            }] }]; }, null); })();\n\n/**\n * Directive for extending `Dialog` to create overflow menus.\n *\n * class: OverflowMenuDirective (extends DialogDirective)\n *\n *\n * selector: `ibmOverflowMenu`\n *\n *\n * ```html\n * <div [ibmOverflowMenu]=\"templateRef\"></div>\n * <ng-template #templateRef>\n * \t<!-- overflow menu options here -->\n * </ng-template>\n * ```\n *\n * ```html\n * <div [ibmOverflowMenu]=\"templateRef\" [customPane]=\"true\"></div>\n * <ng-template #templateRef>\n *  <!-- custom content goes here -->\n * </ng-template>\n * ```\n */\nclass OverflowMenuDirective extends DialogDirective {\n    /**\n     * Creates an instance of `OverflowMenuDirective`.\n     */\n    constructor(elementRef, viewContainerRef, dialogService, eventService) {\n        super(elementRef, viewContainerRef, dialogService, eventService);\n        this.elementRef = elementRef;\n        this.viewContainerRef = viewContainerRef;\n        this.dialogService = dialogService;\n        this.eventService = eventService;\n        /**\n         * Controls wether the overflow menu is flipped\n         */\n        this.flip = false;\n        /**\n         * Classes to add to the dialog container\n         */\n        this.wrapperClass = \"\";\n        /**\n         * Set to true to for custom content\n         */\n        this.customPane = false;\n    }\n    ngAfterContentInit() {\n        this.dialogService.setContext({ component: this.customPane ? OverflowMenuCustomPane : OverflowMenuPane });\n    }\n    updateConfig() {\n        this.dialogConfig.content = this.ibmOverflowMenu;\n        this.dialogConfig.flip = this.flip;\n        this.dialogConfig.offset = this.offset;\n        this.dialogConfig.wrapperClass = this.wrapperClass;\n    }\n    hostkeys(event) {\n        switch (event.key) {\n            case \"Enter\":\n            case \" \":\n                event.preventDefault();\n                break;\n        }\n    }\n}\nOverflowMenuDirective.ɵfac = function OverflowMenuDirective_Factory(t) { return new (t || OverflowMenuDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef), ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ViewContainerRef), ɵngcc0.ɵɵdirectiveInject(DialogService), ɵngcc0.ɵɵdirectiveInject(ɵngcc2.EventService)); };\nOverflowMenuDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: OverflowMenuDirective, selectors: [[\"\", \"ibmOverflowMenu\", \"\"]], hostBindings: function OverflowMenuDirective_HostBindings(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵlistener(\"keydown\", function OverflowMenuDirective_keydown_HostBindingHandler($event) { return ctx.hostkeys($event); });\n    } }, inputs: { flip: \"flip\", wrapperClass: \"wrapperClass\", customPane: \"customPane\", ibmOverflowMenu: \"ibmOverflowMenu\", offset: \"offset\" }, exportAs: [\"ibmOverflowMenu\"], features: [ɵngcc0.ɵɵProvidersFeature([\n            DialogService\n        ]), ɵngcc0.ɵɵInheritDefinitionFeature] });\n/** @nocollapse */\nOverflowMenuDirective.ctorParameters = () => [\n    { type: ElementRef },\n    { type: ViewContainerRef },\n    { type: DialogService },\n    { type: EventService }\n];\nOverflowMenuDirective.propDecorators = {\n    ibmOverflowMenu: [{ type: Input }],\n    flip: [{ type: Input }],\n    offset: [{ type: Input }],\n    wrapperClass: [{ type: Input }],\n    customPane: [{ type: Input }],\n    hostkeys: [{ type: HostListener, args: [\"keydown\", [\"$event\"],] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(OverflowMenuDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmOverflowMenu]\",\n                exportAs: \"ibmOverflowMenu\",\n                providers: [\n                    DialogService\n                ]\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }, { type: ɵngcc0.ViewContainerRef }, { type: DialogService }, { type: ɵngcc2.EventService }]; }, { flip: [{\n            type: Input\n        }], wrapperClass: [{\n            type: Input\n        }], customPane: [{\n            type: Input\n        }], hostkeys: [{\n            type: HostListener,\n            args: [\"keydown\", [\"$event\"]]\n        }], ibmOverflowMenu: [{\n            type: Input\n        }], offset: [{\n            type: Input\n        }] }); })();\n\n/**\n * The OverFlow menu component encapsulates the OverFlowMenu directive, and the menu iconography into one convienent component\n *\n * [See demo](../../?path=/story/components-overflow-menu--basic)\n *\n * html:\n * ```\n * <ibm-overflow-menu>\n *\t<ibm-overflow-menu-option>Option 1</ibm-overflow-menu-option>\n *\t<ibm-overflow-menu-option>Option 2</ibm-overflow-menu-option>\n * </ibm-overflow-menu>\n * ```\n *\n * <example-url>../../iframe.html?id=components-overflow-menu--basic</example-url>\n */\nclass OverflowMenu {\n    constructor(elementRef, i18n) {\n        this.elementRef = elementRef;\n        this.i18n = i18n;\n        this.buttonLabel = this.i18n.get().OVERFLOW_MENU.OVERFLOW;\n        this.flip = false;\n        this.placement = \"bottom\";\n        this.open = false;\n        this.openChange = new EventEmitter();\n        this.wrapperClass = \"\";\n        /**\n         * This appends additional classes to the overflow trigger/button.\n         */\n        this.triggerClass = \"\";\n    }\n    handleOpenChange(event) {\n        this.open = event;\n        this.openChange.emit(event);\n    }\n}\nOverflowMenu.ɵfac = function OverflowMenu_Factory(t) { return new (t || OverflowMenu)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef), ɵngcc0.ɵɵdirectiveInject(ɵngcc4.I18n)); };\nOverflowMenu.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: OverflowMenu, selectors: [[\"ibm-overflow-menu\"]], contentQueries: function OverflowMenu_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {\n        ɵngcc0.ɵɵcontentQuery(dirIndex, OverflowMenuDirective, 5);\n    } if (rf & 2) {\n        let _t;\n        ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.overflowMenuDirective = _t.first);\n    } }, inputs: { buttonLabel: \"buttonLabel\", flip: \"flip\", placement: \"placement\", open: \"open\", wrapperClass: \"wrapperClass\", triggerClass: \"triggerClass\", customTrigger: \"customTrigger\", offset: \"offset\" }, outputs: { openChange: \"openChange\" }, ngContentSelectors: _c3, decls: 6, vars: 15, consts: [[\"aria-haspopup\", \"true\", \"type\", \"button\", 1, \"bx--overflow-menu\", 3, \"ibmOverflowMenu\", \"ngClass\", \"flip\", \"isOpen\", \"offset\", \"wrapperClass\", \"placement\", \"isOpenChange\"], [4, \"ngIf\", \"ngIfElse\"], [\"options\", \"\"], [\"defaultIcon\", \"\"], [3, \"ngTemplateOutlet\"], [\"ibmIcon\", \"overflow-menu--vertical\", \"size\", \"16\", 1, \"bx--overflow-menu__icon\"]], template: function OverflowMenu_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵprojectionDef();\n        ɵngcc0.ɵɵelementStart(0, \"button\", 0);\n        ɵngcc0.ɵɵlistener(\"isOpenChange\", function OverflowMenu_Template_button_isOpenChange_0_listener($event) { return ctx.handleOpenChange($event); });\n        ɵngcc0.ɵɵtemplate(1, OverflowMenu_1_Template, 1, 1, null, 1);\n        ɵngcc0.ɵɵelementEnd();\n        ɵngcc0.ɵɵtemplate(2, OverflowMenu_ng_template_2_Template, 1, 0, \"ng-template\", null, 2, ɵngcc0.ɵɵtemplateRefExtractor);\n        ɵngcc0.ɵɵtemplate(4, OverflowMenu_ng_template_4_Template, 1, 0, \"ng-template\", null, 3, ɵngcc0.ɵɵtemplateRefExtractor);\n    } if (rf & 2) {\n        const _r1 = ɵngcc0.ɵɵreference(3);\n        const _r3 = ɵngcc0.ɵɵreference(5);\n        ɵngcc0.ɵɵclassMapInterpolate1(\"bx--overflow-menu \", ctx.triggerClass, \"\");\n        ɵngcc0.ɵɵproperty(\"ibmOverflowMenu\", _r1)(\"ngClass\", ɵngcc0.ɵɵpureFunction1(13, _c7, ctx.open))(\"flip\", ctx.flip)(\"isOpen\", ctx.open)(\"offset\", ctx.offset)(\"wrapperClass\", ctx.wrapperClass)(\"placement\", ctx.placement);\n        ɵngcc0.ɵɵattribute(\"aria-label\", ctx.buttonLabel);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.customTrigger)(\"ngIfElse\", _r3);\n    } }, dependencies: [ɵngcc3.NgClass, ɵngcc3.NgIf, ɵngcc3.NgTemplateOutlet, ɵngcc6.IconDirective, OverflowMenuDirective], styles: [\"\\n\\t\\t.bx--overflow-menu--open {\\n\\t\\t\\topacity: 1\\n\\t\\t}\\n\\n\\t\\t/*\\n\\t\\tRotate the overflow menu container as well as the icon, since\\n\\t\\twe calculate our menu position based on the container, not the icon.\\n\\t\\t*/\\n\\t\\t.bx--data-table-v2 .bx--overflow-menu {\\n\\t\\t\\ttransform: rotate(90deg);\\n\\t\\t}\\n\\n\\t\\t.bx--data-table-v2 .bx--overflow-menu__icon {\\n\\t\\t\\ttransform: rotate(180deg);\\n\\t\\t}\\n\\t\"], encapsulation: 2 });\n/** @nocollapse */\nOverflowMenu.ctorParameters = () => [\n    { type: ElementRef },\n    { type: I18n }\n];\nOverflowMenu.propDecorators = {\n    buttonLabel: [{ type: Input }],\n    flip: [{ type: Input }],\n    placement: [{ type: Input }],\n    open: [{ type: Input }],\n    openChange: [{ type: Output }],\n    customTrigger: [{ type: Input }],\n    offset: [{ type: Input }],\n    wrapperClass: [{ type: Input }],\n    triggerClass: [{ type: Input }],\n    overflowMenuDirective: [{ type: ContentChild, args: [OverflowMenuDirective, { static: false },] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(OverflowMenu, [{\n        type: Component,\n        args: [{ selector: \"ibm-overflow-menu\", template: `\n\t\t<button\n\t\t\t[ibmOverflowMenu]=\"options\"\n\t\t\t[ngClass]=\"{'bx--overflow-menu--open': open}\"\n\t\t\tclass=\"bx--overflow-menu {{triggerClass}}\"\n\t\t\t[attr.aria-label]=\"buttonLabel\"\n\t\t\t[flip]=\"flip\"\n\t\t\t[isOpen]=\"open\"\n\t\t\t(isOpenChange)=\"handleOpenChange($event)\"\n\t\t\t[offset]=\"offset\"\n\t\t\t[wrapperClass]=\"wrapperClass\"\n\t\t\taria-haspopup=\"true\"\n\t\t\tclass=\"bx--overflow-menu\"\n\t\t\ttype=\"button\"\n\t\t\t[placement]=\"placement\">\n\t\t\t<ng-template *ngIf=\"customTrigger; else defaultIcon\" [ngTemplateOutlet]=\"customTrigger\"></ng-template>\n\t\t</button>\n\t\t<ng-template #options>\n\t\t\t<ng-content></ng-content>\n\t\t</ng-template>\n\t\t<ng-template #defaultIcon>\n\t\t\t<svg ibmIcon=\"overflow-menu--vertical\" size=\"16\" class=\"bx--overflow-menu__icon\"></svg>\n\t\t</ng-template>\n\t`, encapsulation: ViewEncapsulation.None, styles: [\"\\n\\t\\t.bx--overflow-menu--open {\\n\\t\\t\\topacity: 1\\n\\t\\t}\\n\\n\\t\\t/*\\n\\t\\tRotate the overflow menu container as well as the icon, since\\n\\t\\twe calculate our menu position based on the container, not the icon.\\n\\t\\t*/\\n\\t\\t.bx--data-table-v2 .bx--overflow-menu {\\n\\t\\t\\ttransform: rotate(90deg);\\n\\t\\t}\\n\\n\\t\\t.bx--data-table-v2 .bx--overflow-menu__icon {\\n\\t\\t\\ttransform: rotate(180deg);\\n\\t\\t}\\n\\t\"] }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }, { type: ɵngcc4.I18n }]; }, { buttonLabel: [{\n            type: Input\n        }], flip: [{\n            type: Input\n        }], placement: [{\n            type: Input\n        }], open: [{\n            type: Input\n        }], openChange: [{\n            type: Output\n        }], wrapperClass: [{\n            type: Input\n        }], triggerClass: [{\n            type: Input\n        }], customTrigger: [{\n            type: Input\n        }], offset: [{\n            type: Input\n        }], overflowMenuDirective: [{\n            type: ContentChild,\n            args: [OverflowMenuDirective, { static: false }]\n        }] }); })();\n\n/**\n * Available HTML anchor targets\n */\nvar Target;\n(function (Target) {\n    Target[\"self\"] = \"_self\";\n    Target[\"blank\"] = \"_blank\";\n    Target[\"parent\"] = \"_parent\";\n    Target[\"top\"] = \"_top\";\n})(Target || (Target = {}));\n/**\n * Security HTML anchor rel when target is set\n */\nconst REL = \"noreferrer noopener\";\n/**\n * `OverflowMenuOption` represents a single option in an overflow menu\n *\n * Presently it has three possible states - normal, disabled, and danger:\n * ```\n * <ibm-overflow-menu-option>Simple option</ibm-overflow-menu-option>\n * <ibm-overflow-menu-option disabled=\"true\">Disabled</ibm-overflow-menu-option>\n * <ibm-overflow-menu-option type=\"danger\">Danger option</ibm-overflow-menu-option>\n * ```\n *\n * For content that expands beyond the overflow menu `OverflowMenuOption` automatically adds a title attribute.\n */\nclass OverflowMenuOption {\n    constructor(elementRef) {\n        this.elementRef = elementRef;\n        this.optionClass = true;\n        this.role = \"presentation\";\n        /**\n         * Set to `true` to display a dividing line above this option\n         */\n        this.divider = false;\n        /**\n         * toggles between `normal` and `danger` states\n         */\n        this.type = \"normal\";\n        /**\n         * disable/enable interactions\n         */\n        this.disabled = false;\n        /**\n         * Apply a custom class to the inner button/anchor\n         */\n        this.innerClass = \"\";\n        this.selected = new EventEmitter();\n        this.tabIndex = -1;\n        // note: title must be a real attribute (i.e. not a getter) as of Angular@6 due to\n        // change after checked errors\n        this.title = null;\n    }\n    get isDanger() {\n        return this.type === \"danger\";\n    }\n    get isDisabled() {\n        return this.disabled;\n    }\n    /**\n     * Allows to add a target to the anchor\n     */\n    set target(value) {\n        if (!Object.values(Target).includes(value)) {\n            console.warn(`\\`target\\` must have one of the following values: ${Object.values(Target).join(\", \")}.\nPlease use the \\`Target\\` enum exported by carbon-components-angular`);\n            return;\n        }\n        this._target = value;\n    }\n    get target() {\n        return this._target;\n    }\n    /**\n     * rel only returns its value if target is defined\n     */\n    get rel() {\n        return this._target ? REL : null;\n    }\n    onClick() {\n        this.selected.emit();\n    }\n    onFocus() {\n        setTimeout(() => this.tabIndex = 0);\n    }\n    onBlur() {\n        setTimeout(() => this.tabIndex = -1);\n    }\n    ngAfterViewInit() {\n        const button = this.elementRef.nativeElement.querySelector(\"button, a\");\n        const textContainer = button.querySelector(\".bx--overflow-menu-options__option-content\");\n        if (textContainer.scrollWidth > textContainer.offsetWidth) {\n            this.title = button.textContent;\n        }\n    }\n}\nOverflowMenuOption.ɵfac = function OverflowMenuOption_Factory(t) { return new (t || OverflowMenuOption)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nOverflowMenuOption.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: OverflowMenuOption, selectors: [[\"ibm-overflow-menu-option\"]], hostVars: 9, hostBindings: function OverflowMenuOption_HostBindings(rf, ctx) { if (rf & 2) {\n        ɵngcc0.ɵɵattribute(\"role\", ctx.role);\n        ɵngcc0.ɵɵclassProp(\"bx--overflow-menu-options__option\", ctx.optionClass)(\"bx--overflow-menu--divider\", ctx.divider)(\"bx--overflow-menu-options__option--danger\", ctx.isDanger)(\"bx--overflow-menu-options__option--disabled\", ctx.isDisabled);\n    } }, inputs: { divider: \"divider\", type: \"type\", disabled: \"disabled\", innerClass: \"innerClass\", target: \"target\", href: \"href\" }, outputs: { selected: \"selected\" }, ngContentSelectors: _c3, decls: 4, vars: 2, consts: [[\"role\", \"menuitem\", 3, \"class\", \"tabindex\", \"disabled\", \"focus\", \"blur\", \"click\", 4, \"ngIf\"], [\"role\", \"menuitem\", 3, \"class\", \"tabindex\", \"href\", \"focus\", \"blur\", \"click\", 4, \"ngIf\"], [\"tempOutlet\", \"\"], [\"role\", \"menuitem\", 3, \"tabindex\", \"disabled\", \"focus\", \"blur\", \"click\"], [4, \"ngTemplateOutlet\"], [\"role\", \"menuitem\", 3, \"tabindex\", \"href\", \"focus\", \"blur\", \"click\"], [1, \"bx--overflow-menu-options__option-content\"]], template: function OverflowMenuOption_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵprojectionDef();\n        ɵngcc0.ɵɵtemplate(0, OverflowMenuOption_button_0_Template, 2, 7, \"button\", 0);\n        ɵngcc0.ɵɵtemplate(1, OverflowMenuOption_a_1_Template, 2, 10, \"a\", 1);\n        ɵngcc0.ɵɵtemplate(2, OverflowMenuOption_ng_template_2_Template, 2, 0, \"ng-template\", null, 2, ɵngcc0.ɵɵtemplateRefExtractor);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.href);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.href);\n    } }, dependencies: [ɵngcc3.NgIf, ɵngcc3.NgTemplateOutlet], encapsulation: 2 });\n/** @nocollapse */\nOverflowMenuOption.ctorParameters = () => [\n    { type: ElementRef }\n];\nOverflowMenuOption.propDecorators = {\n    optionClass: [{ type: HostBinding, args: [\"class.bx--overflow-menu-options__option\",] }],\n    role: [{ type: HostBinding, args: [\"attr.role\",] }],\n    isDanger: [{ type: HostBinding, args: [\"class.bx--overflow-menu-options__option--danger\",] }],\n    isDisabled: [{ type: HostBinding, args: [\"class.bx--overflow-menu-options__option--disabled\",] }],\n    divider: [{ type: HostBinding, args: [\"class.bx--overflow-menu--divider\",] }, { type: Input }],\n    type: [{ type: Input }],\n    disabled: [{ type: Input }],\n    href: [{ type: Input }],\n    target: [{ type: Input }],\n    innerClass: [{ type: Input }],\n    selected: [{ type: Output }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(OverflowMenuOption, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-overflow-menu-option\",\n                template: `\n\t\t<button\n\t\t\t*ngIf=\"!href\"\n\t\t\tclass=\"bx--overflow-menu-options__btn {{innerClass}}\"\n\t\t\trole=\"menuitem\"\n\t\t\t[tabindex]=\"tabIndex\"\n\t\t\t(focus)=\"onFocus()\"\n\t\t\t(blur)=\"onBlur()\"\n\t\t\t(click)=\"onClick()\"\n\t\t\t[disabled]=\"disabled\"\n\t\t\t[attr.title]=\"title\">\n\t\t\t<ng-container *ngTemplateOutlet=\"tempOutlet\"></ng-container>\n\t\t</button>\n\n\t\t<a\n\t\t\t*ngIf=\"href\"\n\t\t\tclass=\"bx--overflow-menu-options__btn {{innerClass}}\"\n\t\t\trole=\"menuitem\"\n\t\t\t[tabindex]=\"tabIndex\"\n\t\t\t(focus)=\"onFocus()\"\n\t\t\t(blur)=\"onBlur()\"\n\t\t\t(click)=\"onClick()\"\n\t\t\t[attr.disabled]=\"disabled\"\n\t\t\t[href]=\"href\"\n\t\t\t[attr.target]=\"target\"\n\t\t\t[attr.rel]=\"rel\"\n\t\t\t[attr.title]=\"title\">\n\t\t\t<ng-container *ngTemplateOutlet=\"tempOutlet\"></ng-container>\n\t\t</a>\n\n\t\t<ng-template #tempOutlet>\n\t\t\t<div class=\"bx--overflow-menu-options__option-content\">\n\t\t\t\t<ng-content></ng-content>\n\t\t\t</div>\n\t\t</ng-template>\n\t`\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { optionClass: [{\n            type: HostBinding,\n            args: [\"class.bx--overflow-menu-options__option\"]\n        }], role: [{\n            type: HostBinding,\n            args: [\"attr.role\"]\n        }], divider: [{\n            type: HostBinding,\n            args: [\"class.bx--overflow-menu--divider\"]\n        }, {\n            type: Input\n        }], type: [{\n            type: Input\n        }], disabled: [{\n            type: Input\n        }], innerClass: [{\n            type: Input\n        }], selected: [{\n            type: Output\n        }], isDanger: [{\n            type: HostBinding,\n            args: [\"class.bx--overflow-menu-options__option--danger\"]\n        }], isDisabled: [{\n            type: HostBinding,\n            args: [\"class.bx--overflow-menu-options__option--disabled\"]\n        }], target: [{\n            type: Input\n        }], href: [{\n            type: Input\n        }] }); })();\n\n// modules\nclass DialogModule {\n}\nDialogModule.ɵfac = function DialogModule_Factory(t) { return new (t || DialogModule)(); };\nDialogModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: DialogModule });\nDialogModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({ providers: [DialogService], imports: [CommonModule,\n        I18nModule,\n        PlaceholderModule,\n        ExperimentalModule,\n        UtilsModule,\n        IconModule] });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(DialogModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    Dialog,\n                    Tooltip,\n                    TooltipDefinition,\n                    TooltipIcon,\n                    OverflowMenu,\n                    OverflowMenuPane,\n                    OverflowMenuCustomPane,\n                    DialogDirective,\n                    TooltipDirective,\n                    EllipsisTooltip,\n                    OverflowMenuDirective,\n                    OverflowMenuOption\n                ],\n                exports: [\n                    Dialog,\n                    Tooltip,\n                    TooltipDefinition,\n                    TooltipIcon,\n                    OverflowMenu,\n                    OverflowMenuPane,\n                    OverflowMenuCustomPane,\n                    DialogDirective,\n                    TooltipDirective,\n                    EllipsisTooltip,\n                    OverflowMenuDirective,\n                    OverflowMenuOption\n                ],\n                providers: [DialogService],\n                entryComponents: [\n                    Dialog,\n                    Tooltip,\n                    OverflowMenuPane,\n                    OverflowMenuCustomPane\n                ],\n                imports: [\n                    CommonModule,\n                    I18nModule,\n                    PlaceholderModule,\n                    ExperimentalModule,\n                    UtilsModule,\n                    IconModule\n                ]\n            }]\n    }], null, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(DialogModule, { declarations: function () { return [Dialog, Tooltip, TooltipDefinition, TooltipIcon, OverflowMenu, OverflowMenuPane, OverflowMenuCustomPane, DialogDirective, TooltipDirective, EllipsisTooltip, OverflowMenuDirective, OverflowMenuOption]; }, imports: function () { return [CommonModule,\n        I18nModule,\n        PlaceholderModule,\n        ExperimentalModule,\n        UtilsModule,\n        IconModule]; }, exports: function () { return [Dialog, Tooltip, TooltipDefinition, TooltipIcon, OverflowMenu, OverflowMenuPane, OverflowMenuCustomPane, DialogDirective, TooltipDirective, EllipsisTooltip, OverflowMenuDirective, OverflowMenuOption]; } }); })();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { DialogService, Dialog, DialogDirective, Tooltip, TooltipDefinition, TooltipIcon, TooltipDirective, EllipsisTooltip, OverflowMenu, OverflowMenuPane, OverflowMenuCustomPane, OverflowMenuDirective, OverflowMenuOption, CloseReasons, DialogModule };\n\n","/**\n *\n * carbon-angular v0.0.0 | carbon-components-angular-dropdown.js\n *\n * Copyright 2014, 2023 IBM\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\nimport { position } from '@carbon/utils-position';\nimport { Subscription, of, fromEvent, Observable, isObservable } from 'rxjs';\nimport { debounceTime, map, filter, first } from 'rxjs/operators';\nimport { Input, Output, EventEmitter, Directive, Injectable, Component, ElementRef, ContentChild, ViewChild, HostListener, HostBinding, TemplateRef, ViewChildren, ApplicationRef, NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { NG_VALUE_ACCESSOR, FormsModule } from '@angular/forms';\nimport { I18n, I18nModule } from 'carbon-components-angular/i18n';\nimport { PlaceholderService, PlaceholderModule } from 'carbon-components-angular/placeholder';\nimport { AnimationFrameService, closestAttr, ElementService, getScrollableParents, hasScrollableParents, UtilsModule } from 'carbon-components-angular/utils';\nimport { IconModule } from 'carbon-components-angular/icon';\n\n/**\n * A component that intends to be used within `Dropdown` must provide an implementation that extends this base class.\n * It also must provide the base class in the `@Component` meta-data.\n * ex: `providers: [{provide: AbstractDropdownView, useExisting: forwardRef(() => MyDropdownView)}]`\n */\nimport * as ɵngcc0 from '@angular/core';\nimport * as ɵngcc1 from 'carbon-components-angular/placeholder';\nimport * as ɵngcc2 from 'carbon-components-angular/utils';\nimport * as ɵngcc3 from 'carbon-components-angular/i18n';\nimport * as ɵngcc4 from '@angular/common';\nimport * as ɵngcc5 from 'carbon-components-angular/icon';\n\nconst _c0 = [\"dropdownButton\"];\nconst _c1 = [\"dropdownMenu\"];\nfunction Dropdown_label_0_ng_container_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainerStart(0);\n    ɵngcc0.ɵɵtext(1);\n    ɵngcc0.ɵɵelementContainerEnd();\n} if (rf & 2) {\n    const ctx_r13 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate(ctx_r13.label);\n} }\nfunction Dropdown_label_0_2_ng_template_0_Template(rf, ctx) { }\nfunction Dropdown_label_0_2_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵtemplate(0, Dropdown_label_0_2_ng_template_0_Template, 0, 0, \"ng-template\", 16);\n} if (rf & 2) {\n    const ctx_r14 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r14.label);\n} }\nconst _c2 = function (a0) { return { \"bx--label--disabled\": a0 }; };\nfunction Dropdown_label_0_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"label\", 15);\n    ɵngcc0.ɵɵtemplate(1, Dropdown_label_0_ng_container_1_Template, 2, 1, \"ng-container\", 6);\n    ɵngcc0.ɵɵtemplate(2, Dropdown_label_0_2_Template, 1, 1, null, 6);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r0 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵproperty(\"for\", ctx_r0.id)(\"ngClass\", ɵngcc0.ɵɵpureFunction1(4, _c2, ctx_r0.disabled));\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r0.isTemplate(ctx_r0.label));\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r0.isTemplate(ctx_r0.label));\n} }\nfunction Dropdown_div_4_Template(rf, ctx) { if (rf & 1) {\n    const _r17 = ɵngcc0.ɵɵgetCurrentView();\n    ɵngcc0.ɵɵelementStart(0, \"div\", 17);\n    ɵngcc0.ɵɵlistener(\"click\", function Dropdown_div_4_Template_div_click_0_listener() { ɵngcc0.ɵɵrestoreView(_r17); const ctx_r16 = ɵngcc0.ɵɵnextContext(); return ɵngcc0.ɵɵresetView(ctx_r16.clearSelected()); })(\"keydown.enter\", function Dropdown_div_4_Template_div_keydown_enter_0_listener() { ɵngcc0.ɵɵrestoreView(_r17); const ctx_r18 = ɵngcc0.ɵɵnextContext(); return ɵngcc0.ɵɵresetView(ctx_r18.clearSelected()); });\n    ɵngcc0.ɵɵtext(1);\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵelementStart(2, \"svg\", 18);\n    ɵngcc0.ɵɵelement(3, \"path\", 19);\n    ɵngcc0.ɵɵelementEnd()();\n} if (rf & 2) {\n    const ctx_r2 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵproperty(\"title\", ctx_r2.clearText);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate1(\" \", ctx_r2.getSelectedCount(), \" \");\n} }\nfunction Dropdown_span_5_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"span\", 20);\n    ɵngcc0.ɵɵtext(1);\n    ɵngcc0.ɵɵpipe(2, \"async\");\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r3 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate(ɵngcc0.ɵɵpipeBind1(2, 1, ctx_r3.getDisplayStringValue()));\n} }\nfunction Dropdown_6_ng_template_0_Template(rf, ctx) { }\nfunction Dropdown_6_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵtemplate(0, Dropdown_6_ng_template_0_Template, 0, 0, \"ng-template\", 21);\n} if (rf & 2) {\n    const ctx_r4 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵproperty(\"ngTemplateOutletContext\", ctx_r4.getRenderTemplateContext())(\"ngTemplateOutlet\", ctx_r4.displayValue);\n} }\nfunction Dropdown__svg_svg_7_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵelement(0, \"svg\", 22);\n} }\nfunction Dropdown__svg_svg_8_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵelement(0, \"svg\", 23);\n} }\nconst _c3 = function (a0) { return { \"bx--list-box__menu-icon--open\": a0 }; };\nfunction Dropdown__svg_svg_10_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵelement(0, \"svg\", 24);\n} if (rf & 2) {\n    const ctx_r7 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction1(2, _c3, !ctx_r7.menuIsClosed));\n    ɵngcc0.ɵɵattribute(\"aria-label\", ctx_r7.menuButtonLabel);\n} }\nfunction Dropdown_ng_content_13_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵprojection(0, 0, [\"*ngIf\", \"!menuIsClosed\"]);\n} }\nfunction Dropdown_div_14_ng_container_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainerStart(0);\n    ɵngcc0.ɵɵtext(1);\n    ɵngcc0.ɵɵelementContainerEnd();\n} if (rf & 2) {\n    const ctx_r20 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate(ctx_r20.helperText);\n} }\nfunction Dropdown_div_14_2_ng_template_0_Template(rf, ctx) { }\nfunction Dropdown_div_14_2_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵtemplate(0, Dropdown_div_14_2_ng_template_0_Template, 0, 0, \"ng-template\", 16);\n} if (rf & 2) {\n    const ctx_r21 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r21.helperText);\n} }\nconst _c4 = function (a0) { return { \"bx--form__helper-text--disabled\": a0 }; };\nfunction Dropdown_div_14_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"div\", 25);\n    ɵngcc0.ɵɵtemplate(1, Dropdown_div_14_ng_container_1_Template, 2, 1, \"ng-container\", 6);\n    ɵngcc0.ɵɵtemplate(2, Dropdown_div_14_2_Template, 1, 1, null, 6);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r10 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction1(3, _c4, ctx_r10.disabled));\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r10.isTemplate(ctx_r10.helperText));\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r10.isTemplate(ctx_r10.helperText));\n} }\nfunction Dropdown_div_15_ng_container_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainerStart(0);\n    ɵngcc0.ɵɵtext(1);\n    ɵngcc0.ɵɵelementContainerEnd();\n} if (rf & 2) {\n    const ctx_r23 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate(ctx_r23.invalidText);\n} }\nfunction Dropdown_div_15_2_ng_template_0_Template(rf, ctx) { }\nfunction Dropdown_div_15_2_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵtemplate(0, Dropdown_div_15_2_ng_template_0_Template, 0, 0, \"ng-template\", 16);\n} if (rf & 2) {\n    const ctx_r24 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r24.invalidText);\n} }\nfunction Dropdown_div_15_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"div\", 26);\n    ɵngcc0.ɵɵtemplate(1, Dropdown_div_15_ng_container_1_Template, 2, 1, \"ng-container\", 6);\n    ɵngcc0.ɵɵtemplate(2, Dropdown_div_15_2_Template, 1, 1, null, 6);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r11 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r11.isTemplate(ctx_r11.invalidText));\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r11.isTemplate(ctx_r11.invalidText));\n} }\nfunction Dropdown_div_16_ng_container_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainerStart(0);\n    ɵngcc0.ɵɵtext(1);\n    ɵngcc0.ɵɵelementContainerEnd();\n} if (rf & 2) {\n    const ctx_r26 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate(ctx_r26.warnText);\n} }\nfunction Dropdown_div_16_2_ng_template_0_Template(rf, ctx) { }\nfunction Dropdown_div_16_2_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵtemplate(0, Dropdown_div_16_2_ng_template_0_Template, 0, 0, \"ng-template\", 16);\n} if (rf & 2) {\n    const ctx_r27 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r27.warnText);\n} }\nfunction Dropdown_div_16_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"div\", 26);\n    ɵngcc0.ɵɵtemplate(1, Dropdown_div_16_ng_container_1_Template, 2, 1, \"ng-container\", 6);\n    ɵngcc0.ɵɵtemplate(2, Dropdown_div_16_2_Template, 1, 1, null, 6);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r12 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r12.isTemplate(ctx_r12.warnText));\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r12.isTemplate(ctx_r12.warnText));\n} }\nconst _c5 = function (a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12) { return { \"bx--dropdown\": a0, \"bx--multiselect\": a1, \"bx--multi-select--selected\": a2, \"bx--dropdown--light\": a3, \"bx--list-box--light\": a4, \"bx--list-box--inline\": a5, \"bx--skeleton\": a6, \"bx--dropdown--disabled bx--list-box--disabled\": a7, \"bx--dropdown--invalid\": a8, \"bx--dropdown--warning bx--list-box--warning\": a9, \"bx--dropdown--xl bx--list-box--xl\": a10, \"bx--dropdown--sm bx--list-box--sm\": a11, \"bx--list-box--expanded\": a12 }; };\nconst _c6 = function (a0) { return { \"a\": a0 }; };\nconst _c7 = function (a0) { return { \"bx--list-box--up\": a0 }; };\nconst _c8 = [\"*\"];\nconst _c9 = [\"list\"];\nconst _c10 = [\"listItem\"];\nfunction DropdownList_li_2_div_3_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"div\", 9)(1, \"label\", 10);\n    ɵngcc0.ɵɵelement(2, \"input\", 11)(3, \"span\", 12);\n    ɵngcc0.ɵɵelementStart(4, \"span\", 13);\n    ɵngcc0.ɵɵtext(5);\n    ɵngcc0.ɵɵelementEnd()()();\n} if (rf & 2) {\n    const item_r2 = ɵngcc0.ɵɵnextContext().$implicit;\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵattribute(\"data-contained-checkbox-state\", item_r2.selected);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"checked\", item_r2.selected)(\"disabled\", item_r2.disabled);\n    ɵngcc0.ɵɵadvance(3);\n    ɵngcc0.ɵɵtextInterpolate(item_r2.content);\n} }\nfunction DropdownList_li_2_ng_container_4_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainerStart(0);\n    ɵngcc0.ɵɵtext(1);\n    ɵngcc0.ɵɵelementContainerEnd();\n} if (rf & 2) {\n    const item_r2 = ɵngcc0.ɵɵnextContext().$implicit;\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate(item_r2.content);\n} }\nfunction DropdownList_li_2__svg_svg_5_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵelement(0, \"svg\", 14);\n} }\nfunction DropdownList_li_2_6_ng_template_0_Template(rf, ctx) { }\nconst _c11 = function (a0) { return { item: a0 }; };\nfunction DropdownList_li_2_6_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵtemplate(0, DropdownList_li_2_6_ng_template_0_Template, 0, 0, \"ng-template\", 15);\n} if (rf & 2) {\n    const item_r2 = ɵngcc0.ɵɵnextContext().$implicit;\n    const ctx_r8 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵproperty(\"ngTemplateOutletContext\", ɵngcc0.ɵɵpureFunction1(2, _c11, item_r2))(\"ngTemplateOutlet\", ctx_r8.listTpl);\n} }\nconst _c12 = function (a0, a1) { return { \"bx--list-box__menu-item--active\": a0, \"bx--list-box__menu-item--highlighted\": a1 }; };\nfunction DropdownList_li_2_Template(rf, ctx) { if (rf & 1) {\n    const _r14 = ɵngcc0.ɵɵgetCurrentView();\n    ɵngcc0.ɵɵelementStart(0, \"li\", 3);\n    ɵngcc0.ɵɵlistener(\"click\", function DropdownList_li_2_Template_li_click_0_listener($event) { const restoredCtx = ɵngcc0.ɵɵrestoreView(_r14); const item_r2 = restoredCtx.$implicit; const ctx_r13 = ɵngcc0.ɵɵnextContext(); return ɵngcc0.ɵɵresetView(ctx_r13.doClick($event, item_r2)); });\n    ɵngcc0.ɵɵelementStart(1, \"div\", 4, 5);\n    ɵngcc0.ɵɵtemplate(3, DropdownList_li_2_div_3_Template, 6, 4, \"div\", 6);\n    ɵngcc0.ɵɵtemplate(4, DropdownList_li_2_ng_container_4_Template, 2, 1, \"ng-container\", 7);\n    ɵngcc0.ɵɵtemplate(5, DropdownList_li_2__svg_svg_5_Template, 1, 0, \"svg\", 8);\n    ɵngcc0.ɵɵtemplate(6, DropdownList_li_2_6_Template, 1, 4, null, 7);\n    ɵngcc0.ɵɵelementEnd()();\n} if (rf & 2) {\n    const item_r2 = ctx.$implicit;\n    const i_r3 = ctx.index;\n    const ctx_r1 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵproperty(\"id\", ctx_r1.getItemId(i_r3))(\"ngClass\", ɵngcc0.ɵɵpureFunction2(9, _c12, item_r2.selected, ctx_r1.highlightedItem === ctx_r1.getItemId(i_r3)));\n    ɵngcc0.ɵɵattribute(\"aria-selected\", item_r2.selected)(\"title\", ctx_r1.showTitles ? item_r2.content : null)(\"disabled\", item_r2.disabled ? true : null);\n    ɵngcc0.ɵɵadvance(3);\n    ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r1.listTpl && ctx_r1.type === \"multi\");\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r1.listTpl && ctx_r1.type === \"single\");\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r1.listTpl && ctx_r1.type === \"single\");\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r1.listTpl);\n} }\nclass AbstractDropdownView {\n    constructor() {\n        /**\n         * Specifies whether or not the `DropdownList` supports selecting multiple items as opposed to single\n         * item selection.\n         */\n        this.type = \"single\";\n        /**\n         * Specifies the render size of the items within the `AbstractDropdownView`.\n         *\n         * @deprecated since v4\n         */\n        this.size = \"md\";\n    }\n    /**\n     * The items to be displayed in the list within the `AbstractDropDownView`.\n     */\n    set items(value) { }\n    get items() { return; }\n    /**\n     * Returns the `ListItem` that is subsequent to the selected item in the `DropdownList`.\n     */\n    getNextItem() { return; }\n    /**\n     * Returns a boolean if the currently selected item is preceded by another\n     */\n    hasNextElement() { return; }\n    /**\n     * Returns the `HTMLElement` for the item that is subsequent to the selected item.\n     */\n    getNextElement() { return; }\n    /**\n     * Returns the `ListItem` that precedes the selected item within `DropdownList`.\n     */\n    getPrevItem() { return; }\n    /**\n     * Returns a boolean if the currently selected item is followed by another\n     */\n    hasPrevElement() { return; }\n    /**\n     * Returns the `HTMLElement` for the item that precedes the selected item.\n     */\n    getPrevElement() { return; }\n    /**\n     * Returns the selected leaf level item(s) within the `DropdownList`.\n     */\n    getSelected() { return; }\n    /**\n     * Returns the `ListItem` that is selected within `DropdownList`.\n     */\n    getCurrentItem() { return; }\n    /**\n     * Returns the `HTMLElement` for the item that is selected within the `DropdownList`.\n     */\n    getCurrentElement() { return; }\n    /**\n     * Guaranteed to return the current items as an Array.\n     */\n    getListItems() { return; }\n    /**\n     * Transforms array input list of items to the correct state by updating the selected item(s).\n     */\n    propagateSelected(value) { }\n    /**\n     *\n     * @param value value to filter the list by\n     */\n    filterBy(value) { }\n    /**\n     * Initializes focus in the list\n     * In most cases this just calls `getCurrentElement().focus()`\n     */\n    initFocus() { }\n    /**\n     * Subscribe the function passed to an internal observable that will resolve once the items are ready\n     */\n    onItemsReady(subcription) { }\n    /**\n     * Reorder selected items bringing them to the top of the list\n     */\n    reorderSelected(moveFocus) { }\n}\nAbstractDropdownView.ɵfac = function AbstractDropdownView_Factory(t) { return new (t || AbstractDropdownView)(); };\nAbstractDropdownView.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: AbstractDropdownView, selectors: [[\"\", \"ibmAbstractDropdownView\", \"\"]], inputs: { items: \"items\" }, outputs: { select: \"select\", blurIntent: \"blurIntent\" } });\nAbstractDropdownView.propDecorators = {\n    items: [{ type: Input }],\n    select: [{ type: Output }],\n    blurIntent: [{ type: Output }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(AbstractDropdownView, [{\n        type: Directive,\n        args: [{ selector: \"[ibmAbstractDropdownView]\" }]\n    }], function () { return []; }, { items: [{\n            type: Input\n        }], select: [{\n            type: Output\n        }], blurIntent: [{\n            type: Output\n        }] }); })();\n\nconst defaultOffset = { top: 0, left: 0 };\nclass DropdownService {\n    constructor(placeholderService, animationFrameService) {\n        this.placeholderService = placeholderService;\n        this.animationFrameService = animationFrameService;\n        /**\n         * Maintains an Event Observable Subscription for the global requestAnimationFrame.\n         * requestAnimationFrame is tracked only if the `Dropdown` is appended to the body otherwise we don't need it\n         */\n        this.animationFrameSubscription = new Subscription();\n        this._offset = defaultOffset;\n    }\n    set offset(value) {\n        this._offset = Object.assign({}, defaultOffset, value);\n    }\n    get offset() {\n        return this._offset;\n    }\n    /**\n     * Appends the menu to the body, or a `ibm-placeholder` (if defined)\n     *\n     * @param parentRef container to position relative to\n     * @param menuRef menu to be appended to body\n     * @param classList any extra classes we should wrap the container with\n     */\n    appendToBody(parentRef, menuRef, classList) {\n        // build the dropdown list container\n        menuRef.style.display = \"block\";\n        const dropdownWrapper = document.createElement(\"div\");\n        dropdownWrapper.className = `dropdown ${classList}`;\n        dropdownWrapper.style.width = parentRef.offsetWidth + \"px\";\n        dropdownWrapper.style.position = \"absolute\";\n        dropdownWrapper.appendChild(menuRef);\n        // append it to the placeholder\n        if (this.placeholderService.hasPlaceholderRef()) {\n            this.placeholderService.appendElement(dropdownWrapper);\n            // or append it directly to the body\n        }\n        else {\n            document.body.appendChild(dropdownWrapper);\n        }\n        this.menuInstance = dropdownWrapper;\n        this.animationFrameSubscription = this.animationFrameService.tick.subscribe(() => {\n            this.positionDropdown(parentRef, dropdownWrapper);\n        });\n        // run one position in sync, so we're less likely to have the view \"jump\" as we focus\n        this.positionDropdown(parentRef, dropdownWrapper);\n        return dropdownWrapper;\n    }\n    /**\n     * Reattach the dropdown menu to the parent container\n     * @param hostRef container to append to\n     */\n    appendToDropdown(hostRef) {\n        // if the instance is already removed don't try and remove it again\n        if (!this.menuInstance) {\n            return;\n        }\n        const instance = this.menuInstance;\n        const menu = instance.firstElementChild;\n        // clean up the instance\n        this.menuInstance = null;\n        menu.style.display = \"none\";\n        hostRef.appendChild(menu);\n        this.animationFrameSubscription.unsubscribe();\n        if (this.placeholderService.hasPlaceholderRef() && this.placeholderService.hasElement(instance)) {\n            this.placeholderService.removeElement(instance);\n        }\n        else if (document.body.contains(instance)) {\n            document.body.removeChild(instance);\n        }\n        return instance;\n    }\n    /**\n     * position an open dropdown relative to the given parentRef\n     */\n    updatePosition(parentRef) {\n        this.positionDropdown(parentRef, this.menuInstance);\n    }\n    ngOnDestroy() {\n        this.animationFrameSubscription.unsubscribe();\n    }\n    positionDropdown(parentRef, menuRef) {\n        if (!menuRef) {\n            return;\n        }\n        let leftOffset = 0;\n        const boxMenu = menuRef.querySelector(\".bx--list-box__menu\");\n        if (boxMenu) {\n            // If the parentRef and boxMenu are in a different left position relative to the\n            // window, the the boxMenu position has already been flipped and a check needs to be done\n            // to see if it needs to stay flipped.\n            if (parentRef.getBoundingClientRect().left !== boxMenu.getBoundingClientRect().left) {\n                // The getBoundingClientRect().right of the boxMenu if it were hypothetically flipped\n                // back into the original position before the flip.\n                const testBoxMenuRightEdgePos = parentRef.getBoundingClientRect().left - boxMenu.getBoundingClientRect().left + boxMenu.getBoundingClientRect().right;\n                if (testBoxMenuRightEdgePos > (window.innerWidth || document.documentElement.clientWidth)) {\n                    leftOffset = parentRef.offsetWidth - boxMenu.offsetWidth;\n                }\n                // If it has not already been flipped, check if it is necessary to flip, ie. if the\n                // boxMenu is outside of the right viewPort.\n            }\n            else if (boxMenu.getBoundingClientRect().right > (window.innerWidth || document.documentElement.clientWidth)) {\n                leftOffset = parentRef.offsetWidth - boxMenu.offsetWidth;\n            }\n        }\n        // If ibm-placeholder has a parent with a position(relative|fixed|absolute) account for the parent offset\n        const closestMenuWithPos = closestAttr(\"position\", [\"relative\", \"fixed\", \"absolute\"], menuRef.parentElement);\n        const topPos = closestMenuWithPos ? closestMenuWithPos.getBoundingClientRect().top * -1 : this.offset.top;\n        const leftPos = closestMenuWithPos ? closestMenuWithPos.getBoundingClientRect().left * -1 : this.offset.left + leftOffset;\n        let pos = position.findAbsolute(parentRef, menuRef, \"bottom\");\n        pos = position.addOffset(pos, topPos, leftPos);\n        position.setElement(menuRef, pos);\n    }\n}\nDropdownService.ɵfac = function DropdownService_Factory(t) { return new (t || DropdownService)(ɵngcc0.ɵɵinject(ɵngcc1.PlaceholderService), ɵngcc0.ɵɵinject(ɵngcc2.AnimationFrameService)); };\nDropdownService.ɵprov = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjectable({ token: DropdownService, factory: DropdownService.ɵfac });\n/** @nocollapse */\nDropdownService.ctorParameters = () => [\n    { type: PlaceholderService },\n    { type: AnimationFrameService }\n];\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(DropdownService, [{\n        type: Injectable\n    }], function () { return [{ type: ɵngcc1.PlaceholderService }, { type: ɵngcc2.AnimationFrameService }]; }, null); })();\n\n/**\n * Drop-down lists enable users to select one or more items from a list.\n *\n * #### Opening behavior/List DOM placement\n * By default the dropdown will try to figure out the best placement for the dropdown list.\n *\n * If it's not contained within any scrolling elements, it will open inline, if it _is_\n * contained within a scrolling container it will try to open in the body, or an `ibm-placeholder`.\n *\n * To control this behavior you can use the `appendInline` input:\n * - `[appendInline]=\"null\"` is the default (auto detection)\n * - `[appendInline]=\"false\"` will always append to the body/`ibm-placeholder`\n * - `[appendInline]=\"true\"` will always append inline (next to the dropdown button)\n *\n * [See demo](../../?path=/story/components-dropdown--basic)\n *\n * <example-url>../../iframe.html?id=components-dropdown--basic</example-url>\n */\nclass Dropdown {\n    /**\n     * Creates an instance of Dropdown.\n     */\n    constructor(elementRef, i18n, dropdownService, elementService) {\n        this.elementRef = elementRef;\n        this.i18n = i18n;\n        this.dropdownService = dropdownService;\n        this.elementService = elementService;\n        this.id = `dropdown-${Dropdown.dropdownCount++}`;\n        /**\n         * Value displayed if no item is selected.\n         */\n        this.placeholder = \"\";\n        /**\n         * The selected value from the `Dropdown`. Can be a string or template.\n         */\n        this.displayValue = \"\";\n        /**\n         * Sets the optional clear button tooltip text.\n         */\n        this.clearText = this.i18n.get().DROPDOWN.CLEAR;\n        /**\n         * Size to render the dropdown field.\n         *\n         * @deprecated since v4\n         */\n        this.size = \"md\";\n        /**\n         * Defines whether or not the `Dropdown` supports selecting multiple items as opposed to single\n         * item selection.\n         */\n        this.type = \"single\";\n        /**\n         * `light` or `dark` dropdown theme\n         */\n        this.theme = \"dark\";\n        /**\n         * Set to `true` to disable the dropdown.\n         */\n        this.disabled = false;\n        /**\n         * Set to `true` for a loading dropdown.\n         */\n        this.skeleton = false;\n        /**\n         * Set to `true` for an inline dropdown.\n         */\n        this.inline = false;\n        /**\n         * Set to `true` for a dropdown without arrow key activation.\n         */\n        this.disableArrowKeys = false;\n        /**\n         * Set to `true` for invalid state.\n         */\n        this.invalid = false;\n        /**\n          * Set to `true` to show a warning (contents set by warningText)\n          */\n        this.warn = false;\n        /**\n         * set to `true` to place the dropdown view inline with the component\n         */\n        this.appendInline = null;\n        /**\n         * Specify feedback (mode) of the selection.\n         * `top`: selected item jumps to top\n         * `fixed`: selected item stays at it's position\n         * `top-after-reopen`: selected item jump to top after reopen dropdown\n         */\n        this.selectionFeedback = \"top-after-reopen\";\n        /**\n         * Accessible label for the button that opens the dropdown list.\n         * Defaults to the `DROPDOWN.OPEN` value from the i18n service.\n         */\n        this.menuButtonLabel = this.i18n.get().DROPDOWN.OPEN;\n        /**\n         * Provides the label for the \"# selected\" text.\n         * Defaults to the `DROPDOWN.SELECTED` value from the i18n service.\n         */\n        this.selectedLabel = this.i18n.get().DROPDOWN.SELECTED;\n        /**\n         * Emits selection events.\n         */\n        this.selected = new EventEmitter();\n        /**\n         * Emits event notifying to other classes that the `Dropdown` has been closed (collapsed).\n         */\n        this.onClose = new EventEmitter();\n        /**\n         * Emits event notifying to other classes that the `Dropdown` has been closed (collapsed).\n         */\n        this.close = new EventEmitter();\n        this.hostClass = true;\n        /**\n         * Set to `true` if the dropdown is closed (not expanded).\n         */\n        this.menuIsClosed = true;\n        /**\n         * controls whether the `drop-up` class is applied\n         */\n        this._dropUp = false;\n        // .bind creates a new function, so we declare the methods below\n        // but .bind them up here\n        this.noop = this._noop.bind(this);\n        this.outsideClick = this._outsideClick.bind(this);\n        this.outsideKey = this._outsideKey.bind(this);\n        this.keyboardNav = this._keyboardNav.bind(this);\n        this.visibilitySubscription = new Subscription();\n        this.onTouchedCallback = this._noop;\n        // primarily used to capture and propagate input to `writeValue` before the content is available\n        this._writtenValue = [];\n        /**\n         * function passed in by `registerOnChange`\n         */\n        this.propagateChange = (_) => { };\n    }\n    /**\n     * Deprecated. Use `itemValueKey` instead.\n     * Specifies the property to be used as the return value to `ngModel`\n     * @deprecated since v4 use itemValueKey instead\n     */\n    set value(newValue) {\n        console.warn(\"Dropdown `value` property has been deprecated. Use `itemValueKey` instead\");\n        this.itemValueKey = newValue;\n    }\n    get value() {\n        return this.itemValueKey;\n    }\n    get writtenValue() {\n        return this._writtenValue;\n    }\n    set writtenValue(val) {\n        if (val && val.length === 0) {\n            this.clearSelected();\n        }\n        this._writtenValue = val;\n    }\n    /**\n     * Updates the `type` property in the `@ContentChild`.\n     * The `type` property specifies whether the `Dropdown` allows single selection or multi selection.\n     */\n    ngOnInit() {\n        if (this.view) {\n            this.view.type = this.type;\n        }\n    }\n    /**\n     * Initializes classes and subscribes to events for single or multi selection.\n     */\n    ngAfterContentInit() {\n        if (!this.view) {\n            return;\n        }\n        if ((this.writtenValue && this.writtenValue.length) || typeof this.writtenValue === \"number\") {\n            this.writeValue(this.writtenValue);\n        }\n        this.view.type = this.type;\n        this.view.size = this.size;\n        // function to check if the event is organic (isUpdate === false) or programmatic\n        const isUpdate = event => event && event.isUpdate;\n        this.view.select.subscribe(event => {\n            if (this.type === \"single\" && !isUpdate(event)) {\n                this.closeMenu();\n                if (event.item && event.item.selected) {\n                    if (this.itemValueKey) {\n                        this.propagateChange(event.item[this.itemValueKey]);\n                    }\n                    else {\n                        this.propagateChange(event.item);\n                    }\n                }\n                else {\n                    this.propagateChange(null);\n                }\n            }\n            if (this.type === \"multi\" && !isUpdate(event)) {\n                // if we have a `value` selector and selected items map them appropriately\n                if (this.itemValueKey && this.view.getSelected()) {\n                    const values = this.view.getSelected().map(item => item[this.itemValueKey]);\n                    this.propagateChange(values);\n                    // otherwise just pass up the values from `getSelected`\n                }\n                else {\n                    this.propagateChange(this.view.getSelected());\n                }\n            }\n            // only emit selected for \"organic\" selections\n            if (!isUpdate(event)) {\n                this.checkForReorder();\n                this.selected.emit(event);\n            }\n        });\n    }\n    ngAfterViewInit() {\n        // if appendInline is default valued (null) we should:\n        // 1. if there are scrollable parents (not including body) don't append inline\n        //    this should also cover the case where the dropdown is in a modal\n        //    (where we _do_ want to append to the placeholder)\n        if (this.appendInline === null && hasScrollableParents(this.elementRef.nativeElement)) {\n            this.appendInline = false;\n            // 2. otherwise we should append inline\n        }\n        else if (this.appendInline === null) {\n            this.appendInline = true;\n        }\n        this.checkForReorder();\n    }\n    /**\n     * Removing the `Dropdown` from the body if it is appended to the body.\n     */\n    ngOnDestroy() {\n        if (!this.appendInline) {\n            this._appendToDropdown();\n        }\n    }\n    /**\n     * Propagates the injected `value`.\n     */\n    writeValue(value) {\n        // cache the written value so we can use it in `AfterContentInit`\n        this.writtenValue = value;\n        this.view.onItemsReady(() => {\n            // propagate null/falsey as an array (deselect everything)\n            if (!value) {\n                this.view.propagateSelected([value]);\n            }\n            else if (this.type === \"single\") {\n                if (this.itemValueKey) {\n                    // clone the specified item and update its state\n                    const newValue = Object.assign({}, this.view.getListItems().find(item => item[this.itemValueKey] === value));\n                    newValue.selected = true;\n                    this.view.propagateSelected([newValue]);\n                }\n                else {\n                    // pass the singular value as an array of ListItem\n                    this.view.propagateSelected([value]);\n                }\n            }\n            else {\n                if (this.itemValueKey) {\n                    // clone the items and update their state based on the received value array\n                    // this way we don't lose any additional metadata that may be passed in via the `items` Input\n                    let newValues = [];\n                    for (const v of value) {\n                        for (const item of this.view.getListItems()) {\n                            if (item[this.itemValueKey] === v) {\n                                newValues.push(Object.assign({}, item, { selected: true }));\n                            }\n                        }\n                    }\n                    this.view.propagateSelected(newValues);\n                }\n                else {\n                    // we can safely assume we're passing an array of `ListItem`s\n                    this.view.propagateSelected(value);\n                }\n            }\n            this.checkForReorder();\n        });\n    }\n    onBlur() {\n        this.onTouchedCallback();\n    }\n    registerOnChange(fn) {\n        this.propagateChange = fn;\n    }\n    /**\n     * Registering the function injected to control the touch use of the `Dropdown`.\n     */\n    registerOnTouched(fn) {\n        this.onTouchedCallback = fn;\n    }\n    /**\n     * `ControlValueAccessor` method to programmatically disable the dropdown.\n     *\n     * ex: `this.formGroup.get(\"myDropdown\").disable();`\n     *\n     * @param isDisabled `true` to disable the input\n     */\n    setDisabledState(isDisabled) {\n        this.disabled = isDisabled;\n    }\n    /**\n     * Adds keyboard functionality for navigation, selection and closing of the `Dropdown`.\n     */\n    // \"Esc\", \"Spacebar\", \"Down\", and \"Up\" are IE specific values\n    onKeyDown(event) {\n        if ((event.key === \"Escape\" || event.key === \"Esc\") && !this.menuIsClosed) {\n            event.stopImmediatePropagation(); // don't unintentionally close other widgets that listen for Escape\n        }\n        if (event.key === \"Escape\" || event.key === \"Esc\") {\n            event.preventDefault();\n            this.closeMenu();\n            this.dropdownButton.nativeElement.focus();\n        }\n        else if (this.menuIsClosed && (event.key === \" \" || event.key === \"ArrowDown\" || event.key === \"ArrowUp\" ||\n            event.key === \"Spacebar\" || event.key === \"Down\" || event.key === \"Up\")) {\n            if (this.disableArrowKeys && (event.key === \"ArrowDown\" || event.key === \"ArrowUp\" || event.key === \"Down\" || event.key === \"Up\")) {\n                return;\n            }\n            event.preventDefault();\n            this.openMenu();\n        }\n        if (!this.menuIsClosed && event.key === \"Tab\" && this.dropdownMenu.nativeElement.contains(event.target)) {\n            this.closeMenu();\n        }\n        if (!this.menuIsClosed && event.key === \"Tab\" && event.shiftKey) {\n            this.closeMenu();\n        }\n        if (this.type === \"multi\") {\n            return;\n        }\n        if (this.menuIsClosed) {\n            this.closedDropdownNavigation(event);\n        }\n    }\n    closedDropdownNavigation(event) {\n        // \"Down\", and \"Up\" are IE specific values\n        if (event.key === \"ArrowDown\" || event.key === \"Down\") {\n            event.preventDefault();\n            this.view.getCurrentItem().selected = false;\n            let item = this.view.getNextItem();\n            if (item) {\n                item.selected = true;\n            }\n        }\n        else if (event.key === \"ArrowUp\" || event.key === \"Up\") {\n            event.preventDefault();\n            this.view.getCurrentItem().selected = false;\n            let item = this.view.getPrevItem();\n            if (item) {\n                item.selected = true;\n            }\n        }\n    }\n    /**\n     * Returns the display value if there is a selection and displayValue is set,\n     * if there is just a selection the ListItem content property will be returned,\n     * otherwise the placeholder will be returned.\n     */\n    getDisplayStringValue() {\n        if (!this.view) {\n            return;\n        }\n        let selected = this.view.getSelected();\n        if (selected.length && (!this.displayValue || !this.isRenderString())) {\n            if (this.type === \"multi\") {\n                return of(this.placeholder);\n            }\n            else {\n                return of(selected[0].content);\n            }\n        }\n        else if (selected.length && this.isRenderString()) {\n            return of(this.displayValue);\n        }\n        return of(this.placeholder);\n    }\n    isRenderString() {\n        return typeof this.displayValue === \"string\";\n    }\n    getRenderTemplateContext() {\n        if (!this.view) {\n            return;\n        }\n        let selected = this.view.getSelected();\n        if (this.type === \"multi\") {\n            return { items: selected };\n        }\n        else if (selected && selected.length > 0) {\n            return { item: selected[0] }; // this is to be compatible with the dropdown-list template\n        }\n        else {\n            return {};\n        }\n    }\n    getSelectedCount() {\n        if (this.view.getSelected()) {\n            return this.view.getSelected().length;\n        }\n    }\n    clearSelected() {\n        if (this.disabled || this.getSelectedCount() === 0) {\n            return;\n        }\n        for (const item of this.view.getListItems()) {\n            item.selected = false;\n        }\n        this.selected.emit([]);\n        this.propagateChange([]);\n    }\n    /**\n     * Returns `true` if there is a value selected.\n     */\n    valueSelected() {\n        if (this.view.getSelected()) {\n            return true;\n        }\n        return false;\n    }\n    _noop() { }\n    /**\n     * Handles clicks outside of the `Dropdown`.\n     */\n    _outsideClick(event) {\n        if (!this.elementRef.nativeElement.contains(event.target) &&\n            // if we're appendToBody the list isn't within the _elementRef,\n            // so we've got to check if our target is possibly in there too.\n            !this.dropdownMenu.nativeElement.contains(event.target)) {\n            this.closeMenu();\n        }\n    }\n    _outsideKey(event) {\n        if (!this.menuIsClosed && event.key === \"Tab\" && this.dropdownMenu.nativeElement.contains(event.target)) {\n            this.closeMenu();\n        }\n    }\n    /**\n     * Handles keyboard events so users are controlling the `Dropdown` instead of unintentionally controlling outside elements.\n     */\n    _keyboardNav(event) {\n        // \"Esc\" is an IE specific value\n        if ((event.key === \"Escape\" || event.key === \"Esc\") && !this.menuIsClosed) {\n            event.stopImmediatePropagation(); // don't unintentionally close modal if inside of it\n        }\n        if (event.key === \"Escape\" || event.key === \"Esc\") {\n            event.preventDefault();\n            this.closeMenu();\n            this.dropdownButton.nativeElement.focus();\n        }\n        else if (!this.menuIsClosed && event.key === \"Tab\") {\n            // this way focus will start on the next focusable item from the dropdown\n            // not the top of the body!\n            this.dropdownButton.nativeElement.focus();\n            this.dropdownButton.nativeElement.dispatchEvent(new KeyboardEvent(\"keydown\", { bubbles: true, cancelable: true, key: \"Tab\" }));\n            this.closeMenu();\n        }\n    }\n    /**\n     * Creates the `Dropdown` list appending it to the dropdown parent object instead of the body.\n     */\n    _appendToDropdown() {\n        this.dropdownService.appendToDropdown(this.elementRef.nativeElement);\n        this.dropdownMenu.nativeElement.removeEventListener(\"keydown\", this.keyboardNav, true);\n    }\n    /**\n     * Creates the `Dropdown` list as an element that is appended to the DOM body.\n     */\n    _appendToBody() {\n        const lightClass = this.theme === \"light\" ? \" bx--list-box--light\" : \"\";\n        const expandedClass = !this.menuIsClosed ? \" bx--list-box--expanded\" : \"\";\n        this.dropdownService.appendToBody(this.dropdownButton.nativeElement, this.dropdownMenu.nativeElement, `${this.elementRef.nativeElement.className}${lightClass}${expandedClass}`);\n        this.dropdownMenu.nativeElement.addEventListener(\"keydown\", this.keyboardNav, true);\n    }\n    /**\n     * Detects whether or not the `Dropdown` list is visible within all scrollable parents.\n     * This can be overridden by passing in a value to the `dropUp` input.\n     */\n    _shouldDropUp() {\n        // check if dropdownMenu exists first.\n        const menu = this.dropdownMenu && this.dropdownMenu.nativeElement.querySelector(\".bx--list-box__menu\");\n        // check if menu exists first.\n        const menuRect = menu && menu.getBoundingClientRect();\n        if (menu && menuRect) {\n            const scrollableParents = getScrollableParents(menu);\n            return scrollableParents.reduce((shouldDropUp, parent) => {\n                const parentRect = parent.getBoundingClientRect();\n                const isBelowParent = !(menuRect.bottom <= parentRect.bottom);\n                return shouldDropUp || isBelowParent;\n            }, false);\n        }\n        return false;\n    }\n    /**\n     * Expands the dropdown menu in the view.\n     */\n    openMenu() {\n        // prevents the dropdown from opening when list of items is empty\n        if (this.view.getListItems().length === 0) {\n            return;\n        }\n        this._dropUp = false;\n        this.menuIsClosed = false;\n        // move the dropdown list to the body if we're not appending inline\n        // and position it relative to the dropdown wrapper\n        if (!this.appendInline) {\n            const target = this.dropdownButton.nativeElement;\n            const parent = this.elementRef.nativeElement;\n            this.visibilitySubscription = this.elementService\n                .visibility(target, parent)\n                .subscribe(value => {\n                if (!value.visible) {\n                    this.closeMenu();\n                }\n            });\n            this._appendToBody();\n        }\n        // set the dropdown menu to drop up if it's near the bottom of the screen\n        // setTimeout lets us measure after it's visible in the DOM\n        setTimeout(() => {\n            if (this.dropUp === null || this.dropUp === undefined) {\n                this._dropUp = this._shouldDropUp();\n            }\n        }, 0);\n        // we bind noop to document.body.firstElementChild to allow safari to fire events\n        // from document. Then we unbind everything later to keep things light.\n        document.body.firstElementChild.addEventListener(\"click\", this.noop, true);\n        document.body.firstElementChild.addEventListener(\"keydown\", this.noop, true);\n        document.addEventListener(\"click\", this.outsideClick, true);\n        document.addEventListener(\"keydown\", this.outsideKey, true);\n        setTimeout(() => this.view.initFocus(), 0);\n    }\n    /**\n     * Collapsing the dropdown menu and removing unnecessary `EventListeners`.\n     */\n    closeMenu() {\n        // return early if the menu is already closed\n        if (this.menuIsClosed) {\n            return;\n        }\n        this.menuIsClosed = true;\n        this.checkForReorder();\n        this.onClose.emit();\n        this.close.emit();\n        // focus the trigger button when we close ...\n        this.dropdownButton.nativeElement.focus();\n        // remove the conditional once this api is settled and part of abstract-dropdown-view.class\n        if (this.view[\"disableScroll\"]) {\n            this.view[\"disableScroll\"]();\n        }\n        // move the list back in the component on close\n        if (!this.appendInline) {\n            this.visibilitySubscription.unsubscribe();\n            this._appendToDropdown();\n        }\n        document.body.firstElementChild.removeEventListener(\"click\", this.noop, true);\n        document.body.firstElementChild.removeEventListener(\"keydown\", this.noop, true);\n        document.removeEventListener(\"click\", this.outsideClick, true);\n        document.removeEventListener(\"keydown\", this.outsideKey, true);\n    }\n    /**\n     * Controls toggling menu states between open/expanded and closed/collapsed.\n     */\n    toggleMenu() {\n        if (this.menuIsClosed) {\n            this.openMenu();\n        }\n        else {\n            this.closeMenu();\n        }\n    }\n    isTemplate(value) {\n        return value instanceof TemplateRef;\n    }\n    /**\n     * Controls when it's needed to apply the selection feedback\n     */\n    checkForReorder() {\n        const topAfterReopen = this.menuIsClosed && this.selectionFeedback === \"top-after-reopen\";\n        if ((this.type === \"multi\") && (topAfterReopen || this.selectionFeedback === \"top\")) {\n            this.view.reorderSelected();\n        }\n    }\n}\nDropdown.ɵfac = function Dropdown_Factory(t) { return new (t || Dropdown)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef), ɵngcc0.ɵɵdirectiveInject(ɵngcc3.I18n), ɵngcc0.ɵɵdirectiveInject(DropdownService), ɵngcc0.ɵɵdirectiveInject(ɵngcc2.ElementService)); };\nDropdown.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: Dropdown, selectors: [[\"ibm-dropdown\"]], contentQueries: function Dropdown_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {\n        ɵngcc0.ɵɵcontentQuery(dirIndex, AbstractDropdownView, 7);\n    } if (rf & 2) {\n        let _t;\n        ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.view = _t.first);\n    } }, viewQuery: function Dropdown_Query(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵviewQuery(_c0, 7);\n        ɵngcc0.ɵɵviewQuery(_c1, 7);\n    } if (rf & 2) {\n        let _t;\n        ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.dropdownButton = _t.first);\n        ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.dropdownMenu = _t.first);\n    } }, hostVars: 2, hostBindings: function Dropdown_HostBindings(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵlistener(\"keydown\", function Dropdown_keydown_HostBindingHandler($event) { return ctx.onKeyDown($event); });\n    } if (rf & 2) {\n        ɵngcc0.ɵɵclassProp(\"bx--dropdown__wrapper\", ctx.hostClass);\n    } }, inputs: { id: \"id\", placeholder: \"placeholder\", displayValue: \"displayValue\", clearText: \"clearText\", size: \"size\", type: \"type\", theme: \"theme\", disabled: \"disabled\", skeleton: \"skeleton\", inline: \"inline\", disableArrowKeys: \"disableArrowKeys\", invalid: \"invalid\", warn: \"warn\", appendInline: \"appendInline\", selectionFeedback: \"selectionFeedback\", menuButtonLabel: \"menuButtonLabel\", selectedLabel: \"selectedLabel\", value: \"value\", itemValueKey: \"itemValueKey\", label: \"label\", helperText: \"helperText\", invalidText: \"invalidText\", warnText: \"warnText\", scrollableContainer: \"scrollableContainer\", dropUp: \"dropUp\" }, outputs: { selected: \"selected\", onClose: \"onClose\", close: \"close\" }, features: [ɵngcc0.ɵɵProvidersFeature([\n            {\n                provide: NG_VALUE_ACCESSOR,\n                useExisting: Dropdown,\n                multi: true\n            }\n        ])], ngContentSelectors: _c8, decls: 17, vars: 36, consts: [[\"class\", \"bx--label\", 3, \"for\", \"ngClass\", 4, \"ngIf\"], [1, \"bx--list-box\", 3, \"ngClass\"], [\"type\", \"button\", \"aria-haspopup\", \"listbox\", 1, \"bx--list-box__field\", 3, \"id\", \"ngClass\", \"click\", \"blur\"], [\"dropdownButton\", \"\"], [\"class\", \"bx--list-box__selection bx--tag--filter bx--list-box__selection--multi\", \"tabindex\", \"0\", 3, \"title\", \"click\", \"keydown.enter\", 4, \"ngIf\"], [\"class\", \"bx--list-box__label\", 4, \"ngIf\"], [4, \"ngIf\"], [\"class\", \"bx--dropdown__invalid-icon\", \"ibmIcon\", \"warning--filled\", \"size\", \"16\", 4, \"ngIf\"], [\"ibmIcon\", \"warning--alt--filled\", \"size\", \"16\", \"class\", \"bx--list-box__invalid-icon bx--list-box__invalid-icon--warning\", 4, \"ngIf\"], [1, \"bx--list-box__menu-icon\"], [\"ibmIcon\", \"chevron--down\", \"size\", \"16\", 3, \"ngClass\", 4, \"ngIf\"], [3, \"ngClass\"], [\"dropdownMenu\", \"\"], [\"class\", \"bx--form__helper-text\", 3, \"ngClass\", 4, \"ngIf\"], [\"class\", \"bx--form-requirement\", 4, \"ngIf\"], [1, \"bx--label\", 3, \"for\", \"ngClass\"], [3, \"ngTemplateOutlet\"], [\"tabindex\", \"0\", 1, \"bx--list-box__selection\", \"bx--tag--filter\", \"bx--list-box__selection--multi\", 3, \"title\", \"click\", \"keydown.enter\"], [\"focusable\", \"false\", \"preserveAspectRatio\", \"xMidYMid meet\", \"role\", \"img\", \"xmlns\", \"http://www.w3.org/2000/svg\", \"width\", \"16\", \"height\", \"16\", \"viewBox\", \"0 0 16 16\", \"aria-hidden\", \"true\", 2, \"will-change\", \"transform\"], [\"d\", \"M12 4.7l-.7-.7L8 7.3 4.7 4l-.7.7L7.3 8 4 11.3l.7.7L8 8.7l3.3 3.3.7-.7L8.7 8z\"], [1, \"bx--list-box__label\"], [3, \"ngTemplateOutletContext\", \"ngTemplateOutlet\"], [\"ibmIcon\", \"warning--filled\", \"size\", \"16\", 1, \"bx--dropdown__invalid-icon\"], [\"ibmIcon\", \"warning--alt--filled\", \"size\", \"16\", 1, \"bx--list-box__invalid-icon\", \"bx--list-box__invalid-icon--warning\"], [\"ibmIcon\", \"chevron--down\", \"size\", \"16\", 3, \"ngClass\"], [1, \"bx--form__helper-text\", 3, \"ngClass\"], [1, \"bx--form-requirement\"]], template: function Dropdown_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵprojectionDef();\n        ɵngcc0.ɵɵtemplate(0, Dropdown_label_0_Template, 3, 6, \"label\", 0);\n        ɵngcc0.ɵɵelementStart(1, \"div\", 1)(2, \"button\", 2, 3);\n        ɵngcc0.ɵɵlistener(\"click\", function Dropdown_Template_button_click_2_listener($event) { return ctx.disabled ? $event.stopPropagation() : ctx.toggleMenu(); })(\"blur\", function Dropdown_Template_button_blur_2_listener() { return ctx.onBlur(); });\n        ɵngcc0.ɵɵtemplate(4, Dropdown_div_4_Template, 4, 2, \"div\", 4);\n        ɵngcc0.ɵɵtemplate(5, Dropdown_span_5_Template, 3, 3, \"span\", 5);\n        ɵngcc0.ɵɵtemplate(6, Dropdown_6_Template, 1, 2, null, 6);\n        ɵngcc0.ɵɵtemplate(7, Dropdown__svg_svg_7_Template, 1, 0, \"svg\", 7);\n        ɵngcc0.ɵɵtemplate(8, Dropdown__svg_svg_8_Template, 1, 0, \"svg\", 8);\n        ɵngcc0.ɵɵelementStart(9, \"span\", 9);\n        ɵngcc0.ɵɵtemplate(10, Dropdown__svg_svg_10_Template, 1, 4, \"svg\", 10);\n        ɵngcc0.ɵɵelementEnd()();\n        ɵngcc0.ɵɵelementStart(11, \"div\", 11, 12);\n        ɵngcc0.ɵɵtemplate(13, Dropdown_ng_content_13_Template, 1, 0, \"ng-content\", 6);\n        ɵngcc0.ɵɵelementEnd()();\n        ɵngcc0.ɵɵtemplate(14, Dropdown_div_14_Template, 3, 5, \"div\", 13);\n        ɵngcc0.ɵɵtemplate(15, Dropdown_div_15_Template, 3, 2, \"div\", 14);\n        ɵngcc0.ɵɵtemplate(16, Dropdown_div_16_Template, 3, 2, \"div\", 14);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.label);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunctionV(18, _c5, [ctx.type !== \"multi\", ctx.type === \"multi\", ctx.type === \"multi\" && ctx.getSelectedCount() > 0, ctx.theme === \"light\", ctx.theme === \"light\", ctx.inline, ctx.skeleton, ctx.disabled, ctx.invalid, ctx.warn, ctx.size === \"xl\", ctx.size === \"sm\", !ctx.menuIsClosed]));\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"id\", ctx.id)(\"ngClass\", ɵngcc0.ɵɵpureFunction1(32, _c6, !ctx.menuIsClosed));\n        ɵngcc0.ɵɵattribute(\"aria-expanded\", !ctx.menuIsClosed)(\"aria-disabled\", ctx.disabled)(\"disabled\", ctx.disabled ? true : null);\n        ɵngcc0.ɵɵadvance(2);\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.type === \"multi\" && ctx.getSelectedCount() > 0);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.isRenderString());\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.isRenderString());\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.warn && ctx.invalid);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.invalid && ctx.warn);\n        ɵngcc0.ɵɵadvance(2);\n        ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.skeleton);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction1(34, _c7, ctx.dropUp !== null && ctx.dropUp !== undefined ? ctx.dropUp : ctx._dropUp));\n        ɵngcc0.ɵɵadvance(2);\n        ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.menuIsClosed);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.helperText && !ctx.invalid && !ctx.warn);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.warn && ctx.invalid);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.invalid && ctx.warn);\n    } }, dependencies: [ɵngcc4.NgClass, ɵngcc4.NgIf, ɵngcc4.NgTemplateOutlet, ɵngcc5.IconDirective, ɵngcc4.AsyncPipe], encapsulation: 2 });\nDropdown.dropdownCount = 0;\n/** @nocollapse */\nDropdown.ctorParameters = () => [\n    { type: ElementRef },\n    { type: I18n },\n    { type: DropdownService },\n    { type: ElementService }\n];\nDropdown.propDecorators = {\n    id: [{ type: Input }],\n    label: [{ type: Input }],\n    helperText: [{ type: Input }],\n    placeholder: [{ type: Input }],\n    displayValue: [{ type: Input }],\n    clearText: [{ type: Input }],\n    size: [{ type: Input }],\n    type: [{ type: Input }],\n    theme: [{ type: Input }],\n    disabled: [{ type: Input }],\n    skeleton: [{ type: Input }],\n    inline: [{ type: Input }],\n    disableArrowKeys: [{ type: Input }],\n    invalid: [{ type: Input }],\n    invalidText: [{ type: Input }],\n    warn: [{ type: Input }],\n    warnText: [{ type: Input }],\n    appendInline: [{ type: Input }],\n    scrollableContainer: [{ type: Input }],\n    value: [{ type: Input }],\n    itemValueKey: [{ type: Input }],\n    selectionFeedback: [{ type: Input }],\n    menuButtonLabel: [{ type: Input }],\n    selectedLabel: [{ type: Input }],\n    dropUp: [{ type: Input }],\n    selected: [{ type: Output }],\n    onClose: [{ type: Output }],\n    close: [{ type: Output }],\n    view: [{ type: ContentChild, args: [AbstractDropdownView, { static: true },] }],\n    dropdownButton: [{ type: ViewChild, args: [\"dropdownButton\", { static: true },] }],\n    dropdownMenu: [{ type: ViewChild, args: [\"dropdownMenu\", { static: true },] }],\n    hostClass: [{ type: HostBinding, args: [\"class.bx--dropdown__wrapper\",] }],\n    onKeyDown: [{ type: HostListener, args: [\"keydown\", [\"$event\"],] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(Dropdown, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-dropdown\",\n                template: `\n\t<label\n\t\t*ngIf=\"label\"\n\t\t[for]=\"id\"\n\t\tclass=\"bx--label\"\n\t\t[ngClass]=\"{'bx--label--disabled': disabled}\">\n\t\t<ng-container *ngIf=\"!isTemplate(label)\">{{label}}</ng-container>\n\t\t<ng-template *ngIf=\"isTemplate(label)\" [ngTemplateOutlet]=\"label\"></ng-template>\n\t</label>\n\t<div\n\t\tclass=\"bx--list-box\"\n\t\t[ngClass]=\"{\n\t\t\t'bx--dropdown': type !== 'multi',\n\t\t\t'bx--multiselect': type === 'multi',\n\t\t\t'bx--multi-select--selected': type === 'multi' && getSelectedCount() > 0,\n\t\t\t'bx--dropdown--light': theme === 'light',\n\t\t\t'bx--list-box--light': theme === 'light',\n\t\t\t'bx--list-box--inline': inline,\n\t\t\t'bx--skeleton': skeleton,\n\t\t\t'bx--dropdown--disabled bx--list-box--disabled': disabled,\n\t\t\t'bx--dropdown--invalid': invalid,\n\t\t\t'bx--dropdown--warning bx--list-box--warning': warn,\n\t\t\t'bx--dropdown--xl bx--list-box--xl': size === 'xl',\n\t\t\t'bx--dropdown--sm bx--list-box--sm': size === 'sm',\n\t\t\t'bx--list-box--expanded': !menuIsClosed\n\t\t}\">\n\t\t<button\n\t\t\t#dropdownButton\n\t\t\t[id]=\"id\"\n\t\t\ttype=\"button\"\n\t\t\tclass=\"bx--list-box__field\"\n\t\t\t[ngClass]=\"{'a': !menuIsClosed}\"\n\t\t\t[attr.aria-expanded]=\"!menuIsClosed\"\n\t\t\t[attr.aria-disabled]=\"disabled\"\n\t\t\taria-haspopup=\"listbox\"\n\t\t\t(click)=\"disabled ? $event.stopPropagation() : toggleMenu()\"\n\t\t\t(blur)=\"onBlur()\"\n\t\t\t[attr.disabled]=\"disabled ? true : null\">\n\t\t\t<div\n\t\t\t\t(click)=\"clearSelected()\"\n\t\t\t\t(keydown.enter)=\"clearSelected()\"\n\t\t\t\t*ngIf=\"type === 'multi' && getSelectedCount() > 0\"\n\t\t\t\tclass=\"bx--list-box__selection bx--tag--filter bx--list-box__selection--multi\"\n\t\t\t\ttabindex=\"0\"\n\t\t\t\t[title]=\"clearText\">\n\t\t\t\t{{getSelectedCount()}}\n\t\t\t\t<svg\n\t\t\t\t\tfocusable=\"false\"\n\t\t\t\t\tpreserveAspectRatio=\"xMidYMid meet\"\n\t\t\t\t\tstyle=\"will-change: transform;\"\n\t\t\t\t\trole=\"img\"\n\t\t\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\t\t\twidth=\"16\"\n\t\t\t\t\theight=\"16\"\n\t\t\t\t\tviewBox=\"0 0 16 16\"\n\t\t\t\t\taria-hidden=\"true\">\n\t\t\t\t\t<path d=\"M12 4.7l-.7-.7L8 7.3 4.7 4l-.7.7L7.3 8 4 11.3l.7.7L8 8.7l3.3 3.3.7-.7L8.7 8z\"></path>\n\t\t\t\t</svg>\n\t\t\t</div>\n\t\t\t<span *ngIf=\"isRenderString()\" class=\"bx--list-box__label\">{{getDisplayStringValue() | async}}</span>\n\t\t\t<ng-template\n\t\t\t\t*ngIf=\"!isRenderString()\"\n\t\t\t\t[ngTemplateOutletContext]=\"getRenderTemplateContext()\"\n\t\t\t\t[ngTemplateOutlet]=\"displayValue\">\n\t\t\t</ng-template>\n\t\t\t<svg\n\t\t\t\t*ngIf=\"!warn && invalid\"\n\t\t\t\tclass=\"bx--dropdown__invalid-icon\"\n\t\t\t\tibmIcon=\"warning--filled\"\n\t\t\t\tsize=\"16\">\n\t\t\t</svg>\n\t\t\t<svg\n\t\t\t\t*ngIf=\"!invalid && warn\"\n\t\t\t\tibmIcon=\"warning--alt--filled\"\n\t\t\t\tsize=\"16\"\n\t\t\t\tclass=\"bx--list-box__invalid-icon bx--list-box__invalid-icon--warning\">\n\t\t\t</svg>\n\t\t\t<span class=\"bx--list-box__menu-icon\">\n\t\t\t\t<svg\n\t\t\t\t\t*ngIf=\"!skeleton\"\n\t\t\t\t\tibmIcon=\"chevron--down\"\n\t\t\t\t\tsize=\"16\"\n\t\t\t\t\t[attr.aria-label]=\"menuButtonLabel\"\n\t\t\t\t\t[ngClass]=\"{'bx--list-box__menu-icon--open': !menuIsClosed }\">\n\t\t\t\t</svg>\n\t\t\t</span>\n\t\t</button>\n\t\t<div\n\t\t\t#dropdownMenu\n\t\t\t[ngClass]=\"{\n\t\t\t\t'bx--list-box--up': this.dropUp !== null && this.dropUp !== undefined ? dropUp : _dropUp\n\t\t\t}\">\n\t\t\t<ng-content *ngIf=\"!menuIsClosed\"></ng-content>\n\t\t</div>\n\t</div>\n\t<div\n\t\t*ngIf=\"helperText && !invalid && !warn\"\n\t\tclass=\"bx--form__helper-text\"\n\t\t[ngClass]=\"{'bx--form__helper-text--disabled': disabled}\">\n\t\t<ng-container *ngIf=\"!isTemplate(helperText)\">{{helperText}}</ng-container>\n\t\t<ng-template *ngIf=\"isTemplate(helperText)\" [ngTemplateOutlet]=\"helperText\"></ng-template>\n\t</div>\n\t<div *ngIf=\"!warn && invalid\" class=\"bx--form-requirement\">\n\t\t<ng-container *ngIf=\"!isTemplate(invalidText)\">{{ invalidText }}</ng-container>\n\t\t<ng-template *ngIf=\"isTemplate(invalidText)\" [ngTemplateOutlet]=\"invalidText\"></ng-template>\n\t</div>\n\t<div *ngIf=\"!invalid && warn\" class=\"bx--form-requirement\">\n\t\t<ng-container *ngIf=\"!isTemplate(warnText)\">{{warnText}}</ng-container>\n\t\t<ng-template *ngIf=\"isTemplate(warnText)\" [ngTemplateOutlet]=\"warnText\"></ng-template>\n\t</div>\n\t`,\n                providers: [\n                    {\n                        provide: NG_VALUE_ACCESSOR,\n                        useExisting: Dropdown,\n                        multi: true\n                    }\n                ]\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }, { type: ɵngcc3.I18n }, { type: DropdownService }, { type: ɵngcc2.ElementService }]; }, { id: [{\n            type: Input\n        }], placeholder: [{\n            type: Input\n        }], displayValue: [{\n            type: Input\n        }], clearText: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }], type: [{\n            type: Input\n        }], theme: [{\n            type: Input\n        }], disabled: [{\n            type: Input\n        }], skeleton: [{\n            type: Input\n        }], inline: [{\n            type: Input\n        }], disableArrowKeys: [{\n            type: Input\n        }], invalid: [{\n            type: Input\n        }], warn: [{\n            type: Input\n        }], appendInline: [{\n            type: Input\n        }], selectionFeedback: [{\n            type: Input\n        }], menuButtonLabel: [{\n            type: Input\n        }], selectedLabel: [{\n            type: Input\n        }], selected: [{\n            type: Output\n        }], onClose: [{\n            type: Output\n        }], close: [{\n            type: Output\n        }], hostClass: [{\n            type: HostBinding,\n            args: [\"class.bx--dropdown__wrapper\"]\n        }], value: [{\n            type: Input\n        }], itemValueKey: [{\n            type: Input\n        }], \n    /**\n     * Adds keyboard functionality for navigation, selection and closing of the `Dropdown`.\n     */\n    // \"Esc\", \"Spacebar\", \"Down\", and \"Up\" are IE specific values\n    onKeyDown: [{\n            type: HostListener,\n            args: [\"keydown\", [\"$event\"]]\n        }], label: [{\n            type: Input\n        }], helperText: [{\n            type: Input\n        }], invalidText: [{\n            type: Input\n        }], warnText: [{\n            type: Input\n        }], scrollableContainer: [{\n            type: Input\n        }], dropUp: [{\n            type: Input\n        }], view: [{\n            type: ContentChild,\n            args: [AbstractDropdownView, { static: true }]\n        }], dropdownButton: [{\n            type: ViewChild,\n            args: [\"dropdownButton\", { static: true }]\n        }], dropdownMenu: [{\n            type: ViewChild,\n            args: [\"dropdownMenu\", { static: true }]\n        }] }); })();\n\n/**\n * returns an observable bound to keydown events that\n * filters to a single element where the first letter of\n * it's textContent matches the key pressed\n *\n * @param target element to watch\n * @param elements elements to search\n */\nfunction watchFocusJump(target, elements) {\n    return fromEvent(target, \"keydown\")\n        .pipe(debounceTime(150), map((ev) => {\n        let el = elements.find((itemEl) => itemEl.textContent.trim().toLowerCase().startsWith(ev.key));\n        if (el) {\n            return el;\n        }\n    }), filter(el => !!el));\n}\n\n/**\n * ```html\n * <ibm-dropdown-list [items]=\"listItems\"></ibm-dropdown-list>\n * ```\n * ```typescript\n * listItems = [\n * \t{\n * \t\tcontent: \"item one\",\n * \t\tselected: false\n * \t},\n * \t{\n * \t\tcontent: \"item two\",\n * \t\tselected: false,\n * \t},\n * \t{\n * \t\tcontent: \"item three\",\n * \t\tselected: false\n * \t},\n * \t{\n * \t\tcontent: \"item four\",\n * \t\tselected: false\n * \t}\n * ];\n * ```\n */\nclass DropdownList {\n    /**\n     * Creates an instance of `DropdownList`.\n     */\n    constructor(elementRef, i18n, appRef) {\n        this.elementRef = elementRef;\n        this.i18n = i18n;\n        this.appRef = appRef;\n        this.ariaLabel = this.i18n.get().DROPDOWN_LIST.LABEL;\n        /**\n         * Template to bind to items in the `DropdownList` (optional).\n         */\n        this.listTpl = null;\n        /**\n         * Event to emit selection of a list item within the `DropdownList`.\n         */\n        this.select = new EventEmitter();\n        /**\n         * Event to emit scroll event of a list within the `DropdownList`.\n         */\n        this.scroll = new EventEmitter();\n        /**\n         * Event to suggest a blur on the view.\n         * Emits _after_ the first/last item has been focused.\n         * ex.\n         * ArrowUp -> focus first item\n         * ArrowUp -> emit event\n         *\n         * When this event fires focus should be placed on some element outside of the list - blurring the list as a result\n         */\n        this.blurIntent = new EventEmitter();\n        /**\n         * Defines whether or not the `DropdownList` supports selecting multiple items as opposed to single\n         * item selection.\n         */\n        this.type = \"single\";\n        /**\n         * Defines whether to show title attribute or not\n         */\n        this.showTitles = true;\n        /**\n         * Defines the rendering size of the `DropdownList` input component.\n         *\n         * @deprecated since v4\n         */\n        this.size = \"md\";\n        this.listId = `listbox-${DropdownList.listCount++}`;\n        this.highlightedItem = null;\n        /**\n         * Holds the list of items that will be displayed in the `DropdownList`.\n         * It differs from the the complete set of items when filtering is used (but\n         * it is always a subset of the total items in `DropdownList`).\n         */\n        this.displayItems = [];\n        /**\n         * Maintains the index for the selected item within the `DropdownList`.\n         */\n        this.index = -1;\n        /**\n         * Useful representation of the items, should be accessed via `getListItems`.\n         */\n        this._items = [];\n    }\n    /**\n     * The list items belonging to the `DropdownList`.\n     */\n    set items(value) {\n        if (isObservable(value)) {\n            if (this._itemsSubscription) {\n                this._itemsSubscription.unsubscribe();\n            }\n            this._itemsReady = new Observable((observer) => {\n                this._itemsSubscription = value.subscribe(v => {\n                    this.updateList(v);\n                    observer.next(true);\n                    observer.complete();\n                });\n            });\n            this.onItemsReady(null);\n        }\n        else {\n            this.updateList(value);\n        }\n        this._originalItems = value;\n    }\n    get items() {\n        return this._originalItems;\n    }\n    /**\n     * Retrieves array of list items and index of the selected item after view has rendered.\n     * Additionally, any Observables for the `DropdownList` are initialized.\n     */\n    ngAfterViewInit() {\n        this.index = this.getListItems().findIndex(item => item.selected);\n        this.setupFocusObservable();\n        setTimeout(() => {\n            this.doEmitSelect(true);\n        });\n    }\n    /**\n     * Removes any Observables on destruction of the component.\n     */\n    ngOnDestroy() {\n        if (this.focusJump) {\n            this.focusJump.unsubscribe();\n        }\n        if (this._itemsSubscription) {\n            this._itemsSubscription.unsubscribe();\n        }\n    }\n    doEmitSelect(isUpdate = true) {\n        if (this.type === \"single\") {\n            this.select.emit({ item: this._items.find(item => item.selected), isUpdate: isUpdate });\n        }\n        else {\n            // abuse javascripts object mutability until we can break the API and switch to\n            // { items: [], isUpdate: true }\n            const selected = this.getSelected() || [];\n            selected[\"isUpdate\"] = isUpdate;\n            this.select.emit(selected);\n        }\n    }\n    getItemId(index) {\n        return `${this.listId}-${index}`;\n    }\n    /**\n     * Updates the displayed list of items and then retrieves the most current properties for the `DropdownList` from the DOM.\n     */\n    updateList(items) {\n        this._items = items.map(item => Object.assign({}, item));\n        this.displayItems = this._items;\n        this.updateIndex();\n        this.setupFocusObservable();\n        this.doEmitSelect();\n    }\n    /**\n     * Filters the items being displayed in the DOM list.\n     */\n    filterBy(query = \"\") {\n        if (query) {\n            this.displayItems = this.getListItems().filter(item => item.content.toLowerCase().includes(query.toLowerCase()));\n            // Reset index if items were found\n            // Prevent selecting index in list that are undefined.\n            if (this.displayItems) {\n                this.index = 0;\n            }\n        }\n        else {\n            this.displayItems = this.getListItems();\n        }\n        this.updateIndex();\n    }\n    /**\n     * Initializes (or re-initializes) the Observable that handles switching focus to an element based on\n     * key input matching the first letter of the item in the list.\n     */\n    setupFocusObservable() {\n        if (!this.list) {\n            return;\n        }\n        if (this.focusJump) {\n            this.focusJump.unsubscribe();\n        }\n        let elList = Array.from(this.list.nativeElement.querySelectorAll(\"li\"));\n        this.focusJump = watchFocusJump(this.list.nativeElement, elList)\n            .subscribe(el => {\n            el.focus();\n        });\n    }\n    /**\n     * Returns the `ListItem` that is subsequent to the selected item in the `DropdownList`.\n     */\n    getNextItem() {\n        if (this.index < this.displayItems.length - 1) {\n            this.index++;\n        }\n        return this.displayItems[this.index];\n    }\n    /**\n     * Returns `true` if the selected item is not the last item in the `DropdownList`.\n     */\n    hasNextElement() {\n        return this.index < this.displayItems.length - 1 &&\n            (!(this.index === this.displayItems.length - 2) || !this.displayItems[this.index + 1].disabled);\n    }\n    /**\n     * Returns the `HTMLElement` for the item that is subsequent to the selected item.\n     */\n    getNextElement() {\n        // Only return native elements if they are rendered\n        const elemList = this.listElementList ? this.listElementList.toArray() : [];\n        if (!elemList.length) {\n            return null;\n        }\n        /**\n         * Start checking from next index\n         * Continue looping through the list until a non disabeled element is found or\n         * end of list is reached\n         */\n        for (let i = this.index + 1; i < elemList.length; i++) {\n            // If the values in the list are not disabled\n            if (!this.displayItems[i].disabled) {\n                this.index = i;\n                return elemList[i].nativeElement;\n            }\n        }\n        return elemList[this.index].nativeElement;\n    }\n    /**\n     * Returns the `ListItem` that precedes the selected item within `DropdownList`.\n     */\n    getPrevItem() {\n        if (this.index > 0) {\n            this.index--;\n        }\n        return this.displayItems[this.index];\n    }\n    /**\n     * Returns `true` if the selected item is not the first in the list.\n     */\n    hasPrevElement() {\n        return this.index > 0 && (!(this.index === 1) || !this.displayItems[0].disabled);\n    }\n    /**\n     * Returns the `HTMLElement` for the item that precedes the selected item.\n     */\n    getPrevElement() {\n        // Only return native elements if they are rendered\n        const elemList = this.listElementList ? this.listElementList.toArray() : [];\n        if (!elemList.length) {\n            return null;\n        }\n        /**\n         * Start checking from next index\n         * Continue looping through the list until a non disabeled element is found or\n         * end of list is reached\n         */\n        for (let i = this.index - 1; i < this.index && i >= 0; i--) {\n            // If the values in the list are not disabled\n            if (!this.displayItems[i].disabled) {\n                this.index = i;\n                return elemList[i].nativeElement;\n            }\n        }\n        return elemList[this.index].nativeElement;\n    }\n    /**\n     * Returns the `ListItem` that is selected within `DropdownList`.\n     */\n    getCurrentItem() {\n        if (this.index < 0) {\n            return this.displayItems[0];\n        }\n        return this.displayItems[this.index];\n    }\n    /**\n     * Returns the `HTMLElement` for the item that is selected within the `DropdownList`.\n     */\n    getCurrentElement() {\n        if (this.index < 0) {\n            return this.listElementList.first.nativeElement;\n        }\n        return this.listElementList.toArray()[this.index].nativeElement;\n    }\n    /**\n     * Returns the items as an Array\n     */\n    getListItems() {\n        return this._items;\n    }\n    /**\n     * Returns a list containing the selected item(s) in the `DropdownList`.\n     */\n    getSelected() {\n        let selected = this.getListItems().filter(item => item.selected);\n        if (selected.length === 0) {\n            return [];\n        }\n        return selected;\n    }\n    /**\n     * Transforms array input list of items to the correct state by updating the selected item(s).\n     */\n    propagateSelected(value) {\n        // if we get a non-array, log out an error (since it is one)\n        if (!Array.isArray(value)) {\n            console.error(`${this.constructor.name}.propagateSelected expects an Array<ListItem>, got ${JSON.stringify(value)}`);\n        }\n        this.onItemsReady(() => {\n            // loop through the list items and update the `selected` state for matching items in `value`\n            for (let oldItem of this.getListItems()) {\n                // copy the item\n                let tempOldItem = Object.assign({}, oldItem);\n                // deleted selected because it's what we _want_ to change\n                delete tempOldItem.selected;\n                // stringify for compare\n                tempOldItem = JSON.stringify(tempOldItem);\n                for (let newItem of value) {\n                    // copy the item\n                    let tempNewItem = Object.assign({}, newItem);\n                    // deleted selected because it's what we _want_ to change\n                    delete tempNewItem.selected;\n                    // stringify for compare\n                    tempNewItem = JSON.stringify(tempNewItem);\n                    // do the compare\n                    if (tempOldItem.includes(tempNewItem)) {\n                        oldItem.selected = newItem.selected;\n                        // if we've found a matching item, we can stop looping\n                        break;\n                    }\n                    else {\n                        oldItem.selected = false;\n                    }\n                }\n            }\n        });\n    }\n    /**\n     * Initializes focus in the list, effectively a wrapper for `getCurrentElement().focus()`\n     */\n    initFocus() {\n        if (this.index < 0) {\n            this.updateIndex();\n        }\n        this.list.nativeElement.focus();\n        setTimeout(() => {\n            this.highlightedItem = this.getItemId(this.index);\n        });\n    }\n    updateIndex() {\n        // initialize index on the first selected item or\n        // on the next non disabled item if no items are selected\n        const selected = this.getSelected();\n        if (selected.length) {\n            this.index = this.displayItems.indexOf(selected[0]);\n        }\n        else if (this.hasNextElement()) {\n            this.getNextElement();\n        }\n    }\n    /**\n     * Manages the keyboard accessibility for navigation and selection within a `DropdownList`.\n     * @deprecated since v4\n     */\n    doKeyDown(event, item) {\n        // \"Spacebar\", \"Down\", and \"Up\" are IE specific values\n        if (event.key === \"Enter\" || event.key === \" \" || event.key === \"Spacebar\") {\n            if (this.listElementList.some(option => option.nativeElement === event.target)) {\n                event.preventDefault();\n            }\n            if (event.key === \"Enter\") {\n                this.doClick(event, item);\n            }\n        }\n        else if (event.key === \"ArrowDown\" || event.key === \"ArrowUp\" || event.key === \"Down\" || event.key === \"Up\") {\n            event.preventDefault();\n            if (event.key === \"ArrowDown\" || event.key === \"Down\") {\n                if (this.hasNextElement()) {\n                    // this.getNextElement().focus();\n                    this.getNextElement();\n                }\n                else {\n                    this.blurIntent.emit(\"bottom\");\n                }\n            }\n            else if (event.key === \"ArrowUp\" || event.key === \"Up\") {\n                if (this.hasPrevElement()) {\n                    // this.getPrevElement().focus();\n                    this.getPrevElement();\n                }\n                else {\n                    this.blurIntent.emit(\"top\");\n                }\n            }\n        }\n    }\n    /**\n     * Manages the keyboard accessibility for navigation and selection within a `DropdownList`.\n     */\n    navigateList(event) {\n        // \"Spacebar\", \"Down\", and \"Up\" are IE specific values\n        if (event.key === \"Enter\" || event.key === \" \" || event.key === \"Spacebar\") {\n            if (this.listElementList.some(option => option.nativeElement === event.target)) {\n                event.preventDefault();\n            }\n            if (event.key === \"Enter\") {\n                this.doClick(event, this.getCurrentItem());\n            }\n        }\n        else if (event.key === \"ArrowDown\" || event.key === \"ArrowUp\" || event.key === \"Down\" || event.key === \"Up\") {\n            event.preventDefault();\n            if (event.key === \"ArrowDown\" || event.key === \"Down\") {\n                if (this.hasNextElement()) {\n                    this.getNextElement().scrollIntoView({ block: \"end\" });\n                }\n                else {\n                    this.blurIntent.emit(\"bottom\");\n                }\n            }\n            else if (event.key === \"ArrowUp\" || event.key === \"Up\") {\n                if (this.hasPrevElement()) {\n                    this.getPrevElement().scrollIntoView();\n                }\n                else {\n                    this.blurIntent.emit(\"top\");\n                }\n            }\n            setTimeout(() => {\n                this.highlightedItem = this.getItemId(this.index);\n            });\n        }\n    }\n    /**\n     * Emits the selected item or items after a mouse click event has occurred.\n     */\n    doClick(event, item) {\n        event.preventDefault();\n        if (item && !item.disabled) {\n            this.list.nativeElement.focus();\n            if (this.type === \"single\") {\n                item.selected = true;\n                // reset the selection\n                for (let otherItem of this.getListItems()) {\n                    if (item !== otherItem) {\n                        otherItem.selected = false;\n                    }\n                }\n            }\n            else {\n                item.selected = !item.selected;\n            }\n            this.index = this.displayItems.indexOf(item);\n            this.highlightedItem = this.getItemId(this.index);\n            this.doEmitSelect(false);\n            this.appRef.tick();\n        }\n    }\n    onItemFocus(index) {\n        const element = this.listElementList.toArray()[index].nativeElement;\n        element.classList.add(\"bx--list-box__menu-item--highlighted\");\n        element.tabIndex = 0;\n    }\n    onItemBlur(index) {\n        const element = this.listElementList.toArray()[index].nativeElement;\n        element.classList.remove(\"bx--list-box__menu-item--highlighted\");\n        element.tabIndex = -1;\n    }\n    /**\n     * Emits the scroll event of the options list\n     */\n    emitScroll(event) {\n        const atTop = event.srcElement.scrollTop === 0;\n        const atBottom = event.srcElement.scrollHeight - event.srcElement.scrollTop === event.srcElement.clientHeight;\n        const customScrollEvent = { atTop, atBottom, event };\n        this.scroll.emit(customScrollEvent);\n    }\n    /**\n     * Subscribe the function passed to an internal observable that will resolve once the items are ready\n     */\n    onItemsReady(subcription) {\n        // this subscription will auto unsubscribe because of the `first()` pipe\n        (this._itemsReady || of(true)).pipe(first()).subscribe(subcription);\n    }\n    reorderSelected(moveFocus = true) {\n        this.displayItems = [...this.getSelected(), ...this.getListItems().filter(item => !item.selected)];\n        if (moveFocus) {\n            setTimeout(() => {\n                this.updateIndex();\n                this.highlightedItem = this.getItemId(this.index);\n            });\n        }\n    }\n}\nDropdownList.ɵfac = function DropdownList_Factory(t) { return new (t || DropdownList)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef), ɵngcc0.ɵɵdirectiveInject(ɵngcc3.I18n), ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ApplicationRef)); };\nDropdownList.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: DropdownList, selectors: [[\"ibm-dropdown-list\"]], viewQuery: function DropdownList_Query(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵviewQuery(_c9, 7);\n        ɵngcc0.ɵɵviewQuery(_c10, 5);\n    } if (rf & 2) {\n        let _t;\n        ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.list = _t.first);\n        ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.listElementList = _t);\n    } }, inputs: { ariaLabel: \"ariaLabel\", listTpl: \"listTpl\", type: \"type\", showTitles: \"showTitles\", items: \"items\" }, outputs: { select: \"select\", scroll: \"scroll\", blurIntent: \"blurIntent\" }, features: [ɵngcc0.ɵɵProvidersFeature([\n            {\n                provide: AbstractDropdownView,\n                useExisting: DropdownList\n            }\n        ])], decls: 3, vars: 4, consts: [[\"role\", \"listbox\", \"tabindex\", \"-1\", 1, \"bx--list-box__menu\", \"bx--multi-select\", 3, \"id\", \"scroll\", \"keydown\"], [\"list\", \"\"], [\"role\", \"option\", \"class\", \"bx--list-box__menu-item\", 3, \"id\", \"ngClass\", \"click\", 4, \"ngFor\", \"ngForOf\"], [\"role\", \"option\", 1, \"bx--list-box__menu-item\", 3, \"id\", \"ngClass\", \"click\"], [\"tabindex\", \"-1\", 1, \"bx--list-box__menu-item__option\"], [\"listItem\", \"\"], [\"class\", \"bx--form-item bx--checkbox-wrapper\", 4, \"ngIf\"], [4, \"ngIf\"], [\"ibmIcon\", \"checkmark\", \"size\", \"16\", \"class\", \"bx--list-box__menu-item__selected-icon\", 4, \"ngIf\"], [1, \"bx--form-item\", \"bx--checkbox-wrapper\"], [1, \"bx--checkbox-label\"], [\"type\", \"checkbox\", \"tabindex\", \"-1\", 1, \"bx--checkbox\", 3, \"checked\", \"disabled\"], [1, \"bx--checkbox-appearance\"], [1, \"bx--checkbox-label-text\"], [\"ibmIcon\", \"checkmark\", \"size\", \"16\", 1, \"bx--list-box__menu-item__selected-icon\"], [3, \"ngTemplateOutletContext\", \"ngTemplateOutlet\"]], template: function DropdownList_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵelementStart(0, \"ul\", 0, 1);\n        ɵngcc0.ɵɵlistener(\"scroll\", function DropdownList_Template_ul_scroll_0_listener($event) { return ctx.emitScroll($event); })(\"keydown\", function DropdownList_Template_ul_keydown_0_listener($event) { return ctx.navigateList($event); });\n        ɵngcc0.ɵɵtemplate(2, DropdownList_li_2_Template, 7, 12, \"li\", 2);\n        ɵngcc0.ɵɵelementEnd();\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"id\", ctx.listId);\n        ɵngcc0.ɵɵattribute(\"aria-label\", ctx.ariaLabel)(\"aria-activedescendant\", ctx.highlightedItem);\n        ɵngcc0.ɵɵadvance(2);\n        ɵngcc0.ɵɵproperty(\"ngForOf\", ctx.displayItems);\n    } }, dependencies: [ɵngcc4.NgClass, ɵngcc4.NgForOf, ɵngcc4.NgIf, ɵngcc4.NgTemplateOutlet, ɵngcc5.IconDirective], encapsulation: 2 });\nDropdownList.listCount = 0;\n/** @nocollapse */\nDropdownList.ctorParameters = () => [\n    { type: ElementRef },\n    { type: I18n },\n    { type: ApplicationRef }\n];\nDropdownList.propDecorators = {\n    ariaLabel: [{ type: Input }],\n    items: [{ type: Input }],\n    listTpl: [{ type: Input }],\n    select: [{ type: Output }],\n    scroll: [{ type: Output }],\n    blurIntent: [{ type: Output }],\n    list: [{ type: ViewChild, args: [\"list\", { static: true },] }],\n    type: [{ type: Input }],\n    showTitles: [{ type: Input }],\n    listElementList: [{ type: ViewChildren, args: [\"listItem\",] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(DropdownList, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-dropdown-list\",\n                template: `\n\t\t<ul\n\t\t\t#list\n\t\t\t[id]=\"listId\"\n\t\t\trole=\"listbox\"\n\t\t\tclass=\"bx--list-box__menu bx--multi-select\"\n\t\t\t(scroll)=\"emitScroll($event)\"\n\t\t\t(keydown)=\"navigateList($event)\"\n\t\t\ttabindex=\"-1\"\n\t\t\t[attr.aria-label]=\"ariaLabel\"\n\t\t\t[attr.aria-activedescendant]=\"highlightedItem\">\n\t\t\t<li\n\t\t\t\trole=\"option\"\n\t\t\t\t*ngFor=\"let item of displayItems; let i = index\"\n\t\t\t\t(click)=\"doClick($event, item)\"\n\t\t\t\tclass=\"bx--list-box__menu-item\"\n\t\t\t\t[attr.aria-selected]=\"item.selected\"\n\t\t\t\t[id]=\"getItemId(i)\"\n\t\t\t\t[attr.title]=\" showTitles ? item.content : null\"\n\t\t\t\t[attr.disabled]=\"item.disabled ? true : null\"\n\t\t\t\t[ngClass]=\"{\n\t\t\t\t\t'bx--list-box__menu-item--active': item.selected,\n\t\t\t\t\t'bx--list-box__menu-item--highlighted': highlightedItem === getItemId(i)\n\t\t\t\t}\">\n\t\t\t\t<div\n\t\t\t\t\t#listItem\n\t\t\t\t\ttabindex=\"-1\"\n\t\t\t\t\tclass=\"bx--list-box__menu-item__option\">\n\t\t\t\t\t<div\n\t\t\t\t\t\t*ngIf=\"!listTpl && type === 'multi'\"\n\t\t\t\t\t\tclass=\"bx--form-item bx--checkbox-wrapper\">\n\t\t\t\t\t\t<label\n\t\t\t\t\t\t\t[attr.data-contained-checkbox-state]=\"item.selected\"\n\t\t\t\t\t\t\tclass=\"bx--checkbox-label\">\n\t\t\t\t\t\t\t<input\n\t\t\t\t\t\t\t\tclass=\"bx--checkbox\"\n\t\t\t\t\t\t\t\ttype=\"checkbox\"\n\t\t\t\t\t\t\t\t[checked]=\"item.selected\"\n\t\t\t\t\t\t\t\t[disabled]=\"item.disabled\"\n\t\t\t\t\t\t\t\ttabindex=\"-1\">\n\t\t\t\t\t\t\t<span class=\"bx--checkbox-appearance\"></span>\n\t\t\t\t\t\t\t<span class=\"bx--checkbox-label-text\">{{item.content}}</span>\n\t\t\t\t\t\t</label>\n\t\t\t\t\t</div>\n\t\t\t\t\t<ng-container *ngIf=\"!listTpl && type === 'single'\">{{item.content}}</ng-container>\n\t\t\t\t\t<svg\n\t\t\t\t\t\t*ngIf=\"!listTpl && type === 'single'\"\n\t\t\t\t\t\tibmIcon=\"checkmark\"\n\t\t\t\t\t\tsize=\"16\"\n\t\t\t\t\t\tclass=\"bx--list-box__menu-item__selected-icon\">\n\t\t\t\t\t</svg>\n\t\t\t\t\t<ng-template\n\t\t\t\t\t\t*ngIf=\"listTpl\"\n\t\t\t\t\t\t[ngTemplateOutletContext]=\"{item: item}\"\n\t\t\t\t\t\t[ngTemplateOutlet]=\"listTpl\">\n\t\t\t\t\t</ng-template>\n\t\t\t\t</div>\n\t\t\t</li>\n\t\t</ul>`,\n                providers: [\n                    {\n                        provide: AbstractDropdownView,\n                        useExisting: DropdownList\n                    }\n                ]\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }, { type: ɵngcc3.I18n }, { type: ɵngcc0.ApplicationRef }]; }, { ariaLabel: [{\n            type: Input\n        }], listTpl: [{\n            type: Input\n        }], select: [{\n            type: Output\n        }], scroll: [{\n            type: Output\n        }], blurIntent: [{\n            type: Output\n        }], type: [{\n            type: Input\n        }], showTitles: [{\n            type: Input\n        }], items: [{\n            type: Input\n        }], list: [{\n            type: ViewChild,\n            args: [\"list\", { static: true }]\n        }], listElementList: [{\n            type: ViewChildren,\n            args: [\"listItem\"]\n        }] }); })();\n\nclass ScrollableList {\n    constructor(elementRef) {\n        this.elementRef = elementRef;\n        /**\n         * Optional target list to scroll\n         */\n        this.nScrollableList = null;\n        /**\n         * Enables or disables scrolling for the whole directive\n         */\n        this.scrollEnabled = true;\n        /**\n         * How many lines to scroll by each time `wheel` fires\n         * Defaults to 10 - based on testing this isn't too fast or slow on any platform\n         */\n        this.scrollBy = 10;\n        this.canScrollUp = false;\n        this.canScrollDown = false;\n        this.list = this.elementRef.nativeElement;\n    }\n    ngOnChanges(changes) {\n        if (changes.scrollEnabled) {\n            if (changes.scrollEnabled.currentValue) {\n                this.list.style.overflow = \"hidden\";\n                this.scrollUpTarget.style.display = \"flex\";\n                this.scrollDownTarget.style.display = \"flex\";\n                this.canScrollUp = true;\n                this.canScrollDown = true;\n                this.updateScrollHeight();\n                this.checkScrollArrows();\n                setTimeout(() => {\n                    this.checkScrollArrows();\n                });\n            }\n            else {\n                this.scrollUpTarget.style.display = \"none\";\n                this.scrollDownTarget.style.display = \"none\";\n                this.canScrollUp = false;\n                this.canScrollDown = false;\n                this.list.style.height = null;\n                this.list.style.overflow = null;\n                clearInterval(this.hoverScrollInterval);\n            }\n        }\n    }\n    ngAfterViewInit() {\n        if (this.nScrollableList) {\n            this.list = this.elementRef.nativeElement.querySelector(this.nScrollableList);\n        }\n        this.scrollUpTarget.addEventListener(\"mouseover\", () => this.onHoverUp(true));\n        this.scrollUpTarget.addEventListener(\"mouseout\", () => this.onHoverUp(false));\n        this.scrollDownTarget.addEventListener(\"mouseover\", () => this.onHoverDown(true));\n        this.scrollDownTarget.addEventListener(\"mouseout\", () => this.onHoverDown(false));\n    }\n    updateScrollHeight() {\n        if (this.scrollEnabled) {\n            const container = this.elementRef.nativeElement.parentElement;\n            const containerRect = container.getBoundingClientRect();\n            const innerHeightDiff = this.list.getBoundingClientRect().top - containerRect.top;\n            const outerHeightDiff = containerRect.height - (containerRect.bottom - window.innerHeight);\n            // 40 gives us some padding between the bottom of the list,\n            // the bottom of the window, and the scroll down button\n            const height = outerHeightDiff - innerHeightDiff - 40;\n            this.list.style.height = `${height}px`;\n        }\n    }\n    checkScrollArrows() {\n        const scrollUpHeight = this.scrollUpTarget.offsetHeight;\n        const scrollDownHeight = this.scrollDownTarget.offsetHeight;\n        if (this.list.scrollTop === 0) {\n            if (this.canScrollUp) {\n                this.list.style.height = `${parseInt(this.list.style.height, 10) + scrollUpHeight}px`;\n            }\n            this.scrollUpTarget.style.display = \"none\";\n            this.canScrollUp = false;\n        }\n        else if (this.list.scrollTop === this.list.scrollTopMax) {\n            if (this.canScrollDown) {\n                this.list.style.height = `${parseInt(this.list.style.height, 10) + scrollDownHeight}px`;\n            }\n            this.scrollDownTarget.style.display = \"none\";\n            this.canScrollDown = false;\n        }\n        else {\n            if (!this.canScrollUp) {\n                this.list.style.height = `${parseInt(this.list.style.height, 10) - scrollUpHeight}px`;\n            }\n            if (!this.canScrollDown) {\n                this.list.style.height = `${parseInt(this.list.style.height, 10) - scrollDownHeight}px`;\n            }\n            this.scrollUpTarget.style.display = \"flex\";\n            this.scrollDownTarget.style.display = \"flex\";\n            this.canScrollUp = true;\n            this.canScrollDown = true;\n        }\n    }\n    onWheel(event) {\n        if (event.deltaY < 0) {\n            this.list.scrollTop -= this.scrollBy;\n        }\n        else {\n            this.list.scrollTop += this.scrollBy;\n        }\n        // only prevent the parent/window from scrolling if we can scroll\n        if (!(this.list.scrollTop === this.list.scrollTopMax || this.list.scrollTop === 0)) {\n            event.preventDefault();\n            event.stopPropagation();\n        }\n        this.checkScrollArrows();\n    }\n    onTouchStart(event) {\n        if (event.touches[0]) {\n            this.lastTouch = event.touches[0].clientY;\n        }\n    }\n    onTouchMove(event) {\n        event.preventDefault();\n        event.stopPropagation();\n        if (event.touches[0]) {\n            const touch = event.touches[0];\n            this.list.scrollTop += this.lastTouch - touch.clientY;\n            this.lastTouch = touch.clientY;\n            this.checkScrollArrows();\n        }\n    }\n    hoverScrollBy(hovering, amount) {\n        if (hovering) {\n            this.hoverScrollInterval = setInterval(() => {\n                this.list.scrollTop += amount;\n                this.checkScrollArrows();\n            }, 1);\n        }\n        else {\n            clearInterval(this.hoverScrollInterval);\n        }\n    }\n    onHoverUp(hovering) {\n        // how many px/lines to scroll by on hover\n        // 3 is just a random number that felt good\n        // 1 and 2 are too slow, 4 works but it might be a tad fast\n        this.hoverScrollBy(hovering, -3);\n    }\n    onHoverDown(hovering) {\n        this.hoverScrollBy(hovering, 3);\n    }\n    onKeyDown(event) {\n        if (event.key === \"ArrowDown\" || event.key === \"ArrowUp\") {\n            this.checkScrollArrows();\n        }\n    }\n}\nScrollableList.ɵfac = function ScrollableList_Factory(t) { return new (t || ScrollableList)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nScrollableList.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: ScrollableList, selectors: [[\"\", \"ibmScrollableList\", \"\"]], hostBindings: function ScrollableList_HostBindings(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵlistener(\"wheel\", function ScrollableList_wheel_HostBindingHandler($event) { return ctx.onWheel($event); })(\"touchstart\", function ScrollableList_touchstart_HostBindingHandler($event) { return ctx.onTouchStart($event); })(\"touchmove\", function ScrollableList_touchmove_HostBindingHandler($event) { return ctx.onTouchMove($event); })(\"keydown\", function ScrollableList_keydown_HostBindingHandler($event) { return ctx.onKeyDown($event); });\n    } }, inputs: { nScrollableList: \"nScrollableList\", scrollEnabled: \"scrollEnabled\", scrollBy: \"scrollBy\", scrollUpTarget: \"scrollUpTarget\", scrollDownTarget: \"scrollDownTarget\" }, exportAs: [\"scrollable-list\"], features: [ɵngcc0.ɵɵNgOnChangesFeature] });\n/** @nocollapse */\nScrollableList.ctorParameters = () => [\n    { type: ElementRef }\n];\nScrollableList.propDecorators = {\n    nScrollableList: [{ type: Input }],\n    scrollEnabled: [{ type: Input }],\n    scrollUpTarget: [{ type: Input }],\n    scrollDownTarget: [{ type: Input }],\n    scrollBy: [{ type: Input }],\n    onWheel: [{ type: HostListener, args: [\"wheel\", [\"$event\"],] }],\n    onTouchStart: [{ type: HostListener, args: [\"touchstart\", [\"$event\"],] }],\n    onTouchMove: [{ type: HostListener, args: [\"touchmove\", [\"$event\"],] }],\n    onKeyDown: [{ type: HostListener, args: [\"keydown\", [\"$event\"],] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ScrollableList, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmScrollableList]\",\n                exportAs: \"scrollable-list\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { nScrollableList: [{\n            type: Input\n        }], scrollEnabled: [{\n            type: Input\n        }], scrollBy: [{\n            type: Input\n        }], onWheel: [{\n            type: HostListener,\n            args: [\"wheel\", [\"$event\"]]\n        }], onTouchStart: [{\n            type: HostListener,\n            args: [\"touchstart\", [\"$event\"]]\n        }], onTouchMove: [{\n            type: HostListener,\n            args: [\"touchmove\", [\"$event\"]]\n        }], onKeyDown: [{\n            type: HostListener,\n            args: [\"keydown\", [\"$event\"]]\n        }], scrollUpTarget: [{\n            type: Input\n        }], scrollDownTarget: [{\n            type: Input\n        }] }); })();\n\nclass DropdownModule {\n}\nDropdownModule.ɵfac = function DropdownModule_Factory(t) { return new (t || DropdownModule)(); };\nDropdownModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: DropdownModule });\nDropdownModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({ providers: [DropdownService], imports: [CommonModule,\n        FormsModule,\n        I18nModule,\n        PlaceholderModule,\n        UtilsModule,\n        IconModule] });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(DropdownModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    Dropdown,\n                    DropdownList,\n                    ScrollableList,\n                    AbstractDropdownView\n                ],\n                exports: [\n                    Dropdown,\n                    DropdownList,\n                    ScrollableList,\n                    AbstractDropdownView\n                ],\n                imports: [\n                    CommonModule,\n                    FormsModule,\n                    I18nModule,\n                    PlaceholderModule,\n                    UtilsModule,\n                    IconModule\n                ],\n                providers: [DropdownService]\n            }]\n    }], null, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(DropdownModule, { declarations: function () { return [Dropdown, DropdownList, ScrollableList, AbstractDropdownView]; }, imports: function () { return [CommonModule,\n        FormsModule,\n        I18nModule,\n        PlaceholderModule,\n        UtilsModule,\n        IconModule]; }, exports: function () { return [Dropdown, DropdownList, ScrollableList, AbstractDropdownView]; } }); })();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { Dropdown, DropdownList, ScrollableList, AbstractDropdownView, DropdownService, DropdownModule };\n\n","/**\n *\n * carbon-angular v0.0.0 | carbon-components-angular-experimental.js\n *\n * Copyright 2014, 2023 IBM\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\nimport { Injectable, NgModule, SkipSelf, Optional } from '@angular/core';\n\nimport * as ɵngcc0 from '@angular/core';\nclass ExperimentalService {\n    constructor() {\n        /**\n         * Map to hold all our experiments\n         */\n        this.experiments = new Map();\n    }\n    /**\n     * Adds an experiment if it doesn't exist.\n     */\n    addExperiment(name, options = { enabled: false }) {\n        if (!this.experiments.has(name)) {\n            this.experiments.set(name, options);\n        }\n    }\n    /**\n     * Enables an experiment by name\n     * @param name name of the experiment to enable\n     */\n    enableExperiment(name) {\n        const experiment = this.getExperiment(name);\n        experiment.enabled = true;\n    }\n    /**\n     * Disables an experiment by name\n     * @param name name of the experiment to disable\n     */\n    disableExperiment(name) {\n        const experiment = this.getExperiment(name);\n        experiment.enabled = false;\n    }\n    /**\n     * Get the options for an experiment by name\n     * @param name name of experiment to get\n     */\n    getExperiment(name) {\n        if (!this.experiments.has(name)) {\n            this.addExperiment(name);\n            return this.getExperiment(name);\n        }\n        return this.experiments.get(name);\n    }\n    /**\n     * Get an array of tuples representing an experiment and it's options\n     */\n    getExperiments() {\n        return Array.from(this.experiments.entries());\n    }\n}\nExperimentalService.ɵfac = function ExperimentalService_Factory(t) { return new (t || ExperimentalService)(); };\nExperimentalService.ɵprov = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjectable({ token: ExperimentalService, factory: ExperimentalService.ɵfac });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ExperimentalService, [{\n        type: Injectable\n    }], function () { return []; }, null); })();\n\n// either provides a new instance of ExperimentalService, or returns the parent\nfunction EXPERIMENTAL_SERVICE_PROVIDER_FACTORY(parentService) {\n    return parentService || new ExperimentalService();\n}\nconst EXPERIMENTAL_SERVICE_PROVIDER = {\n    provide: ExperimentalService,\n    deps: [[new Optional(), new SkipSelf(), ExperimentalService]],\n    useFactory: EXPERIMENTAL_SERVICE_PROVIDER_FACTORY\n};\nclass ExperimentalModule {\n}\nExperimentalModule.ɵfac = function ExperimentalModule_Factory(t) { return new (t || ExperimentalModule)(); };\nExperimentalModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: ExperimentalModule });\nExperimentalModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({ providers: [\n        ExperimentalService,\n        EXPERIMENTAL_SERVICE_PROVIDER\n    ] });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ExperimentalModule, [{\n        type: NgModule,\n        args: [{\n                providers: [\n                    ExperimentalService,\n                    EXPERIMENTAL_SERVICE_PROVIDER\n                ]\n            }]\n    }], null, null); })();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { EXPERIMENTAL_SERVICE_PROVIDER_FACTORY, EXPERIMENTAL_SERVICE_PROVIDER, ExperimentalModule, ExperimentalService };\n\n","/**\n *\n * carbon-angular v0.0.0 | carbon-components-angular-file-uploader.js\n *\n * Copyright 2014, 2023 IBM\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { I18n } from 'carbon-components-angular/i18n';\nimport { Component, Input, Output, ViewChild, EventEmitter, TemplateRef, HostBinding, NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ButtonModule } from 'carbon-components-angular/button';\nimport { LoadingModule } from 'carbon-components-angular/loading';\nimport { IconModule } from 'carbon-components-angular/icon';\n\nimport * as ɵngcc0 from '@angular/core';\nimport * as ɵngcc1 from 'carbon-components-angular/i18n';\nimport * as ɵngcc2 from '@angular/common';\nimport * as ɵngcc3 from 'carbon-components-angular/button';\nimport * as ɵngcc4 from 'carbon-components-angular/loading';\nimport * as ɵngcc5 from 'carbon-components-angular/icon';\n\nconst _c0 = [\"fileInput\"];\nfunction FileUploader_ng_container_0_div_6_ng_container_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainerStart(0);\n    ɵngcc0.ɵɵtext(1);\n    ɵngcc0.ɵɵelementContainerEnd();\n} if (rf & 2) {\n    const ctx_r7 = ɵngcc0.ɵɵnextContext(3);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate(ctx_r7.dropText);\n} }\nfunction FileUploader_ng_container_0_div_6_2_ng_template_0_Template(rf, ctx) { }\nfunction FileUploader_ng_container_0_div_6_2_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵtemplate(0, FileUploader_ng_container_0_div_6_2_ng_template_0_Template, 0, 0, \"ng-template\", 13);\n} if (rf & 2) {\n    const ctx_r8 = ɵngcc0.ɵɵnextContext(3);\n    ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r8.dropText);\n} }\nconst _c1 = function (a0, a1) { return { \"bx--file-browse-btn--disabled\": a0, \"bx--file__drop-container--drag-over\": a1 }; };\nfunction FileUploader_ng_container_0_div_6_Template(rf, ctx) { if (rf & 1) {\n    const _r11 = ɵngcc0.ɵɵgetCurrentView();\n    ɵngcc0.ɵɵelementStart(0, \"div\", 11);\n    ɵngcc0.ɵɵlistener(\"click\", function FileUploader_ng_container_0_div_6_Template_div_click_0_listener() { ɵngcc0.ɵɵrestoreView(_r11); ɵngcc0.ɵɵnextContext(); const _r5 = ɵngcc0.ɵɵreference(9); return ɵngcc0.ɵɵresetView(_r5.click()); })(\"dragover\", function FileUploader_ng_container_0_div_6_Template_div_dragover_0_listener($event) { ɵngcc0.ɵɵrestoreView(_r11); const ctx_r12 = ɵngcc0.ɵɵnextContext(2); return ɵngcc0.ɵɵresetView(ctx_r12.onDragOver($event)); })(\"dragleave\", function FileUploader_ng_container_0_div_6_Template_div_dragleave_0_listener($event) { ɵngcc0.ɵɵrestoreView(_r11); const ctx_r13 = ɵngcc0.ɵɵnextContext(2); return ɵngcc0.ɵɵresetView(ctx_r13.onDragLeave($event)); })(\"drop\", function FileUploader_ng_container_0_div_6_Template_div_drop_0_listener($event) { ɵngcc0.ɵɵrestoreView(_r11); const ctx_r14 = ɵngcc0.ɵɵnextContext(2); return ɵngcc0.ɵɵresetView(ctx_r14.onDrop($event)); })(\"keyup.enter\", function FileUploader_ng_container_0_div_6_Template_div_keyup_enter_0_listener() { ɵngcc0.ɵɵrestoreView(_r11); ɵngcc0.ɵɵnextContext(); const _r5 = ɵngcc0.ɵɵreference(9); return ɵngcc0.ɵɵresetView(_r5.click()); })(\"keyup.space\", function FileUploader_ng_container_0_div_6_Template_div_keyup_space_0_listener() { ɵngcc0.ɵɵrestoreView(_r11); ɵngcc0.ɵɵnextContext(); const _r5 = ɵngcc0.ɵɵreference(9); return ɵngcc0.ɵɵresetView(_r5.click()); });\n    ɵngcc0.ɵɵtemplate(1, FileUploader_ng_container_0_div_6_ng_container_1_Template, 2, 1, \"ng-container\", 12);\n    ɵngcc0.ɵɵtemplate(2, FileUploader_ng_container_0_div_6_2_Template, 1, 1, null, 12);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r3 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction2(4, _c1, ctx_r3.disabled, ctx_r3.dragOver));\n    ɵngcc0.ɵɵattribute(\"for\", ctx_r3.fileUploaderId);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r3.isTemplate(ctx_r3.dropText));\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r3.isTemplate(ctx_r3.dropText));\n} }\nfunction FileUploader_ng_container_0_button_7_Template(rf, ctx) { if (rf & 1) {\n    const _r18 = ɵngcc0.ɵɵgetCurrentView();\n    ɵngcc0.ɵɵelementStart(0, \"button\", 14);\n    ɵngcc0.ɵɵlistener(\"click\", function FileUploader_ng_container_0_button_7_Template_button_click_0_listener() { ɵngcc0.ɵɵrestoreView(_r18); ɵngcc0.ɵɵnextContext(); const _r5 = ɵngcc0.ɵɵreference(9); return ɵngcc0.ɵɵresetView(_r5.click()); });\n    ɵngcc0.ɵɵtext(1);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r4 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵproperty(\"ibmButton\", ctx_r4.buttonType)(\"size\", ctx_r4.size)(\"disabled\", ctx_r4.disabled);\n    ɵngcc0.ɵɵattribute(\"for\", ctx_r4.fileUploaderId);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate1(\" \", ctx_r4.buttonText, \" \");\n} }\nfunction FileUploader_ng_container_0_ng_container_11_div_2_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"div\", 17);\n    ɵngcc0.ɵɵtext(1);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const fileItem_r19 = ɵngcc0.ɵɵnextContext().$implicit;\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate1(\" \", fileItem_r19.invalidText, \" \");\n} }\nfunction FileUploader_ng_container_0_ng_container_11_Template(rf, ctx) { if (rf & 1) {\n    const _r23 = ɵngcc0.ɵɵgetCurrentView();\n    ɵngcc0.ɵɵelementContainerStart(0);\n    ɵngcc0.ɵɵelementStart(1, \"ibm-file\", 15);\n    ɵngcc0.ɵɵlistener(\"remove\", function FileUploader_ng_container_0_ng_container_11_Template_ibm_file_remove_1_listener() { const restoredCtx = ɵngcc0.ɵɵrestoreView(_r23); const fileItem_r19 = restoredCtx.$implicit; const ctx_r22 = ɵngcc0.ɵɵnextContext(2); return ɵngcc0.ɵɵresetView(ctx_r22.removeFile(fileItem_r19)); });\n    ɵngcc0.ɵɵelementEnd();\n    ɵngcc0.ɵɵtemplate(2, FileUploader_ng_container_0_ng_container_11_div_2_Template, 2, 1, \"div\", 16);\n    ɵngcc0.ɵɵelementContainerEnd();\n} if (rf & 2) {\n    const fileItem_r19 = ctx.$implicit;\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"fileItem\", fileItem_r19);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", fileItem_r19.invalid);\n} }\nfunction FileUploader_ng_container_0_Template(rf, ctx) { if (rf & 1) {\n    const _r25 = ɵngcc0.ɵɵgetCurrentView();\n    ɵngcc0.ɵɵelementContainerStart(0);\n    ɵngcc0.ɵɵelementStart(1, \"label\", 2);\n    ɵngcc0.ɵɵtext(2);\n    ɵngcc0.ɵɵelementEnd();\n    ɵngcc0.ɵɵelementStart(3, \"p\", 3);\n    ɵngcc0.ɵɵtext(4);\n    ɵngcc0.ɵɵelementEnd();\n    ɵngcc0.ɵɵelementStart(5, \"div\", 4);\n    ɵngcc0.ɵɵtemplate(6, FileUploader_ng_container_0_div_6_Template, 3, 7, \"div\", 5);\n    ɵngcc0.ɵɵtemplate(7, FileUploader_ng_container_0_button_7_Template, 2, 5, \"button\", 6);\n    ɵngcc0.ɵɵelementStart(8, \"input\", 7, 8);\n    ɵngcc0.ɵɵlistener(\"change\", function FileUploader_ng_container_0_Template_input_change_8_listener() { ɵngcc0.ɵɵrestoreView(_r25); const ctx_r24 = ɵngcc0.ɵɵnextContext(); return ɵngcc0.ɵɵresetView(ctx_r24.onFilesAdded()); });\n    ɵngcc0.ɵɵelementEnd();\n    ɵngcc0.ɵɵelementStart(10, \"div\", 9);\n    ɵngcc0.ɵɵtemplate(11, FileUploader_ng_container_0_ng_container_11_Template, 3, 2, \"ng-container\", 10);\n    ɵngcc0.ɵɵelementEnd()();\n    ɵngcc0.ɵɵelementContainerEnd();\n} if (rf & 2) {\n    const ctx_r0 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"for\", ctx_r0.fileUploaderId);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate(ctx_r0.title);\n    ɵngcc0.ɵɵadvance(2);\n    ɵngcc0.ɵɵtextInterpolate(ctx_r0.description);\n    ɵngcc0.ɵɵadvance(2);\n    ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r0.drop);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r0.drop);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"accept\", ctx_r0.accept)(\"id\", ctx_r0.fileUploaderId)(\"multiple\", ctx_r0.multiple)(\"disabled\", ctx_r0.disabled);\n    ɵngcc0.ɵɵadvance(3);\n    ɵngcc0.ɵɵproperty(\"ngForOf\", ctx_r0.files);\n} }\nfunction FileUploader_ng_template_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelement(0, \"div\", 18)(1, \"div\", 19)(2, \"button\", 20);\n} }\nfunction FileComponent_span_2__svg_svg_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵelement(0, \"svg\", 7);\n} }\nfunction FileComponent_span_2_Template(rf, ctx) { if (rf & 1) {\n    const _r5 = ɵngcc0.ɵɵgetCurrentView();\n    ɵngcc0.ɵɵelementStart(0, \"span\", 3);\n    ɵngcc0.ɵɵtemplate(1, FileComponent_span_2__svg_svg_1_Template, 1, 0, \"svg\", 4);\n    ɵngcc0.ɵɵelementStart(2, \"button\", 5);\n    ɵngcc0.ɵɵlistener(\"click\", function FileComponent_span_2_Template_button_click_2_listener() { ɵngcc0.ɵɵrestoreView(_r5); const ctx_r4 = ɵngcc0.ɵɵnextContext(); return ɵngcc0.ɵɵresetView(ctx_r4.remove.emit()); })(\"keyup.enter\", function FileComponent_span_2_Template_button_keyup_enter_2_listener() { ɵngcc0.ɵɵrestoreView(_r5); const ctx_r6 = ɵngcc0.ɵɵnextContext(); return ɵngcc0.ɵɵresetView(ctx_r6.remove.emit()); })(\"keyup.space\", function FileComponent_span_2_Template_button_keyup_space_2_listener() { ɵngcc0.ɵɵrestoreView(_r5); const ctx_r7 = ɵngcc0.ɵɵnextContext(); return ɵngcc0.ɵɵresetView(ctx_r7.remove.emit()); });\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵelement(3, \"svg\", 6);\n    ɵngcc0.ɵɵelementEnd()();\n} if (rf & 2) {\n    const ctx_r0 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r0.isInvalidText);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵattribute(\"aria-label\", ctx_r0.translations.REMOVE_BUTTON);\n} }\nfunction FileComponent_span_3_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"span\")(1, \"div\", 8);\n    ɵngcc0.ɵɵelement(2, \"ibm-loading\", 9);\n    ɵngcc0.ɵɵelementEnd()();\n} }\nfunction FileComponent_span_4_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"span\", 3);\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵelement(1, \"svg\", 10);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r2 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ariaLabel\", ctx_r2.translations.CHECKMARK)(\"isFocusable\", true);\n} }\nconst noop = () => { };\n/**\n * [See demo](../../?path=/story/components-file-uploader--basic)\n *\n * <example-url>../../iframe.html?id=components-file-uploader--basic</example-url>\n */\nclass FileUploader {\n    constructor(i18n) {\n        this.i18n = i18n;\n        /**\n         * Accessible text for the button that opens the upload window.\n         *\n         * Defaults to the `FILE_UPLOADER.OPEN` value from the i18n service\n         */\n        this.buttonText = this.i18n.get().FILE_UPLOADER.OPEN;\n        /**\n         * Type set for button\n         */\n        this.buttonType = \"primary\";\n        /**\n         * Specify the types of files that the input should be able to receive\n         */\n        this.accept = [];\n        /**\n         * Set to `false` to tell the component to only accept a single file on upload.\n         *\n         * Defaults to `true`. Accepts multiple files.\n         */\n        this.multiple = true;\n        /**\n         * Set to `true` for a loading file uploader.\n         */\n        this.skeleton = false;\n        /**\n         * Set to `true` to enable drag and drop.\n         */\n        this.drop = false;\n        /**\n         * Provides a unique id for the underlying <input> node\n         */\n        this.fileUploaderId = `file-uploader-${FileUploader.fileUploaderCount}`;\n        /**\n         * The list of files that have been submitted to be uploaded\n         */\n        this.files = new Set();\n        /**\n         * Set to `true` to disable upload button\n         */\n        this.disabled = false;\n        this.filesChange = new EventEmitter();\n        /**\n         * Controls the state of the drag and drop file container\n         */\n        this.dragOver = false;\n        this.onTouchedCallback = noop;\n        this.onChangeCallback = noop;\n        FileUploader.fileUploaderCount++;\n    }\n    /**\n     * Specifies the property to be used as the return value to `ngModel` and reactive forms.\n     * Updates `this.files`.\n     */\n    get value() {\n        return this.files;\n    }\n    set value(v) {\n        if (v !== this.files) {\n            this.files = v;\n            this.onChangeCallback(v);\n        }\n    }\n    onBlur() {\n        this.onTouchedCallback();\n    }\n    get fileList() {\n        return Array.from(this.fileInput.nativeElement.files);\n    }\n    /**\n     * Propagates the injected `value`.\n     */\n    writeValue(value) {\n        if (value !== this.value) {\n            this.files = value;\n        }\n    }\n    createFileItem(file) {\n        return {\n            uploaded: false,\n            state: \"edit\",\n            invalid: false,\n            invalidText: \"\",\n            file: file\n        };\n    }\n    onFilesAdded() {\n        const newFiles = new Set(this.files);\n        if (!this.multiple) {\n            newFiles.clear();\n        }\n        for (let file of this.fileList) {\n            const fileItem = this.createFileItem(file);\n            newFiles.add(fileItem);\n        }\n        this.value = newFiles;\n        this.filesChange.emit(newFiles);\n    }\n    onDragOver(event) {\n        event.stopPropagation();\n        event.preventDefault();\n        this.dragOver = true;\n    }\n    onDragLeave(event) {\n        event.stopPropagation();\n        event.preventDefault();\n        this.dragOver = false;\n    }\n    onDrop(event) {\n        event.stopPropagation();\n        event.preventDefault();\n        const transferredFiles = Array.from(event.dataTransfer.files);\n        const newFiles = new Set(this.files);\n        transferredFiles.filter(({ name, type }) => {\n            // Get the file extension and add a \".\" to the beginning.\n            const fileExtension = name.split(\".\").pop().replace(/^/, \".\");\n            // Check if the accept array contains the mime type or extension of the file.\n            return this.accept.includes(type) || this.accept.includes(fileExtension) || !this.accept.length;\n        }).forEach(file => {\n            if (!newFiles.size || this.multiple) {\n                const fileItem = this.createFileItem(file);\n                newFiles.add(fileItem);\n            }\n        });\n        this.value = newFiles;\n        this.filesChange.emit(newFiles);\n        this.dragOver = false;\n    }\n    removeFile(fileItem) {\n        // Deleting an item from this.files removes the <ibm-file> component,\n        // which triggers its ngOnDestroy(), which fires the (remove) event again.\n        // So, (remove) may double-fire and we need to handle it here.\n        if (this.files && this.files.has(fileItem)) {\n            const newFiles = new Set(this.files);\n            newFiles.delete(fileItem);\n            this.filesChange.emit(newFiles);\n            this.value = newFiles;\n        }\n        this.fileInput.nativeElement.value = \"\";\n    }\n    isTemplate(value) {\n        return value instanceof TemplateRef;\n    }\n    /**\n     * Registers the injected function to control the touch use of the `FileUploader`.\n     */\n    registerOnTouched(fn) {\n        this.onTouchedCallback = fn;\n    }\n    /**\n     * Sets a method in order to propagate changes back to the form.\n     */\n    registerOnChange(fn) {\n        this.onChangeCallback = fn;\n    }\n    /**\n     * `ControlValueAccessor` method to programmatically disable the checkbox.\n     *\n     * ex: `this.formGroup.get(\"myFileUploader\").disable();`\n     *\n     * @param isDisabled `true` to disable the file uploader\n     */\n    setDisabledState(isDisabled) {\n        this.disabled = isDisabled;\n    }\n}\nFileUploader.ɵfac = function FileUploader_Factory(t) { return new (t || FileUploader)(ɵngcc0.ɵɵdirectiveInject(ɵngcc1.I18n)); };\nFileUploader.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: FileUploader, selectors: [[\"ibm-file-uploader\"]], viewQuery: function FileUploader_Query(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵviewQuery(_c0, 5);\n    } if (rf & 2) {\n        let _t;\n        ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.fileInput = _t.first);\n    } }, inputs: { buttonText: \"buttonText\", buttonType: \"buttonType\", accept: \"accept\", multiple: \"multiple\", skeleton: \"skeleton\", drop: \"drop\", fileUploaderId: \"fileUploaderId\", files: \"files\", disabled: \"disabled\", title: \"title\", description: \"description\", size: \"size\", dropText: \"dropText\" }, outputs: { filesChange: \"filesChange\" }, features: [ɵngcc0.ɵɵProvidersFeature([\n            {\n                provide: NG_VALUE_ACCESSOR,\n                useExisting: FileUploader,\n                multi: true\n            }\n        ])], decls: 3, vars: 2, consts: [[4, \"ngIf\", \"ngIfElse\"], [\"skeletonTemplate\", \"\"], [1, \"bx--file--label\", 3, \"for\"], [\"role\", \"alert\", 1, \"bx--label-description\"], [1, \"bx--file\"], [\"class\", \"bx--file-browse-btn bx--file__drop-container\", \"role\", \"button\", \"tabindex\", \"0\", 3, \"ngClass\", \"click\", \"dragover\", \"dragleave\", \"drop\", \"keyup.enter\", \"keyup.space\", 4, \"ngIf\"], [\"type\", \"button\", 3, \"ibmButton\", \"size\", \"disabled\", \"click\", 4, \"ngIf\"], [\"type\", \"file\", \"tabindex\", \"-1\", 1, \"bx--file-input\", 3, \"accept\", \"id\", \"multiple\", \"disabled\", \"change\"], [\"fileInput\", \"\"], [1, \"bx--file-container\"], [4, \"ngFor\", \"ngForOf\"], [\"role\", \"button\", \"tabindex\", \"0\", 1, \"bx--file-browse-btn\", \"bx--file__drop-container\", 3, \"ngClass\", \"click\", \"dragover\", \"dragleave\", \"drop\", \"keyup.enter\", \"keyup.space\"], [4, \"ngIf\"], [3, \"ngTemplateOutlet\"], [\"type\", \"button\", 3, \"ibmButton\", \"size\", \"disabled\", \"click\"], [3, \"fileItem\", \"remove\"], [\"class\", \"bx--form-requirement\", \"role\", \"alert\", 4, \"ngIf\"], [\"role\", \"alert\", 1, \"bx--form-requirement\"], [1, \"bx--skeleton__text\", 2, \"width\", \"100px\"], [1, \"bx--skeleton__text\", 2, \"width\", \"225px\"], [\"ibmButton\", \"\", \"skeleton\", \"true\"]], template: function FileUploader_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵtemplate(0, FileUploader_ng_container_0_Template, 12, 10, \"ng-container\", 0);\n        ɵngcc0.ɵɵtemplate(1, FileUploader_ng_template_1_Template, 3, 0, \"ng-template\", null, 1, ɵngcc0.ɵɵtemplateRefExtractor);\n    } if (rf & 2) {\n        const _r1 = ɵngcc0.ɵɵreference(2);\n        ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.skeleton)(\"ngIfElse\", _r1);\n    } }, dependencies: function () { return [ɵngcc2.NgClass, ɵngcc2.NgForOf, ɵngcc2.NgIf, ɵngcc2.NgTemplateOutlet, ɵngcc3.Button, FileComponent]; }, encapsulation: 2 });\n/**\n * Counter used to create unique ids for file-uploader components\n */\nFileUploader.fileUploaderCount = 0;\n/** @nocollapse */\nFileUploader.ctorParameters = () => [\n    { type: I18n }\n];\nFileUploader.propDecorators = {\n    buttonText: [{ type: Input }],\n    buttonType: [{ type: Input }],\n    title: [{ type: Input }],\n    description: [{ type: Input }],\n    accept: [{ type: Input }],\n    multiple: [{ type: Input }],\n    skeleton: [{ type: Input }],\n    size: [{ type: Input }],\n    drop: [{ type: Input }],\n    dropText: [{ type: Input }],\n    fileUploaderId: [{ type: Input }],\n    fileInput: [{ type: ViewChild, args: [\"fileInput\", { static: false },] }],\n    files: [{ type: Input }],\n    disabled: [{ type: Input }],\n    filesChange: [{ type: Output }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(FileUploader, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-file-uploader\",\n                template: `\n\t\t<ng-container *ngIf=\"!skeleton; else skeletonTemplate\">\n\t\t\t<label [for]=\"fileUploaderId\" class=\"bx--file--label\">{{title}}</label>\n\t\t\t<p class=\"bx--label-description\" role=\"alert\">{{description}}</p>\n\t\t\t<div class=\"bx--file\">\n\t\t\t\t<div\n\t\t\t\t\t*ngIf=\"drop\"\n\t\t\t\t\tclass=\"bx--file-browse-btn bx--file__drop-container\"\n\t\t\t\t\t[ngClass]=\"{\n\t\t\t\t\t\t'bx--file-browse-btn--disabled': disabled,\n\t\t\t\t\t\t'bx--file__drop-container--drag-over': dragOver\n\t\t\t\t\t}\"\n\t\t\t\t\trole=\"button\"\n\t\t\t\t\ttabindex=\"0\"\n\t\t\t\t\t(click)=\"fileInput.click()\"\n\t\t\t\t\t[attr.for]=\"fileUploaderId\"\n\t\t\t\t\t(dragover)=\"onDragOver($event)\"\n\t\t\t\t\t(dragleave)=\"onDragLeave($event)\"\n\t\t\t\t\t(drop)=\"onDrop($event)\"\n\t\t\t\t\t(keyup.enter)=\"fileInput.click()\"\n\t\t\t\t\t(keyup.space)=\"fileInput.click()\">\n\t\t\t\t\t<ng-container *ngIf=\"!isTemplate(dropText)\">{{dropText}}</ng-container>\n\t\t\t\t\t<ng-template *ngIf=\"isTemplate(dropText)\" [ngTemplateOutlet]=\"dropText\"></ng-template>\n\t\t\t\t</div>\n\t\t\t\t<button\n\t\t\t\t\t*ngIf=\"!drop\"\n\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t[ibmButton]=\"buttonType\"\n\t\t\t\t\t(click)=\"fileInput.click()\"\n\t\t\t\t\t[attr.for]=\"fileUploaderId\"\n\t\t\t\t\t[size]=\"size\"\n\t\t\t\t\t[disabled]=\"disabled\">\n\t\t\t\t\t{{buttonText}}\n\t\t\t\t</button>\n\t\t\t\t<input\n\t\t\t\t\t#fileInput\n\t\t\t\t\ttype=\"file\"\n\t\t\t\t\tclass=\"bx--file-input\"\n\t\t\t\t\t[accept]=\"accept\"\n\t\t\t\t\t[id]=\"fileUploaderId\"\n\t\t\t\t\t[multiple]=\"multiple\"\n\t\t\t\t\ttabindex=\"-1\"\n\t\t\t\t\t(change)=\"onFilesAdded()\"\n\t\t\t\t\t[disabled]=\"disabled\"/>\n\t\t\t\t<div class=\"bx--file-container\">\n\t\t\t\t\t<ng-container *ngFor=\"let fileItem of files\">\n\t\t\t\t\t\t<ibm-file [fileItem]=\"fileItem\" (remove)=\"removeFile(fileItem)\"></ibm-file>\n\t\t\t\t\t\t<div *ngIf=\"fileItem.invalid\" class=\"bx--form-requirement\" role=\"alert\">\n\t\t\t\t\t\t\t{{fileItem.invalidText}}\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</ng-container>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</ng-container>\n\n\t\t<ng-template #skeletonTemplate>\n\t\t\t<div class=\"bx--skeleton__text\" style=\"width: 100px\"></div>\n\t\t\t<div class=\"bx--skeleton__text\" style=\"width: 225px\"></div>\n\t\t\t<button ibmButton skeleton=\"true\"></button>\n\t\t</ng-template>\n\t`,\n                providers: [\n                    {\n                        provide: NG_VALUE_ACCESSOR,\n                        useExisting: FileUploader,\n                        multi: true\n                    }\n                ]\n            }]\n    }], function () { return [{ type: ɵngcc1.I18n }]; }, { buttonText: [{\n            type: Input\n        }], buttonType: [{\n            type: Input\n        }], accept: [{\n            type: Input\n        }], multiple: [{\n            type: Input\n        }], skeleton: [{\n            type: Input\n        }], drop: [{\n            type: Input\n        }], fileUploaderId: [{\n            type: Input\n        }], files: [{\n            type: Input\n        }], disabled: [{\n            type: Input\n        }], filesChange: [{\n            type: Output\n        }], title: [{\n            type: Input\n        }], description: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }], dropText: [{\n            type: Input\n        }], fileInput: [{\n            type: ViewChild,\n            args: [\"fileInput\", { static: false }]\n        }] }); })();\n\nclass FileComponent {\n    constructor(i18n) {\n        this.i18n = i18n;\n        /**\n         * Accessible translations for the close and complete icons\n         */\n        this.translations = this.i18n.get().FILE_UPLOADER;\n        this.remove = new EventEmitter();\n        this.selectedFile = true;\n    }\n    get isInvalidText() {\n        return this.fileItem.invalidText;\n    }\n    ngOnDestroy() {\n        this.remove.emit();\n    }\n}\nFileComponent.ɵfac = function FileComponent_Factory(t) { return new (t || FileComponent)(ɵngcc0.ɵɵdirectiveInject(ɵngcc1.I18n)); };\nFileComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: FileComponent, selectors: [[\"ibm-file\"]], hostVars: 4, hostBindings: function FileComponent_HostBindings(rf, ctx) { if (rf & 2) {\n        ɵngcc0.ɵɵclassProp(\"bx--file__selected-file\", ctx.selectedFile)(\"bx--file__selected-file--invalid\", ctx.isInvalidText);\n    } }, inputs: { translations: \"translations\", fileItem: \"fileItem\" }, outputs: { remove: \"remove\" }, decls: 5, vars: 4, consts: [[1, \"bx--file-filename\"], [\"class\", \"bx--file__state-container\", 4, \"ngIf\"], [4, \"ngIf\"], [1, \"bx--file__state-container\"], [\"ibmIcon\", \"warning--filled\", \"class\", \"bx--file--invalid\", \"size\", \"16\", 4, \"ngIf\"], [\"type\", \"button\", \"tabindex\", \"0\", 1, \"bx--file-close\", 3, \"click\", \"keyup.enter\", \"keyup.space\"], [\"ibmIcon\", \"close\", \"size\", \"16\"], [\"ibmIcon\", \"warning--filled\", \"size\", \"16\", 1, \"bx--file--invalid\"], [1, \"bx--inline-loading__animation\"], [\"size\", \"sm\"], [\"ibmIcon\", \"checkmark--filled\", \"size\", \"16\", 1, \"bx--file-complete\", 3, \"ariaLabel\", \"isFocusable\"]], template: function FileComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵelementStart(0, \"p\", 0);\n        ɵngcc0.ɵɵtext(1);\n        ɵngcc0.ɵɵelementEnd();\n        ɵngcc0.ɵɵtemplate(2, FileComponent_span_2_Template, 4, 2, \"span\", 1);\n        ɵngcc0.ɵɵtemplate(3, FileComponent_span_3_Template, 3, 0, \"span\", 2);\n        ɵngcc0.ɵɵtemplate(4, FileComponent_span_4_Template, 2, 2, \"span\", 1);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵtextInterpolate(ctx.fileItem.file.name);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.fileItem.state === \"edit\");\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.fileItem.state === \"upload\");\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.fileItem.state === \"complete\");\n    } }, dependencies: [ɵngcc2.NgIf, ɵngcc4.Loading, ɵngcc5.IconDirective], encapsulation: 2 });\n/** @nocollapse */\nFileComponent.ctorParameters = () => [\n    { type: I18n }\n];\nFileComponent.propDecorators = {\n    translations: [{ type: Input }],\n    fileItem: [{ type: Input }],\n    remove: [{ type: Output }],\n    selectedFile: [{ type: HostBinding, args: [\"class.bx--file__selected-file\",] }],\n    isInvalidText: [{ type: HostBinding, args: [\"class.bx--file__selected-file--invalid\",] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(FileComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-file\",\n                template: `\n\t\t<p class=\"bx--file-filename\">{{fileItem.file.name}}</p>\n\t\t<span\n\t\t\t*ngIf=\"fileItem.state === 'edit'\"\n\t\t\tclass=\"bx--file__state-container\">\n\t\t\t<svg\n\t\t\t\t*ngIf=\"isInvalidText\"\n\t\t\t\tibmIcon=\"warning--filled\"\n\t\t\t\tclass=\"bx--file--invalid\"\n\t\t\t\tsize=\"16\">\n\t\t\t</svg>\n\t\t\t<button\n\t\t\t\ttype=\"button\"\n\t\t\t\tclass=\"bx--file-close\"\n\t\t\t\t[attr.aria-label]=\"translations.REMOVE_BUTTON\"\n\t\t\t\ttabindex=\"0\"\n\t\t\t\t(click)=\"remove.emit()\"\n\t\t\t\t(keyup.enter)=\"remove.emit()\"\n\t\t\t\t(keyup.space)=\"remove.emit()\">\n\t\t\t\t<svg ibmIcon=\"close\" size=\"16\"></svg>\n\t\t\t</button>\n\t\t</span>\n\t\t<span *ngIf=\"fileItem.state === 'upload'\">\n\t\t\t<div class=\"bx--inline-loading__animation\">\n\t\t\t\t<ibm-loading size=\"sm\"></ibm-loading>\n\t\t\t</div>\n\t\t</span>\n\t\t<span *ngIf=\"fileItem.state === 'complete'\" class=\"bx--file__state-container\">\n\t\t\t<svg\n\t\t\t\tibmIcon=\"checkmark--filled\"\n\t\t\t\tsize=\"16\"\n\t\t\t\tclass=\"bx--file-complete\"\n\t\t\t\t[ariaLabel]=\"translations.CHECKMARK\"\n\t\t\t\t[isFocusable]=\"true\">\n\t\t\t</svg>\n\t\t</span>\n\t`\n            }]\n    }], function () { return [{ type: ɵngcc1.I18n }]; }, { translations: [{\n            type: Input\n        }], remove: [{\n            type: Output\n        }], selectedFile: [{\n            type: HostBinding,\n            args: [\"class.bx--file__selected-file\"]\n        }], isInvalidText: [{\n            type: HostBinding,\n            args: [\"class.bx--file__selected-file--invalid\"]\n        }], fileItem: [{\n            type: Input\n        }] }); })();\n\nclass FileUploaderModule {\n}\nFileUploaderModule.ɵfac = function FileUploaderModule_Factory(t) { return new (t || FileUploaderModule)(); };\nFileUploaderModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: FileUploaderModule });\nFileUploaderModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({ imports: [CommonModule,\n        ButtonModule,\n        LoadingModule,\n        IconModule] });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(FileUploaderModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [FileUploader, FileComponent],\n                exports: [FileUploader, FileComponent],\n                imports: [\n                    CommonModule,\n                    ButtonModule,\n                    LoadingModule,\n                    IconModule\n                ]\n            }]\n    }], null, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(FileUploaderModule, { declarations: function () { return [FileUploader, FileComponent]; }, imports: function () { return [CommonModule,\n        ButtonModule,\n        LoadingModule,\n        IconModule]; }, exports: function () { return [FileUploader, FileComponent]; } }); })();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { FileUploader, FileComponent, FileUploaderModule };\n\n","/**\n *\n * carbon-angular v0.0.0 | carbon-components-angular-grid.js\n *\n * Copyright 2014, 2023 IBM\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\nimport { CommonModule } from '@angular/common';\nimport { Directive, HostBinding, Input, NgModule } from '@angular/core';\n\n/**\n * [See demo](../../?path=/story/components-grid--basic)\n *\n * <example-url>../../iframe.html?id=components-grid--basic</example-url>\n */\nimport * as ɵngcc0 from '@angular/core';\nclass GridDirective {\n    constructor() {\n        this.baseClass = true;\n        this.condensed = false;\n    }\n}\nGridDirective.ɵfac = function GridDirective_Factory(t) { return new (t || GridDirective)(); };\nGridDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: GridDirective, selectors: [[\"\", \"ibmGrid\", \"\"]], hostVars: 4, hostBindings: function GridDirective_HostBindings(rf, ctx) { if (rf & 2) {\n        ɵngcc0.ɵɵclassProp(\"bx--grid\", ctx.baseClass)(\"bx--grid--condensed\", ctx.condensed);\n    } }, inputs: { condensed: \"condensed\" } });\nGridDirective.propDecorators = {\n    baseClass: [{ type: HostBinding, args: [\"class.bx--grid\",] }],\n    condensed: [{ type: HostBinding, args: [\"class.bx--grid--condensed\",] }, { type: Input }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(GridDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmGrid]\"\n            }]\n    }], function () { return []; }, { baseClass: [{\n            type: HostBinding,\n            args: [\"class.bx--grid\"]\n        }], condensed: [{\n            type: HostBinding,\n            args: [\"class.bx--grid--condensed\"]\n        }, {\n            type: Input\n        }] }); })();\nclass RowDirective {\n    constructor() {\n        this.gutter = true;\n        this.leftGutter = true;\n        this.rightGutter = true;\n        this.baseClass = true;\n        this.condensed = false;\n    }\n    get showGutter() {\n        return !this.gutter;\n    }\n    get showLeftGutter() {\n        return !this.leftGutter;\n    }\n    get showRightGutter() {\n        return !this.rightGutter;\n    }\n}\nRowDirective.ɵfac = function RowDirective_Factory(t) { return new (t || RowDirective)(); };\nRowDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: RowDirective, selectors: [[\"\", \"ibmRow\", \"\"]], hostVars: 10, hostBindings: function RowDirective_HostBindings(rf, ctx) { if (rf & 2) {\n        ɵngcc0.ɵɵclassProp(\"bx--row\", ctx.baseClass)(\"bx--row--condensed\", ctx.condensed)(\"bx--no-gutter\", ctx.showGutter)(\"bx--no-gutter--left\", ctx.showLeftGutter)(\"bx--no-gutter--right\", ctx.showRightGutter);\n    } }, inputs: { gutter: \"gutter\", leftGutter: \"leftGutter\", rightGutter: \"rightGutter\", condensed: \"condensed\" } });\nRowDirective.propDecorators = {\n    gutter: [{ type: Input }],\n    leftGutter: [{ type: Input }],\n    rightGutter: [{ type: Input }],\n    baseClass: [{ type: HostBinding, args: [\"class.bx--row\",] }],\n    condensed: [{ type: HostBinding, args: [\"class.bx--row--condensed\",] }, { type: Input }],\n    showGutter: [{ type: HostBinding, args: [\"class.bx--no-gutter\",] }],\n    showLeftGutter: [{ type: HostBinding, args: [\"class.bx--no-gutter--left\",] }],\n    showRightGutter: [{ type: HostBinding, args: [\"class.bx--no-gutter--right\",] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(RowDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmRow]\"\n            }]\n    }], function () { return []; }, { gutter: [{\n            type: Input\n        }], leftGutter: [{\n            type: Input\n        }], rightGutter: [{\n            type: Input\n        }], baseClass: [{\n            type: HostBinding,\n            args: [\"class.bx--row\"]\n        }], condensed: [{\n            type: HostBinding,\n            args: [\"class.bx--row--condensed\"]\n        }, {\n            type: Input\n        }], showGutter: [{\n            type: HostBinding,\n            args: [\"class.bx--no-gutter\"]\n        }], showLeftGutter: [{\n            type: HostBinding,\n            args: [\"class.bx--no-gutter--left\"]\n        }], showRightGutter: [{\n            type: HostBinding,\n            args: [\"class.bx--no-gutter--right\"]\n        }] }); })();\nclass ColumnDirective {\n    constructor() {\n        this.class = \"\";\n        this.columnNumbers = {};\n        this.offsets = {};\n        // initial value if no inputs are provided (if no inputs ngOnChanges won't be executed)\n        this._columnClasses = [\"bx--col\"];\n    }\n    get columnClasses() {\n        return this._columnClasses.join(\" \");\n    }\n    set columnClasses(classes) {\n        this._columnClasses = classes.split(\" \");\n    }\n    ngOnChanges() {\n        try {\n            // Reset classes so we don't apply classes for the same breakpoint multiple times\n            this._columnClasses = [];\n            const columnKeys = Object.keys(this.columnNumbers);\n            if (columnKeys.length <= 0) {\n                this._columnClasses.push(\"bx--col\");\n            }\n            columnKeys.forEach(key => {\n                if (this.columnNumbers[key] === \"nobreak\") {\n                    this._columnClasses.push(`bx--col-${key}`);\n                }\n                else {\n                    this._columnClasses.push(`bx--col-${key}-${this.columnNumbers[key]}`);\n                }\n            });\n            Object.keys(this.offsets).forEach(key => {\n                this._columnClasses.push(`bx--offset-${key}-${this.offsets[key]}`);\n            });\n        }\n        catch (err) {\n            console.error(`Malformed \\`offsets\\` or \\`columnNumbers\\`: ${err}`);\n        }\n        if (this.class) {\n            this._columnClasses = [...new Set([...this._columnClasses, ...this.class.split(\" \")])];\n        }\n    }\n}\nColumnDirective.ɵfac = function ColumnDirective_Factory(t) { return new (t || ColumnDirective)(); };\nColumnDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: ColumnDirective, selectors: [[\"\", \"ibmCol\", \"\"]], hostVars: 2, hostBindings: function ColumnDirective_HostBindings(rf, ctx) { if (rf & 2) {\n        ɵngcc0.ɵɵclassMap(ctx.columnClasses);\n    } }, inputs: { class: \"class\", columnNumbers: \"columnNumbers\", offsets: \"offsets\" }, features: [ɵngcc0.ɵɵNgOnChangesFeature] });\nColumnDirective.propDecorators = {\n    class: [{ type: Input }],\n    columnNumbers: [{ type: Input }],\n    offsets: [{ type: Input }],\n    columnClasses: [{ type: HostBinding, args: [\"class\",] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ColumnDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmCol]\"\n            }]\n    }], function () { return []; }, { class: [{\n            type: Input\n        }], columnNumbers: [{\n            type: Input\n        }], offsets: [{\n            type: Input\n        }], columnClasses: [{\n            type: HostBinding,\n            args: [\"class\"]\n        }] }); })();\n\nclass GridModule {\n}\nGridModule.ɵfac = function GridModule_Factory(t) { return new (t || GridModule)(); };\nGridModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: GridModule });\nGridModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({ imports: [CommonModule] });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(GridModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    ColumnDirective,\n                    GridDirective,\n                    RowDirective\n                ],\n                exports: [\n                    ColumnDirective,\n                    GridDirective,\n                    RowDirective\n                ],\n                imports: [CommonModule]\n            }]\n    }], null, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(GridModule, { declarations: function () { return [ColumnDirective, GridDirective, RowDirective]; }, imports: function () { return [CommonModule]; }, exports: function () { return [ColumnDirective, GridDirective, RowDirective]; } }); })();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { GridModule, GridDirective, RowDirective, ColumnDirective };\n\n","/**\n *\n * carbon-angular v0.0.0 | carbon-components-angular-i18n.js\n *\n * Copyright 2014, 2023 IBM\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\nimport { BehaviorSubject, isObservable, iif } from 'rxjs';\nimport { map } from 'rxjs/operators';\nimport { merge } from 'carbon-components-angular/utils';\nimport { Injectable, Pipe, NgModule, SkipSelf, Optional } from '@angular/core';\n\nimport * as ɵngcc0 from '@angular/core';\nvar EN = {\n    \"BANNER\": {\n        \"CLOSE_BUTTON\": \"Close alert banner\"\n    },\n    \"BREADCRUMB\": {\n        \"LABEL\": \"Breadcrumb\"\n    },\n    \"CALENDAR\": {\n        \"MONTHS\": {\n            \"JANUARY\": \"January\",\n            \"FEBRUARY\": \"February\",\n            \"MARCH\": \"March\",\n            \"APRIL\": \"April\",\n            \"MAY\": \"May\",\n            \"JUNE\": \"June\",\n            \"JULY\": \"July\",\n            \"AUGUST\": \"August\",\n            \"SEPTEMBER\": \"September\",\n            \"OCTOBER\": \"October\",\n            \"NOVEMBER\": \"November\",\n            \"DECEMBER\": \"December\"\n        },\n        \"SHORTWEEKDAYS\": {\n            \"SUNDAY\": \"Sun\",\n            \"MONDAY\": \"Mon\",\n            \"TUESDAY\": \"Tue\",\n            \"WEDNESDAY\": \"Wed\",\n            \"THURSDAY\": \"Thu\",\n            \"FRIDAY\": \"Fri\",\n            \"SATURDAY\": \"Sat\"\n        },\n        \"QUARTERS\": [\n            {\n                \"name\": \"Q1\",\n                \"months\": \"January-March\"\n            },\n            {\n                \"name\": \"Q2\",\n                \"months\": \"April-June\"\n            },\n            {\n                \"name\": \"Q3\",\n                \"months\": \"July-September\"\n            },\n            {\n                \"name\": \"Q4\",\n                \"months\": \"October-December\"\n            }\n        ]\n    },\n    \"CODE_SNIPPET\": {\n        \"CODE_SNIPPET_TEXT\": \"Code Snippet Text\",\n        \"SHOW_MORE\": \"Show more\",\n        \"SHOW_LESS\": \"Show less\",\n        \"SHOW_MORE_ICON\": \"Show more icon\",\n        \"COPY_CODE\": \"Copy code\",\n        \"COPIED\": \"Copied!\"\n    },\n    \"COMBOBOX\": {\n        \"PLACEHOLDER\": \"Filter...\",\n        \"CLEAR_SELECTIONS\": \"Clear all selected items\",\n        \"CLEAR_SELECTED\": \"Clear selected item\",\n        \"A11Y\": {\n            \"OPEN_MENU\": \"open menu\",\n            \"CLOSE_MENU\": \"close menu\",\n            \"CLEAR_SELECTIONS\": \"Clear all selected items\",\n            \"CLEAR_SELECTED\": \"Clear Selection\"\n        }\n    },\n    \"DIALOG\": {\n        \"POPOVER\": {\n            \"CLOSE\": \"Close popover\"\n        }\n    },\n    \"DROPDOWN\": {\n        \"OPEN\": \"Open menu\",\n        \"SELECTED\": \"selected\",\n        \"CLEAR\": \"Clear all selected items\",\n        \"FILTER\": {\n            \"SELECTED_ONLY\": \"Show selected only\",\n            \"SEARCH\": \"Search\",\n            \"NO_RESULTS\": \"No search results\",\n            \"RESET_SEARCH\": \"Reset search\"\n        }\n    },\n    \"DROPDOWN_LIST\": {\n        \"LABEL\": \"Listbox\"\n    },\n    \"FILE_UPLOADER\": {\n        \"CHECKMARK\": \"Checkmark\",\n        \"CHECKMARK_TITLE\": \"File uploaded!\",\n        \"OPEN\": \"Add file\",\n        \"REMOVE_BUTTON\": \"Close button\",\n        \"REMOVE_TITLE\": \"Delete File\"\n    },\n    \"LOADING\": {\n        \"TITLE\": \"Loading\"\n    },\n    \"MODAL\": {\n        \"CLOSE\": \"Close modal\"\n    },\n    \"NOTIFICATION\": {\n        \"CLOSE_BUTTON\": \"Close alert notification\"\n    },\n    \"NUMBER\": {\n        \"INCREMENT\": \"increment value\",\n        \"DECREMENT\": \"decrement value\"\n    },\n    \"OVERFLOW_MENU\": {\n        \"OVERFLOW\": \"Overflow\"\n    },\n    \"SEARCH\": {\n        \"LABEL\": \"Search\",\n        \"PLACEHOLDER\": \"Search\",\n        \"CLEAR_BUTTON\": \"Clear search input\",\n        \"TOOLBAR_SEARCH\": \"Toolbar search\"\n    },\n    \"PAGINATION\": {\n        \"ITEMS_PER_PAGE\": \"Items per page:\",\n        \"OPEN_LIST_OF_OPTIONS\": \"Open list of options\",\n        \"BACKWARD\": \"Backward\",\n        \"FORWARD\": \"Forward\",\n        \"TOTAL_ITEMS_UNKNOWN\": \"{{start}}-{{end}} items\",\n        \"TOTAL_ITEMS\": \"{{start}}-{{end}} of {{total}} items\",\n        \"TOTAL_ITEM\": \"{{start}}-{{end}} of {{total}} item\",\n        \"PAGE\": \"page\",\n        \"OF_LAST_PAGES\": \"of {{last}} pages\",\n        \"OF_LAST_PAGE\": \"of {{last}} page\",\n        \"NEXT\": \"Next\",\n        \"PREVIOUS\": \"Previous\",\n        \"SELECT_ARIA\": \"Select page number\"\n    },\n    \"TABLE\": {\n        \"GO_TO_PAGE\": \"Go to page\",\n        \"PREVIOUS_PAGE\": \"Previous page\",\n        \"NEXT_PAGE\": \"Next page\",\n        \"PREVIOUS_3\": \"Scroll to previous 3 pages\",\n        \"NEXT_3\": \"Scroll to next 3 pages\",\n        \"FILTER\": \"Filter\",\n        \"END_OF_DATA\": \"You've reached the end of your content\",\n        \"SCROLL_TOP\": \"Scroll to top\",\n        \"CHECKBOX_HEADER\": \"Select all rows\",\n        \"CHECKBOX_ROW\": \"Select {{value}}\",\n        \"EXPAND_BUTTON\": \"Expand row\",\n        \"SORT_DESCENDING\": \"Sort rows by this header in descending order\",\n        \"SORT_ASCENDING\": \"Sort rows by this header in ascending order\",\n        \"ROW\": \"row\"\n    },\n    \"TABLE_TOOLBAR\": {\n        \"ACTION_BAR\": \"Table action bar\",\n        \"BATCH_TEXT\": \"\",\n        \"BATCH_TEXT_SINGLE\": \"1 item selected\",\n        \"BATCH_TEXT_MULTIPLE\": \"{{count}} items selected\",\n        \"CANCEL\": \"Cancel\"\n    },\n    \"TABS\": {\n        \"BUTTON_ARIA_LEFT\": \"Go to the previous tab\",\n        \"BUTTON_ARIA_RIGHT\": \"Go to the next tab\"\n    },\n    \"TILES\": {\n        \"TILE\": \"tile\",\n        \"EXPAND\": \"Expand\",\n        \"COLLAPSE\": \"Collapse\"\n    },\n    \"TOGGLE\": {\n        \"OFF\": \"Off\",\n        \"ON\": \"On\"\n    },\n    \"UI_SHELL\": {\n        \"SKIP_TO\": \"Skip to content\",\n        \"HEADER\": {\n            \"OPEN_MENU\": \"Open menu\",\n            \"CLOSE_MENU\": \"Close menu\"\n        },\n        \"SIDE_NAV\": {\n            \"LABEL\": \"Side navigation\",\n            \"SWITCHER\": \"Switcher\",\n            \"TOGGLE_OPEN\": \"Open\",\n            \"TOGGLE_CLOSE\": \"Close\"\n        }\n    }\n};\n\n/**\n * Takes the `Observable` returned from `i18n.get` and an object of variables to replace.\n *\n * The keys specify the variable name in the string.\n *\n * Example:\n * ```typescript\n * service.set({ \"TEST\": \"{{foo}} {{bar}}\" });\n *\n * service.replace(service.get(\"TEST\"), { foo: \"test\", bar: \"asdf\" })\n * ```\n *\n * Produces: `\"test asdf\"`\n *\n * @param subject the translation to replace variables on\n * @param variables object of variables to replace\n */\nconst replace = (subject, variables) => subject.pipe(map(str => {\n    const keys = Object.keys(variables);\n    for (const key of keys) {\n        const value = variables[key];\n        str = str.replace(new RegExp(`{{\\\\s*${key}\\\\s*}}`, \"g\"), value);\n    }\n    return str;\n}));\n/**\n * Represents an \"overridable\" translation value.\n *\n * Largely an internal usecase. There are situations where we want an `Observable` that\n * can emit events from a centralized source **OR** an `Observable` that will emit events\n * from a component local source. The key example being on/off text in a `Toggle` - In some cases\n * we want the `Toggle` to use `I18n`s global translations, but in others we'd prefer to use a local\n * override. We don't ever need to return to a non-overridden state, but we do need the ability to\n * switch _to_ an overridden sate.\n */\nclass Overridable {\n    constructor(path, i18n) {\n        this.path = path;\n        this.i18n = i18n;\n        /**\n         * Our base non-overridden translation.\n         */\n        this.baseTranslation = this.i18n.get(this.path);\n        /**\n         * A boolean to flip between overridden and non-overridden states.\n         */\n        this.isOverridden = false;\n        /**\n         * ensure `$override` is initialized with the correct default value\n         * in some cases `_value` can get changed for an `Observable` before `$override` is created\n         */\n        const value = this.i18n.getValueFromPath(this.path);\n        this.$override = new BehaviorSubject(value);\n        this._value = value;\n    }\n    /**\n     * The raw value of the translation. Defaults to the string value, but will return the value passed to `override`\n     *\n     * @readonly\n     */\n    get value() {\n        return this._value;\n    }\n    set value(v) {\n        this.override(v);\n    }\n    /**\n     * The translation subject. Returns either a stream of overridden values, or our base translation values.\n     *\n     * @readonly\n     */\n    get subject() {\n        /**\n         * since inputs are bound on template instantiation (and thusly will always have _some_ value)\n         * We can use a simple boolean and the `iif` function to determine which subject to return on subscription\n         */\n        return iif(() => this.isOverridden, this.$override, this.baseTranslation);\n    }\n    /**\n     * Takes a string or an `Observable` that emits strings.\n     * Overrides the value provided by the `I18n` service.\n     */\n    override(value) {\n        this.isOverridden = true;\n        // To ensure that there are not multiple subscriptions created for the same observable, we\n        // unsubscribe if a subscription already exists for an observable before creating a new one.\n        if (this.subscription) {\n            this.subscription.unsubscribe();\n            this.subscription = null;\n        }\n        this._value = value;\n        if (isObservable(value)) {\n            this.subscription = value.subscribe(v => {\n                this.$override.next(v);\n            });\n        }\n        else {\n            this.$override.next(value);\n        }\n    }\n}\n/**\n * The I18n service is a minimal internal singleton service used to supply our components with translated strings.\n *\n * All the components that support I18n also support directly passed strings.\n * Usage of I18n is optional, and it is not recommended for application use (libraries like ngx-translate\n * are a better choice)\n *\n */\nclass I18n {\n    constructor() {\n        this.translationStrings = EN;\n        this.translations = new Map();\n        this.locale = new BehaviorSubject(\"en\");\n    }\n    /**\n     * Sets the locale and optionally the translation strings. Locale is used by components that\n     * are already locale aware (datepicker for example) while the translation strings are used\n     * for components that are not.\n     *\n     * Locales set here will override locales/languages set in components\n     * @param language an ISO 639-1 language code - https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes\n     * @param strings an object of strings, optional\n     */\n    setLocale(language, strings) {\n        this.locale.next(language);\n        if (strings) {\n            this.set(strings);\n        }\n    }\n    /**\n     * Returns the current locale\n     */\n    getLocale() {\n        return this.locale.value;\n    }\n    /**\n     * Returns an observable that resolves to the current locale, and will update when changed\n     */\n    getLocaleObservable() {\n        return this.locale.asObservable();\n    }\n    /**\n     * Set/update the translations from an object. Also notifies all participating components of the update.\n     *\n     * @param strings an object of strings, should follow the same format as src/i18n/en.json\n     */\n    set(strings) {\n        this.translationStrings = merge({}, EN, strings);\n        // iterate over all our tracked translations and update each observable\n        const translations = Array.from(this.translations);\n        for (const [path, subject] of translations) {\n            subject.next(this.getValueFromPath(path));\n        }\n    }\n    /**\n     * When a path is specified returns an observable that will resolve to the translation string value.\n     *\n     * Returns the full translations object if path is not specified.\n     *\n     * @param path optional, looks like `\"NOTIFICATION.CLOSE_BUTTON\"`\n     */\n    get(path) {\n        if (!path) {\n            return this.translationStrings;\n        }\n        return this.getSubject(path);\n    }\n    /**\n     * Returns all descendents of some path fragment as an object.\n     *\n     * @param partialPath a path fragment, for example `\"NOTIFICATION\"`\n     */\n    getMultiple(partialPath) {\n        const values = this.getValueFromPath(partialPath);\n        const subjects = {};\n        for (const key of Object.keys(values)) {\n            if (values[key] === Object(values[key])) {\n                subjects[key] = this.getMultiple(`${partialPath}.${key}`);\n            }\n            else {\n                subjects[key] = this.getSubject(`${partialPath}.${key}`);\n            }\n        }\n        return subjects;\n    }\n    /**\n     * Returns an instance of `Overridable` that can be used to optionally override the value provided by `I18n`\n     * @param path looks like `\"NOTIFICATION.CLOSE_BUTTON\"`\n     */\n    getOverridable(path) {\n        return new Overridable(path, this);\n    }\n    /**\n     * Takes the `Observable` returned from `i18n.get` and an object of variables to replace.\n     *\n     * The keys specify the variable name in the string.\n     *\n     * Example:\n     * ```\n     * service.set({ \"TEST\": \"{{foo}} {{bar}}\" });\n     *\n     * service.replace(service.get(\"TEST\"), { foo: \"test\", bar: \"asdf\" })\n     * ```\n     *\n     * Produces: `\"test asdf\"`\n     *\n     * @param subject the translation to replace variables on\n     * @param variables object of variables to replace\n     */\n    replace(subject, variables) {\n        return replace(subject, variables);\n    }\n    /**\n     * Trys to resolve a value from the provided path.\n     *\n     * @param path looks like `\"NOTIFICATION.CLOSE_BUTTON\"`\n     */\n    getValueFromPath(path) {\n        let value = this.translationStrings;\n        for (const segment of path.split(\".\")) {\n            if (value[segment] !== undefined && value[segment] !== null) {\n                value = value[segment];\n            }\n            else {\n                throw new Error(`no key ${segment} at ${path}`);\n            }\n        }\n        return value;\n    }\n    /**\n     * Helper method that returns an observable from the internal cache based on the path\n     *\n     * @param path looks like `\"NOTIFICATION.CLOSE_BUTTON\"`\n     */\n    getSubject(path) {\n        try {\n            // we run this here to validate the path exists before adding it to the translation map\n            const value = this.getValueFromPath(path);\n            if (this.translations.has(path)) {\n                return this.translations.get(path);\n            }\n            const translation = new BehaviorSubject(value);\n            this.translations.set(path, translation);\n            return translation;\n        }\n        catch (error) {\n            console.error(error);\n        }\n    }\n}\nI18n.ɵfac = function I18n_Factory(t) { return new (t || I18n)(); };\nI18n.ɵprov = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjectable({ token: I18n, factory: I18n.ɵfac });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(I18n, [{\n        type: Injectable\n    }], function () { return []; }, null); })();\n\nclass ReplacePipe {\n    transform(value, variables) {\n        return replace(value, variables);\n    }\n}\nReplacePipe.ɵfac = function ReplacePipe_Factory(t) { return new (t || ReplacePipe)(); };\nReplacePipe.ɵpipe = /*@__PURE__*/ ɵngcc0.ɵɵdefinePipe({ name: \"i18nReplace\", type: ReplacePipe, pure: true });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ReplacePipe, [{\n        type: Pipe,\n        args: [{\n                name: \"i18nReplace\"\n            }]\n    }], null, null); })();\n\n// either provides a new instance of I18n, or returns the parent\nfunction I18N_SERVICE_PROVIDER_FACTORY(parentService) {\n    return parentService || new I18n();\n}\n// I18n should provide a single instance of itself to ensure that translations are consistent through the app\nconst I18N_SERVICE_PROVIDER = {\n    provide: I18n,\n    deps: [[new Optional(), new SkipSelf(), I18n]],\n    useFactory: I18N_SERVICE_PROVIDER_FACTORY\n};\nclass I18nModule {\n}\nI18nModule.ɵfac = function I18nModule_Factory(t) { return new (t || I18nModule)(); };\nI18nModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: I18nModule });\nI18nModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({ providers: [\n        I18n,\n        I18N_SERVICE_PROVIDER\n    ] });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(I18nModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [ReplacePipe],\n                exports: [ReplacePipe],\n                providers: [\n                    I18n,\n                    I18N_SERVICE_PROVIDER\n                ]\n            }]\n    }], null, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(I18nModule, { declarations: [ReplacePipe], exports: [ReplacePipe] }); })();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { I18n, replace, Overridable, ReplacePipe, I18N_SERVICE_PROVIDER_FACTORY, I18N_SERVICE_PROVIDER, I18nModule };\n\n","function _defineProperty(obj, key, value) {\n  if (key in obj) {\n    Object.defineProperty(obj, key, {\n      value: value,\n      enumerable: true,\n      configurable: true,\n      writable: true\n    });\n  } else {\n    obj[key] = value;\n  }\n\n  return obj;\n}\n\nfunction ownKeys(object, enumerableOnly) {\n  var keys = Object.keys(object);\n\n  if (Object.getOwnPropertySymbols) {\n    var symbols = Object.getOwnPropertySymbols(object);\n    if (enumerableOnly) symbols = symbols.filter(function (sym) {\n      return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n    });\n    keys.push.apply(keys, symbols);\n  }\n\n  return keys;\n}\n\nfunction _objectSpread2(target) {\n  for (var i = 1; i < arguments.length; i++) {\n    var source = arguments[i] != null ? arguments[i] : {};\n\n    if (i % 2) {\n      ownKeys(Object(source), true).forEach(function (key) {\n        _defineProperty(target, key, source[key]);\n      });\n    } else if (Object.getOwnPropertyDescriptors) {\n      Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));\n    } else {\n      ownKeys(Object(source)).forEach(function (key) {\n        Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n      });\n    }\n  }\n\n  return target;\n}\n\nfunction _objectWithoutPropertiesLoose(source, excluded) {\n  if (source == null) return {};\n  var target = {};\n  var sourceKeys = Object.keys(source);\n  var key, i;\n\n  for (i = 0; i < sourceKeys.length; i++) {\n    key = sourceKeys[i];\n    if (excluded.indexOf(key) >= 0) continue;\n    target[key] = source[key];\n  }\n\n  return target;\n}\n\nfunction _objectWithoutProperties(source, excluded) {\n  if (source == null) return {};\n\n  var target = _objectWithoutPropertiesLoose(source, excluded);\n\n  var key, i;\n\n  if (Object.getOwnPropertySymbols) {\n    var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n\n    for (i = 0; i < sourceSymbolKeys.length; i++) {\n      key = sourceSymbolKeys[i];\n      if (excluded.indexOf(key) >= 0) continue;\n      if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n      target[key] = source[key];\n    }\n  }\n\n  return target;\n}\n\n/**\n * Copyright IBM Corp. 2018, 2018\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\nvar defaultAttributes = {\n  // Reference:\n  // https://github.com/IBM/carbon-components-react/issues/1392\n  // https://github.com/PolymerElements/iron-iconset-svg/pull/47\n  // `focusable` is a string attribute which is why we do not use a boolean here\n  focusable: 'false',\n  preserveAspectRatio: 'xMidYMid meet'\n};\n/**\n * Get supplementary HTML attributes for a given <svg> element based on existing\n * attributes.\n */\n\nfunction getAttributes() {\n  var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n      width = _ref.width,\n      height = _ref.height,\n      _ref$viewBox = _ref.viewBox,\n      viewBox = _ref$viewBox === void 0 ? \"0 0 \".concat(width, \" \").concat(height) : _ref$viewBox,\n      attributes = _objectWithoutProperties(_ref, [\"width\", \"height\", \"viewBox\"]);\n\n  var tabindex = attributes.tabindex,\n      rest = _objectWithoutProperties(attributes, [\"tabindex\"]);\n\n  var iconAttributes = _objectSpread2(_objectSpread2(_objectSpread2({}, defaultAttributes), rest), {}, {\n    width: width,\n    height: height,\n    viewBox: viewBox\n  }); // TODO: attributes.title assumes that the consumer will implement <title> and\n  // correctly set `aria-labelledby`.\n\n\n  if (iconAttributes['aria-label'] || iconAttributes['aria-labelledby'] || iconAttributes.title) {\n    iconAttributes.role = 'img'; // Reference:\n    // https://allyjs.io/tutorials/focusing-in-svg.html\n\n    if (tabindex !== undefined && tabindex !== null) {\n      iconAttributes.focusable = 'true';\n      iconAttributes.tabindex = tabindex;\n    }\n  } else {\n    iconAttributes['aria-hidden'] = true;\n  }\n\n  return iconAttributes;\n}\n\n/**\n * Copyright IBM Corp. 2018, 2018\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n/**\n * Convert an icon descriptor to a String\n */\n\nfunction toString(descriptor) {\n  var _descriptor$elem = descriptor.elem,\n      elem = _descriptor$elem === void 0 ? 'svg' : _descriptor$elem,\n      _descriptor$attrs = descriptor.attrs,\n      attrs = _descriptor$attrs === void 0 ? {} : _descriptor$attrs,\n      _descriptor$content = descriptor.content,\n      content = _descriptor$content === void 0 ? [] : _descriptor$content;\n  var children = content.map(toString).join('');\n\n  if (elem !== 'svg') {\n    return \"<\".concat(elem, \" \").concat(formatAttributes(attrs), \">\").concat(children, \"</\").concat(elem, \">\");\n  }\n\n  return \"<\".concat(elem, \" \").concat(formatAttributes(getAttributes(attrs)), \">\").concat(children, \"</\").concat(elem, \">\");\n}\nfunction formatAttributes(attrs) {\n  return Object.keys(attrs).reduce(function (acc, key, index) {\n    var attribute = \"\".concat(key, \"=\\\"\").concat(attrs[key], \"\\\"\");\n\n    if (index === 0) {\n      return attribute;\n    }\n\n    return acc + ' ' + attribute;\n  }, '');\n}\n\n/**\n * Copyright IBM Corp. 2018, 2018\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n/**\n * Convert an icon descriptor to a DOM node.\n */\n\nfunction toSVG(descriptor) {\n  var _descriptor$elem = descriptor.elem,\n      elem = _descriptor$elem === void 0 ? 'svg' : _descriptor$elem,\n      _descriptor$attrs = descriptor.attrs,\n      attrs = _descriptor$attrs === void 0 ? {} : _descriptor$attrs,\n      _descriptor$content = descriptor.content,\n      content = _descriptor$content === void 0 ? [] : _descriptor$content;\n  var node = document.createElementNS('http://www.w3.org/2000/svg', elem);\n  var attributes = elem !== 'svg' ? attrs : getAttributes(attrs);\n  Object.keys(attributes).forEach(function (key) {\n    node.setAttribute(key, attrs[key]);\n  });\n\n  for (var i = 0; i < content.length; i++) {\n    node.appendChild(toSVG(content[i]));\n  }\n\n  return node;\n}\n\n/**\n * Copyright IBM Corp. 2018, 2018\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nexport { defaultAttributes, getAttributes, formatAttributes, toString, toSVG };\n","/**\n * Copyright IBM Corp. 2016, 2020\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * Code generated by @carbon/icon-build-helpers. DO NOT EDIT.\n */\nvar _16 = {\n  \"elem\": \"svg\",\n  \"attrs\": {\n    \"xmlns\": \"http://www.w3.org/2000/svg\",\n    \"viewBox\": \"0 0 32 32\",\n    \"fill\": \"currentColor\",\n    \"width\": 16,\n    \"height\": 16\n  },\n  \"content\": [{\n    \"elem\": \"path\",\n    \"attrs\": {\n      \"d\": \"M17 15L17 8 15 8 15 15 8 15 8 17 15 17 15 24 17 24 17 17 24 17 24 15z\"\n    }\n  }],\n  \"name\": \"add\",\n  \"size\": 16\n};\n\nexport default _16;\n","/**\n * Copyright IBM Corp. 2016, 2020\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * Code generated by @carbon/icon-build-helpers. DO NOT EDIT.\n */\nvar _20 = {\n  \"elem\": \"svg\",\n  \"attrs\": {\n    \"xmlns\": \"http://www.w3.org/2000/svg\",\n    \"viewBox\": \"0 0 32 32\",\n    \"fill\": \"currentColor\",\n    \"width\": 20,\n    \"height\": 20\n  },\n  \"content\": [{\n    \"elem\": \"path\",\n    \"attrs\": {\n      \"d\": \"M17 15L17 8 15 8 15 15 8 15 8 17 15 17 15 24 17 24 17 17 24 17 24 15z\"\n    }\n  }],\n  \"name\": \"add\",\n  \"size\": 20\n};\n\nexport default _20;\n","/**\n * Copyright IBM Corp. 2016, 2020\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * Code generated by @carbon/icon-build-helpers. DO NOT EDIT.\n */\nvar _16 = {\n  \"elem\": \"svg\",\n  \"attrs\": {\n    \"xmlns\": \"http://www.w3.org/2000/svg\",\n    \"viewBox\": \"0 0 32 32\",\n    \"fill\": \"currentColor\",\n    \"width\": 16,\n    \"height\": 16\n  },\n  \"content\": [{\n    \"elem\": \"path\",\n    \"attrs\": {\n      \"d\": \"M16 10a6 6 0 00-6 6v8a6 6 0 0012 0V16A6 6 0 0016 10zm-4.25 7.87h8.5v4.25h-8.5zM16 28.25A4.27 4.27 0 0111.75 24v-.13h8.5V24A4.27 4.27 0 0116 28.25zm4.25-12.13h-8.5V16a4.25 4.25 0 018.5 0zM30.66 19.21L24 13v9.1a4 4 0 008 0A3.83 3.83 0 0030.66 19.21zM28 24.35a2.25 2.25 0 01-2.25-2.25V17l3.72 3.47h0A2.05 2.05 0 0130.2 22 2.25 2.25 0 0128 24.35zM0 22.1a4 4 0 008 0V13L1.34 19.21A3.88 3.88 0 000 22.1zm2.48-1.56h0L6.25 17v5.1a2.25 2.25 0 01-4.5 0A2.05 2.05 0 012.48 20.54zM15 5.5A3.5 3.5 0 1011.5 9 3.5 3.5 0 0015 5.5zm-5.25 0A1.75 1.75 0 1111.5 7.25 1.77 1.77 0 019.75 5.5zM20.5 2A3.5 3.5 0 1024 5.5 3.5 3.5 0 0020.5 2zm0 5.25A1.75 1.75 0 1122.25 5.5 1.77 1.77 0 0120.5 7.25z\"\n    }\n  }],\n  \"name\": \"bee\",\n  \"size\": 16\n};\n\nexport default _16;\n","/**\n * Copyright IBM Corp. 2016, 2020\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * Code generated by @carbon/icon-build-helpers. DO NOT EDIT.\n */\nvar _20 = {\n  \"elem\": \"svg\",\n  \"attrs\": {\n    \"xmlns\": \"http://www.w3.org/2000/svg\",\n    \"viewBox\": \"0 0 32 32\",\n    \"fill\": \"currentColor\",\n    \"width\": 20,\n    \"height\": 20\n  },\n  \"content\": [{\n    \"elem\": \"path\",\n    \"attrs\": {\n      \"d\": \"M16 10a6 6 0 00-6 6v8a6 6 0 0012 0V16A6 6 0 0016 10zm-4.25 7.87h8.5v4.25h-8.5zM16 28.25A4.27 4.27 0 0111.75 24v-.13h8.5V24A4.27 4.27 0 0116 28.25zm4.25-12.13h-8.5V16a4.25 4.25 0 018.5 0zM30.66 19.21L24 13v9.1a4 4 0 008 0A3.83 3.83 0 0030.66 19.21zM28 24.35a2.25 2.25 0 01-2.25-2.25V17l3.72 3.47h0A2.05 2.05 0 0130.2 22 2.25 2.25 0 0128 24.35zM0 22.1a4 4 0 008 0V13L1.34 19.21A3.88 3.88 0 000 22.1zm2.48-1.56h0L6.25 17v5.1a2.25 2.25 0 01-4.5 0A2.05 2.05 0 012.48 20.54zM15 5.5A3.5 3.5 0 1011.5 9 3.5 3.5 0 0015 5.5zm-5.25 0A1.75 1.75 0 1111.5 7.25 1.77 1.77 0 019.75 5.5zM20.5 2A3.5 3.5 0 1024 5.5 3.5 3.5 0 0020.5 2zm0 5.25A1.75 1.75 0 1122.25 5.5 1.77 1.77 0 0120.5 7.25z\"\n    }\n  }],\n  \"name\": \"bee\",\n  \"size\": 20\n};\n\nexport default _20;\n","/**\n * Copyright IBM Corp. 2016, 2020\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * Code generated by @carbon/icon-build-helpers. DO NOT EDIT.\n */\nvar _16 = {\n  \"elem\": \"svg\",\n  \"attrs\": {\n    \"xmlns\": \"http://www.w3.org/2000/svg\",\n    \"viewBox\": \"0 0 32 32\",\n    \"fill\": \"currentColor\",\n    \"width\": 16,\n    \"height\": 16\n  },\n  \"content\": [{\n    \"elem\": \"path\",\n    \"attrs\": {\n      \"d\": \"M26,4h-4V2h-2v2h-8V2h-2v2H6C4.9,4,4,4.9,4,6v20c0,1.1,0.9,2,2,2h20c1.1,0,2-0.9,2-2V6C28,4.9,27.1,4,26,4z M26,26H6V12h20\\tV26z M26,10H6V6h4v2h2V6h8v2h2V6h4V10z\"\n    }\n  }],\n  \"name\": \"calendar\",\n  \"size\": 16\n};\n\nexport default _16;\n","/**\n * Copyright IBM Corp. 2016, 2020\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * Code generated by @carbon/icon-build-helpers. DO NOT EDIT.\n */\nvar _16 = {\n  \"elem\": \"svg\",\n  \"attrs\": {\n    \"xmlns\": \"http://www.w3.org/2000/svg\",\n    \"viewBox\": \"0 0 32 32\",\n    \"fill\": \"currentColor\",\n    \"width\": 16,\n    \"height\": 16\n  },\n  \"content\": [{\n    \"elem\": \"path\",\n    \"attrs\": {\n      \"d\": \"M13.5,30.8149a1.0011,1.0011,0,0,1-.4927-.13l-8.5-4.815A1,1,0,0,1,4,25V15a1,1,0,0,1,.5073-.87l8.5-4.815a1.0013,1.0013,0,0,1,.9854,0l8.5,4.815A1,1,0,0,1,23,15V25a1,1,0,0,1-.5073.87l-8.5,4.815A1.0011,1.0011,0,0,1,13.5,30.8149ZM6,24.417l7.5,4.2485L21,24.417V15.583l-7.5-4.2485L6,15.583Z\"\n    }\n  }, {\n    \"elem\": \"path\",\n    \"attrs\": {\n      \"d\": \"M28,17H26V7.583L18.5,3.3345,10.4927,7.87,9.5073,6.13l8.5-4.815a1.0013,1.0013,0,0,1,.9854,0l8.5,4.815A1,1,0,0,1,28,7Z\"\n    }\n  }],\n  \"name\": \"carbon\",\n  \"size\": 16\n};\n\nexport default _16;\n","/**\n * Copyright IBM Corp. 2016, 2020\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * Code generated by @carbon/icon-build-helpers. DO NOT EDIT.\n */\nvar _20 = {\n  \"elem\": \"svg\",\n  \"attrs\": {\n    \"xmlns\": \"http://www.w3.org/2000/svg\",\n    \"viewBox\": \"0 0 32 32\",\n    \"fill\": \"currentColor\",\n    \"width\": 20,\n    \"height\": 20\n  },\n  \"content\": [{\n    \"elem\": \"path\",\n    \"attrs\": {\n      \"d\": \"M13.5,30.8149a1.0011,1.0011,0,0,1-.4927-.13l-8.5-4.815A1,1,0,0,1,4,25V15a1,1,0,0,1,.5073-.87l8.5-4.815a1.0013,1.0013,0,0,1,.9854,0l8.5,4.815A1,1,0,0,1,23,15V25a1,1,0,0,1-.5073.87l-8.5,4.815A1.0011,1.0011,0,0,1,13.5,30.8149ZM6,24.417l7.5,4.2485L21,24.417V15.583l-7.5-4.2485L6,15.583Z\"\n    }\n  }, {\n    \"elem\": \"path\",\n    \"attrs\": {\n      \"d\": \"M28,17H26V7.583L18.5,3.3345,10.4927,7.87,9.5073,6.13l8.5-4.815a1.0013,1.0013,0,0,1,.9854,0l8.5,4.815A1,1,0,0,1,28,7Z\"\n    }\n  }],\n  \"name\": \"carbon\",\n  \"size\": 20\n};\n\nexport default _20;\n","/**\n * Copyright IBM Corp. 2016, 2020\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * Code generated by @carbon/icon-build-helpers. DO NOT EDIT.\n */\nvar _16 = {\n  \"elem\": \"svg\",\n  \"attrs\": {\n    \"xmlns\": \"http://www.w3.org/2000/svg\",\n    \"viewBox\": \"0 0 32 32\",\n    \"fill\": \"currentColor\",\n    \"width\": 16,\n    \"height\": 16\n  },\n  \"content\": [{\n    \"elem\": \"path\",\n    \"attrs\": {\n      \"d\": \"M24 12L16 22 8 12z\"\n    }\n  }],\n  \"name\": \"caret--down\",\n  \"size\": 16\n};\n\nexport default _16;\n","/**\n * Copyright IBM Corp. 2016, 2020\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * Code generated by @carbon/icon-build-helpers. DO NOT EDIT.\n */\nvar _16 = {\n  \"elem\": \"svg\",\n  \"attrs\": {\n    \"xmlns\": \"http://www.w3.org/2000/svg\",\n    \"viewBox\": \"0 0 32 32\",\n    \"fill\": \"currentColor\",\n    \"width\": 16,\n    \"height\": 16\n  },\n  \"content\": [{\n    \"elem\": \"path\",\n    \"attrs\": {\n      \"d\": \"M20 24L10 16 20 8z\"\n    }\n  }],\n  \"name\": \"caret--left\",\n  \"size\": 16\n};\n\nexport default _16;\n","/**\n * Copyright IBM Corp. 2016, 2020\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * Code generated by @carbon/icon-build-helpers. DO NOT EDIT.\n */\nvar _16 = {\n  \"elem\": \"svg\",\n  \"attrs\": {\n    \"xmlns\": \"http://www.w3.org/2000/svg\",\n    \"viewBox\": \"0 0 32 32\",\n    \"fill\": \"currentColor\",\n    \"width\": 16,\n    \"height\": 16\n  },\n  \"content\": [{\n    \"elem\": \"path\",\n    \"attrs\": {\n      \"d\": \"M12 8L22 16 12 24z\"\n    }\n  }],\n  \"name\": \"caret--right\",\n  \"size\": 16\n};\n\nexport default _16;\n","/**\n * Copyright IBM Corp. 2016, 2020\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * Code generated by @carbon/icon-build-helpers. DO NOT EDIT.\n */\nvar _16 = {\n  \"elem\": \"svg\",\n  \"attrs\": {\n    \"xmlns\": \"http://www.w3.org/2000/svg\",\n    \"viewBox\": \"0 0 32 32\",\n    \"fill\": \"currentColor\",\n    \"width\": 16,\n    \"height\": 16\n  },\n  \"content\": [{\n    \"elem\": \"path\",\n    \"attrs\": {\n      \"d\": \"M8 20L16 10 24 20z\"\n    }\n  }],\n  \"name\": \"caret--up\",\n  \"size\": 16\n};\n\nexport default _16;\n","/**\n * Copyright IBM Corp. 2016, 2020\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * Code generated by @carbon/icon-build-helpers. DO NOT EDIT.\n */\nvar _16 = {\n  \"elem\": \"svg\",\n  \"attrs\": {\n    \"xmlns\": \"http://www.w3.org/2000/svg\",\n    \"viewBox\": \"0 0 32 32\",\n    \"fill\": \"currentColor\",\n    \"width\": 16,\n    \"height\": 16\n  },\n  \"content\": [{\n    \"elem\": \"path\",\n    \"attrs\": {\n      \"d\": \"M13 24L4 15 5.414 13.586 13 21.171 26.586 7.586 28 9 13 24z\"\n    }\n  }],\n  \"name\": \"checkmark\",\n  \"size\": 16\n};\n\nexport default _16;\n","/**\n * Copyright IBM Corp. 2016, 2020\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * Code generated by @carbon/icon-build-helpers. DO NOT EDIT.\n */\nvar _16 = {\n  \"elem\": \"svg\",\n  \"attrs\": {\n    \"xmlns\": \"http://www.w3.org/2000/svg\",\n    \"viewBox\": \"0 0 16 16\",\n    \"fill\": \"currentColor\",\n    \"width\": 16,\n    \"height\": 16\n  },\n  \"content\": [{\n    \"elem\": \"path\",\n    \"attrs\": {\n      \"d\": \"M8,1C4.1,1,1,4.1,1,8c0,3.9,3.1,7,7,7s7-3.1,7-7C15,4.1,11.9,1,8,1z M7,11L4.3,8.3l0.9-0.8L7,9.3l4-3.9l0.9,0.8L7,11z\"\n    }\n  }, {\n    \"elem\": \"path\",\n    \"attrs\": {\n      \"d\": \"M7,11L4.3,8.3l0.9-0.8L7,9.3l4-3.9l0.9,0.8L7,11z\",\n      \"data-icon-path\": \"inner-path\",\n      \"opacity\": \"0\"\n    }\n  }],\n  \"name\": \"checkmark--filled\",\n  \"size\": 16\n};\n\nexport default _16;\n","/**\n * Copyright IBM Corp. 2016, 2020\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * Code generated by @carbon/icon-build-helpers. DO NOT EDIT.\n */\nvar _20 = {\n  \"elem\": \"svg\",\n  \"attrs\": {\n    \"xmlns\": \"http://www.w3.org/2000/svg\",\n    \"viewBox\": \"0 0 20 20\",\n    \"fill\": \"currentColor\",\n    \"width\": 20,\n    \"height\": 20\n  },\n  \"content\": [{\n    \"elem\": \"path\",\n    \"attrs\": {\n      \"d\": \"M10,1c-4.9,0-9,4.1-9,9s4.1,9,9,9s9-4,9-9S15,1,10,1z M8.7,13.5l-3.2-3.2l1-1l2.2,2.2l4.8-4.8l1,1L8.7,13.5z\"\n    }\n  }, {\n    \"elem\": \"path\",\n    \"attrs\": {\n      \"fill\": \"none\",\n      \"d\": \"M8.7,13.5l-3.2-3.2l1-1l2.2,2.2l4.8-4.8l1,1L8.7,13.5z\",\n      \"data-icon-path\": \"inner-path\",\n      \"opacity\": \"0\"\n    }\n  }],\n  \"name\": \"checkmark--filled\",\n  \"size\": 20\n};\n\nexport default _20;\n","/**\n * Copyright IBM Corp. 2016, 2020\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * Code generated by @carbon/icon-build-helpers. DO NOT EDIT.\n */\nvar _16 = {\n  \"elem\": \"svg\",\n  \"attrs\": {\n    \"xmlns\": \"http://www.w3.org/2000/svg\",\n    \"viewBox\": \"0 0 32 32\",\n    \"fill\": \"currentColor\",\n    \"width\": 16,\n    \"height\": 16\n  },\n  \"content\": [{\n    \"elem\": \"path\",\n    \"attrs\": {\n      \"d\": \"M14 21.414L9 16.413 10.413 15 14 18.586 21.585 11 23 12.415 14 21.414z\"\n    }\n  }, {\n    \"elem\": \"path\",\n    \"attrs\": {\n      \"d\": \"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,26A12,12,0,1,1,28,16,12,12,0,0,1,16,28Z\"\n    }\n  }],\n  \"name\": \"checkmark--outline\",\n  \"size\": 16\n};\n\nexport default _16;\n","/**\n * Copyright IBM Corp. 2016, 2020\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * Code generated by @carbon/icon-build-helpers. DO NOT EDIT.\n */\nvar _16 = {\n  \"elem\": \"svg\",\n  \"attrs\": {\n    \"xmlns\": \"http://www.w3.org/2000/svg\",\n    \"viewBox\": \"0 0 16 16\",\n    \"fill\": \"currentColor\",\n    \"width\": 16,\n    \"height\": 16\n  },\n  \"content\": [{\n    \"elem\": \"path\",\n    \"attrs\": {\n      \"d\": \"M8 11L3 6 3.7 5.3 8 9.6 12.3 5.3 13 6z\"\n    }\n  }],\n  \"name\": \"chevron--down\",\n  \"size\": 16\n};\n\nexport default _16;\n","/**\n * Copyright IBM Corp. 2016, 2020\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * Code generated by @carbon/icon-build-helpers. DO NOT EDIT.\n */\nvar _16 = {\n  \"elem\": \"svg\",\n  \"attrs\": {\n    \"xmlns\": \"http://www.w3.org/2000/svg\",\n    \"viewBox\": \"0 0 16 16\",\n    \"fill\": \"currentColor\",\n    \"width\": 16,\n    \"height\": 16\n  },\n  \"content\": [{\n    \"elem\": \"path\",\n    \"attrs\": {\n      \"d\": \"M11 8L6 13 5.3 12.3 9.6 8 5.3 3.7 6 3z\"\n    }\n  }],\n  \"name\": \"chevron--right\",\n  \"size\": 16\n};\n\nexport default _16;\n","/**\n * Copyright IBM Corp. 2016, 2020\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * Code generated by @carbon/icon-build-helpers. DO NOT EDIT.\n */\nvar _16 = {\n  \"elem\": \"svg\",\n  \"attrs\": {\n    \"xmlns\": \"http://www.w3.org/2000/svg\",\n    \"viewBox\": \"0 0 32 32\",\n    \"fill\": \"currentColor\",\n    \"width\": 16,\n    \"height\": 16\n  },\n  \"content\": [{\n    \"elem\": \"path\",\n    \"attrs\": {\n      \"d\": \"M7.7 4.7a14.7 14.7 0 00-3 3.1L6.3 9A13.26 13.26 0 018.9 6.3zM4.6 12.3l-1.9-.6A12.51 12.51 0 002 16H4A11.48 11.48 0 014.6 12.3zM2.7 20.4a14.4 14.4 0 002 3.9l1.6-1.2a12.89 12.89 0 01-1.7-3.3zM7.8 27.3a14.4 14.4 0 003.9 2l.6-1.9A12.89 12.89 0 019 25.7zM11.7 2.7l.6 1.9A11.48 11.48 0 0116 4V2A12.51 12.51 0 0011.7 2.7zM24.2 27.3a15.18 15.18 0 003.1-3.1L25.7 23A11.53 11.53 0 0123 25.7zM27.4 19.7l1.9.6A15.47 15.47 0 0030 16H28A11.48 11.48 0 0127.4 19.7zM29.2 11.6a14.4 14.4 0 00-2-3.9L25.6 8.9a12.89 12.89 0 011.7 3.3zM24.1 4.6a14.4 14.4 0 00-3.9-2l-.6 1.9a12.89 12.89 0 013.3 1.7zM20.3 29.3l-.6-1.9A11.48 11.48 0 0116 28v2A21.42 21.42 0 0020.3 29.3z\"\n    }\n  }],\n  \"name\": \"circle-dash\",\n  \"size\": 16\n};\n\nexport default _16;\n","/**\n * Copyright IBM Corp. 2016, 2020\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * Code generated by @carbon/icon-build-helpers. DO NOT EDIT.\n */\nvar _16 = {\n  \"elem\": \"svg\",\n  \"attrs\": {\n    \"xmlns\": \"http://www.w3.org/2000/svg\",\n    \"viewBox\": \"0 0 32 32\",\n    \"fill\": \"currentColor\",\n    \"width\": 16,\n    \"height\": 16\n  },\n  \"content\": [{\n    \"elem\": \"path\",\n    \"attrs\": {\n      \"d\": \"M24 9.4L22.6 8 16 14.6 9.4 8 8 9.4 14.6 16 8 22.6 9.4 24 16 17.4 22.6 24 24 22.6 17.4 16 24 9.4z\"\n    }\n  }],\n  \"name\": \"close\",\n  \"size\": 16\n};\n\nexport default _16;\n","/**\n * Copyright IBM Corp. 2016, 2020\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * Code generated by @carbon/icon-build-helpers. DO NOT EDIT.\n */\nvar _20 = {\n  \"elem\": \"svg\",\n  \"attrs\": {\n    \"xmlns\": \"http://www.w3.org/2000/svg\",\n    \"viewBox\": \"0 0 32 32\",\n    \"fill\": \"currentColor\",\n    \"width\": 20,\n    \"height\": 20\n  },\n  \"content\": [{\n    \"elem\": \"path\",\n    \"attrs\": {\n      \"d\": \"M24 9.4L22.6 8 16 14.6 9.4 8 8 9.4 14.6 16 8 22.6 9.4 24 16 17.4 22.6 24 24 22.6 17.4 16 24 9.4z\"\n    }\n  }],\n  \"name\": \"close\",\n  \"size\": 20\n};\n\nexport default _20;\n","/**\n * Copyright IBM Corp. 2016, 2020\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * Code generated by @carbon/icon-build-helpers. DO NOT EDIT.\n */\nvar _16 = {\n  \"elem\": \"svg\",\n  \"attrs\": {\n    \"xmlns\": \"http://www.w3.org/2000/svg\",\n    \"viewBox\": \"0 0 32 32\",\n    \"fill\": \"currentColor\",\n    \"width\": 16,\n    \"height\": 16\n  },\n  \"content\": [{\n    \"elem\": \"path\",\n    \"attrs\": {\n      \"d\": \"M28,10V28H10V10H28m0-2H10a2,2,0,0,0-2,2V28a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V10a2,2,0,0,0-2-2Z\"\n    }\n  }, {\n    \"elem\": \"path\",\n    \"attrs\": {\n      \"d\": \"M4,18H2V4A2,2,0,0,1,4,2H18V4H4Z\"\n    }\n  }],\n  \"name\": \"copy\",\n  \"size\": 16\n};\n\nexport default _16;\n","/**\n * Copyright IBM Corp. 2016, 2020\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * Code generated by @carbon/icon-build-helpers. DO NOT EDIT.\n */\nvar _20 = {\n  \"elem\": \"svg\",\n  \"attrs\": {\n    \"xmlns\": \"http://www.w3.org/2000/svg\",\n    \"viewBox\": \"0 0 32 32\",\n    \"fill\": \"currentColor\",\n    \"width\": 20,\n    \"height\": 20\n  },\n  \"content\": [{\n    \"elem\": \"path\",\n    \"attrs\": {\n      \"d\": \"M28,10V28H10V10H28m0-2H10a2,2,0,0,0-2,2V28a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V10a2,2,0,0,0-2-2Z\"\n    }\n  }, {\n    \"elem\": \"path\",\n    \"attrs\": {\n      \"d\": \"M4,18H2V4A2,2,0,0,1,4,2H18V4H4Z\"\n    }\n  }],\n  \"name\": \"copy\",\n  \"size\": 20\n};\n\nexport default _20;\n","/**\n * Copyright IBM Corp. 2016, 2020\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * Code generated by @carbon/icon-build-helpers. DO NOT EDIT.\n */\nvar _16 = {\n  \"elem\": \"svg\",\n  \"attrs\": {\n    \"xmlns\": \"http://www.w3.org/2000/svg\",\n    \"viewBox\": \"0 0 32 32\",\n    \"fill\": \"currentColor\",\n    \"width\": 16,\n    \"height\": 16\n  },\n  \"content\": [{\n    \"elem\": \"path\",\n    \"attrs\": {\n      \"d\": \"M4 6H15V8H4zM18 6H28V8H18zM21 12H28V14H21zM11 12H18V14H11zM4 12H8V14H4zM4 18H28V20H4zM4 24H21V26H4zM24 24H28V26H24z\"\n    }\n  }],\n  \"name\": \"data--2\",\n  \"size\": 16\n};\n\nexport default _16;\n","/**\n * Copyright IBM Corp. 2016, 2020\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * Code generated by @carbon/icon-build-helpers. DO NOT EDIT.\n */\nvar _20 = {\n  \"elem\": \"svg\",\n  \"attrs\": {\n    \"xmlns\": \"http://www.w3.org/2000/svg\",\n    \"viewBox\": \"0 0 32 32\",\n    \"fill\": \"currentColor\",\n    \"width\": 20,\n    \"height\": 20\n  },\n  \"content\": [{\n    \"elem\": \"path\",\n    \"attrs\": {\n      \"d\": \"M4 6H15V8H4zM18 6H28V8H18zM21 12H28V14H21zM11 12H18V14H11zM4 12H8V14H4zM4 18H28V20H4zM4 24H21V26H4zM24 24H28V26H24z\"\n    }\n  }],\n  \"name\": \"data--2\",\n  \"size\": 20\n};\n\nexport default _20;\n","/**\n * Copyright IBM Corp. 2016, 2020\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * Code generated by @carbon/icon-build-helpers. DO NOT EDIT.\n */\nvar _16 = {\n  \"elem\": \"svg\",\n  \"attrs\": {\n    \"xmlns\": \"http://www.w3.org/2000/svg\",\n    \"viewBox\": \"0 0 32 32\",\n    \"fill\": \"currentColor\",\n    \"width\": 16,\n    \"height\": 16\n  },\n  \"content\": [{\n    \"elem\": \"path\",\n    \"attrs\": {\n      \"d\": \"M12 12H14V24H12zM18 12H20V24H18z\"\n    }\n  }, {\n    \"elem\": \"path\",\n    \"attrs\": {\n      \"d\": \"M4 6V8H6V28a2 2 0 002 2H24a2 2 0 002-2V8h2V6zM8 28V8H24V28zM12 2H20V4H12z\"\n    }\n  }],\n  \"name\": \"delete\",\n  \"size\": 16\n};\n\nexport default _16;\n","/**\n * Copyright IBM Corp. 2016, 2020\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * Code generated by @carbon/icon-build-helpers. DO NOT EDIT.\n */\nvar _16 = {\n  \"elem\": \"svg\",\n  \"attrs\": {\n    \"xmlns\": \"http://www.w3.org/2000/svg\",\n    \"viewBox\": \"0 0 32 32\",\n    \"fill\": \"currentColor\",\n    \"width\": 16,\n    \"height\": 16\n  },\n  \"content\": [{\n    \"elem\": \"path\",\n    \"attrs\": {\n      \"d\": \"M25.7,9.3l-7-7C18.5,2.1,18.3,2,18,2H8C6.9,2,6,2.9,6,4v24c0,1.1,0.9,2,2,2h16c1.1,0,2-0.9,2-2V10C26,9.7,25.9,9.5,25.7,9.3\\tz M18,4.4l5.6,5.6H18V4.4z M24,28H8V4h8v6c0,1.1,0.9,2,2,2h6V28z\"\n    }\n  }, {\n    \"elem\": \"path\",\n    \"attrs\": {\n      \"d\": \"M10 22H22V24H10zM10 16H22V18H10z\"\n    }\n  }],\n  \"name\": \"document\",\n  \"size\": 16\n};\n\nexport default _16;\n","/**\n * Copyright IBM Corp. 2016, 2020\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * Code generated by @carbon/icon-build-helpers. DO NOT EDIT.\n */\nvar _20 = {\n  \"elem\": \"svg\",\n  \"attrs\": {\n    \"xmlns\": \"http://www.w3.org/2000/svg\",\n    \"viewBox\": \"0 0 32 32\",\n    \"fill\": \"currentColor\",\n    \"width\": 20,\n    \"height\": 20\n  },\n  \"content\": [{\n    \"elem\": \"path\",\n    \"attrs\": {\n      \"d\": \"M25.7,9.3l-7-7C18.5,2.1,18.3,2,18,2H8C6.9,2,6,2.9,6,4v24c0,1.1,0.9,2,2,2h16c1.1,0,2-0.9,2-2V10C26,9.7,25.9,9.5,25.7,9.3\\tz M18,4.4l5.6,5.6H18V4.4z M24,28H8V4h8v6c0,1.1,0.9,2,2,2h6V28z\"\n    }\n  }, {\n    \"elem\": \"path\",\n    \"attrs\": {\n      \"d\": \"M10 22H22V24H10zM10 16H22V18H10z\"\n    }\n  }],\n  \"name\": \"document\",\n  \"size\": 20\n};\n\nexport default _20;\n","/**\n * Copyright IBM Corp. 2016, 2020\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * Code generated by @carbon/icon-build-helpers. DO NOT EDIT.\n */\nvar _16 = {\n  \"elem\": \"svg\",\n  \"attrs\": {\n    \"xmlns\": \"http://www.w3.org/2000/svg\",\n    \"viewBox\": \"0 0 16 16\",\n    \"fill\": \"currentColor\",\n    \"width\": 16,\n    \"height\": 16\n  },\n  \"content\": [{\n    \"elem\": \"path\",\n    \"attrs\": {\n      \"d\": \"M13 7L12.3 6.3 8.5 10.1 8.5 1 7.5 1 7.5 10.1 3.7 6.3 3 7 8 12zM13 12v2H3v-2H2v2l0 0c0 .6.4 1 1 1h10c.6 0 1-.4 1-1l0 0v-2H13z\"\n    }\n  }],\n  \"name\": \"download\",\n  \"size\": 16\n};\n\nexport default _16;\n","/**\n * Copyright IBM Corp. 2016, 2020\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * Code generated by @carbon/icon-build-helpers. DO NOT EDIT.\n */\nvar _16 = {\n  \"elem\": \"svg\",\n  \"attrs\": {\n    \"xmlns\": \"http://www.w3.org/2000/svg\",\n    \"viewBox\": \"0 0 16 16\",\n    \"fill\": \"currentColor\",\n    \"width\": 16,\n    \"height\": 16\n  },\n  \"content\": [{\n    \"elem\": \"path\",\n    \"attrs\": {\n      \"d\": \"M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z\"\n    }\n  }, {\n    \"elem\": \"path\",\n    \"attrs\": {\n      \"fill\": \"none\",\n      \"d\": \"M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z\",\n      \"data-icon-path\": \"inner-path\",\n      \"opacity\": \"0\"\n    }\n  }],\n  \"name\": \"error--filled\",\n  \"size\": 16\n};\n\nexport default _16;\n","/**\n * Copyright IBM Corp. 2016, 2020\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * Code generated by @carbon/icon-build-helpers. DO NOT EDIT.\n */\nvar _20 = {\n  \"elem\": \"svg\",\n  \"attrs\": {\n    \"xmlns\": \"http://www.w3.org/2000/svg\",\n    \"viewBox\": \"0 0 20 20\",\n    \"fill\": \"currentColor\",\n    \"width\": 20,\n    \"height\": 20\n  },\n  \"content\": [{\n    \"elem\": \"path\",\n    \"attrs\": {\n      \"d\": \"M10,1c-5,0-9,4-9,9s4,9,9,9s9-4,9-9S15,1,10,1z M13.5,14.5l-8-8l1-1l8,8L13.5,14.5z\"\n    }\n  }, {\n    \"elem\": \"path\",\n    \"attrs\": {\n      \"d\": \"M13.5,14.5l-8-8l1-1l8,8L13.5,14.5z\",\n      \"data-icon-path\": \"inner-path\",\n      \"opacity\": \"0\"\n    }\n  }],\n  \"name\": \"error--filled\",\n  \"size\": 20\n};\n\nexport default _20;\n","/**\n * Copyright IBM Corp. 2016, 2020\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * Code generated by @carbon/icon-build-helpers. DO NOT EDIT.\n */\nvar _16 = {\n  \"elem\": \"svg\",\n  \"attrs\": {\n    \"xmlns\": \"http://www.w3.org/2000/svg\",\n    \"viewBox\": \"0 0 16 16\",\n    \"fill\": \"currentColor\",\n    \"width\": 16,\n    \"height\": 16\n  },\n  \"content\": [{\n    \"elem\": \"path\",\n    \"attrs\": {\n      \"d\": \"M4.1 12.6l-.6.8c.6.5 1.3.9 2.1 1.2l.3-.9C5.3 13.4 4.7 13 4.1 12.6zM2.1 9l-1 .2c.1.8.4 1.6.8 2.3L2.8 11C2.4 10.4 2.2 9.7 2.1 9zM5.9 2.4L5.6 1.4C4.8 1.7 4.1 2.1 3.5 2.7l.6.8C4.7 3 5.3 2.6 5.9 2.4zM2.8 5L1.9 4.5C1.5 5.2 1.3 6 1.1 6.8l1 .2C2.2 6.3 2.5 5.6 2.8 5zM8 1v1c3.3 0 6 2.7 6 6s-2.7 6-6 6v1c3.9 0 7-3.1 7-7S11.9 1 8 1z\"\n    }\n  }],\n  \"name\": \"fade\",\n  \"size\": 16\n};\n\nexport default _16;\n","/**\n * Copyright IBM Corp. 2016, 2020\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * Code generated by @carbon/icon-build-helpers. DO NOT EDIT.\n */\nvar _20 = {\n  \"elem\": \"svg\",\n  \"attrs\": {\n    \"xmlns\": \"http://www.w3.org/2000/svg\",\n    \"viewBox\": \"0 0 32 32\",\n    \"fill\": \"currentColor\",\n    \"width\": 20,\n    \"height\": 20\n  },\n  \"content\": [{\n    \"elem\": \"path\",\n    \"attrs\": {\n      \"d\": \"M8.24 25.14L7 26.67a13.79 13.79 0 004.18 2.44l.69-1.87A12 12 0 018.24 25.14zM4.19 18l-2 .41A14.09 14.09 0 003.86 23L5.59 22A12.44 12.44 0 014.19 18zM11.82 4.76l-.69-1.87A13.79 13.79 0 007 5.33L8.24 6.86A12 12 0 0111.82 4.76zM5.59 10L3.86 9a14.37 14.37 0 00-1.64 4.59l2 .34A12.05 12.05 0 015.59 10zM16 2V4a12 12 0 010 24v2A14 14 0 0016 2z\"\n    }\n  }],\n  \"name\": \"fade\",\n  \"size\": 20\n};\n\nexport default _20;\n","/**\n * Copyright IBM Corp. 2016, 2020\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * Code generated by @carbon/icon-build-helpers. DO NOT EDIT.\n */\nvar _16 = {\n  \"elem\": \"svg\",\n  \"attrs\": {\n    \"xmlns\": \"http://www.w3.org/2000/svg\",\n    \"viewBox\": \"0 0 32 32\",\n    \"fill\": \"currentColor\",\n    \"width\": 16,\n    \"height\": 16\n  },\n  \"content\": [{\n    \"elem\": \"path\",\n    \"attrs\": {\n      \"d\": \"M23.7642 6.8593l1.2851-1.5315A13.976 13.976 0 0020.8672 2.887l-.6836 1.8776A11.9729 11.9729 0 0123.7642 6.8593zM27.81 14l1.9677-.4128A13.8888 13.8888 0 0028.14 9.0457L26.4087 10A12.52 12.52 0 0127.81 14zM20.1836 27.2354l.6836 1.8776a13.976 13.976 0 004.1821-2.4408l-1.2851-1.5315A11.9729 11.9729 0 0120.1836 27.2354zM26.4087 22L28.14 23a14.14 14.14 0 001.6382-4.5872L27.81 18.0659A12.1519 12.1519 0 0126.4087 22zM16 30V2a14 14 0 000 28z\"\n    }\n  }],\n  \"name\": \"incomplete\",\n  \"size\": 16\n};\n\nexport default _16;\n","/**\n * Copyright IBM Corp. 2016, 2020\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * Code generated by @carbon/icon-build-helpers. DO NOT EDIT.\n */\nvar _16 = {\n  \"elem\": \"svg\",\n  \"attrs\": {\n    \"xmlns\": \"http://www.w3.org/2000/svg\",\n    \"viewBox\": \"0 0 32 32\",\n    \"fill\": \"currentColor\",\n    \"width\": 16,\n    \"height\": 16\n  },\n  \"content\": [{\n    \"elem\": \"path\",\n    \"attrs\": {\n      \"fill\": \"none\",\n      \"d\": \"M16,8a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,16,8Zm4,13.875H17.125v-8H13v2.25h1.875v5.75H12v2.25h8Z\"\n    }\n  }, {\n    \"elem\": \"path\",\n    \"attrs\": {\n      \"d\": \"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,6a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,16,8Zm4,16.125H12v-2.25h2.875v-5.75H13v-2.25h4.125v8H20Z\"\n    }\n  }],\n  \"name\": \"information--filled\",\n  \"size\": 16\n};\n\nexport default _16;\n","/**\n * Copyright IBM Corp. 2016, 2020\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * Code generated by @carbon/icon-build-helpers. DO NOT EDIT.\n */\nvar _20 = {\n  \"elem\": \"svg\",\n  \"attrs\": {\n    \"xmlns\": \"http://www.w3.org/2000/svg\",\n    \"viewBox\": \"0 0 32 32\",\n    \"fill\": \"currentColor\",\n    \"width\": 20,\n    \"height\": 20\n  },\n  \"content\": [{\n    \"elem\": \"path\",\n    \"attrs\": {\n      \"fill\": \"none\",\n      \"d\": \"M16,8a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,16,8Zm4,13.875H17.125v-8H13v2.25h1.875v5.75H12v2.25h8Z\"\n    }\n  }, {\n    \"elem\": \"path\",\n    \"attrs\": {\n      \"d\": \"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,6a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,16,8Zm4,16.125H12v-2.25h2.875v-5.75H13v-2.25h4.125v8H20Z\"\n    }\n  }],\n  \"name\": \"information--filled\",\n  \"size\": 20\n};\n\nexport default _20;\n","/**\n * Copyright IBM Corp. 2016, 2020\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * Code generated by @carbon/icon-build-helpers. DO NOT EDIT.\n */\nvar _16 = {\n  \"elem\": \"svg\",\n  \"attrs\": {\n    \"xmlns\": \"http://www.w3.org/2000/svg\",\n    \"viewBox\": \"0 0 16 16\",\n    \"fill\": \"currentColor\",\n    \"width\": 16,\n    \"height\": 16\n  },\n  \"content\": [{\n    \"elem\": \"path\",\n    \"attrs\": {\n      \"d\": \"M2 12H14V13H2zM2 9H14V10H2zM2 6H14V7H2zM2 3H14V4H2z\"\n    }\n  }],\n  \"name\": \"menu\",\n  \"size\": 16\n};\n\nexport default _16;\n","/**\n * Copyright IBM Corp. 2016, 2020\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * Code generated by @carbon/icon-build-helpers. DO NOT EDIT.\n */\nvar _20 = {\n  \"elem\": \"svg\",\n  \"attrs\": {\n    \"xmlns\": \"http://www.w3.org/2000/svg\",\n    \"viewBox\": \"0 0 20 20\",\n    \"fill\": \"currentColor\",\n    \"width\": 20,\n    \"height\": 20\n  },\n  \"content\": [{\n    \"elem\": \"path\",\n    \"attrs\": {\n      \"d\": \"M2 14.8H18V16H2zM2 11.2H18V12.399999999999999H2zM2 7.6H18V8.799999999999999H2zM2 4H18V5.2H2z\"\n    }\n  }],\n  \"name\": \"menu\",\n  \"size\": 20\n};\n\nexport default _20;\n","/**\n * Copyright IBM Corp. 2016, 2020\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * Code generated by @carbon/icon-build-helpers. DO NOT EDIT.\n */\nvar _16 = {\n  \"elem\": \"svg\",\n  \"attrs\": {\n    \"xmlns\": \"http://www.w3.org/2000/svg\",\n    \"viewBox\": \"0 0 32 32\",\n    \"fill\": \"currentColor\",\n    \"width\": 16,\n    \"height\": 16\n  },\n  \"content\": [{\n    \"elem\": \"circle\",\n    \"attrs\": {\n      \"cx\": \"16\",\n      \"cy\": \"8\",\n      \"r\": \"2\"\n    }\n  }, {\n    \"elem\": \"circle\",\n    \"attrs\": {\n      \"cx\": \"16\",\n      \"cy\": \"16\",\n      \"r\": \"2\"\n    }\n  }, {\n    \"elem\": \"circle\",\n    \"attrs\": {\n      \"cx\": \"16\",\n      \"cy\": \"24\",\n      \"r\": \"2\"\n    }\n  }],\n  \"name\": \"overflow-menu--vertical\",\n  \"size\": 16\n};\n\nexport default _16;\n","/**\n * Copyright IBM Corp. 2016, 2020\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * Code generated by @carbon/icon-build-helpers. DO NOT EDIT.\n */\nvar _16 = {\n  \"elem\": \"svg\",\n  \"attrs\": {\n    \"xmlns\": \"http://www.w3.org/2000/svg\",\n    \"viewBox\": \"0 0 32 32\",\n    \"fill\": \"currentColor\",\n    \"width\": 16,\n    \"height\": 16\n  },\n  \"content\": [{\n    \"elem\": \"circle\",\n    \"attrs\": {\n      \"cx\": \"8\",\n      \"cy\": \"16\",\n      \"r\": \"2\"\n    }\n  }, {\n    \"elem\": \"circle\",\n    \"attrs\": {\n      \"cx\": \"16\",\n      \"cy\": \"16\",\n      \"r\": \"2\"\n    }\n  }, {\n    \"elem\": \"circle\",\n    \"attrs\": {\n      \"cx\": \"24\",\n      \"cy\": \"16\",\n      \"r\": \"2\"\n    }\n  }],\n  \"name\": \"overflow-menu--horizontal\",\n  \"size\": 16\n};\n\nexport default _16;\n","/**\n * Copyright IBM Corp. 2016, 2020\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * Code generated by @carbon/icon-build-helpers. DO NOT EDIT.\n */\nvar _16 = {\n  \"elem\": \"svg\",\n  \"attrs\": {\n    \"xmlns\": \"http://www.w3.org/2000/svg\",\n    \"viewBox\": \"0 0 16 16\",\n    \"fill\": \"currentColor\",\n    \"width\": 16,\n    \"height\": 16\n  },\n  \"content\": [{\n    \"elem\": \"path\",\n    \"attrs\": {\n      \"d\": \"M13.9,4.6l-2.5-2.5C11.3,2.1,11.1,2,11,2H3C2.4,2,2,2.4,2,3v10c0,0.6,0.4,1,1,1h10c0.6,0,1-0.4,1-1V5\\tC14,4.9,13.9,4.7,13.9,4.6z M6,3h4v2H6V3z M10,13H6V9h4V13z M11,13V9c0-0.6-0.4-1-1-1H6C5.4,8,5,8.4,5,9v4H3V3h2v2c0,0.6,0.4,1,1,1\\th4c0.6,0,1-0.4,1-1V3.2l2,2V13H11z\"\n    }\n  }],\n  \"name\": \"save\",\n  \"size\": 16\n};\n\nexport default _16;\n","/**\n * Copyright IBM Corp. 2016, 2020\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * Code generated by @carbon/icon-build-helpers. DO NOT EDIT.\n */\nvar _16 = {\n  \"elem\": \"svg\",\n  \"attrs\": {\n    \"xmlns\": \"http://www.w3.org/2000/svg\",\n    \"viewBox\": \"0 0 16 16\",\n    \"fill\": \"currentColor\",\n    \"width\": 16,\n    \"height\": 16\n  },\n  \"content\": [{\n    \"elem\": \"path\",\n    \"attrs\": {\n      \"d\": \"M15,14.3L10.7,10c1.9-2.3,1.6-5.8-0.7-7.7S4.2,0.7,2.3,3S0.7,8.8,3,10.7c2,1.7,5,1.7,7,0l4.3,4.3L15,14.3z M2,6.5\\tC2,4,4,2,6.5,2S11,4,11,6.5S9,11,6.5,11S2,9,2,6.5z\"\n    }\n  }],\n  \"name\": \"search\",\n  \"size\": 16\n};\n\nexport default _16;\n","/**\n * Copyright IBM Corp. 2016, 2020\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * Code generated by @carbon/icon-build-helpers. DO NOT EDIT.\n */\nvar _16 = {\n  \"elem\": \"svg\",\n  \"attrs\": {\n    \"xmlns\": \"http://www.w3.org/2000/svg\",\n    \"viewBox\": \"0 0 16 16\",\n    \"fill\": \"currentColor\",\n    \"width\": 16,\n    \"height\": 16\n  },\n  \"content\": [{\n    \"elem\": \"path\",\n    \"attrs\": {\n      \"d\": \"M13.5,8.4c0-0.1,0-0.3,0-0.4c0-0.1,0-0.3,0-0.4l1-0.8c0.4-0.3,0.4-0.9,0.2-1.3l-1.2-2C13.3,3.2,13,3,12.6,3\\tc-0.1,0-0.2,0-0.3,0.1l-1.2,0.4c-0.2-0.1-0.4-0.3-0.7-0.4l-0.3-1.3C10.1,1.3,9.7,1,9.2,1H6.8c-0.5,0-0.9,0.3-1,0.8L5.6,3.1\\tC5.3,3.2,5.1,3.3,4.9,3.4L3.7,3C3.6,3,3.5,3,3.4,3C3,3,2.7,3.2,2.5,3.5l-1.2,2C1.1,5.9,1.2,6.4,1.6,6.8l0.9,0.9c0,0.1,0,0.3,0,0.4\\tc0,0.1,0,0.3,0,0.4L1.6,9.2c-0.4,0.3-0.5,0.9-0.2,1.3l1.2,2C2.7,12.8,3,13,3.4,13c0.1,0,0.2,0,0.3-0.1l1.2-0.4\\tc0.2,0.1,0.4,0.3,0.7,0.4l0.3,1.3c0.1,0.5,0.5,0.8,1,0.8h2.4c0.5,0,0.9-0.3,1-0.8l0.3-1.3c0.2-0.1,0.4-0.2,0.7-0.4l1.2,0.4\\tc0.1,0,0.2,0.1,0.3,0.1c0.4,0,0.7-0.2,0.9-0.5l1.1-2c0.2-0.4,0.2-0.9-0.2-1.3L13.5,8.4z M12.6,12l-1.7-0.6c-0.4,0.3-0.9,0.6-1.4,0.8\\tL9.2,14H6.8l-0.4-1.8c-0.5-0.2-0.9-0.5-1.4-0.8L3.4,12l-1.2-2l1.4-1.2c-0.1-0.5-0.1-1.1,0-1.6L2.2,6l1.2-2l1.7,0.6\\tC5.5,4.2,6,4,6.5,3.8L6.8,2h2.4l0.4,1.8c0.5,0.2,0.9,0.5,1.4,0.8L12.6,4l1.2,2l-1.4,1.2c0.1,0.5,0.1,1.1,0,1.6l1.4,1.2L12.6,12z\"\n    }\n  }, {\n    \"elem\": \"path\",\n    \"attrs\": {\n      \"d\": \"M8,11c-1.7,0-3-1.3-3-3s1.3-3,3-3s3,1.3,3,3C11,9.6,9.7,11,8,11C8,11,8,11,8,11z M8,6C6.9,6,6,6.8,6,7.9C6,7.9,6,8,6,8\\tc0,1.1,0.8,2,1.9,2c0,0,0.1,0,0.1,0c1.1,0,2-0.8,2-1.9c0,0,0-0.1,0-0.1C10,6.9,9.2,6,8,6C8.1,6,8,6,8,6z\"\n    }\n  }],\n  \"name\": \"settings\",\n  \"size\": 16\n};\n\nexport default _16;\n","/**\n * Copyright IBM Corp. 2016, 2020\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * Code generated by @carbon/icon-build-helpers. DO NOT EDIT.\n */\nvar _16 = {\n  \"elem\": \"svg\",\n  \"attrs\": {\n    \"xmlns\": \"http://www.w3.org/2000/svg\",\n    \"viewBox\": \"0 0 32 32\",\n    \"fill\": \"currentColor\",\n    \"width\": 16,\n    \"height\": 16\n  },\n  \"content\": [{\n    \"elem\": \"path\",\n    \"attrs\": {\n      \"d\": \"M30 8h-4.1c-.5-2.3-2.5-4-4.9-4s-4.4 1.7-4.9 4H2v2h14.1c.5 2.3 2.5 4 4.9 4s4.4-1.7 4.9-4H30V8zM21 12c-1.7 0-3-1.3-3-3s1.3-3 3-3 3 1.3 3 3S22.7 12 21 12zM2 24h4.1c.5 2.3 2.5 4 4.9 4s4.4-1.7 4.9-4H30v-2H15.9c-.5-2.3-2.5-4-4.9-4s-4.4 1.7-4.9 4H2V24zM11 20c1.7 0 3 1.3 3 3s-1.3 3-3 3-3-1.3-3-3S9.3 20 11 20z\"\n    }\n  }],\n  \"name\": \"settings--adjust\",\n  \"size\": 16\n};\n\nexport default _16;\n","/**\n * Copyright IBM Corp. 2016, 2020\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * Code generated by @carbon/icon-build-helpers. DO NOT EDIT.\n */\nvar _16 = {\n  \"elem\": \"svg\",\n  \"attrs\": {\n    \"xmlns\": \"http://www.w3.org/2000/svg\",\n    \"viewBox\": \"0 0 32 32\",\n    \"fill\": \"currentColor\",\n    \"width\": 16,\n    \"height\": 16\n  },\n  \"content\": [{\n    \"elem\": \"path\",\n    \"attrs\": {\n      \"d\": \"M8 15H24V17H8z\"\n    }\n  }],\n  \"name\": \"subtract\",\n  \"size\": 16\n};\n\nexport default _16;\n","/**\n * Copyright IBM Corp. 2016, 2020\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * Code generated by @carbon/icon-build-helpers. DO NOT EDIT.\n */\nvar _16 = {\n  \"elem\": \"svg\",\n  \"attrs\": {\n    \"xmlns\": \"http://www.w3.org/2000/svg\",\n    \"viewBox\": \"0 0 16 16\",\n    \"fill\": \"currentColor\",\n    \"width\": 16,\n    \"height\": 16\n  },\n  \"content\": [{\n    \"elem\": \"path\",\n    \"attrs\": {\n      \"d\": \"M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M8,14c-3.3,0-6-2.7-6-6s2.7-6,6-6s6,2.7,6,6S11.3,14,8,14z\"\n    }\n  }, {\n    \"elem\": \"path\",\n    \"attrs\": {\n      \"d\": \"M7.5 4H8.5V9H7.5zM8 10.2c-.4 0-.8.3-.8.8s.3.8.8.8c.4 0 .8-.3.8-.8S8.4 10.2 8 10.2z\"\n    }\n  }],\n  \"name\": \"warning\",\n  \"size\": 16\n};\n\nexport default _16;\n","/**\n * Copyright IBM Corp. 2016, 2020\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * Code generated by @carbon/icon-build-helpers. DO NOT EDIT.\n */\nvar _16 = {\n  \"elem\": \"svg\",\n  \"attrs\": {\n    \"xmlns\": \"http://www.w3.org/2000/svg\",\n    \"viewBox\": \"0 0 16 16\",\n    \"fill\": \"currentColor\",\n    \"width\": 16,\n    \"height\": 16\n  },\n  \"content\": [{\n    \"elem\": \"path\",\n    \"attrs\": {\n      \"d\": \"M8,1C4.2,1,1,4.2,1,8s3.2,7,7,7s7-3.1,7-7S11.9,1,8,1z M7.5,4h1v5h-1C7.5,9,7.5,4,7.5,4z M8,12.2\\tc-0.4,0-0.8-0.4-0.8-0.8s0.3-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,12.2,8,12.2z\"\n    }\n  }, {\n    \"elem\": \"path\",\n    \"attrs\": {\n      \"d\": \"M7.5,4h1v5h-1C7.5,9,7.5,4,7.5,4z M8,12.2c-0.4,0-0.8-0.4-0.8-0.8s0.3-0.8,0.8-0.8\\tc0.4,0,0.8,0.4,0.8,0.8S8.4,12.2,8,12.2z\",\n      \"data-icon-path\": \"inner-path\",\n      \"opacity\": \"0\"\n    }\n  }],\n  \"name\": \"warning--filled\",\n  \"size\": 16\n};\n\nexport default _16;\n","/**\n * Copyright IBM Corp. 2016, 2020\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * Code generated by @carbon/icon-build-helpers. DO NOT EDIT.\n */\nvar _20 = {\n  \"elem\": \"svg\",\n  \"attrs\": {\n    \"xmlns\": \"http://www.w3.org/2000/svg\",\n    \"viewBox\": \"0 0 20 20\",\n    \"fill\": \"currentColor\",\n    \"width\": 20,\n    \"height\": 20\n  },\n  \"content\": [{\n    \"elem\": \"path\",\n    \"attrs\": {\n      \"d\": \"M10,1c-5,0-9,4-9,9s4,9,9,9s9-4,9-9S15,1,10,1z M9.2,5h1.5v7H9.2V5z M10,16c-0.6,0-1-0.4-1-1s0.4-1,1-1\\ts1,0.4,1,1S10.6,16,10,16z\"\n    }\n  }, {\n    \"elem\": \"path\",\n    \"attrs\": {\n      \"d\": \"M9.2,5h1.5v7H9.2V5z M10,16c-0.6,0-1-0.4-1-1s0.4-1,1-1s1,0.4,1,1S10.6,16,10,16z\",\n      \"data-icon-path\": \"inner-path\",\n      \"opacity\": \"0\"\n    }\n  }],\n  \"name\": \"warning--filled\",\n  \"size\": 20\n};\n\nexport default _20;\n","/**\n * Copyright IBM Corp. 2016, 2020\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * Code generated by @carbon/icon-build-helpers. DO NOT EDIT.\n */\nvar _16 = {\n  \"elem\": \"svg\",\n  \"attrs\": {\n    \"xmlns\": \"http://www.w3.org/2000/svg\",\n    \"viewBox\": \"0 0 32 32\",\n    \"fill\": \"currentColor\",\n    \"width\": 16,\n    \"height\": 16\n  },\n  \"content\": [{\n    \"elem\": \"path\",\n    \"attrs\": {\n      \"fill\": \"none\",\n      \"d\": \"M14.875,11h2.25V21h-2.25ZM16,27a1.5,1.5,0,1,1,1.5-1.5A1.5,1.5,0,0,1,16,27Z\"\n    }\n  }, {\n    \"elem\": \"path\",\n    \"attrs\": {\n      \"d\": \"M29.8872,28.5386l-13-25a1,1,0,0,0-1.7744,0l-13,25A1,1,0,0,0,3,30H29a1,1,0,0,0,.8872-1.4614ZM14.875,11h2.25V21h-2.25ZM16,27a1.5,1.5,0,1,1,1.5-1.5A1.5,1.5,0,0,1,16,27Z\"\n    }\n  }],\n  \"name\": \"warning--alt--filled\",\n  \"size\": 16\n};\n\nexport default _16;\n","/**\n *\n * carbon-angular v0.0.0 | carbon-components-angular-icon.js\n *\n * Copyright 2014, 2023 IBM\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\nimport { toString, getAttributes } from '@carbon/icon-helpers';\nimport { Injectable, Directive, ElementRef, Input, NgModule, Optional, SkipSelf } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport Add16 from '@carbon/icons/es/add/16';\nimport Add20 from '@carbon/icons/es/add/20';\nimport Bee16 from '@carbon/icons/es/bee/16';\nimport Bee20 from '@carbon/icons/es/bee/20';\nimport Calendar16 from '@carbon/icons/es/calendar/16';\nimport Carbon16 from '@carbon/icons/es/carbon/16';\nimport Carbon20 from '@carbon/icons/es/carbon/20';\nimport CaretDown16 from '@carbon/icons/es/caret--down/16';\nimport CaretLeft16 from '@carbon/icons/es/caret--left/16';\nimport CaretRight16 from '@carbon/icons/es/caret--right/16';\nimport CaretUp16 from '@carbon/icons/es/caret--up/16';\nimport Checkmark16 from '@carbon/icons/es/checkmark/16';\nimport CheckmarkFilled16 from '@carbon/icons/es/checkmark--filled/16';\nimport CheckmarkFilled20 from '@carbon/icons/es/checkmark--filled/20';\nimport CheckmarkOutline16 from '@carbon/icons/es/checkmark--outline/16';\nimport ChevronDown16 from '@carbon/icons/es/chevron--down/16';\nimport ChevronRight16 from '@carbon/icons/es/chevron--right/16';\nimport CircleDash16 from '@carbon/icons/es/circle-dash/16';\nimport Close16 from '@carbon/icons/es/close/16';\nimport Close20 from '@carbon/icons/es/close/20';\nimport Copy16 from '@carbon/icons/es/copy/16';\nimport Copy20 from '@carbon/icons/es/copy/20';\nimport Data216 from '@carbon/icons/es/data--2/16';\nimport Data220 from '@carbon/icons/es/data--2/20';\nimport Delete16 from '@carbon/icons/es/delete/16';\nimport Document16 from '@carbon/icons/es/document/16';\nimport Document20 from '@carbon/icons/es/document/20';\nimport Download16 from '@carbon/icons/es/download/16';\nimport ErrorFilled16 from '@carbon/icons/es/error--filled/16';\nimport ErrorFilled20 from '@carbon/icons/es/error--filled/20';\nimport Fade16 from '@carbon/icons/es/fade/16';\nimport Fade20 from '@carbon/icons/es/fade/20';\nimport Incomplete16 from '@carbon/icons/es/incomplete/16';\nimport InformationFilled16 from '@carbon/icons/es/information--filled/16';\nimport InformationFilled20 from '@carbon/icons/es/information--filled/20';\nimport Menu16 from '@carbon/icons/es/menu/16';\nimport Menu20 from '@carbon/icons/es/menu/20';\nimport OverflowMenuVertical16 from '@carbon/icons/es/overflow-menu--vertical/16';\nimport OverflowMenuHorizontal16 from '@carbon/icons/es/overflow-menu--horizontal/16';\nimport Save16 from '@carbon/icons/es/save/16';\nimport Search16 from '@carbon/icons/es/search/16';\nimport Settings16 from '@carbon/icons/es/settings/16';\nimport SettingsAdjust16 from '@carbon/icons/es/settings--adjust/16';\nimport Subtract16 from '@carbon/icons/es/subtract/16';\nimport Warning16 from '@carbon/icons/es/warning/16';\nimport WarningFilled16 from '@carbon/icons/es/warning--filled/16';\nimport WarningFilled20 from '@carbon/icons/es/warning--filled/20';\nimport WarningAltFilled16 from '@carbon/icons/es/warning--alt--filled/16';\n\n/**\n * Abstract class that represent a cache of icons.\n *\n * The actual caching mechanism will be implementation specific,\n * but it's likely a good idea to key by the icons name and/or size.\n * Icon name and size will always be strings, and they will be the two consistent\n * identifiers of an icon. For the purposes of storage additonal descriptor properties may\n * be used, but the name and size are the only ones guarenteed to be passed for lookup purposes.\n */\nimport * as ɵngcc0 from '@angular/core';\nclass IconCache {\n}\n/**\n * Custom error for when a name can't be found\n */\nclass IconNameNotFoundError extends Error {\n    constructor(name) {\n        super(`Icon ${name} not found`);\n    }\n}\n/**\n * Custom error for when a specific size can't be found\n */\nclass IconSizeNotFoundError extends Error {\n    constructor(size, name) {\n        super(\"Size ${size} for ${name} not found\");\n    }\n}\n/**\n * Concrete implementation of `IconCache` as a simple in memory cache\n */\nclass IconMemoryCache extends IconCache {\n    constructor() {\n        super(...arguments);\n        this.iconMap = new Map();\n    }\n    get(name, size) {\n        if (!this.iconMap.has(name)) {\n            throw new IconNameNotFoundError(name);\n        }\n        const sizeMap = this.iconMap.get(name);\n        if (!sizeMap.has(size)) {\n            throw new IconSizeNotFoundError(size, name);\n        }\n        return sizeMap.get(size);\n    }\n    set(name, size, descriptor) {\n        if (!this.iconMap.has(name)) {\n            this.iconMap.set(name, new Map());\n        }\n        const sizeMap = this.iconMap.get(name);\n        sizeMap.set(size, descriptor);\n    }\n}\n/**\n * The icon service is a singleton service responsible for registering and retriving icons from `@carbon/icons`.\n *\n * It's important to register icons before use. It's reccommended to register your icons early, likely in your app.component.\n *\n * To allow for improved tree shaking _do not_ import all the icons from `@carbon/icons` and register them.\n * Instead register only the icons in use by your application. If your application makes use of lazy loaded\n * modules you may also lazy load the icons used in that module by registering them early on in that module.\n *\n * `ngOnInit` should be sufficiantly early to register icons.\n *\n * Example:\n * ```\n * import { Accessibility16 } from \"@carbon/icons\";\n *\n * // ...\n *\n * class MyComponent implements OnInit {\n * \tconstructor(protected iconService: IconService) {}\n *\n * \t// ...\n *\n * \tngOnInit() {\n * \t\tthis.iconService.register(Accessibility16);\n * \t}\n *\n * \t// ...\n * }\n * ```\n *\n * If needed it is possible to register an icon under a different name, via `registerAs`.\n */\nclass IconService {\n    constructor() {\n        this.iconCache = new IconMemoryCache();\n    }\n    /**\n     * Registers an array of icons based on the metadata provided by `@carbon/icons`\n     */\n    registerAll(descriptors) {\n        descriptors.forEach(icon => this.register(icon));\n    }\n    /**\n     * Registers an icon based on the metadata provided by `@carbon/icons`\n     */\n    register(descriptor) {\n        const { name } = descriptor;\n        this.registerAs(name, descriptor);\n    }\n    /**\n     * Registers an icon based on a uniqe name and metadata provided by `@carbon/icons`\n     */\n    registerAs(name, descriptor) {\n        const { size } = descriptor;\n        this.iconCache.set(name, size.toString(), descriptor);\n    }\n    /**\n     * Gets an icon, converts it to a string, and caches the result\n     */\n    get(name, size) {\n        try {\n            const icon = this.iconCache.get(name, size.toString());\n            if (!icon.svg) {\n                icon.svg = toString(icon);\n            }\n            return icon;\n        }\n        catch (e) {\n            throw e;\n        }\n    }\n    /**\n     * Configure various service settings (caching strategy ...)\n     */\n    configure(options) {\n        this.iconCache = options.cache;\n    }\n}\nIconService.ɵfac = function IconService_Factory(t) { return new (t || IconService)(); };\nIconService.ɵprov = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjectable({ token: IconService, factory: IconService.ɵfac });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(IconService, [{\n        type: Injectable\n    }], function () { return []; }, null); })();\n\n/**\n * A directive for applying styling to an input element.\n *\n * Example:\n *\n * ```html\n * <input ibmText/>\n * ```\n *\n * See the [vanilla carbon docs](http://www.carbondesignsystem.com/components/text-input/code) for more detail.\n */\nclass IconDirective {\n    constructor(elementRef, iconService) {\n        this.elementRef = elementRef;\n        this.iconService = iconService;\n        this.ibmIcon = \"\";\n        this.size = \"16\";\n        this.title = \"\";\n        this.ariaLabel = \"\";\n        this.ariaLabelledBy = \"\";\n        this.ariaHidden = \"\";\n        this.isFocusable = false;\n    }\n    ngAfterViewInit() {\n        const root = this.elementRef.nativeElement;\n        let icon;\n        try {\n            icon = this.iconService.get(this.ibmIcon, this.size.toString());\n        }\n        catch (error) {\n            console.warn(error);\n            // bail out\n            return;\n        }\n        const domParser = new DOMParser();\n        const rawSVG = icon.svg;\n        const svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n        let node = root.tagName.toUpperCase() !== \"SVG\" ? svgElement : svgElement.firstChild;\n        while (node) {\n            // importNode makes a clone of the node\n            // this ensures we keep looping over the nodes in the parsed document\n            root.appendChild(root.ownerDocument.importNode(node, true));\n            // type the node because the angular compiler freaks out if it\n            // ends up thinking it's a `Node` instead of a `ChildNode`\n            node = node.nextSibling;\n        }\n        const svg = root.tagName.toUpperCase() !== \"SVG\" ? svgElement : root;\n        svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n        const attributes = getAttributes({\n            width: icon.attrs.width,\n            height: icon.attrs.height,\n            viewBox: icon.attrs.viewBox,\n            title: this.title,\n            \"aria-label\": this.ariaLabel,\n            \"aria-labelledby\": this.ariaLabelledBy,\n            \"aria-hidden\": this.ariaHidden,\n            focusable: this.isFocusable.toString()\n        });\n        const attrKeys = Object.keys(attributes);\n        for (let i = 0; i < attrKeys.length; i++) {\n            const key = attrKeys[i];\n            const value = attributes[key];\n            if (key === \"title\") {\n                continue;\n            }\n            if (value) {\n                svg.setAttribute(key, value);\n            }\n        }\n        if (attributes[\"title\"]) {\n            const title = document.createElement(\"title\");\n            title.textContent = attributes.title;\n            IconDirective.titleIdCounter++;\n            title.setAttribute(\"id\", `${icon.name}-title-${IconDirective.titleIdCounter}`);\n            // title must be first for screen readers\n            svg.insertBefore(title, svg.firstElementChild);\n            svg.setAttribute(\"aria-labelledby\", `${icon.name}-title-${IconDirective.titleIdCounter}`);\n        }\n    }\n}\nIconDirective.ɵfac = function IconDirective_Factory(t) { return new (t || IconDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef), ɵngcc0.ɵɵdirectiveInject(IconService)); };\nIconDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: IconDirective, selectors: [[\"\", \"ibmIcon\", \"\"]], inputs: { ibmIcon: \"ibmIcon\", size: \"size\", title: \"title\", ariaLabel: \"ariaLabel\", ariaLabelledBy: \"ariaLabelledBy\", ariaHidden: \"ariaHidden\", isFocusable: \"isFocusable\" } });\nIconDirective.titleIdCounter = 0;\n/** @nocollapse */\nIconDirective.ctorParameters = () => [\n    { type: ElementRef },\n    { type: IconService }\n];\nIconDirective.propDecorators = {\n    ibmIcon: [{ type: Input }],\n    size: [{ type: Input }],\n    title: [{ type: Input }],\n    ariaLabel: [{ type: Input }],\n    ariaLabelledBy: [{ type: Input }],\n    ariaHidden: [{ type: Input }],\n    isFocusable: [{ type: Input }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(IconDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmIcon]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }, { type: IconService }]; }, { ibmIcon: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledBy: [{\n            type: Input\n        }], ariaHidden: [{\n            type: Input\n        }], isFocusable: [{\n            type: Input\n        }] }); })();\n\n// modules\n// either provides a new instance of IconService, or returns the parent\nfunction ICON_SERVICE_PROVIDER_FACTORY(parentService) {\n    return parentService || new IconService();\n}\n// icon service *must* be a singleton to ensure that icons are accessible globally and not duplicated\nconst ICON_SERVICE_PROVIDER = {\n    provide: IconService,\n    deps: [[new Optional(), new SkipSelf(), IconService]],\n    useFactory: ICON_SERVICE_PROVIDER_FACTORY\n};\nclass IconModule {\n    constructor(iconService) {\n        this.iconService = iconService;\n        iconService.registerAll([\n            Add16,\n            Add20,\n            Bee16,\n            Bee20,\n            Calendar16,\n            Carbon16,\n            Carbon20,\n            CaretDown16,\n            CaretLeft16,\n            CaretRight16,\n            CaretUp16,\n            Checkmark16,\n            CheckmarkFilled16,\n            CheckmarkFilled20,\n            CheckmarkOutline16,\n            ChevronDown16,\n            ChevronRight16,\n            CircleDash16,\n            Close16,\n            Close20,\n            Copy16,\n            Copy20,\n            Data216,\n            Data220,\n            Delete16,\n            Document16,\n            Document20,\n            Download16,\n            ErrorFilled16,\n            ErrorFilled20,\n            Fade16,\n            Fade20,\n            Incomplete16,\n            InformationFilled16,\n            InformationFilled20,\n            Menu16,\n            Menu20,\n            OverflowMenuVertical16,\n            OverflowMenuHorizontal16,\n            Save16,\n            Search16,\n            Settings16,\n            SettingsAdjust16,\n            Subtract16,\n            Warning16,\n            WarningFilled16,\n            WarningFilled20,\n            WarningAltFilled16\n        ]);\n    }\n}\nIconModule.ɵfac = function IconModule_Factory(t) { return new (t || IconModule)(ɵngcc0.ɵɵinject(IconService)); };\nIconModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: IconModule });\nIconModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({ providers: [\n        ICON_SERVICE_PROVIDER\n    ], imports: [CommonModule] });\n/** @nocollapse */\nIconModule.ctorParameters = () => [\n    { type: IconService }\n];\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(IconModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    IconDirective\n                ],\n                exports: [\n                    IconDirective\n                ],\n                imports: [\n                    CommonModule\n                ],\n                providers: [\n                    ICON_SERVICE_PROVIDER\n                ]\n            }]\n    }], function () { return [{ type: IconService }]; }, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(IconModule, { declarations: function () { return [IconDirective]; }, imports: function () { return [CommonModule]; }, exports: function () { return [IconDirective]; } }); })();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { IconDirective, ICON_SERVICE_PROVIDER, ICON_SERVICE_PROVIDER_FACTORY, IconModule, IconCache, IconMemoryCache, IconNameNotFoundError, IconService, IconSizeNotFoundError };\n\n","/**\n *\n * carbon-angular v0.0.0 | carbon-components-angular-inline-loading.js\n *\n * Copyright 2014, 2023 IBM\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\nimport { Component, Input, Output, EventEmitter, HostBinding, NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { IconModule } from 'carbon-components-angular/icon';\n\nimport * as ɵngcc0 from '@angular/core';\nimport * as ɵngcc1 from '@angular/common';\nimport * as ɵngcc2 from 'carbon-components-angular/icon';\n\nconst _c0 = function (a0) { return { \"bx--loading--stop\": a0 }; };\nfunction InlineLoading_div_0_div_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"div\", 6);\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵelementStart(1, \"svg\", 7);\n    ɵngcc0.ɵɵelement(2, \"circle\", 8)(3, \"circle\", 9);\n    ɵngcc0.ɵɵelementEnd()();\n} if (rf & 2) {\n    const ctx_r4 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction1(1, _c0, ctx_r4.state === ctx_r4.InlineLoadingState.Inactive));\n} }\nfunction InlineLoading_div_0__svg_svg_2_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵelement(0, \"svg\", 10);\n} }\nfunction InlineLoading_div_0__svg_svg_3_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵelement(0, \"svg\", 11);\n} }\nfunction InlineLoading_div_0_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"div\", 2);\n    ɵngcc0.ɵɵtemplate(1, InlineLoading_div_0_div_1_Template, 4, 3, \"div\", 3);\n    ɵngcc0.ɵɵtemplate(2, InlineLoading_div_0__svg_svg_2_Template, 1, 0, \"svg\", 4);\n    ɵngcc0.ɵɵtemplate(3, InlineLoading_div_0__svg_svg_3_Template, 1, 0, \"svg\", 5);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r0 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r0.state === ctx_r0.InlineLoadingState.Inactive || ctx_r0.state === ctx_r0.InlineLoadingState.Active);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r0.state === ctx_r0.InlineLoadingState.Finished);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r0.state === ctx_r0.InlineLoadingState.Error);\n} }\nfunction InlineLoading_p_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"p\", 12);\n    ɵngcc0.ɵɵtext(1);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r1 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate(ctx_r1.loadingText);\n} }\nfunction InlineLoading_p_2_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"p\", 12);\n    ɵngcc0.ɵɵtext(1);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r2 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate(ctx_r2.successText);\n} }\nfunction InlineLoading_p_3_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"p\", 12);\n    ɵngcc0.ɵɵtext(1);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r3 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate(ctx_r3.errorText);\n} }\nvar InlineLoadingState;\n(function (InlineLoadingState) {\n    /** It hides the whole component. */\n    InlineLoadingState[\"Hidden\"] = \"hidden\";\n    /** It shows the `loadingText` but no loading animation. */\n    InlineLoadingState[\"Inactive\"] = \"inactive\";\n    /** It shows the `loadingText` with loading animation. */\n    InlineLoadingState[\"Active\"] = \"active\";\n    /** It shows the `successText` with a success state. */\n    InlineLoadingState[\"Finished\"] = \"finished\";\n    /** It shows the `errorText` with an error state. */\n    InlineLoadingState[\"Error\"] = \"error\";\n})(InlineLoadingState || (InlineLoadingState = {}));\n/**\n * [See demo](../../?path=/story/components-inline-loading--basic)\n *\n * <example-url>../../iframe.html?id=components-inline-loading--basic</example-url>\n */\nclass InlineLoading {\n    constructor() {\n        this.InlineLoadingState = InlineLoadingState;\n        /**\n         * Specify the text description for the loading state.\n         */\n        this.state = InlineLoadingState.Active;\n        /**\n         * Provide a delay for the `setTimeout` for success.\n         */\n        this.successDelay = 1500;\n        /**\n         * Emits event after the success state is active\n         */\n        this.onSuccess = new EventEmitter();\n        this.loadingClass = true;\n    }\n    /**\n     * set to `false` to stop the loading animation\n     */\n    get isActive() {\n        return this.state === InlineLoadingState.Active;\n    }\n    set isActive(active) {\n        this.state = active ? InlineLoadingState.Active : InlineLoadingState.Inactive;\n    }\n    /**\n     * Returns value `true` if the component is in the success state.\n     */\n    get success() {\n        return this.state === InlineLoadingState.Finished;\n    }\n    /**\n     * Set the component's state to match the parameter and emits onSuccess if it exits.\n     */\n    set success(success) {\n        this.state = success ? InlineLoadingState.Finished : InlineLoadingState.Error;\n        if (this.state === InlineLoadingState.Finished) {\n            setTimeout(() => {\n                this.onSuccess.emit();\n            }, this.successDelay);\n        }\n    }\n}\nInlineLoading.ɵfac = function InlineLoading_Factory(t) { return new (t || InlineLoading)(); };\nInlineLoading.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: InlineLoading, selectors: [[\"ibm-inline-loading\"]], hostVars: 2, hostBindings: function InlineLoading_HostBindings(rf, ctx) { if (rf & 2) {\n        ɵngcc0.ɵɵclassProp(\"bx--inline-loading\", ctx.loadingClass);\n    } }, inputs: { state: \"state\", successDelay: \"successDelay\", isActive: \"isActive\", success: \"success\", loadingText: \"loadingText\", successText: \"successText\", errorText: \"errorText\" }, outputs: { onSuccess: \"onSuccess\" }, decls: 4, vars: 4, consts: [[\"class\", \"bx--inline-loading__animation\", 4, \"ngIf\"], [\"class\", \"bx--inline-loading__text\", 4, \"ngIf\"], [1, \"bx--inline-loading__animation\"], [\"class\", \"bx--loading bx--loading--small\", 3, \"ngClass\", 4, \"ngIf\"], [\"ibmIcon\", \"checkmark--filled\", \"size\", \"16\", \"class\", \"bx--inline-loading__checkmark-container\", 4, \"ngIf\"], [\"ibmIcon\", \"error--filled\", \"size\", \"16\", \"class\", \"bx--inline-loading--error\", 4, \"ngIf\"], [1, \"bx--loading\", \"bx--loading--small\", 3, \"ngClass\"], [\"viewBox\", \"0 0 100 100\", 1, \"bx--loading__svg\"], [\"cx\", \"50%\", \"cy\", \"50%\", \"r\", \"44\", 1, \"bx--loading__background\"], [\"cx\", \"50%\", \"cy\", \"50%\", \"r\", \"44\", 1, \"bx--loading__stroke\"], [\"ibmIcon\", \"checkmark--filled\", \"size\", \"16\", 1, \"bx--inline-loading__checkmark-container\"], [\"ibmIcon\", \"error--filled\", \"size\", \"16\", 1, \"bx--inline-loading--error\"], [1, \"bx--inline-loading__text\"]], template: function InlineLoading_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵtemplate(0, InlineLoading_div_0_Template, 4, 3, \"div\", 0);\n        ɵngcc0.ɵɵtemplate(1, InlineLoading_p_1_Template, 2, 1, \"p\", 1);\n        ɵngcc0.ɵɵtemplate(2, InlineLoading_p_2_Template, 2, 1, \"p\", 1);\n        ɵngcc0.ɵɵtemplate(3, InlineLoading_p_3_Template, 2, 1, \"p\", 1);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.state !== ctx.InlineLoadingState.Hidden);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.state === ctx.InlineLoadingState.Inactive || ctx.state === ctx.InlineLoadingState.Active);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.state === ctx.InlineLoadingState.Finished);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.state === ctx.InlineLoadingState.Error);\n    } }, dependencies: [ɵngcc1.NgClass, ɵngcc1.NgIf, ɵngcc2.IconDirective], encapsulation: 2 });\nInlineLoading.propDecorators = {\n    state: [{ type: Input }],\n    loadingText: [{ type: Input }],\n    successText: [{ type: Input }],\n    successDelay: [{ type: Input }],\n    errorText: [{ type: Input }],\n    isActive: [{ type: Input }],\n    success: [{ type: Input }],\n    onSuccess: [{ type: Output }],\n    loadingClass: [{ type: HostBinding, args: [\"class.bx--inline-loading\",] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(InlineLoading, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-inline-loading\",\n                template: `\n\t\t<div *ngIf=\"state !== InlineLoadingState.Hidden\"\n\t\t\tclass=\"bx--inline-loading__animation\">\n\t\t\t<div\n\t\t\t\t*ngIf=\"state === InlineLoadingState.Inactive || state === InlineLoadingState.Active\"\n\t\t\t\tclass=\"bx--loading bx--loading--small\"\n\t\t\t\t[ngClass]=\"{\n\t\t\t\t\t'bx--loading--stop': state === InlineLoadingState.Inactive\n\t\t\t\t}\">\n\t\t\t\t<svg class=\"bx--loading__svg\" viewBox=\"0 0 100 100\">\n\t\t\t\t\t<circle class=\"bx--loading__background\" cx=\"50%\" cy=\"50%\" r=\"44\" />\n\t\t\t\t\t<circle class=\"bx--loading__stroke\" cx=\"50%\" cy=\"50%\" r=\"44\" />\n\t\t\t\t</svg>\n\t\t\t</div>\n\t\t\t<svg\n\t\t\t\t*ngIf=\"state === InlineLoadingState.Finished\"\n\t\t\t\tibmIcon=\"checkmark--filled\"\n\t\t\t\tsize=\"16\"\n\t\t\t\tclass=\"bx--inline-loading__checkmark-container\">\n\t\t\t</svg>\n\t\t\t<svg\n\t\t\t\t*ngIf=\"state === InlineLoadingState.Error\"\n\t\t\t\tibmIcon=\"error--filled\"\n\t\t\t\tsize=\"16\"\n\t\t\t\tclass=\"bx--inline-loading--error\">\n\t\t\t</svg>\n\t\t</div>\n\t\t<p\n\t\t\t*ngIf=\"state === InlineLoadingState.Inactive || state === InlineLoadingState.Active\"\n\t\t\tclass=\"bx--inline-loading__text\">{{loadingText}}</p>\n\t\t<p *ngIf=\"state === InlineLoadingState.Finished\" class=\"bx--inline-loading__text\">{{successText}}</p>\n\t\t<p *ngIf=\"state === InlineLoadingState.Error\" class=\"bx--inline-loading__text\">{{errorText}}</p>\n\t`\n            }]\n    }], function () { return []; }, { state: [{\n            type: Input\n        }], successDelay: [{\n            type: Input\n        }], onSuccess: [{\n            type: Output\n        }], loadingClass: [{\n            type: HostBinding,\n            args: [\"class.bx--inline-loading\"]\n        }], isActive: [{\n            type: Input\n        }], success: [{\n            type: Input\n        }], loadingText: [{\n            type: Input\n        }], successText: [{\n            type: Input\n        }], errorText: [{\n            type: Input\n        }] }); })();\n\nclass InlineLoadingModule {\n}\nInlineLoadingModule.ɵfac = function InlineLoadingModule_Factory(t) { return new (t || InlineLoadingModule)(); };\nInlineLoadingModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: InlineLoadingModule });\nInlineLoadingModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({ imports: [CommonModule, IconModule] });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(InlineLoadingModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [InlineLoading],\n                exports: [InlineLoading],\n                imports: [CommonModule, IconModule]\n            }]\n    }], null, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(InlineLoadingModule, { declarations: function () { return [InlineLoading]; }, imports: function () { return [CommonModule, IconModule]; }, exports: function () { return [InlineLoading]; } }); })();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { InlineLoading, InlineLoadingState, InlineLoadingModule };\n\n","/**\n *\n * carbon-angular v0.0.0 | carbon-components-angular-input.js\n *\n * Copyright 2014, 2023 IBM\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\nimport { FormsModule } from '@angular/forms';\nimport { CommonModule } from '@angular/common';\nimport { Directive, HostBinding, Input, Component, TemplateRef, ViewChild, ContentChild, ChangeDetectorRef, NgModule } from '@angular/core';\nimport { IconModule } from 'carbon-components-angular/icon';\n\n/**\n * A directive for applying styling to an input element.\n *\n * Example:\n *\n * ```html\n * <input ibmText/>\n * ```\n *\n * See the [vanilla carbon docs](http://www.carbondesignsystem.com/components/text-input/code) for more detail.\n */\nimport * as ɵngcc0 from '@angular/core';\nimport * as ɵngcc1 from '@angular/common';\nimport * as ɵngcc2 from 'carbon-components-angular/icon';\n\nconst _c0 = [\"wrapper\"];\nfunction Label_ng_template_0_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵprojection(0);\n} }\nfunction Label_ng_template_2_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵprojection(0, 1);\n} }\nfunction Label_ng_container_5_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainerStart(0);\n    ɵngcc0.ɵɵelement(1, \"ibm-textarea-label\", 6);\n    ɵngcc0.ɵɵelementContainerEnd();\n} if (rf & 2) {\n    const ctx_r4 = ɵngcc0.ɵɵnextContext();\n    const _r2 = ɵngcc0.ɵɵreference(3);\n    const _r0 = ɵngcc0.ɵɵreference(1);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"labelInputID\", ctx_r4.labelInputID)(\"disabled\", ctx_r4.disabled)(\"skeleton\", ctx_r4.skeleton)(\"helperText\", ctx_r4.helperText)(\"invalid\", ctx_r4.invalid)(\"invalidText\", ctx_r4.invalidText)(\"warn\", ctx_r4.warn)(\"warnText\", ctx_r4.warnText)(\"ariaLabel\", ctx_r4.ariaLabel)(\"labelTemplate\", _r2)(\"textAreaTemplate\", _r0);\n} }\nfunction Label_ng_container_6_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainerStart(0);\n    ɵngcc0.ɵɵelement(1, \"ibm-text-label\", 7);\n    ɵngcc0.ɵɵelementContainerEnd();\n} if (rf & 2) {\n    const ctx_r5 = ɵngcc0.ɵɵnextContext();\n    const _r2 = ɵngcc0.ɵɵreference(3);\n    const _r0 = ɵngcc0.ɵɵreference(1);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"labelInputID\", ctx_r5.labelInputID)(\"disabled\", ctx_r5.disabled)(\"skeleton\", ctx_r5.skeleton)(\"helperText\", ctx_r5.helperText)(\"invalid\", ctx_r5.invalid)(\"invalidText\", ctx_r5.invalidText)(\"warn\", ctx_r5.warn)(\"warnText\", ctx_r5.warnText)(\"ariaLabel\", ctx_r5.ariaLabel)(\"labelTemplate\", _r2)(\"textInputTemplate\", _r0);\n} }\nfunction Label_ng_container_7_ng_template_1_Template(rf, ctx) { }\nfunction Label_ng_container_7_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainerStart(0);\n    ɵngcc0.ɵɵtemplate(1, Label_ng_container_7_ng_template_1_Template, 0, 0, \"ng-template\", 8);\n    ɵngcc0.ɵɵelementContainerEnd();\n} if (rf & 2) {\n    ɵngcc0.ɵɵnextContext();\n    const _r7 = ɵngcc0.ɵɵreference(9);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", _r7);\n} }\nfunction Label_ng_template_8_ng_template_1_Template(rf, ctx) { }\nfunction Label_ng_template_8__svg_svg_4_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵelement(0, \"svg\", 16);\n} }\nfunction Label_ng_template_8__svg_svg_5_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵelement(0, \"svg\", 17);\n} }\nfunction Label_ng_template_8_ng_template_6_Template(rf, ctx) { }\nfunction Label_ng_template_8_div_7_ng_container_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainerStart(0);\n    ɵngcc0.ɵɵtext(1);\n    ɵngcc0.ɵɵelementContainerEnd();\n} if (rf & 2) {\n    const ctx_r18 = ɵngcc0.ɵɵnextContext(3);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate(ctx_r18.helperText);\n} }\nfunction Label_ng_template_8_div_7_2_ng_template_0_Template(rf, ctx) { }\nfunction Label_ng_template_8_div_7_2_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵtemplate(0, Label_ng_template_8_div_7_2_ng_template_0_Template, 0, 0, \"ng-template\", 8);\n} if (rf & 2) {\n    const ctx_r19 = ɵngcc0.ɵɵnextContext(3);\n    ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r19.helperText);\n} }\nconst _c1 = function (a0) { return { \"bx--form__helper-text--disabled\": a0 }; };\nfunction Label_ng_template_8_div_7_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"div\", 18);\n    ɵngcc0.ɵɵtemplate(1, Label_ng_template_8_div_7_ng_container_1_Template, 2, 1, \"ng-container\", 19);\n    ɵngcc0.ɵɵtemplate(2, Label_ng_template_8_div_7_2_Template, 1, 1, null, 19);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r15 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction1(3, _c1, ctx_r15.disabled));\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r15.isTemplate(ctx_r15.helperText));\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r15.isTemplate(ctx_r15.helperText));\n} }\nfunction Label_ng_template_8_div_8_ng_container_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainerStart(0);\n    ɵngcc0.ɵɵtext(1);\n    ɵngcc0.ɵɵelementContainerEnd();\n} if (rf & 2) {\n    const ctx_r21 = ɵngcc0.ɵɵnextContext(3);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate(ctx_r21.invalidText);\n} }\nfunction Label_ng_template_8_div_8_2_ng_template_0_Template(rf, ctx) { }\nfunction Label_ng_template_8_div_8_2_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵtemplate(0, Label_ng_template_8_div_8_2_ng_template_0_Template, 0, 0, \"ng-template\", 8);\n} if (rf & 2) {\n    const ctx_r22 = ɵngcc0.ɵɵnextContext(3);\n    ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r22.invalidText);\n} }\nfunction Label_ng_template_8_div_8_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"div\", 20);\n    ɵngcc0.ɵɵtemplate(1, Label_ng_template_8_div_8_ng_container_1_Template, 2, 1, \"ng-container\", 19);\n    ɵngcc0.ɵɵtemplate(2, Label_ng_template_8_div_8_2_Template, 1, 1, null, 19);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r16 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r16.isTemplate(ctx_r16.invalidText));\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r16.isTemplate(ctx_r16.invalidText));\n} }\nfunction Label_ng_template_8_div_9_ng_container_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainerStart(0);\n    ɵngcc0.ɵɵtext(1);\n    ɵngcc0.ɵɵelementContainerEnd();\n} if (rf & 2) {\n    const ctx_r24 = ɵngcc0.ɵɵnextContext(3);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate(ctx_r24.warnText);\n} }\nfunction Label_ng_template_8_div_9_2_ng_template_0_Template(rf, ctx) { }\nfunction Label_ng_template_8_div_9_2_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵtemplate(0, Label_ng_template_8_div_9_2_ng_template_0_Template, 0, 0, \"ng-template\", 8);\n} if (rf & 2) {\n    const ctx_r25 = ɵngcc0.ɵɵnextContext(3);\n    ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r25.warnText);\n} }\nfunction Label_ng_template_8_div_9_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"div\", 20);\n    ɵngcc0.ɵɵtemplate(1, Label_ng_template_8_div_9_ng_container_1_Template, 2, 1, \"ng-container\", 19);\n    ɵngcc0.ɵɵtemplate(2, Label_ng_template_8_div_9_2_Template, 1, 1, null, 19);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r17 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r17.isTemplate(ctx_r17.warnText));\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r17.isTemplate(ctx_r17.warnText));\n} }\nconst _c2 = function (a0, a1) { return { \"bx--label--disabled\": a0, \"bx--skeleton\": a1 }; };\nconst _c3 = function (a0) { return { \"bx--text-input__field-wrapper--warning\": a0 }; };\nfunction Label_ng_template_8_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"label\", 9);\n    ɵngcc0.ɵɵtemplate(1, Label_ng_template_8_ng_template_1_Template, 0, 0, \"ng-template\", 8);\n    ɵngcc0.ɵɵelementEnd();\n    ɵngcc0.ɵɵelementStart(2, \"div\", 10, 11);\n    ɵngcc0.ɵɵtemplate(4, Label_ng_template_8__svg_svg_4_Template, 1, 0, \"svg\", 12);\n    ɵngcc0.ɵɵtemplate(5, Label_ng_template_8__svg_svg_5_Template, 1, 0, \"svg\", 13);\n    ɵngcc0.ɵɵtemplate(6, Label_ng_template_8_ng_template_6_Template, 0, 0, \"ng-template\", 8);\n    ɵngcc0.ɵɵelementEnd();\n    ɵngcc0.ɵɵtemplate(7, Label_ng_template_8_div_7_Template, 3, 5, \"div\", 14);\n    ɵngcc0.ɵɵtemplate(8, Label_ng_template_8_div_8_Template, 3, 2, \"div\", 15);\n    ɵngcc0.ɵɵtemplate(9, Label_ng_template_8_div_9_Template, 3, 2, \"div\", 15);\n} if (rf & 2) {\n    const ctx_r8 = ɵngcc0.ɵɵnextContext();\n    const _r2 = ɵngcc0.ɵɵreference(3);\n    const _r0 = ɵngcc0.ɵɵreference(1);\n    ɵngcc0.ɵɵproperty(\"for\", ctx_r8.labelInputID)(\"ngClass\", ɵngcc0.ɵɵpureFunction2(12, _c2, ctx_r8.disabled, ctx_r8.skeleton));\n    ɵngcc0.ɵɵattribute(\"aria-label\", ctx_r8.ariaLabel);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", _r2);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction1(15, _c3, ctx_r8.warn));\n    ɵngcc0.ɵɵattribute(\"data-invalid\", ctx_r8.invalid ? true : null);\n    ɵngcc0.ɵɵadvance(2);\n    ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r8.warn && ctx_r8.invalid);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r8.invalid && ctx_r8.warn);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", _r0);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r8.skeleton && ctx_r8.helperText && !ctx_r8.invalid && !ctx_r8.warn);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r8.warn && ctx_r8.invalid);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r8.invalid && ctx_r8.warn);\n} }\nconst _c4 = [[[\"input\"], [\"textarea\"], [\"div\"]], \"*\"];\nconst _c5 = [\"input,textarea,div\", \"*\"];\nfunction TextareaLabelComponent_1_ng_template_0_Template(rf, ctx) { }\nfunction TextareaLabelComponent_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵtemplate(0, TextareaLabelComponent_1_ng_template_0_Template, 0, 0, \"ng-template\", 10);\n} if (rf & 2) {\n    const ctx_r0 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r0.labelTemplate);\n} }\nfunction TextareaLabelComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵprojection(0);\n} }\nfunction TextareaLabelComponent__svg_svg_6_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵelement(0, \"svg\", 11);\n} }\nfunction TextareaLabelComponent__svg_svg_7_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵelement(0, \"svg\", 12);\n} }\nfunction TextareaLabelComponent_8_ng_template_0_Template(rf, ctx) { }\nfunction TextareaLabelComponent_8_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵtemplate(0, TextareaLabelComponent_8_ng_template_0_Template, 0, 0, \"ng-template\", 10);\n} if (rf & 2) {\n    const ctx_r6 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r6.textAreaTemplate);\n} }\nfunction TextareaLabelComponent_ng_template_9_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵprojection(0, 1);\n} }\nfunction TextareaLabelComponent_div_11_ng_container_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainerStart(0);\n    ɵngcc0.ɵɵtext(1);\n    ɵngcc0.ɵɵelementContainerEnd();\n} if (rf & 2) {\n    const ctx_r14 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate(ctx_r14.helperText);\n} }\nfunction TextareaLabelComponent_div_11_2_ng_template_0_Template(rf, ctx) { }\nfunction TextareaLabelComponent_div_11_2_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵtemplate(0, TextareaLabelComponent_div_11_2_ng_template_0_Template, 0, 0, \"ng-template\", 10);\n} if (rf & 2) {\n    const ctx_r15 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r15.helperText);\n} }\nfunction TextareaLabelComponent_div_11_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"div\", 13);\n    ɵngcc0.ɵɵtemplate(1, TextareaLabelComponent_div_11_ng_container_1_Template, 2, 1, \"ng-container\", 14);\n    ɵngcc0.ɵɵtemplate(2, TextareaLabelComponent_div_11_2_Template, 1, 1, null, 14);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r9 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction1(3, _c1, ctx_r9.disabled));\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r9.isTemplate(ctx_r9.helperText));\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r9.isTemplate(ctx_r9.helperText));\n} }\nfunction TextareaLabelComponent_div_12_ng_container_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainerStart(0);\n    ɵngcc0.ɵɵtext(1);\n    ɵngcc0.ɵɵelementContainerEnd();\n} if (rf & 2) {\n    const ctx_r17 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate(ctx_r17.invalidText);\n} }\nfunction TextareaLabelComponent_div_12_2_ng_template_0_Template(rf, ctx) { }\nfunction TextareaLabelComponent_div_12_2_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵtemplate(0, TextareaLabelComponent_div_12_2_ng_template_0_Template, 0, 0, \"ng-template\", 10);\n} if (rf & 2) {\n    const ctx_r18 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r18.invalidText);\n} }\nfunction TextareaLabelComponent_div_12_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"div\", 15);\n    ɵngcc0.ɵɵtemplate(1, TextareaLabelComponent_div_12_ng_container_1_Template, 2, 1, \"ng-container\", 14);\n    ɵngcc0.ɵɵtemplate(2, TextareaLabelComponent_div_12_2_Template, 1, 1, null, 14);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r10 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r10.isTemplate(ctx_r10.invalidText));\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r10.isTemplate(ctx_r10.invalidText));\n} }\nfunction TextareaLabelComponent_div_13_ng_container_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainerStart(0);\n    ɵngcc0.ɵɵtext(1);\n    ɵngcc0.ɵɵelementContainerEnd();\n} if (rf & 2) {\n    const ctx_r20 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate(ctx_r20.warnText);\n} }\nfunction TextareaLabelComponent_div_13_2_ng_template_0_Template(rf, ctx) { }\nfunction TextareaLabelComponent_div_13_2_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵtemplate(0, TextareaLabelComponent_div_13_2_ng_template_0_Template, 0, 0, \"ng-template\", 10);\n} if (rf & 2) {\n    const ctx_r21 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r21.warnText);\n} }\nfunction TextareaLabelComponent_div_13_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"div\", 15);\n    ɵngcc0.ɵɵtemplate(1, TextareaLabelComponent_div_13_ng_container_1_Template, 2, 1, \"ng-container\", 14);\n    ɵngcc0.ɵɵtemplate(2, TextareaLabelComponent_div_13_2_Template, 1, 1, null, 14);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r11 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r11.isTemplate(ctx_r11.warnText));\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r11.isTemplate(ctx_r11.warnText));\n} }\nconst _c6 = [\"*\", [[\"textarea\"]]];\nconst _c7 = [\"*\", \"textarea\"];\nfunction TextInputLabelComponent_1_ng_template_0_Template(rf, ctx) { }\nfunction TextInputLabelComponent_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵtemplate(0, TextInputLabelComponent_1_ng_template_0_Template, 0, 0, \"ng-template\", 10);\n} if (rf & 2) {\n    const ctx_r0 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r0.labelTemplate);\n} }\nfunction TextInputLabelComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵprojection(0);\n} }\nfunction TextInputLabelComponent__svg_svg_6_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵelement(0, \"svg\", 11);\n} }\nfunction TextInputLabelComponent__svg_svg_7_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵelement(0, \"svg\", 12);\n} }\nfunction TextInputLabelComponent_8_ng_template_0_Template(rf, ctx) { }\nfunction TextInputLabelComponent_8_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵtemplate(0, TextInputLabelComponent_8_ng_template_0_Template, 0, 0, \"ng-template\", 10);\n} if (rf & 2) {\n    const ctx_r6 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r6.textInputTemplate);\n} }\nfunction TextInputLabelComponent_ng_template_9_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵprojection(0, 1);\n} }\nfunction TextInputLabelComponent_div_11_ng_container_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainerStart(0);\n    ɵngcc0.ɵɵtext(1);\n    ɵngcc0.ɵɵelementContainerEnd();\n} if (rf & 2) {\n    const ctx_r14 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate(ctx_r14.helperText);\n} }\nfunction TextInputLabelComponent_div_11_2_ng_template_0_Template(rf, ctx) { }\nfunction TextInputLabelComponent_div_11_2_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵtemplate(0, TextInputLabelComponent_div_11_2_ng_template_0_Template, 0, 0, \"ng-template\", 10);\n} if (rf & 2) {\n    const ctx_r15 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r15.helperText);\n} }\nfunction TextInputLabelComponent_div_11_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"div\", 13);\n    ɵngcc0.ɵɵtemplate(1, TextInputLabelComponent_div_11_ng_container_1_Template, 2, 1, \"ng-container\", 14);\n    ɵngcc0.ɵɵtemplate(2, TextInputLabelComponent_div_11_2_Template, 1, 1, null, 14);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r9 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction1(3, _c1, ctx_r9.disabled));\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r9.isTemplate(ctx_r9.helperText));\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r9.isTemplate(ctx_r9.helperText));\n} }\nfunction TextInputLabelComponent_div_12_ng_container_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainerStart(0);\n    ɵngcc0.ɵɵtext(1);\n    ɵngcc0.ɵɵelementContainerEnd();\n} if (rf & 2) {\n    const ctx_r17 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate(ctx_r17.invalidText);\n} }\nfunction TextInputLabelComponent_div_12_2_ng_template_0_Template(rf, ctx) { }\nfunction TextInputLabelComponent_div_12_2_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵtemplate(0, TextInputLabelComponent_div_12_2_ng_template_0_Template, 0, 0, \"ng-template\", 10);\n} if (rf & 2) {\n    const ctx_r18 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r18.invalidText);\n} }\nfunction TextInputLabelComponent_div_12_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"div\", 15);\n    ɵngcc0.ɵɵtemplate(1, TextInputLabelComponent_div_12_ng_container_1_Template, 2, 1, \"ng-container\", 14);\n    ɵngcc0.ɵɵtemplate(2, TextInputLabelComponent_div_12_2_Template, 1, 1, null, 14);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r10 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r10.isTemplate(ctx_r10.invalidText));\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r10.isTemplate(ctx_r10.invalidText));\n} }\nfunction TextInputLabelComponent_div_13_ng_container_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainerStart(0);\n    ɵngcc0.ɵɵtext(1);\n    ɵngcc0.ɵɵelementContainerEnd();\n} if (rf & 2) {\n    const ctx_r20 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate(ctx_r20.warnText);\n} }\nfunction TextInputLabelComponent_div_13_2_ng_template_0_Template(rf, ctx) { }\nfunction TextInputLabelComponent_div_13_2_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵtemplate(0, TextInputLabelComponent_div_13_2_ng_template_0_Template, 0, 0, \"ng-template\", 10);\n} if (rf & 2) {\n    const ctx_r21 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r21.warnText);\n} }\nfunction TextInputLabelComponent_div_13_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"div\", 15);\n    ɵngcc0.ɵɵtemplate(1, TextInputLabelComponent_div_13_ng_container_1_Template, 2, 1, \"ng-container\", 14);\n    ɵngcc0.ɵɵtemplate(2, TextInputLabelComponent_div_13_2_Template, 1, 1, null, 14);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r11 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r11.isTemplate(ctx_r11.warnText));\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r11.isTemplate(ctx_r11.warnText));\n} }\nconst _c8 = [\"*\", [[\"input\", \"type\", \"text\"], [\"div\"]]];\nconst _c9 = [\"*\", \"input[type=text],div\"];\nclass TextInput {\n    constructor() {\n        /**\n         * `light` or `dark` input theme\n         */\n        this.theme = \"dark\";\n        /**\n         * Input field render size\n         */\n        this.size = \"md\";\n        this.inputClass = true;\n        this.invalid = false;\n        this.warn = false;\n        this.skeleton = false;\n    }\n    get isSizeXl() {\n        return this.size === \"xl\";\n    }\n    get isSizeSm() {\n        return this.size === \"sm\";\n    }\n    get isLightTheme() {\n        return this.theme === \"light\";\n    }\n}\nTextInput.ɵfac = function TextInput_Factory(t) { return new (t || TextInput)(); };\nTextInput.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: TextInput, selectors: [[\"\", \"ibmText\", \"\"]], hostVars: 14, hostBindings: function TextInput_HostBindings(rf, ctx) { if (rf & 2) {\n        ɵngcc0.ɵɵclassProp(\"bx--text-input\", ctx.inputClass)(\"bx--text-input--invalid\", ctx.invalid)(\"bx--text-input__field-wrapper--warning\", ctx.warn)(\"bx--skeleton\", ctx.skeleton)(\"bx--text-input--xl\", ctx.isSizeXl)(\"bx--text-input--sm\", ctx.isSizeSm)(\"bx--text-input--light\", ctx.isLightTheme);\n    } }, inputs: { theme: \"theme\", size: \"size\", invalid: \"invalid\", warn: \"warn\", skeleton: \"skeleton\" } });\nTextInput.propDecorators = {\n    theme: [{ type: Input }],\n    size: [{ type: Input }],\n    inputClass: [{ type: HostBinding, args: [\"class.bx--text-input\",] }],\n    isSizeXl: [{ type: HostBinding, args: [\"class.bx--text-input--xl\",] }],\n    isSizeSm: [{ type: HostBinding, args: [\"class.bx--text-input--sm\",] }],\n    invalid: [{ type: HostBinding, args: [\"class.bx--text-input--invalid\",] }, { type: Input }],\n    warn: [{ type: HostBinding, args: [\"class.bx--text-input__field-wrapper--warning\",] }, { type: Input }],\n    skeleton: [{ type: HostBinding, args: [\"class.bx--skeleton\",] }, { type: Input }],\n    isLightTheme: [{ type: HostBinding, args: [\"class.bx--text-input--light\",] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(TextInput, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmText]\"\n            }]\n    }], function () { return []; }, { theme: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }], inputClass: [{\n            type: HostBinding,\n            args: [\"class.bx--text-input\"]\n        }], invalid: [{\n            type: HostBinding,\n            args: [\"class.bx--text-input--invalid\"]\n        }, {\n            type: Input\n        }], warn: [{\n            type: HostBinding,\n            args: [\"class.bx--text-input__field-wrapper--warning\"]\n        }, {\n            type: Input\n        }], skeleton: [{\n            type: HostBinding,\n            args: [\"class.bx--skeleton\"]\n        }, {\n            type: Input\n        }], isSizeXl: [{\n            type: HostBinding,\n            args: [\"class.bx--text-input--xl\"]\n        }], isSizeSm: [{\n            type: HostBinding,\n            args: [\"class.bx--text-input--sm\"]\n        }], isLightTheme: [{\n            type: HostBinding,\n            args: [\"class.bx--text-input--light\"]\n        }] }); })();\n\n/**\n * A directive for applying styling to a textarea element.\n *\n * Example:\n *\n * ```html\n * <textarea ibmTextArea></textarea>\n * ```\n *\n * See the [vanilla carbon docs](http://www.carbondesignsystem.com/components/text-input/code) for more detail.\n */\nclass TextArea {\n    constructor() {\n        /**\n         * `light` or `dark` input theme\n         */\n        this.theme = \"dark\";\n        this.baseClass = true;\n        this.invalid = false;\n        this.skeleton = false;\n    }\n    get isLightTheme() {\n        return this.theme === \"light\";\n    }\n}\nTextArea.ɵfac = function TextArea_Factory(t) { return new (t || TextArea)(); };\nTextArea.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: TextArea, selectors: [[\"\", \"ibmTextArea\", \"\"]], hostVars: 8, hostBindings: function TextArea_HostBindings(rf, ctx) { if (rf & 2) {\n        ɵngcc0.ɵɵclassProp(\"bx--text-area\", ctx.baseClass)(\"bx--text-area--invalid\", ctx.invalid)(\"bx--skeleton\", ctx.skeleton)(\"bx--text-area--light\", ctx.isLightTheme);\n    } }, inputs: { theme: \"theme\", invalid: \"invalid\", skeleton: \"skeleton\" } });\nTextArea.propDecorators = {\n    theme: [{ type: Input }],\n    baseClass: [{ type: HostBinding, args: [\"class.bx--text-area\",] }],\n    invalid: [{ type: HostBinding, args: [\"class.bx--text-area--invalid\",] }, { type: Input }],\n    skeleton: [{ type: HostBinding, args: [\"class.bx--skeleton\",] }, { type: Input }],\n    isLightTheme: [{ type: HostBinding, args: [\"class.bx--text-area--light\",] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(TextArea, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmTextArea]\"\n            }]\n    }], function () { return []; }, { theme: [{\n            type: Input\n        }], baseClass: [{\n            type: HostBinding,\n            args: [\"class.bx--text-area\"]\n        }], invalid: [{\n            type: HostBinding,\n            args: [\"class.bx--text-area--invalid\"]\n        }, {\n            type: Input\n        }], skeleton: [{\n            type: HostBinding,\n            args: [\"class.bx--skeleton\"]\n        }, {\n            type: Input\n        }], isLightTheme: [{\n            type: HostBinding,\n            args: [\"class.bx--text-area--light\"]\n        }] }); })();\n\n/**\n * [See demo](../../?path=/story/components-input--label)\n *\n * To prevent attribute drilling, use `ibm-text-label` or `ibm-textarea-label` components\n *\n * ```html\n * <ibm-label>\n * \tLabel\n * \t<input ibmText type=\"text\" class=\"input-field\">\n * </ibm-label>\n * ```\n *\n * <example-url>../../iframe.html?id=components-input--label</example-url>\n */\nclass Label {\n    /**\n     * Creates an instance of Label.\n     */\n    constructor(changeDetectorRef) {\n        this.changeDetectorRef = changeDetectorRef;\n        /**\n         * The id of the input item associated with the `Label`. This value is also used to associate the `Label` with\n         * its input counterpart through the 'for' attribute.\n        */\n        this.labelInputID = \"ibm-label-\" + Label.labelCounter++;\n        /**\n         * @deprecated as of v4\n         * State of the `Label` will determine the styles applied.\n         */\n        this.labelState = \"\";\n        /**\n         * Set to `true` for a disabled label.\n         */\n        this.disabled = false;\n        /**\n         * Set to `true` for a loading label.\n         */\n        this.skeleton = false;\n        /**\n         * Set to `true` for an invalid label component.\n         */\n        this.invalid = false;\n        /**\n          * Set to `true` to show a warning (contents set by warningText)\n          */\n        this.warn = false;\n    }\n    get labelClass() {\n        return this.type === undefined;\n    }\n    /**\n     * Update wrapper class if a textarea is hosted.\n     */\n    ngAfterContentInit() {\n        if (this.textArea) {\n            this.type = \"TextArea\";\n        }\n        else if (this.textInput) {\n            this.type = \"TextInput\";\n        }\n    }\n    /**\n     * Sets the id on the input item associated with the `Label`.\n     */\n    ngAfterViewInit() {\n        // Will only be called when `default` template is being used\n        if (this.wrapper) {\n            // Prioritize setting id to `input` & `textarea` over div\n            const inputElement = this.wrapper.nativeElement.querySelector(\"input,textarea\");\n            if (inputElement) {\n                // avoid overriding ids already set by the user reuse it instead\n                if (inputElement.id) {\n                    this.labelInputID = inputElement.id;\n                    this.changeDetectorRef.detectChanges();\n                }\n                inputElement.setAttribute(\"id\", this.labelInputID);\n                return;\n            }\n            const divElement = this.wrapper.nativeElement.querySelector(\"div\");\n            if (divElement) {\n                if (divElement.id) {\n                    this.labelInputID = divElement.id;\n                    this.changeDetectorRef.detectChanges();\n                }\n                divElement.setAttribute(\"id\", this.labelInputID);\n            }\n        }\n    }\n    isTemplate(value) {\n        return value instanceof TemplateRef;\n    }\n}\nLabel.ɵfac = function Label_Factory(t) { return new (t || Label)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ChangeDetectorRef)); };\nLabel.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: Label, selectors: [[\"ibm-label\"]], contentQueries: function Label_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {\n        ɵngcc0.ɵɵcontentQuery(dirIndex, TextArea, 5);\n        ɵngcc0.ɵɵcontentQuery(dirIndex, TextInput, 5);\n    } if (rf & 2) {\n        let _t;\n        ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.textArea = _t.first);\n        ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.textInput = _t.first);\n    } }, viewQuery: function Label_Query(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵviewQuery(_c0, 5);\n    } if (rf & 2) {\n        let _t;\n        ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.wrapper = _t.first);\n    } }, hostVars: 2, hostBindings: function Label_HostBindings(rf, ctx) { if (rf & 2) {\n        ɵngcc0.ɵɵclassProp(\"bx--form-item\", ctx.labelClass);\n    } }, inputs: { labelInputID: \"labelInputID\", labelState: \"labelState\", disabled: \"disabled\", skeleton: \"skeleton\", invalid: \"invalid\", warn: \"warn\", helperText: \"helperText\", invalidText: \"invalidText\", warnText: \"warnText\", ariaLabel: \"ariaLabel\" }, ngContentSelectors: _c5, decls: 10, vars: 3, consts: [[\"inputContentTemplate\", \"\"], [\"labelContentTemplate\", \"\"], [3, \"ngSwitch\"], [4, \"ngSwitchCase\"], [4, \"ngSwitchDefault\"], [\"default\", \"\"], [3, \"labelInputID\", \"disabled\", \"skeleton\", \"helperText\", \"invalid\", \"invalidText\", \"warn\", \"warnText\", \"ariaLabel\", \"labelTemplate\", \"textAreaTemplate\"], [3, \"labelInputID\", \"disabled\", \"skeleton\", \"helperText\", \"invalid\", \"invalidText\", \"warn\", \"warnText\", \"ariaLabel\", \"labelTemplate\", \"textInputTemplate\"], [3, \"ngTemplateOutlet\"], [1, \"bx--label\", 3, \"for\", \"ngClass\"], [1, \"bx--text-input__field-wrapper\", 3, \"ngClass\"], [\"wrapper\", \"\"], [\"ibmIcon\", \"warning--filled\", \"size\", \"16\", \"class\", \"bx--text-input__invalid-icon\", 4, \"ngIf\"], [\"ibmIcon\", \"warning--alt--filled\", \"size\", \"16\", \"class\", \"bx--text-input__invalid-icon bx--text-input__invalid-icon--warning\", 4, \"ngIf\"], [\"class\", \"bx--form__helper-text\", 3, \"ngClass\", 4, \"ngIf\"], [\"class\", \"bx--form-requirement\", 4, \"ngIf\"], [\"ibmIcon\", \"warning--filled\", \"size\", \"16\", 1, \"bx--text-input__invalid-icon\"], [\"ibmIcon\", \"warning--alt--filled\", \"size\", \"16\", 1, \"bx--text-input__invalid-icon\", \"bx--text-input__invalid-icon--warning\"], [1, \"bx--form__helper-text\", 3, \"ngClass\"], [4, \"ngIf\"], [1, \"bx--form-requirement\"]], template: function Label_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵprojectionDef(_c4);\n        ɵngcc0.ɵɵtemplate(0, Label_ng_template_0_Template, 1, 0, \"ng-template\", null, 0, ɵngcc0.ɵɵtemplateRefExtractor);\n        ɵngcc0.ɵɵtemplate(2, Label_ng_template_2_Template, 1, 0, \"ng-template\", null, 1, ɵngcc0.ɵɵtemplateRefExtractor);\n        ɵngcc0.ɵɵelementContainerStart(4, 2);\n        ɵngcc0.ɵɵtemplate(5, Label_ng_container_5_Template, 2, 11, \"ng-container\", 3);\n        ɵngcc0.ɵɵtemplate(6, Label_ng_container_6_Template, 2, 11, \"ng-container\", 3);\n        ɵngcc0.ɵɵtemplate(7, Label_ng_container_7_Template, 2, 1, \"ng-container\", 4);\n        ɵngcc0.ɵɵelementContainerEnd();\n        ɵngcc0.ɵɵtemplate(8, Label_ng_template_8_Template, 10, 17, \"ng-template\", null, 5, ɵngcc0.ɵɵtemplateRefExtractor);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵadvance(4);\n        ɵngcc0.ɵɵproperty(\"ngSwitch\", ctx.type);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngSwitchCase\", \"TextArea\");\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngSwitchCase\", \"TextInput\");\n    } }, dependencies: function () { return [ɵngcc1.NgClass, ɵngcc1.NgIf, ɵngcc1.NgTemplateOutlet, ɵngcc1.NgSwitch, ɵngcc1.NgSwitchCase, ɵngcc1.NgSwitchDefault, ɵngcc2.IconDirective, TextareaLabelComponent, TextInputLabelComponent]; }, encapsulation: 2 });\n/**\n * Used to build the id of the input item associated with the `Label`.\n */\nLabel.labelCounter = 0;\n/** @nocollapse */\nLabel.ctorParameters = () => [\n    { type: ChangeDetectorRef }\n];\nLabel.propDecorators = {\n    labelInputID: [{ type: Input }],\n    labelState: [{ type: Input }],\n    disabled: [{ type: Input }],\n    skeleton: [{ type: Input }],\n    helperText: [{ type: Input }],\n    invalidText: [{ type: Input }],\n    invalid: [{ type: Input }],\n    warn: [{ type: Input }],\n    warnText: [{ type: Input }],\n    ariaLabel: [{ type: Input }],\n    wrapper: [{ type: ViewChild, args: [\"wrapper\", { static: false },] }],\n    textArea: [{ type: ContentChild, args: [TextArea, { static: false },] }],\n    textInput: [{ type: ContentChild, args: [TextInput, { static: false },] }],\n    labelClass: [{ type: HostBinding, args: [\"class.bx--form-item\",] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(Label, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-label\",\n                template: `\n\t\t<ng-template #inputContentTemplate>\n\t\t\t<ng-content select=\"input,textarea,div\"></ng-content>\n\t\t</ng-template>\n\n\t\t<ng-template #labelContentTemplate>\n\t\t\t<ng-content></ng-content>\n\t\t</ng-template>\n\n\t\t<ng-container [ngSwitch]=\"type\">\n\t\t\t<ng-container *ngSwitchCase=\"'TextArea'\">\n\t\t\t\t<ibm-textarea-label\n\t\t\t\t\t[labelInputID]=\"labelInputID\"\n\t\t\t\t\t[disabled]=\"disabled\"\n\t\t\t\t\t[skeleton]=\"skeleton\"\n\t\t\t\t\t[helperText]=\"helperText\"\n\t\t\t\t\t[invalid]=\"invalid\"\n\t\t\t\t\t[invalidText]=\"invalidText\"\n\t\t\t\t\t[warn]=\"warn\"\n\t\t\t\t\t[warnText]=\"warnText\"\n\t\t\t\t\t[ariaLabel]=\"ariaLabel\"\n\t\t\t\t\t[labelTemplate]=\"labelContentTemplate\"\n\t\t\t\t\t[textAreaTemplate]=\"inputContentTemplate\">\n\t\t\t\t</ibm-textarea-label>\n\t\t\t</ng-container>\n\t\t\t<ng-container *ngSwitchCase=\"'TextInput'\">\n\t\t\t\t<ibm-text-label\n\t\t\t\t\t[labelInputID]=\"labelInputID\"\n\t\t\t\t\t[disabled]=\"disabled\"\n\t\t\t\t\t[skeleton]=\"skeleton\"\n\t\t\t\t\t[helperText]=\"helperText\"\n\t\t\t\t\t[invalid]=\"invalid\"\n\t\t\t\t\t[invalidText]=\"invalidText\"\n\t\t\t\t\t[warn]=\"warn\"\n\t\t\t\t\t[warnText]=\"warnText\"\n\t\t\t\t\t[ariaLabel]=\"ariaLabel\"\n\t\t\t\t\t[labelTemplate]=\"labelContentTemplate\"\n\t\t\t\t\t[textInputTemplate]=\"inputContentTemplate\">\n\t\t\t\t</ibm-text-label>\n\t\t\t</ng-container>\n\t\t\t<ng-container *ngSwitchDefault>\n\t\t\t\t<ng-template [ngTemplateOutlet]=\"default\"></ng-template>\n\t\t\t</ng-container>\n\t\t</ng-container>\n\n\t\t<ng-template #default>\n\t\t\t<label\n\t\t\t\t[for]=\"labelInputID\"\n\t\t\t\t[attr.aria-label]=\"ariaLabel\"\n\t\t\t\tclass=\"bx--label\"\n\t\t\t\t[ngClass]=\"{\n\t\t\t\t\t'bx--label--disabled': disabled,\n\t\t\t\t\t'bx--skeleton': skeleton\n\t\t\t\t}\">\n\t\t\t\t<ng-template [ngTemplateOutlet]=\"labelContentTemplate\"></ng-template>\n\t\t\t</label>\n\t\t\t<div\n\t\t\t\tclass=\"bx--text-input__field-wrapper\"\n\t\t\t\t[ngClass]=\"{\n\t\t\t\t\t'bx--text-input__field-wrapper--warning': warn\n\t\t\t\t}\"\n\t\t\t\t[attr.data-invalid]=\"(invalid ? true : null)\"\n\t\t\t\t#wrapper>\n\t\t\t\t<svg\n\t\t\t\t\t*ngIf=\"!warn && invalid\"\n\t\t\t\t\tibmIcon=\"warning--filled\"\n\t\t\t\t\tsize=\"16\"\n\t\t\t\t\tclass=\"bx--text-input__invalid-icon\">\n\t\t\t\t</svg>\n\t\t\t\t<svg\n\t\t\t\t\t*ngIf=\"!invalid && warn\"\n\t\t\t\t\tibmIcon=\"warning--alt--filled\"\n\t\t\t\t\tsize=\"16\"\n\t\t\t\t\tclass=\"bx--text-input__invalid-icon bx--text-input__invalid-icon--warning\">\n\t\t\t\t</svg>\n\t\t\t\t<ng-template [ngTemplateOutlet]=\"inputContentTemplate\"></ng-template>\n\t\t\t</div>\n\t\t\t<div\n\t\t\t\t*ngIf=\"!skeleton && helperText && !invalid && !warn\"\n\t\t\t\tclass=\"bx--form__helper-text\"\n\t\t\t\t[ngClass]=\"{'bx--form__helper-text--disabled': disabled}\">\n\t\t\t\t<ng-container *ngIf=\"!isTemplate(helperText)\">{{helperText}}</ng-container>\n\t\t\t\t<ng-template *ngIf=\"isTemplate(helperText)\" [ngTemplateOutlet]=\"helperText\"></ng-template>\n\t\t\t</div>\n\t\t\t<div *ngIf=\"!warn && invalid\" class=\"bx--form-requirement\">\n\t\t\t\t<ng-container *ngIf=\"!isTemplate(invalidText)\">{{invalidText}}</ng-container>\n\t\t\t\t<ng-template *ngIf=\"isTemplate(invalidText)\" [ngTemplateOutlet]=\"invalidText\"></ng-template>\n\t\t\t</div>\n\t\t\t<div *ngIf=\"!invalid && warn\" class=\"bx--form-requirement\">\n\t\t\t\t<ng-container *ngIf=\"!isTemplate(warnText)\">{{warnText}}</ng-container>\n\t\t\t\t<ng-template *ngIf=\"isTemplate(warnText)\" [ngTemplateOutlet]=\"warnText\"></ng-template>\n\t\t\t</div>\n\t\t</ng-template>\n\t`\n            }]\n    }], function () { return [{ type: ɵngcc0.ChangeDetectorRef }]; }, { labelInputID: [{\n            type: Input\n        }], labelState: [{\n            type: Input\n        }], disabled: [{\n            type: Input\n        }], skeleton: [{\n            type: Input\n        }], invalid: [{\n            type: Input\n        }], warn: [{\n            type: Input\n        }], labelClass: [{\n            type: HostBinding,\n            args: [\"class.bx--form-item\"]\n        }], helperText: [{\n            type: Input\n        }], invalidText: [{\n            type: Input\n        }], warnText: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], wrapper: [{\n            type: ViewChild,\n            args: [\"wrapper\", { static: false }]\n        }], textArea: [{\n            type: ContentChild,\n            args: [TextArea, { static: false }]\n        }], textInput: [{\n            type: ContentChild,\n            args: [TextInput, { static: false }]\n        }] }); })();\n\nclass TextareaLabelComponent {\n    /**\n     * Creates an instance of Label.\n     */\n    constructor(changeDetectorRef) {\n        this.changeDetectorRef = changeDetectorRef;\n        /**\n         * The id of the input item associated with the `Label`. This value is also used to associate the `Label` with\n         * its input counterpart through the 'for' attribute.\n        */\n        this.labelInputID = \"ibm-textarea-\" + TextareaLabelComponent.labelCounter;\n        /**\n         * Set to `true` for a disabled label.\n         */\n        this.disabled = false;\n        /**\n         * Set to `true` for a loading label.\n         */\n        this.skeleton = false;\n        /**\n         * Set to `true` for an invalid label component.\n         */\n        this.invalid = false;\n        /**\n          * Set to `true` to show a warning (contents set by warningText)\n          */\n        this.warn = false;\n        this.labelClass = true;\n    }\n    /**\n     * Sets the id on the input item associated with the `Label`.\n     */\n    ngAfterViewInit() {\n        if (this.wrapper) {\n            // Prioritize setting id to `textarea` over div\n            const inputElement = this.wrapper.nativeElement.querySelector(\"textarea\");\n            if (inputElement) {\n                // avoid overriding ids already set by the user reuse it instead\n                if (inputElement.id) {\n                    this.labelInputID = inputElement.id;\n                    this.changeDetectorRef.detectChanges();\n                }\n                inputElement.setAttribute(\"id\", this.labelInputID);\n                return;\n            }\n            const divElement = this.wrapper.nativeElement.querySelector(\"div\");\n            if (divElement) {\n                if (divElement.id) {\n                    this.labelInputID = divElement.id;\n                    this.changeDetectorRef.detectChanges();\n                }\n                divElement.setAttribute(\"id\", this.labelInputID);\n            }\n        }\n    }\n    isTemplate(value) {\n        return value instanceof TemplateRef;\n    }\n}\nTextareaLabelComponent.ɵfac = function TextareaLabelComponent_Factory(t) { return new (t || TextareaLabelComponent)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ChangeDetectorRef)); };\nTextareaLabelComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: TextareaLabelComponent, selectors: [[\"ibm-textarea-label\"]], contentQueries: function TextareaLabelComponent_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {\n        ɵngcc0.ɵɵcontentQuery(dirIndex, TextArea, 5);\n    } if (rf & 2) {\n        let _t;\n        ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.textArea = _t.first);\n    } }, viewQuery: function TextareaLabelComponent_Query(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵviewQuery(_c0, 5);\n    } if (rf & 2) {\n        let _t;\n        ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.wrapper = _t.first);\n    } }, hostVars: 2, hostBindings: function TextareaLabelComponent_HostBindings(rf, ctx) { if (rf & 2) {\n        ɵngcc0.ɵɵclassProp(\"bx--form-item\", ctx.labelClass);\n    } }, inputs: { labelInputID: \"labelInputID\", disabled: \"disabled\", skeleton: \"skeleton\", invalid: \"invalid\", warn: \"warn\", labelTemplate: \"labelTemplate\", textAreaTemplate: \"textAreaTemplate\", helperText: \"helperText\", invalidText: \"invalidText\", warnText: \"warnText\", ariaLabel: \"ariaLabel\" }, ngContentSelectors: _c7, decls: 14, vars: 19, consts: [[1, \"bx--label\", 3, \"for\", \"ngClass\"], [4, \"ngIf\", \"ngIfElse\"], [\"labelContent\", \"\"], [1, \"bx--text-area__wrapper\", 3, \"ngClass\"], [\"wrapper\", \"\"], [\"ibmIcon\", \"warning--filled\", \"size\", \"16\", \"class\", \"bx--text-area__invalid-icon\", 4, \"ngIf\"], [\"ibmIcon\", \"warning--alt--filled\", \"size\", \"16\", \"class\", \"bx--text-input__invalid-icon bx--text-input__invalid-icon--warning\", 4, \"ngIf\"], [\"textAreaContent\", \"\"], [\"class\", \"bx--form__helper-text\", 3, \"ngClass\", 4, \"ngIf\"], [\"class\", \"bx--form-requirement\", 4, \"ngIf\"], [3, \"ngTemplateOutlet\"], [\"ibmIcon\", \"warning--filled\", \"size\", \"16\", 1, \"bx--text-area__invalid-icon\"], [\"ibmIcon\", \"warning--alt--filled\", \"size\", \"16\", 1, \"bx--text-input__invalid-icon\", \"bx--text-input__invalid-icon--warning\"], [1, \"bx--form__helper-text\", 3, \"ngClass\"], [4, \"ngIf\"], [1, \"bx--form-requirement\"]], template: function TextareaLabelComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵprojectionDef(_c6);\n        ɵngcc0.ɵɵelementStart(0, \"label\", 0);\n        ɵngcc0.ɵɵtemplate(1, TextareaLabelComponent_1_Template, 1, 1, null, 1);\n        ɵngcc0.ɵɵtemplate(2, TextareaLabelComponent_ng_template_2_Template, 1, 0, \"ng-template\", null, 2, ɵngcc0.ɵɵtemplateRefExtractor);\n        ɵngcc0.ɵɵelementEnd();\n        ɵngcc0.ɵɵelementStart(4, \"div\", 3, 4);\n        ɵngcc0.ɵɵtemplate(6, TextareaLabelComponent__svg_svg_6_Template, 1, 0, \"svg\", 5);\n        ɵngcc0.ɵɵtemplate(7, TextareaLabelComponent__svg_svg_7_Template, 1, 0, \"svg\", 6);\n        ɵngcc0.ɵɵtemplate(8, TextareaLabelComponent_8_Template, 1, 1, null, 1);\n        ɵngcc0.ɵɵtemplate(9, TextareaLabelComponent_ng_template_9_Template, 1, 0, \"ng-template\", null, 7, ɵngcc0.ɵɵtemplateRefExtractor);\n        ɵngcc0.ɵɵelementEnd();\n        ɵngcc0.ɵɵtemplate(11, TextareaLabelComponent_div_11_Template, 3, 5, \"div\", 8);\n        ɵngcc0.ɵɵtemplate(12, TextareaLabelComponent_div_12_Template, 3, 2, \"div\", 9);\n        ɵngcc0.ɵɵtemplate(13, TextareaLabelComponent_div_13_Template, 3, 2, \"div\", 9);\n    } if (rf & 2) {\n        const _r1 = ɵngcc0.ɵɵreference(3);\n        const _r7 = ɵngcc0.ɵɵreference(10);\n        ɵngcc0.ɵɵproperty(\"for\", ctx.labelInputID)(\"ngClass\", ɵngcc0.ɵɵpureFunction2(14, _c2, ctx.disabled, ctx.skeleton));\n        ɵngcc0.ɵɵattribute(\"aria-label\", ctx.ariaLabel);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.labelTemplate)(\"ngIfElse\", _r1);\n        ɵngcc0.ɵɵadvance(3);\n        ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction1(17, _c3, ctx.warn));\n        ɵngcc0.ɵɵattribute(\"data-invalid\", ctx.invalid ? true : null);\n        ɵngcc0.ɵɵadvance(2);\n        ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.warn && ctx.invalid);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.invalid && ctx.warn);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.textAreaTemplate)(\"ngIfElse\", _r7);\n        ɵngcc0.ɵɵadvance(3);\n        ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.skeleton && ctx.helperText && !ctx.invalid && !ctx.warn);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.warn && ctx.invalid);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.invalid && ctx.warn);\n    } }, dependencies: [ɵngcc1.NgClass, ɵngcc1.NgIf, ɵngcc1.NgTemplateOutlet, ɵngcc2.IconDirective], encapsulation: 2 });\n/**\n * Used to build the id of the input item associated with the `Label`.\n */\nTextareaLabelComponent.labelCounter = 0;\n/** @nocollapse */\nTextareaLabelComponent.ctorParameters = () => [\n    { type: ChangeDetectorRef }\n];\nTextareaLabelComponent.propDecorators = {\n    labelInputID: [{ type: Input }],\n    disabled: [{ type: Input }],\n    skeleton: [{ type: Input }],\n    labelTemplate: [{ type: Input }],\n    textAreaTemplate: [{ type: Input }],\n    helperText: [{ type: Input }],\n    invalidText: [{ type: Input }],\n    invalid: [{ type: Input }],\n    warn: [{ type: Input }],\n    warnText: [{ type: Input }],\n    ariaLabel: [{ type: Input }],\n    wrapper: [{ type: ViewChild, args: [\"wrapper\", { static: false },] }],\n    textArea: [{ type: ContentChild, args: [TextArea, { static: false },] }],\n    labelClass: [{ type: HostBinding, args: [\"class.bx--form-item\",] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(TextareaLabelComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-textarea-label\",\n                template: `\n\t\t<label\n\t\t\t[for]=\"labelInputID\"\n\t\t\t[attr.aria-label]=\"ariaLabel\"\n\t\t\tclass=\"bx--label\"\n\t\t\t[ngClass]=\"{\n\t\t\t\t'bx--label--disabled': disabled,\n\t\t\t\t'bx--skeleton': skeleton\n\t\t\t}\">\n\t\t\t<ng-template *ngIf=\"labelTemplate; else labelContent\" [ngTemplateOutlet]=\"labelTemplate\"></ng-template>\n\t\t\t<ng-template #labelContent>\n\t\t\t\t<ng-content></ng-content>\n\t\t\t</ng-template>\n\t\t</label>\n\t\t<div\n\t\t\tclass=\"bx--text-area__wrapper\"\n\t\t\t[ngClass]=\"{\n\t\t\t\t'bx--text-input__field-wrapper--warning': warn\n\t\t\t}\"\n\t\t\t[attr.data-invalid]=\"(invalid ? true : null)\"\n\t\t\t#wrapper>\n\t\t\t<svg\n\t\t\t\t*ngIf=\"!warn && invalid\"\n\t\t\t\tibmIcon=\"warning--filled\"\n\t\t\t\tsize=\"16\"\n\t\t\t\tclass=\"bx--text-area__invalid-icon\">\n\t\t\t</svg>\n\t\t\t<svg\n\t\t\t\t*ngIf=\"!invalid && warn\"\n\t\t\t\tibmIcon=\"warning--alt--filled\"\n\t\t\t\tsize=\"16\"\n\t\t\t\tclass=\"bx--text-input__invalid-icon bx--text-input__invalid-icon--warning\">\n\t\t\t</svg>\n\t\t\t<ng-template *ngIf=\"textAreaTemplate; else textAreaContent\" [ngTemplateOutlet]=\"textAreaTemplate\"></ng-template>\n\t\t\t<ng-template #textAreaContent>\n\t\t\t\t<ng-content select=\"textarea\"></ng-content>\n\t\t\t</ng-template>\n\t\t</div>\n\t\t<div\n\t\t\t*ngIf=\"!skeleton && helperText && !invalid && !warn\"\n\t\t\tclass=\"bx--form__helper-text\"\n\t\t\t[ngClass]=\"{'bx--form__helper-text--disabled': disabled}\">\n\t\t\t<ng-container *ngIf=\"!isTemplate(helperText)\">{{helperText}}</ng-container>\n\t\t\t<ng-template *ngIf=\"isTemplate(helperText)\" [ngTemplateOutlet]=\"helperText\"></ng-template>\n\t\t</div>\n\t\t<div *ngIf=\"!warn && invalid\" class=\"bx--form-requirement\">\n\t\t\t<ng-container *ngIf=\"!isTemplate(invalidText)\">{{invalidText}}</ng-container>\n\t\t\t<ng-template *ngIf=\"isTemplate(invalidText)\" [ngTemplateOutlet]=\"invalidText\"></ng-template>\n\t\t</div>\n\t\t<div *ngIf=\"!invalid && warn\" class=\"bx--form-requirement\">\n\t\t\t<ng-container *ngIf=\"!isTemplate(warnText)\">{{warnText}}</ng-container>\n\t\t\t<ng-template *ngIf=\"isTemplate(warnText)\" [ngTemplateOutlet]=\"warnText\"></ng-template>\n\t\t</div>\n\t`\n            }]\n    }], function () { return [{ type: ɵngcc0.ChangeDetectorRef }]; }, { labelInputID: [{\n            type: Input\n        }], disabled: [{\n            type: Input\n        }], skeleton: [{\n            type: Input\n        }], invalid: [{\n            type: Input\n        }], warn: [{\n            type: Input\n        }], labelClass: [{\n            type: HostBinding,\n            args: [\"class.bx--form-item\"]\n        }], labelTemplate: [{\n            type: Input\n        }], textAreaTemplate: [{\n            type: Input\n        }], helperText: [{\n            type: Input\n        }], invalidText: [{\n            type: Input\n        }], warnText: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], wrapper: [{\n            type: ViewChild,\n            args: [\"wrapper\", { static: false }]\n        }], textArea: [{\n            type: ContentChild,\n            args: [TextArea, { static: false }]\n        }] }); })();\n\nclass TextInputLabelComponent {\n    /**\n     * Creates an instance of Label.\n     */\n    constructor(changeDetectorRef) {\n        this.changeDetectorRef = changeDetectorRef;\n        /**\n         * The id of the input item associated with the `Label`. This value is also used to associate the `Label` with\n         * its input counterpart through the 'for' attribute.\n        */\n        this.labelInputID = \"ibm-text-input-\" + TextInputLabelComponent.labelCounter++;\n        /**\n         * Set to `true` for a disabled label.\n         */\n        this.disabled = false;\n        /**\n         * Set to `true` for a loading label.\n         */\n        this.skeleton = false;\n        /**\n         * Set to `true` for an invalid label component.\n         */\n        this.invalid = false;\n        /**\n          * Set to `true` to show a warning (contents set by warningText)\n          */\n        this.warn = false;\n        this.labelClass = true;\n    }\n    /**\n     * Sets the id on the input item associated with the `Label`.\n     */\n    ngAfterViewInit() {\n        if (this.wrapper) {\n            // Prioritize setting id to `input` over div\n            const inputElement = this.wrapper.nativeElement.querySelector(\"input\");\n            if (inputElement) {\n                // avoid overriding ids already set by the user reuse it instead\n                if (inputElement.id) {\n                    this.labelInputID = inputElement.id;\n                    this.changeDetectorRef.detectChanges();\n                }\n                inputElement.setAttribute(\"id\", this.labelInputID);\n                return;\n            }\n            const divElement = this.wrapper.nativeElement.querySelector(\"div\");\n            if (divElement) {\n                if (divElement.id) {\n                    this.labelInputID = divElement.id;\n                    this.changeDetectorRef.detectChanges();\n                }\n                divElement.setAttribute(\"id\", this.labelInputID);\n            }\n        }\n    }\n    isTemplate(value) {\n        return value instanceof TemplateRef;\n    }\n}\nTextInputLabelComponent.ɵfac = function TextInputLabelComponent_Factory(t) { return new (t || TextInputLabelComponent)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ChangeDetectorRef)); };\nTextInputLabelComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: TextInputLabelComponent, selectors: [[\"ibm-text-label\"]], viewQuery: function TextInputLabelComponent_Query(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵviewQuery(_c0, 5);\n    } if (rf & 2) {\n        let _t;\n        ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.wrapper = _t.first);\n    } }, hostVars: 2, hostBindings: function TextInputLabelComponent_HostBindings(rf, ctx) { if (rf & 2) {\n        ɵngcc0.ɵɵclassProp(\"bx--form-item\", ctx.labelClass);\n    } }, inputs: { labelInputID: \"labelInputID\", disabled: \"disabled\", skeleton: \"skeleton\", invalid: \"invalid\", warn: \"warn\", labelTemplate: \"labelTemplate\", textInputTemplate: \"textInputTemplate\", helperText: \"helperText\", invalidText: \"invalidText\", warnText: \"warnText\", ariaLabel: \"ariaLabel\" }, ngContentSelectors: _c9, decls: 14, vars: 19, consts: [[1, \"bx--label\", 3, \"for\", \"ngClass\"], [4, \"ngIf\", \"ngIfElse\"], [\"labelContent\", \"\"], [1, \"bx--text-input__field-wrapper\", 3, \"ngClass\"], [\"wrapper\", \"\"], [\"ibmIcon\", \"warning--filled\", \"size\", \"16\", \"class\", \"bx--text-input__invalid-icon\", 4, \"ngIf\"], [\"ibmIcon\", \"warning--alt--filled\", \"size\", \"16\", \"class\", \"bx--text-input__invalid-icon bx--text-input__invalid-icon--warning\", 4, \"ngIf\"], [\"textInputContent\", \"\"], [\"class\", \"bx--form__helper-text\", 3, \"ngClass\", 4, \"ngIf\"], [\"class\", \"bx--form-requirement\", 4, \"ngIf\"], [3, \"ngTemplateOutlet\"], [\"ibmIcon\", \"warning--filled\", \"size\", \"16\", 1, \"bx--text-input__invalid-icon\"], [\"ibmIcon\", \"warning--alt--filled\", \"size\", \"16\", 1, \"bx--text-input__invalid-icon\", \"bx--text-input__invalid-icon--warning\"], [1, \"bx--form__helper-text\", 3, \"ngClass\"], [4, \"ngIf\"], [1, \"bx--form-requirement\"]], template: function TextInputLabelComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵprojectionDef(_c8);\n        ɵngcc0.ɵɵelementStart(0, \"label\", 0);\n        ɵngcc0.ɵɵtemplate(1, TextInputLabelComponent_1_Template, 1, 1, null, 1);\n        ɵngcc0.ɵɵtemplate(2, TextInputLabelComponent_ng_template_2_Template, 1, 0, \"ng-template\", null, 2, ɵngcc0.ɵɵtemplateRefExtractor);\n        ɵngcc0.ɵɵelementEnd();\n        ɵngcc0.ɵɵelementStart(4, \"div\", 3, 4);\n        ɵngcc0.ɵɵtemplate(6, TextInputLabelComponent__svg_svg_6_Template, 1, 0, \"svg\", 5);\n        ɵngcc0.ɵɵtemplate(7, TextInputLabelComponent__svg_svg_7_Template, 1, 0, \"svg\", 6);\n        ɵngcc0.ɵɵtemplate(8, TextInputLabelComponent_8_Template, 1, 1, null, 1);\n        ɵngcc0.ɵɵtemplate(9, TextInputLabelComponent_ng_template_9_Template, 1, 0, \"ng-template\", null, 7, ɵngcc0.ɵɵtemplateRefExtractor);\n        ɵngcc0.ɵɵelementEnd();\n        ɵngcc0.ɵɵtemplate(11, TextInputLabelComponent_div_11_Template, 3, 5, \"div\", 8);\n        ɵngcc0.ɵɵtemplate(12, TextInputLabelComponent_div_12_Template, 3, 2, \"div\", 9);\n        ɵngcc0.ɵɵtemplate(13, TextInputLabelComponent_div_13_Template, 3, 2, \"div\", 9);\n    } if (rf & 2) {\n        const _r1 = ɵngcc0.ɵɵreference(3);\n        const _r7 = ɵngcc0.ɵɵreference(10);\n        ɵngcc0.ɵɵproperty(\"for\", ctx.labelInputID)(\"ngClass\", ɵngcc0.ɵɵpureFunction2(14, _c2, ctx.disabled, ctx.skeleton));\n        ɵngcc0.ɵɵattribute(\"aria-label\", ctx.ariaLabel);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.labelTemplate)(\"ngIfElse\", _r1);\n        ɵngcc0.ɵɵadvance(3);\n        ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction1(17, _c3, ctx.warn));\n        ɵngcc0.ɵɵattribute(\"data-invalid\", ctx.invalid ? true : null);\n        ɵngcc0.ɵɵadvance(2);\n        ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.warn && ctx.invalid);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.invalid && ctx.warn);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.textInputTemplate)(\"ngIfElse\", _r7);\n        ɵngcc0.ɵɵadvance(3);\n        ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.skeleton && ctx.helperText && !ctx.invalid && !ctx.warn);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.warn && ctx.invalid);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.invalid && ctx.warn);\n    } }, dependencies: [ɵngcc1.NgClass, ɵngcc1.NgIf, ɵngcc1.NgTemplateOutlet, ɵngcc2.IconDirective], encapsulation: 2 });\n/**\n * Used to build the id of the input item associated with the `Label`.\n */\nTextInputLabelComponent.labelCounter = 0;\n/** @nocollapse */\nTextInputLabelComponent.ctorParameters = () => [\n    { type: ChangeDetectorRef }\n];\nTextInputLabelComponent.propDecorators = {\n    labelInputID: [{ type: Input }],\n    disabled: [{ type: Input }],\n    skeleton: [{ type: Input }],\n    labelTemplate: [{ type: Input }],\n    textInputTemplate: [{ type: Input }],\n    helperText: [{ type: Input }],\n    invalidText: [{ type: Input }],\n    invalid: [{ type: Input }],\n    warn: [{ type: Input }],\n    warnText: [{ type: Input }],\n    ariaLabel: [{ type: Input }],\n    wrapper: [{ type: ViewChild, args: [\"wrapper\", { static: false },] }],\n    labelClass: [{ type: HostBinding, args: [\"class.bx--form-item\",] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(TextInputLabelComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-text-label\",\n                template: `\n\t\t<label\n\t\t\t[for]=\"labelInputID\"\n\t\t\t[attr.aria-label]=\"ariaLabel\"\n\t\t\tclass=\"bx--label\"\n\t\t\t[ngClass]=\"{\n\t\t\t\t'bx--label--disabled': disabled,\n\t\t\t\t'bx--skeleton': skeleton\n\t\t\t}\">\n\t\t\t<ng-template *ngIf=\"labelTemplate; else labelContent\" [ngTemplateOutlet]=\"labelTemplate\"></ng-template>\n\t\t\t<ng-template #labelContent>\n\t\t\t\t<ng-content></ng-content>\n\t\t\t</ng-template>\n\t\t</label>\n\t\t<div\n\t\t\tclass=\"bx--text-input__field-wrapper\"\n\t\t\t[ngClass]=\"{\n\t\t\t\t'bx--text-input__field-wrapper--warning': warn\n\t\t\t}\"\n\t\t\t[attr.data-invalid]=\"(invalid ? true : null)\"\n\t\t\t#wrapper>\n\t\t\t<svg\n\t\t\t\t*ngIf=\"!warn && invalid\"\n\t\t\t\tibmIcon=\"warning--filled\"\n\t\t\t\tsize=\"16\"\n\t\t\t\tclass=\"bx--text-input__invalid-icon\">\n\t\t\t</svg>\n\t\t\t<svg\n\t\t\t\t*ngIf=\"!invalid && warn\"\n\t\t\t\tibmIcon=\"warning--alt--filled\"\n\t\t\t\tsize=\"16\"\n\t\t\t\tclass=\"bx--text-input__invalid-icon bx--text-input__invalid-icon--warning\">\n\t\t\t</svg>\n\t\t\t<ng-template *ngIf=\"textInputTemplate; else textInputContent\" [ngTemplateOutlet]=\"textInputTemplate\"></ng-template>\n\t\t\t<ng-template #textInputContent>\n\t\t\t\t<ng-content select=\"input[type=text],div\"></ng-content>\n\t\t\t</ng-template>\n\t\t</div>\n\t\t<div\n\t\t\t*ngIf=\"!skeleton && helperText && !invalid && !warn\"\n\t\t\tclass=\"bx--form__helper-text\"\n\t\t\t[ngClass]=\"{'bx--form__helper-text--disabled': disabled}\">\n\t\t\t<ng-container *ngIf=\"!isTemplate(helperText)\">{{helperText}}</ng-container>\n\t\t\t<ng-template *ngIf=\"isTemplate(helperText)\" [ngTemplateOutlet]=\"helperText\"></ng-template>\n\t\t</div>\n\t\t<div *ngIf=\"!warn && invalid\" class=\"bx--form-requirement\">\n\t\t\t<ng-container *ngIf=\"!isTemplate(invalidText)\">{{invalidText}}</ng-container>\n\t\t\t<ng-template *ngIf=\"isTemplate(invalidText)\" [ngTemplateOutlet]=\"invalidText\"></ng-template>\n\t\t</div>\n\t\t<div *ngIf=\"!invalid && warn\" class=\"bx--form-requirement\">\n\t\t\t<ng-container *ngIf=\"!isTemplate(warnText)\">{{warnText}}</ng-container>\n\t\t\t<ng-template *ngIf=\"isTemplate(warnText)\" [ngTemplateOutlet]=\"warnText\"></ng-template>\n\t\t</div>\n\t`\n            }]\n    }], function () { return [{ type: ɵngcc0.ChangeDetectorRef }]; }, { labelInputID: [{\n            type: Input\n        }], disabled: [{\n            type: Input\n        }], skeleton: [{\n            type: Input\n        }], invalid: [{\n            type: Input\n        }], warn: [{\n            type: Input\n        }], labelClass: [{\n            type: HostBinding,\n            args: [\"class.bx--form-item\"]\n        }], labelTemplate: [{\n            type: Input\n        }], textInputTemplate: [{\n            type: Input\n        }], helperText: [{\n            type: Input\n        }], invalidText: [{\n            type: Input\n        }], warnText: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], wrapper: [{\n            type: ViewChild,\n            args: [\"wrapper\", { static: false }]\n        }] }); })();\n\n// modules\nclass InputModule {\n}\nInputModule.ɵfac = function InputModule_Factory(t) { return new (t || InputModule)(); };\nInputModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: InputModule });\nInputModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({ imports: [CommonModule,\n        FormsModule,\n        IconModule] });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(InputModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    Label,\n                    TextInput,\n                    TextArea,\n                    TextareaLabelComponent,\n                    TextInputLabelComponent\n                ],\n                exports: [\n                    Label,\n                    TextareaLabelComponent,\n                    TextInputLabelComponent,\n                    TextInput,\n                    TextArea\n                ],\n                imports: [\n                    CommonModule,\n                    FormsModule,\n                    IconModule\n                ]\n            }]\n    }], null, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(InputModule, { declarations: function () { return [Label, TextInput, TextArea, TextareaLabelComponent, TextInputLabelComponent]; }, imports: function () { return [CommonModule,\n        FormsModule,\n        IconModule]; }, exports: function () { return [Label, TextareaLabelComponent, TextInputLabelComponent, TextInput, TextArea]; } }); })();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { TextInput, InputModule, Label, TextArea, TextInputLabelComponent, TextareaLabelComponent };\n\n","/**\n *\n * carbon-angular v0.0.0 | carbon-components-angular-link.js\n *\n * Copyright 2014, 2023 IBM\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\nimport { Directive, HostBinding, Input, NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\n/**\n * A convenience directive for applying styling to a link.\n *\n * [See demo](../../?path=/story/components-link--basic)\n *\n * Example:\n *\n * ```html\n * <a href=\"#\" ibmLink>A link</a>\n * ```\n *\n * See the [vanilla carbon docs](http://www.carbondesignsystem.com/components/link/code) for more detail.\n *\n * <example-url>../../iframe.html?id=components-link--basic</example-url>\n */\nimport * as ɵngcc0 from '@angular/core';\nclass Link {\n    constructor() {\n        this.baseClass = true;\n        /**\n         * Set to true to show links inline in a sentence or paragraph.\n         */\n        this.inline = false;\n    }\n    /**\n     * Set to true to disable link.\n     */\n    set disabled(disabled) {\n        this._disabled = disabled;\n        this.tabindex = this.disabled ? -1 : null;\n    }\n    get disabled() {\n        return this._disabled;\n    }\n}\nLink.ɵfac = function Link_Factory(t) { return new (t || Link)(); };\nLink.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: Link, selectors: [[\"\", \"ibmLink\", \"\"]], hostVars: 8, hostBindings: function Link_HostBindings(rf, ctx) { if (rf & 2) {\n        ɵngcc0.ɵɵattribute(\"aria-disabled\", ctx.disabled)(\"tabindex\", ctx.tabindex);\n        ɵngcc0.ɵɵclassProp(\"bx--link\", ctx.baseClass)(\"bx--link--inline\", ctx.inline)(\"bx--link--disabled\", ctx.disabled);\n    } }, inputs: { inline: \"inline\", disabled: \"disabled\" } });\nLink.propDecorators = {\n    baseClass: [{ type: HostBinding, args: [\"class.bx--link\",] }],\n    tabindex: [{ type: HostBinding, args: [\"attr.tabindex\",] }],\n    inline: [{ type: Input }, { type: HostBinding, args: [\"class.bx--link--inline\",] }],\n    disabled: [{ type: Input }, { type: HostBinding, args: [\"attr.aria-disabled\",] }, { type: HostBinding, args: [\"class.bx--link--disabled\",] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(Link, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmLink]\"\n            }]\n    }], function () { return []; }, { baseClass: [{\n            type: HostBinding,\n            args: [\"class.bx--link\"]\n        }], inline: [{\n            type: Input\n        }, {\n            type: HostBinding,\n            args: [\"class.bx--link--inline\"]\n        }], disabled: [{\n            type: Input\n        }, {\n            type: HostBinding,\n            args: [\"attr.aria-disabled\"]\n        }, {\n            type: HostBinding,\n            args: [\"class.bx--link--disabled\"]\n        }], tabindex: [{\n            type: HostBinding,\n            args: [\"attr.tabindex\"]\n        }] }); })();\n\nclass LinkModule {\n}\nLinkModule.ɵfac = function LinkModule_Factory(t) { return new (t || LinkModule)(); };\nLinkModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: LinkModule });\nLinkModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({ imports: [CommonModule] });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(LinkModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    Link\n                ],\n                exports: [\n                    Link\n                ],\n                imports: [\n                    CommonModule\n                ]\n            }]\n    }], null, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(LinkModule, { declarations: function () { return [Link]; }, imports: function () { return [CommonModule]; }, exports: function () { return [Link]; } }); })();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { Link, LinkModule };\n\n","/**\n *\n * carbon-angular v0.0.0 | carbon-components-angular-list.js\n *\n * Copyright 2014, 2023 IBM\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\nimport { Directive, HostBinding, ElementRef, NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\n/**\n * Applies list styling to the item it is used on. Best used with `li`s.\n */\nimport * as ɵngcc0 from '@angular/core';\nclass ListItemDirective {\n    constructor() {\n        this.wrapper = true;\n    }\n}\nListItemDirective.ɵfac = function ListItemDirective_Factory(t) { return new (t || ListItemDirective)(); };\nListItemDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: ListItemDirective, selectors: [[\"\", \"ibmListItem\", \"\"]], hostVars: 2, hostBindings: function ListItemDirective_HostBindings(rf, ctx) { if (rf & 2) {\n        ɵngcc0.ɵɵclassProp(\"bx--list__item\", ctx.wrapper);\n    } } });\nListItemDirective.propDecorators = {\n    wrapper: [{ type: HostBinding, args: [\"class.bx--list__item\",] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ListItemDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmListItem]\"\n            }]\n    }], function () { return []; }, { wrapper: [{\n            type: HostBinding,\n            args: [\"class.bx--list__item\"]\n        }] }); })();\n\n/**\n * Applies either ordered or unordered styling to the list container it is applied to.\n *\n * [See demo](../../?path=/story/components-list--basic)\n *\n * For `ul`s it will apply unordered list styles, and for `ol`s it will apply ordered list styles.\n *\n * If a `ul` or `ol` is nested within a `li` the directive will apply nested list styling.\n *\n * <example-url>../../iframe.html?id=components-list--basic</example-url>\n */\nclass List {\n    constructor(elementRef) {\n        this.elementRef = elementRef;\n    }\n    get ordered() {\n        if (this.nested) {\n            return false;\n        }\n        return this.elementRef.nativeElement.tagName === \"OL\";\n    }\n    get unordered() {\n        if (this.nested) {\n            return false;\n        }\n        return this.elementRef.nativeElement.tagName === \"UL\";\n    }\n    get nested() {\n        return !!(this.elementRef.nativeElement.parentElement && this.elementRef.nativeElement.parentElement.tagName === \"LI\");\n    }\n}\nList.ɵfac = function List_Factory(t) { return new (t || List)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nList.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: List, selectors: [[\"\", \"ibmList\", \"\"]], hostVars: 6, hostBindings: function List_HostBindings(rf, ctx) { if (rf & 2) {\n        ɵngcc0.ɵɵclassProp(\"bx--list--ordered\", ctx.ordered)(\"bx--list--unordered\", ctx.unordered)(\"bx--list--nested\", ctx.nested);\n    } } });\n/** @nocollapse */\nList.ctorParameters = () => [\n    { type: ElementRef }\n];\nList.propDecorators = {\n    ordered: [{ type: HostBinding, args: [\"class.bx--list--ordered\",] }],\n    unordered: [{ type: HostBinding, args: [\"class.bx--list--unordered\",] }],\n    nested: [{ type: HostBinding, args: [\"class.bx--list--nested\",] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(List, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmList]\"\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }]; }, { ordered: [{\n            type: HostBinding,\n            args: [\"class.bx--list--ordered\"]\n        }], unordered: [{\n            type: HostBinding,\n            args: [\"class.bx--list--unordered\"]\n        }], nested: [{\n            type: HostBinding,\n            args: [\"class.bx--list--nested\"]\n        }] }); })();\n\nclass ListModule {\n}\nListModule.ɵfac = function ListModule_Factory(t) { return new (t || ListModule)(); };\nListModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: ListModule });\nListModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({ imports: [CommonModule] });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ListModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    ListItemDirective,\n                    List\n                ],\n                exports: [\n                    ListItemDirective,\n                    List\n                ],\n                imports: [CommonModule]\n            }]\n    }], null, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(ListModule, { declarations: function () { return [ListItemDirective, List]; }, imports: function () { return [CommonModule]; }, exports: function () { return [ListItemDirective, List]; } }); })();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { ListItemDirective, List, ListModule };\n\n","/**\n *\n * carbon-angular v0.0.0 | carbon-components-angular-loading.js\n *\n * Copyright 2014, 2023 IBM\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\nimport { Component, Input, HostBinding, NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { I18n, I18nModule } from 'carbon-components-angular/i18n';\n\n/**\n * [See demo](../../?path=/story/components-loading--basic)\n *\n * <example-url>../../iframe.html?id=components-loading--basic</example-url>\n */\nimport * as ɵngcc0 from '@angular/core';\nimport * as ɵngcc1 from 'carbon-components-angular/i18n';\nimport * as ɵngcc2 from '@angular/common';\n\nconst _c0 = function (a0, a1, a2) { return { \"bx--loading--small\": a0, \"bx--loading--stop\": a1, \"bx--loading-overlay--stop\": a2 }; };\nclass Loading {\n    constructor(i18n) {\n        this.i18n = i18n;\n        /**\n         * Accessible title for the loading circle.\n         * Defaults to the `LOADING.TITLE` value from the i18n service.\n         */\n        this.title = this.i18n.get().LOADING.TITLE;\n        /**\n         * set to `false` to stop the loading animation\n         */\n        this.isActive = true;\n        /**\n         * Specify the size of the button\n         */\n        this.size = \"normal\";\n        /**\n         * Set to `true` to make loader with an overlay.\n         */\n        this.overlay = false;\n    }\n}\nLoading.ɵfac = function Loading_Factory(t) { return new (t || Loading)(ɵngcc0.ɵɵdirectiveInject(ɵngcc1.I18n)); };\nLoading.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: Loading, selectors: [[\"ibm-loading\"]], hostVars: 2, hostBindings: function Loading_HostBindings(rf, ctx) { if (rf & 2) {\n        ɵngcc0.ɵɵclassProp(\"bx--loading-overlay\", ctx.overlay);\n    } }, inputs: { title: \"title\", isActive: \"isActive\", size: \"size\", overlay: \"overlay\" }, decls: 5, vars: 6, consts: [[1, \"bx--loading\", 3, \"ngClass\"], [\"viewBox\", \"0 0 100 100\", 1, \"bx--loading__svg\"], [\"cx\", \"50%\", \"cy\", \"50%\", \"r\", \"44\", 1, \"bx--loading__stroke\"]], template: function Loading_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵelementStart(0, \"div\", 0);\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelementStart(1, \"svg\", 1)(2, \"title\");\n        ɵngcc0.ɵɵtext(3);\n        ɵngcc0.ɵɵelementEnd();\n        ɵngcc0.ɵɵelement(4, \"circle\", 2);\n        ɵngcc0.ɵɵelementEnd()();\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction3(2, _c0, ctx.size === \"sm\", !ctx.isActive && !ctx.overlay, !ctx.isActive && ctx.overlay));\n        ɵngcc0.ɵɵadvance(3);\n        ɵngcc0.ɵɵtextInterpolate(ctx.title);\n    } }, dependencies: [ɵngcc2.NgClass], encapsulation: 2 });\n/** @nocollapse */\nLoading.ctorParameters = () => [\n    { type: I18n }\n];\nLoading.propDecorators = {\n    title: [{ type: Input }],\n    isActive: [{ type: Input }],\n    size: [{ type: Input }],\n    overlay: [{ type: Input }, { type: HostBinding, args: [\"class.bx--loading-overlay\",] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(Loading, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-loading\",\n                template: `\n\t\t<div\n\t\t\t[ngClass]=\"{\n\t\t\t\t'bx--loading--small': size === 'sm',\n\t\t\t\t'bx--loading--stop': !isActive && !overlay,\n\t\t\t\t'bx--loading-overlay--stop': !isActive && overlay\n\t\t\t}\"\n\t\t\tclass=\"bx--loading\">\n\t\t\t<svg class=\"bx--loading__svg\" viewBox=\"0 0 100 100\">\n\t\t\t\t<title>{{title}}</title>\n\t\t\t\t<circle class=\"bx--loading__stroke\" cx=\"50%\" cy=\"50%\" r=\"44\" />\n\t\t\t</svg>\n\t\t</div>\n\t`\n            }]\n    }], function () { return [{ type: ɵngcc1.I18n }]; }, { title: [{\n            type: Input\n        }], isActive: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }], overlay: [{\n            type: Input\n        }, {\n            type: HostBinding,\n            args: [\"class.bx--loading-overlay\"]\n        }] }); })();\n\nclass LoadingModule {\n}\nLoadingModule.ɵfac = function LoadingModule_Factory(t) { return new (t || LoadingModule)(); };\nLoadingModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: LoadingModule });\nLoadingModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({ imports: [CommonModule, I18nModule] });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(LoadingModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [Loading],\n                exports: [Loading],\n                imports: [CommonModule, I18nModule]\n            }]\n    }], null, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(LoadingModule, { declarations: function () { return [Loading]; }, imports: function () { return [CommonModule, I18nModule]; }, exports: function () { return [Loading]; } }); })();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { Loading, LoadingModule };\n\n","/**\n *\n * carbon-angular v0.0.0 | carbon-components-angular-modal.js\n *\n * Copyright 2014, 2023 IBM\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\nimport { tap, delay } from 'rxjs/operators';\nimport { cycleTabs, getFocusElementList } from 'carbon-components-angular/common';\nimport { DOCUMENT, CommonModule } from '@angular/common';\nimport { ButtonModule } from 'carbon-components-angular/forms';\nimport { I18n, I18nModule } from 'carbon-components-angular/i18n';\nimport { PlaceholderService, PlaceholderModule } from 'carbon-components-angular/placeholder';\nimport { ExperimentalModule } from 'carbon-components-angular/experimental';\nimport { Output, EventEmitter, Input, Directive, Component, Inject, ViewChild, Optional, ComponentFactoryResolver, Injector, Injectable, HostListener, Renderer2, HostBinding, NgModule } from '@angular/core';\nimport { IconModule } from 'carbon-components-angular/icon';\n\n/**\n * Extend `BaseModal` in your custom modal implementations to ensure consistent close behavior.\n *\n * `ModalService` depends on the `close` event to correctly clean up the component.\n */\nimport * as ɵngcc0 from '@angular/core';\nimport * as ɵngcc1 from '@angular/common';\nimport * as ɵngcc2 from 'carbon-components-angular/forms';\nimport * as ɵngcc3 from 'carbon-components-angular/i18n';\nimport * as ɵngcc4 from 'carbon-components-angular/icon';\nimport * as ɵngcc5 from 'carbon-components-angular/placeholder';\n\nconst _c0 = [\"modalContent\"];\nfunction AlertModal_ibm_modal_footer_9_ng_container_1_Template(rf, ctx) { if (rf & 1) {\n    const _r6 = ɵngcc0.ɵɵgetCurrentView();\n    ɵngcc0.ɵɵelementContainerStart(0);\n    ɵngcc0.ɵɵelementStart(1, \"button\", 9);\n    ɵngcc0.ɵɵlistener(\"click\", function AlertModal_ibm_modal_footer_9_ng_container_1_Template_button_click_1_listener() { const restoredCtx = ɵngcc0.ɵɵrestoreView(_r6); const i_r4 = restoredCtx.index; const ctx_r5 = ɵngcc0.ɵɵnextContext(2); return ɵngcc0.ɵɵresetView(ctx_r5.buttonClicked(i_r4)); });\n    ɵngcc0.ɵɵtext(2);\n    ɵngcc0.ɵɵelementEnd();\n    ɵngcc0.ɵɵelementContainerEnd();\n} if (rf & 2) {\n    const button_r3 = ctx.$implicit;\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ibmButton\", button_r3.type)(\"id\", button_r3.id);\n    ɵngcc0.ɵɵattribute(\"modal-primary-focus\", button_r3.type.indexOf(\"primary\") !== -1 ? \"\" : null);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate1(\" \", button_r3.text, \" \");\n} }\nfunction AlertModal_ibm_modal_footer_9_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"ibm-modal-footer\");\n    ɵngcc0.ɵɵtemplate(1, AlertModal_ibm_modal_footer_9_ng_container_1_Template, 3, 4, \"ng-container\", 8);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r1 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngForOf\", ctx_r1.buttons);\n} }\nconst _c1 = [\"*\"];\nfunction ModalHeader_button_2_Template(rf, ctx) { if (rf & 1) {\n    const _r2 = ɵngcc0.ɵɵgetCurrentView();\n    ɵngcc0.ɵɵelementStart(0, \"button\", 1);\n    ɵngcc0.ɵɵlistener(\"click\", function ModalHeader_button_2_Template_button_click_0_listener() { ɵngcc0.ɵɵrestoreView(_r2); const ctx_r1 = ɵngcc0.ɵɵnextContext(); return ɵngcc0.ɵɵresetView(ctx_r1.onClose()); });\n    ɵngcc0.ɵɵelementStart(1, \"span\", 2);\n    ɵngcc0.ɵɵtext(2);\n    ɵngcc0.ɵɵelementEnd();\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵelement(3, \"svg\", 3);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r0 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵadvance(2);\n    ɵngcc0.ɵɵtextInterpolate(ctx_r0.closeLabel);\n} }\nconst _c2 = [\"modal\"];\nfunction Modal_div_4_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelement(0, \"div\", 4);\n} }\nconst _c3 = function (a0, a1, a2, a3) { return { \"bx--modal-container--xs\": a0, \"bx--modal-container--sm\": a1, \"bx--modal-container--md\": a2, \"bx--modal-container--lg\": a3 }; };\nconst _c4 = [\"overlay\"];\nconst _c5 = function (a0, a1) { return { \"bx--modal--danger\": a0, \"is-visible\": a1 }; };\nclass BaseModal {\n    constructor() {\n        /**\n         * Base event emitter to propagate close events\n         */\n        this.close = new EventEmitter();\n        /**\n         * Controls the open state of the modal\n         */\n        this.open = false;\n    }\n    /**\n     * Default method to handle closing the modal\n     */\n    closeModal() {\n        this.close.emit();\n    }\n}\nBaseModal.ɵfac = function BaseModal_Factory(t) { return new (t || BaseModal)(); };\nBaseModal.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: BaseModal, selectors: [[\"\", \"ibmBaseModal\", \"\"]], inputs: { open: \"open\" }, outputs: { close: \"close\" } });\nBaseModal.propDecorators = {\n    close: [{ type: Output }],\n    open: [{ type: Input }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(BaseModal, [{\n        type: Directive,\n        args: [{ selector: \"[ibmBaseModal]\" }]\n    }], function () { return []; }, { close: [{\n            type: Output\n        }], open: [{\n            type: Input\n        }] }); })();\n\n/**\n * Component to create standard modals for presenting content or asking for user's input.\n * It can show as a passive modal showing only text or show as a transactional modal with\n * multiple buttons for different actions for the user to choose from.\n *\n * Using a modal in your application requires `ibm-placeholder` which would generally be\n * placed near the end of your app component template (app.component.ts or app.component.html) as:\n *\n * ```html\n * <ibm-placeholder></ibm-placeholder>\n * ```\n *\n * Example of opening the modal:\n *\n * ```typescript\n * \\@Component({\n *  selector: \"app-modal-demo\",\n *  template: `\n *   <button class=\"btn--primary\" (click)=\"openModal()\">Open modal</button>\n *   <ibm-placeholder></ibm-placeholder>`\n * })\n * export class ModalDemo {\n * \topenModal() {\n * \t\tthis.modalService.show({\n *\t\t\tmodalType: \"default\",\n *\t\t\tlabel: \"optional header text\",\n *\t\t\ttitle: \"Modal title\",\n *\t\t\ttext: \"Modal text\",\n *\t\t\tbuttons: [{\n *\t\t\t\ttext: \"Button text\",\n *\t\t\t\ttype: \"primary\",\n *\t\t\t\tclick: clickFunction\n *\t\t\t}]\n *\t\t});\n * \t}\n * }\n * ```\n */\nclass AlertModal extends BaseModal {\n    /**\n     * Creates an instance of `AlertModal`.\n     */\n    constructor(type = \"default\", label, title, content, size, hasScrollingContent = null, buttons = [], onClose, showCloseButton = true) {\n        super();\n        this.type = type;\n        this.label = label;\n        this.title = title;\n        this.content = content;\n        this.size = size;\n        this.hasScrollingContent = hasScrollingContent;\n        this.buttons = buttons;\n        this.onClose = onClose;\n        this.showCloseButton = showCloseButton;\n        for (let i = 0; i < this.buttons.length; i++) {\n            const button = this.buttons[i];\n            if (!button.id) {\n                button.id = `alert-modal-button-${i}`;\n            }\n            if (!button.type) {\n                button.type = \"secondary\";\n            }\n        }\n    }\n    ngAfterViewInit() {\n        if (!this.modalContent) {\n            return false;\n        }\n        const element = this.modalContent.nativeElement;\n        if (element.scrollHeight > element.clientHeight) {\n            element.tabIndex = 0;\n        }\n        else {\n            element.tabIndex = -1;\n        }\n    }\n    buttonClicked(buttonIndex) {\n        const button = this.buttons[buttonIndex];\n        if (button.click) {\n            button.click();\n        }\n        this.closeModal();\n    }\n    dismissModal(trigger) {\n        if (this.onClose && this.onClose(trigger) === false) {\n            return;\n        }\n        this.closeModal();\n    }\n}\nAlertModal.ɵfac = function AlertModal_Factory(t) { return new (t || AlertModal)(ɵngcc0.ɵɵdirectiveInject(\"type\", 8), ɵngcc0.ɵɵdirectiveInject(\"label\", 8), ɵngcc0.ɵɵdirectiveInject(\"title\", 8), ɵngcc0.ɵɵdirectiveInject(\"content\", 8), ɵngcc0.ɵɵdirectiveInject(\"size\", 8), ɵngcc0.ɵɵdirectiveInject(\"hasScrollingContent\", 8), ɵngcc0.ɵɵdirectiveInject(\"buttons\", 8), ɵngcc0.ɵɵdirectiveInject(\"close\", 8), ɵngcc0.ɵɵdirectiveInject(\"showCloseButton\", 8)); };\nAlertModal.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: AlertModal, selectors: [[\"ibm-alert-modal\"]], viewQuery: function AlertModal_Query(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵviewQuery(_c0, 7);\n    } if (rf & 2) {\n        let _t;\n        ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.modalContent = _t.first);\n    } }, features: [ɵngcc0.ɵɵInheritDefinitionFeature], decls: 10, vars: 10, consts: [[3, \"size\", \"theme\", \"ariaLabel\", \"hasScrollingContent\", \"open\", \"overlaySelected\"], [3, \"showCloseButton\", \"closeSelect\"], [\"ibmModalHeaderLabel\", \"\", 1, \"bx--type-delta\"], [\"ibmModalHeaderHeading\", \"\", 1, \"bx--type-beta\"], [\"ibmModalContent\", \"\"], [\"modalContent\", \"\"], [3, \"innerHTML\"], [4, \"ngIf\"], [4, \"ngFor\", \"ngForOf\"], [3, \"ibmButton\", \"id\", \"click\"]], template: function AlertModal_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵelementStart(0, \"ibm-modal\", 0);\n        ɵngcc0.ɵɵlistener(\"overlaySelected\", function AlertModal_Template_ibm_modal_overlaySelected_0_listener() { return ctx.dismissModal(\"overlay\"); });\n        ɵngcc0.ɵɵelementStart(1, \"ibm-modal-header\", 1);\n        ɵngcc0.ɵɵlistener(\"closeSelect\", function AlertModal_Template_ibm_modal_header_closeSelect_1_listener() { return ctx.dismissModal(\"close\"); });\n        ɵngcc0.ɵɵelementStart(2, \"p\", 2);\n        ɵngcc0.ɵɵtext(3);\n        ɵngcc0.ɵɵelementEnd();\n        ɵngcc0.ɵɵelementStart(4, \"p\", 3);\n        ɵngcc0.ɵɵtext(5);\n        ɵngcc0.ɵɵelementEnd()();\n        ɵngcc0.ɵɵelementStart(6, \"div\", 4, 5);\n        ɵngcc0.ɵɵelement(8, \"p\", 6);\n        ɵngcc0.ɵɵelementEnd();\n        ɵngcc0.ɵɵtemplate(9, AlertModal_ibm_modal_footer_9_Template, 2, 1, \"ibm-modal-footer\", 7);\n        ɵngcc0.ɵɵelementEnd();\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"theme\", ctx.type)(\"ariaLabel\", ctx.title)(\"hasScrollingContent\", ctx.hasScrollingContent)(\"open\", ctx.open);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"showCloseButton\", ctx.showCloseButton);\n        ɵngcc0.ɵɵadvance(2);\n        ɵngcc0.ɵɵtextInterpolate(ctx.label);\n        ɵngcc0.ɵɵadvance(2);\n        ɵngcc0.ɵɵtextInterpolate(ctx.title);\n        ɵngcc0.ɵɵadvance(3);\n        ɵngcc0.ɵɵproperty(\"innerHTML\", ctx.content, ɵngcc0.ɵɵsanitizeHtml);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.buttons.length > 0);\n    } }, dependencies: function () { return [ɵngcc1.NgForOf, ɵngcc1.NgIf, ɵngcc2.Button, Modal, ModalHeader, ModalFooter, ModalContent, ModalHeaderHeading, ModalHeaderLabel]; }, encapsulation: 2 });\n/** @nocollapse */\nAlertModal.ctorParameters = () => [\n    { type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [\"type\",] }] },\n    { type: String, decorators: [{ type: Optional }, { type: Inject, args: [\"label\",] }] },\n    { type: String, decorators: [{ type: Optional }, { type: Inject, args: [\"title\",] }] },\n    { type: String, decorators: [{ type: Optional }, { type: Inject, args: [\"content\",] }] },\n    { type: String, decorators: [{ type: Optional }, { type: Inject, args: [\"size\",] }] },\n    { type: Boolean, decorators: [{ type: Optional }, { type: Inject, args: [\"hasScrollingContent\",] }] },\n    { type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [\"buttons\",] }] },\n    { type: Function, decorators: [{ type: Optional }, { type: Inject, args: [\"close\",] }] },\n    { type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [\"showCloseButton\",] }] }\n];\nAlertModal.propDecorators = {\n    modalContent: [{ type: ViewChild, args: [\"modalContent\", { static: true },] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(AlertModal, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-alert-modal\",\n                template: `\n\t\t<ibm-modal\n\t\t\t[size]=\"size\"\n\t\t\t[theme]=\"type\"\n\t\t\t[ariaLabel]=\"title\"\n\t\t\t[hasScrollingContent]=\"hasScrollingContent\"\n\t\t\t[open]=\"open\"\n\t\t\t(overlaySelected)=\"dismissModal('overlay')\">\n\t\t\t<ibm-modal-header (closeSelect)=\"dismissModal('close')\" [showCloseButton]=\"showCloseButton\">\n\t\t\t\t<p ibmModalHeaderLabel class=\"bx--type-delta\">{{label}}</p>\n\t\t\t\t<p ibmModalHeaderHeading class=\"bx--type-beta\">{{title}}</p>\n\t\t\t</ibm-modal-header>\n\t\t\t<div ibmModalContent #modalContent>\n\t\t\t\t<p [innerHTML]=\"content\"></p>\n\t\t\t</div>\n\t\t\t<ibm-modal-footer *ngIf=\"buttons.length > 0\">\n\t\t\t\t<ng-container *ngFor=\"let button of buttons; let i = index\">\n\t\t\t\t\t<button\n\t\t\t\t\t\t[ibmButton]=\"button.type\"\n\t\t\t\t\t\t(click)=\"buttonClicked(i)\"\n\t\t\t\t\t\t[id]=\"button.id\"\n\t\t\t\t\t\t[attr.modal-primary-focus]=\"(button.type.indexOf('primary') !== -1 ? '' : null)\">\n\t\t\t\t\t\t{{button.text}}\n\t\t\t\t\t</button>\n\t\t\t\t</ng-container>\n\t\t\t</ibm-modal-footer>\n\t\t</ibm-modal>\n\t`\n            }]\n    }], function () { return [{ type: undefined, decorators: [{\n                type: Optional\n            }, {\n                type: Inject,\n                args: [\"type\"]\n            }] }, { type: String, decorators: [{\n                type: Optional\n            }, {\n                type: Inject,\n                args: [\"label\"]\n            }] }, { type: String, decorators: [{\n                type: Optional\n            }, {\n                type: Inject,\n                args: [\"title\"]\n            }] }, { type: String, decorators: [{\n                type: Optional\n            }, {\n                type: Inject,\n                args: [\"content\"]\n            }] }, { type: String, decorators: [{\n                type: Optional\n            }, {\n                type: Inject,\n                args: [\"size\"]\n            }] }, { type: Boolean, decorators: [{\n                type: Optional\n            }, {\n                type: Inject,\n                args: [\"hasScrollingContent\"]\n            }] }, { type: undefined, decorators: [{\n                type: Optional\n            }, {\n                type: Inject,\n                args: [\"buttons\"]\n            }] }, { type: Function, decorators: [{\n                type: Optional\n            }, {\n                type: Inject,\n                args: [\"close\"]\n            }] }, { type: undefined, decorators: [{\n                type: Optional\n            }, {\n                type: Inject,\n                args: [\"showCloseButton\"]\n            }] }]; }, { modalContent: [{\n            type: ViewChild,\n            args: [\"modalContent\", { static: true }]\n        }] }); })();\n\nvar AlertModalType;\n(function (AlertModalType) {\n    AlertModalType[\"default\"] = \"default\";\n    AlertModalType[\"danger\"] = \"danger\";\n})(AlertModalType || (AlertModalType = {}));\nvar ModalButtonType;\n(function (ModalButtonType) {\n    ModalButtonType[\"primary\"] = \"primary\";\n    ModalButtonType[\"secondary\"] = \"secondary\";\n    ModalButtonType[\"tertiary\"] = \"tertiary\";\n    ModalButtonType[\"ghost\"] = \"ghost\";\n    ModalButtonType[\"danger\"] = \"danger\";\n    ModalButtonType[\"danger_primary\"] = \"danger--primary\";\n})(ModalButtonType || (ModalButtonType = {}));\n\nclass ModalFooter {\n}\nModalFooter.ɵfac = function ModalFooter_Factory(t) { return new (t || ModalFooter)(); };\nModalFooter.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: ModalFooter, selectors: [[\"ibm-modal-footer\"]], ngContentSelectors: _c1, decls: 2, vars: 0, consts: [[1, \"bx--modal-footer\"]], template: function ModalFooter_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵprojectionDef();\n        ɵngcc0.ɵɵelementStart(0, \"footer\", 0);\n        ɵngcc0.ɵɵprojection(1);\n        ɵngcc0.ɵɵelementEnd();\n    } }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ModalFooter, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-modal-footer\",\n                template: `\n\t\t<footer class=\"bx--modal-footer\">\n\t\t\t<ng-content></ng-content>\n\t\t</footer>\n\t`\n            }]\n    }], null, null); })();\n\n/**\n * ***Inputs***\n * ```html\n * <ibm-modal-header>Header text</ibm-modal-header>\n * ```\n *\n * ***Outputs***\n * ```html\n * <ibm-modal-header (closeSelect)=\"closeModal()\">Header text</ibm-modal-header>\n * ```\n */\nclass ModalHeader {\n    constructor(i18n) {\n        this.i18n = i18n;\n        /**\n         * Sets the style on the modal heading based on its category.\n         */\n        this.theme = \"default\";\n        /**\n         * Accessible label for the header close button.\n         * Defaults to the `MODAL.CLOSE` value from the i18n service.\n         */\n        this.closeLabel = this.i18n.get().MODAL.CLOSE;\n        /**\n         * Set to `false` to hide the close button.\n         */\n        this.showCloseButton = true;\n        /**\n         * To emit the event of clicking on the close icon within the modal.\n         */\n        this.closeSelect = new EventEmitter();\n    }\n    /**\n     * Handles click for the close icon button within the `Modal`.\n     */\n    onClose() {\n        this.closeSelect.emit();\n    }\n}\nModalHeader.ɵfac = function ModalHeader_Factory(t) { return new (t || ModalHeader)(ɵngcc0.ɵɵdirectiveInject(ɵngcc3.I18n)); };\nModalHeader.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: ModalHeader, selectors: [[\"ibm-modal-header\"]], inputs: { theme: \"theme\", closeLabel: \"closeLabel\", showCloseButton: \"showCloseButton\" }, outputs: { closeSelect: \"closeSelect\" }, ngContentSelectors: _c1, decls: 3, vars: 4, consts: [[\"type\", \"button\", \"class\", \"bx--modal-close\", 3, \"click\", 4, \"ngIf\"], [\"type\", \"button\", 1, \"bx--modal-close\", 3, \"click\"], [1, \"bx--assistive-text\"], [\"ibmIcon\", \"close\", \"size\", \"20\", 1, \"bx--modal-close__icon\"]], template: function ModalHeader_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵprojectionDef();\n        ɵngcc0.ɵɵelementStart(0, \"header\");\n        ɵngcc0.ɵɵprojection(1);\n        ɵngcc0.ɵɵtemplate(2, ModalHeader_button_2_Template, 4, 1, \"button\", 0);\n        ɵngcc0.ɵɵelementEnd();\n    } if (rf & 2) {\n        ɵngcc0.ɵɵclassMapInterpolate1(\"\", ctx.theme, \" bx--modal-header\");\n        ɵngcc0.ɵɵadvance(2);\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.showCloseButton);\n    } }, dependencies: [ɵngcc1.NgIf, ɵngcc4.IconDirective], encapsulation: 2 });\n/** @nocollapse */\nModalHeader.ctorParameters = () => [\n    { type: I18n }\n];\nModalHeader.propDecorators = {\n    theme: [{ type: Input }],\n    closeLabel: [{ type: Input }],\n    showCloseButton: [{ type: Input }],\n    closeSelect: [{ type: Output }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ModalHeader, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-modal-header\",\n                template: `\n\t\t<header class=\"{{theme}} bx--modal-header\">\n\t\t\t<ng-content></ng-content>\n\t\t\t<button\n\t\t\t\t*ngIf=\"showCloseButton\"\n\t\t\t\ttype=\"button\"\n\t\t\t\tclass=\"bx--modal-close\"\n\t\t\t\t(click)=\"onClose()\">\n\t\t\t\t<span class=\"bx--assistive-text\">{{ closeLabel }}</span>\n\t\t\t\t<svg ibmIcon=\"close\" size=\"20\" class=\"bx--modal-close__icon\"></svg>\n\t\t\t</button>\n\t\t</header>\n\n\t`\n            }]\n    }], function () { return [{ type: ɵngcc3.I18n }]; }, { theme: [{\n            type: Input\n        }], closeLabel: [{\n            type: Input\n        }], showCloseButton: [{\n            type: Input\n        }], closeSelect: [{\n            type: Output\n        }] }); })();\n\n/**\n * Modal service handles instantiating and destroying modal instances.\n * Uses PlaceholderService to track open instances, and for it's placeholder view reference.\n */\nclass ModalService {\n    /**\n     * Creates an instance of `ModalService`.\n     */\n    constructor(resolver, placeholderService) {\n        this.resolver = resolver;\n        this.placeholderService = placeholderService;\n    }\n    /**\n     * Creates and renders the modal component that is passed in.\n     * `inputs` is an optional parameter of `data` that can be passed to the `Modal` component.\n     */\n    create(data) {\n        let defaults = { inputs: {} };\n        data = Object.assign({}, defaults, data);\n        const inputProviders = Object.keys(data.inputs).map(inputName => ({\n            provide: inputName,\n            useValue: data.inputs[inputName]\n        }));\n        const injector = Injector.create(inputProviders);\n        const factory = this.resolver.resolveComponentFactory(data.component);\n        let focusedElement = document.activeElement;\n        let component = this.placeholderService.createComponent(factory, injector);\n        setTimeout(() => {\n            component.instance.open = true;\n        });\n        component[\"previouslyFocusedElement\"] = focusedElement; // used to return focus to previously focused element\n        component.instance.close.pipe(\n        // trigger the close animation\n        tap(() => {\n            component.instance.open = false;\n        }), \n        // delay closing by an arbitrary amount to allow the animation to finish\n        delay(150)).subscribe(() => {\n            this.placeholderService.destroyComponent(component);\n            // filter out our component\n            ModalService.modalList = ModalService.modalList.filter(c => c !== component);\n        });\n        component.onDestroy(() => {\n            focusedElement.focus();\n        });\n        ModalService.modalList.push(component);\n        return component;\n    }\n    /**\n     * Creates and renders a new alert modal component.\n     * @param data You can pass in:\n     * `type` - \"default\" | \"danger\" = \"default\",\n     * `label` - a label shown over the title,\n     * `title` - modal's title,\n     * `content` - modal's content, could include HTML tags.\n     * `buttons` is an array of objects\n     * `close` custom close function\n     * ```\n     * {\n     * \t\ttext: \"Button text\",\n     * \t\ttype: \"primary\" | \"secondary\" | \"tertiary\" | \"ghost\" | \"danger\" | \"danger--primary\" = \"primary\",\n     * \t\tclick: clickFunction,\n     * }\n     * ```\n     */\n    show(data) {\n        return this.create({\n            component: AlertModal,\n            inputs: {\n                type: data.type,\n                label: data.label,\n                title: data.title,\n                content: data.content,\n                hasScrollingContent: data.hasScrollingContent || null,\n                size: data.size,\n                buttons: data.buttons || [],\n                close: data.close || (() => { }),\n                showCloseButton: data.showCloseButton\n            }\n        });\n    }\n    /**\n     * Destroys the modal on the supplied index.\n     * When called without parameters it destroys the most recently created/top most modal.\n     */\n    destroy(index = -1) {\n        // return if nothing to destroy because it's already destroyed\n        if (index >= ModalService.modalList.length || ModalService.modalList.length === 0) {\n            return;\n        }\n        // on negative index destroy the last on the list (top modal)\n        if (index < 0) {\n            index = ModalService.modalList.length - 1;\n        }\n        this.placeholderService.destroyComponent(ModalService.modalList[index]);\n        ModalService.modalList.splice(index, 1);\n    }\n}\nModalService.ɵfac = function ModalService_Factory(t) { return new (t || ModalService)(ɵngcc0.ɵɵinject(ɵngcc0.ComponentFactoryResolver), ɵngcc0.ɵɵinject(ɵngcc5.PlaceholderService)); };\nModalService.ɵprov = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjectable({ token: ModalService, factory: ModalService.ɵfac });\n// track all our open modals\nModalService.modalList = [];\n/** @nocollapse */\nModalService.ctorParameters = () => [\n    { type: ComponentFactoryResolver },\n    { type: PlaceholderService }\n];\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ModalService, [{\n        type: Injectable\n    }], function () { return [{ type: ɵngcc0.ComponentFactoryResolver }, { type: ɵngcc5.PlaceholderService }]; }, null); })();\n\n/**\n * Component to create modals for presenting content.\n *\n * [See demo](../../?path=/story/components-modal--basic)\n *\n * Using a modal in your application requires `ibm-placeholder` which would generally be\n * placed near the end of your app component template (app.component.ts or app.component.html) as:\n *\n```html\n<ibm-placeholder></ibm-placeholder>\n```\n *\n * A more complete example for `Modal` is given as follows:\n *\n * Example modal definition:\n *\n```typescript\n@Component({\n    selector: \"app-sample-modal\",\n    template: `\n                <ibm-modal size=\"xl\" (overlaySelected)=\"closeModal()\">\n                    <ibm-modal-header (closeSelect)=\"closeModal()\">Header text</ibm-modal-header>\n                        <section class=\"modal-body\">\n                            <h1>Sample modal works.</h1>\n                            <button class=\"btn--icon-link\" nPopover=\"Hello there\" title=\"Popover title\" placement=\"right\" appendInline=\"true\">\n                                <svg ibmIcon=\"info\" size=\"sm\"></svg>\n                            </button>\n                            {{modalText}}\n                        </section>\n                    <ibm-modal-footer><button ibmButton=\"primary\" (click)=\"closeModal()\">Close</button></ibm-modal-footer>\n                </ibm-modal>`,\n    styleUrls: [\"./sample-modal.component.scss\"]\n})\nexport class SampleModal extends BaseModal {\n    modalText: string;\n    constructor(protected injector: Injector) {\n        super();\n        this.modalText = this.injector.get(\"modalText\");\n    }\n}\n```\n *\n * Example of opening the modal:\n *\n```typescript\n@Component({\n    selector: \"app-modal-demo\",\n    template: `\n                <button ibmButton=\"primary\" (click)=\"openModal('drill')\">Drill-down modal</button>\n                <ibm-placeholder></ibm-placeholder>`\n})\nexport class ModalDemo {\n    openModal() {\n        this.modalService.create({component: SampleModal, inputs: {modalText: \"Hello universe.\"}});\n    }\n}\n```\n *\n * <example-url>../../iframe.html?id=components-modal--basic</example-url>\n */\nclass Modal {\n    /**\n     * Creates an instance of `Modal`.\n     */\n    constructor(modalService, document, renderer) {\n        this.modalService = modalService;\n        this.document = document;\n        this.renderer = renderer;\n        /**\n         * Size of the modal to display.\n         */\n        this.size = \"md\";\n        /**\n         * Classification of the modal.\n         */\n        this.theme = \"default\";\n        this.ariaLabel = \"default\";\n        /**\n         * Controls the visibility of the modal when used directly in a template\n         */\n        this.open = false;\n        /**\n         * Specify whether the modal contains scrolling content. This property overrides the automatic\n         * detection of the existence of scrolling content. Set this property to `true` to force\n         * overflow indicator to show up or to `false` to force overflow indicator to disappear.\n         * It is set to `null` by default which indicates not to override automatic detection.\n         */\n        this.hasScrollingContent = null;\n        /**\n         * Emits event when click occurs within `n-overlay` element. This is to track click events occurring outside bounds of the `Modal` object.\n         */\n        this.overlaySelected = new EventEmitter();\n        /**\n         * To emit the closing event of the modal window.\n         */\n        this.close = new EventEmitter();\n        /**\n         * An element should have 'modal-primary-focus' as an attribute to receive initial focus within the `Modal` component.\n         */\n        this.selectorPrimaryFocus = \"[modal-primary-focus]\";\n    }\n    /**\n     * Label for the modal.\n     *\n     * @deprecated since v4\n     */\n    set modalLabel(value) {\n        this.ariaLabel = value;\n    }\n    get modalLabel() {\n        return this.ariaLabel;\n    }\n    /**\n     * This detects whether or not the modal contains scrolling content.\n     *\n     * To force trigger a detection (ie. on window resize), change or reset the value of the modal content.\n     *\n     * Use the `hasScrollingContent` input to manually override the overflow indicator.\n     */\n    get shouldShowScrollbar() {\n        const modalContent = this.modal ? this.modal.nativeElement.querySelector(\".bx--modal-content\") : null;\n        if (!modalContent) {\n            return false;\n        }\n        // get rounded value from height to match integer returned from scrollHeight\n        const modalContentHeight = Math.ceil(modalContent.getBoundingClientRect().height);\n        const modalContentScrollHeight = modalContent.scrollHeight;\n        return modalContentScrollHeight > modalContentHeight;\n    }\n    ngOnChanges({ open }) {\n        if (open) {\n            if (open.currentValue) {\n                // `100` is just enough time to allow the modal\n                // to become visible, so that we can set focus\n                setTimeout(() => this.focusInitialElement(), 100);\n                // Prevent scrolling on open\n                this.renderer.addClass(this.document.body, \"bx--body--with-modal-open\");\n            }\n            else if (!open.currentValue) {\n                // Enable scrolling on close\n                this.renderer.removeClass(this.document.body, \"bx--body--with-modal-open\");\n            }\n            else if (this.trigger) {\n                this.trigger.focus();\n            }\n        }\n    }\n    /**\n     * Set document focus to be on the modal component after it is initialized.\n     */\n    ngAfterViewInit() {\n        this.focusInitialElement();\n    }\n    /**\n     * Handle keyboard events to close modal and tab through the content within the modal.\n     */\n    handleKeyboardEvent(event) {\n        switch (event.key) {\n            case \"Escape\": {\n                event.stopImmediatePropagation(); // prevents events being fired for multiple modals if more than 2 open\n                this.modalService.destroy(); // destroy top (latest) modal\n                this.close.emit();\n                break;\n            }\n            case \"Tab\": {\n                cycleTabs(event, this.modal.nativeElement);\n                break;\n            }\n        }\n    }\n    // Remove class preventing scrolling\n    ngOnDestroy() {\n        this.renderer.removeClass(this.document.body, \"bx--body--with-modal-open\");\n    }\n    focusInitialElement() {\n        const primaryFocusElement = this.modal.nativeElement.querySelector(this.selectorPrimaryFocus);\n        if (primaryFocusElement && primaryFocusElement.focus) {\n            setTimeout(() => primaryFocusElement.focus());\n        }\n        else if (getFocusElementList(this.modal.nativeElement).length > 0) {\n            setTimeout(() => getFocusElementList(this.modal.nativeElement)[0].focus());\n        }\n        else {\n            setTimeout(() => this.modal.nativeElement.focus());\n        }\n    }\n}\nModal.ɵfac = function Modal_Factory(t) { return new (t || Modal)(ɵngcc0.ɵɵdirectiveInject(ModalService), ɵngcc0.ɵɵdirectiveInject(DOCUMENT), ɵngcc0.ɵɵdirectiveInject(ɵngcc0.Renderer2)); };\nModal.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: Modal, selectors: [[\"ibm-modal\"]], viewQuery: function Modal_Query(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵviewQuery(_c2, 7);\n    } if (rf & 2) {\n        let _t;\n        ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.modal = _t.first);\n    } }, hostBindings: function Modal_HostBindings(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵlistener(\"keydown\", function Modal_keydown_HostBindingHandler($event) { return ctx.handleKeyboardEvent($event); });\n    } }, inputs: { size: \"size\", theme: \"theme\", ariaLabel: \"ariaLabel\", open: \"open\", hasScrollingContent: \"hasScrollingContent\", modalLabel: \"modalLabel\", trigger: \"trigger\" }, outputs: { overlaySelected: \"overlaySelected\", close: \"close\" }, features: [ɵngcc0.ɵɵNgOnChangesFeature], ngContentSelectors: _c1, decls: 5, vars: 10, consts: [[3, \"theme\", \"open\", \"overlaySelect\"], [\"role\", \"dialog\", \"aria-modal\", \"true\", 1, \"bx--modal-container\", 2, \"z-index\", \"1\", 3, \"ngClass\"], [\"modal\", \"\"], [\"class\", \"bx--modal-content--overflow-indicator\", 4, \"ngIf\"], [1, \"bx--modal-content--overflow-indicator\"]], template: function Modal_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵprojectionDef();\n        ɵngcc0.ɵɵelementStart(0, \"ibm-overlay\", 0);\n        ɵngcc0.ɵɵlistener(\"overlaySelect\", function Modal_Template_ibm_overlay_overlaySelect_0_listener() { return ctx.overlaySelected.emit(); });\n        ɵngcc0.ɵɵelementStart(1, \"div\", 1, 2);\n        ɵngcc0.ɵɵprojection(3);\n        ɵngcc0.ɵɵtemplate(4, Modal_div_4_Template, 1, 0, \"div\", 3);\n        ɵngcc0.ɵɵelementEnd()();\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"theme\", ctx.theme)(\"open\", ctx.open);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction4(5, _c3, ctx.size === \"xs\", ctx.size === \"sm\", ctx.size === \"md\", ctx.size === \"lg\"));\n        ɵngcc0.ɵɵattribute(\"aria-label\", ctx.ariaLabel);\n        ɵngcc0.ɵɵadvance(3);\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.hasScrollingContent !== null ? ctx.hasScrollingContent : ctx.shouldShowScrollbar);\n    } }, dependencies: function () { return [ɵngcc1.NgClass, ɵngcc1.NgIf, Overlay]; }, encapsulation: 2 });\n/** @nocollapse */\nModal.ctorParameters = () => [\n    { type: ModalService },\n    { type: Document, decorators: [{ type: Inject, args: [DOCUMENT,] }] },\n    { type: Renderer2 }\n];\nModal.propDecorators = {\n    modalLabel: [{ type: Input }],\n    size: [{ type: Input }],\n    theme: [{ type: Input }],\n    ariaLabel: [{ type: Input }],\n    open: [{ type: Input }],\n    trigger: [{ type: Input }],\n    hasScrollingContent: [{ type: Input }],\n    overlaySelected: [{ type: Output }],\n    close: [{ type: Output }],\n    modal: [{ type: ViewChild, args: [\"modal\", { static: true },] }],\n    handleKeyboardEvent: [{ type: HostListener, args: [\"keydown\", [\"$event\"],] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(Modal, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-modal\",\n                template: `\n\t\t<ibm-overlay\n\t\t\t[theme]=\"theme\"\n\t\t\t[open]=\"open\"\n\t\t\t(overlaySelect)=\"overlaySelected.emit()\">\n\t\t\t<div\n\t\t\t\tclass=\"bx--modal-container\"\n\t\t\t\t[ngClass]=\"{\n\t\t\t\t\t'bx--modal-container--xs': size === 'xs',\n\t\t\t\t\t'bx--modal-container--sm': size === 'sm',\n\t\t\t\t\t'bx--modal-container--md': size === 'md',\n\t\t\t\t\t'bx--modal-container--lg': size === 'lg'\n\t\t\t\t}\"\n\t\t\t\trole=\"dialog\"\n\t\t\t\taria-modal=\"true\"\n\t\t\t\tstyle=\"z-index:1;\"\n\t\t\t\t[attr.aria-label]=\"ariaLabel\"\n\t\t\t\t#modal>\n\t\t\t\t<ng-content></ng-content>\n\t\t\t\t<div\n\t\t\t\t\t*ngIf=\"hasScrollingContent !== null ? hasScrollingContent : shouldShowScrollbar\"\n\t\t\t\t\tclass=\"bx--modal-content--overflow-indicator\">\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</ibm-overlay>\n\t`\n            }]\n    }], function () { return [{ type: ModalService }, { type: Document, decorators: [{\n                type: Inject,\n                args: [DOCUMENT]\n            }] }, { type: ɵngcc0.Renderer2 }]; }, { size: [{\n            type: Input\n        }], theme: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], open: [{\n            type: Input\n        }], hasScrollingContent: [{\n            type: Input\n        }], overlaySelected: [{\n            type: Output\n        }], close: [{\n            type: Output\n        }], modalLabel: [{\n            type: Input\n        }], \n    /**\n     * Handle keyboard events to close modal and tab through the content within the modal.\n     */\n    handleKeyboardEvent: [{\n            type: HostListener,\n            args: [\"keydown\", [\"$event\"]]\n        }], trigger: [{\n            type: Input\n        }], modal: [{\n            type: ViewChild,\n            args: [\"modal\", { static: true }]\n        }] }); })();\n\n/**\n * Component for the overlay object that acts as a backdrop to the `Modal` component.\n *\n * The main purpose for this component is to be able to handle click events that fall outside\n * the bounds of the `Modal` component.\n */\nclass Overlay {\n    constructor() {\n        /**\n         * Classification of the modal.\n         */\n        this.theme = \"default\";\n        this.open = false;\n        /**\n         * To emit the event where the user selects the overlay behind the `Modal`.\n         */\n        this.overlaySelect = new EventEmitter();\n    }\n    /**\n     * Handles the user clicking on the `Overlay` which resides outside the `Modal` object.\n     */\n    overlayClick(event) {\n        if (event.target !== this.overlay.nativeElement) {\n            return;\n        }\n        event.stopPropagation();\n        this.overlaySelect.emit(event);\n    }\n}\nOverlay.ɵfac = function Overlay_Factory(t) { return new (t || Overlay)(); };\nOverlay.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: Overlay, selectors: [[\"ibm-overlay\"]], viewQuery: function Overlay_Query(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵviewQuery(_c4, 7);\n    } if (rf & 2) {\n        let _t;\n        ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.overlay = _t.first);\n    } }, inputs: { theme: \"theme\", open: \"open\" }, outputs: { overlaySelect: \"overlaySelect\" }, ngContentSelectors: _c1, decls: 3, vars: 4, consts: [[1, \"bx--modal\", \"bx--modal-tall\", 3, \"ngClass\", \"click\"], [\"overlay\", \"\"]], template: function Overlay_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵprojectionDef();\n        ɵngcc0.ɵɵelementStart(0, \"section\", 0, 1);\n        ɵngcc0.ɵɵlistener(\"click\", function Overlay_Template_section_click_0_listener($event) { return ctx.overlayClick($event); });\n        ɵngcc0.ɵɵprojection(2);\n        ɵngcc0.ɵɵelementEnd();\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction2(1, _c5, ctx.theme === \"danger\", ctx.open));\n    } }, dependencies: [ɵngcc1.NgClass], encapsulation: 2 });\nOverlay.propDecorators = {\n    theme: [{ type: Input }],\n    open: [{ type: Input }],\n    overlaySelect: [{ type: Output }],\n    overlay: [{ type: ViewChild, args: [\"overlay\", { static: true },] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(Overlay, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-overlay\",\n                template: `\n\t\t<section\n\t\t\tclass=\"bx--modal bx--modal-tall\"\n\t\t\t[ngClass]=\"{\n\t\t\t\t'bx--modal--danger': theme === 'danger',\n\t\t\t\t'is-visible': open\n\t\t\t}\"\n\t\t\t(click)=\"overlayClick($event)\"\n\t\t\t#overlay>\n\t\t\t<ng-content></ng-content>\n\t\t</section>\n\t`\n            }]\n    }], function () { return []; }, { theme: [{\n            type: Input\n        }], open: [{\n            type: Input\n        }], overlaySelect: [{\n            type: Output\n        }], overlay: [{\n            type: ViewChild,\n            args: [\"overlay\", { static: true }]\n        }] }); })();\n\nclass ModalContent {\n    constructor() {\n        this.modalContentClass = true;\n        /**\n         * Provide whether the modal content has a form element.\n         * If `true` is used here, non-form child content should have `bx--modal-content__regular-content` class.\n         */\n        this.hasForm = false;\n    }\n}\nModalContent.ɵfac = function ModalContent_Factory(t) { return new (t || ModalContent)(); };\nModalContent.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: ModalContent, selectors: [[\"\", \"ibmModalContent\", \"\"]], hostVars: 4, hostBindings: function ModalContent_HostBindings(rf, ctx) { if (rf & 2) {\n        ɵngcc0.ɵɵclassProp(\"bx--modal-content\", ctx.modalContentClass)(\"bx--modal-content--with-form\", ctx.hasForm);\n    } }, inputs: { hasForm: \"hasForm\" } });\nModalContent.propDecorators = {\n    modalContentClass: [{ type: HostBinding, args: [\"class.bx--modal-content\",] }],\n    hasForm: [{ type: HostBinding, args: [\"class.bx--modal-content--with-form\",] }, { type: Input }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ModalContent, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmModalContent]\"\n            }]\n    }], function () { return []; }, { modalContentClass: [{\n            type: HostBinding,\n            args: [\"class.bx--modal-content\"]\n        }], hasForm: [{\n            type: HostBinding,\n            args: [\"class.bx--modal-content--with-form\"]\n        }, {\n            type: Input\n        }] }); })();\n\nclass ModalContentText {\n    constructor() {\n        this.modalContentTextClass = true;\n    }\n}\nModalContentText.ɵfac = function ModalContentText_Factory(t) { return new (t || ModalContentText)(); };\nModalContentText.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: ModalContentText, selectors: [[\"\", \"ibmModalContentText\", \"\"]], hostVars: 2, hostBindings: function ModalContentText_HostBindings(rf, ctx) { if (rf & 2) {\n        ɵngcc0.ɵɵclassProp(\"bx--modal-content__text\", ctx.modalContentTextClass);\n    } } });\nModalContentText.propDecorators = {\n    modalContentTextClass: [{ type: HostBinding, args: [\"class.bx--modal-content__text\",] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ModalContentText, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmModalContentText]\"\n            }]\n    }], function () { return []; }, { modalContentTextClass: [{\n            type: HostBinding,\n            args: [\"class.bx--modal-content__text\"]\n        }] }); })();\n\nclass ModalHeaderHeading {\n    constructor() {\n        this.modalHeaderHeadingClass = true;\n    }\n}\nModalHeaderHeading.ɵfac = function ModalHeaderHeading_Factory(t) { return new (t || ModalHeaderHeading)(); };\nModalHeaderHeading.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: ModalHeaderHeading, selectors: [[\"\", \"ibmModalHeaderHeading\", \"\"]], hostVars: 2, hostBindings: function ModalHeaderHeading_HostBindings(rf, ctx) { if (rf & 2) {\n        ɵngcc0.ɵɵclassProp(\"bx--modal-header__heading\", ctx.modalHeaderHeadingClass);\n    } } });\nModalHeaderHeading.propDecorators = {\n    modalHeaderHeadingClass: [{ type: HostBinding, args: [\"class.bx--modal-header__heading\",] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ModalHeaderHeading, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmModalHeaderHeading]\"\n            }]\n    }], function () { return []; }, { modalHeaderHeadingClass: [{\n            type: HostBinding,\n            args: [\"class.bx--modal-header__heading\"]\n        }] }); })();\n\nclass ModalHeaderLabel {\n    constructor() {\n        this.modalHeaderLabelClass = true;\n    }\n}\nModalHeaderLabel.ɵfac = function ModalHeaderLabel_Factory(t) { return new (t || ModalHeaderLabel)(); };\nModalHeaderLabel.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: ModalHeaderLabel, selectors: [[\"\", \"ibmModalHeaderLabel\", \"\"]], hostVars: 2, hostBindings: function ModalHeaderLabel_HostBindings(rf, ctx) { if (rf & 2) {\n        ɵngcc0.ɵɵclassProp(\"bx--modal-header__label\", ctx.modalHeaderLabelClass);\n    } } });\nModalHeaderLabel.propDecorators = {\n    modalHeaderLabelClass: [{ type: HostBinding, args: [\"class.bx--modal-header__label\",] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ModalHeaderLabel, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmModalHeaderLabel]\"\n            }]\n    }], function () { return []; }, { modalHeaderLabelClass: [{\n            type: HostBinding,\n            args: [\"class.bx--modal-header__label\"]\n        }] }); })();\n\n// modules\nclass ModalModule {\n}\nModalModule.ɵfac = function ModalModule_Factory(t) { return new (t || ModalModule)(); };\nModalModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: ModalModule });\nModalModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({ providers: [ModalService], imports: [CommonModule,\n        ButtonModule,\n        I18nModule,\n        PlaceholderModule,\n        ExperimentalModule,\n        IconModule] });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ModalModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    AlertModal,\n                    Modal,\n                    ModalHeader,\n                    ModalFooter,\n                    Overlay,\n                    ModalContent,\n                    ModalContentText,\n                    ModalHeaderHeading,\n                    ModalHeaderLabel,\n                    BaseModal\n                ],\n                exports: [\n                    AlertModal,\n                    Modal,\n                    ModalHeader,\n                    ModalFooter,\n                    ModalContent,\n                    ModalContentText,\n                    ModalHeaderHeading,\n                    ModalHeaderLabel,\n                    BaseModal\n                ],\n                entryComponents: [\n                    AlertModal,\n                    Modal,\n                    ModalFooter,\n                    ModalHeader\n                ],\n                providers: [ModalService],\n                imports: [\n                    CommonModule,\n                    ButtonModule,\n                    I18nModule,\n                    PlaceholderModule,\n                    ExperimentalModule,\n                    IconModule\n                ]\n            }]\n    }], null, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(ModalModule, { declarations: function () { return [AlertModal, Modal, ModalHeader, ModalFooter, Overlay, ModalContent, ModalContentText, ModalHeaderHeading, ModalHeaderLabel, BaseModal]; }, imports: function () { return [CommonModule,\n        ButtonModule,\n        I18nModule,\n        PlaceholderModule,\n        ExperimentalModule,\n        IconModule]; }, exports: function () { return [AlertModal, Modal, ModalHeader, ModalFooter, ModalContent, ModalContentText, ModalHeaderHeading, ModalHeaderLabel, BaseModal]; } }); })();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { AlertModal, AlertModalType, ModalButtonType, BaseModal, ModalFooter, ModalHeader, Modal, ModalModule, ModalService, Overlay, ModalContent, ModalContentText, ModalHeaderHeading, ModalHeaderLabel };\n\n","/**\n *\n * carbon-angular v0.0.0 | carbon-components-angular-notification.js\n *\n * Copyright 2014, 2023 IBM\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\nimport { of, isObservable } from 'rxjs';\nimport { ButtonModule } from 'carbon-components-angular/button';\nimport { CommonModule } from '@angular/common';\nimport { Injectable, ApplicationRef, Directive, HostBinding, Component, Input, Output, EventEmitter, ViewChild, ComponentFactoryResolver, Injector, NgZone, NgModule } from '@angular/core';\nimport { I18n, I18nModule } from 'carbon-components-angular/i18n';\nimport { ExperimentalModule } from 'carbon-components-angular/experimental';\nimport { LinkModule } from 'carbon-components-angular/link';\nimport { IconModule } from 'carbon-components-angular/icon';\n\nimport * as ɵngcc0 from '@angular/core';\nimport * as ɵngcc1 from 'carbon-components-angular/i18n';\nimport * as ɵngcc2 from 'carbon-components-angular/button';\nimport * as ɵngcc3 from '@angular/common';\nimport * as ɵngcc4 from 'carbon-components-angular/link';\nimport * as ɵngcc5 from 'carbon-components-angular/icon';\n\nconst _c0 = [\"notification\"];\nfunction Notification__svg_svg_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵelement(0, \"svg\", 11);\n} }\nfunction Notification__svg_svg_2_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵelement(0, \"svg\", 12);\n} }\nfunction Notification__svg_svg_3_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵelement(0, \"svg\", 13);\n} }\nfunction Notification__svg_svg_4_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵelement(0, \"svg\", 14);\n} }\nfunction Notification_p_6_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelement(0, \"p\", 15);\n} if (rf & 2) {\n    const ctx_r4 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵproperty(\"innerHTML\", ctx_r4.notificationObj.title, ɵngcc0.ɵɵsanitizeHtml);\n} }\nfunction Notification_div_7_ng_container_2_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainerStart(0);\n    ɵngcc0.ɵɵelementStart(1, \"a\", 18);\n    ɵngcc0.ɵɵtext(2);\n    ɵngcc0.ɵɵelementEnd();\n    ɵngcc0.ɵɵelementContainerEnd();\n} if (rf & 2) {\n    const link_r10 = ctx.$implicit;\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"href\", link_r10.href, ɵngcc0.ɵɵsanitizeUrl);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate1(\" \", link_r10.text, \"\");\n} }\nfunction Notification_div_7_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"div\", 16);\n    ɵngcc0.ɵɵelement(1, \"span\", 17);\n    ɵngcc0.ɵɵtemplate(2, Notification_div_7_ng_container_2_Template, 3, 2, \"ng-container\", 9);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r5 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"innerHTML\", ctx_r5.notificationObj.message, ɵngcc0.ɵɵsanitizeHtml);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngForOf\", ctx_r5.notificationObj.links);\n} }\nfunction Notification_ng_container_8_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainer(0);\n} }\nfunction Notification_div_9_Template(rf, ctx) { if (rf & 1) {\n    const _r13 = ɵngcc0.ɵɵgetCurrentView();\n    ɵngcc0.ɵɵelementStart(0, \"div\")(1, \"button\", 19);\n    ɵngcc0.ɵɵlistener(\"click\", function Notification_div_9_Template_button_click_1_listener($event) { const restoredCtx = ɵngcc0.ɵɵrestoreView(_r13); const action_r11 = restoredCtx.$implicit; const ctx_r12 = ɵngcc0.ɵɵnextContext(); return ɵngcc0.ɵɵresetView(ctx_r12.onClick(action_r11, $event)); });\n    ɵngcc0.ɵɵtext(2);\n    ɵngcc0.ɵɵelementEnd()();\n} if (rf & 2) {\n    const action_r11 = ctx.$implicit;\n    ɵngcc0.ɵɵadvance(2);\n    ɵngcc0.ɵɵtextInterpolate1(\" \", action_r11.text, \" \");\n} }\nfunction Notification_button_10_Template(rf, ctx) { if (rf & 1) {\n    const _r15 = ɵngcc0.ɵɵgetCurrentView();\n    ɵngcc0.ɵɵelementStart(0, \"button\", 20);\n    ɵngcc0.ɵɵlistener(\"click\", function Notification_button_10_Template_button_click_0_listener() { ɵngcc0.ɵɵrestoreView(_r15); const ctx_r14 = ɵngcc0.ɵɵnextContext(); return ɵngcc0.ɵɵresetView(ctx_r14.onClose()); });\n    ɵngcc0.ɵɵpipe(1, \"async\");\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵelement(2, \"svg\", 21);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r8 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵattribute(\"aria-label\", ɵngcc0.ɵɵpipeBind1(1, 1, ctx_r8.notificationObj.closeLabel));\n} }\nconst _c1 = function (a0) { return { $implicit: a0 }; };\nfunction Toast__svg_svg_0_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵelement(0, \"svg\", 10);\n} }\nfunction Toast__svg_svg_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵelement(0, \"svg\", 11);\n} }\nfunction Toast__svg_svg_2_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵelement(0, \"svg\", 12);\n} }\nfunction Toast__svg_svg_3_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵelement(0, \"svg\", 13);\n} }\nfunction Toast_h3_5_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelement(0, \"h3\", 14);\n} if (rf & 2) {\n    const ctx_r4 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵproperty(\"innerHTML\", ctx_r4.notificationObj.title, ɵngcc0.ɵɵsanitizeHtml);\n} }\nfunction Toast_div_6_ng_container_2_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainerStart(0);\n    ɵngcc0.ɵɵelementStart(1, \"a\", 18);\n    ɵngcc0.ɵɵtext(2);\n    ɵngcc0.ɵɵelementEnd();\n    ɵngcc0.ɵɵelementContainerEnd();\n} if (rf & 2) {\n    const link_r10 = ctx.$implicit;\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"href\", link_r10.href, ɵngcc0.ɵɵsanitizeUrl);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate1(\" \", link_r10.text, \"\");\n} }\nfunction Toast_div_6_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"div\", 15);\n    ɵngcc0.ɵɵelement(1, \"span\", 16);\n    ɵngcc0.ɵɵtemplate(2, Toast_div_6_ng_container_2_Template, 3, 2, \"ng-container\", 17);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r5 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"innerHTML\", ctx_r5.notificationObj.subtitle, ɵngcc0.ɵɵsanitizeHtml);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngForOf\", ctx_r5.notificationObj.links);\n} }\nfunction Toast_p_7_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelement(0, \"p\", 19);\n} if (rf & 2) {\n    const ctx_r6 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵproperty(\"innerHTML\", ctx_r6.notificationObj.caption, ɵngcc0.ɵɵsanitizeHtml);\n} }\nfunction Toast_ng_container_8_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainer(0);\n} }\nfunction Toast_button_9_Template(rf, ctx) { if (rf & 1) {\n    const _r12 = ɵngcc0.ɵɵgetCurrentView();\n    ɵngcc0.ɵɵelementStart(0, \"button\", 20);\n    ɵngcc0.ɵɵlistener(\"click\", function Toast_button_9_Template_button_click_0_listener() { ɵngcc0.ɵɵrestoreView(_r12); const ctx_r11 = ɵngcc0.ɵɵnextContext(); return ɵngcc0.ɵɵresetView(ctx_r11.onClose()); });\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵelement(1, \"svg\", 21);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r8 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵattribute(\"aria-label\", ctx_r8.notificationObj.closeLabel);\n} }\nclass NotificationDisplayService {\n    constructor(applicationRef) {\n        this.applicationRef = applicationRef;\n    }\n    /**\n     * Programatically closes notification based on `notificationRef`.\t *\n     */\n    close(notificationRef) {\n        if (notificationRef.hostView) {\n            setTimeout(() => {\n                this.applicationRef.detachView(notificationRef.hostView);\n                notificationRef.destroy();\n            }, 200);\n        }\n    }\n}\nNotificationDisplayService.ɵfac = function NotificationDisplayService_Factory(t) { return new (t || NotificationDisplayService)(ɵngcc0.ɵɵinject(ɵngcc0.ApplicationRef)); };\nNotificationDisplayService.ɵprov = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjectable({ token: NotificationDisplayService, factory: NotificationDisplayService.ɵfac });\n/** @nocollapse */\nNotificationDisplayService.ctorParameters = () => [\n    { type: ApplicationRef }\n];\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(NotificationDisplayService, [{\n        type: Injectable\n    }], function () { return [{ type: ɵngcc0.ApplicationRef }]; }, null); })();\n\nclass NotificationSubtitle {\n    constructor() {\n        this.baseClass = true;\n    }\n}\nNotificationSubtitle.ɵfac = function NotificationSubtitle_Factory(t) { return new (t || NotificationSubtitle)(); };\nNotificationSubtitle.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: NotificationSubtitle, selectors: [[\"\", \"ibmNotificationSubtitle\", \"\"]], hostVars: 2, hostBindings: function NotificationSubtitle_HostBindings(rf, ctx) { if (rf & 2) {\n        ɵngcc0.ɵɵclassProp(\"bx--inline-notification__subtitle\", ctx.baseClass);\n    } } });\nNotificationSubtitle.propDecorators = {\n    baseClass: [{ type: HostBinding, args: [\"class.bx--inline-notification__subtitle\",] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(NotificationSubtitle, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmNotificationSubtitle]\"\n            }]\n    }], function () { return []; }, { baseClass: [{\n            type: HostBinding,\n            args: [\"class.bx--inline-notification__subtitle\"]\n        }] }); })();\n\nclass NotificationTitle {\n    constructor() {\n        this.baseClass = true;\n    }\n}\nNotificationTitle.ɵfac = function NotificationTitle_Factory(t) { return new (t || NotificationTitle)(); };\nNotificationTitle.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: NotificationTitle, selectors: [[\"\", \"ibmNotificationTitle\", \"\"]], hostVars: 2, hostBindings: function NotificationTitle_HostBindings(rf, ctx) { if (rf & 2) {\n        ɵngcc0.ɵɵclassProp(\"bx--inline-notification__title\", ctx.baseClass);\n    } } });\nNotificationTitle.propDecorators = {\n    baseClass: [{ type: HostBinding, args: [\"class.bx--inline-notification__title\",] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(NotificationTitle, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmNotificationTitle]\"\n            }]\n    }], function () { return []; }, { baseClass: [{\n            type: HostBinding,\n            args: [\"class.bx--inline-notification__title\"]\n        }] }); })();\n\n/**\n * Notification messages are displayed toward the top of the UI and do not interrupt user’s work.\n *\n * [See demo](../../?path=/story/components-notification--basic)\n *\n * <example-url>../../iframe.html?id=components-notification--basic</example-url>\n */\nclass Notification {\n    constructor(notificationDisplayService, i18n) {\n        this.notificationDisplayService = notificationDisplayService;\n        this.i18n = i18n;\n        /**\n         * Emits on close.\n         */\n        this.close = new EventEmitter();\n        this.notificationID = `notification-${Notification.notificationCount++}`;\n        this.notificationClass = true;\n        this.role = \"alert\";\n        this.defaultNotificationObj = {\n            title: \"\",\n            message: \"\",\n            type: \"info\",\n            showClose: true,\n            closeLabel: this.i18n.get(\"NOTIFICATION.CLOSE_BUTTON\")\n        };\n        this._notificationObj = Object.assign({}, this.defaultNotificationObj);\n    }\n    /**\n     * Can have `type`, `title`, and `message` members.\n     *\n     * `type` can be one of `\"info\"`, `\"warning\"`, `\"error\"`, `\"success\"`\n     *\n     * `message` is the message to display\n     */\n    get notificationObj() {\n        return this._notificationObj;\n    }\n    set notificationObj(obj) {\n        if (obj.closeLabel) {\n            obj.closeLabel = of(obj.closeLabel);\n        }\n        this._notificationObj = Object.assign({}, this.defaultNotificationObj, obj);\n    }\n    get isError() { return this.notificationObj.type === \"error\"; }\n    get isInfo() { return this.notificationObj.type === \"info\"; }\n    get isSuccess() { return this.notificationObj.type === \"success\"; }\n    get isWarning() { return this.notificationObj.type === \"warning\"; }\n    get isLowContrast() { return this.notificationObj.lowContrast; }\n    get isCloseHidden() { return !this._notificationObj.showClose; }\n    /**\n     * Emits close event.\n     */\n    onClose() {\n        this.close.emit();\n    }\n    onClick(action, event) {\n        if (!action.click) {\n            return;\n        }\n        if (isObservable(action.click)) {\n            action.click.next({ event, action });\n        }\n        else {\n            action.click({ event, action });\n        }\n    }\n    destroy() {\n        this.notificationDisplayService.close(this);\n    }\n}\nNotification.ɵfac = function Notification_Factory(t) { return new (t || Notification)(ɵngcc0.ɵɵdirectiveInject(NotificationDisplayService), ɵngcc0.ɵɵdirectiveInject(ɵngcc1.I18n)); };\nNotification.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: Notification, selectors: [[\"ibm-notification\"]], viewQuery: function Notification_Query(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵviewQuery(_c0, 5);\n    } if (rf & 2) {\n        let _t;\n        ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.notification = _t.first);\n    } }, hostVars: 16, hostBindings: function Notification_HostBindings(rf, ctx) { if (rf & 2) {\n        ɵngcc0.ɵɵattribute(\"id\", ctx.notificationID)(\"role\", ctx.role);\n        ɵngcc0.ɵɵclassProp(\"bx--inline-notification\", ctx.notificationClass)(\"bx--inline-notification--error\", ctx.isError)(\"bx--inline-notification--info\", ctx.isInfo)(\"bx--inline-notification--success\", ctx.isSuccess)(\"bx--inline-notification--warning\", ctx.isWarning)(\"bx--inline-notification--low-contrast\", ctx.isLowContrast)(\"bx--inline-notification--hide-close-button\", ctx.isCloseHidden);\n    } }, inputs: { notificationObj: \"notificationObj\" }, outputs: { close: \"close\" }, decls: 11, vars: 12, consts: [[1, \"bx--inline-notification__details\"], [\"ibmIcon\", \"error--filled\", \"size\", \"20\", \"class\", \"bx--inline-notification__icon\", 4, \"ngIf\"], [\"ibmIcon\", \"warning--filled\", \"size\", \"20\", \"class\", \"bx--inline-notification__icon\", 4, \"ngIf\"], [\"ibmIcon\", \"checkmark--filled\", \"size\", \"20\", \"class\", \"bx--inline-notification__icon\", 4, \"ngIf\"], [\"ibmIcon\", \"information--filled\", \"size\", \"20\", \"class\", \"bx--inline-notification__icon\", 4, \"ngIf\"], [1, \"bx--inline-notification__text-wrapper\"], [\"ibmNotificationTitle\", \"\", 3, \"innerHTML\", 4, \"ngIf\"], [\"ibmNotificationSubtitle\", \"\", 4, \"ngIf\"], [4, \"ngTemplateOutlet\", \"ngTemplateOutletContext\"], [4, \"ngFor\", \"ngForOf\"], [\"class\", \"bx--inline-notification__close-button\", \"type\", \"button\", 3, \"click\", 4, \"ngIf\"], [\"ibmIcon\", \"error--filled\", \"size\", \"20\", 1, \"bx--inline-notification__icon\"], [\"ibmIcon\", \"warning--filled\", \"size\", \"20\", 1, \"bx--inline-notification__icon\"], [\"ibmIcon\", \"checkmark--filled\", \"size\", \"20\", 1, \"bx--inline-notification__icon\"], [\"ibmIcon\", \"information--filled\", \"size\", \"20\", 1, \"bx--inline-notification__icon\"], [\"ibmNotificationTitle\", \"\", 3, \"innerHTML\"], [\"ibmNotificationSubtitle\", \"\"], [3, \"innerHTML\"], [\"ibmLink\", \"\", 3, \"href\"], [\"ibmButton\", \"ghost\", \"size\", \"sm\", \"type\", \"button\", 1, \"bx--inline-notification__action-button\", 3, \"click\"], [\"type\", \"button\", 1, \"bx--inline-notification__close-button\", 3, \"click\"], [\"ibmIcon\", \"close\", \"size\", \"16\", 1, \"bx--inline-notification__close-icon\"]], template: function Notification_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵelementStart(0, \"div\", 0);\n        ɵngcc0.ɵɵtemplate(1, Notification__svg_svg_1_Template, 1, 0, \"svg\", 1);\n        ɵngcc0.ɵɵtemplate(2, Notification__svg_svg_2_Template, 1, 0, \"svg\", 2);\n        ɵngcc0.ɵɵtemplate(3, Notification__svg_svg_3_Template, 1, 0, \"svg\", 3);\n        ɵngcc0.ɵɵtemplate(4, Notification__svg_svg_4_Template, 1, 0, \"svg\", 4);\n        ɵngcc0.ɵɵelementStart(5, \"div\", 5);\n        ɵngcc0.ɵɵtemplate(6, Notification_p_6_Template, 1, 1, \"p\", 6);\n        ɵngcc0.ɵɵtemplate(7, Notification_div_7_Template, 3, 2, \"div\", 7);\n        ɵngcc0.ɵɵtemplate(8, Notification_ng_container_8_Template, 1, 0, \"ng-container\", 8);\n        ɵngcc0.ɵɵelementEnd()();\n        ɵngcc0.ɵɵtemplate(9, Notification_div_9_Template, 3, 1, \"div\", 9);\n        ɵngcc0.ɵɵtemplate(10, Notification_button_10_Template, 3, 3, \"button\", 10);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.notificationObj.type === \"error\");\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.notificationObj.type === \"warning\");\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.notificationObj.type === \"success\");\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.notificationObj.type === \"info\");\n        ɵngcc0.ɵɵadvance(2);\n        ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.notificationObj.template);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.notificationObj.template);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", ctx.notificationObj.template)(\"ngTemplateOutletContext\", ɵngcc0.ɵɵpureFunction1(10, _c1, ctx.notificationObj));\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngForOf\", ctx.notificationObj.actions);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.isCloseHidden);\n    } }, dependencies: [ɵngcc2.Button, ɵngcc3.NgForOf, ɵngcc3.NgIf, ɵngcc3.NgTemplateOutlet, ɵngcc4.Link, ɵngcc5.IconDirective, NotificationTitle, NotificationSubtitle, ɵngcc3.AsyncPipe], encapsulation: 2 });\nNotification.notificationCount = 0;\n/** @nocollapse */\nNotification.ctorParameters = () => [\n    { type: NotificationDisplayService },\n    { type: I18n }\n];\nNotification.propDecorators = {\n    notificationObj: [{ type: Input }],\n    close: [{ type: Output }],\n    notification: [{ type: ViewChild, args: [\"notification\", { static: false },] }],\n    notificationID: [{ type: HostBinding, args: [\"attr.id\",] }],\n    notificationClass: [{ type: HostBinding, args: [\"class.bx--inline-notification\",] }],\n    role: [{ type: HostBinding, args: [\"attr.role\",] }],\n    isError: [{ type: HostBinding, args: [\"class.bx--inline-notification--error\",] }],\n    isInfo: [{ type: HostBinding, args: [\"class.bx--inline-notification--info\",] }],\n    isSuccess: [{ type: HostBinding, args: [\"class.bx--inline-notification--success\",] }],\n    isWarning: [{ type: HostBinding, args: [\"class.bx--inline-notification--warning\",] }],\n    isLowContrast: [{ type: HostBinding, args: [\"class.bx--inline-notification--low-contrast\",] }],\n    isCloseHidden: [{ type: HostBinding, args: [\"class.bx--inline-notification--hide-close-button\",] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(Notification, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-notification\",\n                template: `\n\t\t<div class=\"bx--inline-notification__details\">\n\t\t\t<svg\n\t\t\t\tibmIcon=\"error--filled\"\n\t\t\t\tsize=\"20\"\n\t\t\t\t*ngIf=\"notificationObj.type === 'error'\"\n\t\t\t\tclass=\"bx--inline-notification__icon\">\n\t\t\t</svg>\n\t\t\t<svg\n\t\t\t\tibmIcon=\"warning--filled\"\n\t\t\t\tsize=\"20\"\n\t\t\t\t*ngIf=\"notificationObj.type === 'warning'\"\n\t\t\t\tclass=\"bx--inline-notification__icon\">\n\t\t\t</svg>\n\t\t\t<svg\n\t\t\t\tibmIcon=\"checkmark--filled\"\n\t\t\t\tsize=\"20\"\n\t\t\t\t*ngIf=\"notificationObj.type === 'success'\"\n\t\t\t\tclass=\"bx--inline-notification__icon\">\n\t\t\t</svg>\n\t\t\t<svg\n\t\t\t\tibmIcon=\"information--filled\"\n\t\t\t\tsize=\"20\"\n\t\t\t\t*ngIf=\"notificationObj.type === 'info'\"\n\t\t\t\tclass=\"bx--inline-notification__icon\">\n\t\t\t</svg>\n\t\t\t<div class=\"bx--inline-notification__text-wrapper\">\n\t\t\t\t<p *ngIf=\"!notificationObj.template\" ibmNotificationTitle [innerHTML]=\"notificationObj.title\"></p>\n\t\t\t\t<div *ngIf=\"!notificationObj.template\" ibmNotificationSubtitle>\n\t\t\t\t\t<span [innerHTML]=\"notificationObj.message\"></span>\n\t\t\t\t\t<ng-container *ngFor=\"let link of notificationObj.links\">\n\t\t\t\t\t\t<a ibmLink [href]=\"link.href\"> {{link.text}}</a>\n\t\t\t\t\t</ng-container>\n\t\t\t\t</div>\n\t\t\t\t<ng-container *ngTemplateOutlet=\"notificationObj.template; context: { $implicit: notificationObj}\"></ng-container>\n\t\t\t</div>\n\t\t</div>\n\t\t<div *ngFor=\"let action of notificationObj.actions\">\n\t\t\t<button\n\t\t\t\t(click)=\"onClick(action, $event)\"\n\t\t\t\tibmButton=\"ghost\"\n\t\t\t\tsize=\"sm\"\n\t\t\t\tclass=\"bx--inline-notification__action-button\"\n\t\t\t\ttype=\"button\">\n\t\t\t\t{{action.text}}\n\t\t\t</button>\n\t\t</div>\n\t\t<button\n\t\t\t*ngIf=\"!isCloseHidden\"\n\t\t\t(click)=\"onClose()\"\n\t\t\tclass=\"bx--inline-notification__close-button\"\n\t\t\t[attr.aria-label]=\"notificationObj.closeLabel | async\"\n\t\t\ttype=\"button\">\n\t\t\t<svg ibmIcon=\"close\" size=\"16\" class=\"bx--inline-notification__close-icon\"></svg>\n\t\t</button>\n\t`\n            }]\n    }], function () { return [{ type: NotificationDisplayService }, { type: ɵngcc1.I18n }]; }, { close: [{\n            type: Output\n        }], notificationID: [{\n            type: HostBinding,\n            args: [\"attr.id\"]\n        }], notificationClass: [{\n            type: HostBinding,\n            args: [\"class.bx--inline-notification\"]\n        }], role: [{\n            type: HostBinding,\n            args: [\"attr.role\"]\n        }], notificationObj: [{\n            type: Input\n        }], isError: [{\n            type: HostBinding,\n            args: [\"class.bx--inline-notification--error\"]\n        }], isInfo: [{\n            type: HostBinding,\n            args: [\"class.bx--inline-notification--info\"]\n        }], isSuccess: [{\n            type: HostBinding,\n            args: [\"class.bx--inline-notification--success\"]\n        }], isWarning: [{\n            type: HostBinding,\n            args: [\"class.bx--inline-notification--warning\"]\n        }], isLowContrast: [{\n            type: HostBinding,\n            args: [\"class.bx--inline-notification--low-contrast\"]\n        }], isCloseHidden: [{\n            type: HostBinding,\n            args: [\"class.bx--inline-notification--hide-close-button\"]\n        }], notification: [{\n            type: ViewChild,\n            args: [\"notification\", { static: false }]\n        }] }); })();\n\n/**\n * Toast messages are displayed toward the top of the UI and do not interrupt user’s work.\n *\n * [See demo](../../?path=/story/components-notification--toast)\n *\n * <example-url>../../iframe.html?id=components-notification--toast</example-url>\n */\nclass Toast extends Notification {\n    constructor(notificationDisplayService, i18n) {\n        super(notificationDisplayService, i18n);\n        this.notificationDisplayService = notificationDisplayService;\n        this.i18n = i18n;\n        this.toastID = `toast-${Toast.toastCount++}`;\n        this.toastClass = true;\n        this.role = \"alert\";\n        // disable inline notification styles\n        this.notificationClass = false;\n    }\n    get isError() { return this.notificationObj[\"type\"] === \"error\"; }\n    get isInfo() { return this.notificationObj[\"type\"] === \"info\"; }\n    get isSuccess() { return this.notificationObj[\"type\"] === \"success\"; }\n    get isWarning() { return this.notificationObj[\"type\"] === \"warning\"; }\n    get isLowContrast() { return this.notificationObj.lowContrast; }\n    ngOnInit() {\n        if (!this.notificationObj.closeLabel) {\n            this.notificationObj.closeLabel = this.i18n.get().NOTIFICATION.CLOSE_BUTTON;\n        }\n    }\n}\nToast.ɵfac = function Toast_Factory(t) { return new (t || Toast)(ɵngcc0.ɵɵdirectiveInject(NotificationDisplayService), ɵngcc0.ɵɵdirectiveInject(ɵngcc1.I18n)); };\nToast.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: Toast, selectors: [[\"ibm-toast\"]], hostVars: 14, hostBindings: function Toast_HostBindings(rf, ctx) { if (rf & 2) {\n        ɵngcc0.ɵɵattribute(\"id\", ctx.toastID)(\"role\", ctx.role);\n        ɵngcc0.ɵɵclassProp(\"bx--toast-notification\", ctx.toastClass)(\"bx--toast-notification--error\", ctx.isError)(\"bx--toast-notification--info\", ctx.isInfo)(\"bx--toast-notification--success\", ctx.isSuccess)(\"bx--toast-notification--warning\", ctx.isWarning)(\"bx--toast-notification--low-contrast\", ctx.isLowContrast);\n    } }, inputs: { notificationObj: \"notificationObj\" }, features: [ɵngcc0.ɵɵInheritDefinitionFeature], decls: 10, vars: 12, consts: [[\"ibmIcon\", \"error--filled\", \"size\", \"20\", \"class\", \"bx--toast-notification__icon\", 4, \"ngIf\"], [\"ibmIcon\", \"warning--filled\", \"size\", \"20\", \"class\", \"bx--toast-notification__icon\", 4, \"ngIf\"], [\"ibmIcon\", \"checkmark--filled\", \"size\", \"20\", \"class\", \"bx--toast-notification__icon\", 4, \"ngIf\"], [\"ibmIcon\", \"information--filled\", \"size\", \"20\", \"class\", \"bx--toast-notification__icon\", 4, \"ngIf\"], [1, \"bx--toast-notification__details\"], [\"ibmToastTitle\", \"\", 3, \"innerHTML\", 4, \"ngIf\"], [\"ibmToastSubtitle\", \"\", 4, \"ngIf\"], [\"ibmToastCaption\", \"\", 3, \"innerHTML\", 4, \"ngIf\"], [4, \"ngTemplateOutlet\", \"ngTemplateOutletContext\"], [\"class\", \"bx--toast-notification__close-button\", \"type\", \"button\", 3, \"click\", 4, \"ngIf\"], [\"ibmIcon\", \"error--filled\", \"size\", \"20\", 1, \"bx--toast-notification__icon\"], [\"ibmIcon\", \"warning--filled\", \"size\", \"20\", 1, \"bx--toast-notification__icon\"], [\"ibmIcon\", \"checkmark--filled\", \"size\", \"20\", 1, \"bx--toast-notification__icon\"], [\"ibmIcon\", \"information--filled\", \"size\", \"20\", 1, \"bx--toast-notification__icon\"], [\"ibmToastTitle\", \"\", 3, \"innerHTML\"], [\"ibmToastSubtitle\", \"\"], [3, \"innerHTML\"], [4, \"ngFor\", \"ngForOf\"], [\"ibmLink\", \"\", 3, \"href\"], [\"ibmToastCaption\", \"\", 3, \"innerHTML\"], [\"type\", \"button\", 1, \"bx--toast-notification__close-button\", 3, \"click\"], [\"ibmIcon\", \"close\", \"size\", \"16\", 1, \"bx--toast-notification__close-icon\"]], template: function Toast_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵtemplate(0, Toast__svg_svg_0_Template, 1, 0, \"svg\", 0);\n        ɵngcc0.ɵɵtemplate(1, Toast__svg_svg_1_Template, 1, 0, \"svg\", 1);\n        ɵngcc0.ɵɵtemplate(2, Toast__svg_svg_2_Template, 1, 0, \"svg\", 2);\n        ɵngcc0.ɵɵtemplate(3, Toast__svg_svg_3_Template, 1, 0, \"svg\", 3);\n        ɵngcc0.ɵɵelementStart(4, \"div\", 4);\n        ɵngcc0.ɵɵtemplate(5, Toast_h3_5_Template, 1, 1, \"h3\", 5);\n        ɵngcc0.ɵɵtemplate(6, Toast_div_6_Template, 3, 2, \"div\", 6);\n        ɵngcc0.ɵɵtemplate(7, Toast_p_7_Template, 1, 1, \"p\", 7);\n        ɵngcc0.ɵɵtemplate(8, Toast_ng_container_8_Template, 1, 0, \"ng-container\", 8);\n        ɵngcc0.ɵɵelementEnd();\n        ɵngcc0.ɵɵtemplate(9, Toast_button_9_Template, 2, 1, \"button\", 9);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.notificationObj.type === \"error\");\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.notificationObj.type === \"warning\");\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.notificationObj.type === \"success\");\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.notificationObj.type === \"info\");\n        ɵngcc0.ɵɵadvance(2);\n        ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.notificationObj.template);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.notificationObj.template);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.notificationObj.template);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", ctx.notificationObj.template)(\"ngTemplateOutletContext\", ɵngcc0.ɵɵpureFunction1(10, _c1, ctx.notificationObj));\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.isCloseHidden);\n    } }, dependencies: function () { return [ɵngcc3.NgForOf, ɵngcc3.NgIf, ɵngcc3.NgTemplateOutlet, ɵngcc4.Link, ɵngcc5.IconDirective, ToastTitle, ToastSubtitle, ToastCaption]; }, encapsulation: 2 });\nToast.toastCount = 0;\n/** @nocollapse */\nToast.ctorParameters = () => [\n    { type: NotificationDisplayService },\n    { type: I18n }\n];\nToast.propDecorators = {\n    notificationObj: [{ type: Input }],\n    toastID: [{ type: HostBinding, args: [\"attr.id\",] }],\n    toastClass: [{ type: HostBinding, args: [\"class.bx--toast-notification\",] }],\n    role: [{ type: HostBinding, args: [\"attr.role\",] }],\n    isError: [{ type: HostBinding, args: [\"class.bx--toast-notification--error\",] }],\n    isInfo: [{ type: HostBinding, args: [\"class.bx--toast-notification--info\",] }],\n    isSuccess: [{ type: HostBinding, args: [\"class.bx--toast-notification--success\",] }],\n    isWarning: [{ type: HostBinding, args: [\"class.bx--toast-notification--warning\",] }],\n    isLowContrast: [{ type: HostBinding, args: [\"class.bx--toast-notification--low-contrast\",] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(Toast, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-toast\",\n                template: `\n\t\t<svg\n\t\t\tibmIcon=\"error--filled\"\n\t\t\tsize=\"20\"\n\t\t\t*ngIf=\"notificationObj.type === 'error'\"\n\t\t\tclass=\"bx--toast-notification__icon\">\n\t\t</svg>\n\t\t<svg\n\t\t\tibmIcon=\"warning--filled\"\n\t\t\tsize=\"20\"\n\t\t\t*ngIf=\"notificationObj.type === 'warning'\"\n\t\t\tclass=\"bx--toast-notification__icon\">\n\t\t</svg>\n\t\t<svg\n\t\t\tibmIcon=\"checkmark--filled\"\n\t\t\tsize=\"20\"\n\t\t\t*ngIf=\"notificationObj.type === 'success'\"\n\t\t\tclass=\"bx--toast-notification__icon\">\n\t\t</svg>\n\t\t<svg\n\t\t\tibmIcon=\"information--filled\"\n\t\t\tsize=\"20\"\n\t\t\t*ngIf=\"notificationObj.type === 'info'\"\n\t\t\tclass=\"bx--toast-notification__icon\">\n\t\t</svg>\n\t\t<div class=\"bx--toast-notification__details\">\n\t\t\t<h3 *ngIf=\"!notificationObj.template\" ibmToastTitle [innerHTML]=\"notificationObj.title\"></h3>\n\t\t\t<div *ngIf=\"!notificationObj.template\" ibmToastSubtitle>\n\t\t\t\t<span [innerHTML]=\"notificationObj.subtitle\"></span>\n\t\t\t\t<ng-container *ngFor=\"let link of notificationObj.links\">\n\t\t\t\t\t<a ibmLink [href]=\"link.href\"> {{link.text}}</a>\n\t\t\t\t</ng-container>\n\t\t\t</div>\n\t\t\t<p *ngIf=\"!notificationObj.template\" ibmToastCaption [innerHTML]=\"notificationObj.caption\"></p>\n\t\t\t<ng-container *ngTemplateOutlet=\"notificationObj.template; context: { $implicit: notificationObj}\"></ng-container>\n\t\t</div>\n\t\t<button\n\t\t\t*ngIf=\"!isCloseHidden\"\n\t\t\tclass=\"bx--toast-notification__close-button\"\n\t\t\ttype=\"button\"\n\t\t\t[attr.aria-label]=\"notificationObj.closeLabel\"\n\t\t\t(click)=\"onClose()\">\n\t\t\t<svg ibmIcon=\"close\" size=\"16\" class=\"bx--toast-notification__close-icon\"></svg>\n\t\t</button>\n\t`\n            }]\n    }], function () { return [{ type: NotificationDisplayService }, { type: ɵngcc1.I18n }]; }, { toastID: [{\n            type: HostBinding,\n            args: [\"attr.id\"]\n        }], toastClass: [{\n            type: HostBinding,\n            args: [\"class.bx--toast-notification\"]\n        }], role: [{\n            type: HostBinding,\n            args: [\"attr.role\"]\n        }], isError: [{\n            type: HostBinding,\n            args: [\"class.bx--toast-notification--error\"]\n        }], isInfo: [{\n            type: HostBinding,\n            args: [\"class.bx--toast-notification--info\"]\n        }], isSuccess: [{\n            type: HostBinding,\n            args: [\"class.bx--toast-notification--success\"]\n        }], isWarning: [{\n            type: HostBinding,\n            args: [\"class.bx--toast-notification--warning\"]\n        }], isLowContrast: [{\n            type: HostBinding,\n            args: [\"class.bx--toast-notification--low-contrast\"]\n        }], notificationObj: [{\n            type: Input\n        }] }); })();\n\nclass ToastTitle {\n    constructor() {\n        this.baseClass = true;\n    }\n}\nToastTitle.ɵfac = function ToastTitle_Factory(t) { return new (t || ToastTitle)(); };\nToastTitle.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: ToastTitle, selectors: [[\"\", \"ibmToastTitle\", \"\"]], hostVars: 2, hostBindings: function ToastTitle_HostBindings(rf, ctx) { if (rf & 2) {\n        ɵngcc0.ɵɵclassProp(\"bx--toast-notification__title\", ctx.baseClass);\n    } } });\nToastTitle.propDecorators = {\n    baseClass: [{ type: HostBinding, args: [\"class.bx--toast-notification__title\",] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ToastTitle, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmToastTitle]\"\n            }]\n    }], function () { return []; }, { baseClass: [{\n            type: HostBinding,\n            args: [\"class.bx--toast-notification__title\"]\n        }] }); })();\n\nclass ToastSubtitle {\n    constructor() {\n        this.baseClass = true;\n    }\n}\nToastSubtitle.ɵfac = function ToastSubtitle_Factory(t) { return new (t || ToastSubtitle)(); };\nToastSubtitle.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: ToastSubtitle, selectors: [[\"\", \"ibmToastSubtitle\", \"\"]], hostVars: 2, hostBindings: function ToastSubtitle_HostBindings(rf, ctx) { if (rf & 2) {\n        ɵngcc0.ɵɵclassProp(\"bx--toast-notification__subtitle\", ctx.baseClass);\n    } } });\nToastSubtitle.propDecorators = {\n    baseClass: [{ type: HostBinding, args: [\"class.bx--toast-notification__subtitle\",] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ToastSubtitle, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmToastSubtitle]\"\n            }]\n    }], function () { return []; }, { baseClass: [{\n            type: HostBinding,\n            args: [\"class.bx--toast-notification__subtitle\"]\n        }] }); })();\n\nclass ToastCaption {\n    constructor() {\n        this.baseClass = true;\n    }\n}\nToastCaption.ɵfac = function ToastCaption_Factory(t) { return new (t || ToastCaption)(); };\nToastCaption.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: ToastCaption, selectors: [[\"\", \"ibmToastCaption\", \"\"]], hostVars: 2, hostBindings: function ToastCaption_HostBindings(rf, ctx) { if (rf & 2) {\n        ɵngcc0.ɵɵclassProp(\"bx--toast-notification__caption\", ctx.baseClass);\n    } } });\nToastCaption.propDecorators = {\n    baseClass: [{ type: HostBinding, args: [\"class.bx--toast-notification__caption\",] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ToastCaption, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmToastCaption]\"\n            }]\n    }], function () { return []; }, { baseClass: [{\n            type: HostBinding,\n            args: [\"class.bx--toast-notification__caption\"]\n        }] }); })();\n\n/**\n * Provides a way to use the notification component.\n *\n * Notifications are displayed toward the top of the UI and do not interrupt the user’s work.\n */\nclass NotificationService {\n    /**\n     * Constructs NotificationService.\n     *\n     * @param injector\n     * @param componentFactoryResolver\n     * @param applicationRef\n     */\n    constructor(injector, componentFactoryResolver, applicationRef, ngZone) {\n        this.injector = injector;\n        this.componentFactoryResolver = componentFactoryResolver;\n        this.applicationRef = applicationRef;\n        this.ngZone = ngZone;\n        /**\n         * An array containing `ComponentRef`s to all the notifications this service instance\n         * is responsible for.\n         *\n         */\n        this.notificationRefs = new Array();\n        this.onClose = new EventEmitter();\n    }\n    /**\n     * Shows the notification based on the `notificationObj`.\n     *\n     * @param notificationObj Can have `type`, `message`, `target`, `duration` and `smart` members.\n     *\n     * **Members:**\n     *\n     * * `type` can be one of `\"info\"`, `\"warning\"`, `\"danger\"`, `\"success\"`\n     * * `message` is message for notification to display\n     * * `target` is css selector defining an element to append notification to. If not provided,\n     * `showNotification()` creates a place for the notification in `body`\n     * * `duration` is number of ms to close the notification after. If used in combination with `smart`,\n     * it's added to the calculated timeout\n     * * `smart`, set to `true` if you want to use smart notification.\n     *\n     * **Example:**\n     * ```typescript\n     * // Info notification, saying \"Sample message.\" added to the element with id notification-container\n     * // uses smart timeout with added duration of 1 second.\n     * {\n     *\ttype: \"info\",\n     *\tmessage: \"Sample message.\",\n     *\ttarget: \"#notification-container\",\n     *\tduration: 1000,\n     *\tsmart: true\n     * }\n     * ```\n     *\n     * @param [notificationComp=Notification] If provided, used to resolve component factory\n     */\n    showNotification(notificationObj, notificationComp = Notification) {\n        const componentFactory = this.componentFactoryResolver.resolveComponentFactory(notificationComp);\n        let notificationRef = componentFactory.create(this.injector);\n        notificationRef.instance.notificationObj = notificationObj; // typescript isn't being very smart here, so we type to any\n        this.notificationRefs.push(notificationRef);\n        this.onClose = notificationRef.instance.close;\n        this.applicationRef.attachView(notificationRef.hostView);\n        if (notificationObj.target) {\n            document.querySelector(notificationObj.target).appendChild(notificationRef.location.nativeElement);\n        }\n        else {\n            let body = document.querySelector(\"body\");\n            // get or create a container for alert list\n            let notificationClassName = \"notification-overlay\";\n            let notificationList = body.querySelector(`.${notificationClassName}`);\n            if (!notificationList) {\n                notificationList = document.createElement(\"div\");\n                notificationList.className = notificationClassName;\n                body.appendChild(notificationList);\n            }\n            // add the notification to the top of the list\n            if (notificationList.firstChild) {\n                notificationList.insertBefore(notificationRef.location.nativeElement, notificationList.firstChild);\n            }\n            else {\n                notificationList.appendChild(notificationRef.location.nativeElement);\n            }\n        }\n        if (notificationObj.duration && notificationObj.duration > 0) {\n            this.ngZone.runOutsideAngular(() => {\n                setTimeout(() => {\n                    this.ngZone.run(() => {\n                        this.close(notificationRef);\n                    });\n                }, notificationObj.duration);\n            });\n        }\n        if (notificationObj.smart) {\n            this.ngZone.runOutsideAngular(() => {\n                // let it disappear after calculated timeout\n                setTimeout(() => {\n                    this.ngZone.run(() => {\n                        this.close(notificationRef);\n                    });\n                }, this.getSmartTimeout(notificationObj));\n            });\n        }\n        this.onClose.subscribe(() => {\n            this.close(notificationRef);\n        });\n        notificationRef.instance.componentRef = notificationRef;\n        return notificationRef.instance;\n    }\n    showToast(notificationObj, notificationComp = Toast) {\n        return this.showNotification(notificationObj, notificationComp);\n    }\n    /**\n     * Programatically closes notification based on `notificationRef`.\n     *\n     * @param notificationRef `ComponentRef` of a notification or `Notification` component you wish to close\n     */\n    close(notificationRef) {\n        if (notificationRef) {\n            if (notificationRef instanceof Notification) {\n                this.close(notificationRef.componentRef);\n            }\n            else {\n                this.applicationRef.detachView(notificationRef.hostView);\n                notificationRef.destroy();\n                const index = this.notificationRefs.indexOf(notificationRef);\n                if (index !== -1) {\n                    this.notificationRefs.splice(index, 1);\n                }\n            }\n        }\n    }\n    /**\n     * Calculates the amount of time user needs to read the message in the notification.\n     *\n     * @param notificationObj Same object used to instantiate notification.\n     *\n     * In addition to `type` and `message` members, use `duration` member to add\n     * some extra time (in ms) to timeout if you need to.\n     * @returns calculated timeout (in ms) for smart notification\n     */\n    getSmartTimeout(notificationObj) {\n        // calculate timeout\n        let timeout = 600; // start with reaction time\n        // custom duration\n        timeout += notificationObj.duration || 0;\n        // message type\n        switch (notificationObj.type) {\n            case \"info\":\n            case \"success\":\n            default: {\n                break;\n            }\n            case \"danger\": {\n                timeout += 3000;\n                break;\n            }\n            case \"warning\": {\n                timeout += 1500;\n                break;\n            }\n        }\n        // message length\n        // average reader reads around 200 words per minute, or it takes them ~0.3s per word\n        // let's use 1.5 factor for below average speed readers and have 0.45s per word\n        let wordCount = notificationObj.message.trim().split(/\\s+/).length;\n        timeout += wordCount * 450;\n        return timeout;\n    }\n    /**\n     * OnDestroy hook.\n     *\n     * Destroys all living notifications it is responsible for.\n     *\n     */\n    ngOnDestroy() {\n        if (this.notificationRefs.length > 0) {\n            for (let i = 0; i < this.notificationRefs.length; i++) {\n                let notificationRef = this.notificationRefs[i];\n                this.applicationRef.detachView(notificationRef.hostView);\n                notificationRef.destroy();\n            }\n            this.notificationRefs.length = 0;\n        }\n    }\n}\nNotificationService.ɵfac = function NotificationService_Factory(t) { return new (t || NotificationService)(ɵngcc0.ɵɵinject(ɵngcc0.Injector), ɵngcc0.ɵɵinject(ɵngcc0.ComponentFactoryResolver), ɵngcc0.ɵɵinject(ɵngcc0.ApplicationRef), ɵngcc0.ɵɵinject(ɵngcc0.NgZone)); };\nNotificationService.ɵprov = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjectable({ token: NotificationService, factory: NotificationService.ɵfac });\n/** @nocollapse */\nNotificationService.ctorParameters = () => [\n    { type: Injector },\n    { type: ComponentFactoryResolver },\n    { type: ApplicationRef },\n    { type: NgZone }\n];\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(NotificationService, [{\n        type: Injectable\n    }], function () { return [{ type: ɵngcc0.Injector }, { type: ɵngcc0.ComponentFactoryResolver }, { type: ɵngcc0.ApplicationRef }, { type: ɵngcc0.NgZone }]; }, null); })();\n\nclass NotificationModule {\n}\nNotificationModule.ɵfac = function NotificationModule_Factory(t) { return new (t || NotificationModule)(); };\nNotificationModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: NotificationModule });\nNotificationModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({ providers: [NotificationService, NotificationDisplayService], imports: [ButtonModule,\n        CommonModule,\n        I18nModule,\n        ExperimentalModule,\n        LinkModule,\n        IconModule] });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(NotificationModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    Notification,\n                    Toast,\n                    ToastTitle,\n                    ToastSubtitle,\n                    ToastCaption,\n                    NotificationTitle,\n                    NotificationSubtitle\n                ],\n                exports: [\n                    Notification,\n                    Toast,\n                    ToastTitle,\n                    ToastSubtitle,\n                    ToastCaption,\n                    NotificationTitle,\n                    NotificationSubtitle\n                ],\n                entryComponents: [Notification, Toast],\n                imports: [\n                    ButtonModule,\n                    CommonModule,\n                    I18nModule,\n                    ExperimentalModule,\n                    LinkModule,\n                    IconModule\n                ],\n                providers: [NotificationService, NotificationDisplayService]\n            }]\n    }], null, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(NotificationModule, { declarations: function () { return [Notification, Toast, ToastTitle, ToastSubtitle, ToastCaption, NotificationTitle, NotificationSubtitle]; }, imports: function () { return [ButtonModule,\n        CommonModule,\n        I18nModule,\n        ExperimentalModule,\n        LinkModule,\n        IconModule]; }, exports: function () { return [Notification, Toast, ToastTitle, ToastSubtitle, ToastCaption, NotificationTitle, NotificationSubtitle]; } }); })();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { NotificationDisplayService, NotificationSubtitle, NotificationTitle, Notification, NotificationModule, NotificationService, ToastCaption, ToastSubtitle, ToastTitle, Toast };\n\n","/**\n *\n * carbon-angular v0.0.0 | carbon-components-angular-number-input.js\n *\n * Copyright 2014, 2023 IBM\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\nimport { Component, Input, HostBinding, EventEmitter, Output, TemplateRef, HostListener, NgModule } from '@angular/core';\nimport { NG_VALUE_ACCESSOR, FormsModule } from '@angular/forms';\nimport { CommonModule } from '@angular/common';\nimport { I18n, I18nModule } from 'carbon-components-angular/i18n';\nimport { IconModule } from 'carbon-components-angular/icon';\n\n/**\n * Used to emit changes performed on number input components.\n */\nimport * as ɵngcc0 from '@angular/core';\nimport * as ɵngcc1 from 'carbon-components-angular/i18n';\nimport * as ɵngcc2 from '@angular/common';\nimport * as ɵngcc3 from 'carbon-components-angular/icon';\n\nfunction NumberComponent_label_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelement(0, \"label\", 10);\n} }\nfunction NumberComponent_label_2_ng_container_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainerStart(0);\n    ɵngcc0.ɵɵtext(1);\n    ɵngcc0.ɵɵelementContainerEnd();\n} if (rf & 2) {\n    const ctx_r8 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate(ctx_r8.label);\n} }\nfunction NumberComponent_label_2_2_ng_template_0_Template(rf, ctx) { }\nfunction NumberComponent_label_2_2_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵtemplate(0, NumberComponent_label_2_2_ng_template_0_Template, 0, 0, \"ng-template\", 13);\n} if (rf & 2) {\n    const ctx_r9 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r9.label);\n} }\nfunction NumberComponent_label_2_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"label\", 11);\n    ɵngcc0.ɵɵtemplate(1, NumberComponent_label_2_ng_container_1_Template, 2, 1, \"ng-container\", 12);\n    ɵngcc0.ɵɵtemplate(2, NumberComponent_label_2_2_Template, 1, 1, null, 12);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r1 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵproperty(\"for\", ctx_r1.id);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r1.isTemplate(ctx_r1.label));\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r1.isTemplate(ctx_r1.label));\n} }\nfunction NumberComponent__svg_svg_5_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵelement(0, \"svg\", 14);\n} }\nfunction NumberComponent__svg_svg_6_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵelement(0, \"svg\", 15);\n} }\nfunction NumberComponent_div_7_Template(rf, ctx) { if (rf & 1) {\n    const _r12 = ɵngcc0.ɵɵgetCurrentView();\n    ɵngcc0.ɵɵelementStart(0, \"div\", 16)(1, \"button\", 17);\n    ɵngcc0.ɵɵlistener(\"click\", function NumberComponent_div_7_Template_button_click_1_listener() { ɵngcc0.ɵɵrestoreView(_r12); const ctx_r11 = ɵngcc0.ɵɵnextContext(); return ɵngcc0.ɵɵresetView(ctx_r11.onDecrement()); });\n    ɵngcc0.ɵɵpipe(2, \"async\");\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵelement(3, \"svg\", 18);\n    ɵngcc0.ɵɵelementEnd();\n    ɵngcc0.ɵɵnamespaceHTML();\n    ɵngcc0.ɵɵelement(4, \"div\", 19);\n    ɵngcc0.ɵɵelementStart(5, \"button\", 20);\n    ɵngcc0.ɵɵlistener(\"click\", function NumberComponent_div_7_Template_button_click_5_listener() { ɵngcc0.ɵɵrestoreView(_r12); const ctx_r13 = ɵngcc0.ɵɵnextContext(); return ɵngcc0.ɵɵresetView(ctx_r13.onIncrement()); });\n    ɵngcc0.ɵɵpipe(6, \"async\");\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵelement(7, \"svg\", 21);\n    ɵngcc0.ɵɵelementEnd();\n    ɵngcc0.ɵɵnamespaceHTML();\n    ɵngcc0.ɵɵelement(8, \"div\", 19);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r4 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵattribute(\"disabled\", ctx_r4.disabled ? true : null)(\"aria-label\", ɵngcc0.ɵɵpipeBind1(2, 4, ctx_r4.getDecrementLabel()));\n    ɵngcc0.ɵɵadvance(4);\n    ɵngcc0.ɵɵattribute(\"disabled\", ctx_r4.disabled ? true : null)(\"aria-label\", ɵngcc0.ɵɵpipeBind1(6, 6, ctx_r4.getIncrementLabel()));\n} }\nfunction NumberComponent_div_8_ng_container_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainerStart(0);\n    ɵngcc0.ɵɵtext(1);\n    ɵngcc0.ɵɵelementContainerEnd();\n} if (rf & 2) {\n    const ctx_r14 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate(ctx_r14.helperText);\n} }\nfunction NumberComponent_div_8_2_ng_template_0_Template(rf, ctx) { }\nfunction NumberComponent_div_8_2_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵtemplate(0, NumberComponent_div_8_2_ng_template_0_Template, 0, 0, \"ng-template\", 13);\n} if (rf & 2) {\n    const ctx_r15 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r15.helperText);\n} }\nfunction NumberComponent_div_8_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"div\", 22);\n    ɵngcc0.ɵɵtemplate(1, NumberComponent_div_8_ng_container_1_Template, 2, 1, \"ng-container\", 12);\n    ɵngcc0.ɵɵtemplate(2, NumberComponent_div_8_2_Template, 1, 1, null, 12);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r5 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r5.isTemplate(ctx_r5.helperText));\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r5.isTemplate(ctx_r5.helperText));\n} }\nfunction NumberComponent_div_9_ng_container_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainerStart(0);\n    ɵngcc0.ɵɵtext(1);\n    ɵngcc0.ɵɵelementContainerEnd();\n} if (rf & 2) {\n    const ctx_r17 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate(ctx_r17.invalidText);\n} }\nfunction NumberComponent_div_9_2_ng_template_0_Template(rf, ctx) { }\nfunction NumberComponent_div_9_2_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵtemplate(0, NumberComponent_div_9_2_ng_template_0_Template, 0, 0, \"ng-template\", 13);\n} if (rf & 2) {\n    const ctx_r18 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r18.invalidText);\n} }\nfunction NumberComponent_div_9_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"div\", 23);\n    ɵngcc0.ɵɵtemplate(1, NumberComponent_div_9_ng_container_1_Template, 2, 1, \"ng-container\", 12);\n    ɵngcc0.ɵɵtemplate(2, NumberComponent_div_9_2_Template, 1, 1, null, 12);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r6 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r6.isTemplate(ctx_r6.invalidText));\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r6.isTemplate(ctx_r6.invalidText));\n} }\nfunction NumberComponent_div_10_ng_container_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainerStart(0);\n    ɵngcc0.ɵɵtext(1);\n    ɵngcc0.ɵɵelementContainerEnd();\n} if (rf & 2) {\n    const ctx_r20 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate(ctx_r20.warnText);\n} }\nfunction NumberComponent_div_10_2_ng_template_0_Template(rf, ctx) { }\nfunction NumberComponent_div_10_2_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵtemplate(0, NumberComponent_div_10_2_ng_template_0_Template, 0, 0, \"ng-template\", 13);\n} if (rf & 2) {\n    const ctx_r21 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r21.warnText);\n} }\nfunction NumberComponent_div_10_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"div\", 23);\n    ɵngcc0.ɵɵtemplate(1, NumberComponent_div_10_ng_container_1_Template, 2, 1, \"ng-container\", 12);\n    ɵngcc0.ɵɵtemplate(2, NumberComponent_div_10_2_Template, 1, 1, null, 12);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r7 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r7.isTemplate(ctx_r7.warnText));\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r7.isTemplate(ctx_r7.warnText));\n} }\nconst _c0 = function (a0, a1, a2, a3, a4, a5) { return { \"bx--number--light\": a0, \"bx--number--nolabel\": a1, \"bx--number--helpertext\": a2, \"bx--skeleton\": a3, \"bx--number--sm\": a4, \"bx--number--xl\": a5 }; };\nconst _c1 = function (a0) { return { \"bx--number__input-wrapper--warning\": a0 }; };\nclass NumberChange {\n}\n/**\n * [See demo](../../?path=/story/components-number--basic)\n *\n * <example-url>../../iframe.html?id=components-number--basic</example-url>\n */\nclass NumberComponent {\n    /**\n     * Creates an instance of `Number`.\n     */\n    constructor(i18n) {\n        this.i18n = i18n;\n        this.containerClass = true;\n        /**\n         * `light` or `dark` number input theme.\n         */\n        this.theme = \"dark\";\n        /**\n         * Set to `true` for a disabled number input.\n         */\n        this.disabled = false;\n        /**\n         * Set to `true` for a loading number component.\n         */\n        this.skeleton = false;\n        /**\n         * Set to `true` for an invalid number component.\n         */\n        this.invalid = false;\n        /**\n         * The unique id for the number component.\n         */\n        this.id = `number-${NumberComponent.numberCount}`;\n        /**\n         * Sets the placeholder attribute on the `input` element.\n         */\n        this.placeholder = \"\";\n        /**\n         * Number input field render size\n         */\n        this.size = \"md\";\n        /**\n         * Sets the min attribute on the `input` element.\n         */\n        this.min = null;\n        /**\n         * Sets the max attribute on the `input` element.\n         */\n        this.max = null;\n        /**\n         * Sets the amount the number controls increment and decrement by.\n         */\n        this.step = 1;\n        /**\n         * Set to `true` to show a warning (contents set by warningText)\n         */\n        this.warn = false;\n        /**\n         * Emits event notifying other classes when a change in state occurs in the input.\n         */\n        this.change = new EventEmitter();\n        this._value = 0;\n        this._decrementLabel = this.i18n.getOverridable(\"NUMBER.DECREMENT\");\n        this._incrementLabel = this.i18n.getOverridable(\"NUMBER.INCREMENT\");\n        /**\n         * Called when number input is blurred. Needed to properly implement `ControlValueAccessor`.\n         */\n        this.onTouched = () => { };\n        /**\n         * Method set in `registerOnChange` to propagate changes back to the form.\n         */\n        this.propagateChange = (_) => { };\n        NumberComponent.numberCount++;\n    }\n    /**\n     * Sets the value attribute on the `input` element.\n     */\n    set value(v) {\n        if (v === \"\" || v === null) {\n            this._value = null;\n            return;\n        }\n        this._value = Number(v);\n    }\n    get value() {\n        return this._value;\n    }\n    set decrementLabel(value) {\n        this._decrementLabel.override(value);\n    }\n    get decrementLabel() {\n        return this._decrementLabel.value;\n    }\n    set incrementLabel(value) {\n        this._incrementLabel.override(value);\n    }\n    get incrementLabel() {\n        return this._incrementLabel.value;\n    }\n    /**\n     * This is the initial value set to the component\n     * @param value The input value.\n     */\n    writeValue(value) {\n        this.value = value;\n    }\n    /**\n     * Sets a method in order to propagate changes back to the form.\n     */\n    registerOnChange(fn) {\n        this.propagateChange = fn;\n    }\n    /**\n     * Registers a callback to be triggered when the control has been touched.\n     * @param fn Callback to be triggered when the number input is touched.\n     */\n    registerOnTouched(fn) {\n        this.onTouched = fn;\n    }\n    focusOut() {\n        this.onTouched();\n    }\n    /**\n     * Sets the disabled state through the model\n     */\n    setDisabledState(isDisabled) {\n        this.disabled = isDisabled;\n    }\n    /**\n     * Adds `step` to the current `value`.\n     */\n    onIncrement() {\n        if (this.max === null || this.value + this.step <= this.max) {\n            this.value += this.step;\n            this.value = parseFloat(this.value.toPrecision(this.precision));\n            this.emitChangeEvent();\n        }\n    }\n    /**\n     * Subtracts `step` to the current `value`.\n     */\n    onDecrement() {\n        if (this.min === null || this.value - this.step >= this.min) {\n            this.value -= this.step;\n            this.value = parseFloat(this.value.toPrecision(this.precision));\n            this.emitChangeEvent();\n        }\n    }\n    getDecrementLabel() {\n        return this._decrementLabel.subject;\n    }\n    getIncrementLabel() {\n        return this._incrementLabel.subject;\n    }\n    /**\n     * Creates a class of `NumberChange` to emit the change in the `Number`.\n     */\n    emitChangeEvent() {\n        let event = new NumberChange();\n        event.source = this;\n        event.value = this.value;\n        this.change.emit(event);\n        this.propagateChange(this.value);\n    }\n    onNumberInputChange(event) {\n        this.value = event.target.value;\n        this.emitChangeEvent();\n    }\n    isTemplate(value) {\n        return value instanceof TemplateRef;\n    }\n}\nNumberComponent.ɵfac = function NumberComponent_Factory(t) { return new (t || NumberComponent)(ɵngcc0.ɵɵdirectiveInject(ɵngcc1.I18n)); };\nNumberComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: NumberComponent, selectors: [[\"ibm-number\"]], hostVars: 2, hostBindings: function NumberComponent_HostBindings(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵlistener(\"focusout\", function NumberComponent_focusout_HostBindingHandler() { return ctx.focusOut(); });\n    } if (rf & 2) {\n        ɵngcc0.ɵɵclassProp(\"bx--form-item\", ctx.containerClass);\n    } }, inputs: { theme: \"theme\", disabled: \"disabled\", skeleton: \"skeleton\", invalid: \"invalid\", id: \"id\", placeholder: \"placeholder\", size: \"size\", min: \"min\", max: \"max\", step: \"step\", warn: \"warn\", value: \"value\", decrementLabel: \"decrementLabel\", incrementLabel: \"incrementLabel\", required: \"required\", label: \"label\", helperText: \"helperText\", invalidText: \"invalidText\", precision: \"precision\", warnText: \"warnText\", ariaLabel: \"ariaLabel\" }, outputs: { change: \"change\" }, features: [ɵngcc0.ɵɵProvidersFeature([\n            {\n                provide: NG_VALUE_ACCESSOR,\n                useExisting: NumberComponent,\n                multi: true\n            }\n        ])], decls: 11, vars: 30, consts: [[\"data-numberinput\", \"\", 1, \"bx--number\", 3, \"ngClass\"], [\"class\", \"bx--label bx--skeleton\", 4, \"ngIf\"], [\"class\", \"bx--label\", 3, \"for\", 4, \"ngIf\"], [1, \"bx--number__input-wrapper\", 3, \"ngClass\"], [\"type\", \"number\", 3, \"id\", \"disabled\", \"required\", \"placeholder\", \"input\"], [\"ibmIcon\", \"warning--filled\", \"size\", \"16\", \"class\", \"bx--number__invalid\", 4, \"ngIf\"], [\"ibmIcon\", \"warning--alt--filled\", \"size\", \"16\", \"class\", \"bx--number__invalid bx--number__invalid--warning\", 4, \"ngIf\"], [\"class\", \"bx--number__controls\", 4, \"ngIf\"], [\"class\", \"bx--form__helper-text\", 4, \"ngIf\"], [\"class\", \"bx--form-requirement\", 4, \"ngIf\"], [1, \"bx--label\", \"bx--skeleton\"], [1, \"bx--label\", 3, \"for\"], [4, \"ngIf\"], [3, \"ngTemplateOutlet\"], [\"ibmIcon\", \"warning--filled\", \"size\", \"16\", 1, \"bx--number__invalid\"], [\"ibmIcon\", \"warning--alt--filled\", \"size\", \"16\", 1, \"bx--number__invalid\", \"bx--number__invalid--warning\"], [1, \"bx--number__controls\"], [\"type\", \"button\", \"aria-live\", \"polite\", \"aria-atomic\", \"true\", 1, \"bx--number__control-btn\", \"down-icon\", 3, \"click\"], [\"ibmIcon\", \"subtract\", \"size\", \"16\"], [1, \"bx--number__rule-divider\"], [\"type\", \"button\", \"aria-live\", \"polite\", \"aria-atomic\", \"true\", 1, \"bx--number__control-btn\", \"up-icon\", 3, \"click\"], [\"ibmIcon\", \"add\", \"size\", \"16\"], [1, \"bx--form__helper-text\"], [1, \"bx--form-requirement\"]], template: function NumberComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵelementStart(0, \"div\", 0);\n        ɵngcc0.ɵɵtemplate(1, NumberComponent_label_1_Template, 1, 0, \"label\", 1);\n        ɵngcc0.ɵɵtemplate(2, NumberComponent_label_2_Template, 3, 3, \"label\", 2);\n        ɵngcc0.ɵɵelementStart(3, \"div\", 3)(4, \"input\", 4);\n        ɵngcc0.ɵɵlistener(\"input\", function NumberComponent_Template_input_input_4_listener($event) { return ctx.onNumberInputChange($event); });\n        ɵngcc0.ɵɵelementEnd();\n        ɵngcc0.ɵɵtemplate(5, NumberComponent__svg_svg_5_Template, 1, 0, \"svg\", 5);\n        ɵngcc0.ɵɵtemplate(6, NumberComponent__svg_svg_6_Template, 1, 0, \"svg\", 6);\n        ɵngcc0.ɵɵtemplate(7, NumberComponent_div_7_Template, 9, 8, \"div\", 7);\n        ɵngcc0.ɵɵelementEnd();\n        ɵngcc0.ɵɵtemplate(8, NumberComponent_div_8_Template, 3, 2, \"div\", 8);\n        ɵngcc0.ɵɵtemplate(9, NumberComponent_div_9_Template, 3, 2, \"div\", 9);\n        ɵngcc0.ɵɵtemplate(10, NumberComponent_div_10_Template, 3, 2, \"div\", 9);\n        ɵngcc0.ɵɵelementEnd();\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction6(21, _c0, ctx.theme === \"light\", !ctx.label, ctx.helperText, ctx.skeleton, ctx.size === \"sm\", ctx.size === \"xl\"));\n        ɵngcc0.ɵɵattribute(\"data-invalid\", ctx.invalid ? true : null);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.skeleton && ctx.label);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.skeleton && ctx.label);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction1(28, _c1, ctx.warn));\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"id\", ctx.id)(\"disabled\", ctx.disabled)(\"required\", ctx.required)(\"placeholder\", ctx.placeholder);\n        ɵngcc0.ɵɵattribute(\"value\", ctx.value)(\"min\", ctx.min)(\"max\", ctx.max)(\"step\", ctx.step)(\"aria-label\", ctx.ariaLabel)(\"data-invalid\", ctx.invalid ? ctx.invalid : null);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.skeleton && !ctx.warn && ctx.invalid);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.skeleton && !ctx.invalid && ctx.warn);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.skeleton);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.helperText && !ctx.invalid && !ctx.warn);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.warn && ctx.invalid);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.invalid && ctx.warn);\n    } }, dependencies: [ɵngcc2.NgClass, ɵngcc2.NgIf, ɵngcc2.NgTemplateOutlet, ɵngcc3.IconDirective, ɵngcc2.AsyncPipe], encapsulation: 2 });\n/**\n * Variable used for creating unique ids for number input components.\n */\nNumberComponent.numberCount = 0;\n/** @nocollapse */\nNumberComponent.ctorParameters = () => [\n    { type: I18n }\n];\nNumberComponent.propDecorators = {\n    containerClass: [{ type: HostBinding, args: [\"class.bx--form-item\",] }],\n    theme: [{ type: Input }],\n    disabled: [{ type: Input }],\n    skeleton: [{ type: Input }],\n    invalid: [{ type: Input }],\n    id: [{ type: Input }],\n    placeholder: [{ type: Input }],\n    size: [{ type: Input }],\n    required: [{ type: Input }],\n    value: [{ type: Input }],\n    min: [{ type: Input }],\n    max: [{ type: Input }],\n    label: [{ type: Input }],\n    helperText: [{ type: Input }],\n    invalidText: [{ type: Input }],\n    step: [{ type: Input }],\n    precision: [{ type: Input }],\n    warn: [{ type: Input }],\n    warnText: [{ type: Input }],\n    ariaLabel: [{ type: Input }],\n    change: [{ type: Output }],\n    decrementLabel: [{ type: Input }],\n    incrementLabel: [{ type: Input }],\n    focusOut: [{ type: HostListener, args: [\"focusout\",] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(NumberComponent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-number\",\n                template: `\n\t\t<div\n\t\t\tdata-numberinput\n\t\t\t[attr.data-invalid]=\"(invalid ? true : null)\"\n\t\t\tclass=\"bx--number\"\n\t\t\t[ngClass]=\"{\n\t\t\t\t'bx--number--light': theme === 'light',\n\t\t\t\t'bx--number--nolabel': !label,\n\t\t\t\t'bx--number--helpertext': helperText,\n\t\t\t\t'bx--skeleton' : skeleton,\n\t\t\t\t'bx--number--sm': size === 'sm',\n\t\t\t\t'bx--number--xl': size === 'xl'\n\t\t\t}\">\n\t\t\t<label *ngIf=\"skeleton && label\" class=\"bx--label bx--skeleton\"></label>\n\t\t\t<label *ngIf=\"!skeleton && label\" [for]=\"id\" class=\"bx--label\">\n\t\t\t\t<ng-container *ngIf=\"!isTemplate(label)\">{{label}}</ng-container>\n\t\t\t\t<ng-template *ngIf=\"isTemplate(label)\" [ngTemplateOutlet]=\"label\"></ng-template>\n\t\t\t</label>\n\t\t\t<div\n\t\t\t\tclass=\"bx--number__input-wrapper\"\n\t\t\t\t[ngClass]=\"{\n\t\t\t\t\t'bx--number__input-wrapper--warning': warn\n\t\t\t\t}\">\n\t\t\t\t<input\n\t\t\t\t\ttype=\"number\"\n\t\t\t\t\t[id]=\"id\"\n\t\t\t\t\t[attr.value]=\"value\"\n\t\t\t\t\t[attr.min]=\"min\"\n\t\t\t\t\t[attr.max]=\"max\"\n\t\t\t\t\t[attr.step]=\"step\"\n\t\t\t\t\t[disabled]=\"disabled\"\n\t\t\t\t\t[required]=\"required\"\n\t\t\t\t\t[attr.aria-label]=\"ariaLabel\"\n\t\t\t\t\t[attr.data-invalid]=\"invalid ? invalid : null\"\n\t\t\t\t\t[placeholder]=\"placeholder\"\n\t\t\t\t\t(input)=\"onNumberInputChange($event)\"/>\n\t\t\t\t<svg\n\t\t\t\t\t*ngIf=\"!skeleton && !warn && invalid\"\n\t\t\t\t\tibmIcon=\"warning--filled\"\n\t\t\t\t\tsize=\"16\"\n\t\t\t\t\tclass=\"bx--number__invalid\">\n\t\t\t\t</svg>\n\t\t\t\t<svg\n\t\t\t\t\t*ngIf=\"!skeleton && !invalid && warn\"\n\t\t\t\t\tibmIcon=\"warning--alt--filled\"\n\t\t\t\t\tsize=\"16\"\n\t\t\t\t\tclass=\"bx--number__invalid bx--number__invalid--warning\">\n\t\t\t\t</svg>\n\t\t\t\t<div *ngIf=\"!skeleton\" class=\"bx--number__controls\">\n\t\t\t\t\t<button\n\t\t\t\t\t\tclass=\"bx--number__control-btn down-icon\"\n\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\t[attr.disabled]=\"disabled ? true : null\"\n\t\t\t\t\t\taria-live=\"polite\"\n\t\t\t\t\t\taria-atomic=\"true\"\n\t\t\t\t\t\t[attr.aria-label]=\"getDecrementLabel() | async\"\n\t\t\t\t\t\t(click)=\"onDecrement()\">\n\t\t\t\t\t\t<svg ibmIcon=\"subtract\" size=\"16\"></svg>\n\t\t\t\t\t</button>\n\t\t\t\t\t<div class=\"bx--number__rule-divider\"></div>\n\t\t\t\t\t<button\n\t\t\t\t\t\tclass=\"bx--number__control-btn up-icon\"\n\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\t[attr.disabled]=\"disabled ? true : null\"\n\t\t\t\t\t\taria-live=\"polite\"\n\t\t\t\t\t\taria-atomic=\"true\"\n\t\t\t\t\t\t[attr.aria-label]=\"getIncrementLabel() | async\"\n\t\t\t\t\t\t(click)=\"onIncrement()\">\n\t\t\t\t\t\t<svg ibmIcon=\"add\" size=\"16\"></svg>\n\t\t\t\t\t</button>\n\t\t\t\t\t<div class=\"bx--number__rule-divider\"></div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div *ngIf=\"helperText && !invalid && !warn\" class=\"bx--form__helper-text\">\n\t\t\t\t<ng-container *ngIf=\"!isTemplate(helperText)\">{{helperText}}</ng-container>\n\t\t\t\t<ng-template *ngIf=\"isTemplate(helperText)\" [ngTemplateOutlet]=\"helperText\"></ng-template>\n\t\t\t</div>\n\t\t\t<div *ngIf=\"!warn && invalid\" class=\"bx--form-requirement\">\n\t\t\t\t<ng-container *ngIf=\"!isTemplate(invalidText)\">{{invalidText}}</ng-container>\n\t\t\t\t<ng-template *ngIf=\"isTemplate(invalidText)\" [ngTemplateOutlet]=\"invalidText\"></ng-template>\n\t\t\t</div>\n\t\t\t<div *ngIf=\"!invalid && warn\" class=\"bx--form-requirement\">\n\t\t\t\t<ng-container *ngIf=\"!isTemplate(warnText)\">{{warnText}}</ng-container>\n\t\t\t\t<ng-template *ngIf=\"isTemplate(warnText)\" [ngTemplateOutlet]=\"warnText\"></ng-template>\n\t\t\t</div>\n\t\t</div>\n\t`,\n                providers: [\n                    {\n                        provide: NG_VALUE_ACCESSOR,\n                        useExisting: NumberComponent,\n                        multi: true\n                    }\n                ]\n            }]\n    }], function () { return [{ type: ɵngcc1.I18n }]; }, { containerClass: [{\n            type: HostBinding,\n            args: [\"class.bx--form-item\"]\n        }], theme: [{\n            type: Input\n        }], disabled: [{\n            type: Input\n        }], skeleton: [{\n            type: Input\n        }], invalid: [{\n            type: Input\n        }], id: [{\n            type: Input\n        }], placeholder: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }], min: [{\n            type: Input\n        }], max: [{\n            type: Input\n        }], step: [{\n            type: Input\n        }], warn: [{\n            type: Input\n        }], change: [{\n            type: Output\n        }], value: [{\n            type: Input\n        }], decrementLabel: [{\n            type: Input\n        }], incrementLabel: [{\n            type: Input\n        }], focusOut: [{\n            type: HostListener,\n            args: [\"focusout\"]\n        }], required: [{\n            type: Input\n        }], label: [{\n            type: Input\n        }], helperText: [{\n            type: Input\n        }], invalidText: [{\n            type: Input\n        }], precision: [{\n            type: Input\n        }], warnText: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }] }); })();\n\n// modules\nclass NumberModule {\n}\nNumberModule.ɵfac = function NumberModule_Factory(t) { return new (t || NumberModule)(); };\nNumberModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: NumberModule });\nNumberModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({ imports: [FormsModule,\n        CommonModule,\n        I18nModule,\n        IconModule] });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(NumberModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    NumberComponent\n                ],\n                exports: [\n                    NumberComponent\n                ],\n                imports: [\n                    FormsModule,\n                    CommonModule,\n                    I18nModule,\n                    IconModule\n                ]\n            }]\n    }], null, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(NumberModule, { declarations: function () { return [NumberComponent]; }, imports: function () { return [FormsModule,\n        CommonModule,\n        I18nModule,\n        IconModule]; }, exports: function () { return [NumberComponent]; } }); })();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { NumberComponent as Number, NumberChange, NumberComponent, NumberModule };\n\n","/**\n *\n * carbon-angular v0.0.0 | carbon-components-angular-pagination.js\n *\n * Copyright 2014, 2023 IBM\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\nimport { CommonModule } from '@angular/common';\nimport { FormsModule } from '@angular/forms';\nimport { ExperimentalService, ExperimentalModule } from 'carbon-components-angular/experimental';\nimport { merge } from 'carbon-components-angular/utils';\nimport { range } from 'carbon-components-angular/common';\nimport { Component, Input, Output, EventEmitter, NgModule } from '@angular/core';\nimport { I18n, I18nModule } from 'carbon-components-angular/i18n';\nimport { IconModule } from 'carbon-components-angular/icon';\nimport { ButtonModule } from 'carbon-components-angular/forms';\n\nimport * as ɵngcc0 from '@angular/core';\nimport * as ɵngcc1 from 'carbon-components-angular/i18n';\nimport * as ɵngcc2 from 'carbon-components-angular/experimental';\nimport * as ɵngcc3 from '@angular/common';\nimport * as ɵngcc4 from '@angular/forms';\nimport * as ɵngcc5 from 'carbon-components-angular/icon';\nimport * as ɵngcc6 from 'carbon-components-angular/forms';\n\nfunction Pagination_div_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"div\", 3);\n    ɵngcc0.ɵɵelement(1, \"p\", 4)(2, \"p\", 5)(3, \"p\", 6);\n    ɵngcc0.ɵɵelementEnd();\n} }\nfunction Pagination_div_2_ng_container_1_option_6_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"option\", 14);\n    ɵngcc0.ɵɵtext(1);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const option_r9 = ctx.$implicit;\n    ɵngcc0.ɵɵproperty(\"value\", option_r9);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate1(\" \", option_r9, \" \");\n} }\nfunction Pagination_div_2_ng_container_1_Template(rf, ctx) { if (rf & 1) {\n    const _r11 = ɵngcc0.ɵɵgetCurrentView();\n    ɵngcc0.ɵɵelementContainerStart(0);\n    ɵngcc0.ɵɵelementStart(1, \"label\", 9);\n    ɵngcc0.ɵɵtext(2);\n    ɵngcc0.ɵɵpipe(3, \"async\");\n    ɵngcc0.ɵɵelementEnd();\n    ɵngcc0.ɵɵelementStart(4, \"div\", 10)(5, \"select\", 11);\n    ɵngcc0.ɵɵlistener(\"ngModelChange\", function Pagination_div_2_ng_container_1_Template_select_ngModelChange_5_listener($event) { ɵngcc0.ɵɵrestoreView(_r11); const ctx_r10 = ɵngcc0.ɵɵnextContext(2); return ɵngcc0.ɵɵresetView(ctx_r10.itemsPerPage = $event); });\n    ɵngcc0.ɵɵtemplate(6, Pagination_div_2_ng_container_1_option_6_Template, 2, 2, \"option\", 12);\n    ɵngcc0.ɵɵelementEnd();\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵelement(7, \"svg\", 13);\n    ɵngcc0.ɵɵpipe(8, \"async\");\n    ɵngcc0.ɵɵelementEnd();\n    ɵngcc0.ɵɵelementContainerEnd();\n} if (rf & 2) {\n    const ctx_r4 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"for\", ctx_r4.itemsPerPageSelectId);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate1(\" \", ɵngcc0.ɵɵpipeBind1(3, 9, ctx_r4.itemsPerPageText.subject), \" \");\n    ɵngcc0.ɵɵadvance(2);\n    ɵngcc0.ɵɵclassProp(\"bx--select--disabled\", ctx_r4.pageInputDisabled);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"id\", ctx_r4.itemsPerPageSelectId)(\"ngModel\", ctx_r4.itemsPerPage)(\"disabled\", ctx_r4.pageInputDisabled);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngForOf\", ctx_r4.itemsPerPageOptions);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵattribute(\"ariaLabel\", ɵngcc0.ɵɵpipeBind1(8, 11, ctx_r4.optionsListText.subject));\n} }\nconst _c0 = function (a0) { return { \"margin-left\": a0 }; };\nconst _c1 = function (a0, a1, a2) { return { start: a0, end: a1, total: a2 }; };\nfunction Pagination_div_2_span_2_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"span\", 15);\n    ɵngcc0.ɵɵtext(1);\n    ɵngcc0.ɵɵpipe(2, \"async\");\n    ɵngcc0.ɵɵpipe(3, \"i18nReplace\");\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r5 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵproperty(\"ngStyle\", ɵngcc0.ɵɵpureFunction1(7, _c0, ctx_r5.showPageInput ? null : 0));\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate1(\" \", ɵngcc0.ɵɵpipeBind1(2, 2, ɵngcc0.ɵɵpipeBind2(3, 4, ctx_r5.totalItemText.subject, ɵngcc0.ɵɵpureFunction3(9, _c1, ctx_r5.startItemIndex, ctx_r5.endItemIndex, ctx_r5.totalDataLength))), \" \");\n} }\nfunction Pagination_div_2_span_3_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"span\", 15);\n    ɵngcc0.ɵɵtext(1);\n    ɵngcc0.ɵɵpipe(2, \"async\");\n    ɵngcc0.ɵɵpipe(3, \"i18nReplace\");\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r6 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵproperty(\"ngStyle\", ɵngcc0.ɵɵpureFunction1(7, _c0, ctx_r6.showPageInput ? null : 0));\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate1(\" \", ɵngcc0.ɵɵpipeBind1(2, 2, ɵngcc0.ɵɵpipeBind2(3, 4, ctx_r6.totalItemsText.subject, ɵngcc0.ɵɵpureFunction3(9, _c1, ctx_r6.startItemIndex, ctx_r6.endItemIndex, ctx_r6.totalDataLength))), \" \");\n} }\nconst _c2 = function (a0, a1) { return { start: a0, end: a1 }; };\nfunction Pagination_div_2_span_4_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"span\", 15);\n    ɵngcc0.ɵɵtext(1);\n    ɵngcc0.ɵɵpipe(2, \"async\");\n    ɵngcc0.ɵɵpipe(3, \"i18nReplace\");\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r7 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵproperty(\"ngStyle\", ɵngcc0.ɵɵpureFunction1(7, _c0, ctx_r7.showPageInput ? null : 0));\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate1(\" \", ɵngcc0.ɵɵpipeBind1(2, 2, ɵngcc0.ɵɵpipeBind2(3, 4, ctx_r7.totalItemsUnknownText.subject, ɵngcc0.ɵɵpureFunction2(9, _c2, ctx_r7.startItemIndex, ctx_r7.endItemIndex))), \" \");\n} }\nfunction Pagination_div_2_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"div\", 3);\n    ɵngcc0.ɵɵtemplate(1, Pagination_div_2_ng_container_1_Template, 9, 13, \"ng-container\", 7);\n    ɵngcc0.ɵɵtemplate(2, Pagination_div_2_span_2_Template, 4, 13, \"span\", 8);\n    ɵngcc0.ɵɵtemplate(3, Pagination_div_2_span_3_Template, 4, 13, \"span\", 8);\n    ɵngcc0.ɵɵtemplate(4, Pagination_div_2_span_4_Template, 4, 12, \"span\", 8);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r1 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r1.showPageInput);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r1.pagesUnknown && ctx_r1.totalDataLength <= 1);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r1.pagesUnknown && ctx_r1.totalDataLength > 1);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r1.pagesUnknown);\n} }\nfunction Pagination_div_3_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"div\", 16);\n    ɵngcc0.ɵɵelement(1, \"p\", 4);\n    ɵngcc0.ɵɵelementEnd();\n} }\nfunction Pagination_div_4_ng_container_1_input_5_Template(rf, ctx) { if (rf & 1) {\n    const _r20 = ɵngcc0.ɵɵgetCurrentView();\n    ɵngcc0.ɵɵelementStart(0, \"input\", 28);\n    ɵngcc0.ɵɵlistener(\"ngModelChange\", function Pagination_div_4_ng_container_1_input_5_Template_input_ngModelChange_0_listener($event) { ɵngcc0.ɵɵrestoreView(_r20); const ctx_r19 = ɵngcc0.ɵɵnextContext(3); return ɵngcc0.ɵɵresetView(ctx_r19.currentPage = $event); });\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r16 = ɵngcc0.ɵɵnextContext(3);\n    ɵngcc0.ɵɵproperty(\"id\", ctx_r16.currentPageSelectId)(\"max\", ctx_r16.pageOptions.length)(\"ngModel\", ctx_r16.currentPage);\n} }\nfunction Pagination_div_4_ng_container_1_select_6_option_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"option\", 14);\n    ɵngcc0.ɵɵtext(1);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const i_r23 = ctx.index;\n    ɵngcc0.ɵɵproperty(\"value\", i_r23 + 1);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate(i_r23 + 1);\n} }\nfunction Pagination_div_4_ng_container_1_select_6_Template(rf, ctx) { if (rf & 1) {\n    const _r25 = ɵngcc0.ɵɵgetCurrentView();\n    ɵngcc0.ɵɵelementStart(0, \"select\", 29);\n    ɵngcc0.ɵɵlistener(\"ngModelChange\", function Pagination_div_4_ng_container_1_select_6_Template_select_ngModelChange_0_listener($event) { ɵngcc0.ɵɵrestoreView(_r25); const ctx_r24 = ɵngcc0.ɵɵnextContext(3); return ɵngcc0.ɵɵresetView(ctx_r24.currentPage = $event); });\n    ɵngcc0.ɵɵtemplate(1, Pagination_div_4_ng_container_1_select_6_option_1_Template, 2, 2, \"option\", 12);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r17 = ɵngcc0.ɵɵnextContext(3);\n    ɵngcc0.ɵɵproperty(\"id\", ctx_r17.currentPageSelectId)(\"disabled\", ctx_r17.pageInputDisabled)(\"ngModel\", ctx_r17.currentPage);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngForOf\", ctx_r17.pageOptions);\n} }\nfunction Pagination_div_4_ng_container_1__svg_svg_7_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵelement(0, \"svg\", 30);\n    ɵngcc0.ɵɵpipe(1, \"async\");\n} if (rf & 2) {\n    const ctx_r18 = ɵngcc0.ɵɵnextContext(3);\n    ɵngcc0.ɵɵattribute(\"ariaLabel\", ɵngcc0.ɵɵpipeBind1(1, 1, ctx_r18.optionsListText.subject));\n} }\nfunction Pagination_div_4_ng_container_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainerStart(0);\n    ɵngcc0.ɵɵelementStart(1, \"div\", 23)(2, \"label\", 24);\n    ɵngcc0.ɵɵtext(3);\n    ɵngcc0.ɵɵpipe(4, \"async\");\n    ɵngcc0.ɵɵelementEnd();\n    ɵngcc0.ɵɵtemplate(5, Pagination_div_4_ng_container_1_input_5_Template, 1, 3, \"input\", 25);\n    ɵngcc0.ɵɵtemplate(6, Pagination_div_4_ng_container_1_select_6_Template, 2, 4, \"select\", 26);\n    ɵngcc0.ɵɵtemplate(7, Pagination_div_4_ng_container_1__svg_svg_7_Template, 2, 3, \"svg\", 27);\n    ɵngcc0.ɵɵelementEnd();\n    ɵngcc0.ɵɵelementContainerEnd();\n} if (rf & 2) {\n    const ctx_r12 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵclassProp(\"bx--select--disabled\", ctx_r12.pageInputDisabled);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"for\", ctx_r12.currentPageSelectId);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate(ɵngcc0.ɵɵpipeBind1(4, 7, ctx_r12.pageText.subject));\n    ɵngcc0.ɵɵadvance(2);\n    ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r12.pageOptions.length > ctx_r12.pageSelectThreshold);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r12.pageOptions.length <= ctx_r12.pageSelectThreshold);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r12.pageOptions.length <= 1000);\n} }\nfunction Pagination_div_4_span_2_ng_container_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainerStart(0);\n    ɵngcc0.ɵɵtext(1);\n    ɵngcc0.ɵɵelementContainerEnd();\n} if (rf & 2) {\n    const ctx_r26 = ɵngcc0.ɵɵnextContext(3);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate(ctx_r26.currentPage);\n} }\nconst _c3 = function (a0) { return { last: a0 }; };\nfunction Pagination_div_4_span_2_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"span\", 31);\n    ɵngcc0.ɵɵtemplate(1, Pagination_div_4_span_2_ng_container_1_Template, 2, 1, \"ng-container\", 7);\n    ɵngcc0.ɵɵtext(2);\n    ɵngcc0.ɵɵpipe(3, \"async\");\n    ɵngcc0.ɵɵpipe(4, \"i18nReplace\");\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r13 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r13.showPageInput);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate1(\" \", ɵngcc0.ɵɵpipeBind1(3, 2, ɵngcc0.ɵɵpipeBind2(4, 4, ctx_r13.ofLastPageText.subject, ɵngcc0.ɵɵpureFunction1(7, _c3, ctx_r13.lastPage))), \" \");\n} }\nfunction Pagination_div_4_span_3_ng_container_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainerStart(0);\n    ɵngcc0.ɵɵtext(1);\n    ɵngcc0.ɵɵelementContainerEnd();\n} if (rf & 2) {\n    const ctx_r27 = ɵngcc0.ɵɵnextContext(3);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate(ctx_r27.currentPage);\n} }\nfunction Pagination_div_4_span_3_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"span\", 31);\n    ɵngcc0.ɵɵtemplate(1, Pagination_div_4_span_3_ng_container_1_Template, 2, 1, \"ng-container\", 7);\n    ɵngcc0.ɵɵtext(2);\n    ɵngcc0.ɵɵpipe(3, \"async\");\n    ɵngcc0.ɵɵpipe(4, \"i18nReplace\");\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r14 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r14.showPageInput);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate1(\" \", ɵngcc0.ɵɵpipeBind1(3, 2, ɵngcc0.ɵɵpipeBind2(4, 4, ctx_r14.ofLastPagesText.subject, ɵngcc0.ɵɵpureFunction1(7, _c3, ctx_r14.lastPage))), \" \");\n} }\nfunction Pagination_div_4_span_4_ng_container_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainerStart(0);\n    ɵngcc0.ɵɵtext(1);\n    ɵngcc0.ɵɵelementContainerEnd();\n} if (rf & 2) {\n    const ctx_r28 = ɵngcc0.ɵɵnextContext(3);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate(ctx_r28.currentPage);\n} }\nfunction Pagination_div_4_span_4_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"span\", 31);\n    ɵngcc0.ɵɵtemplate(1, Pagination_div_4_span_4_ng_container_1_Template, 2, 1, \"ng-container\", 7);\n    ɵngcc0.ɵɵtext(2);\n    ɵngcc0.ɵɵpipe(3, \"async\");\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r15 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r15.showPageInput);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate2(\" \", ɵngcc0.ɵɵpipeBind1(3, 3, ctx_r15.pageText.subject), \" \", ctx_r15.currentPage, \" \");\n} }\nconst _c4 = function (a0) { return { \"bx--pagination__button--no-index\": a0 }; };\nfunction Pagination_div_4_Template(rf, ctx) { if (rf & 1) {\n    const _r30 = ɵngcc0.ɵɵgetCurrentView();\n    ɵngcc0.ɵɵelementStart(0, \"div\", 16);\n    ɵngcc0.ɵɵtemplate(1, Pagination_div_4_ng_container_1_Template, 8, 9, \"ng-container\", 7);\n    ɵngcc0.ɵɵtemplate(2, Pagination_div_4_span_2_Template, 5, 9, \"span\", 17);\n    ɵngcc0.ɵɵtemplate(3, Pagination_div_4_span_3_Template, 5, 9, \"span\", 17);\n    ɵngcc0.ɵɵtemplate(4, Pagination_div_4_span_4_Template, 4, 5, \"span\", 17);\n    ɵngcc0.ɵɵelementStart(5, \"div\", 18)(6, \"button\", 19);\n    ɵngcc0.ɵɵlistener(\"click\", function Pagination_div_4_Template_button_click_6_listener() { ɵngcc0.ɵɵrestoreView(_r30); const ctx_r29 = ɵngcc0.ɵɵnextContext(); return ɵngcc0.ɵɵresetView(ctx_r29.selectPage.emit(ctx_r29.previousPage)); });\n    ɵngcc0.ɵɵpipe(7, \"async\");\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵelement(8, \"svg\", 20);\n    ɵngcc0.ɵɵelementEnd();\n    ɵngcc0.ɵɵnamespaceHTML();\n    ɵngcc0.ɵɵelementStart(9, \"button\", 21);\n    ɵngcc0.ɵɵlistener(\"click\", function Pagination_div_4_Template_button_click_9_listener() { ɵngcc0.ɵɵrestoreView(_r30); const ctx_r31 = ɵngcc0.ɵɵnextContext(); return ɵngcc0.ɵɵresetView(ctx_r31.selectPage.emit(ctx_r31.nextPage)); });\n    ɵngcc0.ɵɵpipe(10, \"async\");\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵelement(11, \"svg\", 22);\n    ɵngcc0.ɵɵelementEnd()()();\n} if (rf & 2) {\n    const ctx_r3 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r3.showPageInput);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r3.pagesUnknown && ctx_r3.lastPage <= 1);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r3.pagesUnknown && ctx_r3.lastPage > 1);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r3.pagesUnknown);\n    ɵngcc0.ɵɵadvance(2);\n    ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction1(14, _c4, ctx_r3.currentPage <= 1 || ctx_r3.disabled))(\"disabled\", ctx_r3.currentPage <= 1 || ctx_r3.disabled ? true : null);\n    ɵngcc0.ɵɵattribute(\"aria-label\", ɵngcc0.ɵɵpipeBind1(7, 10, ctx_r3.backwardText.subject));\n    ɵngcc0.ɵɵadvance(3);\n    ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction1(16, _c4, ctx_r3.currentPage >= ctx_r3.lastPage || ctx_r3.disabled))(\"disabled\", ctx_r3.currentPage >= ctx_r3.lastPage || ctx_r3.disabled ? true : null);\n    ɵngcc0.ɵɵattribute(\"aria-label\", ɵngcc0.ɵɵpipeBind1(10, 12, ctx_r3.forwardText.subject));\n} }\nconst _c5 = function (a0) { return { \"bx--skeleton\": a0 }; };\nfunction PaginationNav_ibm_pagination_nav_item_9_Template(rf, ctx) { if (rf & 1) {\n    const _r6 = ɵngcc0.ɵɵgetCurrentView();\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵnamespaceHTML();\n    ɵngcc0.ɵɵelementStart(0, \"ibm-pagination-nav-item\", 12);\n    ɵngcc0.ɵɵlistener(\"click\", function PaginationNav_ibm_pagination_nav_item_9_Template_ibm_pagination_nav_item_click_0_listener() { ɵngcc0.ɵɵrestoreView(_r6); const ctx_r5 = ɵngcc0.ɵɵnextContext(); return ɵngcc0.ɵɵresetView(ctx_r5.currentPage = 1); });\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r0 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵproperty(\"isActive\", ctx_r0.currentPage == 1);\n} }\nfunction PaginationNav_ibm_pagination_overflow_10_Template(rf, ctx) { if (rf & 1) {\n    const _r8 = ɵngcc0.ɵɵgetCurrentView();\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵnamespaceHTML();\n    ɵngcc0.ɵɵelementStart(0, \"ibm-pagination-overflow\", 13);\n    ɵngcc0.ɵɵlistener(\"change\", function PaginationNav_ibm_pagination_overflow_10_Template_ibm_pagination_overflow_change_0_listener($event) { ɵngcc0.ɵɵrestoreView(_r8); const ctx_r7 = ɵngcc0.ɵɵnextContext(); return ɵngcc0.ɵɵresetView(ctx_r7.handleOverflowSelection($event)); });\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r1 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵproperty(\"count\", ctx_r1.frontCuts)(\"fromIndex\", ctx_r1.startOffset);\n} }\nfunction PaginationNav_ibm_pagination_nav_item_11_Template(rf, ctx) { if (rf & 1) {\n    const _r11 = ɵngcc0.ɵɵgetCurrentView();\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵnamespaceHTML();\n    ɵngcc0.ɵɵelementStart(0, \"ibm-pagination-nav-item\", 14);\n    ɵngcc0.ɵɵlistener(\"click\", function PaginationNav_ibm_pagination_nav_item_11_Template_ibm_pagination_nav_item_click_0_listener() { const restoredCtx = ɵngcc0.ɵɵrestoreView(_r11); const page_r9 = restoredCtx.$implicit; const ctx_r10 = ɵngcc0.ɵɵnextContext(); return ɵngcc0.ɵɵresetView(ctx_r10.currentPage = page_r9); });\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const page_r9 = ctx.$implicit;\n    const ctx_r2 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵproperty(\"page\", page_r9)(\"isActive\", ctx_r2.currentPage == page_r9);\n} }\nfunction PaginationNav_ibm_pagination_overflow_12_Template(rf, ctx) { if (rf & 1) {\n    const _r13 = ɵngcc0.ɵɵgetCurrentView();\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵnamespaceHTML();\n    ɵngcc0.ɵɵelementStart(0, \"ibm-pagination-overflow\", 13);\n    ɵngcc0.ɵɵlistener(\"change\", function PaginationNav_ibm_pagination_overflow_12_Template_ibm_pagination_overflow_change_0_listener($event) { ɵngcc0.ɵɵrestoreView(_r13); const ctx_r12 = ɵngcc0.ɵɵnextContext(); return ɵngcc0.ɵɵresetView(ctx_r12.handleOverflowSelection($event)); });\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r3 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵproperty(\"count\", ctx_r3.backCuts)(\"fromIndex\", ctx_r3.totalNumbersArray.length - ctx_r3.backCuts - 1);\n} }\nfunction PaginationNav_ibm_pagination_nav_item_13_Template(rf, ctx) { if (rf & 1) {\n    const _r15 = ɵngcc0.ɵɵgetCurrentView();\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵnamespaceHTML();\n    ɵngcc0.ɵɵelementStart(0, \"ibm-pagination-nav-item\", 14);\n    ɵngcc0.ɵɵlistener(\"click\", function PaginationNav_ibm_pagination_nav_item_13_Template_ibm_pagination_nav_item_click_0_listener() { ɵngcc0.ɵɵrestoreView(_r15); const ctx_r14 = ɵngcc0.ɵɵnextContext(); return ɵngcc0.ɵɵresetView(ctx_r14.currentPage = ctx_r14.totalNumbersArray.length); });\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r4 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵproperty(\"page\", ctx_r4.totalNumbersArray.length)(\"isActive\", ctx_r4.currentPage == ctx_r4.totalNumbersArray.length);\n} }\nconst _c6 = function (a0) { return { \"bx--pagination-nav__page--active\": a0 }; };\nfunction PaginationOverflow_li_0_option_4_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"option\");\n    ɵngcc0.ɵɵtext(1);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const i_r4 = ctx.index;\n    const ctx_r2 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate1(\" \", ctx_r2.fromIndex + i_r4 + 1, \" \");\n} }\nfunction PaginationOverflow_li_0_Template(rf, ctx) { if (rf & 1) {\n    const _r6 = ɵngcc0.ɵɵgetCurrentView();\n    ɵngcc0.ɵɵelementStart(0, \"li\", 2)(1, \"div\", 3)(2, \"select\", 4);\n    ɵngcc0.ɵɵlistener(\"change\", function PaginationOverflow_li_0_Template_select_change_2_listener($event) { ɵngcc0.ɵɵrestoreView(_r6); const ctx_r5 = ɵngcc0.ɵɵnextContext(); return ɵngcc0.ɵɵresetView(ctx_r5.handleChange($event)); });\n    ɵngcc0.ɵɵelement(3, \"option\", 5);\n    ɵngcc0.ɵɵtemplate(4, PaginationOverflow_li_0_option_4_Template, 2, 1, \"option\", 6);\n    ɵngcc0.ɵɵelementEnd();\n    ɵngcc0.ɵɵelementStart(5, \"div\", 7);\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵelement(6, \"svg\", 8);\n    ɵngcc0.ɵɵelementEnd()()();\n} if (rf & 2) {\n    const ctx_r0 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵadvance(2);\n    ɵngcc0.ɵɵattribute(\"aria-label\", ctx_r0.ariaLabel);\n    ɵngcc0.ɵɵadvance(2);\n    ɵngcc0.ɵɵproperty(\"ngForOf\", ctx_r0.countAsArray);\n} }\nfunction PaginationOverflow_ibm_pagination_nav_item_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelement(0, \"ibm-pagination-nav-item\", 9);\n} if (rf & 2) {\n    const ctx_r1 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵproperty(\"page\", ctx_r1.fromIndex + 1);\n} }\nclass PaginationModel {\n    constructor() {\n        /**\n         * Tracks the current page.\n         */\n        this.currentPage = 1;\n        /**\n         * Length of page.\n         */\n        /* tslint:disable-next-line*/\n        this.pageLength = 10;\n        /**\n         * Absolute total number of items needed to paginate.\n         */\n        this.totalDataLength = 0;\n    }\n}\n\n/**\n * Use pagination when you have multiple pages of data to handle.\n *\n * [See demo](../../?path=/story/components-pagination--basic)\n *\n * ```html\n * <ibm-pagination [model]=\"model\" (selectPage)=\"selectPage($event)\"></ibm-pagination>\n * ```\n *\n * In your `selectPage()` method set the `model.currentPage` to selected page, _after_\n * you load the page.\n *\n * ```typescript\n * selectPage(page) {\n * \t// ... your code to load the page goes here\n *\n * \tthis.model.currentPage = page;\n *\n * \t// ... anything you want to do after page selection changes goes here\n * }\n * ```\n *\n * <example-url>../../iframe.html?id=components-pagination--basic</example-url>\n */\nclass Pagination {\n    constructor(i18n, experimental) {\n        this.i18n = i18n;\n        this.experimental = experimental;\n        /**\n         * Set to `true` for a loading pagination component.\n         */\n        this.skeleton = false;\n        /**\n         * Set to `true` to disable the backward/forward buttons.\n         */\n        this.disabled = false;\n        /**\n         * Set to `true` to disable the select box that changes the page.\n         */\n        this.pageInputDisabled = false;\n        /**\n         * Controls wether or not to show the page selects\n         */\n        this.showPageInput = true;\n        /**\n         * Set to `true` if the total number of items is unknown.\n         */\n        this.pagesUnknown = false;\n        this.pageSelectThreshold = 1000;\n        /**\n         * Options for items per page select\n         *\n         * A default array of options will be defined: [10, 20, 30, 40, 50]\n         */\n        this.itemsPerPageOptions = [10, 20, 30, 40, 50];\n        /**\n         * Emits the new page number.\n         *\n         * You should tie into this and update `model.currentPage` once the fresh\n         * data is finally loaded.\n         */\n        this.selectPage = new EventEmitter();\n        this.itemsPerPageSelectId = `pagination-select-items-per-page-${Pagination.paginationCounter}`;\n        this.currentPageSelectId = `pagination-select-current-page-${Pagination.paginationCounter}`;\n        this.itemsPerPageText = this.i18n.getOverridable(\"PAGINATION.ITEMS_PER_PAGE\");\n        this.optionsListText = this.i18n.getOverridable(\"PAGINATION.OPEN_LIST_OF_OPTIONS\");\n        this.backwardText = this.i18n.getOverridable(\"PAGINATION.BACKWARD\");\n        this.forwardText = this.i18n.getOverridable(\"PAGINATION.FORWARD\");\n        this.totalItemsText = this.i18n.getOverridable(\"PAGINATION.TOTAL_ITEMS\");\n        this.totalItemText = this.i18n.getOverridable(\"PAGINATION.TOTAL_ITEM\");\n        this.totalItemsUnknownText = this.i18n.getOverridable(\"PAGINATION.TOTAL_ITEMS_UNKNOWN\");\n        this.pageText = this.i18n.getOverridable(\"PAGINATION.PAGE\");\n        this.ofLastPagesText = this.i18n.getOverridable(\"PAGINATION.OF_LAST_PAGES\");\n        this.ofLastPageText = this.i18n.getOverridable(\"PAGINATION.OF_LAST_PAGE\");\n        this._pageOptions = [];\n        Pagination.paginationCounter++;\n    }\n    /**\n     * Expects an object that contains some or all of:\n     * ```\n     * {\n     *\t\t\"ITEMS_PER_PAGE\": \"Items per page:\",\n     *\t\t\"OPEN_LIST_OF_OPTIONS\": \"Open list of options\",\n     *\t\t\"BACKWARD\": \"Backward\",\n     *\t\t\"FORWARD\": \"Forward\",\n     *\t\t\"TOTAL_ITEMS_UNKNOWN\": \"{{start}}-{{end}} items\",\n     *\t\t\"TOTAL_ITEMS\": \"{{start}}-{{end}} of {{total}} items\",\n     *\t\t\"TOTAL_ITEM\": \"{{start}}-{{end}} of {{total}} item\",\n     *\t\t\"OF_LAST_PAGES\": \"of {{last}} pages\",\n     *\t\t\"OF_LAST_PAGE\": \"of {{last}} page\"\n     * }\n     * ```\n     */\n    set translations(value) {\n        const valueWithDefaults = merge(this.i18n.getMultiple(\"PAGINATION\"), value);\n        this.itemsPerPageText.override(valueWithDefaults.ITEMS_PER_PAGE);\n        this.optionsListText.override(valueWithDefaults.OPEN_LIST_OF_OPTIONS);\n        this.backwardText.override(valueWithDefaults.BACKWARD);\n        this.forwardText.override(valueWithDefaults.FORWARD);\n        this.totalItemsText.override(valueWithDefaults.TOTAL_ITEMS);\n        this.totalItemText.override(valueWithDefaults.TOTAL_ITEM);\n        this.totalItemsUnknownText.override(valueWithDefaults.TOTAL_ITEMS_UNKNOWN);\n        this.pageText.override(valueWithDefaults.PAGE);\n        this.ofLastPagesText.override(valueWithDefaults.OF_LAST_PAGES);\n        this.ofLastPageText.override(valueWithDefaults.OF_LAST_PAGE);\n    }\n    get itemsPerPage() {\n        return this.model.pageLength;\n    }\n    set itemsPerPage(value) {\n        this.model.pageLength = Number(value);\n        this.currentPage = 1; // reset page\n    }\n    get currentPage() {\n        return this.model.currentPage;\n    }\n    set currentPage(value) {\n        value = Number(value);\n        // emits the value to allow the user to update current page\n        // in the model once the page is loaded\n        this.selectPage.emit(value);\n    }\n    get totalDataLength() {\n        return this.model.totalDataLength;\n    }\n    /**\n     * The last page number to display in the pagination view.\n     */\n    get lastPage() {\n        const last = Math.ceil(this.totalDataLength / this.itemsPerPage);\n        return last > 0 ? last : 1;\n    }\n    get startItemIndex() {\n        return this.endItemIndex > 0 ? (this.currentPage - 1) * this.itemsPerPage + 1 : 0;\n    }\n    get endItemIndex() {\n        const projectedEndItemIndex = this.currentPage * this.itemsPerPage;\n        return projectedEndItemIndex < this.totalDataLength ? projectedEndItemIndex : this.totalDataLength;\n    }\n    /**\n     * The previous page number to navigate to, from the current page.\n     */\n    get previousPage() {\n        return this.currentPage <= 1 ? 1 : this.currentPage - 1;\n    }\n    /**\n     * The next page number to navigate to, from the current page.\n     */\n    get nextPage() {\n        const lastPage = this.lastPage;\n        return this.currentPage >= lastPage ? lastPage : this.currentPage + 1;\n    }\n    get pageOptions() {\n        if (this.totalDataLength && this._pageOptions.length !== this.totalDataLength) {\n            this._pageOptions = Array(Math.ceil(this.totalDataLength / this.itemsPerPage));\n        }\n        return this._pageOptions;\n    }\n}\nPagination.ɵfac = function Pagination_Factory(t) { return new (t || Pagination)(ɵngcc0.ɵɵdirectiveInject(ɵngcc1.I18n), ɵngcc0.ɵɵdirectiveInject(ɵngcc2.ExperimentalService)); };\nPagination.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: Pagination, selectors: [[\"ibm-pagination\"]], inputs: { skeleton: \"skeleton\", disabled: \"disabled\", pageInputDisabled: \"pageInputDisabled\", showPageInput: \"showPageInput\", pagesUnknown: \"pagesUnknown\", pageSelectThreshold: \"pageSelectThreshold\", itemsPerPageOptions: \"itemsPerPageOptions\", translations: \"translations\", model: \"model\" }, outputs: { selectPage: \"selectPage\" }, decls: 5, vars: 7, consts: [[1, \"bx--pagination\", 3, \"ngClass\"], [\"class\", \"bx--pagination__left\", 4, \"ngIf\"], [\"class\", \"bx--pagination__right\", 4, \"ngIf\"], [1, \"bx--pagination__left\"], [1, \"bx--skeleton__text\", 2, \"width\", \"70px\"], [1, \"bx--skeleton__text\", 2, \"width\", \"35px\"], [1, \"bx--skeleton__text\", 2, \"width\", \"105px\"], [4, \"ngIf\"], [\"class\", \"bx--pagination__text bx--pagination__items-count\", 3, \"ngStyle\", 4, \"ngIf\"], [1, \"bx--pagination__text\", 3, \"for\"], [1, \"bx--select\", \"bx--select--inline\", \"bx--select__item-count\"], [1, \"bx--select-input\", 3, \"id\", \"ngModel\", \"disabled\", \"ngModelChange\"], [\"class\", \"bx--select-option\", 3, \"value\", 4, \"ngFor\", \"ngForOf\"], [\"ibmIcon\", \"chevron--down\", \"size\", \"16\", \"aria-hidden\", \"true\", 1, \"bx--select__arrow\", 2, \"display\", \"inherit\"], [1, \"bx--select-option\", 3, \"value\"], [1, \"bx--pagination__text\", \"bx--pagination__items-count\", 3, \"ngStyle\"], [1, \"bx--pagination__right\"], [\"class\", \"bx--pagination__text\", 4, \"ngIf\"], [1, \"bx--pagination__control-buttons\"], [\"ibmButton\", \"ghost\", \"iconOnly\", \"true\", \"tabindex\", \"0\", 1, \"bx--pagination__button\", \"bx--pagination__button--backward\", 3, \"ngClass\", \"disabled\", \"click\"], [\"ibmIcon\", \"caret--left\", \"size\", \"16\", 1, \"bx--btn__icon\"], [\"ibmButton\", \"ghost\", \"iconOnly\", \"true\", \"tabindex\", \"0\", 1, \"bx--pagination__button\", \"bx--pagination__button--forward\", 3, \"ngClass\", \"disabled\", \"click\"], [\"ibmIcon\", \"caret--right\", \"size\", \"16\", 1, \"bx--btn__icon\"], [1, \"bx--select\", \"bx--select--inline\", \"bx--select__page-number\"], [1, \"bx--label\", \"bx--visually-hidden\", 3, \"for\"], [\"style\", \"padding-right: 1rem; margin-right: 1rem;\", \"type\", \"number\", \"min\", \"1\", \"class\", \"bx--select-input\", 3, \"id\", \"max\", \"ngModel\", \"ngModelChange\", 4, \"ngIf\"], [\"class\", \"bx--select-input\", 3, \"id\", \"disabled\", \"ngModel\", \"ngModelChange\", 4, \"ngIf\"], [\"ibmIcon\", \"chevron--down\", \"size\", \"16\", \"style\", \"display: inherit;\", \"class\", \"bx--select__arrow\", 4, \"ngIf\"], [\"type\", \"number\", \"min\", \"1\", 1, \"bx--select-input\", 2, \"padding-right\", \"1rem\", \"margin-right\", \"1rem\", 3, \"id\", \"max\", \"ngModel\", \"ngModelChange\"], [1, \"bx--select-input\", 3, \"id\", \"disabled\", \"ngModel\", \"ngModelChange\"], [\"ibmIcon\", \"chevron--down\", \"size\", \"16\", 1, \"bx--select__arrow\", 2, \"display\", \"inherit\"], [1, \"bx--pagination__text\"]], template: function Pagination_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵelementStart(0, \"div\", 0);\n        ɵngcc0.ɵɵtemplate(1, Pagination_div_1_Template, 4, 0, \"div\", 1);\n        ɵngcc0.ɵɵtemplate(2, Pagination_div_2_Template, 5, 4, \"div\", 1);\n        ɵngcc0.ɵɵtemplate(3, Pagination_div_3_Template, 2, 0, \"div\", 2);\n        ɵngcc0.ɵɵtemplate(4, Pagination_div_4_Template, 12, 18, \"div\", 2);\n        ɵngcc0.ɵɵelementEnd();\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction1(5, _c5, ctx.skeleton));\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.skeleton);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.skeleton);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.skeleton);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.skeleton);\n    } }, dependencies: [ɵngcc3.NgClass, ɵngcc3.NgForOf, ɵngcc3.NgIf, ɵngcc3.NgStyle, ɵngcc4.NgSelectOption, ɵngcc4.ɵNgSelectMultipleOption, ɵngcc4.DefaultValueAccessor, ɵngcc4.NumberValueAccessor, ɵngcc4.SelectControlValueAccessor, ɵngcc4.NgControlStatus, ɵngcc4.MinValidator, ɵngcc4.MaxValidator, ɵngcc4.NgModel, ɵngcc5.IconDirective, ɵngcc6.Button, ɵngcc3.AsyncPipe, ɵngcc1.ReplacePipe], encapsulation: 2 });\nPagination.paginationCounter = 0;\n/** @nocollapse */\nPagination.ctorParameters = () => [\n    { type: I18n },\n    { type: ExperimentalService }\n];\nPagination.propDecorators = {\n    skeleton: [{ type: Input }],\n    model: [{ type: Input }],\n    disabled: [{ type: Input }],\n    pageInputDisabled: [{ type: Input }],\n    showPageInput: [{ type: Input }],\n    pagesUnknown: [{ type: Input }],\n    pageSelectThreshold: [{ type: Input }],\n    translations: [{ type: Input }],\n    itemsPerPageOptions: [{ type: Input }],\n    selectPage: [{ type: Output }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(Pagination, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-pagination\",\n                template: `\n\t<div\n\t\tclass=\"bx--pagination\"\n\t\t[ngClass]=\"{\n\t\t\t'bx--skeleton': skeleton\n\t\t}\">\n\t\t<!-- left skeleton div -->\n\t\t<div *ngIf=\"skeleton\" class=\"bx--pagination__left\">\n\t\t\t<p class=\"bx--skeleton__text\" style=\"width: 70px\"></p>\n\t\t\t<p class=\"bx--skeleton__text\" style=\"width: 35px\"></p>\n\t\t\t<p class=\"bx--skeleton__text\" style=\"width: 105px\"></p>\n\t\t</div>\n\n\t\t<div *ngIf=\"!skeleton\" class=\"bx--pagination__left\">\n\t\t\t<ng-container *ngIf=\"showPageInput\">\n\t\t\t\t<label class=\"bx--pagination__text\" [for]=\"itemsPerPageSelectId\">\n\t\t\t\t\t{{itemsPerPageText.subject | async}}\n\t\t\t\t</label>\n\t\t\t\t<div\n\t\t\t\t\tclass=\"bx--select bx--select--inline bx--select__item-count\"\n\t\t\t\t\t[class.bx--select--disabled]=\"pageInputDisabled\">\n\t\t\t\t\t<select\n\t\t\t\t\t\t[id]=\"itemsPerPageSelectId\"\n\t\t\t\t\t\t[(ngModel)]=\"itemsPerPage\"\n\t\t\t\t\t\t[disabled]=\"pageInputDisabled\"\n\t\t\t\t\t\tclass=\"bx--select-input\">\n\t\t\t\t\t\t<option\n\t\t\t\t\t\t\tclass=\"bx--select-option\"\n\t\t\t\t\t\t\t*ngFor=\"let option of itemsPerPageOptions\"\n\t\t\t\t\t\t\t[value]=\"option\">\n\t\t\t\t\t\t\t\t{{ option }}\n\t\t\t\t\t\t</option>\n\t\t\t\t\t</select>\n\t\t\t\t\t<svg\n\t\t\t\t\t\tibmIcon=\"chevron--down\"\n\t\t\t\t\t\tsize=\"16\"\n\t\t\t\t\t\tstyle=\"display: inherit\"\n\t\t\t\t\t\tclass=\"bx--select__arrow\"\n\t\t\t\t\t\taria-hidden=\"true\"\n\t\t\t\t\t\t[attr.ariaLabel]=\"optionsListText.subject | async\">\n\t\t\t\t\t</svg>\n\t\t\t\t</div>\n\t\t\t</ng-container>\n\t\t\t<span *ngIf=\"!pagesUnknown && totalDataLength <= 1\" class=\"bx--pagination__text bx--pagination__items-count\" [ngStyle]=\"{'margin-left': showPageInput ? null : 0}\">\n\t\t\t\t{{totalItemText.subject | i18nReplace:{start: startItemIndex, end: endItemIndex, total: totalDataLength } | async}}\n\t\t\t</span>\n\t\t\t<span *ngIf=\"!pagesUnknown && totalDataLength > 1\" class=\"bx--pagination__text bx--pagination__items-count\" [ngStyle]=\"{'margin-left': showPageInput ? null : 0}\">\n\t\t\t\t{{totalItemsText.subject | i18nReplace:{start: startItemIndex, end: endItemIndex, total: totalDataLength } | async}}\n\t\t\t</span>\n\t\t\t<span *ngIf=\"pagesUnknown\" class=\"bx--pagination__text bx--pagination__items-count\" [ngStyle]=\"{'margin-left': showPageInput ? null : 0}\">\n\t\t\t\t{{totalItemsUnknownText.subject | i18nReplace:{start: startItemIndex, end: endItemIndex } | async}}\n\t\t\t</span>\n\t\t</div>\n\n\t\t<!-- right skeleton div -->\n\t\t<div *ngIf=\"skeleton\" class=\"bx--pagination__right\">\n\t\t\t<p class=\"bx--skeleton__text\" style=\"width: 70px\"></p>\n\t\t</div>\n\n\t\t<div *ngIf=\"!skeleton\" class=\"bx--pagination__right\">\n\t\t\t<ng-container *ngIf=\"showPageInput\">\n\t\t\t\t<div\n\t\t\t\t\tclass=\"bx--select bx--select--inline bx--select__page-number\"\n\t\t\t\t\t[class.bx--select--disabled]=\"pageInputDisabled\">\n\t\t\t\t\t<label [for]=\"currentPageSelectId\" class=\"bx--label bx--visually-hidden\">{{pageText.subject | async}}</label>\n\t\t\t\t\t<input\n\t\t\t\t\t\t*ngIf=\"pageOptions.length > pageSelectThreshold\"\n\t\t\t\t\t\tstyle=\"padding-right: 1rem; margin-right: 1rem;\"\n\t\t\t\t\t\t[id]=\"currentPageSelectId\"\n\t\t\t\t\t\ttype=\"number\"\n\t\t\t\t\t\tmin=\"1\"\n\t\t\t\t\t\t[max]=\"pageOptions.length\"\n\t\t\t\t\t\tclass=\"bx--select-input\"\n\t\t\t\t\t\t[(ngModel)]=\"currentPage\">\n\t\t\t\t\t<select\n\t\t\t\t\t\t*ngIf=\"pageOptions.length <= pageSelectThreshold\"\n\t\t\t\t\t\t[id]=\"currentPageSelectId\"\n\t\t\t\t\t\tclass=\"bx--select-input\"\n\t\t\t\t\t\t[disabled]=\"pageInputDisabled\"\n\t\t\t\t\t\t[(ngModel)]=\"currentPage\">\n\t\t\t\t\t\t<option *ngFor=\"let page of pageOptions; let i = index;\" class=\"bx--select-option\" [value]=\"i + 1\">{{i + 1}}</option>\n\t\t\t\t\t</select>\n\t\t\t\t\t<svg\n\t\t\t\t\t\t*ngIf=\"pageOptions.length <= 1000\"\n\t\t\t\t\t\tibmIcon=\"chevron--down\"\n\t\t\t\t\t\tsize=\"16\"\n\t\t\t\t\t\tstyle=\"display: inherit;\"\n\t\t\t\t\t\tclass=\"bx--select__arrow\"\n\t\t\t\t\t\t[attr.ariaLabel]=\"optionsListText.subject | async\">\n\t\t\t\t\t</svg>\n\t\t\t\t</div>\n\t\t\t</ng-container>\n\n\t\t\t<span *ngIf=\"!pagesUnknown && lastPage <= 1\" class=\"bx--pagination__text\">\n\t\t\t\t<ng-container *ngIf=\"!showPageInput\">{{currentPage}}</ng-container>\n\t\t\t\t{{ofLastPageText.subject | i18nReplace: {last: lastPage} | async}}\n\t\t\t</span>\n\t\t\t<span *ngIf=\"!pagesUnknown && lastPage > 1\" class=\"bx--pagination__text\">\n\t\t\t\t<ng-container *ngIf=\"!showPageInput\">{{currentPage}}</ng-container>\n\t\t\t\t{{ofLastPagesText.subject | i18nReplace: {last: lastPage} | async}}\n\t\t\t</span>\n\t\t\t<span *ngIf=\"pagesUnknown\" class=\"bx--pagination__text\">\n\t\t\t\t<ng-container *ngIf=\"!showPageInput\">{{currentPage}}</ng-container>\n\t\t\t\t{{pageText.subject | async}} {{currentPage}}\n\t\t\t</span>\n\t\t\t<div class=\"bx--pagination__control-buttons\">\n\t\t\t\t<button\n\t\t\t\t\tibmButton=\"ghost\"\n\t\t\t\t\ticonOnly=\"true\"\n\t\t\t\t\tclass=\"bx--pagination__button bx--pagination__button--backward\"\n\t\t\t\t\t[ngClass]=\"{\n\t\t\t\t\t\t'bx--pagination__button--no-index': currentPage <= 1 || disabled\n\t\t\t\t\t}\"\n\t\t\t\t\ttabindex=\"0\"\n\t\t\t\t\t[attr.aria-label]=\"backwardText.subject | async\"\n\t\t\t\t\t(click)=\"selectPage.emit(previousPage)\"\n\t\t\t\t\t[disabled]=\"(currentPage <= 1 || disabled ? true : null)\">\n\t\t\t\t\t<svg ibmIcon=\"caret--left\" size=\"16\" class=\"bx--btn__icon\"></svg>\n\t\t\t\t</button>\n\n\t\t\t\t<button\n\t\t\t\t\tibmButton=\"ghost\"\n\t\t\t\t\ticonOnly=\"true\"\n\t\t\t\t\tclass=\"\n\t\t\t\t\t\tbx--pagination__button\n\t\t\t\t\t\tbx--pagination__button--forward\"\n\t\t\t\t\t[ngClass]=\"{\n\t\t\t\t\t\t'bx--pagination__button--no-index': currentPage >= lastPage || disabled\n\t\t\t\t\t}\"\n\t\t\t\t\ttabindex=\"0\"\n\t\t\t\t\t[attr.aria-label]=\"forwardText.subject | async\"\n\t\t\t\t\t(click)=\"selectPage.emit(nextPage)\"\n\t\t\t\t\t[disabled]=\"(currentPage >= lastPage || disabled ? true : null)\">\n\t\t\t\t\t<svg ibmIcon=\"caret--right\" size=\"16\" class=\"bx--btn__icon\"></svg>\n\t\t\t\t</button>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n\t`\n            }]\n    }], function () { return [{ type: ɵngcc1.I18n }, { type: ɵngcc2.ExperimentalService }]; }, { skeleton: [{\n            type: Input\n        }], disabled: [{\n            type: Input\n        }], pageInputDisabled: [{\n            type: Input\n        }], showPageInput: [{\n            type: Input\n        }], pagesUnknown: [{\n            type: Input\n        }], pageSelectThreshold: [{\n            type: Input\n        }], itemsPerPageOptions: [{\n            type: Input\n        }], selectPage: [{\n            type: Output\n        }], translations: [{\n            type: Input\n        }], model: [{\n            type: Input\n        }] }); })();\n\n/**\n * Use pagination when you have multiple pages of data to handle.\n *\n * [See demo](../../?path=/story/components-pagination-nav--basic)\n *\n * ```html\n * <ibm-pagination-nav [model]=\"model\" (selectPage)=\"selectPage($event)\"></ibm-pagination-nav>\n * ```\n *\n * In your `selectPage()` method set the `model.currentPage` to selected page, _after_\n * you load the page.\n *\n * ```typescript\n * selectPage(page) {\n * \t// ... your code to load the page goes here\n *\n * \tthis.model.currentPage = page;\n *\n * \t// ... anything you want to do after page selection changes goes here\n * }\n * ```\n *\n * <example-url>../../iframe.html?id=components-pagination-nav--basic</example-url>\n */\nclass PaginationNav {\n    constructor(i18n, experimental) {\n        this.i18n = i18n;\n        this.experimental = experimental;\n        /**\n         * Set to `true` to disable the backward/forward buttons.\n         */\n        this.disabled = false;\n        /**\n         * Number of items to show in pagination. Minimum is 4.\n         */\n        this.numOfItemsToShow = 4;\n        /**\n         * Emits the new page number.\n         *\n         * You should tie into this and update `model.currentPage` once the fresh\n         * data is finally loaded.\n         */\n        this.selectPage = new EventEmitter();\n        this.nextItemText = this.i18n.getOverridable(\"PAGINATION.NEXT\");\n        this.previousItemText = this.i18n.getOverridable(\"PAGINATION.PREVIOUS\");\n        PaginationNav.paginationCounter++;\n    }\n    /**\n     * Expects an object that contains some or all of:\n     * ```\n     * {\n     *\t\t\"NEXT\": \"Next\",\n     *\t\t\"PREVIOUS\": \"Previous\",\n     * }\n     * ```\n     */\n    set translations(value) {\n        const valueWithDefaults = merge(this.i18n.getMultiple(\"PAGINATION\"), value);\n        this.nextItemText.override(valueWithDefaults.NEXT);\n        this.previousItemText.override(valueWithDefaults.PREVIOUS);\n    }\n    get totalNumbersArray() {\n        return range(this.totalDataLength + 1, 1);\n    }\n    get currentPage() {\n        return this.model.currentPage;\n    }\n    set currentPage(value) {\n        value = Number(value);\n        // emits the value to allow the user to update current page\n        // in the model once the page is loaded\n        this.selectPage.emit(value);\n    }\n    get totalDataLength() {\n        return this.model.totalDataLength;\n    }\n    get startOffset() {\n        return this.numOfItemsToShow <= 4 && this.currentPage > 1 ? 0 : 1;\n    }\n    get frontCuts() {\n        const cuts = this.getCuts();\n        return cuts.front;\n    }\n    get backCuts() {\n        const cuts = this.getCuts();\n        return cuts.back;\n    }\n    get leftArrowDisabled() {\n        return this.disabled || this.currentPage === 1;\n    }\n    get rightArrowDisabled() {\n        return this.disabled || this.currentPage === this.totalDataLength;\n    }\n    handleOverflowSelection(page) {\n        if (typeof page === \"number\") {\n            this.currentPage = page;\n        }\n    }\n    jumpToNext() {\n        this.currentPage = this.currentPage < this.totalDataLength ? this.currentPage + 1 : this.totalDataLength;\n    }\n    jumpToPrevious() {\n        this.currentPage = this.currentPage > 1 ? this.currentPage - 1 : 1;\n    }\n    getPages() {\n        if (this.totalDataLength <= 1) {\n            return null;\n        }\n        const cuts = this.getCuts();\n        return this.totalNumbersArray.slice(this.startOffset + cuts.front, (1 + cuts.back) * -1);\n    }\n    getCuts(splitPoint = null) {\n        const page = this.currentPage - 1;\n        const totalItems = this.totalDataLength;\n        const itemsThatFit = this.numOfItemsToShow;\n        if (itemsThatFit >= totalItems) {\n            return {\n                front: 0,\n                back: 0\n            };\n        }\n        const split = splitPoint || Math.ceil(itemsThatFit / 2) - 1;\n        let frontHidden = page + 1 - split;\n        let backHidden = totalItems - page - (itemsThatFit - split) + 1;\n        if (frontHidden <= 1) {\n            backHidden -= frontHidden <= 0 ? Math.abs(frontHidden) + 1 : 0;\n            frontHidden = 0;\n        }\n        if (backHidden <= 1) {\n            frontHidden -= backHidden <= 0 ? Math.abs(backHidden) + 1 : 0;\n            backHidden = 0;\n        }\n        return {\n            front: frontHidden,\n            back: backHidden\n        };\n    }\n}\nPaginationNav.ɵfac = function PaginationNav_Factory(t) { return new (t || PaginationNav)(ɵngcc0.ɵɵdirectiveInject(ɵngcc1.I18n), ɵngcc0.ɵɵdirectiveInject(ɵngcc2.ExperimentalService)); };\nPaginationNav.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: PaginationNav, selectors: [[\"ibm-pagination-nav\"]], inputs: { disabled: \"disabled\", numOfItemsToShow: \"numOfItemsToShow\", translations: \"translations\", model: \"model\" }, outputs: { selectPage: \"selectPage\" }, decls: 20, vars: 13, consts: [[1, \"bx--pagination-nav\"], [1, \"bx--pagination-nav__list\"], [1, \"bx--pagination-nav__list-item\"], [1, \"bx--btn\", \"bx--btn--ghost\", \"bx--pagination-nav-previous\", \"bx--btn--icon-only\", \"bx--tooltip__trigger\", \"bx--tooltip--a11y\", \"bx--tooltip--bottom\", \"bx--tooltip--align-center\", 3, \"disabled\", \"click\"], [1, \"bx--assistive-text\"], [\"ibmIcon\", \"caret--left\", \"size\", \"16\", 1, \"bx--btn__icon\", 2, \"display\", \"inherit\"], [\"page\", \"1\", 3, \"isActive\", \"click\", 4, \"ngIf\"], [3, \"count\", \"fromIndex\", \"change\", 4, \"ngIf\"], [3, \"page\", \"isActive\", \"click\", 4, \"ngFor\", \"ngForOf\"], [3, \"page\", \"isActive\", \"click\", 4, \"ngIf\"], [1, \"bx--btn\", \"bx--btn--ghost\", \"bx--pagination-nav-next\", \"bx--btn--icon-only\", \"bx--tooltip__trigger\", \"bx--tooltip--a11y\", \"bx--tooltip--bottom\", \"bx--tooltip--align-center\", 3, \"disabled\", \"click\"], [\"ibmIcon\", \"caret--right\", \"size\", \"16\", 1, \"bx--btn__icon\", 2, \"display\", \"inherit\"], [\"page\", \"1\", 3, \"isActive\", \"click\"], [3, \"count\", \"fromIndex\", \"change\"], [3, \"page\", \"isActive\", \"click\"]], template: function PaginationNav_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵelementStart(0, \"div\")(1, \"div\", 0)(2, \"ul\", 1)(3, \"li\", 2)(4, \"button\", 3);\n        ɵngcc0.ɵɵlistener(\"click\", function PaginationNav_Template_button_click_4_listener() { return ctx.jumpToPrevious(); });\n        ɵngcc0.ɵɵelementStart(5, \"span\", 4);\n        ɵngcc0.ɵɵtext(6);\n        ɵngcc0.ɵɵpipe(7, \"async\");\n        ɵngcc0.ɵɵelementEnd();\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(8, \"svg\", 5);\n        ɵngcc0.ɵɵelementEnd()();\n        ɵngcc0.ɵɵtemplate(9, PaginationNav_ibm_pagination_nav_item_9_Template, 1, 1, \"ibm-pagination-nav-item\", 6);\n        ɵngcc0.ɵɵtemplate(10, PaginationNav_ibm_pagination_overflow_10_Template, 1, 2, \"ibm-pagination-overflow\", 7);\n        ɵngcc0.ɵɵtemplate(11, PaginationNav_ibm_pagination_nav_item_11_Template, 1, 2, \"ibm-pagination-nav-item\", 8);\n        ɵngcc0.ɵɵtemplate(12, PaginationNav_ibm_pagination_overflow_12_Template, 1, 2, \"ibm-pagination-overflow\", 7);\n        ɵngcc0.ɵɵtemplate(13, PaginationNav_ibm_pagination_nav_item_13_Template, 1, 2, \"ibm-pagination-nav-item\", 9);\n        ɵngcc0.ɵɵnamespaceHTML();\n        ɵngcc0.ɵɵelementStart(14, \"li\", 2)(15, \"button\", 10);\n        ɵngcc0.ɵɵlistener(\"click\", function PaginationNav_Template_button_click_15_listener() { return ctx.jumpToNext(); });\n        ɵngcc0.ɵɵelementStart(16, \"span\", 4);\n        ɵngcc0.ɵɵtext(17);\n        ɵngcc0.ɵɵpipe(18, \"async\");\n        ɵngcc0.ɵɵelementEnd();\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(19, \"svg\", 11);\n        ɵngcc0.ɵɵelementEnd()()()()();\n    } if (rf & 2) {\n        ɵngcc0.ɵɵadvance(4);\n        ɵngcc0.ɵɵproperty(\"disabled\", ctx.leftArrowDisabled);\n        ɵngcc0.ɵɵadvance(2);\n        ɵngcc0.ɵɵtextInterpolate(ɵngcc0.ɵɵpipeBind1(7, 9, ctx.previousItemText.subject));\n        ɵngcc0.ɵɵadvance(3);\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.numOfItemsToShow >= 5 || ctx.numOfItemsToShow <= 4 && ctx.currentPage <= 1);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.frontCuts);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngForOf\", ctx.getPages());\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.backCuts);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.totalDataLength > 1);\n        ɵngcc0.ɵɵadvance(2);\n        ɵngcc0.ɵɵproperty(\"disabled\", ctx.rightArrowDisabled);\n        ɵngcc0.ɵɵadvance(2);\n        ɵngcc0.ɵɵtextInterpolate(ɵngcc0.ɵɵpipeBind1(18, 11, ctx.nextItemText.subject));\n    } }, dependencies: function () { return [ɵngcc3.NgForOf, ɵngcc3.NgIf, ɵngcc5.IconDirective, PaginationNavItem, PaginationOverflow, ɵngcc3.AsyncPipe]; }, encapsulation: 2 });\nPaginationNav.paginationCounter = 0;\n/** @nocollapse */\nPaginationNav.ctorParameters = () => [\n    { type: I18n },\n    { type: ExperimentalService }\n];\nPaginationNav.propDecorators = {\n    model: [{ type: Input }],\n    disabled: [{ type: Input }],\n    numOfItemsToShow: [{ type: Input }],\n    translations: [{ type: Input }],\n    selectPage: [{ type: Output }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(PaginationNav, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-pagination-nav\",\n                template: `\n\t<div>\n\t\t<div class=\"bx--pagination-nav\">\n\t\t\t<ul class=\"bx--pagination-nav__list\">\n\t\t\t\t<li class=\"bx--pagination-nav__list-item\">\n\t\t\t\t\t<button\n\t\t\t\t\t\tclass=\"bx--btn bx--btn--ghost bx--pagination-nav-previous\n\t\t\t\t\t\tbx--btn--icon-only bx--tooltip__trigger bx--tooltip--a11y bx--tooltip--bottom bx--tooltip--align-center\"\n\t\t\t\t\t\t[disabled]=\"leftArrowDisabled\"\n\t\t\t\t\t\t(click)=\"jumpToPrevious()\">\n\t\t\t\t\t\t<span class=\"bx--assistive-text\">{{previousItemText.subject | async}}</span>\n\t\t\t\t\t\t<svg\n\t\t\t\t\t\t\tibmIcon=\"caret--left\"\n\t\t\t\t\t\t\tsize=\"16\"\n\t\t\t\t\t\t\tstyle=\"display: inherit\"\n\t\t\t\t\t\t\tclass=\"bx--btn__icon\">\n\t\t\t\t\t\t</svg>\n\t\t\t\t\t</button>\n\t\t\t\t</li>\n\t\t\t\t<ibm-pagination-nav-item\n\t\t\t\t\t*ngIf=\"this.numOfItemsToShow >= 5 || (this.numOfItemsToShow <= 4 && currentPage <= 1)\"\n\t\t\t\t\tpage=\"1\"\n\t\t\t\t\t(click)=\"currentPage = 1\"\n\t\t\t\t\t[isActive]=\"currentPage == 1\">\n\t\t\t\t</ibm-pagination-nav-item>\n\t\t\t\t<ibm-pagination-overflow\n\t\t\t\t\t*ngIf=\"frontCuts\"\n\t\t\t\t\t[count]=\"frontCuts\"\n\t\t\t\t\t[fromIndex]=\"startOffset\"\n\t\t\t\t\t(change)=\"handleOverflowSelection($event)\">\n\t\t\t\t</ibm-pagination-overflow>\n\t\t\t\t<ibm-pagination-nav-item\n\t\t\t\t\t*ngFor=\"let page of getPages();\"\n\t\t\t\t\t[page]=\"page\"\n\t\t\t\t\t(click)=\"currentPage = page\"\n\t\t\t\t\t[isActive]=\"currentPage == page\">\n\t\t\t\t</ibm-pagination-nav-item>\n\t\t\t\t<ibm-pagination-overflow\n\t\t\t\t\t*ngIf=\"backCuts\"\n\t\t\t\t\t[count]=\"backCuts\"\n\t\t\t\t\t[fromIndex]=\"totalNumbersArray.length - backCuts - 1\"\n\t\t\t\t\t(change)=\"handleOverflowSelection($event)\">\n\t\t\t\t</ibm-pagination-overflow>\n\t\t\t\t<ibm-pagination-nav-item\n\t\t\t\t\t*ngIf=\"totalDataLength > 1\"\n\t\t\t\t\t[page]=\"totalNumbersArray.length\"\n\t\t\t\t\t(click)=\"currentPage = totalNumbersArray.length\"\n\t\t\t\t\t[isActive]=\"currentPage == totalNumbersArray.length\">\n\t\t\t\t</ibm-pagination-nav-item>\n\t\t\t\t<li class=\"bx--pagination-nav__list-item\">\n\t\t\t\t\t<button\n\t\t\t\t\t\tclass=\"bx--btn bx--btn--ghost bx--pagination-nav-next\n\t\t\t\t\t\tbx--btn--icon-only bx--tooltip__trigger bx--tooltip--a11y bx--tooltip--bottom bx--tooltip--align-center\"\n\t\t\t\t\t\t[disabled]=\"rightArrowDisabled\"\n\t\t\t\t\t\t(click)=\"jumpToNext()\">\n\t\t\t\t\t\t<span class=\"bx--assistive-text\">{{nextItemText.subject | async}}</span>\n\t\t\t\t\t\t<svg\n\t\t\t\t\t\t\tibmIcon=\"caret--right\"\n\t\t\t\t\t\t\tsize=\"16\"\n\t\t\t\t\t\t\tstyle=\"display: inherit\"\n\t\t\t\t\t\t\tclass=\"bx--btn__icon\">\n\t\t\t\t\t\t</svg>\n\t\t\t\t\t</button>\n\t\t\t\t</li>\n\t\t\t</ul>\n\t\t</div>\n\t</div>\n\t`\n            }]\n    }], function () { return [{ type: ɵngcc1.I18n }, { type: ɵngcc2.ExperimentalService }]; }, { disabled: [{\n            type: Input\n        }], numOfItemsToShow: [{\n            type: Input\n        }], selectPage: [{\n            type: Output\n        }], translations: [{\n            type: Input\n        }], model: [{\n            type: Input\n        }] }); })();\n\n/**\n * Used to present a single navigation item in a pagination list\n *\n *  * ```html\n * <ibm-pagination-nav-item [page]=\"5\" [isActive]=\"false\" (click)=\"handleClick(value)\"></ibm-pagination-nav-item>\n * ```\n */\nclass PaginationNavItem {\n    constructor() {\n        /**\n         * The page for this component to dipslay\n         */\n        this.page = 0;\n        /**\n         * The state for this component to dipslay\n         */\n        this.isActive = false;\n        /**\n         * Emits click event\n         */\n        this.click = new EventEmitter();\n    }\n}\nPaginationNavItem.ɵfac = function PaginationNavItem_Factory(t) { return new (t || PaginationNavItem)(); };\nPaginationNavItem.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: PaginationNavItem, selectors: [[\"ibm-pagination-nav-item\"]], inputs: { page: \"page\", isActive: \"isActive\" }, outputs: { click: \"click\" }, decls: 5, vars: 5, consts: [[1, \"bx--pagination-nav__list-item\"], [\"type\", \"button\", 1, \"bx--pagination-nav__page\", 3, \"ngClass\", \"click\"], [1, \"bx--pagination-nav__accessibility-label\"]], template: function PaginationNavItem_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵelementStart(0, \"li\", 0)(1, \"button\", 1);\n        ɵngcc0.ɵɵlistener(\"click\", function PaginationNavItem_Template_button_click_1_listener() { return ctx.click.emit(ctx.page); });\n        ɵngcc0.ɵɵelementStart(2, \"span\", 2);\n        ɵngcc0.ɵɵtext(3);\n        ɵngcc0.ɵɵelementEnd();\n        ɵngcc0.ɵɵtext(4);\n        ɵngcc0.ɵɵelementEnd()();\n    } if (rf & 2) {\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction1(3, _c6, ctx.isActive));\n        ɵngcc0.ɵɵadvance(2);\n        ɵngcc0.ɵɵtextInterpolate1(\" \", ctx.page, \" \");\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵtextInterpolate1(\" \", ctx.page, \" \");\n    } }, dependencies: [ɵngcc3.NgClass], encapsulation: 2 });\n/** @nocollapse */\nPaginationNavItem.ctorParameters = () => [];\nPaginationNavItem.propDecorators = {\n    page: [{ type: Input }],\n    isActive: [{ type: Input }],\n    click: [{ type: Output }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(PaginationNavItem, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-pagination-nav-item\",\n                template: `\n\t\t<li class=\"bx--pagination-nav__list-item\">\n\t\t\t<button\n\t\t\t\ttype=\"button\"\n\t\t\t\tclass=\"bx--pagination-nav__page\"\n\t\t\t\t[ngClass]=\"{ 'bx--pagination-nav__page--active': isActive }\"\n\t\t\t\t(click)=\"click.emit(page)\">\n\t\t\t\t<span class=\"bx--pagination-nav__accessibility-label\">\n\t\t\t\t\t{{page}}\n\t\t\t\t</span>\n\t\t\t\t{{page}}\n\t\t\t</button>\n\t\t</li>\n\t`\n            }]\n    }], function () { return []; }, { page: [{\n            type: Input\n        }], isActive: [{\n            type: Input\n        }], click: [{\n            type: Output\n        }] }); })();\n\n/**\n * Used to present a selection of pages when there is an overflow\n * in the pagination list\n *\n * * ```html\n * <ibm-pagination-overflow [fromIndex]=\"5\" [count]=\"30\" (change)=\"handleChange(value)\"></ibm-pagination-overflow>\n * ```\n */\nclass PaginationOverflow {\n    constructor(i18n) {\n        this.i18n = i18n;\n        this.ariaLabel = this.i18n.get().PAGINATION.SELECT_ARIA;\n        /**\n         * Emits click event\n         */\n        this.change = new EventEmitter();\n    }\n    get countAsArray() {\n        return [...Array(this.count)];\n    }\n    handleChange(event) {\n        this.change.emit(+event.target.value);\n        event.target.value = \"\";\n    }\n}\nPaginationOverflow.ɵfac = function PaginationOverflow_Factory(t) { return new (t || PaginationOverflow)(ɵngcc0.ɵɵdirectiveInject(ɵngcc1.I18n)); };\nPaginationOverflow.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: PaginationOverflow, selectors: [[\"ibm-pagination-overflow\"]], inputs: { ariaLabel: \"ariaLabel\", fromIndex: \"fromIndex\", count: \"count\" }, outputs: { change: \"change\" }, decls: 2, vars: 2, consts: [[\"class\", \"bx--pagination-nav__list-item\", 4, \"ngIf\"], [3, \"page\", 4, \"ngIf\"], [1, \"bx--pagination-nav__list-item\"], [1, \"bx--pagination-nav__select\"], [1, \"bx--pagination-nav__page\", \"bx--pagination-nav__page--select\", 3, \"change\"], [\"value\", \"\", \"hidden\", \"\"], [4, \"ngFor\", \"ngForOf\"], [1, \"bx--pagination-nav__select-icon-wrapper\"], [\"ibmIcon\", \"overflow-menu--horizontal\", \"size\", \"16\", 1, \"bx--pagination-nav__select-icon\", 2, \"display\", \"inherit\"], [3, \"page\"]], template: function PaginationOverflow_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵtemplate(0, PaginationOverflow_li_0_Template, 7, 2, \"li\", 0);\n        ɵngcc0.ɵɵtemplate(1, PaginationOverflow_ibm_pagination_nav_item_1_Template, 1, 1, \"ibm-pagination-nav-item\", 1);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.count > 1);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.count === 1);\n    } }, dependencies: [ɵngcc3.NgForOf, ɵngcc3.NgIf, ɵngcc4.NgSelectOption, ɵngcc4.ɵNgSelectMultipleOption, ɵngcc5.IconDirective, PaginationNavItem], encapsulation: 2 });\n/** @nocollapse */\nPaginationOverflow.ctorParameters = () => [\n    { type: I18n }\n];\nPaginationOverflow.propDecorators = {\n    fromIndex: [{ type: Input }],\n    count: [{ type: Input }],\n    ariaLabel: [{ type: Input }],\n    change: [{ type: Output }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(PaginationOverflow, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-pagination-overflow\",\n                template: `\n\t\t<li class=\"bx--pagination-nav__list-item\" *ngIf=\"count > 1\">\n\t\t\t<div class=\"bx--pagination-nav__select\">\n\t\t\t<select\n\t\t\t\t[attr.aria-label]=\"ariaLabel\"\n\t\t\t\tclass=\"bx--pagination-nav__page bx--pagination-nav__page--select\"\n\t\t\t\t(change)=\"handleChange($event)\">\n\t\t\t\t<option value=\"\" hidden></option>\n\t\t\t\t<option\n\t\t\t\t*ngFor=\"let item of countAsArray; let i = index\">\n\t\t\t\t\t{{fromIndex + i + 1}}\n\t\t\t\t</option>\n\t\t\t</select>\n\t\t\t<div class=\"bx--pagination-nav__select-icon-wrapper\">\n\t\t\t\t<svg\n\t\t\t\t\tibmIcon=\"overflow-menu--horizontal\"\n\t\t\t\t\tsize=\"16\"\n\t\t\t\t\tstyle=\"display: inherit\"\n\t\t\t\t\tclass=\"bx--pagination-nav__select-icon\">\n\t\t\t\t</svg>\n\t\t\t</div>\n\t\t\t</div>\n\t\t</li>\n\t\t<ibm-pagination-nav-item *ngIf=\"count === 1\" [page]=\"fromIndex + 1\"></ibm-pagination-nav-item>\n\t`\n            }]\n    }], function () { return [{ type: ɵngcc1.I18n }]; }, { ariaLabel: [{\n            type: Input\n        }], change: [{\n            type: Output\n        }], fromIndex: [{\n            type: Input\n        }], count: [{\n            type: Input\n        }] }); })();\n\nclass PaginationModule {\n}\nPaginationModule.ɵfac = function PaginationModule_Factory(t) { return new (t || PaginationModule)(); };\nPaginationModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: PaginationModule });\nPaginationModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({ imports: [CommonModule,\n        FormsModule,\n        I18nModule,\n        ExperimentalModule,\n        IconModule,\n        ButtonModule] });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(PaginationModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    Pagination,\n                    PaginationNav,\n                    PaginationNavItem,\n                    PaginationOverflow\n                ],\n                exports: [\n                    Pagination,\n                    PaginationNav,\n                    PaginationNavItem,\n                    PaginationOverflow\n                ],\n                imports: [\n                    CommonModule,\n                    FormsModule,\n                    I18nModule,\n                    ExperimentalModule,\n                    IconModule,\n                    ButtonModule\n                ]\n            }]\n    }], null, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(PaginationModule, { declarations: function () { return [Pagination, PaginationNav, PaginationNavItem, PaginationOverflow]; }, imports: function () { return [CommonModule,\n        FormsModule,\n        I18nModule,\n        ExperimentalModule,\n        IconModule,\n        ButtonModule]; }, exports: function () { return [Pagination, PaginationNav, PaginationNavItem, PaginationOverflow]; } }); })();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { PaginationModel, Pagination, PaginationModule, PaginationNav, PaginationNavItem, PaginationOverflow };\n\n","/**\n *\n * carbon-angular v0.0.0 | carbon-components-angular-placeholder.js\n *\n * Copyright 2014, 2023 IBM\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\nimport { Injectable, Component, ViewContainerRef, ViewChild, Input, NgModule, SkipSelf, Optional } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\n/**\n * Singleton service used to register the container for out-of-flow components to insert into.\n * Also used to insert/remove components from that view.\n */\nimport * as ɵngcc0 from '@angular/core';\n\nconst _c0 = [\"placeholder\"];\nclass PlaceholderService {\n    constructor() {\n        /**\n         * Main `ViewContainerRef` to insert components into\n         */\n        this.viewContainerRef = null;\n        /**\n         * Map of id's to secondary `ViewContainerRef`s\n         */\n        this.viewContainerMap = new Map();\n    }\n    /**\n     * Used by `Placeholder` to register view-container reference.\n     */\n    registerViewContainerRef(vcRef, id) {\n        if (id) {\n            this.viewContainerMap.set(id, vcRef);\n        }\n        else {\n            this.viewContainerRef = vcRef;\n        }\n    }\n    /**\n     * Creates and returns component in the view.\n     */\n    createComponent(componentFactory, injector, id) {\n        if (id) {\n            if (!this.viewContainerMap.has(id)) {\n                console.error(`No view container with id ${id} found`);\n                return;\n            }\n            return this.viewContainerMap.get(id).createComponent(componentFactory, this.viewContainerMap.size, injector);\n        }\n        if (!this.viewContainerRef) {\n            console.error(\"No view container defined! Likely due to a missing `ibm-placeholder`\");\n            return;\n        }\n        return this.viewContainerRef.createComponent(componentFactory, this.viewContainerRef.length, injector);\n    }\n    destroyComponent(component) {\n        component.destroy();\n    }\n    hasComponentRef(component, id) {\n        if (id) {\n            return !(this.viewContainerMap.get(id).indexOf(component.hostView) < 0);\n        }\n        return !(this.viewContainerRef.indexOf(component.hostView) < 0);\n    }\n    hasPlaceholderRef(id) {\n        if (id) {\n            return this.viewContainerMap.has(id);\n        }\n        return !!this.viewContainerRef;\n    }\n    appendElement(element, id) {\n        if (id) {\n            return this.viewContainerMap.get(id).element.nativeElement.appendChild(element);\n        }\n        return this.viewContainerRef.element.nativeElement.appendChild(element);\n    }\n    removeElement(element, id) {\n        if (id) {\n            return this.viewContainerMap.get(id).element.nativeElement.removeChild(element);\n        }\n        return this.viewContainerRef.element.nativeElement.removeChild(element);\n    }\n    hasElement(element, id) {\n        if (id) {\n            return this.viewContainerMap.get(id).element.nativeElement.contains(element);\n        }\n        return this.viewContainerRef.element.nativeElement.contains(element);\n    }\n}\nPlaceholderService.ɵfac = function PlaceholderService_Factory(t) { return new (t || PlaceholderService)(); };\nPlaceholderService.ɵprov = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjectable({ token: PlaceholderService, factory: PlaceholderService.ɵfac });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(PlaceholderService, [{\n        type: Injectable\n    }], function () { return []; }, null); })();\n\n/**\n * Using a modal, dialog (Tooltip, OverflowMenu), or any other component that draws out of the normal page flow\n * in your application *requires* this component (`ibm-placeholder`).\n * It would generally be placed near the end of your root app component template\n * (app.component.ts or app.component.html) as:\n *\n * ```\n * <ibm-placeholder></ibm-placeholder>\n * ```\n */\nclass Placeholder {\n    /**\n     * Creates an instance of `Placeholder`.\n     */\n    constructor(placeholderService) {\n        this.placeholderService = placeholderService;\n    }\n    /**\n     * Registers the components view with `PlaceholderService`\n     */\n    ngOnInit() {\n        // TODO use `id` to register with the placeholderService\n        this.placeholderService.registerViewContainerRef(this.viewContainerRef);\n    }\n}\nPlaceholder.ɵfac = function Placeholder_Factory(t) { return new (t || Placeholder)(ɵngcc0.ɵɵdirectiveInject(PlaceholderService)); };\nPlaceholder.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: Placeholder, selectors: [[\"ibm-placeholder\"]], viewQuery: function Placeholder_Query(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵviewQuery(_c0, 7, ViewContainerRef);\n    } if (rf & 2) {\n        let _t;\n        ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.viewContainerRef = _t.first);\n    } }, inputs: { id: \"id\" }, decls: 2, vars: 0, consts: [[\"placeholder\", \"\"]], template: function Placeholder_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵelement(0, \"div\", null, 0);\n    } }, encapsulation: 2 });\n/** @nocollapse */\nPlaceholder.ctorParameters = () => [\n    { type: PlaceholderService }\n];\nPlaceholder.propDecorators = {\n    id: [{ type: Input }],\n    viewContainerRef: [{ type: ViewChild, args: [\"placeholder\", { read: ViewContainerRef, static: true },] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(Placeholder, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-placeholder\",\n                template: `<div #placeholder></div>`\n            }]\n    }], function () { return [{ type: PlaceholderService }]; }, { id: [{\n            type: Input\n        }], viewContainerRef: [{\n            type: ViewChild,\n            args: [\"placeholder\", { read: ViewContainerRef, static: true }]\n        }] }); })();\n\n// modules\n// either provides a new instance of PlaceholderService, or returns the parent\nfunction PLACEHOLDER_SERVICE_PROVIDER_FACTORY(parentService) {\n    return parentService || new PlaceholderService();\n}\n// placeholder service *must* be a singleton to ensure the placeholder viewRef is accessible globally\nconst PLACEHOLDER_SERVICE_PROVIDER = {\n    provide: PlaceholderService,\n    deps: [[new Optional(), new SkipSelf(), PlaceholderService]],\n    useFactory: PLACEHOLDER_SERVICE_PROVIDER_FACTORY\n};\nclass PlaceholderModule {\n}\nPlaceholderModule.ɵfac = function PlaceholderModule_Factory(t) { return new (t || PlaceholderModule)(); };\nPlaceholderModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: PlaceholderModule });\nPlaceholderModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({ providers: [PLACEHOLDER_SERVICE_PROVIDER], imports: [CommonModule] });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(PlaceholderModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [Placeholder],\n                exports: [Placeholder],\n                providers: [PLACEHOLDER_SERVICE_PROVIDER],\n                imports: [CommonModule]\n            }]\n    }], null, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(PlaceholderModule, { declarations: function () { return [Placeholder]; }, imports: function () { return [CommonModule]; }, exports: function () { return [Placeholder]; } }); })();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { Placeholder, PLACEHOLDER_SERVICE_PROVIDER_FACTORY, PLACEHOLDER_SERVICE_PROVIDER, PlaceholderModule, PlaceholderService };\n\n","/**\n *\n * carbon-angular v0.0.0 | carbon-components-angular-progress-bar.js\n *\n * Copyright 2014, 2023 IBM\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\nimport { Component, HostBinding, Input, TemplateRef, NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { IconModule } from 'carbon-components-angular/icon';\n\nimport * as ɵngcc0 from '@angular/core';\nimport * as ɵngcc1 from '@angular/common';\nimport * as ɵngcc2 from 'carbon-components-angular/icon';\n\nfunction ProgressBar_div_0_ng_container_2_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainerStart(0);\n    ɵngcc0.ɵɵtext(1);\n    ɵngcc0.ɵɵelementContainerEnd();\n} if (rf & 2) {\n    const ctx_r2 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate(ctx_r2.label);\n} }\nfunction ProgressBar_div_0_3_ng_template_0_Template(rf, ctx) { }\nfunction ProgressBar_div_0_3_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵtemplate(0, ProgressBar_div_0_3_ng_template_0_Template, 0, 0, \"ng-template\", 9);\n} if (rf & 2) {\n    const ctx_r3 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r3.label);\n} }\nfunction ProgressBar_div_0__svg_svg_4_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵelement(0, \"svg\", 10);\n} }\nfunction ProgressBar_div_0__svg_svg_5_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵelement(0, \"svg\", 11);\n} }\nfunction ProgressBar_div_0_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"div\", 4)(1, \"span\", 5);\n    ɵngcc0.ɵɵtemplate(2, ProgressBar_div_0_ng_container_2_Template, 2, 1, \"ng-container\", 6);\n    ɵngcc0.ɵɵtemplate(3, ProgressBar_div_0_3_Template, 1, 1, null, 6);\n    ɵngcc0.ɵɵelementEnd();\n    ɵngcc0.ɵɵtemplate(4, ProgressBar_div_0__svg_svg_4_Template, 1, 0, \"svg\", 7);\n    ɵngcc0.ɵɵtemplate(5, ProgressBar_div_0__svg_svg_5_Template, 1, 0, \"svg\", 8);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r0 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵproperty(\"id\", ctx_r0.id);\n    ɵngcc0.ɵɵadvance(2);\n    ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r0.isTemplate(ctx_r0.label));\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r0.isTemplate(ctx_r0.label));\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r0.isFinished);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r0.isError);\n} }\nfunction ProgressBar_div_3_ng_container_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainerStart(0);\n    ɵngcc0.ɵɵtext(1);\n    ɵngcc0.ɵɵelementContainerEnd();\n} if (rf & 2) {\n    const ctx_r7 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate(ctx_r7.helperText);\n} }\nfunction ProgressBar_div_3_2_ng_template_0_Template(rf, ctx) { }\nfunction ProgressBar_div_3_2_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵtemplate(0, ProgressBar_div_3_2_ng_template_0_Template, 0, 0, \"ng-template\", 9);\n} if (rf & 2) {\n    const ctx_r8 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r8.helperText);\n} }\nfunction ProgressBar_div_3_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"div\", 12);\n    ɵngcc0.ɵɵtemplate(1, ProgressBar_div_3_ng_container_1_Template, 2, 1, \"ng-container\", 6);\n    ɵngcc0.ɵɵtemplate(2, ProgressBar_div_3_2_Template, 1, 1, null, 6);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r1 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵproperty(\"id\", ctx_r1.helperId);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r1.isTemplate(ctx_r1.helperText));\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r1.isTemplate(ctx_r1.helperText));\n} }\nconst _c0 = function (a0) { return { \"transform\": a0 }; };\nclass ProgressBar {\n    constructor() {\n        this.id = `progress-bar-${ProgressBar.progressBarCounter++}`;\n        this.helperId = `progress-bar-helper-${ProgressBar.progressBarCounter}`;\n        /**\n         * Maximum value\n         */\n        this.max = 100;\n        /**\n         * Alignment variant of the progress bar, default is `default`\n         */\n        this.type = \"default\";\n        /**\n         * Current status of the progress bar, default is `active`\n         */\n        this.status = \"active\";\n        /**\n         * Size of the progress bar, default is `big`\n         */\n        this.size = \"big\";\n        this.defaultClass = true;\n        this._value = undefined;\n    }\n    /**\n     * Current value\n     */\n    set value(num) {\n        this._value = num;\n        // Validate number\n        if (num > this.max) {\n            this._value = this.max;\n        }\n        if (num < 0) {\n            this._value = 0;\n        }\n        // Set values based on current state\n        if (this.isError) {\n            this._value = 0;\n        }\n        else if (this.isFinished) {\n            this._value = this.max;\n        }\n    }\n    get value() {\n        return this._value;\n    }\n    get percentage() {\n        return `scaleX(${this.value / this.max})`;\n    }\n    // Size\n    get bigBar() {\n        return this.size === \"big\";\n    }\n    get smallBar() {\n        return this.size === \"small\";\n    }\n    // Type\n    get defaultType() {\n        return this.type === \"default\";\n    }\n    get indentedType() {\n        return this.type === \"indented\";\n    }\n    get inlineType() {\n        return this.type === \"inline\";\n    }\n    // Status\n    get isFinished() {\n        return this.status === \"finished\";\n    }\n    get isError() {\n        return this.status === \"error\";\n    }\n    get indeterminate() {\n        return this.value === undefined && !this.isFinished && !this.isError;\n    }\n    isTemplate(value) {\n        return value instanceof TemplateRef;\n    }\n}\nProgressBar.ɵfac = function ProgressBar_Factory(t) { return new (t || ProgressBar)(); };\nProgressBar.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: ProgressBar, selectors: [[\"ibm-progress-bar\"]], hostVars: 18, hostBindings: function ProgressBar_HostBindings(rf, ctx) { if (rf & 2) {\n        ɵngcc0.ɵɵclassProp(\"bx--progress-bar\", ctx.defaultClass)(\"bx--progress-bar--big\", ctx.bigBar)(\"bx--progress-bar--small\", ctx.smallBar)(\"bx--progress-bar--default\", ctx.defaultType)(\"bx--progress-bar--indented\", ctx.indentedType)(\"bx--progress-bar--inline\", ctx.inlineType)(\"bx--progress-bar--finished\", ctx.isFinished)(\"bx--progress-bar--error\", ctx.isError)(\"bx--progress-bar--indeterminate\", ctx.indeterminate);\n    } }, inputs: { id: \"id\", max: \"max\", type: \"type\", status: \"status\", size: \"size\", value: \"value\", label: \"label\", helperText: \"helperText\" }, decls: 4, vars: 11, consts: [[\"class\", \"bx--progress-bar__label\", 3, \"id\", 4, \"ngIf\"], [\"role\", \"progressbar\", 1, \"bx--progress-bar__track\"], [1, \"bx--progress-bar__bar\", 3, \"ngStyle\"], [\"class\", \"bx--progress-bar__helper-text\", 3, \"id\", 4, \"ngIf\"], [1, \"bx--progress-bar__label\", 3, \"id\"], [1, \"bx--progress-bar__label-text\"], [4, \"ngIf\"], [\"fill\", \"currentColor\", \"ibmIcon\", \"checkmark--filled\", \"class\", \"bx--progress-bar__status-icon\", 4, \"ngIf\"], [\"fill\", \"currentColor\", \"ibmIcon\", \"error--filled\", \"class\", \"bx--progress-bar__status-icon\", 4, \"ngIf\"], [3, \"ngTemplateOutlet\"], [\"fill\", \"currentColor\", \"ibmIcon\", \"checkmark--filled\", 1, \"bx--progress-bar__status-icon\"], [\"fill\", \"currentColor\", \"ibmIcon\", \"error--filled\", 1, \"bx--progress-bar__status-icon\"], [1, \"bx--progress-bar__helper-text\", 3, \"id\"]], template: function ProgressBar_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵtemplate(0, ProgressBar_div_0_Template, 6, 5, \"div\", 0);\n        ɵngcc0.ɵɵelementStart(1, \"div\", 1);\n        ɵngcc0.ɵɵelement(2, \"div\", 2);\n        ɵngcc0.ɵɵelementEnd();\n        ɵngcc0.ɵɵtemplate(3, ProgressBar_div_3_Template, 3, 3, \"div\", 3);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.label);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵattribute(\"aria-invalid\", ctx.isError)(\"labelledby\", ctx.id)(\"describedby\", ctx.helperText ? ctx.helperId : null)(\"aria-valuemin\", !ctx.indeterminate ? 0 : null)(\"aria-valuemax\", !ctx.indeterminate ? ctx.max : null)(\"aria-valuenow\", !ctx.indeterminate ? ctx.value : null);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngStyle\", ɵngcc0.ɵɵpureFunction1(9, _c0, !ctx.isFinished && !ctx.isError ? ctx.percentage : null));\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.helperText);\n    } }, dependencies: [ɵngcc1.NgIf, ɵngcc1.NgTemplateOutlet, ɵngcc1.NgStyle, ɵngcc2.IconDirective], encapsulation: 2 });\nProgressBar.progressBarCounter = 0;\nProgressBar.propDecorators = {\n    value: [{ type: Input }],\n    bigBar: [{ type: HostBinding, args: [\"class.bx--progress-bar--big\",] }],\n    smallBar: [{ type: HostBinding, args: [\"class.bx--progress-bar--small\",] }],\n    defaultType: [{ type: HostBinding, args: [\"class.bx--progress-bar--default\",] }],\n    indentedType: [{ type: HostBinding, args: [\"class.bx--progress-bar--indented\",] }],\n    inlineType: [{ type: HostBinding, args: [\"class.bx--progress-bar--inline\",] }],\n    isFinished: [{ type: HostBinding, args: [\"class.bx--progress-bar--finished\",] }],\n    isError: [{ type: HostBinding, args: [\"class.bx--progress-bar--error\",] }],\n    indeterminate: [{ type: HostBinding, args: [\"class.bx--progress-bar--indeterminate\",] }],\n    id: [{ type: Input }],\n    label: [{ type: Input }],\n    helperText: [{ type: Input }],\n    max: [{ type: Input }],\n    type: [{ type: Input }],\n    status: [{ type: Input }],\n    size: [{ type: Input }],\n    defaultClass: [{ type: HostBinding, args: [\"class.bx--progress-bar\",] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ProgressBar, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-progress-bar\",\n                template: `\n\t\t<div\n\t\t\t*ngIf=\"label\"\n\t\t\tclass=\"bx--progress-bar__label\"\n\t\t\t[id]=\"id\">\n\t\t\t<span class=\"bx--progress-bar__label-text\">\n\t\t\t\t<ng-container *ngIf=\"!isTemplate(label)\">{{label}}</ng-container>\n\t\t\t\t<ng-template *ngIf=\"isTemplate(label)\" [ngTemplateOutlet]=\"label\"></ng-template>\n\t\t\t</span>\n\t\t\t<svg\n\t\t\t\t*ngIf=\"isFinished\"\n\t\t\t\tfill=\"currentColor\"\n\t\t\t\tibmIcon=\"checkmark--filled\"\n\t\t\t\tclass=\"bx--progress-bar__status-icon\">\n\t\t\t</svg>\n\t\t\t<svg\n\t\t\t\t*ngIf=\"isError\"\n\t\t\t\tfill=\"currentColor\"\n\t\t\t\tibmIcon=\"error--filled\"\n\t\t\t\tclass=\"bx--progress-bar__status-icon\">\n\t\t\t</svg>\n\t\t</div>\n\t\t<div\n\t\t\tclass=\"bx--progress-bar__track\"\n\t\t\trole=\"progressbar\"\n\t\t\t[attr.aria-invalid]=\"isError\"\n\t\t\t[attr.labelledby]=\"id\"\n\t\t\t[attr.describedby]=\"helperText ? helperId: null\"\n\t\t\t[attr.aria-valuemin]=\"!indeterminate ? 0 : null\"\n\t\t\t[attr.aria-valuemax]=\"!indeterminate ? max : null\"\n\t\t\t[attr.aria-valuenow]=\"!indeterminate ? value : null\">\n\t\t\t<div\n\t\t\t\tclass=\"bx--progress-bar__bar\"\n\t\t\t\t[ngStyle]=\"{\n\t\t\t\t\t'transform': !isFinished && !isError ? percentage : null\n\t\t\t\t}\">\n\t\t\t</div>\n\t\t</div>\n\t\t<div\n\t\t\t[id]=\"helperId\"\n\t\t\t*ngIf=\"helperText\"\n\t\t\tclass=\"bx--progress-bar__helper-text\">\n\t\t\t<ng-container *ngIf=\"!isTemplate(helperText)\">{{helperText}}</ng-container>\n\t\t\t<ng-template *ngIf=\"isTemplate(helperText)\" [ngTemplateOutlet]=\"helperText\"></ng-template>\n\t\t</div>\n\t`\n            }]\n    }], function () { return []; }, { id: [{\n            type: Input\n        }], max: [{\n            type: Input\n        }], type: [{\n            type: Input\n        }], status: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }], defaultClass: [{\n            type: HostBinding,\n            args: [\"class.bx--progress-bar\"]\n        }], value: [{\n            type: Input\n        }], bigBar: [{\n            type: HostBinding,\n            args: [\"class.bx--progress-bar--big\"]\n        }], smallBar: [{\n            type: HostBinding,\n            args: [\"class.bx--progress-bar--small\"]\n        }], defaultType: [{\n            type: HostBinding,\n            args: [\"class.bx--progress-bar--default\"]\n        }], indentedType: [{\n            type: HostBinding,\n            args: [\"class.bx--progress-bar--indented\"]\n        }], inlineType: [{\n            type: HostBinding,\n            args: [\"class.bx--progress-bar--inline\"]\n        }], isFinished: [{\n            type: HostBinding,\n            args: [\"class.bx--progress-bar--finished\"]\n        }], isError: [{\n            type: HostBinding,\n            args: [\"class.bx--progress-bar--error\"]\n        }], indeterminate: [{\n            type: HostBinding,\n            args: [\"class.bx--progress-bar--indeterminate\"]\n        }], label: [{\n            type: Input\n        }], helperText: [{\n            type: Input\n        }] }); })();\n\nclass ProgressBarModule {\n}\nProgressBarModule.ɵfac = function ProgressBarModule_Factory(t) { return new (t || ProgressBarModule)(); };\nProgressBarModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: ProgressBarModule });\nProgressBarModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({ imports: [CommonModule,\n        IconModule] });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ProgressBarModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    ProgressBar\n                ],\n                exports: [\n                    ProgressBar\n                ],\n                imports: [\n                    CommonModule,\n                    IconModule\n                ]\n            }]\n    }], null, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(ProgressBarModule, { declarations: function () { return [ProgressBar]; }, imports: function () { return [CommonModule,\n        IconModule]; }, exports: function () { return [ProgressBar]; } }); })();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { ProgressBar, ProgressBarModule };\n\n","/**\n *\n * carbon-angular v0.0.0 | carbon-components-angular-progress-indicator.js\n *\n * Copyright 2014, 2023 IBM\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\nimport { Component, Input, Output, EventEmitter, NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { DialogModule } from 'carbon-components-angular/dialog';\nimport { IconModule } from 'carbon-components-angular/icon';\n\n/**\n * [See demo](../../?path=/story/components-progress-indicator--basic)\n *\n * <example-url>../../iframe.html?id=components-progress-indicator--basic</example-url>\n */\nimport * as ɵngcc0 from '@angular/core';\nimport * as ɵngcc1 from '@angular/common';\nimport * as ɵngcc2 from 'carbon-components-angular/dialog';\nimport * as ɵngcc3 from 'carbon-components-angular/icon';\n\nfunction ProgressIndicator_li_1_ng_container_2__svg_svg_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵelement(0, \"svg\", 12);\n} }\nfunction ProgressIndicator_li_1_ng_container_2__svg_svg_2_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵelement(0, \"svg\", 13);\n} }\nfunction ProgressIndicator_li_1_ng_container_2__svg_svg_3_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵelement(0, \"svg\", 14);\n} }\nfunction ProgressIndicator_li_1_ng_container_2_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainerStart(0);\n    ɵngcc0.ɵɵtemplate(1, ProgressIndicator_li_1_ng_container_2__svg_svg_1_Template, 1, 0, \"svg\", 9);\n    ɵngcc0.ɵɵtemplate(2, ProgressIndicator_li_1_ng_container_2__svg_svg_2_Template, 1, 0, \"svg\", 10);\n    ɵngcc0.ɵɵtemplate(3, ProgressIndicator_li_1_ng_container_2__svg_svg_3_Template, 1, 0, \"svg\", 11);\n    ɵngcc0.ɵɵelementContainerEnd();\n} if (rf & 2) {\n    const step_r1 = ɵngcc0.ɵɵnextContext().$implicit;\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", step_r1.state.includes(\"complete\"));\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", step_r1.state.includes(\"current\"));\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", step_r1.state.includes(\"incomplete\"));\n} }\nfunction ProgressIndicator_li_1__svg_svg_3_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵelement(0, \"svg\", 15);\n} }\nfunction ProgressIndicator_li_1_p_4_Template(rf, ctx) { if (rf & 1) {\n    const _r13 = ɵngcc0.ɵɵgetCurrentView();\n    ɵngcc0.ɵɵelementStart(0, \"p\", 16);\n    ɵngcc0.ɵɵlistener(\"click\", function ProgressIndicator_li_1_p_4_Template_p_click_0_listener() { ɵngcc0.ɵɵrestoreView(_r13); const ctx_r12 = ɵngcc0.ɵɵnextContext(); const step_r1 = ctx_r12.$implicit; const i_r2 = ctx_r12.index; const ctx_r11 = ɵngcc0.ɵɵnextContext(); return ɵngcc0.ɵɵresetView(ctx_r11.stepSelected.emit({ step: step_r1, index: i_r2 })); });\n    ɵngcc0.ɵɵtext(1);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const step_r1 = ɵngcc0.ɵɵnextContext().$implicit;\n    ɵngcc0.ɵɵproperty(\"ibmTooltip\", step_r1.tooltip.content)(\"trigger\", step_r1.tooltip.trigger)(\"placement\", step_r1.tooltip.placement)(\"title\", step_r1.tooltip.title)(\"gap\", step_r1.tooltip.gap)(\"appendInline\", step_r1.tooltip.appendInline)(\"data\", step_r1.tooltip.data);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate1(\" \", step_r1.text, \" \");\n} }\nfunction ProgressIndicator_li_1_div_5_p_1_Template(rf, ctx) { if (rf & 1) {\n    const _r19 = ɵngcc0.ɵɵgetCurrentView();\n    ɵngcc0.ɵɵelementStart(0, \"p\", 20);\n    ɵngcc0.ɵɵlistener(\"click\", function ProgressIndicator_li_1_div_5_p_1_Template_p_click_0_listener() { ɵngcc0.ɵɵrestoreView(_r19); const ctx_r18 = ɵngcc0.ɵɵnextContext(2); const step_r1 = ctx_r18.$implicit; const i_r2 = ctx_r18.index; const ctx_r17 = ɵngcc0.ɵɵnextContext(); return ɵngcc0.ɵɵresetView(ctx_r17.stepSelected.emit({ step: step_r1, index: i_r2 })); });\n    ɵngcc0.ɵɵtext(1);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const step_r1 = ɵngcc0.ɵɵnextContext(2).$implicit;\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate(step_r1.text);\n} }\nfunction ProgressIndicator_li_1_div_5_p_2_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"p\", 21);\n    ɵngcc0.ɵɵtext(1);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const step_r1 = ɵngcc0.ɵɵnextContext(2).$implicit;\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate(step_r1.optionalText);\n} }\nfunction ProgressIndicator_li_1_div_5_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"div\", 17);\n    ɵngcc0.ɵɵtemplate(1, ProgressIndicator_li_1_div_5_p_1_Template, 2, 1, \"p\", 18);\n    ɵngcc0.ɵɵtemplate(2, ProgressIndicator_li_1_div_5_p_2_Template, 2, 1, \"p\", 19);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const step_r1 = ɵngcc0.ɵɵnextContext().$implicit;\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", !step_r1.tooltip);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", step_r1.optionalText);\n} }\nconst _c0 = function (a0) { return { \"bx--progress-step--disabled\": a0 }; };\nfunction ProgressIndicator_li_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"li\", 2)(1, \"button\", 3);\n    ɵngcc0.ɵɵtemplate(2, ProgressIndicator_li_1_ng_container_2_Template, 4, 3, \"ng-container\", 4);\n    ɵngcc0.ɵɵtemplate(3, ProgressIndicator_li_1__svg_svg_3_Template, 1, 0, \"svg\", 5);\n    ɵngcc0.ɵɵtemplate(4, ProgressIndicator_li_1_p_4_Template, 2, 8, \"p\", 6);\n    ɵngcc0.ɵɵtemplate(5, ProgressIndicator_li_1_div_5_Template, 3, 2, \"div\", 7);\n    ɵngcc0.ɵɵelement(6, \"span\", 8);\n    ɵngcc0.ɵɵelementEnd()();\n} if (rf & 2) {\n    const step_r1 = ctx.$implicit;\n    ɵngcc0.ɵɵclassMapInterpolate1(\"bx--progress-step bx--progress-step--\", step_r1.state[0], \"\");\n    ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction1(8, _c0, step_r1.disabled));\n    ɵngcc0.ɵɵadvance(2);\n    ɵngcc0.ɵɵproperty(\"ngIf\", !step_r1.state.includes(\"error\"));\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", step_r1.state.includes(\"error\"));\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", step_r1.tooltip);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", !step_r1.tooltip || step_r1.optionalText);\n} }\nconst _c1 = function (a0, a1, a2) { return { \"bx--skeleton\": a0, \"bx--progress--vertical\": a1, \"bx--progress--space-equal\": a2 }; };\nclass ProgressIndicator {\n    constructor() {\n        this.stepSelected = new EventEmitter();\n        this.orientation = \"horizontal\";\n        this.skeleton = false;\n        this.spacing = \"default\";\n    }\n    static skeletonSteps(stepCount) {\n        const steps = [];\n        for (let i = 0; i < stepCount; i++) {\n            steps.push({ \"state\": [\"incomplete\"] });\n        }\n        return steps;\n    }\n    get current() {\n        return this.steps.findIndex(step => step.state.includes(\"current\"));\n    }\n    set current(current) {\n        this._current = current;\n    }\n    ngOnChanges(changes) {\n        if (changes.steps || changes.current) {\n            this.setProgressIndicatorStates();\n        }\n    }\n    setProgressIndicatorStates() {\n        if (this.steps === undefined) {\n            return;\n        }\n        if (this._current === undefined || this._current < 0) {\n            for (let i = 0; i < this.steps.length; i++) {\n                this.steps[i].state[0] = \"incomplete\";\n            }\n            return;\n        }\n        if (this._current > this.steps.length - 1) {\n            for (let i = 0; i < this.steps.length; i++) {\n                this.steps[i].state[0] = \"complete\";\n            }\n            return;\n        }\n        this.steps[this._current].state[0] = \"current\";\n        for (let i = 0; i < this._current; i++) {\n            this.steps[i].state[0] = \"complete\";\n        }\n        for (let i = this._current + 1; i < this.steps.length; i++) {\n            this.steps[i].state[0] = \"incomplete\";\n        }\n    }\n}\nProgressIndicator.ɵfac = function ProgressIndicator_Factory(t) { return new (t || ProgressIndicator)(); };\nProgressIndicator.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: ProgressIndicator, selectors: [[\"ibm-progress-indicator\"]], inputs: { orientation: \"orientation\", skeleton: \"skeleton\", spacing: \"spacing\", current: \"current\", steps: \"steps\" }, outputs: { stepSelected: \"stepSelected\" }, features: [ɵngcc0.ɵɵNgOnChangesFeature], decls: 2, vars: 6, consts: [[\"data-progress\", \"\", \"data-progress-current\", \"\", 1, \"bx--progress\", 3, \"ngClass\"], [3, \"class\", \"ngClass\", 4, \"ngFor\", \"ngForOf\"], [3, \"ngClass\"], [\"role\", \"button\", \"tabindex\", \"-1\", 1, \"bx--progress-step-button\", \"bx--progress-step-button--unclickable\"], [4, \"ngIf\"], [\"ibmIcon\", \"warning\", \"size\", \"16\", \"class\", \"bx--progress__warning\", 4, \"ngIf\"], [\"class\", \"bx--progress-label\", 3, \"ibmTooltip\", \"trigger\", \"placement\", \"title\", \"gap\", \"appendInline\", \"data\", \"click\", 4, \"ngIf\"], [\"class\", \"bx--progress-text\", 4, \"ngIf\"], [1, \"bx--progress-line\"], [\"ibmIcon\", \"checkmark--outline\", \"size\", \"16\", 4, \"ngIf\"], [\"ibmIcon\", \"incomplete\", \"size\", \"16\", 4, \"ngIf\"], [\"ibmIcon\", \"circle-dash\", \"size\", \"16\", 4, \"ngIf\"], [\"ibmIcon\", \"checkmark--outline\", \"size\", \"16\"], [\"ibmIcon\", \"incomplete\", \"size\", \"16\"], [\"ibmIcon\", \"circle-dash\", \"size\", \"16\"], [\"ibmIcon\", \"warning\", \"size\", \"16\", 1, \"bx--progress__warning\"], [1, \"bx--progress-label\", 3, \"ibmTooltip\", \"trigger\", \"placement\", \"title\", \"gap\", \"appendInline\", \"data\", \"click\"], [1, \"bx--progress-text\"], [\"class\", \"bx--progress-label\", 3, \"click\", 4, \"ngIf\"], [\"class\", \"bx--progress-optional\", 4, \"ngIf\"], [1, \"bx--progress-label\", 3, \"click\"], [1, \"bx--progress-optional\"]], template: function ProgressIndicator_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵelementStart(0, \"ul\", 0);\n        ɵngcc0.ɵɵtemplate(1, ProgressIndicator_li_1_Template, 7, 10, \"li\", 1);\n        ɵngcc0.ɵɵelementEnd();\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction3(2, _c1, ctx.skeleton, ctx.orientation === \"vertical\", ctx.spacing === \"equal\" && ctx.orientation !== \"vertical\"));\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngForOf\", ctx.steps);\n    } }, dependencies: [ɵngcc1.NgClass, ɵngcc1.NgForOf, ɵngcc1.NgIf, ɵngcc2.TooltipDirective, ɵngcc3.IconDirective], encapsulation: 2 });\nProgressIndicator.propDecorators = {\n    stepSelected: [{ type: Output }],\n    steps: [{ type: Input }],\n    orientation: [{ type: Input }],\n    skeleton: [{ type: Input }],\n    spacing: [{ type: Input }],\n    current: [{ type: Input }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ProgressIndicator, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-progress-indicator\",\n                template: `\n\t<ul\n\t\tdata-progress\n\t\tdata-progress-current\n\t\tclass=\"bx--progress\"\n\t\t[ngClass]=\"{\n\t\t\t'bx--skeleton': skeleton,\n\t\t\t'bx--progress--vertical': (orientation === 'vertical'),\n\t\t\t'bx--progress--space-equal': spacing === 'equal' && orientation !== 'vertical'\n\t\t}\">\n\t\t<li\n\t\t\tclass=\"bx--progress-step bx--progress-step--{{step.state[0]}}\"\n\t\t\t*ngFor=\"let step of steps; let i = index\"\n\t\t\t[ngClass]=\"{'bx--progress-step--disabled' : step.disabled}\">\n\t\t\t<button class=\"bx--progress-step-button bx--progress-step-button--unclickable\" role=\"button\" tabindex=\"-1\">\n\t\t\t\t<ng-container *ngIf=\"!step.state.includes('error')\">\n\t\t\t\t\t<svg ibmIcon=\"checkmark--outline\" size=\"16\" *ngIf=\"step.state.includes('complete')\"></svg>\n\t\t\t\t\t<svg ibmIcon=\"incomplete\" size=\"16\" *ngIf=\"step.state.includes('current')\"></svg>\n\t\t\t\t\t<svg ibmIcon=\"circle-dash\" size=\"16\" *ngIf=\"step.state.includes('incomplete')\"></svg>\n\t\t\t\t</ng-container>\n\t\t\t\t<svg ibmIcon=\"warning\" size=\"16\" *ngIf=\"step.state.includes('error')\" class=\"bx--progress__warning\"></svg>\n\t\t\t\t<p\n\t\t\t\t\tclass=\"bx--progress-label\"\n\t\t\t\t\t*ngIf=\"step.tooltip\"\n\t\t\t\t\t[ibmTooltip]=\"step.tooltip.content\"\n\t\t\t\t\t[trigger]=\"step.tooltip.trigger\"\n\t\t\t\t\t[placement]=\"step.tooltip.placement\"\n\t\t\t\t\t[title]=\"step.tooltip.title\"\n\t\t\t\t\t[gap]=\"step.tooltip.gap\"\n\t\t\t\t\t[appendInline]=\"step.tooltip.appendInline\"\n\t\t\t\t\t[data]=\"step.tooltip.data\"\n\t\t\t\t\t(click)=\"stepSelected.emit({ step: step, index: i })\">\n\t\t\t\t\t{{step.text}}\n\t\t\t\t</p>\n\t\t\t\t<div class=\"bx--progress-text\" *ngIf=\"!step.tooltip || step.optionalText\">\n\t\t\t\t\t<p class=\"bx--progress-label\" *ngIf=\"!step.tooltip\" (click)=\"stepSelected.emit({ step: step, index: i })\">{{step.text}}</p>\n\t\t\t\t\t<p *ngIf=\"step.optionalText\" class=\"bx--progress-optional\">{{step.optionalText}}</p>\n\t\t\t\t</div>\n\t\t\t\t<span class=\"bx--progress-line\"></span>\n\t\t\t</button>\n\t\t</li>\n\t</ul>\n\t`\n            }]\n    }], function () { return []; }, { stepSelected: [{\n            type: Output\n        }], orientation: [{\n            type: Input\n        }], skeleton: [{\n            type: Input\n        }], spacing: [{\n            type: Input\n        }], current: [{\n            type: Input\n        }], steps: [{\n            type: Input\n        }] }); })();\n\nclass ProgressIndicatorModule {\n}\nProgressIndicatorModule.ɵfac = function ProgressIndicatorModule_Factory(t) { return new (t || ProgressIndicatorModule)(); };\nProgressIndicatorModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: ProgressIndicatorModule });\nProgressIndicatorModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({ imports: [CommonModule,\n        DialogModule,\n        IconModule] });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ProgressIndicatorModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    ProgressIndicator\n                ],\n                exports: [\n                    ProgressIndicator\n                ],\n                imports: [\n                    CommonModule,\n                    DialogModule,\n                    IconModule\n                ]\n            }]\n    }], null, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(ProgressIndicatorModule, { declarations: function () { return [ProgressIndicator]; }, imports: function () { return [CommonModule,\n        DialogModule,\n        IconModule]; }, exports: function () { return [ProgressIndicator]; } }); })();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { ProgressIndicator, ProgressIndicatorModule };\n\n","/**\n *\n * carbon-angular v0.0.0 | carbon-components-angular-radio.js\n *\n * Copyright 2014, 2023 IBM\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\nimport { Component, Input, HostBinding, Output, EventEmitter, ContentChildren, forwardRef, HostListener, NgModule } from '@angular/core';\nimport { NG_VALUE_ACCESSOR, FormsModule } from '@angular/forms';\nimport { CommonModule } from '@angular/common';\n\n/**\n * Used to emit changes performed on a `Radio`.\n */\nimport * as ɵngcc0 from '@angular/core';\nimport * as ɵngcc1 from '@angular/common';\n\nfunction Radio_input_0_Template(rf, ctx) { if (rf & 1) {\n    const _r3 = ɵngcc0.ɵɵgetCurrentView();\n    ɵngcc0.ɵɵelementStart(0, \"input\", 4);\n    ɵngcc0.ɵɵlistener(\"change\", function Radio_input_0_Template_input_change_0_listener($event) { ɵngcc0.ɵɵrestoreView(_r3); const ctx_r2 = ɵngcc0.ɵɵnextContext(); return ɵngcc0.ɵɵresetView(ctx_r2.onChange($event)); })(\"click\", function Radio_input_0_Template_input_click_0_listener($event) { ɵngcc0.ɵɵrestoreView(_r3); const ctx_r4 = ɵngcc0.ɵɵnextContext(); return ɵngcc0.ɵɵresetView(ctx_r4.onClick($event)); });\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r0 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵproperty(\"checked\", ctx_r0.checked)(\"disabled\", ctx_r0.disabled || ctx_r0.disabledFromGroup)(\"name\", ctx_r0.name)(\"id\", ctx_r0.id)(\"required\", ctx_r0.required)(\"value\", ctx_r0.value);\n    ɵngcc0.ɵɵattribute(\"aria-labelledby\", ctx_r0.ariaLabelledby);\n} }\nfunction Radio_div_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelement(0, \"div\", 5);\n} }\nconst _c0 = function (a0) { return { \"bx--skeleton\": a0 }; };\nconst _c1 = [\"*\"];\nconst _c2 = function (a0, a1) { return { \"bx--radio-button-group--vertical\": a0, \"bx--radio-button-group--label-left\": a1 }; };\nclass RadioChange {\n    constructor(source, value) {\n        this.source = source;\n        this.value = value;\n    }\n}\n\n/**\n * class: Radio (extends Checkbox)\n *\n * selector: `n-radio`\n *\n * source: `src/forms/radio.component.ts`\n *\n * ```html\n * <ibm-radio [(ngModel)]=\"radioState\">Radio</ibm-radio>\n * ```\n *\n * Also see: [`RadioGroup`](#ibm-radio-group)\n */\nclass Radio {\n    constructor() {\n        this.checked = false;\n        this.name = \"\";\n        this.disabled = false;\n        this.labelPlacement = \"right\";\n        /**\n         * Used to set the `aria-label` attribute on the input label.\n         */\n        this.ariaLabel = \"\";\n        /**\n         * Sets the HTML required attribute\n         */\n        this.required = false;\n        /**\n         * The value of the `Radio`.\n         */\n        this.value = \"\";\n        /**\n         * Set to `true` for a loading table.\n         */\n        this.skeleton = false;\n        /**\n         * The id for the `Radio`.\n         */\n        this.id = `radio-${Radio.radioCount++}`;\n        /**\n         * emits when the state of the radio changes\n         */\n        this.change = new EventEmitter();\n        this.hostClass = true;\n        /**\n         * Reflects whether or not the input is disabled at `RadioGroup` level.\n         */\n        this.disabledFromGroup = false;\n        this._labelledby = \"\";\n        /**\n         * Handler provided by the `RadioGroup` to bubble events up\n         */\n        this.radioChangeHandler = (event) => { };\n    }\n    set ariaLabelledby(value) {\n        this._labelledby = value;\n    }\n    get ariaLabelledby() {\n        if (this._labelledby) {\n            return this._labelledby;\n        }\n        return `label-${this.id}`;\n    }\n    get labelLeft() {\n        return this.labelPlacement === \"left\";\n    }\n    /**\n     * Synchronizes with the `RadioGroup` in the event of a changed `Radio`.\n     * Emits the changes of both the `RadioGroup` and `Radio`.\n     */\n    onChange(event) {\n        event.stopPropagation();\n    }\n    onClick(event) {\n        this.checked = event.target.checked;\n        const radioEvent = new RadioChange(this, this.value);\n        this.change.emit(radioEvent);\n        this.radioChangeHandler(radioEvent);\n    }\n    /**\n     * Method called by `RadioGroup` with a callback function to bubble `RadioChange` events\n     * @param fn callback that expects a `RadioChange` as an argument\n     */\n    registerRadioChangeHandler(fn) {\n        this.radioChangeHandler = fn;\n    }\n    setDisabledFromGroup(disabled) {\n        this.disabledFromGroup = disabled;\n    }\n}\nRadio.ɵfac = function Radio_Factory(t) { return new (t || Radio)(); };\nRadio.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: Radio, selectors: [[\"ibm-radio\"]], hostVars: 4, hostBindings: function Radio_HostBindings(rf, ctx) { if (rf & 2) {\n        ɵngcc0.ɵɵclassProp(\"bx--radio-button-wrapper\", ctx.hostClass)(\"bx--radio-button-wrapper--label-left\", ctx.labelLeft);\n    } }, inputs: { checked: \"checked\", name: \"name\", disabled: \"disabled\", labelPlacement: \"labelPlacement\", ariaLabel: \"ariaLabel\", required: \"required\", value: \"value\", skeleton: \"skeleton\", id: \"id\", ariaLabelledby: \"ariaLabelledby\" }, outputs: { change: \"change\" }, features: [ɵngcc0.ɵɵProvidersFeature([\n            {\n                provide: NG_VALUE_ACCESSOR,\n                useExisting: Radio,\n                multi: true\n            }\n        ])], ngContentSelectors: _c1, decls: 5, vars: 8, consts: [[\"class\", \"bx--radio-button\", \"type\", \"radio\", 3, \"checked\", \"disabled\", \"name\", \"id\", \"required\", \"value\", \"change\", \"click\", 4, \"ngIf\"], [\"class\", \"bx--radio-button bx--skeleton\", 4, \"ngIf\"], [1, \"bx--radio-button__label\", 3, \"ngClass\", \"for\", \"id\"], [1, \"bx--radio-button__appearance\"], [\"type\", \"radio\", 1, \"bx--radio-button\", 3, \"checked\", \"disabled\", \"name\", \"id\", \"required\", \"value\", \"change\", \"click\"], [1, \"bx--radio-button\", \"bx--skeleton\"]], template: function Radio_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵprojectionDef();\n        ɵngcc0.ɵɵtemplate(0, Radio_input_0_Template, 1, 7, \"input\", 0);\n        ɵngcc0.ɵɵtemplate(1, Radio_div_1_Template, 1, 0, \"div\", 1);\n        ɵngcc0.ɵɵelementStart(2, \"label\", 2);\n        ɵngcc0.ɵɵelement(3, \"span\", 3);\n        ɵngcc0.ɵɵprojection(4);\n        ɵngcc0.ɵɵelementEnd();\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.skeleton);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.skeleton);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵpropertyInterpolate1(\"id\", \"label-\", ctx.id, \"\");\n        ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction1(6, _c0, ctx.skeleton))(\"for\", ctx.id);\n        ɵngcc0.ɵɵattribute(\"aria-label\", ctx.ariaLabel);\n    } }, dependencies: [ɵngcc1.NgClass, ɵngcc1.NgIf], encapsulation: 2 });\n/**\n * Used to dynamically create unique ids for the `Radio`.\n */\nRadio.radioCount = 0;\nRadio.propDecorators = {\n    checked: [{ type: Input }],\n    name: [{ type: Input }],\n    disabled: [{ type: Input }],\n    labelPlacement: [{ type: Input }],\n    ariaLabelledby: [{ type: Input }],\n    ariaLabel: [{ type: Input }],\n    required: [{ type: Input }],\n    value: [{ type: Input }],\n    skeleton: [{ type: Input }],\n    id: [{ type: Input }],\n    change: [{ type: Output }],\n    hostClass: [{ type: HostBinding, args: [\"class.bx--radio-button-wrapper\",] }],\n    labelLeft: [{ type: HostBinding, args: [\"class.bx--radio-button-wrapper--label-left\",] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(Radio, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-radio\",\n                template: `\n\t\t<input\n\t\t\t*ngIf=\"!skeleton\"\n\t\t\tclass=\"bx--radio-button\"\n\t\t\ttype=\"radio\"\n\t\t\t[checked]=\"checked\"\n\t\t\t[disabled]=\"disabled || disabledFromGroup\"\n\t\t\t[name]=\"name\"\n\t\t\t[id]=\"id\"\n\t\t\t[required]=\"required\"\n\t\t\t[value]=\"value\"\n\t\t\t[attr.aria-labelledby]=\"ariaLabelledby\"\n\t\t\t(change)=\"onChange($event)\"\n\t\t\t(click)=\"onClick($event)\">\n\t\t<div *ngIf=\"skeleton\" class=\"bx--radio-button bx--skeleton\"></div>\n\t\t<label\n\t\t\tclass=\"bx--radio-button__label\"\n\t\t\t[attr.aria-label]=\"ariaLabel\"\n\t\t\t[ngClass]=\"{\n\t\t\t\t'bx--skeleton': skeleton\n\t\t\t}\"\n\t\t\t[for]=\"id\"\n\t\t\tid=\"label-{{id}}\">\n\t\t\t<span class=\"bx--radio-button__appearance\"></span>\n\t\t\t<ng-content></ng-content>\n\t\t</label>\n\t`,\n                providers: [\n                    {\n                        provide: NG_VALUE_ACCESSOR,\n                        useExisting: Radio,\n                        multi: true\n                    }\n                ]\n            }]\n    }], function () { return []; }, { checked: [{\n            type: Input\n        }], name: [{\n            type: Input\n        }], disabled: [{\n            type: Input\n        }], labelPlacement: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], required: [{\n            type: Input\n        }], value: [{\n            type: Input\n        }], skeleton: [{\n            type: Input\n        }], id: [{\n            type: Input\n        }], change: [{\n            type: Output\n        }], hostClass: [{\n            type: HostBinding,\n            args: [\"class.bx--radio-button-wrapper\"]\n        }], ariaLabelledby: [{\n            type: Input\n        }], labelLeft: [{\n            type: HostBinding,\n            args: [\"class.bx--radio-button-wrapper--label-left\"]\n        }] }); })();\n\n/**\n * [See demo](../../?path=/story/components-radio--basic)\n *\n * class: RadioGroup\n *\n * selector: `ibm-radio-group`\n *\n * source: `src/forms/radio.component.ts`\n *\n *\n * Ex:\n * ```html\n * <ibm-radio-group [(ngModel)]=\"radio\">\n * \t<ibm-radio *ngFor=\"let one of manyRadios\" [value]=\"one\">\n *\t\tRadio {{one}}\n * \t</ibm-radio>\n * </ibm-radio-group>\n *\n * Radio selected: {{radio}}\n * ```\n *\n * ```typescript\n * manyRadios = [\"one\", \"two\", \"three\", \"four\", \"five\", \"six\"];\n * ```\n *\n * Also see: [`Radio`](#ibm-radio)\n *\n * <example-url>../../iframe.html?id=components-radio--basic</example-url>\n */\nclass RadioGroup {\n    constructor() {\n        this.orientation = \"horizontal\";\n        this.labelPlacement = \"right\";\n        /**\n         * Emits event notifying other classes of a change using a `RadioChange` class.\n         */\n        this.change = new EventEmitter();\n        /**\n         * Binds 'bx--form-item' value to the class for `RadioGroup`.\n         */\n        this.radioButtonGroupClass = true;\n        /**\n         * To track whether the `RadioGroup` has been initialized.\n         */\n        this.isInitialized = false;\n        /**\n         * Reflects whether or not the input is disabled and cannot be selected.\n         */\n        this._disabled = false;\n        /**\n         * Reflects whether or not the dropdown is loading.\n         */\n        this._skeleton = false;\n        /**\n         * The value of the selected option within the `RadioGroup`.\n         */\n        this._value = null;\n        /**\n         * The `Radio` within the `RadioGroup` that is selected.\n         */\n        this._selected = null;\n        /**\n         * The name attribute associated with the `RadioGroup`.\n         */\n        this._name = `radio-group-${RadioGroup.radioGroupCount++}`;\n        /**\n         * Needed to properly implement ControlValueAccessor.\n         */\n        this.onTouched = () => { };\n        /**\n         * Method set in registerOnChange to propagate changes back to the form.\n         */\n        this.propagateChange = (_) => { };\n    }\n    /**\n     * Sets the passed in `Radio` item as the selected input within the `RadioGroup`.\n     */\n    set selected(selected) {\n        const alreadySelected = (this._selected && this._selected.value) === (selected && selected.value);\n        if (alreadySelected) {\n            // no need to redo\n            return;\n        }\n        if (this._selected) {\n            this._selected.checked = false;\n        }\n        this._selected = selected;\n        this.value = selected ? selected.value : null;\n        this.checkSelectedRadio();\n    }\n    /**\n     * Returns the `Radio` that is selected within the `RadioGroup`.\n     */\n    get selected() {\n        return this._selected;\n    }\n    /**\n     * Sets the value/state of the selected `Radio` within the `RadioGroup` to the passed in value.\n     */\n    set value(newValue) {\n        if (this._value !== newValue) {\n            this._value = newValue;\n            this.updateSelectedRadioFromValue();\n            this.checkSelectedRadio();\n        }\n    }\n    /**\n     * Returns the value/state of the selected `Radio` within the `RadioGroup`.\n     */\n    get value() {\n        return this._value;\n    }\n    /**\n     * Replaces the name associated with the `RadioGroup` with the provided parameter.\n     */\n    set name(name) {\n        this._name = name;\n        this.updateRadios();\n    }\n    /**\n     * Returns the associated name of the `RadioGroup`.\n     */\n    get name() {\n        return this._name;\n    }\n    /**\n     * Set to true to disable the whole radio group\n     */\n    set disabled(disabled) {\n        this._disabled = disabled;\n        this.updateRadios();\n    }\n    /**\n     * Returns the disabled value for the `RadioGroup`.\n     */\n    get disabled() {\n        return this._disabled;\n    }\n    /**\n     * Returns the skeleton value in the `RadioGroup` if there is one.\n     */\n    get skeleton() {\n        return this._skeleton;\n    }\n    /**\n     * Sets the skeleton value for all `Radio` to the skeleton value of `RadioGroup`.\n     */\n    set skeleton(value) {\n        this._skeleton = value;\n        this.updateChildren();\n    }\n    /**\n     * Updates the selected `Radio` to be checked (selected).\n     */\n    checkSelectedRadio() {\n        if (this.selected && !this._selected.checked) {\n            this.selected.checked = true;\n        }\n    }\n    /**\n     * Use the value of the `RadioGroup` to update the selected radio to the right state (selected state).\n     */\n    updateSelectedRadioFromValue() {\n        let alreadySelected = this._selected != null && this._selected.value === this._value;\n        if (this.radios && !alreadySelected) {\n            if (this.selected && this.value) {\n                this.selected.checked = false;\n            }\n            this._selected = null;\n            this.radios.forEach(radio => {\n                if (radio.checked || radio.value === this._value) {\n                    this._selected = radio;\n                }\n            });\n            if (this.selected && !this.value) {\n                this._value = this.selected.value;\n            }\n        }\n    }\n    /**\n     * `ControlValueAccessor` method to programmatically disable the `RadioGroup`.\n     *\n     * ex: `this.formGroup.get(\"myRadioGroup\").disable();`\n     *\n     * @param isDisabled `true` to disable the inputs\n     */\n    setDisabledState(isDisabled) {\n        this.disabled = isDisabled;\n    }\n    /**\n     * Creates a class of `RadioChange` to emit the change in the `RadioGroup`.\n     */\n    emitChangeEvent(event) {\n        this.change.emit(event);\n        this.propagateChange(event.value);\n        this.onTouched();\n    }\n    /**\n     * Synchronizes radio properties.\n     */\n    updateRadios() {\n        if (this.radios) {\n            setTimeout(() => {\n                this.radios.forEach(radio => {\n                    radio.name = this.name;\n                    radio.setDisabledFromGroup(this.disabled);\n                    if (this.labelPlacement === \"left\") {\n                        radio.labelPlacement = \"left\";\n                    }\n                });\n            });\n        }\n    }\n    /**\n     * Updates the value of the `RadioGroup` using the provided parameter.\n     */\n    writeValue(value) {\n        this.value = value;\n        setTimeout(() => {\n            this.updateSelectedRadioFromValue();\n            this.checkSelectedRadio();\n        });\n    }\n    ngAfterContentInit() {\n        this.radios.changes.subscribe(() => {\n            this.updateRadios();\n            this.updateRadioChangeHandler();\n        });\n        this.updateChildren();\n        this.updateRadioChangeHandler();\n    }\n    ngAfterViewInit() {\n        this.updateRadios();\n    }\n    /**\n     * Used to set method to propagate changes back to the form.\n     */\n    registerOnChange(fn) {\n        this.propagateChange = fn;\n    }\n    /**\n     * Registers a callback to be triggered when the control has been touched.\n     * @param fn Callback to be triggered when the checkbox is touched.\n     */\n    registerOnTouched(fn) {\n        this.onTouched = fn;\n    }\n    focusOut() {\n        this.onTouched();\n    }\n    updateChildren() {\n        if (this.radios) {\n            this.radios.forEach(child => child.skeleton = this.skeleton);\n        }\n    }\n    updateRadioChangeHandler() {\n        this.radios.forEach(radio => {\n            radio.registerRadioChangeHandler((event) => {\n                if ((this.selected && this.selected.value) === event.value) {\n                    // no need to redo\n                    return;\n                }\n                // deselect previous radio\n                if (this.selected) {\n                    this.selected.checked = false;\n                }\n                // update selected and value from the event\n                this._selected = event.source;\n                this._value = event.value;\n                // bubble the event\n                this.emitChangeEvent(event);\n            });\n        });\n    }\n}\nRadioGroup.ɵfac = function RadioGroup_Factory(t) { return new (t || RadioGroup)(); };\nRadioGroup.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: RadioGroup, selectors: [[\"ibm-radio-group\"]], contentQueries: function RadioGroup_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {\n        ɵngcc0.ɵɵcontentQuery(dirIndex, Radio, 4);\n    } if (rf & 2) {\n        let _t;\n        ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.radios = _t);\n    } }, hostVars: 2, hostBindings: function RadioGroup_HostBindings(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵlistener(\"focusout\", function RadioGroup_focusout_HostBindingHandler() { return ctx.focusOut(); });\n    } if (rf & 2) {\n        ɵngcc0.ɵɵclassProp(\"bx--form-item\", ctx.radioButtonGroupClass);\n    } }, inputs: { orientation: \"orientation\", labelPlacement: \"labelPlacement\", selected: \"selected\", value: \"value\", name: \"name\", disabled: \"disabled\", skeleton: \"skeleton\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\" }, outputs: { change: \"change\" }, features: [ɵngcc0.ɵɵProvidersFeature([\n            {\n                provide: NG_VALUE_ACCESSOR,\n                useExisting: RadioGroup,\n                multi: true\n            }\n        ])], ngContentSelectors: _c1, decls: 2, vars: 6, consts: [[1, \"bx--radio-button-group\", 3, \"ngClass\"]], template: function RadioGroup_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵprojectionDef();\n        ɵngcc0.ɵɵelementStart(0, \"div\", 0);\n        ɵngcc0.ɵɵprojection(1);\n        ɵngcc0.ɵɵelementEnd();\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction2(3, _c2, ctx.orientation === \"vertical\", ctx.orientation === \"vertical\" && ctx.labelPlacement === \"left\"));\n        ɵngcc0.ɵɵattribute(\"aria-label\", ctx.ariaLabel)(\"aria-labelledby\", ctx.ariaLabelledby);\n    } }, dependencies: [ɵngcc1.NgClass], encapsulation: 2 });\n/**\n * Used for creating the `RadioGroup` 'name' property dynamically.\n */\nRadioGroup.radioGroupCount = 0;\nRadioGroup.propDecorators = {\n    orientation: [{ type: Input }],\n    labelPlacement: [{ type: Input }],\n    ariaLabel: [{ type: Input }],\n    ariaLabelledby: [{ type: Input }],\n    change: [{ type: Output }],\n    radios: [{ type: ContentChildren, args: [forwardRef(() => Radio),] }],\n    selected: [{ type: Input }],\n    value: [{ type: Input }],\n    name: [{ type: Input }],\n    disabled: [{ type: Input }],\n    skeleton: [{ type: Input }],\n    radioButtonGroupClass: [{ type: HostBinding, args: [\"class.bx--form-item\",] }],\n    focusOut: [{ type: HostListener, args: [\"focusout\",] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(RadioGroup, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-radio-group\",\n                template: `\n\t\t<div\n\t\t\tclass=\"bx--radio-button-group\"\n\t\t\t[attr.aria-label]=\"ariaLabel\"\n\t\t\t[attr.aria-labelledby]=\"ariaLabelledby\"\n\t\t\t[ngClass]=\"{\n\t\t\t\t'bx--radio-button-group--vertical': orientation === 'vertical',\n\t\t\t\t'bx--radio-button-group--label-left': orientation === 'vertical' && labelPlacement === 'left'\n\t\t\t}\">\n\t\t\t<ng-content></ng-content>\n\t\t</div>\n\t`,\n                providers: [\n                    {\n                        provide: NG_VALUE_ACCESSOR,\n                        useExisting: RadioGroup,\n                        multi: true\n                    }\n                ]\n            }]\n    }], function () { return []; }, { orientation: [{\n            type: Input\n        }], labelPlacement: [{\n            type: Input\n        }], change: [{\n            type: Output\n        }], radioButtonGroupClass: [{\n            type: HostBinding,\n            args: [\"class.bx--form-item\"]\n        }], selected: [{\n            type: Input\n        }], value: [{\n            type: Input\n        }], name: [{\n            type: Input\n        }], disabled: [{\n            type: Input\n        }], skeleton: [{\n            type: Input\n        }], focusOut: [{\n            type: HostListener,\n            args: [\"focusout\"]\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], radios: [{\n            type: ContentChildren,\n            args: [forwardRef(() => Radio)]\n        }] }); })();\n\n// modules\nclass RadioModule {\n}\nRadioModule.ɵfac = function RadioModule_Factory(t) { return new (t || RadioModule)(); };\nRadioModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: RadioModule });\nRadioModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({ imports: [CommonModule,\n        FormsModule] });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(RadioModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    Radio,\n                    RadioGroup\n                ],\n                exports: [\n                    Radio,\n                    RadioGroup\n                ],\n                imports: [\n                    CommonModule,\n                    FormsModule\n                ]\n            }]\n    }], null, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(RadioModule, { declarations: function () { return [Radio, RadioGroup]; }, imports: function () { return [CommonModule,\n        FormsModule]; }, exports: function () { return [Radio, RadioGroup]; } }); })();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { RadioChange, RadioGroup, Radio, RadioModule };\n\n","/**\n *\n * carbon-angular v0.0.0 | carbon-components-angular-search.js\n *\n * Copyright 2014, 2023 IBM\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\nimport { Component, Input, EventEmitter, Output, HostBinding, ElementRef, HostListener, ViewChild, NgModule } from '@angular/core';\nimport { NG_VALUE_ACCESSOR, FormsModule } from '@angular/forms';\nimport { CommonModule } from '@angular/common';\nimport { I18n, I18nModule } from 'carbon-components-angular/i18n';\nimport { IconModule } from 'carbon-components-angular/icon';\n\n/**\n * [See demo](../../?path=/story/components-search--basic)\n *\n * <example-url>../../iframe.html?id=components-search--basic</example-url>\n */\nimport * as ɵngcc0 from '@angular/core';\nimport * as ɵngcc1 from 'carbon-components-angular/i18n';\nimport * as ɵngcc2 from '@angular/common';\nimport * as ɵngcc3 from 'carbon-components-angular/icon';\n\nconst _c0 = [\"input\"];\nfunction Search_div_3_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelement(0, \"div\", 5);\n} }\nfunction Search_ng_template_4_button_2_Template(rf, ctx) { if (rf & 1) {\n    const _r8 = ɵngcc0.ɵɵgetCurrentView();\n    ɵngcc0.ɵɵelementStart(0, \"button\", 10);\n    ɵngcc0.ɵɵlistener(\"click\", function Search_ng_template_4_button_2_Template_button_click_0_listener() { ɵngcc0.ɵɵrestoreView(_r8); const ctx_r7 = ɵngcc0.ɵɵnextContext(2); return ɵngcc0.ɵɵresetView(ctx_r7.openSearch()); });\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵelement(1, \"svg\", 11);\n    ɵngcc0.ɵɵelementEnd();\n} }\nfunction Search_ng_template_4__svg_svg_3_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵelement(0, \"svg\", 11);\n} }\nfunction Search_ng_template_4_Template(rf, ctx) { if (rf & 1) {\n    const _r10 = ɵngcc0.ɵɵgetCurrentView();\n    ɵngcc0.ɵɵelementStart(0, \"input\", 6, 7);\n    ɵngcc0.ɵɵlistener(\"input\", function Search_ng_template_4_Template_input_input_0_listener($event) { ɵngcc0.ɵɵrestoreView(_r10); const ctx_r9 = ɵngcc0.ɵɵnextContext(); return ɵngcc0.ɵɵresetView(ctx_r9.onSearch($event.target.value)); })(\"keyup.enter\", function Search_ng_template_4_Template_input_keyup_enter_0_listener() { ɵngcc0.ɵɵrestoreView(_r10); const ctx_r11 = ɵngcc0.ɵɵnextContext(); return ɵngcc0.ɵɵresetView(ctx_r11.onEnter()); });\n    ɵngcc0.ɵɵelementEnd();\n    ɵngcc0.ɵɵtemplate(2, Search_ng_template_4_button_2_Template, 2, 0, \"button\", 8);\n    ɵngcc0.ɵɵtemplate(3, Search_ng_template_4__svg_svg_3_Template, 1, 0, \"svg\", 9);\n} if (rf & 2) {\n    const ctx_r2 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵproperty(\"type\", ctx_r2.tableSearch || !ctx_r2.toolbar ? \"text\" : \"search\")(\"id\", ctx_r2.id)(\"value\", ctx_r2.value)(\"autocomplete\", ctx_r2.autocomplete)(\"placeholder\", ctx_r2.placeholder)(\"disabled\", ctx_r2.disabled)(\"required\", ctx_r2.required);\n    ɵngcc0.ɵɵadvance(2);\n    ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r2.tableSearch && ctx_r2.toolbar);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r2.tableSearch || !ctx_r2.toolbar);\n} }\nconst _c1 = function (a0) { return { \"bx--search-close--hidden\": a0 }; };\nfunction Search_button_6_Template(rf, ctx) { if (rf & 1) {\n    const _r13 = ɵngcc0.ɵɵgetCurrentView();\n    ɵngcc0.ɵɵelementStart(0, \"button\", 12);\n    ɵngcc0.ɵɵlistener(\"click\", function Search_button_6_Template_button_click_0_listener() { ɵngcc0.ɵɵrestoreView(_r13); const ctx_r12 = ɵngcc0.ɵɵnextContext(); return ɵngcc0.ɵɵresetView(ctx_r12.clearSearch()); });\n    ɵngcc0.ɵɵelementStart(1, \"span\", 13);\n    ɵngcc0.ɵɵtext(2);\n    ɵngcc0.ɵɵelementEnd();\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵelement(3, \"svg\", 14);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r3 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction1(3, _c1, !ctx_r3.value || ctx_r3.value.length === 0))(\"title\", ctx_r3.clearButtonTitle);\n    ɵngcc0.ɵɵadvance(2);\n    ɵngcc0.ɵɵtextInterpolate(ctx_r3.clearButtonTitle);\n} }\nconst _c2 = function (a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11) { return { \"bx--search--sm\": a0, \"bx--search--lg\": a1, \"bx--search--xl\": a2, \"bx--search--light\": a3, \"bx--skeleton\": a4, \"bx--search--expandable\": a5, \"bx--search--expanded\": a6, \"bx--toolbar-search\": a7, \"bx--toolbar-search--active\": a8, \"bx--toolbar-search-container-persistent\": a9, \"bx--toolbar-search-container-expandable\": a10, \"bx--toolbar-search-container-active\": a11 }; };\nclass Search {\n    /**\n     * Creates an instance of `Search`.\n     * @param i18n The i18n translations.\n     */\n    constructor(elementRef, i18n) {\n        this.elementRef = elementRef;\n        this.i18n = i18n;\n        /**\n         * `light` or `dark` search theme.\n         */\n        this.theme = \"dark\";\n        /**\n         * Set to `true` for a disabled search input.\n         */\n        this.disabled = false;\n        /**\n         * Set to `true` for a toolbar search component.\n         */\n        this.toolbar = false;\n        /**\n         * Set to `true` to make the search component expandable.\n         * `expandable` would override `toolbar` property behaviours.\n         */\n        this.expandable = false;\n        /**\n         * Set to `true` for a loading search component.\n         */\n        this.skeleton = false;\n        /**\n         * Set to `true` to expand the toolbar search component.\n         */\n        this.active = false;\n        /**\n         * Specifies whether the search component is used in the table toolbar.\n         */\n        this.tableSearch = false;\n        /**\n         * The unique id for the search component.\n         */\n        this.id = `search-${Search.searchCount}`;\n        /**\n         * Sets the value attribute on the `input` element.\n         */\n        this.value = \"\";\n        /**\n         * Sets the autocomplete attribute on the `input` element.\n         * For reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete#Values\n         */\n        this.autocomplete = \"on\";\n        /**\n         * Sets the text inside the `label` tag.\n         */\n        this.label = this.i18n.get().SEARCH.LABEL;\n        /**\n         * Sets the placeholder attribute on the `input` element.\n         */\n        this.placeholder = this.i18n.get().SEARCH.PLACEHOLDER;\n        /**\n         * Used to set the `title` attribute of the clear button.\n         */\n        this.clearButtonTitle = this.i18n.get().SEARCH.CLEAR_BUTTON;\n        /**\n         * Title for the search trigger\n         */\n        this.searchTitle = \"\";\n        /**\n         * Emits an event when value is changed.\n         */\n        this.valueChange = new EventEmitter();\n        this.open = new EventEmitter();\n        /**\n         * Emits an event when the clear button is clicked.\n         */\n        this.clear = new EventEmitter();\n        /**\n         * Emits an event on enter.\n         */\n        this.search = new EventEmitter();\n        /**\n         * Sets `true` when composing text via IME.\n         */\n        this.isComposing = false;\n        this._size = \"md\";\n        /**\n         * Called when search input is blurred. Needed to properly implement `ControlValueAccessor`.\n         */\n        this.onTouched = () => { };\n        /**\n         * Method set in `registerOnChange` to propagate changes back to the form.\n         */\n        this.propagateChange = (_) => { };\n        Search.searchCount++;\n    }\n    get containerClass() { return !(this.toolbar || this.expandable); }\n    /**\n     * Size of the search field.\n     */\n    set size(value) {\n        this._size = value;\n    }\n    get size() {\n        return this._size;\n    }\n    /**\n     * This is the initial value set to the component\n     * @param value The input value.\n     */\n    writeValue(value) {\n        this.value = value;\n    }\n    /**\n     * Sets a method in order to propagate changes back to the form.\n     */\n    registerOnChange(fn) {\n        this.propagateChange = fn;\n    }\n    /**\n     * Registers a callback to be triggered when the control has been touched.\n     * @param fn Callback to be triggered when the search input is touched.\n     */\n    registerOnTouched(fn) {\n        this.onTouched = fn;\n    }\n    /**\n     * Called when text is written in the input.\n     * @param search The input text.\n     */\n    onSearch(search) {\n        if (this.isComposing) { // check for IME use\n            return;\n        }\n        this.value = search;\n        this.doValueChange();\n    }\n    /**\n     * Called on enter.\n     */\n    onEnter() {\n        this.search.emit(this.value);\n    }\n    /**\n     * Called when clear button is clicked.\n     */\n    clearSearch() {\n        this.value = \"\";\n        this.clear.emit();\n        this.propagateChange(this.value);\n    }\n    doValueChange() {\n        this.valueChange.emit(this.value);\n        this.propagateChange(this.value);\n    }\n    openSearch() {\n        this.active = true;\n        this.open.emit(this.active);\n        setTimeout(() => this.inputRef.nativeElement.focus());\n    }\n    keyDown(event) {\n        if (this.toolbar || this.expandable) {\n            if (event.key === \"Escape\") {\n                this.active = false;\n            }\n            else if (event.key === \"Enter\") {\n                this.openSearch();\n            }\n        }\n    }\n    focusOut(event) {\n        this.onTouched();\n        if ((this.expandable || this.toolbar) &&\n            this.inputRef &&\n            this.inputRef.nativeElement.value === \"\" &&\n            !this.elementRef.nativeElement.contains(event.relatedTarget)) {\n            this.active = false;\n            this.open.emit(this.active);\n        }\n    }\n    focusIn(event) {\n        this.onTouched();\n        // set input focus if search icon get focus from tab key press event.\n        if ((this.expandable || this.toolbar) &&\n            this.inputRef && !event.relatedTarget &&\n            !this.elementRef.nativeElement.contains(event.relatedTarget)) {\n            this.openSearch();\n        }\n    }\n    /**\n     * Called when using IME composition.\n     */\n    compositionStart(event) {\n        this.isComposing = true;\n    }\n    /**\n     * Called when IME composition finishes.\n     */\n    compositionEnd(event) {\n        this.isComposing = false;\n        this.onSearch(this.value + event.data);\n    }\n}\nSearch.ɵfac = function Search_Factory(t) { return new (t || Search)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef), ɵngcc0.ɵɵdirectiveInject(ɵngcc1.I18n)); };\nSearch.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: Search, selectors: [[\"ibm-search\"]], viewQuery: function Search_Query(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵviewQuery(_c0, 5);\n    } if (rf & 2) {\n        let _t;\n        ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.inputRef = _t.first);\n    } }, hostVars: 2, hostBindings: function Search_HostBindings(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵlistener(\"keydown\", function Search_keydown_HostBindingHandler($event) { return ctx.keyDown($event); })(\"focusout\", function Search_focusout_HostBindingHandler($event) { return ctx.focusOut($event); })(\"focusin\", function Search_focusin_HostBindingHandler($event) { return ctx.focusIn($event); })(\"compositionstart\", function Search_compositionstart_HostBindingHandler($event) { return ctx.compositionStart($event); })(\"compositionend\", function Search_compositionend_HostBindingHandler($event) { return ctx.compositionEnd($event); });\n    } if (rf & 2) {\n        ɵngcc0.ɵɵclassProp(\"bx--form-item\", ctx.containerClass);\n    } }, inputs: { theme: \"theme\", disabled: \"disabled\", toolbar: \"toolbar\", expandable: \"expandable\", skeleton: \"skeleton\", active: \"active\", tableSearch: \"tableSearch\", id: \"id\", value: \"value\", autocomplete: \"autocomplete\", label: \"label\", placeholder: \"placeholder\", clearButtonTitle: \"clearButtonTitle\", searchTitle: \"searchTitle\", size: \"size\", name: \"name\", required: \"required\", ariaLabel: \"ariaLabel\" }, outputs: { valueChange: \"valueChange\", open: \"open\", clear: \"clear\", search: \"search\" }, features: [ɵngcc0.ɵɵProvidersFeature([\n            {\n                provide: NG_VALUE_ACCESSOR,\n                useExisting: Search,\n                multi: true\n            }\n        ])], decls: 7, vars: 20, consts: [[\"role\", \"search\", 1, \"bx--search\", 3, \"ngClass\", \"click\"], [1, \"bx--label\", 3, \"for\"], [\"class\", \"bx--search-input\", 4, \"ngIf\", \"ngIfElse\"], [\"enableInput\", \"\"], [\"class\", \"bx--search-close\", 3, \"ngClass\", \"title\", \"click\", 4, \"ngIf\"], [1, \"bx--search-input\"], [1, \"bx--search-input\", 3, \"type\", \"id\", \"value\", \"autocomplete\", \"placeholder\", \"disabled\", \"required\", \"input\", \"keyup.enter\"], [\"input\", \"\"], [\"class\", \"bx--toolbar-search__btn\", \"aria-label\", \"Open search\", 3, \"click\", 4, \"ngIf\"], [\"ibmIcon\", \"search\", \"class\", \"bx--search-magnifier-icon\", \"size\", \"16\", 4, \"ngIf\"], [\"aria-label\", \"Open search\", 1, \"bx--toolbar-search__btn\", 3, \"click\"], [\"ibmIcon\", \"search\", \"size\", \"16\", 1, \"bx--search-magnifier-icon\"], [1, \"bx--search-close\", 3, \"ngClass\", \"title\", \"click\"], [1, \"bx--visually-hidden\"], [\"ibmIcon\", \"close\", \"size\", \"16\"]], template: function Search_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵelementStart(0, \"div\", 0);\n        ɵngcc0.ɵɵlistener(\"click\", function Search_Template_div_click_0_listener() { return ctx.openSearch(); });\n        ɵngcc0.ɵɵelementStart(1, \"label\", 1);\n        ɵngcc0.ɵɵtext(2);\n        ɵngcc0.ɵɵelementEnd();\n        ɵngcc0.ɵɵtemplate(3, Search_div_3_Template, 1, 0, \"div\", 2);\n        ɵngcc0.ɵɵtemplate(4, Search_ng_template_4_Template, 4, 9, \"ng-template\", null, 3, ɵngcc0.ɵɵtemplateRefExtractor);\n        ɵngcc0.ɵɵtemplate(6, Search_button_6_Template, 4, 5, \"button\", 4);\n        ɵngcc0.ɵɵelementEnd();\n    } if (rf & 2) {\n        const _r1 = ɵngcc0.ɵɵreference(5);\n        ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunctionV(7, _c2, [ctx.size === \"sm\", ctx.size === \"md\", ctx.size === \"xl\", ctx.theme === \"light\", ctx.skeleton, ctx.expandable && !ctx.tableSearch, ctx.expandable && !ctx.tableSearch && ctx.active, ctx.toolbar && !ctx.expandable, ctx.toolbar && !ctx.expandable && ctx.active, ctx.tableSearch && !ctx.expandable, ctx.tableSearch && ctx.expandable, ctx.tableSearch && ctx.expandable && ctx.active]));\n        ɵngcc0.ɵɵattribute(\"aria-label\", ctx.ariaLabel);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"for\", ctx.id);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵtextInterpolate(ctx.label);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.skeleton)(\"ngIfElse\", _r1);\n        ɵngcc0.ɵɵadvance(3);\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.tableSearch || !ctx.toolbar);\n    } }, dependencies: [ɵngcc2.NgClass, ɵngcc2.NgIf, ɵngcc3.IconDirective], encapsulation: 2 });\n/**\n * Variable used for creating unique ids for search components.\n */\nSearch.searchCount = 0;\n/** @nocollapse */\nSearch.ctorParameters = () => [\n    { type: ElementRef },\n    { type: I18n }\n];\nSearch.propDecorators = {\n    containerClass: [{ type: HostBinding, args: [\"class.bx--form-item\",] }],\n    theme: [{ type: Input }],\n    size: [{ type: Input }],\n    disabled: [{ type: Input }],\n    toolbar: [{ type: Input }],\n    expandable: [{ type: Input }],\n    skeleton: [{ type: Input }],\n    active: [{ type: Input }],\n    tableSearch: [{ type: Input }],\n    name: [{ type: Input }],\n    id: [{ type: Input }],\n    required: [{ type: Input }],\n    value: [{ type: Input }],\n    autocomplete: [{ type: Input }],\n    label: [{ type: Input }],\n    placeholder: [{ type: Input }],\n    clearButtonTitle: [{ type: Input }],\n    searchTitle: [{ type: Input }],\n    ariaLabel: [{ type: Input }],\n    valueChange: [{ type: Output }],\n    open: [{ type: Output }],\n    clear: [{ type: Output }],\n    search: [{ type: Output }],\n    inputRef: [{ type: ViewChild, args: [\"input\", { static: false },] }],\n    keyDown: [{ type: HostListener, args: [\"keydown\", [\"$event\"],] }],\n    focusOut: [{ type: HostListener, args: [\"focusout\", [\"$event\"],] }],\n    focusIn: [{ type: HostListener, args: [\"focusin\", [\"$event\"],] }],\n    compositionStart: [{ type: HostListener, args: [\"compositionstart\", [\"$event\"],] }],\n    compositionEnd: [{ type: HostListener, args: [\"compositionend\", [\"$event\"],] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(Search, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-search\",\n                template: \"<div\\n\\tclass=\\\"bx--search\\\"\\n\\t[ngClass]=\\\"{\\n\\t\\t'bx--search--sm': size === 'sm',\\n\\t\\t'bx--search--lg': size === 'md',\\n\\t\\t'bx--search--xl': size === 'xl',\\n\\t\\t'bx--search--light': theme === 'light',\\n\\t\\t'bx--skeleton': skeleton,\\n\\t\\t'bx--search--expandable': expandable && !tableSearch,\\n\\t\\t'bx--search--expanded': expandable && !tableSearch && active,\\n\\t\\t'bx--toolbar-search': toolbar && !expandable,\\n\\t\\t'bx--toolbar-search--active': toolbar && !expandable && active,\\n\\t\\t'bx--toolbar-search-container-persistent': tableSearch && !expandable,\\n\\t\\t'bx--toolbar-search-container-expandable': tableSearch && expandable,\\n\\t\\t'bx--toolbar-search-container-active': tableSearch && expandable && active\\n\\t}\\\"\\n\\trole=\\\"search\\\"\\n\\t[attr.aria-label]=\\\"ariaLabel\\\"\\n\\t(click)=\\\"openSearch()\\\">\\n\\t<label class=\\\"bx--label\\\" [for]=\\\"id\\\">{{label}}</label>\\n\\n\\t<div *ngIf=\\\"skeleton; else enableInput\\\" class=\\\"bx--search-input\\\"></div>\\n\\t<ng-template #enableInput>\\n\\t\\t<input\\n\\t\\t\\t#input\\n\\t\\t\\tclass=\\\"bx--search-input\\\"\\n\\t\\t\\t[type]=\\\"tableSearch || !toolbar ? 'text' : 'search'\\\"\\n\\t\\t\\t[id]=\\\"id\\\"\\n\\t\\t\\t[value]=\\\"value\\\"\\n\\t\\t\\t[autocomplete]=\\\"autocomplete\\\"\\n\\t\\t\\t[placeholder]=\\\"placeholder\\\"\\n\\t\\t\\t[disabled]=\\\"disabled\\\"\\n\\t\\t\\t[required]=\\\"required\\\"\\n\\t\\t\\t(input)=\\\"onSearch($event.target.value)\\\"\\n\\t\\t\\t(keyup.enter)=\\\"onEnter()\\\"/>\\n\\t\\t<button\\n\\t\\t\\t*ngIf=\\\"!tableSearch && toolbar\\\"\\n\\t\\t\\tclass=\\\"bx--toolbar-search__btn\\\"\\n\\t\\t\\t(click)=\\\"openSearch()\\\"\\n\\t\\t\\taria-label=\\\"Open search\\\">\\n\\t\\t\\t<svg ibmIcon=\\\"search\\\" size=\\\"16\\\" class=\\\"bx--search-magnifier-icon\\\"></svg>\\n\\t\\t</button>\\n\\t\\t<svg\\n\\t\\t\\tibmIcon=\\\"search\\\"\\n\\t\\t\\t*ngIf=\\\"tableSearch || !toolbar\\\"\\n\\t\\t\\tclass=\\\"bx--search-magnifier-icon\\\"\\n\\t\\t\\tsize=\\\"16\\\">\\n\\t\\t</svg>\\n\\t</ng-template>\\n\\n\\t<button\\n\\t\\t*ngIf=\\\"tableSearch || !toolbar\\\"\\n\\t\\tclass=\\\"bx--search-close\\\"\\n\\t\\t[ngClass]=\\\"{\\n\\t\\t\\t'bx--search-close--hidden': !value || value.length === 0\\n\\t\\t}\\\"\\n\\t\\t[title]=\\\"clearButtonTitle\\\"\\n\\t\\t(click)=\\\"clearSearch()\\\">\\n\\t\\t<span class=\\\"bx--visually-hidden\\\">{{ clearButtonTitle }}</span>\\n\\t\\t<svg ibmIcon=\\\"close\\\" size=\\\"16\\\"></svg>\\n\\t</button>\\n</div>\\n\",\n                providers: [\n                    {\n                        provide: NG_VALUE_ACCESSOR,\n                        useExisting: Search,\n                        multi: true\n                    }\n                ]\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }, { type: ɵngcc1.I18n }]; }, { theme: [{\n            type: Input\n        }], disabled: [{\n            type: Input\n        }], toolbar: [{\n            type: Input\n        }], expandable: [{\n            type: Input\n        }], skeleton: [{\n            type: Input\n        }], active: [{\n            type: Input\n        }], tableSearch: [{\n            type: Input\n        }], id: [{\n            type: Input\n        }], value: [{\n            type: Input\n        }], autocomplete: [{\n            type: Input\n        }], label: [{\n            type: Input\n        }], placeholder: [{\n            type: Input\n        }], clearButtonTitle: [{\n            type: Input\n        }], searchTitle: [{\n            type: Input\n        }], valueChange: [{\n            type: Output\n        }], open: [{\n            type: Output\n        }], clear: [{\n            type: Output\n        }], search: [{\n            type: Output\n        }], containerClass: [{\n            type: HostBinding,\n            args: [\"class.bx--form-item\"]\n        }], size: [{\n            type: Input\n        }], keyDown: [{\n            type: HostListener,\n            args: [\"keydown\", [\"$event\"]]\n        }], focusOut: [{\n            type: HostListener,\n            args: [\"focusout\", [\"$event\"]]\n        }], focusIn: [{\n            type: HostListener,\n            args: [\"focusin\", [\"$event\"]]\n        }], \n    /**\n     * Called when using IME composition.\n     */\n    compositionStart: [{\n            type: HostListener,\n            args: [\"compositionstart\", [\"$event\"]]\n        }], \n    /**\n     * Called when IME composition finishes.\n     */\n    compositionEnd: [{\n            type: HostListener,\n            args: [\"compositionend\", [\"$event\"]]\n        }], name: [{\n            type: Input\n        }], required: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], inputRef: [{\n            type: ViewChild,\n            args: [\"input\", { static: false }]\n        }] }); })();\n\n// modules\nclass SearchModule {\n}\nSearchModule.ɵfac = function SearchModule_Factory(t) { return new (t || SearchModule)(); };\nSearchModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: SearchModule });\nSearchModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({ imports: [FormsModule,\n        CommonModule,\n        I18nModule,\n        IconModule] });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(SearchModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    Search\n                ],\n                exports: [\n                    Search\n                ],\n                imports: [\n                    FormsModule,\n                    CommonModule,\n                    I18nModule,\n                    IconModule\n                ]\n            }]\n    }], null, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(SearchModule, { declarations: function () { return [Search]; }, imports: function () { return [FormsModule,\n        CommonModule,\n        I18nModule,\n        IconModule]; }, exports: function () { return [Search]; } }); })();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { Search, SearchModule };\n\n","/**\n *\n * carbon-angular v0.0.0 | carbon-components-angular-select.js\n *\n * Copyright 2014, 2023 IBM\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\nimport { Directive, HostBinding, Component, Input, Output, HostListener, EventEmitter, TemplateRef, ViewChild, NgModule } from '@angular/core';\nimport { NG_VALUE_ACCESSOR, FormsModule } from '@angular/forms';\nimport { CommonModule } from '@angular/common';\nimport { IconModule } from 'carbon-components-angular/icon';\n\nimport * as ɵngcc0 from '@angular/core';\nimport * as ɵngcc1 from '@angular/common';\nimport * as ɵngcc2 from 'carbon-components-angular/icon';\n\nconst _c0 = [\"select\"];\nfunction Select_ng_template_1_div_0_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelement(0, \"div\", 6);\n} }\nfunction Select_ng_template_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵtemplate(0, Select_ng_template_1_div_0_Template, 1, 0, \"div\", 4);\n    ɵngcc0.ɵɵelement(1, \"div\", 5);\n} if (rf & 2) {\n    const ctx_r0 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r0.label);\n} }\nfunction Select_div_2_label_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainerStart(0);\n    ɵngcc0.ɵɵtext(1);\n    ɵngcc0.ɵɵelementContainerEnd();\n} if (rf & 2) {\n    const ctx_r8 = ɵngcc0.ɵɵnextContext(3);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate(ctx_r8.label);\n} }\nfunction Select_div_2_label_1_2_ng_template_0_Template(rf, ctx) { }\nfunction Select_div_2_label_1_2_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵtemplate(0, Select_div_2_label_1_2_ng_template_0_Template, 0, 0, \"ng-template\", 13);\n} if (rf & 2) {\n    const ctx_r9 = ɵngcc0.ɵɵnextContext(3);\n    ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r9.label);\n} }\nfunction Select_div_2_label_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"label\", 11);\n    ɵngcc0.ɵɵtemplate(1, Select_div_2_label_1_ng_container_1_Template, 2, 1, \"ng-container\", 12);\n    ɵngcc0.ɵɵtemplate(2, Select_div_2_label_1_2_Template, 1, 1, null, 12);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r5 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵproperty(\"for\", ctx_r5.id);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r5.isTemplate(ctx_r5.label));\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r5.isTemplate(ctx_r5.label));\n} }\nfunction Select_div_2_div_2_ng_container_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainerStart(0);\n    ɵngcc0.ɵɵtext(1);\n    ɵngcc0.ɵɵelementContainerEnd();\n} if (rf & 2) {\n    const ctx_r11 = ɵngcc0.ɵɵnextContext(3);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate(ctx_r11.helperText);\n} }\nfunction Select_div_2_div_2_2_ng_template_0_Template(rf, ctx) { }\nfunction Select_div_2_div_2_2_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵtemplate(0, Select_div_2_div_2_2_ng_template_0_Template, 0, 0, \"ng-template\", 13);\n} if (rf & 2) {\n    const ctx_r12 = ɵngcc0.ɵɵnextContext(3);\n    ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r12.helperText);\n} }\nfunction Select_div_2_div_2_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"div\", 14);\n    ɵngcc0.ɵɵtemplate(1, Select_div_2_div_2_ng_container_1_Template, 2, 1, \"ng-container\", 12);\n    ɵngcc0.ɵɵtemplate(2, Select_div_2_div_2_2_Template, 1, 1, null, 12);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r6 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r6.isTemplate(ctx_r6.helperText));\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r6.isTemplate(ctx_r6.helperText));\n} }\nfunction Select_div_2_div_3_ng_container_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainer(0);\n} }\nfunction Select_div_2_div_3_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"div\", 15);\n    ɵngcc0.ɵɵtemplate(1, Select_div_2_div_3_ng_container_1_Template, 1, 0, \"ng-container\", 16);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    ɵngcc0.ɵɵnextContext(2);\n    const _r2 = ɵngcc0.ɵɵreference(4);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", _r2);\n} }\nconst _c1 = function (a0, a1, a2, a3, a4) { return { \"bx--select--inline\": a0, \"bx--select--light\": a1, \"bx--select--invalid\": a2, \"bx--select--warning\": a3, \"bx--select--disabled\": a4 }; };\nfunction Select_div_2_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"div\", 7);\n    ɵngcc0.ɵɵtemplate(1, Select_div_2_label_1_Template, 3, 3, \"label\", 8);\n    ɵngcc0.ɵɵtemplate(2, Select_div_2_div_2_Template, 3, 2, \"div\", 9);\n    ɵngcc0.ɵɵtemplate(3, Select_div_2_div_3_Template, 2, 1, \"div\", 10);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r1 = ɵngcc0.ɵɵnextContext();\n    const _r2 = ɵngcc0.ɵɵreference(4);\n    ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction5(5, _c1, ctx_r1.display === \"inline\", ctx_r1.theme === \"light\", ctx_r1.invalid, ctx_r1.warn, ctx_r1.disabled));\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r1.label);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r1.helperText);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r1.display === \"inline\")(\"ngIfElse\", _r2);\n} }\nfunction Select_ng_template_3__svg_svg_6_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵelement(0, \"svg\", 26);\n} }\nfunction Select_ng_template_3__svg_svg_7_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵelement(0, \"svg\", 27);\n} }\nfunction Select_ng_template_3_div_8_ng_container_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainerStart(0);\n    ɵngcc0.ɵɵtext(1);\n    ɵngcc0.ɵɵelementContainerEnd();\n} if (rf & 2) {\n    const ctx_r20 = ɵngcc0.ɵɵnextContext(3);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate(ctx_r20.invalidText);\n} }\nfunction Select_ng_template_3_div_8_2_ng_template_0_Template(rf, ctx) { }\nfunction Select_ng_template_3_div_8_2_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵtemplate(0, Select_ng_template_3_div_8_2_ng_template_0_Template, 0, 0, \"ng-template\", 13);\n} if (rf & 2) {\n    const ctx_r21 = ɵngcc0.ɵɵnextContext(3);\n    ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r21.invalidText);\n} }\nfunction Select_ng_template_3_div_8_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵnamespaceHTML();\n    ɵngcc0.ɵɵelementStart(0, \"div\", 28);\n    ɵngcc0.ɵɵtemplate(1, Select_ng_template_3_div_8_ng_container_1_Template, 2, 1, \"ng-container\", 12);\n    ɵngcc0.ɵɵtemplate(2, Select_ng_template_3_div_8_2_Template, 1, 1, null, 12);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r18 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r18.isTemplate(ctx_r18.invalidText));\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r18.isTemplate(ctx_r18.invalidText));\n} }\nfunction Select_ng_template_3_div_9_ng_container_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainerStart(0);\n    ɵngcc0.ɵɵtext(1);\n    ɵngcc0.ɵɵelementContainerEnd();\n} if (rf & 2) {\n    const ctx_r23 = ɵngcc0.ɵɵnextContext(3);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate(ctx_r23.warnText);\n} }\nfunction Select_ng_template_3_div_9_2_ng_template_0_Template(rf, ctx) { }\nfunction Select_ng_template_3_div_9_2_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵtemplate(0, Select_ng_template_3_div_9_2_ng_template_0_Template, 0, 0, \"ng-template\", 13);\n} if (rf & 2) {\n    const ctx_r24 = ɵngcc0.ɵɵnextContext(3);\n    ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r24.warnText);\n} }\nfunction Select_ng_template_3_div_9_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵnamespaceHTML();\n    ɵngcc0.ɵɵelementStart(0, \"div\", 29);\n    ɵngcc0.ɵɵtemplate(1, Select_ng_template_3_div_9_ng_container_1_Template, 2, 1, \"ng-container\", 12);\n    ɵngcc0.ɵɵtemplate(2, Select_ng_template_3_div_9_2_Template, 1, 1, null, 12);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r19 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r19.isTemplate(ctx_r19.warnText));\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r19.isTemplate(ctx_r19.warnText));\n} }\nconst _c2 = function (a0, a1) { return { \"bx--select-input--xl\": a0, \"bx--select-input--sm\": a1 }; };\nfunction Select_ng_template_3_Template(rf, ctx) { if (rf & 1) {\n    const _r27 = ɵngcc0.ɵɵgetCurrentView();\n    ɵngcc0.ɵɵelementStart(0, \"div\", 17)(1, \"select\", 18, 19);\n    ɵngcc0.ɵɵlistener(\"change\", function Select_ng_template_3_Template_select_change_1_listener($event) { ɵngcc0.ɵɵrestoreView(_r27); const ctx_r26 = ɵngcc0.ɵɵnextContext(); return ɵngcc0.ɵɵresetView(ctx_r26.onChange($event)); });\n    ɵngcc0.ɵɵprojection(3);\n    ɵngcc0.ɵɵelementEnd();\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵelementStart(4, \"svg\", 20);\n    ɵngcc0.ɵɵelement(5, \"path\", 21);\n    ɵngcc0.ɵɵelementEnd();\n    ɵngcc0.ɵɵtemplate(6, Select_ng_template_3__svg_svg_6_Template, 1, 0, \"svg\", 22);\n    ɵngcc0.ɵɵtemplate(7, Select_ng_template_3__svg_svg_7_Template, 1, 0, \"svg\", 23);\n    ɵngcc0.ɵɵelementEnd();\n    ɵngcc0.ɵɵtemplate(8, Select_ng_template_3_div_8_Template, 3, 2, \"div\", 24);\n    ɵngcc0.ɵɵtemplate(9, Select_ng_template_3_div_9_Template, 3, 2, \"div\", 25);\n} if (rf & 2) {\n    const ctx_r3 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵattribute(\"data-invalid\", ctx_r3.invalid ? true : null);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"disabled\", ctx_r3.disabled)(\"ngClass\", ɵngcc0.ɵɵpureFunction2(10, _c2, ctx_r3.size === \"xl\", ctx_r3.size === \"sm\"));\n    ɵngcc0.ɵɵattribute(\"id\", ctx_r3.id)(\"aria-label\", ctx_r3.ariaLabel)(\"aria-invalid\", ctx_r3.invalid ? \"true\" : null);\n    ɵngcc0.ɵɵadvance(5);\n    ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r3.warn && ctx_r3.invalid);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r3.invalid && ctx_r3.warn);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r3.invalid && ctx_r3.invalidText && !ctx_r3.warn);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r3.invalid && ctx_r3.warn);\n} }\nconst _c3 = [\"*\"];\nclass OptGroup {\n    constructor() {\n        this.inputClass = \"bx--select-optgroup\";\n    }\n}\nOptGroup.ɵfac = function OptGroup_Factory(t) { return new (t || OptGroup)(); };\nOptGroup.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: OptGroup, selectors: [[\"optgroup\"]], hostVars: 2, hostBindings: function OptGroup_HostBindings(rf, ctx) { if (rf & 2) {\n        ɵngcc0.ɵɵclassMap(ctx.inputClass);\n    } } });\nOptGroup.propDecorators = {\n    inputClass: [{ type: HostBinding, args: [\"class\",] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(OptGroup, [{\n        type: Directive,\n        args: [{\n                // tslint:disable-next-line\n                selector: \"optgroup\"\n            }]\n    }], function () { return []; }, { inputClass: [{\n            type: HostBinding,\n            args: [\"class\"]\n        }] }); })();\n\nclass Option {\n    constructor() {\n        this.inputClass = \"bx--select-option\";\n    }\n}\nOption.ɵfac = function Option_Factory(t) { return new (t || Option)(); };\nOption.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: Option, selectors: [[\"option\"]], hostVars: 2, hostBindings: function Option_HostBindings(rf, ctx) { if (rf & 2) {\n        ɵngcc0.ɵɵclassMap(ctx.inputClass);\n    } } });\nOption.propDecorators = {\n    inputClass: [{ type: HostBinding, args: [\"class\",] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(Option, [{\n        type: Directive,\n        args: [{\n                // tslint:disable-next-line\n                selector: \"option\"\n            }]\n    }], function () { return []; }, { inputClass: [{\n            type: HostBinding,\n            args: [\"class\"]\n        }] }); })();\n\n/**\n * `ibm-select` provides a styled `select` component.\n *\n * [See demo](../../?path=/story/components-select--basic)\n *\n * Example:\n *\n * ```\n * <ibm-select [(ngModel)]=\"model\">\n * \t<option value=\"default\" disabled selected hidden>Choose an option</option>\n * \t<option value=\"option1\">Option 1</option>\n *\t<option value=\"option2\">Option 2</option>\n * \t<option value=\"option3\">Option 3</option>\n * </ibm-select>\n *\t```\n *\n * <example-url>../../iframe.html?id=components-select--basic</example-url>\n */\nclass Select {\n    constructor() {\n        /**\n         * `inline` or `default` select displays\n         */\n        this.display = \"default\";\n        /**\n          * Set to `true` to show a warning (contents set by warningText)\n          */\n        this.warn = false;\n        /**\n         * Sets the unique ID. Defaults to `select-${total count of selects instantiated}`\n         */\n        this.id = `select-${Select.selectCount++}`;\n        /**\n         * Number input field render size\n         */\n        this.size = \"md\";\n        /**\n         * Set to true to disable component.\n         */\n        this.disabled = false;\n        /**\n         * Set to true for a loading select.\n         */\n        this.skeleton = false;\n        /**\n         * Set to `true` for an invalid select component.\n         */\n        this.invalid = false;\n        /**\n         * `light` or `dark` select theme\n         */\n        this.theme = \"dark\";\n        this.valueChange = new EventEmitter();\n        /**\n         * placeholder declarations. Replaced by the functions provided to `registerOnChange` and `registerOnTouched`\n         */\n        this.onChangeHandler = (_) => { };\n        this.onTouchedHandler = () => { };\n    }\n    set value(v) {\n        this._value = v;\n        if (this.select) {\n            this.select.nativeElement.value = this._value;\n        }\n    }\n    get value() {\n        return this._value;\n    }\n    ngAfterViewInit() {\n        if (this.value !== undefined &&\n            this.value !== null &&\n            this.select &&\n            this.select.nativeElement.value !== this.value) {\n            this.select.nativeElement.value = this.value;\n        }\n    }\n    /**\n     * Receives a value from the model.\n     */\n    writeValue(obj) {\n        this.value = obj;\n    }\n    /**\n     * Registers a listener that notifies the model when the control updates\n     */\n    registerOnChange(fn) {\n        this.onChangeHandler = fn;\n    }\n    /**\n     * Registers a listener that notifies the model when the control is blurred\n     */\n    registerOnTouched(fn) {\n        this.onTouchedHandler = fn;\n    }\n    /**\n     * Sets the disabled state through the model\n     */\n    setDisabledState(isDisabled) {\n        this.disabled = isDisabled;\n    }\n    /**\n     * Handles the change event from the `select`.\n     * Sends events to the change handler and emits a `selected` event.\n     */\n    onChange(event) {\n        this.value = event.target.value;\n        this.onChangeHandler(event.target.value);\n        this.valueChange.emit(event.target.value);\n    }\n    /**\n     * Listens for the host blurring, and notifies the model\n     */\n    focusOut() {\n        this.onTouchedHandler();\n    }\n    isTemplate(value) {\n        return value instanceof TemplateRef;\n    }\n}\nSelect.ɵfac = function Select_Factory(t) { return new (t || Select)(); };\nSelect.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: Select, selectors: [[\"ibm-select\"]], viewQuery: function Select_Query(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵviewQuery(_c0, 5);\n    } if (rf & 2) {\n        let _t;\n        ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.select = _t.first);\n    } }, hostBindings: function Select_HostBindings(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵlistener(\"focusout\", function Select_focusout_HostBindingHandler() { return ctx.focusOut(); });\n    } }, inputs: { display: \"display\", warn: \"warn\", id: \"id\", size: \"size\", disabled: \"disabled\", skeleton: \"skeleton\", invalid: \"invalid\", theme: \"theme\", value: \"value\", label: \"label\", helperText: \"helperText\", invalidText: \"invalidText\", warnText: \"warnText\", ariaLabel: \"ariaLabel\" }, outputs: { valueChange: \"valueChange\" }, features: [ɵngcc0.ɵɵProvidersFeature([\n            {\n                provide: NG_VALUE_ACCESSOR,\n                useExisting: Select,\n                multi: true\n            }\n        ])], ngContentSelectors: _c3, decls: 5, vars: 2, consts: [[1, \"bx--form-item\"], [3, \"ngIf\"], [\"class\", \"bx--select\", 3, \"ngClass\", 4, \"ngIf\"], [\"noInline\", \"\"], [\"class\", \"bx--label bx--skeleton\", 4, \"ngIf\"], [1, \"bx--select\", \"bx--skeleton\"], [1, \"bx--label\", \"bx--skeleton\"], [1, \"bx--select\", 3, \"ngClass\"], [\"class\", \"bx--label\", 3, \"for\", 4, \"ngIf\"], [\"class\", \"bx--form__helper-text\", 4, \"ngIf\"], [\"class\", \"bx--select-input--inline__wrapper\", 4, \"ngIf\", \"ngIfElse\"], [1, \"bx--label\", 3, \"for\"], [4, \"ngIf\"], [3, \"ngTemplateOutlet\"], [1, \"bx--form__helper-text\"], [1, \"bx--select-input--inline__wrapper\"], [4, \"ngTemplateOutlet\"], [1, \"bx--select-input__wrapper\"], [1, \"bx--select-input\", 3, \"disabled\", \"ngClass\", \"change\"], [\"select\", \"\"], [\"focusable\", \"false\", \"preserveAspectRatio\", \"xMidYMid meet\", \"xmlns\", \"http://www.w3.org/2000/svg\", \"width\", \"16\", \"height\", \"16\", \"viewBox\", \"0 0 16 16\", \"aria-hidden\", \"true\", 1, \"bx--select__arrow\", 2, \"will-change\", \"transform\"], [\"d\", \"M8 11L3 6 3.7 5.3 8 9.6 12.3 5.3 13 6z\"], [\"ibmIcon\", \"warning--filled\", \"size\", \"16\", \"class\", \"bx--select__invalid-icon\", 4, \"ngIf\"], [\"ibmIcon\", \"warning--alt--filled\", \"size\", \"16\", \"class\", \"bx--select__invalid-icon bx--select__invalid-icon--warning\", 4, \"ngIf\"], [\"role\", \"alert\", \"class\", \"bx--form-requirement\", \"aria-live\", \"polite\", 4, \"ngIf\"], [\"class\", \"bx--form-requirement\", 4, \"ngIf\"], [\"ibmIcon\", \"warning--filled\", \"size\", \"16\", 1, \"bx--select__invalid-icon\"], [\"ibmIcon\", \"warning--alt--filled\", \"size\", \"16\", 1, \"bx--select__invalid-icon\", \"bx--select__invalid-icon--warning\"], [\"role\", \"alert\", \"aria-live\", \"polite\", 1, \"bx--form-requirement\"], [1, \"bx--form-requirement\"]], template: function Select_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵprojectionDef();\n        ɵngcc0.ɵɵelementStart(0, \"div\", 0);\n        ɵngcc0.ɵɵtemplate(1, Select_ng_template_1_Template, 2, 1, \"ng-template\", 1);\n        ɵngcc0.ɵɵtemplate(2, Select_div_2_Template, 4, 11, \"div\", 2);\n        ɵngcc0.ɵɵelementEnd();\n        ɵngcc0.ɵɵtemplate(3, Select_ng_template_3_Template, 10, 13, \"ng-template\", null, 3, ɵngcc0.ɵɵtemplateRefExtractor);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.skeleton);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.skeleton);\n    } }, dependencies: [ɵngcc1.NgClass, ɵngcc1.NgIf, ɵngcc1.NgTemplateOutlet, ɵngcc2.IconDirective], styles: [\".bx--select--inline[_ngcontent-%COMP%]   .bx--form__helper-text[_ngcontent-%COMP%] {\\n\\t\\t\\torder: 4;\\n\\t\\t}\\n\\n\\t\\t.bx--select--inline[_ngcontent-%COMP%]:not(.bx--select--invalid)   .bx--form__helper-text[_ngcontent-%COMP%] {\\n\\t\\t\\tmargin-top: 0;\\n\\t\\t}\"] });\n/**\n * Tracks the total number of selects instantiated. Used to generate unique IDs\n */\nSelect.selectCount = 0;\nSelect.propDecorators = {\n    display: [{ type: Input }],\n    label: [{ type: Input }],\n    helperText: [{ type: Input }],\n    invalidText: [{ type: Input }],\n    warn: [{ type: Input }],\n    warnText: [{ type: Input }],\n    id: [{ type: Input }],\n    size: [{ type: Input }],\n    disabled: [{ type: Input }],\n    skeleton: [{ type: Input }],\n    invalid: [{ type: Input }],\n    theme: [{ type: Input }],\n    ariaLabel: [{ type: Input }],\n    valueChange: [{ type: Output }],\n    select: [{ type: ViewChild, args: [\"select\", { static: false },] }],\n    value: [{ type: Input }],\n    focusOut: [{ type: HostListener, args: [\"focusout\",] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(Select, [{\n        type: Component,\n        args: [{ selector: \"ibm-select\", template: `\n\t\t<div class=\"bx--form-item\">\n\t\t\t<ng-template [ngIf]=\"skeleton\">\n\t\t\t\t<div *ngIf=\"label\" class=\"bx--label bx--skeleton\"></div>\n\t\t\t\t<div class=\"bx--select bx--skeleton\"></div>\n\t\t\t</ng-template>\n\t\t\t<div\n\t\t\t\t*ngIf=\"!skeleton\"\n\t\t\t\tclass=\"bx--select\"\n\t\t\t\t[ngClass]=\"{\n\t\t\t\t\t'bx--select--inline': display === 'inline',\n\t\t\t\t\t'bx--select--light': theme === 'light',\n\t\t\t\t\t'bx--select--invalid': invalid,\n\t\t\t\t\t'bx--select--warning': warn,\n\t\t\t\t\t'bx--select--disabled': disabled\n\t\t\t\t}\">\n\t\t\t\t<label *ngIf=\"label\" [for]=\"id\" class=\"bx--label\">\n\t\t\t\t\t<ng-container *ngIf=\"!isTemplate(label)\">{{label}}</ng-container>\n\t\t\t\t\t<ng-template *ngIf=\"isTemplate(label)\" [ngTemplateOutlet]=\"label\"></ng-template>\n\t\t\t\t</label>\n\t\t\t\t<div *ngIf=\"helperText\" class=\"bx--form__helper-text\">\n\t\t\t\t\t<ng-container *ngIf=\"!isTemplate(helperText)\">{{helperText}}</ng-container>\n\t\t\t\t\t<ng-template *ngIf=\"isTemplate(helperText)\" [ngTemplateOutlet]=\"helperText\"></ng-template>\n\t\t\t\t</div>\n\t\t\t\t<div *ngIf=\"display === 'inline'; else noInline\" class=\"bx--select-input--inline__wrapper\">\n\t\t\t\t\t<ng-container *ngTemplateOutlet=\"noInline\"></ng-container>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\n\t\t<!-- select element: dynamically projected based on 'display' variant -->\n\t\t<ng-template #noInline>\n\t\t\t<div class=\"bx--select-input__wrapper\" [attr.data-invalid]=\"(invalid ? true : null)\">\n\t\t\t\t<select\n\t\t\t\t\t#select\n\t\t\t\t\t[attr.id]=\"id\"\n\t\t\t\t\t[attr.aria-label]=\"ariaLabel\"\n\t\t\t\t\t[disabled]=\"disabled\"\n\t\t\t\t\t(change)=\"onChange($event)\"\n\t\t\t\t\t[attr.aria-invalid]=\"invalid ? 'true' : null\"\n\t\t\t\t\tclass=\"bx--select-input\"\n\t\t\t\t\t[ngClass]=\"{\n\t\t\t\t\t\t'bx--select-input--xl': size === 'xl',\n\t\t\t\t\t\t'bx--select-input--sm': size === 'sm'\n\t\t\t\t\t}\">\n\t\t\t\t\t<ng-content></ng-content>\n\t\t\t\t</select>\n\t\t\t\t<svg\n\t\t\t\t\tfocusable=\"false\"\n\t\t\t\t\tpreserveAspectRatio=\"xMidYMid meet\"\n\t\t\t\t\tstyle=\"will-change: transform;\"\n\t\t\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\t\t\tclass=\"bx--select__arrow\"\n\t\t\t\t\twidth=\"16\"\n\t\t\t\t\theight=\"16\"\n\t\t\t\t\tviewBox=\"0 0 16 16\"\n\t\t\t\t\taria-hidden=\"true\">\n\t\t\t\t\t<path d=\"M8 11L3 6 3.7 5.3 8 9.6 12.3 5.3 13 6z\"></path>\n\t\t\t\t</svg>\n\t\t\t\t<svg\n\t\t\t\t\t*ngIf=\"!warn && invalid\"\n\t\t\t\t\tibmIcon=\"warning--filled\"\n\t\t\t\t\tsize=\"16\"\n\t\t\t\t\tclass=\"bx--select__invalid-icon\">\n\t\t\t\t</svg>\n\t\t\t\t<svg\n\t\t\t\t\t*ngIf=\"!invalid && warn\"\n\t\t\t\t\tibmIcon=\"warning--alt--filled\"\n\t\t\t\t\tsize=\"16\"\n\t\t\t\t\tclass=\"bx--select__invalid-icon bx--select__invalid-icon--warning\">\n\t\t\t\t</svg>\n\t\t\t</div>\n\t\t\t<div *ngIf=\"invalid && invalidText && !warn\" role=\"alert\" class=\"bx--form-requirement\" aria-live=\"polite\">\n\t\t\t\t<ng-container *ngIf=\"!isTemplate(invalidText)\">{{invalidText}}</ng-container>\n\t\t\t\t<ng-template *ngIf=\"isTemplate(invalidText)\" [ngTemplateOutlet]=\"invalidText\"></ng-template>\n\t\t\t</div>\n\t\t\t<div *ngIf=\"!invalid && warn\" class=\"bx--form-requirement\">\n\t\t\t\t<ng-container *ngIf=\"!isTemplate(warnText)\">{{warnText}}</ng-container>\n\t\t\t\t<ng-template *ngIf=\"isTemplate(warnText)\" [ngTemplateOutlet]=\"warnText\"></ng-template>\n\t\t\t</div>\n\t\t</ng-template>\n\t`, providers: [\n                    {\n                        provide: NG_VALUE_ACCESSOR,\n                        useExisting: Select,\n                        multi: true\n                    }\n                ], styles: [\"\\n\\t\\t.bx--select--inline .bx--form__helper-text {\\n\\t\\t\\torder: 4;\\n\\t\\t}\\n\\n\\t\\t.bx--select--inline:not(.bx--select--invalid) .bx--form__helper-text {\\n\\t\\t\\tmargin-top: 0;\\n\\t\\t}\\n\\t\"] }]\n    }], function () { return []; }, { display: [{\n            type: Input\n        }], warn: [{\n            type: Input\n        }], id: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }], disabled: [{\n            type: Input\n        }], skeleton: [{\n            type: Input\n        }], invalid: [{\n            type: Input\n        }], theme: [{\n            type: Input\n        }], valueChange: [{\n            type: Output\n        }], value: [{\n            type: Input\n        }], \n    /**\n     * Listens for the host blurring, and notifies the model\n     */\n    focusOut: [{\n            type: HostListener,\n            args: [\"focusout\"]\n        }], label: [{\n            type: Input\n        }], helperText: [{\n            type: Input\n        }], invalidText: [{\n            type: Input\n        }], warnText: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], select: [{\n            type: ViewChild,\n            args: [\"select\", { static: false }]\n        }] }); })();\n\n// modules\nclass SelectModule {\n}\nSelectModule.ɵfac = function SelectModule_Factory(t) { return new (t || SelectModule)(); };\nSelectModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: SelectModule });\nSelectModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({ imports: [CommonModule,\n        FormsModule,\n        IconModule] });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(SelectModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    Select,\n                    Option,\n                    OptGroup\n                ],\n                exports: [\n                    Select,\n                    Option,\n                    OptGroup\n                ],\n                imports: [\n                    CommonModule,\n                    FormsModule,\n                    IconModule\n                ]\n            }]\n    }], null, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(SelectModule, { declarations: function () { return [Select, Option, OptGroup]; }, imports: function () { return [CommonModule,\n        FormsModule,\n        IconModule]; }, exports: function () { return [Select, Option, OptGroup]; } }); })();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { OptGroup, Option, Select, SelectModule };\n\n","/**\n *\n * carbon-angular v0.0.0 | carbon-components-angular-skeleton.js\n *\n * Copyright 2014, 2023 IBM\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\nimport { Component, Input, NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport * as ɵngcc0 from '@angular/core';\nimport * as ɵngcc1 from '@angular/common';\n\nfunction SkeletonText_p_0_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelement(0, \"p\", 1);\n} if (rf & 2) {\n    const width_r1 = ctx.$implicit;\n    ɵngcc0.ɵɵstyleProp(\"width\", width_r1);\n} }\nclass SkeletonPlaceholder {\n}\nSkeletonPlaceholder.ɵfac = function SkeletonPlaceholder_Factory(t) { return new (t || SkeletonPlaceholder)(); };\nSkeletonPlaceholder.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: SkeletonPlaceholder, selectors: [[\"ibm-skeleton-placeholder\"]], decls: 1, vars: 0, consts: [[1, \"bx--skeleton__placeholder\"]], template: function SkeletonPlaceholder_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵelement(0, \"div\", 0);\n    } }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(SkeletonPlaceholder, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-skeleton-placeholder\",\n                template: `\n\t\t<div class=\"bx--skeleton__placeholder\"></div>`\n            }]\n    }], null, null); })();\n\nclass SkeletonText {\n    constructor() {\n        this.lines = 5;\n        this.minLineWidth = 100;\n        this.maxLineWidth = 300;\n    }\n    /**\n     * Returns a random width in pixels based off a min width, and a max width.\n     */\n    getRandomInt(min, max) {\n        return `${Math.floor(Math.random() * (max - min + 1) + min) + \"px\"}`;\n    }\n    ngOnChanges() {\n        // Creates an array of length defined by input lines with content from\n        // 0 to lines - 1, maps each value to a random width in pixels.\n        this.lineWidths =\n            Array.from(Array(this.lines).keys())\n                .map(num => this.getRandomInt(this.minLineWidth, this.maxLineWidth));\n    }\n}\nSkeletonText.ɵfac = function SkeletonText_Factory(t) { return new (t || SkeletonText)(); };\nSkeletonText.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: SkeletonText, selectors: [[\"ibm-skeleton-text\"]], inputs: { lines: \"lines\", minLineWidth: \"minLineWidth\", maxLineWidth: \"maxLineWidth\" }, features: [ɵngcc0.ɵɵNgOnChangesFeature], decls: 1, vars: 1, consts: [[\"class\", \"bx--skeleton__text\", 3, \"width\", 4, \"ngFor\", \"ngForOf\"], [1, \"bx--skeleton__text\"]], template: function SkeletonText_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵtemplate(0, SkeletonText_p_0_Template, 1, 2, \"p\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"ngForOf\", ctx.lineWidths);\n    } }, dependencies: [ɵngcc1.NgForOf], encapsulation: 2 });\nSkeletonText.propDecorators = {\n    lines: [{ type: Input }],\n    minLineWidth: [{ type: Input }],\n    maxLineWidth: [{ type: Input }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(SkeletonText, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-skeleton-text\",\n                template: `\n\t\t<p\n\t\t\t*ngFor=\"let width of lineWidths\"\n\t\t\tclass=\"bx--skeleton__text\"\n\t\t\t[style.width]=\"width\">\n\t\t</p>\n\t`\n            }]\n    }], function () { return []; }, { lines: [{\n            type: Input\n        }], minLineWidth: [{\n            type: Input\n        }], maxLineWidth: [{\n            type: Input\n        }] }); })();\n\nclass SkeletonModule {\n}\nSkeletonModule.ɵfac = function SkeletonModule_Factory(t) { return new (t || SkeletonModule)(); };\nSkeletonModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: SkeletonModule });\nSkeletonModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({ imports: [CommonModule] });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(SkeletonModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    SkeletonPlaceholder,\n                    SkeletonText\n                ],\n                exports: [\n                    SkeletonPlaceholder,\n                    SkeletonText\n                ],\n                imports: [\n                    CommonModule\n                ]\n            }]\n    }], null, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(SkeletonModule, { declarations: function () { return [SkeletonPlaceholder, SkeletonText]; }, imports: function () { return [CommonModule]; }, exports: function () { return [SkeletonPlaceholder, SkeletonText]; } }); })();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { SkeletonPlaceholder, SkeletonText, SkeletonModule };\n\n","/**\n *\n * carbon-angular v0.0.0 | carbon-components-angular-slider.js\n *\n * Copyright 2014, 2023 IBM\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { Component, HostBinding, Input, Output, EventEmitter, ViewChild, ElementRef, TemplateRef, ViewChildren, ChangeDetectorRef, NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { EventService, UtilsModule } from 'carbon-components-angular/utils';\n\n/**\n * Used to select from ranges of values. [See here](https://www.carbondesignsystem.com/components/slider/usage) for usage information.\n *\n * [See demo](../../?path=/story/components-slider--advanced)\n *\n * The simplest possible slider usage looks something like:\n * ```html\n * <ibm-slider></ibm-slider>\n * ```\n *\n * That will render a slider without labels or alternative value input. Labels can be provided by\n * elements with `[minLabel]` and `[maxLabel]` attributes, and an `input` (may use the `ibmInput` directive) can be supplied\n * for use as an alternative value field.\n *\n * ex:\n * ```html\n * <!-- full example -->\n * <ibm-slider>\n *\t\t<span minLabel>0GB</span>\n *\t\t<span maxLabel>100GB</span>\n *\t\t<input/>\n *\t</ibm-slider>\n * <!-- with just an input -->\n * <ibm-slider>\n *\t\t<input/>\n *\t</ibm-slider>\n * <!-- with just one label -->\n * <ibm-slider>\n *\t\t<span maxLabel>Maximum</span>\n *\t</ibm-slider>\n * ```\n *\n * Slider supports `NgModel` by default, as well as two way binding to the `value` input.\n *\n * <example-url>../../iframe.html?id=components-slider--advanced</example-url>\n */\nimport * as ɵngcc0 from '@angular/core';\nimport * as ɵngcc1 from 'carbon-components-angular/utils';\nimport * as ɵngcc2 from '@angular/common';\n\nconst _c0 = [\"track\"];\nconst _c1 = [\"filledTrack\"];\nconst _c2 = [\"range\"];\nconst _c3 = [\"thumbs\"];\nfunction Slider_ng_container_0_label_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainerStart(0);\n    ɵngcc0.ɵɵtext(1);\n    ɵngcc0.ɵɵelementContainerEnd();\n} if (rf & 2) {\n    const ctx_r9 = ɵngcc0.ɵɵnextContext(3);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate(ctx_r9.label);\n} }\nfunction Slider_ng_container_0_label_1_2_ng_template_0_Template(rf, ctx) { }\nfunction Slider_ng_container_0_label_1_2_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵtemplate(0, Slider_ng_container_0_label_1_2_ng_template_0_Template, 0, 0, \"ng-template\", 14);\n} if (rf & 2) {\n    const ctx_r10 = ɵngcc0.ɵɵnextContext(3);\n    ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r10.label);\n} }\nfunction Slider_ng_container_0_label_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"label\", 13);\n    ɵngcc0.ɵɵtemplate(1, Slider_ng_container_0_label_1_ng_container_1_Template, 2, 1, \"ng-container\", 6);\n    ɵngcc0.ɵɵtemplate(2, Slider_ng_container_0_label_1_2_Template, 1, 1, null, 6);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r3 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵproperty(\"for\", ctx_r3.id)(\"id\", ctx_r3.labelId);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r3.isTemplate(ctx_r3.label));\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r3.isTemplate(ctx_r3.label));\n} }\nconst _c4 = function (a0) { return { left: a0 }; };\nfunction Slider_ng_container_0_ng_container_6_Template(rf, ctx) { if (rf & 1) {\n    const _r14 = ɵngcc0.ɵɵgetCurrentView();\n    ɵngcc0.ɵɵelementContainerStart(0);\n    ɵngcc0.ɵɵelementStart(1, \"div\", 15, 16);\n    ɵngcc0.ɵɵlistener(\"mousedown\", function Slider_ng_container_0_ng_container_6_Template_div_mousedown_1_listener($event) { ɵngcc0.ɵɵrestoreView(_r14); const ctx_r13 = ɵngcc0.ɵɵnextContext(2); return ɵngcc0.ɵɵresetView(ctx_r13.onMouseDown($event)); })(\"keydown\", function Slider_ng_container_0_ng_container_6_Template_div_keydown_1_listener($event) { ɵngcc0.ɵɵrestoreView(_r14); const ctx_r15 = ɵngcc0.ɵɵnextContext(2); return ɵngcc0.ɵɵresetView(ctx_r15.onKeyDown($event)); });\n    ɵngcc0.ɵɵelementEnd();\n    ɵngcc0.ɵɵelementContainerEnd();\n} if (rf & 2) {\n    const ctx_r4 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"id\", ctx_r4.id)(\"ngStyle\", ɵngcc0.ɵɵpureFunction1(3, _c4, ctx_r4.getFractionComplete(ctx_r4.value) * 100 + \"%\"));\n    ɵngcc0.ɵɵattribute(\"aria-labelledby\", ctx_r4.labelId);\n} }\nfunction Slider_ng_container_0_ng_container_7_div_1_Template(rf, ctx) { if (rf & 1) {\n    const _r21 = ɵngcc0.ɵɵgetCurrentView();\n    ɵngcc0.ɵɵelementStart(0, \"div\", 15, 16);\n    ɵngcc0.ɵɵlistener(\"mousedown\", function Slider_ng_container_0_ng_container_7_div_1_Template_div_mousedown_0_listener($event) { const restoredCtx = ɵngcc0.ɵɵrestoreView(_r21); const i_r18 = restoredCtx.index; const ctx_r20 = ɵngcc0.ɵɵnextContext(3); return ɵngcc0.ɵɵresetView(ctx_r20.onMouseDown($event, i_r18)); })(\"keydown\", function Slider_ng_container_0_ng_container_7_div_1_Template_div_keydown_0_listener($event) { const restoredCtx = ɵngcc0.ɵɵrestoreView(_r21); const i_r18 = restoredCtx.index; const ctx_r22 = ɵngcc0.ɵɵnextContext(3); return ɵngcc0.ɵɵresetView(ctx_r22.onKeyDown($event, i_r18)); });\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const thumb_r17 = ctx.$implicit;\n    const i_r18 = ctx.index;\n    const ctx_r16 = ɵngcc0.ɵɵnextContext(3);\n    ɵngcc0.ɵɵproperty(\"id\", ctx_r16.id + (i_r18 > 0 ? \"-\" + i_r18 : \"\"))(\"ngStyle\", ɵngcc0.ɵɵpureFunction1(3, _c4, ctx_r16.getFractionComplete(thumb_r17) * 100 + \"%\"));\n    ɵngcc0.ɵɵattribute(\"aria-labelledby\", ctx_r16.labelId);\n} }\nfunction Slider_ng_container_0_ng_container_7_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainerStart(0);\n    ɵngcc0.ɵɵtemplate(1, Slider_ng_container_0_ng_container_7_div_1_Template, 2, 5, \"div\", 17);\n    ɵngcc0.ɵɵelementContainerEnd();\n} if (rf & 2) {\n    const ctx_r5 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngForOf\", ctx_r5.value)(\"ngForTrackBy\", ctx_r5.trackThumbsBy);\n} }\nconst _c5 = function (a0) { return { \"bx--slider--disabled\": a0 }; };\nfunction Slider_ng_container_0_Template(rf, ctx) { if (rf & 1) {\n    const _r24 = ɵngcc0.ɵɵgetCurrentView();\n    ɵngcc0.ɵɵelementContainerStart(0);\n    ɵngcc0.ɵɵtemplate(1, Slider_ng_container_0_label_1_Template, 3, 4, \"label\", 2);\n    ɵngcc0.ɵɵelementStart(2, \"div\", 3)(3, \"label\", 4);\n    ɵngcc0.ɵɵprojection(4);\n    ɵngcc0.ɵɵelementEnd();\n    ɵngcc0.ɵɵelementStart(5, \"div\", 5);\n    ɵngcc0.ɵɵtemplate(6, Slider_ng_container_0_ng_container_6_Template, 3, 5, \"ng-container\", 6);\n    ɵngcc0.ɵɵtemplate(7, Slider_ng_container_0_ng_container_7_Template, 2, 2, \"ng-container\", 6);\n    ɵngcc0.ɵɵelementStart(8, \"div\", 7, 8);\n    ɵngcc0.ɵɵlistener(\"click\", function Slider_ng_container_0_Template_div_click_8_listener($event) { ɵngcc0.ɵɵrestoreView(_r24); const ctx_r23 = ɵngcc0.ɵɵnextContext(); return ɵngcc0.ɵɵresetView(ctx_r23.onClick($event)); });\n    ɵngcc0.ɵɵelementEnd();\n    ɵngcc0.ɵɵelement(10, \"div\", 9, 10)(12, \"input\", 11, 12);\n    ɵngcc0.ɵɵelementEnd();\n    ɵngcc0.ɵɵelementStart(14, \"label\", 4);\n    ɵngcc0.ɵɵprojection(15, 1);\n    ɵngcc0.ɵɵelementEnd();\n    ɵngcc0.ɵɵprojection(16, 2);\n    ɵngcc0.ɵɵelementEnd();\n    ɵngcc0.ɵɵelementContainerEnd();\n} if (rf & 2) {\n    const ctx_r0 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r0.label);\n    ɵngcc0.ɵɵadvance(2);\n    ɵngcc0.ɵɵproperty(\"id\", ctx_r0.bottomRangeId);\n    ɵngcc0.ɵɵadvance(2);\n    ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction1(10, _c5, ctx_r0.disabled));\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r0.isRange());\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r0.isRange());\n    ɵngcc0.ɵɵadvance(5);\n    ɵngcc0.ɵɵproperty(\"step\", ctx_r0.step)(\"min\", ctx_r0.min)(\"max\", ctx_r0.max)(\"value\", ctx_r0.value.toString());\n    ɵngcc0.ɵɵadvance(2);\n    ɵngcc0.ɵɵproperty(\"id\", ctx_r0.topRangeId);\n} }\nfunction Slider_ng_template_1_label_0_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelement(0, \"label\", 24);\n} }\nfunction Slider_ng_template_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵtemplate(0, Slider_ng_template_1_label_0_Template, 1, 0, \"label\", 18);\n    ɵngcc0.ɵɵelementStart(1, \"div\", 19);\n    ɵngcc0.ɵɵelement(2, \"span\", 20);\n    ɵngcc0.ɵɵelementStart(3, \"div\", 21);\n    ɵngcc0.ɵɵelement(4, \"div\", 22)(5, \"div\", 23)(6, \"div\", 9);\n    ɵngcc0.ɵɵelementEnd();\n    ɵngcc0.ɵɵelement(7, \"span\", 20);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r2 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r2.label);\n} }\nconst _c6 = [[[\"\", \"minLabel\", \"\"]], [[\"\", \"maxLabel\", \"\"]], [[\"input\"]]];\nconst _c7 = [\"[minLabel]\", \"[maxLabel]\", \"input\"];\nclass Slider {\n    constructor(elementRef, eventService, changeDetection) {\n        this.elementRef = elementRef;\n        this.eventService = eventService;\n        this.changeDetection = changeDetection;\n        /** The interval for our range */\n        this.step = 1;\n        /** Base ID for the slider. The min and max labels get IDs `${this.id}-bottom-range` and `${this.id}-top-range` respectively */\n        this.id = `slider-${Slider.count++}`;\n        /** Value used to \"multiply\" the `step` when using arrow keys to select values */\n        this.shiftMultiplier = 4;\n        /** Set to `true` for a loading slider */\n        this.skeleton = false;\n        /** Set to `true` for a slider without arrow key interactions. */\n        this.disableArrowKeys = false;\n        /** Emits every time a new value is selected */\n        this.valueChange = new EventEmitter();\n        this.hostClass = true;\n        this.labelId = `${this.id}-label`;\n        this.bottomRangeId = `${this.id}-bottom-range`;\n        this.topRangeId = `${this.id}-top-range`;\n        this.fractionComplete = 0;\n        this.isMouseDown = false;\n        this._min = 0;\n        this._max = 100;\n        this._value = [this.min];\n        this._previousValue = [this.min];\n        this._disabled = false;\n        this._focusedThumbIndex = 0;\n        /** Send changes back to the model */\n        this.propagateChange = (_) => { };\n        /** Callback to notify the model when our input has been touched */\n        this.onTouched = () => { };\n    }\n    /** The lower bound of our range */\n    set min(v) {\n        if (!v) {\n            return;\n        }\n        this._min = v;\n        // force the component to update\n        this.value = this.value;\n    }\n    get min() {\n        return this._min;\n    }\n    /** The upper bound of our range */\n    set max(v) {\n        if (!v) {\n            return;\n        }\n        this._max = v;\n        // force the component to update\n        this.value = this.value;\n    }\n    get max() {\n        return this._max;\n    }\n    /** Set the initial value. Available for two way binding */\n    set value(v) {\n        if (!v) {\n            v = [this.min];\n        }\n        if (typeof v === \"number\" || typeof v === \"string\") {\n            v = [Number(v)];\n        }\n        if (v[0] < this.min) {\n            v[0] = this.min;\n        }\n        if (v[0] > this.max) {\n            v[0] = this.max;\n        }\n        if (this.isRange()) {\n            if (this._previousValue[0] !== v[0]) { // left moved\n                if (v[0] > v[1] - this.step) {\n                    // stop the left handle if surpassing the right one\n                    v[0] = v[1] - this.step;\n                }\n                else if (v[0] > this.max) {\n                    v[0] = this.max;\n                }\n                else if (v[0] < this.min) {\n                    v[0] = this.min;\n                }\n            }\n            if (this._previousValue[1] !== v[1]) { // right moved\n                if (v[1] > this.max) {\n                    v[1] = this.max;\n                }\n                else if (v[1] < this._value[0] + this.step) {\n                    // stop the right handle if surpassing the left one\n                    v[1] = this._value[0] + this.step;\n                }\n                else if (v[1] < this.min) {\n                    v[1] = this.min;\n                }\n            }\n        }\n        this._previousValue = [...this._value]; // store a copy, enable detection which handle moved\n        this._value = [...v]; // triggers change detection when ngModel value is an array (for range)\n        if (this.isRange() && this.filledTrack) {\n            this.updateTrackRangeWidth();\n        }\n        else if (this.filledTrack) {\n            this.filledTrack.nativeElement.style.transform = `translate(0%, -50%) ${this.scaleX(this.getFractionComplete(v[0]))}`;\n        }\n        if (this.inputs && this.inputs.length) {\n            this.inputs.forEach((input, index) => {\n                input.value = this._value[index].toString();\n            });\n        }\n        const valueToEmit = this.isRange() ? v : v[0];\n        this.propagateChange(valueToEmit);\n        this.valueChange.emit(valueToEmit);\n    }\n    get value() {\n        if (this.isRange()) {\n            return this._value;\n        }\n        return this._value[0];\n    }\n    /** Disables the range visually and functionally */\n    set disabled(v) {\n        this._disabled = v;\n        // for some reason `this.input` never exists here, so we have to query for it here too\n        const inputs = this.getInputs();\n        if (inputs && inputs.length > 0) {\n            inputs.forEach(input => input.disabled = v);\n        }\n    }\n    get disabled() {\n        return this._disabled;\n    }\n    ngAfterViewInit() {\n        // bind mousemove and mouseup to the document so we don't have issues tracking the mouse\n        this.eventService.onDocument(\"mousemove\", this.onMouseMove.bind(this));\n        this.eventService.onDocument(\"mouseup\", this.onMouseUp.bind(this));\n        // apply any values we got from before the view initialized\n        this.changeDetection.detectChanges();\n        // TODO: ontouchstart/ontouchmove/ontouchend\n        // set up the optional input\n        this.inputs = this.getInputs();\n        if (this.inputs && this.inputs.length > 0) {\n            this.inputs.forEach((input, index) => {\n                input.type = \"number\";\n                input.classList.add(\"bx--slider-text-input\");\n                input.classList.add(\"bx--text-input\");\n                input.setAttribute(\"aria-labelledby\", `${this.bottomRangeId} ${this.topRangeId}`);\n                input.value = index < this._value.length ? this._value[index].toString() : this.max.toString();\n                // bind events on our optional input\n                this.eventService.on(input, \"change\", event => this.onChange(event, index));\n                if (index === 0) {\n                    this.eventService.on(input, \"focus\", this.onFocus.bind(this));\n                }\n            });\n        }\n    }\n    trackThumbsBy(index, item) {\n        return index;\n    }\n    /** Register a change propagation function for `ControlValueAccessor` */\n    registerOnChange(fn) {\n        this.propagateChange = fn;\n    }\n    /** Register a callback to notify when our input has been touched */\n    registerOnTouched(fn) {\n        this.onTouched = fn;\n    }\n    /** Receives a value from the model */\n    writeValue(v) {\n        this.value = v;\n    }\n    /**\n     * Returns the amount of \"completeness\" of a value as a fraction of the total track width\n     */\n    getFractionComplete(value) {\n        if (!this.track) {\n            return 0;\n        }\n        const trackWidth = this.track.nativeElement.getBoundingClientRect().width;\n        return this.convertToPx(value) / trackWidth;\n    }\n    /** Helper function to return the CSS transform `scaleX` function */\n    scaleX(complete) {\n        return `scaleX(${complete})`;\n    }\n    /** Converts a given px value to a \"real\" value in our range */\n    convertToValue(pxAmount) {\n        // basic concept borrowed from carbon-components\n        // https://github.com/carbon-design-system/carbon/blob/43bf3abdc2f8bdaa38aa84e0f733adde1e1e8894/src/components/slider/slider.js#L147-L151\n        const range = this.max - this.min;\n        const trackWidth = this.track.nativeElement.getBoundingClientRect().width;\n        const unrounded = pxAmount / trackWidth;\n        const rounded = Math.round((range * unrounded) / this.step) * this.step;\n        return rounded + this.min;\n    }\n    /** Converts a given \"real\" value to a px value we can update the view with */\n    convertToPx(value) {\n        if (!this.track) {\n            return 0;\n        }\n        const trackWidth = this.track.nativeElement.getBoundingClientRect().width;\n        if (value >= this.max) {\n            return trackWidth;\n        }\n        if (value <= this.min) {\n            return 0;\n        }\n        // account for value shifting by subtracting min from value and max\n        return Math.round(trackWidth * ((value - this.min) / (this.max - this.min)));\n    }\n    /**\n     * Increments the value by the step value, or the step value multiplied by the `multiplier` argument.\n     *\n     * @argument multiplier Defaults to `1`, multiplied with the step value.\n     */\n    incrementValue(multiplier = 1, index = 0) {\n        this._value[index] = this._value[index] + (this.step * multiplier);\n        this.value = this.value; // run the setter\n    }\n    /**\n     * Decrements the value by the step value, or the step value multiplied by the `multiplier` argument.\n     *\n     * @argument multiplier Defaults to `1`, multiplied with the step value.\n     */\n    decrementValue(multiplier = 1, index = 0) {\n        this._value[index] = this._value[index] - (this.step * multiplier);\n        this.value = this.value; // run the setter\n    }\n    /**\n     * Determines if the slider is in range mode.\n     */\n    isRange() {\n        return this._value.length > 1;\n    }\n    /**\n     * Range mode only.\n     * Updates the track width to span from the low thumb to the high thumb\n     */\n    updateTrackRangeWidth() {\n        const fraction = this.getFractionComplete(this._value[0]);\n        const fraction2 = this.getFractionComplete(this._value[1]);\n        this.filledTrack.nativeElement.style.transform = `translate(${fraction * 100}%, -50%) ${this.scaleX(fraction2 - fraction)}`;\n    }\n    /** Change handler for the optional input */\n    onChange(event, index) {\n        this._value[index] = Number(event.target.value);\n        this.value = this.value;\n    }\n    /** Handles clicks on the range track, and setting the value to it's \"real\" equivalent */\n    onClick(event) {\n        if (this.disabled) {\n            return;\n        }\n        const trackLeft = this.track.nativeElement.getBoundingClientRect().left;\n        this._value[0] = this.convertToValue(event.clientX - trackLeft);\n        this.value = this.value;\n    }\n    /** Focus handler for the optional input */\n    onFocus({ target }) {\n        target.select();\n    }\n    /** Mouse move handler. Responsible for updating the value and visual selection based on mouse movement */\n    onMouseMove(event) {\n        if (this.disabled || !this.isMouseDown) {\n            return;\n        }\n        const track = this.track.nativeElement.getBoundingClientRect();\n        let value;\n        if (event.clientX - track.left <= track.width\n            && event.clientX - track.left >= 0) {\n            value = this.convertToValue(event.clientX - track.left);\n        }\n        // if the mouse is beyond the max, set the value to `max`\n        if (event.clientX - track.left > track.width) {\n            value = this.max;\n        }\n        // if the mouse is below the min, set the value to `min`\n        if (event.clientX - track.left < 0) {\n            value = this.min;\n        }\n        if (value !== undefined) {\n            this._value[this._focusedThumbIndex] = value;\n            this.value = this.value;\n        }\n    }\n    /**\n     * Enables the `onMouseMove` handler\n     *\n     * @param {boolean} thumb If true then `thumb` is clicked down, otherwise `thumb2` is clicked down.\n     */\n    onMouseDown(event, index = 0) {\n        event.preventDefault();\n        if (this.disabled) {\n            return;\n        }\n        this._focusedThumbIndex = index;\n        this.thumbs.toArray()[index].nativeElement.focus();\n        this.isMouseDown = true;\n    }\n    /** Disables the `onMouseMove` handler */\n    onMouseUp() {\n        this.isMouseDown = false;\n    }\n    /**\n     * Calls `incrementValue` for ArrowRight and ArrowUp, `decrementValue` for ArrowLeft and ArrowDown.\n     *\n     * @param {boolean} thumb If true then `thumb` is pressed down, otherwise `thumb2` is pressed down.\n     */\n    onKeyDown(event, index = 0) {\n        if (this.disableArrowKeys) {\n            return;\n        }\n        const multiplier = event.shiftKey ? this.shiftMultiplier : 1;\n        if (event.key === \"ArrowLeft\" || event.key === \"ArrowDown\") {\n            this.decrementValue(multiplier, index);\n            this.thumbs.toArray()[index].nativeElement.focus();\n            event.preventDefault();\n        }\n        else if (event.key === \"ArrowRight\" || event.key === \"ArrowUp\") {\n            this.incrementValue(multiplier, index);\n            this.thumbs.toArray()[index].nativeElement.focus();\n            event.preventDefault();\n        }\n    }\n    isTemplate(value) {\n        return value instanceof TemplateRef;\n    }\n    /** Get optional input fields */\n    getInputs() {\n        return this.elementRef.nativeElement.querySelectorAll(\"input:not([type=range])\");\n    }\n}\nSlider.ɵfac = function Slider_Factory(t) { return new (t || Slider)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef), ɵngcc0.ɵɵdirectiveInject(ɵngcc1.EventService), ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ChangeDetectorRef)); };\nSlider.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: Slider, selectors: [[\"ibm-slider\"]], viewQuery: function Slider_Query(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵviewQuery(_c0, 5);\n        ɵngcc0.ɵɵviewQuery(_c1, 5);\n        ɵngcc0.ɵɵviewQuery(_c2, 5);\n        ɵngcc0.ɵɵviewQuery(_c3, 5);\n    } if (rf & 2) {\n        let _t;\n        ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.track = _t.first);\n        ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.filledTrack = _t.first);\n        ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.range = _t.first);\n        ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.thumbs = _t);\n    } }, hostVars: 2, hostBindings: function Slider_HostBindings(rf, ctx) { if (rf & 2) {\n        ɵngcc0.ɵɵclassProp(\"bx--form-item\", ctx.hostClass);\n    } }, inputs: { step: \"step\", id: \"id\", shiftMultiplier: \"shiftMultiplier\", skeleton: \"skeleton\", disableArrowKeys: \"disableArrowKeys\", min: \"min\", value: \"value\", max: \"max\", disabled: \"disabled\", label: \"label\" }, outputs: { valueChange: \"valueChange\" }, features: [ɵngcc0.ɵɵProvidersFeature([\n            {\n                provide: NG_VALUE_ACCESSOR,\n                useExisting: Slider,\n                multi: true\n            }\n        ])], ngContentSelectors: _c7, decls: 3, vars: 2, consts: [[4, \"ngIf\", \"ngIfElse\"], [\"skeletonTemplate\", \"\"], [\"class\", \"bx--label\", 3, \"for\", \"id\", 4, \"ngIf\"], [1, \"bx--slider-container\"], [1, \"bx--slider__range-label\", 3, \"id\"], [1, \"bx--slider\", 3, \"ngClass\"], [4, \"ngIf\"], [1, \"bx--slider__track\", 3, \"click\"], [\"track\", \"\"], [1, \"bx--slider__filled-track\"], [\"filledTrack\", \"\"], [\"aria-label\", \"slider\", \"type\", \"range\", 1, \"bx--slider__input\", 3, \"step\", \"min\", \"max\", \"value\"], [\"range\", \"\"], [1, \"bx--label\", 3, \"for\", \"id\"], [3, \"ngTemplateOutlet\"], [\"role\", \"slider\", \"tabindex\", \"0\", 1, \"bx--slider__thumb\", 3, \"id\", \"ngStyle\", \"mousedown\", \"keydown\"], [\"thumbs\", \"\"], [\"role\", \"slider\", \"class\", \"bx--slider__thumb\", \"tabindex\", \"0\", 3, \"id\", \"ngStyle\", \"mousedown\", \"keydown\", 4, \"ngFor\", \"ngForOf\", \"ngForTrackBy\"], [\"class\", \"bx--label bx--skeleton\", 4, \"ngIf\"], [1, \"bx--slider-container\", \"bx--skeleton\"], [1, \"bx--slider__range-label\"], [1, \"bx--slider\"], [1, \"bx--slider__thumb\"], [1, \"bx--slider__track\"], [1, \"bx--label\", \"bx--skeleton\"]], template: function Slider_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵprojectionDef(_c6);\n        ɵngcc0.ɵɵtemplate(0, Slider_ng_container_0_Template, 17, 12, \"ng-container\", 0);\n        ɵngcc0.ɵɵtemplate(1, Slider_ng_template_1_Template, 8, 1, \"ng-template\", null, 1, ɵngcc0.ɵɵtemplateRefExtractor);\n    } if (rf & 2) {\n        const _r1 = ɵngcc0.ɵɵreference(2);\n        ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.skeleton)(\"ngIfElse\", _r1);\n    } }, dependencies: [ɵngcc2.NgClass, ɵngcc2.NgForOf, ɵngcc2.NgIf, ɵngcc2.NgTemplateOutlet, ɵngcc2.NgStyle], encapsulation: 2 });\n/** Used to generate unique IDs */\nSlider.count = 0;\n/** @nocollapse */\nSlider.ctorParameters = () => [\n    { type: ElementRef },\n    { type: EventService },\n    { type: ChangeDetectorRef }\n];\nSlider.propDecorators = {\n    min: [{ type: Input }],\n    max: [{ type: Input }],\n    step: [{ type: Input }],\n    value: [{ type: Input }],\n    id: [{ type: Input }],\n    shiftMultiplier: [{ type: Input }],\n    skeleton: [{ type: Input }],\n    label: [{ type: Input }],\n    disableArrowKeys: [{ type: Input }],\n    disabled: [{ type: Input }],\n    valueChange: [{ type: Output }],\n    hostClass: [{ type: HostBinding, args: [\"class.bx--form-item\",] }],\n    thumbs: [{ type: ViewChildren, args: [\"thumbs\",] }],\n    track: [{ type: ViewChild, args: [\"track\", { static: false },] }],\n    filledTrack: [{ type: ViewChild, args: [\"filledTrack\", { static: false },] }],\n    range: [{ type: ViewChild, args: [\"range\", { static: false },] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(Slider, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-slider\",\n                template: `\n\t\t<ng-container *ngIf=\"!skeleton; else skeletonTemplate\">\n\t\t\t<label *ngIf=\"label\" [for]=\"id\" [id]=\"labelId\" class=\"bx--label\">\n\t\t\t\t<ng-container *ngIf=\"!isTemplate(label)\">{{label}}</ng-container>\n\t\t\t\t<ng-template *ngIf=\"isTemplate(label)\" [ngTemplateOutlet]=\"label\"></ng-template>\n\t\t\t</label>\n\t\t\t<div class=\"bx--slider-container\">\n\t\t\t\t<label [id]=\"bottomRangeId\" class=\"bx--slider__range-label\">\n\t\t\t\t\t<ng-content select=\"[minLabel]\"></ng-content>\n\t\t\t\t</label>\n\t\t\t\t<div\n\t\t\t\t\tclass=\"bx--slider\"\n\t\t\t\t\t[ngClass]=\"{'bx--slider--disabled': disabled}\">\n\t\t\t\t\t<ng-container *ngIf=\"!isRange()\">\n\t\t\t\t\t\t<div\n\t\t\t\t\t\t\t#thumbs\n\t\t\t\t\t\t\trole=\"slider\"\n\t\t\t\t\t\t\t[id]=\"id\"\n\t\t\t\t\t\t\t[attr.aria-labelledby]=\"labelId\"\n\t\t\t\t\t\t\tclass=\"bx--slider__thumb\"\n\t\t\t\t\t\t\t[ngStyle]=\"{left: getFractionComplete(value) * 100 + '%'}\"\n\t\t\t\t\t\t\ttabindex=\"0\"\n\t\t\t\t\t\t\t(mousedown)=\"onMouseDown($event)\"\n\t\t\t\t\t\t\t(keydown)=\"onKeyDown($event)\">\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</ng-container>\n\t\t\t\t\t<ng-container *ngIf=\"isRange()\">\n\t\t\t\t\t\t<div\n\t\t\t\t\t\t\t#thumbs\n\t\t\t\t\t\t\t*ngFor=\"let thumb of value; let i = index; trackBy: trackThumbsBy\"\n\t\t\t\t\t\t\trole=\"slider\"\n\t\t\t\t\t\t\t[id]=\"id + (i > 0 ? '-' + i : '')\"\n\t\t\t\t\t\t\t[attr.aria-labelledby]=\"labelId\"\n\t\t\t\t\t\t\tclass=\"bx--slider__thumb\"\n\t\t\t\t\t\t\t[ngStyle]=\"{left: getFractionComplete(thumb) * 100 + '%'}\"\n\t\t\t\t\t\t\ttabindex=\"0\"\n\t\t\t\t\t\t\t(mousedown)=\"onMouseDown($event, i)\"\n\t\t\t\t\t\t\t(keydown)=\"onKeyDown($event, i)\">\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</ng-container>\n\t\t\t\t\t<div\n\t\t\t\t\t\t#track\n\t\t\t\t\t\tclass=\"bx--slider__track\"\n\t\t\t\t\t\t(click)=\"onClick($event)\">\n\t\t\t\t\t</div>\n\t\t\t\t\t<div\n\t\t\t\t\t\t#filledTrack\n\t\t\t\t\t\tclass=\"bx--slider__filled-track\">\n\t\t\t\t\t</div>\n\t\t\t\t\t<input\n\t\t\t\t\t\t#range\n\t\t\t\t\t\taria-label=\"slider\"\n\t\t\t\t\t\tclass=\"bx--slider__input\"\n\t\t\t\t\t\ttype=\"range\"\n\t\t\t\t\t\t[step]=\"step\"\n\t\t\t\t\t\t[min]=\"min\"\n\t\t\t\t\t\t[max]=\"max\"\n\t\t\t\t\t\t[value]=\"value.toString()\">\n\t\t\t\t</div>\n\t\t\t\t<label [id]=\"topRangeId\" class=\"bx--slider__range-label\">\n\t\t\t\t\t<ng-content select=\"[maxLabel]\"></ng-content>\n\t\t\t\t</label>\n\t\t\t\t<ng-content select=\"input\"></ng-content>\n\t\t\t</div>\n\t\t</ng-container>\n\n\t\t<ng-template #skeletonTemplate>\n\t\t\t<label *ngIf=\"label\" class=\"bx--label bx--skeleton\"></label>\n\t\t\t<div class=\"bx--slider-container bx--skeleton\">\n\t\t\t\t<span class=\"bx--slider__range-label\"></span>\n\t\t\t\t<div class=\"bx--slider\">\n\t\t\t\t\t<div class=\"bx--slider__thumb\"></div>\n\t\t\t\t\t<div class=\"bx--slider__track\"></div>\n\t\t\t\t\t<div class=\"bx--slider__filled-track\"></div>\n\t\t\t\t</div>\n\t\t\t\t<span class=\"bx--slider__range-label\"></span>\n\t\t\t</div>\n\t\t</ng-template>\n\t`,\n                providers: [\n                    {\n                        provide: NG_VALUE_ACCESSOR,\n                        useExisting: Slider,\n                        multi: true\n                    }\n                ]\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }, { type: ɵngcc1.EventService }, { type: ɵngcc0.ChangeDetectorRef }]; }, { step: [{\n            type: Input\n        }], id: [{\n            type: Input\n        }], shiftMultiplier: [{\n            type: Input\n        }], skeleton: [{\n            type: Input\n        }], disableArrowKeys: [{\n            type: Input\n        }], valueChange: [{\n            type: Output\n        }], hostClass: [{\n            type: HostBinding,\n            args: [\"class.bx--form-item\"]\n        }], min: [{\n            type: Input\n        }], value: [{\n            type: Input\n        }], max: [{\n            type: Input\n        }], disabled: [{\n            type: Input\n        }], label: [{\n            type: Input\n        }], thumbs: [{\n            type: ViewChildren,\n            args: [\"thumbs\"]\n        }], track: [{\n            type: ViewChild,\n            args: [\"track\", { static: false }]\n        }], filledTrack: [{\n            type: ViewChild,\n            args: [\"filledTrack\", { static: false }]\n        }], range: [{\n            type: ViewChild,\n            args: [\"range\", { static: false }]\n        }] }); })();\n\nclass SliderModule {\n}\nSliderModule.ɵfac = function SliderModule_Factory(t) { return new (t || SliderModule)(); };\nSliderModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: SliderModule });\nSliderModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({ imports: [CommonModule,\n        UtilsModule] });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(SliderModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [Slider],\n                exports: [Slider],\n                imports: [\n                    CommonModule,\n                    UtilsModule\n                ]\n            }]\n    }], null, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(SliderModule, { declarations: function () { return [Slider]; }, imports: function () { return [CommonModule,\n        UtilsModule]; }, exports: function () { return [Slider]; } }); })();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { Slider, SliderModule };\n\n","/**\n *\n * carbon-angular v0.0.0 | carbon-components-angular-structured-list.js\n *\n * Copyright 2014, 2023 IBM\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { Component, HostBinding, Input, ContentChildren, HostListener, ViewChild, EventEmitter, Output, NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { IconModule } from 'carbon-components-angular/icon';\n\n/**\n * `ListColumn` represents a single column in a `StructuredList`.\n *\n * `ListColumn`s can be used in a `ListHeader` to specify the column headers, or in `ListRow`s to specify the column data.\n *\n * Example:\n * ```html\n * <ibm-list-column nowrap=\"true\">Column 1</ibm-list-column>\n * ```\n */\nimport * as ɵngcc0 from '@angular/core';\nimport * as ɵngcc1 from '@angular/common';\nimport * as ɵngcc2 from 'carbon-components-angular/icon';\n\nfunction ListColumn_span_0_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelement(0, \"span\");\n} }\nconst _c0 = [\"*\"];\nfunction ListHeader_div_2_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelement(0, \"div\", 2);\n} }\nconst _c1 = [\"input\"];\nfunction ListRow_ng_container_1_Template(rf, ctx) { if (rf & 1) {\n    const _r3 = ɵngcc0.ɵɵgetCurrentView();\n    ɵngcc0.ɵɵelementContainerStart(0);\n    ɵngcc0.ɵɵelementStart(1, \"input\", 1, 2);\n    ɵngcc0.ɵɵlistener(\"change\", function ListRow_ng_container_1_Template_input_change_1_listener($event) { ɵngcc0.ɵɵrestoreView(_r3); const ctx_r2 = ɵngcc0.ɵɵnextContext(); return ɵngcc0.ɵɵresetView(ctx_r2.onChange($event)); });\n    ɵngcc0.ɵɵelementEnd();\n    ɵngcc0.ɵɵelementStart(3, \"div\", 3);\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵelement(4, \"svg\", 4);\n    ɵngcc0.ɵɵelementEnd();\n    ɵngcc0.ɵɵelementContainerEnd();\n} if (rf & 2) {\n    const ctx_r0 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"value\", ctx_r0.value)(\"name\", ctx_r0.name)(\"title\", ctx_r0.label)(\"checked\", ctx_r0.selected);\n} }\nconst _c2 = [[[\"ibm-list-header\"]], \"*\"];\nconst _c3 = function (a0, a1, a2, a3, a4) { return { \"bx--structured-list--border\": a0, \"bx--structured-list--selection\": a1, \"bx--structured-list--condensed\": a2, \"bx--structured-list-content--nowrap\": a3, \"bx--skeleton\": a4 }; };\nconst _c4 = [\"ibm-list-header\", \"*\"];\nclass ListColumn {\n    constructor() {\n        this.skeleton = false;\n        this.isHeaderColumn = true;\n        this.isBodyColumn = true;\n        /**\n         * Applies `white-space: nowrap` to the content of this `ListColumn`\n         */\n        this.nowrap = false;\n    }\n}\nListColumn.ɵfac = function ListColumn_Factory(t) { return new (t || ListColumn)(); };\nListColumn.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: ListColumn, selectors: [[\"ibm-list-column\"]], hostVars: 6, hostBindings: function ListColumn_HostBindings(rf, ctx) { if (rf & 2) {\n        ɵngcc0.ɵɵclassProp(\"bx--structured-list-th\", ctx.isHeaderColumn)(\"bx--structured-list-td\", ctx.isBodyColumn)(\"bx--structured-list-content--nowrap\", ctx.nowrap);\n    } }, inputs: { skeleton: \"skeleton\", nowrap: \"nowrap\" }, ngContentSelectors: _c0, decls: 2, vars: 1, consts: [[4, \"ngIf\"]], template: function ListColumn_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵprojectionDef();\n        ɵngcc0.ɵɵtemplate(0, ListColumn_span_0_Template, 1, 0, \"span\", 0);\n        ɵngcc0.ɵɵprojection(1);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.skeleton);\n    } }, dependencies: [ɵngcc1.NgIf], encapsulation: 2 });\nListColumn.propDecorators = {\n    skeleton: [{ type: Input }],\n    isHeaderColumn: [{ type: HostBinding, args: [\"class.bx--structured-list-th\",] }],\n    isBodyColumn: [{ type: HostBinding, args: [\"class.bx--structured-list-td\",] }],\n    nowrap: [{ type: HostBinding, args: [\"class.bx--structured-list-content--nowrap\",] }, { type: Input }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ListColumn, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-list-column\",\n                template: `\n\t\t<span *ngIf=\"skeleton\"></span>\n\t\t<ng-content></ng-content>\n\t`\n            }]\n    }], function () { return []; }, { skeleton: [{\n            type: Input\n        }], isHeaderColumn: [{\n            type: HostBinding,\n            args: [\"class.bx--structured-list-th\"]\n        }], isBodyColumn: [{\n            type: HostBinding,\n            args: [\"class.bx--structured-list-td\"]\n        }], nowrap: [{\n            type: HostBinding,\n            args: [\"class.bx--structured-list-content--nowrap\"]\n        }, {\n            type: Input\n        }] }); })();\n\n/**\n * `ListHeader` provides a container for the `ListColumn`s that make up the header of a structured list.\n *\n * Example:\n * ```html\n * \t<ibm-list-header>\n *\t\t<ibm-list-column nowrap=\"true\">Column 1</ibm-list-column>\n *\t\t<ibm-list-column nowrap=\"true\">Column 2</ibm-list-column>\n *\t\t<ibm-list-column>Column 3</ibm-list-column>\n *\t</ibm-list-header>\n * ```\n */\nclass ListHeader {\n    constructor() {\n        this.wrapper = true;\n        /**\n         * Set by the containing `StructuredList`. Adds a dummy header for the selection column when set to true.\n         */\n        this.selection = false;\n        this._skeleton = false;\n    }\n    set skeleton(value) {\n        this._skeleton = value;\n        this.updateChildren();\n    }\n    get skeleton() {\n        return this._skeleton;\n    }\n    ngAfterContentInit() {\n        this.columns.forEach(column => {\n            column.isBodyColumn = false;\n            column.isHeaderColumn = true;\n        });\n        this.updateChildren();\n    }\n    updateChildren() {\n        if (this.columns) {\n            this.columns.toArray().forEach(child => child.skeleton = this.skeleton);\n        }\n    }\n}\nListHeader.ɵfac = function ListHeader_Factory(t) { return new (t || ListHeader)(); };\nListHeader.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: ListHeader, selectors: [[\"ibm-list-header\"]], contentQueries: function ListHeader_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {\n        ɵngcc0.ɵɵcontentQuery(dirIndex, ListColumn, 4);\n    } if (rf & 2) {\n        let _t;\n        ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.columns = _t);\n    } }, hostVars: 2, hostBindings: function ListHeader_HostBindings(rf, ctx) { if (rf & 2) {\n        ɵngcc0.ɵɵclassProp(\"bx--structured-list-thead\", ctx.wrapper);\n    } }, inputs: { skeleton: \"skeleton\" }, ngContentSelectors: _c0, decls: 3, vars: 1, consts: [[1, \"bx--structured-list-row\", \"bx--structured-list-row--header-row\"], [\"class\", \"bx--structured-list-th\", 4, \"ngIf\"], [1, \"bx--structured-list-th\"]], template: function ListHeader_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵprojectionDef();\n        ɵngcc0.ɵɵelementStart(0, \"div\", 0);\n        ɵngcc0.ɵɵprojection(1);\n        ɵngcc0.ɵɵtemplate(2, ListHeader_div_2_Template, 1, 0, \"div\", 1);\n        ɵngcc0.ɵɵelementEnd();\n    } if (rf & 2) {\n        ɵngcc0.ɵɵadvance(2);\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.selection);\n    } }, dependencies: [ɵngcc1.NgIf], encapsulation: 2 });\nListHeader.propDecorators = {\n    wrapper: [{ type: HostBinding, args: [\"class.bx--structured-list-thead\",] }],\n    skeleton: [{ type: Input }],\n    columns: [{ type: ContentChildren, args: [ListColumn,] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ListHeader, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-list-header\",\n                template: `\n\t\t<div class=\"bx--structured-list-row bx--structured-list-row--header-row\">\n\t\t\t<ng-content></ng-content>\n\t\t\t<div *ngIf=\"selection\" class=\"bx--structured-list-th\"></div>\n\t\t</div>\n\t`\n            }]\n    }], function () { return []; }, { wrapper: [{\n            type: HostBinding,\n            args: [\"class.bx--structured-list-thead\"]\n        }], skeleton: [{\n            type: Input\n        }], columns: [{\n            type: ContentChildren,\n            args: [ListColumn]\n        }] }); })();\n\n/**\n * `ListRow` provides a container for the `ListColumn`s that make up the body of a structured list.\n *\n * Example:\n * ```html\n * \t<ibm-list-row>\n *\t\t<ibm-list-column>Row 1</ibm-list-column>\n *\t\t<ibm-list-column nowrap=\"true\">Row One</ibm-list-column>\n *\t\t<ibm-list-column>\n *\t\t\tLorem ipsum dolor sit amet,\n *\t\t\tconsectetur adipiscing elit. Nunc dui magna,\n *\t\t\tfinibus id tortor sed, aliquet bibendum augue.\n *\t\t\tAenean posuere sem vel euismod dignissim. Nulla ut cursus dolor.\n *\t\t\tPellentesque vulputate nisl a porttitor interdum.\n *\t\t</ibm-list-column>\n *\t</ibm-list-row>\n * ```\n */\nclass ListRow {\n    constructor() {\n        this.selected = false;\n        /**\n         * Internal event used to notify the containing `StructuredList` of changes.\n         */\n        this.change = new EventEmitter();\n        /**\n         * Set by the containing `StructuredList`. Enables or disables row level selection features.\n         */\n        this.selection = false;\n        /**\n         * Set by the containing `StructuredList`. When `selection = true`, used for the `name` property on the radio input.\n         */\n        this.name = \"list\";\n        this.wrapper = true;\n        this.tabindex = this.selection ? \"0\" : null;\n    }\n    ngAfterContentInit() {\n        this.columns.forEach(column => {\n            column.isBodyColumn = true;\n            column.isHeaderColumn = false;\n        });\n    }\n    onclick() {\n        if (this.selection) {\n            this.input.nativeElement.click();\n        }\n    }\n    onChange(event) {\n        this.change.emit(event);\n    }\n}\nListRow.ɵfac = function ListRow_Factory(t) { return new (t || ListRow)(); };\nListRow.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: ListRow, selectors: [[\"ibm-list-row\"]], contentQueries: function ListRow_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {\n        ɵngcc0.ɵɵcontentQuery(dirIndex, ListColumn, 4);\n    } if (rf & 2) {\n        let _t;\n        ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.columns = _t);\n    } }, viewQuery: function ListRow_Query(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵviewQuery(_c1, 5);\n    } if (rf & 2) {\n        let _t;\n        ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.input = _t.first);\n    } }, hostVars: 6, hostBindings: function ListRow_HostBindings(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵlistener(\"click\", function ListRow_click_HostBindingHandler() { return ctx.onclick(); });\n    } if (rf & 2) {\n        ɵngcc0.ɵɵattribute(\"tabindex\", ctx.tabindex)(\"aria-label\", ctx.label);\n        ɵngcc0.ɵɵclassProp(\"bx--structured-list-row--selected\", ctx.selected)(\"bx--structured-list-row\", ctx.wrapper);\n    } }, inputs: { selected: \"selected\", label: \"label\", value: \"value\" }, outputs: { change: \"change\" }, ngContentSelectors: _c0, decls: 2, vars: 1, consts: [[4, \"ngIf\"], [\"tabindex\", \"-1\", \"type\", \"radio\", 1, \"bx--structured-list-input\", 3, \"value\", \"name\", \"title\", \"checked\", \"change\"], [\"input\", \"\"], [1, \"bx--structured-list-td\"], [\"ibmIcon\", \"checkmark--filled\", \"size\", \"16\", 1, \"bx--structured-list-svg\"]], template: function ListRow_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵprojectionDef();\n        ɵngcc0.ɵɵprojection(0);\n        ɵngcc0.ɵɵtemplate(1, ListRow_ng_container_1_Template, 5, 4, \"ng-container\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.selection);\n    } }, dependencies: [ɵngcc1.NgIf, ɵngcc2.IconDirective], encapsulation: 2 });\nListRow.propDecorators = {\n    selected: [{ type: Input }, { type: HostBinding, args: [\"class.bx--structured-list-row--selected\",] }],\n    label: [{ type: Input }, { type: HostBinding, args: [\"attr.aria-label\",] }],\n    value: [{ type: Input }],\n    change: [{ type: Output }],\n    wrapper: [{ type: HostBinding, args: [\"class.bx--structured-list-row\",] }],\n    tabindex: [{ type: HostBinding, args: [\"attr.tabindex\",] }],\n    columns: [{ type: ContentChildren, args: [ListColumn,] }],\n    input: [{ type: ViewChild, args: [\"input\", { static: false },] }],\n    onclick: [{ type: HostListener, args: [\"click\",] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ListRow, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-list-row\",\n                template: `\n\t\t<ng-content></ng-content>\n\t\t<ng-container *ngIf=\"selection\">\n\t\t\t<input\n\t\t\t\t#input\n\t\t\t\ttabindex=\"-1\"\n\t\t\t\tclass=\"bx--structured-list-input\"\n\t\t\t\ttype=\"radio\"\n\t\t\t\t[value]=\"value\"\n\t\t\t\t[name]=\"name\"\n\t\t\t\t[title]=\"label\"\n\t\t\t\t(change)=\"onChange($event)\"\n\t\t\t\t[checked]=\"selected\"/>\n\t\t\t<div class=\"bx--structured-list-td\">\n\t\t\t\t<svg ibmIcon=\"checkmark--filled\" size=\"16\" class=\"bx--structured-list-svg\"></svg>\n\t\t\t</div>\n\t\t</ng-container>\n\t`\n            }]\n    }], function () { return []; }, { selected: [{\n            type: Input\n        }, {\n            type: HostBinding,\n            args: [\"class.bx--structured-list-row--selected\"]\n        }], change: [{\n            type: Output\n        }], wrapper: [{\n            type: HostBinding,\n            args: [\"class.bx--structured-list-row\"]\n        }], tabindex: [{\n            type: HostBinding,\n            args: [\"attr.tabindex\"]\n        }], onclick: [{\n            type: HostListener,\n            args: [\"click\"]\n        }], label: [{\n            type: Input\n        }, {\n            type: HostBinding,\n            args: [\"attr.aria-label\"]\n        }], value: [{\n            type: Input\n        }], columns: [{\n            type: ContentChildren,\n            args: [ListColumn]\n        }], input: [{\n            type: ViewChild,\n            args: [\"input\", { static: false }]\n        }] }); })();\n\n/**\n * Structured Lists represent related tabular data. For larger datasets consider a full `Table`.\n *\n * [See demo](../../?path=/story/components-structured-list--basic)\n *\n * See [structured-list/usage](https://www.carbondesignsystem.com/components/structured-list/usage) for usage guidance.\n *\n * A basic structued list looks something like:\n * ```html\n *\t<ibm-structured-list>\n *\t\t<ibm-list-header>\n *\t\t\t<ibm-list-column nowrap=\"true\">Column 1</ibm-list-column>\n *\t\t\t<ibm-list-column nowrap=\"true\">Column 2</ibm-list-column>\n *\t\t\t<ibm-list-column>Column 3</ibm-list-column>\n *\t\t</ibm-list-header>\n *\t\t<ibm-list-row>\n *\t\t\t<ibm-list-column>Row 1</ibm-list-column>\n *\t\t\t<ibm-list-column nowrap=\"true\">Row One</ibm-list-column>\n *\t\t\t<ibm-list-column>\n *\t\t\t\tLorem ipsum dolor sit amet,\n *\t\t\t\tconsectetur adipiscing elit. Nunc dui magna,\n *\t\t\t\tfinibus id tortor sed, aliquet bibendum augue.\n *\t\t\t\tAenean posuere sem vel euismod dignissim. Nulla ut cursus dolor.\n *\t\t\t\tPellentesque vulputate nisl a porttitor interdum.\n *\t\t\t</ibm-list-column>\n *\t\t</ibm-list-row>\n *\t\t<ibm-list-row>\n *\t\t\t<ibm-list-column>Row 2</ibm-list-column>\n *\t\t\t<ibm-list-column nowrap=\"true\">Row Two</ibm-list-column>\n *\t\t\t<ibm-list-column>\n *\t\t\t\tLorem ipsum dolor sit amet,\n *\t\t\t\tconsectetur adipiscing elit. Nunc dui magna,\n *\t\t\t\tfinibus id tortor sed, aliquet bibendum augue.\n *\t\t\t\tAenean posuere sem vel euismod dignissim. Nulla ut cursus dolor.\n *\t\t\t\tPellentesque vulputate nisl a porttitor interdum.\n *\t\t\t</ibm-list-column>\n *\t\t</ibm-list-row>\n *\t</ibm-structured-list>\n * ```\n *\n * <example-url>../../iframe.html?id=components-structured-list--basic</example-url>\n */\nclass StructuredList {\n    constructor() {\n        /**\n         * Set to `true` to enable radio like selection of the rows.\n         */\n        this.selection = false;\n        /**\n         * Set to `true` to apply a border and white background.\n         */\n        this.border = false;\n        /**\n         * Set to `true` to apply a condensed style to the headers and rows.\n         */\n        this.condensed = false;\n        /**\n         * Set to `true` to apply `white-space: nowrap` on _all_ conent.\n         */\n        this.nowrap = false;\n        /**\n         * Used when `selection = true` as the row radio group `name`\n         */\n        this.name = `structured-list-${StructuredList.listCount++}`;\n        /**\n         * Emits an event when the row selection changes.\n         *\n         * Emits an object that looks like:\n         * ```javascript\n         * {\n         * \tvalue: \"something\",\n         * \tselected: true,\n         * \tname: \"structured-list-1\"\n         * }\n         * ```\n         */\n        this.selected = new EventEmitter();\n        this._skeleton = false;\n        this.onChange = (_) => { };\n        this.onTouched = () => { };\n    }\n    /**\n     * Sets the skeleton value for all `ListHeader` to the skeleton value of `StructuredList`.\n     */\n    set skeleton(value) {\n        this._skeleton = value;\n        this.updateChildren();\n    }\n    /**\n     * Returns the skeleton value in the `StructuredList` if there is one.\n     */\n    get skeleton() {\n        return this._skeleton;\n    }\n    ngAfterContentInit() {\n        const setSelection = (rowOrHeader) => {\n            rowOrHeader.selection = this.selection;\n        };\n        this.headers.forEach(setSelection);\n        this.rows.forEach(row => {\n            setSelection(row);\n            row.name = this.name;\n            row.tabindex = this.selection ? \"0\" : \"null\";\n            row.change.subscribe(() => {\n                this.selected.emit({\n                    value: row.value,\n                    selected: row.selected,\n                    name: this.name\n                });\n                this.onChange(row.value);\n            });\n        });\n        this.updateChildren();\n    }\n    writeValue(value) {\n        if (!this.rows) {\n            return;\n        }\n        this.rows.forEach(row => {\n            if (row.value === value) {\n                row.selected = true;\n            }\n            else {\n                row.selected = false;\n            }\n        });\n    }\n    registerOnChange(fn) {\n        this.onChange = fn;\n    }\n    registerOnTouched(fn) {\n        this.onTouched = fn;\n    }\n    updateChildren() {\n        if (this.headers) {\n            this.headers.toArray().forEach(child => child.skeleton = this.skeleton);\n        }\n    }\n}\nStructuredList.ɵfac = function StructuredList_Factory(t) { return new (t || StructuredList)(); };\nStructuredList.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: StructuredList, selectors: [[\"ibm-structured-list\"]], contentQueries: function StructuredList_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {\n        ɵngcc0.ɵɵcontentQuery(dirIndex, ListRow, 4);\n        ɵngcc0.ɵɵcontentQuery(dirIndex, ListHeader, 4);\n    } if (rf & 2) {\n        let _t;\n        ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.rows = _t);\n        ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.headers = _t);\n    } }, inputs: { selection: \"selection\", border: \"border\", condensed: \"condensed\", nowrap: \"nowrap\", name: \"name\", skeleton: \"skeleton\" }, outputs: { selected: \"selected\" }, features: [ɵngcc0.ɵɵProvidersFeature([\n            {\n                provide: NG_VALUE_ACCESSOR,\n                useExisting: StructuredList,\n                multi: true\n            }\n        ])], ngContentSelectors: _c4, decls: 4, vars: 7, consts: [[1, \"bx--structured-list\", 3, \"ngClass\"], [1, \"bx--structured-list-tbody\"]], template: function StructuredList_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵprojectionDef(_c2);\n        ɵngcc0.ɵɵelementStart(0, \"section\", 0);\n        ɵngcc0.ɵɵprojection(1);\n        ɵngcc0.ɵɵelementStart(2, \"div\", 1);\n        ɵngcc0.ɵɵprojection(3, 1);\n        ɵngcc0.ɵɵelementEnd()();\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction5(1, _c3, ctx.border, ctx.selection, ctx.condensed, ctx.nowrap, ctx.skeleton));\n    } }, dependencies: [ɵngcc1.NgClass], encapsulation: 2 });\n/**\n * A counter to provide unique default values.\n */\nStructuredList.listCount = 0;\nStructuredList.propDecorators = {\n    selection: [{ type: Input }],\n    border: [{ type: Input }],\n    condensed: [{ type: Input }],\n    nowrap: [{ type: Input }],\n    name: [{ type: Input }],\n    skeleton: [{ type: Input }],\n    selected: [{ type: Output }],\n    rows: [{ type: ContentChildren, args: [ListRow,] }],\n    headers: [{ type: ContentChildren, args: [ListHeader,] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(StructuredList, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-structured-list\",\n                template: `\n\t\t<section\n\t\t\tclass=\"bx--structured-list\"\n\t\t\t[ngClass]=\"{\n\t\t\t\t'bx--structured-list--border': border,\n\t\t\t\t'bx--structured-list--selection': selection,\n\t\t\t\t'bx--structured-list--condensed': condensed,\n\t\t\t\t'bx--structured-list-content--nowrap': nowrap,\n\t\t\t\t'bx--skeleton': skeleton\n\t\t\t}\">\n\t\t\t<ng-content select=\"ibm-list-header\"></ng-content>\n\t\t\t<div class=\"bx--structured-list-tbody\">\n\t\t\t\t<ng-content></ng-content>\n\t\t\t</div>\n\t\t</section>\n\t`,\n                providers: [\n                    {\n                        provide: NG_VALUE_ACCESSOR,\n                        useExisting: StructuredList,\n                        multi: true\n                    }\n                ]\n            }]\n    }], function () { return []; }, { selection: [{\n            type: Input\n        }], border: [{\n            type: Input\n        }], condensed: [{\n            type: Input\n        }], nowrap: [{\n            type: Input\n        }], name: [{\n            type: Input\n        }], selected: [{\n            type: Output\n        }], skeleton: [{\n            type: Input\n        }], rows: [{\n            type: ContentChildren,\n            args: [ListRow]\n        }], headers: [{\n            type: ContentChildren,\n            args: [ListHeader]\n        }] }); })();\n\nclass StructuredListModule {\n}\nStructuredListModule.ɵfac = function StructuredListModule_Factory(t) { return new (t || StructuredListModule)(); };\nStructuredListModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: StructuredListModule });\nStructuredListModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({ imports: [CommonModule,\n        IconModule] });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(StructuredListModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    StructuredList,\n                    ListRow,\n                    ListHeader,\n                    ListColumn\n                ],\n                exports: [\n                    StructuredList,\n                    ListRow,\n                    ListHeader,\n                    ListColumn\n                ],\n                imports: [\n                    CommonModule,\n                    IconModule\n                ]\n            }]\n    }], null, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(StructuredListModule, { declarations: function () { return [StructuredList, ListRow, ListHeader, ListColumn]; }, imports: function () { return [CommonModule,\n        IconModule]; }, exports: function () { return [StructuredList, ListRow, ListHeader, ListColumn]; } }); })();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { ListColumn, ListHeader, ListRow, StructuredList, StructuredListModule };\n\n","/**\n *\n * carbon-angular v0.0.0 | carbon-components-angular-forms.js\n *\n * Copyright 2014, 2023 IBM\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\nimport { NgModule } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { CommonModule } from '@angular/common';\nimport { CheckboxModule } from 'carbon-components-angular/checkbox';\nimport * as ɵngcc0 from '@angular/core';\nexport { CheckboxModule, Checkbox, CheckboxChange, CheckboxState } from 'carbon-components-angular/checkbox';\nimport { ToggleModule } from 'carbon-components-angular/toggle';\nexport { ToggleModule, Toggle, ToggleChange, ToggleState } from 'carbon-components-angular/toggle';\nimport { RadioModule } from 'carbon-components-angular/radio';\nexport { RadioModule, Radio, RadioChange, RadioGroup } from 'carbon-components-angular/radio';\nimport { InputModule } from 'carbon-components-angular/input';\nexport { InputModule, Label, TextArea, TextInput, TextInputLabelComponent, TextareaLabelComponent } from 'carbon-components-angular/input';\nimport { ButtonModule } from 'carbon-components-angular/button';\nexport { ButtonModule, Button, ButtonSet } from 'carbon-components-angular/button';\n\n// modules\nclass NFormsModule {\n}\nNFormsModule.ɵfac = function NFormsModule_Factory(t) { return new (t || NFormsModule)(); };\nNFormsModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: NFormsModule });\nNFormsModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({ imports: [CommonModule,\n        FormsModule,\n        CheckboxModule,\n        ToggleModule,\n        RadioModule,\n        InputModule,\n        ButtonModule, CheckboxModule,\n        ToggleModule,\n        RadioModule,\n        InputModule,\n        ButtonModule,\n        InputModule] });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(NFormsModule, [{\n        type: NgModule,\n        args: [{\n                exports: [\n                    CheckboxModule,\n                    ToggleModule,\n                    RadioModule,\n                    InputModule,\n                    ButtonModule,\n                    InputModule\n                ],\n                imports: [\n                    CommonModule,\n                    FormsModule,\n                    CheckboxModule,\n                    ToggleModule,\n                    RadioModule,\n                    InputModule,\n                    ButtonModule\n                ]\n            }]\n    }], null, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(NFormsModule, { imports: function () { return [CommonModule,\n        FormsModule,\n        CheckboxModule,\n        ToggleModule,\n        RadioModule,\n        InputModule,\n        ButtonModule]; }, exports: function () { return [CheckboxModule,\n        ToggleModule,\n        RadioModule,\n        InputModule,\n        ButtonModule,\n        InputModule]; } }); })();\n\n// export the forms module\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { NFormsModule };\n\n","/**\n *\n * carbon-angular v0.0.0 | carbon-components-angular-table.js\n *\n * Copyright 2014, 2023 IBM\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\nimport { Subject, BehaviorSubject, combineLatest, Subscription, fromEvent } from 'rxjs';\nimport { tabbableSelectorIgnoreTabIndex, getFocusElementList } from 'carbon-components-angular/common';\nimport { merge, getScrollbarWidth } from 'carbon-components-angular/utils';\nimport { map } from 'rxjs/operators';\nimport { EventEmitter, Component, Input, Output, HostBinding, Directive, ApplicationRef, ElementRef, ContentChild, HostListener, NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { NG_VALUE_ACCESSOR, FormsModule } from '@angular/forms';\nimport { NFormsModule } from 'carbon-components-angular/forms';\nimport { DialogModule } from 'carbon-components-angular/dialog';\nimport { I18n, I18nModule } from 'carbon-components-angular/i18n';\nimport { ButtonModule } from 'carbon-components-angular/button';\nimport { Search, SearchModule } from 'carbon-components-angular/search';\nimport { IconModule } from 'carbon-components-angular/icon';\n\nimport * as ɵngcc0 from '@angular/core';\nimport * as ɵngcc1 from 'carbon-components-angular/i18n';\nimport * as ɵngcc2 from '@angular/common';\nimport * as ɵngcc3 from 'carbon-components-angular/button';\nimport * as ɵngcc4 from 'carbon-components-angular/icon';\nimport * as ɵngcc5 from 'carbon-components-angular/dialog';\nimport * as ɵngcc6 from 'carbon-components-angular/checkbox';\nimport * as ɵngcc7 from 'carbon-components-angular/radio';\n\nfunction TableToolbar_div_2_p_7_ng_container_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainerStart(0);\n    ɵngcc0.ɵɵelementStart(1, \"span\");\n    ɵngcc0.ɵɵtext(2);\n    ɵngcc0.ɵɵelementEnd();\n    ɵngcc0.ɵɵtext(3);\n    ɵngcc0.ɵɵelementContainerEnd();\n} if (rf & 2) {\n    const legacyText_r6 = ctx.ngIf;\n    const n_r2 = ɵngcc0.ɵɵnextContext().ngIf;\n    ɵngcc0.ɵɵadvance(2);\n    ɵngcc0.ɵɵtextInterpolate(n_r2);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate1(\" \", legacyText_r6, \" \");\n} }\nfunction TableToolbar_div_2_p_7_ng_template_3_span_0_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"span\");\n    ɵngcc0.ɵɵtext(1);\n    ɵngcc0.ɵɵpipe(2, \"async\");\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r8 = ɵngcc0.ɵɵnextContext(4);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate(ɵngcc0.ɵɵpipeBind1(2, 1, ctx_r8._batchTextSingle.subject));\n} }\nconst _c0 = function (a0) { return { count: a0 }; };\nfunction TableToolbar_div_2_p_7_ng_template_3_span_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"span\");\n    ɵngcc0.ɵɵtext(1);\n    ɵngcc0.ɵɵpipe(2, \"async\");\n    ɵngcc0.ɵɵpipe(3, \"i18nReplace\");\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const n_r2 = ɵngcc0.ɵɵnextContext(2).ngIf;\n    const ctx_r9 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate(ɵngcc0.ɵɵpipeBind1(2, 1, ɵngcc0.ɵɵpipeBind2(3, 3, ctx_r9._batchTextMultiple.subject, ɵngcc0.ɵɵpureFunction1(6, _c0, n_r2))));\n} }\nfunction TableToolbar_div_2_p_7_ng_template_3_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵtemplate(0, TableToolbar_div_2_p_7_ng_template_3_span_0_Template, 3, 3, \"span\", 10);\n    ɵngcc0.ɵɵtemplate(1, TableToolbar_div_2_p_7_ng_template_3_span_1_Template, 4, 8, \"span\", 10);\n} if (rf & 2) {\n    const n_r2 = ɵngcc0.ɵɵnextContext().ngIf;\n    ɵngcc0.ɵɵproperty(\"ngIf\", n_r2 === 1);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", n_r2 !== 1);\n} }\nfunction TableToolbar_div_2_p_7_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"p\", 7);\n    ɵngcc0.ɵɵtemplate(1, TableToolbar_div_2_p_7_ng_container_1_Template, 4, 2, \"ng-container\", 8);\n    ɵngcc0.ɵɵpipe(2, \"async\");\n    ɵngcc0.ɵɵtemplate(3, TableToolbar_div_2_p_7_ng_template_3_Template, 2, 2, \"ng-template\", null, 9, ɵngcc0.ɵɵtemplateRefExtractor);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const _r4 = ɵngcc0.ɵɵreference(4);\n    const ctx_r1 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", ɵngcc0.ɵɵpipeBind1(2, 2, ctx_r1._batchTextLegacy.subject))(\"ngIfElse\", _r4);\n} }\nconst _c1 = function (a0) { return { \"bx--batch-actions--active\": a0 }; };\nfunction TableToolbar_div_2_Template(rf, ctx) { if (rf & 1) {\n    const _r13 = ɵngcc0.ɵɵgetCurrentView();\n    ɵngcc0.ɵɵelementStart(0, \"div\", 2)(1, \"div\", 3);\n    ɵngcc0.ɵɵprojection(2, 1);\n    ɵngcc0.ɵɵelementStart(3, \"button\", 4);\n    ɵngcc0.ɵɵlistener(\"click\", function TableToolbar_div_2_Template_button_click_3_listener() { ɵngcc0.ɵɵrestoreView(_r13); const ctx_r12 = ɵngcc0.ɵɵnextContext(); return ɵngcc0.ɵɵresetView(ctx_r12.onCancel()); });\n    ɵngcc0.ɵɵtext(4);\n    ɵngcc0.ɵɵpipe(5, \"async\");\n    ɵngcc0.ɵɵelementEnd()();\n    ɵngcc0.ɵɵelementStart(6, \"div\", 5);\n    ɵngcc0.ɵɵtemplate(7, TableToolbar_div_2_p_7_Template, 5, 4, \"p\", 6);\n    ɵngcc0.ɵɵelementEnd()();\n} if (rf & 2) {\n    const ctx_r0 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction1(6, _c1, ctx_r0.selected));\n    ɵngcc0.ɵɵadvance(3);\n    ɵngcc0.ɵɵproperty(\"tabindex\", ctx_r0.selected ? 0 : -1);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate1(\" \", ɵngcc0.ɵɵpipeBind1(5, 4, ctx_r0._cancelText.subject), \" \");\n    ɵngcc0.ɵɵadvance(3);\n    ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r0.count);\n} }\nconst _c2 = [\"*\", [[\"ibm-table-toolbar-actions\"]]];\nconst _c3 = function (a0) { return { \"bx--table-toolbar--small\": a0 }; };\nconst _c4 = [\"*\", \"ibm-table-toolbar-actions\"];\nconst _c5 = [\"*\"];\nfunction TableToolbarSearch_div_3_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelement(0, \"div\", 5);\n} }\nfunction TableToolbarSearch_ng_template_4_button_2_Template(rf, ctx) { if (rf & 1) {\n    const _r8 = ɵngcc0.ɵɵgetCurrentView();\n    ɵngcc0.ɵɵelementStart(0, \"button\", 10);\n    ɵngcc0.ɵɵlistener(\"click\", function TableToolbarSearch_ng_template_4_button_2_Template_button_click_0_listener() { ɵngcc0.ɵɵrestoreView(_r8); const ctx_r7 = ɵngcc0.ɵɵnextContext(2); return ɵngcc0.ɵɵresetView(ctx_r7.openSearch()); });\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵelement(1, \"svg\", 11);\n    ɵngcc0.ɵɵelementEnd();\n} }\nfunction TableToolbarSearch_ng_template_4__svg_svg_3_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵelement(0, \"svg\", 11);\n} }\nfunction TableToolbarSearch_ng_template_4_Template(rf, ctx) { if (rf & 1) {\n    const _r10 = ɵngcc0.ɵɵgetCurrentView();\n    ɵngcc0.ɵɵelementStart(0, \"input\", 6, 7);\n    ɵngcc0.ɵɵlistener(\"input\", function TableToolbarSearch_ng_template_4_Template_input_input_0_listener($event) { ɵngcc0.ɵɵrestoreView(_r10); const ctx_r9 = ɵngcc0.ɵɵnextContext(); return ɵngcc0.ɵɵresetView(ctx_r9.onSearch($event.target.value)); })(\"keyup.enter\", function TableToolbarSearch_ng_template_4_Template_input_keyup_enter_0_listener() { ɵngcc0.ɵɵrestoreView(_r10); const ctx_r11 = ɵngcc0.ɵɵnextContext(); return ɵngcc0.ɵɵresetView(ctx_r11.onEnter()); });\n    ɵngcc0.ɵɵelementEnd();\n    ɵngcc0.ɵɵtemplate(2, TableToolbarSearch_ng_template_4_button_2_Template, 2, 0, \"button\", 8);\n    ɵngcc0.ɵɵtemplate(3, TableToolbarSearch_ng_template_4__svg_svg_3_Template, 1, 0, \"svg\", 9);\n} if (rf & 2) {\n    const ctx_r2 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵproperty(\"type\", ctx_r2.tableSearch || !ctx_r2.toolbar ? \"text\" : \"search\")(\"id\", ctx_r2.id)(\"value\", ctx_r2.value)(\"autocomplete\", ctx_r2.autocomplete)(\"placeholder\", ctx_r2.placeholder)(\"disabled\", ctx_r2.disabled)(\"required\", ctx_r2.required);\n    ɵngcc0.ɵɵadvance(2);\n    ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r2.tableSearch && ctx_r2.toolbar);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r2.tableSearch || !ctx_r2.toolbar);\n} }\nconst _c6 = function (a0) { return { \"bx--search-close--hidden\": a0 }; };\nfunction TableToolbarSearch_button_6_Template(rf, ctx) { if (rf & 1) {\n    const _r13 = ɵngcc0.ɵɵgetCurrentView();\n    ɵngcc0.ɵɵelementStart(0, \"button\", 12);\n    ɵngcc0.ɵɵlistener(\"click\", function TableToolbarSearch_button_6_Template_button_click_0_listener() { ɵngcc0.ɵɵrestoreView(_r13); const ctx_r12 = ɵngcc0.ɵɵnextContext(); return ɵngcc0.ɵɵresetView(ctx_r12.clearSearch()); });\n    ɵngcc0.ɵɵelementStart(1, \"span\", 13);\n    ɵngcc0.ɵɵtext(2);\n    ɵngcc0.ɵɵelementEnd();\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵelement(3, \"svg\", 14);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r3 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction1(3, _c6, !ctx_r3.value || ctx_r3.value.length === 0))(\"title\", ctx_r3.clearButtonTitle);\n    ɵngcc0.ɵɵadvance(2);\n    ɵngcc0.ɵɵtextInterpolate(ctx_r3.clearButtonTitle);\n} }\nconst _c7 = function (a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11) { return { \"bx--search--sm\": a0, \"bx--search--lg\": a1, \"bx--search--xl\": a2, \"bx--search--light\": a3, \"bx--skeleton\": a4, \"bx--search--expandable\": a5, \"bx--search--expanded\": a6, \"bx--toolbar-search\": a7, \"bx--toolbar-search--active\": a8, \"bx--toolbar-search-container-persistent\": a9, \"bx--toolbar-search-container-expandable\": a10, \"bx--toolbar-search-container-active\": a11 }; };\nconst _c8 = function () { return { \"overflow-y\": \"scroll\" }; };\nfunction Table_tbody_2_Template(rf, ctx) { if (rf & 1) {\n    const _r7 = ɵngcc0.ɵɵgetCurrentView();\n    ɵngcc0.ɵɵelementStart(0, \"tbody\", 6);\n    ɵngcc0.ɵɵlistener(\"deselectRow\", function Table_tbody_2_Template_tbody_deselectRow_0_listener($event) { ɵngcc0.ɵɵrestoreView(_r7); const ctx_r6 = ɵngcc0.ɵɵnextContext(); return ɵngcc0.ɵɵresetView(ctx_r6.onSelectRow($event)); })(\"scroll\", function Table_tbody_2_Template_tbody_scroll_0_listener($event) { ɵngcc0.ɵɵrestoreView(_r7); const ctx_r8 = ɵngcc0.ɵɵnextContext(); return ɵngcc0.ɵɵresetView(ctx_r8.onScroll($event)); })(\"selectRow\", function Table_tbody_2_Template_tbody_selectRow_0_listener($event) { ɵngcc0.ɵɵrestoreView(_r7); const ctx_r9 = ɵngcc0.ɵɵnextContext(); return ɵngcc0.ɵɵresetView(ctx_r9.onSelectRow($event)); })(\"rowClick\", function Table_tbody_2_Template_tbody_rowClick_0_listener($event) { ɵngcc0.ɵɵrestoreView(_r7); const ctx_r10 = ɵngcc0.ɵɵnextContext(); return ɵngcc0.ɵɵresetView(ctx_r10.onRowClick($event)); });\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r0 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵproperty(\"checkboxRowLabel\", ctx_r0.getCheckboxRowLabel())(\"enableSingleSelect\", ctx_r0.enableSingleSelect)(\"expandButtonAriaLabel\", ctx_r0.expandButtonAriaLabel)(\"model\", ctx_r0.model)(\"size\", ctx_r0.size)(\"ngStyle\", ɵngcc0.ɵɵpureFunction0(9, _c8))(\"selectionLabelColumn\", ctx_r0.selectionLabelColumn)(\"showSelectionColumn\", ctx_r0.showSelectionColumn)(\"skeleton\", ctx_r0.skeleton);\n} }\nfunction Table_ng_template_3_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵprojection(0);\n} }\nfunction Table_ng_template_6_Template(rf, ctx) { }\nfunction Table_tr_7_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"tr\")(1, \"td\", 7)(2, \"div\", 8);\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵelementStart(3, \"svg\", 9);\n    ɵngcc0.ɵɵelement(4, \"circle\", 10);\n    ɵngcc0.ɵɵelementEnd()()()();\n} }\nfunction Table_tr_8_Template(rf, ctx) { if (rf & 1) {\n    const _r12 = ɵngcc0.ɵɵgetCurrentView();\n    ɵngcc0.ɵɵelementStart(0, \"tr\")(1, \"td\", 11)(2, \"h5\");\n    ɵngcc0.ɵɵtext(3);\n    ɵngcc0.ɵɵpipe(4, \"async\");\n    ɵngcc0.ɵɵelementEnd();\n    ɵngcc0.ɵɵelementStart(5, \"button\", 12);\n    ɵngcc0.ɵɵlistener(\"click\", function Table_tr_8_Template_button_click_5_listener($event) { ɵngcc0.ɵɵrestoreView(_r12); const ctx_r11 = ɵngcc0.ɵɵnextContext(); return ɵngcc0.ɵɵresetView(ctx_r11.scrollToTop($event)); });\n    ɵngcc0.ɵɵtext(6);\n    ɵngcc0.ɵɵpipe(7, \"async\");\n    ɵngcc0.ɵɵelementEnd()()();\n} if (rf & 2) {\n    const ctx_r5 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵadvance(3);\n    ɵngcc0.ɵɵtextInterpolate(ɵngcc0.ɵɵpipeBind1(4, 2, ctx_r5.getEndOfDataText()));\n    ɵngcc0.ɵɵadvance(3);\n    ɵngcc0.ɵɵtextInterpolate1(\" \", ɵngcc0.ɵɵpipeBind1(7, 4, ctx_r5.getScrollTopText()), \" \");\n} }\nconst _c9 = function (a0) { return { \"bx--data-table--sticky-header\": a0 }; };\nconst _c10 = [\"ibmTableHead\", \"\"];\nconst _c11 = function (a0) { return { \"bx--table-expand-v2\": a0 }; };\nfunction TableHead_ng_container_0_th_2_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelement(0, \"th\", 6);\n} if (rf & 2) {\n    const ctx_r1 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction1(2, _c11, ctx_r1.stickyHeader))(\"id\", ctx_r1.model.getId(\"expand\"));\n} }\nfunction TableHead_ng_container_0_th_3_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelement(0, \"th\", 7);\n} if (rf & 2) {\n    const ctx_r2 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵproperty(\"id\", ctx_r2.model.getId(\"select\"));\n} }\nfunction TableHead_ng_container_0_th_4_Template(rf, ctx) { if (rf & 1) {\n    const _r7 = ɵngcc0.ɵɵgetCurrentView();\n    ɵngcc0.ɵɵelementStart(0, \"th\", 8);\n    ɵngcc0.ɵɵlistener(\"change\", function TableHead_ng_container_0_th_4_Template_th_change_0_listener() { ɵngcc0.ɵɵrestoreView(_r7); const ctx_r6 = ɵngcc0.ɵɵnextContext(2); return ɵngcc0.ɵɵresetView(ctx_r6.onSelectAllCheckboxChange()); });\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r3 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵproperty(\"checked\", ctx_r3.selectAllCheckbox)(\"indeterminate\", ctx_r3.selectAllCheckboxSomeSelected)(\"ariaLabel\", ctx_r3.getCheckboxHeaderLabel())(\"size\", ctx_r3.size)(\"skeleton\", ctx_r3.skeleton)(\"name\", ctx_r3.model.getHeaderId(\"select\"))(\"id\", ctx_r3.model.getId(\"select\"));\n} }\nfunction TableHead_ng_container_0_ng_container_5_th_1_Template(rf, ctx) { if (rf & 1) {\n    const _r13 = ɵngcc0.ɵɵgetCurrentView();\n    ɵngcc0.ɵɵelementStart(0, \"th\", 10);\n    ɵngcc0.ɵɵlistener(\"sort\", function TableHead_ng_container_0_ng_container_5_th_1_Template_th_sort_0_listener() { ɵngcc0.ɵɵrestoreView(_r13); const i_r9 = ɵngcc0.ɵɵnextContext().index; const ctx_r11 = ɵngcc0.ɵɵnextContext(2); return ɵngcc0.ɵɵresetView(ctx_r11.sort.emit(i_r9)); });\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r14 = ɵngcc0.ɵɵnextContext();\n    const column_r8 = ctx_r14.$implicit;\n    const i_r9 = ctx_r14.index;\n    const ctx_r10 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵclassMap(column_r8.className);\n    ɵngcc0.ɵɵproperty(\"ngStyle\", column_r8.style)(\"sortable\", ctx_r10.sortable)(\"skeleton\", ctx_r10.skeleton)(\"id\", ctx_r10.model.getId(i_r9))(\"column\", column_r8)(\"skeleton\", ctx_r10.skeleton)(\"filterTitle\", ctx_r10.getFilterTitle());\n    ɵngcc0.ɵɵattribute(\"colspan\", column_r8.colSpan)(\"rowspan\", column_r8.rowSpan);\n} }\nfunction TableHead_ng_container_0_ng_container_5_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainerStart(0);\n    ɵngcc0.ɵɵtemplate(1, TableHead_ng_container_0_ng_container_5_th_1_Template, 1, 11, \"th\", 9);\n    ɵngcc0.ɵɵelementContainerEnd();\n} if (rf & 2) {\n    const column_r8 = ctx.$implicit;\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", column_r8 && column_r8.visible);\n} }\nconst _c12 = function (a0) { return { \"width\": a0, \"padding\": 0, \"border\": 0 }; };\nfunction TableHead_ng_container_0_th_6_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelement(0, \"th\", 11);\n} if (rf & 2) {\n    const ctx_r5 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵproperty(\"ngStyle\", ɵngcc0.ɵɵpureFunction1(1, _c12, ctx_r5.scrollbarWidth + \"px\"));\n} }\nfunction TableHead_ng_container_0_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainerStart(0);\n    ɵngcc0.ɵɵelementStart(1, \"tr\");\n    ɵngcc0.ɵɵtemplate(2, TableHead_ng_container_0_th_2_Template, 1, 4, \"th\", 1);\n    ɵngcc0.ɵɵtemplate(3, TableHead_ng_container_0_th_3_Template, 1, 1, \"th\", 2);\n    ɵngcc0.ɵɵtemplate(4, TableHead_ng_container_0_th_4_Template, 1, 7, \"th\", 3);\n    ɵngcc0.ɵɵtemplate(5, TableHead_ng_container_0_ng_container_5_Template, 2, 1, \"ng-container\", 4);\n    ɵngcc0.ɵɵtemplate(6, TableHead_ng_container_0_th_6_Template, 1, 3, \"th\", 5);\n    ɵngcc0.ɵɵelementEnd();\n    ɵngcc0.ɵɵelementContainerEnd();\n} if (rf & 2) {\n    const ctx_r0 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵadvance(2);\n    ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r0.model.hasExpandableRows());\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r0.skeleton && ctx_r0.showSelectionColumn && ctx_r0.enableSingleSelect);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r0.skeleton && ctx_r0.showSelectionColumn && !ctx_r0.enableSingleSelect);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngForOf\", ctx_r0.model.header);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r0.skeleton && ctx_r0.stickyHeader && ctx_r0.scrollbarWidth);\n} }\nconst _c13 = [\"ibmTableHeadCell\", \"\"];\nfunction TableHeadCell_button_0_div_3_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"div\", 9);\n    ɵngcc0.ɵɵtext(1);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r3 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate1(\" \", ctx_r3.column.data, \" \");\n} }\nfunction TableHeadCell_button_0_4_ng_template_0_Template(rf, ctx) { }\nconst _c14 = function (a0) { return { data: a0 }; };\nfunction TableHeadCell_button_0_4_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵtemplate(0, TableHeadCell_button_0_4_ng_template_0_Template, 0, 0, \"ng-template\", 10);\n} if (rf & 2) {\n    const ctx_r4 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r4.column.template)(\"ngTemplateOutletContext\", ɵngcc0.ɵɵpureFunction1(2, _c14, ctx_r4.column.data));\n} }\nfunction TableHeadCell_button_0__svg_svg_5_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵelementStart(0, \"svg\", 11);\n    ɵngcc0.ɵɵelement(1, \"path\", 12);\n    ɵngcc0.ɵɵelementEnd();\n} }\nfunction TableHeadCell_button_0__svg_svg_6_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵelementStart(0, \"svg\", 13);\n    ɵngcc0.ɵɵelement(1, \"path\", 14);\n    ɵngcc0.ɵɵelementEnd();\n} }\nconst _c15 = function (a0, a1) { return { \"bx--table-sort--active\": a0, \"bx--table-sort--ascending\": a1 }; };\nfunction TableHeadCell_button_0_Template(rf, ctx) { if (rf & 1) {\n    const _r9 = ɵngcc0.ɵɵgetCurrentView();\n    ɵngcc0.ɵɵelementStart(0, \"button\", 3);\n    ɵngcc0.ɵɵlistener(\"click\", function TableHeadCell_button_0_Template_button_click_0_listener() { ɵngcc0.ɵɵrestoreView(_r9); const ctx_r8 = ɵngcc0.ɵɵnextContext(); return ɵngcc0.ɵɵresetView(ctx_r8.onClick()); });\n    ɵngcc0.ɵɵpipe(1, \"async\");\n    ɵngcc0.ɵɵelementStart(2, \"span\", 4);\n    ɵngcc0.ɵɵtemplate(3, TableHeadCell_button_0_div_3_Template, 2, 1, \"div\", 5);\n    ɵngcc0.ɵɵtemplate(4, TableHeadCell_button_0_4_Template, 1, 4, null, 6);\n    ɵngcc0.ɵɵtemplate(5, TableHeadCell_button_0__svg_svg_5_Template, 2, 0, \"svg\", 7);\n    ɵngcc0.ɵɵtemplate(6, TableHeadCell_button_0__svg_svg_6_Template, 2, 0, \"svg\", 8);\n    ɵngcc0.ɵɵelementEnd()();\n} if (rf & 2) {\n    const ctx_r0 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction2(9, _c15, ctx_r0.column.sorted, ctx_r0.column.sortDirection === \"ASCENDING\"));\n    ɵngcc0.ɵɵattribute(\"aria-label\", ɵngcc0.ɵɵpipeBind1(1, 7, ctx_r0.column.sorted && ctx_r0.column.sortDirection === \"ASCENDING\" ? ctx_r0.getSortDescendingLabel() : ctx_r0.getSortAscendingLabel()));\n    ɵngcc0.ɵɵadvance(2);\n    ɵngcc0.ɵɵproperty(\"title\", ctx_r0.column.title);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r0.skeleton && !ctx_r0.column.template);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r0.skeleton && ctx_r0.column.template);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r0.skeleton);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r0.skeleton);\n} }\nfunction TableHeadCell_div_1_span_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"span\", 17);\n    ɵngcc0.ɵɵtext(1);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r10 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵproperty(\"title\", ctx_r10.column.data);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate(ctx_r10.column.data);\n} }\nfunction TableHeadCell_div_1_ng_template_2_Template(rf, ctx) { }\nfunction TableHeadCell_div_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"div\", 15);\n    ɵngcc0.ɵɵtemplate(1, TableHeadCell_div_1_span_1_Template, 2, 2, \"span\", 16);\n    ɵngcc0.ɵɵtemplate(2, TableHeadCell_div_1_ng_template_2_Template, 0, 0, \"ng-template\", 10);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r1 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r1.column.template);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r1.column.template)(\"ngTemplateOutletContext\", ɵngcc0.ɵɵpureFunction1(3, _c14, ctx_r1.column.data));\n} }\nfunction TableHeadCell_button_2_span_4_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵnamespaceHTML();\n    ɵngcc0.ɵɵelementStart(0, \"span\");\n    ɵngcc0.ɵɵtext(1);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r12 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate1(\" \", ctx_r12.column.filterCount, \" \");\n} }\nconst _c16 = function (a0) { return { \"active\": a0 }; };\nfunction TableHeadCell_button_2_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"button\", 18);\n    ɵngcc0.ɵɵpipe(1, \"async\");\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵelementStart(2, \"svg\", 19);\n    ɵngcc0.ɵɵelement(3, \"path\", 20);\n    ɵngcc0.ɵɵelementEnd();\n    ɵngcc0.ɵɵtemplate(4, TableHeadCell_button_2_span_4_Template, 2, 1, \"span\", 6);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r2 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction1(7, _c16, ctx_r2.column.filterCount > 0))(\"ibmTooltip\", ctx_r2.column.filterTemplate)(\"title\", ɵngcc0.ɵɵpipeBind1(1, 5, ctx_r2.getFilterTitle()))(\"data\", ctx_r2.column.filterData);\n    ɵngcc0.ɵɵadvance(4);\n    ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r2.column.filterCount > 0);\n} }\nconst _c17 = [\"ibmTableHeadCheckbox\", \"\"];\nfunction TableHeadCheckbox_ibm_checkbox_0_Template(rf, ctx) { if (rf & 1) {\n    const _r2 = ɵngcc0.ɵɵgetCurrentView();\n    ɵngcc0.ɵɵelementStart(0, \"ibm-checkbox\", 1);\n    ɵngcc0.ɵɵlistener(\"checkedChange\", function TableHeadCheckbox_ibm_checkbox_0_Template_ibm_checkbox_checkedChange_0_listener() { ɵngcc0.ɵɵrestoreView(_r2); const ctx_r1 = ɵngcc0.ɵɵnextContext(); return ɵngcc0.ɵɵresetView(ctx_r1.change.emit()); });\n    ɵngcc0.ɵɵpipe(1, \"async\");\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r0 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵproperty(\"size\", ctx_r0.size !== \"sm\" ? \"md\" : \"sm\")(\"name\", ctx_r0.name)(\"checked\", ctx_r0.checked)(\"indeterminate\", ctx_r0.indeterminate)(\"aria-label\", ɵngcc0.ɵɵpipeBind1(1, 5, ctx_r0.getAriaLabel()));\n} }\nconst _c18 = [\"ibmTableHeadExpand\", \"\"];\nconst _c19 = [\"ibmTableBody\", \"\"];\nconst _c20 = function (a0, a1, a2, a3) { return { \"tbody_row--success\": a0, \"tbody_row--warning\": a1, \"tbody_row--info\": a2, \"tbody_row--error\": a3 }; };\nfunction TableBody_ng_container_0_ng_container_1_tr_1_Template(rf, ctx) { if (rf & 1) {\n    const _r9 = ɵngcc0.ɵɵgetCurrentView();\n    ɵngcc0.ɵɵelementStart(0, \"tr\", 4);\n    ɵngcc0.ɵɵlistener(\"selectRow\", function TableBody_ng_container_0_ng_container_1_tr_1_Template_tr_selectRow_0_listener() { ɵngcc0.ɵɵrestoreView(_r9); const i_r3 = ɵngcc0.ɵɵnextContext().index; const ctx_r7 = ɵngcc0.ɵɵnextContext(2); return ɵngcc0.ɵɵresetView(ctx_r7.onRowCheckboxChange(i_r3)); })(\"deselectRow\", function TableBody_ng_container_0_ng_container_1_tr_1_Template_tr_deselectRow_0_listener() { ɵngcc0.ɵɵrestoreView(_r9); const i_r3 = ɵngcc0.ɵɵnextContext().index; const ctx_r10 = ɵngcc0.ɵɵnextContext(2); return ɵngcc0.ɵɵresetView(ctx_r10.onRowCheckboxChange(i_r3)); })(\"expandRow\", function TableBody_ng_container_0_ng_container_1_tr_1_Template_tr_expandRow_0_listener() { ɵngcc0.ɵɵrestoreView(_r9); const i_r3 = ɵngcc0.ɵɵnextContext().index; const ctx_r12 = ɵngcc0.ɵɵnextContext(2); return ɵngcc0.ɵɵresetView(ctx_r12.model.expandRow(i_r3, !ctx_r12.model.isRowExpanded(i_r3))); })(\"rowClick\", function TableBody_ng_container_0_ng_container_1_tr_1_Template_tr_rowClick_0_listener() { ɵngcc0.ɵɵrestoreView(_r9); const i_r3 = ɵngcc0.ɵɵnextContext().index; const ctx_r14 = ɵngcc0.ɵɵnextContext(2); return ɵngcc0.ɵɵresetView(ctx_r14.onRowClick(i_r3)); });\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r16 = ɵngcc0.ɵɵnextContext();\n    const i_r3 = ctx_r16.index;\n    const row_r2 = ctx_r16.$implicit;\n    const ctx_r4 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵclassMap(ctx_r4.model.rowsClass[i_r3] ? ctx_r4.model.rowsClass[i_r3] : null);\n    ɵngcc0.ɵɵproperty(\"model\", ctx_r4.model)(\"row\", row_r2)(\"size\", ctx_r4.size)(\"selected\", ctx_r4.model.isRowSelected(i_r3))(\"expandable\", ctx_r4.model.isRowExpandable(i_r3))(\"expanded\", ctx_r4.model.isRowExpanded(i_r3))(\"checkboxLabel\", ctx_r4.getCheckboxRowLabel())(\"expandButtonAriaLabel\", ctx_r4.getExpandButtonAriaLabel())(\"showSelectionColumn\", ctx_r4.showSelectionColumn)(\"enableSingleSelect\", ctx_r4.enableSingleSelect)(\"skeleton\", ctx_r4.skeleton)(\"ngClass\", ɵngcc0.ɵɵpureFunction4(14, _c20, !ctx_r4.model.isRowSelected(i_r3) && ctx_r4.model.getRowContext(i_r3) === \"success\", !ctx_r4.model.isRowSelected(i_r3) && ctx_r4.model.getRowContext(i_r3) === \"warning\", !ctx_r4.model.isRowSelected(i_r3) && ctx_r4.model.getRowContext(i_r3) === \"info\", !ctx_r4.model.isRowSelected(i_r3) && ctx_r4.model.getRowContext(i_r3) === \"error\"));\n} }\nfunction TableBody_ng_container_0_ng_container_1_tr_2_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelement(0, \"tr\", 5);\n} if (rf & 2) {\n    const ctx_r17 = ɵngcc0.ɵɵnextContext();\n    const row_r2 = ctx_r17.$implicit;\n    const i_r3 = ctx_r17.index;\n    const ctx_r5 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵproperty(\"row\", row_r2)(\"expanded\", ctx_r5.model.isRowExpanded(i_r3))(\"skeleton\", ctx_r5.skeleton);\n} }\nfunction TableBody_ng_container_0_ng_container_1_ng_container_3_tr_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelement(0, \"tr\", 7);\n} if (rf & 2) {\n    const expandedDataRow_r19 = ctx.$implicit;\n    const ctx_r18 = ɵngcc0.ɵɵnextContext(4);\n    ɵngcc0.ɵɵproperty(\"model\", ctx_r18.model)(\"showSelectionColumnCheckbox\", false)(\"showSelectionColumn\", ctx_r18.showSelectionColumn)(\"row\", expandedDataRow_r19)(\"size\", ctx_r18.size)(\"skeleton\", ctx_r18.skeleton);\n} }\nfunction TableBody_ng_container_0_ng_container_1_ng_container_3_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainerStart(0);\n    ɵngcc0.ɵɵtemplate(1, TableBody_ng_container_0_ng_container_1_ng_container_3_tr_1_Template, 1, 6, \"tr\", 6);\n    ɵngcc0.ɵɵelementContainerEnd();\n} if (rf & 2) {\n    const row_r2 = ɵngcc0.ɵɵnextContext().$implicit;\n    const ctx_r6 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngForOf\", ctx_r6.firstExpandedDataInRow(row_r2));\n} }\nfunction TableBody_ng_container_0_ng_container_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainerStart(0);\n    ɵngcc0.ɵɵtemplate(1, TableBody_ng_container_0_ng_container_1_tr_1_Template, 1, 19, \"tr\", 2);\n    ɵngcc0.ɵɵtemplate(2, TableBody_ng_container_0_ng_container_1_tr_2_Template, 1, 3, \"tr\", 3);\n    ɵngcc0.ɵɵtemplate(3, TableBody_ng_container_0_ng_container_1_ng_container_3_Template, 2, 1, \"ng-container\", 0);\n    ɵngcc0.ɵɵelementContainerEnd();\n} if (rf & 2) {\n    const row_r2 = ctx.$implicit;\n    const i_r3 = ctx.index;\n    const ctx_r1 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r1.model.isRowFiltered(i_r3));\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r1.model.isRowExpandable(i_r3) && !ctx_r1.shouldExpandAsTable(row_r2) && !ctx_r1.model.isRowFiltered(i_r3));\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r1.model.isRowExpandable(i_r3) && ctx_r1.shouldExpandAsTable(row_r2) && ctx_r1.model.isRowExpanded(i_r3) && !ctx_r1.model.isRowFiltered(i_r3));\n} }\nfunction TableBody_ng_container_0_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainerStart(0);\n    ɵngcc0.ɵɵtemplate(1, TableBody_ng_container_0_ng_container_1_Template, 4, 3, \"ng-container\", 1);\n    ɵngcc0.ɵɵelementContainerEnd();\n} if (rf & 2) {\n    const ctx_r0 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngForOf\", ctx_r0.model.data);\n} }\nconst _c21 = [\"ibmTableRow\", \"\"];\nfunction TableRowComponent_ng_container_0_td_1_Template(rf, ctx) { if (rf & 1) {\n    const _r6 = ɵngcc0.ɵɵgetCurrentView();\n    ɵngcc0.ɵɵelementStart(0, \"td\", 4);\n    ɵngcc0.ɵɵlistener(\"expandRow\", function TableRowComponent_ng_container_0_td_1_Template_td_expandRow_0_listener() { ɵngcc0.ɵɵrestoreView(_r6); const ctx_r5 = ɵngcc0.ɵɵnextContext(2); return ɵngcc0.ɵɵresetView(ctx_r5.expandRow.emit()); });\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r1 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵproperty(\"expanded\", ctx_r1.expanded)(\"expandable\", ctx_r1.expandable)(\"skeleton\", ctx_r1.skeleton)(\"ariaLabel\", ctx_r1.getExpandButtonAriaLabel())(\"headers\", ctx_r1.model.getHeaderId(\"expand\"));\n} }\nfunction TableRowComponent_ng_container_0_ng_container_2_td_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelement(0, \"td\");\n} }\nfunction TableRowComponent_ng_container_0_ng_container_2_ng_template_2_Template(rf, ctx) { if (rf & 1) {\n    const _r11 = ɵngcc0.ɵɵgetCurrentView();\n    ɵngcc0.ɵɵelementStart(0, \"td\", 7);\n    ɵngcc0.ɵɵlistener(\"change\", function TableRowComponent_ng_container_0_ng_container_2_ng_template_2_Template_td_change_0_listener() { ɵngcc0.ɵɵrestoreView(_r11); const ctx_r10 = ɵngcc0.ɵɵnextContext(3); return ɵngcc0.ɵɵresetView(ctx_r10.onSelectionChange()); });\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r9 = ɵngcc0.ɵɵnextContext(3);\n    ɵngcc0.ɵɵproperty(\"size\", ctx_r9.size)(\"selected\", ctx_r9.selected)(\"label\", ctx_r9.getCheckboxLabel())(\"row\", ctx_r9.row)(\"skeleton\", ctx_r9.skeleton)(\"headers\", ctx_r9.model.getHeaderId(\"select\"));\n} }\nfunction TableRowComponent_ng_container_0_ng_container_2_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainerStart(0);\n    ɵngcc0.ɵɵtemplate(1, TableRowComponent_ng_container_0_ng_container_2_td_1_Template, 1, 0, \"td\", 5);\n    ɵngcc0.ɵɵtemplate(2, TableRowComponent_ng_container_0_ng_container_2_ng_template_2_Template, 1, 6, \"ng-template\", null, 6, ɵngcc0.ɵɵtemplateRefExtractor);\n    ɵngcc0.ɵɵelementContainerEnd();\n} if (rf & 2) {\n    const _r8 = ɵngcc0.ɵɵreference(3);\n    const ctx_r2 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r2.showSelectionColumnCheckbox)(\"ngIfElse\", _r8);\n} }\nfunction TableRowComponent_ng_container_0_td_3_Template(rf, ctx) { if (rf & 1) {\n    const _r13 = ɵngcc0.ɵɵgetCurrentView();\n    ɵngcc0.ɵɵelementStart(0, \"td\", 8);\n    ɵngcc0.ɵɵlistener(\"change\", function TableRowComponent_ng_container_0_td_3_Template_td_change_0_listener() { ɵngcc0.ɵɵrestoreView(_r13); const ctx_r12 = ɵngcc0.ɵɵnextContext(2); return ɵngcc0.ɵɵresetView(ctx_r12.onSelectionChange()); });\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r3 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵproperty(\"selected\", ctx_r3.selected)(\"label\", ctx_r3.getCheckboxLabel())(\"row\", ctx_r3.row)(\"skeleton\", ctx_r3.skeleton)(\"headers\", ctx_r3.model.getHeaderId(\"select\"));\n} }\nfunction TableRowComponent_ng_container_0_ng_container_4_td_1_Template(rf, ctx) { if (rf & 1) {\n    const _r19 = ɵngcc0.ɵɵgetCurrentView();\n    ɵngcc0.ɵɵelementStart(0, \"td\", 11);\n    ɵngcc0.ɵɵlistener(\"click\", function TableRowComponent_ng_container_0_ng_container_4_td_1_Template_td_click_0_listener() { ɵngcc0.ɵɵrestoreView(_r19); const ctx_r18 = ɵngcc0.ɵɵnextContext(3); return ɵngcc0.ɵɵresetView(ctx_r18.onRowClick()); })(\"keydown.enter\", function TableRowComponent_ng_container_0_ng_container_4_td_1_Template_td_keydown_enter_0_listener() { ɵngcc0.ɵɵrestoreView(_r19); const ctx_r20 = ɵngcc0.ɵɵnextContext(3); return ɵngcc0.ɵɵresetView(ctx_r20.onRowClick()); });\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r21 = ɵngcc0.ɵɵnextContext();\n    const j_r15 = ctx_r21.index;\n    const item_r14 = ctx_r21.$implicit;\n    const ctx_r16 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵclassMap(ctx_r16.model.getHeader(j_r15).className);\n    ɵngcc0.ɵɵproperty(\"headers\", ctx_r16.model.getHeaderId(j_r15, item_r14.colSpan))(\"item\", item_r14)(\"title\", item_r14.title)(\"ngStyle\", ctx_r16.model.getHeader(j_r15).style)(\"skeleton\", ctx_r16.skeleton);\n    ɵngcc0.ɵɵattribute(\"colspan\", item_r14.colSpan)(\"rowspan\", item_r14.rowSpan);\n} }\nfunction TableRowComponent_ng_container_0_ng_container_4_td_2_Template(rf, ctx) { if (rf & 1) {\n    const _r23 = ɵngcc0.ɵɵgetCurrentView();\n    ɵngcc0.ɵɵelementStart(0, \"td\", 12);\n    ɵngcc0.ɵɵlistener(\"click\", function TableRowComponent_ng_container_0_ng_container_4_td_2_Template_td_click_0_listener() { ɵngcc0.ɵɵrestoreView(_r23); const ctx_r22 = ɵngcc0.ɵɵnextContext(3); return ɵngcc0.ɵɵresetView(ctx_r22.onRowClick()); })(\"keydown.enter\", function TableRowComponent_ng_container_0_ng_container_4_td_2_Template_td_keydown_enter_0_listener() { ɵngcc0.ɵɵrestoreView(_r23); const ctx_r24 = ɵngcc0.ɵɵnextContext(3); return ɵngcc0.ɵɵresetView(ctx_r24.onRowClick()); });\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r25 = ɵngcc0.ɵɵnextContext();\n    const j_r15 = ctx_r25.index;\n    const item_r14 = ctx_r25.$implicit;\n    const ctx_r17 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵproperty(\"headers\", ctx_r17.model.getHeaderId(j_r15, item_r14.colSpan))(\"item\", item_r14)(\"title\", item_r14.title)(\"skeleton\", ctx_r17.skeleton);\n    ɵngcc0.ɵɵattribute(\"colspan\", item_r14.colSpan)(\"rowspan\", item_r14.rowSpan);\n} }\nfunction TableRowComponent_ng_container_0_ng_container_4_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainerStart(0);\n    ɵngcc0.ɵɵtemplate(1, TableRowComponent_ng_container_0_ng_container_4_td_1_Template, 1, 9, \"td\", 9);\n    ɵngcc0.ɵɵtemplate(2, TableRowComponent_ng_container_0_ng_container_4_td_2_Template, 1, 6, \"td\", 10);\n    ɵngcc0.ɵɵelementContainerEnd();\n} if (rf & 2) {\n    const item_r14 = ctx.$implicit;\n    const j_r15 = ctx.index;\n    const ctx_r4 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", item_r14 && ctx_r4.model.getHeader(j_r15) && ctx_r4.model.getHeader(j_r15).visible);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", item_r14 && ctx_r4.model.getHeader(j_r15) == null);\n} }\nfunction TableRowComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainerStart(0);\n    ɵngcc0.ɵɵtemplate(1, TableRowComponent_ng_container_0_td_1_Template, 1, 5, \"td\", 1);\n    ɵngcc0.ɵɵtemplate(2, TableRowComponent_ng_container_0_ng_container_2_Template, 4, 2, \"ng-container\", 0);\n    ɵngcc0.ɵɵtemplate(3, TableRowComponent_ng_container_0_td_3_Template, 1, 5, \"td\", 2);\n    ɵngcc0.ɵɵtemplate(4, TableRowComponent_ng_container_0_ng_container_4_Template, 3, 2, \"ng-container\", 3);\n    ɵngcc0.ɵɵelementContainerEnd();\n} if (rf & 2) {\n    const ctx_r0 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r0.model.hasExpandableRows());\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r0.skeleton && ctx_r0.showSelectionColumn && !ctx_r0.enableSingleSelect);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r0.skeleton && ctx_r0.showSelectionColumn && ctx_r0.enableSingleSelect);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngForOf\", ctx_r0.row);\n} }\nconst _c22 = [\"ibmTableExpandedRow\", \"\"];\nfunction TableExpandedRow_ng_container_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainerStart(0);\n    ɵngcc0.ɵɵtext(1);\n    ɵngcc0.ɵɵelementContainerEnd();\n} if (rf & 2) {\n    const ctx_r0 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate1(\" \", ctx_r0.firstExpandedDataInRow(ctx_r0.row), \" \");\n} }\nfunction TableExpandedRow_ng_template_2_Template(rf, ctx) { }\nconst _c23 = [\"ibmTableData\", \"\"];\nfunction TableData_ng_container_0_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainerStart(0);\n    ɵngcc0.ɵɵtext(1);\n    ɵngcc0.ɵɵelementContainerEnd();\n} if (rf & 2) {\n    const ctx_r0 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate(ctx_r0.item.data);\n} }\nfunction TableData_1_ng_template_0_Template(rf, ctx) { }\nfunction TableData_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵtemplate(0, TableData_1_ng_template_0_Template, 0, 0, \"ng-template\", 1);\n} if (rf & 2) {\n    const ctx_r1 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r1.item.template)(\"ngTemplateOutletContext\", ɵngcc0.ɵɵpureFunction1(2, _c14, ctx_r1.item.data));\n} }\nconst _c24 = [\"ibmTableCheckbox\", \"\"];\nfunction TableCheckbox_ibm_checkbox_0_Template(rf, ctx) { if (rf & 1) {\n    const _r2 = ɵngcc0.ɵɵgetCurrentView();\n    ɵngcc0.ɵɵelementStart(0, \"ibm-checkbox\", 1);\n    ɵngcc0.ɵɵlistener(\"change\", function TableCheckbox_ibm_checkbox_0_Template_ibm_checkbox_change_0_listener() { ɵngcc0.ɵɵrestoreView(_r2); const ctx_r1 = ɵngcc0.ɵɵnextContext(); return ɵngcc0.ɵɵresetView(ctx_r1.change.emit()); });\n    ɵngcc0.ɵɵpipe(1, \"async\");\n    ɵngcc0.ɵɵpipe(2, \"i18nReplace\");\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r0 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵproperty(\"name\", ctx_r0.name)(\"aria-label\", ɵngcc0.ɵɵpipeBind1(1, 5, ɵngcc0.ɵɵpipeBind2(2, 7, ctx_r0.getLabel(), ctx_r0.getSelectionLabelValue(ctx_r0.row))))(\"size\", ctx_r0.size !== \"sm\" ? \"md\" : \"sm\")(\"checked\", ctx_r0.selected)(\"disabled\", ctx_r0.disabled);\n} }\nconst _c25 = [\"ibmTableRadio\", \"\"];\nfunction TableRadio_ibm_radio_0_Template(rf, ctx) { if (rf & 1) {\n    const _r2 = ɵngcc0.ɵɵgetCurrentView();\n    ɵngcc0.ɵɵelementStart(0, \"ibm-radio\", 1);\n    ɵngcc0.ɵɵlistener(\"change\", function TableRadio_ibm_radio_0_Template_ibm_radio_change_0_listener() { ɵngcc0.ɵɵrestoreView(_r2); const ctx_r1 = ɵngcc0.ɵɵnextContext(); return ɵngcc0.ɵɵresetView(ctx_r1.change.emit()); });\n    ɵngcc0.ɵɵpipe(1, \"async\");\n    ɵngcc0.ɵɵpipe(2, \"i18nReplace\");\n    ɵngcc0.ɵɵpipe(3, \"async\");\n    ɵngcc0.ɵɵpipe(4, \"i18nReplace\");\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r0 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵproperty(\"ariaLabel\", ɵngcc0.ɵɵpipeBind1(3, 8, ɵngcc0.ɵɵpipeBind2(4, 10, ctx_r0.getLabel(), ctx_r0.getSelectionLabelValue(ctx_r0.row))))(\"checked\", ctx_r0.selected);\n    ɵngcc0.ɵɵattribute(\"aria-label\", ɵngcc0.ɵɵpipeBind1(1, 3, ɵngcc0.ɵɵpipeBind2(2, 5, ctx_r0.getLabel(), ctx_r0.getSelectionLabelValue(ctx_r0.row))));\n} }\nconst _c26 = [\"ibmTableExpandButton\", \"\"];\nfunction TableExpandButton_button_0_Template(rf, ctx) { if (rf & 1) {\n    const _r2 = ɵngcc0.ɵɵgetCurrentView();\n    ɵngcc0.ɵɵelementStart(0, \"button\", 1);\n    ɵngcc0.ɵɵlistener(\"click\", function TableExpandButton_button_0_Template_button_click_0_listener() { ɵngcc0.ɵɵrestoreView(_r2); const ctx_r1 = ɵngcc0.ɵɵnextContext(); return ɵngcc0.ɵɵresetView(ctx_r1.expandRow.emit()); });\n    ɵngcc0.ɵɵpipe(1, \"async\");\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵelement(2, \"svg\", 2);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r0 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵattribute(\"aria-label\", ɵngcc0.ɵɵpipeBind1(1, 1, ctx_r0.getAriaLabel()));\n} }\nclass TableHeaderItem {\n    /**\n     * Creates an instance of TableHeaderItem.\n     */\n    constructor(rawData) {\n        /**\n         * Defines if column under this TableHeaderItem should be displayed.\n         *\n         */\n        this.visible = true;\n        /**\n         * Disables sorting by default.\n         *\n         */\n        this.sorted = false;\n        /**\n         * Enables sorting on click by default.\n         * If false then this column won't show a sorting arrow at all.\n         *\n         */\n        this.sortable = true;\n        /**\n         * Number of applied filters.\n         *\n         * `filter()` should set it to appropriate number.\n         *\n         */\n        this.filterCount = 0;\n        /**\n         * The number of rows to span\n         * **NOTE:** not supported by the default carbon table\n         */\n        this.rowSpan = 1;\n        /**\n         * The number of columns to span\n         */\n        this.colSpan = 1;\n        /**\n         * Style for the column, applied to every element in the column.\n         *\n         * ngStyle-like format\n         *\n         */\n        this.style = {};\n        this.sortDirection = \"NONE\";\n        // defaults so we dont leave things empty\n        const defaults = {\n            data: \"\",\n            visible: this.visible,\n            style: this.style,\n            filterCount: this.filterCount,\n            filterData: { data: \"\" }\n        };\n        // fill our object with provided props, and fallback to defaults\n        const data = Object.assign({}, defaults, rawData);\n        for (let property of Object.getOwnPropertyNames(data)) {\n            if (data.hasOwnProperty(property)) {\n                this[property] = data[property];\n            }\n        }\n    }\n    /**\n     * If true, sort is set to ascending, if false descending will be true.\n     *\n     */\n    set ascending(asc) {\n        this.sortDirection = asc ? \"ASCENDING\" : \"DESCENDING\";\n    }\n    get ascending() {\n        return this.sortDirection === \"ASCENDING\";\n    }\n    /**\n     * If true, sort is set to descending, if false ascending will be true.\n     *\n     */\n    set descending(desc) {\n        this.sortDirection = desc ? \"DESCENDING\" : \"ASCENDING\";\n    }\n    get descending() {\n        return this.sortDirection === \"DESCENDING\";\n    }\n    get title() {\n        if (this._title) {\n            return this._title;\n        }\n        if (!this.data) {\n            return \"\";\n        }\n        if (typeof this.data === \"string\") {\n            return this.data;\n        }\n        if (this.data.toString &&\n            this.data.constructor !== ({}).constructor) {\n            return this.data.toString();\n        }\n        // data can’t be reasonably converted to an end user readable string\n        return \"\";\n    }\n    set title(title) {\n        this._title = title;\n    }\n    /**\n     * Used for sorting rows of the table.\n     *\n     * Override to enable different sorting.\n     *\n     * < 0 if `one` should go before `two`\n     * > 0 if `one` should go after `two`\n     * 0 if it doesn't matter (they are the same)\n     */\n    compare(one, two) {\n        if (!one || !two) {\n            return 0;\n        }\n        if (typeof one.data === \"string\") {\n            return one.data.localeCompare(two.data);\n        }\n        if (one.data < two.data) {\n            return -1;\n        }\n        else if (one.data > two.data) {\n            return 1;\n        }\n        else {\n            return 0;\n        }\n    }\n    /**\n     * Used to filter rows in the table.\n     *\n     * Override to make a custom filter.\n     *\n     * Even though there is just one filter function, there can be multiple filters.\n     * When implementing filter, set `filterCount` before returning.\n     *\n     * `true` to hide the row\n     * `false` to show the row\n     */\n    filter(item) {\n        this.filterCount = 0;\n        return false;\n    }\n}\n\nclass TableItem {\n    /**\n     * Creates an instance of TableItem.\n     */\n    constructor(rawData) {\n        /**\n         * The number of rows to span\n         */\n        this.rowSpan = 1;\n        /**\n         * The number of columns to span\n         */\n        this.colSpan = 1;\n        // defaults so we dont leave things empty\n        const defaults = {\n            data: \"\"\n        };\n        // fill our object with provided props, and fallback to defaults\n        const data = Object.assign({}, defaults, rawData);\n        for (const property of Object.getOwnPropertyNames(data)) {\n            if (data.hasOwnProperty(property)) {\n                this[property] = data[property];\n            }\n        }\n    }\n    get title() {\n        if (typeof this._title === \"string\") {\n            return this._title;\n        }\n        if (!this.data) {\n            return \"\";\n        }\n        if (typeof this.data === \"string\") {\n            return this.data;\n        }\n        if (this.data.toString &&\n            this.data.constructor !== ({}).constructor) {\n            return this.data.toString();\n        }\n        // data can’t be reasonably converted to an end user readable string\n        return \"\";\n    }\n    set title(title) {\n        this._title = title;\n    }\n}\n\n/**\n * TableModel represents a data model for two-dimensional data. It's used for all things table\n * (table component, table toolbar, pagination, etc)\n *\n * TableModel manages its internal data integrity very well if you use the provided helper\n * functions for modifying rows and columns and assigning header and data in that order.\n *\n * It also provides direct access to the data so you can read and modify it.\n * If you change the structure of the data (by directly pushing into the arrays or otherwise),\n * keep in mind to keep the data structure intact.\n *\n * Header length and length of every line in the data should be equal.\n *\n * If they are not consistent, unexpected things will happen.\n *\n * Use the provided functions when in doubt.\n */\nclass TableModel {\n    constructor() {\n        this.dataChange = new EventEmitter();\n        this.rowsSelectedChange = new EventEmitter();\n        this.rowsExpandedChange = new EventEmitter();\n        /**\n         * Gets emitted when `selectAll` is called. Emits false if all rows are deselected and true if\n         * all rows are selected.\n         */\n        this.selectAllChange = new Subject();\n        /**\n         * Contains information about selection state of rows in the table.\n         */\n        this.rowsSelected = [];\n        /**\n         * Contains information about expanded state of rows in the table.\n         */\n        this.rowsExpanded = [];\n        /**\n         * Contains information about initial index of rows in the table\n         */\n        this.rowsIndices = [];\n        /**\n         * Contains information about the context of the row.\n         *\n         * It affects styling of the row to reflect the context.\n         *\n         * string can be one of `\"success\" | \"warning\" | \"info\" | \"error\" | \"\"` and it's\n         * empty or undefined by default\n         */\n        this.rowsContext = [];\n        /**\n         * Contains class name(s) of the row.\n         *\n         * It affects styling of the row to reflect the appended class name(s).\n         *\n         * It's empty or undefined by default\n         */\n        this.rowsClass = [];\n        /**\n         * Contains information about the header cells of the table.\n         */\n        this.header = [];\n        /**\n         * Tracks the current page.\n         */\n        this.currentPage = 1;\n        /**\n         * Length of page.\n         */\n        this.pageLength = 10;\n        /**\n         * Set to true when there is no more data to load in the table\n         */\n        this.isEnd = false;\n        /**\n         * Set to true when lazy loading to show loading indicator\n         */\n        this.isLoading = false;\n        /**\n         * Used in `data`\n         */\n        this._data = [[]];\n        /**\n         * The number of models instantiated, this is to make sure each table has a different\n         * model count for unique id generation.\n         */\n        this.tableModelCount = 0;\n        this.tableModelCount = TableModel.COUNT++;\n    }\n    /**\n     * Sets data of the table.\n     *\n     * Make sure all rows are the same length to keep the column count accurate.\n     */\n    set data(newData) {\n        if (!newData || (Array.isArray(newData) && newData.length === 0)) {\n            newData = [[]];\n        }\n        this._data = newData;\n        // init rowsSelected\n        this.rowsSelected = new Array(this._data.length).fill(false);\n        this.rowsExpanded = new Array(this._data.length).fill(false);\n        // init rows indices\n        this.rowsIndices = [...Array(this._data.length).keys()];\n        // init rowsContext\n        this.rowsContext = new Array(this._data.length);\n        // init rowsClass\n        this.rowsClass = new Array(this._data.length);\n        // only create a fresh header if necessary (header doesn't exist or differs in length)\n        if (this.header == null || (this.header.length !== this._data[0].length && this._data[0].length > 0)) {\n            let header = new Array();\n            for (let i = 0; i < this._data[0].length; i++) {\n                header.push(new TableHeaderItem());\n            }\n            this.header = header;\n        }\n        this.dataChange.emit();\n    }\n    /**\n     * Gets the full data.\n     *\n     * You can use it to alter individual `TableItem`s but if you need to change\n     * table structure, use `addRow()` and/or `addColumn()`\n     */\n    get data() {\n        return this._data;\n    }\n    /**\n     * Manually set data length in case the data in the table doesn't\n     * correctly reflect all the data that table is to display.\n     *\n     * Example: if you have multiple pages of data that table will display\n     * but you're loading one at a time.\n     *\n     * Set to `null` to reset to default behavior.\n     */\n    set totalDataLength(length) {\n        // if this function is called without a parameter we need to set to null to avoid having undefined != null\n        this._totalDataLength = isNaN(length) ? null : length;\n    }\n    /**\n     * Total length of data that table has access to, or the amount manually set\n     */\n    get totalDataLength() {\n        // if manually set data length\n        if (this._totalDataLength !== null && this._totalDataLength >= 0) {\n            return this._totalDataLength;\n        }\n        // if empty dataset\n        if (this.data && this.data.length === 1 && this.data[0].length === 0) {\n            return 0;\n        }\n        return this.data.length;\n    }\n    /**\n     * Returns an id for the given column\n     *\n     * @param column the column to generate an id for\n     * @param row the row of the header to generate an id for\n     */\n    getId(column, row = 0) {\n        return `table-header-${row}-${column}-${this.tableModelCount}`;\n    }\n    /**\n     * Returns the id of the header. Used to link the cells with headers (or headers with headers)\n     *\n     * @param column the column to start getting headers for\n     * @param colSpan the number of columns to get headers for (defaults to 1)\n     */\n    getHeaderId(column, colSpan = 1) {\n        if (column === \"select\" || column === \"expand\") {\n            return this.getId(column);\n        }\n        let ids = [];\n        for (let i = column; i >= 0; i--) {\n            if (this.header[i]) {\n                for (let j = 0; j < colSpan; j++) {\n                    ids.push(this.getId(i + j));\n                }\n                break;\n            }\n        }\n        return ids.join(\" \");\n    }\n    /**\n     * Finds closest header by trying the `column` and then working its way to the left\n     *\n     * @param column the target column\n     */\n    getHeader(column) {\n        if (!this.header) {\n            return null;\n        }\n        for (let i = column; i >= 0; i--) {\n            const headerCell = this.header[i];\n            if (headerCell) {\n                return headerCell;\n            }\n        }\n        return null;\n    }\n    /**\n     * Returns how many rows is currently selected\n     */\n    selectedRowsCount() {\n        let count = 0;\n        if (this.rowsSelected) {\n            this.rowsSelected.forEach(rowSelected => {\n                if (rowSelected) {\n                    count++;\n                }\n            });\n        }\n        return count;\n    }\n    /**\n     * Returns how many rows is currently expanded\n     */\n    expandedRowsCount() {\n        let count = 0;\n        if (this.rowsExpanded) {\n            this.rowsExpanded.forEach(rowExpanded => {\n                if (rowExpanded) {\n                    count++;\n                }\n            });\n        }\n        return count;\n    }\n    /**\n     * Returns `index`th row of the table.\n     *\n     * Negative index starts from the end. -1 being the last element.\n     *\n     * @param index\n     */\n    row(index) {\n        return this.data[this.realRowIndex(index)];\n    }\n    /**\n     * Adds a row to the `index`th row or appends to table if index not provided.\n     *\n     * If row is shorter than other rows or not provided, it will be padded with\n     * empty `TableItem` elements.\n     *\n     * If row is longer than other rows, others will be extended to match so no data is lost.\n     *\n     * If called on an empty table with no parameters, it creates a 1x1 table.\n     *\n     * Negative index starts from the end. -1 being the last element.\n     *\n     * @param [row]\n     * @param [index]\n     */\n    addRow(row, index) {\n        // if table empty create table with row\n        if (!this.data || this.data.length === 0 || this.data[0].length === 0) {\n            let newData = new Array();\n            newData.push(row ? row : [new TableItem()]); // row or one empty one column row\n            this.data = newData;\n            return;\n        }\n        let realRow = row;\n        const columnCount = this.data[0].length;\n        if (row == null) {\n            realRow = new Array();\n            for (let i = 0; i < columnCount; i++) {\n                realRow.push(new TableItem());\n            }\n        }\n        if (realRow.length < columnCount) {\n            // extend the length of realRow\n            const difference = columnCount - realRow.length;\n            for (let i = 0; i < difference; i++) {\n                realRow.push(new TableItem());\n            }\n        }\n        else if (realRow.length > columnCount) {\n            // extend the length of header\n            let difference = realRow.length - this.header.length;\n            for (let j = 0; j < difference; j++) {\n                this.header.push(new TableHeaderItem());\n            }\n            // extend the length of every other row\n            for (let i = 0; i < this.data.length; i++) {\n                let currentRow = this.data[i];\n                difference = realRow.length - currentRow.length;\n                for (let j = 0; j < difference; j++) {\n                    currentRow.push(new TableItem());\n                }\n            }\n        }\n        if (index == null) {\n            this.data.push(realRow);\n            // update rowsSelected property for length\n            this.rowsSelected.push(false);\n            // update rowsExpanded property for length\n            this.rowsExpanded.push(false);\n            // update rowsContext property for length\n            this.rowsContext.push(undefined);\n            // update rowsClass property for length\n            this.rowsClass.push(undefined);\n            // update rowsIndices property for length\n            this.rowsIndices.push(this.data.length - 1);\n        }\n        else {\n            const ri = this.realRowIndex(index);\n            this.data.splice(ri, 0, realRow);\n            // update rowsSelected property for length\n            this.rowsSelected.splice(ri, 0, false);\n            // update rowsExpanded property for length\n            this.rowsExpanded.splice(ri, 0, false);\n            // update rowsContext property for length\n            this.rowsContext.splice(ri, 0, undefined);\n            // update rowsClass property for length\n            this.rowsClass.splice(ri, 0, undefined);\n            // update rowsIndices property for length\n            this.rowsIndices.splice(ri, 0, this.data.length - 1);\n        }\n        this.dataChange.emit();\n    }\n    /**\n     * Deletes `index`th row.\n     *\n     * Negative index starts from the end. -1 being the last element.\n     *\n     * @param index\n     */\n    deleteRow(index) {\n        const rri = this.realRowIndex(index);\n        this.data.splice(rri, 1);\n        this.rowsSelected.splice(rri, 1);\n        this.rowsExpanded.splice(rri, 1);\n        this.rowsContext.splice(rri, 1);\n        this.rowsClass.splice(rri, 1);\n        const rowIndex = this.rowsIndices[rri];\n        this.rowsIndices.splice(rri, 1);\n        this.rowsIndices = this.rowsIndices.map((value) => (value > rowIndex) ? --value : value);\n        this.dataChange.emit();\n    }\n    hasExpandableRows() {\n        return this.data.some(data => data.some(d => d && d.expandedData)); // checking for some in 2D array\n    }\n    isRowExpandable(index) {\n        return this.data[index].some(d => d && d.expandedData);\n    }\n    isRowExpanded(index) {\n        return this.rowsExpanded[index];\n    }\n    getRowContext(index) {\n        return this.rowsContext[index];\n    }\n    /**\n     * Returns `index`th column of the table.\n     *\n     * Negative index starts from the end. -1 being the last element.\n     *\n     * @param index\n     */\n    column(index) {\n        let column = new Array();\n        const ri = this.realColumnIndex(index);\n        const rc = this.data.length;\n        for (let i = 0; i < rc; i++) {\n            const row = this.data[i];\n            column.push(row[ri]);\n        }\n        return column;\n    }\n    /**\n     * Adds a column to the `index`th column or appends to table if index not provided.\n     *\n     * If column is shorter than other columns or not provided, it will be padded with\n     * empty `TableItem` elements.\n     *\n     * If column is longer than other columns, others will be extended to match so no data is lost.\n     *\n     * If called on an empty table with no parameters, it creates a 1x1 table.\n     *\n     * Negative index starts from the end. -1 being the last element.\n     *\n     * @param [column]\n     * @param [index]\n     */\n    addColumn(column, index) {\n        // if table empty create table with row\n        if (!this.data || this.data.length === 0 || this.data[0].length === 0) {\n            let newData = new Array();\n            if (column == null) {\n                newData.push([new TableItem()]);\n            }\n            else {\n                for (let i = 0; i < column.length; i++) {\n                    let item = column[i];\n                    newData.push([item]);\n                }\n            }\n            this.data = newData;\n            return;\n        }\n        let rc = this.data.length; // row count\n        let ci = this.realColumnIndex(index);\n        // append missing rows\n        for (let i = 0; column != null && i < column.length - rc; i++) {\n            this.addRow();\n        }\n        rc = this.data.length;\n        if (index == null) {\n            // append to end\n            for (let i = 0; i < rc; i++) {\n                let row = this.data[i];\n                row.push(column == null || column[i] == null ? new TableItem() : column[i]);\n            }\n            // update header if not already set by user\n            if (this.header.length < this.data[0].length) {\n                this.header.push(new TableHeaderItem());\n            }\n        }\n        else {\n            if (index >= this.data[0].length) {\n                // if trying to append\n                ci++;\n            }\n            // insert\n            for (let i = 0; i < rc; i++) {\n                let row = this.data[i];\n                row.splice(ci, 0, column == null || column[i] == null ? new TableItem() : column[i]);\n            }\n            // update header if not already set by user\n            if (this.header.length < this.data[0].length) {\n                this.header.splice(ci, 0, new TableHeaderItem());\n            }\n        }\n        this.dataChange.emit();\n    }\n    /**\n     * Deletes `index`th column.\n     *\n     * Negative index starts from the end. -1 being the last element.\n     *\n     * @param index\n     */\n    deleteColumn(index) {\n        const rci = this.realColumnIndex(index);\n        const rowCount = this.data.length;\n        for (let i = 0; i < rowCount; i++) {\n            this.data[i].splice(rci, 1);\n        }\n        // update header if not already set by user\n        if (this.header.length > this.data[0].length) {\n            this.header.splice(rci, 1);\n        }\n        this.dataChange.emit();\n    }\n    moveColumn(indexFrom, indexTo) {\n        const headerFrom = this.header[indexFrom];\n        this.addColumn(this.column(indexFrom), indexTo);\n        this.deleteColumn(indexFrom + (indexTo < indexFrom ? 1 : 0));\n        this.header[indexTo + (indexTo > indexFrom ? -1 : 0)] = headerFrom;\n    }\n    /**\n     * cycle through the three sort states\n     * @param index\n     */\n    cycleSortState(index) {\n        // no sort provided so do the simple sort\n        switch (this.header[index].sortDirection) {\n            case \"ASCENDING\":\n                this.header[index].sortDirection = \"DESCENDING\";\n                break;\n            case \"DESCENDING\":\n                this.header[index].sortDirection = \"NONE\";\n                break;\n            default:\n                this.header[index].sortDirection = \"ASCENDING\";\n                break;\n        }\n    }\n    /**\n     * Sorts the data currently present in the model based on `compare()`\n     *\n     * Direction is set by `ascending` and `descending` properties of `TableHeaderItem`\n     * in `index`th column.\n     *\n     * @param index The column based on which it's sorting\n     */\n    sort(index) {\n        this.pushRowStateToModelData();\n        const headerSorted = this.header[index].sorted;\n        // We only allow sorting by a single column, so reset sort state for all columns before specifying new sort state\n        this.header.forEach(column => column.sorted = false);\n        if (this.header[index].sortDirection === \"NONE\" && headerSorted) {\n            // Restore initial order of rows\n            const oldData = this._data;\n            this._data = [];\n            for (let i = 0; i < this.rowsIndices.length; i++) {\n                const ri = this.rowsIndices[i];\n                this._data[ri] = oldData[i];\n            }\n        }\n        else {\n            const descending = this.header[index].sortDirection === \"DESCENDING\" ? -1 : 1;\n            this.data.sort((a, b) => {\n                return descending * this.header[index].compare(a[index], b[index]);\n            });\n            this.header[index].sorted = true;\n        }\n        this.popRowStateFromModelData();\n    }\n    /**\n     * Appends `rowsSelected` and `rowsExpanded` info to model data.\n     *\n     * When sorting rows, do this first so information about row selection\n     * gets sorted with the other row info.\n     *\n     * Call `popRowSelectionFromModelData()` after sorting to make everything\n     * right with the world again.\n     */\n    pushRowStateToModelData() {\n        for (let i = 0; i < this.data.length; i++) {\n            const rowSelectedMark = new TableItem();\n            rowSelectedMark.data = this.rowsSelected[i];\n            this.data[i].push(rowSelectedMark);\n            const rowExpandedMark = new TableItem();\n            rowExpandedMark.data = this.rowsExpanded[i];\n            this.data[i].push(rowExpandedMark);\n            const rowContext = new TableItem();\n            rowContext.data = this.rowsContext[i];\n            this.data[i].push(rowContext);\n            const rowClass = new TableItem();\n            rowClass.data = this.rowsClass[i];\n            this.data[i].push(rowClass);\n            const rowIndex = new TableItem();\n            rowIndex.data = this.rowsIndices[i];\n            this.data[i].push(rowIndex);\n        }\n    }\n    /**\n     * Restores `rowsSelected` from data pushed by `pushRowSelectionToModelData()`\n     *\n     * Call after sorting data (if you previously pushed to maintain selection order)\n     * to make everything right with the world again.\n     */\n    popRowStateFromModelData() {\n        for (let i = 0; i < this.data.length; i++) {\n            this.rowsIndices[i] = this.data[i].pop().data;\n            this.rowsClass[i] = this.data[i].pop().data;\n            this.rowsContext[i] = this.data[i].pop().data;\n            this.rowsExpanded[i] = !!this.data[i].pop().data;\n            this.rowsSelected[i] = !!this.data[i].pop().data;\n        }\n    }\n    /**\n     * Checks if row is filtered out.\n     *\n     * @param index\n     * @returns true if any of the filters in header filters out the `index`th row\n     */\n    isRowFiltered(index) {\n        const realIndex = this.realRowIndex(index);\n        return this.header.some((item, i) => item && item.filter(this.row(realIndex)[i]));\n    }\n    /**\n     * Select/deselect `index`th row based on value\n     *\n     * @param index index of the row to select\n     * @param value state to set the row to. Defaults to `true`\n     */\n    selectRow(index, value = true) {\n        if (this.isRowDisabled(index)) {\n            return;\n        }\n        this.rowsSelected[index] = value;\n        this.rowsSelectedChange.emit(index);\n    }\n    /**\n     * Selects or deselects all rows in the model\n     *\n     * @param value state to set all rows to. Defaults to `true`\n     */\n    selectAll(value = true) {\n        if (this.data.length >= 1 && this.data[0].length >= 1) {\n            for (let i = 0; i < this.rowsSelected.length; i++) {\n                this.selectRow(i, value);\n            }\n        }\n        this.selectAllChange.next(value);\n    }\n    isRowSelected(index) {\n        return this.rowsSelected[index];\n    }\n    /**\n     * Checks if row is disabled or not.\n     */\n    isRowDisabled(index) {\n        const row = this.data[index];\n        return !!row.disabled;\n    }\n    /**\n     * Expands/Collapses `index`th row based on value\n     *\n     * @param index index of the row to expand or collapse\n     * @param value expanded state of the row. `true` is expanded and `false` is collapsed\n     */\n    expandRow(index, value = true) {\n        this.rowsExpanded[index] = value;\n        this.rowsExpandedChange.emit(index);\n    }\n    /**\n     * Gets the true index of a row based on it's relative position.\n     * Like in Python, positive numbers start from the top and\n     * negative numbers start from the bottom.\n     *\n     * @param index\n     */\n    realRowIndex(index) {\n        return this.realIndex(index, this.data.length);\n    }\n    /**\n     * Gets the true index of a column based on it's relative position.\n     * Like in Python, positive numbers start from the top and\n     * negative numbers start from the bottom.\n     *\n     * @param index\n     */\n    realColumnIndex(index) {\n        return this.realIndex(index, this.data[0].length);\n    }\n    /**\n     * Generic function to calculate the real index of something.\n     * Used by `realRowIndex()` and `realColumnIndex()`\n     *\n     * @param index\n     * @param length\n     */\n    realIndex(index, length) {\n        if (index == null) {\n            return length - 1;\n        }\n        else if (index >= 0) {\n            return index >= length ? length - 1 : index;\n        }\n        else {\n            return -index >= length ? 0 : length + index;\n        }\n    }\n}\n/**\n * The number of models instantiated, used for (among other things) unique id generation\n */\nTableModel.COUNT = 0;\n\n/**\n * The table toolbar is reserved for global table actions such as table settings, complex filter, export, or editing table data.\n *\n * ## Basic usage\n *\n * ```html\n * <ibm-table-toolbar [model]=\"model\">\n *\t\t<ibm-table-toolbar-actions>\n *\t\t\t<button ibmButton=\"primary\">\n *\t\t\t\tDelete\n *\t\t\t\t<svg ibmIcon=\"delete\" size=\"16\" class=\"bx--btn__icon\"></svg>\n *\t\t\t</button>\n *\t\t\t<button ibmButton=\"primary\">\n *\t\t\t\tSave\n *\t\t\t\t<svg ibmIcon=\"save\" size=\"16\" class=\"bx--btn__icon\"></svg>\n *\t\t\t</button>\n *\t\t\t<button ibmButton=\"primary\">\n *\t\t\t\tDownload\n *\t\t\t\t<svg ibmIcon=\"download\" size=\"16\" class=\"bx--btn__icon\"></svg>\n *\t\t\t</button>\n *\t\t</ibm-table-toolbar-actions>\n *\t\t\t<ibm-table-toolbar-content>\n *\t\t\t<ibm-table-toolbar-search [expandable]=\"true\"></ibm-table-toolbar-search>\n *\t\t\t<button ibmButton=\"toolbar-action\">\n *\t\t\t\t<svg ibmIcon=\"settings\" size=\"16\" class=\"bx--toolbar-action__icon\"></svg>\n *\t\t\t</button>\n *\t\t\t<button ibmButton=\"primary\" size=\"sm\">\n *\t\t\t\tPrimary Button\n *\t\t\t\t<svg ibmIcon=\"add\" size=\"20\" class=\"bx--btn__icon\"></svg>\n *\t\t\t</button>\n *\t\t</ibm-table-toolbar-content>\n *\t</ibm-table-toolbar>\n * ```\n *\n */\nclass TableToolbar {\n    constructor(i18n) {\n        this.i18n = i18n;\n        this.size = \"md\";\n        this.cancel = new EventEmitter();\n        this.actionBarLabel = this.i18n.getOverridable(\"TABLE_TOOLBAR.ACTION_BAR\");\n        this._cancelText = this.i18n.getOverridable(\"TABLE_TOOLBAR.CANCEL\");\n        this._batchTextLegacy = this.i18n.getOverridable(\"TABLE_TOOLBAR.BATCH_TEXT\");\n        this._batchTextSingle = this.i18n.getOverridable(\"TABLE_TOOLBAR.BATCH_TEXT_SINGLE\");\n        this._batchTextMultiple = this.i18n.getOverridable(\"TABLE_TOOLBAR.BATCH_TEXT_MULTIPLE\");\n    }\n    set batchText(value) {\n        if (typeof value === \"object\") {\n            this._batchTextSingle.override(value.SINGLE);\n            this._batchTextMultiple.override(value.MULTIPLE);\n        }\n        else {\n            // For compatibility with old code\n            this._batchTextLegacy.override(value);\n        }\n    }\n    set ariaLabel(value) {\n        this.actionBarLabel.override(value.ACTION_BAR);\n    }\n    set cancelText(value) {\n        this._cancelText.override(value.CANCEL);\n    }\n    get cancelText() {\n        return { CANCEL: this._cancelText.value };\n    }\n    get count() {\n        return this.model.totalDataLength > 0 ? this.model.rowsSelected.reduce((previous, current) => previous + (current ? 1 : 0), 0) : 0;\n    }\n    get selected() {\n        return this.model.totalDataLength > 0 ? this.model.rowsSelected.some(item => item) : false;\n    }\n    onCancel() {\n        this.model.selectAll(false);\n        this.cancel.emit();\n    }\n}\nTableToolbar.ɵfac = function TableToolbar_Factory(t) { return new (t || TableToolbar)(ɵngcc0.ɵɵdirectiveInject(ɵngcc1.I18n)); };\nTableToolbar.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: TableToolbar, selectors: [[\"ibm-table-toolbar\"]], inputs: { size: \"size\", batchText: \"batchText\", ariaLabel: \"ariaLabel\", cancelText: \"cancelText\", model: \"model\" }, outputs: { cancel: \"cancel\" }, ngContentSelectors: _c4, decls: 4, vars: 7, consts: [[1, \"bx--table-toolbar\", 3, \"ngClass\"], [\"class\", \"bx--batch-actions\", 3, \"ngClass\", 4, \"ngIf\"], [1, \"bx--batch-actions\", 3, \"ngClass\"], [1, \"bx--action-list\"], [\"ibmButton\", \"primary\", 1, \"bx--batch-summary__cancel\", 3, \"tabindex\", \"click\"], [1, \"bx--batch-summary\"], [\"class\", \"bx--batch-summary__para\", 4, \"ngIf\"], [1, \"bx--batch-summary__para\"], [4, \"ngIf\", \"ngIfElse\"], [\"batchTextBlock\", \"\"], [4, \"ngIf\"]], template: function TableToolbar_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵprojectionDef(_c2);\n        ɵngcc0.ɵɵelementStart(0, \"section\", 0);\n        ɵngcc0.ɵɵpipe(1, \"async\");\n        ɵngcc0.ɵɵtemplate(2, TableToolbar_div_2_Template, 8, 8, \"div\", 1);\n        ɵngcc0.ɵɵprojection(3);\n        ɵngcc0.ɵɵelementEnd();\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction1(5, _c3, ctx.size === \"sm\"));\n        ɵngcc0.ɵɵattribute(\"aria-label\", ɵngcc0.ɵɵpipeBind1(1, 3, ctx.actionBarLabel.subject));\n        ɵngcc0.ɵɵadvance(2);\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.model);\n    } }, dependencies: [ɵngcc2.NgClass, ɵngcc2.NgIf, ɵngcc3.Button, ɵngcc2.AsyncPipe, ɵngcc1.ReplacePipe], encapsulation: 2 });\n/** @nocollapse */\nTableToolbar.ctorParameters = () => [\n    { type: I18n }\n];\nTableToolbar.propDecorators = {\n    model: [{ type: Input }],\n    batchText: [{ type: Input }],\n    ariaLabel: [{ type: Input }],\n    cancelText: [{ type: Input }],\n    size: [{ type: Input }],\n    cancel: [{ type: Output }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(TableToolbar, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-table-toolbar\",\n                template: `\n\t<section\n\t\tclass=\"bx--table-toolbar\"\n\t\t[ngClass]=\"{'bx--table-toolbar--small' : size === 'sm'}\"\n\t\t[attr.aria-label]=\"actionBarLabel.subject | async\">\n\t\t<div\n\t\t\t*ngIf=\"model\"\n\t\t\tclass=\"bx--batch-actions\"\n\t\t\t[ngClass]=\"{\n\t\t\t\t'bx--batch-actions--active': selected\n\t\t\t}\">\n\t\t\t<div class=\"bx--action-list\">\n\t\t\t\t<ng-content select=\"ibm-table-toolbar-actions\"></ng-content>\n\t\t\t\t<button\n\t\t\t\t\tibmButton=\"primary\"\n\t\t\t\t\tclass=\"bx--batch-summary__cancel\"\n\t\t\t\t\t[tabindex]=\"selected ? 0 : -1\"\n\t\t\t\t\t(click)=\"onCancel()\">\n\t\t\t\t\t{{_cancelText.subject | async}}\n\t\t\t\t</button>\n\t\t\t</div>\n\t\t\t<div class=\"bx--batch-summary\">\n\t\t\t\t<p class=\"bx--batch-summary__para\" *ngIf=\"count as n\">\n\t\t\t\t\t<ng-container *ngIf=\"_batchTextLegacy.subject | async as legacyText; else batchTextBlock\">\n\t\t\t\t\t\t<span>{{n}}</span> {{legacyText}}\n\t\t\t\t\t</ng-container>\n\t\t\t\t\t<ng-template #batchTextBlock>\n\t\t\t\t\t\t<span *ngIf=\"n === 1\">{{_batchTextSingle.subject | async}}</span>\n\t\t\t\t\t\t<span *ngIf=\"n !== 1\">{{_batchTextMultiple.subject | i18nReplace: {count: n} | async}}</span>\n\t\t\t\t\t</ng-template>\n\t\t\t\t</p>\n\t\t\t</div>\n\t\t</div>\n\t\t<ng-content></ng-content>\n\t</section>\n\t`\n            }]\n    }], function () { return [{ type: ɵngcc1.I18n }]; }, { size: [{\n            type: Input\n        }], cancel: [{\n            type: Output\n        }], batchText: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], cancelText: [{\n            type: Input\n        }], model: [{\n            type: Input\n        }] }); })();\n\nclass TableToolbarActions {\n}\nTableToolbarActions.ɵfac = function TableToolbarActions_Factory(t) { return new (t || TableToolbarActions)(); };\nTableToolbarActions.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: TableToolbarActions, selectors: [[\"ibm-table-toolbar-actions\"]], ngContentSelectors: _c5, decls: 1, vars: 0, template: function TableToolbarActions_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵprojectionDef();\n        ɵngcc0.ɵɵprojection(0);\n    } }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(TableToolbarActions, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-table-toolbar-actions\",\n                template: `<ng-content></ng-content>`\n            }]\n    }], null, null); })();\n\nclass TableToolbarSearch extends Search {\n    constructor() {\n        super(...arguments);\n        this.tableSearch = true;\n        this.hostClass = true;\n    }\n    ngAfterViewInit() {\n        setTimeout(() => {\n            if (this.value) {\n                this.openSearch();\n            }\n        });\n    }\n}\nTableToolbarSearch.ɵfac = /*@__PURE__*/ function () { let ɵTableToolbarSearch_BaseFactory; return function TableToolbarSearch_Factory(t) { return (ɵTableToolbarSearch_BaseFactory || (ɵTableToolbarSearch_BaseFactory = ɵngcc0.ɵɵgetInheritedFactory(TableToolbarSearch)))(t || TableToolbarSearch); }; }();\nTableToolbarSearch.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: TableToolbarSearch, selectors: [[\"ibm-table-toolbar-search\"]], hostVars: 2, hostBindings: function TableToolbarSearch_HostBindings(rf, ctx) { if (rf & 2) {\n        ɵngcc0.ɵɵclassProp(\"bx--toolbar-content\", ctx.hostClass);\n    } }, features: [ɵngcc0.ɵɵProvidersFeature([\n            {\n                provide: NG_VALUE_ACCESSOR,\n                useExisting: TableToolbarSearch,\n                multi: true\n            }\n        ]), ɵngcc0.ɵɵInheritDefinitionFeature], decls: 7, vars: 20, consts: [[\"role\", \"search\", 1, \"bx--search\", 3, \"ngClass\", \"click\"], [1, \"bx--label\", 3, \"for\"], [\"class\", \"bx--search-input\", 4, \"ngIf\", \"ngIfElse\"], [\"enableInput\", \"\"], [\"class\", \"bx--search-close\", 3, \"ngClass\", \"title\", \"click\", 4, \"ngIf\"], [1, \"bx--search-input\"], [1, \"bx--search-input\", 3, \"type\", \"id\", \"value\", \"autocomplete\", \"placeholder\", \"disabled\", \"required\", \"input\", \"keyup.enter\"], [\"input\", \"\"], [\"class\", \"bx--toolbar-search__btn\", \"aria-label\", \"Open search\", 3, \"click\", 4, \"ngIf\"], [\"ibmIcon\", \"search\", \"class\", \"bx--search-magnifier-icon\", \"size\", \"16\", 4, \"ngIf\"], [\"aria-label\", \"Open search\", 1, \"bx--toolbar-search__btn\", 3, \"click\"], [\"ibmIcon\", \"search\", \"size\", \"16\", 1, \"bx--search-magnifier-icon\"], [1, \"bx--search-close\", 3, \"ngClass\", \"title\", \"click\"], [1, \"bx--visually-hidden\"], [\"ibmIcon\", \"close\", \"size\", \"16\"]], template: function TableToolbarSearch_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵelementStart(0, \"div\", 0);\n        ɵngcc0.ɵɵlistener(\"click\", function TableToolbarSearch_Template_div_click_0_listener() { return ctx.openSearch(); });\n        ɵngcc0.ɵɵelementStart(1, \"label\", 1);\n        ɵngcc0.ɵɵtext(2);\n        ɵngcc0.ɵɵelementEnd();\n        ɵngcc0.ɵɵtemplate(3, TableToolbarSearch_div_3_Template, 1, 0, \"div\", 2);\n        ɵngcc0.ɵɵtemplate(4, TableToolbarSearch_ng_template_4_Template, 4, 9, \"ng-template\", null, 3, ɵngcc0.ɵɵtemplateRefExtractor);\n        ɵngcc0.ɵɵtemplate(6, TableToolbarSearch_button_6_Template, 4, 5, \"button\", 4);\n        ɵngcc0.ɵɵelementEnd();\n    } if (rf & 2) {\n        const _r1 = ɵngcc0.ɵɵreference(5);\n        ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunctionV(7, _c7, [ctx.size === \"sm\", ctx.size === \"md\", ctx.size === \"xl\", ctx.theme === \"light\", ctx.skeleton, ctx.expandable && !ctx.tableSearch, ctx.expandable && !ctx.tableSearch && ctx.active, ctx.toolbar && !ctx.expandable, ctx.toolbar && !ctx.expandable && ctx.active, ctx.tableSearch && !ctx.expandable, ctx.tableSearch && ctx.expandable, ctx.tableSearch && ctx.expandable && ctx.active]));\n        ɵngcc0.ɵɵattribute(\"aria-label\", ctx.ariaLabel);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"for\", ctx.id);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵtextInterpolate(ctx.label);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.skeleton)(\"ngIfElse\", _r1);\n        ɵngcc0.ɵɵadvance(3);\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.tableSearch || !ctx.toolbar);\n    } }, dependencies: [ɵngcc2.NgClass, ɵngcc2.NgIf, ɵngcc4.IconDirective], encapsulation: 2 });\nTableToolbarSearch.propDecorators = {\n    hostClass: [{ type: HostBinding, args: [\"class.bx--toolbar-content\",] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(TableToolbarSearch, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-table-toolbar-search\",\n                template: \"<div\\n\\tclass=\\\"bx--search\\\"\\n\\t[ngClass]=\\\"{\\n\\t\\t'bx--search--sm': size === 'sm',\\n\\t\\t'bx--search--lg': size === 'md',\\n\\t\\t'bx--search--xl': size === 'xl',\\n\\t\\t'bx--search--light': theme === 'light',\\n\\t\\t'bx--skeleton': skeleton,\\n\\t\\t'bx--search--expandable': expandable && !tableSearch,\\n\\t\\t'bx--search--expanded': expandable && !tableSearch && active,\\n\\t\\t'bx--toolbar-search': toolbar && !expandable,\\n\\t\\t'bx--toolbar-search--active': toolbar && !expandable && active,\\n\\t\\t'bx--toolbar-search-container-persistent': tableSearch && !expandable,\\n\\t\\t'bx--toolbar-search-container-expandable': tableSearch && expandable,\\n\\t\\t'bx--toolbar-search-container-active': tableSearch && expandable && active\\n\\t}\\\"\\n\\trole=\\\"search\\\"\\n\\t[attr.aria-label]=\\\"ariaLabel\\\"\\n\\t(click)=\\\"openSearch()\\\">\\n\\t<label class=\\\"bx--label\\\" [for]=\\\"id\\\">{{label}}</label>\\n\\n\\t<div *ngIf=\\\"skeleton; else enableInput\\\" class=\\\"bx--search-input\\\"></div>\\n\\t<ng-template #enableInput>\\n\\t\\t<input\\n\\t\\t\\t#input\\n\\t\\t\\tclass=\\\"bx--search-input\\\"\\n\\t\\t\\t[type]=\\\"tableSearch || !toolbar ? 'text' : 'search'\\\"\\n\\t\\t\\t[id]=\\\"id\\\"\\n\\t\\t\\t[value]=\\\"value\\\"\\n\\t\\t\\t[autocomplete]=\\\"autocomplete\\\"\\n\\t\\t\\t[placeholder]=\\\"placeholder\\\"\\n\\t\\t\\t[disabled]=\\\"disabled\\\"\\n\\t\\t\\t[required]=\\\"required\\\"\\n\\t\\t\\t(input)=\\\"onSearch($event.target.value)\\\"\\n\\t\\t\\t(keyup.enter)=\\\"onEnter()\\\"/>\\n\\t\\t<button\\n\\t\\t\\t*ngIf=\\\"!tableSearch && toolbar\\\"\\n\\t\\t\\tclass=\\\"bx--toolbar-search__btn\\\"\\n\\t\\t\\t(click)=\\\"openSearch()\\\"\\n\\t\\t\\taria-label=\\\"Open search\\\">\\n\\t\\t\\t<svg ibmIcon=\\\"search\\\" size=\\\"16\\\" class=\\\"bx--search-magnifier-icon\\\"></svg>\\n\\t\\t</button>\\n\\t\\t<svg\\n\\t\\t\\tibmIcon=\\\"search\\\"\\n\\t\\t\\t*ngIf=\\\"tableSearch || !toolbar\\\"\\n\\t\\t\\tclass=\\\"bx--search-magnifier-icon\\\"\\n\\t\\t\\tsize=\\\"16\\\">\\n\\t\\t</svg>\\n\\t</ng-template>\\n\\n\\t<button\\n\\t\\t*ngIf=\\\"tableSearch || !toolbar\\\"\\n\\t\\tclass=\\\"bx--search-close\\\"\\n\\t\\t[ngClass]=\\\"{\\n\\t\\t\\t'bx--search-close--hidden': !value || value.length === 0\\n\\t\\t}\\\"\\n\\t\\t[title]=\\\"clearButtonTitle\\\"\\n\\t\\t(click)=\\\"clearSearch()\\\">\\n\\t\\t<span class=\\\"bx--visually-hidden\\\">{{ clearButtonTitle }}</span>\\n\\t\\t<svg ibmIcon=\\\"close\\\" size=\\\"16\\\"></svg>\\n\\t</button>\\n</div>\\n\",\n                providers: [\n                    {\n                        provide: NG_VALUE_ACCESSOR,\n                        useExisting: TableToolbarSearch,\n                        multi: true\n                    }\n                ]\n            }]\n    }], null, { hostClass: [{\n            type: HostBinding,\n            args: [\"class.bx--toolbar-content\"]\n        }] }); })();\n\nclass TableToolbarContent {\n    constructor() {\n        this.class = true;\n    }\n}\nTableToolbarContent.ɵfac = function TableToolbarContent_Factory(t) { return new (t || TableToolbarContent)(); };\nTableToolbarContent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: TableToolbarContent, selectors: [[\"ibm-table-toolbar-content\"]], hostVars: 2, hostBindings: function TableToolbarContent_HostBindings(rf, ctx) { if (rf & 2) {\n        ɵngcc0.ɵɵclassProp(\"bx--toolbar-content\", ctx.class);\n    } }, ngContentSelectors: _c5, decls: 1, vars: 0, template: function TableToolbarContent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵprojectionDef();\n        ɵngcc0.ɵɵprojection(0);\n    } }, encapsulation: 2 });\nTableToolbarContent.propDecorators = {\n    class: [{ type: HostBinding, args: [\"class.bx--toolbar-content\",] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(TableToolbarContent, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-table-toolbar-content\",\n                template: `<ng-content></ng-content>`\n            }]\n    }], function () { return []; }, { class: [{\n            type: HostBinding,\n            args: [\"class.bx--toolbar-content\"]\n        }] }); })();\n\nclass TableHeaderDescription {\n    constructor() {\n        this.id = `table-description-${TableHeaderDescription.counter++}`;\n        this.descriptionClass = true;\n    }\n}\nTableHeaderDescription.ɵfac = function TableHeaderDescription_Factory(t) { return new (t || TableHeaderDescription)(); };\nTableHeaderDescription.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: TableHeaderDescription, selectors: [[\"\", \"ibmTableHeaderDescription\", \"\"]], hostVars: 3, hostBindings: function TableHeaderDescription_HostBindings(rf, ctx) { if (rf & 2) {\n        ɵngcc0.ɵɵattribute(\"id\", ctx.id);\n        ɵngcc0.ɵɵclassProp(\"bx--data-table-header__description\", ctx.descriptionClass);\n    } }, inputs: { id: \"id\" } });\nTableHeaderDescription.counter = 0;\nTableHeaderDescription.propDecorators = {\n    id: [{ type: HostBinding, args: [\"attr.id\",] }, { type: Input }],\n    descriptionClass: [{ type: HostBinding, args: [\"class.bx--data-table-header__description\",] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(TableHeaderDescription, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmTableHeaderDescription]\"\n            }]\n    }], function () { return []; }, { id: [{\n            type: HostBinding,\n            args: [\"attr.id\"]\n        }, {\n            type: Input\n        }], descriptionClass: [{\n            type: HostBinding,\n            args: [\"class.bx--data-table-header__description\"]\n        }] }); })();\n\nclass TableHeaderTitle {\n    constructor() {\n        this.id = `table-title-${TableHeaderTitle.counter++}`;\n        this.titleClass = true;\n    }\n}\nTableHeaderTitle.ɵfac = function TableHeaderTitle_Factory(t) { return new (t || TableHeaderTitle)(); };\nTableHeaderTitle.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: TableHeaderTitle, selectors: [[\"\", \"ibmTableHeaderTitle\", \"\"]], hostVars: 3, hostBindings: function TableHeaderTitle_HostBindings(rf, ctx) { if (rf & 2) {\n        ɵngcc0.ɵɵattribute(\"id\", ctx.id);\n        ɵngcc0.ɵɵclassProp(\"bx--data-table-header__title\", ctx.titleClass);\n    } }, inputs: { id: \"id\" } });\nTableHeaderTitle.counter = 0;\nTableHeaderTitle.propDecorators = {\n    id: [{ type: HostBinding, args: [\"attr.id\",] }, { type: Input }],\n    titleClass: [{ type: HostBinding, args: [\"class.bx--data-table-header__title\",] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(TableHeaderTitle, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmTableHeaderTitle]\"\n            }]\n    }], function () { return []; }, { id: [{\n            type: HostBinding,\n            args: [\"attr.id\"]\n        }, {\n            type: Input\n        }], titleClass: [{\n            type: HostBinding,\n            args: [\"class.bx--data-table-header__title\"]\n        }] }); })();\n\n/**\n * `DataGridInteractionModel` provides centralized control over arbitrary 2d grids, following the w3 specs.\n *\n * Refs:\n *  - https://www.w3.org/TR/wai-aria-practices/examples/grid/dataGrids.html\n *  - https://www.w3.org/TR/wai-aria-practices/#grid\n *\n * Example usage (taken from `table.component`):\n```typescript\n// a standard HTML table\nconst table = this.elementRef.nativeElement.querySelector(\"table\") as HTMLTableElement;\n\n// `TableDomAdapter` implements `TableAdapter` and provides a consistent interface to query rows and columns in a table\nconst tableAdapter = new TableDomAdapter(table);\n\n// the keydown events that we'll use for keyboard navigation of the table\nconst keydownEventStream = fromEvent<KeyboardEvent>(table, \"keydown\");\n\n// the click events we'll use to ensure focus is updated correctly on click\nconst clickEventStream = fromEvent<MouseEvent>(table, \"click\");\n\n// the `DataGridInteractionModel` instance!\nthis.interactionModel = new DataGridInteractionModel(keydownEventStream, clickEventStream, tableAdapter);\n\n// subscribe to the combined position updates\nthis.interactionModel.position.subscribe(event => {\n    const [currentRow, currentColumn] = event.current;\n    const [previousRow, previousColumn] = event.previous;\n\n    // query the TableAdapter for the cell at the current row and column ...\n    const currentElement = tableAdapter.getCell(currentRow, currentColumn);\n    // ... and make it focusable it\n    Table.setTabIndex(currentElement, 0);\n\n    // if the model has just initialized don't focus or reset anything\n    if (previousRow === -1 || previousColumn === -1) { return; }\n\n    // query the TableAdapter for the cell at the previous row and column ...\n    const previousElement = tableAdapter.getCell(previousRow, previousColumn);\n    // ... and make it unfocusable (now there is only a single focusable cell)\n    Table.setTabIndex(previousElement, -1);\n\n    // finally, focus the current cell (skipped during initilzation)\n    Table.focus(currentElement);\n});\n```\n */\nclass DataGridInteractionModel {\n    /**\n     * `DataGridInteractionModel` requires knowledge of events, and a representation of your table/grid to be useful.\n     *\n     * @param keyboardEventStream an Observable of KeyboardEvents. Should be scoped to the table container.\n     * @param clickEventStream an Observable of ClickEvents. should only include clicks that take action on items known by the TableAdapter\n     * @param tableAdapter an instance of a concrete class that implements TableAdapter. The standard carbon table uses TableDomAdapter\n     */\n    constructor(keyboardEventStream, clickEventStream, tableAdapter) {\n        this.keyboardEventStream = keyboardEventStream;\n        this.clickEventStream = clickEventStream;\n        this.tableAdapter = tableAdapter;\n        /**\n         * Internal subject to handle changes in row\n         */\n        this.rowSubject = new BehaviorSubject({ current: 0, previous: -1 });\n        /**\n         * Internal subject to handle changes in column\n         */\n        this.columnSubject = new BehaviorSubject({ current: 0, previous: -1 });\n        this.rowIndex = this.rowSubject.asObservable();\n        this.columnIndex = this.columnSubject.asObservable();\n        this.position = combineLatest(this.rowIndex, this.columnIndex).pipe(map(positions => {\n            const [row, column] = positions;\n            return {\n                current: [row.current, column.current],\n                previous: [row.previous, column.previous]\n            };\n        }));\n        this.keyboardEventStream.subscribe(this.handleKeyboardEvent.bind(this));\n        this.clickEventStream.subscribe(this.handleClickEvent.bind(this));\n    }\n    /**\n     * The latest value emitted by the rowSubject\n     */\n    get currentRow() {\n        return this.rowSubject.getValue().current;\n    }\n    /**\n     * The latest value emitted by the columnSubject\n     */\n    get currentColumn() {\n        return this.columnSubject.getValue().current;\n    }\n    /**\n     * The last column as reported by the adapter\n     */\n    get lastColumn() {\n        return this.tableAdapter.lastColumnIndex;\n    }\n    /**\n     * The last row as reported by the adapter\n     */\n    get lastRow() {\n        return this.tableAdapter.lastRowIndex;\n    }\n    /**\n     * Handles moving the position according to the w3 datagrid navigation specs\n     *\n     * Refs:\n     *  - https://www.w3.org/TR/wai-aria-practices/examples/grid/dataGrids.html\n     *  - https://www.w3.org/TR/wai-aria-practices/#grid\n     *\n     * @param event the KeyboardEvent to handle\n     */\n    handleKeyboardEvent(event) {\n        const currentCell = this.tableAdapter.getCell(this.currentRow, this.currentColumn);\n        let currentColumn = this.tableAdapter.findColumnIndex(currentCell);\n        let currentRow = this.tableAdapter.findRowIndex(currentCell);\n        switch (event.key) {\n            case \"Right\": // IE specific value\n            case \"ArrowRight\":\n                event.preventDefault();\n                // add the colspan since findColumnIndex will return the\n                // first column containing the cell (of N columns it may span)\n                // and we want to navigate to the next \"real\" column\n                this.goToColumn(currentColumn + currentCell.colSpan);\n                break;\n            case \"Left\": // IE specific value\n            case \"ArrowLeft\":\n                event.preventDefault();\n                // we only ever need to subtract 1 from the column, since findColumnIndex returns the\n                // first of N columns containing the cell\n                this.goToColumn(currentColumn - 1);\n                break;\n            case \"Down\": // IE specific value\n            case \"ArrowDown\":\n                event.preventDefault();\n                this.goToRow(currentRow + currentCell.rowSpan);\n                break;\n            case \"Up\": // IE specific value\n            case \"ArrowUp\":\n                event.preventDefault();\n                this.goToRow(currentRow - 1);\n                break;\n            case \"Home\":\n                event.preventDefault();\n                if (event.ctrlKey) {\n                    this.goTo({ row: 0, column: 0 });\n                }\n                else {\n                    this.goToColumn(0);\n                }\n                break;\n            case \"End\":\n                event.preventDefault();\n                if (event.ctrlKey) {\n                    this.goTo({ row: this.lastRow, column: this.lastColumn });\n                }\n                else {\n                    this.goToColumn(this.lastColumn);\n                }\n                break;\n        }\n    }\n    /**\n     * Handles moving the position to the clicked cell\n     *\n     * @param event the MouseEvent to handle\n     */\n    handleClickEvent(event) {\n        const cell = event.target.closest(\"td, th\");\n        const [rowIndex, cellIndex] = this.tableAdapter.findIndex(cell);\n        this.goTo({ row: rowIndex, column: cellIndex });\n    }\n    /**\n     * Jump to a specific column without changing the row\n     *\n     * @param index column to jump to\n     */\n    goToColumn(index) {\n        if (index > this.lastColumn || index < 0) {\n            return;\n        }\n        this.goTo({ row: this.currentRow, column: index });\n    }\n    /**\n     * Jump to a specific row without changing the column\n     *\n     * @param index row to jump to\n     */\n    goToRow(index) {\n        if (index > this.lastRow || index < 0) {\n            return;\n        }\n        this.goTo({ row: index, column: this.currentColumn });\n    }\n    /**\n     * Jump to the specified row and column\n     *\n     * @param param0 an object that contains `row` and `column` properties\n     */\n    goTo({ row, column }) {\n        this.rowSubject.next({ current: row, previous: this.currentRow });\n        this.columnSubject.next({ current: column, previous: this.currentColumn });\n    }\n    /**\n     * Convenience method to reset the tab indexes on a standard carbon table.\n     * For custom tables you may want to reset the indexes manually and simply call `.reset()`\n     */\n    resetTabIndexes(newTabIndex = -1) {\n        for (let i = 0; i < this.tableAdapter.lastRowIndex; i++) {\n            const row = this.tableAdapter.getRow(i);\n            for (const cell of Array.from(row.cells)) {\n                const tabbableElements = getFocusElementList(cell, tabbableSelectorIgnoreTabIndex);\n                tabbableElements.forEach((node) => node.tabIndex = newTabIndex);\n                cell.tabIndex = newTabIndex;\n            }\n        }\n        this.reset();\n    }\n    /**\n     * Resets the models focus position\n     */\n    reset() {\n        this.rowSubject.next({ current: 0, previous: -1 });\n        this.columnSubject.next({ current: 0, previous: -1 });\n    }\n}\n\n/**\n * An abstract class that represents a cell in a table\n */\nclass TableCellAdapter {\n}\n/**\n * An abstract class that represents a row in a table\n */\nclass TableRowAdapter {\n}\n/**\n * An abstract representation of a table that provides\n * a standard interface to query 2d tables for cell and row information.\n */\nclass TableAdapter {\n    /**\n     * The last accessible column in the table\n     */\n    get lastColumnIndex() { return; }\n    /**\n     * The last accessible row in the table\n     */\n    get lastRowIndex() { return; }\n    /**\n     * Returns a cell from the table\n     *\n     * @param row index of the row\n     * @param column index of the column\n     */\n    getCell(row, column) { return; }\n    /**\n     * Returns a row from the table\n     *\n     * @param column index of the column\n     */\n    getColumn(column) { return; }\n    /**\n     * Returns a row from the table\n     *\n     * @param row index of the row\n     */\n    getRow(row) { return; }\n    /**\n     * Finds the column index of a given cell\n     *\n     * @param cell the cell to search for\n     */\n    findColumnIndex(cell) { return; }\n    /**\n     * Finds the row index of a given cell\n     *\n     * @param cell the cell to search for\n     */\n    findRowIndex(cell) { return; }\n    /**\n     * Finds the row and column index of a given cell\n     *\n     * @param cell the cell to search for\n     * @returns a tuple that follows the `[row, column]` convention\n     */\n    findIndex(cell) { return; }\n}\nvar TableDomSpanDirection;\n(function (TableDomSpanDirection) {\n    TableDomSpanDirection[\"colSpan\"] = \"colSpan\";\n    TableDomSpanDirection[\"rowSpan\"] = \"rowSpan\";\n})(TableDomSpanDirection || (TableDomSpanDirection = {}));\n/**\n * A concrete implementation of `TableAdapter`\n *\n * Provides standard and consistent access to table cells and rows\n */\nclass TableDomAdapter {\n    /**\n     * `TableDomAdapter` works on a normal HTML table structure.\n     * Custom tables that don't follow the standard structure should use a custom implementation of `TableAdapter`.\n     *\n     * The standard structure allows us to directly query rows for cells and indexes - though we do have to handle colspans specially.\n     *\n     * @param tableElement the root HTML table element.\n     */\n    constructor(tableElement) {\n        this.tableElement = tableElement;\n    }\n    /**\n     * The last accessible column in the table\n     */\n    get lastColumnIndex() {\n        return this.getRealRowLength(this.tableElement.rows[0]);\n    }\n    /**\n     * The last accessible row in the table\n     */\n    get lastRowIndex() {\n        return this.tableElement.rows.length - 1;\n    }\n    /**\n     * Returns a cell from the table taking colspans in to account.\n     *\n     * @param row index of the row\n     * @param column index of the column\n     */\n    getCell(row, column) {\n        const col = this.getColumn(column);\n        return this.findCellInColumn(col, row).cell;\n    }\n    /**\n     * Returns a column from the table, using the `id` and `headers` attributes\n     *\n     * See here for more detail these attributes: https://www.w3.org/TR/WCAG20-TECHS/H43.html\n     *\n     * @param column the index of the column\n     */\n    getColumn(column) {\n        const firstHeader = Array.from(this.tableElement.rows[0].cells);\n        const { cell: header, realIndex: realColumnIndex } = this.findCellInRow(firstHeader, column);\n        const linkedCells = [];\n        for (let i = 1; i < this.tableElement.rows.length; i++) {\n            const row = this.tableElement.rows[i];\n            // query for any cells that are linked to the given header id\n            // `~=` matches values in space separated lists - so `[headers~='foo']` would match `headers=\"foo bar\"` and `headers=\"foo\"`\n            // but not `headers=\"bar\"` or `headers=\"bar baz\"`\n            const linkedRowCells = row.querySelectorAll(`[headers~='${header.id}']`);\n            // if we have more than one cell, get the one that is closest to the column\n            if (linkedRowCells.length > 1) {\n                const { cell } = this.findCellInRow(Array.from(linkedRowCells), column - realColumnIndex);\n                linkedCells.push(cell);\n            }\n            else if (linkedRowCells[0]) {\n                linkedCells.push(linkedRowCells[0]);\n            }\n        }\n        // return an empty array if we can't find any linked cells\n        // returning anything else would be a lie\n        if (!linkedCells) {\n            return [];\n        }\n        return [header, ...linkedCells];\n    }\n    /**\n     * Returns a row from the table\n     *\n     * @param row index of the row\n     */\n    getRow(row) {\n        return this.tableElement.rows[row];\n    }\n    /**\n     * Finds the column index of a given cell\n     *\n     * @param cell the cell to search for\n     */\n    findColumnIndex(cell) {\n        const row = this.getRow(this.findRowIndex(cell));\n        if (!row) {\n            return;\n        }\n        // if the cell has linked headers we can do a more accurate lookup\n        if (cell && cell.headers) {\n            const ids = cell.headers.split(\" \");\n            const headerRows = Array.from(this.tableElement.tHead.rows);\n            const indexes = [];\n            // start from the last row and work up\n            for (const headerRow of headerRows.reverse()) {\n                const headerCells = Array.from(headerRow.cells);\n                const header = headerCells.find(headerCell => ids.includes(headerCell.id));\n                // if we have a matching header, find it's index (adjusting for colspans)\n                if (header) {\n                    // this is borrowed from below\n                    let cellIndex = 0;\n                    for (const c of headerCells) {\n                        if (c === header) {\n                            break;\n                        }\n                        cellIndex += c.colSpan;\n                    }\n                    indexes.push(cellIndex);\n                }\n            }\n            // sort the indexes largest to smallest to find the closest matching header index\n            const firstIndex = indexes.sort((a, b) => b - a)[0];\n            // search the row for cells that share the header\n            let similarCells = [];\n            for (const id of ids) {\n                // there's no selector that will match two space separated lists,\n                // so we have to iterate through the ids and query the row for each\n                const rowCells = Array.from(row.querySelectorAll(`[headers~='${id}']`));\n                for (const rowCell of rowCells) {\n                    // only keep one set of cells\n                    if (!similarCells.includes(rowCell)) {\n                        similarCells.push(rowCell);\n                    }\n                }\n            }\n            // DOM order is not preserved, so we have to sort the row\n            similarCells = similarCells.sort((a, b) => a.cellIndex - b.cellIndex);\n            // return the header index plus any adjustment within that headers column\n            return firstIndex + similarCells.indexOf(cell);\n        }\n        // fallback if the cell isn't linked to any headers\n        let cellIndex = 0;\n        for (const c of Array.from(row.cells)) {\n            if (c === cell) {\n                break;\n            }\n            cellIndex += c.colSpan;\n        }\n        return cellIndex;\n    }\n    /**\n     * Finds the row index of a given cell\n     *\n     * @param cell the cell to search for\n     */\n    findRowIndex(cell) {\n        for (const row of Array.from(this.tableElement.rows)) {\n            if (row.contains(cell)) {\n                return row.rowIndex;\n            }\n        }\n    }\n    /**\n     * Finds the row and column index of a given cell\n     *\n     * @param cell the cell to search for\n     * @returns a tuple that follows the `[row, column]` convention\n     */\n    findIndex(cell) {\n        return [this.findRowIndex(cell), this.findColumnIndex(cell)];\n    }\n    /**\n     * Helper function that returns the \"real\" length of a row.\n     * Only accurate with regard to colspans (though that's sufficient for it's uses here)\n     *\n     * TODO: Take rowSpan into account\n     *\n     * @param row the row to get the length of\n     */\n    getRealRowLength(row) {\n        // start at -1 since the colspans will sum to 1 index greater than the total\n        return Array.from(row.cells).reduce((count, cell) => count + cell.colSpan, -1);\n    }\n    /**\n     * Finds a cell and it's real index given an array of cells, a target index, and the spanning direction\n     *\n     * @param cells An array of cells to search\n     * @param targetIndex The index we think the cell is located at\n     * @param spanDirection The direction of the cell spans. Should be `\"colSpan\"` for a row and `\"rowSpan\"` for a column\n     */\n    findCell(cells, targetIndex, spanDirection) {\n        // rows/cols can have fewer total cells than the actual table\n        // the model pretends all rows/cols behave the same (with col/row spans > 1 being N cells long)\n        // this maps that view to the HTML view (col/row spans > 1 are one element, so the array is shorter)\n        let realIndex = 0;\n        // i is only used for iterating the cells\n        for (let i = 0; i < targetIndex;) {\n            // skip the next N cells\n            i += cells[realIndex][spanDirection];\n            // don't bump realIndex if i now exceeds the cell we're shooting for\n            if (i > targetIndex) {\n                break;\n            }\n            // finally, increment realIndex (to keep it generally in step with i)\n            realIndex++;\n        }\n        return {\n            cell: cells[realIndex],\n            realIndex\n        };\n    }\n    /**\n     * Helper method around `findCell`, searches based on a row of cells\n     *\n     * @param row the row of elements to search\n     * @param index the index of the element\n     */\n    findCellInRow(row, index) {\n        return this.findCell(row, index, TableDomSpanDirection.colSpan);\n    }\n    /**\n     * Helper method around `findCell`, searches based on a column of cells\n     *\n     * @param col the column of elements to search\n     * @param index the index of the element\n     */\n    findCellInColumn(col, index) {\n        return this.findCell(col, index, TableDomSpanDirection.rowSpan);\n    }\n}\n\n/**\n * Build your table with this component by extending things that differ from default.\n *\n * [See demo](../../?path=/story/components-table--basic)\n *\n * Instead of the usual write-your-own-html approach you had with `<table>`,\n * carbon table uses model-view-controller approach.\n *\n * Here, you create a view (with built-in controller) and provide it a model.\n * Changes you make to the model are reflected in the view. Provide same model you use\n * in the table to the `<ibm-pagination>` components.\n * They provide a different view over the same data.\n *\n * ## Basic usage\n *\n * ```html\n * <ibm-table [model]=\"model\"></ibm-table>\n * ```\n *\n * ```typescript\n * public model = new TableModel();\n *\n * this.model.data = [\n * \t[new TableItem({data: \"asdf\"}), new TableItem({data: \"qwer\"})],\n * \t[new TableItem({data: \"csdf\"}), new TableItem({data: \"zwer\"})],\n * \t[new TableItem({data: \"bsdf\"}), new TableItem({data: \"swer\"})],\n * \t[new TableItem({data: \"csdf\"}), new TableItem({data: \"twer\"})]\n * ];\n * ```\n *\n * ## Customization\n *\n * If you have custom data in your table, you need a way to display it. You can do that\n * by providing a template to `TableItem`.\n *\n * ```html\n * <ng-template #customTableItemTemplate let-data=\"data\">\n * \t<a [routerLink]=\"data.link\">{{data.name}} {{data.surname}}</a>\n * </ng-template>\n * ```\n *\n * ```typescript\n * customTableItemTemplate: TemplateRef<any>;\n *\n * this.customModel.data = [\n * \t[new TableItem({data: \"asdf\"}), new TableItem({data: {name: \"Lessy\", link: \"/table\"}, template: this.customTableItemTemplate})],\n * \t[new TableItem({data: \"csdf\"}), new TableItem({data: \"swer\"})],\n * \t[new TableItem({data: \"bsdf\"}), new TableItem({data: {name: \"Alice\", surname: \"Bob\"}, template: this.customTableItemTemplate})],\n * \t[new TableItem({data: \"csdf\"}), new TableItem({data: \"twer\"})],\n * ];\n * ```\n *\n * ### Sorting and filtering\n *\n * In case you need custom sorting and/or filtering you should subclass `TableHeaderItem`\n * and override needed functions.\n *\n * ```typescript\n * class FilterableHeaderItem extends TableHeaderItem {\n * \t// custom filter function\n * \tfilter(item: TableItem): boolean {\n * \t\tif (typeof item.data === \"string\" && item.data.toLowerCase().indexOf(this.filterData.data.toLowerCase()) >= 0 ||\n * \t\titem.data.name && item.data.name.toLowerCase().indexOf(this.filterData.data.toLowerCase()) >= 0 ||\n * \t\titem.data.surname && item.data.surname.toLowerCase().indexOf(this.filterData.data.toLowerCase()) >= 0) {\n * \t\t\treturn false;\n * \t\t}\n * \t\treturn true;\n * \t}\n *\n * \tset filterCount(n) {}\n * \tget filterCount() {\n * \t\treturn (this.filterData && this.filterData.data && this.filterData.data.length > 0) ? 1 : 0;\n * \t}\n *\n * \t// used for custom sorting\n * \tcompare(one: TableItem, two: TableItem) {\n * \t\tconst stringOne = (one.data.name || one.data.surname || one.data).toLowerCase();\n * \t\tconst stringTwo = (two.data.name || two.data.surname || two.data).toLowerCase();\n *\n * \t\tif (stringOne > stringTwo) {\n * \t\t\treturn 1;\n * \t\t} else if (stringOne < stringTwo) {\n * \t\t\treturn -1;\n * \t\t} else {\n * \t\t\treturn 0;\n * \t\t}\n * \t}\n * }\n * ```\n *\n * If you want to do your sorting on the backend or query for sorted data as a result of user\n * clicking the table header, check table [`sort`](#sort) output documentation\n *\n * See `TableHeaderItem` class for more information.\n *\n * ## No data template\n *\n * When table has no data to show, it can show a message you provide it instead.\n *\n * ```html\n * <ibm-table [model]=\"model\">No data.</ibm-table>\n * ```\n *\n * ... will show `No data.` message, but you can get creative and provide any template you want\n * to replace table's default `tbody`.\n *\n * ## Use pagination as table footer\n *\n * ```html\n * <ibm-pagination [model]=\"model\" (selectPage)=\"selectPage($event)\"></ibm-pagination>\n * ```\n *\n * `selectPage()` function should fetch the data from backend, create new `data`, apply it to `model.data`,\n * and update `model.currentPage`.\n *\n * If the data your server returns is a two dimensional array of objects, it would look something like this:\n *\n * ```typescript\n * selectPage(page) {\n * \tthis.getPage(page).then((data: Array<Array<any>>) => {\n * \t\t// set the data and update page\n * \t\tthis.model.data = this.prepareData(data);\n * \t\tthis.model.currentPage = page;\n * \t});\n * }\n *\n * protected prepareData(data: Array<Array<any>>) {\n * \t// create new data from the service data\n * \tlet newData = [];\n * \tdata.forEach(dataRow => {\n * \t\tlet row = [];\n * \t\tdataRow.forEach(dataElement => {\n * \t\t\trow.push(new TableItem({\n * \t\t\t\tdata: dataElement,\n * \t\t\t\ttemplate: typeof dataElement === \"string\" ? undefined : this.paginationTableItemTemplate\n * \t\t\t\t// your template can handle all the data types so you don't have to conditionally set it\n * \t\t\t\t// you can also set different templates for different columns based on index\n * \t\t\t}));\n * \t\t});\n * \t\tnewData.push(row);\n * \t});\n * \treturn newData;\n * }\n * ```\n *\n * <example-url>../../iframe.html?id=components-table--basic</example-url>\n */\nclass Table {\n    /**\n     * Creates an instance of Table.\n     */\n    constructor(elementRef, applicationRef, i18n) {\n        this.elementRef = elementRef;\n        this.applicationRef = applicationRef;\n        this.i18n = i18n;\n        /**\n         * Size of the table rows.\n         */\n        this.size = \"md\";\n        /**\n         * Set to `true` for a loading table.\n         */\n        this.skeleton = false;\n        /**\n         * Setting sortable to false will disable all headers including headers which are sortable. Is is\n         * possible to set the sortable state on the header item to disable/enable sorting for only some headers.\n         */\n        this.sortable = true;\n        this.noBorder = true;\n        /**\n         * Controls whether to show the selection checkboxes column or not.\n         */\n        this.showSelectionColumn = true;\n        /**\n         * Controls whether to enable multiple or single row selection.\n         */\n        this.enableSingleSelect = false;\n        /**\n         * Distance (in px) from the bottom that view has to reach before\n         * `scrollLoad` event is emitted.\n         */\n        this.scrollLoadDistance = 0;\n        /**\n         * Set to `true` to enable users to resize columns.\n         *\n         * Works for columns with width set in pixels.\n         *\n         */\n        this.columnsResizable = false;\n        /**\n         * Set to `true` to enable users to drag and drop columns.\n         *\n         * Changing the column order in table changes table model. Be aware of it when you add additional data\n         * to the model.\n         *\n         */\n        this.columnsDraggable = false;\n        /**\n         * Set to `false` to remove table rows (zebra) stripes.\n         */\n        this.striped = true;\n        /**\n         * Allows table content to scroll horizontally\n         */\n        this.tableContent = true;\n        /**\n         * Set to `true` to stick the header to the top of the table\n         */\n        this.stickyHeader = false;\n        /**\n         * Emits an index of the column that wants to be sorted.\n         *\n         * If no observers are provided (default), table will attempt to do a simple sort of the data loaded\n         * into the model.\n         *\n         * If an observer is provided, table will not attempt any sorting of its own and it is up to the observer\n         * to sort the table. This is what you typically want if you're using a backend query to get the sorted\n         * data or want to sort data across multiple pages.\n         *\n         * Usage:\n         *\n         * ```typescript\n         * @Component({\n         * \tselector: \"app-table\",\n         * \ttemplate: `\n         * \t\t<ibm-table\n         * \t\t\t[model]=\"model\"\n         * \t\t\t(sort)=\"simpleSort($event)\">\n         * \t\t\tNo data.\n         * \t\t</ibm-table>\n         * \t`\n         * })\n         * export class TableApp implements OnInit, OnChanges {\n         * \t@Input() model = new TableModel();\n         *\n         * \tngOnInit() {\n         * \t\tthis.model.header = [\n         * \t\t\tnew TableHeaderItem({ data: \"Name\" }),\n         * \t\t\tnew TableHeaderItem({ data: \"hwer\" })\n         * \t\t];\n         *\n         * \t\tthis.model.data = [\n         * \t\t\t[new TableItem({ data: \"Name 1\" }), new TableItem({ data: \"qwer\" })],\n         * \t\t\t[new TableItem({ data: \"Name 3\" }), new TableItem({ data: \"zwer\" })],\n         * \t\t\t[new TableItem({ data: \"Name 2\" }), new TableItem({ data: \"swer\" })],\n         * \t\t\t[new TableItem({ data: \"Name 4\" }), new TableItem({data: \"twer\"})],\n         * \t\t\t[new TableItem({ data: \"Name 5\" }), new TableItem({data: \"twer\"})],\n         * \t\t\t[new TableItem({ data: \"Name 6\" }), new TableItem({data: \"twer\"})]\n         * \t\t];\n         * \t}\n         *\n         * \tsimpleSort(index: number) {\n         * \t\t// this function does a simple sort, which is the default for the table and if that's\n         * \t\t// all you want, you don't need to do this.\n         *\n         * \t\t// here you can query your backend and update the model.data based on the result\n         * \t\tif (this.model.header[index].sorted) {\n         * \t\t\t// if already sorted flip sorting direction\n         * \t\t\tthis.model.header[index].ascending = this.model.header[index].descending;\n         * \t\t}\n         * \t\tthis.model.sort(index);\n         * \t}\n         * }\n         * ```\n         */\n        this.sort = new EventEmitter();\n        /**\n         * Emits if all rows are selected.\n         *\n         * @param model\n         */\n        this.selectAll = new EventEmitter();\n        /**\n         * Emits if all rows are deselected.\n         *\n         * @param model\n         */\n        this.deselectAll = new EventEmitter();\n        /**\n         * Emits if a single row is selected.\n         *\n         * @param ({model: this.model, selectedRowIndex: index})\n         */\n        this.selectRow = new EventEmitter();\n        /**\n         * Emits if a single row is deselected.\n         *\n         * @param ({model: this.model, deselectedRowIndex: index})\n         */\n        this.deselectRow = new EventEmitter();\n        /**\n         * Emits if a row item excluding expandButtons, checkboxes, or radios is clicked.\n         */\n        this.rowClick = new EventEmitter();\n        /**\n         * Emits when table requires more data to be loaded.\n         */\n        this.scrollLoad = new EventEmitter();\n        /**\n         * Controls if all checkboxes are viewed as selected.\n         */\n        this.selectAllCheckbox = false;\n        /**\n         * Controls the indeterminate state of the header checkbox.\n         */\n        this.selectAllCheckboxSomeSelected = false;\n        this.isColumnDragging = false;\n        this.columnDraggedHoverIndex = -1;\n        this.columnDraggedPosition = \"\";\n        this._isDataGrid = false;\n        // flag to prevent getters/setters from querying the view before it's fully instantiated\n        this.isViewReady = false;\n        this.subscriptions = new Subscription();\n        this._expandButtonAriaLabel = this.i18n.getOverridable(\"TABLE.EXPAND_BUTTON\");\n        this._sortDescendingLabel = this.i18n.getOverridable(\"TABLE.SORT_DESCENDING\");\n        this._sortAscendingLabel = this.i18n.getOverridable(\"TABLE.SORT_ASCENDING\");\n        this._checkboxHeaderLabel = this.i18n.getOverridable(\"TABLE.CHECKBOX_HEADER\");\n        this._checkboxRowLabel = this.i18n.getOverridable(\"TABLE.CHECKBOX_ROW\");\n        this._endOfDataText = this.i18n.getOverridable(\"TABLE.END_OF_DATA\");\n        this._scrollTopText = this.i18n.getOverridable(\"TABLE.SCROLL_TOP\");\n        this._filterTitle = this.i18n.getOverridable(\"TABLE.FILTER\");\n    }\n    /**\n     * Creates a skeleton model with a row and column count specified by the user\n     *\n     * Example:\n     *\n     * ```typescript\n     * this.model = Table.skeletonModel(5, 5);\n     * ```\n     */\n    static skeletonModel(rowCount, columnCount) {\n        const model = new TableModel();\n        let header = new Array();\n        let data = new Array();\n        let row = new Array();\n        for (let i = 0; i < columnCount; i++) {\n            header.push(new TableHeaderItem());\n            row.push(new TableItem());\n        }\n        for (let i = 0; i < rowCount - 1; i++) {\n            data.push(row);\n        }\n        model.header = header;\n        model.data = data;\n        return model;\n    }\n    static setTabIndex(element, index) {\n        const focusElementList = getFocusElementList(element, tabbableSelectorIgnoreTabIndex);\n        if (element.firstElementChild && element.firstElementChild.classList.contains(\"bx--table-sort\") || focusElementList.length > 0) {\n            focusElementList[0].tabIndex = index;\n        }\n        else {\n            element.tabIndex = index;\n        }\n    }\n    static focus(element) {\n        const focusElementList = getFocusElementList(element, tabbableSelectorIgnoreTabIndex);\n        if (element.firstElementChild && element.firstElementChild.classList.contains(\"bx--table-sort\") || focusElementList.length > 0) {\n            focusElementList[0].focus();\n        }\n        else {\n            element.focus();\n        }\n    }\n    /**\n     * `TableModel` with data the table is to display.\n     */\n    set model(m) {\n        if (this._model) {\n            this.subscriptions.unsubscribe();\n            // Need to create a new subscription instance here because unsubscribing prevents any new subscriptions\n            // from being added for some reason. When a new model is set, none of the subscriptions would exist.\n            this.subscriptions = new Subscription();\n        }\n        this._model = m;\n        const rowsChange = this._model.rowsSelectedChange.subscribe(() => this.updateSelectAllCheckbox());\n        const dataChange = this._model.dataChange.subscribe(() => {\n            if (this.isDataGrid) {\n                this.resetTabIndex();\n            }\n            this.updateSelectAllCheckbox();\n        });\n        this.subscriptions.add(rowsChange);\n        this.subscriptions.add(dataChange);\n        if (this.isDataGrid) {\n            const expandedChange = this._model.rowsExpandedChange.subscribe(() => {\n                // Allows the expanded row to have a focus state when it exists in the DOM\n                setTimeout(() => {\n                    const expandedRows = this.elementRef.nativeElement.querySelectorAll(\".bx--expandable-row:not(.bx--parent-row)\");\n                    Array.from(expandedRows).forEach(row => {\n                        if (row.firstElementChild.tabIndex === undefined || row.firstElementChild.tabIndex !== -1) {\n                            row.firstElementChild.tabIndex = -1;\n                        }\n                    });\n                });\n            });\n            this.subscriptions.add(expandedChange);\n        }\n    }\n    get model() {\n        return this._model;\n    }\n    /**\n     * Set to `true` for a data grid with keyboard interactions.\n     */\n    set isDataGrid(value) {\n        this._isDataGrid = value;\n        if (this.isViewReady) {\n            if (value) {\n                this.enableDataGridInteractions();\n            }\n            else {\n                this.disableDataGridInteractions();\n            }\n        }\n    }\n    get isDataGrid() {\n        return this._isDataGrid;\n    }\n    set expandButtonAriaLabel(value) {\n        this._expandButtonAriaLabel.override(value);\n    }\n    get expandButtonAriaLabel() {\n        return this._expandButtonAriaLabel.value;\n    }\n    set sortDescendingLabel(value) {\n        this._sortDescendingLabel.override(value);\n    }\n    get sortDescendingLabel() {\n        return this._sortDescendingLabel.value;\n    }\n    set sortAscendingLabel(value) {\n        this._sortAscendingLabel.override(value);\n    }\n    get sortAscendingLabel() {\n        return this._sortAscendingLabel.value;\n    }\n    /**\n     * Expects an object that contains some or all of:\n     * ```\n     * {\n     *\t\t\"FILTER\": \"Filter\",\n     *\t\t\"END_OF_DATA\": \"You've reached the end of your content\",\n     *\t\t\"SCROLL_TOP\": \"Scroll to top\",\n     *\t\t\"CHECKBOX_HEADER\": \"Select all rows\",\n     *\t\t\"CHECKBOX_ROW\": \"Select row\"\n     * }\n     * ```\n     */\n    set translations(value) {\n        const valueWithDefaults = merge(this.i18n.getMultiple(\"TABLE\"), value);\n        this._filterTitle.override(valueWithDefaults.FILTER);\n        this._endOfDataText.override(valueWithDefaults.END_OF_DATA);\n        this._scrollTopText.override(valueWithDefaults.SCROLL_TOP);\n        this._checkboxHeaderLabel.override(valueWithDefaults.CHECKBOX_HEADER);\n        this._checkboxRowLabel.override(valueWithDefaults.CHECKBOX_ROW);\n    }\n    get noData() {\n        return !this.model.data ||\n            this.model.data.length === 0 ||\n            this.model.data.length === 1 && this.model.data[0].length === 0;\n    }\n    ngAfterViewInit() {\n        this.isViewReady = true;\n        if (this.isDataGrid) {\n            this.enableDataGridInteractions();\n        }\n    }\n    ngOnDestroy() {\n        this.subscriptions.unsubscribe();\n        if (this.positionSubscription) {\n            this.positionSubscription.unsubscribe();\n        }\n    }\n    enableDataGridInteractions() {\n        // if we have an `interactioModel` we've already enabled datagrid\n        if (this.interactionModel) {\n            return;\n        }\n        const table = this.elementRef.nativeElement.querySelector(\"table\");\n        const tableAdapter = new TableDomAdapter(table);\n        const keydownEventStream = fromEvent(table, \"keydown\");\n        const clickEventStream = fromEvent(table, \"click\");\n        this.interactionModel = new DataGridInteractionModel(keydownEventStream, clickEventStream, tableAdapter);\n        this.positionSubscription = this.interactionModel.position.subscribe(event => {\n            const [currentRow, currentColumn] = event.current;\n            const [previousRow, previousColumn] = event.previous;\n            const currentElement = tableAdapter.getCell(currentRow, currentColumn);\n            Table.setTabIndex(currentElement, 0);\n            // if the model has just initialized don't focus or reset anything\n            if (previousRow === -1 || previousColumn === -1) {\n                return;\n            }\n            // Make the previous cell unfocusable (if it's not the current)\n            if (previousRow !== currentRow || previousColumn !== currentColumn) {\n                const previousElement = tableAdapter.getCell(previousRow, previousColumn);\n                Table.setTabIndex(previousElement, -1);\n            }\n            Table.focus(currentElement);\n        });\n        // call this after assigning `this.interactionModel` since it depends on it\n        this.resetTabIndex();\n    }\n    disableDataGridInteractions() {\n        // unsubscribe first so we don't cause the focus to fly around\n        if (this.positionSubscription) {\n            this.positionSubscription.unsubscribe();\n        }\n        // undo tab indexing (also resets the model)\n        this.resetTabIndex(0);\n        // null out the model ref\n        this.interactionModel = null;\n    }\n    onSelectAll() {\n        this.model.selectAll(true);\n        this.selectAll.emit(this.model);\n    }\n    onDeselectAll() {\n        this.model.selectAll(false);\n        this.deselectAll.emit(this.model);\n    }\n    onSelectRow(event) {\n        // check for the existence of the selectedRowIndex property\n        if (Object.keys(event).includes(\"selectedRowIndex\")) {\n            if (this.enableSingleSelect) {\n                this.model.selectAll(false);\n            }\n            this.model.selectRow(event.selectedRowIndex, true);\n            this.selectRow.emit(event);\n        }\n        else {\n            this.model.selectRow(event.deselectedRowIndex, false);\n            this.deselectRow.emit(event);\n        }\n    }\n    onRowClick(index) {\n        this.rowClick.emit(index);\n    }\n    updateSelectAllCheckbox() {\n        const selectedRowsCount = this.model.selectedRowsCount();\n        if (selectedRowsCount <= 0) {\n            // reset select all checkbox if nothing selected\n            this.selectAllCheckbox = false;\n            this.selectAllCheckboxSomeSelected = false;\n        }\n        else if (selectedRowsCount < this.model.data.length) {\n            this.selectAllCheckbox = true;\n            this.selectAllCheckboxSomeSelected = true;\n        }\n        else {\n            this.selectAllCheckbox = true;\n            this.selectAllCheckboxSomeSelected = false;\n        }\n    }\n    resetTabIndex(newTabIndex = -1) {\n        // ensure the view is ready for the reset before we preform the actual reset\n        setTimeout(() => {\n            // reset all the tabIndexes we can find\n            const focusElementList = getFocusElementList(this.elementRef.nativeElement, tabbableSelectorIgnoreTabIndex);\n            if (focusElementList) {\n                focusElementList.forEach(tabbable => {\n                    tabbable.tabIndex = newTabIndex;\n                });\n            }\n            // reset interaction model positions and tabIndexes\n            if (this.interactionModel) {\n                this.interactionModel.resetTabIndexes(newTabIndex);\n            }\n        });\n    }\n    columnResizeStart(event, column) {\n        this.columnResizeWidth = parseInt(column.style.width, 10);\n        this.columnResizeMouseX = event.clientX;\n        event.preventDefault();\n        this.mouseMoveSubscription = fromEvent(document.body, \"mousemove\").subscribe(event => {\n            this.columnResizeProgress(event, column);\n        });\n        this.mouseUpSubscription = fromEvent(document.body, \"mouseup\").subscribe(event => {\n            this.columnResizeEnd(event, column);\n        });\n    }\n    columnResizeProgress(event, column) {\n        const move = event.clientX - this.columnResizeMouseX;\n        column.style.width = `${this.columnResizeWidth + move}px`;\n    }\n    columnResizeEnd(event, column) {\n        this.mouseMoveSubscription.unsubscribe();\n        this.mouseUpSubscription.unsubscribe();\n    }\n    /**\n     * Triggered when the user scrolls on the `<tbody>` element.\n     * Emits the `scrollLoad` event.\n     */\n    onScroll(event) {\n        const distanceFromBottom = event.target.scrollHeight - event.target.clientHeight - event.target.scrollTop;\n        if (distanceFromBottom <= this.scrollLoadDistance) {\n            this.scrollLoad.emit(this.model);\n        }\n        else {\n            this.model.isEnd = false;\n        }\n    }\n    columnDragStart(event, columnIndex) {\n        this.isColumnDragging = true;\n        this.columnDraggedHoverIndex = columnIndex;\n        event.dataTransfer.setData(\"columnIndex\", JSON.stringify(columnIndex));\n    }\n    columnDragEnd(event, columnIndex) {\n        this.isColumnDragging = false;\n        this.columnDraggedHoverIndex = -1;\n    }\n    columnDragEnter(event, position, columnIndex) {\n        this.columnDraggedPosition = position;\n        this.columnDraggedHoverIndex = columnIndex;\n    }\n    columnDragLeave(event, position, columnIndex) {\n        this.columnDraggedPosition = \"\";\n    }\n    columnDragover(event, position, columnIndex) {\n        this.columnDraggedHoverIndex = columnIndex;\n        this.columnDraggedPosition = position;\n        // needed to tell browser to allow dropping\n        event.preventDefault();\n    }\n    columnDrop(event, position, columnIndex) {\n        this.isColumnDragging = false;\n        this.columnDraggedHoverIndex = -1;\n        this.columnDraggedPosition = \"\";\n        this.model.moveColumn(parseInt(event.dataTransfer.getData(\"columnIndex\"), 10), columnIndex + (position === \"right\" ? 1 : 0));\n    }\n    doSort(index) {\n        if (this.sort.observers.length === 0) {\n            // no sort provided so do the simple sort\n            this.model.cycleSortState(index);\n            this.model.sort(index);\n        }\n        this.sort.emit(index);\n    }\n    /**\n     * Triggered when the user scrolls on the `<tbody>` element.\n     * Emits the `scrollLoad` event.\n     */\n    scrollToTop(event) {\n        event.target.parentElement.parentElement.parentElement.parentElement.children[1].scrollTop = 0;\n        this.model.isEnd = false;\n    }\n    getSelectionLabelValue(row) {\n        if (!this.selectionLabelColumn) {\n            return { value: this.i18n.get().TABLE.ROW };\n        }\n        return { value: row[this.selectionLabelColumn].data };\n    }\n    getExpandButtonAriaLabel() {\n        return this._expandButtonAriaLabel.subject;\n    }\n    getSortDescendingLabel() {\n        return this._sortDescendingLabel.subject;\n    }\n    getSortAscendingLabel() {\n        return this._sortAscendingLabel.subject;\n    }\n    getCheckboxHeaderLabel() {\n        return this._checkboxHeaderLabel.subject;\n    }\n    getCheckboxRowLabel() {\n        return this._checkboxRowLabel.subject;\n    }\n    getEndOfDataText() {\n        return this._endOfDataText.subject;\n    }\n    getScrollTopText() {\n        return this._scrollTopText.subject;\n    }\n    getFilterTitle() {\n        return this._filterTitle.subject;\n    }\n}\nTable.ɵfac = function Table_Factory(t) { return new (t || Table)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef), ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ApplicationRef), ɵngcc0.ɵɵdirectiveInject(ɵngcc1.I18n)); };\nTable.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: Table, selectors: [[\"ibm-table\"]], hostVars: 4, hostBindings: function Table_HostBindings(rf, ctx) { if (rf & 2) {\n        ɵngcc0.ɵɵclassProp(\"bx--data-table-content\", ctx.tableContent)(\"bx--data-table_inner-container\", ctx.stickyHeader);\n    } }, inputs: { size: \"size\", skeleton: \"skeleton\", sortable: \"sortable\", noBorder: \"noBorder\", showSelectionColumn: \"showSelectionColumn\", enableSingleSelect: \"enableSingleSelect\", scrollLoadDistance: \"scrollLoadDistance\", columnsResizable: \"columnsResizable\", columnsDraggable: \"columnsDraggable\", striped: \"striped\", stickyHeader: \"stickyHeader\", model: \"model\", isDataGrid: \"isDataGrid\", expandButtonAriaLabel: \"expandButtonAriaLabel\", sortDescendingLabel: \"sortDescendingLabel\", sortAscendingLabel: \"sortAscendingLabel\", translations: \"translations\", ariaLabelledby: \"ariaLabelledby\", ariaDescribedby: \"ariaDescribedby\", footerTemplate: \"footerTemplate\", selectionLabelColumn: \"selectionLabelColumn\" }, outputs: { sort: \"sort\", selectAll: \"selectAll\", deselectAll: \"deselectAll\", selectRow: \"selectRow\", deselectRow: \"deselectRow\", rowClick: \"rowClick\", scrollLoad: \"scrollLoad\" }, ngContentSelectors: _c5, decls: 9, vars: 28, consts: [[\"ibmTable\", \"\", 3, \"sortable\", \"noBorder\", \"ngClass\", \"size\", \"striped\", \"skeleton\"], [\"ibmTableHead\", \"\", 3, \"sortable\", \"checkboxHeaderLabel\", \"filterTitle\", \"model\", \"size\", \"selectAllCheckbox\", \"selectAllCheckboxSomeSelected\", \"showSelectionColumn\", \"enableSingleSelect\", \"skeleton\", \"sortAscendingLabel\", \"sortDescendingLabel\", \"stickyHeader\", \"deselectAll\", \"selectAll\", \"sort\"], [\"ibmTableBody\", \"\", 3, \"checkboxRowLabel\", \"enableSingleSelect\", \"expandButtonAriaLabel\", \"model\", \"size\", \"ngStyle\", \"selectionLabelColumn\", \"showSelectionColumn\", \"skeleton\", \"deselectRow\", \"scroll\", \"selectRow\", \"rowClick\", 4, \"ngIf\", \"ngIfElse\"], [\"noDataTemplate\", \"\"], [3, \"ngTemplateOutlet\"], [4, \"ngIf\"], [\"ibmTableBody\", \"\", 3, \"checkboxRowLabel\", \"enableSingleSelect\", \"expandButtonAriaLabel\", \"model\", \"size\", \"ngStyle\", \"selectionLabelColumn\", \"showSelectionColumn\", \"skeleton\", \"deselectRow\", \"scroll\", \"selectRow\", \"rowClick\"], [1, \"table_loading-indicator\"], [1, \"bx--loading\", \"bx--loading--small\"], [\"viewBox\", \"-75 -75 150 150\", 1, \"bx--loading__svg\"], [\"cx\", \"0\", \"cy\", \"0\", \"r\", \"37.5\", 1, \"bx--loading__stroke\"], [1, \"table_end-indicator\"], [1, \"btn--secondary-sm\", 3, \"click\"]], template: function Table_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵprojectionDef();\n        ɵngcc0.ɵɵelementStart(0, \"table\", 0)(1, \"thead\", 1);\n        ɵngcc0.ɵɵlistener(\"deselectAll\", function Table_Template_thead_deselectAll_1_listener() { return ctx.onDeselectAll(); })(\"selectAll\", function Table_Template_thead_selectAll_1_listener() { return ctx.onSelectAll(); })(\"sort\", function Table_Template_thead_sort_1_listener($event) { return ctx.doSort($event); });\n        ɵngcc0.ɵɵelementEnd();\n        ɵngcc0.ɵɵtemplate(2, Table_tbody_2_Template, 1, 10, \"tbody\", 2);\n        ɵngcc0.ɵɵtemplate(3, Table_ng_template_3_Template, 1, 0, \"ng-template\", null, 3, ɵngcc0.ɵɵtemplateRefExtractor);\n        ɵngcc0.ɵɵelementStart(5, \"tfoot\");\n        ɵngcc0.ɵɵtemplate(6, Table_ng_template_6_Template, 0, 0, \"ng-template\", 4);\n        ɵngcc0.ɵɵtemplate(7, Table_tr_7_Template, 5, 0, \"tr\", 5);\n        ɵngcc0.ɵɵtemplate(8, Table_tr_8_Template, 8, 6, \"tr\", 5);\n        ɵngcc0.ɵɵelementEnd()();\n    } if (rf & 2) {\n        const _r1 = ɵngcc0.ɵɵreference(4);\n        ɵngcc0.ɵɵproperty(\"sortable\", ctx.sortable)(\"noBorder\", ctx.noBorder)(\"ngClass\", ɵngcc0.ɵɵpureFunction1(26, _c9, ctx.stickyHeader))(\"size\", ctx.size)(\"striped\", ctx.striped)(\"skeleton\", ctx.skeleton);\n        ɵngcc0.ɵɵattribute(\"aria-labelledby\", ctx.ariaLabelledby)(\"aria-describedby\", ctx.ariaDescribedby);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"sortable\", ctx.sortable)(\"checkboxHeaderLabel\", ctx.getCheckboxHeaderLabel())(\"filterTitle\", ctx.getFilterTitle())(\"model\", ctx.model)(\"size\", ctx.size)(\"selectAllCheckbox\", ctx.selectAllCheckbox)(\"selectAllCheckboxSomeSelected\", ctx.selectAllCheckboxSomeSelected)(\"showSelectionColumn\", ctx.showSelectionColumn)(\"enableSingleSelect\", ctx.enableSingleSelect)(\"skeleton\", ctx.skeleton)(\"sortAscendingLabel\", ctx.sortAscendingLabel)(\"sortDescendingLabel\", ctx.sortDescendingLabel)(\"stickyHeader\", ctx.stickyHeader);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.noData)(\"ngIfElse\", _r1);\n        ɵngcc0.ɵɵadvance(4);\n        ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", ctx.footerTemplate);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.model.isLoading);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.model.isEnd);\n    } }, dependencies: function () { return [ɵngcc2.NgClass, ɵngcc2.NgIf, ɵngcc2.NgTemplateOutlet, ɵngcc2.NgStyle, TableDirective, TableHead, TableBody, ɵngcc2.AsyncPipe]; }, styles: [\"[_nghost-%COMP%] {\\n\\t\\t\\tdisplay: block;\\n\\t\\t}\"] });\n/** @nocollapse */\nTable.ctorParameters = () => [\n    { type: ElementRef },\n    { type: ApplicationRef },\n    { type: I18n }\n];\nTable.propDecorators = {\n    ariaLabelledby: [{ type: Input }],\n    ariaDescribedby: [{ type: Input }],\n    model: [{ type: Input }],\n    size: [{ type: Input }],\n    skeleton: [{ type: Input }],\n    isDataGrid: [{ type: Input }],\n    sortable: [{ type: Input }],\n    noBorder: [{ type: Input }],\n    showSelectionColumn: [{ type: Input }],\n    enableSingleSelect: [{ type: Input }],\n    scrollLoadDistance: [{ type: Input }],\n    columnsResizable: [{ type: Input }],\n    columnsDraggable: [{ type: Input }],\n    expandButtonAriaLabel: [{ type: Input }],\n    sortDescendingLabel: [{ type: Input }],\n    sortAscendingLabel: [{ type: Input }],\n    translations: [{ type: Input }],\n    striped: [{ type: Input }],\n    tableContent: [{ type: HostBinding, args: [\"class.bx--data-table-content\",] }],\n    stickyHeader: [{ type: HostBinding, args: [\"class.bx--data-table_inner-container\",] }, { type: Input }],\n    footerTemplate: [{ type: Input }],\n    selectionLabelColumn: [{ type: Input }],\n    sort: [{ type: Output }],\n    selectAll: [{ type: Output }],\n    deselectAll: [{ type: Output }],\n    selectRow: [{ type: Output }],\n    deselectRow: [{ type: Output }],\n    rowClick: [{ type: Output }],\n    scrollLoad: [{ type: Output }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(Table, [{\n        type: Component,\n        args: [{ selector: \"ibm-table\", template: `\n\t<table\n\t\tibmTable\n\t\t[sortable]=\"sortable\"\n\t\t[noBorder]=\"noBorder\"\n\t\t[ngClass]=\"{'bx--data-table--sticky-header': stickyHeader}\"\n\t\t[size]=\"size\"\n\t\t[striped]=\"striped\"\n\t\t[skeleton]=\"skeleton\"\n\t\t[attr.aria-labelledby]=\"ariaLabelledby\"\n\t\t[attr.aria-describedby]=\"ariaDescribedby\">\n\t\t<thead\n\t\t\tibmTableHead\n\t\t\t[sortable]=\"sortable\"\n\t\t\t(deselectAll)=\"onDeselectAll()\"\n\t\t\t(selectAll)=\"onSelectAll()\"\n\t\t\t(sort)=\"doSort($event)\"\n\t\t\t[checkboxHeaderLabel]=\"getCheckboxHeaderLabel()\"\n\t\t\t[filterTitle]=\"getFilterTitle()\"\n\t\t\t[model]=\"model\"\n\t\t\t[size]=\"size\"\n\t\t\t[selectAllCheckbox]=\"selectAllCheckbox\"\n\t\t\t[selectAllCheckboxSomeSelected]=\"selectAllCheckboxSomeSelected\"\n\t\t\t[showSelectionColumn]=\"showSelectionColumn\"\n\t\t\t[enableSingleSelect]=\"enableSingleSelect\"\n\t\t\t[skeleton]=\"skeleton\"\n\t\t\t[sortAscendingLabel]=\"sortAscendingLabel\"\n\t\t\t[sortDescendingLabel]=\"sortDescendingLabel\"\n\t\t\t[stickyHeader]=\"stickyHeader\">\n\t\t</thead>\n\t\t<tbody\n\t\t\tibmTableBody\n\t\t\t(deselectRow)=\"onSelectRow($event)\"\n\t\t\t(scroll)=\"onScroll($event)\"\n\t\t\t(selectRow)=\"onSelectRow($event)\"\n\t\t\t[checkboxRowLabel]=\"getCheckboxRowLabel()\"\n\t\t\t[enableSingleSelect]=\"enableSingleSelect\"\n\t\t\t(rowClick)=\"onRowClick($event)\"\n\t\t\t[expandButtonAriaLabel]=\"expandButtonAriaLabel\"\n\t\t\t[model]=\"model\"\n\t\t\t[size]=\"size\"\n\t\t\t[ngStyle]=\"{'overflow-y': 'scroll'}\"\n\t\t\t[selectionLabelColumn]=\"selectionLabelColumn\"\n\t\t\t[showSelectionColumn]=\"showSelectionColumn\"\n\t\t\t[skeleton]=\"skeleton\"\n\t\t\t*ngIf=\"!noData; else noDataTemplate\">\n\t\t</tbody>\n\t\t<ng-template #noDataTemplate><ng-content></ng-content></ng-template>\n\t\t<tfoot>\n\t\t\t<ng-template\n\t\t\t\t[ngTemplateOutlet]=\"footerTemplate\">\n\t\t\t</ng-template>\n\t\t\t<tr *ngIf=\"this.model.isLoading\">\n\t\t\t\t<td class=\"table_loading-indicator\">\n\t\t\t\t\t<div class=\"bx--loading bx--loading--small\">\n\t\t\t\t\t\t<svg class=\"bx--loading__svg\" viewBox=\"-75 -75 150 150\">\n\t\t\t\t\t\t\t<circle class=\"bx--loading__stroke\" cx=\"0\" cy=\"0\" r=\"37.5\" />\n\t\t\t\t\t\t</svg>\n\t\t\t\t\t</div>\n\t\t\t\t</td>\n\t\t\t</tr>\n\t\t\t<tr *ngIf=\"this.model.isEnd\">\n\t\t\t\t<td class=\"table_end-indicator\">\n\t\t\t\t\t<h5>{{getEndOfDataText() | async}}</h5>\n\t\t\t\t\t<button (click)=\"scrollToTop($event)\" class=\"btn--secondary-sm\">\n\t\t\t\t\t\t{{getScrollTopText() | async}}\n\t\t\t\t\t</button>\n\t\t\t\t</td>\n\t\t\t</tr>\n\t\t</tfoot>\n\t</table>\n\t`, styles: [\"\\n\\t\\t:host {\\n\\t\\t\\tdisplay: block;\\n\\t\\t}\\n\\t\"] }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }, { type: ɵngcc0.ApplicationRef }, { type: ɵngcc1.I18n }]; }, { size: [{\n            type: Input\n        }], skeleton: [{\n            type: Input\n        }], sortable: [{\n            type: Input\n        }], noBorder: [{\n            type: Input\n        }], showSelectionColumn: [{\n            type: Input\n        }], enableSingleSelect: [{\n            type: Input\n        }], scrollLoadDistance: [{\n            type: Input\n        }], columnsResizable: [{\n            type: Input\n        }], columnsDraggable: [{\n            type: Input\n        }], striped: [{\n            type: Input\n        }], tableContent: [{\n            type: HostBinding,\n            args: [\"class.bx--data-table-content\"]\n        }], stickyHeader: [{\n            type: HostBinding,\n            args: [\"class.bx--data-table_inner-container\"]\n        }, {\n            type: Input\n        }], sort: [{\n            type: Output\n        }], selectAll: [{\n            type: Output\n        }], deselectAll: [{\n            type: Output\n        }], selectRow: [{\n            type: Output\n        }], deselectRow: [{\n            type: Output\n        }], rowClick: [{\n            type: Output\n        }], scrollLoad: [{\n            type: Output\n        }], model: [{\n            type: Input\n        }], isDataGrid: [{\n            type: Input\n        }], expandButtonAriaLabel: [{\n            type: Input\n        }], sortDescendingLabel: [{\n            type: Input\n        }], sortAscendingLabel: [{\n            type: Input\n        }], translations: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], ariaDescribedby: [{\n            type: Input\n        }], footerTemplate: [{\n            type: Input\n        }], selectionLabelColumn: [{\n            type: Input\n        }] }); })();\n\nclass TableContainer {\n    constructor() {\n        this.containerClass = true;\n    }\n    ngAfterContentInit() {\n        // Set aria properties if values exist otherwise keep undefined\n        if (this.table) {\n            // Using ternary instead of optional chaning since typescript version does not support it\n            this.table.ariaLabelledby = this.headerTitle ? this.headerTitle.id : undefined;\n            this.table.ariaDescribedby = this.headerDescription ? this.headerDescription.id : undefined;\n        }\n    }\n}\nTableContainer.ɵfac = function TableContainer_Factory(t) { return new (t || TableContainer)(); };\nTableContainer.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: TableContainer, selectors: [[\"ibm-table-container\"]], contentQueries: function TableContainer_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {\n        ɵngcc0.ɵɵcontentQuery(dirIndex, TableHeaderTitle, 5);\n        ɵngcc0.ɵɵcontentQuery(dirIndex, TableHeaderDescription, 5);\n        ɵngcc0.ɵɵcontentQuery(dirIndex, Table, 5);\n    } if (rf & 2) {\n        let _t;\n        ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.headerTitle = _t.first);\n        ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.headerDescription = _t.first);\n        ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.table = _t.first);\n    } }, hostVars: 2, hostBindings: function TableContainer_HostBindings(rf, ctx) { if (rf & 2) {\n        ɵngcc0.ɵɵclassProp(\"bx--data-table-container\", ctx.containerClass);\n    } }, ngContentSelectors: _c5, decls: 1, vars: 0, template: function TableContainer_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵprojectionDef();\n        ɵngcc0.ɵɵprojection(0);\n    } }, styles: [\"[_nghost-%COMP%] { display: block }\"] });\nTableContainer.propDecorators = {\n    containerClass: [{ type: HostBinding, args: [\"class.bx--data-table-container\",] }],\n    headerTitle: [{ type: ContentChild, args: [TableHeaderTitle,] }],\n    headerDescription: [{ type: ContentChild, args: [TableHeaderDescription,] }],\n    table: [{ type: ContentChild, args: [Table,] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(TableContainer, [{\n        type: Component,\n        args: [{ selector: \"ibm-table-container\", template: `<ng-content></ng-content>`, styles: [\"\\n\\t\\t:host { display: block }\\n\\t\"] }]\n    }], function () { return []; }, { containerClass: [{\n            type: HostBinding,\n            args: [\"class.bx--data-table-container\"]\n        }], headerTitle: [{\n            type: ContentChild,\n            args: [TableHeaderTitle]\n        }], headerDescription: [{\n            type: ContentChild,\n            args: [TableHeaderDescription]\n        }], table: [{\n            type: ContentChild,\n            args: [Table]\n        }] }); })();\n\nclass TableHeader {\n    constructor() {\n        this.headerClass = true;\n        this.displayStyle = \"block\";\n    }\n}\nTableHeader.ɵfac = function TableHeader_Factory(t) { return new (t || TableHeader)(); };\nTableHeader.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: TableHeader, selectors: [[\"ibm-table-header\"]], hostVars: 4, hostBindings: function TableHeader_HostBindings(rf, ctx) { if (rf & 2) {\n        ɵngcc0.ɵɵstyleProp(\"display\", ctx.displayStyle);\n        ɵngcc0.ɵɵclassProp(\"bx--data-table-header\", ctx.headerClass);\n    } }, ngContentSelectors: _c5, decls: 1, vars: 0, template: function TableHeader_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵprojectionDef();\n        ɵngcc0.ɵɵprojection(0);\n    } }, encapsulation: 2 });\nTableHeader.propDecorators = {\n    headerClass: [{ type: HostBinding, args: [\"class.bx--data-table-header\",] }],\n    displayStyle: [{ type: HostBinding, args: [\"style.display\",] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(TableHeader, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-table-header\",\n                template: `\n\t\t<ng-content></ng-content>\n\t`\n            }]\n    }], function () { return []; }, { headerClass: [{\n            type: HostBinding,\n            args: [\"class.bx--data-table-header\"]\n        }], displayStyle: [{\n            type: HostBinding,\n            args: [\"style.display\"]\n        }] }); })();\n\nclass TableHeadCellLabel {\n    constructor() {\n        this.baseClass = true;\n    }\n}\nTableHeadCellLabel.ɵfac = function TableHeadCellLabel_Factory(t) { return new (t || TableHeadCellLabel)(); };\nTableHeadCellLabel.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: TableHeadCellLabel, selectors: [[\"\", \"ibmTableHeadCellLabel\", \"\"]], hostVars: 2, hostBindings: function TableHeadCellLabel_HostBindings(rf, ctx) { if (rf & 2) {\n        ɵngcc0.ɵɵclassProp(\"bx--table-header-label\", ctx.baseClass);\n    } } });\nTableHeadCellLabel.propDecorators = {\n    baseClass: [{ type: HostBinding, args: [\"class.bx--table-header-label\",] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(TableHeadCellLabel, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmTableHeadCellLabel]\"\n            }]\n    }], function () { return []; }, { baseClass: [{\n            type: HostBinding,\n            args: [\"class.bx--table-header-label\"]\n        }] }); })();\n\nclass ExpandedRowHover {\n    addHoverClass(event) {\n        event.target.previousElementSibling.classList.add(\"bx--expandable-row--hover\");\n    }\n    removeHoverClass(event) {\n        event.target.previousElementSibling.classList.remove(\"bx--expandable-row--hover\");\n    }\n}\nExpandedRowHover.ɵfac = function ExpandedRowHover_Factory(t) { return new (t || ExpandedRowHover)(); };\nExpandedRowHover.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: ExpandedRowHover, selectors: [[\"\", \"ibmExpandedRowHover\", \"\"]], hostBindings: function ExpandedRowHover_HostBindings(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵlistener(\"mouseenter\", function ExpandedRowHover_mouseenter_HostBindingHandler($event) { return ctx.addHoverClass($event); })(\"mouseleave\", function ExpandedRowHover_mouseleave_HostBindingHandler($event) { return ctx.removeHoverClass($event); });\n    } } });\nExpandedRowHover.propDecorators = {\n    addHoverClass: [{ type: HostListener, args: [\"mouseenter\", [\"$event\"],] }],\n    removeHoverClass: [{ type: HostListener, args: [\"mouseleave\", [\"$event\"],] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ExpandedRowHover, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmExpandedRowHover]\"\n            }]\n    }], null, { addHoverClass: [{\n            type: HostListener,\n            args: [\"mouseenter\", [\"$event\"]]\n        }], removeHoverClass: [{\n            type: HostListener,\n            args: [\"mouseleave\", [\"$event\"]]\n        }] }); })();\n\nclass TableDirective {\n    constructor() {\n        this.sortable = true;\n        this.noBorder = true;\n        this.striped = false;\n        this.skeleton = false;\n        /**\n         * Size of the table rows.\n         */\n        this.size = \"md\";\n        this.tableClass = true;\n    }\n    get compactClass() {\n        return this.size === \"sm\";\n    }\n    get tallClass() {\n        return this.size === \"lg\";\n    }\n    get shortClass() {\n        return this.size === \"sh\";\n    }\n}\nTableDirective.ɵfac = function TableDirective_Factory(t) { return new (t || TableDirective)(); };\nTableDirective.ɵdir = /*@__PURE__*/ ɵngcc0.ɵɵdefineDirective({ type: TableDirective, selectors: [[\"\", \"ibmTable\", \"\"]], hostVars: 16, hostBindings: function TableDirective_HostBindings(rf, ctx) { if (rf & 2) {\n        ɵngcc0.ɵɵclassProp(\"bx--data-table--sort\", ctx.sortable)(\"bx--data-table--no-border\", ctx.noBorder)(\"bx--data-table--zebra\", ctx.striped)(\"bx--skeleton\", ctx.skeleton)(\"bx--data-table\", ctx.tableClass)(\"bx--data-table--compact\", ctx.compactClass)(\"bx--data-table--tall\", ctx.tallClass)(\"bx--data-table--short\", ctx.shortClass);\n    } }, inputs: { sortable: \"sortable\", noBorder: \"noBorder\", striped: \"striped\", skeleton: \"skeleton\", size: \"size\" } });\nTableDirective.propDecorators = {\n    sortable: [{ type: Input }, { type: HostBinding, args: [\"class.bx--data-table--sort\",] }],\n    noBorder: [{ type: Input }, { type: HostBinding, args: [\"class.bx--data-table--no-border\",] }],\n    striped: [{ type: Input }, { type: HostBinding, args: [\"class.bx--data-table--zebra\",] }],\n    skeleton: [{ type: Input }, { type: HostBinding, args: [\"class.bx--skeleton\",] }],\n    size: [{ type: Input }],\n    tableClass: [{ type: HostBinding, args: [\"class.bx--data-table\",] }],\n    compactClass: [{ type: HostBinding, args: [\"class.bx--data-table--compact\",] }],\n    tallClass: [{ type: HostBinding, args: [\"class.bx--data-table--tall\",] }],\n    shortClass: [{ type: HostBinding, args: [\"class.bx--data-table--short\",] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(TableDirective, [{\n        type: Directive,\n        args: [{\n                selector: \"[ibmTable]\"\n            }]\n    }], function () { return []; }, { sortable: [{\n            type: Input\n        }, {\n            type: HostBinding,\n            args: [\"class.bx--data-table--sort\"]\n        }], noBorder: [{\n            type: Input\n        }, {\n            type: HostBinding,\n            args: [\"class.bx--data-table--no-border\"]\n        }], striped: [{\n            type: Input\n        }, {\n            type: HostBinding,\n            args: [\"class.bx--data-table--zebra\"]\n        }], skeleton: [{\n            type: Input\n        }, {\n            type: HostBinding,\n            args: [\"class.bx--skeleton\"]\n        }], size: [{\n            type: Input\n        }], tableClass: [{\n            type: HostBinding,\n            args: [\"class.bx--data-table\"]\n        }], compactClass: [{\n            type: HostBinding,\n            args: [\"class.bx--data-table--compact\"]\n        }], tallClass: [{\n            type: HostBinding,\n            args: [\"class.bx--data-table--tall\"]\n        }], shortClass: [{\n            type: HostBinding,\n            args: [\"class.bx--data-table--short\"]\n        }] }); })();\n\n/**\n * A subcomponent that creates the thead of the table\n *\n * ## Basic usage\n *\n * ```html\n * \t<thead ibmTableHead [model]=\"model\"></thead>\n * ```\n */\nclass TableHead {\n    constructor(i18n) {\n        this.i18n = i18n;\n        this.showSelectionColumn = true;\n        this.enableSingleSelect = false;\n        this.selectAllCheckboxSomeSelected = false;\n        this.selectAllCheckbox = false;\n        this.skeleton = false;\n        this.stickyHeader = false;\n        /**\n         * Setting sortable to false will disable all headers including headers which are sortable. Is is\n         * possible to set the sortable state on the header item to disable/enable sorting for only some headers.\n         */\n        this.sortable = true;\n        /**\n         * Size of the table rows.\n         */\n        this.size = \"md\";\n        /**\n         * Emits an index of the column that wants to be sorted.\n         */\n        this.sort = new EventEmitter();\n        /**\n         * Emits if all rows are selected.\n         *\n         * @param model\n         */\n        this.selectAll = new EventEmitter();\n        /**\n         * Emits if all rows are deselected.\n         *\n         * @param model\n         */\n        this.deselectAll = new EventEmitter();\n        this.scrollbarWidth = 0;\n        this._checkboxHeaderLabel = this.i18n.getOverridable(\"TABLE.CHECKBOX_HEADER\");\n        this._sortDescendingLabel = this.i18n.getOverridable(\"TABLE.SORT_DESCENDING\");\n        this._sortAscendingLabel = this.i18n.getOverridable(\"TABLE.SORT_ASCENDING\");\n        this._filterTitle = this.i18n.getOverridable(\"TABLE.FILTER\");\n    }\n    set checkboxHeaderLabel(value) {\n        this._checkboxHeaderLabel.override(value);\n    }\n    get checkboxHeaderLabel() {\n        return this._checkboxHeaderLabel.value;\n    }\n    set sortDescendingLabel(value) {\n        this._sortDescendingLabel.override(value);\n    }\n    get sortDescendingLabel() {\n        return this._sortDescendingLabel.value;\n    }\n    set sortAscendingLabel(value) {\n        this._sortAscendingLabel.override(value);\n    }\n    get sortAscendingLabel() {\n        return this._sortAscendingLabel.value;\n    }\n    set filterTitle(value) {\n        this._filterTitle.override(value);\n    }\n    get filterTitle() {\n        return this._filterTitle.value;\n    }\n    ngAfterViewInit() {\n        setTimeout(() => {\n            this.scrollbarWidth = getScrollbarWidth();\n        });\n    }\n    onSelectAllCheckboxChange() {\n        if (!this.selectAllCheckbox && !this.selectAllCheckboxSomeSelected) {\n            this.selectAll.emit(this.model);\n        }\n        else {\n            this.deselectAll.emit(this.model);\n        }\n    }\n    getCheckboxHeaderLabel() {\n        return this._checkboxHeaderLabel.subject;\n    }\n    getSortDescendingLabel() {\n        return this._sortDescendingLabel.subject;\n    }\n    getSortAscendingLabel() {\n        return this._sortAscendingLabel.subject;\n    }\n    getFilterTitle() {\n        return this._filterTitle.subject;\n    }\n}\nTableHead.ɵfac = function TableHead_Factory(t) { return new (t || TableHead)(ɵngcc0.ɵɵdirectiveInject(ɵngcc1.I18n)); };\nTableHead.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: TableHead, selectors: [[\"\", \"ibmTableHead\", \"\"]], inputs: { showSelectionColumn: \"showSelectionColumn\", enableSingleSelect: \"enableSingleSelect\", selectAllCheckboxSomeSelected: \"selectAllCheckboxSomeSelected\", selectAllCheckbox: \"selectAllCheckbox\", skeleton: \"skeleton\", stickyHeader: \"stickyHeader\", sortable: \"sortable\", size: \"size\", checkboxHeaderLabel: \"checkboxHeaderLabel\", sortDescendingLabel: \"sortDescendingLabel\", sortAscendingLabel: \"sortAscendingLabel\", filterTitle: \"filterTitle\", model: \"model\" }, outputs: { sort: \"sort\", selectAll: \"selectAll\", deselectAll: \"deselectAll\" }, attrs: _c10, ngContentSelectors: _c5, decls: 2, vars: 1, consts: [[4, \"ngIf\"], [\"ibmTableHeadExpand\", \"\", \"scope\", \"col\", 3, \"ngClass\", \"id\", 4, \"ngIf\"], [\"scope\", \"col\", \"style\", \"width: 0;\", 3, \"id\", 4, \"ngIf\"], [\"ibmTableHeadCheckbox\", \"\", \"scope\", \"col\", 3, \"checked\", \"indeterminate\", \"ariaLabel\", \"size\", \"skeleton\", \"name\", \"id\", \"change\", 4, \"ngIf\"], [4, \"ngFor\", \"ngForOf\"], [\"scope\", \"col\", 3, \"ngStyle\", 4, \"ngIf\"], [\"ibmTableHeadExpand\", \"\", \"scope\", \"col\", 3, \"ngClass\", \"id\"], [\"scope\", \"col\", 2, \"width\", \"0\", 3, \"id\"], [\"ibmTableHeadCheckbox\", \"\", \"scope\", \"col\", 3, \"checked\", \"indeterminate\", \"ariaLabel\", \"size\", \"skeleton\", \"name\", \"id\", \"change\"], [\"ibmTableHeadCell\", \"\", \"scope\", \"col\", 3, \"ngStyle\", \"class\", \"sortable\", \"skeleton\", \"id\", \"column\", \"filterTitle\", \"sort\", 4, \"ngIf\"], [\"ibmTableHeadCell\", \"\", \"scope\", \"col\", 3, \"ngStyle\", \"sortable\", \"skeleton\", \"id\", \"column\", \"filterTitle\", \"sort\"], [\"scope\", \"col\", 3, \"ngStyle\"]], template: function TableHead_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵprojectionDef();\n        ɵngcc0.ɵɵtemplate(0, TableHead_ng_container_0_Template, 7, 5, \"ng-container\", 0);\n        ɵngcc0.ɵɵprojection(1);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.model);\n    } }, dependencies: function () { return [ɵngcc2.NgClass, ɵngcc2.NgForOf, ɵngcc2.NgIf, ɵngcc2.NgStyle, TableHeadCell, TableHeadCheckbox, TableHeadExpand]; }, styles: [\".bx--table-expand-v2[_ngcontent-%COMP%] {\\n\\t\\t\\tpadding-left: 2.5rem;\\n\\t\\t}\"] });\n/** @nocollapse */\nTableHead.ctorParameters = () => [\n    { type: I18n }\n];\nTableHead.propDecorators = {\n    model: [{ type: Input }],\n    showSelectionColumn: [{ type: Input }],\n    enableSingleSelect: [{ type: Input }],\n    selectAllCheckboxSomeSelected: [{ type: Input }],\n    selectAllCheckbox: [{ type: Input }],\n    skeleton: [{ type: Input }],\n    stickyHeader: [{ type: Input }],\n    sortable: [{ type: Input }],\n    size: [{ type: Input }],\n    checkboxHeaderLabel: [{ type: Input }],\n    sortDescendingLabel: [{ type: Input }],\n    sortAscendingLabel: [{ type: Input }],\n    filterTitle: [{ type: Input }],\n    sort: [{ type: Output }],\n    selectAll: [{ type: Output }],\n    deselectAll: [{ type: Output }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(TableHead, [{\n        type: Component,\n        args: [{ selector: \"[ibmTableHead]\", template: `\n\t<ng-container *ngIf=\"model\">\n\t\t<tr>\n\t\t\t<th\n\t\t\t\tibmTableHeadExpand\n\t\t\t\t*ngIf=\"model.hasExpandableRows()\"\n\t\t\t\tscope=\"col\"\n\t\t\t\t[ngClass]=\"{'bx--table-expand-v2': stickyHeader}\"\n\t\t\t\t[id]=\"model.getId('expand')\">\n\t\t\t</th>\n\t\t\t<th\n\t\t\t\t*ngIf=\"!skeleton && showSelectionColumn && enableSingleSelect\"\n\t\t\t\tscope=\"col\"\n\t\t\t\tstyle=\"width: 0;\"\n\t\t\t\t[id]=\"model.getId('select')\">\n\t\t\t\t<!-- add width 0; since the carbon styles don't seem to constrain this headers width -->\n\t\t\t</th>\n\t\t\t<th\n\t\t\t\tibmTableHeadCheckbox\n\t\t\t\t*ngIf=\"!skeleton && showSelectionColumn && !enableSingleSelect\"\n\t\t\t\tscope=\"col\"\n\t\t\t\t[checked]=\"selectAllCheckbox\"\n\t\t\t\t[indeterminate]=\"selectAllCheckboxSomeSelected\"\n\t\t\t\t[ariaLabel]=\"getCheckboxHeaderLabel()\"\n\t\t\t\t[size]=\"size\"\n\t\t\t\t[skeleton]=\"skeleton\"\n\t\t\t\t[name]=\"model.getHeaderId('select')\"\n\t\t\t\t(change)=\"onSelectAllCheckboxChange()\"\n\t\t\t\t[id]=\"model.getId('select')\">\n\t\t\t</th>\n\t\t\t<ng-container *ngFor=\"let column of model.header; let i = index\">\n\t\t\t\t<th\n\t\t\t\t\t*ngIf=\"column && column.visible\"\n\t\t\t\t\t[ngStyle]=\"column.style\"\n\t\t\t\t\tibmTableHeadCell\n\t\t\t\t\tscope=\"col\"\n\t\t\t\t\t[class]=\"column.className\"\n\t\t\t\t\t[sortable]=\"sortable\"\n\t\t\t\t\t[skeleton]=\"skeleton\"\n\t\t\t\t\t[id]=\"model.getId(i)\"\n\t\t\t\t\t[column]=\"column\"\n\t\t\t\t\t[skeleton]=\"skeleton\"\n\t\t\t\t\t[filterTitle]=\"getFilterTitle()\"\n\t\t\t\t\t[attr.colspan]=\"column.colSpan\"\n\t\t\t\t\t[attr.rowspan]=\"column.rowSpan\"\n\t\t\t\t\t(sort)=\"sort.emit(i)\">\n\t\t\t\t</th>\n\t\t\t</ng-container>\n\t\t\t<th *ngIf=\"!skeleton && stickyHeader && scrollbarWidth\"\n\t\t\t\tscope=\"col\"\n\t\t\t\t[ngStyle]=\"{'width': scrollbarWidth + 'px', 'padding': 0, 'border': 0}\">\n\t\t\t\t<!--\n\t\t\t\t\tScrollbar pushes body to the left so this header column is added to push\n\t\t\t\t\tthe title bar the same amount and keep the header and body columns aligned.\n\t\t\t\t-->\n\t\t\t</th>\n\t\t</tr>\n\t</ng-container>\n\t<ng-content></ng-content>\n\t`, styles: [\"\\n\\t\\t.bx--table-expand-v2 {\\n\\t\\t\\tpadding-left: 2.5rem;\\n\\t\\t}\\n\\t\"] }]\n    }], function () { return [{ type: ɵngcc1.I18n }]; }, { showSelectionColumn: [{\n            type: Input\n        }], enableSingleSelect: [{\n            type: Input\n        }], selectAllCheckboxSomeSelected: [{\n            type: Input\n        }], selectAllCheckbox: [{\n            type: Input\n        }], skeleton: [{\n            type: Input\n        }], stickyHeader: [{\n            type: Input\n        }], sortable: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }], sort: [{\n            type: Output\n        }], selectAll: [{\n            type: Output\n        }], deselectAll: [{\n            type: Output\n        }], checkboxHeaderLabel: [{\n            type: Input\n        }], sortDescendingLabel: [{\n            type: Input\n        }], sortAscendingLabel: [{\n            type: Input\n        }], filterTitle: [{\n            type: Input\n        }], model: [{\n            type: Input\n        }] }); })();\n\nclass TableHeadCell {\n    constructor(i18n) {\n        this.i18n = i18n;\n        this.skeleton = false;\n        this.sortable = true;\n        /**\n         * Notifies that the column should be sorted\n         */\n        this.sort = new EventEmitter();\n        this.theadAction = false;\n        this._sortDescendingLabel = this.i18n.getOverridable(\"TABLE.SORT_DESCENDING\");\n        this._sortAscendingLabel = this.i18n.getOverridable(\"TABLE.SORT_ASCENDING\");\n        this._filterTitle = this.i18n.getOverridable(\"TABLE.FILTER\");\n    }\n    set sortDescendingLabel(value) {\n        this._sortDescendingLabel.override(value);\n    }\n    get sortDescendingLabel() {\n        return this._sortDescendingLabel.value;\n    }\n    set sortAscendingLabel(value) {\n        this._sortAscendingLabel.override(value);\n    }\n    get sortAscendingLabel() {\n        return this._sortAscendingLabel.value;\n    }\n    set filterTitle(value) {\n        this._filterTitle.override(value);\n    }\n    get filterTitle() {\n        return this._filterTitle.value;\n    }\n    ngOnChanges() {\n        // Since it's not an input, and it touches the view, we're using `ngOnChanges`\n        // `get`ters have caused issues in the past with the view updating outside of change detection\n        this.theadAction = !!this.column.filterTemplate || this.sort.observers.length > 0;\n    }\n    getSortDescendingLabel() {\n        return this._sortDescendingLabel.subject.pipe(this.sortLabelMap());\n    }\n    getSortAscendingLabel() {\n        return this._sortAscendingLabel.subject.pipe(this.sortLabelMap());\n    }\n    getFilterTitle() {\n        return this._filterTitle.subject;\n    }\n    onClick() {\n        if (!this.skeleton) {\n            this.sort.emit();\n        }\n    }\n    sortLabelMap() {\n        return map((str) => {\n            if (this.column.ariaSortLabel) {\n                return this.column.ariaSortLabel;\n            }\n            if (this.column.formatSortLabel) {\n                return this.column.formatSortLabel(str, this.column.ariaSortLabel);\n            }\n            return `${this.column.data} - ${str}`;\n        });\n    }\n}\nTableHeadCell.ɵfac = function TableHeadCell_Factory(t) { return new (t || TableHeadCell)(ɵngcc0.ɵɵdirectiveInject(ɵngcc1.I18n)); };\nTableHeadCell.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: TableHeadCell, selectors: [[\"\", \"ibmTableHeadCell\", \"\"]], hostVars: 2, hostBindings: function TableHeadCell_HostBindings(rf, ctx) { if (rf & 2) {\n        ɵngcc0.ɵɵclassProp(\"thead_action\", ctx.theadAction);\n    } }, inputs: { skeleton: \"skeleton\", sortable: \"sortable\", sortDescendingLabel: \"sortDescendingLabel\", sortAscendingLabel: \"sortAscendingLabel\", filterTitle: \"filterTitle\", column: \"column\" }, outputs: { sort: \"sort\" }, features: [ɵngcc0.ɵɵNgOnChangesFeature], attrs: _c13, decls: 3, vars: 3, consts: [[\"class\", \"bx--table-sort\", \"aria-live\", \"polite\", 3, \"ngClass\", \"click\", 4, \"ngIf\"], [\"class\", \"bx--table-header-label\", 4, \"ngIf\"], [\"type\", \"button\", \"aria-expanded\", \"false\", \"aria-haspopup\", \"true\", \"trigger\", \"click\", \"placement\", \"bottom,top\", 3, \"ngClass\", \"ibmTooltip\", \"title\", \"data\", 4, \"ngIf\"], [\"aria-live\", \"polite\", 1, \"bx--table-sort\", 3, \"ngClass\", \"click\"], [\"tabindex\", \"-1\", 1, \"bx--table-sort__flex\", 3, \"title\"], [\"ibmTableHeadCellLabel\", \"\", 4, \"ngIf\"], [4, \"ngIf\"], [\"focusable\", \"false\", \"preserveAspectRatio\", \"xMidYMid meet\", \"style\", \"will-change: transform;\", \"xmlns\", \"http://www.w3.org/2000/svg\", \"class\", \"bx--table-sort__icon\", \"width\", \"16\", \"height\", \"16\", \"viewBox\", \"0 0 16 16\", \"aria-hidden\", \"true\", 4, \"ngIf\"], [\"focusable\", \"false\", \"preserveAspectRatio\", \"xMidYMid meet\", \"style\", \"will-change: transform;\", \"xmlns\", \"http://www.w3.org/2000/svg\", \"class\", \"bx--table-sort__icon-unsorted\", \"width\", \"16\", \"height\", \"16\", \"viewBox\", \"0 0 16 16\", \"aria-hidden\", \"true\", 4, \"ngIf\"], [\"ibmTableHeadCellLabel\", \"\"], [3, \"ngTemplateOutlet\", \"ngTemplateOutletContext\"], [\"focusable\", \"false\", \"preserveAspectRatio\", \"xMidYMid meet\", \"xmlns\", \"http://www.w3.org/2000/svg\", \"width\", \"16\", \"height\", \"16\", \"viewBox\", \"0 0 16 16\", \"aria-hidden\", \"true\", 1, \"bx--table-sort__icon\", 2, \"will-change\", \"transform\"], [\"d\", \"M12.3 9.3l-3.8 3.8V1h-1v12.1L3.7 9.3 3 10l5 5 5-5z\"], [\"focusable\", \"false\", \"preserveAspectRatio\", \"xMidYMid meet\", \"xmlns\", \"http://www.w3.org/2000/svg\", \"width\", \"16\", \"height\", \"16\", \"viewBox\", \"0 0 16 16\", \"aria-hidden\", \"true\", 1, \"bx--table-sort__icon-unsorted\", 2, \"will-change\", \"transform\"], [\"d\", \"M13.8 10.3L12 12.1V2h-1v10.1l-1.8-1.8-.7.7 3 3 3-3zM4.5 2l-3 3 .7.7L4 3.9V14h1V3.9l1.8 1.8.7-.7z\"], [1, \"bx--table-header-label\"], [3, \"title\", 4, \"ngIf\"], [3, \"title\"], [\"type\", \"button\", \"aria-expanded\", \"false\", \"aria-haspopup\", \"true\", \"trigger\", \"click\", \"placement\", \"bottom,top\", 3, \"ngClass\", \"ibmTooltip\", \"title\", \"data\"], [\"xmlns\", \"http://www.w3.org/2000/svg\", \"width\", \"16\", \"height\", \"16\", \"viewBox\", \"0 0 16 16\", 1, \"icon--sm\"], [\"d\", \"M0 0v3l6 8v5h4v-5l6-8V0H0zm9 10.7V15H7v-4.3L1.3 3h13.5L9 10.7z\"]], template: function TableHeadCell_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵtemplate(0, TableHeadCell_button_0_Template, 7, 12, \"button\", 0);\n        ɵngcc0.ɵɵtemplate(1, TableHeadCell_div_1_Template, 3, 5, \"div\", 1);\n        ɵngcc0.ɵɵtemplate(2, TableHeadCell_button_2_Template, 5, 9, \"button\", 2);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.sortable && ctx.sort.observers.length > 0 && ctx.column.sortable);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.skeleton && ctx.sort.observers.length === 0 || ctx.sort.observers.length > 0 && !ctx.column.sortable || !ctx.sortable);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.column.filterTemplate);\n    } }, dependencies: [ɵngcc2.NgClass, ɵngcc2.NgIf, ɵngcc2.NgTemplateOutlet, ɵngcc5.TooltipDirective, TableHeadCellLabel, ɵngcc2.AsyncPipe], encapsulation: 2 });\n/** @nocollapse */\nTableHeadCell.ctorParameters = () => [\n    { type: I18n }\n];\nTableHeadCell.propDecorators = {\n    column: [{ type: Input }],\n    skeleton: [{ type: Input }],\n    sortable: [{ type: Input }],\n    sortDescendingLabel: [{ type: Input }],\n    sortAscendingLabel: [{ type: Input }],\n    filterTitle: [{ type: Input }],\n    sort: [{ type: Output }],\n    theadAction: [{ type: HostBinding, args: [\"class.thead_action\",] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(TableHeadCell, [{\n        type: Component,\n        args: [{\n                // tslint:disable-next-line: component-selector\n                selector: \"[ibmTableHeadCell]\",\n                template: `\n\t\t<button\n\t\t\tclass=\"bx--table-sort\"\n\t\t\t*ngIf=\"sortable && this.sort.observers.length > 0 && column.sortable\"\n\t\t\t[attr.aria-label]=\"(column.sorted && column.sortDirection === 'ASCENDING' ? getSortDescendingLabel() : getSortAscendingLabel()) | async\"\n\t\t\taria-live=\"polite\"\n\t\t\t[ngClass]=\"{\n\t\t\t\t'bx--table-sort--active': column.sorted,\n\t\t\t\t'bx--table-sort--ascending': column.sortDirection === 'ASCENDING'\n\t\t\t}\"\n\t\t\t(click)=\"onClick()\">\n\t\t\t<span\n\t\t\t\tclass=\"bx--table-sort__flex\"\n\t\t\t\t[title]=\"column.title\"\n\t\t\t\ttabindex=\"-1\">\n\t\t\t\t<div *ngIf=\"!skeleton && !column.template\" ibmTableHeadCellLabel>\n\t\t\t\t\t{{column.data}}\n\t\t\t\t</div>\n\t\t\t\t<ng-template\n\t\t\t\t\t*ngIf=\"!skeleton && column.template\"\n\t\t\t\t\t[ngTemplateOutlet]=\"column.template\"\n\t\t\t\t\t[ngTemplateOutletContext]=\"{data: column.data}\">\n\t\t\t\t</ng-template>\n\t\t\t\t<svg\n\t\t\t\t\t*ngIf=\"!skeleton\"\n\t\t\t\t\tfocusable=\"false\"\n\t\t\t\t\tpreserveAspectRatio=\"xMidYMid meet\"\n\t\t\t\t\tstyle=\"will-change: transform;\"\n\t\t\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\t\t\tclass=\"bx--table-sort__icon\"\n\t\t\t\t\twidth=\"16\"\n\t\t\t\t\theight=\"16\"\n\t\t\t\t\tviewBox=\"0 0 16 16\"\n\t\t\t\t\taria-hidden=\"true\">\n\t\t\t\t\t<path d=\"M12.3 9.3l-3.8 3.8V1h-1v12.1L3.7 9.3 3 10l5 5 5-5z\"></path>\n\t\t\t\t</svg>\n\t\t\t\t<svg\n\t\t\t\t\t*ngIf=\"!skeleton\"\n\t\t\t\t\tfocusable=\"false\"\n\t\t\t\t\tpreserveAspectRatio=\"xMidYMid meet\"\n\t\t\t\t\tstyle=\"will-change: transform;\"\n\t\t\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\t\t\tclass=\"bx--table-sort__icon-unsorted\"\n\t\t\t\t\twidth=\"16\"\n\t\t\t\t\theight=\"16\"\n\t\t\t\t\tviewBox=\"0 0 16 16\"\n\t\t\t\t\taria-hidden=\"true\">\n\t\t\t\t\t<path d=\"M13.8 10.3L12 12.1V2h-1v10.1l-1.8-1.8-.7.7 3 3 3-3zM4.5 2l-3 3 .7.7L4 3.9V14h1V3.9l1.8 1.8.7-.7z\"></path>\n\t\t\t\t</svg>\n\t\t\t</span>\n\t\t</button>\n\t\t<div\n\t\t\tclass=\"bx--table-header-label\"\n\t\t\t*ngIf=\"!skeleton && this.sort.observers.length === 0 || (this.sort.observers.length > 0 && !column.sortable) || !sortable\">\n\t\t\t<span *ngIf=\"!column.template\" [title]=\"column.data\">{{column.data}}</span>\n\t\t\t<ng-template\n\t\t\t\t[ngTemplateOutlet]=\"column.template\" [ngTemplateOutletContext]=\"{data: column.data}\">\n\t\t\t</ng-template>\n\t\t</div>\n\t\t<button\n\t\t\t[ngClass]=\"{'active': column.filterCount > 0}\"\n\t\t\t*ngIf=\"column.filterTemplate\"\n\t\t\ttype=\"button\"\n\t\t\taria-expanded=\"false\"\n\t\t\taria-haspopup=\"true\"\n\t\t\t[ibmTooltip]=\"column.filterTemplate\"\n\t\t\ttrigger=\"click\"\n\t\t\t[title]=\"getFilterTitle() | async\"\n\t\t\tplacement=\"bottom,top\"\n\t\t\t[data]=\"column.filterData\">\n\t\t\t<svg\n\t\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\t\tclass=\"icon--sm\"\n\t\t\t\twidth=\"16\"\n\t\t\t\theight=\"16\"\n\t\t\t\tviewBox=\"0 0 16 16\">\n\t\t\t\t<path d=\"M0 0v3l6 8v5h4v-5l6-8V0H0zm9 10.7V15H7v-4.3L1.3 3h13.5L9 10.7z\"/>\n\t\t\t</svg>\n\t\t\t<span *ngIf=\"column.filterCount > 0\">\n\t\t\t\t{{column.filterCount}}\n\t\t\t</span>\n\t\t</button>\n\t`\n            }]\n    }], function () { return [{ type: ɵngcc1.I18n }]; }, { skeleton: [{\n            type: Input\n        }], sortable: [{\n            type: Input\n        }], sort: [{\n            type: Output\n        }], theadAction: [{\n            type: HostBinding,\n            args: [\"class.thead_action\"]\n        }], sortDescendingLabel: [{\n            type: Input\n        }], sortAscendingLabel: [{\n            type: Input\n        }], filterTitle: [{\n            type: Input\n        }], column: [{\n            type: Input\n        }] }); })();\n\nclass TableHeadCheckbox {\n    constructor(i18n) {\n        this.i18n = i18n;\n        /**\n         * Size of the table rows.\n         */\n        this.size = \"md\";\n        this.checked = false;\n        this.indeterminate = false;\n        this.skeleton = false;\n        this.name = `select-all-${TableHeadCheckbox.tableSelectAllCount++}`;\n        this.change = new EventEmitter();\n        this.hostClass = true;\n        this._ariaLabel = this.i18n.getOverridable(\"TABLE.CHECKBOX_HEADER\");\n    }\n    set ariaLabel(value) {\n        this._ariaLabel.override(value);\n    }\n    get ariaLabel() {\n        return this._ariaLabel.value;\n    }\n    getAriaLabel() {\n        return this._ariaLabel.subject;\n    }\n}\nTableHeadCheckbox.ɵfac = function TableHeadCheckbox_Factory(t) { return new (t || TableHeadCheckbox)(ɵngcc0.ɵɵdirectiveInject(ɵngcc1.I18n)); };\nTableHeadCheckbox.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: TableHeadCheckbox, selectors: [[\"\", \"ibmTableHeadCheckbox\", \"\"]], hostVars: 2, hostBindings: function TableHeadCheckbox_HostBindings(rf, ctx) { if (rf & 2) {\n        ɵngcc0.ɵɵclassProp(\"bx--table-column-checkbox\", ctx.hostClass);\n    } }, inputs: { size: \"size\", checked: \"checked\", indeterminate: \"indeterminate\", skeleton: \"skeleton\", name: \"name\", ariaLabel: \"ariaLabel\" }, outputs: { change: \"change\" }, attrs: _c17, decls: 1, vars: 1, consts: [[\"inline\", \"true\", 3, \"size\", \"name\", \"checked\", \"indeterminate\", \"aria-label\", \"checkedChange\", 4, \"ngIf\"], [\"inline\", \"true\", 3, \"size\", \"name\", \"checked\", \"indeterminate\", \"aria-label\", \"checkedChange\"]], template: function TableHeadCheckbox_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵtemplate(0, TableHeadCheckbox_ibm_checkbox_0_Template, 2, 7, \"ibm-checkbox\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.skeleton);\n    } }, dependencies: [ɵngcc2.NgIf, ɵngcc6.Checkbox, ɵngcc2.AsyncPipe], styles: [\"[_nghost-%COMP%] { width: 10px; }\"] });\nTableHeadCheckbox.tableSelectAllCount = 0;\n/** @nocollapse */\nTableHeadCheckbox.ctorParameters = () => [\n    { type: I18n }\n];\nTableHeadCheckbox.propDecorators = {\n    size: [{ type: Input }],\n    checked: [{ type: Input }],\n    indeterminate: [{ type: Input }],\n    skeleton: [{ type: Input }],\n    name: [{ type: Input }],\n    ariaLabel: [{ type: Input }],\n    change: [{ type: Output }],\n    hostClass: [{ type: HostBinding, args: [\"class.bx--table-column-checkbox\",] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(TableHeadCheckbox, [{\n        type: Component,\n        args: [{ selector: \"[ibmTableHeadCheckbox]\", template: `\n\t\t<ibm-checkbox\n\t\t\t*ngIf=\"!skeleton\"\n\t\t\tinline=\"true\"\n\t\t\t[size]=\"(size !== 'sm' ? 'md' : 'sm')\"\n\t\t\t[name]=\"name\"\n\t\t\t[checked]=\"checked\"\n\t\t\t[indeterminate]=\"indeterminate\"\n\t\t\t(checkedChange)=\"change.emit()\"\n\t\t\t[aria-label]=\"getAriaLabel() | async\">\n\t\t</ibm-checkbox>\n\t`, styles: [\"\\n        :host { width: 10px; }\\n    \"] }]\n    }], function () { return [{ type: ɵngcc1.I18n }]; }, { size: [{\n            type: Input\n        }], checked: [{\n            type: Input\n        }], indeterminate: [{\n            type: Input\n        }], skeleton: [{\n            type: Input\n        }], name: [{\n            type: Input\n        }], change: [{\n            type: Output\n        }], hostClass: [{\n            type: HostBinding,\n            args: [\"class.bx--table-column-checkbox\"]\n        }], ariaLabel: [{\n            type: Input\n        }] }); })();\n\nclass TableHeadExpand {\n    constructor() {\n        this.hostClass = true;\n    }\n}\nTableHeadExpand.ɵfac = function TableHeadExpand_Factory(t) { return new (t || TableHeadExpand)(); };\nTableHeadExpand.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: TableHeadExpand, selectors: [[\"\", \"ibmTableHeadExpand\", \"\"]], hostVars: 2, hostBindings: function TableHeadExpand_HostBindings(rf, ctx) { if (rf & 2) {\n        ɵngcc0.ɵɵclassProp(\"bx--table-expand\", ctx.hostClass);\n    } }, attrs: _c18, ngContentSelectors: _c5, decls: 1, vars: 0, template: function TableHeadExpand_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵprojectionDef();\n        ɵngcc0.ɵɵprojection(0);\n    } }, encapsulation: 2 });\nTableHeadExpand.propDecorators = {\n    hostClass: [{ type: HostBinding, args: [\"class.bx--table-expand\",] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(TableHeadExpand, [{\n        type: Component,\n        args: [{\n                // tslint:disable-next-line: component-selector\n                selector: \"[ibmTableHeadExpand]\",\n                template: `\n\t\t<ng-content></ng-content>\n\t`\n            }]\n    }], function () { return []; }, { hostClass: [{\n            type: HostBinding,\n            args: [\"class.bx--table-expand\"]\n        }] }); })();\n\nclass TableBody {\n    constructor(i18n) {\n        this.i18n = i18n;\n        /**\n         * Controls whether to enable multiple or single row selection.\n         */\n        this.enableSingleSelect = false;\n        /**\n         * Controls whether to show the selection checkboxes column or not.\n         */\n        this.showSelectionColumn = true;\n        /**\n         * Size of the table rows.\n         */\n        this.size = \"md\";\n        this.skeleton = false;\n        /**\n         * Emits if a single row is selected.\n         *\n         * @param ({model: this.model, selectedRowIndex: index})\n         */\n        this.selectRow = new EventEmitter();\n        /**\n         * Emits if a single row is deselected.\n         *\n         * @param ({model: this.model, deselectedRowIndex: index})\n         */\n        this.deselectRow = new EventEmitter();\n        /**\n         * Emits if a row item excluding expandButtons, checkboxes, or radios is clicked.\n         */\n        this.rowClick = new EventEmitter();\n        this._checkboxRowLabel = this.i18n.getOverridable(\"TABLE.CHECKBOX_ROW\");\n        this._expandButtonAriaLabel = this.i18n.getOverridable(\"TABLE.EXPAND_BUTTON\");\n    }\n    set expandButtonAriaLabel(value) {\n        this._expandButtonAriaLabel.override(value);\n    }\n    get expandButtonAriaLabel() {\n        return this._expandButtonAriaLabel.value;\n    }\n    set checkboxRowLabel(value) {\n        this._checkboxRowLabel.override(value);\n    }\n    get checkboxRowLabel() {\n        return this._checkboxRowLabel.value;\n    }\n    /**\n     * Triggered when a single row is clicked.\n     * Updates the header checkbox state.\n     * Emits the `selectRow` or `deselectRow` event.\n     */\n    onRowCheckboxChange(index) {\n        if (this.model.isRowSelected(index)) {\n            this.deselectRow.emit({ model: this.model, deselectedRowIndex: index });\n        }\n        else {\n            this.selectRow.emit({ model: this.model, selectedRowIndex: index });\n        }\n    }\n    onRowClick(index) {\n        this.rowClick.emit(index);\n    }\n    getCheckboxRowLabel() {\n        return this._checkboxRowLabel.subject;\n    }\n    getExpandButtonAriaLabel() {\n        return this._expandButtonAriaLabel.subject;\n    }\n    firstExpandedDataInRow(row) {\n        const found = row.find(d => d.expandedData);\n        if (found) {\n            return found.expandedData;\n        }\n        return found;\n    }\n    shouldExpandAsTable(row) {\n        return row.some(d => d.expandAsTable);\n    }\n}\nTableBody.ɵfac = function TableBody_Factory(t) { return new (t || TableBody)(ɵngcc0.ɵɵdirectiveInject(ɵngcc1.I18n)); };\nTableBody.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: TableBody, selectors: [[\"\", \"ibmTableBody\", \"\"]], inputs: { enableSingleSelect: \"enableSingleSelect\", showSelectionColumn: \"showSelectionColumn\", size: \"size\", skeleton: \"skeleton\", expandButtonAriaLabel: \"expandButtonAriaLabel\", checkboxRowLabel: \"checkboxRowLabel\", model: \"model\", selectionLabelColumn: \"selectionLabelColumn\" }, outputs: { selectRow: \"selectRow\", deselectRow: \"deselectRow\", rowClick: \"rowClick\" }, attrs: _c19, ngContentSelectors: _c5, decls: 2, vars: 1, consts: [[4, \"ngIf\"], [4, \"ngFor\", \"ngForOf\"], [\"ibmTableRow\", \"\", 3, \"model\", \"row\", \"size\", \"selected\", \"expandable\", \"expanded\", \"checkboxLabel\", \"expandButtonAriaLabel\", \"showSelectionColumn\", \"enableSingleSelect\", \"skeleton\", \"class\", \"ngClass\", \"selectRow\", \"deselectRow\", \"expandRow\", \"rowClick\", 4, \"ngIf\"], [\"ibmTableExpandedRow\", \"\", \"ibmExpandedRowHover\", \"\", 3, \"row\", \"expanded\", \"skeleton\", 4, \"ngIf\"], [\"ibmTableRow\", \"\", 3, \"model\", \"row\", \"size\", \"selected\", \"expandable\", \"expanded\", \"checkboxLabel\", \"expandButtonAriaLabel\", \"showSelectionColumn\", \"enableSingleSelect\", \"skeleton\", \"ngClass\", \"selectRow\", \"deselectRow\", \"expandRow\", \"rowClick\"], [\"ibmTableExpandedRow\", \"\", \"ibmExpandedRowHover\", \"\", 3, \"row\", \"expanded\", \"skeleton\"], [\"ibmTableRow\", \"\", 3, \"model\", \"showSelectionColumnCheckbox\", \"showSelectionColumn\", \"row\", \"size\", \"skeleton\", 4, \"ngFor\", \"ngForOf\"], [\"ibmTableRow\", \"\", 3, \"model\", \"showSelectionColumnCheckbox\", \"showSelectionColumn\", \"row\", \"size\", \"skeleton\"]], template: function TableBody_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵprojectionDef();\n        ɵngcc0.ɵɵtemplate(0, TableBody_ng_container_0_Template, 2, 1, \"ng-container\", 0);\n        ɵngcc0.ɵɵprojection(1);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.model);\n    } }, dependencies: function () { return [ɵngcc2.NgClass, ɵngcc2.NgForOf, ɵngcc2.NgIf, ExpandedRowHover, TableRowComponent, TableExpandedRow]; }, encapsulation: 2 });\n/** @nocollapse */\nTableBody.ctorParameters = () => [\n    { type: I18n }\n];\nTableBody.propDecorators = {\n    model: [{ type: Input }],\n    enableSingleSelect: [{ type: Input }],\n    expandButtonAriaLabel: [{ type: Input }],\n    checkboxRowLabel: [{ type: Input }],\n    showSelectionColumn: [{ type: Input }],\n    size: [{ type: Input }],\n    selectionLabelColumn: [{ type: Input }],\n    skeleton: [{ type: Input }],\n    selectRow: [{ type: Output }],\n    deselectRow: [{ type: Output }],\n    rowClick: [{ type: Output }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(TableBody, [{\n        type: Component,\n        args: [{\n                // tslint:disable-next-line: component-selector\n                selector: \"[ibmTableBody]\",\n                template: `\n\t\t<ng-container *ngIf=\"model\">\n\t\t\t<ng-container *ngFor=\"let row of model.data; let i = index\">\n\t\t\t\t<tr\n\t\t\t\t\tibmTableRow\n\t\t\t\t\t[model]=\"model\"\n\t\t\t\t\t[row]=\"row\"\n\t\t\t\t\t[size]=\"size\"\n\t\t\t\t\t[selected]=\"model.isRowSelected(i)\"\n\t\t\t\t\t[expandable]=\"model.isRowExpandable(i)\"\n\t\t\t\t\t[expanded]=\"model.isRowExpanded(i)\"\n\t\t\t\t\t[checkboxLabel]=\"getCheckboxRowLabel()\"\n\t\t\t\t\t[expandButtonAriaLabel]=\"getExpandButtonAriaLabel()\"\n\t\t\t\t\t[showSelectionColumn]=\"showSelectionColumn\"\n\t\t\t\t\t[enableSingleSelect]=\"enableSingleSelect\"\n\t\t\t\t\t[skeleton]=\"skeleton\"\n\t\t\t\t\t(selectRow)=\"onRowCheckboxChange(i)\"\n\t\t\t\t\t(deselectRow)=\"onRowCheckboxChange(i)\"\n\t\t\t\t\t(expandRow)=\"model.expandRow(i, !model.isRowExpanded(i))\"\n\t\t\t\t\t(rowClick)=\"onRowClick(i)\"\n\t\t\t\t\t*ngIf=\"!model.isRowFiltered(i)\"\n\t\t\t\t\t[class]=\"(model.rowsClass[i] ? model.rowsClass[i] : null)\"\n\t\t\t\t\t[ngClass]=\"{\n\t\t\t\t\t\t'tbody_row--success': !model.isRowSelected(i) && model.getRowContext(i) === 'success',\n\t\t\t\t\t\t'tbody_row--warning': !model.isRowSelected(i) && model.getRowContext(i) === 'warning',\n\t\t\t\t\t\t'tbody_row--info': !model.isRowSelected(i) && model.getRowContext(i) === 'info',\n\t\t\t\t\t\t'tbody_row--error': !model.isRowSelected(i) && model.getRowContext(i) === 'error'\n\t\t\t\t\t}\">\n\t\t\t\t</tr>\n\t\t\t\t<tr\n\t\t\t\t\t*ngIf=\"model.isRowExpandable(i) && !shouldExpandAsTable(row) && !model.isRowFiltered(i)\"\n\t\t\t\t\tibmTableExpandedRow\n\t\t\t\t\tibmExpandedRowHover\n\t\t\t\t\t[row]=\"row\"\n\t\t\t\t\t[expanded]=\"model.isRowExpanded(i)\"\n\t\t\t\t\t[skeleton]=\"skeleton\">\n\t\t\t\t</tr>\n\t\t\t\t<ng-container\n\t\t\t\t\t*ngIf=\"model.isRowExpandable(i) && shouldExpandAsTable(row) && model.isRowExpanded(i) && !model.isRowFiltered(i)\">\n\t\t\t\t\t<tr\n\t\t\t\t\t\t*ngFor=\"let expandedDataRow of firstExpandedDataInRow(row)\"\n\t\t\t\t\t\tibmTableRow\n\t\t\t\t\t\t[model]=\"model\"\n\t\t\t\t\t\t[showSelectionColumnCheckbox]=\"false\"\n\t\t\t\t\t\t[showSelectionColumn]=\"showSelectionColumn\"\n\t\t\t\t\t\t[row]=\"expandedDataRow\"\n\t\t\t\t\t\t[size]=\"size\"\n\t\t\t\t\t\t[skeleton]=\"skeleton\">\n\t\t\t\t\t</tr>\n\t\t\t\t</ng-container>\n\t\t\t</ng-container>\n\t\t</ng-container>\n\t\t<ng-content></ng-content>\n\t`\n            }]\n    }], function () { return [{ type: ɵngcc1.I18n }]; }, { enableSingleSelect: [{\n            type: Input\n        }], showSelectionColumn: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }], skeleton: [{\n            type: Input\n        }], selectRow: [{\n            type: Output\n        }], deselectRow: [{\n            type: Output\n        }], rowClick: [{\n            type: Output\n        }], expandButtonAriaLabel: [{\n            type: Input\n        }], checkboxRowLabel: [{\n            type: Input\n        }], model: [{\n            type: Input\n        }], selectionLabelColumn: [{\n            type: Input\n        }] }); })();\n\nclass TableRowComponent {\n    constructor(i18n) {\n        this.i18n = i18n;\n        this.expanded = false;\n        this.expandable = false;\n        this.selected = false;\n        /**\n         * Size of the table rows.\n         */\n        this.size = \"md\";\n        /**\n         * Controls whether to enable multiple or single row selection.\n         */\n        this.enableSingleSelect = false;\n        /**\n         * Controls whether to show the selection checkboxes column or not.\n         */\n        this.showSelectionColumn = true;\n        /**\n         * Shows or hide the checkbox in the selection column when `showSelectionColumn`\n         * is set to true\n         */\n        this.showSelectionColumnCheckbox = true;\n        this.skeleton = false;\n        /**\n         * Emits when the row is selected.\n         */\n        this.selectRow = new EventEmitter();\n        /**\n         * Emits when the row is deselected.\n         */\n        this.deselectRow = new EventEmitter();\n        /**\n         * Emits when the row is expanded\n         */\n        this.expandRow = new EventEmitter();\n        /**\n         * Emits when a row is clicked regardless of `enableSingleSelect` or `showSelectionColumn`.\n         * Should only get emitted when a row item is selected excluding expand buttons,\n         * checkboxes, or radios.\n         */\n        this.rowClick = new EventEmitter();\n        this._checkboxLabel = this.i18n.getOverridable(\"TABLE.CHECKBOX_ROW\");\n        this._expandButtonAriaLabel = this.i18n.getOverridable(\"TABLE.EXPAND_BUTTON\");\n    }\n    set expandButtonAriaLabel(value) {\n        this._expandButtonAriaLabel.override(value);\n    }\n    get expandButtonAriaLabel() {\n        return this._expandButtonAriaLabel.value;\n    }\n    set checkboxLabel(value) {\n        this._checkboxLabel.override(value);\n    }\n    get checkboxLabel() {\n        return this._checkboxLabel.value;\n    }\n    get selectedClass() {\n        return this.selected;\n    }\n    get parentRowClass() {\n        return this.expandable;\n    }\n    get expandableRowClass() {\n        return this.expanded;\n    }\n    get selectableClass() {\n        return false; // this.singleSelect\n    }\n    get isParentRow() {\n        return this.expandable ? true : null;\n    }\n    get isAccessible() {\n        return this.enableSingleSelect && !this.showSelectionColumn ? 0 : null;\n    }\n    onHostClick() {\n        if (this.enableSingleSelect && !this.showSelectionColumn) {\n            this.onSelectionChange();\n        }\n    }\n    onRowClick() {\n        this.rowClick.emit();\n    }\n    onSelectionChange() {\n        if (this.selected) {\n            this.deselectRow.emit();\n        }\n        else {\n            this.selectRow.emit();\n        }\n    }\n    getCheckboxLabel() {\n        return this._checkboxLabel.subject;\n    }\n    getExpandButtonAriaLabel() {\n        return this._expandButtonAriaLabel.subject;\n    }\n}\nTableRowComponent.ɵfac = function TableRowComponent_Factory(t) { return new (t || TableRowComponent)(ɵngcc0.ɵɵdirectiveInject(ɵngcc1.I18n)); };\nTableRowComponent.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: TableRowComponent, selectors: [[\"\", \"ibmTableRow\", \"\"]], hostVars: 10, hostBindings: function TableRowComponent_HostBindings(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵlistener(\"click\", function TableRowComponent_click_HostBindingHandler() { return ctx.onHostClick(); });\n    } if (rf & 2) {\n        ɵngcc0.ɵɵattribute(\"data-parent-row\", ctx.isParentRow)(\"tabindex\", ctx.isAccessible);\n        ɵngcc0.ɵɵclassProp(\"bx--data-table--selected\", ctx.selectedClass)(\"bx--parent-row\", ctx.parentRowClass)(\"bx--expandable-row\", ctx.expandableRowClass)(\"tbody_row--selectable\", ctx.selectableClass);\n    } }, inputs: { expanded: \"expanded\", expandable: \"expandable\", selected: \"selected\", size: \"size\", enableSingleSelect: \"enableSingleSelect\", showSelectionColumn: \"showSelectionColumn\", showSelectionColumnCheckbox: \"showSelectionColumnCheckbox\", skeleton: \"skeleton\", expandButtonAriaLabel: \"expandButtonAriaLabel\", checkboxLabel: \"checkboxLabel\", model: \"model\", row: \"row\", selectionLabelColumn: \"selectionLabelColumn\" }, outputs: { selectRow: \"selectRow\", deselectRow: \"deselectRow\", expandRow: \"expandRow\", rowClick: \"rowClick\" }, attrs: _c21, ngContentSelectors: _c5, decls: 2, vars: 1, consts: [[4, \"ngIf\"], [\"ibmTableExpandButton\", \"\", \"class\", \"bx--table-expand-v2\", 3, \"expanded\", \"expandable\", \"skeleton\", \"ariaLabel\", \"headers\", \"expandRow\", 4, \"ngIf\"], [\"ibmTableRadio\", \"\", 3, \"selected\", \"label\", \"row\", \"skeleton\", \"headers\", \"change\", 4, \"ngIf\"], [4, \"ngFor\", \"ngForOf\"], [\"ibmTableExpandButton\", \"\", 1, \"bx--table-expand-v2\", 3, \"expanded\", \"expandable\", \"skeleton\", \"ariaLabel\", \"headers\", \"expandRow\"], [4, \"ngIf\", \"ngIfElse\"], [\"tableCheckboxTemplate\", \"\"], [\"ibmTableCheckbox\", \"\", 1, \"bx--table-column-checkbox\", 3, \"size\", \"selected\", \"label\", \"row\", \"skeleton\", \"headers\", \"change\"], [\"ibmTableRadio\", \"\", 3, \"selected\", \"label\", \"row\", \"skeleton\", \"headers\", \"change\"], [\"ibmTableData\", \"\", 3, \"headers\", \"item\", \"title\", \"class\", \"ngStyle\", \"skeleton\", \"click\", \"keydown.enter\", 4, \"ngIf\"], [\"ibmTableData\", \"\", 3, \"headers\", \"item\", \"title\", \"skeleton\", \"click\", \"keydown.enter\", 4, \"ngIf\"], [\"ibmTableData\", \"\", 3, \"headers\", \"item\", \"title\", \"ngStyle\", \"skeleton\", \"click\", \"keydown.enter\"], [\"ibmTableData\", \"\", 3, \"headers\", \"item\", \"title\", \"skeleton\", \"click\", \"keydown.enter\"]], template: function TableRowComponent_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵprojectionDef();\n        ɵngcc0.ɵɵtemplate(0, TableRowComponent_ng_container_0_Template, 5, 4, \"ng-container\", 0);\n        ɵngcc0.ɵɵprojection(1);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.model);\n    } }, dependencies: function () { return [ɵngcc2.NgForOf, ɵngcc2.NgIf, ɵngcc2.NgStyle, TableData, TableCheckbox, TableRadio, TableExpandButton]; }, encapsulation: 2 });\n/** @nocollapse */\nTableRowComponent.ctorParameters = () => [\n    { type: I18n }\n];\nTableRowComponent.propDecorators = {\n    model: [{ type: Input }],\n    row: [{ type: Input }],\n    expanded: [{ type: Input }],\n    expandable: [{ type: Input }],\n    selected: [{ type: Input }],\n    size: [{ type: Input }],\n    enableSingleSelect: [{ type: Input }],\n    expandButtonAriaLabel: [{ type: Input }],\n    checkboxLabel: [{ type: Input }],\n    showSelectionColumn: [{ type: Input }],\n    showSelectionColumnCheckbox: [{ type: Input }],\n    selectionLabelColumn: [{ type: Input }],\n    skeleton: [{ type: Input }],\n    selectRow: [{ type: Output }],\n    deselectRow: [{ type: Output }],\n    expandRow: [{ type: Output }],\n    rowClick: [{ type: Output }],\n    selectedClass: [{ type: HostBinding, args: [\"class.bx--data-table--selected\",] }],\n    parentRowClass: [{ type: HostBinding, args: [\"class.bx--parent-row\",] }],\n    expandableRowClass: [{ type: HostBinding, args: [\"class.bx--expandable-row\",] }],\n    selectableClass: [{ type: HostBinding, args: [\"class.tbody_row--selectable\",] }],\n    isParentRow: [{ type: HostBinding, args: [\"attr.data-parent-row\",] }],\n    isAccessible: [{ type: HostBinding, args: [\"attr.tabindex\",] }],\n    onHostClick: [{ type: HostListener, args: [\"click\",] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(TableRowComponent, [{\n        type: Component,\n        args: [{\n                // tslint:disable-next-line: component-selector\n                selector: \"[ibmTableRow]\",\n                template: `\n\t\t<ng-container *ngIf=\"model\">\n\t\t\t<td\n\t\t\t\t*ngIf=\"model.hasExpandableRows()\"\n\t\t\t\tibmTableExpandButton\n\t\t\t\tclass=\"bx--table-expand-v2\"\n\t\t\t\t[expanded]=\"expanded\"\n\t\t\t\t[expandable]=\"expandable\"\n\t\t\t\t[skeleton]=\"skeleton\"\n\t\t\t\t[ariaLabel]=\"getExpandButtonAriaLabel()\"\n\t\t\t\t[headers]=\"model.getHeaderId('expand')\"\n\t\t\t\t(expandRow)=\"expandRow.emit()\">\n\t\t\t</td>\n\t\t\t<ng-container *ngIf=\"!skeleton && showSelectionColumn && !enableSingleSelect\">\n\t\t\t\t<td\n\t\t\t\t\t*ngIf=\"!showSelectionColumnCheckbox; else tableCheckboxTemplate\">\n\t\t\t\t</td>\n\t\t\t\t<ng-template #tableCheckboxTemplate>\n\t\t\t\t\t<td\n\t\t\t\t\t\tibmTableCheckbox\n\t\t\t\t\t\tclass=\"bx--table-column-checkbox\"\n\t\t\t\t\t\t[size]=\"size\"\n\t\t\t\t\t\t[selected]=\"selected\"\n\t\t\t\t\t\t[label]=\"getCheckboxLabel()\"\n\t\t\t\t\t\t[row]=\"row\"\n\t\t\t\t\t\t[skeleton]=\"skeleton\"\n\t\t\t\t\t\t[headers]=\"model.getHeaderId('select')\"\n\t\t\t\t\t\t(change)=\"onSelectionChange()\">\n\t\t\t\t\t</td>\n\t\t\t\t</ng-template>\n\t\t\t</ng-container>\n\t\t\t<td\n\t\t\t\t*ngIf=\"!skeleton && showSelectionColumn && enableSingleSelect\"\n\t\t\t\tibmTableRadio\n\t\t\t\t[selected]=\"selected\"\n\t\t\t\t[label]=\"getCheckboxLabel()\"\n\t\t\t\t[row]=\"row\"\n\t\t\t\t[skeleton]=\"skeleton\"\n\t\t\t\t[headers]=\"model.getHeaderId('select')\"\n\t\t\t\t(change)=\"onSelectionChange()\">\n\t\t\t</td>\n\t\t\t<ng-container *ngFor=\"let item of row; let j = index\">\n\t\t\t\t<td\n\t\t\t\t\t*ngIf=\"item && model.getHeader(j) && model.getHeader(j).visible\"\n\t\t\t\t\tibmTableData\n\t\t\t\t\t[headers]=\"model.getHeaderId(j, item.colSpan)\"\n\t\t\t\t\t[item]=\"item\"\n\t\t\t\t\t[title]=\"item.title\"\n\t\t\t\t\t[class]=\"model.getHeader(j).className\"\n\t\t\t\t\t[ngStyle]=\"model.getHeader(j).style\"\n\t\t\t\t\t[skeleton]=\"skeleton\"\n\t\t\t\t\t[attr.colspan]=\"item.colSpan\"\n\t\t\t\t\t[attr.rowspan]=\"item.rowSpan\"\n\t\t\t\t\t(click)=\"onRowClick()\"\n\t\t\t\t\t(keydown.enter)=\"onRowClick()\">\n\t\t\t\t</td>\n\t\t\t\t<td\n\t\t\t\t\t*ngIf=\"item && model.getHeader(j) == null\"\n\t\t\t\t\tibmTableData\n\t\t\t\t\t[headers]=\"model.getHeaderId(j, item.colSpan)\"\n\t\t\t\t\t[item]=\"item\"\n\t\t\t\t\t[title]=\"item.title\"\n\t\t\t\t\t[skeleton]=\"skeleton\"\n\t\t\t\t\t[attr.colspan]=\"item.colSpan\"\n\t\t\t\t\t[attr.rowspan]=\"item.rowSpan\"\n\t\t\t\t\t(click)=\"onRowClick()\"\n\t\t\t\t\t(keydown.enter)=\"onRowClick()\">\n\t\t\t\t</td>\n\t\t\t</ng-container>\n\t\t</ng-container>\n\t\t<ng-content></ng-content>\n\t`\n            }]\n    }], function () { return [{ type: ɵngcc1.I18n }]; }, { expanded: [{\n            type: Input\n        }], expandable: [{\n            type: Input\n        }], selected: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }], enableSingleSelect: [{\n            type: Input\n        }], showSelectionColumn: [{\n            type: Input\n        }], showSelectionColumnCheckbox: [{\n            type: Input\n        }], skeleton: [{\n            type: Input\n        }], selectRow: [{\n            type: Output\n        }], deselectRow: [{\n            type: Output\n        }], expandRow: [{\n            type: Output\n        }], rowClick: [{\n            type: Output\n        }], expandButtonAriaLabel: [{\n            type: Input\n        }], checkboxLabel: [{\n            type: Input\n        }], selectedClass: [{\n            type: HostBinding,\n            args: [\"class.bx--data-table--selected\"]\n        }], parentRowClass: [{\n            type: HostBinding,\n            args: [\"class.bx--parent-row\"]\n        }], expandableRowClass: [{\n            type: HostBinding,\n            args: [\"class.bx--expandable-row\"]\n        }], selectableClass: [{\n            type: HostBinding,\n            args: [\"class.tbody_row--selectable\"]\n        }], isParentRow: [{\n            type: HostBinding,\n            args: [\"attr.data-parent-row\"]\n        }], isAccessible: [{\n            type: HostBinding,\n            args: [\"attr.tabindex\"]\n        }], onHostClick: [{\n            type: HostListener,\n            args: [\"click\"]\n        }], model: [{\n            type: Input\n        }], row: [{\n            type: Input\n        }], selectionLabelColumn: [{\n            type: Input\n        }] }); })();\n\nclass TableExpandedRow {\n    constructor() {\n        this.skeleton = false;\n        this.expandableRowClass = true;\n        this.dataChildRow = true;\n        this.expanded = false;\n    }\n    get displayStyle() {\n        return this.expanded ? null : \"none\";\n    }\n    firstExpandedTemplateInRow(row) {\n        const found = row.find(d => d.expandedTemplate);\n        if (found) {\n            return found.expandedTemplate;\n        }\n        return found;\n    }\n    firstExpandedDataInRow(row) {\n        const found = row.find(d => d.expandedData);\n        if (found) {\n            return found.expandedData;\n        }\n        return found;\n    }\n}\nTableExpandedRow.ɵfac = function TableExpandedRow_Factory(t) { return new (t || TableExpandedRow)(); };\nTableExpandedRow.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: TableExpandedRow, selectors: [[\"\", \"ibmTableExpandedRow\", \"\"]], hostVars: 5, hostBindings: function TableExpandedRow_HostBindings(rf, ctx) { if (rf & 2) {\n        ɵngcc0.ɵɵattribute(\"data-child-row\", ctx.dataChildRow);\n        ɵngcc0.ɵɵstyleProp(\"display\", ctx.displayStyle);\n        ɵngcc0.ɵɵclassProp(\"bx--expandable-row\", ctx.expandableRowClass);\n    } }, inputs: { skeleton: \"skeleton\", expanded: \"expanded\", row: \"row\" }, attrs: _c22, decls: 3, vars: 6, consts: [[4, \"ngIf\"], [3, \"ngTemplateOutlet\", \"ngTemplateOutletContext\"]], template: function TableExpandedRow_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵelementStart(0, \"td\");\n        ɵngcc0.ɵɵtemplate(1, TableExpandedRow_ng_container_1_Template, 2, 1, \"ng-container\", 0);\n        ɵngcc0.ɵɵtemplate(2, TableExpandedRow_ng_template_2_Template, 0, 0, \"ng-template\", 1);\n        ɵngcc0.ɵɵelementEnd();\n    } if (rf & 2) {\n        ɵngcc0.ɵɵattribute(\"colspan\", ctx.row.length + 2);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.firstExpandedTemplateInRow(ctx.row));\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", ctx.firstExpandedTemplateInRow(ctx.row))(\"ngTemplateOutletContext\", ɵngcc0.ɵɵpureFunction1(4, _c14, ctx.firstExpandedDataInRow(ctx.row)));\n    } }, dependencies: [ɵngcc2.NgIf, ɵngcc2.NgTemplateOutlet], encapsulation: 2 });\nTableExpandedRow.propDecorators = {\n    row: [{ type: Input }],\n    skeleton: [{ type: Input }],\n    expandableRowClass: [{ type: HostBinding, args: [\"class.bx--expandable-row\",] }],\n    dataChildRow: [{ type: HostBinding, args: [\"attr.data-child-row\",] }],\n    expanded: [{ type: Input }],\n    displayStyle: [{ type: HostBinding, args: [\"style.display\",] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(TableExpandedRow, [{\n        type: Component,\n        args: [{\n                // tslint:disable-next-line: component-selector\n                selector: \"[ibmTableExpandedRow]\",\n                template: `\n\t\t<td [attr.colspan]=\"row.length + 2\">\n\t\t\t<ng-container *ngIf=\"!firstExpandedTemplateInRow(row)\">\n\t\t\t\t{{firstExpandedDataInRow(row)}}\n\t\t\t</ng-container>\n\t\t\t<ng-template\n\t\t\t\t[ngTemplateOutlet]=\"firstExpandedTemplateInRow(row)\"\n\t\t\t\t[ngTemplateOutletContext]=\"{data: firstExpandedDataInRow(row)}\">\n\t\t\t</ng-template>\n\t\t</td>\n\t`\n            }]\n    }], function () { return []; }, { skeleton: [{\n            type: Input\n        }], expandableRowClass: [{\n            type: HostBinding,\n            args: [\"class.bx--expandable-row\"]\n        }], dataChildRow: [{\n            type: HostBinding,\n            args: [\"attr.data-child-row\"]\n        }], expanded: [{\n            type: Input\n        }], displayStyle: [{\n            type: HostBinding,\n            args: [\"style.display\"]\n        }], row: [{\n            type: Input\n        }] }); })();\n\nclass TableData {\n    constructor() {\n        this.skeleton = false;\n    }\n}\nTableData.ɵfac = function TableData_Factory(t) { return new (t || TableData)(); };\nTableData.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: TableData, selectors: [[\"\", \"ibmTableData\", \"\"]], inputs: { skeleton: \"skeleton\", item: \"item\" }, attrs: _c23, decls: 2, vars: 2, consts: [[4, \"ngIf\"], [3, \"ngTemplateOutlet\", \"ngTemplateOutletContext\"]], template: function TableData_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵtemplate(0, TableData_ng_container_0_Template, 2, 1, \"ng-container\", 0);\n        ɵngcc0.ɵɵtemplate(1, TableData_1_Template, 1, 4, null, 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.skeleton && !ctx.item.template);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.skeleton);\n    } }, dependencies: [ɵngcc2.NgIf, ɵngcc2.NgTemplateOutlet], encapsulation: 2 });\nTableData.propDecorators = {\n    item: [{ type: Input }],\n    skeleton: [{ type: Input }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(TableData, [{\n        type: Component,\n        args: [{\n                // tslint:disable-next-line: component-selector\n                selector: \"[ibmTableData]\",\n                template: `\n\t\t<ng-container *ngIf=\"!skeleton && !item.template\">{{item.data}}</ng-container>\n\t\t<ng-template\n\t\t\t*ngIf=\"!skeleton\"\n\t\t\t[ngTemplateOutlet]=\"item.template\"\n\t\t\t[ngTemplateOutletContext]=\"{data: item.data}\">\n\t\t</ng-template>\n\t`\n            }]\n    }], function () { return []; }, { skeleton: [{\n            type: Input\n        }], item: [{\n            type: Input\n        }] }); })();\n\nclass TableCheckbox {\n    constructor(i18n) {\n        this.i18n = i18n;\n        this.selected = false;\n        this.name = \"\";\n        /**\n         * Size of the table rows.\n         */\n        this.size = \"md\";\n        this.skeleton = false;\n        /**\n         * Emits if a single row is selected.\n         */\n        this.change = new EventEmitter();\n        this._label = this.i18n.getOverridable(\"TABLE.CHECKBOX_ROW\");\n    }\n    get disabled() {\n        return this.row ? !!this.row.disabled : false;\n    }\n    set label(value) {\n        this._label.override(value);\n    }\n    get label() {\n        return this._label.value;\n    }\n    getSelectionLabelValue(row) {\n        if (!this.selectionLabelColumn) {\n            return { value: this.i18n.get().TABLE.ROW };\n        }\n        return { value: row[this.selectionLabelColumn].data };\n    }\n    getLabel() {\n        return this._label.subject;\n    }\n}\nTableCheckbox.ɵfac = function TableCheckbox_Factory(t) { return new (t || TableCheckbox)(ɵngcc0.ɵɵdirectiveInject(ɵngcc1.I18n)); };\nTableCheckbox.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: TableCheckbox, selectors: [[\"\", \"ibmTableCheckbox\", \"\"]], inputs: { selected: \"selected\", name: \"name\", size: \"size\", skeleton: \"skeleton\", label: \"label\", row: \"row\", selectionLabelColumn: \"selectionLabelColumn\" }, outputs: { change: \"change\" }, attrs: _c24, decls: 1, vars: 1, consts: [[\"inline\", \"true\", 3, \"name\", \"aria-label\", \"size\", \"checked\", \"disabled\", \"change\", 4, \"ngIf\"], [\"inline\", \"true\", 3, \"name\", \"aria-label\", \"size\", \"checked\", \"disabled\", \"change\"]], template: function TableCheckbox_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵtemplate(0, TableCheckbox_ibm_checkbox_0_Template, 3, 10, \"ibm-checkbox\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.skeleton);\n    } }, dependencies: [ɵngcc2.NgIf, ɵngcc6.Checkbox, ɵngcc2.AsyncPipe, ɵngcc1.ReplacePipe], encapsulation: 2 });\n/** @nocollapse */\nTableCheckbox.ctorParameters = () => [\n    { type: I18n }\n];\nTableCheckbox.propDecorators = {\n    row: [{ type: Input }],\n    selected: [{ type: Input }],\n    name: [{ type: Input }],\n    size: [{ type: Input }],\n    label: [{ type: Input }],\n    selectionLabelColumn: [{ type: Input }],\n    skeleton: [{ type: Input }],\n    change: [{ type: Output }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(TableCheckbox, [{\n        type: Component,\n        args: [{\n                // tslint:disable-next-line: component-selector\n                selector: \"[ibmTableCheckbox]\",\n                template: `\n\t\t<ibm-checkbox\n\t\t\t*ngIf=\"!skeleton\"\n\t\t\tinline=\"true\"\n\t\t\t[name]=\"name\"\n\t\t\t[aria-label]=\"getLabel() | i18nReplace:getSelectionLabelValue(row) | async\"\n\t\t\t[size]=\"(size !== 'sm' ? 'md' : 'sm')\"\n\t\t\t[checked]=\"selected\"\n\t\t\t[disabled]=\"disabled\"\n\t\t\t(change)=\"change.emit()\">\n\t\t</ibm-checkbox>\n\t`\n            }]\n    }], function () { return [{ type: ɵngcc1.I18n }]; }, { selected: [{\n            type: Input\n        }], name: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }], skeleton: [{\n            type: Input\n        }], change: [{\n            type: Output\n        }], label: [{\n            type: Input\n        }], row: [{\n            type: Input\n        }], selectionLabelColumn: [{\n            type: Input\n        }] }); })();\n\nclass TableRadio {\n    constructor(i18n) {\n        this.i18n = i18n;\n        this.selected = false;\n        this.skeleton = false;\n        /**\n         * Emits if a single row is selected.\n         */\n        this.change = new EventEmitter();\n        this._label = this.i18n.getOverridable(\"TABLE.CHECKBOX_ROW\");\n    }\n    set label(value) {\n        this._label.override(value);\n    }\n    get label() {\n        return this._label.value;\n    }\n    getSelectionLabelValue(row) {\n        if (!this.selectionLabelColumn) {\n            return { value: this.i18n.get().TABLE.ROW };\n        }\n        return { value: row[this.selectionLabelColumn].data };\n    }\n    getLabel() {\n        return this._label.subject;\n    }\n}\nTableRadio.ɵfac = function TableRadio_Factory(t) { return new (t || TableRadio)(ɵngcc0.ɵɵdirectiveInject(ɵngcc1.I18n)); };\nTableRadio.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: TableRadio, selectors: [[\"\", \"ibmTableRadio\", \"\"]], inputs: { selected: \"selected\", skeleton: \"skeleton\", label: \"label\", row: \"row\", selectionLabelColumn: \"selectionLabelColumn\" }, outputs: { change: \"change\" }, attrs: _c25, decls: 1, vars: 1, consts: [[3, \"ariaLabel\", \"checked\", \"change\", 4, \"ngIf\"], [3, \"ariaLabel\", \"checked\", \"change\"]], template: function TableRadio_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵtemplate(0, TableRadio_ibm_radio_0_Template, 5, 13, \"ibm-radio\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.skeleton);\n    } }, dependencies: [ɵngcc2.NgIf, ɵngcc7.Radio, ɵngcc2.AsyncPipe, ɵngcc1.ReplacePipe], encapsulation: 2 });\n/** @nocollapse */\nTableRadio.ctorParameters = () => [\n    { type: I18n }\n];\nTableRadio.propDecorators = {\n    row: [{ type: Input }],\n    selected: [{ type: Input }],\n    label: [{ type: Input }],\n    selectionLabelColumn: [{ type: Input }],\n    skeleton: [{ type: Input }],\n    change: [{ type: Output }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(TableRadio, [{\n        type: Component,\n        args: [{\n                // tslint:disable-next-line: component-selector\n                selector: \"[ibmTableRadio]\",\n                template: `\n\t\t<ibm-radio\n\t\t\t*ngIf=\"!skeleton\"\n\t\t\t[attr.aria-label]=\"getLabel() | i18nReplace:getSelectionLabelValue(row) | async\"\n\t\t\t[ariaLabel]=\"getLabel() | i18nReplace:getSelectionLabelValue(row) | async\"\n\t\t\t[checked]=\"selected\"\n\t\t\t(change)=\"change.emit()\">\n\t\t</ibm-radio>\n\t`\n            }]\n    }], function () { return [{ type: ɵngcc1.I18n }]; }, { selected: [{\n            type: Input\n        }], skeleton: [{\n            type: Input\n        }], change: [{\n            type: Output\n        }], label: [{\n            type: Input\n        }], row: [{\n            type: Input\n        }], selectionLabelColumn: [{\n            type: Input\n        }] }); })();\n\nclass TableExpandButton {\n    constructor(i18n) {\n        this.i18n = i18n;\n        /**\n         * Set to true to indicate the row has expanded\n         */\n        this.expanded = false;\n        /**\n         * Set to true to indicate the row can be expanded.\n         * Defaults to false to allow for correct column alignment\n         */\n        this.expandable = false;\n        this.skeleton = false;\n        this.expandClass = true;\n        this.expandRow = new EventEmitter();\n        this._ariaLabel = this.i18n.getOverridable(\"TABLE.EXPAND_BUTTON\");\n    }\n    set ariaLabel(value) {\n        this._ariaLabel.override(value);\n    }\n    get ariaLabel() {\n        return this._ariaLabel.value;\n    }\n    get previousValue() {\n        return this.expanded ? \"collapsed\" : null;\n    }\n    getAriaLabel() {\n        return this._ariaLabel.subject;\n    }\n}\nTableExpandButton.ɵfac = function TableExpandButton_Factory(t) { return new (t || TableExpandButton)(ɵngcc0.ɵɵdirectiveInject(ɵngcc1.I18n)); };\nTableExpandButton.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: TableExpandButton, selectors: [[\"\", \"ibmTableExpandButton\", \"\"]], hostVars: 3, hostBindings: function TableExpandButton_HostBindings(rf, ctx) { if (rf & 2) {\n        ɵngcc0.ɵɵattribute(\"data-previous-value\", ctx.previousValue);\n        ɵngcc0.ɵɵclassProp(\"bx--table-expand\", ctx.expandClass);\n    } }, inputs: { expanded: \"expanded\", expandable: \"expandable\", skeleton: \"skeleton\", ariaLabel: \"ariaLabel\" }, outputs: { expandRow: \"expandRow\" }, attrs: _c26, decls: 1, vars: 1, consts: [[\"class\", \"bx--table-expand__button\", 3, \"click\", 4, \"ngIf\"], [1, \"bx--table-expand__button\", 3, \"click\"], [\"ibmIcon\", \"chevron--right\", \"size\", \"16\", 1, \"bx--table-expand__svg\"]], template: function TableExpandButton_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵtemplate(0, TableExpandButton_button_0_Template, 3, 3, \"button\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.expandable);\n    } }, dependencies: [ɵngcc2.NgIf, ɵngcc4.IconDirective, ɵngcc2.AsyncPipe], encapsulation: 2 });\n/** @nocollapse */\nTableExpandButton.ctorParameters = () => [\n    { type: I18n }\n];\nTableExpandButton.propDecorators = {\n    expanded: [{ type: Input }],\n    expandable: [{ type: Input }],\n    ariaLabel: [{ type: Input }],\n    skeleton: [{ type: Input }],\n    expandClass: [{ type: HostBinding, args: [\"class.bx--table-expand\",] }],\n    previousValue: [{ type: HostBinding, args: [\"attr.data-previous-value\",] }],\n    expandRow: [{ type: Output }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(TableExpandButton, [{\n        type: Component,\n        args: [{\n                // tslint:disable-next-line: component-selector\n                selector: \"[ibmTableExpandButton]\",\n                template: `\n\t\t<button\n\t\t\t*ngIf=\"expandable\"\n\t\t\tclass=\"bx--table-expand__button\"\n\t\t\t[attr.aria-label]=\"getAriaLabel() | async\"\n\t\t\t(click)=\"expandRow.emit()\">\n\t\t\t<svg ibmIcon=\"chevron--right\" size=\"16\" class=\"bx--table-expand__svg\"></svg>\n\t\t</button>\n\t`\n            }]\n    }], function () { return [{ type: ɵngcc1.I18n }]; }, { expanded: [{\n            type: Input\n        }], expandable: [{\n            type: Input\n        }], skeleton: [{\n            type: Input\n        }], expandClass: [{\n            type: HostBinding,\n            args: [\"class.bx--table-expand\"]\n        }], expandRow: [{\n            type: Output\n        }], ariaLabel: [{\n            type: Input\n        }], previousValue: [{\n            type: HostBinding,\n            args: [\"attr.data-previous-value\"]\n        }] }); })();\n\n/**\n * Represents a table row, which is essentially an array of TableItem.\n */\nclass TableRow extends Array {\n    constructor() {\n        super(...arguments);\n        /**\n         * Whether row is disabled or not.\n         */\n        this.disabled = false;\n    }\n}\n\n// modules\nclass TableModule {\n}\nTableModule.ɵfac = function TableModule_Factory(t) { return new (t || TableModule)(); };\nTableModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: TableModule });\nTableModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({ imports: [CommonModule,\n        NFormsModule,\n        FormsModule,\n        DialogModule,\n        ButtonModule,\n        SearchModule,\n        I18nModule,\n        IconModule] });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(TableModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    // toolbar and utility components\n                    TableToolbar,\n                    TableContainer,\n                    TableHeader,\n                    TableHeaderTitle,\n                    TableHeaderDescription,\n                    TableHeadCellLabel,\n                    TableToolbarActions,\n                    TableToolbarSearch,\n                    TableToolbarContent,\n                    ExpandedRowHover,\n                    // core table components\n                    Table,\n                    TableDirective,\n                    TableHead,\n                    TableHeadCell,\n                    TableHeadCheckbox,\n                    TableHeadExpand,\n                    TableBody,\n                    TableRowComponent,\n                    TableExpandedRow,\n                    TableData,\n                    TableCheckbox,\n                    TableRadio,\n                    TableExpandButton\n                ],\n                exports: [\n                    // toolbar and utility components\n                    TableToolbar,\n                    TableContainer,\n                    TableHeader,\n                    TableHeaderTitle,\n                    TableHeaderDescription,\n                    TableHeadCellLabel,\n                    TableToolbarActions,\n                    TableToolbarSearch,\n                    TableToolbarContent,\n                    ExpandedRowHover,\n                    // core table components\n                    Table,\n                    TableDirective,\n                    TableHead,\n                    TableHeadCell,\n                    TableHeadCheckbox,\n                    TableHeadExpand,\n                    TableBody,\n                    TableRowComponent,\n                    TableExpandedRow,\n                    TableData,\n                    TableCheckbox,\n                    TableRadio,\n                    TableExpandButton\n                ],\n                imports: [\n                    CommonModule,\n                    NFormsModule,\n                    FormsModule,\n                    DialogModule,\n                    ButtonModule,\n                    SearchModule,\n                    I18nModule,\n                    IconModule\n                ]\n            }]\n    }], null, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(TableModule, { declarations: function () { return [TableToolbar, TableContainer, TableHeader, TableHeaderTitle, TableHeaderDescription, TableHeadCellLabel, TableToolbarActions, TableToolbarSearch, TableToolbarContent, ExpandedRowHover, Table, TableDirective, TableHead, TableHeadCell, TableHeadCheckbox, TableHeadExpand, TableBody, TableRowComponent, TableExpandedRow, TableData, TableCheckbox, TableRadio, TableExpandButton]; }, imports: function () { return [CommonModule,\n        NFormsModule,\n        FormsModule,\n        DialogModule,\n        ButtonModule,\n        SearchModule,\n        I18nModule,\n        IconModule]; }, exports: function () { return [TableToolbar, TableContainer, TableHeader, TableHeaderTitle, TableHeaderDescription, TableHeadCellLabel, TableToolbarActions, TableToolbarSearch, TableToolbarContent, ExpandedRowHover, Table, TableDirective, TableHead, TableHeadCell, TableHeadCheckbox, TableHeadExpand, TableBody, TableRowComponent, TableExpandedRow, TableData, TableCheckbox, TableRadio, TableExpandButton]; } }); })();\n\n// table utilities/toolbar imports\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { TableToolbar, TableToolbarActions, TableToolbarSearch, TableToolbarContent, TableContainer, TableHeader, TableHeaderTitle, TableHeadCellLabel, TableHeaderDescription, ExpandedRowHover, Table, TableDirective, TableHead, TableHeadCell, TableHeadCheckbox, TableHeadExpand, TableBody, TableRowComponent, TableExpandedRow, TableData, TableCheckbox, TableRadio, TableExpandButton, TableModel, TableItem, TableHeaderItem, TableCellAdapter, TableRowAdapter, TableAdapter, TableDomAdapter, DataGridInteractionModel, TableModule, TableRow };\n\n","/**\n *\n * carbon-angular v0.0.0 | carbon-components-angular-tabs.js\n *\n * Copyright 2014, 2023 IBM\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\nimport { Subscription } from 'rxjs';\nimport { Component, Input, Output, EventEmitter, TemplateRef, HostBinding, ViewChild, ElementRef, HostListener, ContentChildren, ChangeDetectorRef, ViewChildren, ContentChild, NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { EventService, UtilsModule } from 'carbon-components-angular/utils';\nimport { I18n, I18nModule } from 'carbon-components-angular/i18n';\n\nimport * as ɵngcc0 from '@angular/core';\nimport * as ɵngcc1 from '@angular/common';\nimport * as ɵngcc2 from 'carbon-components-angular/utils';\nimport * as ɵngcc3 from 'carbon-components-angular/i18n';\n\nconst _c0 = function (a0) { return { \"display\": a0 }; };\nfunction Tab_div_0_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"div\", 1);\n    ɵngcc0.ɵɵprojection(1);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r0 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵproperty(\"ngStyle\", ɵngcc0.ɵɵpureFunction1(3, _c0, ctx_r0.active ? null : \"none\"));\n    ɵngcc0.ɵɵattribute(\"tabindex\", ctx_r0.tabIndex)(\"aria-labelledby\", ctx_r0.id + \"-header\");\n} }\nconst _c1 = [\"*\"];\nconst _c2 = [\"tabItem\"];\nconst _c3 = function (a0, a1) { return { \"bx--tabs__nav-item--selected bx--tabs--scrollable__nav-item--selected\": a0, \"bx--tabs__nav-item--disabled bx--tabs--scrollable__nav-item--disabled\": a1 }; };\nconst _c4 = [\"tabList\"];\nconst _c5 = [\"rightOverflowNavButton\"];\nconst _c6 = [\"leftOverflowNavButton\"];\nfunction TabHeaderGroup_div_5_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵnamespaceHTML();\n    ɵngcc0.ɵɵelement(0, \"div\", 13);\n} }\nfunction TabHeaderGroup_ng_container_9_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainer(0, 14);\n} if (rf & 2) {\n    const ctx_r3 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r3.contentBefore);\n} }\nfunction TabHeaderGroup_ng_container_12_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainer(0, 14);\n} if (rf & 2) {\n    const ctx_r4 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r4.contentAfter);\n} }\nfunction TabHeaderGroup_div_13_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelement(0, \"div\", 15);\n} }\nconst _c7 = function (a0, a1) { return { \"bx--skeleton\": a0, \"bx--tabs--container bx--tabs--scrollable--container\": a1 }; };\nconst _c8 = function (a0, a1) { return { \"bx--tab--overflow-nav-button\": a0, \"bx--tab--overflow-nav-button--hidden\": a1 }; };\nconst _c9 = [\"tabsScrollable\"];\nfunction TabHeaders_div_6_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵnamespaceHTML();\n    ɵngcc0.ɵɵelement(0, \"div\", 15);\n} }\nfunction TabHeaders_ng_container_10_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainer(0, 16);\n} if (rf & 2) {\n    const ctx_r4 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r4.contentBefore);\n} }\nfunction TabHeaders_li_11_ng_container_3_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainerStart(0);\n    ɵngcc0.ɵɵtext(1);\n    ɵngcc0.ɵɵelementContainerEnd();\n} if (rf & 2) {\n    const tab_r9 = ɵngcc0.ɵɵnextContext().$implicit;\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate1(\" \", tab_r9.heading, \" \");\n} }\nfunction TabHeaders_li_11_4_ng_template_0_Template(rf, ctx) { }\nconst _c10 = function (a0) { return { $implicit: a0 }; };\nfunction TabHeaders_li_11_4_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵtemplate(0, TabHeaders_li_11_4_ng_template_0_Template, 0, 0, \"ng-template\", 21);\n} if (rf & 2) {\n    const tab_r9 = ɵngcc0.ɵɵnextContext().$implicit;\n    ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", tab_r9.heading)(\"ngTemplateOutletContext\", ɵngcc0.ɵɵpureFunction1(2, _c10, tab_r9.context));\n} }\nfunction TabHeaders_li_11_Template(rf, ctx) { if (rf & 1) {\n    const _r18 = ɵngcc0.ɵɵgetCurrentView();\n    ɵngcc0.ɵɵelementStart(0, \"li\", 17);\n    ɵngcc0.ɵɵlistener(\"click\", function TabHeaders_li_11_Template_li_click_0_listener() { const restoredCtx = ɵngcc0.ɵɵrestoreView(_r18); const tab_r9 = restoredCtx.$implicit; const i_r10 = restoredCtx.index; const _r11 = ɵngcc0.ɵɵreference(2); const ctx_r17 = ɵngcc0.ɵɵnextContext(); return ɵngcc0.ɵɵresetView(ctx_r17.selectTab(_r11, tab_r9, i_r10)); });\n    ɵngcc0.ɵɵelementStart(1, \"button\", 18, 19);\n    ɵngcc0.ɵɵlistener(\"focus\", function TabHeaders_li_11_Template_button_focus_1_listener() { const restoredCtx = ɵngcc0.ɵɵrestoreView(_r18); const i_r10 = restoredCtx.index; const _r11 = ɵngcc0.ɵɵreference(2); const ctx_r19 = ɵngcc0.ɵɵnextContext(); return ɵngcc0.ɵɵresetView(ctx_r19.onTabFocus(_r11, i_r10)); })(\"click\", function TabHeaders_li_11_Template_button_click_1_listener($event) { return $event.preventDefault(); });\n    ɵngcc0.ɵɵtemplate(3, TabHeaders_li_11_ng_container_3_Template, 2, 1, \"ng-container\", 20);\n    ɵngcc0.ɵɵtemplate(4, TabHeaders_li_11_4_Template, 1, 4, null, 20);\n    ɵngcc0.ɵɵelementEnd()();\n} if (rf & 2) {\n    const tab_r9 = ctx.$implicit;\n    ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction2(9, _c3, tab_r9.active, tab_r9.disabled));\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵpropertyInterpolate1(\"id\", \"\", tab_r9.id, \"-header\");\n    ɵngcc0.ɵɵproperty(\"title\", tab_r9.title ? tab_r9.title : tab_r9.heading);\n    ɵngcc0.ɵɵattribute(\"aria-selected\", tab_r9.active)(\"tabindex\", tab_r9.active ? 0 : -1)(\"aria-controls\", tab_r9.id)(\"aria-disabled\", tab_r9.disabled);\n    ɵngcc0.ɵɵadvance(2);\n    ɵngcc0.ɵɵproperty(\"ngIf\", !tab_r9.headingIsTemplate);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", tab_r9.headingIsTemplate);\n} }\nfunction TabHeaders_ng_container_13_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainer(0, 16);\n} if (rf & 2) {\n    const ctx_r6 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r6.contentAfter);\n} }\nfunction TabHeaders_div_14_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelement(0, \"div\", 22);\n} }\nfunction Tabs_ibm_tab_headers_0_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelement(0, \"ibm-tab-headers\", 4);\n} if (rf & 2) {\n    const ctx_r0 = ɵngcc0.ɵɵnextContext();\n    const _r1 = ɵngcc0.ɵɵreference(3);\n    const _r3 = ɵngcc0.ɵɵreference(5);\n    ɵngcc0.ɵɵproperty(\"skeleton\", ctx_r0.skeleton)(\"tabs\", ctx_r0.tabs)(\"followFocus\", ctx_r0.followFocus)(\"cacheActive\", ctx_r0.cacheActive)(\"contentBefore\", _r1)(\"contentAfter\", _r3)(\"ariaLabel\", ctx_r0.ariaLabel)(\"ariaLabelledby\", ctx_r0.ariaLabelledby)(\"type\", ctx_r0.type);\n} }\nfunction Tabs_ng_template_2_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵprojection(0, 1);\n} }\nfunction Tabs_ng_template_4_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵprojection(0, 2);\n} }\nfunction Tabs_ibm_tab_headers_6_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelement(0, \"ibm-tab-headers\", 5);\n} if (rf & 2) {\n    const ctx_r5 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵproperty(\"skeleton\", ctx_r5.skeleton)(\"tabs\", ctx_r5.tabs)(\"cacheActive\", ctx_r5.cacheActive)(\"type\", ctx_r5.type);\n} }\nconst _c11 = [\"*\", [[\"\", \"before\", \"\"]], [[\"\", \"after\", \"\"]]];\nconst _c12 = [\"*\", \"[before]\", \"[after]\"];\nlet nextId = 0;\n/**\n* The `Tab` component is a child of the `Tabs` component.\n* It represents one `Tab` item and its content within a panel of other `Tab` items.\n*\n*\n* `Tab` takes a string or `TemplateRef` for the header, and any content for the body of the tab.\n* Disabled states should be handled by the application (ie. switch to the tab, but display some\n* indication as to _why_ the tab is disabled).\n*\n* When the tab is selected the `select` output will be triggered.\n* The `select` output will also be triggered for the active tab when the tabs are loaded or updated.\n*\n*\n* Tab with string header:\n*\n* ```html\n* <ibm-tab heading='tab1'>\n* \ttab 1 content\n* </ibm-tab>\n* ```\n*\n* Tab with custom header:\n*\n* ```html\n* <ng-template #tabHeading>\n* \t<svg ibmIcon=\"facebook\"\n* \t\tsize=\"sm\"\n* \t\tstyle=\"margin-right: 7px;\">\n* \t</svg>\n* \tHello Tab 1\n* </ng-template>\n* <ibm-tabs>\n* \t<ibm-tab [heading]=\"tabHeading\">\n* \t\tTab 1 content <svg ibmIcon=\"alert\" size=\"lg\"></svg>\n* \t</ibm-tab>\n* \t<ibm-tab heading='Tab2'>\n* \t\tTab 2 content\n* \t</ibm-tab>\n* \t<ibm-tab heading='Tab3'>\n* \t\tTab 3 content\n* \t</ibm-tab>\n* </ibm-tabs>\n* ```\n*/\nclass Tab {\n    constructor() {\n        /**\n         * Boolean value reflects if the `Tab` is using a custom template for the heading.\n         * Default value is false.\n         */\n        this.headingIsTemplate = false;\n        /**\n         * Indicates whether the `Tab` is active/selected.\n         * Determines whether it's `TabPanel` is rendered.\n         */\n        this.active = false;\n        /**\n         * Indicates whether or not the `Tab` item is disabled.\n         */\n        this.disabled = false;\n        this.tabIndex = 0;\n        // do we need id's?\n        /**\n         * Sets the id of the `Tab`. Will be uniquely generated if not provided.\n         */\n        this.id = `n-tab-${nextId++}`;\n        /**\n         * Value 'selected' to be emitted after a new `Tab` is selected.\n         */\n        this.selected = new EventEmitter();\n        /**\n         * Used to set the id property on the element.\n         */\n        this.attrClass = this.id;\n        this._cacheActive = false;\n    }\n    /**\n     * Set to true to have Tab items cached and not reloaded on tab switching.\n     */\n    set cacheActive(shouldCache) {\n        this._cacheActive = shouldCache;\n    }\n    get cacheActive() {\n        return this._cacheActive;\n    }\n    /**\n     * Checks for custom heading template on initialization and updates the value\n     * of the boolean 'headingIsTemplate'.\n     */\n    ngOnInit() {\n        if (this.heading instanceof TemplateRef) {\n            this.headingIsTemplate = true;\n        }\n    }\n    /**\n     * Emit the status of the `Tab`, specifically 'select' and 'selected' properties.\n     */\n    doSelect() {\n        this.selected.emit();\n    }\n    /**\n    * Returns value indicating whether this `Tab` should be rendered in a `TabPanel`.\n    */\n    shouldRender() {\n        return this.active || this.cacheActive;\n    }\n}\nTab.ɵfac = function Tab_Factory(t) { return new (t || Tab)(); };\nTab.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: Tab, selectors: [[\"ibm-tab\"]], hostVars: 1, hostBindings: function Tab_HostBindings(rf, ctx) { if (rf & 2) {\n        ɵngcc0.ɵɵattribute(\"id\", ctx.attrClass);\n    } }, inputs: { active: \"active\", disabled: \"disabled\", tabIndex: \"tabIndex\", id: \"id\", cacheActive: \"cacheActive\", heading: \"heading\", title: \"title\", context: \"context\" }, outputs: { selected: \"selected\" }, ngContentSelectors: _c1, decls: 1, vars: 1, consts: [[\"role\", \"tabpanel\", \"class\", \"bx--tab-content\", \"aria-live\", \"polite\", 3, \"ngStyle\", 4, \"ngIf\"], [\"role\", \"tabpanel\", \"aria-live\", \"polite\", 1, \"bx--tab-content\", 3, \"ngStyle\"]], template: function Tab_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵprojectionDef();\n        ɵngcc0.ɵɵtemplate(0, Tab_div_0_Template, 2, 5, \"div\", 0);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.shouldRender());\n    } }, dependencies: [ɵngcc1.NgIf, ɵngcc1.NgStyle], encapsulation: 2 });\nTab.propDecorators = {\n    heading: [{ type: Input }],\n    title: [{ type: Input }],\n    context: [{ type: Input }],\n    active: [{ type: Input }],\n    disabled: [{ type: Input }],\n    tabIndex: [{ type: Input }],\n    id: [{ type: Input }],\n    cacheActive: [{ type: Input }],\n    selected: [{ type: Output }],\n    attrClass: [{ type: HostBinding, args: [\"attr.id\",] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(Tab, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-tab\",\n                template: `\n\t\t<div\n\t\t\t[attr.tabindex]=\"tabIndex\"\n\t\t\trole=\"tabpanel\"\n\t\t\t*ngIf=\"shouldRender()\"\n\t\t\tclass=\"bx--tab-content\"\n\t\t\t[ngStyle]=\"{'display': active ? null : 'none'}\"\n\t\t\t[attr.aria-labelledby]=\"id + '-header'\"\n\t\t\taria-live=\"polite\">\n\t\t\t<ng-content></ng-content>\n\t\t</div>\n\t`\n            }]\n    }], function () { return []; }, { active: [{\n            type: Input\n        }], disabled: [{\n            type: Input\n        }], tabIndex: [{\n            type: Input\n        }], id: [{\n            type: Input\n        }], selected: [{\n            type: Output\n        }], attrClass: [{\n            type: HostBinding,\n            args: [\"attr.id\"]\n        }], cacheActive: [{\n            type: Input\n        }], heading: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], context: [{\n            type: Input\n        }] }); })();\n\nclass TabHeader {\n    constructor() {\n        /**\n         * Indicates whether the `Tab` is active/selected.\n         * Determines whether it's `TabPanel` is rendered.\n         */\n        this.active = false;\n        /**\n         * Indicates whether or not the `Tab` item is disabled.\n         */\n        this.disabled = false;\n        /**\n         * Value 'selected' to be emitted after a new `Tab` is selected.\n         */\n        this.selected = new EventEmitter();\n        this._cacheActive = false;\n    }\n    /**\n     * Set to 'true' to have pane reference cached and not reloaded on tab switching.\n     */\n    set cacheActive(shouldCache) {\n        this._cacheActive = shouldCache;\n        // Updates the pane references associated with the tab header when cache active is changed.\n        if (this.paneReference) {\n            this.paneReference.cacheActive = this.cacheActive;\n        }\n    }\n    set paneTabIndex(tabIndex) {\n        if (this.paneReference) {\n            this.paneReference.tabIndex = tabIndex;\n        }\n    }\n    get cacheActive() {\n        return this._cacheActive;\n    }\n    ngAfterViewInit() {\n        setTimeout(() => {\n            this.title = this.title ? this.title : this.tabItem.nativeElement.textContent;\n        });\n    }\n    selectTab() {\n        this.tabItem.nativeElement.focus();\n        if (!this.disabled) {\n            this.selected.emit();\n            this.active = true;\n            if (this.paneReference) {\n                this.paneReference.active = true;\n            }\n        }\n    }\n}\nTabHeader.ɵfac = function TabHeader_Factory(t) { return new (t || TabHeader)(); };\nTabHeader.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: TabHeader, selectors: [[\"ibm-tab-header\"]], viewQuery: function TabHeader_Query(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵviewQuery(_c2, 7);\n    } if (rf & 2) {\n        let _t;\n        ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.tabItem = _t.first);\n    } }, inputs: { active: \"active\", disabled: \"disabled\", cacheActive: \"cacheActive\", paneTabIndex: \"paneTabIndex\", title: \"title\", paneReference: \"paneReference\" }, outputs: { selected: \"selected\" }, ngContentSelectors: _c1, decls: 4, vars: 7, consts: [[\"role\", \"presentation\", 1, \"bx--tabs--scrollable__nav-item\", 3, \"ngClass\", \"click\"], [\"draggable\", \"false\", \"href\", \"javascript:void(0)\", \"role\", \"tab\", 1, \"bx--tabs--scrollable__nav-link\", 3, \"title\"], [\"tabItem\", \"\"]], template: function TabHeader_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵprojectionDef();\n        ɵngcc0.ɵɵelementStart(0, \"li\", 0);\n        ɵngcc0.ɵɵlistener(\"click\", function TabHeader_Template_li_click_0_listener() { return ctx.selectTab(); });\n        ɵngcc0.ɵɵelementStart(1, \"button\", 1, 2);\n        ɵngcc0.ɵɵprojection(3);\n        ɵngcc0.ɵɵelementEnd()();\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction2(4, _c3, ctx.active, ctx.disabled));\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"title\", ctx.title);\n        ɵngcc0.ɵɵattribute(\"aria-selected\", ctx.active)(\"tabindex\", ctx.active ? 0 : -1);\n    } }, dependencies: [ɵngcc1.NgClass], encapsulation: 2 });\nTabHeader.propDecorators = {\n    active: [{ type: Input }],\n    disabled: [{ type: Input }],\n    paneReference: [{ type: Input }],\n    title: [{ type: Input }],\n    cacheActive: [{ type: Input }],\n    paneTabIndex: [{ type: Input }],\n    selected: [{ type: Output }],\n    tabItem: [{ type: ViewChild, args: [\"tabItem\", { static: true },] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(TabHeader, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-tab-header\",\n                template: `\n\t\t<li\n\t\t\t[ngClass]=\"{\n\t\t\t\t'bx--tabs__nav-item--selected bx--tabs--scrollable__nav-item--selected': active,\n\t\t\t\t'bx--tabs__nav-item--disabled bx--tabs--scrollable__nav-item--disabled': disabled\n\t\t\t}\"\n\t\t\tclass=\"bx--tabs--scrollable__nav-item\"\n\t\t\trole=\"presentation\"\n\t\t\t(click)=\"selectTab()\">\n\t\t\t<button\n\t\t\t\t#tabItem\n\t\t\t\t[attr.aria-selected]=\"active\"\n\t\t\t\tdraggable=\"false\"\n\t\t\t\tclass=\"bx--tabs--scrollable__nav-link\"\n\t\t\t\thref=\"javascript:void(0)\"\n\t\t\t\t[title]=\"title\"\n\t\t\t\t[attr.tabindex]=\"(active? 0 : -1)\"\n\t\t\t\trole=\"tab\">\n\t\t\t\t<ng-content></ng-content>\n\t\t\t</button>\n\t\t</li>\n\t`\n            }]\n    }], function () { return []; }, { active: [{\n            type: Input\n        }], disabled: [{\n            type: Input\n        }], selected: [{\n            type: Output\n        }], cacheActive: [{\n            type: Input\n        }], paneTabIndex: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], paneReference: [{\n            type: Input\n        }], tabItem: [{\n            type: ViewChild,\n            args: [\"tabItem\", { static: true }]\n        }] }); })();\n\nclass TabHeaderGroup {\n    constructor(elementRef, changeDetectorRef, eventService) {\n        this.elementRef = elementRef;\n        this.changeDetectorRef = changeDetectorRef;\n        this.eventService = eventService;\n        /**\n         * Set to `true` to put tabs in a loading state.\n         */\n        this.skeleton = false;\n        /**\n         * Set to 'true' to have all pane references associated with each tab header\n         * in the tab header group cached and not reloaded on tab switching.\n         */\n        this.cacheActive = false;\n        this.isNavigation = false;\n        this.type = \"default\";\n        /**\n         * Keeps track of all the subscriptions to the tab header selection events.\n         */\n        this.selectedSubscriptionTracker = new Subscription();\n        /**\n         * Controls the manual focusing done by tabbing through headings.\n         */\n        this.currentSelectedIndex = 0;\n        // width of the overflow buttons\n        this.OVERFLOW_BUTTON_OFFSET = 40;\n        this._cacheActive = false;\n    }\n    get hasHorizontalOverflow() {\n        const tabList = this.headerContainer.nativeElement;\n        return tabList.scrollWidth > tabList.clientWidth;\n    }\n    get leftOverflowNavButtonHidden() {\n        const tabList = this.headerContainer.nativeElement;\n        return !this.hasHorizontalOverflow || !tabList.scrollLeft;\n    }\n    get rightOverflowNavButtonHidden() {\n        const tabList = this.headerContainer.nativeElement;\n        return !this.hasHorizontalOverflow ||\n            (tabList.scrollLeft + tabList.clientWidth) === tabList.scrollWidth;\n    }\n    // keyboard accessibility\n    /**\n     * Controls the keydown events used for tabbing through the headings.\n     */\n    keyboardInput(event) {\n        let tabHeadersArray = Array.from(this.tabHeaderQuery);\n        if (event.key === \"Right\" || event.key === \"ArrowRight\") {\n            if (this.currentSelectedIndex < tabHeadersArray.length - 1) {\n                event.preventDefault();\n                if (this.followFocus && !tabHeadersArray[this.currentSelectedIndex + 1].disabled) {\n                    tabHeadersArray[this.currentSelectedIndex + 1].selectTab();\n                }\n                else {\n                    tabHeadersArray[this.currentSelectedIndex + 1].tabItem.nativeElement.focus();\n                    this.currentSelectedIndex++;\n                }\n            }\n            else {\n                event.preventDefault();\n                if (this.followFocus && !tabHeadersArray[0].disabled) {\n                    tabHeadersArray[0].selectTab();\n                }\n                else {\n                    tabHeadersArray[0].tabItem.nativeElement.focus();\n                    this.currentSelectedIndex = 0;\n                }\n            }\n        }\n        if (event.key === \"Left\" || event.key === \"ArrowLeft\") {\n            if (this.currentSelectedIndex > 0) {\n                event.preventDefault();\n                if (this.followFocus && !tabHeadersArray[this.currentSelectedIndex - 1].disabled) {\n                    tabHeadersArray[this.currentSelectedIndex - 1].selectTab();\n                }\n                else {\n                    tabHeadersArray[this.currentSelectedIndex - 1].tabItem.nativeElement.focus();\n                    this.currentSelectedIndex--;\n                }\n            }\n            else {\n                event.preventDefault();\n                if (this.followFocus && !tabHeadersArray[tabHeadersArray.length - 1].disabled) {\n                    tabHeadersArray[tabHeadersArray.length - 1].selectTab();\n                }\n                else {\n                    tabHeadersArray[tabHeadersArray.length - 1].tabItem.nativeElement.focus();\n                    this.currentSelectedIndex = tabHeadersArray.length - 1;\n                }\n            }\n        }\n        if (event.key === \"Home\") {\n            event.preventDefault();\n            if (this.followFocus && !tabHeadersArray[0].disabled) {\n                tabHeadersArray[0].selectTab();\n            }\n            else {\n                tabHeadersArray[0].tabItem.nativeElement.focus();\n                this.currentSelectedIndex = 0;\n            }\n        }\n        if (event.key === \"End\") {\n            event.preventDefault();\n            if (this.followFocus && !tabHeadersArray[tabHeadersArray.length - 1].disabled) {\n                tabHeadersArray[tabHeadersArray.length - 1].selectTab();\n            }\n            else {\n                tabHeadersArray[tabHeadersArray.length - 1].tabItem.nativeElement.focus();\n                this.currentSelectedIndex = tabHeadersArray.length - 1;\n            }\n        }\n        // `\"Spacebar\"` is IE11 specific value\n        if ((event.key === \" \" || event.key === \"Spacebar\") && !this.followFocus) {\n            tabHeadersArray[this.currentSelectedIndex].selectTab();\n        }\n    }\n    ngOnInit() {\n        this.eventService.on(window, \"resize\", () => this.handleScroll());\n    }\n    ngAfterContentInit() {\n        this.selectedSubscriptionTracker.unsubscribe();\n        if (this.tabHeaderQuery) {\n            this.tabHeaderQuery.toArray()\n                .forEach(tabHeader => {\n                tabHeader.cacheActive = this.cacheActive;\n                tabHeader.paneTabIndex = this.isNavigation ? null : 0;\n            });\n        }\n        const selectedSubscriptions = this.tabHeaderQuery.toArray().forEach(tabHeader => {\n            tabHeader.selected.subscribe(() => {\n                this.currentSelectedIndex = this.tabHeaderQuery.toArray().indexOf(tabHeader);\n                // The Filter takes the current selected tab out, then all other headers are\n                // deactivated and their associated pane references are also deactivated.\n                this.tabHeaderQuery.toArray().filter(header => header !== tabHeader)\n                    .forEach(filteredHeader => {\n                    filteredHeader.active = false;\n                    if (filteredHeader.paneReference) {\n                        filteredHeader.paneReference.active = false;\n                    }\n                });\n            });\n        });\n        this.selectedSubscriptionTracker.add(selectedSubscriptions);\n        setTimeout(() => this.tabHeaderQuery.toArray()[this.currentSelectedIndex].selectTab());\n    }\n    ngOnChanges(changes) {\n        if (this.tabHeaderQuery) {\n            if (changes.cacheActive) {\n                this.tabHeaderQuery.toArray().forEach(tabHeader => tabHeader.cacheActive = this.cacheActive);\n            }\n            if (changes.isNavigation) {\n                this.tabHeaderQuery.toArray()\n                    .forEach(tabHeader => tabHeader.paneTabIndex = this.isNavigation ? null : 0);\n            }\n        }\n    }\n    getSelectedTab() {\n        const selected = this.tabHeaderQuery.toArray()[this.currentSelectedIndex];\n        if (selected) {\n            return selected;\n        }\n        return {\n            headingIsTemplate: false,\n            heading: \"\"\n        };\n    }\n    handleScroll() {\n        this.changeDetectorRef.markForCheck();\n    }\n    handleOverflowNavClick(direction, multiplier = 15) {\n        const tabList = this.headerContainer.nativeElement;\n        const { clientWidth, scrollLeft, scrollWidth } = tabList;\n        if (direction === 1 && !scrollLeft) {\n            tabList.scrollLeft += this.OVERFLOW_BUTTON_OFFSET;\n        }\n        tabList.scrollLeft += direction * multiplier;\n        const leftEdgeReached = direction === -1 && scrollLeft < this.OVERFLOW_BUTTON_OFFSET;\n        const rightEdgeReached = direction === 1 &&\n            scrollLeft + clientWidth >= scrollWidth - this.OVERFLOW_BUTTON_OFFSET;\n        if (leftEdgeReached) {\n            this.rightOverflowNavButton.nativeElement.focus();\n        }\n        if (rightEdgeReached) {\n            this.leftOverflowNavButton.nativeElement.focus();\n        }\n    }\n    handleOverflowNavMouseDown(direction) {\n        const tabList = this.headerContainer.nativeElement;\n        this.overflowNavInterval = setInterval(() => {\n            const { clientWidth, scrollLeft, scrollWidth } = tabList;\n            // clear interval if scroll reaches left or right edge\n            const leftEdgeReached = direction === -1 && scrollLeft < this.OVERFLOW_BUTTON_OFFSET;\n            const rightEdgeReached = direction === 1 &&\n                scrollLeft + clientWidth >= scrollWidth - this.OVERFLOW_BUTTON_OFFSET;\n            if (leftEdgeReached || rightEdgeReached) {\n                clearInterval(this.overflowNavInterval);\n            }\n            // account for overflow button appearing and causing tablist width change\n            this.handleOverflowNavClick(direction);\n        });\n    }\n    handleOverflowNavMouseUp() {\n        clearInterval(this.overflowNavInterval);\n    }\n}\nTabHeaderGroup.ɵfac = function TabHeaderGroup_Factory(t) { return new (t || TabHeaderGroup)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef), ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ChangeDetectorRef), ɵngcc0.ɵɵdirectiveInject(ɵngcc2.EventService)); };\nTabHeaderGroup.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: TabHeaderGroup, selectors: [[\"ibm-tab-header-group\"]], contentQueries: function TabHeaderGroup_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {\n        ɵngcc0.ɵɵcontentQuery(dirIndex, TabHeader, 4);\n    } if (rf & 2) {\n        let _t;\n        ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.tabHeaderQuery = _t);\n    } }, viewQuery: function TabHeaderGroup_Query(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵviewQuery(_c4, 7);\n        ɵngcc0.ɵɵviewQuery(_c5, 7);\n        ɵngcc0.ɵɵviewQuery(_c6, 7);\n    } if (rf & 2) {\n        let _t;\n        ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.headerContainer = _t.first);\n        ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.rightOverflowNavButton = _t.first);\n        ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.leftOverflowNavButton = _t.first);\n    } }, hostBindings: function TabHeaderGroup_HostBindings(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵlistener(\"keydown\", function TabHeaderGroup_keydown_HostBindingHandler($event) { return ctx.keyboardInput($event); });\n    } }, inputs: { skeleton: \"skeleton\", cacheActive: \"cacheActive\", isNavigation: \"isNavigation\", type: \"type\", followFocus: \"followFocus\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", contentAfter: \"contentAfter\", contentBefore: \"contentBefore\" }, features: [ɵngcc0.ɵɵNgOnChangesFeature], ngContentSelectors: _c1, decls: 18, vars: 18, consts: [[\"role\", \"navigation\", 1, \"bx--tabs\", \"bx--tabs--scrollable\", 3, \"ngClass\"], [\"type\", \"button\", 3, \"ngClass\", \"click\", \"mousedown\", \"mouseup\"], [\"leftOverflowNavButton\", \"\"], [\"focusable\", \"false\", \"preserveAspectRatio\", \"xMidYMid meet\", \"xmlns\", \"http://www.w3.org/2000/svg\", \"fill\", \"currentColor\", \"width\", \"16\", \"height\", \"16\", \"viewBox\", \"0 0 16 16\", \"aria-hidden\", \"true\"], [\"d\", \"M5 8L10 3 10.7 3.7 6.4 8 10.7 12.3 10 13z\"], [\"class\", \"bx--tabs__overflow-indicator--left\", 4, \"ngIf\"], [\"role\", \"tablist\", 1, \"bx--tabs--scrollable__nav\", 3, \"scroll\"], [\"tabList\", \"\"], [\"role\", \"presentation\"], [3, \"ngTemplateOutlet\", 4, \"ngIf\"], [\"class\", \"bx--tabs__overflow-indicator--right\", 4, \"ngIf\"], [\"rightOverflowNavButton\", \"\"], [\"d\", \"M11 8L6 13 5.3 12.3 9.6 8 5.3 3.7 6 3z\"], [1, \"bx--tabs__overflow-indicator--left\"], [3, \"ngTemplateOutlet\"], [1, \"bx--tabs__overflow-indicator--right\"]], template: function TabHeaderGroup_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵprojectionDef();\n        ɵngcc0.ɵɵelementStart(0, \"nav\", 0)(1, \"button\", 1, 2);\n        ɵngcc0.ɵɵlistener(\"click\", function TabHeaderGroup_Template_button_click_1_listener() { return ctx.handleOverflowNavClick(-1); })(\"mousedown\", function TabHeaderGroup_Template_button_mousedown_1_listener() { return ctx.handleOverflowNavMouseDown(-1); })(\"mouseup\", function TabHeaderGroup_Template_button_mouseup_1_listener() { return ctx.handleOverflowNavMouseUp(); });\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelementStart(3, \"svg\", 3);\n        ɵngcc0.ɵɵelement(4, \"path\", 4);\n        ɵngcc0.ɵɵelementEnd()();\n        ɵngcc0.ɵɵtemplate(5, TabHeaderGroup_div_5_Template, 1, 0, \"div\", 5);\n        ɵngcc0.ɵɵnamespaceHTML();\n        ɵngcc0.ɵɵelementStart(6, \"ul\", 6, 7);\n        ɵngcc0.ɵɵlistener(\"scroll\", function TabHeaderGroup_Template_ul_scroll_6_listener() { return ctx.handleScroll(); });\n        ɵngcc0.ɵɵelementStart(8, \"li\", 8);\n        ɵngcc0.ɵɵtemplate(9, TabHeaderGroup_ng_container_9_Template, 1, 1, \"ng-container\", 9);\n        ɵngcc0.ɵɵelementEnd();\n        ɵngcc0.ɵɵprojection(10);\n        ɵngcc0.ɵɵelementStart(11, \"li\", 8);\n        ɵngcc0.ɵɵtemplate(12, TabHeaderGroup_ng_container_12_Template, 1, 1, \"ng-container\", 9);\n        ɵngcc0.ɵɵelementEnd()();\n        ɵngcc0.ɵɵtemplate(13, TabHeaderGroup_div_13_Template, 1, 0, \"div\", 10);\n        ɵngcc0.ɵɵelementStart(14, \"button\", 1, 11);\n        ɵngcc0.ɵɵlistener(\"click\", function TabHeaderGroup_Template_button_click_14_listener() { return ctx.handleOverflowNavClick(1); })(\"mousedown\", function TabHeaderGroup_Template_button_mousedown_14_listener() { return ctx.handleOverflowNavMouseDown(1); })(\"mouseup\", function TabHeaderGroup_Template_button_mouseup_14_listener() { return ctx.handleOverflowNavMouseUp(); });\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelementStart(16, \"svg\", 3);\n        ɵngcc0.ɵɵelement(17, \"path\", 12);\n        ɵngcc0.ɵɵelementEnd()()();\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction2(9, _c7, ctx.skeleton, ctx.type === \"container\"));\n        ɵngcc0.ɵɵattribute(\"aria-label\", ctx.ariaLabel)(\"aria-labelledby\", ctx.ariaLabelledby);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction2(12, _c8, ctx.hasHorizontalOverflow, ctx.leftOverflowNavButtonHidden));\n        ɵngcc0.ɵɵadvance(4);\n        ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.leftOverflowNavButtonHidden);\n        ɵngcc0.ɵɵadvance(4);\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.contentBefore);\n        ɵngcc0.ɵɵadvance(3);\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.contentAfter);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.rightOverflowNavButtonHidden);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction2(15, _c8, ctx.hasHorizontalOverflow, ctx.rightOverflowNavButtonHidden));\n    } }, dependencies: [ɵngcc1.NgClass, ɵngcc1.NgIf, ɵngcc1.NgTemplateOutlet], encapsulation: 2 });\n/** @nocollapse */\nTabHeaderGroup.ctorParameters = () => [\n    { type: ElementRef },\n    { type: ChangeDetectorRef },\n    { type: EventService }\n];\nTabHeaderGroup.propDecorators = {\n    followFocus: [{ type: Input }],\n    skeleton: [{ type: Input }],\n    ariaLabel: [{ type: Input }],\n    ariaLabelledby: [{ type: Input }],\n    contentAfter: [{ type: Input }],\n    contentBefore: [{ type: Input }],\n    cacheActive: [{ type: Input }],\n    isNavigation: [{ type: Input }],\n    type: [{ type: Input }],\n    tabHeaderQuery: [{ type: ContentChildren, args: [TabHeader,] }],\n    headerContainer: [{ type: ViewChild, args: [\"tabList\", { static: true },] }],\n    rightOverflowNavButton: [{ type: ViewChild, args: [\"rightOverflowNavButton\", { static: true },] }],\n    leftOverflowNavButton: [{ type: ViewChild, args: [\"leftOverflowNavButton\", { static: true },] }],\n    keyboardInput: [{ type: HostListener, args: [\"keydown\", [\"$event\"],] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(TabHeaderGroup, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-tab-header-group\",\n                template: `\n\t<nav\n\t\tclass=\"bx--tabs bx--tabs--scrollable\"\n\t\t[ngClass]=\"{\n\t\t\t'bx--skeleton': skeleton,\n\t\t\t'bx--tabs--container bx--tabs--scrollable--container': type === 'container'\n\t\t}\"\n\t\trole=\"navigation\"\n\t\t[attr.aria-label]=\"ariaLabel\"\n\t\t[attr.aria-labelledby]=\"ariaLabelledby\">\n\t\t<button\n\t\t\t#leftOverflowNavButton\n\t\t\ttype=\"button\"\n\t\t\t[ngClass]=\"{\n\t\t\t\t'bx--tab--overflow-nav-button': hasHorizontalOverflow,\n\t\t\t\t'bx--tab--overflow-nav-button--hidden': leftOverflowNavButtonHidden\n\t\t\t}\"\n\t\t\t(click)=\"handleOverflowNavClick(-1)\"\n\t\t\t(mousedown)=\"handleOverflowNavMouseDown(-1)\"\n\t\t\t(mouseup)=\"handleOverflowNavMouseUp()\">\n\t\t\t<svg\n\t\t\t\tfocusable=\"false\"\n\t\t\t\tpreserveAspectRatio=\"xMidYMid meet\"\n\t\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\t\tfill=\"currentColor\"\n\t\t\t\twidth=\"16\"\n\t\t\t\theight=\"16\"\n\t\t\t\tviewBox=\"0 0 16 16\"\n\t\t\t\taria-hidden=\"true\">\n\t\t\t\t<path d=\"M5 8L10 3 10.7 3.7 6.4 8 10.7 12.3 10 13z\"></path>\n\t\t\t</svg>\n\t\t</button>\n\t\t<div *ngIf=\"!leftOverflowNavButtonHidden\" class=\"bx--tabs__overflow-indicator--left\"></div>\n\t\t<ul\n\t\t\t#tabList\n\t\t\tclass=\"bx--tabs--scrollable__nav\"\n\t\t\trole=\"tablist\"\n\t\t\t(scroll)=\"handleScroll()\">\n\t\t\t<li role=\"presentation\">\n\t\t\t\t<ng-container *ngIf=\"contentBefore\" [ngTemplateOutlet]=\"contentBefore\"></ng-container>\n\t\t\t</li>\n\t\t\t<ng-content></ng-content>\n\t\t\t<li role=\"presentation\">\n\t\t\t\t<ng-container *ngIf=\"contentAfter\" [ngTemplateOutlet]=\"contentAfter\"></ng-container>\n\t\t\t</li>\n\t\t</ul>\n\t\t<div *ngIf=\"!rightOverflowNavButtonHidden\" class=\"bx--tabs__overflow-indicator--right\"></div>\n\t\t<button\n\t\t\t#rightOverflowNavButton\n\t\t\ttype=\"button\"\n\t\t\t[ngClass]=\"{\n\t\t\t\t'bx--tab--overflow-nav-button': hasHorizontalOverflow,\n\t\t\t\t'bx--tab--overflow-nav-button--hidden': rightOverflowNavButtonHidden\n\t\t\t}\"\n\t\t\t(click)=\"handleOverflowNavClick(1)\"\n\t\t\t(mousedown)=\"handleOverflowNavMouseDown(1)\"\n\t\t\t(mouseup)=\"handleOverflowNavMouseUp()\">\n\t\t\t<svg\n\t\t\t\tfocusable=\"false\"\n\t\t\t\tpreserveAspectRatio=\"xMidYMid meet\"\n\t\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\t\tfill=\"currentColor\"\n\t\t\t\twidth=\"16\"\n\t\t\t\theight=\"16\"\n\t\t\t\tviewBox=\"0 0 16 16\"\n\t\t\t\taria-hidden=\"true\">\n\t\t\t\t<path d=\"M11 8L6 13 5.3 12.3 9.6 8 5.3 3.7 6 3z\"></path>\n\t\t\t</svg>\n\t\t</button>\n\t</nav>\n\t`\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }, { type: ɵngcc0.ChangeDetectorRef }, { type: ɵngcc2.EventService }]; }, { skeleton: [{\n            type: Input\n        }], cacheActive: [{\n            type: Input\n        }], isNavigation: [{\n            type: Input\n        }], type: [{\n            type: Input\n        }], \n    // keyboard accessibility\n    /**\n     * Controls the keydown events used for tabbing through the headings.\n     */\n    keyboardInput: [{\n            type: HostListener,\n            args: [\"keydown\", [\"$event\"]]\n        }], followFocus: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], contentAfter: [{\n            type: Input\n        }], contentBefore: [{\n            type: Input\n        }], tabHeaderQuery: [{\n            type: ContentChildren,\n            args: [TabHeader]\n        }], headerContainer: [{\n            type: ViewChild,\n            args: [\"tabList\", { static: true }]\n        }], rightOverflowNavButton: [{\n            type: ViewChild,\n            args: [\"rightOverflowNavButton\", { static: true }]\n        }], leftOverflowNavButton: [{\n            type: ViewChild,\n            args: [\"leftOverflowNavButton\", { static: true }]\n        }] }); })();\n\n/**\n * The `TabHeaders` component contains the `Tab` items and controls scroll functionality\n * if content has overflow.\n */\nclass TabHeaders {\n    constructor(elementRef, changeDetectorRef, i18n) {\n        this.elementRef = elementRef;\n        this.changeDetectorRef = changeDetectorRef;\n        this.i18n = i18n;\n        /**\n         * Set to 'true' to have `Tab` items cached and not reloaded on tab switching.\n         * Duplicate from `n-tabs` to support standalone headers\n         */\n        this.cacheActive = false;\n        /**\n         * Set to `true` to put tabs in a loading state.\n         */\n        this.skeleton = false;\n        this.type = \"default\";\n        this.translations = this.i18n.get().PAGINATION;\n        /**\n         * The index of the first visible tab.\n         */\n        this.firstVisibleTab = 0;\n        // width of the overflow buttons\n        this.OVERFLOW_BUTTON_OFFSET = 40;\n    }\n    get hasHorizontalOverflow() {\n        const scrollWidth = this.headerContainer.nativeElement.scrollWidth;\n        const availableWidth = this.tabsScrollable.nativeElement.clientWidth;\n        return scrollWidth > availableWidth;\n    }\n    get leftOverflowNavButtonHidden() {\n        const tabList = this.headerContainer.nativeElement;\n        return !this.hasHorizontalOverflow || !tabList.scrollLeft;\n    }\n    get rightOverflowNavButtonHidden() {\n        const tabList = this.headerContainer.nativeElement;\n        return !this.hasHorizontalOverflow ||\n            (tabList.scrollLeft + tabList.clientWidth) === tabList.scrollWidth;\n    }\n    // keyboard accessibility\n    /**\n     * Controls the keydown events used for tabbing through the headings.\n     */\n    keyboardInput(event) {\n        let tabsArray = Array.from(this.tabs);\n        // \"Right\" is an ie11 specific value\n        if (event.key === \"Right\" || event.key === \"ArrowRight\") {\n            if (this.currentSelectedTab < this.allTabHeaders.length - 1) {\n                event.preventDefault();\n                if (this.followFocus) {\n                    this.selectTab(event.target, tabsArray[this.currentSelectedTab + 1], this.currentSelectedTab);\n                }\n                this.allTabHeaders.toArray()[this.currentSelectedTab + 1].nativeElement.focus();\n            }\n            else {\n                event.preventDefault();\n                if (this.followFocus) {\n                    this.selectTab(event.target, tabsArray[0], 0);\n                }\n                this.allTabHeaders.first.nativeElement.focus();\n            }\n        }\n        // \"Left\" is an ie11 specific value\n        if (event.key === \"Left\" || event.key === \"ArrowLeft\") {\n            if (this.currentSelectedTab > 0) {\n                event.preventDefault();\n                if (this.followFocus) {\n                    this.selectTab(event.target, tabsArray[this.currentSelectedTab - 1], this.currentSelectedTab);\n                }\n                this.allTabHeaders.toArray()[this.currentSelectedTab - 1].nativeElement.focus();\n            }\n            else {\n                event.preventDefault();\n                if (this.followFocus) {\n                    this.selectTab(event.target, tabsArray[this.allTabHeaders.length - 1], this.allTabHeaders.length);\n                }\n                this.allTabHeaders.toArray()[this.allTabHeaders.length - 1].nativeElement.focus();\n            }\n        }\n        if (event.key === \"Home\") {\n            event.preventDefault();\n            if (this.followFocus) {\n                this.selectTab(event.target, tabsArray[0], 0);\n            }\n            this.allTabHeaders.toArray()[0].nativeElement.focus();\n        }\n        if (event.key === \"End\") {\n            event.preventDefault();\n            if (this.followFocus) {\n                this.selectTab(event.target, tabsArray[this.allTabHeaders.length - 1], this.allTabHeaders.length);\n            }\n            this.allTabHeaders.toArray()[this.allTabHeaders.length - 1].nativeElement.focus();\n        }\n        // `\"Spacebar\"` is IE11 specific value\n        if ((event.key === \" \" || event.key === \"Spacebar\") && !this.followFocus) {\n            this.selectTab(event.target, tabsArray[this.currentSelectedTab], this.currentSelectedTab);\n        }\n    }\n    ngOnInit() {\n        // Update scroll on resize\n        this.resizeObserver = new ResizeObserver(() => {\n            // Need to explicitly trigger change detection since this runs outside Angular zone\n            this.changeDetectorRef.detectChanges();\n        });\n        this.resizeObserver.observe(this.tabsScrollable.nativeElement);\n    }\n    ngOnDestroy() {\n        this.resizeObserver.unobserve(this.tabsScrollable.nativeElement);\n    }\n    ngAfterContentInit() {\n        if (!this.tabInput) {\n            this.tabs = this.tabQuery;\n        }\n        else {\n            this.tabs = this.tabInput;\n        }\n        this.tabs.forEach(tab => tab.cacheActive = this.cacheActive);\n        this.tabs.changes.subscribe(() => {\n            this.setFirstTab();\n        });\n        this.setFirstTab();\n    }\n    ngOnChanges(changes) {\n        if (this.tabs && changes.cacheActive) {\n            this.tabs.forEach(tab => tab.cacheActive = this.cacheActive);\n        }\n    }\n    /**\n     * Controls manually focusing tabs.\n     */\n    onTabFocus(ref, index) {\n        this.currentSelectedTab = index;\n        // reset scroll left because we're already handling it\n        this.headerContainer.nativeElement.parentElement.scrollLeft = 0;\n    }\n    getSelectedTab() {\n        const selected = this.tabs.find(tab => tab.active);\n        if (selected) {\n            return selected;\n        }\n        return { headingIsTemplate: false, heading: \"\" };\n    }\n    /**\n     * Selects `Tab` 'tab' and moves it into view on the view DOM if it is not already.\n     */\n    selectTab(ref, tab, tabIndex) {\n        if (tab.disabled) {\n            return;\n        }\n        this.currentSelectedTab = tabIndex;\n        this.tabs.forEach(_tab => _tab.active = false);\n        tab.active = true;\n        tab.doSelect();\n    }\n    handleScroll() {\n        this.changeDetectorRef.markForCheck();\n    }\n    handleOverflowNavClick(direction, multiplier = 15) {\n        const tabList = this.headerContainer.nativeElement;\n        const { clientWidth, scrollLeft, scrollWidth } = tabList;\n        if (direction === 1 && !scrollLeft) {\n            tabList.scrollLeft += this.OVERFLOW_BUTTON_OFFSET;\n        }\n        tabList.scrollLeft += direction * multiplier;\n        const leftEdgeReached = direction === -1 && scrollLeft < this.OVERFLOW_BUTTON_OFFSET;\n        const rightEdgeReached = direction === 1 &&\n            scrollLeft + clientWidth >= scrollWidth - this.OVERFLOW_BUTTON_OFFSET;\n        if (leftEdgeReached) {\n            this.rightOverflowNavButton.nativeElement.focus();\n        }\n        if (rightEdgeReached) {\n            this.leftOverflowNavButton.nativeElement.focus();\n        }\n    }\n    handleOverflowNavMouseDown(direction) {\n        const tabList = this.headerContainer.nativeElement;\n        this.overflowNavInterval = setInterval(() => {\n            const { clientWidth, scrollLeft, scrollWidth } = tabList;\n            // clear interval if scroll reaches left or right edge\n            const leftEdgeReached = direction === -1 && scrollLeft < this.OVERFLOW_BUTTON_OFFSET;\n            const rightEdgeReached = direction === 1 &&\n                scrollLeft + clientWidth >= scrollWidth - this.OVERFLOW_BUTTON_OFFSET;\n            if (leftEdgeReached || rightEdgeReached) {\n                clearInterval(this.overflowNavInterval);\n            }\n            // account for overflow button appearing and causing tablist width change\n            this.handleOverflowNavClick(direction);\n        });\n    }\n    handleOverflowNavMouseUp() {\n        clearInterval(this.overflowNavInterval);\n    }\n    /**\n     * Determines which `Tab` is initially selected.\n     */\n    setFirstTab() {\n        setTimeout(() => {\n            let firstTab = this.tabs.find(tab => tab.active);\n            if (!firstTab && this.tabs.first) {\n                firstTab = this.tabs.first;\n                firstTab.active = true;\n            }\n            if (firstTab) {\n                firstTab.doSelect();\n            }\n        });\n    }\n}\nTabHeaders.ɵfac = function TabHeaders_Factory(t) { return new (t || TabHeaders)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef), ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ChangeDetectorRef), ɵngcc0.ɵɵdirectiveInject(ɵngcc3.I18n)); };\nTabHeaders.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: TabHeaders, selectors: [[\"ibm-tab-headers\"]], contentQueries: function TabHeaders_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {\n        ɵngcc0.ɵɵcontentQuery(dirIndex, Tab, 4);\n    } if (rf & 2) {\n        let _t;\n        ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.tabQuery = _t);\n    } }, viewQuery: function TabHeaders_Query(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵviewQuery(_c9, 7);\n        ɵngcc0.ɵɵviewQuery(_c4, 7);\n        ɵngcc0.ɵɵviewQuery(_c5, 7);\n        ɵngcc0.ɵɵviewQuery(_c6, 7);\n        ɵngcc0.ɵɵviewQuery(_c2, 5);\n    } if (rf & 2) {\n        let _t;\n        ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.tabsScrollable = _t.first);\n        ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.headerContainer = _t.first);\n        ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.rightOverflowNavButton = _t.first);\n        ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.leftOverflowNavButton = _t.first);\n        ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.allTabHeaders = _t);\n    } }, hostBindings: function TabHeaders_HostBindings(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵlistener(\"keydown\", function TabHeaders_keydown_HostBindingHandler($event) { return ctx.keyboardInput($event); });\n    } }, inputs: { cacheActive: \"cacheActive\", skeleton: \"skeleton\", type: \"type\", translations: \"translations\", tabInput: [\"tabs\", \"tabInput\"], followFocus: \"followFocus\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\", contentBefore: \"contentBefore\", contentAfter: \"contentAfter\" }, features: [ɵngcc0.ɵɵNgOnChangesFeature], decls: 19, vars: 21, consts: [[\"role\", \"navigation\", 1, \"bx--tabs--scrollable\", 3, \"ngClass\"], [\"tabsScrollable\", \"\"], [\"type\", \"button\", 3, \"title\", \"ngClass\", \"click\", \"mousedown\", \"mouseup\"], [\"leftOverflowNavButton\", \"\"], [\"focusable\", \"false\", \"preserveAspectRatio\", \"xMidYMid meet\", \"xmlns\", \"http://www.w3.org/2000/svg\", \"fill\", \"currentColor\", \"width\", \"16\", \"height\", \"16\", \"viewBox\", \"0 0 16 16\", \"aria-hidden\", \"true\"], [\"d\", \"M5 8L10 3 10.7 3.7 6.4 8 10.7 12.3 10 13z\"], [\"class\", \"bx--tabs__overflow-indicator--left\", 4, \"ngIf\"], [\"role\", \"tablist\", 1, \"bx--tabs--scrollable__nav\", 3, \"scroll\"], [\"tabList\", \"\"], [\"role\", \"presentation\"], [3, \"ngTemplateOutlet\", 4, \"ngIf\"], [\"class\", \"bx--tabs--scrollable__nav-item\", \"role\", \"presentation\", 3, \"ngClass\", \"click\", 4, \"ngFor\", \"ngForOf\"], [\"class\", \"bx--tabs__overflow-indicator--right\", 4, \"ngIf\"], [\"rightOverflowNavButton\", \"\"], [\"d\", \"M11 8L6 13 5.3 12.3 9.6 8 5.3 3.7 6 3z\"], [1, \"bx--tabs__overflow-indicator--left\"], [3, \"ngTemplateOutlet\"], [\"role\", \"presentation\", 1, \"bx--tabs--scrollable__nav-item\", 3, \"ngClass\", \"click\"], [\"type\", \"button\", \"draggable\", \"false\", \"href\", \"#\", \"role\", \"tab\", 1, \"bx--tabs--scrollable__nav-link\", 3, \"id\", \"title\", \"focus\", \"click\"], [\"tabItem\", \"\"], [4, \"ngIf\"], [3, \"ngTemplateOutlet\", \"ngTemplateOutletContext\"], [1, \"bx--tabs__overflow-indicator--right\"]], template: function TabHeaders_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵelementStart(0, \"nav\", 0, 1)(2, \"button\", 2, 3);\n        ɵngcc0.ɵɵlistener(\"click\", function TabHeaders_Template_button_click_2_listener() { return ctx.handleOverflowNavClick(-1); })(\"mousedown\", function TabHeaders_Template_button_mousedown_2_listener() { return ctx.handleOverflowNavMouseDown(-1); })(\"mouseup\", function TabHeaders_Template_button_mouseup_2_listener() { return ctx.handleOverflowNavMouseUp(); });\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelementStart(4, \"svg\", 4);\n        ɵngcc0.ɵɵelement(5, \"path\", 5);\n        ɵngcc0.ɵɵelementEnd()();\n        ɵngcc0.ɵɵtemplate(6, TabHeaders_div_6_Template, 1, 0, \"div\", 6);\n        ɵngcc0.ɵɵnamespaceHTML();\n        ɵngcc0.ɵɵelementStart(7, \"ul\", 7, 8);\n        ɵngcc0.ɵɵlistener(\"scroll\", function TabHeaders_Template_ul_scroll_7_listener() { return ctx.handleScroll(); });\n        ɵngcc0.ɵɵelementStart(9, \"li\", 9);\n        ɵngcc0.ɵɵtemplate(10, TabHeaders_ng_container_10_Template, 1, 1, \"ng-container\", 10);\n        ɵngcc0.ɵɵelementEnd();\n        ɵngcc0.ɵɵtemplate(11, TabHeaders_li_11_Template, 5, 12, \"li\", 11);\n        ɵngcc0.ɵɵelementStart(12, \"li\", 9);\n        ɵngcc0.ɵɵtemplate(13, TabHeaders_ng_container_13_Template, 1, 1, \"ng-container\", 10);\n        ɵngcc0.ɵɵelementEnd()();\n        ɵngcc0.ɵɵtemplate(14, TabHeaders_div_14_Template, 1, 0, \"div\", 12);\n        ɵngcc0.ɵɵelementStart(15, \"button\", 2, 13);\n        ɵngcc0.ɵɵlistener(\"click\", function TabHeaders_Template_button_click_15_listener() { return ctx.handleOverflowNavClick(1); })(\"mousedown\", function TabHeaders_Template_button_mousedown_15_listener() { return ctx.handleOverflowNavMouseDown(1); })(\"mouseup\", function TabHeaders_Template_button_mouseup_15_listener() { return ctx.handleOverflowNavMouseUp(); });\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelementStart(17, \"svg\", 4);\n        ɵngcc0.ɵɵelement(18, \"path\", 14);\n        ɵngcc0.ɵɵelementEnd()()();\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction2(12, _c7, ctx.skeleton, ctx.type === \"container\"));\n        ɵngcc0.ɵɵattribute(\"aria-label\", ctx.ariaLabel)(\"aria-labelledby\", ctx.ariaLabelledby);\n        ɵngcc0.ɵɵadvance(2);\n        ɵngcc0.ɵɵproperty(\"title\", ctx.translations.PREVIOUS)(\"ngClass\", ɵngcc0.ɵɵpureFunction2(15, _c8, ctx.hasHorizontalOverflow, ctx.leftOverflowNavButtonHidden));\n        ɵngcc0.ɵɵadvance(4);\n        ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.leftOverflowNavButtonHidden);\n        ɵngcc0.ɵɵadvance(4);\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.contentBefore);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngForOf\", ctx.tabs);\n        ɵngcc0.ɵɵadvance(2);\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.contentAfter);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.rightOverflowNavButtonHidden);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"title\", ctx.translations.NEXT)(\"ngClass\", ɵngcc0.ɵɵpureFunction2(18, _c8, ctx.hasHorizontalOverflow, ctx.rightOverflowNavButtonHidden));\n    } }, dependencies: [ɵngcc1.NgClass, ɵngcc1.NgForOf, ɵngcc1.NgIf, ɵngcc1.NgTemplateOutlet], encapsulation: 2 });\n/** @nocollapse */\nTabHeaders.ctorParameters = () => [\n    { type: ElementRef },\n    { type: ChangeDetectorRef },\n    { type: I18n }\n];\nTabHeaders.propDecorators = {\n    tabInput: [{ type: Input, args: [\"tabs\",] }],\n    cacheActive: [{ type: Input }],\n    followFocus: [{ type: Input }],\n    skeleton: [{ type: Input }],\n    ariaLabel: [{ type: Input }],\n    ariaLabelledby: [{ type: Input }],\n    contentBefore: [{ type: Input }],\n    contentAfter: [{ type: Input }],\n    type: [{ type: Input }],\n    translations: [{ type: Input }],\n    tabsScrollable: [{ type: ViewChild, args: [\"tabsScrollable\", { static: true },] }],\n    headerContainer: [{ type: ViewChild, args: [\"tabList\", { static: true },] }],\n    rightOverflowNavButton: [{ type: ViewChild, args: [\"rightOverflowNavButton\", { static: true },] }],\n    leftOverflowNavButton: [{ type: ViewChild, args: [\"leftOverflowNavButton\", { static: true },] }],\n    tabQuery: [{ type: ContentChildren, args: [Tab,] }],\n    allTabHeaders: [{ type: ViewChildren, args: [\"tabItem\",] }],\n    keyboardInput: [{ type: HostListener, args: [\"keydown\", [\"$event\"],] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(TabHeaders, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-tab-headers\",\n                template: `\n\t\t<nav\n\t\t\tclass=\"bx--tabs--scrollable\"\n\t\t\t[ngClass]=\"{\n\t\t\t\t'bx--skeleton': skeleton,\n\t\t\t\t'bx--tabs--container bx--tabs--scrollable--container': type === 'container'\n\t\t\t}\"\n\t\t\trole=\"navigation\"\n\t\t\t[attr.aria-label]=\"ariaLabel\"\n\t\t\t[attr.aria-labelledby]=\"ariaLabelledby\"\n\t\t\t#tabsScrollable>\n\t\t\t<button\n\t\t\t\t#leftOverflowNavButton\n\t\t\t\ttype=\"button\"\n\t\t\t\t[title]=\"translations.PREVIOUS\"\n\t\t\t\t[ngClass]=\"{\n\t\t\t\t\t'bx--tab--overflow-nav-button': hasHorizontalOverflow,\n\t\t\t\t\t'bx--tab--overflow-nav-button--hidden': leftOverflowNavButtonHidden\n\t\t\t\t}\"\n\t\t\t\t(click)=\"handleOverflowNavClick(-1)\"\n\t\t\t\t(mousedown)=\"handleOverflowNavMouseDown(-1)\"\n\t\t\t\t(mouseup)=\"handleOverflowNavMouseUp()\">\n\t\t\t\t<svg\n\t\t\t\t\tfocusable=\"false\"\n\t\t\t\t\tpreserveAspectRatio=\"xMidYMid meet\"\n\t\t\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\t\t\tfill=\"currentColor\"\n\t\t\t\t\twidth=\"16\"\n\t\t\t\t\theight=\"16\"\n\t\t\t\t\tviewBox=\"0 0 16 16\"\n\t\t\t\t\taria-hidden=\"true\">\n\t\t\t\t\t<path d=\"M5 8L10 3 10.7 3.7 6.4 8 10.7 12.3 10 13z\"></path>\n\t\t\t\t</svg>\n\t\t\t</button>\n\t\t\t<div *ngIf=\"!leftOverflowNavButtonHidden\" class=\"bx--tabs__overflow-indicator--left\"></div>\n\t\t\t<ul\n\t\t\t\t#tabList\n\t\t\t\tclass=\"bx--tabs--scrollable__nav\"\n\t\t\t\trole=\"tablist\"\n\t\t\t\t(scroll)=\"handleScroll()\">\n\t\t\t\t<li role=\"presentation\">\n\t\t\t\t\t<ng-container *ngIf=\"contentBefore\" [ngTemplateOutlet]=\"contentBefore\"></ng-container>\n\t\t\t\t</li>\n\t\t\t\t<li\n\t\t\t\t\t*ngFor=\"let tab of tabs; let i = index;\"\n\t\t\t\t\t[ngClass]=\"{\n\t\t\t\t\t\t'bx--tabs__nav-item--selected bx--tabs--scrollable__nav-item--selected': tab.active,\n\t\t\t\t\t\t'bx--tabs__nav-item--disabled bx--tabs--scrollable__nav-item--disabled': tab.disabled\n\t\t\t\t\t}\"\n\t\t\t\t\tclass=\"bx--tabs--scrollable__nav-item\"\n\t\t\t\t\trole=\"presentation\"\n\t\t\t\t\t(click)=\"selectTab(tabItem, tab, i)\">\n\t\t\t\t\t<button\n\t\t\t\t\t\t#tabItem\n\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\t[attr.aria-selected]=\"tab.active\"\n\t\t\t\t\t\t[attr.tabindex]=\"(tab.active?0:-1)\"\n\t\t\t\t\t\t[attr.aria-controls]=\"tab.id\"\n\t\t\t\t\t\t[attr.aria-disabled]=\"tab.disabled\"\n\t\t\t\t\t\t(focus)=\"onTabFocus(tabItem, i)\"\n\t\t\t\t\t\t(click)=\"$event.preventDefault()\"\n\t\t\t\t\t\tdraggable=\"false\"\n\t\t\t\t\t\tid=\"{{tab.id}}-header\"\n\t\t\t\t\t\tclass=\"bx--tabs--scrollable__nav-link\"\n\t\t\t\t\t\t[title]=\"tab.title ? tab.title : tab.heading\"\n\t\t\t\t\t\thref=\"#\"\n\t\t\t\t\t\trole=\"tab\">\n\t\t\t\t\t\t<ng-container *ngIf=\"!tab.headingIsTemplate\">\n\t\t\t\t\t\t\t{{ tab.heading }}\n\t\t\t\t\t\t</ng-container>\n\t\t\t\t\t\t<ng-template\n\t\t\t\t\t\t\t*ngIf=\"tab.headingIsTemplate\"\n\t\t\t\t\t\t\t[ngTemplateOutlet]=\"tab.heading\"\n\t\t\t\t\t\t\t[ngTemplateOutletContext]=\"{$implicit: tab.context}\">\n\t\t\t\t\t\t</ng-template>\n\t\t\t\t\t</button>\n\t\t\t\t</li>\n\t\t\t\t<li role=\"presentation\">\n\t\t\t\t\t<ng-container *ngIf=\"contentAfter\" [ngTemplateOutlet]=\"contentAfter\"></ng-container>\n\t\t\t\t</li>\n\t\t\t</ul>\n\t\t\t<div *ngIf=\"!rightOverflowNavButtonHidden\" class=\"bx--tabs__overflow-indicator--right\"></div>\n\t\t\t<button\n\t\t\t\t#rightOverflowNavButton\n\t\t\t\ttype=\"button\"\n\t\t\t\t[title]=\"translations.NEXT\"\n\t\t\t\t[ngClass]=\"{\n\t\t\t\t\t'bx--tab--overflow-nav-button': hasHorizontalOverflow,\n\t\t\t\t\t'bx--tab--overflow-nav-button--hidden': rightOverflowNavButtonHidden\n\t\t\t\t}\"\n\t\t\t\t(click)=\"handleOverflowNavClick(1)\"\n\t\t\t\t(mousedown)=\"handleOverflowNavMouseDown(1)\"\n\t\t\t\t(mouseup)=\"handleOverflowNavMouseUp()\">\n\t\t\t\t<svg\n\t\t\t\t\tfocusable=\"false\"\n\t\t\t\t\tpreserveAspectRatio=\"xMidYMid meet\"\n\t\t\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\t\t\tfill=\"currentColor\"\n\t\t\t\t\twidth=\"16\"\n\t\t\t\t\theight=\"16\"\n\t\t\t\t\tviewBox=\"0 0 16 16\"\n\t\t\t\t\taria-hidden=\"true\">\n\t\t\t\t\t<path d=\"M11 8L6 13 5.3 12.3 9.6 8 5.3 3.7 6 3z\"></path>\n\t\t\t\t</svg>\n\t\t\t</button>\n\t\t</nav>\n\t`\n            }]\n    }], function () { return [{ type: ɵngcc0.ElementRef }, { type: ɵngcc0.ChangeDetectorRef }, { type: ɵngcc3.I18n }]; }, { cacheActive: [{\n            type: Input\n        }], skeleton: [{\n            type: Input\n        }], type: [{\n            type: Input\n        }], translations: [{\n            type: Input\n        }], \n    // keyboard accessibility\n    /**\n     * Controls the keydown events used for tabbing through the headings.\n     */\n    keyboardInput: [{\n            type: HostListener,\n            args: [\"keydown\", [\"$event\"]]\n        }], tabInput: [{\n            type: Input,\n            args: [\"tabs\"]\n        }], followFocus: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], contentBefore: [{\n            type: Input\n        }], contentAfter: [{\n            type: Input\n        }], tabsScrollable: [{\n            type: ViewChild,\n            args: [\"tabsScrollable\", { static: true }]\n        }], headerContainer: [{\n            type: ViewChild,\n            args: [\"tabList\", { static: true }]\n        }], rightOverflowNavButton: [{\n            type: ViewChild,\n            args: [\"rightOverflowNavButton\", { static: true }]\n        }], leftOverflowNavButton: [{\n            type: ViewChild,\n            args: [\"leftOverflowNavButton\", { static: true }]\n        }], tabQuery: [{\n            type: ContentChildren,\n            args: [Tab]\n        }], allTabHeaders: [{\n            type: ViewChildren,\n            args: [\"tabItem\"]\n        }] }); })();\n\n/**\n * Build out your application's tabs using this component.\n * This is the parent of the `Tab` and `TabHeader` components.\n *\n * [See demo](../../?path=/story/components-tabs--basic)\n *\n * `Tabs` expects a set of `n-tab` elements\n *\n * ```html\n * <ibm-tabs>\n * \t<ibm-tab heading='tab1'>\n * \t\ttab 1 content\n * \t</ibm-tab>\n * \t<ibm-tab heading='tab1'>\n * \t\ttab 2 content\n * \t</ibm-tab>\n * \t<!-- ... -->\n * \t<ibm-tab heading='tab1'>\n * \t\ttab n content\n * \t</ibm-tab>\n * </ibm-tabs>\n * ```\n *\n * <example-url>../../iframe.html?id=components-tabs--basic</example-url>\n */\nclass Tabs {\n    constructor() {\n        /**\n         * Takes either the string value 'top' or 'bottom' to place TabHeader\n         * relative to the `TabPanel`s.\n         */\n        this.position = \"top\";\n        /**\n         * Set to 'true' to have `Tab` items cached and not reloaded on tab switching.\n         */\n        this.cacheActive = false;\n        /**\n         * Set to 'true' to have tabs automatically activated and have their content displayed when they receive focus.\n         */\n        this.followFocus = true;\n        /**\n         * Set to `true` to put tabs in a loading state.\n         */\n        this.skeleton = false;\n        /**\n         * Set to `true` to have the tabIndex of the all tabpanels be -1.\n         */\n        this.isNavigation = false;\n        /**\n         * Sets the type of the `TabHeader`s\n         */\n        this.type = \"default\";\n    }\n    /**\n     * After content is initialized update `Tab`s to cache (if turned on) and set the initial\n     * selected Tab item.\n     */\n    ngAfterContentInit() {\n        if (this.tabHeaders) {\n            this.tabHeaders.cacheActive = this.cacheActive;\n        }\n        this.tabs.forEach(tab => {\n            tab.tabIndex = this.isNavigation ? null : 0;\n        });\n    }\n    ngOnChanges(changes) {\n        if (this.tabHeaders && changes.cacheActive) {\n            this.tabHeaders.cacheActive = this.cacheActive;\n        }\n        if (this.tabs && changes.isNavigation) {\n            this.tabs.forEach(tab => {\n                tab.tabIndex = this.isNavigation ? null : 0;\n            });\n        }\n    }\n    /**\n     * true if the n-tab's are passed directly to the component as children\n     */\n    hasTabHeaders() {\n        return this.tabs.length > 0;\n    }\n}\nTabs.ɵfac = function Tabs_Factory(t) { return new (t || Tabs)(); };\nTabs.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: Tabs, selectors: [[\"ibm-tabs\"]], contentQueries: function Tabs_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {\n        ɵngcc0.ɵɵcontentQuery(dirIndex, TabHeaders, 5);\n        ɵngcc0.ɵɵcontentQuery(dirIndex, Tab, 4);\n    } if (rf & 2) {\n        let _t;\n        ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.tabHeaders = _t.first);\n        ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.tabs = _t);\n    } }, inputs: { position: \"position\", cacheActive: \"cacheActive\", followFocus: \"followFocus\", skeleton: \"skeleton\", isNavigation: \"isNavigation\", type: \"type\", ariaLabel: \"ariaLabel\", ariaLabelledby: \"ariaLabelledby\" }, features: [ɵngcc0.ɵɵNgOnChangesFeature], ngContentSelectors: _c12, decls: 7, vars: 2, consts: [[3, \"skeleton\", \"tabs\", \"followFocus\", \"cacheActive\", \"contentBefore\", \"contentAfter\", \"ariaLabel\", \"ariaLabelledby\", \"type\", 4, \"ngIf\"], [\"before\", \"\"], [\"after\", \"\"], [3, \"skeleton\", \"tabs\", \"cacheActive\", \"type\", 4, \"ngIf\"], [3, \"skeleton\", \"tabs\", \"followFocus\", \"cacheActive\", \"contentBefore\", \"contentAfter\", \"ariaLabel\", \"ariaLabelledby\", \"type\"], [3, \"skeleton\", \"tabs\", \"cacheActive\", \"type\"]], template: function Tabs_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵprojectionDef(_c11);\n        ɵngcc0.ɵɵtemplate(0, Tabs_ibm_tab_headers_0_Template, 1, 9, \"ibm-tab-headers\", 0);\n        ɵngcc0.ɵɵprojection(1);\n        ɵngcc0.ɵɵtemplate(2, Tabs_ng_template_2_Template, 1, 0, \"ng-template\", null, 1, ɵngcc0.ɵɵtemplateRefExtractor);\n        ɵngcc0.ɵɵtemplate(4, Tabs_ng_template_4_Template, 1, 0, \"ng-template\", null, 2, ɵngcc0.ɵɵtemplateRefExtractor);\n        ɵngcc0.ɵɵtemplate(6, Tabs_ibm_tab_headers_6_Template, 1, 4, \"ibm-tab-headers\", 3);\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.hasTabHeaders() && ctx.position === \"top\");\n        ɵngcc0.ɵɵadvance(6);\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.hasTabHeaders() && ctx.position === \"bottom\");\n    } }, dependencies: [ɵngcc1.NgIf, TabHeaders], encapsulation: 2 });\nTabs.propDecorators = {\n    position: [{ type: Input }],\n    cacheActive: [{ type: Input }],\n    followFocus: [{ type: Input }],\n    skeleton: [{ type: Input }],\n    isNavigation: [{ type: Input }],\n    ariaLabel: [{ type: Input }],\n    ariaLabelledby: [{ type: Input }],\n    type: [{ type: Input }],\n    tabs: [{ type: ContentChildren, args: [Tab, { descendants: false },] }],\n    tabHeaders: [{ type: ContentChild, args: [TabHeaders, { static: false },] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(Tabs, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-tabs\",\n                template: `\n\t\t\t<ibm-tab-headers\n\t\t\t\t*ngIf=\"hasTabHeaders() && position === 'top'\"\n\t\t\t\t[skeleton]=\"skeleton\"\n\t\t\t\t[tabs]=\"tabs\"\n\t\t\t\t[followFocus]=\"followFocus\"\n\t\t\t\t[cacheActive]=\"cacheActive\"\n\t\t\t\t[contentBefore]=\"before\"\n\t\t\t\t[contentAfter]=\"after\"\n\t\t\t\t[ariaLabel]=\"ariaLabel\"\n\t\t\t\t[ariaLabelledby]=\"ariaLabelledby\"\n\t\t\t\t[type]=\"type\">\n\t\t\t</ibm-tab-headers>\n\t\t\t<ng-content></ng-content>\n\t\t\t<ng-template #before>\n\t\t\t\t<ng-content select=\"[before]\"></ng-content>\n\t\t\t</ng-template>\n\t\t\t<ng-template #after>\n\t\t\t\t<ng-content select=\"[after]\"></ng-content>\n\t\t\t</ng-template>\n\t\t\t<ibm-tab-headers\n\t\t\t\t*ngIf=\"hasTabHeaders() && position === 'bottom'\"\n\t\t\t\t[skeleton]=\"skeleton\"\n\t\t\t\t[tabs]=\"tabs\"\n\t\t\t\t[cacheActive]=\"cacheActive\"\n\t\t\t\t[type]=\"type\">\n\t\t\t</ibm-tab-headers>\n\t`\n            }]\n    }], function () { return []; }, { position: [{\n            type: Input\n        }], cacheActive: [{\n            type: Input\n        }], followFocus: [{\n            type: Input\n        }], skeleton: [{\n            type: Input\n        }], isNavigation: [{\n            type: Input\n        }], type: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }], ariaLabelledby: [{\n            type: Input\n        }], tabs: [{\n            type: ContentChildren,\n            args: [Tab, { descendants: false }]\n        }], tabHeaders: [{\n            type: ContentChild,\n            args: [TabHeaders, { static: false }]\n        }] }); })();\n\nclass TabsModule {\n}\nTabsModule.ɵfac = function TabsModule_Factory(t) { return new (t || TabsModule)(); };\nTabsModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: TabsModule });\nTabsModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({ imports: [CommonModule,\n        UtilsModule,\n        I18nModule] });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(TabsModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    Tabs,\n                    Tab,\n                    TabHeaders,\n                    TabHeader,\n                    TabHeaderGroup\n                ],\n                exports: [\n                    Tabs,\n                    Tab,\n                    TabHeaders,\n                    TabHeader,\n                    TabHeaderGroup\n                ],\n                imports: [\n                    CommonModule,\n                    UtilsModule,\n                    I18nModule\n                ]\n            }]\n    }], null, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(TabsModule, { declarations: function () { return [Tabs, Tab, TabHeaders, TabHeader, TabHeaderGroup]; }, imports: function () { return [CommonModule,\n        UtilsModule,\n        I18nModule]; }, exports: function () { return [Tabs, Tab, TabHeaders, TabHeader, TabHeaderGroup]; } }); })();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { TabHeaderGroup, TabHeader, TabHeaders, Tab, Tabs, TabsModule };\n\n","/**\n *\n * carbon-angular v0.0.0 | carbon-components-angular-tag.js\n *\n * Copyright 2014, 2023 IBM\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\nimport { Component, Input, HostBinding, Output, EventEmitter, NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { IconModule } from 'carbon-components-angular/icon';\n\n/**\n * Component that represents a tag for labelling/categorizing using keywords\n *\n * [See demo](../../?path=/story/components-tag--basic)\n *\n * <example-url>../../iframe.html?id=components-tag--basic</example-url>\n */\nimport * as ɵngcc0 from '@angular/core';\nimport * as ɵngcc1 from 'carbon-components-angular/icon';\n\nconst _c0 = [\"*\"];\nclass Tag {\n    constructor() {\n        /**\n         * Type of the tag determines the styling\n         */\n        this.type = \"gray\";\n        /**\n         * Tag render size\n         */\n        this.size = \"md\";\n        this.class = \"\";\n    }\n    get attrClass() {\n        return `bx--tag bx--tag--${this.type} ${this.size === \"md\" ? \"bx--tag--md\" : \"bx--tag--sm\"} ${this.class}`;\n    }\n}\nTag.ɵfac = function Tag_Factory(t) { return new (t || Tag)(); };\nTag.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: Tag, selectors: [[\"ibm-tag\"]], hostVars: 1, hostBindings: function Tag_HostBindings(rf, ctx) { if (rf & 2) {\n        ɵngcc0.ɵɵattribute(\"class\", ctx.attrClass);\n    } }, inputs: { type: \"type\", size: \"size\", class: \"class\" }, ngContentSelectors: _c0, decls: 1, vars: 0, template: function Tag_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵprojectionDef();\n        ɵngcc0.ɵɵprojection(0);\n    } }, encapsulation: 2 });\nTag.propDecorators = {\n    type: [{ type: Input }],\n    size: [{ type: Input }],\n    class: [{ type: Input }],\n    attrClass: [{ type: HostBinding, args: [\"attr.class\",] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(Tag, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-tag\",\n                template: `<ng-content></ng-content>`\n            }]\n    }], function () { return []; }, { type: [{\n            type: Input\n        }], size: [{\n            type: Input\n        }], class: [{\n            type: Input\n        }], attrClass: [{\n            type: HostBinding,\n            args: [\"attr.class\"]\n        }] }); })();\n\nclass TagFilter extends Tag {\n    constructor() {\n        super(...arguments);\n        this.closeButtonLabel = \"Clear Filter\";\n        /**\n         * Function for close/delete the tag\n         */\n        this.close = new EventEmitter();\n        /**\n         * We need to stop the immedate propagation of click on the close button\n         * to prevent undesired effects when used within dialogs.\n         *\n         * We need to emit a click event on close to allow for clicks to be listened\n         * to on the immediate close button element. `action` distinguishes between clicks on\n         * the tag vs. clicks on the close button.\n         */\n        this.click = new EventEmitter();\n    }\n    onClick(event) {\n        event.stopImmediatePropagation();\n        if (!this.disabled) {\n            this.click.emit({ action: \"click\" });\n        }\n    }\n    onClose(event) {\n        event.stopImmediatePropagation();\n        this.click.emit({ action: \"close\" });\n        this.close.emit();\n    }\n    get attrClass() {\n        return `bx--tag bx--tag--filter bx--tag--${this.type} ${this.class}${this.disabled ? \" bx--tag--disabled\" : \"\"}`;\n    }\n    get attrAriaLabel() {\n        return `${this.title || \"\"} ${this.closeButtonLabel}`.trim();\n    }\n}\nTagFilter.ɵfac = /*@__PURE__*/ function () { let ɵTagFilter_BaseFactory; return function TagFilter_Factory(t) { return (ɵTagFilter_BaseFactory || (ɵTagFilter_BaseFactory = ɵngcc0.ɵɵgetInheritedFactory(TagFilter)))(t || TagFilter); }; }();\nTagFilter.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: TagFilter, selectors: [[\"ibm-tag-filter\"]], hostVars: 2, hostBindings: function TagFilter_HostBindings(rf, ctx) { if (rf & 2) {\n        ɵngcc0.ɵɵattribute(\"class\", ctx.attrClass)(\"aria-label\", ctx.attrAriaLabel);\n    } }, inputs: { closeButtonLabel: \"closeButtonLabel\", disabled: \"disabled\", title: \"title\" }, outputs: { close: \"close\", click: \"click\" }, features: [ɵngcc0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0, decls: 6, vars: 4, consts: [[1, \"bx--tag__label\", 3, \"click\"], [1, \"bx--tag__close-icon\", 3, \"disabled\", \"title\", \"click\"], [1, \"bx--visually-hidden\"], [\"ibmIcon\", \"close\", \"size\", \"16\"]], template: function TagFilter_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵprojectionDef();\n        ɵngcc0.ɵɵelementStart(0, \"span\", 0);\n        ɵngcc0.ɵɵlistener(\"click\", function TagFilter_Template_span_click_0_listener($event) { return ctx.onClick($event); });\n        ɵngcc0.ɵɵprojection(1);\n        ɵngcc0.ɵɵelementEnd();\n        ɵngcc0.ɵɵelementStart(2, \"button\", 1);\n        ɵngcc0.ɵɵlistener(\"click\", function TagFilter_Template_button_click_2_listener($event) { return ctx.onClose($event); });\n        ɵngcc0.ɵɵelementStart(3, \"span\", 2);\n        ɵngcc0.ɵɵtext(4);\n        ɵngcc0.ɵɵelementEnd();\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelement(5, \"svg\", 3);\n        ɵngcc0.ɵɵelementEnd();\n    } if (rf & 2) {\n        ɵngcc0.ɵɵattribute(\"title\", ctx.title ? ctx.title : null);\n        ɵngcc0.ɵɵadvance(2);\n        ɵngcc0.ɵɵproperty(\"disabled\", ctx.disabled)(\"title\", ctx.closeButtonLabel);\n        ɵngcc0.ɵɵadvance(2);\n        ɵngcc0.ɵɵtextInterpolate(ctx.closeButtonLabel);\n    } }, dependencies: [ɵngcc1.IconDirective], encapsulation: 2 });\nTagFilter.propDecorators = {\n    closeButtonLabel: [{ type: Input }],\n    disabled: [{ type: Input }],\n    title: [{ type: Input }],\n    close: [{ type: Output }],\n    click: [{ type: Output }],\n    attrClass: [{ type: HostBinding, args: [\"attr.class\",] }],\n    attrAriaLabel: [{ type: HostBinding, args: [\"attr.aria-label\",] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(TagFilter, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-tag-filter\",\n                template: `\n\t\t<span\n\t\t\tclass=\"bx--tag__label\"\n\t\t\t[attr.title]=\"title ? title : null\"\n\t\t\t(click)=\"onClick($event)\">\n\t\t\t<ng-content></ng-content>\n\t\t</span>\n\t\t<button\n\t\t\tclass=\"bx--tag__close-icon\"\n\t\t\t(click)=\"onClose($event)\"\n\t\t\t[disabled]=\"disabled\"\n\t\t\t[title]=\"closeButtonLabel\">\n\t\t\t<span class=\"bx--visually-hidden\">{{closeButtonLabel}}</span>\n\t\t\t<svg ibmIcon=\"close\" size=\"16\"></svg>\n\t\t</button>\n\t`\n            }]\n    }], null, { closeButtonLabel: [{\n            type: Input\n        }], close: [{\n            type: Output\n        }], click: [{\n            type: Output\n        }], attrClass: [{\n            type: HostBinding,\n            args: [\"attr.class\"]\n        }], attrAriaLabel: [{\n            type: HostBinding,\n            args: [\"attr.aria-label\"]\n        }], disabled: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }] }); })();\n\nclass TagModule {\n}\nTagModule.ɵfac = function TagModule_Factory(t) { return new (t || TagModule)(); };\nTagModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: TagModule });\nTagModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({ imports: [CommonModule, IconModule] });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(TagModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [Tag, TagFilter],\n                exports: [Tag, TagFilter],\n                imports: [CommonModule, IconModule]\n            }]\n    }], null, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(TagModule, { declarations: function () { return [Tag, TagFilter]; }, imports: function () { return [CommonModule, IconModule]; }, exports: function () { return [Tag, TagFilter]; } }); })();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { TagFilter, Tag, TagModule };\n\n","/**\n *\n * carbon-angular v0.0.0 | carbon-components-angular-tiles.js\n *\n * Copyright 2014, 2023 IBM\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\nimport { Router } from '@angular/router';\nimport { merge } from 'carbon-components-angular/utils';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { Subject } from 'rxjs';\nimport { takeUntil } from 'rxjs/operators';\nimport { Component, Input, Output, EventEmitter, Optional, ElementRef, ViewChild, HostListener, HostBinding, ContentChildren, TemplateRef, NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { I18n, I18nModule } from 'carbon-components-angular/i18n';\nimport { LinkModule } from 'carbon-components-angular/link';\n\n/**\n * Build application's clickable tiles using this component.\n *\n * ## Basic usage\n *\n * ```html\n * <ibm-clickable-tile>\n * \t\ttile content\n * </ibm-clickable-tile>\n * ```\n */\nimport * as ɵngcc0 from '@angular/core';\nimport * as ɵngcc1 from '@angular/router';\nimport * as ɵngcc2 from '@angular/common';\nimport * as ɵngcc3 from 'carbon-components-angular/link';\nimport * as ɵngcc4 from 'carbon-components-angular/i18n';\n\nconst _c0 = function (a0, a1) { return { \"bx--tile--light\": a0, \"bx--tile--disabled bx--link--disabled\": a1 }; };\nconst _c1 = [\"*\"];\nfunction ExpandableTile__svg_svg_2_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵelementStart(0, \"svg\", 4);\n    ɵngcc0.ɵɵpipe(1, \"async\");\n    ɵngcc0.ɵɵelementStart(2, \"title\");\n    ɵngcc0.ɵɵtext(3);\n    ɵngcc0.ɵɵpipe(4, \"async\");\n    ɵngcc0.ɵɵelementEnd();\n    ɵngcc0.ɵɵelement(5, \"path\", 5);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r0 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵattribute(\"title\", ɵngcc0.ɵɵpipeBind1(1, 2, ctx_r0.expand.subject));\n    ɵngcc0.ɵɵadvance(3);\n    ɵngcc0.ɵɵtextInterpolate(ɵngcc0.ɵɵpipeBind1(4, 4, ctx_r0.expand.subject));\n} }\nfunction ExpandableTile__svg_svg_3_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵelementStart(0, \"svg\", 4);\n    ɵngcc0.ɵɵpipe(1, \"async\");\n    ɵngcc0.ɵɵelementStart(2, \"title\");\n    ɵngcc0.ɵɵtext(3);\n    ɵngcc0.ɵɵpipe(4, \"async\");\n    ɵngcc0.ɵɵelementEnd();\n    ɵngcc0.ɵɵelement(5, \"path\", 5);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r1 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵattribute(\"title\", ɵngcc0.ɵɵpipeBind1(1, 2, ctx_r1.collapse.subject));\n    ɵngcc0.ɵɵadvance(3);\n    ɵngcc0.ɵɵtextInterpolate(ɵngcc0.ɵɵpipeBind1(4, 4, ctx_r1.collapse.subject));\n} }\nconst _c2 = [[[\"\", 8, \"bx--tile-content__above-the-fold\"]], [[\"\", 8, \"bx--tile-content__below-the-fold\"]]];\nconst _c3 = function (a0, a1) { return { \"bx--tile--is-expanded\": a0, \"bx--tile--light\": a1 }; };\nconst _c4 = function (a0) { return { \"max-height\": a0 }; };\nconst _c5 = [\".bx--tile-content__above-the-fold\", \".bx--tile-content__below-the-fold\"];\nconst _c6 = [\"input\"];\nconst _c7 = function (a0, a1, a2) { return { \"bx--tile--is-selected\": a0, \"bx--tile--light\": a1, \"bx--tile--disabled\": a2 }; };\nfunction TileGroup_legend_1_1_ng_template_0_Template(rf, ctx) { }\nfunction TileGroup_legend_1_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵtemplate(0, TileGroup_legend_1_1_ng_template_0_Template, 0, 0, \"ng-template\", 4);\n} if (rf & 2) {\n    const ctx_r1 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r1.legend);\n} }\nfunction TileGroup_legend_1_ng_template_2_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵtext(0);\n} if (rf & 2) {\n    const ctx_r3 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵtextInterpolate(ctx_r3.legend);\n} }\nfunction TileGroup_legend_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"legend\", 1);\n    ɵngcc0.ɵɵtemplate(1, TileGroup_legend_1_1_Template, 1, 1, null, 2);\n    ɵngcc0.ɵɵtemplate(2, TileGroup_legend_1_ng_template_2_Template, 1, 1, \"ng-template\", null, 3, ɵngcc0.ɵɵtemplateRefExtractor);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const _r2 = ɵngcc0.ɵɵreference(3);\n    const ctx_r0 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r0.isTemplate(ctx_r0.legend))(\"ngIfElse\", _r2);\n} }\nconst _c8 = [[[\"ibm-selection-tile\"]]];\nconst _c9 = [\"ibm-selection-tile\"];\nclass ClickableTile {\n    constructor(router) {\n        this.router = router;\n        this.theme = \"dark\";\n        /**\n         * Sets the `href` attribute on the `ibm-clickable-tile` element.\n         */\n        this.href = \"#\";\n        /**\n         * Set to `true` to disable the clickable tile.\n         */\n        this.disabled = false;\n        /**\n         * Emits the navigation status promise when the link is activated\n         */\n        this.navigation = new EventEmitter();\n    }\n    navigate(event) {\n        if (this.router && this.route && !this.disabled) {\n            event.preventDefault();\n            const status = this.router.navigate(this.route, this.routeExtras);\n            this.navigation.emit(status);\n        }\n    }\n}\nClickableTile.ɵfac = function ClickableTile_Factory(t) { return new (t || ClickableTile)(ɵngcc0.ɵɵdirectiveInject(ɵngcc1.Router, 8)); };\nClickableTile.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: ClickableTile, selectors: [[\"ibm-clickable-tile\"]], inputs: { theme: \"theme\", href: \"href\", disabled: \"disabled\", target: \"target\", route: \"route\", routeExtras: \"routeExtras\" }, outputs: { navigation: \"navigation\" }, ngContentSelectors: _c1, decls: 2, vars: 7, consts: [[\"ibmLink\", \"\", \"tabindex\", \"0\", 1, \"bx--tile\", \"bx--tile--clickable\", 3, \"ngClass\", \"click\"]], template: function ClickableTile_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵprojectionDef();\n        ɵngcc0.ɵɵelementStart(0, \"a\", 0);\n        ɵngcc0.ɵɵlistener(\"click\", function ClickableTile_Template_a_click_0_listener($event) { return ctx.navigate($event); });\n        ɵngcc0.ɵɵprojection(1);\n        ɵngcc0.ɵɵelementEnd();\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction2(4, _c0, ctx.theme === \"light\", ctx.disabled));\n        ɵngcc0.ɵɵattribute(\"href\", ctx.disabled ? null : ctx.href, ɵngcc0.ɵɵsanitizeUrl)(\"target\", ctx.target)(\"aria-disabled\", ctx.disabled);\n    } }, dependencies: [ɵngcc2.NgClass, ɵngcc3.Link], encapsulation: 2 });\n/** @nocollapse */\nClickableTile.ctorParameters = () => [\n    { type: Router, decorators: [{ type: Optional }] }\n];\nClickableTile.propDecorators = {\n    theme: [{ type: Input }],\n    href: [{ type: Input }],\n    target: [{ type: Input }],\n    disabled: [{ type: Input }],\n    route: [{ type: Input }],\n    routeExtras: [{ type: Input }],\n    navigation: [{ type: Output }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ClickableTile, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-clickable-tile\",\n                template: `\n\t<a\n\t\tibmLink\n\t\tclass=\"bx--tile bx--tile--clickable\"\n\t\t[ngClass]=\"{\n\t\t\t'bx--tile--light': theme === 'light',\n\t\t\t'bx--tile--disabled bx--link--disabled' : disabled\n\t\t}\"\n\t\ttabindex=\"0\"\n\t\t(click)=\"navigate($event)\"\n\t\t[attr.href]=\"disabled ? null : href\"\n\t\t[attr.target]=\"target\"\n\t\t[attr.aria-disabled]=\"disabled\">\n\t\t<ng-content></ng-content>\n\t</a>`\n            }]\n    }], function () { return [{ type: ɵngcc1.Router, decorators: [{\n                type: Optional\n            }] }]; }, { theme: [{\n            type: Input\n        }], href: [{\n            type: Input\n        }], disabled: [{\n            type: Input\n        }], navigation: [{\n            type: Output\n        }], target: [{\n            type: Input\n        }], route: [{\n            type: Input\n        }], routeExtras: [{\n            type: Input\n        }] }); })();\n\nclass ExpandableTile {\n    constructor(i18n, elementRef) {\n        this.i18n = i18n;\n        this.elementRef = elementRef;\n        this.theme = \"dark\";\n        this.expanded = false;\n        this.tileMaxHeight = 0;\n        this.currentExpandedHeight = 0;\n        this.element = this.elementRef.nativeElement;\n        this.expand = this.i18n.getOverridable(\"TILES.EXPAND\");\n        this.collapse = this.i18n.getOverridable(\"TILES.COLLAPSE\");\n    }\n    /**\n     * Expects an object that contains some or all of:\n     * ```\n     * {\n     *\t\t\"EXPAND\": \"Expand\",\n     *\t\t\"COLLAPSE\": \"Collapse\",\n     * }\n     * ```\n     */\n    set translations(value) {\n        const valueWithDefaults = merge(this.i18n.getMultiple(\"TILES\"), value);\n        this.expand.override(valueWithDefaults.EXPAND);\n        this.collapse.override(valueWithDefaults.COLLAPSE);\n    }\n    ngAfterContentInit() {\n        this.updateMaxHeight();\n    }\n    get expandedHeight() {\n        const tile = this.element.querySelector(\".bx--tile\");\n        const tilePadding = parseInt(getComputedStyle(tile).paddingBottom, 10) + parseInt(getComputedStyle(tile).paddingTop, 10);\n        const expandedHeight = this.tileMaxHeight + tilePadding;\n        if (!isNaN(expandedHeight)) {\n            this.currentExpandedHeight = expandedHeight;\n        }\n        return this.currentExpandedHeight;\n    }\n    updateMaxHeight() {\n        if (this.expanded) {\n            this.tileMaxHeight = this.element.querySelector(\".bx--tile-content\").getBoundingClientRect().height;\n        }\n        else {\n            this.tileMaxHeight = this.element.querySelector(\".bx--tile-content__above-the-fold\").getBoundingClientRect().height;\n        }\n    }\n    onClick() {\n        this.expanded = !this.expanded;\n        this.updateMaxHeight();\n    }\n}\nExpandableTile.ɵfac = function ExpandableTile_Factory(t) { return new (t || ExpandableTile)(ɵngcc0.ɵɵdirectiveInject(ɵngcc4.I18n), ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nExpandableTile.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: ExpandableTile, selectors: [[\"ibm-expandable-tile\"]], inputs: { theme: \"theme\", expanded: \"expanded\", translations: \"translations\" }, ngContentSelectors: _c5, decls: 7, vars: 9, consts: [[\"type\", \"button\", 1, \"bx--tile\", \"bx--tile--expandable\", 3, \"ngClass\", \"ngStyle\", \"click\"], [1, \"bx--tile__chevron\"], [\"width\", \"12\", \"height\", \"7\", \"viewBox\", \"0 0 12 7\", \"role\", \"img\", 4, \"ngIf\"], [1, \"bx--tile-content\"], [\"width\", \"12\", \"height\", \"7\", \"viewBox\", \"0 0 12 7\", \"role\", \"img\"], [\"fill-rule\", \"nonzero\", \"d\", \"M6.002 5.55L11.27 0l.726.685L6.003 7 0 .685.726 0z\"]], template: function ExpandableTile_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵprojectionDef(_c2);\n        ɵngcc0.ɵɵelementStart(0, \"button\", 0);\n        ɵngcc0.ɵɵlistener(\"click\", function ExpandableTile_Template_button_click_0_listener() { return ctx.onClick(); });\n        ɵngcc0.ɵɵelementStart(1, \"div\", 1);\n        ɵngcc0.ɵɵtemplate(2, ExpandableTile__svg_svg_2_Template, 6, 6, \"svg\", 2);\n        ɵngcc0.ɵɵtemplate(3, ExpandableTile__svg_svg_3_Template, 6, 6, \"svg\", 2);\n        ɵngcc0.ɵɵelementEnd();\n        ɵngcc0.ɵɵelementStart(4, \"div\", 3);\n        ɵngcc0.ɵɵprojection(5);\n        ɵngcc0.ɵɵprojection(6, 1);\n        ɵngcc0.ɵɵelementEnd()();\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction2(4, _c3, ctx.expanded, ctx.theme === \"light\"))(\"ngStyle\", ɵngcc0.ɵɵpureFunction1(7, _c4, ctx.expandedHeight + \"px\"));\n        ɵngcc0.ɵɵadvance(2);\n        ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.expanded);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.expanded);\n    } }, dependencies: [ɵngcc2.NgClass, ɵngcc2.NgIf, ɵngcc2.NgStyle, ɵngcc2.AsyncPipe], encapsulation: 2 });\n/** @nocollapse */\nExpandableTile.ctorParameters = () => [\n    { type: I18n },\n    { type: ElementRef }\n];\nExpandableTile.propDecorators = {\n    theme: [{ type: Input }],\n    expanded: [{ type: Input }],\n    translations: [{ type: Input }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ExpandableTile, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-expandable-tile\",\n                template: `\n\t\t<button\n\t\t\tclass=\"bx--tile bx--tile--expandable\"\n\t\t\t[ngClass]=\"{\n\t\t\t\t'bx--tile--is-expanded' : expanded,\n\t\t\t\t'bx--tile--light': theme === 'light'\n\t\t\t}\"\n\t\t\t[ngStyle]=\"{'max-height': expandedHeight + 'px'}\"\n\t\t\ttype=\"button\"\n\t\t\t(click)=\"onClick()\">\n\t\t\t<div class=\"bx--tile__chevron\">\n\t\t\t\t<svg *ngIf=\"!expanded\" width=\"12\" height=\"7\" viewBox=\"0 0 12 7\" [attr.title]=\"expand.subject | async\" role=\"img\">\n\t\t\t\t\t<title>{{expand.subject | async}}</title>\n\t\t\t\t\t<path fill-rule=\"nonzero\" d=\"M6.002 5.55L11.27 0l.726.685L6.003 7 0 .685.726 0z\"/>\n\t\t\t\t</svg>\n\t\t\t\t<svg *ngIf=\"expanded\" width=\"12\" height=\"7\" viewBox=\"0 0 12 7\" [attr.title]=\"collapse.subject | async\" role=\"img\">\n\t\t\t\t\t<title>{{collapse.subject | async}}</title>\n\t\t\t\t\t<path fill-rule=\"nonzero\" d=\"M6.002 5.55L11.27 0l.726.685L6.003 7 0 .685.726 0z\"/>\n\t\t\t\t</svg>\n\t\t\t</div>\n\t\t\t<div class=\"bx--tile-content\">\n\t\t\t\t<ng-content select=\".bx--tile-content__above-the-fold\"></ng-content>\n\t\t\t\t<ng-content select=\".bx--tile-content__below-the-fold\"></ng-content>\n\t\t\t</div>\n\t\t</button>\n\t`\n            }]\n    }], function () { return [{ type: ɵngcc4.I18n }, { type: ɵngcc0.ElementRef }]; }, { theme: [{\n            type: Input\n        }], expanded: [{\n            type: Input\n        }], translations: [{\n            type: Input\n        }] }); })();\n\nclass SelectionTile {\n    constructor(i18n) {\n        this.i18n = i18n;\n        this.theme = \"dark\";\n        /**\n         * The unique id for the input.\n         */\n        this.id = `tile-${SelectionTile.tileCount}`;\n        /**\n         * Internal event used to notify the containing `TileGroup` of changes.\n         */\n        this.change = new EventEmitter();\n        /**\n         * Set to `true` to disable the selection tile.\n         */\n        this.disabled = false;\n        /**\n         * Set by the containing `TileGroup`. Used for the `name` property on the input.\n         */\n        this.name = \"tile-group-unbound\";\n        /**\n         * Defines whether or not the `SelectionTile` supports selecting multiple tiles as opposed to single\n         * tile selection.\n         */\n        this.multiple = true; // Set to true because of the way tile group sets it up.\n        // If an initial selected value is set before input exists, we save\n        // the value and check again when input exists in `AfterViewInit`.\n        this._selected = null;\n        SelectionTile.tileCount++;\n    }\n    /**\n     * Updating the state of the input to match the state of the parameter passed in.\n     * Set to `true` if this tile should be selected.\n     */\n    set selected(value) {\n        // If an initial selected value is set before input exists, we save\n        // the value and check again when input exists in `AfterViewInit`.\n        this._selected = value ? true : null;\n        if (this.input) {\n            this.input.nativeElement.checked = this._selected;\n        }\n    }\n    get selected() {\n        return this.input ? this.input.nativeElement.checked : false;\n    }\n    ngAfterViewInit() {\n        if (this.input) {\n            setTimeout(() => {\n                this.input.nativeElement.checked = this._selected;\n            });\n        }\n    }\n    keyboardInput(event) {\n        if (event.key === \"Enter\" || event.key === \"Spacebar\" || event.key === \" \") {\n            this.selected = !this.selected;\n            this.change.emit(event);\n        }\n    }\n    onChange(event) {\n        this.change.emit(event);\n    }\n}\nSelectionTile.ɵfac = function SelectionTile_Factory(t) { return new (t || SelectionTile)(ɵngcc0.ɵɵdirectiveInject(ɵngcc4.I18n)); };\nSelectionTile.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: SelectionTile, selectors: [[\"ibm-selection-tile\"]], viewQuery: function SelectionTile_Query(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵviewQuery(_c6, 7);\n    } if (rf & 2) {\n        let _t;\n        ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.input = _t.first);\n    } }, hostBindings: function SelectionTile_HostBindings(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵlistener(\"keydown\", function SelectionTile_keydown_HostBindingHandler($event) { return ctx.keyboardInput($event); });\n    } }, inputs: { theme: \"theme\", id: \"id\", disabled: \"disabled\", selected: \"selected\", value: \"value\" }, outputs: { change: \"change\" }, ngContentSelectors: _c1, decls: 9, vars: 15, consts: [[1, \"bx--tile-input\", 3, \"tabindex\", \"id\", \"disabled\", \"type\", \"value\", \"name\", \"change\"], [\"input\", \"\"], [1, \"bx--tile\", \"bx--tile--selectable\", 3, \"for\", \"ngClass\"], [1, \"bx--tile__checkmark\"], [\"width\", \"16\", \"height\", \"16\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M8 16A8 8 0 1 1 8 0a8 8 0 0 1 0 16zm3.646-10.854L6.75 10.043 4.354 7.646l-.708.708 3.104 3.103 5.604-5.603-.708-.708z\", \"fill-rule\", \"evenodd\"], [1, \"bx--tile-content\"]], template: function SelectionTile_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵprojectionDef();\n        ɵngcc0.ɵɵelementStart(0, \"input\", 0, 1);\n        ɵngcc0.ɵɵlistener(\"change\", function SelectionTile_Template_input_change_0_listener($event) { return ctx.onChange($event); });\n        ɵngcc0.ɵɵelementEnd();\n        ɵngcc0.ɵɵelementStart(2, \"label\", 2);\n        ɵngcc0.ɵɵpipe(3, \"async\");\n        ɵngcc0.ɵɵelementStart(4, \"div\", 3);\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelementStart(5, \"svg\", 4);\n        ɵngcc0.ɵɵelement(6, \"path\", 5);\n        ɵngcc0.ɵɵelementEnd()();\n        ɵngcc0.ɵɵnamespaceHTML();\n        ɵngcc0.ɵɵelementStart(7, \"div\", 6);\n        ɵngcc0.ɵɵprojection(8);\n        ɵngcc0.ɵɵelementEnd()();\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"tabindex\", ctx.disabled ? null : 0)(\"id\", ctx.id)(\"disabled\", ctx.disabled)(\"type\", ctx.multiple ? \"checkbox\" : \"radio\")(\"value\", ctx.value)(\"name\", ctx.name);\n        ɵngcc0.ɵɵadvance(2);\n        ɵngcc0.ɵɵproperty(\"for\", ctx.id)(\"ngClass\", ɵngcc0.ɵɵpureFunction3(11, _c7, ctx.selected, ctx.theme === \"light\", ctx.disabled));\n        ɵngcc0.ɵɵattribute(\"aria-label\", ɵngcc0.ɵɵpipeBind1(3, 9, ctx.i18n.get(\"TILES.TILE\")));\n    } }, dependencies: [ɵngcc2.NgClass, ɵngcc2.AsyncPipe], encapsulation: 2 });\nSelectionTile.tileCount = 0;\n/** @nocollapse */\nSelectionTile.ctorParameters = () => [\n    { type: I18n }\n];\nSelectionTile.propDecorators = {\n    theme: [{ type: Input }],\n    id: [{ type: Input }],\n    selected: [{ type: Input }],\n    value: [{ type: Input }],\n    change: [{ type: Output }],\n    disabled: [{ type: Input }],\n    input: [{ type: ViewChild, args: [\"input\", { static: true },] }],\n    keyboardInput: [{ type: HostListener, args: [\"keydown\", [\"$event\"],] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(SelectionTile, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-selection-tile\",\n                template: `\n\t\t<input\n\t\t\t#input\n\t\t\t[tabindex]=\"disabled ? null : 0\"\n\t\t\tclass=\"bx--tile-input\"\n\t\t\t[id]=\"id\"\n\t\t\t[disabled]=\"disabled\"\n\t\t\t[type]=\"(multiple ? 'checkbox': 'radio')\"\n\t\t\t[value]=\"value\"\n\t\t\t[name]=\"name\"\n\t\t\t(change)=\"onChange($event)\"/>\n\t\t<label\n\t\t\tclass=\"bx--tile bx--tile--selectable\"\n\t\t\t[for]=\"id\"\n\t\t\t[ngClass]=\"{\n\t\t\t\t'bx--tile--is-selected' : selected,\n\t\t\t\t'bx--tile--light': theme === 'light',\n\t\t\t\t'bx--tile--disabled' : disabled\n\t\t\t}\"\n\t\t\t[attr.aria-label]=\"i18n.get('TILES.TILE') | async\">\n\t\t\t<div class=\"bx--tile__checkmark\">\n\t\t\t\t<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\">\n\t\t\t\t\t<path d=\"M8 16A8 8 0 1 1 8 0a8 8 0 0 1 0 16zm3.646-10.854L6.75 10.043 4.354 7.646l-.708.708 3.104 3.103 5.604-5.603-.708-.708z\"\n\t\t\t\t\t\tfill-rule=\"evenodd\"/>\n\t\t\t\t</svg>\n\t\t\t</div>\n\t\t\t<div class=\"bx--tile-content\">\n\t\t\t\t<ng-content></ng-content>\n\t\t\t</div>\n\t\t</label>\n\t`\n            }]\n    }], function () { return [{ type: ɵngcc4.I18n }]; }, { theme: [{\n            type: Input\n        }], id: [{\n            type: Input\n        }], change: [{\n            type: Output\n        }], disabled: [{\n            type: Input\n        }], selected: [{\n            type: Input\n        }], keyboardInput: [{\n            type: HostListener,\n            args: [\"keydown\", [\"$event\"]]\n        }], value: [{\n            type: Input\n        }], input: [{\n            type: ViewChild,\n            args: [\"input\", { static: true }]\n        }] }); })();\n\nclass TileGroup {\n    constructor() {\n        /**\n         * The tile group `name`\n         */\n        this.name = `tile-group-${TileGroup.tileGroupCount}`;\n        /**\n         * Set to `true` to support multiple tile selection\n         */\n        this.multiple = false;\n        /**\n         * Emits an event when the tile selection changes.\n         *\n         * Emits an object that looks like:\n         * ```javascript\n         * {\n         * \tvalue: \"something\",\n         * \tselected: true,\n         * \tname: \"tile-group-1\"\n         * }\n         * ```\n         */\n        this.selected = new EventEmitter();\n        this.tileGroupClass = true;\n        this.unsubscribe$ = new Subject();\n        this.unsubscribeTiles$ = new Subject();\n        this.onChange = (_) => { };\n        this.onTouched = () => { };\n        TileGroup.tileGroupCount++;\n    }\n    ngAfterContentInit() {\n        const updateTiles = () => {\n            // remove old subscriptions\n            this.unsubscribeTiles$.next();\n            // react to changes\n            // setTimeout to avoid ExpressionChangedAfterItHasBeenCheckedError\n            setTimeout(() => {\n                this.selectionTiles.forEach(tile => {\n                    tile.name = this.name;\n                    tile.change\n                        .pipe(takeUntil(this.unsubscribeTiles$))\n                        .subscribe(() => {\n                        this.selected.emit({\n                            value: tile.value,\n                            selected: tile.selected,\n                            name: this.name\n                        });\n                        this.onChange(tile.value);\n                    });\n                    tile.multiple = this.multiple;\n                });\n            });\n        };\n        updateTiles();\n        this.selectionTiles.changes\n            .pipe(takeUntil(this.unsubscribe$))\n            .subscribe(_ => updateTiles());\n    }\n    ngOnDestroy() {\n        this.unsubscribe$.next();\n        this.unsubscribe$.complete();\n        // takes care of tile subscriptions when tile-group dies\n        this.unsubscribeTiles$.next();\n        this.unsubscribeTiles$.complete();\n    }\n    writeValue(value) {\n        if (!this.selectionTiles) {\n            return;\n        }\n        this.selectionTiles.forEach(tile => {\n            if (tile.value === value) {\n                tile.selected = true;\n            }\n            else {\n                tile.selected = false;\n            }\n        });\n    }\n    registerOnChange(fn) {\n        this.onChange = fn;\n    }\n    registerOnTouched(fn) {\n        this.onTouched = fn;\n    }\n    isTemplate(value) {\n        return value instanceof TemplateRef;\n    }\n}\nTileGroup.ɵfac = function TileGroup_Factory(t) { return new (t || TileGroup)(); };\nTileGroup.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: TileGroup, selectors: [[\"ibm-tile-group\"]], contentQueries: function TileGroup_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {\n        ɵngcc0.ɵɵcontentQuery(dirIndex, SelectionTile, 4);\n    } if (rf & 2) {\n        let _t;\n        ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.selectionTiles = _t);\n    } }, hostVars: 2, hostBindings: function TileGroup_HostBindings(rf, ctx) { if (rf & 2) {\n        ɵngcc0.ɵɵclassProp(\"bx--tile-group\", ctx.tileGroupClass);\n    } }, inputs: { name: \"name\", multiple: \"multiple\", legend: \"legend\" }, outputs: { selected: \"selected\" }, features: [ɵngcc0.ɵɵProvidersFeature([\n            {\n                provide: NG_VALUE_ACCESSOR,\n                useExisting: TileGroup,\n                multi: true\n            }\n        ])], ngContentSelectors: _c9, decls: 3, vars: 1, consts: [[\"class\", \"bx--label\", 4, \"ngIf\"], [1, \"bx--label\"], [4, \"ngIf\", \"ngIfElse\"], [\"legendLabel\", \"\"], [3, \"ngTemplateOutlet\"]], template: function TileGroup_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵprojectionDef(_c8);\n        ɵngcc0.ɵɵelementStart(0, \"fieldset\");\n        ɵngcc0.ɵɵtemplate(1, TileGroup_legend_1_Template, 4, 2, \"legend\", 0);\n        ɵngcc0.ɵɵprojection(2);\n        ɵngcc0.ɵɵelementEnd();\n    } if (rf & 2) {\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.legend);\n    } }, dependencies: [ɵngcc2.NgIf, ɵngcc2.NgTemplateOutlet], encapsulation: 2 });\nTileGroup.tileGroupCount = 0;\n/** @nocollapse */\nTileGroup.ctorParameters = () => [];\nTileGroup.propDecorators = {\n    name: [{ type: Input }],\n    multiple: [{ type: Input }],\n    legend: [{ type: Input }],\n    selected: [{ type: Output }],\n    tileGroupClass: [{ type: HostBinding, args: [\"class.bx--tile-group\",] }],\n    selectionTiles: [{ type: ContentChildren, args: [SelectionTile,] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(TileGroup, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-tile-group\",\n                template: `\n\t\t<fieldset>\n\t\t\t<legend *ngIf=\"legend\" class=\"bx--label\">\n\t\t\t\t<ng-template *ngIf=\"isTemplate(legend); else legendLabel;\" [ngTemplateOutlet]=\"legend\"></ng-template>\n\t\t\t\t<ng-template #legendLabel>{{legend}}</ng-template>\n\t\t\t</legend>\n\t\t\t<ng-content select=\"ibm-selection-tile\"></ng-content>\n\t\t</fieldset>`,\n                providers: [\n                    {\n                        provide: NG_VALUE_ACCESSOR,\n                        useExisting: TileGroup,\n                        multi: true\n                    }\n                ]\n            }]\n    }], function () { return []; }, { name: [{\n            type: Input\n        }], multiple: [{\n            type: Input\n        }], selected: [{\n            type: Output\n        }], tileGroupClass: [{\n            type: HostBinding,\n            args: [\"class.bx--tile-group\"]\n        }], legend: [{\n            type: Input\n        }], selectionTiles: [{\n            type: ContentChildren,\n            args: [SelectionTile]\n        }] }); })();\n\n/**\n * Build application's tiles using this component.\n *\n * [See demo](../../?path=/story/components-tiles--basic)\n *\n * ## Basic usage\n *\n * ```html\n * <ibm-tile>\n * \t\ttile content\n * </ibm-tile>\n * ```\n *\n * <example-url>../../iframe.html?id=components-tiles--basic</example-url>\n */\nclass Tile {\n    constructor() {\n        this.tileClass = true;\n        this.theme = \"dark\";\n    }\n    get lightThemeEnabled() {\n        return this.theme === \"light\";\n    }\n}\nTile.ɵfac = function Tile_Factory(t) { return new (t || Tile)(); };\nTile.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: Tile, selectors: [[\"ibm-tile\"]], hostVars: 4, hostBindings: function Tile_HostBindings(rf, ctx) { if (rf & 2) {\n        ɵngcc0.ɵɵclassProp(\"bx--tile\", ctx.tileClass)(\"bx--tile--light\", ctx.lightThemeEnabled);\n    } }, inputs: { theme: \"theme\" }, ngContentSelectors: _c1, decls: 1, vars: 0, template: function Tile_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵprojectionDef();\n        ɵngcc0.ɵɵprojection(0);\n    } }, encapsulation: 2 });\nTile.propDecorators = {\n    tileClass: [{ type: HostBinding, args: [\"class.bx--tile\",] }],\n    lightThemeEnabled: [{ type: HostBinding, args: [\"class.bx--tile--light\",] }],\n    theme: [{ type: Input }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(Tile, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-tile\",\n                template: `<ng-content></ng-content>`\n            }]\n    }], function () { return []; }, { tileClass: [{\n            type: HostBinding,\n            args: [\"class.bx--tile\"]\n        }], theme: [{\n            type: Input\n        }], lightThemeEnabled: [{\n            type: HostBinding,\n            args: [\"class.bx--tile--light\"]\n        }] }); })();\n\nclass TilesModule {\n}\nTilesModule.ɵfac = function TilesModule_Factory(t) { return new (t || TilesModule)(); };\nTilesModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: TilesModule });\nTilesModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({ imports: [CommonModule,\n        I18nModule,\n        LinkModule] });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(TilesModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    Tile,\n                    ClickableTile,\n                    ExpandableTile,\n                    SelectionTile,\n                    TileGroup\n                ],\n                exports: [\n                    Tile,\n                    ClickableTile,\n                    ExpandableTile,\n                    SelectionTile,\n                    TileGroup\n                ],\n                imports: [\n                    CommonModule,\n                    I18nModule,\n                    LinkModule\n                ]\n            }]\n    }], null, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(TilesModule, { declarations: function () { return [Tile, ClickableTile, ExpandableTile, SelectionTile, TileGroup]; }, imports: function () { return [CommonModule,\n        I18nModule,\n        LinkModule]; }, exports: function () { return [Tile, ClickableTile, ExpandableTile, SelectionTile, TileGroup]; } }); })();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { ClickableTile, ExpandableTile, SelectionTile, TileGroup, Tile, TilesModule };\n\n","/**\n *\n * carbon-angular v0.0.0 | carbon-components-angular-toggle.js\n *\n * Copyright 2014, 2023 IBM\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\nimport { Checkbox } from 'carbon-components-angular/checkbox';\nimport { ChangeDetectorRef, Component, Input, Output, EventEmitter, TemplateRef, HostBinding, NgModule } from '@angular/core';\nimport { NG_VALUE_ACCESSOR, FormsModule } from '@angular/forms';\nimport { CommonModule } from '@angular/common';\nimport { I18n, I18nModule } from 'carbon-components-angular/i18n';\n\n/**\n * Defines the set of states for a toggle component.\n */\nimport * as ɵngcc0 from '@angular/core';\nimport * as ɵngcc1 from 'carbon-components-angular/i18n';\nimport * as ɵngcc2 from '@angular/common';\n\nfunction Toggle_label_0_ng_container_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainerStart(0);\n    ɵngcc0.ɵɵtext(1);\n    ɵngcc0.ɵɵelementContainerEnd();\n} if (rf & 2) {\n    const ctx_r1 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate(ctx_r1.label);\n} }\nfunction Toggle_label_0_2_ng_template_0_Template(rf, ctx) { }\nfunction Toggle_label_0_2_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵtemplate(0, Toggle_label_0_2_ng_template_0_Template, 0, 0, \"ng-template\", 8);\n} if (rf & 2) {\n    const ctx_r2 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r2.label);\n} }\nconst _c0 = function (a0) { return { \"bx--label--disabled\": a0 }; };\nfunction Toggle_label_0_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"label\", 6);\n    ɵngcc0.ɵɵtemplate(1, Toggle_label_0_ng_container_1_Template, 2, 1, \"ng-container\", 7);\n    ɵngcc0.ɵɵtemplate(2, Toggle_label_0_2_Template, 1, 1, null, 7);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r0 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵproperty(\"id\", ctx_r0.ariaLabelledby)(\"ngClass\", ɵngcc0.ɵɵpureFunction1(4, _c0, ctx_r0.disabled));\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r0.isTemplate(ctx_r0.label));\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r0.isTemplate(ctx_r0.label));\n} }\nconst _c1 = function (a0, a1) { return { \"bx--toggle-input--small\": a0, \"bx--skeleton\": a1 }; };\nconst _c2 = function (a0) { return { \"bx--skeleton\": a0 }; };\nvar ToggleState;\n(function (ToggleState) {\n    ToggleState[ToggleState[\"Init\"] = 0] = \"Init\";\n    ToggleState[ToggleState[\"Indeterminate\"] = 1] = \"Indeterminate\";\n    ToggleState[ToggleState[\"Checked\"] = 2] = \"Checked\";\n    ToggleState[ToggleState[\"Unchecked\"] = 3] = \"Unchecked\";\n})(ToggleState || (ToggleState = {}));\n/**\n * Used to emit changes performed on toggle components.\n *\n * @deprecated since v4\n */\nclass ToggleChange {\n}\n/**\n * [See demo](../../?path=/story/components-toggle--basic)\n *\n * ```html\n * <ibm-toggle [(ngModel)]=\"toggleState\">Toggle</ibm-toggle>\n * ```\n *\n * <example-url>../../iframe.html?id=components-toggle--basic</example-url>\n */\nclass Toggle extends Checkbox {\n    /**\n     * Creates an instance of Toggle.\n     */\n    constructor(changeDetectorRef, i18n) {\n        super(changeDetectorRef);\n        this.changeDetectorRef = changeDetectorRef;\n        this.i18n = i18n;\n        /**\n         * Size of the toggle component.\n         */\n        this.size = \"md\";\n        /**\n         * Set to `true` for a loading toggle.\n         */\n        this.skeleton = false;\n        this.formItem = true;\n        /**\n         * The unique id allocated to the `Toggle`.\n         */\n        this.id = \"toggle-\" + Toggle.toggleCount;\n        /**\n         * Emits event notifying other classes when a change in state occurs on a toggle after a\n         * click.\n         *\n         * @deprecated since v4\n         */\n        this.change = new EventEmitter();\n        this._offValues = this.i18n.getOverridable(\"TOGGLE.OFF\");\n        this._onValues = this.i18n.getOverridable(\"TOGGLE.ON\");\n        Toggle.toggleCount++;\n    }\n    /**\n     * Text that is set on the left side of the toggle.\n     */\n    set offText(value) {\n        this._offValues.override(value);\n    }\n    get offText() {\n        return this._offValues.value;\n    }\n    /**\n     * Text that is set on the right side of the toggle.\n     */\n    set onText(value) {\n        this._onValues.override(value);\n    }\n    get onText() {\n        return this._onValues.value;\n    }\n    /**\n     * `ControlValueAccessor` method to programmatically disable the toggle input.\n     *\n     * ex: `this.formGroup.get(\"myToggle\").disable();`\n     *\n     * @param isDisabled `true` to disable the input\n     */\n    setDisabledState(isDisabled) {\n        this.disabled = isDisabled;\n    }\n    getOffText() {\n        return this._offValues.subject;\n    }\n    getOnText() {\n        return this._onValues.subject;\n    }\n    /**\n     * Creates instance of `ToggleChange` used to propagate the change event.\n     */\n    emitChangeEvent() {\n        /* begin deprecation */\n        let event = new ToggleChange();\n        event.source = this;\n        event.checked = this.checked;\n        this.change.emit(event);\n        /* end deprecation */\n        this.checkedChange.emit(this.checked);\n        this.propagateChange(this.checked);\n    }\n    isTemplate(value) {\n        return value instanceof TemplateRef;\n    }\n}\nToggle.ɵfac = function Toggle_Factory(t) { return new (t || Toggle)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ChangeDetectorRef), ɵngcc0.ɵɵdirectiveInject(ɵngcc1.I18n)); };\nToggle.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: Toggle, selectors: [[\"ibm-toggle\"]], hostVars: 2, hostBindings: function Toggle_HostBindings(rf, ctx) { if (rf & 2) {\n        ɵngcc0.ɵɵclassProp(\"bx--form-item\", ctx.formItem);\n    } }, inputs: { size: \"size\", skeleton: \"skeleton\", offText: \"offText\", onText: \"onText\", label: \"label\" }, outputs: { change: \"change\" }, features: [ɵngcc0.ɵɵProvidersFeature([\n            {\n                provide: NG_VALUE_ACCESSOR,\n                useExisting: Toggle,\n                multi: true\n            }\n        ]), ɵngcc0.ɵɵInheritDefinitionFeature], decls: 10, vars: 22, consts: [[\"class\", \"bx--label\", 3, \"id\", \"ngClass\", 4, \"ngIf\"], [\"type\", \"checkbox\", 1, \"bx--toggle-input\", 3, \"ngClass\", \"id\", \"required\", \"checked\", \"disabled\", \"change\", \"click\", \"keyup.enter\"], [1, \"bx--toggle-input__label\", 3, \"for\", \"ngClass\"], [1, \"bx--toggle__switch\"], [1, \"bx--toggle__text--off\"], [1, \"bx--toggle__text--on\"], [1, \"bx--label\", 3, \"id\", \"ngClass\"], [4, \"ngIf\"], [3, \"ngTemplateOutlet\"]], template: function Toggle_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵtemplate(0, Toggle_label_0_Template, 3, 6, \"label\", 0);\n        ɵngcc0.ɵɵelementStart(1, \"input\", 1);\n        ɵngcc0.ɵɵlistener(\"change\", function Toggle_Template_input_change_1_listener($event) { return ctx.onChange($event); })(\"click\", function Toggle_Template_input_click_1_listener($event) { return ctx.onClick($event); })(\"keyup.enter\", function Toggle_Template_input_keyup_enter_1_listener($event) { return ctx.onClick($event); });\n        ɵngcc0.ɵɵelementEnd();\n        ɵngcc0.ɵɵelementStart(2, \"label\", 2)(3, \"span\", 3)(4, \"span\", 4);\n        ɵngcc0.ɵɵtext(5);\n        ɵngcc0.ɵɵpipe(6, \"async\");\n        ɵngcc0.ɵɵelementEnd();\n        ɵngcc0.ɵɵelementStart(7, \"span\", 5);\n        ɵngcc0.ɵɵtext(8);\n        ɵngcc0.ɵɵpipe(9, \"async\");\n        ɵngcc0.ɵɵelementEnd()()();\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.label);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction2(17, _c1, ctx.size === \"sm\", ctx.skeleton))(\"id\", ctx.id)(\"required\", ctx.required)(\"checked\", ctx.checked)(\"disabled\", ctx.disabled);\n        ɵngcc0.ɵɵattribute(\"value\", ctx.value)(\"name\", ctx.name)(\"aria-labelledby\", ctx.ariaLabelledby);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"for\", ctx.id)(\"ngClass\", ɵngcc0.ɵɵpureFunction1(20, _c2, ctx.skeleton));\n        ɵngcc0.ɵɵadvance(3);\n        ɵngcc0.ɵɵtextInterpolate(ɵngcc0.ɵɵpipeBind1(6, 13, !ctx.skeleton ? ctx.getOffText() : null));\n        ɵngcc0.ɵɵadvance(3);\n        ɵngcc0.ɵɵtextInterpolate(ɵngcc0.ɵɵpipeBind1(9, 15, !ctx.skeleton ? ctx.getOnText() : null));\n    } }, dependencies: [ɵngcc2.NgClass, ɵngcc2.NgIf, ɵngcc2.NgTemplateOutlet, ɵngcc2.AsyncPipe], encapsulation: 2 });\n/**\n * Variable used for creating unique ids for toggle components.\n */\nToggle.toggleCount = 0;\n/** @nocollapse */\nToggle.ctorParameters = () => [\n    { type: ChangeDetectorRef },\n    { type: I18n }\n];\nToggle.propDecorators = {\n    offText: [{ type: Input }],\n    onText: [{ type: Input }],\n    label: [{ type: Input }],\n    size: [{ type: Input }],\n    skeleton: [{ type: Input }],\n    formItem: [{ type: HostBinding, args: [\"class.bx--form-item\",] }],\n    change: [{ type: Output }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(Toggle, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-toggle\",\n                template: `\n\t\t<label\n\t\t\t*ngIf=\"label\"\n\t\t\t[id]=\"ariaLabelledby\"\n\t\t\tclass=\"bx--label\"\n\t\t\t[ngClass]=\"{'bx--label--disabled': disabled}\">\n\t\t\t<ng-container *ngIf=\"!isTemplate(label)\">{{label}}</ng-container>\n\t\t\t<ng-template *ngIf=\"isTemplate(label)\" [ngTemplateOutlet]=\"label\"></ng-template>\n\t\t</label>\n\t\t<input\n\t\t\tclass=\"bx--toggle-input\"\n\t\t\ttype=\"checkbox\"\n\t\t\t[ngClass]=\"{\n\t\t\t\t'bx--toggle-input--small': size === 'sm',\n\t\t\t\t'bx--skeleton': skeleton\n\t\t\t}\"\n\t\t\t[id]=\"id\"\n\t\t\t[attr.value]=\"value\"\n\t\t\t[attr.name]=\"name\"\n\t\t\t[required]=\"required\"\n\t\t\t[checked]=\"checked\"\n\t\t\t[disabled]=\"disabled\"\n\t\t\t[attr.aria-labelledby]=\"ariaLabelledby\"\n\t\t\t(change)=\"onChange($event)\"\n\t\t\t(click)=\"onClick($event)\"\n\t\t\t(keyup.enter)=\"onClick($event)\">\n\t\t<label\n\t\t\tclass=\"bx--toggle-input__label\"\n\t\t\t[for]=\"id\"\n\t\t\t[ngClass]=\"{\n\t\t\t\t'bx--skeleton': skeleton\n\t\t\t}\">\n\t\t\t<span class=\"bx--toggle__switch\">\n\t\t\t\t<span class=\"bx--toggle__text--off\">{{(!skeleton ? getOffText() : null) | async }}</span>\n\t\t\t\t<span class=\"bx--toggle__text--on\">{{(!skeleton ? getOnText() : null) | async}}</span>\n\t\t\t</span>\n\t\t</label>\n\t`,\n                providers: [\n                    {\n                        provide: NG_VALUE_ACCESSOR,\n                        useExisting: Toggle,\n                        multi: true\n                    }\n                ]\n            }]\n    }], function () { return [{ type: ɵngcc0.ChangeDetectorRef }, { type: ɵngcc1.I18n }]; }, { size: [{\n            type: Input\n        }], skeleton: [{\n            type: Input\n        }], formItem: [{\n            type: HostBinding,\n            args: [\"class.bx--form-item\"]\n        }], change: [{\n            type: Output\n        }], offText: [{\n            type: Input\n        }], onText: [{\n            type: Input\n        }], label: [{\n            type: Input\n        }] }); })();\n\n// modules\nclass ToggleModule {\n}\nToggleModule.ɵfac = function ToggleModule_Factory(t) { return new (t || ToggleModule)(); };\nToggleModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: ToggleModule });\nToggleModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({ imports: [CommonModule,\n        FormsModule,\n        I18nModule] });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ToggleModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    Toggle\n                ],\n                exports: [\n                    Toggle\n                ],\n                imports: [\n                    CommonModule,\n                    FormsModule,\n                    I18nModule\n                ]\n            }]\n    }], null, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(ToggleModule, { declarations: function () { return [Toggle]; }, imports: function () { return [CommonModule,\n        FormsModule,\n        I18nModule]; }, exports: function () { return [Toggle]; } }); })();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { ToggleState, ToggleChange, Toggle, ToggleModule };\n\n","/**\n *\n * carbon-angular v0.0.0 | carbon-components-angular-ui-shell.js\n *\n * Copyright 2014, 2023 IBM\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\nimport { IconModule } from 'carbon-components-angular/icon';\nimport { Subscription } from 'rxjs';\nimport { DomSanitizer } from '@angular/platform-browser';\nimport { Router, RouterModule } from '@angular/router';\nimport { Component, Input, Optional, Output, EventEmitter, TemplateRef, HostListener, ElementRef, HostBinding, NgModule, ViewEncapsulation, ContentChildren } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { I18n, I18nModule } from 'carbon-components-angular/i18n';\n\n/**\n * A fixed header and navigation.\n * Header may contain a Hamburger menu to toggle the side navigation, navigation actions,\n * and global actions (generally in the form of `Panel`s).\n *\n * [See demo](../../?path=/story/components-ui-shell--header)\n *\n * <example-url>../../iframe.html?id=components-ui-shell--header</example-url>\n */\nimport * as ɵngcc0 from '@angular/core';\nimport * as ɵngcc1 from 'carbon-components-angular/i18n';\nimport * as ɵngcc2 from '@angular/platform-browser';\nimport * as ɵngcc3 from '@angular/router';\nimport * as ɵngcc4 from '@angular/common';\nimport * as ɵngcc5 from 'carbon-components-angular/icon';\n\nfunction Header_a_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"a\", 4);\n    ɵngcc0.ɵɵtext(1);\n    ɵngcc0.ɵɵpipe(2, \"async\");\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r0 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵproperty(\"href\", ctx_r0.skipTo, ɵngcc0.ɵɵsanitizeUrl);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate1(\" \", ɵngcc0.ɵɵpipeBind1(2, 2, ctx_r0.i18n.get(\"UI_SHELL.SKIP_TO\")), \" \");\n} }\nfunction Header_3_ng_template_0_Template(rf, ctx) { }\nfunction Header_3_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵtemplate(0, Header_3_ng_template_0_Template, 0, 0, \"ng-template\", 5);\n} if (rf & 2) {\n    const ctx_r1 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r1.brand);\n} }\nfunction Header_ng_container_4_a_1_Template(rf, ctx) { if (rf & 1) {\n    const _r7 = ɵngcc0.ɵɵgetCurrentView();\n    ɵngcc0.ɵɵelementStart(0, \"a\", 9);\n    ɵngcc0.ɵɵlistener(\"click\", function Header_ng_container_4_a_1_Template_a_click_0_listener($event) { ɵngcc0.ɵɵrestoreView(_r7); const ctx_r6 = ɵngcc0.ɵɵnextContext(2); return ɵngcc0.ɵɵresetView(ctx_r6.navigate($event)); });\n    ɵngcc0.ɵɵelementStart(1, \"span\", 10);\n    ɵngcc0.ɵɵtext(2);\n    ɵngcc0.ɵɵelementEnd();\n    ɵngcc0.ɵɵtext(3);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r4 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵproperty(\"href\", ctx_r4.href, ɵngcc0.ɵɵsanitizeUrl);\n    ɵngcc0.ɵɵadvance(2);\n    ɵngcc0.ɵɵtextInterpolate1(\"\", ctx_r4.brand, \"\\u00A0\");\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate1(\" \", ctx_r4.name, \" \");\n} }\nfunction Header_ng_container_4_a_2_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"a\", 11)(1, \"span\", 10);\n    ɵngcc0.ɵɵtext(2);\n    ɵngcc0.ɵɵelementEnd();\n    ɵngcc0.ɵɵtext(3);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r5 = ɵngcc0.ɵɵnextContext(2);\n    ɵngcc0.ɵɵproperty(\"routerLink\", ctx_r5.route);\n    ɵngcc0.ɵɵadvance(2);\n    ɵngcc0.ɵɵtextInterpolate1(\"\", ctx_r5.brand, \"\\u00A0\");\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate1(\" \", ctx_r5.name, \" \");\n} }\nfunction Header_ng_container_4_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainerStart(0, 6);\n    ɵngcc0.ɵɵtemplate(1, Header_ng_container_4_a_1_Template, 4, 3, \"a\", 7);\n    ɵngcc0.ɵɵtemplate(2, Header_ng_container_4_a_2_Template, 4, 3, \"a\", 8);\n    ɵngcc0.ɵɵelementContainerEnd();\n} if (rf & 2) {\n    const ctx_r2 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵproperty(\"ngSwitch\", ctx_r2.useRouter);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngSwitchCase\", false);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngSwitchCase\", true);\n} }\nconst _c0 = [[[\"ibm-hamburger\"]], \"*\"];\nconst _c1 = [\"ibm-hamburger\", \"*\"];\nfunction HeaderItem_ng_template_2_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵprojection(0);\n} }\nfunction HeaderItem_a_4_ng_container_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainer(0);\n} }\nconst _c2 = function (a0) { return { \"bx--header__menu-item--current\": a0 }; };\nfunction HeaderItem_a_4_Template(rf, ctx) { if (rf & 1) {\n    const _r6 = ɵngcc0.ɵɵgetCurrentView();\n    ɵngcc0.ɵɵelementStart(0, \"a\", 5);\n    ɵngcc0.ɵɵlistener(\"click\", function HeaderItem_a_4_Template_a_click_0_listener($event) { ɵngcc0.ɵɵrestoreView(_r6); const ctx_r5 = ɵngcc0.ɵɵnextContext(); return ɵngcc0.ɵɵresetView(ctx_r5.navigate($event)); });\n    ɵngcc0.ɵɵtemplate(1, HeaderItem_a_4_ng_container_1_Template, 1, 0, \"ng-container\", 6);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r2 = ɵngcc0.ɵɵnextContext();\n    const _r0 = ɵngcc0.ɵɵreference(3);\n    ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction1(3, _c2, ctx_r2.isCurrentPage))(\"href\", ctx_r2.href, ɵngcc0.ɵɵsanitizeUrl);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", _r0);\n} }\nfunction HeaderItem_a_5_ng_container_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainer(0);\n} }\nconst _c3 = function () { return [\"bx--header__menu-item--current\"]; };\nfunction HeaderItem_a_5_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"a\", 7);\n    ɵngcc0.ɵɵtemplate(1, HeaderItem_a_5_ng_container_1_Template, 1, 0, \"ng-container\", 6);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const ctx_r3 = ɵngcc0.ɵɵnextContext();\n    const _r0 = ɵngcc0.ɵɵreference(3);\n    ɵngcc0.ɵɵproperty(\"routerLinkActive\", ɵngcc0.ɵɵpureFunction0(5, _c3))(\"ngClass\", ɵngcc0.ɵɵpureFunction1(6, _c2, ctx_r3.isCurrentPage))(\"routerLink\", ctx_r3.route)(\"routerLinkActive\", ctx_r3.activeLinkClass);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", _r0);\n} }\nconst _c4 = [\"*\"];\nfunction HeaderMenu_3_ng_template_0_Template(rf, ctx) { }\nfunction HeaderMenu_3_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵtemplate(0, HeaderMenu_3_ng_template_0_Template, 0, 0, \"ng-template\", 6);\n} if (rf & 2) {\n    const ctx_r0 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r0.icon);\n} }\nfunction HeaderMenu_ng_template_4_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵelementStart(0, \"svg\", 7);\n    ɵngcc0.ɵɵelement(1, \"path\", 8);\n    ɵngcc0.ɵɵelementEnd();\n} }\nfunction HeaderMenu_ng_container_8_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainerStart(0);\n    ɵngcc0.ɵɵelementStart(1, \"ibm-header-item\", 9);\n    ɵngcc0.ɵɵtext(2);\n    ɵngcc0.ɵɵelementEnd();\n    ɵngcc0.ɵɵelementContainerEnd();\n} if (rf & 2) {\n    const headerItem_r5 = ctx.$implicit;\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"href\", headerItem_r5.href)(\"route\", headerItem_r5.route)(\"routeExtras\", headerItem_r5.routeExtras);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate1(\" \", headerItem_r5.content, \" \");\n} }\nfunction HeaderNavigation_ng_container_3_ibm_header_item_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"ibm-header-item\", 5);\n    ɵngcc0.ɵɵtext(1);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const navigationItem_r1 = ɵngcc0.ɵɵnextContext().$implicit;\n    ɵngcc0.ɵɵproperty(\"href\", navigationItem_r1.href)(\"route\", navigationItem_r1.route)(\"routeExtras\", navigationItem_r1.routeExtras)(\"isCurrentPage\", !!navigationItem_r1.isCurrentPage);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate1(\" \", navigationItem_r1.content, \" \");\n} }\nfunction HeaderNavigation_ng_container_3_ibm_header_menu_2_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelement(0, \"ibm-header-menu\", 6);\n} if (rf & 2) {\n    const navigationItem_r1 = ɵngcc0.ɵɵnextContext().$implicit;\n    ɵngcc0.ɵɵproperty(\"href\", navigationItem_r1.href)(\"title\", navigationItem_r1.title)(\"trigger\", navigationItem_r1.trigger ? navigationItem_r1.trigger : \"click\")(\"headerItems\", navigationItem_r1.menuItems);\n} }\nfunction HeaderNavigation_ng_container_3_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainerStart(0);\n    ɵngcc0.ɵɵtemplate(1, HeaderNavigation_ng_container_3_ibm_header_item_1_Template, 2, 5, \"ibm-header-item\", 3);\n    ɵngcc0.ɵɵtemplate(2, HeaderNavigation_ng_container_3_ibm_header_menu_2_Template, 1, 4, \"ibm-header-menu\", 4);\n    ɵngcc0.ɵɵelementContainerEnd();\n} if (rf & 2) {\n    const navigationItem_r1 = ctx.$implicit;\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", navigationItem_r1.type === \"item\");\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", navigationItem_r1.type === \"menu\");\n} }\nconst _c5 = function (a0) { return { \"bx--header__action--active\": a0 }; };\nfunction Hamburger__svg_svg_5_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵelement(0, \"svg\", 3);\n} }\nfunction Hamburger__svg_svg_6_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵelement(0, \"svg\", 4);\n} }\nfunction SideNav_ng_container_4_ibm_sidenav_item_1_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"ibm-sidenav-item\", 8);\n    ɵngcc0.ɵɵtext(1);\n    ɵngcc0.ɵɵelementEnd();\n} if (rf & 2) {\n    const navigationItem_r2 = ɵngcc0.ɵɵnextContext().$implicit;\n    ɵngcc0.ɵɵproperty(\"href\", navigationItem_r2.href)(\"route\", navigationItem_r2.route)(\"routeExtras\", navigationItem_r2.routeExtras)(\"title\", navigationItem_r2.title);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate1(\" \", navigationItem_r2.content, \" \");\n} }\nfunction SideNav_ng_container_4_ibm_sidenav_menu_2_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelement(0, \"ibm-sidenav-menu\", 9);\n} if (rf & 2) {\n    const navigationItem_r2 = ɵngcc0.ɵɵnextContext().$implicit;\n    ɵngcc0.ɵɵproperty(\"title\", navigationItem_r2.title)(\"menuItems\", navigationItem_r2.menuItems);\n} }\nfunction SideNav_ng_container_4_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainerStart(0);\n    ɵngcc0.ɵɵtemplate(1, SideNav_ng_container_4_ibm_sidenav_item_1_Template, 2, 5, \"ibm-sidenav-item\", 6);\n    ɵngcc0.ɵɵtemplate(2, SideNav_ng_container_4_ibm_sidenav_menu_2_Template, 1, 2, \"ibm-sidenav-menu\", 7);\n    ɵngcc0.ɵɵelementContainerEnd();\n} if (rf & 2) {\n    const navigationItem_r2 = ctx.$implicit;\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", navigationItem_r2.type === \"item\");\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", navigationItem_r2.type === \"menu\");\n} }\nfunction SideNav_button_7__svg_svg_3_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵelementStart(0, \"svg\", 14);\n    ɵngcc0.ɵɵelement(1, \"path\", 15);\n    ɵngcc0.ɵɵelementEnd();\n} }\nfunction SideNav_button_7__svg_svg_4_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵnamespaceSVG();\n    ɵngcc0.ɵɵelementStart(0, \"svg\", 14);\n    ɵngcc0.ɵɵelement(1, \"path\", 16);\n    ɵngcc0.ɵɵelementEnd();\n} }\nfunction SideNav_button_7_Template(rf, ctx) { if (rf & 1) {\n    const _r10 = ɵngcc0.ɵɵgetCurrentView();\n    ɵngcc0.ɵɵelementStart(0, \"button\", 10);\n    ɵngcc0.ɵɵlistener(\"click\", function SideNav_button_7_Template_button_click_0_listener() { ɵngcc0.ɵɵrestoreView(_r10); const ctx_r9 = ɵngcc0.ɵɵnextContext(); return ɵngcc0.ɵɵresetView(ctx_r9.toggle()); });\n    ɵngcc0.ɵɵpipe(1, \"async\");\n    ɵngcc0.ɵɵelementStart(2, \"div\", 11);\n    ɵngcc0.ɵɵtemplate(3, SideNav_button_7__svg_svg_3_Template, 2, 0, \"svg\", 12);\n    ɵngcc0.ɵɵtemplate(4, SideNav_button_7__svg_svg_4_Template, 2, 0, \"svg\", 12);\n    ɵngcc0.ɵɵelementEnd();\n    ɵngcc0.ɵɵelementStart(5, \"span\", 13);\n    ɵngcc0.ɵɵtext(6);\n    ɵngcc0.ɵɵpipe(7, \"async\");\n    ɵngcc0.ɵɵelementEnd()();\n} if (rf & 2) {\n    const ctx_r1 = ɵngcc0.ɵɵnextContext();\n    ɵngcc0.ɵɵproperty(\"title\", ɵngcc0.ɵɵpipeBind1(1, 4, ctx_r1.expanded ? ctx_r1.i18n.get(\"UI_SHELL.SIDE_NAV.TOGGLE_CLOSE\") : ctx_r1.i18n.get(\"UI_SHELL.SIDE_NAV.TOGGLE_OPEN\")));\n    ɵngcc0.ɵɵadvance(3);\n    ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r1.expanded);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r1.expanded);\n    ɵngcc0.ɵɵadvance(2);\n    ɵngcc0.ɵɵtextInterpolate1(\" \", ɵngcc0.ɵɵpipeBind1(7, 6, ctx_r1.expanded ? ctx_r1.i18n.get(\"UI_SHELL.SIDE_NAV.TOGGLE_CLOSE\") : ctx_r1.i18n.get(\"UI_SHELL.SIDE_NAV.TOGGLE_OPEN\")), \" \");\n} }\nconst _c6 = [[[\"ibm-sidenav-header\"]], \"*\"];\nconst _c7 = [\"ibm-sidenav-header\", \"*\"];\nfunction SideNavItem_div_2_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementStart(0, \"div\", 4);\n    ɵngcc0.ɵɵprojection(1, 1);\n    ɵngcc0.ɵɵelementEnd();\n} }\nconst _c8 = [\"*\", [[\"svg\"], [\"\", \"icon\", \"\"]]];\nconst _c9 = function (a0, a1) { return { \"bx--side-nav__item\": a0, \"bx--side-nav__menu-item\": a1 }; };\nconst _c10 = function (a0) { return { \"bx--side-nav__link--current\": a0 }; };\nconst _c11 = [\"*\", \"svg, [icon]\"];\nfunction SideNavMenu_ng_container_11_Template(rf, ctx) { if (rf & 1) {\n    ɵngcc0.ɵɵelementContainerStart(0);\n    ɵngcc0.ɵɵelementStart(1, \"ibm-sidenav-item\", 9);\n    ɵngcc0.ɵɵtext(2);\n    ɵngcc0.ɵɵelementEnd();\n    ɵngcc0.ɵɵelementContainerEnd();\n} if (rf & 2) {\n    const menuItem_r1 = ctx.$implicit;\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵproperty(\"href\", menuItem_r1.href)(\"route\", menuItem_r1.route)(\"routeExtras\", menuItem_r1.routeExtras)(\"isSubMenu\", true);\n    ɵngcc0.ɵɵadvance(1);\n    ɵngcc0.ɵɵtextInterpolate1(\" \", menuItem_r1.content, \" \");\n} }\nconst _c12 = [[[\"svg\"], [\"\", \"icon\", \"\"]], \"*\"];\nconst _c13 = function (a0) { return { \"bx--side-nav__item--active\": a0 }; };\nconst _c14 = [\"svg, [icon]\", \"*\"];\nconst _c15 = function (a0) { return { \"bx--panel--expanded\": a0 }; };\nconst _c16 = function (a0) { return { \"bx--switcher__item-link--selected\": a0 }; };\nclass Header {\n    constructor(i18n, domSanitizer, router) {\n        this.i18n = i18n;\n        this.domSanitizer = domSanitizer;\n        this.router = router;\n        /**\n         * Top level branding. Defaults to \"IBM\"\n         */\n        this.brand = \"IBM\";\n        /**\n         * Use the routerLink attribute on <a> tag for navigation instead of using event handlers\n         */\n        this.useRouter = false;\n        /**\n         * Emits the navigation status promise when the link is activated\n         */\n        this.navigation = new EventEmitter();\n        this._href = \"#\";\n    }\n    /**\n     * Optional link for the header\n     */\n    set href(v) {\n        this._href = v;\n    }\n    get href() {\n        return this.domSanitizer.bypassSecurityTrustUrl(this._href);\n    }\n    isTemplate(value) {\n        return value instanceof TemplateRef;\n    }\n    navigate(event) {\n        if (this.router && this.route) {\n            event.preventDefault();\n            const status = this.router.navigate(this.route, this.routeExtras);\n            this.navigation.emit(status);\n        }\n        else if (this._href === \"#\") {\n            event.preventDefault();\n        }\n    }\n}\nHeader.ɵfac = function Header_Factory(t) { return new (t || Header)(ɵngcc0.ɵɵdirectiveInject(ɵngcc1.I18n), ɵngcc0.ɵɵdirectiveInject(ɵngcc2.DomSanitizer), ɵngcc0.ɵɵdirectiveInject(ɵngcc3.Router, 8)); };\nHeader.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: Header, selectors: [[\"ibm-header\"]], inputs: { brand: \"brand\", useRouter: \"useRouter\", href: \"href\", skipTo: \"skipTo\", name: \"name\", route: \"route\", routeExtras: \"routeExtras\" }, outputs: { navigation: \"navigation\" }, ngContentSelectors: _c1, decls: 6, vars: 4, consts: [[1, \"bx--header\"], [\"class\", \"bx--skip-to-content\", \"tabindex\", \"0\", 3, \"href\", 4, \"ngIf\"], [4, \"ngIf\"], [3, \"ngSwitch\", 4, \"ngIf\"], [\"tabindex\", \"0\", 1, \"bx--skip-to-content\", 3, \"href\"], [3, \"ngTemplateOutlet\"], [3, \"ngSwitch\"], [\"class\", \"bx--header__name\", 3, \"href\", \"click\", 4, \"ngSwitchCase\"], [\"class\", \"bx--header__name\", 3, \"routerLink\", 4, \"ngSwitchCase\"], [1, \"bx--header__name\", 3, \"href\", \"click\"], [1, \"bx--header__name--prefix\"], [1, \"bx--header__name\", 3, \"routerLink\"]], template: function Header_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵprojectionDef(_c0);\n        ɵngcc0.ɵɵelementStart(0, \"header\", 0);\n        ɵngcc0.ɵɵtemplate(1, Header_a_1_Template, 3, 4, \"a\", 1);\n        ɵngcc0.ɵɵprojection(2);\n        ɵngcc0.ɵɵtemplate(3, Header_3_Template, 1, 1, null, 2);\n        ɵngcc0.ɵɵtemplate(4, Header_ng_container_4_Template, 3, 3, \"ng-container\", 3);\n        ɵngcc0.ɵɵprojection(5, 1);\n        ɵngcc0.ɵɵelementEnd();\n    } if (rf & 2) {\n        ɵngcc0.ɵɵattribute(\"aria-label\", ctx.brand + \" \" + ctx.name);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.skipTo);\n        ɵngcc0.ɵɵadvance(2);\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.isTemplate(ctx.brand));\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.isTemplate(ctx.brand));\n    } }, dependencies: [ɵngcc4.NgIf, ɵngcc4.NgTemplateOutlet, ɵngcc4.NgSwitch, ɵngcc4.NgSwitchCase, ɵngcc3.RouterLink, ɵngcc4.AsyncPipe], encapsulation: 2 });\n/** @nocollapse */\nHeader.ctorParameters = () => [\n    { type: I18n },\n    { type: DomSanitizer },\n    { type: Router, decorators: [{ type: Optional }] }\n];\nHeader.propDecorators = {\n    skipTo: [{ type: Input }],\n    name: [{ type: Input }],\n    brand: [{ type: Input }],\n    href: [{ type: Input }],\n    route: [{ type: Input }],\n    routeExtras: [{ type: Input }],\n    useRouter: [{ type: Input }],\n    navigation: [{ type: Output }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(Header, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-header\",\n                template: `\n\t\t<header\n\t\t\tclass=\"bx--header\"\n\t\t\t[attr.aria-label]=\"brand + ' ' + name\">\n\t\t\t<a\n\t\t\t\t*ngIf=\"skipTo\"\n\t\t\t\tclass=\"bx--skip-to-content\"\n\t\t\t\t[href]=\"skipTo\"\n\t\t\t\ttabindex=\"0\">\n\t\t\t\t{{ i18n.get(\"UI_SHELL.SKIP_TO\") | async }}\n\t\t\t</a>\n\t\t\t<ng-content select=\"ibm-hamburger\"></ng-content>\n\t\t\t<ng-template\n\t\t\t\t*ngIf=\"isTemplate(brand)\"\n\t\t\t\t[ngTemplateOutlet]=\"brand\">\n\t\t\t</ng-template>\n\t\t\t<ng-container *ngIf=\"!isTemplate(brand)\" [ngSwitch]=\"useRouter\">\n\t\t\t\t<a\n\t\t\t\t\t*ngSwitchCase=\"false\"\n\t\t\t\t\tclass=\"bx--header__name\"\n\t\t\t\t\t[href]=\"href\"\n\t\t\t\t\t(click)=\"navigate($event)\">\n\t\t\t\t\t<span class=\"bx--header__name--prefix\">{{brand}}&nbsp;</span>\n\t\t\t\t\t{{name}}\n\t\t\t\t</a>\n\t\t\t\t<a\n\t\t\t\t\t*ngSwitchCase=\"true\"\n\t\t\t\t\tclass=\"bx--header__name\"\n\t\t\t\t\t[routerLink]=\"route\">\n\t\t\t\t\t<span class=\"bx--header__name--prefix\">{{brand}}&nbsp;</span>\n\t\t\t\t\t{{name}}\n\t\t\t\t</a>\n\t\t\t</ng-container>\n\t\t\t<ng-content></ng-content>\n\t\t</header>\n\t`\n            }]\n    }], function () { return [{ type: ɵngcc1.I18n }, { type: ɵngcc2.DomSanitizer }, { type: ɵngcc3.Router, decorators: [{\n                type: Optional\n            }] }]; }, { brand: [{\n            type: Input\n        }], useRouter: [{\n            type: Input\n        }], navigation: [{\n            type: Output\n        }], href: [{\n            type: Input\n        }], skipTo: [{\n            type: Input\n        }], name: [{\n            type: Input\n        }], route: [{\n            type: Input\n        }], routeExtras: [{\n            type: Input\n        }] }); })();\n\n/**\n * Individual item in the header. May be used a direct child of `HeaderNavigation` or `HeaderMenu`\n */\nclass HeaderItem {\n    constructor(domSanitizer, router) {\n        this.domSanitizer = domSanitizer;\n        this.router = router;\n        /**\n         * Use the routerLink attribute on <a> tag for navigation instead of using event handlers\n         */\n        this.useRouter = false;\n        /**\n         * Emits the navigation status promise when the link is activated\n         */\n        this.navigation = new EventEmitter();\n        this._href = \"#\";\n    }\n    set href(v) {\n        // Needed when component is created dynamically with a model.\n        if (v === undefined) {\n            return;\n        }\n        this._href = v;\n    }\n    get href() {\n        return this.domSanitizer.bypassSecurityTrustUrl(this._href);\n    }\n    navigate(event) {\n        if (this.router && this.route) {\n            event.preventDefault();\n            const status = this.router.navigate(this.route, this.routeExtras);\n            this.navigation.emit(status);\n        }\n        else if (this._href === \"#\") {\n            event.preventDefault();\n        }\n    }\n}\nHeaderItem.ɵfac = function HeaderItem_Factory(t) { return new (t || HeaderItem)(ɵngcc0.ɵɵdirectiveInject(ɵngcc2.DomSanitizer), ɵngcc0.ɵɵdirectiveInject(ɵngcc3.Router, 8)); };\nHeaderItem.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: HeaderItem, selectors: [[\"ibm-header-item\"]], inputs: { useRouter: \"useRouter\", href: \"href\", activeLinkClass: \"activeLinkClass\", isCurrentPage: \"isCurrentPage\", route: \"route\", routeExtras: \"routeExtras\" }, outputs: { navigation: \"navigation\" }, ngContentSelectors: _c4, decls: 6, vars: 3, consts: [[\"role\", \"menuitem\", 2, \"height\", \"100%\"], [3, \"ngSwitch\"], [\"content\", \"\"], [\"class\", \"bx--header__menu-item\", \"tabindex\", \"0\", 3, \"ngClass\", \"href\", \"click\", 4, \"ngSwitchCase\"], [\"class\", \"bx--header__menu-item\", \"role\", \"menuitem\", \"tabindex\", \"0\", 3, \"routerLinkActive\", \"ngClass\", \"routerLink\", 4, \"ngSwitchCase\"], [\"tabindex\", \"0\", 1, \"bx--header__menu-item\", 3, \"ngClass\", \"href\", \"click\"], [4, \"ngTemplateOutlet\"], [\"role\", \"menuitem\", \"tabindex\", \"0\", 1, \"bx--header__menu-item\", 3, \"routerLinkActive\", \"ngClass\", \"routerLink\"]], template: function HeaderItem_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵprojectionDef();\n        ɵngcc0.ɵɵelementStart(0, \"li\", 0);\n        ɵngcc0.ɵɵelementContainerStart(1, 1);\n        ɵngcc0.ɵɵtemplate(2, HeaderItem_ng_template_2_Template, 1, 0, \"ng-template\", null, 2, ɵngcc0.ɵɵtemplateRefExtractor);\n        ɵngcc0.ɵɵtemplate(4, HeaderItem_a_4_Template, 2, 5, \"a\", 3);\n        ɵngcc0.ɵɵtemplate(5, HeaderItem_a_5_Template, 2, 8, \"a\", 4);\n        ɵngcc0.ɵɵelementContainerEnd();\n        ɵngcc0.ɵɵelementEnd();\n    } if (rf & 2) {\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngSwitch\", ctx.useRouter);\n        ɵngcc0.ɵɵadvance(3);\n        ɵngcc0.ɵɵproperty(\"ngSwitchCase\", false);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngSwitchCase\", true);\n    } }, dependencies: [ɵngcc4.NgClass, ɵngcc4.NgTemplateOutlet, ɵngcc4.NgSwitch, ɵngcc4.NgSwitchCase, ɵngcc3.RouterLink, ɵngcc3.RouterLinkActive], encapsulation: 2 });\n/** @nocollapse */\nHeaderItem.ctorParameters = () => [\n    { type: DomSanitizer },\n    { type: Router, decorators: [{ type: Optional }] }\n];\nHeaderItem.propDecorators = {\n    href: [{ type: Input }],\n    useRouter: [{ type: Input }],\n    activeLinkClass: [{ type: Input }],\n    isCurrentPage: [{ type: Input }],\n    route: [{ type: Input }],\n    routeExtras: [{ type: Input }],\n    navigation: [{ type: Output }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(HeaderItem, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-header-item\",\n                template: `\n\t\t<li\n\t\t\tstyle=\"height: 100%\"\n\t\t\trole=\"menuitem\">\n\t\t\t<ng-container [ngSwitch]=\"useRouter\">\n\t\t\t\t<ng-template #content><ng-content></ng-content></ng-template>\n\t\t\t\t<a\n\t\t\t\t\t*ngSwitchCase=\"false\"\n\t\t\t\t\tclass=\"bx--header__menu-item\"\n\t\t\t\t\ttabindex=\"0\"\n\t\t\t\t\t[ngClass]=\"{'bx--header__menu-item--current' : isCurrentPage}\"\n\t\t\t\t\t[href]=\"href\"\n\t\t\t\t\t(click)=\"navigate($event)\">\n\t\t\t\t\t<ng-container *ngTemplateOutlet=\"content\"></ng-container>\n\t\t\t\t</a>\n\t\t\t\t<a\n\t\t\t\t\t*ngSwitchCase=\"true\"\n\t\t\t\t\tclass=\"bx--header__menu-item\"\n\t\t\t\t\trole=\"menuitem\"\n\t\t\t\t\t[routerLinkActive]=\"['bx--header__menu-item--current']\"\n\t\t\t\t\ttabindex=\"0\"\n\t\t\t\t\t[ngClass]=\"{'bx--header__menu-item--current' : isCurrentPage}\"\n\t\t\t\t\t[routerLink]=\"route\"\n\t\t\t\t\t[routerLinkActive]=\"activeLinkClass\">\n\t\t\t\t\t<ng-container *ngTemplateOutlet=\"content\"></ng-container>\n\t\t\t\t</a>\n\t\t\t</ng-container>\n\t\t</li>\n\t`\n            }]\n    }], function () { return [{ type: ɵngcc2.DomSanitizer }, { type: ɵngcc3.Router, decorators: [{\n                type: Optional\n            }] }]; }, { useRouter: [{\n            type: Input\n        }], navigation: [{\n            type: Output\n        }], href: [{\n            type: Input\n        }], activeLinkClass: [{\n            type: Input\n        }], isCurrentPage: [{\n            type: Input\n        }], route: [{\n            type: Input\n        }], routeExtras: [{\n            type: Input\n        }] }); })();\n\n/**\n * Dropdown menu container for navigation items.\n */\nclass HeaderMenu {\n    constructor(domSanitizer, elementRef) {\n        this.domSanitizer = domSanitizer;\n        this.elementRef = elementRef;\n        this.trigger = \"click\";\n        this.expanded = false;\n        this._href = \"#\";\n    }\n    set href(v) {\n        // Needed when component is created dynamically with a model.\n        if (v === undefined) {\n            return;\n        }\n        this._href = v;\n    }\n    get href() {\n        return this.domSanitizer.bypassSecurityTrustUrl(this._href);\n    }\n    onClick() {\n        if (this.trigger === \"click\") {\n            this.expanded = !this.expanded;\n        }\n    }\n    onMouseOver() {\n        if (this.trigger === \"mouseover\") {\n            this.expanded = true;\n        }\n    }\n    onMouseOut() {\n        if (this.trigger === \"mouseover\") {\n            this.expanded = false;\n        }\n    }\n    onFocusOut(event) {\n        if (!this.elementRef.nativeElement.contains(event.relatedTarget)) {\n            this.expanded = false;\n        }\n    }\n    navigate(event) {\n        if (this._href === \"#\") {\n            event.preventDefault();\n        }\n    }\n}\nHeaderMenu.ɵfac = function HeaderMenu_Factory(t) { return new (t || HeaderMenu)(ɵngcc0.ɵɵdirectiveInject(ɵngcc2.DomSanitizer), ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef)); };\nHeaderMenu.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: HeaderMenu, selectors: [[\"ibm-header-menu\"]], hostBindings: function HeaderMenu_HostBindings(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵlistener(\"click\", function HeaderMenu_click_HostBindingHandler() { return ctx.onClick(); })(\"mouseover\", function HeaderMenu_mouseover_HostBindingHandler() { return ctx.onMouseOver(); })(\"mouseout\", function HeaderMenu_mouseout_HostBindingHandler() { return ctx.onMouseOut(); })(\"focusout\", function HeaderMenu_focusout_HostBindingHandler($event) { return ctx.onFocusOut($event); });\n    } }, inputs: { trigger: \"trigger\", href: \"href\", title: \"title\", headerItems: \"headerItems\", icon: \"icon\" }, ngContentSelectors: _c4, decls: 9, vars: 7, consts: [[\"role\", \"menuitem\", 1, \"bx--header__submenu\", 2, \"height\", \"100%\"], [\"tabindex\", \"0\", \"aria-haspopup\", \"true\", 1, \"bx--header__menu-item\", \"bx--header__menu-title\", 3, \"href\", \"click\"], [4, \"ngIf\", \"ngIfElse\"], [\"defaultIcon\", \"\"], [\"role\", \"menu\", 1, \"bx--header__menu\"], [4, \"ngFor\", \"ngForOf\"], [3, \"ngTemplateOutlet\"], [\"width\", \"12\", \"height\", \"7\", \"aria-hidden\", \"true\", 1, \"bx--header__menu-arrow\"], [\"d\", \"M6.002 5.55L11.27 0l.726.685L6.003 7 0 .685.726 0z\"], [3, \"href\", \"route\", \"routeExtras\"]], template: function HeaderMenu_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵprojectionDef();\n        ɵngcc0.ɵɵelementStart(0, \"li\", 0)(1, \"a\", 1);\n        ɵngcc0.ɵɵlistener(\"click\", function HeaderMenu_Template_a_click_1_listener($event) { return ctx.navigate($event); });\n        ɵngcc0.ɵɵtext(2);\n        ɵngcc0.ɵɵtemplate(3, HeaderMenu_3_Template, 1, 1, null, 2);\n        ɵngcc0.ɵɵtemplate(4, HeaderMenu_ng_template_4_Template, 2, 0, \"ng-template\", null, 3, ɵngcc0.ɵɵtemplateRefExtractor);\n        ɵngcc0.ɵɵelementEnd();\n        ɵngcc0.ɵɵelementStart(6, \"ul\", 4);\n        ɵngcc0.ɵɵprojection(7);\n        ɵngcc0.ɵɵtemplate(8, HeaderMenu_ng_container_8_Template, 3, 4, \"ng-container\", 5);\n        ɵngcc0.ɵɵelementEnd()();\n    } if (rf & 2) {\n        const _r1 = ɵngcc0.ɵɵreference(5);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"href\", ctx.href, ɵngcc0.ɵɵsanitizeUrl);\n        ɵngcc0.ɵɵattribute(\"aria-expanded\", ctx.expanded);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵtextInterpolate1(\" \", ctx.title, \" \");\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.icon)(\"ngIfElse\", _r1);\n        ɵngcc0.ɵɵadvance(3);\n        ɵngcc0.ɵɵattribute(\"aria-label\", ctx.title);\n        ɵngcc0.ɵɵadvance(2);\n        ɵngcc0.ɵɵproperty(\"ngForOf\", ctx.headerItems);\n    } }, dependencies: [ɵngcc4.NgForOf, ɵngcc4.NgIf, ɵngcc4.NgTemplateOutlet, HeaderItem], encapsulation: 2 });\n/** @nocollapse */\nHeaderMenu.ctorParameters = () => [\n    { type: DomSanitizer },\n    { type: ElementRef }\n];\nHeaderMenu.propDecorators = {\n    title: [{ type: Input }],\n    href: [{ type: Input }],\n    trigger: [{ type: Input }],\n    headerItems: [{ type: Input }],\n    icon: [{ type: Input }],\n    onClick: [{ type: HostListener, args: [\"click\",] }],\n    onMouseOver: [{ type: HostListener, args: [\"mouseover\",] }],\n    onMouseOut: [{ type: HostListener, args: [\"mouseout\",] }],\n    onFocusOut: [{ type: HostListener, args: [\"focusout\", [\"$event\"],] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(HeaderMenu, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-header-menu\",\n                template: `\n\t\t<li\n\t\t\tclass=\"bx--header__submenu\"\n\t\t\tstyle=\"height: 100%\"\n\t\t\trole=\"menuitem\">\n\t\t\t<a\n\t\t\t\tclass=\"bx--header__menu-item bx--header__menu-title\"\n\t\t\t\t[href]=\"href\"\n\t\t\t\ttabindex=\"0\"\n\t\t\t\taria-haspopup=\"true\"\n\t\t\t\t[attr.aria-expanded]=\"expanded\"\n\t\t\t\t(click)=\"navigate($event)\">\n\t\t\t\t{{title}}\n\t\t\t\t<ng-template *ngIf=\"icon; else defaultIcon\" [ngTemplateOutlet]=\"icon\"></ng-template>\n\t\t\t\t<ng-template #defaultIcon>\n\t\t\t\t\t<svg class=\"bx--header__menu-arrow\" width=\"12\" height=\"7\" aria-hidden=\"true\">\n\t\t\t\t\t\t<path d=\"M6.002 5.55L11.27 0l.726.685L6.003 7 0 .685.726 0z\" />\n\t\t\t\t\t</svg>\n\t\t\t\t</ng-template>\n\t\t\t</a>\n\t\t\t<ul class=\"bx--header__menu\" role=\"menu\" [attr.aria-label]=\"title\">\n\t\t\t\t<ng-content></ng-content>\n\t\t\t\t<ng-container *ngFor=\"let headerItem of headerItems\">\n\t\t\t\t\t<ibm-header-item\n\t\t\t\t\t\t[href]=\"headerItem.href\"\n\t\t\t\t\t\t[route]=\"headerItem.route\"\n\t\t\t\t\t\t[routeExtras]=\"headerItem.routeExtras\">\n\t\t\t\t\t\t{{ headerItem.content }}\n\t\t\t\t\t</ibm-header-item>\n\t\t\t\t</ng-container>\n\t\t\t</ul>\n\t\t</li>\n\t`\n            }]\n    }], function () { return [{ type: ɵngcc2.DomSanitizer }, { type: ɵngcc0.ElementRef }]; }, { trigger: [{\n            type: Input\n        }], href: [{\n            type: Input\n        }], onClick: [{\n            type: HostListener,\n            args: [\"click\"]\n        }], onMouseOver: [{\n            type: HostListener,\n            args: [\"mouseover\"]\n        }], onMouseOut: [{\n            type: HostListener,\n            args: [\"mouseout\"]\n        }], onFocusOut: [{\n            type: HostListener,\n            args: [\"focusout\", [\"$event\"]]\n        }], title: [{\n            type: Input\n        }], headerItems: [{\n            type: Input\n        }], icon: [{\n            type: Input\n        }] }); })();\n\n/**\n * Container for header navigation items\n */\nclass HeaderNavigation {\n    constructor() {\n        this.height = 100;\n    }\n}\nHeaderNavigation.ɵfac = function HeaderNavigation_Factory(t) { return new (t || HeaderNavigation)(); };\nHeaderNavigation.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: HeaderNavigation, selectors: [[\"ibm-header-navigation\"]], hostVars: 2, hostBindings: function HeaderNavigation_HostBindings(rf, ctx) { if (rf & 2) {\n        ɵngcc0.ɵɵstyleProp(\"height\", ctx.height, \"%\");\n    } }, inputs: { ariaLabel: \"ariaLabel\", navigationItems: \"navigationItems\" }, ngContentSelectors: _c4, decls: 4, vars: 2, consts: [[1, \"bx--header__nav\"], [\"role\", \"menubar\", 1, \"bx--header__menu-bar\"], [4, \"ngFor\", \"ngForOf\"], [3, \"href\", \"route\", \"routeExtras\", \"isCurrentPage\", 4, \"ngIf\"], [3, \"href\", \"title\", \"trigger\", \"headerItems\", 4, \"ngIf\"], [3, \"href\", \"route\", \"routeExtras\", \"isCurrentPage\"], [3, \"href\", \"title\", \"trigger\", \"headerItems\"]], template: function HeaderNavigation_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵprojectionDef();\n        ɵngcc0.ɵɵelementStart(0, \"nav\", 0)(1, \"ul\", 1);\n        ɵngcc0.ɵɵprojection(2);\n        ɵngcc0.ɵɵtemplate(3, HeaderNavigation_ng_container_3_Template, 3, 2, \"ng-container\", 2);\n        ɵngcc0.ɵɵelementEnd()();\n    } if (rf & 2) {\n        ɵngcc0.ɵɵattribute(\"aria-label\", ctx.ariaLabel);\n        ɵngcc0.ɵɵadvance(3);\n        ɵngcc0.ɵɵproperty(\"ngForOf\", ctx.navigationItems);\n    } }, dependencies: [ɵngcc4.NgForOf, ɵngcc4.NgIf, HeaderItem, HeaderMenu], encapsulation: 2 });\nHeaderNavigation.propDecorators = {\n    height: [{ type: HostBinding, args: [\"style.height.%\",] }],\n    ariaLabel: [{ type: Input }],\n    navigationItems: [{ type: Input }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(HeaderNavigation, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-header-navigation\",\n                template: `\n\t\t<nav class=\"bx--header__nav\" [attr.aria-label]=\"ariaLabel\">\n\t\t\t<ul class=\"bx--header__menu-bar\" role=\"menubar\">\n\t\t\t\t<ng-content></ng-content>\n\t\t\t\t<ng-container *ngFor=\"let navigationItem of navigationItems\">\n\t\t\t\t\t<ibm-header-item\n\t\t\t\t\t\t*ngIf=\"navigationItem.type === 'item'\"\n\t\t\t\t\t\t[href]=\"navigationItem.href\"\n\t\t\t\t\t\t[route]=\"navigationItem.route\"\n\t\t\t\t\t\t[routeExtras]=\"navigationItem.routeExtras\"\n\t\t\t\t\t\t[isCurrentPage]=\"!!navigationItem.isCurrentPage\">\n\t\t\t\t\t\t{{ navigationItem.content }}\n\t\t\t\t\t</ibm-header-item>\n\t\t\t\t\t<ibm-header-menu\n\t\t\t\t\t\t*ngIf=\"navigationItem.type === 'menu'\"\n\t\t\t\t\t\t[href]=\"navigationItem.href\"\n\t\t\t\t\t\t[title]=\"navigationItem.title\"\n\t\t\t\t\t\t[trigger]=\"navigationItem.trigger ? navigationItem.trigger : 'click'\"\n\t\t\t\t\t\t[headerItems]=\"navigationItem.menuItems\">\n\t\t\t\t\t</ibm-header-menu>\n\t\t\t\t</ng-container>\n\t\t\t</ul>\n\t\t</nav>\n\t`\n            }]\n    }], function () { return []; }, { height: [{\n            type: HostBinding,\n            args: [\"style.height.%\"]\n        }], ariaLabel: [{\n            type: Input\n        }], navigationItems: [{\n            type: Input\n        }] }); })();\n\n/**\n * Container for `HeaderAction`s.\n */\nclass HeaderGlobal {\n    constructor() {\n        this.hostClass = true;\n    }\n}\nHeaderGlobal.ɵfac = function HeaderGlobal_Factory(t) { return new (t || HeaderGlobal)(); };\nHeaderGlobal.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: HeaderGlobal, selectors: [[\"ibm-header-global\"]], hostVars: 2, hostBindings: function HeaderGlobal_HostBindings(rf, ctx) { if (rf & 2) {\n        ɵngcc0.ɵɵclassProp(\"bx--header__global\", ctx.hostClass);\n    } }, ngContentSelectors: _c4, decls: 1, vars: 0, template: function HeaderGlobal_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵprojectionDef();\n        ɵngcc0.ɵɵprojection(0);\n    } }, encapsulation: 2 });\nHeaderGlobal.propDecorators = {\n    hostClass: [{ type: HostBinding, args: [\"class.bx--header__global\",] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(HeaderGlobal, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-header-global\",\n                template: `\n\t\t<ng-content></ng-content>\n\t`\n            }]\n    }], function () { return []; }, { hostClass: [{\n            type: HostBinding,\n            args: [\"class.bx--header__global\"]\n        }] }); })();\n\n/**\n * Contained by `HeaderGlobal`. Generally used to trigger `Panel`s\n */\nclass HeaderAction {\n    constructor() {\n        /**\n         * Title. Populates the aria-label as well as the browser `title` tooltip\n         */\n        this.title = \"\";\n        /**\n         * Toggles the active state. May be used to toggle a `Panel`s active state.\n         */\n        this.active = false;\n        /**\n         * \"Change\" emitter to allow double binding to the `active` Input.\n         */\n        this.activeChange = new EventEmitter();\n        /**\n         * Emits when the action has been clicked.\n         */\n        this.selected = new EventEmitter();\n    }\n    onClick() {\n        this.active = !this.active;\n        this.selected.emit(this.active);\n        this.activeChange.emit(this.active);\n    }\n}\nHeaderAction.ɵfac = function HeaderAction_Factory(t) { return new (t || HeaderAction)(); };\nHeaderAction.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: HeaderAction, selectors: [[\"ibm-header-action\"]], inputs: { title: \"title\", active: \"active\", ariaLabel: \"ariaLabel\" }, outputs: { activeChange: \"activeChange\", selected: \"selected\" }, ngContentSelectors: _c4, decls: 2, vars: 5, consts: [[1, \"bx--header__action\", 3, \"ngClass\", \"title\", \"click\"]], template: function HeaderAction_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵprojectionDef();\n        ɵngcc0.ɵɵelementStart(0, \"button\", 0);\n        ɵngcc0.ɵɵlistener(\"click\", function HeaderAction_Template_button_click_0_listener() { return ctx.onClick(); });\n        ɵngcc0.ɵɵprojection(1);\n        ɵngcc0.ɵɵelementEnd();\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction1(3, _c5, ctx.active))(\"title\", ctx.title);\n        ɵngcc0.ɵɵattribute(\"aria-label\", ctx.ariaLabel);\n    } }, dependencies: [ɵngcc4.NgClass], encapsulation: 2 });\nHeaderAction.propDecorators = {\n    title: [{ type: Input }],\n    ariaLabel: [{ type: Input }],\n    active: [{ type: Input }],\n    activeChange: [{ type: Output }],\n    selected: [{ type: Output }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(HeaderAction, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-header-action\",\n                template: `\n\t\t<button\n\t\t\tclass=\"bx--header__action\"\n\t\t\t[ngClass]=\"{\n\t\t\t\t'bx--header__action--active': active\n\t\t\t}\"\n\t\t\t[title]=\"title\"\n\t\t\t[attr.aria-label]=\"ariaLabel\"\n\t\t\t(click)=\"onClick()\">\n\t\t\t<ng-content></ng-content>\n\t\t</button>\n\t`\n            }]\n    }], function () { return []; }, { title: [{\n            type: Input\n        }], active: [{\n            type: Input\n        }], activeChange: [{\n            type: Output\n        }], selected: [{\n            type: Output\n        }], ariaLabel: [{\n            type: Input\n        }] }); })();\n\n/**\n * A toggle for the side navigation\n */\nclass Hamburger {\n    constructor(i18n) {\n        this.i18n = i18n;\n        /**\n         * Controls the active/selected state for the `Hamburger` menu.\n         */\n        this.active = false;\n        /**\n         * `EventEmitter` to notify parent components of menu click events.\n         */\n        this.selected = new EventEmitter();\n    }\n    /**\n     * Emit the Hamburger click event upwards.\n     */\n    doClick() {\n        this.selected.emit(this.active);\n    }\n}\nHamburger.ɵfac = function Hamburger_Factory(t) { return new (t || Hamburger)(ɵngcc0.ɵɵdirectiveInject(ɵngcc1.I18n)); };\nHamburger.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: Hamburger, selectors: [[\"ibm-hamburger\"]], inputs: { active: \"active\" }, outputs: { selected: \"selected\" }, decls: 7, vars: 15, consts: [[\"type\", \"button\", 1, \"bx--header__menu-trigger\", \"bx--header__action\", \"bx--header__menu-toggle\", 3, \"ngClass\", \"click\"], [\"ibmIcon\", \"menu\", \"size\", \"20\", 4, \"ngIf\"], [\"ibmIcon\", \"close\", \"size\", \"20\", 4, \"ngIf\"], [\"ibmIcon\", \"menu\", \"size\", \"20\"], [\"ibmIcon\", \"close\", \"size\", \"20\"]], template: function Hamburger_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵelementStart(0, \"button\", 0);\n        ɵngcc0.ɵɵlistener(\"click\", function Hamburger_Template_button_click_0_listener() { return ctx.doClick(); });\n        ɵngcc0.ɵɵpipe(1, \"async\");\n        ɵngcc0.ɵɵpipe(2, \"async\");\n        ɵngcc0.ɵɵpipe(3, \"async\");\n        ɵngcc0.ɵɵpipe(4, \"async\");\n        ɵngcc0.ɵɵtemplate(5, Hamburger__svg_svg_5_Template, 1, 0, \"svg\", 1);\n        ɵngcc0.ɵɵtemplate(6, Hamburger__svg_svg_6_Template, 1, 0, \"svg\", 2);\n        ɵngcc0.ɵɵelementEnd();\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction1(13, _c5, ctx.active));\n        ɵngcc0.ɵɵattribute(\"aria-label\", ctx.active ? ɵngcc0.ɵɵpipeBind1(1, 5, ctx.i18n.get(\"UI_SHELL.HEADER.CLOSE_MENU\")) : ɵngcc0.ɵɵpipeBind1(2, 7, ctx.i18n.get(\"UI_SHELL.HEADER.OPEN_MENU\")))(\"title\", ctx.active ? ɵngcc0.ɵɵpipeBind1(3, 9, ctx.i18n.get(\"UI_SHELL.HEADER.CLOSE_MENU\")) : ɵngcc0.ɵɵpipeBind1(4, 11, ctx.i18n.get(\"UI_SHELL.HEADER.OPEN_MENU\")));\n        ɵngcc0.ɵɵadvance(5);\n        ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.active);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.active);\n    } }, dependencies: [ɵngcc4.NgClass, ɵngcc4.NgIf, ɵngcc5.IconDirective, ɵngcc4.AsyncPipe], encapsulation: 2 });\n/** @nocollapse */\nHamburger.ctorParameters = () => [\n    { type: I18n }\n];\nHamburger.propDecorators = {\n    active: [{ type: Input }],\n    selected: [{ type: Output }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(Hamburger, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-hamburger\",\n                template: `\n\t\t<button\n\t\t\ttype=\"button\"\n\t\t\t(click)=\"doClick()\"\n\t\t\t[ngClass]=\"{'bx--header__action--active': active}\"\n\t\t\tclass=\"bx--header__menu-trigger bx--header__action bx--header__menu-toggle\"\n\t\t\t[attr.aria-label]=\"active\n\t\t\t\t? (i18n.get('UI_SHELL.HEADER.CLOSE_MENU') | async)\n\t\t\t\t: (i18n.get('UI_SHELL.HEADER.OPEN_MENU') | async)\"\n\t\t\t[attr.title]=\"active\n\t\t\t\t? (i18n.get('UI_SHELL.HEADER.CLOSE_MENU') | async)\n\t\t\t\t: (i18n.get('UI_SHELL.HEADER.OPEN_MENU') | async)\">\n\t\t\t<svg *ngIf=\"!active\" ibmIcon=\"menu\" size=\"20\"></svg>\n\t\t\t<svg *ngIf=\"active\" ibmIcon=\"close\" size=\"20\"></svg>\n\t\t</button>\n\t`\n            }]\n    }], function () { return [{ type: ɵngcc1.I18n }]; }, { active: [{\n            type: Input\n        }], selected: [{\n            type: Output\n        }] }); })();\n\nclass HeaderModule {\n}\nHeaderModule.ɵfac = function HeaderModule_Factory(t) { return new (t || HeaderModule)(); };\nHeaderModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: HeaderModule });\nHeaderModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({ imports: [CommonModule,\n        I18nModule,\n        IconModule,\n        RouterModule] });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(HeaderModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    Header,\n                    HeaderItem,\n                    HeaderMenu,\n                    HeaderNavigation,\n                    HeaderGlobal,\n                    HeaderAction,\n                    Hamburger\n                ],\n                imports: [\n                    CommonModule,\n                    I18nModule,\n                    IconModule,\n                    RouterModule\n                ],\n                exports: [\n                    Header,\n                    HeaderItem,\n                    HeaderMenu,\n                    HeaderNavigation,\n                    HeaderGlobal,\n                    HeaderAction,\n                    Hamburger\n                ]\n            }]\n    }], null, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(HeaderModule, { declarations: function () { return [Header, HeaderItem, HeaderMenu, HeaderNavigation, HeaderGlobal, HeaderAction, Hamburger]; }, imports: function () { return [CommonModule,\n        I18nModule,\n        IconModule,\n        RouterModule]; }, exports: function () { return [Header, HeaderItem, HeaderMenu, HeaderNavigation, HeaderGlobal, HeaderAction, Hamburger]; } }); })();\n\n/**\n * `Sidenav` is a fixed left navigation that may contain `SideNavItem`s or `SideNavMenu`s\n *\n * [See demo](../../?path=/story/components-ui-shell--side-navigation)\n *\n * <example-url>../../iframe.html?id=components-ui-shell--side-navigation</example-url>\n */\nclass SideNav {\n    constructor(i18n) {\n        this.i18n = i18n;\n        this.role = \"complementary\";\n        this.hostClass = true;\n        this.ariaLabel = \"Side navigation\";\n        /**\n         * Controls the expanded (`true`) or collapsed (`false`) state when on a small screen.\n         */\n        this.expanded = true;\n        /**\n         * Controls the hidden (`true`) or visible (`false`) state\n         */\n        this.hidden = false;\n        this.rail = false;\n        this.ux = true;\n        this.allowExpansion = false;\n    }\n    toggle() {\n        this.expanded = !this.expanded;\n    }\n}\nSideNav.ɵfac = function SideNav_Factory(t) { return new (t || SideNav)(ɵngcc0.ɵɵdirectiveInject(ɵngcc1.I18n)); };\nSideNav.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: SideNav, selectors: [[\"ibm-sidenav\"]], hostVars: 12, hostBindings: function SideNav_HostBindings(rf, ctx) { if (rf & 2) {\n        ɵngcc0.ɵɵattribute(\"role\", ctx.role)(\"aria-label\", ctx.ariaLabel);\n        ɵngcc0.ɵɵclassProp(\"bx--side-nav\", ctx.hostClass)(\"bx--side-nav--expanded\", ctx.expanded)(\"bx--side-nav--hidden\", ctx.hidden)(\"bx--side-nav--rail\", ctx.rail)(\"bx--side-nav--ux\", ctx.ux);\n    } }, inputs: { ariaLabel: \"ariaLabel\", expanded: \"expanded\", hidden: \"hidden\", rail: \"rail\", allowExpansion: \"allowExpansion\", navigationItems: \"navigationItems\" }, ngContentSelectors: _c7, decls: 8, vars: 3, consts: [[\"role\", \"navigation\", 1, \"bx--side-nav__navigation\"], [1, \"bx--side-nav__items\"], [1, \"bx--side-nav__header-navigation\", \"bx--side-nav__header-divider\"], [4, \"ngFor\", \"ngForOf\"], [1, \"bx--side-nav__footer\"], [\"class\", \"bx--side-nav__toggle\", \"type\", \"button\", 3, \"title\", \"click\", 4, \"ngIf\"], [3, \"href\", \"route\", \"routeExtras\", \"title\", 4, \"ngIf\"], [3, \"title\", \"menuItems\", 4, \"ngIf\"], [3, \"href\", \"route\", \"routeExtras\", \"title\"], [3, \"title\", \"menuItems\"], [\"type\", \"button\", 1, \"bx--side-nav__toggle\", 3, \"title\", \"click\"], [1, \"bx--side-nav__icon\"], [\"focusable\", \"false\", \"preserveAspectRatio\", \"xMidYMid meet\", \"style\", \"will-change: transform;\", \"xmlns\", \"http://www.w3.org/2000/svg\", \"width\", \"20\", \"height\", \"20\", \"viewBox\", \"0 0 32 32\", \"aria-hidden\", \"true\", 4, \"ngIf\"], [1, \"bx--assistive-text\"], [\"focusable\", \"false\", \"preserveAspectRatio\", \"xMidYMid meet\", \"xmlns\", \"http://www.w3.org/2000/svg\", \"width\", \"20\", \"height\", \"20\", \"viewBox\", \"0 0 32 32\", \"aria-hidden\", \"true\", 2, \"will-change\", \"transform\"], [\"d\", \"M24 9.4L22.6 8 16 14.6 9.4 8 8 9.4l6.6 6.6L8 22.6 9.4 24l6.6-6.6 6.6 6.6 1.4-1.4-6.6-6.6L24 9.4z\"], [\"d\", \"M22 16L12 26l-1.4-1.4 8.6-8.6-8.6-8.6L12 6z\"]], template: function SideNav_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵprojectionDef(_c6);\n        ɵngcc0.ɵɵelementStart(0, \"nav\", 0);\n        ɵngcc0.ɵɵprojection(1);\n        ɵngcc0.ɵɵelementStart(2, \"ul\", 1)(3, \"div\", 2);\n        ɵngcc0.ɵɵtemplate(4, SideNav_ng_container_4_Template, 3, 2, \"ng-container\", 3);\n        ɵngcc0.ɵɵelementEnd();\n        ɵngcc0.ɵɵprojection(5, 1);\n        ɵngcc0.ɵɵelementEnd();\n        ɵngcc0.ɵɵelementStart(6, \"footer\", 4);\n        ɵngcc0.ɵɵtemplate(7, SideNav_button_7_Template, 8, 8, \"button\", 5);\n        ɵngcc0.ɵɵelementEnd()();\n    } if (rf & 2) {\n        ɵngcc0.ɵɵattribute(\"aria-label\", ctx.ariaLabel);\n        ɵngcc0.ɵɵadvance(4);\n        ɵngcc0.ɵɵproperty(\"ngForOf\", ctx.navigationItems);\n        ɵngcc0.ɵɵadvance(3);\n        ɵngcc0.ɵɵproperty(\"ngIf\", ctx.allowExpansion);\n    } }, dependencies: function () { return [ɵngcc4.NgForOf, ɵngcc4.NgIf, SideNavItem, SideNavMenu, ɵngcc4.AsyncPipe]; }, encapsulation: 2 });\n/** @nocollapse */\nSideNav.ctorParameters = () => [\n    { type: I18n }\n];\nSideNav.propDecorators = {\n    role: [{ type: HostBinding, args: [\"attr.role\",] }],\n    hostClass: [{ type: HostBinding, args: [\"class.bx--side-nav\",] }],\n    ariaLabel: [{ type: HostBinding, args: [\"attr.aria-label\",] }, { type: Input }],\n    expanded: [{ type: HostBinding, args: [\"class.bx--side-nav--expanded\",] }, { type: Input }],\n    hidden: [{ type: HostBinding, args: [\"class.bx--side-nav--hidden\",] }, { type: Input }],\n    rail: [{ type: HostBinding, args: [\"class.bx--side-nav--rail\",] }, { type: Input }],\n    ux: [{ type: HostBinding, args: [\"class.bx--side-nav--ux\",] }],\n    allowExpansion: [{ type: Input }],\n    navigationItems: [{ type: Input }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(SideNav, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-sidenav\",\n                template: `\n\t\t<nav class=\"bx--side-nav__navigation\" role=\"navigation\" [attr.aria-label]=\"ariaLabel\">\n\t\t\t<ng-content select=\"ibm-sidenav-header\"></ng-content>\n\t\t\t<ul class=\"bx--side-nav__items\">\n\t\t\t\t<div\n\t\t\t\t\tclass=\"bx--side-nav__header-navigation bx--side-nav__header-divider\">\n\t\t\t\t\t<ng-container *ngFor=\"let navigationItem of navigationItems\">\n\t\t\t\t\t\t<ibm-sidenav-item\n\t\t\t\t\t\t\t*ngIf=\"navigationItem.type === 'item'\"\n\t\t\t\t\t\t\t[href]=\"navigationItem.href\"\n\t\t\t\t\t\t\t[route]=\"navigationItem.route\"\n\t\t\t\t\t\t\t[routeExtras]=\"navigationItem.routeExtras\"\n\t\t\t\t\t\t\t[title]=\"navigationItem.title\">\n\t\t\t\t\t\t\t{{ navigationItem.content }}\n\t\t\t\t\t\t</ibm-sidenav-item>\n\t\t\t\t\t\t<ibm-sidenav-menu\n\t\t\t\t\t\t\t*ngIf=\"navigationItem.type === 'menu'\"\n\t\t\t\t\t\t\t[title]=\"navigationItem.title\"\n\t\t\t\t\t\t\t[menuItems]=\"navigationItem.menuItems\">\n\t\t\t\t\t\t</ibm-sidenav-menu>\n\t\t\t\t\t</ng-container>\n\t\t\t\t</div>\n\t\t\t\t<ng-content></ng-content>\n\t\t\t</ul>\n\t\t\t<footer class=\"bx--side-nav__footer\">\n\t\t\t\t<button\n\t\t\t\t\t*ngIf=\"allowExpansion\"\n\t\t\t\t\tclass=\"bx--side-nav__toggle\"\n\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t[title]=\"(expanded ? i18n.get('UI_SHELL.SIDE_NAV.TOGGLE_CLOSE') : i18n.get('UI_SHELL.SIDE_NAV.TOGGLE_OPEN')) | async\"\n\t\t\t\t\t(click)=\"toggle()\">\n\t\t\t\t\t<div class=\"bx--side-nav__icon\">\n\t\t\t\t\t\t<svg\n\t\t\t\t\t\t\t*ngIf=\"expanded\"\n\t\t\t\t\t\t\tfocusable=\"false\"\n\t\t\t\t\t\t\tpreserveAspectRatio=\"xMidYMid meet\"\n\t\t\t\t\t\t\tstyle=\"will-change: transform;\"\n\t\t\t\t\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\t\t\t\t\twidth=\"20\"\n\t\t\t\t\t\t\theight=\"20\"\n\t\t\t\t\t\t\tviewBox=\"0 0 32 32\"\n\t\t\t\t\t\t\taria-hidden=\"true\">\n\t\t\t\t\t\t\t<path d=\"M24 9.4L22.6 8 16 14.6 9.4 8 8 9.4l6.6 6.6L8 22.6 9.4 24l6.6-6.6 6.6 6.6 1.4-1.4-6.6-6.6L24 9.4z\"></path>\n\t\t\t\t\t\t</svg>\n\t\t\t\t\t\t<svg\n\t\t\t\t\t\t\t*ngIf=\"!expanded\"\n\t\t\t\t\t\t\tfocusable=\"false\"\n\t\t\t\t\t\t\tpreserveAspectRatio=\"xMidYMid meet\"\n\t\t\t\t\t\t\tstyle=\"will-change: transform;\"\n\t\t\t\t\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\t\t\t\t\twidth=\"20\"\n\t\t\t\t\t\t\theight=\"20\"\n\t\t\t\t\t\t\tviewBox=\"0 0 32 32\"\n\t\t\t\t\t\t\taria-hidden=\"true\">\n\t\t\t\t\t\t\t<path d=\"M22 16L12 26l-1.4-1.4 8.6-8.6-8.6-8.6L12 6z\"></path>\n\t\t\t\t\t\t</svg>\n\t\t\t\t\t</div>\n\t\t\t\t\t<span class=\"bx--assistive-text\">\n\t\t\t\t\t\t{{(expanded ? i18n.get('UI_SHELL.SIDE_NAV.TOGGLE_CLOSE') : i18n.get('UI_SHELL.SIDE_NAV.TOGGLE_OPEN')) | async}}\n\t\t\t\t\t</span>\n\t\t\t\t</button>\n\t\t\t</footer>\n\t\t</nav>\n\t`,\n                encapsulation: ViewEncapsulation.None\n            }]\n    }], function () { return [{ type: ɵngcc1.I18n }]; }, { role: [{\n            type: HostBinding,\n            args: [\"attr.role\"]\n        }], hostClass: [{\n            type: HostBinding,\n            args: [\"class.bx--side-nav\"]\n        }], ariaLabel: [{\n            type: HostBinding,\n            args: [\"attr.aria-label\"]\n        }, {\n            type: Input\n        }], expanded: [{\n            type: HostBinding,\n            args: [\"class.bx--side-nav--expanded\"]\n        }, {\n            type: Input\n        }], hidden: [{\n            type: HostBinding,\n            args: [\"class.bx--side-nav--hidden\"]\n        }, {\n            type: Input\n        }], rail: [{\n            type: HostBinding,\n            args: [\"class.bx--side-nav--rail\"]\n        }, {\n            type: Input\n        }], ux: [{\n            type: HostBinding,\n            args: [\"class.bx--side-nav--ux\"]\n        }], allowExpansion: [{\n            type: Input\n        }], navigationItems: [{\n            type: Input\n        }] }); })();\n\n/**\n * `SideNavItem` can either be a child of `SideNav` or `SideNavMenu`\n */\nclass SideNavItem {\n    constructor(domSanitizer, router) {\n        this.domSanitizer = domSanitizer;\n        this.router = router;\n        /**\n         * Toggles the active (current page) state for the link.\n         */\n        this.active = false;\n        this.isSubMenu = false;\n        /**\n         * Emits the navigation status promise when the link is activated\n         */\n        this.navigation = new EventEmitter();\n        /**\n         * Emits when `active` input is changed. This is mainly used to indicate to any parent menu items that a\n         * child sidenav item is active or not active.\n         */\n        this.selected = new EventEmitter();\n        this._href = \"#\";\n    }\n    /**\n     * Link for the item. NOTE: *do not* pass unsafe or untrusted values, this has the potential to open you up to XSS attacks\n     */\n    set href(v) {\n        // Needed when component is created dynamically with a model.\n        if (v === undefined) {\n            return;\n        }\n        this._href = v;\n    }\n    get href() {\n        return this.domSanitizer.bypassSecurityTrustUrl(this._href);\n    }\n    ngOnChanges(changes) {\n        if (changes.active) {\n            this.selected.emit(this.active);\n        }\n    }\n    navigate(event) {\n        if (this.router && this.route) {\n            event.preventDefault();\n            const status = this.router.navigate(this.route, this.routeExtras);\n            this.navigation.emit(status);\n        }\n        else if (this._href === \"#\") {\n            event.preventDefault();\n        }\n    }\n}\nSideNavItem.ɵfac = function SideNavItem_Factory(t) { return new (t || SideNavItem)(ɵngcc0.ɵɵdirectiveInject(ɵngcc2.DomSanitizer), ɵngcc0.ɵɵdirectiveInject(ɵngcc3.Router, 8)); };\nSideNavItem.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: SideNavItem, selectors: [[\"ibm-sidenav-item\"]], inputs: { active: \"active\", isSubMenu: \"isSubMenu\", href: \"href\", route: \"route\", routeExtras: \"routeExtras\", title: \"title\" }, outputs: { navigation: \"navigation\", selected: \"selected\" }, features: [ɵngcc0.ɵɵNgOnChangesFeature], ngContentSelectors: _c11, decls: 5, vars: 13, consts: [[3, \"ngClass\"], [1, \"bx--side-nav__link\", 3, \"href\", \"ngClass\", \"click\"], [\"class\", \"bx--side-nav__icon\", 4, \"ngIf\"], [1, \"bx--side-nav__link-text\"], [1, \"bx--side-nav__icon\"]], template: function SideNavItem_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵprojectionDef(_c8);\n        ɵngcc0.ɵɵelementStart(0, \"li\", 0)(1, \"a\", 1);\n        ɵngcc0.ɵɵlistener(\"click\", function SideNavItem_Template_a_click_1_listener($event) { return ctx.navigate($event); });\n        ɵngcc0.ɵɵtemplate(2, SideNavItem_div_2_Template, 2, 0, \"div\", 2);\n        ɵngcc0.ɵɵelementStart(3, \"span\", 3);\n        ɵngcc0.ɵɵprojection(4);\n        ɵngcc0.ɵɵelementEnd()()();\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction2(8, _c9, !ctx.isSubMenu, ctx.isSubMenu));\n        ɵngcc0.ɵɵattribute(\"role\", ctx.isSubMenu ? \"listitem\" : null);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"href\", ctx.href, ɵngcc0.ɵɵsanitizeUrl)(\"ngClass\", ɵngcc0.ɵɵpureFunction1(11, _c10, ctx.active));\n        ɵngcc0.ɵɵattribute(\"role\", ctx.isSubMenu ? \"menuitem\" : null)(\"aria-current\", ctx.active ? \"page\" : null)(\"title\", ctx.title ? ctx.title : null);\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.isSubMenu);\n    } }, dependencies: [ɵngcc4.NgClass, ɵngcc4.NgIf], encapsulation: 2 });\n/** @nocollapse */\nSideNavItem.ctorParameters = () => [\n    { type: DomSanitizer },\n    { type: Router, decorators: [{ type: Optional }] }\n];\nSideNavItem.propDecorators = {\n    href: [{ type: Input }],\n    active: [{ type: Input }],\n    route: [{ type: Input }],\n    isSubMenu: [{ type: Input }],\n    routeExtras: [{ type: Input }],\n    title: [{ type: Input }],\n    navigation: [{ type: Output }],\n    selected: [{ type: Output }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(SideNavItem, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-sidenav-item\",\n                template: `\n\t\t<li [ngClass]=\"{\n\t\t\t'bx--side-nav__item': !isSubMenu,\n\t\t\t'bx--side-nav__menu-item': isSubMenu\n\t\t}\"\n\t\t[attr.role]=\"(isSubMenu ? 'listitem' : null)\">\n\t\t\t<a\n\t\t\t\tclass=\"bx--side-nav__link\"\n\t\t\t\t[href]=\"href\"\n\t\t\t\t[ngClass]=\"{\n\t\t\t\t\t'bx--side-nav__link--current': active\n\t\t\t\t}\"\n\t\t\t\t[attr.role]=\"(isSubMenu ? 'menuitem' : null)\"\n\t\t\t\t[attr.aria-current]=\"(active ? 'page' : null)\"\n\t\t\t\t[attr.title]=\"title ? title : null\"\n\t\t\t\t(click)=\"navigate($event)\">\n\t\t\t\t<div *ngIf=\"!isSubMenu\" class=\"bx--side-nav__icon\">\n\t\t\t\t\t<ng-content select=\"svg, [icon]\"></ng-content>\n\t\t\t\t</div>\n\t\t\t\t<span class=\"bx--side-nav__link-text\">\n\t\t\t\t\t<ng-content></ng-content>\n\t\t\t\t</span>\n\t\t\t</a>\n\t\t</li>\n\t`\n            }]\n    }], function () { return [{ type: ɵngcc2.DomSanitizer }, { type: ɵngcc3.Router, decorators: [{\n                type: Optional\n            }] }]; }, { active: [{\n            type: Input\n        }], isSubMenu: [{\n            type: Input\n        }], navigation: [{\n            type: Output\n        }], selected: [{\n            type: Output\n        }], href: [{\n            type: Input\n        }], route: [{\n            type: Input\n        }], routeExtras: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }] }); })();\n\n/**\n * `SideNavMenu` provides a method to group `SideNavItem`s under a common heading.\n */\nclass SideNavMenu {\n    constructor() {\n        /**\n         * Controls the visibility of the child `SideNavItem`s\n         */\n        this.expanded = false;\n        /**\n         * Controls the active status indicator on the menu if there is an active\n         * child sidenav item.\n         */\n        this.hasActiveChild = false;\n        this.activeItemsSubscription = new Subscription();\n    }\n    ngAfterContentInit() {\n        setTimeout(() => {\n            this.sidenavItems.forEach(item => {\n                item.isSubMenu = true;\n                this.findActiveChildren();\n                const activeItemSubscription = item.selected.subscribe(() => {\n                    this.findActiveChildren();\n                });\n                this.activeItemsSubscription.add(activeItemSubscription);\n            });\n            this.sidenavItems.changes.subscribe(() => {\n                this.sidenavItems.forEach(item => {\n                    item.isSubMenu = true;\n                    this.findActiveChildren();\n                    const activeItemSubscription = item.selected.subscribe(() => {\n                        this.findActiveChildren();\n                    });\n                    this.activeItemsSubscription.add(activeItemSubscription);\n                });\n            });\n        });\n    }\n    ngOnDestroy() {\n        this.activeItemsSubscription.unsubscribe();\n    }\n    toggle() {\n        this.expanded = !this.expanded;\n    }\n    findActiveChildren() {\n        this.hasActiveChild = this.sidenavItems.some(item => item.active);\n    }\n}\nSideNavMenu.ɵfac = function SideNavMenu_Factory(t) { return new (t || SideNavMenu)(); };\nSideNavMenu.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: SideNavMenu, selectors: [[\"ibm-sidenav-menu\"]], contentQueries: function SideNavMenu_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {\n        ɵngcc0.ɵɵcontentQuery(dirIndex, SideNavItem, 4);\n    } if (rf & 2) {\n        let _t;\n        ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.sidenavItems = _t);\n    } }, inputs: { expanded: \"expanded\", hasActiveChild: \"hasActiveChild\", title: \"title\", menuItems: \"menuItems\" }, ngContentSelectors: _c14, decls: 12, vars: 6, consts: [[1, \"bx--side-nav__item\", \"bx--side-nav__item--icon\", 3, \"ngClass\"], [\"aria-haspopup\", \"true\", \"type\", \"button\", 1, \"bx--side-nav__submenu\", 3, \"click\"], [1, \"bx--side-nav__icon\"], [1, \"bx--side-nav__submenu-title\"], [1, \"bx--side-nav__icon\", \"bx--side-nav__icon--small\", \"bx--side-nav__submenu-chevron\"], [\"focusable\", \"false\", \"preserveAspectRatio\", \"xMidYMid meet\", \"xmlns\", \"http://www.w3.org/2000/svg\", \"width\", \"20\", \"height\", \"20\", \"viewBox\", \"0 0 32 32\", \"aria-hidden\", \"true\", 2, \"will-change\", \"transform\"], [\"d\", \"M16 22L6 12l1.4-1.4 8.6 8.6 8.6-8.6L26 12z\"], [\"role\", \"menu\", 1, \"bx--side-nav__menu\"], [4, \"ngFor\", \"ngForOf\"], [3, \"href\", \"route\", \"routeExtras\", \"isSubMenu\"]], template: function SideNavMenu_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵprojectionDef(_c12);\n        ɵngcc0.ɵɵelementStart(0, \"li\", 0)(1, \"button\", 1);\n        ɵngcc0.ɵɵlistener(\"click\", function SideNavMenu_Template_button_click_1_listener() { return ctx.toggle(); });\n        ɵngcc0.ɵɵelementStart(2, \"div\", 2);\n        ɵngcc0.ɵɵprojection(3);\n        ɵngcc0.ɵɵelementEnd();\n        ɵngcc0.ɵɵelementStart(4, \"span\", 3);\n        ɵngcc0.ɵɵtext(5);\n        ɵngcc0.ɵɵelementEnd();\n        ɵngcc0.ɵɵelementStart(6, \"div\", 4);\n        ɵngcc0.ɵɵnamespaceSVG();\n        ɵngcc0.ɵɵelementStart(7, \"svg\", 5);\n        ɵngcc0.ɵɵelement(8, \"path\", 6);\n        ɵngcc0.ɵɵelementEnd()()();\n        ɵngcc0.ɵɵnamespaceHTML();\n        ɵngcc0.ɵɵelementStart(9, \"ul\", 7);\n        ɵngcc0.ɵɵprojection(10, 1);\n        ɵngcc0.ɵɵtemplate(11, SideNavMenu_ng_container_11_Template, 3, 5, \"ng-container\", 8);\n        ɵngcc0.ɵɵelementEnd()();\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction1(4, _c13, ctx.hasActiveChild));\n        ɵngcc0.ɵɵadvance(1);\n        ɵngcc0.ɵɵattribute(\"aria-expanded\", ctx.expanded);\n        ɵngcc0.ɵɵadvance(4);\n        ɵngcc0.ɵɵtextInterpolate(ctx.title);\n        ɵngcc0.ɵɵadvance(6);\n        ɵngcc0.ɵɵproperty(\"ngForOf\", ctx.menuItems);\n    } }, dependencies: [ɵngcc4.NgClass, ɵngcc4.NgForOf, SideNavItem], encapsulation: 2 });\nSideNavMenu.propDecorators = {\n    title: [{ type: Input }],\n    expanded: [{ type: Input }],\n    hasActiveChild: [{ type: Input }],\n    menuItems: [{ type: Input }],\n    sidenavItems: [{ type: ContentChildren, args: [SideNavItem,] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(SideNavMenu, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-sidenav-menu\",\n                template: `\n\t\t<li\n\t\t\tclass=\"bx--side-nav__item bx--side-nav__item--icon\"\n\t\t\t[ngClass]=\"{ 'bx--side-nav__item--active': hasActiveChild }\">\n\t\t\t<button\n\t\t\t\t(click)=\"toggle()\"\n\t\t\t\tclass=\"bx--side-nav__submenu\"\n\t\t\t\taria-haspopup=\"true\"\n\t\t\t\t[attr.aria-expanded]=\"expanded\"\n\t\t\t\ttype=\"button\">\n\t\t\t\t<div class=\"bx--side-nav__icon\">\n\t\t\t\t\t<ng-content select=\"svg, [icon]\"></ng-content>\n\t\t\t\t</div>\n\t\t\t\t<span class=\"bx--side-nav__submenu-title\">{{title}}</span>\n\t\t\t\t<div class=\"bx--side-nav__icon bx--side-nav__icon--small bx--side-nav__submenu-chevron\">\n\t\t\t\t\t<svg\n\t\t\t\t\t\tfocusable=\"false\"\n\t\t\t\t\t\tpreserveAspectRatio=\"xMidYMid meet\"\n\t\t\t\t\t\tstyle=\"will-change: transform;\"\n\t\t\t\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\t\t\t\twidth=\"20\"\n\t\t\t\t\t\theight=\"20\"\n\t\t\t\t\t\tviewBox=\"0 0 32 32\"\n\t\t\t\t\t\taria-hidden=\"true\">\n\t\t\t\t\t\t<path d=\"M16 22L6 12l1.4-1.4 8.6 8.6 8.6-8.6L26 12z\"></path>\n\t\t\t\t\t</svg>\n\t\t\t\t</div>\n\t\t\t</button>\n\t\t\t<ul class=\"bx--side-nav__menu\" role=\"menu\">\n\t\t\t\t<ng-content></ng-content>\n\t\t\t\t<ng-container *ngFor=\"let menuItem of menuItems\">\n\t\t\t\t\t<ibm-sidenav-item\n\t\t\t\t\t\t[href]=\"menuItem.href\"\n\t\t\t\t\t\t[route]=\"menuItem.route\"\n\t\t\t\t\t\t[routeExtras]=\"menuItem.routeExtras\"\n\t\t\t\t\t\t[isSubMenu]=\"true\">\n\t\t\t\t\t\t{{ menuItem.content }}\n\t\t\t\t\t</ibm-sidenav-item>\n\t\t\t\t</ng-container>\n\t\t\t</ul>\n\t\t</li>\n\t`\n            }]\n    }], function () { return []; }, { expanded: [{\n            type: Input\n        }], hasActiveChild: [{\n            type: Input\n        }], title: [{\n            type: Input\n        }], menuItems: [{\n            type: Input\n        }], sidenavItems: [{\n            type: ContentChildren,\n            args: [SideNavItem]\n        }] }); })();\n\nclass SideNavModule {\n}\nSideNavModule.ɵfac = function SideNavModule_Factory(t) { return new (t || SideNavModule)(); };\nSideNavModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: SideNavModule });\nSideNavModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({ imports: [CommonModule, I18nModule] });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(SideNavModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    SideNav,\n                    SideNavItem,\n                    SideNavMenu\n                ],\n                imports: [CommonModule, I18nModule],\n                exports: [\n                    SideNav,\n                    SideNavItem,\n                    SideNavMenu\n                ]\n            }]\n    }], null, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(SideNavModule, { declarations: function () { return [SideNav, SideNavItem, SideNavMenu]; }, imports: function () { return [CommonModule, I18nModule]; }, exports: function () { return [SideNav, SideNavItem, SideNavMenu]; } }); })();\n\n/**\n * `Panel` is a component that can be used to display content on the right side of the screen.\n * `Panel`s are generally activated by and linked to a `HeaderAction` component.\n */\nclass Panel {\n    constructor() {\n        /**\n         * Controls the visibility of the panel\n         */\n        this.expanded = false;\n    }\n}\nPanel.ɵfac = function Panel_Factory(t) { return new (t || Panel)(); };\nPanel.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: Panel, selectors: [[\"ibm-panel\"]], inputs: { expanded: \"expanded\", ariaLabel: \"ariaLabel\" }, ngContentSelectors: _c4, decls: 2, vars: 4, consts: [[1, \"bx--panel--overlay\", 3, \"ngClass\"]], template: function Panel_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵprojectionDef();\n        ɵngcc0.ɵɵelementStart(0, \"div\", 0);\n        ɵngcc0.ɵɵprojection(1);\n        ɵngcc0.ɵɵelementEnd();\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction1(2, _c15, ctx.expanded));\n        ɵngcc0.ɵɵattribute(\"aria-label\", ctx.ariaLabel);\n    } }, dependencies: [ɵngcc4.NgClass], encapsulation: 2 });\nPanel.propDecorators = {\n    expanded: [{ type: Input }],\n    ariaLabel: [{ type: Input }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(Panel, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-panel\",\n                template: `\n\t\t<div\n\t\t\tclass=\"bx--panel--overlay\"\n\t\t\t[attr.aria-label]=\"ariaLabel\"\n\t\t\t[ngClass]=\"{\n\t\t\t\t'bx--panel--expanded': expanded\n\t\t\t}\">\n\t\t\t<ng-content></ng-content>\n\t\t</div>\n\t`\n            }]\n    }], function () { return []; }, { expanded: [{\n            type: Input\n        }], ariaLabel: [{\n            type: Input\n        }] }); })();\n\n/**\n * Container for switcher items.\n *\n * ```html\n * <ibm-switcher-list>\n * \t<ibm-switcher-list-item>one</ibm-switcher-list-item>\n * \t<ibm-switcher-list-item [active]=\"true\">two</ibm-switcher-list-item>\n * \t<ibm-switcher-list-item>three</ibm-switcher-list-item>\n * </ibm-switcher-list>\n * ```\n */\nclass SwitcherList {\n}\nSwitcherList.ɵfac = function SwitcherList_Factory(t) { return new (t || SwitcherList)(); };\nSwitcherList.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: SwitcherList, selectors: [[\"ibm-switcher-list\"]], ngContentSelectors: _c4, decls: 2, vars: 0, consts: [[1, \"bx--switcher\"]], template: function SwitcherList_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵprojectionDef();\n        ɵngcc0.ɵɵelementStart(0, \"ul\", 0);\n        ɵngcc0.ɵɵprojection(1);\n        ɵngcc0.ɵɵelementEnd();\n    } }, encapsulation: 2 });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(SwitcherList, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-switcher-list\",\n                template: `\n\t\t<ul class=\"bx--switcher\">\n\t\t\t<ng-content></ng-content>\n\t\t</ul>\n\t`\n            }]\n    }], null, null); })();\n\n/**\n * Represents an item in a switcher list.\n */\nclass SwitcherListItem {\n    constructor(domSanitizer, router) {\n        this.domSanitizer = domSanitizer;\n        this.router = router;\n        /**\n         * Enables the \"active\" state for an item. Commonly used to indicate the current page or selection.\n         */\n        this.active = false;\n        /**\n         * Emits the navigation status promise when the link is activated\n         */\n        this.navigation = new EventEmitter();\n        this.itemClass = true;\n        this.itemRole = \"listitem\";\n        this._href = \"#\";\n        this._target = \"\";\n    }\n    /**\n     * Optional link for the underlying anchor.\n     */\n    set href(value) {\n        this._href = value;\n    }\n    get href() {\n        return this.domSanitizer.bypassSecurityTrustUrl(this._href);\n    }\n    /**\n     * Optional target for the underlying anchor.\n     */\n    set target(value) {\n        this._target = value;\n    }\n    get target() {\n        return this._target;\n    }\n    navigate(event) {\n        if (this.router && this.route) {\n            event.preventDefault();\n            const status = this.router.navigate(this.route, this.routeExtras);\n            this.navigation.emit(status);\n        }\n        else if (this._href === \"#\") {\n            event.preventDefault();\n        }\n    }\n}\nSwitcherListItem.ɵfac = function SwitcherListItem_Factory(t) { return new (t || SwitcherListItem)(ɵngcc0.ɵɵdirectiveInject(ɵngcc2.DomSanitizer), ɵngcc0.ɵɵdirectiveInject(ɵngcc3.Router, 8)); };\nSwitcherListItem.ɵcmp = /*@__PURE__*/ ɵngcc0.ɵɵdefineComponent({ type: SwitcherListItem, selectors: [[\"ibm-switcher-list-item\"]], hostVars: 3, hostBindings: function SwitcherListItem_HostBindings(rf, ctx) { if (rf & 2) {\n        ɵngcc0.ɵɵattribute(\"role\", ctx.itemRole);\n        ɵngcc0.ɵɵclassProp(\"bx--switcher__item\", ctx.itemClass);\n    } }, inputs: { active: \"active\", href: \"href\", target: \"target\", route: \"route\", routeExtras: \"routeExtras\" }, outputs: { navigation: \"navigation\" }, ngContentSelectors: _c4, decls: 2, vars: 5, consts: [[1, \"bx--switcher__item-link\", 3, \"ngClass\", \"href\", \"target\", \"click\"]], template: function SwitcherListItem_Template(rf, ctx) { if (rf & 1) {\n        ɵngcc0.ɵɵprojectionDef();\n        ɵngcc0.ɵɵelementStart(0, \"a\", 0);\n        ɵngcc0.ɵɵlistener(\"click\", function SwitcherListItem_Template_a_click_0_listener($event) { return ctx.navigate($event); });\n        ɵngcc0.ɵɵprojection(1);\n        ɵngcc0.ɵɵelementEnd();\n    } if (rf & 2) {\n        ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction1(3, _c16, ctx.active))(\"href\", ctx.href, ɵngcc0.ɵɵsanitizeUrl)(\"target\", ctx.target);\n    } }, dependencies: [ɵngcc4.NgClass], encapsulation: 2 });\n/** @nocollapse */\nSwitcherListItem.ctorParameters = () => [\n    { type: DomSanitizer },\n    { type: Router, decorators: [{ type: Optional }] }\n];\nSwitcherListItem.propDecorators = {\n    active: [{ type: Input }],\n    route: [{ type: Input }],\n    routeExtras: [{ type: Input }],\n    href: [{ type: Input }],\n    navigation: [{ type: Output }],\n    target: [{ type: Input }],\n    itemClass: [{ type: HostBinding, args: [\"class.bx--switcher__item\",] }],\n    itemRole: [{ type: HostBinding, args: [\"attr.role\",] }]\n};\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(SwitcherListItem, [{\n        type: Component,\n        args: [{\n                selector: \"ibm-switcher-list-item\",\n                template: `\n\t\t<a\n\t\t\tclass=\"bx--switcher__item-link\"\n\t\t\t[ngClass]=\"{\n\t\t\t\t'bx--switcher__item-link--selected': active\n\t\t\t}\"\n\t\t\t[href]=\"href\"\n\t\t\t[target]=\"target\"\n\t\t\t(click)=\"navigate($event)\">\n\t\t\t<ng-content></ng-content>\n\t\t</a>\n\t`\n            }]\n    }], function () { return [{ type: ɵngcc2.DomSanitizer }, { type: ɵngcc3.Router, decorators: [{\n                type: Optional\n            }] }]; }, { active: [{\n            type: Input\n        }], navigation: [{\n            type: Output\n        }], itemClass: [{\n            type: HostBinding,\n            args: [\"class.bx--switcher__item\"]\n        }], itemRole: [{\n            type: HostBinding,\n            args: [\"attr.role\"]\n        }], href: [{\n            type: Input\n        }], target: [{\n            type: Input\n        }], route: [{\n            type: Input\n        }], routeExtras: [{\n            type: Input\n        }] }); })();\n\nclass PanelModule {\n}\nPanelModule.ɵfac = function PanelModule_Factory(t) { return new (t || PanelModule)(); };\nPanelModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: PanelModule });\nPanelModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({ imports: [CommonModule, I18nModule] });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(PanelModule, [{\n        type: NgModule,\n        args: [{\n                declarations: [\n                    Panel,\n                    SwitcherList,\n                    SwitcherListItem\n                ],\n                imports: [CommonModule, I18nModule],\n                exports: [\n                    Panel,\n                    SwitcherList,\n                    SwitcherListItem\n                ]\n            }]\n    }], null, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(PanelModule, { declarations: function () { return [Panel, SwitcherList, SwitcherListItem]; }, imports: function () { return [CommonModule, I18nModule]; }, exports: function () { return [Panel, SwitcherList, SwitcherListItem]; } }); })();\n\nclass UIShellModule {\n}\nUIShellModule.ɵfac = function UIShellModule_Factory(t) { return new (t || UIShellModule)(); };\nUIShellModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: UIShellModule });\nUIShellModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({ imports: [CommonModule,\n        I18nModule,\n        HeaderModule,\n        SideNavModule,\n        PanelModule, HeaderModule, SideNavModule, PanelModule] });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(UIShellModule, [{\n        type: NgModule,\n        args: [{\n                imports: [\n                    CommonModule,\n                    I18nModule,\n                    HeaderModule,\n                    SideNavModule,\n                    PanelModule\n                ],\n                exports: [\n                    HeaderModule,\n                    SideNavModule,\n                    PanelModule\n                ]\n            }]\n    }], null, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(UIShellModule, { imports: function () { return [CommonModule,\n        I18nModule, HeaderModule, SideNavModule, PanelModule]; }, exports: function () { return [HeaderModule, SideNavModule, PanelModule]; } }); })();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { Header, HeaderItem, HeaderMenu, HeaderNavigation, HeaderGlobal, HeaderAction, Hamburger, HeaderModule, SideNav, SideNavItem, SideNavMenu, SideNavModule, Panel, SwitcherList, SwitcherListItem, PanelModule, UIShellModule };\n\n","/**\n *\n * carbon-angular v0.0.0 | carbon-components-angular-utils.js\n *\n * Copyright 2014, 2023 IBM\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\nimport * as ɵngcc0 from '@angular/core';\nexport { PLACEMENTS, Position, defaultPositions, position } from '@carbon/utils-position';\nimport { map } from 'rxjs/operators';\nimport { Injectable, NgZone, NgModule, Optional, SkipSelf } from '@angular/core';\nimport { Subject, from, fromEvent, merge, Observable, Subscription } from 'rxjs';\n\nfunction findSiblingElem(target, direction) {\n    if (target[direction]) {\n        if (target[direction].classList.contains(\"disabled\")) {\n            return findSiblingElem(target[direction], direction);\n        }\n        return target[direction];\n    }\n}\nfunction findNextElem(target) {\n    return findSiblingElem(target, \"nextElementSibling\");\n}\nfunction findPrevElem(target) {\n    return findSiblingElem(target, \"previousElementSibling\");\n}\n// check for Hight contrast mode\nfunction HcModeChecker() {\n    let colorTest = \"rgb(255, 0, 0)\";\n    let htmlChecker = document.createElement(\"div\");\n    htmlChecker.classList.add(\"hc-checker\");\n    document.body.appendChild(htmlChecker);\n    if (window.getComputedStyle(htmlChecker).backgroundColor.toString() !== colorTest) {\n        document.body.classList.add(\"a11y\");\n    }\n    document.body.removeChild(htmlChecker);\n}\nfunction focusNextTree(elem, rootElem = null) {\n    if (elem) {\n        let focusable = elem.querySelector(\"[tabindex='0']\");\n        if (focusable) {\n            focusable.focus();\n        }\n        else {\n            focusNextElem(elem, rootElem);\n        }\n    }\n}\nfunction focusNextElem(elem, rootElem = null) {\n    if (elem) {\n        let nextElem = elem.nextElementSibling;\n        if (nextElem) {\n            let focusableElem = nextElem.querySelector(\"[tabindex='0']\");\n            if (focusableElem) {\n                focusableElem.focus();\n            }\n            else {\n                focusNextElem(nextElem, rootElem);\n            }\n        }\n        else {\n            if (rootElem) {\n                let nextRootElem = rootElem.nextElementSibling;\n                if (nextRootElem) {\n                    focusNextTree(nextRootElem, rootElem);\n                }\n            }\n        }\n    }\n}\nfunction focusPrevElem(elem, parentRef = null) {\n    if (elem) {\n        let prevElem = elem.previousElementSibling;\n        if (prevElem) {\n            let focusableElem = prevElem.querySelector(\"[tabindex='0']\");\n            if (focusableElem) {\n                if (focusableElem.getAttribute(\"aria-expanded\") === \"true\") {\n                    let lastFocElms = prevElem.querySelectorAll(\"[tabindex='0']\");\n                    let arrLen = lastFocElms.length - 1;\n                    for (let i = arrLen; i >= 0; i--) {\n                        if (!!(lastFocElms[i].offsetWidth || lastFocElms[i].offsetHeight ||\n                            lastFocElms[i].getClientRects().length)) {\n                            focusableElem = lastFocElms[i];\n                            break;\n                        }\n                    }\n                }\n                focusableElem.focus();\n            }\n            else {\n                focusPrevElem(prevElem, parentRef);\n            }\n        }\n        else {\n            if (parentRef) {\n                parentRef.querySelector(\"[tabindex='0']\").focus();\n            }\n        }\n    }\n}\n\nclass AnimationFrameServiceSingleton {\n    constructor(ngZone) {\n        this.ngZone = ngZone;\n        this.frameSource = new Subject();\n        this.tick = this.frameSource.asObservable();\n        this.ngZone.runOutsideAngular(() => {\n            this.animationFrameId = requestAnimationFrame(this.doTick.bind(this));\n        });\n    }\n    ngOnDestroy() {\n        cancelAnimationFrame(this.animationFrameId);\n    }\n    doTick(frame) {\n        this.frameSource.next(frame);\n        this.ngZone.runOutsideAngular(() => {\n            requestAnimationFrame(this.doTick.bind(this));\n        });\n    }\n}\nAnimationFrameServiceSingleton.ɵfac = function AnimationFrameServiceSingleton_Factory(t) { return new (t || AnimationFrameServiceSingleton)(ɵngcc0.ɵɵinject(ɵngcc0.NgZone)); };\nAnimationFrameServiceSingleton.ɵprov = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjectable({ token: AnimationFrameServiceSingleton, factory: AnimationFrameServiceSingleton.ɵfac });\n/** @nocollapse */\nAnimationFrameServiceSingleton.ctorParameters = () => [\n    { type: NgZone }\n];\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(AnimationFrameServiceSingleton, [{\n        type: Injectable\n    }], function () { return [{ type: ɵngcc0.NgZone }]; }, null); })();\nclass AnimationFrameService {\n    constructor(singleton) {\n        this.singleton = singleton;\n        this.tick = from(this.singleton.tick);\n    }\n}\nAnimationFrameService.ɵfac = function AnimationFrameService_Factory(t) { return new (t || AnimationFrameService)(ɵngcc0.ɵɵinject(AnimationFrameServiceSingleton)); };\nAnimationFrameService.ɵprov = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjectable({ token: AnimationFrameService, factory: AnimationFrameService.ɵfac });\n/** @nocollapse */\nAnimationFrameService.ctorParameters = () => [\n    { type: AnimationFrameServiceSingleton }\n];\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(AnimationFrameService, [{\n        type: Injectable\n    }], function () { return [{ type: AnimationFrameServiceSingleton }]; }, null); })();\n\n// custom deep object merge\nconst merge$1 = (target, ...objects) => {\n    for (const object of objects) {\n        for (const key in object) {\n            if (object.hasOwnProperty(key)) {\n                // since we're dealing just with JSON this simple check should be enough\n                if (object[key] instanceof Object) {\n                    if (!target[key]) {\n                        target[key] = {};\n                    }\n                    // recursively merge into the target\n                    // most translations only run 3 or 4 levels deep, so no stack explosions\n                    target[key] = merge$1(target[key], object[key]);\n                }\n                else {\n                    target[key] = object[key];\n                }\n            }\n        }\n    }\n    return target;\n};\n\n/**\n * Checks if a given element is scrollable.\n * If the element has an overflow set as part of its computed style it can scroll.\n * @param element the element to check scrollability\n */\nconst isScrollableElement = (element) => {\n    const computedStyle = getComputedStyle(element);\n    return (computedStyle.overflow === \"auto\" ||\n        computedStyle.overflow === \"scroll\" ||\n        computedStyle[\"overflow-y\"] === \"auto\" ||\n        computedStyle[\"overflow-y\"] === \"scroll\" ||\n        computedStyle[\"overflow-x\"] === \"auto\" ||\n        computedStyle[\"overflow-x\"] === \"scroll\");\n};\n/**\n * Checks if an element is visible within a container\n * @param element the element to check\n * @param container the container to check\n */\nconst isVisibleInContainer = (element, container) => {\n    const elementRect = element.getBoundingClientRect();\n    const containerRect = container.getBoundingClientRect();\n    // If there exists `height: 100%` on the `html` or `body` tag of an application,\n    // it causes the calculation to return true if you need to scroll before the element is seen.\n    // In that case we calculate its visibility based on the window viewport.\n    if (container.tagName === \"BODY\" || container.tagName === \"HTML\") {\n        // This checks if element is within the top, bottom, left and right of viewport, ie. if the element is visible in\n        // the screen. This also takes into account partial visibility of an element.\n        const isAboveViewport = elementRect.top < 0 && (elementRect.top + element.clientHeight) < 0;\n        const isLeftOfViewport = elementRect.left < 0;\n        const isBelowViewport = (elementRect.bottom - element.clientHeight) > (window.innerHeight || document.documentElement.clientHeight);\n        const isRightOfViewport = elementRect.right > (window.innerWidth || document.documentElement.clientWidth);\n        const isVisibleInViewport = !(isAboveViewport || isBelowViewport || isLeftOfViewport || isRightOfViewport);\n        return isVisibleInViewport;\n    }\n    return (\n    // This also accounts for partial visibility. It will still return true if the element is partially visible inside the container.\n    (elementRect.bottom - element.clientHeight) <= (containerRect.bottom + (container.offsetHeight - container.clientHeight) / 2) &&\n        elementRect.top >= (-element.clientHeight));\n};\nconst getScrollableParents = (node) => {\n    const elements = [document.body];\n    while (node.parentElement && node !== document.body) {\n        if (isScrollableElement(node)) {\n            elements.push(node);\n        }\n        node = node.parentElement;\n    }\n    return elements;\n};\nconst hasScrollableParents = (node) => {\n    while (node.parentElement && node !== document.body) {\n        if (isScrollableElement(node)) {\n            return true;\n        }\n        node = node.parentElement;\n    }\n    return false;\n};\n/**\n * Returns an observable that emits whenever any scrollable parent element scrolls\n *\n * @param node root element to start finding scrolling parents from\n */\nconst scrollableParentsObservable = (node) => {\n    const windowScroll = fromEvent(window, \"scroll\", { passive: true }).pipe(map(event => (\n    // update the event target to be something useful. In this case `body` is a sensible replacement\n    Object.assign({}, event, { target: document.body }))));\n    let observables = [windowScroll];\n    // walk the parents and subscribe to all the scroll events we can\n    while (node.parentElement && node !== document.body) {\n        if (isScrollableElement(node)) {\n            observables.push(fromEvent(node, \"scroll\", { passive: true }));\n        }\n        node = node.parentElement;\n    }\n    return merge(...observables);\n};\n\nfunction clone(obj) {\n    return JSON.parse(JSON.stringify(obj));\n}\nfunction matchesAttr(el, attr, val) {\n    const styles = window.getComputedStyle(el);\n    return val.includes(styles[attr]);\n}\nfunction closestAttr(s, t, element) {\n    let el = element;\n    if (!element) {\n        return null;\n    }\n    do {\n        if (matchesAttr(el, s, t)) {\n            return el;\n        }\n        el = el.parentElement || el.parentNode;\n    } while (el !== null && el.nodeType === 1);\n    return null;\n}\n\nclass ElementService {\n    constructor(singleton) {\n        this.singleton = singleton;\n        this.tick = from(this.singleton.tick);\n    }\n    visibility(target, parentElement = target) {\n        const scrollableParents = getScrollableParents(parentElement);\n        return this.tick.pipe(map(() => {\n            for (const parent of scrollableParents) {\n                if (!isVisibleInContainer(target, parent)) {\n                    return {\n                        visible: false\n                    };\n                }\n            }\n            return {\n                visible: true\n            };\n        }));\n    }\n}\nElementService.ɵfac = function ElementService_Factory(t) { return new (t || ElementService)(ɵngcc0.ɵɵinject(AnimationFrameServiceSingleton)); };\nElementService.ɵprov = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjectable({ token: ElementService, factory: ElementService.ɵfac });\n/** @nocollapse */\nElementService.ctorParameters = () => [\n    { type: AnimationFrameServiceSingleton }\n];\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ElementService, [{\n        type: Injectable\n    }], function () { return [{ type: AnimationFrameServiceSingleton }]; }, null); })();\n\nconst getEventObservable = (targetElement, eventType) => {\n    switch (eventType) {\n        case \"scroll\":\n        case \"resize\":\n        case \"touchstart\":\n        case \"touchmove\":\n        case \"touchend\":\n            return fromEvent(targetElement, eventType, { passive: true });\n        default:\n            return fromEvent(targetElement, eventType);\n    }\n};\n\nclass DocumentService {\n    constructor() {\n        this.globalEvents = new Map();\n        this.documentRef = document;\n        this.subscriptions = new Subscription();\n    }\n    handleEvent(eventType, callback) {\n        if (!this.globalEvents.has(eventType)) {\n            if (this.documentRef) {\n                this.globalEvents.set(eventType, getEventObservable(this.documentRef, eventType));\n            }\n            else {\n                this.globalEvents.set(eventType, new Observable());\n            }\n        }\n        const observable = this.globalEvents.get(eventType);\n        this.subscriptions.add(observable.subscribe(callback));\n    }\n    handleClick(callback) {\n        this.handleEvent(\"click\", callback);\n    }\n    ngOnDestroy() {\n        this.subscriptions.unsubscribe();\n        this.globalEvents = null;\n    }\n}\nDocumentService.ɵfac = function DocumentService_Factory(t) { return new (t || DocumentService)(); };\nDocumentService.ɵprov = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjectable({ token: DocumentService, factory: DocumentService.ɵfac });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(DocumentService, [{\n        type: Injectable\n    }], function () { return []; }, null); })();\n\nclass EventService {\n    constructor(documentService) {\n        this.documentService = documentService;\n        this.subscriptions = new Subscription();\n        this.targets = new WeakMap();\n    }\n    on(targetElement, eventType, callback) {\n        if (!this.targets.has(targetElement)) {\n            this.targets.set(targetElement, new Map());\n        }\n        const eventMap = this.targets.get(targetElement);\n        if (!eventMap.has(eventType)) {\n            eventMap.set(eventType, getEventObservable(targetElement, eventType));\n        }\n        const subscription = eventMap.get(eventType).subscribe(callback);\n        this.subscriptions.add(subscription);\n    }\n    onDocument(eventType, callback) {\n        this.documentService.handleEvent(eventType, callback);\n    }\n    ngOnDestroy() {\n        this.subscriptions.unsubscribe();\n    }\n}\nEventService.ɵfac = function EventService_Factory(t) { return new (t || EventService)(ɵngcc0.ɵɵinject(DocumentService)); };\nEventService.ɵprov = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjectable({ token: EventService, factory: EventService.ɵfac });\n/** @nocollapse */\nEventService.ctorParameters = () => [\n    { type: DocumentService }\n];\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(EventService, [{\n        type: Injectable\n    }], function () { return [{ type: DocumentService }]; }, null); })();\n\n// either provides a new instance of DocumentService, or returns the parent\nfunction DOCUMENT_SERVICE_PROVIDER_FACTORY(parentService) {\n    return parentService || new DocumentService();\n}\n// DocumentService *must* be a singleton to ensure that we handle events and other document level settings once (and only once)\nconst DOCUMENT_SERVICE_PROVIDER = {\n    provide: DocumentService,\n    deps: [[new Optional(), new SkipSelf(), DocumentService]],\n    useFactory: DOCUMENT_SERVICE_PROVIDER_FACTORY\n};\n// either provides a new instance of AnimationFrameServiceSingleton, or returns the parent\nfunction ANIMATION_FRAME_SERVICE_SINGLETON_PROVIDER_FACTORY(parentService, ngZone) {\n    return parentService || new AnimationFrameServiceSingleton(ngZone);\n}\n// AnimationFrameServiceSingleton is a singleton so we don't have a ton of duplicate RAFs firing (better for scheduling)\nconst ANIMATION_FRAME_SERVICE_SINGLETON_PROVIDER = {\n    provide: AnimationFrameServiceSingleton,\n    deps: [[new Optional(), new SkipSelf(), AnimationFrameServiceSingleton], NgZone],\n    useFactory: ANIMATION_FRAME_SERVICE_SINGLETON_PROVIDER_FACTORY\n};\nclass UtilsModule {\n}\nUtilsModule.ɵfac = function UtilsModule_Factory(t) { return new (t || UtilsModule)(); };\nUtilsModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: UtilsModule });\nUtilsModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({ providers: [\n        DOCUMENT_SERVICE_PROVIDER,\n        ANIMATION_FRAME_SERVICE_SINGLETON_PROVIDER,\n        AnimationFrameServiceSingleton,\n        DocumentService,\n        AnimationFrameService,\n        ElementService,\n        EventService\n    ] });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(UtilsModule, [{\n        type: NgModule,\n        args: [{\n                providers: [\n                    DOCUMENT_SERVICE_PROVIDER,\n                    ANIMATION_FRAME_SERVICE_SINGLETON_PROVIDER,\n                    AnimationFrameServiceSingleton,\n                    DocumentService,\n                    AnimationFrameService,\n                    ElementService,\n                    EventService\n                ]\n            }]\n    }], null, null); })();\n\nlet _scrollbarWidth = -1;\nfunction getScrollbarWidth() {\n    // lets not recreate this whole thing every time\n    if (_scrollbarWidth >= 0) {\n        return _scrollbarWidth;\n    }\n    // do the calculations the first time\n    const outer = document.createElement(\"div\");\n    outer.style.visibility = \"hidden\";\n    outer.style.width = \"100px\";\n    outer.style.msOverflowStyle = \"scrollbar\"; // needed for WinJS apps\n    document.body.appendChild(outer);\n    const widthNoScroll = outer.offsetWidth;\n    // force scrollbars\n    outer.style.overflow = \"scroll\";\n    // add innerdiv\n    const inner = document.createElement(\"div\");\n    inner.style.width = \"100%\";\n    outer.appendChild(inner);\n    const widthWithScroll = inner.offsetWidth;\n    // remove divs\n    outer.parentNode.removeChild(outer);\n    _scrollbarWidth = widthNoScroll - widthWithScroll;\n    return _scrollbarWidth;\n}\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { HcModeChecker, findNextElem, findPrevElem, focusNextElem, focusNextTree, focusPrevElem, AnimationFrameService, AnimationFrameServiceSingleton, merge$1 as merge, getScrollableParents, hasScrollableParents, isScrollableElement, isVisibleInContainer, scrollableParentsObservable, clone, closestAttr, ANIMATION_FRAME_SERVICE_SINGLETON_PROVIDER, ANIMATION_FRAME_SERVICE_SINGLETON_PROVIDER_FACTORY, DOCUMENT_SERVICE_PROVIDER, DOCUMENT_SERVICE_PROVIDER_FACTORY, UtilsModule, getScrollbarWidth, ElementService, EventService, getEventObservable, DocumentService };\n\n","/**\n * Copyright IBM Corp. 2016, 2018\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n/**\n * Settings.\n * @exports CarbonComponents.settings\n * @type Object\n * @property {boolean} [disableAutoInit]\n *   Disables automatic instantiation of components.\n *   By default (`CarbonComponents.disableAutoInit` is `false`),\n *   carbon-components attempts to instantiate components automatically\n *   by searching for elements with `data-component-name` (e.g. `data-loading`) attribute\n *   or upon DOM events (e.g. clicking) on such elements.\n *   See each components' static `.init()` methods for details.\n * @property {string} [prefix=bx]\n *   Brand prefix. Should be in sync with `$prefix` Sass variable in carbon-components/src/globals/scss/_vars.scss.\n * // @todo given that the default value is so long, is it appropriate to put in the JSDoc?\n * @property {string} [selectorTabbable]\n *   A selector selecting tabbable/focusable nodes.\n *   By default selectorTabbable references links, areas, inputs, buttons, selects, textareas,\n *   iframes, objects, embeds, or elements explicitly using tabindex or contenteditable attributes\n *   as long as the element is not `disabled` or the `tabindex=\"-1\"`.\n * @property {string} [selectorFocusable]\n *   CSS selector that selects major nodes that are click focusable\n *   This property is identical to selectorTabbable with the exception of\n *   the `:not([tabindex='-1'])` pseudo class\n */\nvar settings = {\n  prefix: 'bx',\n  selectorTabbable: \"\\n    a[href], area[href], input:not([disabled]):not([tabindex='-1']),\\n    button:not([disabled]):not([tabindex='-1']),select:not([disabled]):not([tabindex='-1']),\\n    textarea:not([disabled]):not([tabindex='-1']),\\n    iframe, object, embed, *[tabindex]:not([tabindex='-1']), *[contenteditable=true]\\n  \",\n  selectorFocusable: \"\\n    a[href], area[href], input:not([disabled]),\\n    button:not([disabled]),select:not([disabled]),\\n    textarea:not([disabled]),\\n    iframe, object, embed, *[tabindex], *[contenteditable=true]\\n  \"\n};\nvar settings_1 = settings;\nexport { settings_1 as default };","function _defineProperties(target, props) {\n  for (var i = 0; i < props.length; i++) {\n    var descriptor = props[i];\n    descriptor.enumerable = descriptor.enumerable || false;\n    descriptor.configurable = true;\n    if (\"value\" in descriptor) descriptor.writable = true;\n    Object.defineProperty(target, descriptor.key, descriptor);\n  }\n}\n\nfunction _createClass(Constructor, protoProps, staticProps) {\n  if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n  if (staticProps) _defineProperties(Constructor, staticProps);\n  Object.defineProperty(Constructor, \"prototype\", {\n    writable: false\n  });\n  return Constructor;\n}\n\nfunction _classCallCheck(instance, Constructor) {\n  if (!(instance instanceof Constructor)) {\n    throw new TypeError(\"Cannot call a class as a function\");\n  }\n}\n\nfunction _toConsumableArray(arr) {\n  return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();\n}\n\nfunction _nonIterableSpread() {\n  throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\n\nfunction _unsupportedIterableToArray(o, minLen) {\n  if (!o) return;\n  if (typeof o === \"string\") return _arrayLikeToArray(o, minLen);\n  var n = Object.prototype.toString.call(o).slice(8, -1);\n  if (n === \"Object\" && o.constructor) n = o.constructor.name;\n  if (n === \"Map\" || n === \"Set\") return Array.from(o);\n  if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);\n}\n\nfunction _iterableToArray(iter) {\n  if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}\n\nfunction _arrayWithoutHoles(arr) {\n  if (Array.isArray(arr)) return _arrayLikeToArray(arr);\n}\n\nfunction _arrayLikeToArray(arr, len) {\n  if (len == null || len > arr.length) len = arr.length;\n\n  for (var i = 0, arr2 = new Array(len); i < len; i++) {\n    arr2[i] = arr[i];\n  }\n\n  return arr2;\n}\n/**\n * Copyright IBM Corp. 2016, 2018\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n/**\n * @param {Array} a An array.\n * @returns {Array} The flattened version of the given array.\n */\n\n\nfunction flatten(a) {\n  return a.reduce(function (result, item) {\n    if (Array.isArray(item)) {\n      result.push.apply(result, _toConsumableArray(flatten(item)));\n    } else {\n      result.push(item);\n    }\n\n    return result;\n  }, []);\n}\n/**\n * An interface for defining mix-in classes. Used with {@link mixin}.\n * @function mixinfn\n * @param {Class} ToMix The class to mix.\n * @returns {Class} The class mixed-in with the given ToMix class.\n */\n\n/**\n * @function mixin\n * @param {...mixinfn} mixinfns The functions generating mix-ins.\n * @returns {Class} The class generated with the given mix-ins.\n */\n\n\nexport default function mixin() {\n  for (var _len = arguments.length, mixinfns = new Array(_len), _key = 0; _key < _len; _key++) {\n    mixinfns[_key] = arguments[_key];\n  }\n\n  return flatten(mixinfns).reduce(function (Class, mixinfn) {\n    return mixinfn(Class);\n  }, /*#__PURE__*/function () {\n    function _class() {\n      _classCallCheck(this, _class);\n    }\n\n    return _createClass(_class);\n  }());\n}","function _typeof(obj) {\n  \"@babel/helpers - typeof\";\n\n  return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n    return typeof obj;\n  } : function (obj) {\n    return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n  }, _typeof(obj);\n}\n\nfunction _classCallCheck(instance, Constructor) {\n  if (!(instance instanceof Constructor)) {\n    throw new TypeError(\"Cannot call a class as a function\");\n  }\n}\n\nfunction _defineProperties(target, props) {\n  for (var i = 0; i < props.length; i++) {\n    var descriptor = props[i];\n    descriptor.enumerable = descriptor.enumerable || false;\n    descriptor.configurable = true;\n    if (\"value\" in descriptor) descriptor.writable = true;\n    Object.defineProperty(target, descriptor.key, descriptor);\n  }\n}\n\nfunction _createClass(Constructor, protoProps, staticProps) {\n  if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n  if (staticProps) _defineProperties(Constructor, staticProps);\n  Object.defineProperty(Constructor, \"prototype\", {\n    writable: false\n  });\n  return Constructor;\n}\n\nfunction _inherits(subClass, superClass) {\n  if (typeof superClass !== \"function\" && superClass !== null) {\n    throw new TypeError(\"Super expression must either be null or a function\");\n  }\n\n  subClass.prototype = Object.create(superClass && superClass.prototype, {\n    constructor: {\n      value: subClass,\n      writable: true,\n      configurable: true\n    }\n  });\n  Object.defineProperty(subClass, \"prototype\", {\n    writable: false\n  });\n  if (superClass) _setPrototypeOf(subClass, superClass);\n}\n\nfunction _setPrototypeOf(o, p) {\n  _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {\n    o.__proto__ = p;\n    return o;\n  };\n\n  return _setPrototypeOf(o, p);\n}\n\nfunction _createSuper(Derived) {\n  var hasNativeReflectConstruct = _isNativeReflectConstruct();\n\n  return function _createSuperInternal() {\n    var Super = _getPrototypeOf(Derived),\n        result;\n\n    if (hasNativeReflectConstruct) {\n      var NewTarget = _getPrototypeOf(this).constructor;\n\n      result = Reflect.construct(Super, arguments, NewTarget);\n    } else {\n      result = Super.apply(this, arguments);\n    }\n\n    return _possibleConstructorReturn(this, result);\n  };\n}\n\nfunction _possibleConstructorReturn(self, call) {\n  if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n    return call;\n  } else if (call !== void 0) {\n    throw new TypeError(\"Derived constructors may only return object or undefined\");\n  }\n\n  return _assertThisInitialized(self);\n}\n\nfunction _assertThisInitialized(self) {\n  if (self === void 0) {\n    throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n  }\n\n  return self;\n}\n\nfunction _isNativeReflectConstruct() {\n  if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n  if (Reflect.construct.sham) return false;\n  if (typeof Proxy === \"function\") return true;\n\n  try {\n    Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n    return true;\n  } catch (e) {\n    return false;\n  }\n}\n\nfunction _getPrototypeOf(o) {\n  _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {\n    return o.__proto__ || Object.getPrototypeOf(o);\n  };\n  return _getPrototypeOf(o);\n}\n/**\n * Copyright IBM Corp. 2016, 2018\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\nexport default function (ToMix) {\n  var CreateComponent = /*#__PURE__*/function (_ToMix) {\n    _inherits(CreateComponent, _ToMix);\n\n    var _super = _createSuper(CreateComponent);\n    /**\n     * The component instances managed by this component.\n     * Releasing this component also releases the components in `this.children`.\n     * @type {Component[]}\n     */\n\n    /**\n     * Mix-in class to manage lifecycle of component.\n     * The constructor sets up this component's effective options,\n     * and registers this component's instance associated to an element.\n     * @implements Handle\n     * @param {HTMLElement} element The element working as this component.\n     * @param {object} [options] The component options.\n     */\n\n\n    function CreateComponent(element) {\n      var _this;\n\n      var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n      _classCallCheck(this, CreateComponent);\n\n      _this = _super.call(this, element, options);\n      _this.children = [];\n\n      if (!element || element.nodeType !== Node.ELEMENT_NODE) {\n        throw new TypeError('DOM element should be given to initialize this widget.');\n      }\n      /**\n       * The element the component is of.\n       * @type {Element}\n       */\n\n\n      _this.element = element;\n      /**\n       * The component options.\n       * @type {object}\n       */\n\n      _this.options = Object.assign(Object.create(_this.constructor.options), options);\n\n      _this.constructor.components.set(_this.element, _assertThisInitialized(_this));\n\n      return _this;\n    }\n    /**\n     * Instantiates this component of the given element.\n     * @param {HTMLElement} element The element.\n     */\n\n\n    _createClass(CreateComponent, [{\n      key: \"release\",\n      value:\n      /**\n       * Releases this component's instance from the associated element.\n       */\n      function release() {\n        for (var child = this.children.pop(); child; child = this.children.pop()) {\n          child.release();\n        }\n\n        this.constructor.components.delete(this.element);\n        return null;\n      }\n    }], [{\n      key: \"create\",\n      value: function create(element, options) {\n        return this.components.get(element) || new this(element, options);\n      }\n    }]);\n\n    return CreateComponent;\n  }(ToMix);\n\n  return CreateComponent;\n}","function _typeof(obj) {\n  \"@babel/helpers - typeof\";\n\n  return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n    return typeof obj;\n  } : function (obj) {\n    return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n  }, _typeof(obj);\n}\n\nfunction _classCallCheck(instance, Constructor) {\n  if (!(instance instanceof Constructor)) {\n    throw new TypeError(\"Cannot call a class as a function\");\n  }\n}\n\nfunction _defineProperties(target, props) {\n  for (var i = 0; i < props.length; i++) {\n    var descriptor = props[i];\n    descriptor.enumerable = descriptor.enumerable || false;\n    descriptor.configurable = true;\n    if (\"value\" in descriptor) descriptor.writable = true;\n    Object.defineProperty(target, descriptor.key, descriptor);\n  }\n}\n\nfunction _createClass(Constructor, protoProps, staticProps) {\n  if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n  if (staticProps) _defineProperties(Constructor, staticProps);\n  Object.defineProperty(Constructor, \"prototype\", {\n    writable: false\n  });\n  return Constructor;\n}\n\nfunction _inherits(subClass, superClass) {\n  if (typeof superClass !== \"function\" && superClass !== null) {\n    throw new TypeError(\"Super expression must either be null or a function\");\n  }\n\n  subClass.prototype = Object.create(superClass && superClass.prototype, {\n    constructor: {\n      value: subClass,\n      writable: true,\n      configurable: true\n    }\n  });\n  Object.defineProperty(subClass, \"prototype\", {\n    writable: false\n  });\n  if (superClass) _setPrototypeOf(subClass, superClass);\n}\n\nfunction _setPrototypeOf(o, p) {\n  _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {\n    o.__proto__ = p;\n    return o;\n  };\n\n  return _setPrototypeOf(o, p);\n}\n\nfunction _createSuper(Derived) {\n  var hasNativeReflectConstruct = _isNativeReflectConstruct();\n\n  return function _createSuperInternal() {\n    var Super = _getPrototypeOf(Derived),\n        result;\n\n    if (hasNativeReflectConstruct) {\n      var NewTarget = _getPrototypeOf(this).constructor;\n\n      result = Reflect.construct(Super, arguments, NewTarget);\n    } else {\n      result = Super.apply(this, arguments);\n    }\n\n    return _possibleConstructorReturn(this, result);\n  };\n}\n\nfunction _possibleConstructorReturn(self, call) {\n  if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n    return call;\n  } else if (call !== void 0) {\n    throw new TypeError(\"Derived constructors may only return object or undefined\");\n  }\n\n  return _assertThisInitialized(self);\n}\n\nfunction _assertThisInitialized(self) {\n  if (self === void 0) {\n    throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n  }\n\n  return self;\n}\n\nfunction _isNativeReflectConstruct() {\n  if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n  if (Reflect.construct.sham) return false;\n  if (typeof Proxy === \"function\") return true;\n\n  try {\n    Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n    return true;\n  } catch (e) {\n    return false;\n  }\n}\n\nfunction _getPrototypeOf(o) {\n  _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {\n    return o.__proto__ || Object.getPrototypeOf(o);\n  };\n  return _getPrototypeOf(o);\n}\n/**\n * Copyright IBM Corp. 2016, 2018\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\nexport default function (ToMix) {\n  /**\n   * Mix-in class to instantiate components by searching for their root elements.\n   * @class InitComponentBySearch\n   */\n  var InitComponentBySearch = /*#__PURE__*/function (_ToMix) {\n    _inherits(InitComponentBySearch, _ToMix);\n\n    var _super = _createSuper(InitComponentBySearch);\n\n    function InitComponentBySearch() {\n      _classCallCheck(this, InitComponentBySearch);\n\n      return _super.apply(this, arguments);\n    }\n\n    _createClass(InitComponentBySearch, null, [{\n      key: \"init\",\n      value:\n      /**\n       * Instantiates component in the given node.\n       * If the given element indicates that it's an component of this class, instantiates it.\n       * Otherwise, instantiates components by searching for components in the given node.\n       * @param {Node} target The DOM node to instantiate components in. Should be a document or an element.\n       * @param {object} [options] The component options.\n       * @param {boolean} [options.selectorInit] The CSS selector to find components.\n       */\n      function init() {\n        var _this = this;\n\n        var target = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : document;\n        var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n        var effectiveOptions = Object.assign(Object.create(this.options), options);\n\n        if (!target || target.nodeType !== Node.ELEMENT_NODE && target.nodeType !== Node.DOCUMENT_NODE) {\n          throw new TypeError('DOM document or DOM element should be given to search for and initialize this widget.');\n        }\n\n        if (target.nodeType === Node.ELEMENT_NODE && target.matches(effectiveOptions.selectorInit)) {\n          this.create(target, options);\n        } else {\n          Array.prototype.forEach.call(target.querySelectorAll(effectiveOptions.selectorInit), function (element) {\n            return _this.create(element, options);\n          });\n        }\n      }\n    }]);\n\n    return InitComponentBySearch;\n  }(ToMix);\n\n  return InitComponentBySearch;\n}","/**\n * Copyright IBM Corp. 2016, 2018\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\nexport default function on(element) {\n  for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n    args[_key - 1] = arguments[_key];\n  }\n\n  element.addEventListener.apply(element, args);\n  return {\n    release: function release() {\n      element.removeEventListener.apply(element, args);\n      return null;\n    }\n  };\n}","function _typeof(obj) {\n  \"@babel/helpers - typeof\";\n\n  return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n    return typeof obj;\n  } : function (obj) {\n    return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n  }, _typeof(obj);\n}\n\nfunction _classCallCheck(instance, Constructor) {\n  if (!(instance instanceof Constructor)) {\n    throw new TypeError(\"Cannot call a class as a function\");\n  }\n}\n\nfunction _defineProperties(target, props) {\n  for (var i = 0; i < props.length; i++) {\n    var descriptor = props[i];\n    descriptor.enumerable = descriptor.enumerable || false;\n    descriptor.configurable = true;\n    if (\"value\" in descriptor) descriptor.writable = true;\n    Object.defineProperty(target, descriptor.key, descriptor);\n  }\n}\n\nfunction _createClass(Constructor, protoProps, staticProps) {\n  if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n  if (staticProps) _defineProperties(Constructor, staticProps);\n  Object.defineProperty(Constructor, \"prototype\", {\n    writable: false\n  });\n  return Constructor;\n}\n\nfunction _get() {\n  if (typeof Reflect !== \"undefined\" && Reflect.get) {\n    _get = Reflect.get;\n  } else {\n    _get = function _get(target, property, receiver) {\n      var base = _superPropBase(target, property);\n\n      if (!base) return;\n      var desc = Object.getOwnPropertyDescriptor(base, property);\n\n      if (desc.get) {\n        return desc.get.call(arguments.length < 3 ? target : receiver);\n      }\n\n      return desc.value;\n    };\n  }\n\n  return _get.apply(this, arguments);\n}\n\nfunction _superPropBase(object, property) {\n  while (!Object.prototype.hasOwnProperty.call(object, property)) {\n    object = _getPrototypeOf(object);\n    if (object === null) break;\n  }\n\n  return object;\n}\n\nfunction _inherits(subClass, superClass) {\n  if (typeof superClass !== \"function\" && superClass !== null) {\n    throw new TypeError(\"Super expression must either be null or a function\");\n  }\n\n  subClass.prototype = Object.create(superClass && superClass.prototype, {\n    constructor: {\n      value: subClass,\n      writable: true,\n      configurable: true\n    }\n  });\n  Object.defineProperty(subClass, \"prototype\", {\n    writable: false\n  });\n  if (superClass) _setPrototypeOf(subClass, superClass);\n}\n\nfunction _setPrototypeOf(o, p) {\n  _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {\n    o.__proto__ = p;\n    return o;\n  };\n\n  return _setPrototypeOf(o, p);\n}\n\nfunction _createSuper(Derived) {\n  var hasNativeReflectConstruct = _isNativeReflectConstruct();\n\n  return function _createSuperInternal() {\n    var Super = _getPrototypeOf(Derived),\n        result;\n\n    if (hasNativeReflectConstruct) {\n      var NewTarget = _getPrototypeOf(this).constructor;\n\n      result = Reflect.construct(Super, arguments, NewTarget);\n    } else {\n      result = Super.apply(this, arguments);\n    }\n\n    return _possibleConstructorReturn(this, result);\n  };\n}\n\nfunction _possibleConstructorReturn(self, call) {\n  if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n    return call;\n  } else if (call !== void 0) {\n    throw new TypeError(\"Derived constructors may only return object or undefined\");\n  }\n\n  return _assertThisInitialized(self);\n}\n\nfunction _assertThisInitialized(self) {\n  if (self === void 0) {\n    throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n  }\n\n  return self;\n}\n\nfunction _isNativeReflectConstruct() {\n  if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n  if (Reflect.construct.sham) return false;\n  if (typeof Proxy === \"function\") return true;\n\n  try {\n    Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n    return true;\n  } catch (e) {\n    return false;\n  }\n}\n\nfunction _getPrototypeOf(o) {\n  _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {\n    return o.__proto__ || Object.getPrototypeOf(o);\n  };\n  return _getPrototypeOf(o);\n}\n/**\n * Copyright IBM Corp. 2016, 2018\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\nexport default function (ToMix) {\n  /**\n   * Mix-in class to manage handles in component.\n   * Managed handles are automatically released when the component with this class mixed in is released.\n   * @class Handles\n   * @implements Handle\n   */\n  var Handles = /*#__PURE__*/function (_ToMix) {\n    _inherits(Handles, _ToMix);\n\n    var _super = _createSuper(Handles);\n\n    function Handles() {\n      var _this;\n\n      _classCallCheck(this, Handles);\n\n      for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n        args[_key] = arguments[_key];\n      }\n\n      _this = _super.call.apply(_super, [this].concat(args));\n      _this.handles = new Set();\n      return _this;\n    }\n\n    _createClass(Handles, [{\n      key: \"manage\",\n      value:\n      /**\n       * Manages the given handle.\n       * @param {Handle} handle The handle to manage.\n       * @returns {Handle} The given handle.\n       */\n      function manage(handle) {\n        this.handles.add(handle);\n        return handle;\n      }\n      /**\n       * Stop managing the given handle.\n       * @param {Handle} handle The handle to stop managing.\n       * @returns {Handle} The given handle.\n       */\n\n    }, {\n      key: \"unmanage\",\n      value: function unmanage(handle) {\n        this.handles.delete(handle);\n        return handle;\n      }\n    }, {\n      key: \"release\",\n      value: function release() {\n        var _this2 = this;\n\n        this.handles.forEach(function (handle) {\n          handle.release();\n\n          _this2.handles.delete(handle);\n        });\n        return _get(_getPrototypeOf(Handles.prototype), \"release\", this).call(this);\n      }\n    }]);\n\n    return Handles;\n  }(ToMix);\n\n  return Handles;\n}","function _typeof(obj) {\n  \"@babel/helpers - typeof\";\n\n  return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n    return typeof obj;\n  } : function (obj) {\n    return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n  }, _typeof(obj);\n}\n\nfunction _classCallCheck(instance, Constructor) {\n  if (!(instance instanceof Constructor)) {\n    throw new TypeError(\"Cannot call a class as a function\");\n  }\n}\n\nfunction _defineProperties(target, props) {\n  for (var i = 0; i < props.length; i++) {\n    var descriptor = props[i];\n    descriptor.enumerable = descriptor.enumerable || false;\n    descriptor.configurable = true;\n    if (\"value\" in descriptor) descriptor.writable = true;\n    Object.defineProperty(target, descriptor.key, descriptor);\n  }\n}\n\nfunction _createClass(Constructor, protoProps, staticProps) {\n  if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n  if (staticProps) _defineProperties(Constructor, staticProps);\n  Object.defineProperty(Constructor, \"prototype\", {\n    writable: false\n  });\n  return Constructor;\n}\n\nfunction _inherits(subClass, superClass) {\n  if (typeof superClass !== \"function\" && superClass !== null) {\n    throw new TypeError(\"Super expression must either be null or a function\");\n  }\n\n  subClass.prototype = Object.create(superClass && superClass.prototype, {\n    constructor: {\n      value: subClass,\n      writable: true,\n      configurable: true\n    }\n  });\n  Object.defineProperty(subClass, \"prototype\", {\n    writable: false\n  });\n  if (superClass) _setPrototypeOf(subClass, superClass);\n}\n\nfunction _setPrototypeOf(o, p) {\n  _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {\n    o.__proto__ = p;\n    return o;\n  };\n\n  return _setPrototypeOf(o, p);\n}\n\nfunction _createSuper(Derived) {\n  var hasNativeReflectConstruct = _isNativeReflectConstruct();\n\n  return function _createSuperInternal() {\n    var Super = _getPrototypeOf(Derived),\n        result;\n\n    if (hasNativeReflectConstruct) {\n      var NewTarget = _getPrototypeOf(this).constructor;\n\n      result = Reflect.construct(Super, arguments, NewTarget);\n    } else {\n      result = Super.apply(this, arguments);\n    }\n\n    return _possibleConstructorReturn(this, result);\n  };\n}\n\nfunction _possibleConstructorReturn(self, call) {\n  if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n    return call;\n  } else if (call !== void 0) {\n    throw new TypeError(\"Derived constructors may only return object or undefined\");\n  }\n\n  return _assertThisInitialized(self);\n}\n\nfunction _assertThisInitialized(self) {\n  if (self === void 0) {\n    throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n  }\n\n  return self;\n}\n\nfunction _isNativeReflectConstruct() {\n  if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n  if (Reflect.construct.sham) return false;\n  if (typeof Proxy === \"function\") return true;\n\n  try {\n    Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n    return true;\n  } catch (e) {\n    return false;\n  }\n}\n\nfunction _getPrototypeOf(o) {\n  _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {\n    return o.__proto__ || Object.getPrototypeOf(o);\n  };\n  return _getPrototypeOf(o);\n}\n/**\n * Copyright IBM Corp. 2016, 2018\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\nimport on from '../misc/on';\nimport handles from './handles';\n\nfunction trackBlur(ToMix) {\n  var TrackBlur = /*#__PURE__*/function (_ToMix) {\n    _inherits(TrackBlur, _ToMix);\n\n    var _super = _createSuper(TrackBlur);\n    /**\n     * Mix-in class to add an handler for losing focus.\n     * @extends Handles\n     * @param {HTMLElement} element The element working as this component.\n     * @param {object} [options] The component options.\n     */\n\n\n    function TrackBlur(element, options) {\n      var _this;\n\n      _classCallCheck(this, TrackBlur);\n\n      _this = _super.call(this, element, options);\n      var hasFocusin = ('onfocusin' in window);\n      var focusinEventName = hasFocusin ? 'focusin' : 'focus';\n      var focusoutEventName = hasFocusin ? 'focusout' : 'blur';\n\n      _this.manage(on(_this.element.ownerDocument, focusinEventName, function (event) {\n        if (!(_this.options.contentNode || _this.element).contains(event.target)) {\n          _this.handleBlur(event);\n        }\n      }, !hasFocusin));\n\n      _this.manage(on(_this.element.ownerDocument, focusoutEventName, function (event) {\n        if (!event.relatedTarget) {\n          _this.handleBlur(event);\n        }\n      }, !hasFocusin));\n\n      return _this;\n    }\n    /**\n     * The method called when this component loses focus.\n     * @abstract\n     */\n\n\n    _createClass(TrackBlur, [{\n      key: \"handleBlur\",\n      value: function handleBlur() {\n        throw new Error('Components inheriting TrackBlur mix-in must implement handleBlur() method.');\n      }\n    }]);\n\n    return TrackBlur;\n  }(ToMix);\n\n  return TrackBlur;\n}\n\nvar exports = [handles, trackBlur];\nexport default exports;","/**\n * Copyright IBM Corp. 2016, 2018\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n/**\n * @param {Event} event The event.\n * @param {string} selector The selector.\n * @returns {Element}\n *   The closest ancestor of the event target (or the event target itself) which matches the selectors given in parameter.\n */\nexport default function eventMatches(event, selector) {\n  // <svg> in IE does not have `Element#msMatchesSelector()` (that should be copied to `Element#matches()` by a polyfill).\n  // Also a weird behavior is seen in IE where DOM tree seems broken when `event.target` is on <svg>.\n  // Therefore this function simply returns `undefined` when `event.target` is on <svg>.\n  var target = event.target,\n      currentTarget = event.currentTarget;\n\n  if (typeof target.matches === 'function') {\n    if (target.matches(selector)) {\n      // If event target itself matches the given selector, return it\n      return target;\n    }\n\n    if (target.matches(\"\".concat(selector, \" *\"))) {\n      var closest = target.closest(selector);\n\n      if ((currentTarget.nodeType === Node.DOCUMENT_NODE ? currentTarget.documentElement : currentTarget).contains(closest)) {\n        return closest;\n      }\n    }\n  }\n\n  return undefined;\n}","function _typeof(obj) {\n  \"@babel/helpers - typeof\";\n\n  return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n    return typeof obj;\n  } : function (obj) {\n    return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n  }, _typeof(obj);\n}\n\nfunction _classCallCheck(instance, Constructor) {\n  if (!(instance instanceof Constructor)) {\n    throw new TypeError(\"Cannot call a class as a function\");\n  }\n}\n\nfunction _defineProperties(target, props) {\n  for (var i = 0; i < props.length; i++) {\n    var descriptor = props[i];\n    descriptor.enumerable = descriptor.enumerable || false;\n    descriptor.configurable = true;\n    if (\"value\" in descriptor) descriptor.writable = true;\n    Object.defineProperty(target, descriptor.key, descriptor);\n  }\n}\n\nfunction _createClass(Constructor, protoProps, staticProps) {\n  if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n  if (staticProps) _defineProperties(Constructor, staticProps);\n  Object.defineProperty(Constructor, \"prototype\", {\n    writable: false\n  });\n  return Constructor;\n}\n\nfunction _inherits(subClass, superClass) {\n  if (typeof superClass !== \"function\" && superClass !== null) {\n    throw new TypeError(\"Super expression must either be null or a function\");\n  }\n\n  subClass.prototype = Object.create(superClass && superClass.prototype, {\n    constructor: {\n      value: subClass,\n      writable: true,\n      configurable: true\n    }\n  });\n  Object.defineProperty(subClass, \"prototype\", {\n    writable: false\n  });\n  if (superClass) _setPrototypeOf(subClass, superClass);\n}\n\nfunction _setPrototypeOf(o, p) {\n  _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {\n    o.__proto__ = p;\n    return o;\n  };\n\n  return _setPrototypeOf(o, p);\n}\n\nfunction _createSuper(Derived) {\n  var hasNativeReflectConstruct = _isNativeReflectConstruct();\n\n  return function _createSuperInternal() {\n    var Super = _getPrototypeOf(Derived),\n        result;\n\n    if (hasNativeReflectConstruct) {\n      var NewTarget = _getPrototypeOf(this).constructor;\n\n      result = Reflect.construct(Super, arguments, NewTarget);\n    } else {\n      result = Super.apply(this, arguments);\n    }\n\n    return _possibleConstructorReturn(this, result);\n  };\n}\n\nfunction _possibleConstructorReturn(self, call) {\n  if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n    return call;\n  } else if (call !== void 0) {\n    throw new TypeError(\"Derived constructors may only return object or undefined\");\n  }\n\n  return _assertThisInitialized(self);\n}\n\nfunction _assertThisInitialized(self) {\n  if (self === void 0) {\n    throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n  }\n\n  return self;\n}\n\nfunction _isNativeReflectConstruct() {\n  if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n  if (Reflect.construct.sham) return false;\n  if (typeof Proxy === \"function\") return true;\n\n  try {\n    Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n    return true;\n  } catch (e) {\n    return false;\n  }\n}\n\nfunction _getPrototypeOf(o) {\n  _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {\n    return o.__proto__ || Object.getPrototypeOf(o);\n  };\n  return _getPrototypeOf(o);\n}\n/**\n * Copyright IBM Corp. 2016, 2018\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\nimport settings from '../../globals/js/settings';\nimport mixin from '../../globals/js/misc/mixin';\nimport createComponent from '../../globals/js/mixins/create-component';\nimport initComponentBySearch from '../../globals/js/mixins/init-component-by-search';\nimport trackBlur from '../../globals/js/mixins/track-blur';\nimport eventMatches from '../../globals/js/misc/event-matches';\nimport on from '../../globals/js/misc/on';\n\nvar toArray = function toArray(arrayLike) {\n  return Array.prototype.slice.call(arrayLike);\n};\n\nvar Dropdown = /*#__PURE__*/function (_mixin) {\n  _inherits(Dropdown, _mixin);\n\n  var _super = _createSuper(Dropdown);\n  /**\n   * A selector with drop downs.\n   * @extends CreateComponent\n   * @extends InitComponentBySearch\n   * @extends TrackBlur\n   * @param {HTMLElement} element The element working as a selector.\n   * @param {object} [options] The component options.\n   * @param {string} [options.selectorItem] The CSS selector to find clickable areas in dropdown items.\n   * @param {string} [options.selectorItemSelected] The CSS selector to find the clickable area in the selected dropdown item.\n   * @param {string} [options.classSelected] The CSS class for the selected dropdown item.\n   * @param {string} [options.classOpen] The CSS class for the open state.\n   * @param {string} [options.classDisabled] The CSS class for the disabled state.\n   * @param {string} [options.eventBeforeSelected]\n   *   The name of the custom event fired before a drop down item is selected.\n   *   Cancellation of this event stops selection of drop down item.\n   * @param {string} [options.eventAfterSelected] The name of the custom event fired after a drop down item is selected.\n   */\n\n\n  /**\n   * A selector with drop downs.\n   * @extends CreateComponent\n   * @extends InitComponentBySearch\n   * @extends TrackBlur\n   * @param {HTMLElement} element The element working as a selector.\n   * @param {object} [options] The component options.\n   * @param {string} [options.selectorItem] The CSS selector to find clickable areas in dropdown items.\n   * @param {string} [options.selectorItemSelected] The CSS selector to find the clickable area in the selected dropdown item.\n   * @param {string} [options.classSelected] The CSS class for the selected dropdown item.\n   * @param {string} [options.classOpen] The CSS class for the open state.\n   * @param {string} [options.classDisabled] The CSS class for the disabled state.\n   * @param {string} [options.eventBeforeSelected]\n   *   The name of the custom event fired before a drop down item is selected.\n   *   Cancellation of this event stops selection of drop down item.\n   * @param {string} [options.eventAfterSelected] The name of the custom event fired after a drop down item is selected.\n   */\n  function Dropdown(element, options) {\n    var _this;\n\n    _classCallCheck(this, Dropdown);\n\n    _this = _super.call(this, element, options);\n\n    _this.manage(on(_this.element.ownerDocument, 'click', function (event) {\n      _this._toggle(event);\n    }));\n\n    _this.manage(on(_this.element, 'keydown', function (event) {\n      _this._handleKeyDown(event);\n    }));\n\n    _this.manage(on(_this.element, 'click', function (event) {\n      var item = eventMatches(event, _this.options.selectorItem);\n\n      if (item) {\n        _this.select(item);\n      }\n    })); // When using the active descendant approach we use a class to give focus styles during keyboard (up/down arrows)\n    // navigation instead of relying on the :focus selector. This leaves the potential to have multiple items when\n    // switching interactions between keyboard and mouse users. To more closely align with Carbon React implementation,\n    // we want the focus class to move as the user hovers over items. This also updates the location of focus based on\n    // the last hovered item if the user switches back to using the keyboard.\n\n\n    // When using the active descendant approach we use a class to give focus styles during keyboard (up/down arrows)\n    // navigation instead of relying on the :focus selector. This leaves the potential to have multiple items when\n    // switching interactions between keyboard and mouse users. To more closely align with Carbon React implementation,\n    // we want the focus class to move as the user hovers over items. This also updates the location of focus based on\n    // the last hovered item if the user switches back to using the keyboard.\n    if ( // NOTE: `selectorTrigger` does NOT match the trigger button in older markup\n    _this.element.querySelector(_this.options.selectorTrigger) && _this.element.querySelector(_this.options.selectorMenu)) {\n      // Using the latest HTML structure that supports the aria-activedescendant attribute\n      _this.manage(on(_this.element, 'mouseover', function (event) {\n        var item = eventMatches(event, _this.options.selectorItem);\n\n        if (item) {\n          _this._updateFocus(item);\n        }\n      }));\n    }\n\n    return _this;\n  }\n  /**\n   * Handles keydown event.\n   * @param {Event} event The event triggering this method.\n   */\n\n\n  /**\n   * Handles keydown event.\n   * @param {Event} event The event triggering this method.\n   */\n  _createClass(Dropdown, [{\n    key: \"_handleKeyDown\",\n    value: function _handleKeyDown(event) {\n      var isOpen = this.element.classList.contains(this.options.classOpen);\n      var direction = {\n        38: this.constructor.NAVIGATE.BACKWARD,\n        40: this.constructor.NAVIGATE.FORWARD\n      }[event.which];\n\n      if (isOpen && direction !== undefined) {\n        this.navigate(direction);\n        event.preventDefault(); // Prevents up/down keys from scrolling container\n      } else {\n        // get selected item\n        // in v10.0, the anchor elements fire click events on Enter keypress when a dropdown item is selected\n        // in v10.5 (#3586), focus is no longer placed on the dropdown items and is instead kept fixed on the ul menu\n        // so we need to manually call getCurrentNavigation and select the item\n        var item = this.getCurrentNavigation();\n\n        if (item && isOpen && (event.which === 13 || event.which === 32) && !this.element.ownerDocument.activeElement.matches(this.options.selectorItem)) {\n          event.preventDefault();\n          this.select(item);\n        }\n\n        this._toggle(event);\n      }\n    }\n    /**\n     * When using aria-activedescendant we want to make sure attributes and classes\n     * are properly cleaned up when the dropdown is closed\n     * @private\n     */\n\n  }, {\n    key: \"_focusCleanup\",\n    value: function _focusCleanup() {\n      // NOTE: `selectorTrigger` does NOT match the trigger button in older markup\n      var triggerNode = this.element.querySelector(this.options.selectorTrigger); // only want to grab the listNode IF it's using the latest a11y HTML structure\n\n      // only want to grab the listNode IF it's using the latest a11y HTML structure\n      var listNode = triggerNode ? this.element.querySelector(this.options.selectorMenu) : null;\n\n      if (listNode) {\n        listNode.removeAttribute('aria-activedescendant');\n        var focusedItem = this.element.querySelector(this.options.selectorItemFocused);\n\n        if (focusedItem) {\n          focusedItem.classList.remove(this.options.classFocused);\n        }\n      }\n    }\n    /**\n     * Update focus using aria-activedescendant HTML structure\n     * @param {HTMLElement} itemToFocus The element to be focused.\n     */\n\n  }, {\n    key: \"_updateFocus\",\n    value: function _updateFocus(itemToFocus) {\n      // NOTE: `selectorTrigger` does NOT match the trigger button in older markup\n      var triggerNode = this.element.querySelector(this.options.selectorTrigger); // only want to grab the listNode IF it's using the latest a11y HTML structure\n\n      // only want to grab the listNode IF it's using the latest a11y HTML structure\n      var listNode = triggerNode ? this.element.querySelector(this.options.selectorMenu) : null;\n      var previouslyFocused = listNode.querySelector(this.options.selectorItemFocused);\n      itemToFocus.classList.add(this.options.classFocused);\n      listNode.setAttribute('aria-activedescendant', itemToFocus.id);\n\n      if (previouslyFocused) {\n        previouslyFocused.classList.remove(this.options.classFocused);\n      }\n    }\n    /**\n     * Opens and closes the dropdown menu.\n     * @param {Event} [event] The event triggering this method.\n     *\n     * @todo https://github.com/carbon-design-system/carbon/issues/3641\n     */\n\n  }, {\n    key: \"_toggle\",\n    value: function _toggle(event) {\n      var _this2 = this;\n\n      var isDisabled = this.element.classList.contains(this.options.classDisabled);\n\n      if (isDisabled) {\n        return;\n      } // NOTE: `selectorTrigger` does NOT match the trigger button in older markup\n\n\n      // NOTE: `selectorTrigger` does NOT match the trigger button in older markup\n      var triggerNode = this.element.querySelector(this.options.selectorTrigger);\n\n      if ( // User presses down arrow\n      event.which === 40 && !event.target.matches(this.options.selectorItem) || // User presses space or enter and the trigger is not a button OR event is not fired by trigger\n      (!triggerNode || !triggerNode.contains(event.target)) && [13, 32].indexOf(event.which) >= 0 && !event.target.matches(this.options.selectorItem) || // User presses esc\n      event.which === 27 || // User clicks\n      event.type === 'click') {\n        var isOpen = this.element.classList.contains(this.options.classOpen);\n        var isOfSelf = this.element.contains(event.target); // Determine if the open className should be added, removed, or toggled\n\n        // Determine if the open className should be added, removed, or toggled\n        var actions = {\n          add: isOfSelf && event.which === 40 && !isOpen,\n          remove: (!isOfSelf || event.which === 27) && isOpen,\n          toggle: isOfSelf && event.which !== 27 && event.which !== 40\n        };\n        var changedState = false;\n        Object.keys(actions).forEach(function (action) {\n          if (actions[action]) {\n            changedState = true;\n\n            _this2.element.classList[action](_this2.options.classOpen);\n          }\n        });\n        var listItems = toArray(this.element.querySelectorAll(this.options.selectorItem)); // only want to grab the listNode IF it's using the latest a11y HTML structure\n\n        // only want to grab the listNode IF it's using the latest a11y HTML structure\n        var listNode = triggerNode ? this.element.querySelector(this.options.selectorMenu) : null; // @todo remove conditionals for elements existing once legacy structure is depreciated\n\n        // @todo remove conditionals for elements existing once legacy structure is depreciated\n        if (changedState && this.element.classList.contains(this.options.classOpen)) {\n          // toggled open\n          if (triggerNode) {\n            triggerNode.setAttribute('aria-expanded', 'true');\n          }\n\n          (listNode || this.element).focus();\n\n          if (listNode) {\n            var selectedNode = listNode.querySelector(this.options.selectorLinkSelected);\n            listNode.setAttribute('aria-activedescendant', (selectedNode || listItems[0]).id);\n            (selectedNode || listItems[0]).classList.add(this.options.classFocused);\n          }\n        } else if (changedState && (isOfSelf || actions.remove)) {\n          // toggled close\n          // timer is used to call focus AFTER the click event on\n          // trigger button (which is caused by keypress e.g. during keyboard navigation)\n          setTimeout(function () {\n            return (triggerNode || _this2.element).focus();\n          }, 0);\n\n          if (triggerNode) {\n            triggerNode.setAttribute('aria-expanded', 'false');\n          }\n\n          this._focusCleanup();\n        } // @todo remove once legacy structure is depreciated\n\n\n        // @todo remove once legacy structure is depreciated\n        if (!triggerNode) {\n          listItems.forEach(function (item) {\n            if (_this2.element.classList.contains(_this2.options.classOpen)) {\n              item.tabIndex = 0;\n            } else {\n              item.tabIndex = -1;\n            }\n          });\n        }\n\n        var menuListNode = this.element.querySelector(this.options.selectorMenu);\n\n        if (menuListNode) {\n          menuListNode.tabIndex = this.element.classList.contains(this.options.classOpen) ? '0' : '-1';\n        }\n      }\n    }\n    /**\n     * @returns {Element} Currently highlighted element.\n     */\n\n  }, {\n    key: \"getCurrentNavigation\",\n    value: function getCurrentNavigation() {\n      var focusedNode; // Using the latest semantic markup structure where trigger is a button\n      // @todo remove conditional once legacy structure is depreciated\n      // NOTE: `selectorTrigger` does NOT match the trigger button in older markup\n\n      // Using the latest semantic markup structure where trigger is a button\n      // @todo remove conditional once legacy structure is depreciated\n      // NOTE: `selectorTrigger` does NOT match the trigger button in older markup\n      if (this.element.querySelector(this.options.selectorTrigger)) {\n        var listNode = this.element.querySelector(this.options.selectorMenu);\n        var focusedId = listNode.getAttribute('aria-activedescendant');\n        focusedNode = focusedId ? listNode.querySelector(\"#\".concat(focusedId)) : null;\n      } else {\n        var focused = this.element.ownerDocument.activeElement;\n        focusedNode = focused.nodeType === Node.ELEMENT_NODE && focused.matches(this.options.selectorItem) ? focused : null;\n      }\n\n      return focusedNode;\n    }\n    /**\n     * Moves up/down the focus.\n     * @param {number} direction The direction of navigating.\n     */\n    // @todo create issue it's a better UX to move the focus when the user hovers so they stay in sync\n\n  }, {\n    key: \"navigate\",\n    value: function navigate(direction) {\n      var items = toArray(this.element.querySelectorAll(this.options.selectorItem));\n      var start = this.getCurrentNavigation() || this.element.querySelector(this.options.selectorLinkSelected);\n\n      var getNextItem = function getNextItem(old) {\n        var handleUnderflow = function handleUnderflow(i, l) {\n          return i + (i >= 0 ? 0 : l);\n        };\n\n        var handleOverflow = function handleOverflow(i, l) {\n          return i - (i < l ? 0 : l);\n        }; // `items.indexOf(old)` may be -1 (Scenario of no previous focus)\n\n\n        // `items.indexOf(old)` may be -1 (Scenario of no previous focus)\n        var index = Math.max(items.indexOf(old) + direction, -1);\n        return items[handleUnderflow(handleOverflow(index, items.length), items.length)];\n      };\n\n      var isShowSelected = this.element.classList.contains(this.options.classShowSelected);\n\n      for (var current = getNextItem(start); current && current !== start; current = getNextItem(current)) {\n        if (!current.matches(this.options.selectorItemHidden) && !current.parentNode.matches(this.options.selectorItemHidden) && (isShowSelected || !isShowSelected && !current.parentElement.matches(this.options.selectorItemSelected))) {\n          // Using the latest semantic markup structure where trigger is a button\n          // @todo remove conditional once legacy structure is depreciated\n          // NOTE: `selectorTrigger` does NOT match the trigger button in older markup\n          if (this.element.querySelector(this.options.selectorTrigger)) {\n            this._updateFocus(current);\n          } else {\n            current.focus();\n          }\n\n          break;\n        }\n      }\n    }\n    /**\n     * Handles clicking on the dropdown options, doing the following:\n     * * Change Dropdown text to selected option.\n     * * Remove selected option from options when selected.\n     * * Emit custom events.\n     * @param {HTMLElement} itemToSelect The element to be activated.\n     */\n\n  }, {\n    key: \"select\",\n    value: function select(itemToSelect) {\n      var _this3 = this;\n\n      var eventStart = new CustomEvent(this.options.eventBeforeSelected, {\n        bubbles: true,\n        cancelable: true,\n        detail: {\n          item: itemToSelect\n        }\n      });\n\n      if (this.element.dispatchEvent(eventStart)) {\n        if (this.element.dataset.dropdownType !== 'navigation') {\n          // NOTE: `selectorTrigger` does NOT match the trigger button in older markup\n          var selectorText = !this.element.querySelector(this.options.selectorTrigger) && this.element.dataset.dropdownType !== 'inline' ? this.options.selectorText : this.options.selectorTextInner;\n          var text = this.element.querySelector(selectorText);\n\n          if (text) {\n            text.innerHTML = itemToSelect.innerHTML;\n          }\n\n          itemToSelect.parentElement.classList.add(this.options.classSelected);\n        }\n\n        this.element.dataset.value = itemToSelect.parentElement.dataset.value;\n        toArray(this.element.querySelectorAll(this.options.selectorLinkSelected)).forEach(function (item) {\n          if (itemToSelect !== item) {\n            item.parentElement.classList.remove(_this3.options.classSelected);\n          }\n        });\n        this.element.dispatchEvent(new CustomEvent(this.options.eventAfterSelected, {\n          bubbles: true,\n          cancelable: true,\n          detail: {\n            item: itemToSelect\n          }\n        }));\n      }\n    }\n    /**\n     * Closes the dropdown menu if this component loses focus.\n     */\n\n  }, {\n    key: \"handleBlur\",\n    value: function handleBlur() {\n      this.element.classList.remove(this.options.classOpen);\n\n      this._focusCleanup();\n    }\n    /**\n     * The map associating DOM element and selector instance.\n     * @member Dropdown.components\n     * @type {WeakMap}\n     */\n\n  }], [{\n    key: \"options\",\n    get:\n    /**\n     * The component options.\n     * If `options` is specified in the constructor, {@linkcode Dropdown.create .create()}, or {@linkcode Dropdown.init .init()},\n     * properties in this object are overridden for the instance being create and how {@linkcode Dropdown.init .init()} works.\n     * @member Dropdown.options\n     * @type {object}\n     * @property {string} selectorInit The CSS selector to find selectors.\n     * @property {string} [selectorTrigger]\n     *   The CSS selector to find the trigger button when using a11y compliant markup.\n     *   NOTE: Does NOT match the trigger button in older markup.\n     * @property {string} [selectorMenu] The CSS selector to find menu list when using a11y compliant markup.\n     * @property {string} [selectorText] The CSS selector to find the element showing the selected item.\n     * @property {string} [selectorTextInner] The CSS selector to find the element showing the selected item, used for inline mode.\n     * @property {string} [selectorItem] The CSS selector to find clickable areas in dropdown items.\n     * @property {string} [selectorItemHidden]\n     *   The CSS selector to find hidden dropdown items.\n     *   Used to skip dropdown items for keyboard navigation.\n     * @property {string} [selectorItemSelected] The CSS selector to find the clickable area in the selected dropdown item.\n     * @property {string} [selectorItemFocused] The CSS selector to find the clickable area in the focused dropdown item.\n     * @property {string} [selectorLinkSelected] The CSS selector to target the link node of the selected dropdown item.\n     * @property {string} [classShowSelected] The CSS class for the show selected modifier of the dropdown.\n     * @property {string} [classSelected] The CSS class for the selected dropdown item.\n     * @property {string} [classFocused] The CSS class for the focused dropdown item.\n     * @property {string} [classOpen] The CSS class for the open state.\n     * @property {string} [classDisabled] The CSS class for the disabled state.\n     * @property {string} [eventBeforeSelected]\n     *   The name of the custom event fired before a drop down item is selected.\n     *   Cancellation of this event stops selection of drop down item.\n     * @property {string} [eventAfterSelected] The name of the custom event fired after a drop down item is selected.\n     */\n    function get() {\n      var prefix = settings.prefix;\n      return {\n        selectorInit: '[data-dropdown]',\n        selectorTrigger: \"button.\".concat(prefix, \"--dropdown-text\"),\n        // NOTE: Does NOT match the trigger button in older markup.\n        selectorMenu: \".\".concat(prefix, \"--dropdown-list\"),\n        selectorText: \".\".concat(prefix, \"--dropdown-text\"),\n        selectorTextInner: \".\".concat(prefix, \"--dropdown-text__inner\"),\n        selectorItem: \".\".concat(prefix, \"--dropdown-link\"),\n        selectorItemSelected: \".\".concat(prefix, \"--dropdown--selected\"),\n        selectorItemFocused: \".\".concat(prefix, \"--dropdown--focused\"),\n        selectorItemHidden: \"[hidden],[aria-hidden=\\\"true\\\"]\",\n        selectorLinkSelected: \".\".concat(prefix, \"--dropdown--selected .\").concat(prefix, \"--dropdown-link\"),\n        classShowSelected: \"\".concat(prefix, \"--dropdown--show-selected\"),\n        classSelected: \"\".concat(prefix, \"--dropdown--selected\"),\n        classFocused: \"\".concat(prefix, \"--dropdown--focused\"),\n        classOpen: \"\".concat(prefix, \"--dropdown--open\"),\n        classDisabled: \"\".concat(prefix, \"--dropdown--disabled\"),\n        eventBeforeSelected: 'dropdown-beingselected',\n        eventAfterSelected: 'dropdown-selected'\n      };\n    }\n    /**\n     * Enum for navigating backward/forward.\n     * @readonly\n     * @member Dropdown.NAVIGATE\n     * @type {object}\n     * @property {number} BACKWARD Navigating backward.\n     * @property {number} FORWARD Navigating forward.\n     */\n\n  }]);\n\n  Dropdown.components = new WeakMap();\n  Dropdown.NAVIGATE = {\n    BACKWARD: -1,\n    FORWARD: 1\n  };\n  return Dropdown;\n}(mixin(createComponent, initComponentBySearch, trackBlur));\n\nexport default Dropdown;","!function(e,i){if(\"object\"==typeof exports&&\"object\"==typeof module)module.exports=i();else if(\"function\"==typeof define&&define.amd)define([],i);else{var t=i();for(var n in t)(\"object\"==typeof exports?exports:e)[n]=t[n]}}(this,(function(){return function(e){var i={};function t(n){if(i[n])return i[n].exports;var o=i[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}return t.m=e,t.c=i,t.d=function(e,i,n){t.o(e,i)||Object.defineProperty(e,i,{enumerable:!0,get:n})},t.r=function(e){\"undefined\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\"Module\"}),Object.defineProperty(e,\"__esModule\",{value:!0})},t.t=function(e,i){if(1&i&&(e=t(e)),8&i)return e;if(4&i&&\"object\"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,\"default\",{enumerable:!0,value:e}),2&i&&\"string\"!=typeof e)for(var o in e)t.d(n,o,function(i){return e[i]}.bind(null,o));return n},t.n=function(e){var i=e&&e.__esModule?function(){return e[\"default\"]}:function(){return e};return t.d(i,\"a\",i),i},t.o=function(e,i){return Object.prototype.hasOwnProperty.call(e,i)},t.p=\"\",t(t.s=0)}([function(e,i,t){\"use strict\";var n,o,r=t(1)(),a=t(3),s=t(4),l=t(6),u=function(){var e=new s;return n=e.getResult(),o=new l,this};u.prototype={getSoftwareVersion:function(){return\"0.1.11\"},getBrowserData:function(){return n},getFingerprint:function(){var e=\"|\",i=n.ua,t=this.getScreenPrint(),o=this.getPlugins(),r=this.getFonts(),s=this.isLocalStorage(),l=this.isSessionStorage(),u=this.getTimeZone(),c=this.getLanguage(),d=this.getSystemLanguage(),b=this.isCookie(),m=this.getCanvasPrint();return a(i+e+t+e+o+e+r+e+s+e+l+e+u+e+c+e+d+e+b+e+m,256)},getCustomFingerprint:function(){for(var e=\"|\",i=\"\",t=0;t<arguments.length;t++)i+=arguments[t]+e;return a(i,256)},getUserAgent:function(){return n.ua},getUserAgentLowerCase:function(){return n.ua.toLowerCase()},getBrowser:function(){return n.browser.name},getBrowserVersion:function(){return n.browser.version},getBrowserMajorVersion:function(){return n.browser.major},isIE:function(){return/IE/i.test(n.browser.name)},isChrome:function(){return/Chrome/i.test(n.browser.name)},isFirefox:function(){return/Firefox/i.test(n.browser.name)},isSafari:function(){return/Safari/i.test(n.browser.name)},isMobileSafari:function(){return/Mobile\\sSafari/i.test(n.browser.name)},isOpera:function(){return/Opera/i.test(n.browser.name)},getEngine:function(){return n.engine.name},getEngineVersion:function(){return n.engine.version},getOS:function(){return n.os.name},getOSVersion:function(){return n.os.version},isWindows:function(){return/Windows/i.test(n.os.name)},isMac:function(){return/Mac/i.test(n.os.name)},isLinux:function(){return/Linux/i.test(n.os.name)},isUbuntu:function(){return/Ubuntu/i.test(n.os.name)},isSolaris:function(){return/Solaris/i.test(n.os.name)},getDevice:function(){return n.device.model},getDeviceType:function(){return n.device.type},getDeviceVendor:function(){return n.device.vendor},getCPU:function(){return n.cpu.architecture},isMobile:function(){var e=n.ua||navigator.vendor||window.opera;return/(android|bb\\d+|meego).+mobile|avantgo|bada\\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\\-(n|u)|c55\\/|capi|ccwa|cdm\\-|cell|chtm|cldc|cmd\\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\\-s|devi|dica|dmob|do(c|p)o|ds(12|\\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\\-|_)|g1 u|g560|gene|gf\\-5|g\\-mo|go(\\.w|od)|gr(ad|un)|haie|hcit|hd\\-(m|p|t)|hei\\-|hi(pt|ta)|hp( i|ip)|hs\\-c|ht(c(\\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\\-(20|go|ma)|i230|iac( |\\-|\\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\\/)|klon|kpt |kwc\\-|kyo(c|k)|le(no|xi)|lg( g|\\/(k|l|u)|50|54|\\-[a-w])|libw|lynx|m1\\-w|m3ga|m50\\/|ma(te|ui|xo)|mc(01|21|ca)|m\\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\\-2|po(ck|rt|se)|prox|psio|pt\\-g|qa\\-a|qc(07|12|21|32|60|\\-[2-7]|i\\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\\-|oo|p\\-)|sdk\\/|se(c(\\-|0|1)|47|mc|nd|ri)|sgh\\-|shar|sie(\\-|m)|sk\\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\\-|v\\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\\-|tdg\\-|tel(i|m)|tim\\-|t\\-mo|to(pl|sh)|ts(70|m\\-|m3|m5)|tx\\-9|up(\\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\\-|your|zeto|zte\\-/i.test(e.substr(0,4))},isMobileMajor:function(){return this.isMobileAndroid()||this.isMobileBlackBerry()||this.isMobileIOS()||this.isMobileOpera()||this.isMobileWindows()},isMobileAndroid:function(){return!!n.ua.match(/Android/i)},isMobileOpera:function(){return!!n.ua.match(/Opera Mini/i)},isMobileWindows:function(){return!!n.ua.match(/IEMobile/i)},isMobileBlackBerry:function(){return!!n.ua.match(/BlackBerry/i)},isMobileIOS:function(){return!!n.ua.match(/iPhone|iPad|iPod/i)},isIphone:function(){return!!n.ua.match(/iPhone/i)},isIpad:function(){return!!n.ua.match(/iPad/i)},isIpod:function(){return!!n.ua.match(/iPod/i)},getScreenPrint:function(){return\"Current Resolution: \"+this.getCurrentResolution()+\", Available Resolution: \"+this.getAvailableResolution()+\", Color Depth: \"+this.getColorDepth()+\", Device XDPI: \"+this.getDeviceXDPI()+\", Device YDPI: \"+this.getDeviceYDPI()},getColorDepth:function(){return screen.colorDepth},getCurrentResolution:function(){return screen.width+\"x\"+screen.height},getAvailableResolution:function(){return screen.availWidth+\"x\"+screen.availHeight},getDeviceXDPI:function(){return screen.deviceXDPI},getDeviceYDPI:function(){return screen.deviceYDPI},getPlugins:function(){for(var e=\"\",i=0;i<navigator.plugins.length;i++)i==navigator.plugins.length-1?e+=navigator.plugins[i].name:e+=navigator.plugins[i].name+\", \";return e},isJava:function(){return navigator.javaEnabled()},getJavaVersion:function(){throw new Error(\"Please use client.java.js or client.js if you need this functionality!\")},isFlash:function(){return!!navigator.plugins[\"Shockwave Flash\"]},getFlashVersion:function(){throw new Error(\"Please use client.flash.js or client.js if you need this functionality!\")},isSilverlight:function(){return!!navigator.plugins[\"Silverlight Plug-In\"]},getSilverlightVersion:function(){return this.isSilverlight()?navigator.plugins[\"Silverlight Plug-In\"].description:\"\"},isMimeTypes:function(){return!(!navigator.mimeTypes||!navigator.mimeTypes.length)},getMimeTypes:function(){var e=\"\";if(navigator.mimeTypes)for(var i=0;i<navigator.mimeTypes.length;i++)i==navigator.mimeTypes.length-1?e+=navigator.mimeTypes[i].description:e+=navigator.mimeTypes[i].description+\", \";return e},isFont:function(e){return o.detect(e)},getFonts:function(){for(var e=[\"Abadi MT Condensed Light\",\"Adobe Fangsong Std\",\"Adobe Hebrew\",\"Adobe Ming Std\",\"Agency FB\",\"Aharoni\",\"Andalus\",\"Angsana New\",\"AngsanaUPC\",\"Aparajita\",\"Arab\",\"Arabic Transparent\",\"Arabic Typesetting\",\"Arial Baltic\",\"Arial Black\",\"Arial CE\",\"Arial CYR\",\"Arial Greek\",\"Arial TUR\",\"Arial\",\"Batang\",\"BatangChe\",\"Bauhaus 93\",\"Bell MT\",\"Bitstream Vera Serif\",\"Bodoni MT\",\"Bookman Old Style\",\"Braggadocio\",\"Broadway\",\"Browallia New\",\"BrowalliaUPC\",\"Calibri Light\",\"Calibri\",\"Californian FB\",\"Cambria Math\",\"Cambria\",\"Candara\",\"Castellar\",\"Casual\",\"Centaur\",\"Century Gothic\",\"Chalkduster\",\"Colonna MT\",\"Comic Sans MS\",\"Consolas\",\"Constantia\",\"Copperplate Gothic Light\",\"Corbel\",\"Cordia New\",\"CordiaUPC\",\"Courier New Baltic\",\"Courier New CE\",\"Courier New CYR\",\"Courier New Greek\",\"Courier New TUR\",\"Courier New\",\"DFKai-SB\",\"DaunPenh\",\"David\",\"DejaVu LGC Sans Mono\",\"Desdemona\",\"DilleniaUPC\",\"DokChampa\",\"Dotum\",\"DotumChe\",\"Ebrima\",\"Engravers MT\",\"Eras Bold ITC\",\"Estrangelo Edessa\",\"EucrosiaUPC\",\"Euphemia\",\"Eurostile\",\"FangSong\",\"Forte\",\"FrankRuehl\",\"Franklin Gothic Heavy\",\"Franklin Gothic Medium\",\"FreesiaUPC\",\"French Script MT\",\"Gabriola\",\"Gautami\",\"Georgia\",\"Gigi\",\"Gisha\",\"Goudy Old Style\",\"Gulim\",\"GulimChe\",\"GungSeo\",\"Gungsuh\",\"GungsuhChe\",\"Haettenschweiler\",\"Harrington\",\"Hei S\",\"HeiT\",\"Heisei Kaku Gothic\",\"Hiragino Sans GB\",\"Impact\",\"Informal Roman\",\"IrisUPC\",\"Iskoola Pota\",\"JasmineUPC\",\"KacstOne\",\"KaiTi\",\"Kalinga\",\"Kartika\",\"Khmer UI\",\"Kino MT\",\"KodchiangUPC\",\"Kokila\",\"Kozuka Gothic Pr6N\",\"Lao UI\",\"Latha\",\"Leelawadee\",\"Levenim MT\",\"LilyUPC\",\"Lohit Gujarati\",\"Loma\",\"Lucida Bright\",\"Lucida Console\",\"Lucida Fax\",\"Lucida Sans Unicode\",\"MS Gothic\",\"MS Mincho\",\"MS PGothic\",\"MS PMincho\",\"MS Reference Sans Serif\",\"MS UI Gothic\",\"MV Boli\",\"Magneto\",\"Malgun Gothic\",\"Mangal\",\"Marlett\",\"Matura MT Script Capitals\",\"Meiryo UI\",\"Meiryo\",\"Menlo\",\"Microsoft Himalaya\",\"Microsoft JhengHei\",\"Microsoft New Tai Lue\",\"Microsoft PhagsPa\",\"Microsoft Sans Serif\",\"Microsoft Tai Le\",\"Microsoft Uighur\",\"Microsoft YaHei\",\"Microsoft Yi Baiti\",\"MingLiU\",\"MingLiU-ExtB\",\"MingLiU_HKSCS\",\"MingLiU_HKSCS-ExtB\",\"Miriam Fixed\",\"Miriam\",\"Mongolian Baiti\",\"MoolBoran\",\"NSimSun\",\"Narkisim\",\"News Gothic MT\",\"Niagara Solid\",\"Nyala\",\"PMingLiU\",\"PMingLiU-ExtB\",\"Palace Script MT\",\"Palatino Linotype\",\"Papyrus\",\"Perpetua\",\"Plantagenet Cherokee\",\"Playbill\",\"Prelude Bold\",\"Prelude Condensed Bold\",\"Prelude Condensed Medium\",\"Prelude Medium\",\"PreludeCompressedWGL Black\",\"PreludeCompressedWGL Bold\",\"PreludeCompressedWGL Light\",\"PreludeCompressedWGL Medium\",\"PreludeCondensedWGL Black\",\"PreludeCondensedWGL Bold\",\"PreludeCondensedWGL Light\",\"PreludeCondensedWGL Medium\",\"PreludeWGL Black\",\"PreludeWGL Bold\",\"PreludeWGL Light\",\"PreludeWGL Medium\",\"Raavi\",\"Rachana\",\"Rockwell\",\"Rod\",\"Sakkal Majalla\",\"Sawasdee\",\"Script MT Bold\",\"Segoe Print\",\"Segoe Script\",\"Segoe UI Light\",\"Segoe UI Semibold\",\"Segoe UI Symbol\",\"Segoe UI\",\"Shonar Bangla\",\"Showcard Gothic\",\"Shruti\",\"SimHei\",\"SimSun\",\"SimSun-ExtB\",\"Simplified Arabic Fixed\",\"Simplified Arabic\",\"Snap ITC\",\"Sylfaen\",\"Symbol\",\"Tahoma\",\"Times New Roman Baltic\",\"Times New Roman CE\",\"Times New Roman CYR\",\"Times New Roman Greek\",\"Times New Roman TUR\",\"Times New Roman\",\"TlwgMono\",\"Traditional Arabic\",\"Trebuchet MS\",\"Tunga\",\"Tw Cen MT Condensed Extra Bold\",\"Ubuntu\",\"Umpush\",\"Univers\",\"Utopia\",\"Utsaah\",\"Vani\",\"Verdana\",\"Vijaya\",\"Vladimir Script\",\"Vrinda\",\"Webdings\",\"Wide Latin\",\"Wingdings\"],i=\"\",t=0;t<e.length;t++)o.detect(e[t])&&(i+=t==e.length-1?e[t]:e[t]+\", \");return i},isLocalStorage:function(){try{return!!r.localStorage}catch(e){return!0}},isSessionStorage:function(){try{return!!r.sessionStorage}catch(e){return!0}},isCookie:function(){return navigator.cookieEnabled},getTimeZone:function(){var e,i;return e=new Date,(i=String(-e.getTimezoneOffset()/60))<0?\"-\"+(\"0\"+(i*=-1)).slice(-2):\"+\"+(\"0\"+i).slice(-2)},getLanguage:function(){return navigator.language},getSystemLanguage:function(){return navigator.systemLanguage||window.navigator.language},isCanvas:function(){var e=document.createElement(\"canvas\");try{return!(!e.getContext||!e.getContext(\"2d\"))}catch(i){return!1}},getCanvasPrint:function(){var e,i=document.createElement(\"canvas\");try{e=i.getContext(\"2d\")}catch(n){return\"\"}var t=\"ClientJS,org <canvas> 1.0\";return e.textBaseline=\"top\",e.font=\"14px 'Arial'\",e.textBaseline=\"alphabetic\",e.fillStyle=\"#f60\",e.fillRect(125,1,62,20),e.fillStyle=\"#069\",e.fillText(t,2,15),e.fillStyle=\"rgba(102, 204, 0, 0.7)\",e.fillText(t,4,17),i.toDataURL()}},i.ClientJS=u},function(e,i,t){\"use strict\";var n=t(2);e.exports=function(){return\"object\"==typeof global&&global&&global.Math===Math&&global.Array===Array?global:n}},function(e,i,t){\"use strict\";\"undefined\"!=typeof self?e.exports=self:\"undefined\"!=typeof window?e.exports=window:e.exports=Function(\"return this\")()},function(e,i,t){e.exports=function(e,i){var t,n,o,r,a,s,l,u;for(t=3&e.length,n=e.length-t,o=i,a=3432918353,s=461845907,u=0;u<n;)l=255&e.charCodeAt(u)|(255&e.charCodeAt(++u))<<8|(255&e.charCodeAt(++u))<<16|(255&e.charCodeAt(++u))<<24,++u,o=27492+(65535&(r=5*(65535&(o=(o^=l=(65535&(l=(l=(65535&l)*a+(((l>>>16)*a&65535)<<16)&4294967295)<<15|l>>>17))*s+(((l>>>16)*s&65535)<<16)&4294967295)<<13|o>>>19))+((5*(o>>>16)&65535)<<16)&4294967295))+((58964+(r>>>16)&65535)<<16);switch(l=0,t){case 3:l^=(255&e.charCodeAt(u+2))<<16;case 2:l^=(255&e.charCodeAt(u+1))<<8;case 1:o^=l=(65535&(l=(l=(65535&(l^=255&e.charCodeAt(u)))*a+(((l>>>16)*a&65535)<<16)&4294967295)<<15|l>>>17))*s+(((l>>>16)*s&65535)<<16)&4294967295}return o^=e.length,o=2246822507*(65535&(o^=o>>>16))+((2246822507*(o>>>16)&65535)<<16)&4294967295,o=3266489909*(65535&(o^=o>>>13))+((3266489909*(o>>>16)&65535)<<16)&4294967295,(o^=o>>>16)>>>0}},function(e,i,t){var n;!function(o,r){\"use strict\";var a=\"function\",s=\"undefined\",l=\"object\",u=\"string\",c=\"model\",d=\"name\",b=\"type\",m=\"vendor\",w=\"version\",g=\"architecture\",p=\"console\",f=\"mobile\",h=\"tablet\",v=\"smarttv\",y=\"wearable\",x=\"embedded\",k=\"Amazon\",S=\"Apple\",C=\"ASUS\",M=\"BlackBerry\",P=\"Firefox\",T=\"Google\",B=\"Huawei\",A=\"LG\",L=\"Microsoft\",U=\"Motorola\",E=\"Opera\",G=\"Samsung\",N=\"Sony\",j=\"Xiaomi\",_=\"Zebra\",R=\"Facebook\",D=function(e){var i={};for(var t in e)i[e[t].toUpperCase()]=e[t];return i},I=function(e,i){return typeof e===u&&-1!==O(i).indexOf(O(e))},O=function(e){return e.toLowerCase()},z=function(e,i){if(typeof e===u)return e=e.replace(/^\\s\\s*/,\"\").replace(/\\s\\s*$/,\"\"),typeof i===s?e:e.substring(0,255)},F=function(e,i){for(var t,n,o,s,u,c,d=0;d<i.length&&!u;){var b=i[d],m=i[d+1];for(t=n=0;t<b.length&&!u;)if(u=b[t++].exec(e))for(o=0;o<m.length;o++)c=u[++n],typeof(s=m[o])===l&&s.length>0?2==s.length?typeof s[1]==a?this[s[0]]=s[1].call(this,c):this[s[0]]=s[1]:3==s.length?typeof s[1]!==a||s[1].exec&&s[1].test?this[s[0]]=c?c.replace(s[1],s[2]):r:this[s[0]]=c?s[1].call(this,c,s[2]):r:4==s.length&&(this[s[0]]=c?s[3].call(this,c.replace(s[1],s[2])):r):this[s]=c||r;d+=2}},q=function(e,i){for(var t in i)if(typeof i[t]===l&&i[t].length>0){for(var n=0;n<i[t].length;n++)if(I(i[t][n],e))return\"?\"===t?r:t}else if(I(i[t],e))return\"?\"===t?r:t;return e},W={ME:\"4.90\",\"NT 3.11\":\"NT3.51\",\"NT 4.0\":\"NT4.0\",2e3:\"NT 5.0\",XP:[\"NT 5.1\",\"NT 5.2\"],Vista:\"NT 6.0\",7:\"NT 6.1\",8:\"NT 6.2\",8.1:\"NT 6.3\",10:[\"NT 6.4\",\"NT 10.0\"],RT:\"ARM\"},V={browser:[[/\\b(?:crmo|crios)\\/([\\w\\.]+)/i],[w,[d,\"Chrome\"]],[/edg(?:e|ios|a)?\\/([\\w\\.]+)/i],[w,[d,\"Edge\"]],[/(opera mini)\\/([-\\w\\.]+)/i,/(opera [mobiletab]{3,6})\\b.+version\\/([-\\w\\.]+)/i,/(opera)(?:.+version\\/|[\\/ ]+)([\\w\\.]+)/i],[d,w],[/opios[\\/ ]+([\\w\\.]+)/i],[w,[d,\"Opera Mini\"]],[/\\bopr\\/([\\w\\.]+)/i],[w,[d,E]],[/(kindle)\\/([\\w\\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\\/ ]?([\\w\\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\\/ ]?([\\w\\.]*)/i,/(ba?idubrowser)[\\/ ]?([\\w\\.]+)/i,/(?:ms|\\()(ie) ([\\w\\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale|qqbrowserlite|qq)\\/([-\\w\\.]+)/i,/(weibo)__([\\d\\.]+)/i],[d,w],[/(?:\\buc? ?browser|(?:juc.+)ucweb)[\\/ ]?([\\w\\.]+)/i],[w,[d,\"UCBrowser\"]],[/\\bqbcore\\/([\\w\\.]+)/i],[w,[d,\"WeChat(Win) Desktop\"]],[/micromessenger\\/([\\w\\.]+)/i],[w,[d,\"WeChat\"]],[/konqueror\\/([\\w\\.]+)/i],[w,[d,\"Konqueror\"]],[/trident.+rv[: ]([\\w\\.]{1,9})\\b.+like gecko/i],[w,[d,\"IE\"]],[/yabrowser\\/([\\w\\.]+)/i],[w,[d,\"Yandex\"]],[/(avast|avg)\\/([\\w\\.]+)/i],[[d,/(.+)/,\"$1 Secure Browser\"],w],[/\\bfocus\\/([\\w\\.]+)/i],[w,[d,\"Firefox Focus\"]],[/\\bopt\\/([\\w\\.]+)/i],[w,[d,\"Opera Touch\"]],[/coc_coc\\w+\\/([\\w\\.]+)/i],[w,[d,\"Coc Coc\"]],[/dolfin\\/([\\w\\.]+)/i],[w,[d,\"Dolphin\"]],[/coast\\/([\\w\\.]+)/i],[w,[d,\"Opera Coast\"]],[/miuibrowser\\/([\\w\\.]+)/i],[w,[d,\"MIUI Browser\"]],[/fxios\\/([-\\w\\.]+)/i],[w,[d,P]],[/\\bqihu|(qi?ho?o?|360)browser/i],[[d,\"360 Browser\"]],[/(oculus|samsung|sailfish)browser\\/([\\w\\.]+)/i],[[d,/(.+)/,\"$1 Browser\"],w],[/(comodo_dragon)\\/([\\w\\.]+)/i],[[d,/_/g,\" \"],w],[/(electron)\\/([\\w\\.]+) safari/i,/(tesla)(?: qtcarbrowser|\\/(20\\d\\d\\.[-\\w\\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\\/ ]?([\\w\\.]+)/i],[d,w],[/(metasr)[\\/ ]?([\\w\\.]+)/i,/(lbbrowser)/i],[d],[/((?:fban\\/fbios|fb_iab\\/fb4a)(?!.+fbav)|;fbav\\/([\\w\\.]+);)/i],[[d,R],w],[/safari (line)\\/([\\w\\.]+)/i,/\\b(line)\\/([\\w\\.]+)\\/iab/i,/(chromium|instagram)[\\/ ]([-\\w\\.]+)/i],[d,w],[/\\bgsa\\/([\\w\\.]+) .*safari\\//i],[w,[d,\"GSA\"]],[/headlesschrome(?:\\/([\\w\\.]+)| )/i],[w,[d,\"Chrome Headless\"]],[/ wv\\).+(chrome)\\/([\\w\\.]+)/i],[[d,\"Chrome WebView\"],w],[/droid.+ version\\/([\\w\\.]+)\\b.+(?:mobile safari|safari)/i],[w,[d,\"Android Browser\"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\\/v?([\\w\\.]+)/i],[d,w],[/version\\/([\\w\\.]+) .*mobile\\/\\w+ (safari)/i],[w,[d,\"Mobile Safari\"]],[/version\\/([\\w\\.]+) .*(mobile ?safari|safari)/i],[w,d],[/webkit.+?(mobile ?safari|safari)(\\/[\\w\\.]+)/i],[d,[w,q,{\"1.0\":\"/8\",1.2:\"/1\",1.3:\"/3\",\"2.0\":\"/412\",\"2.0.2\":\"/416\",\"2.0.3\":\"/417\",\"2.0.4\":\"/419\",\"?\":\"/\"}]],[/(webkit|khtml)\\/([\\w\\.]+)/i],[d,w],[/(navigator|netscape\\d?)\\/([-\\w\\.]+)/i],[[d,\"Netscape\"],w],[/mobile vr; rv:([\\w\\.]+)\\).+firefox/i],[w,[d,\"Firefox Reality\"]],[/ekiohf.+(flow)\\/([\\w\\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\\/ ]?([\\w\\.\\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\\/([-\\w\\.]+)$/i,/(firefox)\\/([\\w\\.]+)/i,/(mozilla)\\/([\\w\\.]+) .+rv\\:.+gecko\\/\\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\\. ]?browser)[-\\/ ]?v?([\\w\\.]+)/i,/(links) \\(([\\w\\.]+)/i],[d,w]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\\)]/i],[[g,\"amd64\"]],[/(ia32(?=;))/i],[[g,O]],[/((?:i[346]|x)86)[;\\)]/i],[[g,\"ia32\"]],[/\\b(aarch64|arm(v?8e?l?|_?64))\\b/i],[[g,\"arm64\"]],[/\\b(arm(?:v[67])?ht?n?[fl]p?)\\b/i],[[g,\"armhf\"]],[/windows (ce|mobile); ppc;/i],[[g,\"arm\"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\\))/i],[[g,/ower/,\"\",O]],[/(sun4\\w)[;\\)]/i],[[g,\"sparc\"]],[/((?:avr32|ia64(?=;))|68k(?=\\))|\\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\\b|pa-risc)/i],[[g,O]]],device:[[/\\b(sch-i[89]0\\d|shw-m380s|sm-[pt]\\w{2,4}|gt-[pn]\\d{2,4}|sgh-t8[56]9|nexus 10)/i],[c,[m,G],[b,h]],[/\\b((?:s[cgp]h|gt|sm)-\\w+|galaxy nexus)/i,/samsung[- ]([-\\w]+)/i,/sec-(sgh\\w+)/i],[c,[m,G],[b,f]],[/\\((ip(?:hone|od)[\\w ]*);/i],[c,[m,S],[b,f]],[/\\((ipad);[-\\w\\),; ]+apple/i,/applecoremedia\\/[\\w\\.]+ \\((ipad)/i,/\\b(ipad)\\d\\d?,\\d\\d?[;\\]].+ios/i],[c,[m,S],[b,h]],[/\\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\\d{2})\\b(?!.+d\\/s)/i],[c,[m,B],[b,h]],[/(?:huawei|honor)([-\\w ]+)[;\\)]/i,/\\b(nexus 6p|\\w{2,4}-[atu]?[ln][01259x][012359][an]?)\\b(?!.+d\\/s)/i],[c,[m,B],[b,f]],[/\\b(poco[\\w ]+)(?: bui|\\))/i,/\\b; (\\w+) build\\/hm\\1/i,/\\b(hm[-_ ]?note?[_ ]?(?:\\d\\w)?) bui/i,/\\b(redmi[\\-_ ]?(?:note|k)?[\\w_ ]+)(?: bui|\\))/i,/\\b(mi[-_ ]?(?:a\\d|one|one[_ ]plus|note lte|max)?[_ ]?(?:\\d?\\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\\))/i],[[c,/_/g,\" \"],[m,j],[b,f]],[/\\b(mi[-_ ]?(?:pad)(?:[\\w_ ]+))(?: bui|\\))/i],[[c,/_/g,\" \"],[m,j],[b,h]],[/; (\\w+) bui.+ oppo/i,/\\b(cph[12]\\d{3}|p(?:af|c[al]|d\\w|e[ar])[mt]\\d0|x9007)\\b/i],[c,[m,\"OPPO\"],[b,f]],[/vivo (\\w+)(?: bui|\\))/i,/\\b(v[12]\\d{3}\\w?[at])(?: bui|;)/i],[c,[m,\"Vivo\"],[b,f]],[/\\b(rmx[12]\\d{3})(?: bui|;|\\))/i],[c,[m,\"Realme\"],[b,f]],[/\\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\\b[\\w ]+build\\//i,/\\bmot(?:orola)?[- ](\\w*)/i,/((?:moto[\\w\\(\\) ]+|xt\\d{3,4}|nexus 6)(?= bui|\\)))/i],[c,[m,U],[b,f]],[/\\b(mz60\\d|xoom[2 ]{0,2}) build\\//i],[c,[m,U],[b,h]],[/((?=lg)?[vl]k\\-?\\d{3}) bui| 3\\.[-\\w; ]{10}lg?-([06cv9]{3,4})/i],[c,[m,A],[b,h]],[/(lm(?:-?f100[nv]?|-[\\w\\.]+)(?= bui|\\))|nexus [45])/i,/\\blg[-e;\\/ ]+((?!browser|netcast|android tv)\\w+)/i,/\\blg-?([\\d\\w]+) bui/i],[c,[m,A],[b,f]],[/(ideatab[-\\w ]+)/i,/lenovo ?(s[56]000[-\\w]+|tab(?:[\\w ]+)|yt[-\\d\\w]{6}|tb[-\\d\\w]{6})/i],[c,[m,\"Lenovo\"],[b,h]],[/(?:maemo|nokia).*(n900|lumia \\d+)/i,/nokia[-_ ]?([-\\w\\.]*)/i],[[c,/_/g,\" \"],[m,\"Nokia\"],[b,f]],[/(pixel c)\\b/i],[c,[m,T],[b,h]],[/droid.+; (pixel[\\daxl ]{0,6})(?: bui|\\))/i],[c,[m,T],[b,f]],[/droid.+ ([c-g]\\d{4}|so[-gl]\\w+|xq-a\\w[4-7][12])(?= bui|\\).+chrome\\/(?![1-6]{0,1}\\d\\.))/i],[c,[m,N],[b,f]],[/sony tablet [ps]/i,/\\b(?:sony)?sgp\\w+(?: bui|\\))/i],[[c,\"Xperia Tablet\"],[m,N],[b,h]],[/ (kb2005|in20[12]5|be20[12][59])\\b/i,/(?:one)?(?:plus)? (a\\d0\\d\\d)(?: b|\\))/i],[c,[m,\"OnePlus\"],[b,f]],[/(alexa)webm/i,/(kf[a-z]{2}wi)( bui|\\))/i,/(kf[a-z]+)( bui|\\)).+silk\\//i],[c,[m,k],[b,h]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\\)).+silk\\//i],[[c,/(.+)/g,\"Fire Phone $1\"],[m,k],[b,f]],[/(playbook);[-\\w\\),; ]+(rim)/i],[c,m,[b,h]],[/\\b((?:bb[a-f]|st[hv])100-\\d)/i,/\\(bb10; (\\w+)/i],[c,[m,M],[b,f]],[/(?:\\b|asus_)(transfo[prime ]{4,10} \\w+|eeepc|slider \\w+|nexus 7|padfone|p00[cj])/i],[c,[m,C],[b,h]],[/ (z[bes]6[027][012][km][ls]|zenfone \\d\\w?)\\b/i],[c,[m,C],[b,f]],[/(nexus 9)/i],[c,[m,\"HTC\"],[b,h]],[/(htc)[-;_ ]{1,2}([\\w ]+(?=\\)| bui)|\\w+)/i,/(zte)[- ]([\\w ]+?)(?: bui|\\/|\\))/i,/(alcatel|geeksphone|nexian|panasonic|sony)[-_ ]?([-\\w]*)/i],[m,[c,/_/g,\" \"],[b,f]],[/droid.+; ([ab][1-7]-?[0178a]\\d\\d?)/i],[c,[m,\"Acer\"],[b,h]],[/droid.+; (m[1-5] note) bui/i,/\\bmz-([-\\w]{2,})/i],[c,[m,\"Meizu\"],[b,f]],[/\\b(sh-?[altvz]?\\d\\d[a-ekm]?)/i],[c,[m,\"Sharp\"],[b,f]],[/(blackberry|benq|palm(?=\\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\\w]*)/i,/(hp) ([\\w ]+\\w)/i,/(asus)-?(\\w+)/i,/(microsoft); (lumia[\\w ]+)/i,/(lenovo)[-_ ]?([-\\w]+)/i,/(jolla)/i,/(oppo) ?([\\w ]+) bui/i],[m,c,[b,f]],[/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\\/([\\w\\.]+)/i,/(nook)[\\w ]+build\\/(\\w+)/i,/(dell) (strea[kpr\\d ]*[\\dko])/i,/(le[- ]+pan)[- ]+(\\w{1,9}) bui/i,/(trinity)[- ]*(t\\d{3}) bui/i,/(gigaset)[- ]+(q\\w{1,9}) bui/i,/(vodafone) ([\\w ]+)(?:\\)| bui)/i],[m,c,[b,h]],[/(surface duo)/i],[c,[m,L],[b,h]],[/droid [\\d\\.]+; (fp\\du?)(?: b|\\))/i],[c,[m,\"Fairphone\"],[b,f]],[/(u304aa)/i],[c,[m,\"AT&T\"],[b,f]],[/\\bsie-(\\w*)/i],[c,[m,\"Siemens\"],[b,f]],[/\\b(rct\\w+) b/i],[c,[m,\"RCA\"],[b,h]],[/\\b(venue[\\d ]{2,7}) b/i],[c,[m,\"Dell\"],[b,h]],[/\\b(q(?:mv|ta)\\w+) b/i],[c,[m,\"Verizon\"],[b,h]],[/\\b(?:barnes[& ]+noble |bn[rt])([\\w\\+ ]*) b/i],[c,[m,\"Barnes & Noble\"],[b,h]],[/\\b(tm\\d{3}\\w+) b/i],[c,[m,\"NuVision\"],[b,h]],[/\\b(k88) b/i],[c,[m,\"ZTE\"],[b,h]],[/\\b(nx\\d{3}j) b/i],[c,[m,\"ZTE\"],[b,f]],[/\\b(gen\\d{3}) b.+49h/i],[c,[m,\"Swiss\"],[b,f]],[/\\b(zur\\d{3}) b/i],[c,[m,\"Swiss\"],[b,h]],[/\\b((zeki)?tb.*\\b) b/i],[c,[m,\"Zeki\"],[b,h]],[/\\b([yr]\\d{2}) b/i,/\\b(dragon[- ]+touch |dt)(\\w{5}) b/i],[[m,\"Dragon Touch\"],c,[b,h]],[/\\b(ns-?\\w{0,9}) b/i],[c,[m,\"Insignia\"],[b,h]],[/\\b((nxa|next)-?\\w{0,9}) b/i],[c,[m,\"NextBook\"],[b,h]],[/\\b(xtreme\\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[m,\"Voice\"],c,[b,f]],[/\\b(lvtel\\-)?(v1[12]) b/i],[[m,\"LvTel\"],c,[b,f]],[/\\b(ph-1) /i],[c,[m,\"Essential\"],[b,f]],[/\\b(v(100md|700na|7011|917g).*\\b) b/i],[c,[m,\"Envizen\"],[b,h]],[/\\b(trio[-\\w\\. ]+) b/i],[c,[m,\"MachSpeed\"],[b,h]],[/\\btu_(1491) b/i],[c,[m,\"Rotor\"],[b,h]],[/(shield[\\w ]+) b/i],[c,[m,\"Nvidia\"],[b,h]],[/(sprint) (\\w+)/i],[m,c,[b,f]],[/(kin\\.[onetw]{3})/i],[[c,/\\./g,\" \"],[m,L],[b,f]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\\)/i],[c,[m,_],[b,h]],[/droid.+; (ec30|ps20|tc[2-8]\\d[kx])\\)/i],[c,[m,_],[b,f]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[m,c,[b,p]],[/droid.+; (shield) bui/i],[c,[m,\"Nvidia\"],[b,p]],[/(playstation [345portablevi]+)/i],[c,[m,N],[b,p]],[/\\b(xbox(?: one)?(?!; xbox))[\\); ]/i],[c,[m,L],[b,p]],[/smart-tv.+(samsung)/i],[m,[b,v]],[/hbbtv.+maple;(\\d+)/i],[[c,/^/,\"SmartTV\"],[m,G],[b,v]],[/(nux; netcast.+smarttv|lg (netcast\\.tv-201\\d|android tv))/i],[[m,A],[b,v]],[/(apple) ?tv/i],[m,[c,\"Apple TV\"],[b,v]],[/crkey/i],[[c,\"Chromecast\"],[m,T],[b,v]],[/droid.+aft(\\w)( bui|\\))/i],[c,[m,k],[b,v]],[/\\(dtv[\\);].+(aquos)/i],[c,[m,\"Sharp\"],[b,v]],[/\\b(roku)[\\dx]*[\\)\\/]((?:dvp-)?[\\d\\.]*)/i,/hbbtv\\/\\d+\\.\\d+\\.\\d+ +\\([\\w ]*; *(\\w[^;]*);([^;]*)/i],[[m,z],[c,z],[b,v]],[/\\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\\b/i],[[b,v]],[/((pebble))app/i],[m,c,[b,y]],[/droid.+; (glass) \\d/i],[c,[m,T],[b,y]],[/droid.+; (wt63?0{2,3})\\)/i],[c,[m,_],[b,y]],[/(quest( 2)?)/i],[c,[m,R],[b,y]],[/(tesla)(?: qtcarbrowser|\\/[-\\w\\.]+)/i],[m,[b,x]],[/droid .+?; ([^;]+?)(?: bui|\\) applew).+? mobile safari/i],[c,[b,f]],[/droid .+?; ([^;]+?)(?: bui|\\) applew).+?(?! mobile) safari/i],[c,[b,h]],[/\\b((tablet|tab)[;\\/]|focus\\/\\d(?!.+mobile))/i],[[b,h]],[/(phone|mobile(?:[;\\/]| safari)|pda(?=.+windows ce))/i],[[b,f]],[/(android[-\\w\\. ]{0,9});.+buil/i],[c,[m,\"Generic\"]]],engine:[[/windows.+ edge\\/([\\w\\.]+)/i],[w,[d,\"EdgeHTML\"]],[/webkit\\/537\\.36.+chrome\\/(?!27)([\\w\\.]+)/i],[w,[d,\"Blink\"]],[/(presto)\\/([\\w\\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\\/([\\w\\.]+)/i,/ekioh(flow)\\/([\\w\\.]+)/i,/(khtml|tasman|links)[\\/ ]\\(?([\\w\\.]+)/i,/(icab)[\\/ ]([23]\\.[\\d\\.]+)/i],[d,w],[/rv\\:([\\w\\.]{1,9})\\b.+(gecko)/i],[w,d]],os:[[/microsoft (windows) (vista|xp)/i],[d,w],[/(windows) nt 6\\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\\/ ]?([\\d\\.\\w ]*)/i,/(windows)[\\/ ]?([ntce\\d\\. ]+\\w)(?!.+xbox)/i],[d,[w,q,W]],[/(win(?=3|9|n)|win 9x )([nt\\d\\.]+)/i],[[d,\"Windows\"],[w,q,W]],[/ip[honead]{2,4}\\b(?:.*os ([\\w]+) like mac|; opera)/i,/cfnetwork\\/.+darwin/i],[[w,/_/g,\".\"],[d,\"iOS\"]],[/(mac os x) ?([\\w\\. ]*)/i,/(macintosh|mac_powerpc\\b)(?!.+haiku)/i],[[d,\"Mac OS\"],[w,/_/g,\".\"]],[/droid ([\\w\\.]+)\\b.+(android[- ]x86)/i],[w,d],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\\/ ]?([\\w\\.]*)/i,/(blackberry)\\w*\\/([\\w\\.]*)/i,/(tizen|kaios)[\\/ ]([\\w\\.]+)/i,/\\((series40);/i],[d,w],[/\\(bb(10);/i],[w,[d,M]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\\/ ]?([\\w\\.]*)/i],[w,[d,\"Symbian\"]],[/mozilla\\/[\\d\\.]+ \\((?:mobile|tablet|tv|mobile; [\\w ]+); rv:.+ gecko\\/([\\w\\.]+)/i],[w,[d,\"Firefox OS\"]],[/web0s;.+rt(tv)/i,/\\b(?:hp)?wos(?:browser)?\\/([\\w\\.]+)/i],[w,[d,\"webOS\"]],[/crkey\\/([\\d\\.]+)/i],[w,[d,\"Chromecast\"]],[/(cros) [\\w]+ ([\\w\\.]+\\w)/i],[[d,\"Chromium OS\"],w],[/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\\);]+)/i,/\\b(joli|palm)\\b ?(?:os)?\\/?([\\w\\.]*)/i,/(mint)[\\/\\(\\) ]?(\\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\\/ ]?(?!chrom|package)([-\\w\\.]*)/i,/(hurd|linux) ?([\\w\\.]*)/i,/(gnu) ?([\\w\\.]*)/i,/\\b([-frentopcghs]{0,5}bsd|dragonfly)[\\/ ]?(?!amd|[ix346]{1,2}86)([\\w\\.]*)/i,/(haiku) (\\w+)/i],[d,w],[/(sunos) ?([\\w\\.\\d]*)/i],[[d,\"Solaris\"],w],[/((?:open)?solaris)[-\\/ ]?([\\w\\.]*)/i,/(aix) ((\\d)(?=\\.|\\)| )[\\w\\.])*/i,/\\b(beos|os\\/2|amigaos|morphos|openvms|fuchsia|hp-ux)/i,/(unix) ?([\\w\\.]*)/i],[d,w]]},H=function(e,i){if(typeof e===l&&(i=e,e=r),!(this instanceof H))return new H(e,i).getResult();var t=e||(typeof o!==s&&o.navigator&&o.navigator.userAgent?o.navigator.userAgent:\"\"),n=i?function(e,i){var t={};for(var n in e)i[n]&&i[n].length%2==0?t[n]=i[n].concat(e[n]):t[n]=e[n];return t}(V,i):V;return this.getBrowser=function(){var e,i={};return i.name=r,i.version=r,F.call(i,t,n.browser),i.major=typeof(e=i.version)===u?e.replace(/[^\\d\\.]/g,\"\").split(\".\")[0]:r,i},this.getCPU=function(){var e={};return e.architecture=r,F.call(e,t,n.cpu),e},this.getDevice=function(){var e={};return e.vendor=r,e.model=r,e.type=r,F.call(e,t,n.device),e},this.getEngine=function(){var e={};return e.name=r,e.version=r,F.call(e,t,n.engine),e},this.getOS=function(){var e={};return e.name=r,e.version=r,F.call(e,t,n.os),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return t},this.setUA=function(e){return t=typeof e===u&&e.length>255?z(e,255):e,this},this.setUA(t),this};H.VERSION=\"0.7.30\",H.BROWSER=D([d,w,\"major\"]),H.CPU=D([g]),H.DEVICE=D([c,m,b,p,f,v,h,y,x]),H.ENGINE=H.OS=D([d,w]),typeof i!==s?(typeof e!==s&&e.exports&&(i=e.exports=H),i.UAParser=H):t(5)?(n=function(){return H}.call(i,t,i,e))===r||(e.exports=n):typeof o!==s&&(o.UAParser=H);var K=typeof o!==s&&(o.jQuery||o.Zepto);if(K&&!K.ua){var Y=new H;K.ua=Y.getResult(),K.ua.get=function(){return Y.getUA()},K.ua.set=function(e){Y.setUA(e);var i=Y.getResult();for(var t in i)K.ua[t]=i[t]}}}(\"object\"==typeof window?window:this)},function(e,i){(function(i){e.exports=i}).call(this,{})},function(e,i){e.exports=function(){var e=[\"monospace\",\"sans-serif\",\"serif\"],i=document.getElementsByTagName(\"body\")[0],t=document.createElement(\"span\");t.style.fontSize=\"72px\",t.innerHTML=\"mmmmmmmmmmlli\";var n={},o={};for(var r in e)t.style.fontFamily=e[r],i.appendChild(t),n[e[r]]=t.offsetWidth,o[e[r]]=t.offsetHeight,i.removeChild(t);this.detect=function(r){var a=!1;for(var s in e){t.style.fontFamily=r+\",\"+e[s],i.appendChild(t);var l=t.offsetWidth!=n[e[s]]||t.offsetHeight!=o[e[s]];i.removeChild(t),a=a||l}return a}}}])}));\n","/* flatpickr v4.6.1, @license MIT */\n(function (global, factory) {\n    typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :\n    typeof define === 'function' && define.amd ? define(factory) :\n    (global = global || self, global.flatpickr = factory());\n}(this, function () { 'use strict';\n\n    /*! *****************************************************************************\r\n    Copyright (c) Microsoft Corporation. All rights reserved.\r\n    Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use\r\n    this file except in compliance with the License. You may obtain a copy of the\r\n    License at http://www.apache.org/licenses/LICENSE-2.0\r\n\r\n    THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\n    KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\n    WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\n    MERCHANTABLITY OR NON-INFRINGEMENT.\r\n\r\n    See the Apache Version 2.0 License for specific language governing permissions\r\n    and limitations under the License.\r\n    ***************************************************************************** */\r\n\r\n    var __assign = function() {\r\n        __assign = Object.assign || function __assign(t) {\r\n            for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n                s = arguments[i];\r\n                for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n            }\r\n            return t;\r\n        };\r\n        return __assign.apply(this, arguments);\r\n    };\n\n    var HOOKS = [\n        \"onChange\",\n        \"onClose\",\n        \"onDayCreate\",\n        \"onDestroy\",\n        \"onKeyDown\",\n        \"onMonthChange\",\n        \"onOpen\",\n        \"onParseConfig\",\n        \"onReady\",\n        \"onValueUpdate\",\n        \"onYearChange\",\n        \"onPreCalendarPosition\",\n    ];\n    var defaults = {\n        _disable: [],\n        _enable: [],\n        allowInput: false,\n        altFormat: \"F j, Y\",\n        altInput: false,\n        altInputClass: \"form-control input\",\n        animate: typeof window === \"object\" &&\n            window.navigator.userAgent.indexOf(\"MSIE\") === -1,\n        ariaDateFormat: \"F j, Y\",\n        clickOpens: true,\n        closeOnSelect: true,\n        conjunction: \", \",\n        dateFormat: \"Y-m-d\",\n        defaultHour: 12,\n        defaultMinute: 0,\n        defaultSeconds: 0,\n        disable: [],\n        disableMobile: false,\n        enable: [],\n        enableSeconds: false,\n        enableTime: false,\n        errorHandler: function (err) {\n            return typeof console !== \"undefined\" && console.warn(err);\n        },\n        getWeek: function (givenDate) {\n            var date = new Date(givenDate.getTime());\n            date.setHours(0, 0, 0, 0);\n            // Thursday in current week decides the year.\n            date.setDate(date.getDate() + 3 - ((date.getDay() + 6) % 7));\n            // January 4 is always in week 1.\n            var week1 = new Date(date.getFullYear(), 0, 4);\n            // Adjust to Thursday in week 1 and count number of weeks from date to week1.\n            return (1 +\n                Math.round(((date.getTime() - week1.getTime()) / 86400000 -\n                    3 +\n                    ((week1.getDay() + 6) % 7)) /\n                    7));\n        },\n        hourIncrement: 1,\n        ignoredFocusElements: [],\n        inline: false,\n        locale: \"default\",\n        minuteIncrement: 5,\n        mode: \"single\",\n        nextArrow: \"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M13.207 8.472l-7.854 7.854-0.707-0.707 7.146-7.146-7.146-7.148 0.707-0.707 7.854 7.854z' /></svg>\",\n        noCalendar: false,\n        now: new Date(),\n        onChange: [],\n        onClose: [],\n        onDayCreate: [],\n        onDestroy: [],\n        onKeyDown: [],\n        onMonthChange: [],\n        onOpen: [],\n        onParseConfig: [],\n        onReady: [],\n        onValueUpdate: [],\n        onYearChange: [],\n        onPreCalendarPosition: [],\n        plugins: [],\n        position: \"auto\",\n        positionElement: undefined,\n        prevArrow: \"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M5.207 8.471l7.146 7.147-0.707 0.707-7.853-7.854 7.854-7.853 0.707 0.707-7.147 7.146z' /></svg>\",\n        shorthandCurrentMonth: false,\n        showMonths: 1,\n        static: false,\n        time_24hr: false,\n        weekNumbers: false,\n        wrap: false\n    };\n\n    var english = {\n        weekdays: {\n            shorthand: [\"Sun\", \"Mon\", \"Tue\", \"Wed\", \"Thu\", \"Fri\", \"Sat\"],\n            longhand: [\n                \"Sunday\",\n                \"Monday\",\n                \"Tuesday\",\n                \"Wednesday\",\n                \"Thursday\",\n                \"Friday\",\n                \"Saturday\",\n            ]\n        },\n        months: {\n            shorthand: [\n                \"Jan\",\n                \"Feb\",\n                \"Mar\",\n                \"Apr\",\n                \"May\",\n                \"Jun\",\n                \"Jul\",\n                \"Aug\",\n                \"Sep\",\n                \"Oct\",\n                \"Nov\",\n                \"Dec\",\n            ],\n            longhand: [\n                \"January\",\n                \"February\",\n                \"March\",\n                \"April\",\n                \"May\",\n                \"June\",\n                \"July\",\n                \"August\",\n                \"September\",\n                \"October\",\n                \"November\",\n                \"December\",\n            ]\n        },\n        daysInMonth: [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31],\n        firstDayOfWeek: 0,\n        ordinal: function (nth) {\n            var s = nth % 100;\n            if (s > 3 && s < 21)\n                return \"th\";\n            switch (s % 10) {\n                case 1:\n                    return \"st\";\n                case 2:\n                    return \"nd\";\n                case 3:\n                    return \"rd\";\n                default:\n                    return \"th\";\n            }\n        },\n        rangeSeparator: \" to \",\n        weekAbbreviation: \"Wk\",\n        scrollTitle: \"Scroll to increment\",\n        toggleTitle: \"Click to toggle\",\n        amPM: [\"AM\", \"PM\"],\n        yearAriaLabel: \"Year\",\n        time_24hr: false\n    };\n\n    var pad = function (number) { return (\"0\" + number).slice(-2); };\n    var int = function (bool) { return (bool === true ? 1 : 0); };\n    /* istanbul ignore next */\n    function debounce(func, wait, immediate) {\n        if (immediate === void 0) { immediate = false; }\n        var timeout;\n        return function () {\n            var context = this, args = arguments;\n            timeout !== null && clearTimeout(timeout);\n            timeout = window.setTimeout(function () {\n                timeout = null;\n                if (!immediate)\n                    func.apply(context, args);\n            }, wait);\n            if (immediate && !timeout)\n                func.apply(context, args);\n        };\n    }\n    var arrayify = function (obj) {\n        return obj instanceof Array ? obj : [obj];\n    };\n\n    function toggleClass(elem, className, bool) {\n        if (bool === true)\n            return elem.classList.add(className);\n        elem.classList.remove(className);\n    }\n    function createElement(tag, className, content) {\n        var e = window.document.createElement(tag);\n        className = className || \"\";\n        content = content || \"\";\n        e.className = className;\n        if (content !== undefined)\n            e.textContent = content;\n        return e;\n    }\n    function clearNode(node) {\n        while (node.firstChild)\n            node.removeChild(node.firstChild);\n    }\n    function findParent(node, condition) {\n        if (condition(node))\n            return node;\n        else if (node.parentNode)\n            return findParent(node.parentNode, condition);\n        return undefined; // nothing found\n    }\n    function createNumberInput(inputClassName, opts) {\n        var wrapper = createElement(\"div\", \"numInputWrapper\"), numInput = createElement(\"input\", \"numInput \" + inputClassName), arrowUp = createElement(\"span\", \"arrowUp\"), arrowDown = createElement(\"span\", \"arrowDown\");\n        if (navigator.userAgent.indexOf(\"MSIE 9.0\") === -1) {\n            numInput.type = \"number\";\n        }\n        else {\n            numInput.type = \"text\";\n            numInput.pattern = \"\\\\d*\";\n        }\n        if (opts !== undefined)\n            for (var key in opts)\n                numInput.setAttribute(key, opts[key]);\n        wrapper.appendChild(numInput);\n        wrapper.appendChild(arrowUp);\n        wrapper.appendChild(arrowDown);\n        return wrapper;\n    }\n    function getEventTarget(event) {\n        if (typeof event.composedPath === \"function\") {\n            var path = event.composedPath();\n            return path[0];\n        }\n        return event.target;\n    }\n\n    var doNothing = function () { return undefined; };\n    var monthToStr = function (monthNumber, shorthand, locale) { return locale.months[shorthand ? \"shorthand\" : \"longhand\"][monthNumber]; };\n    var revFormat = {\n        D: doNothing,\n        F: function (dateObj, monthName, locale) {\n            dateObj.setMonth(locale.months.longhand.indexOf(monthName));\n        },\n        G: function (dateObj, hour) {\n            dateObj.setHours(parseFloat(hour));\n        },\n        H: function (dateObj, hour) {\n            dateObj.setHours(parseFloat(hour));\n        },\n        J: function (dateObj, day) {\n            dateObj.setDate(parseFloat(day));\n        },\n        K: function (dateObj, amPM, locale) {\n            dateObj.setHours((dateObj.getHours() % 12) +\n                12 * int(new RegExp(locale.amPM[1], \"i\").test(amPM)));\n        },\n        M: function (dateObj, shortMonth, locale) {\n            dateObj.setMonth(locale.months.shorthand.indexOf(shortMonth));\n        },\n        S: function (dateObj, seconds) {\n            dateObj.setSeconds(parseFloat(seconds));\n        },\n        U: function (_, unixSeconds) { return new Date(parseFloat(unixSeconds) * 1000); },\n        W: function (dateObj, weekNum, locale) {\n            var weekNumber = parseInt(weekNum);\n            var date = new Date(dateObj.getFullYear(), 0, 2 + (weekNumber - 1) * 7, 0, 0, 0, 0);\n            date.setDate(date.getDate() - date.getDay() + locale.firstDayOfWeek);\n            return date;\n        },\n        Y: function (dateObj, year) {\n            dateObj.setFullYear(parseFloat(year));\n        },\n        Z: function (_, ISODate) { return new Date(ISODate); },\n        d: function (dateObj, day) {\n            dateObj.setDate(parseFloat(day));\n        },\n        h: function (dateObj, hour) {\n            dateObj.setHours(parseFloat(hour));\n        },\n        i: function (dateObj, minutes) {\n            dateObj.setMinutes(parseFloat(minutes));\n        },\n        j: function (dateObj, day) {\n            dateObj.setDate(parseFloat(day));\n        },\n        l: doNothing,\n        m: function (dateObj, month) {\n            dateObj.setMonth(parseFloat(month) - 1);\n        },\n        n: function (dateObj, month) {\n            dateObj.setMonth(parseFloat(month) - 1);\n        },\n        s: function (dateObj, seconds) {\n            dateObj.setSeconds(parseFloat(seconds));\n        },\n        u: function (_, unixMillSeconds) {\n            return new Date(parseFloat(unixMillSeconds));\n        },\n        w: doNothing,\n        y: function (dateObj, year) {\n            dateObj.setFullYear(2000 + parseFloat(year));\n        }\n    };\n    var tokenRegex = {\n        D: \"(\\\\w+)\",\n        F: \"(\\\\w+)\",\n        G: \"(\\\\d\\\\d|\\\\d)\",\n        H: \"(\\\\d\\\\d|\\\\d)\",\n        J: \"(\\\\d\\\\d|\\\\d)\\\\w+\",\n        K: \"\",\n        M: \"(\\\\w+)\",\n        S: \"(\\\\d\\\\d|\\\\d)\",\n        U: \"(.+)\",\n        W: \"(\\\\d\\\\d|\\\\d)\",\n        Y: \"(\\\\d{4})\",\n        Z: \"(.+)\",\n        d: \"(\\\\d\\\\d|\\\\d)\",\n        h: \"(\\\\d\\\\d|\\\\d)\",\n        i: \"(\\\\d\\\\d|\\\\d)\",\n        j: \"(\\\\d\\\\d|\\\\d)\",\n        l: \"(\\\\w+)\",\n        m: \"(\\\\d\\\\d|\\\\d)\",\n        n: \"(\\\\d\\\\d|\\\\d)\",\n        s: \"(\\\\d\\\\d|\\\\d)\",\n        u: \"(.+)\",\n        w: \"(\\\\d\\\\d|\\\\d)\",\n        y: \"(\\\\d{2})\"\n    };\n    var formats = {\n        // get the date in UTC\n        Z: function (date) { return date.toISOString(); },\n        // weekday name, short, e.g. Thu\n        D: function (date, locale, options) {\n            return locale.weekdays.shorthand[formats.w(date, locale, options)];\n        },\n        // full month name e.g. January\n        F: function (date, locale, options) {\n            return monthToStr(formats.n(date, locale, options) - 1, false, locale);\n        },\n        // padded hour 1-12\n        G: function (date, locale, options) {\n            return pad(formats.h(date, locale, options));\n        },\n        // hours with leading zero e.g. 03\n        H: function (date) { return pad(date.getHours()); },\n        // day (1-30) with ordinal suffix e.g. 1st, 2nd\n        J: function (date, locale) {\n            return locale.ordinal !== undefined\n                ? date.getDate() + locale.ordinal(date.getDate())\n                : date.getDate();\n        },\n        // AM/PM\n        K: function (date, locale) { return locale.amPM[int(date.getHours() > 11)]; },\n        // shorthand month e.g. Jan, Sep, Oct, etc\n        M: function (date, locale) {\n            return monthToStr(date.getMonth(), true, locale);\n        },\n        // seconds 00-59\n        S: function (date) { return pad(date.getSeconds()); },\n        // unix timestamp\n        U: function (date) { return date.getTime() / 1000; },\n        W: function (date, _, options) {\n            return options.getWeek(date);\n        },\n        // full year e.g. 2016\n        Y: function (date) { return date.getFullYear(); },\n        // day in month, padded (01-30)\n        d: function (date) { return pad(date.getDate()); },\n        // hour from 1-12 (am/pm)\n        h: function (date) { return (date.getHours() % 12 ? date.getHours() % 12 : 12); },\n        // minutes, padded with leading zero e.g. 09\n        i: function (date) { return pad(date.getMinutes()); },\n        // day in month (1-30)\n        j: function (date) { return date.getDate(); },\n        // weekday name, full, e.g. Thursday\n        l: function (date, locale) {\n            return locale.weekdays.longhand[date.getDay()];\n        },\n        // padded month number (01-12)\n        m: function (date) { return pad(date.getMonth() + 1); },\n        // the month number (1-12)\n        n: function (date) { return date.getMonth() + 1; },\n        // seconds 0-59\n        s: function (date) { return date.getSeconds(); },\n        // Unix Milliseconds\n        u: function (date) { return date.getTime(); },\n        // number of the day of the week\n        w: function (date) { return date.getDay(); },\n        // last two digits of year e.g. 16 for 2016\n        y: function (date) { return String(date.getFullYear()).substring(2); }\n    };\n\n    var createDateFormatter = function (_a) {\n        var _b = _a.config, config = _b === void 0 ? defaults : _b, _c = _a.l10n, l10n = _c === void 0 ? english : _c;\n        return function (dateObj, frmt, overrideLocale) {\n            var locale = overrideLocale || l10n;\n            if (config.formatDate !== undefined) {\n                return config.formatDate(dateObj, frmt, locale);\n            }\n            return frmt\n                .split(\"\")\n                .map(function (c, i, arr) {\n                return formats[c] && arr[i - 1] !== \"\\\\\"\n                    ? formats[c](dateObj, locale, config)\n                    : c !== \"\\\\\"\n                        ? c\n                        : \"\";\n            })\n                .join(\"\");\n        };\n    };\n    var createDateParser = function (_a) {\n        var _b = _a.config, config = _b === void 0 ? defaults : _b, _c = _a.l10n, l10n = _c === void 0 ? english : _c;\n        return function (date, givenFormat, timeless, customLocale) {\n            if (date !== 0 && !date)\n                return undefined;\n            var locale = customLocale || l10n;\n            var parsedDate;\n            var dateOrig = date;\n            if (date instanceof Date)\n                parsedDate = new Date(date.getTime());\n            else if (typeof date !== \"string\" &&\n                date.toFixed !== undefined // timestamp\n            )\n                // create a copy\n                parsedDate = new Date(date);\n            else if (typeof date === \"string\") {\n                // date string\n                var format = givenFormat || (config || defaults).dateFormat;\n                var datestr = String(date).trim();\n                if (datestr === \"today\") {\n                    parsedDate = new Date();\n                    timeless = true;\n                }\n                else if (/Z$/.test(datestr) ||\n                    /GMT$/.test(datestr) // datestrings w/ timezone\n                )\n                    parsedDate = new Date(date);\n                else if (config && config.parseDate)\n                    parsedDate = config.parseDate(date, format);\n                else {\n                    parsedDate =\n                        !config || !config.noCalendar\n                            ? new Date(new Date().getFullYear(), 0, 1, 0, 0, 0, 0)\n                            : new Date(new Date().setHours(0, 0, 0, 0));\n                    var matched = void 0, ops = [];\n                    for (var i = 0, matchIndex = 0, regexStr = \"\"; i < format.length; i++) {\n                        var token_1 = format[i];\n                        var isBackSlash = token_1 === \"\\\\\";\n                        var escaped = format[i - 1] === \"\\\\\" || isBackSlash;\n                        if (tokenRegex[token_1] && !escaped) {\n                            regexStr += tokenRegex[token_1];\n                            var match = new RegExp(regexStr).exec(date);\n                            if (match && (matched = true)) {\n                                ops[token_1 !== \"Y\" ? \"push\" : \"unshift\"]({\n                                    fn: revFormat[token_1],\n                                    val: match[++matchIndex]\n                                });\n                            }\n                        }\n                        else if (!isBackSlash)\n                            regexStr += \".\"; // don't really care\n                        ops.forEach(function (_a) {\n                            var fn = _a.fn, val = _a.val;\n                            return (parsedDate = fn(parsedDate, val, locale) || parsedDate);\n                        });\n                    }\n                    parsedDate = matched ? parsedDate : undefined;\n                }\n            }\n            /* istanbul ignore next */\n            if (!(parsedDate instanceof Date && !isNaN(parsedDate.getTime()))) {\n                config.errorHandler(new Error(\"Invalid date provided: \" + dateOrig));\n                return undefined;\n            }\n            if (timeless === true)\n                parsedDate.setHours(0, 0, 0, 0);\n            return parsedDate;\n        };\n    };\n    /**\n     * Compute the difference in dates, measured in ms\n     */\n    function compareDates(date1, date2, timeless) {\n        if (timeless === void 0) { timeless = true; }\n        if (timeless !== false) {\n            return (new Date(date1.getTime()).setHours(0, 0, 0, 0) -\n                new Date(date2.getTime()).setHours(0, 0, 0, 0));\n        }\n        return date1.getTime() - date2.getTime();\n    }\n    var isBetween = function (ts, ts1, ts2) {\n        return ts > Math.min(ts1, ts2) && ts < Math.max(ts1, ts2);\n    };\n    var duration = {\n        DAY: 86400000\n    };\n\n    if (typeof Object.assign !== \"function\") {\n        Object.assign = function (target) {\n            var args = [];\n            for (var _i = 1; _i < arguments.length; _i++) {\n                args[_i - 1] = arguments[_i];\n            }\n            if (!target) {\n                throw TypeError(\"Cannot convert undefined or null to object\");\n            }\n            var _loop_1 = function (source) {\n                if (source) {\n                    Object.keys(source).forEach(function (key) { return (target[key] = source[key]); });\n                }\n            };\n            for (var _a = 0, args_1 = args; _a < args_1.length; _a++) {\n                var source = args_1[_a];\n                _loop_1(source);\n            }\n            return target;\n        };\n    }\n\n    var DEBOUNCED_CHANGE_MS = 300;\n    function FlatpickrInstance(element, instanceConfig) {\n        var self = {\n            config: __assign({}, defaults, flatpickr.defaultConfig),\n            l10n: english\n        };\n        self.parseDate = createDateParser({ config: self.config, l10n: self.l10n });\n        self._handlers = [];\n        self.pluginElements = [];\n        self.loadedPlugins = [];\n        self._bind = bind;\n        self._setHoursFromDate = setHoursFromDate;\n        self._positionCalendar = positionCalendar;\n        self.changeMonth = changeMonth;\n        self.changeYear = changeYear;\n        self.clear = clear;\n        self.close = close;\n        self._createElement = createElement;\n        self.destroy = destroy;\n        self.isEnabled = isEnabled;\n        self.jumpToDate = jumpToDate;\n        self.open = open;\n        self.redraw = redraw;\n        self.set = set;\n        self.setDate = setDate;\n        self.toggle = toggle;\n        function setupHelperFunctions() {\n            self.utils = {\n                getDaysInMonth: function (month, yr) {\n                    if (month === void 0) { month = self.currentMonth; }\n                    if (yr === void 0) { yr = self.currentYear; }\n                    if (month === 1 && ((yr % 4 === 0 && yr % 100 !== 0) || yr % 400 === 0))\n                        return 29;\n                    return self.l10n.daysInMonth[month];\n                }\n            };\n        }\n        function init() {\n            self.element = self.input = element;\n            self.isOpen = false;\n            parseConfig();\n            setupLocale();\n            setupInputs();\n            setupDates();\n            setupHelperFunctions();\n            if (!self.isMobile)\n                build();\n            bindEvents();\n            if (self.selectedDates.length || self.config.noCalendar) {\n                if (self.config.enableTime) {\n                    setHoursFromDate(self.config.noCalendar\n                        ? self.latestSelectedDateObj || self.config.minDate\n                        : undefined);\n                }\n                updateValue(false);\n            }\n            setCalendarWidth();\n            self.showTimeInput =\n                self.selectedDates.length > 0 || self.config.noCalendar;\n            var isSafari = /^((?!chrome|android).)*safari/i.test(navigator.userAgent);\n            /* TODO: investigate this further\n        \n              Currently, there is weird positioning behavior in safari causing pages\n              to scroll up. https://github.com/chmln/flatpickr/issues/563\n        \n              However, most browsers are not Safari and positioning is expensive when used\n              in scale. https://github.com/chmln/flatpickr/issues/1096\n            */\n            if (!self.isMobile && isSafari) {\n                positionCalendar();\n            }\n            triggerEvent(\"onReady\");\n        }\n        function bindToInstance(fn) {\n            return fn.bind(self);\n        }\n        function setCalendarWidth() {\n            var config = self.config;\n            if (config.weekNumbers === false && config.showMonths === 1)\n                return;\n            else if (config.noCalendar !== true) {\n                window.requestAnimationFrame(function () {\n                    if (self.calendarContainer !== undefined) {\n                        self.calendarContainer.style.visibility = \"hidden\";\n                        self.calendarContainer.style.display = \"block\";\n                    }\n                    if (self.daysContainer !== undefined) {\n                        var daysWidth = (self.days.offsetWidth + 1) * config.showMonths;\n                        self.daysContainer.style.width = daysWidth + \"px\";\n                        self.calendarContainer.style.width =\n                            daysWidth +\n                                (self.weekWrapper !== undefined\n                                    ? self.weekWrapper.offsetWidth\n                                    : 0) +\n                                \"px\";\n                        self.calendarContainer.style.removeProperty(\"visibility\");\n                        self.calendarContainer.style.removeProperty(\"display\");\n                    }\n                });\n            }\n        }\n        /**\n         * The handler for all events targeting the time inputs\n         */\n        function updateTime(e) {\n            if (self.selectedDates.length === 0) {\n                setDefaultTime();\n            }\n            if (e !== undefined && e.type !== \"blur\") {\n                timeWrapper(e);\n            }\n            var prevValue = self._input.value;\n            setHoursFromInputs();\n            updateValue();\n            if (self._input.value !== prevValue) {\n                self._debouncedChange();\n            }\n        }\n        function ampm2military(hour, amPM) {\n            return (hour % 12) + 12 * int(amPM === self.l10n.amPM[1]);\n        }\n        function military2ampm(hour) {\n            switch (hour % 24) {\n                case 0:\n                case 12:\n                    return 12;\n                default:\n                    return hour % 12;\n            }\n        }\n        /**\n         * Syncs the selected date object time with user's time input\n         */\n        function setHoursFromInputs() {\n            if (self.hourElement === undefined || self.minuteElement === undefined)\n                return;\n            var hours = (parseInt(self.hourElement.value.slice(-2), 10) || 0) % 24, minutes = (parseInt(self.minuteElement.value, 10) || 0) % 60, seconds = self.secondElement !== undefined\n                ? (parseInt(self.secondElement.value, 10) || 0) % 60\n                : 0;\n            if (self.amPM !== undefined) {\n                hours = ampm2military(hours, self.amPM.textContent);\n            }\n            var limitMinHours = self.config.minTime !== undefined ||\n                (self.config.minDate &&\n                    self.minDateHasTime &&\n                    self.latestSelectedDateObj &&\n                    compareDates(self.latestSelectedDateObj, self.config.minDate, true) ===\n                        0);\n            var limitMaxHours = self.config.maxTime !== undefined ||\n                (self.config.maxDate &&\n                    self.maxDateHasTime &&\n                    self.latestSelectedDateObj &&\n                    compareDates(self.latestSelectedDateObj, self.config.maxDate, true) ===\n                        0);\n            if (limitMaxHours) {\n                var maxTime = self.config.maxTime !== undefined\n                    ? self.config.maxTime\n                    : self.config.maxDate;\n                hours = Math.min(hours, maxTime.getHours());\n                if (hours === maxTime.getHours())\n                    minutes = Math.min(minutes, maxTime.getMinutes());\n                if (minutes === maxTime.getMinutes())\n                    seconds = Math.min(seconds, maxTime.getSeconds());\n            }\n            if (limitMinHours) {\n                var minTime = self.config.minTime !== undefined\n                    ? self.config.minTime\n                    : self.config.minDate;\n                hours = Math.max(hours, minTime.getHours());\n                if (hours === minTime.getHours())\n                    minutes = Math.max(minutes, minTime.getMinutes());\n                if (minutes === minTime.getMinutes())\n                    seconds = Math.max(seconds, minTime.getSeconds());\n            }\n            setHours(hours, minutes, seconds);\n        }\n        /**\n         * Syncs time input values with a date\n         */\n        function setHoursFromDate(dateObj) {\n            var date = dateObj || self.latestSelectedDateObj;\n            if (date)\n                setHours(date.getHours(), date.getMinutes(), date.getSeconds());\n        }\n        function setDefaultHours() {\n            var hours = self.config.defaultHour;\n            var minutes = self.config.defaultMinute;\n            var seconds = self.config.defaultSeconds;\n            if (self.config.minDate !== undefined) {\n                var minHr = self.config.minDate.getHours();\n                var minMinutes = self.config.minDate.getMinutes();\n                hours = Math.max(hours, minHr);\n                if (hours === minHr)\n                    minutes = Math.max(minMinutes, minutes);\n                if (hours === minHr && minutes === minMinutes)\n                    seconds = self.config.minDate.getSeconds();\n            }\n            if (self.config.maxDate !== undefined) {\n                var maxHr = self.config.maxDate.getHours();\n                var maxMinutes = self.config.maxDate.getMinutes();\n                hours = Math.min(hours, maxHr);\n                if (hours === maxHr)\n                    minutes = Math.min(maxMinutes, minutes);\n                if (hours === maxHr && minutes === maxMinutes)\n                    seconds = self.config.maxDate.getSeconds();\n            }\n            setHours(hours, minutes, seconds);\n        }\n        /**\n         * Sets the hours, minutes, and optionally seconds\n         * of the latest selected date object and the\n         * corresponding time inputs\n         * @param {Number} hours the hour. whether its military\n         *                 or am-pm gets inferred from config\n         * @param {Number} minutes the minutes\n         * @param {Number} seconds the seconds (optional)\n         */\n        function setHours(hours, minutes, seconds) {\n            if (self.latestSelectedDateObj !== undefined) {\n                self.latestSelectedDateObj.setHours(hours % 24, minutes, seconds || 0, 0);\n            }\n            if (!self.hourElement || !self.minuteElement || self.isMobile)\n                return;\n            self.hourElement.value = pad(!self.config.time_24hr\n                ? ((12 + hours) % 12) + 12 * int(hours % 12 === 0)\n                : hours);\n            self.minuteElement.value = pad(minutes);\n            if (self.amPM !== undefined)\n                self.amPM.textContent = self.l10n.amPM[int(hours >= 12)];\n            if (self.secondElement !== undefined)\n                self.secondElement.value = pad(seconds);\n        }\n        /**\n         * Handles the year input and incrementing events\n         * @param {Event} event the keyup or increment event\n         */\n        function onYearInput(event) {\n            var year = parseInt(event.target.value) + (event.delta || 0);\n            if (year / 1000 > 1 ||\n                (event.key === \"Enter\" && !/[^\\d]/.test(year.toString()))) {\n                changeYear(year);\n            }\n        }\n        /**\n         * Essentially addEventListener + tracking\n         * @param {Element} element the element to addEventListener to\n         * @param {String} event the event name\n         * @param {Function} handler the event handler\n         */\n        function bind(element, event, handler, options) {\n            if (event instanceof Array)\n                return event.forEach(function (ev) { return bind(element, ev, handler, options); });\n            if (element instanceof Array)\n                return element.forEach(function (el) { return bind(el, event, handler, options); });\n            element.addEventListener(event, handler, options);\n            self._handlers.push({\n                element: element,\n                event: event,\n                handler: handler,\n                options: options\n            });\n        }\n        /**\n         * A mousedown handler which mimics click.\n         * Minimizes latency, since we don't need to wait for mouseup in most cases.\n         * Also, avoids handling right clicks.\n         *\n         * @param {Function} handler the event handler\n         */\n        function onClick(handler) {\n            return function (evt) {\n                evt.which === 1 && handler(evt);\n            };\n        }\n        function triggerChange() {\n            triggerEvent(\"onChange\");\n        }\n        /**\n         * Adds all the necessary event listeners\n         */\n        function bindEvents() {\n            if (self.config.wrap) {\n                [\"open\", \"close\", \"toggle\", \"clear\"].forEach(function (evt) {\n                    Array.prototype.forEach.call(self.element.querySelectorAll(\"[data-\" + evt + \"]\"), function (el) {\n                        return bind(el, \"click\", self[evt]);\n                    });\n                });\n            }\n            if (self.isMobile) {\n                setupMobile();\n                return;\n            }\n            var debouncedResize = debounce(onResize, 50);\n            self._debouncedChange = debounce(triggerChange, DEBOUNCED_CHANGE_MS);\n            if (self.daysContainer && !/iPhone|iPad|iPod/i.test(navigator.userAgent))\n                bind(self.daysContainer, \"mouseover\", function (e) {\n                    if (self.config.mode === \"range\")\n                        onMouseOver(e.target);\n                });\n            bind(window.document.body, \"keydown\", onKeyDown);\n            if (!self.config.inline && !self.config.static)\n                bind(window, \"resize\", debouncedResize);\n            if (window.ontouchstart !== undefined)\n                bind(window.document, \"touchstart\", documentClick);\n            else\n                bind(window.document, \"mousedown\", onClick(documentClick));\n            bind(window.document, \"focus\", documentClick, { capture: true });\n            if (self.config.clickOpens === true) {\n                bind(self._input, \"focus\", self.open);\n                bind(self._input, \"mousedown\", onClick(self.open));\n            }\n            if (self.daysContainer !== undefined) {\n                bind(self.monthNav, \"mousedown\", onClick(onMonthNavClick));\n                bind(self.monthNav, [\"keyup\", \"increment\"], onYearInput);\n                bind(self.daysContainer, \"mousedown\", onClick(selectDate));\n            }\n            if (self.timeContainer !== undefined &&\n                self.minuteElement !== undefined &&\n                self.hourElement !== undefined) {\n                var selText = function (e) {\n                    return e.target.select();\n                };\n                bind(self.timeContainer, [\"increment\"], updateTime);\n                bind(self.timeContainer, \"blur\", updateTime, { capture: true });\n                bind(self.timeContainer, \"mousedown\", onClick(timeIncrement));\n                bind([self.hourElement, self.minuteElement], [\"focus\", \"click\"], selText);\n                if (self.secondElement !== undefined)\n                    bind(self.secondElement, \"focus\", function () { return self.secondElement && self.secondElement.select(); });\n                if (self.amPM !== undefined) {\n                    bind(self.amPM, \"mousedown\", onClick(function (e) {\n                        updateTime(e);\n                        triggerChange();\n                    }));\n                }\n            }\n        }\n        /**\n         * Set the calendar view to a particular date.\n         * @param {Date} jumpDate the date to set the view to\n         * @param {boolean} triggerChange if change events should be triggered\n         */\n        function jumpToDate(jumpDate, triggerChange) {\n            var jumpTo = jumpDate !== undefined\n                ? self.parseDate(jumpDate)\n                : self.latestSelectedDateObj ||\n                    (self.config.minDate && self.config.minDate > self.now\n                        ? self.config.minDate\n                        : self.config.maxDate && self.config.maxDate < self.now\n                            ? self.config.maxDate\n                            : self.now);\n            var oldYear = self.currentYear;\n            var oldMonth = self.currentMonth;\n            try {\n                if (jumpTo !== undefined) {\n                    self.currentYear = jumpTo.getFullYear();\n                    self.currentMonth = jumpTo.getMonth();\n                }\n            }\n            catch (e) {\n                /* istanbul ignore next */\n                e.message = \"Invalid date supplied: \" + jumpTo;\n                self.config.errorHandler(e);\n            }\n            if (triggerChange && self.currentYear !== oldYear) {\n                triggerEvent(\"onYearChange\");\n                buildMonthSwitch();\n            }\n            if (triggerChange &&\n                (self.currentYear !== oldYear || self.currentMonth !== oldMonth)) {\n                triggerEvent(\"onMonthChange\");\n            }\n            self.redraw();\n        }\n        /**\n         * The up/down arrow handler for time inputs\n         * @param {Event} e the click event\n         */\n        function timeIncrement(e) {\n            if (~e.target.className.indexOf(\"arrow\"))\n                incrementNumInput(e, e.target.classList.contains(\"arrowUp\") ? 1 : -1);\n        }\n        /**\n         * Increments/decrements the value of input associ-\n         * ated with the up/down arrow by dispatching an\n         * \"increment\" event on the input.\n         *\n         * @param {Event} e the click event\n         * @param {Number} delta the diff (usually 1 or -1)\n         * @param {Element} inputElem the input element\n         */\n        function incrementNumInput(e, delta, inputElem) {\n            var target = e && e.target;\n            var input = inputElem ||\n                (target && target.parentNode && target.parentNode.firstChild);\n            var event = createEvent(\"increment\");\n            event.delta = delta;\n            input && input.dispatchEvent(event);\n        }\n        function build() {\n            var fragment = window.document.createDocumentFragment();\n            self.calendarContainer = createElement(\"div\", \"flatpickr-calendar\");\n            self.calendarContainer.tabIndex = -1;\n            if (!self.config.noCalendar) {\n                fragment.appendChild(buildMonthNav());\n                self.innerContainer = createElement(\"div\", \"flatpickr-innerContainer\");\n                if (self.config.weekNumbers) {\n                    var _a = buildWeeks(), weekWrapper = _a.weekWrapper, weekNumbers = _a.weekNumbers;\n                    self.innerContainer.appendChild(weekWrapper);\n                    self.weekNumbers = weekNumbers;\n                    self.weekWrapper = weekWrapper;\n                }\n                self.rContainer = createElement(\"div\", \"flatpickr-rContainer\");\n                self.rContainer.appendChild(buildWeekdays());\n                if (!self.daysContainer) {\n                    self.daysContainer = createElement(\"div\", \"flatpickr-days\");\n                    self.daysContainer.tabIndex = -1;\n                }\n                buildDays();\n                self.rContainer.appendChild(self.daysContainer);\n                self.innerContainer.appendChild(self.rContainer);\n                fragment.appendChild(self.innerContainer);\n            }\n            if (self.config.enableTime) {\n                fragment.appendChild(buildTime());\n            }\n            toggleClass(self.calendarContainer, \"rangeMode\", self.config.mode === \"range\");\n            toggleClass(self.calendarContainer, \"animate\", self.config.animate === true);\n            toggleClass(self.calendarContainer, \"multiMonth\", self.config.showMonths > 1);\n            self.calendarContainer.appendChild(fragment);\n            var customAppend = self.config.appendTo !== undefined &&\n                self.config.appendTo.nodeType !== undefined;\n            if (self.config.inline || self.config.static) {\n                self.calendarContainer.classList.add(self.config.inline ? \"inline\" : \"static\");\n                if (self.config.inline) {\n                    if (!customAppend && self.element.parentNode)\n                        self.element.parentNode.insertBefore(self.calendarContainer, self._input.nextSibling);\n                    else if (self.config.appendTo !== undefined)\n                        self.config.appendTo.appendChild(self.calendarContainer);\n                }\n                if (self.config.static) {\n                    var wrapper = createElement(\"div\", \"flatpickr-wrapper\");\n                    if (self.element.parentNode)\n                        self.element.parentNode.insertBefore(wrapper, self.element);\n                    wrapper.appendChild(self.element);\n                    if (self.altInput)\n                        wrapper.appendChild(self.altInput);\n                    wrapper.appendChild(self.calendarContainer);\n                }\n            }\n            if (!self.config.static && !self.config.inline)\n                (self.config.appendTo !== undefined\n                    ? self.config.appendTo\n                    : window.document.body).appendChild(self.calendarContainer);\n        }\n        function createDay(className, date, dayNumber, i) {\n            var dateIsEnabled = isEnabled(date, true), dayElement = createElement(\"span\", \"flatpickr-day \" + className, date.getDate().toString());\n            dayElement.dateObj = date;\n            dayElement.$i = i;\n            dayElement.setAttribute(\"aria-label\", self.formatDate(date, self.config.ariaDateFormat));\n            if (className.indexOf(\"hidden\") === -1 &&\n                compareDates(date, self.now) === 0) {\n                self.todayDateElem = dayElement;\n                dayElement.classList.add(\"today\");\n                dayElement.setAttribute(\"aria-current\", \"date\");\n            }\n            if (dateIsEnabled) {\n                dayElement.tabIndex = -1;\n                if (isDateSelected(date)) {\n                    dayElement.classList.add(\"selected\");\n                    self.selectedDateElem = dayElement;\n                    if (self.config.mode === \"range\") {\n                        toggleClass(dayElement, \"startRange\", self.selectedDates[0] &&\n                            compareDates(date, self.selectedDates[0], true) === 0);\n                        toggleClass(dayElement, \"endRange\", self.selectedDates[1] &&\n                            compareDates(date, self.selectedDates[1], true) === 0);\n                        if (className === \"nextMonthDay\")\n                            dayElement.classList.add(\"inRange\");\n                    }\n                }\n            }\n            else {\n                dayElement.classList.add(\"flatpickr-disabled\");\n            }\n            if (self.config.mode === \"range\") {\n                if (isDateInRange(date) && !isDateSelected(date))\n                    dayElement.classList.add(\"inRange\");\n            }\n            if (self.weekNumbers &&\n                self.config.showMonths === 1 &&\n                className !== \"prevMonthDay\" &&\n                dayNumber % 7 === 1) {\n                self.weekNumbers.insertAdjacentHTML(\"beforeend\", \"<span class='flatpickr-day'>\" + self.config.getWeek(date) + \"</span>\");\n            }\n            triggerEvent(\"onDayCreate\", dayElement);\n            return dayElement;\n        }\n        function focusOnDayElem(targetNode) {\n            targetNode.focus();\n            if (self.config.mode === \"range\")\n                onMouseOver(targetNode);\n        }\n        function getFirstAvailableDay(delta) {\n            var startMonth = delta > 0 ? 0 : self.config.showMonths - 1;\n            var endMonth = delta > 0 ? self.config.showMonths : -1;\n            for (var m = startMonth; m != endMonth; m += delta) {\n                var month = self.daysContainer.children[m];\n                var startIndex = delta > 0 ? 0 : month.children.length - 1;\n                var endIndex = delta > 0 ? month.children.length : -1;\n                for (var i = startIndex; i != endIndex; i += delta) {\n                    var c = month.children[i];\n                    if (c.className.indexOf(\"hidden\") === -1 && isEnabled(c.dateObj))\n                        return c;\n                }\n            }\n            return undefined;\n        }\n        function getNextAvailableDay(current, delta) {\n            var givenMonth = current.className.indexOf(\"Month\") === -1\n                ? current.dateObj.getMonth()\n                : self.currentMonth;\n            var endMonth = delta > 0 ? self.config.showMonths : -1;\n            var loopDelta = delta > 0 ? 1 : -1;\n            for (var m = givenMonth - self.currentMonth; m != endMonth; m += loopDelta) {\n                var month = self.daysContainer.children[m];\n                var startIndex = givenMonth - self.currentMonth === m\n                    ? current.$i + delta\n                    : delta < 0\n                        ? month.children.length - 1\n                        : 0;\n                var numMonthDays = month.children.length;\n                for (var i = startIndex; i >= 0 && i < numMonthDays && i != (delta > 0 ? numMonthDays : -1); i += loopDelta) {\n                    var c = month.children[i];\n                    if (c.className.indexOf(\"hidden\") === -1 &&\n                        isEnabled(c.dateObj) &&\n                        Math.abs(current.$i - i) >= Math.abs(delta))\n                        return focusOnDayElem(c);\n                }\n            }\n            self.changeMonth(loopDelta);\n            focusOnDay(getFirstAvailableDay(loopDelta), 0);\n            return undefined;\n        }\n        function focusOnDay(current, offset) {\n            var dayFocused = isInView(document.activeElement || document.body);\n            var startElem = current !== undefined\n                ? current\n                : dayFocused\n                    ? document.activeElement\n                    : self.selectedDateElem !== undefined && isInView(self.selectedDateElem)\n                        ? self.selectedDateElem\n                        : self.todayDateElem !== undefined && isInView(self.todayDateElem)\n                            ? self.todayDateElem\n                            : getFirstAvailableDay(offset > 0 ? 1 : -1);\n            if (startElem === undefined)\n                return self._input.focus();\n            if (!dayFocused)\n                return focusOnDayElem(startElem);\n            getNextAvailableDay(startElem, offset);\n        }\n        function buildMonthDays(year, month) {\n            var firstOfMonth = (new Date(year, month, 1).getDay() - self.l10n.firstDayOfWeek + 7) % 7;\n            var prevMonthDays = self.utils.getDaysInMonth((month - 1 + 12) % 12);\n            var daysInMonth = self.utils.getDaysInMonth(month), days = window.document.createDocumentFragment(), isMultiMonth = self.config.showMonths > 1, prevMonthDayClass = isMultiMonth ? \"prevMonthDay hidden\" : \"prevMonthDay\", nextMonthDayClass = isMultiMonth ? \"nextMonthDay hidden\" : \"nextMonthDay\";\n            var dayNumber = prevMonthDays + 1 - firstOfMonth, dayIndex = 0;\n            // prepend days from the ending of previous month\n            for (; dayNumber <= prevMonthDays; dayNumber++, dayIndex++) {\n                days.appendChild(createDay(prevMonthDayClass, new Date(year, month - 1, dayNumber), dayNumber, dayIndex));\n            }\n            // Start at 1 since there is no 0th day\n            for (dayNumber = 1; dayNumber <= daysInMonth; dayNumber++, dayIndex++) {\n                days.appendChild(createDay(\"\", new Date(year, month, dayNumber), dayNumber, dayIndex));\n            }\n            // append days from the next month\n            for (var dayNum = daysInMonth + 1; dayNum <= 42 - firstOfMonth &&\n                (self.config.showMonths === 1 || dayIndex % 7 !== 0); dayNum++, dayIndex++) {\n                days.appendChild(createDay(nextMonthDayClass, new Date(year, month + 1, dayNum % daysInMonth), dayNum, dayIndex));\n            }\n            //updateNavigationCurrentMonth();\n            var dayContainer = createElement(\"div\", \"dayContainer\");\n            dayContainer.appendChild(days);\n            return dayContainer;\n        }\n        function buildDays() {\n            if (self.daysContainer === undefined) {\n                return;\n            }\n            clearNode(self.daysContainer);\n            // TODO: week numbers for each month\n            if (self.weekNumbers)\n                clearNode(self.weekNumbers);\n            var frag = document.createDocumentFragment();\n            for (var i = 0; i < self.config.showMonths; i++) {\n                var d = new Date(self.currentYear, self.currentMonth, 1);\n                d.setMonth(self.currentMonth + i);\n                frag.appendChild(buildMonthDays(d.getFullYear(), d.getMonth()));\n            }\n            self.daysContainer.appendChild(frag);\n            self.days = self.daysContainer.firstChild;\n            if (self.config.mode === \"range\" && self.selectedDates.length === 1) {\n                onMouseOver();\n            }\n        }\n        function buildMonthSwitch() {\n            if (self.config.showMonths > 1)\n                return;\n            var shouldBuildMonth = function (month) {\n                if (self.config.minDate !== undefined &&\n                    self.currentYear === self.config.minDate.getFullYear() &&\n                    month < self.config.minDate.getMonth()) {\n                    return false;\n                }\n                return !(self.config.maxDate !== undefined &&\n                    self.currentYear === self.config.maxDate.getFullYear() &&\n                    month > self.config.maxDate.getMonth());\n            };\n            self.monthsDropdownContainer.tabIndex = -1;\n            self.monthsDropdownContainer.innerHTML = \"\";\n            for (var i = 0; i < 12; i++) {\n                if (!shouldBuildMonth(i))\n                    continue;\n                var month = createElement(\"option\", \"flatpickr-monthDropdown-month\");\n                month.value = new Date(self.currentYear, i).getMonth().toString();\n                month.textContent = monthToStr(i, false, self.l10n);\n                month.tabIndex = -1;\n                if (self.currentMonth === i) {\n                    month.selected = true;\n                }\n                self.monthsDropdownContainer.appendChild(month);\n            }\n        }\n        function buildMonth() {\n            var container = createElement(\"div\", \"flatpickr-month\");\n            var monthNavFragment = window.document.createDocumentFragment();\n            var monthElement;\n            if (self.config.showMonths > 1) {\n                monthElement = createElement(\"span\", \"cur-month\");\n            }\n            else {\n                self.monthsDropdownContainer = createElement(\"select\", \"flatpickr-monthDropdown-months\");\n                bind(self.monthsDropdownContainer, \"change\", function (e) {\n                    var target = e.target;\n                    var selectedMonth = parseInt(target.value, 10);\n                    self.changeMonth(selectedMonth - self.currentMonth);\n                    triggerEvent(\"onMonthChange\");\n                });\n                buildMonthSwitch();\n                monthElement = self.monthsDropdownContainer;\n            }\n            var yearInput = createNumberInput(\"cur-year\", { tabindex: \"-1\" });\n            var yearElement = yearInput.getElementsByTagName(\"input\")[0];\n            yearElement.setAttribute(\"aria-label\", self.l10n.yearAriaLabel);\n            if (self.config.minDate) {\n                yearElement.setAttribute(\"min\", self.config.minDate.getFullYear().toString());\n            }\n            if (self.config.maxDate) {\n                yearElement.setAttribute(\"max\", self.config.maxDate.getFullYear().toString());\n                yearElement.disabled =\n                    !!self.config.minDate &&\n                        self.config.minDate.getFullYear() === self.config.maxDate.getFullYear();\n            }\n            var currentMonth = createElement(\"div\", \"flatpickr-current-month\");\n            currentMonth.appendChild(monthElement);\n            currentMonth.appendChild(yearInput);\n            monthNavFragment.appendChild(currentMonth);\n            container.appendChild(monthNavFragment);\n            return {\n                container: container,\n                yearElement: yearElement,\n                monthElement: monthElement\n            };\n        }\n        function buildMonths() {\n            clearNode(self.monthNav);\n            self.monthNav.appendChild(self.prevMonthNav);\n            if (self.config.showMonths) {\n                self.yearElements = [];\n                self.monthElements = [];\n            }\n            for (var m = self.config.showMonths; m--;) {\n                var month = buildMonth();\n                self.yearElements.push(month.yearElement);\n                self.monthElements.push(month.monthElement);\n                self.monthNav.appendChild(month.container);\n            }\n            self.monthNav.appendChild(self.nextMonthNav);\n        }\n        function buildMonthNav() {\n            self.monthNav = createElement(\"div\", \"flatpickr-months\");\n            self.yearElements = [];\n            self.monthElements = [];\n            self.prevMonthNav = createElement(\"span\", \"flatpickr-prev-month\");\n            self.prevMonthNav.innerHTML = self.config.prevArrow;\n            self.nextMonthNav = createElement(\"span\", \"flatpickr-next-month\");\n            self.nextMonthNav.innerHTML = self.config.nextArrow;\n            buildMonths();\n            Object.defineProperty(self, \"_hidePrevMonthArrow\", {\n                get: function () { return self.__hidePrevMonthArrow; },\n                set: function (bool) {\n                    if (self.__hidePrevMonthArrow !== bool) {\n                        toggleClass(self.prevMonthNav, \"flatpickr-disabled\", bool);\n                        self.__hidePrevMonthArrow = bool;\n                    }\n                }\n            });\n            Object.defineProperty(self, \"_hideNextMonthArrow\", {\n                get: function () { return self.__hideNextMonthArrow; },\n                set: function (bool) {\n                    if (self.__hideNextMonthArrow !== bool) {\n                        toggleClass(self.nextMonthNav, \"flatpickr-disabled\", bool);\n                        self.__hideNextMonthArrow = bool;\n                    }\n                }\n            });\n            self.currentYearElement = self.yearElements[0];\n            updateNavigationCurrentMonth();\n            return self.monthNav;\n        }\n        function buildTime() {\n            self.calendarContainer.classList.add(\"hasTime\");\n            if (self.config.noCalendar)\n                self.calendarContainer.classList.add(\"noCalendar\");\n            self.timeContainer = createElement(\"div\", \"flatpickr-time\");\n            self.timeContainer.tabIndex = -1;\n            var separator = createElement(\"span\", \"flatpickr-time-separator\", \":\");\n            var hourInput = createNumberInput(\"flatpickr-hour\");\n            self.hourElement = hourInput.getElementsByTagName(\"input\")[0];\n            var minuteInput = createNumberInput(\"flatpickr-minute\");\n            self.minuteElement = minuteInput.getElementsByTagName(\"input\")[0];\n            self.hourElement.tabIndex = self.minuteElement.tabIndex = -1;\n            self.hourElement.value = pad(self.latestSelectedDateObj\n                ? self.latestSelectedDateObj.getHours()\n                : self.config.time_24hr\n                    ? self.config.defaultHour\n                    : military2ampm(self.config.defaultHour));\n            self.minuteElement.value = pad(self.latestSelectedDateObj\n                ? self.latestSelectedDateObj.getMinutes()\n                : self.config.defaultMinute);\n            self.hourElement.setAttribute(\"step\", self.config.hourIncrement.toString());\n            self.minuteElement.setAttribute(\"step\", self.config.minuteIncrement.toString());\n            self.hourElement.setAttribute(\"min\", self.config.time_24hr ? \"0\" : \"1\");\n            self.hourElement.setAttribute(\"max\", self.config.time_24hr ? \"23\" : \"12\");\n            self.minuteElement.setAttribute(\"min\", \"0\");\n            self.minuteElement.setAttribute(\"max\", \"59\");\n            self.timeContainer.appendChild(hourInput);\n            self.timeContainer.appendChild(separator);\n            self.timeContainer.appendChild(minuteInput);\n            if (self.config.time_24hr)\n                self.timeContainer.classList.add(\"time24hr\");\n            if (self.config.enableSeconds) {\n                self.timeContainer.classList.add(\"hasSeconds\");\n                var secondInput = createNumberInput(\"flatpickr-second\");\n                self.secondElement = secondInput.getElementsByTagName(\"input\")[0];\n                self.secondElement.value = pad(self.latestSelectedDateObj\n                    ? self.latestSelectedDateObj.getSeconds()\n                    : self.config.defaultSeconds);\n                self.secondElement.setAttribute(\"step\", self.minuteElement.getAttribute(\"step\"));\n                self.secondElement.setAttribute(\"min\", \"0\");\n                self.secondElement.setAttribute(\"max\", \"59\");\n                self.timeContainer.appendChild(createElement(\"span\", \"flatpickr-time-separator\", \":\"));\n                self.timeContainer.appendChild(secondInput);\n            }\n            if (!self.config.time_24hr) {\n                // add self.amPM if appropriate\n                self.amPM = createElement(\"span\", \"flatpickr-am-pm\", self.l10n.amPM[int((self.latestSelectedDateObj\n                    ? self.hourElement.value\n                    : self.config.defaultHour) > 11)]);\n                self.amPM.title = self.l10n.toggleTitle;\n                self.amPM.tabIndex = -1;\n                self.timeContainer.appendChild(self.amPM);\n            }\n            return self.timeContainer;\n        }\n        function buildWeekdays() {\n            if (!self.weekdayContainer)\n                self.weekdayContainer = createElement(\"div\", \"flatpickr-weekdays\");\n            else\n                clearNode(self.weekdayContainer);\n            for (var i = self.config.showMonths; i--;) {\n                var container = createElement(\"div\", \"flatpickr-weekdaycontainer\");\n                self.weekdayContainer.appendChild(container);\n            }\n            updateWeekdays();\n            return self.weekdayContainer;\n        }\n        function updateWeekdays() {\n            var firstDayOfWeek = self.l10n.firstDayOfWeek;\n            var weekdays = self.l10n.weekdays.shorthand.slice();\n            if (firstDayOfWeek > 0 && firstDayOfWeek < weekdays.length) {\n                weekdays = weekdays.splice(firstDayOfWeek, weekdays.length).concat(weekdays.splice(0, firstDayOfWeek));\n            }\n            for (var i = self.config.showMonths; i--;) {\n                self.weekdayContainer.children[i].innerHTML = \"\\n      <span class='flatpickr-weekday'>\\n        \" + weekdays.join(\"</span><span class='flatpickr-weekday'>\") + \"\\n      </span>\\n      \";\n            }\n        }\n        /* istanbul ignore next */\n        function buildWeeks() {\n            self.calendarContainer.classList.add(\"hasWeeks\");\n            var weekWrapper = createElement(\"div\", \"flatpickr-weekwrapper\");\n            weekWrapper.appendChild(createElement(\"span\", \"flatpickr-weekday\", self.l10n.weekAbbreviation));\n            var weekNumbers = createElement(\"div\", \"flatpickr-weeks\");\n            weekWrapper.appendChild(weekNumbers);\n            return {\n                weekWrapper: weekWrapper,\n                weekNumbers: weekNumbers\n            };\n        }\n        function changeMonth(value, isOffset) {\n            if (isOffset === void 0) { isOffset = true; }\n            var delta = isOffset ? value : value - self.currentMonth;\n            if ((delta < 0 && self._hidePrevMonthArrow === true) ||\n                (delta > 0 && self._hideNextMonthArrow === true))\n                return;\n            self.currentMonth += delta;\n            if (self.currentMonth < 0 || self.currentMonth > 11) {\n                self.currentYear += self.currentMonth > 11 ? 1 : -1;\n                self.currentMonth = (self.currentMonth + 12) % 12;\n                triggerEvent(\"onYearChange\");\n                buildMonthSwitch();\n            }\n            buildDays();\n            triggerEvent(\"onMonthChange\");\n            updateNavigationCurrentMonth();\n        }\n        function clear(triggerChangeEvent, toInitial) {\n            if (triggerChangeEvent === void 0) { triggerChangeEvent = true; }\n            if (toInitial === void 0) { toInitial = true; }\n            self.input.value = \"\";\n            if (self.altInput !== undefined)\n                self.altInput.value = \"\";\n            if (self.mobileInput !== undefined)\n                self.mobileInput.value = \"\";\n            self.selectedDates = [];\n            self.latestSelectedDateObj = undefined;\n            if (toInitial === true) {\n                self.currentYear = self._initialDate.getFullYear();\n                self.currentMonth = self._initialDate.getMonth();\n            }\n            self.showTimeInput = false;\n            if (self.config.enableTime === true) {\n                setDefaultHours();\n            }\n            self.redraw();\n            if (triggerChangeEvent)\n                // triggerChangeEvent is true (default) or an Event\n                triggerEvent(\"onChange\");\n        }\n        function close() {\n            self.isOpen = false;\n            if (!self.isMobile) {\n                if (self.calendarContainer !== undefined) {\n                    self.calendarContainer.classList.remove(\"open\");\n                }\n                if (self._input !== undefined) {\n                    self._input.classList.remove(\"active\");\n                }\n            }\n            triggerEvent(\"onClose\");\n        }\n        function destroy() {\n            if (self.config !== undefined)\n                triggerEvent(\"onDestroy\");\n            for (var i = self._handlers.length; i--;) {\n                var h = self._handlers[i];\n                h.element.removeEventListener(h.event, h.handler, h.options);\n            }\n            self._handlers = [];\n            if (self.mobileInput) {\n                if (self.mobileInput.parentNode)\n                    self.mobileInput.parentNode.removeChild(self.mobileInput);\n                self.mobileInput = undefined;\n            }\n            else if (self.calendarContainer && self.calendarContainer.parentNode) {\n                if (self.config.static && self.calendarContainer.parentNode) {\n                    var wrapper = self.calendarContainer.parentNode;\n                    wrapper.lastChild && wrapper.removeChild(wrapper.lastChild);\n                    if (wrapper.parentNode) {\n                        while (wrapper.firstChild)\n                            wrapper.parentNode.insertBefore(wrapper.firstChild, wrapper);\n                        wrapper.parentNode.removeChild(wrapper);\n                    }\n                }\n                else\n                    self.calendarContainer.parentNode.removeChild(self.calendarContainer);\n            }\n            if (self.altInput) {\n                self.input.type = \"text\";\n                if (self.altInput.parentNode)\n                    self.altInput.parentNode.removeChild(self.altInput);\n                delete self.altInput;\n            }\n            if (self.input) {\n                self.input.type = self.input._type;\n                self.input.classList.remove(\"flatpickr-input\");\n                self.input.removeAttribute(\"readonly\");\n                self.input.value = \"\";\n            }\n            [\n                \"_showTimeInput\",\n                \"latestSelectedDateObj\",\n                \"_hideNextMonthArrow\",\n                \"_hidePrevMonthArrow\",\n                \"__hideNextMonthArrow\",\n                \"__hidePrevMonthArrow\",\n                \"isMobile\",\n                \"isOpen\",\n                \"selectedDateElem\",\n                \"minDateHasTime\",\n                \"maxDateHasTime\",\n                \"days\",\n                \"daysContainer\",\n                \"_input\",\n                \"_positionElement\",\n                \"innerContainer\",\n                \"rContainer\",\n                \"monthNav\",\n                \"todayDateElem\",\n                \"calendarContainer\",\n                \"weekdayContainer\",\n                \"prevMonthNav\",\n                \"nextMonthNav\",\n                \"monthsDropdownContainer\",\n                \"currentMonthElement\",\n                \"currentYearElement\",\n                \"navigationCurrentMonth\",\n                \"selectedDateElem\",\n                \"config\",\n            ].forEach(function (k) {\n                try {\n                    delete self[k];\n                }\n                catch (_) { }\n            });\n        }\n        function isCalendarElem(elem) {\n            if (self.config.appendTo && self.config.appendTo.contains(elem))\n                return true;\n            return self.calendarContainer.contains(elem);\n        }\n        function documentClick(e) {\n            if (self.isOpen && !self.config.inline) {\n                var eventTarget_1 = getEventTarget(e);\n                var isCalendarElement = isCalendarElem(eventTarget_1);\n                var isInput = eventTarget_1 === self.input ||\n                    eventTarget_1 === self.altInput ||\n                    self.element.contains(eventTarget_1) ||\n                    // web components\n                    // e.path is not present in all browsers. circumventing typechecks\n                    (e.path &&\n                        e.path.indexOf &&\n                        (~e.path.indexOf(self.input) ||\n                            ~e.path.indexOf(self.altInput)));\n                var lostFocus = e.type === \"blur\"\n                    ? isInput &&\n                        e.relatedTarget &&\n                        !isCalendarElem(e.relatedTarget)\n                    : !isInput &&\n                        !isCalendarElement &&\n                        !isCalendarElem(e.relatedTarget);\n                var isIgnored = !self.config.ignoredFocusElements.some(function (elem) {\n                    return elem.contains(eventTarget_1);\n                });\n                if (lostFocus && isIgnored) {\n                    self.close();\n                    if (self.config.mode === \"range\" && self.selectedDates.length === 1) {\n                        self.clear(false);\n                        self.redraw();\n                    }\n                }\n            }\n        }\n        function changeYear(newYear) {\n            if (!newYear ||\n                (self.config.minDate && newYear < self.config.minDate.getFullYear()) ||\n                (self.config.maxDate && newYear > self.config.maxDate.getFullYear()))\n                return;\n            var newYearNum = newYear, isNewYear = self.currentYear !== newYearNum;\n            self.currentYear = newYearNum || self.currentYear;\n            if (self.config.maxDate &&\n                self.currentYear === self.config.maxDate.getFullYear()) {\n                self.currentMonth = Math.min(self.config.maxDate.getMonth(), self.currentMonth);\n            }\n            else if (self.config.minDate &&\n                self.currentYear === self.config.minDate.getFullYear()) {\n                self.currentMonth = Math.max(self.config.minDate.getMonth(), self.currentMonth);\n            }\n            if (isNewYear) {\n                self.redraw();\n                triggerEvent(\"onYearChange\");\n                buildMonthSwitch();\n            }\n        }\n        function isEnabled(date, timeless) {\n            if (timeless === void 0) { timeless = true; }\n            var dateToCheck = self.parseDate(date, undefined, timeless); // timeless\n            if ((self.config.minDate &&\n                dateToCheck &&\n                compareDates(dateToCheck, self.config.minDate, timeless !== undefined ? timeless : !self.minDateHasTime) < 0) ||\n                (self.config.maxDate &&\n                    dateToCheck &&\n                    compareDates(dateToCheck, self.config.maxDate, timeless !== undefined ? timeless : !self.maxDateHasTime) > 0))\n                return false;\n            if (self.config.enable.length === 0 && self.config.disable.length === 0)\n                return true;\n            if (dateToCheck === undefined)\n                return false;\n            var bool = self.config.enable.length > 0, array = bool ? self.config.enable : self.config.disable;\n            for (var i = 0, d = void 0; i < array.length; i++) {\n                d = array[i];\n                if (typeof d === \"function\" &&\n                    d(dateToCheck) // disabled by function\n                )\n                    return bool;\n                else if (d instanceof Date &&\n                    dateToCheck !== undefined &&\n                    d.getTime() === dateToCheck.getTime())\n                    // disabled by date\n                    return bool;\n                else if (typeof d === \"string\" && dateToCheck !== undefined) {\n                    // disabled by date string\n                    var parsed = self.parseDate(d, undefined, true);\n                    return parsed && parsed.getTime() === dateToCheck.getTime()\n                        ? bool\n                        : !bool;\n                }\n                else if (\n                // disabled by range\n                typeof d === \"object\" &&\n                    dateToCheck !== undefined &&\n                    d.from &&\n                    d.to &&\n                    dateToCheck.getTime() >= d.from.getTime() &&\n                    dateToCheck.getTime() <= d.to.getTime())\n                    return bool;\n            }\n            return !bool;\n        }\n        function isInView(elem) {\n            if (self.daysContainer !== undefined)\n                return (elem.className.indexOf(\"hidden\") === -1 &&\n                    self.daysContainer.contains(elem));\n            return false;\n        }\n        function onKeyDown(e) {\n            // e.key                      e.keyCode\n            // \"Backspace\"                        8\n            // \"Tab\"                              9\n            // \"Enter\"                           13\n            // \"Escape\"     (IE \"Esc\")           27\n            // \"ArrowLeft\"  (IE \"Left\")          37\n            // \"ArrowUp\"    (IE \"Up\")            38\n            // \"ArrowRight\" (IE \"Right\")         39\n            // \"ArrowDown\"  (IE \"Down\")          40\n            // \"Delete\"     (IE \"Del\")           46\n            var isInput = e.target === self._input;\n            var allowInput = self.config.allowInput;\n            var allowKeydown = self.isOpen && (!allowInput || !isInput);\n            var allowInlineKeydown = self.config.inline && isInput && !allowInput;\n            if (e.keyCode === 13 && isInput) {\n                if (allowInput) {\n                    self.setDate(self._input.value, true, e.target === self.altInput\n                        ? self.config.altFormat\n                        : self.config.dateFormat);\n                    return e.target.blur();\n                }\n                else {\n                    self.open();\n                }\n            }\n            else if (isCalendarElem(e.target) ||\n                allowKeydown ||\n                allowInlineKeydown) {\n                var isTimeObj = !!self.timeContainer &&\n                    self.timeContainer.contains(e.target);\n                switch (e.keyCode) {\n                    case 13:\n                        if (isTimeObj) {\n                            e.preventDefault();\n                            updateTime();\n                            focusAndClose();\n                        }\n                        else\n                            selectDate(e);\n                        break;\n                    case 27: // escape\n                        e.preventDefault();\n                        focusAndClose();\n                        break;\n                    case 8:\n                    case 46:\n                        if (isInput && !self.config.allowInput) {\n                            e.preventDefault();\n                            self.clear();\n                        }\n                        break;\n                    case 37:\n                    case 39:\n                        if (!isTimeObj && !isInput) {\n                            e.preventDefault();\n                            if (self.daysContainer !== undefined &&\n                                (allowInput === false ||\n                                    (document.activeElement && isInView(document.activeElement)))) {\n                                var delta_1 = e.keyCode === 39 ? 1 : -1;\n                                if (!e.ctrlKey)\n                                    focusOnDay(undefined, delta_1);\n                                else {\n                                    e.stopPropagation();\n                                    changeMonth(delta_1);\n                                    focusOnDay(getFirstAvailableDay(1), 0);\n                                }\n                            }\n                        }\n                        else if (self.hourElement)\n                            self.hourElement.focus();\n                        break;\n                    case 38:\n                    case 40:\n                        e.preventDefault();\n                        var delta = e.keyCode === 40 ? 1 : -1;\n                        if ((self.daysContainer && e.target.$i !== undefined) ||\n                            e.target === self.input) {\n                            if (e.ctrlKey) {\n                                e.stopPropagation();\n                                changeYear(self.currentYear - delta);\n                                focusOnDay(getFirstAvailableDay(1), 0);\n                            }\n                            else if (!isTimeObj)\n                                focusOnDay(undefined, delta * 7);\n                        }\n                        else if (e.target === self.currentYearElement) {\n                            changeYear(self.currentYear - delta);\n                        }\n                        else if (self.config.enableTime) {\n                            if (!isTimeObj && self.hourElement)\n                                self.hourElement.focus();\n                            updateTime(e);\n                            self._debouncedChange();\n                        }\n                        break;\n                    case 9:\n                        if (isTimeObj) {\n                            var elems = [\n                                self.hourElement,\n                                self.minuteElement,\n                                self.secondElement,\n                                self.amPM,\n                            ]\n                                .concat(self.pluginElements)\n                                .filter(function (x) { return x; });\n                            var i = elems.indexOf(e.target);\n                            if (i !== -1) {\n                                var target = elems[i + (e.shiftKey ? -1 : 1)];\n                                e.preventDefault();\n                                (target || self._input).focus();\n                            }\n                        }\n                        else if (!self.config.noCalendar &&\n                            self.daysContainer &&\n                            self.daysContainer.contains(e.target) &&\n                            e.shiftKey) {\n                            e.preventDefault();\n                            self._input.focus();\n                        }\n                        break;\n                    default:\n                        break;\n                }\n            }\n            if (self.amPM !== undefined && e.target === self.amPM) {\n                switch (e.key) {\n                    case self.l10n.amPM[0].charAt(0):\n                    case self.l10n.amPM[0].charAt(0).toLowerCase():\n                        self.amPM.textContent = self.l10n.amPM[0];\n                        setHoursFromInputs();\n                        updateValue();\n                        break;\n                    case self.l10n.amPM[1].charAt(0):\n                    case self.l10n.amPM[1].charAt(0).toLowerCase():\n                        self.amPM.textContent = self.l10n.amPM[1];\n                        setHoursFromInputs();\n                        updateValue();\n                        break;\n                }\n            }\n            if (isInput || isCalendarElem(e.target)) {\n                triggerEvent(\"onKeyDown\", e);\n            }\n        }\n        function onMouseOver(elem) {\n            if (self.selectedDates.length !== 1 ||\n                (elem &&\n                    (!elem.classList.contains(\"flatpickr-day\") ||\n                        elem.classList.contains(\"flatpickr-disabled\"))))\n                return;\n            var hoverDate = elem\n                ? elem.dateObj.getTime()\n                : self.days.firstElementChild.dateObj.getTime(), initialDate = self.parseDate(self.selectedDates[0], undefined, true).getTime(), rangeStartDate = Math.min(hoverDate, self.selectedDates[0].getTime()), rangeEndDate = Math.max(hoverDate, self.selectedDates[0].getTime());\n            var containsDisabled = false;\n            var minRange = 0, maxRange = 0;\n            for (var t = rangeStartDate; t < rangeEndDate; t += duration.DAY) {\n                if (!isEnabled(new Date(t), true)) {\n                    containsDisabled =\n                        containsDisabled || (t > rangeStartDate && t < rangeEndDate);\n                    if (t < initialDate && (!minRange || t > minRange))\n                        minRange = t;\n                    else if (t > initialDate && (!maxRange || t < maxRange))\n                        maxRange = t;\n                }\n            }\n            for (var m = 0; m < self.config.showMonths; m++) {\n                var month = self.daysContainer.children[m];\n                var _loop_1 = function (i, l) {\n                    var dayElem = month.children[i], date = dayElem.dateObj;\n                    var timestamp = date.getTime();\n                    var outOfRange = (minRange > 0 && timestamp < minRange) ||\n                        (maxRange > 0 && timestamp > maxRange);\n                    if (outOfRange) {\n                        dayElem.classList.add(\"notAllowed\");\n                        [\"inRange\", \"startRange\", \"endRange\"].forEach(function (c) {\n                            dayElem.classList.remove(c);\n                        });\n                        return \"continue\";\n                    }\n                    else if (containsDisabled && !outOfRange)\n                        return \"continue\";\n                    [\"startRange\", \"inRange\", \"endRange\", \"notAllowed\"].forEach(function (c) {\n                        dayElem.classList.remove(c);\n                    });\n                    if (elem !== undefined) {\n                        elem.classList.add(hoverDate <= self.selectedDates[0].getTime()\n                            ? \"startRange\"\n                            : \"endRange\");\n                        if (initialDate < hoverDate && timestamp === initialDate)\n                            dayElem.classList.add(\"startRange\");\n                        else if (initialDate > hoverDate && timestamp === initialDate)\n                            dayElem.classList.add(\"endRange\");\n                        if (timestamp >= minRange &&\n                            (maxRange === 0 || timestamp <= maxRange) &&\n                            isBetween(timestamp, initialDate, hoverDate))\n                            dayElem.classList.add(\"inRange\");\n                    }\n                };\n                for (var i = 0, l = month.children.length; i < l; i++) {\n                    _loop_1(i, l);\n                }\n            }\n        }\n        function onResize() {\n            if (self.isOpen && !self.config.static && !self.config.inline)\n                positionCalendar();\n        }\n        function setDefaultTime() {\n            self.setDate(self.config.minDate !== undefined\n                ? new Date(self.config.minDate.getTime())\n                : new Date(), true);\n            setDefaultHours();\n            updateValue();\n        }\n        function open(e, positionElement) {\n            if (positionElement === void 0) { positionElement = self._positionElement; }\n            if (self.isMobile === true) {\n                if (e) {\n                    e.preventDefault();\n                    e.target && e.target.blur();\n                }\n                if (self.mobileInput !== undefined) {\n                    self.mobileInput.focus();\n                    self.mobileInput.click();\n                }\n                triggerEvent(\"onOpen\");\n                return;\n            }\n            if (self._input.disabled || self.config.inline)\n                return;\n            var wasOpen = self.isOpen;\n            self.isOpen = true;\n            if (!wasOpen) {\n                self.calendarContainer.classList.add(\"open\");\n                self._input.classList.add(\"active\");\n                triggerEvent(\"onOpen\");\n                positionCalendar(positionElement);\n            }\n            if (self.config.enableTime === true && self.config.noCalendar === true) {\n                if (self.selectedDates.length === 0) {\n                    setDefaultTime();\n                }\n                if (self.config.allowInput === false &&\n                    (e === undefined ||\n                        !self.timeContainer.contains(e.relatedTarget))) {\n                    setTimeout(function () { return self.hourElement.select(); }, 50);\n                }\n            }\n        }\n        function minMaxDateSetter(type) {\n            return function (date) {\n                var dateObj = (self.config[\"_\" + type + \"Date\"] = self.parseDate(date, self.config.dateFormat));\n                var inverseDateObj = self.config[\"_\" + (type === \"min\" ? \"max\" : \"min\") + \"Date\"];\n                if (dateObj !== undefined) {\n                    self[type === \"min\" ? \"minDateHasTime\" : \"maxDateHasTime\"] =\n                        dateObj.getHours() > 0 ||\n                            dateObj.getMinutes() > 0 ||\n                            dateObj.getSeconds() > 0;\n                }\n                if (self.selectedDates) {\n                    self.selectedDates = self.selectedDates.filter(function (d) { return isEnabled(d); });\n                    if (!self.selectedDates.length && type === \"min\")\n                        setHoursFromDate(dateObj);\n                    updateValue();\n                }\n                if (self.daysContainer) {\n                    redraw();\n                    if (dateObj !== undefined)\n                        self.currentYearElement[type] = dateObj.getFullYear().toString();\n                    else\n                        self.currentYearElement.removeAttribute(type);\n                    self.currentYearElement.disabled =\n                        !!inverseDateObj &&\n                            dateObj !== undefined &&\n                            inverseDateObj.getFullYear() === dateObj.getFullYear();\n                }\n            };\n        }\n        function parseConfig() {\n            var boolOpts = [\n                \"wrap\",\n                \"weekNumbers\",\n                \"allowInput\",\n                \"clickOpens\",\n                \"time_24hr\",\n                \"enableTime\",\n                \"noCalendar\",\n                \"altInput\",\n                \"shorthandCurrentMonth\",\n                \"inline\",\n                \"static\",\n                \"enableSeconds\",\n                \"disableMobile\",\n            ];\n            var userConfig = __assign({}, instanceConfig, JSON.parse(JSON.stringify(element.dataset || {})));\n            var formats = {};\n            self.config.parseDate = userConfig.parseDate;\n            self.config.formatDate = userConfig.formatDate;\n            Object.defineProperty(self.config, \"enable\", {\n                get: function () { return self.config._enable; },\n                set: function (dates) {\n                    self.config._enable = parseDateRules(dates);\n                }\n            });\n            Object.defineProperty(self.config, \"disable\", {\n                get: function () { return self.config._disable; },\n                set: function (dates) {\n                    self.config._disable = parseDateRules(dates);\n                }\n            });\n            var timeMode = userConfig.mode === \"time\";\n            if (!userConfig.dateFormat && (userConfig.enableTime || timeMode)) {\n                var defaultDateFormat = flatpickr.defaultConfig.dateFormat || defaults.dateFormat;\n                formats.dateFormat =\n                    userConfig.noCalendar || timeMode\n                        ? \"H:i\" + (userConfig.enableSeconds ? \":S\" : \"\")\n                        : defaultDateFormat + \" H:i\" + (userConfig.enableSeconds ? \":S\" : \"\");\n            }\n            if (userConfig.altInput &&\n                (userConfig.enableTime || timeMode) &&\n                !userConfig.altFormat) {\n                var defaultAltFormat = flatpickr.defaultConfig.altFormat || defaults.altFormat;\n                formats.altFormat =\n                    userConfig.noCalendar || timeMode\n                        ? \"h:i\" + (userConfig.enableSeconds ? \":S K\" : \" K\")\n                        : defaultAltFormat + (\" h:i\" + (userConfig.enableSeconds ? \":S\" : \"\") + \" K\");\n            }\n            if (!userConfig.altInputClass) {\n                self.config.altInputClass =\n                    self.input.className + \" \" + self.config.altInputClass;\n            }\n            Object.defineProperty(self.config, \"minDate\", {\n                get: function () { return self.config._minDate; },\n                set: minMaxDateSetter(\"min\")\n            });\n            Object.defineProperty(self.config, \"maxDate\", {\n                get: function () { return self.config._maxDate; },\n                set: minMaxDateSetter(\"max\")\n            });\n            var minMaxTimeSetter = function (type) { return function (val) {\n                self.config[type === \"min\" ? \"_minTime\" : \"_maxTime\"] = self.parseDate(val, \"H:i\");\n            }; };\n            Object.defineProperty(self.config, \"minTime\", {\n                get: function () { return self.config._minTime; },\n                set: minMaxTimeSetter(\"min\")\n            });\n            Object.defineProperty(self.config, \"maxTime\", {\n                get: function () { return self.config._maxTime; },\n                set: minMaxTimeSetter(\"max\")\n            });\n            if (userConfig.mode === \"time\") {\n                self.config.noCalendar = true;\n                self.config.enableTime = true;\n            }\n            Object.assign(self.config, formats, userConfig);\n            for (var i = 0; i < boolOpts.length; i++)\n                self.config[boolOpts[i]] =\n                    self.config[boolOpts[i]] === true ||\n                        self.config[boolOpts[i]] === \"true\";\n            HOOKS.filter(function (hook) { return self.config[hook] !== undefined; }).forEach(function (hook) {\n                self.config[hook] = arrayify(self.config[hook] || []).map(bindToInstance);\n            });\n            self.isMobile =\n                !self.config.disableMobile &&\n                    !self.config.inline &&\n                    self.config.mode === \"single\" &&\n                    !self.config.disable.length &&\n                    !self.config.enable.length &&\n                    !self.config.weekNumbers &&\n                    /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);\n            for (var i = 0; i < self.config.plugins.length; i++) {\n                var pluginConf = self.config.plugins[i](self) || {};\n                for (var key in pluginConf) {\n                    if (HOOKS.indexOf(key) > -1) {\n                        self.config[key] = arrayify(pluginConf[key])\n                            .map(bindToInstance)\n                            .concat(self.config[key]);\n                    }\n                    else if (typeof userConfig[key] === \"undefined\")\n                        self.config[key] = pluginConf[key];\n                }\n            }\n            triggerEvent(\"onParseConfig\");\n        }\n        function setupLocale() {\n            if (typeof self.config.locale !== \"object\" &&\n                typeof flatpickr.l10ns[self.config.locale] === \"undefined\")\n                self.config.errorHandler(new Error(\"flatpickr: invalid locale \" + self.config.locale));\n            self.l10n = __assign({}, flatpickr.l10ns[\"default\"], (typeof self.config.locale === \"object\"\n                ? self.config.locale\n                : self.config.locale !== \"default\"\n                    ? flatpickr.l10ns[self.config.locale]\n                    : undefined));\n            tokenRegex.K = \"(\" + self.l10n.amPM[0] + \"|\" + self.l10n.amPM[1] + \"|\" + self.l10n.amPM[0].toLowerCase() + \"|\" + self.l10n.amPM[1].toLowerCase() + \")\";\n            var userConfig = __assign({}, instanceConfig, JSON.parse(JSON.stringify(element.dataset || {})));\n            if (userConfig.time_24hr === undefined &&\n                flatpickr.defaultConfig.time_24hr === undefined) {\n                self.config.time_24hr = self.l10n.time_24hr;\n            }\n            self.formatDate = createDateFormatter(self);\n            self.parseDate = createDateParser({ config: self.config, l10n: self.l10n });\n        }\n        function positionCalendar(customPositionElement) {\n            if (self.calendarContainer === undefined)\n                return;\n            triggerEvent(\"onPreCalendarPosition\");\n            var positionElement = customPositionElement || self._positionElement;\n            var calendarHeight = Array.prototype.reduce.call(self.calendarContainer.children, (function (acc, child) { return acc + child.offsetHeight; }), 0), calendarWidth = self.calendarContainer.offsetWidth, configPos = self.config.position.split(\" \"), configPosVertical = configPos[0], configPosHorizontal = configPos.length > 1 ? configPos[1] : null, inputBounds = positionElement.getBoundingClientRect(), distanceFromBottom = window.innerHeight - inputBounds.bottom, showOnTop = configPosVertical === \"above\" ||\n                (configPosVertical !== \"below\" &&\n                    distanceFromBottom < calendarHeight &&\n                    inputBounds.top > calendarHeight);\n            var top = window.pageYOffset +\n                inputBounds.top +\n                (!showOnTop ? positionElement.offsetHeight + 2 : -calendarHeight - 2);\n            toggleClass(self.calendarContainer, \"arrowTop\", !showOnTop);\n            toggleClass(self.calendarContainer, \"arrowBottom\", showOnTop);\n            if (self.config.inline)\n                return;\n            var left = window.pageXOffset +\n                inputBounds.left -\n                (configPosHorizontal != null && configPosHorizontal === \"center\"\n                    ? (calendarWidth - inputBounds.width) / 2\n                    : 0);\n            var right = window.document.body.offsetWidth - inputBounds.right;\n            var rightMost = left + calendarWidth > window.document.body.offsetWidth;\n            var centerMost = right + calendarWidth > window.document.body.offsetWidth;\n            toggleClass(self.calendarContainer, \"rightMost\", rightMost);\n            if (self.config.static)\n                return;\n            self.calendarContainer.style.top = top + \"px\";\n            if (!rightMost) {\n                self.calendarContainer.style.left = left + \"px\";\n                self.calendarContainer.style.right = \"auto\";\n            }\n            else if (!centerMost) {\n                self.calendarContainer.style.left = \"auto\";\n                self.calendarContainer.style.right = right + \"px\";\n            }\n            else {\n                var doc = document.styleSheets[0];\n                // some testing environments don't have css support\n                if (doc === undefined)\n                    return;\n                var bodyWidth = window.document.body.offsetWidth;\n                var centerLeft = Math.max(0, bodyWidth / 2 - calendarWidth / 2);\n                var centerBefore = \".flatpickr-calendar.centerMost:before\";\n                var centerAfter = \".flatpickr-calendar.centerMost:after\";\n                var centerIndex = doc.cssRules.length;\n                var centerStyle = \"{left:\" + inputBounds.left + \"px;right:auto;}\";\n                toggleClass(self.calendarContainer, \"rightMost\", false);\n                toggleClass(self.calendarContainer, \"centerMost\", true);\n                doc.insertRule(centerBefore + \",\" + centerAfter + centerStyle, centerIndex);\n                self.calendarContainer.style.left = centerLeft + \"px\";\n                self.calendarContainer.style.right = \"auto\";\n            }\n        }\n        function redraw() {\n            if (self.config.noCalendar || self.isMobile)\n                return;\n            updateNavigationCurrentMonth();\n            buildDays();\n        }\n        function focusAndClose() {\n            self._input.focus();\n            if (window.navigator.userAgent.indexOf(\"MSIE\") !== -1 ||\n                navigator.msMaxTouchPoints !== undefined) {\n                // hack - bugs in the way IE handles focus keeps the calendar open\n                setTimeout(self.close, 0);\n            }\n            else {\n                self.close();\n            }\n        }\n        function selectDate(e) {\n            e.preventDefault();\n            e.stopPropagation();\n            var isSelectable = function (day) {\n                return day.classList &&\n                    day.classList.contains(\"flatpickr-day\") &&\n                    !day.classList.contains(\"flatpickr-disabled\") &&\n                    !day.classList.contains(\"notAllowed\");\n            };\n            var t = findParent(e.target, isSelectable);\n            if (t === undefined)\n                return;\n            var target = t;\n            var selectedDate = (self.latestSelectedDateObj = new Date(target.dateObj.getTime()));\n            var shouldChangeMonth = (selectedDate.getMonth() < self.currentMonth ||\n                selectedDate.getMonth() >\n                    self.currentMonth + self.config.showMonths - 1) &&\n                self.config.mode !== \"range\";\n            self.selectedDateElem = target;\n            if (self.config.mode === \"single\")\n                self.selectedDates = [selectedDate];\n            else if (self.config.mode === \"multiple\") {\n                var selectedIndex = isDateSelected(selectedDate);\n                if (selectedIndex)\n                    self.selectedDates.splice(parseInt(selectedIndex), 1);\n                else\n                    self.selectedDates.push(selectedDate);\n            }\n            else if (self.config.mode === \"range\") {\n                if (self.selectedDates.length === 2) {\n                    self.clear(false, false);\n                }\n                self.latestSelectedDateObj = selectedDate;\n                self.selectedDates.push(selectedDate);\n                // unless selecting same date twice, sort ascendingly\n                if (compareDates(selectedDate, self.selectedDates[0], true) !== 0)\n                    self.selectedDates.sort(function (a, b) { return a.getTime() - b.getTime(); });\n            }\n            setHoursFromInputs();\n            if (shouldChangeMonth) {\n                var isNewYear = self.currentYear !== selectedDate.getFullYear();\n                self.currentYear = selectedDate.getFullYear();\n                self.currentMonth = selectedDate.getMonth();\n                if (isNewYear) {\n                    triggerEvent(\"onYearChange\");\n                    buildMonthSwitch();\n                }\n                triggerEvent(\"onMonthChange\");\n            }\n            updateNavigationCurrentMonth();\n            buildDays();\n            updateValue();\n            if (self.config.enableTime)\n                setTimeout(function () { return (self.showTimeInput = true); }, 50);\n            // maintain focus\n            if (!shouldChangeMonth &&\n                self.config.mode !== \"range\" &&\n                self.config.showMonths === 1)\n                focusOnDayElem(target);\n            else if (self.selectedDateElem !== undefined &&\n                self.hourElement === undefined) {\n                self.selectedDateElem && self.selectedDateElem.focus();\n            }\n            if (self.hourElement !== undefined)\n                self.hourElement !== undefined && self.hourElement.focus();\n            if (self.config.closeOnSelect) {\n                var single = self.config.mode === \"single\" && !self.config.enableTime;\n                var range = self.config.mode === \"range\" &&\n                    self.selectedDates.length === 2 &&\n                    !self.config.enableTime;\n                if (single || range) {\n                    focusAndClose();\n                }\n            }\n            triggerChange();\n        }\n        var CALLBACKS = {\n            locale: [setupLocale, updateWeekdays],\n            showMonths: [buildMonths, setCalendarWidth, buildWeekdays],\n            minDate: [jumpToDate],\n            maxDate: [jumpToDate]\n        };\n        function set(option, value) {\n            if (option !== null && typeof option === \"object\") {\n                Object.assign(self.config, option);\n                for (var key in option) {\n                    if (CALLBACKS[key] !== undefined)\n                        CALLBACKS[key].forEach(function (x) { return x(); });\n                }\n            }\n            else {\n                self.config[option] = value;\n                if (CALLBACKS[option] !== undefined)\n                    CALLBACKS[option].forEach(function (x) { return x(); });\n                else if (HOOKS.indexOf(option) > -1)\n                    self.config[option] = arrayify(value);\n            }\n            self.redraw();\n            updateValue(false);\n        }\n        function setSelectedDate(inputDate, format) {\n            var dates = [];\n            if (inputDate instanceof Array)\n                dates = inputDate.map(function (d) { return self.parseDate(d, format); });\n            else if (inputDate instanceof Date || typeof inputDate === \"number\")\n                dates = [self.parseDate(inputDate, format)];\n            else if (typeof inputDate === \"string\") {\n                switch (self.config.mode) {\n                    case \"single\":\n                    case \"time\":\n                        dates = [self.parseDate(inputDate, format)];\n                        break;\n                    case \"multiple\":\n                        dates = inputDate\n                            .split(self.config.conjunction)\n                            .map(function (date) { return self.parseDate(date, format); });\n                        break;\n                    case \"range\":\n                        dates = inputDate\n                            .split(self.l10n.rangeSeparator)\n                            .map(function (date) { return self.parseDate(date, format); });\n                        break;\n                    default:\n                        break;\n                }\n            }\n            else\n                self.config.errorHandler(new Error(\"Invalid date supplied: \" + JSON.stringify(inputDate)));\n            self.selectedDates = dates.filter(function (d) { return d instanceof Date && isEnabled(d, false); });\n            if (self.config.mode === \"range\")\n                self.selectedDates.sort(function (a, b) { return a.getTime() - b.getTime(); });\n        }\n        function setDate(date, triggerChange, format) {\n            if (triggerChange === void 0) { triggerChange = false; }\n            if (format === void 0) { format = self.config.dateFormat; }\n            if ((date !== 0 && !date) || (date instanceof Array && date.length === 0))\n                return self.clear(triggerChange);\n            setSelectedDate(date, format);\n            self.showTimeInput = self.selectedDates.length > 0;\n            self.latestSelectedDateObj = self.selectedDates[self.selectedDates.length - 1];\n            self.redraw();\n            jumpToDate();\n            setHoursFromDate();\n            if (self.selectedDates.length === 0) {\n                self.clear(false);\n            }\n            updateValue(triggerChange);\n            if (triggerChange)\n                triggerEvent(\"onChange\");\n        }\n        function parseDateRules(arr) {\n            return arr\n                .slice()\n                .map(function (rule) {\n                if (typeof rule === \"string\" ||\n                    typeof rule === \"number\" ||\n                    rule instanceof Date) {\n                    return self.parseDate(rule, undefined, true);\n                }\n                else if (rule &&\n                    typeof rule === \"object\" &&\n                    rule.from &&\n                    rule.to)\n                    return {\n                        from: self.parseDate(rule.from, undefined),\n                        to: self.parseDate(rule.to, undefined)\n                    };\n                return rule;\n            })\n                .filter(function (x) { return x; }); // remove falsy values\n        }\n        function setupDates() {\n            self.selectedDates = [];\n            self.now = self.parseDate(self.config.now) || new Date();\n            // Workaround IE11 setting placeholder as the input's value\n            var preloadedDate = self.config.defaultDate ||\n                ((self.input.nodeName === \"INPUT\" ||\n                    self.input.nodeName === \"TEXTAREA\") &&\n                    self.input.placeholder &&\n                    self.input.value === self.input.placeholder\n                    ? null\n                    : self.input.value);\n            if (preloadedDate)\n                setSelectedDate(preloadedDate, self.config.dateFormat);\n            self._initialDate =\n                self.selectedDates.length > 0\n                    ? self.selectedDates[0]\n                    : self.config.minDate &&\n                        self.config.minDate.getTime() > self.now.getTime()\n                        ? self.config.minDate\n                        : self.config.maxDate &&\n                            self.config.maxDate.getTime() < self.now.getTime()\n                            ? self.config.maxDate\n                            : self.now;\n            self.currentYear = self._initialDate.getFullYear();\n            self.currentMonth = self._initialDate.getMonth();\n            if (self.selectedDates.length > 0)\n                self.latestSelectedDateObj = self.selectedDates[0];\n            if (self.config.minTime !== undefined)\n                self.config.minTime = self.parseDate(self.config.minTime, \"H:i\");\n            if (self.config.maxTime !== undefined)\n                self.config.maxTime = self.parseDate(self.config.maxTime, \"H:i\");\n            self.minDateHasTime =\n                !!self.config.minDate &&\n                    (self.config.minDate.getHours() > 0 ||\n                        self.config.minDate.getMinutes() > 0 ||\n                        self.config.minDate.getSeconds() > 0);\n            self.maxDateHasTime =\n                !!self.config.maxDate &&\n                    (self.config.maxDate.getHours() > 0 ||\n                        self.config.maxDate.getMinutes() > 0 ||\n                        self.config.maxDate.getSeconds() > 0);\n            Object.defineProperty(self, \"showTimeInput\", {\n                get: function () { return self._showTimeInput; },\n                set: function (bool) {\n                    self._showTimeInput = bool;\n                    if (self.calendarContainer)\n                        toggleClass(self.calendarContainer, \"showTimeInput\", bool);\n                    self.isOpen && positionCalendar();\n                }\n            });\n        }\n        function setupInputs() {\n            self.input = self.config.wrap\n                ? element.querySelector(\"[data-input]\")\n                : element;\n            /* istanbul ignore next */\n            if (!self.input) {\n                self.config.errorHandler(new Error(\"Invalid input element specified\"));\n                return;\n            }\n            // hack: store previous type to restore it after destroy()\n            self.input._type = self.input.type;\n            self.input.type = \"text\";\n            self.input.classList.add(\"flatpickr-input\");\n            self._input = self.input;\n            if (self.config.altInput) {\n                // replicate self.element\n                self.altInput = createElement(self.input.nodeName, self.config.altInputClass);\n                self._input = self.altInput;\n                self.altInput.placeholder = self.input.placeholder;\n                self.altInput.disabled = self.input.disabled;\n                self.altInput.required = self.input.required;\n                self.altInput.tabIndex = self.input.tabIndex;\n                self.altInput.type = \"text\";\n                self.input.setAttribute(\"type\", \"hidden\");\n                if (!self.config.static && self.input.parentNode)\n                    self.input.parentNode.insertBefore(self.altInput, self.input.nextSibling);\n            }\n            if (!self.config.allowInput)\n                self._input.setAttribute(\"readonly\", \"readonly\");\n            self._positionElement = self.config.positionElement || self._input;\n        }\n        function setupMobile() {\n            var inputType = self.config.enableTime\n                ? self.config.noCalendar\n                    ? \"time\"\n                    : \"datetime-local\"\n                : \"date\";\n            self.mobileInput = createElement(\"input\", self.input.className + \" flatpickr-mobile\");\n            self.mobileInput.step = self.input.getAttribute(\"step\") || \"any\";\n            self.mobileInput.tabIndex = 1;\n            self.mobileInput.type = inputType;\n            self.mobileInput.disabled = self.input.disabled;\n            self.mobileInput.required = self.input.required;\n            self.mobileInput.placeholder = self.input.placeholder;\n            self.mobileFormatStr =\n                inputType === \"datetime-local\"\n                    ? \"Y-m-d\\\\TH:i:S\"\n                    : inputType === \"date\"\n                        ? \"Y-m-d\"\n                        : \"H:i:S\";\n            if (self.selectedDates.length > 0) {\n                self.mobileInput.defaultValue = self.mobileInput.value = self.formatDate(self.selectedDates[0], self.mobileFormatStr);\n            }\n            if (self.config.minDate)\n                self.mobileInput.min = self.formatDate(self.config.minDate, \"Y-m-d\");\n            if (self.config.maxDate)\n                self.mobileInput.max = self.formatDate(self.config.maxDate, \"Y-m-d\");\n            self.input.type = \"hidden\";\n            if (self.altInput !== undefined)\n                self.altInput.type = \"hidden\";\n            try {\n                if (self.input.parentNode)\n                    self.input.parentNode.insertBefore(self.mobileInput, self.input.nextSibling);\n            }\n            catch (_a) { }\n            bind(self.mobileInput, \"change\", function (e) {\n                self.setDate(e.target.value, false, self.mobileFormatStr);\n                triggerEvent(\"onChange\");\n                triggerEvent(\"onClose\");\n            });\n        }\n        function toggle(e) {\n            if (self.isOpen === true)\n                return self.close();\n            self.open(e);\n        }\n        function triggerEvent(event, data) {\n            // If the instance has been destroyed already, all hooks have been removed\n            if (self.config === undefined)\n                return;\n            var hooks = self.config[event];\n            if (hooks !== undefined && hooks.length > 0) {\n                for (var i = 0; hooks[i] && i < hooks.length; i++)\n                    hooks[i](self.selectedDates, self.input.value, self, data);\n            }\n            if (event === \"onChange\") {\n                self.input.dispatchEvent(createEvent(\"change\"));\n                // many front-end frameworks bind to the input event\n                self.input.dispatchEvent(createEvent(\"input\"));\n            }\n        }\n        function createEvent(name) {\n            var e = document.createEvent(\"Event\");\n            e.initEvent(name, true, true);\n            return e;\n        }\n        function isDateSelected(date) {\n            for (var i = 0; i < self.selectedDates.length; i++) {\n                if (compareDates(self.selectedDates[i], date) === 0)\n                    return \"\" + i;\n            }\n            return false;\n        }\n        function isDateInRange(date) {\n            if (self.config.mode !== \"range\" || self.selectedDates.length < 2)\n                return false;\n            return (compareDates(date, self.selectedDates[0]) >= 0 &&\n                compareDates(date, self.selectedDates[1]) <= 0);\n        }\n        function updateNavigationCurrentMonth() {\n            if (self.config.noCalendar || self.isMobile || !self.monthNav)\n                return;\n            self.yearElements.forEach(function (yearElement, i) {\n                var d = new Date(self.currentYear, self.currentMonth, 1);\n                d.setMonth(self.currentMonth + i);\n                if (self.config.showMonths > 1) {\n                    self.monthElements[i].textContent =\n                        monthToStr(d.getMonth(), self.config.shorthandCurrentMonth, self.l10n) + \" \";\n                }\n                else {\n                    self.monthsDropdownContainer.value = d.getMonth().toString();\n                }\n                yearElement.value = d.getFullYear().toString();\n            });\n            self._hidePrevMonthArrow =\n                self.config.minDate !== undefined &&\n                    (self.currentYear === self.config.minDate.getFullYear()\n                        ? self.currentMonth <= self.config.minDate.getMonth()\n                        : self.currentYear < self.config.minDate.getFullYear());\n            self._hideNextMonthArrow =\n                self.config.maxDate !== undefined &&\n                    (self.currentYear === self.config.maxDate.getFullYear()\n                        ? self.currentMonth + 1 > self.config.maxDate.getMonth()\n                        : self.currentYear > self.config.maxDate.getFullYear());\n        }\n        function getDateStr(format) {\n            return self.selectedDates\n                .map(function (dObj) { return self.formatDate(dObj, format); })\n                .filter(function (d, i, arr) {\n                return self.config.mode !== \"range\" ||\n                    self.config.enableTime ||\n                    arr.indexOf(d) === i;\n            })\n                .join(self.config.mode !== \"range\"\n                ? self.config.conjunction\n                : self.l10n.rangeSeparator);\n        }\n        /**\n         * Updates the values of inputs associated with the calendar\n         */\n        function updateValue(triggerChange) {\n            if (triggerChange === void 0) { triggerChange = true; }\n            if (self.mobileInput !== undefined && self.mobileFormatStr) {\n                self.mobileInput.value =\n                    self.latestSelectedDateObj !== undefined\n                        ? self.formatDate(self.latestSelectedDateObj, self.mobileFormatStr)\n                        : \"\";\n            }\n            self.input.value = getDateStr(self.config.dateFormat);\n            if (self.altInput !== undefined) {\n                self.altInput.value = getDateStr(self.config.altFormat);\n            }\n            if (triggerChange !== false)\n                triggerEvent(\"onValueUpdate\");\n        }\n        function onMonthNavClick(e) {\n            var isPrevMonth = self.prevMonthNav.contains(e.target);\n            var isNextMonth = self.nextMonthNav.contains(e.target);\n            if (isPrevMonth || isNextMonth) {\n                changeMonth(isPrevMonth ? -1 : 1);\n            }\n            else if (self.yearElements.indexOf(e.target) >= 0) {\n                e.target.select();\n            }\n            else if (e.target.classList.contains(\"arrowUp\")) {\n                self.changeYear(self.currentYear + 1);\n            }\n            else if (e.target.classList.contains(\"arrowDown\")) {\n                self.changeYear(self.currentYear - 1);\n            }\n        }\n        function timeWrapper(e) {\n            e.preventDefault();\n            var isKeyDown = e.type === \"keydown\", input = e.target;\n            if (self.amPM !== undefined && e.target === self.amPM) {\n                self.amPM.textContent =\n                    self.l10n.amPM[int(self.amPM.textContent === self.l10n.amPM[0])];\n            }\n            var min = parseFloat(input.getAttribute(\"min\")), max = parseFloat(input.getAttribute(\"max\")), step = parseFloat(input.getAttribute(\"step\")), curValue = parseInt(input.value, 10), delta = e.delta ||\n                (isKeyDown ? (e.which === 38 ? 1 : -1) : 0);\n            var newValue = curValue + step * delta;\n            if (typeof input.value !== \"undefined\" && input.value.length === 2) {\n                var isHourElem = input === self.hourElement, isMinuteElem = input === self.minuteElement;\n                if (newValue < min) {\n                    newValue =\n                        max +\n                            newValue +\n                            int(!isHourElem) +\n                            (int(isHourElem) && int(!self.amPM));\n                    if (isMinuteElem)\n                        incrementNumInput(undefined, -1, self.hourElement);\n                }\n                else if (newValue > max) {\n                    newValue =\n                        input === self.hourElement ? newValue - max - int(!self.amPM) : min;\n                    if (isMinuteElem)\n                        incrementNumInput(undefined, 1, self.hourElement);\n                }\n                if (self.amPM &&\n                    isHourElem &&\n                    (step === 1\n                        ? newValue + curValue === 23\n                        : Math.abs(newValue - curValue) > step)) {\n                    self.amPM.textContent =\n                        self.l10n.amPM[int(self.amPM.textContent === self.l10n.amPM[0])];\n                }\n                input.value = pad(newValue);\n            }\n        }\n        init();\n        return self;\n    }\n    /* istanbul ignore next */\n    function _flatpickr(nodeList, config) {\n        // static list\n        var nodes = Array.prototype.slice\n            .call(nodeList)\n            .filter(function (x) { return x instanceof HTMLElement; });\n        var instances = [];\n        for (var i = 0; i < nodes.length; i++) {\n            var node = nodes[i];\n            try {\n                if (node.getAttribute(\"data-fp-omit\") !== null)\n                    continue;\n                if (node._flatpickr !== undefined) {\n                    node._flatpickr.destroy();\n                    node._flatpickr = undefined;\n                }\n                node._flatpickr = FlatpickrInstance(node, config || {});\n                instances.push(node._flatpickr);\n            }\n            catch (e) {\n                console.error(e);\n            }\n        }\n        return instances.length === 1 ? instances[0] : instances;\n    }\n    /* istanbul ignore next */\n    if (typeof HTMLElement !== \"undefined\" &&\n        typeof HTMLCollection !== \"undefined\" &&\n        typeof NodeList !== \"undefined\") {\n        // browser env\n        HTMLCollection.prototype.flatpickr = NodeList.prototype.flatpickr = function (config) {\n            return _flatpickr(this, config);\n        };\n        HTMLElement.prototype.flatpickr = function (config) {\n            return _flatpickr([this], config);\n        };\n    }\n    /* istanbul ignore next */\n    var flatpickr = function (selector, config) {\n        if (typeof selector === \"string\") {\n            return _flatpickr(window.document.querySelectorAll(selector), config);\n        }\n        else if (selector instanceof Node) {\n            return _flatpickr([selector], config);\n        }\n        else {\n            return _flatpickr(selector, config);\n        }\n    };\n    /* istanbul ignore next */\n    flatpickr.defaultConfig = {};\n    flatpickr.l10ns = {\n        en: __assign({}, english),\n        \"default\": __assign({}, english)\n    };\n    flatpickr.localize = function (l10n) {\n        flatpickr.l10ns[\"default\"] = __assign({}, flatpickr.l10ns[\"default\"], l10n);\n    };\n    flatpickr.setDefaults = function (config) {\n        flatpickr.defaultConfig = __assign({}, flatpickr.defaultConfig, config);\n    };\n    flatpickr.parseDate = createDateParser({});\n    flatpickr.formatDate = createDateFormatter({});\n    flatpickr.compareDates = compareDates;\n    /* istanbul ignore next */\n    if (typeof jQuery !== \"undefined\" && typeof jQuery.fn !== \"undefined\") {\n        jQuery.fn.flatpickr = function (config) {\n            return _flatpickr(this, config);\n        };\n    }\n    // eslint-disable-next-line @typescript-eslint/camelcase\n    Date.prototype.fp_incr = function (days) {\n        return new Date(this.getFullYear(), this.getMonth(), this.getDate() + (typeof days === \"string\" ? parseInt(days, 10) : days));\n    };\n    if (typeof window !== \"undefined\") {\n        window.flatpickr = flatpickr;\n    }\n\n    return flatpickr;\n\n}));\n","(function (global, factory) {\n    typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :\n    typeof define === 'function' && define.amd ? define(['exports'], factory) :\n    (global = global || self, factory(global.index = {}));\n}(this, function (exports) { 'use strict';\n\n    /*! *****************************************************************************\r\n    Copyright (c) Microsoft Corporation. All rights reserved.\r\n    Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use\r\n    this file except in compliance with the License. You may obtain a copy of the\r\n    License at http://www.apache.org/licenses/LICENSE-2.0\r\n\r\n    THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\n    KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\n    WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\n    MERCHANTABLITY OR NON-INFRINGEMENT.\r\n\r\n    See the Apache Version 2.0 License for specific language governing permissions\r\n    and limitations under the License.\r\n    ***************************************************************************** */\r\n\r\n    var __assign = function() {\r\n        __assign = Object.assign || function __assign(t) {\r\n            for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n                s = arguments[i];\r\n                for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n            }\r\n            return t;\r\n        };\r\n        return __assign.apply(this, arguments);\r\n    };\n\n    var fp = typeof window !== \"undefined\" && window.flatpickr !== undefined\n        ? window.flatpickr\n        : {\n            l10ns: {}\n        };\n    var Arabic = {\n        weekdays: {\n            shorthand: [\"أحد\", \"اثنين\", \"ثلاثاء\", \"أربعاء\", \"خميس\", \"جمعة\", \"سبت\"],\n            longhand: [\n                \"الأحد\",\n                \"الاثنين\",\n                \"الثلاثاء\",\n                \"الأربعاء\",\n                \"الخميس\",\n                \"الجمعة\",\n                \"السبت\",\n            ]\n        },\n        months: {\n            shorthand: [\"1\", \"2\", \"3\", \"4\", \"5\", \"6\", \"7\", \"8\", \"9\", \"10\", \"11\", \"12\"],\n            longhand: [\n                \"يناير\",\n                \"فبراير\",\n                \"مارس\",\n                \"أبريل\",\n                \"مايو\",\n                \"يونيو\",\n                \"يوليو\",\n                \"أغسطس\",\n                \"سبتمبر\",\n                \"أكتوبر\",\n                \"نوفمبر\",\n                \"ديسمبر\",\n            ]\n        },\n        rangeSeparator: ' - '\n    };\n    fp.l10ns.ar = Arabic;\n    fp.l10ns;\n\n    var fp$1 = typeof window !== \"undefined\" && window.flatpickr !== undefined\n        ? window.flatpickr\n        : {\n            l10ns: {}\n        };\n    var Austria = {\n        weekdays: {\n            shorthand: [\"So\", \"Mo\", \"Di\", \"Mi\", \"Do\", \"Fr\", \"Sa\"],\n            longhand: [\n                \"Sonntag\",\n                \"Montag\",\n                \"Dienstag\",\n                \"Mittwoch\",\n                \"Donnerstag\",\n                \"Freitag\",\n                \"Samstag\",\n            ]\n        },\n        months: {\n            shorthand: [\n                \"Jän\",\n                \"Feb\",\n                \"Mär\",\n                \"Apr\",\n                \"Mai\",\n                \"Jun\",\n                \"Jul\",\n                \"Aug\",\n                \"Sep\",\n                \"Okt\",\n                \"Nov\",\n                \"Dez\",\n            ],\n            longhand: [\n                \"Jänner\",\n                \"Februar\",\n                \"März\",\n                \"April\",\n                \"Mai\",\n                \"Juni\",\n                \"Juli\",\n                \"August\",\n                \"September\",\n                \"Oktober\",\n                \"November\",\n                \"Dezember\",\n            ]\n        },\n        firstDayOfWeek: 1,\n        weekAbbreviation: \"KW\",\n        rangeSeparator: \" bis \",\n        scrollTitle: \"Zum Ändern scrollen\",\n        toggleTitle: \"Zum Umschalten klicken\"\n    };\n    fp$1.l10ns.at = Austria;\n    fp$1.l10ns;\n\n    var fp$2 = typeof window !== \"undefined\" && window.flatpickr !== undefined\n        ? window.flatpickr\n        : {\n            l10ns: {}\n        };\n    var Azerbaijan = {\n        weekdays: {\n            shorthand: [\"Baz\", \"BzE\", \"ÇAx\", \"Çər\", \"CAx\", \"Cüm\", \"Şən\"],\n            longhand: [\n                \"Bazar\",\n                \"Bazar ertəsi\",\n                \"Çərşənbə axşamı\",\n                \"Çərşənbə\",\n                \"Cümə axşamı\",\n                \"Cümə\",\n                \"Şənbə\",\n            ]\n        },\n        months: {\n            shorthand: [\n                \"Yan\",\n                \"Fev\",\n                \"Mar\",\n                \"Apr\",\n                \"May\",\n                \"İyn\",\n                \"İyl\",\n                \"Avq\",\n                \"Sen\",\n                \"Okt\",\n                \"Noy\",\n                \"Dek\",\n            ],\n            longhand: [\n                \"Yanvar\",\n                \"Fevral\",\n                \"Mart\",\n                \"Aprel\",\n                \"May\",\n                \"İyun\",\n                \"İyul\",\n                \"Avqust\",\n                \"Sentyabr\",\n                \"Oktyabr\",\n                \"Noyabr\",\n                \"Dekabr\",\n            ]\n        },\n        firstDayOfWeek: 1,\n        ordinal: function () {\n            return \".\";\n        },\n        rangeSeparator: \" - \",\n        weekAbbreviation: \"Hf\",\n        scrollTitle: \"Artırmaq üçün sürüşdürün\",\n        toggleTitle: \"Aç / Bağla\",\n        amPM: [\"GƏ\", \"GS\"],\n        time_24hr: true\n    };\n    fp$2.l10ns.az = Azerbaijan;\n    fp$2.l10ns;\n\n    var fp$3 = typeof window !== \"undefined\" && window.flatpickr !== undefined\n        ? window.flatpickr\n        : {\n            l10ns: {}\n        };\n    var Belarusian = {\n        weekdays: {\n            shorthand: [\"Нд\", \"Пн\", \"Аў\", \"Ср\", \"Чц\", \"Пт\", \"Сб\"],\n            longhand: [\n                \"Нядзеля\",\n                \"Панядзелак\",\n                \"Аўторак\",\n                \"Серада\",\n                \"Чацвер\",\n                \"Пятніца\",\n                \"Субота\",\n            ]\n        },\n        months: {\n            shorthand: [\n                \"Сту\",\n                \"Лют\",\n                \"Сак\",\n                \"Кра\",\n                \"Тра\",\n                \"Чэр\",\n                \"Ліп\",\n                \"Жні\",\n                \"Вер\",\n                \"Кас\",\n                \"Ліс\",\n                \"Сне\",\n            ],\n            longhand: [\n                \"Студзень\",\n                \"Люты\",\n                \"Сакавік\",\n                \"Красавік\",\n                \"Травень\",\n                \"Чэрвень\",\n                \"Ліпень\",\n                \"Жнівень\",\n                \"Верасень\",\n                \"Кастрычнік\",\n                \"Лістапад\",\n                \"Снежань\",\n            ]\n        },\n        firstDayOfWeek: 1,\n        ordinal: function () {\n            return \"\";\n        },\n        rangeSeparator: \" — \",\n        weekAbbreviation: \"Тыд.\",\n        scrollTitle: \"Пракруціце для павелічэння\",\n        toggleTitle: \"Націсніце для пераключэння\",\n        amPM: [\"ДП\", \"ПП\"],\n        yearAriaLabel: \"Год\",\n        time_24hr: true\n    };\n    fp$3.l10ns.be = Belarusian;\n    fp$3.l10ns;\n\n    var fp$4 = typeof window !== \"undefined\" && window.flatpickr !== undefined\n        ? window.flatpickr\n        : {\n            l10ns: {}\n        };\n    var Bosnian = {\n        firstDayOfWeek: 1,\n        weekdays: {\n            shorthand: [\"Ned\", \"Pon\", \"Uto\", \"Sri\", \"Čet\", \"Pet\", \"Sub\"],\n            longhand: [\n                \"Nedjelja\",\n                \"Ponedjeljak\",\n                \"Utorak\",\n                \"Srijeda\",\n                \"Četvrtak\",\n                \"Petak\",\n                \"Subota\",\n            ]\n        },\n        months: {\n            shorthand: [\n                \"Jan\",\n                \"Feb\",\n                \"Mar\",\n                \"Apr\",\n                \"Maj\",\n                \"Jun\",\n                \"Jul\",\n                \"Avg\",\n                \"Sep\",\n                \"Okt\",\n                \"Nov\",\n                \"Dec\",\n            ],\n            longhand: [\n                \"Januar\",\n                \"Februar\",\n                \"Mart\",\n                \"April\",\n                \"Maj\",\n                \"Juni\",\n                \"Juli\",\n                \"August\",\n                \"Septembar\",\n                \"Oktobar\",\n                \"Novembar\",\n                \"Decembar\",\n            ]\n        },\n        time_24hr: true\n    };\n    fp$4.l10ns.bs = Bosnian;\n    fp$4.l10ns;\n\n    var fp$5 = typeof window !== \"undefined\" && window.flatpickr !== undefined\n        ? window.flatpickr\n        : {\n            l10ns: {}\n        };\n    var Bulgarian = {\n        weekdays: {\n            shorthand: [\"Нд\", \"Пн\", \"Вт\", \"Ср\", \"Чт\", \"Пт\", \"Сб\"],\n            longhand: [\n                \"Неделя\",\n                \"Понеделник\",\n                \"Вторник\",\n                \"Сряда\",\n                \"Четвъртък\",\n                \"Петък\",\n                \"Събота\",\n            ]\n        },\n        months: {\n            shorthand: [\n                \"Яну\",\n                \"Фев\",\n                \"Март\",\n                \"Апр\",\n                \"Май\",\n                \"Юни\",\n                \"Юли\",\n                \"Авг\",\n                \"Сеп\",\n                \"Окт\",\n                \"Ное\",\n                \"Дек\",\n            ],\n            longhand: [\n                \"Януари\",\n                \"Февруари\",\n                \"Март\",\n                \"Април\",\n                \"Май\",\n                \"Юни\",\n                \"Юли\",\n                \"Август\",\n                \"Септември\",\n                \"Октомври\",\n                \"Ноември\",\n                \"Декември\",\n            ]\n        },\n        time_24hr: true,\n        firstDayOfWeek: 1\n    };\n    fp$5.l10ns.bg = Bulgarian;\n    fp$5.l10ns;\n\n    var fp$6 = typeof window !== \"undefined\" && window.flatpickr !== undefined\n        ? window.flatpickr\n        : {\n            l10ns: {}\n        };\n    var Bangla = {\n        weekdays: {\n            shorthand: [\"রবি\", \"সোম\", \"মঙ্গল\", \"বুধ\", \"বৃহস্পতি\", \"শুক্র\", \"শনি\"],\n            longhand: [\n                \"রবিবার\",\n                \"সোমবার\",\n                \"মঙ্গলবার\",\n                \"বুধবার\",\n                \"বৃহস্পতিবার\",\n                \"শুক্রবার\",\n                \"শনিবার\",\n            ]\n        },\n        months: {\n            shorthand: [\n                \"জানু\",\n                \"ফেব্রু\",\n                \"মার্চ\",\n                \"এপ্রিল\",\n                \"মে\",\n                \"জুন\",\n                \"জুলাই\",\n                \"আগ\",\n                \"সেপ্টে\",\n                \"অক্টো\",\n                \"নভে\",\n                \"ডিসে\",\n            ],\n            longhand: [\n                \"জানুয়ারী\",\n                \"ফেব্রুয়ারী\",\n                \"মার্চ\",\n                \"এপ্রিল\",\n                \"মে\",\n                \"জুন\",\n                \"জুলাই\",\n                \"আগস্ট\",\n                \"সেপ্টেম্বর\",\n                \"অক্টোবর\",\n                \"নভেম্বর\",\n                \"ডিসেম্বর\",\n            ]\n        }\n    };\n    fp$6.l10ns.bn = Bangla;\n    fp$6.l10ns;\n\n    var fp$7 = typeof window !== \"undefined\" && window.flatpickr !== undefined\n        ? window.flatpickr\n        : {\n            l10ns: {}\n        };\n    var Catalan = {\n        weekdays: {\n            shorthand: [\"Dg\", \"Dl\", \"Dt\", \"Dc\", \"Dj\", \"Dv\", \"Ds\"],\n            longhand: [\n                \"Diumenge\",\n                \"Dilluns\",\n                \"Dimarts\",\n                \"Dimecres\",\n                \"Dijous\",\n                \"Divendres\",\n                \"Dissabte\",\n            ]\n        },\n        months: {\n            shorthand: [\n                \"Gen\",\n                \"Febr\",\n                \"Març\",\n                \"Abr\",\n                \"Maig\",\n                \"Juny\",\n                \"Jul\",\n                \"Ag\",\n                \"Set\",\n                \"Oct\",\n                \"Nov\",\n                \"Des\",\n            ],\n            longhand: [\n                \"Gener\",\n                \"Febrer\",\n                \"Març\",\n                \"Abril\",\n                \"Maig\",\n                \"Juny\",\n                \"Juliol\",\n                \"Agost\",\n                \"Setembre\",\n                \"Octubre\",\n                \"Novembre\",\n                \"Desembre\",\n            ]\n        },\n        ordinal: function (nth) {\n            var s = nth % 100;\n            if (s > 3 && s < 21)\n                return \"è\";\n            switch (s % 10) {\n                case 1:\n                    return \"r\";\n                case 2:\n                    return \"n\";\n                case 3:\n                    return \"r\";\n                case 4:\n                    return \"t\";\n                default:\n                    return \"è\";\n            }\n        },\n        firstDayOfWeek: 1,\n        time_24hr: true\n    };\n    fp$7.l10ns.cat = Catalan;\n    fp$7.l10ns;\n\n    var fp$8 = typeof window !== \"undefined\" && window.flatpickr !== undefined\n        ? window.flatpickr\n        : {\n            l10ns: {}\n        };\n    var Czech = {\n        weekdays: {\n            shorthand: [\"Ne\", \"Po\", \"Út\", \"St\", \"Čt\", \"Pá\", \"So\"],\n            longhand: [\n                \"Neděle\",\n                \"Pondělí\",\n                \"Úterý\",\n                \"Středa\",\n                \"Čtvrtek\",\n                \"Pátek\",\n                \"Sobota\",\n            ]\n        },\n        months: {\n            shorthand: [\n                \"Led\",\n                \"Ún\",\n                \"Bře\",\n                \"Dub\",\n                \"Kvě\",\n                \"Čer\",\n                \"Čvc\",\n                \"Srp\",\n                \"Zář\",\n                \"Říj\",\n                \"Lis\",\n                \"Pro\",\n            ],\n            longhand: [\n                \"Leden\",\n                \"Únor\",\n                \"Březen\",\n                \"Duben\",\n                \"Květen\",\n                \"Červen\",\n                \"Červenec\",\n                \"Srpen\",\n                \"Září\",\n                \"Říjen\",\n                \"Listopad\",\n                \"Prosinec\",\n            ]\n        },\n        firstDayOfWeek: 1,\n        ordinal: function () {\n            return \".\";\n        },\n        rangeSeparator: \" do \",\n        weekAbbreviation: \"Týd.\",\n        scrollTitle: \"Rolujte pro změnu\",\n        toggleTitle: \"Přepnout dopoledne/odpoledne\",\n        amPM: [\"dop.\", \"odp.\"],\n        yearAriaLabel: \"Rok\",\n        time_24hr: true\n    };\n    fp$8.l10ns.cs = Czech;\n    fp$8.l10ns;\n\n    var fp$9 = typeof window !== \"undefined\" && window.flatpickr !== undefined\n        ? window.flatpickr\n        : {\n            l10ns: {}\n        };\n    var Welsh = {\n        weekdays: {\n            shorthand: [\"Sul\", \"Llun\", \"Maw\", \"Mer\", \"Iau\", \"Gwe\", \"Sad\"],\n            longhand: [\n                \"Dydd Sul\",\n                \"Dydd Llun\",\n                \"Dydd Mawrth\",\n                \"Dydd Mercher\",\n                \"Dydd Iau\",\n                \"Dydd Gwener\",\n                \"Dydd Sadwrn\",\n            ]\n        },\n        months: {\n            shorthand: [\n                \"Ion\",\n                \"Chwef\",\n                \"Maw\",\n                \"Ebr\",\n                \"Mai\",\n                \"Meh\",\n                \"Gorff\",\n                \"Awst\",\n                \"Medi\",\n                \"Hyd\",\n                \"Tach\",\n                \"Rhag\",\n            ],\n            longhand: [\n                \"Ionawr\",\n                \"Chwefror\",\n                \"Mawrth\",\n                \"Ebrill\",\n                \"Mai\",\n                \"Mehefin\",\n                \"Gorffennaf\",\n                \"Awst\",\n                \"Medi\",\n                \"Hydref\",\n                \"Tachwedd\",\n                \"Rhagfyr\",\n            ]\n        },\n        firstDayOfWeek: 1,\n        ordinal: function (nth) {\n            if (nth === 1)\n                return \"af\";\n            if (nth === 2)\n                return \"ail\";\n            if (nth === 3 || nth === 4)\n                return \"ydd\";\n            if (nth === 5 || nth === 6)\n                return \"ed\";\n            if ((nth >= 7 && nth <= 10) ||\n                nth == 12 ||\n                nth == 15 ||\n                nth == 18 ||\n                nth == 20)\n                return \"fed\";\n            if (nth == 11 ||\n                nth == 13 ||\n                nth == 14 ||\n                nth == 16 ||\n                nth == 17 ||\n                nth == 19)\n                return \"eg\";\n            if (nth >= 21 && nth <= 39)\n                return \"ain\";\n            // Inconclusive.\n            return \"\";\n        },\n        time_24hr: true\n    };\n    fp$9.l10ns.cy = Welsh;\n    fp$9.l10ns;\n\n    var fp$a = typeof window !== \"undefined\" && window.flatpickr !== undefined\n        ? window.flatpickr\n        : {\n            l10ns: {}\n        };\n    var Danish = {\n        weekdays: {\n            shorthand: [\"søn\", \"man\", \"tir\", \"ons\", \"tors\", \"fre\", \"lør\"],\n            longhand: [\n                \"søndag\",\n                \"mandag\",\n                \"tirsdag\",\n                \"onsdag\",\n                \"torsdag\",\n                \"fredag\",\n                \"lørdag\",\n            ]\n        },\n        months: {\n            shorthand: [\n                \"jan\",\n                \"feb\",\n                \"mar\",\n                \"apr\",\n                \"maj\",\n                \"jun\",\n                \"jul\",\n                \"aug\",\n                \"sep\",\n                \"okt\",\n                \"nov\",\n                \"dec\",\n            ],\n            longhand: [\n                \"januar\",\n                \"februar\",\n                \"marts\",\n                \"april\",\n                \"maj\",\n                \"juni\",\n                \"juli\",\n                \"august\",\n                \"september\",\n                \"oktober\",\n                \"november\",\n                \"december\",\n            ]\n        },\n        ordinal: function () {\n            return \".\";\n        },\n        firstDayOfWeek: 1,\n        rangeSeparator: \" til \",\n        weekAbbreviation: \"uge\",\n        time_24hr: true\n    };\n    fp$a.l10ns.da = Danish;\n    fp$a.l10ns;\n\n    var fp$b = typeof window !== \"undefined\" && window.flatpickr !== undefined\n        ? window.flatpickr\n        : {\n            l10ns: {}\n        };\n    var German = {\n        weekdays: {\n            shorthand: [\"So\", \"Mo\", \"Di\", \"Mi\", \"Do\", \"Fr\", \"Sa\"],\n            longhand: [\n                \"Sonntag\",\n                \"Montag\",\n                \"Dienstag\",\n                \"Mittwoch\",\n                \"Donnerstag\",\n                \"Freitag\",\n                \"Samstag\",\n            ]\n        },\n        months: {\n            shorthand: [\n                \"Jan\",\n                \"Feb\",\n                \"Mär\",\n                \"Apr\",\n                \"Mai\",\n                \"Jun\",\n                \"Jul\",\n                \"Aug\",\n                \"Sep\",\n                \"Okt\",\n                \"Nov\",\n                \"Dez\",\n            ],\n            longhand: [\n                \"Januar\",\n                \"Februar\",\n                \"März\",\n                \"April\",\n                \"Mai\",\n                \"Juni\",\n                \"Juli\",\n                \"August\",\n                \"September\",\n                \"Oktober\",\n                \"November\",\n                \"Dezember\",\n            ]\n        },\n        firstDayOfWeek: 1,\n        weekAbbreviation: \"KW\",\n        rangeSeparator: \" bis \",\n        scrollTitle: \"Zum Ändern scrollen\",\n        toggleTitle: \"Zum Umschalten klicken\",\n        time_24hr: true\n    };\n    fp$b.l10ns.de = German;\n    fp$b.l10ns;\n\n    var english = {\n        weekdays: {\n            shorthand: [\"Sun\", \"Mon\", \"Tue\", \"Wed\", \"Thu\", \"Fri\", \"Sat\"],\n            longhand: [\n                \"Sunday\",\n                \"Monday\",\n                \"Tuesday\",\n                \"Wednesday\",\n                \"Thursday\",\n                \"Friday\",\n                \"Saturday\",\n            ]\n        },\n        months: {\n            shorthand: [\n                \"Jan\",\n                \"Feb\",\n                \"Mar\",\n                \"Apr\",\n                \"May\",\n                \"Jun\",\n                \"Jul\",\n                \"Aug\",\n                \"Sep\",\n                \"Oct\",\n                \"Nov\",\n                \"Dec\",\n            ],\n            longhand: [\n                \"January\",\n                \"February\",\n                \"March\",\n                \"April\",\n                \"May\",\n                \"June\",\n                \"July\",\n                \"August\",\n                \"September\",\n                \"October\",\n                \"November\",\n                \"December\",\n            ]\n        },\n        daysInMonth: [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31],\n        firstDayOfWeek: 0,\n        ordinal: function (nth) {\n            var s = nth % 100;\n            if (s > 3 && s < 21)\n                return \"th\";\n            switch (s % 10) {\n                case 1:\n                    return \"st\";\n                case 2:\n                    return \"nd\";\n                case 3:\n                    return \"rd\";\n                default:\n                    return \"th\";\n            }\n        },\n        rangeSeparator: \" to \",\n        weekAbbreviation: \"Wk\",\n        scrollTitle: \"Scroll to increment\",\n        toggleTitle: \"Click to toggle\",\n        amPM: [\"AM\", \"PM\"],\n        yearAriaLabel: \"Year\",\n        time_24hr: false\n    };\n\n    var fp$c = typeof window !== \"undefined\" && window.flatpickr !== undefined\n        ? window.flatpickr\n        : {\n            l10ns: {}\n        };\n    var Esperanto = {\n        firstDayOfWeek: 1,\n        rangeSeparator: \" ĝis \",\n        weekAbbreviation: \"Sem\",\n        scrollTitle: \"Rulumu por pligrandigi la valoron\",\n        toggleTitle: \"Klaku por ŝalti\",\n        weekdays: {\n            shorthand: [\"Dim\", \"Lun\", \"Mar\", \"Mer\", \"Ĵaŭ\", \"Ven\", \"Sab\"],\n            longhand: [\n                \"dimanĉo\",\n                \"lundo\",\n                \"mardo\",\n                \"merkredo\",\n                \"ĵaŭdo\",\n                \"vendredo\",\n                \"sabato\",\n            ]\n        },\n        months: {\n            shorthand: [\n                \"Jan\",\n                \"Feb\",\n                \"Mar\",\n                \"Apr\",\n                \"Maj\",\n                \"Jun\",\n                \"Jul\",\n                \"Aŭg\",\n                \"Sep\",\n                \"Okt\",\n                \"Nov\",\n                \"Dec\",\n            ],\n            longhand: [\n                \"januaro\",\n                \"februaro\",\n                \"marto\",\n                \"aprilo\",\n                \"majo\",\n                \"junio\",\n                \"julio\",\n                \"aŭgusto\",\n                \"septembro\",\n                \"oktobro\",\n                \"novembro\",\n                \"decembro\",\n            ]\n        },\n        ordinal: function () {\n            return \"-a\";\n        },\n        time_24hr: true\n    };\n    fp$c.l10ns.eo = Esperanto;\n    fp$c.l10ns;\n\n    var fp$d = typeof window !== \"undefined\" && window.flatpickr !== undefined\n        ? window.flatpickr\n        : {\n            l10ns: {}\n        };\n    var Spanish = {\n        weekdays: {\n            shorthand: [\"Dom\", \"Lun\", \"Mar\", \"Mié\", \"Jue\", \"Vie\", \"Sáb\"],\n            longhand: [\n                \"Domingo\",\n                \"Lunes\",\n                \"Martes\",\n                \"Miércoles\",\n                \"Jueves\",\n                \"Viernes\",\n                \"Sábado\",\n            ]\n        },\n        months: {\n            shorthand: [\n                \"Ene\",\n                \"Feb\",\n                \"Mar\",\n                \"Abr\",\n                \"May\",\n                \"Jun\",\n                \"Jul\",\n                \"Ago\",\n                \"Sep\",\n                \"Oct\",\n                \"Nov\",\n                \"Dic\",\n            ],\n            longhand: [\n                \"Enero\",\n                \"Febrero\",\n                \"Marzo\",\n                \"Abril\",\n                \"Mayo\",\n                \"Junio\",\n                \"Julio\",\n                \"Agosto\",\n                \"Septiembre\",\n                \"Octubre\",\n                \"Noviembre\",\n                \"Diciembre\",\n            ]\n        },\n        ordinal: function () {\n            return \"º\";\n        },\n        firstDayOfWeek: 1,\n        rangeSeparator: \" a \",\n        time_24hr: true\n    };\n    fp$d.l10ns.es = Spanish;\n    fp$d.l10ns;\n\n    var fp$e = typeof window !== \"undefined\" && window.flatpickr !== undefined\n        ? window.flatpickr\n        : {\n            l10ns: {}\n        };\n    var Estonian = {\n        weekdays: {\n            shorthand: [\"P\", \"E\", \"T\", \"K\", \"N\", \"R\", \"L\"],\n            longhand: [\n                \"Pühapäev\",\n                \"Esmaspäev\",\n                \"Teisipäev\",\n                \"Kolmapäev\",\n                \"Neljapäev\",\n                \"Reede\",\n                \"Laupäev\",\n            ]\n        },\n        months: {\n            shorthand: [\n                \"Jaan\",\n                \"Veebr\",\n                \"Märts\",\n                \"Apr\",\n                \"Mai\",\n                \"Juuni\",\n                \"Juuli\",\n                \"Aug\",\n                \"Sept\",\n                \"Okt\",\n                \"Nov\",\n                \"Dets\",\n            ],\n            longhand: [\n                \"Jaanuar\",\n                \"Veebruar\",\n                \"Märts\",\n                \"Aprill\",\n                \"Mai\",\n                \"Juuni\",\n                \"Juuli\",\n                \"August\",\n                \"September\",\n                \"Oktoober\",\n                \"November\",\n                \"Detsember\",\n            ]\n        },\n        firstDayOfWeek: 1,\n        ordinal: function () {\n            return \".\";\n        },\n        weekAbbreviation: \"Näd\",\n        rangeSeparator: \" kuni \",\n        scrollTitle: \"Keri, et suurendada\",\n        toggleTitle: \"Klõpsa, et vahetada\",\n        time_24hr: true\n    };\n    fp$e.l10ns.et = Estonian;\n    fp$e.l10ns;\n\n    var fp$f = typeof window !== \"undefined\" && window.flatpickr !== undefined\n        ? window.flatpickr\n        : {\n            l10ns: {}\n        };\n    var Persian = {\n        weekdays: {\n            shorthand: [\"یک\", \"دو\", \"سه\", \"چهار\", \"پنج\", \"جمعه\", \"شنبه\"],\n            longhand: [\n                \"یک‌شنبه\",\n                \"دوشنبه\",\n                \"سه‌شنبه\",\n                \"چهارشنبه\",\n                \"پنچ‌شنبه\",\n                \"جمعه\",\n                \"شنبه\",\n            ]\n        },\n        months: {\n            shorthand: [\n                \"ژانویه\",\n                \"فوریه\",\n                \"مارس\",\n                \"آوریل\",\n                \"مه\",\n                \"ژوئن\",\n                \"ژوئیه\",\n                \"اوت\",\n                \"سپتامبر\",\n                \"اکتبر\",\n                \"نوامبر\",\n                \"دسامبر\",\n            ],\n            longhand: [\n                \"ژانویه\",\n                \"فوریه\",\n                \"مارس\",\n                \"آوریل\",\n                \"مه\",\n                \"ژوئن\",\n                \"ژوئیه\",\n                \"اوت\",\n                \"سپتامبر\",\n                \"اکتبر\",\n                \"نوامبر\",\n                \"دسامبر\",\n            ]\n        },\n        firstDayOfWeek: 6,\n        ordinal: function () {\n            return \"\";\n        }\n    };\n    fp$f.l10ns.fa = Persian;\n    fp$f.l10ns;\n\n    var fp$g = typeof window !== \"undefined\" && window.flatpickr !== undefined\n        ? window.flatpickr\n        : {\n            l10ns: {}\n        };\n    var Finnish = {\n        firstDayOfWeek: 1,\n        weekdays: {\n            shorthand: [\"Su\", \"Ma\", \"Ti\", \"Ke\", \"To\", \"Pe\", \"La\"],\n            longhand: [\n                \"Sunnuntai\",\n                \"Maanantai\",\n                \"Tiistai\",\n                \"Keskiviikko\",\n                \"Torstai\",\n                \"Perjantai\",\n                \"Lauantai\",\n            ]\n        },\n        months: {\n            shorthand: [\n                \"Tammi\",\n                \"Helmi\",\n                \"Maalis\",\n                \"Huhti\",\n                \"Touko\",\n                \"Kesä\",\n                \"Heinä\",\n                \"Elo\",\n                \"Syys\",\n                \"Loka\",\n                \"Marras\",\n                \"Joulu\",\n            ],\n            longhand: [\n                \"Tammikuu\",\n                \"Helmikuu\",\n                \"Maaliskuu\",\n                \"Huhtikuu\",\n                \"Toukokuu\",\n                \"Kesäkuu\",\n                \"Heinäkuu\",\n                \"Elokuu\",\n                \"Syyskuu\",\n                \"Lokakuu\",\n                \"Marraskuu\",\n                \"Joulukuu\",\n            ]\n        },\n        ordinal: function () {\n            return \".\";\n        },\n        time_24hr: true\n    };\n    fp$g.l10ns.fi = Finnish;\n    fp$g.l10ns;\n\n    var fp$h = typeof window !== \"undefined\" && window.flatpickr !== undefined\n        ? window.flatpickr\n        : {\n            l10ns: {}\n        };\n    var Faroese = {\n        weekdays: {\n            shorthand: [\"Sun\", \"Mán\", \"Týs\", \"Mik\", \"Hós\", \"Frí\", \"Ley\"],\n            longhand: [\n                \"Sunnudagur\",\n                \"Mánadagur\",\n                \"Týsdagur\",\n                \"Mikudagur\",\n                \"Hósdagur\",\n                \"Fríggjadagur\",\n                \"Leygardagur\",\n            ]\n        },\n        months: {\n            shorthand: [\n                \"Jan\",\n                \"Feb\",\n                \"Mar\",\n                \"Apr\",\n                \"Mai\",\n                \"Jun\",\n                \"Jul\",\n                \"Aug\",\n                \"Sep\",\n                \"Okt\",\n                \"Nov\",\n                \"Des\",\n            ],\n            longhand: [\n                \"Januar\",\n                \"Februar\",\n                \"Mars\",\n                \"Apríl\",\n                \"Mai\",\n                \"Juni\",\n                \"Juli\",\n                \"August\",\n                \"Septembur\",\n                \"Oktobur\",\n                \"Novembur\",\n                \"Desembur\",\n            ]\n        },\n        ordinal: function () {\n            return \".\";\n        },\n        firstDayOfWeek: 1,\n        rangeSeparator: \" til \",\n        weekAbbreviation: \"vika\",\n        scrollTitle: \"Rulla fyri at broyta\",\n        toggleTitle: \"Trýst fyri at skifta\",\n        yearAriaLabel: \"Ár\",\n        time_24hr: true\n    };\n    fp$h.l10ns.fo = Faroese;\n    fp$h.l10ns;\n\n    var fp$i = typeof window !== \"undefined\" && window.flatpickr !== undefined\n        ? window.flatpickr\n        : {\n            l10ns: {}\n        };\n    var French = {\n        firstDayOfWeek: 1,\n        weekdays: {\n            shorthand: [\"dim\", \"lun\", \"mar\", \"mer\", \"jeu\", \"ven\", \"sam\"],\n            longhand: [\n                \"dimanche\",\n                \"lundi\",\n                \"mardi\",\n                \"mercredi\",\n                \"jeudi\",\n                \"vendredi\",\n                \"samedi\",\n            ]\n        },\n        months: {\n            shorthand: [\n                \"janv\",\n                \"févr\",\n                \"mars\",\n                \"avr\",\n                \"mai\",\n                \"juin\",\n                \"juil\",\n                \"août\",\n                \"sept\",\n                \"oct\",\n                \"nov\",\n                \"déc\",\n            ],\n            longhand: [\n                \"janvier\",\n                \"février\",\n                \"mars\",\n                \"avril\",\n                \"mai\",\n                \"juin\",\n                \"juillet\",\n                \"août\",\n                \"septembre\",\n                \"octobre\",\n                \"novembre\",\n                \"décembre\",\n            ]\n        },\n        ordinal: function (nth) {\n            if (nth > 1)\n                return \"\";\n            return \"er\";\n        },\n        rangeSeparator: \" au \",\n        weekAbbreviation: \"Sem\",\n        scrollTitle: \"Défiler pour augmenter la valeur\",\n        toggleTitle: \"Cliquer pour basculer\",\n        time_24hr: true\n    };\n    fp$i.l10ns.fr = French;\n    fp$i.l10ns;\n\n    var fp$j = typeof window !== \"undefined\" && window.flatpickr !== undefined\n        ? window.flatpickr\n        : {\n            l10ns: {}\n        };\n    var Greek = {\n        weekdays: {\n            shorthand: [\"Κυ\", \"Δε\", \"Τρ\", \"Τε\", \"Πέ\", \"Πα\", \"Σά\"],\n            longhand: [\n                \"Κυριακή\",\n                \"Δευτέρα\",\n                \"Τρίτη\",\n                \"Τετάρτη\",\n                \"Πέμπτη\",\n                \"Παρασκευή\",\n                \"Σάββατο\",\n            ]\n        },\n        months: {\n            shorthand: [\n                \"Ιαν\",\n                \"Φεβ\",\n                \"Μάρ\",\n                \"Απρ\",\n                \"Μάι\",\n                \"Ιού\",\n                \"Ιού\",\n                \"Αύγ\",\n                \"Σεπ\",\n                \"Οκτ\",\n                \"Νοέ\",\n                \"Δεκ\",\n            ],\n            longhand: [\n                \"Ιανουάριος\",\n                \"Φεβρουάριος\",\n                \"Μάρτιος\",\n                \"Απρίλιος\",\n                \"Μάιος\",\n                \"Ιούνιος\",\n                \"Ιούλιος\",\n                \"Αύγουστος\",\n                \"Σεπτέμβριος\",\n                \"Οκτώβριος\",\n                \"Νοέμβριος\",\n                \"Δεκέμβριος\",\n            ]\n        },\n        firstDayOfWeek: 1,\n        ordinal: function () {\n            return \"\";\n        },\n        weekAbbreviation: \"Εβδ\",\n        rangeSeparator: \" έως \",\n        scrollTitle: \"Μετακυλήστε για προσαύξηση\",\n        toggleTitle: \"Κάντε κλικ για αλλαγή\",\n        amPM: [\"ΠΜ\", \"ΜΜ\"]\n    };\n    fp$j.l10ns.gr = Greek;\n    fp$j.l10ns;\n\n    var fp$k = typeof window !== \"undefined\" && window.flatpickr !== undefined\n        ? window.flatpickr\n        : {\n            l10ns: {}\n        };\n    var Hebrew = {\n        weekdays: {\n            shorthand: [\"א\", \"ב\", \"ג\", \"ד\", \"ה\", \"ו\", \"ש\"],\n            longhand: [\"ראשון\", \"שני\", \"שלישי\", \"רביעי\", \"חמישי\", \"שישי\", \"שבת\"]\n        },\n        months: {\n            shorthand: [\n                \"ינו׳\",\n                \"פבר׳\",\n                \"מרץ\",\n                \"אפר׳\",\n                \"מאי\",\n                \"יוני\",\n                \"יולי\",\n                \"אוג׳\",\n                \"ספט׳\",\n                \"אוק׳\",\n                \"נוב׳\",\n                \"דצמ׳\",\n            ],\n            longhand: [\n                \"ינואר\",\n                \"פברואר\",\n                \"מרץ\",\n                \"אפריל\",\n                \"מאי\",\n                \"יוני\",\n                \"יולי\",\n                \"אוגוסט\",\n                \"ספטמבר\",\n                \"אוקטובר\",\n                \"נובמבר\",\n                \"דצמבר\",\n            ]\n        },\n        rangeSeparator: \" אל \",\n        time_24hr: true\n    };\n    fp$k.l10ns.he = Hebrew;\n    fp$k.l10ns;\n\n    var fp$l = typeof window !== \"undefined\" && window.flatpickr !== undefined\n        ? window.flatpickr\n        : {\n            l10ns: {}\n        };\n    var Hindi = {\n        weekdays: {\n            shorthand: [\"रवि\", \"सोम\", \"मंगल\", \"बुध\", \"गुरु\", \"शुक्र\", \"शनि\"],\n            longhand: [\n                \"रविवार\",\n                \"सोमवार\",\n                \"मंगलवार\",\n                \"बुधवार\",\n                \"गुरुवार\",\n                \"शुक्रवार\",\n                \"शनिवार\",\n            ]\n        },\n        months: {\n            shorthand: [\n                \"जन\",\n                \"फर\",\n                \"मार्च\",\n                \"अप्रेल\",\n                \"मई\",\n                \"जून\",\n                \"जूलाई\",\n                \"अग\",\n                \"सित\",\n                \"अक्ट\",\n                \"नव\",\n                \"दि\",\n            ],\n            longhand: [\n                \"जनवरी \",\n                \"फरवरी\",\n                \"मार्च\",\n                \"अप्रेल\",\n                \"मई\",\n                \"जून\",\n                \"जूलाई\",\n                \"अगस्त \",\n                \"सितम्बर\",\n                \"अक्टूबर\",\n                \"नवम्बर\",\n                \"दिसम्बर\",\n            ]\n        }\n    };\n    fp$l.l10ns.hi = Hindi;\n    fp$l.l10ns;\n\n    var fp$m = typeof window !== \"undefined\" && window.flatpickr !== undefined\n        ? window.flatpickr\n        : {\n            l10ns: {}\n        };\n    var Croatian = {\n        firstDayOfWeek: 1,\n        weekdays: {\n            shorthand: [\"Ned\", \"Pon\", \"Uto\", \"Sri\", \"Čet\", \"Pet\", \"Sub\"],\n            longhand: [\n                \"Nedjelja\",\n                \"Ponedjeljak\",\n                \"Utorak\",\n                \"Srijeda\",\n                \"Četvrtak\",\n                \"Petak\",\n                \"Subota\",\n            ]\n        },\n        months: {\n            shorthand: [\n                \"Sij\",\n                \"Velj\",\n                \"Ožu\",\n                \"Tra\",\n                \"Svi\",\n                \"Lip\",\n                \"Srp\",\n                \"Kol\",\n                \"Ruj\",\n                \"Lis\",\n                \"Stu\",\n                \"Pro\",\n            ],\n            longhand: [\n                \"Siječanj\",\n                \"Veljača\",\n                \"Ožujak\",\n                \"Travanj\",\n                \"Svibanj\",\n                \"Lipanj\",\n                \"Srpanj\",\n                \"Kolovoz\",\n                \"Rujan\",\n                \"Listopad\",\n                \"Studeni\",\n                \"Prosinac\",\n            ]\n        },\n        time_24hr: true\n    };\n    fp$m.l10ns.hr = Croatian;\n    fp$m.l10ns;\n\n    var fp$n = typeof window !== \"undefined\" && window.flatpickr !== undefined\n        ? window.flatpickr\n        : {\n            l10ns: {}\n        };\n    var Hungarian = {\n        firstDayOfWeek: 1,\n        weekdays: {\n            shorthand: [\"V\", \"H\", \"K\", \"Sz\", \"Cs\", \"P\", \"Szo\"],\n            longhand: [\n                \"Vasárnap\",\n                \"Hétfő\",\n                \"Kedd\",\n                \"Szerda\",\n                \"Csütörtök\",\n                \"Péntek\",\n                \"Szombat\",\n            ]\n        },\n        months: {\n            shorthand: [\n                \"Jan\",\n                \"Feb\",\n                \"Már\",\n                \"Ápr\",\n                \"Máj\",\n                \"Jún\",\n                \"Júl\",\n                \"Aug\",\n                \"Szep\",\n                \"Okt\",\n                \"Nov\",\n                \"Dec\",\n            ],\n            longhand: [\n                \"Január\",\n                \"Február\",\n                \"Március\",\n                \"Április\",\n                \"Május\",\n                \"Június\",\n                \"Július\",\n                \"Augusztus\",\n                \"Szeptember\",\n                \"Október\",\n                \"November\",\n                \"December\",\n            ]\n        },\n        ordinal: function () {\n            return \".\";\n        },\n        weekAbbreviation: \"Hét\",\n        scrollTitle: \"Görgessen\",\n        toggleTitle: \"Kattintson a váltáshoz\",\n        rangeSeparator: \" - \",\n        time_24hr: true\n    };\n    fp$n.l10ns.hu = Hungarian;\n    fp$n.l10ns;\n\n    var fp$o = typeof window !== \"undefined\" && window.flatpickr !== undefined\n        ? window.flatpickr\n        : {\n            l10ns: {}\n        };\n    var Indonesian = {\n        weekdays: {\n            shorthand: [\"Min\", \"Sen\", \"Sel\", \"Rab\", \"Kam\", \"Jum\", \"Sab\"],\n            longhand: [\"Minggu\", \"Senin\", \"Selasa\", \"Rabu\", \"Kamis\", \"Jumat\", \"Sabtu\"]\n        },\n        months: {\n            shorthand: [\n                \"Jan\",\n                \"Feb\",\n                \"Mar\",\n                \"Apr\",\n                \"Mei\",\n                \"Jun\",\n                \"Jul\",\n                \"Agu\",\n                \"Sep\",\n                \"Okt\",\n                \"Nov\",\n                \"Des\",\n            ],\n            longhand: [\n                \"Januari\",\n                \"Februari\",\n                \"Maret\",\n                \"April\",\n                \"Mei\",\n                \"Juni\",\n                \"Juli\",\n                \"Agustus\",\n                \"September\",\n                \"Oktober\",\n                \"November\",\n                \"Desember\",\n            ]\n        },\n        firstDayOfWeek: 1,\n        ordinal: function () {\n            return \"\";\n        },\n        time_24hr: true,\n        rangeSeparator: ' - '\n    };\n    fp$o.l10ns.id = Indonesian;\n    fp$o.l10ns;\n\n    var fp$p = typeof window !== \"undefined\" && window.flatpickr !== undefined\n        ? window.flatpickr\n        : {\n            l10ns: {}\n        };\n    var Icelandic = {\n        weekdays: {\n            shorthand: [\"Sun\", \"Mán\", \"Þri\", \"Mið\", \"Fim\", \"Fös\", \"Lau\"],\n            longhand: [\n                \"Sunnudagur\",\n                \"Mánudagur\",\n                \"Þriðjudagur\",\n                \"Miðvikudagur\",\n                \"Fimmtudagur\",\n                \"Föstudagur\",\n                \"Laugardagur\",\n            ]\n        },\n        months: {\n            shorthand: [\n                \"Jan\",\n                \"Feb\",\n                \"Mar\",\n                \"Apr\",\n                \"Maí\",\n                \"Jún\",\n                \"Júl\",\n                \"Ágú\",\n                \"Sep\",\n                \"Okt\",\n                \"Nóv\",\n                \"Des\",\n            ],\n            longhand: [\n                \"Janúar\",\n                \"Febrúar\",\n                \"Mars\",\n                \"Apríl\",\n                \"Maí\",\n                \"Júní\",\n                \"Júlí\",\n                \"Ágúst\",\n                \"September\",\n                \"Október\",\n                \"Nóvember\",\n                \"Desember\",\n            ]\n        },\n        ordinal: function () {\n            return \".\";\n        },\n        firstDayOfWeek: 1,\n        rangeSeparator: \" til \",\n        weekAbbreviation: \"vika\",\n        yearAriaLabel: \"Ár\",\n        time_24hr: true\n    };\n    fp$p.l10ns.is = Icelandic;\n    fp$p.l10ns;\n\n    var fp$q = typeof window !== \"undefined\" && window.flatpickr !== undefined\n        ? window.flatpickr\n        : {\n            l10ns: {}\n        };\n    var Italian = {\n        weekdays: {\n            shorthand: [\"Dom\", \"Lun\", \"Mar\", \"Mer\", \"Gio\", \"Ven\", \"Sab\"],\n            longhand: [\n                \"Domenica\",\n                \"Lunedì\",\n                \"Martedì\",\n                \"Mercoledì\",\n                \"Giovedì\",\n                \"Venerdì\",\n                \"Sabato\",\n            ]\n        },\n        months: {\n            shorthand: [\n                \"Gen\",\n                \"Feb\",\n                \"Mar\",\n                \"Apr\",\n                \"Mag\",\n                \"Giu\",\n                \"Lug\",\n                \"Ago\",\n                \"Set\",\n                \"Ott\",\n                \"Nov\",\n                \"Dic\",\n            ],\n            longhand: [\n                \"Gennaio\",\n                \"Febbraio\",\n                \"Marzo\",\n                \"Aprile\",\n                \"Maggio\",\n                \"Giugno\",\n                \"Luglio\",\n                \"Agosto\",\n                \"Settembre\",\n                \"Ottobre\",\n                \"Novembre\",\n                \"Dicembre\",\n            ]\n        },\n        firstDayOfWeek: 1,\n        ordinal: function () { return \"°\"; },\n        rangeSeparator: \" al \",\n        weekAbbreviation: \"Se\",\n        scrollTitle: \"Scrolla per aumentare\",\n        toggleTitle: \"Clicca per cambiare\",\n        time_24hr: true\n    };\n    fp$q.l10ns.it = Italian;\n    fp$q.l10ns;\n\n    var fp$r = typeof window !== \"undefined\" && window.flatpickr !== undefined\n        ? window.flatpickr\n        : {\n            l10ns: {}\n        };\n    var Japanese = {\n        weekdays: {\n            shorthand: [\"日\", \"月\", \"火\", \"水\", \"木\", \"金\", \"土\"],\n            longhand: [\n                \"日曜日\",\n                \"月曜日\",\n                \"火曜日\",\n                \"水曜日\",\n                \"木曜日\",\n                \"金曜日\",\n                \"土曜日\",\n            ]\n        },\n        months: {\n            shorthand: [\n                \"1月\",\n                \"2月\",\n                \"3月\",\n                \"4月\",\n                \"5月\",\n                \"6月\",\n                \"7月\",\n                \"8月\",\n                \"9月\",\n                \"10月\",\n                \"11月\",\n                \"12月\",\n            ],\n            longhand: [\n                \"1月\",\n                \"2月\",\n                \"3月\",\n                \"4月\",\n                \"5月\",\n                \"6月\",\n                \"7月\",\n                \"8月\",\n                \"9月\",\n                \"10月\",\n                \"11月\",\n                \"12月\",\n            ]\n        },\n        time_24hr: true,\n        rangeSeparator: ' から '\n    };\n    fp$r.l10ns.ja = Japanese;\n    fp$r.l10ns;\n\n    var fp$s = typeof window !== \"undefined\" && window.flatpickr !== undefined\n        ? window.flatpickr\n        : {\n            l10ns: {}\n        };\n    var Korean = {\n        weekdays: {\n            shorthand: [\"일\", \"월\", \"화\", \"수\", \"목\", \"금\", \"토\"],\n            longhand: [\n                \"일요일\",\n                \"월요일\",\n                \"화요일\",\n                \"수요일\",\n                \"목요일\",\n                \"금요일\",\n                \"토요일\",\n            ]\n        },\n        months: {\n            shorthand: [\n                \"1월\",\n                \"2월\",\n                \"3월\",\n                \"4월\",\n                \"5월\",\n                \"6월\",\n                \"7월\",\n                \"8월\",\n                \"9월\",\n                \"10월\",\n                \"11월\",\n                \"12월\",\n            ],\n            longhand: [\n                \"1월\",\n                \"2월\",\n                \"3월\",\n                \"4월\",\n                \"5월\",\n                \"6월\",\n                \"7월\",\n                \"8월\",\n                \"9월\",\n                \"10월\",\n                \"11월\",\n                \"12월\",\n            ]\n        },\n        ordinal: function () {\n            return \"일\";\n        },\n        rangeSeparator: ' ~ '\n    };\n    fp$s.l10ns.ko = Korean;\n    fp$s.l10ns;\n\n    var fp$t = typeof window !== \"undefined\" && window.flatpickr !== undefined\n        ? window.flatpickr\n        : {\n            l10ns: {}\n        };\n    var Khmer = {\n        weekdays: {\n            shorthand: [\"អាទិត្យ\", \"ចន្ទ\", \"អង្គារ\", \"ពុធ\", \"ព្រហស.\", \"សុក្រ\", \"សៅរ៍\"],\n            longhand: [\n                \"អាទិត្យ\",\n                \"ចន្ទ\",\n                \"អង្គារ\",\n                \"ពុធ\",\n                \"ព្រហស្បតិ៍\",\n                \"សុក្រ\",\n                \"សៅរ៍\",\n            ]\n        },\n        months: {\n            shorthand: [\n                \"មករា\",\n                \"កុម្ភះ\",\n                \"មីនា\",\n                \"មេសា\",\n                \"ឧសភា\",\n                \"មិថុនា\",\n                \"កក្កដា\",\n                \"សីហា\",\n                \"កញ្ញា\",\n                \"តុលា\",\n                \"វិច្ឆិកា\",\n                \"ធ្នូ\",\n            ],\n            longhand: [\n                \"មករា\",\n                \"កុម្ភះ\",\n                \"មីនា\",\n                \"មេសា\",\n                \"ឧសភា\",\n                \"មិថុនា\",\n                \"កក្កដា\",\n                \"សីហា\",\n                \"កញ្ញា\",\n                \"តុលា\",\n                \"វិច្ឆិកា\",\n                \"ធ្នូ\",\n            ]\n        },\n        ordinal: function () {\n            return \"\";\n        },\n        firstDayOfWeek: 1,\n        rangeSeparator: \" ដល់ \",\n        weekAbbreviation: \"សប្តាហ៍\",\n        scrollTitle: \"រំកិលដើម្បីបង្កើន\",\n        toggleTitle: \"ចុចដើម្បីផ្លាស់ប្ដូរ\",\n        yearAriaLabel: \"ឆ្នាំ\",\n        time_24hr: true\n    };\n    fp$t.l10ns.km = Khmer;\n    fp$t.l10ns;\n\n    var fp$u = typeof window !== \"undefined\" && window.flatpickr !== undefined\n        ? window.flatpickr\n        : {\n            l10ns: {}\n        };\n    var Kazakh = {\n        weekdays: {\n            shorthand: [\"Жс\", \"Дс\", \"Сc\", \"Ср\", \"Бс\", \"Жм\", \"Сб\"],\n            longhand: [\n                \"Жексенбi\",\n                \"Дүйсенбi\",\n                \"Сейсенбi\",\n                \"Сәрсенбi\",\n                \"Бейсенбi\",\n                \"Жұма\",\n                \"Сенбi\",\n            ]\n        },\n        months: {\n            shorthand: [\n                \"Қаң\",\n                \"Ақп\",\n                \"Нау\",\n                \"Сәу\",\n                \"Мам\",\n                \"Мау\",\n                \"Шiл\",\n                \"Там\",\n                \"Қыр\",\n                \"Қаз\",\n                \"Қар\",\n                \"Жел\",\n            ],\n            longhand: [\n                \"Қаңтар\",\n                \"Ақпан\",\n                \"Наурыз\",\n                \"Сәуiр\",\n                \"Мамыр\",\n                \"Маусым\",\n                \"Шiлде\",\n                \"Тамыз\",\n                \"Қыркүйек\",\n                \"Қазан\",\n                \"Қараша\",\n                \"Желтоқсан\",\n            ]\n        },\n        firstDayOfWeek: 1,\n        ordinal: function () {\n            return \"\";\n        },\n        rangeSeparator: \" — \",\n        weekAbbreviation: \"Апта\",\n        scrollTitle: \"Үлкейту үшін айналдырыңыз\",\n        toggleTitle: \"Ауыстыру үшін басыңыз\",\n        amPM: [\"ТД\", \"ТК\"],\n        yearAriaLabel: \"Жыл\"\n    };\n    fp$u.l10ns.kz = Kazakh;\n    fp$u.l10ns;\n\n    var fp$v = typeof window !== \"undefined\" && window.flatpickr !== undefined\n        ? window.flatpickr\n        : {\n            l10ns: {}\n        };\n    var Lithuanian = {\n        weekdays: {\n            shorthand: [\"S\", \"Pr\", \"A\", \"T\", \"K\", \"Pn\", \"Š\"],\n            longhand: [\n                \"Sekmadienis\",\n                \"Pirmadienis\",\n                \"Antradienis\",\n                \"Trečiadienis\",\n                \"Ketvirtadienis\",\n                \"Penktadienis\",\n                \"Šeštadienis\",\n            ]\n        },\n        months: {\n            shorthand: [\n                \"Sau\",\n                \"Vas\",\n                \"Kov\",\n                \"Bal\",\n                \"Geg\",\n                \"Bir\",\n                \"Lie\",\n                \"Rgp\",\n                \"Rgs\",\n                \"Spl\",\n                \"Lap\",\n                \"Grd\",\n            ],\n            longhand: [\n                \"Sausis\",\n                \"Vasaris\",\n                \"Kovas\",\n                \"Balandis\",\n                \"Gegužė\",\n                \"Birželis\",\n                \"Liepa\",\n                \"Rugpjūtis\",\n                \"Rugsėjis\",\n                \"Spalis\",\n                \"Lapkritis\",\n                \"Gruodis\",\n            ]\n        },\n        firstDayOfWeek: 1,\n        ordinal: function () {\n            return \"-a\";\n        },\n        weekAbbreviation: \"Sav\",\n        scrollTitle: \"Keisti laiką pelės rateliu\",\n        toggleTitle: \"Perjungti laiko formatą\",\n        time_24hr: true\n    };\n    fp$v.l10ns.lt = Lithuanian;\n    fp$v.l10ns;\n\n    var fp$w = typeof window !== \"undefined\" && window.flatpickr !== undefined\n        ? window.flatpickr\n        : {\n            l10ns: {}\n        };\n    var Latvian = {\n        firstDayOfWeek: 1,\n        weekdays: {\n            shorthand: [\"Sv\", \"Pr\", \"Ot\", \"Tr\", \"Ce\", \"Pk\", \"Se\"],\n            longhand: [\n                \"Svētdiena\",\n                \"Pirmdiena\",\n                \"Otrdiena\",\n                \"Trešdiena\",\n                \"Ceturtdiena\",\n                \"Piektdiena\",\n                \"Sestdiena\",\n            ]\n        },\n        months: {\n            shorthand: [\n                \"Jan\",\n                \"Feb\",\n                \"Mar\",\n                \"Apr\",\n                \"Mai\",\n                \"Jūn\",\n                \"Jūl\",\n                \"Aug\",\n                \"Sep\",\n                \"Okt\",\n                \"Nov\",\n                \"Dec\",\n            ],\n            longhand: [\n                \"Janvāris\",\n                \"Februāris\",\n                \"Marts\",\n                \"Aprīlis\",\n                \"Maijs\",\n                \"Jūnijs\",\n                \"Jūlijs\",\n                \"Augusts\",\n                \"Septembris\",\n                \"Oktobris\",\n                \"Novembris\",\n                \"Decembris\",\n            ]\n        },\n        rangeSeparator: \" līdz \",\n        time_24hr: true\n    };\n    fp$w.l10ns.lv = Latvian;\n    fp$w.l10ns;\n\n    var fp$x = typeof window !== \"undefined\" && window.flatpickr !== undefined\n        ? window.flatpickr\n        : {\n            l10ns: {}\n        };\n    var Macedonian = {\n        weekdays: {\n            shorthand: [\"Не\", \"По\", \"Вт\", \"Ср\", \"Че\", \"Пе\", \"Са\"],\n            longhand: [\n                \"Недела\",\n                \"Понеделник\",\n                \"Вторник\",\n                \"Среда\",\n                \"Четврток\",\n                \"Петок\",\n                \"Сабота\",\n            ]\n        },\n        months: {\n            shorthand: [\n                \"Јан\",\n                \"Фев\",\n                \"Мар\",\n                \"Апр\",\n                \"Мај\",\n                \"Јун\",\n                \"Јул\",\n                \"Авг\",\n                \"Сеп\",\n                \"Окт\",\n                \"Ное\",\n                \"Дек\",\n            ],\n            longhand: [\n                \"Јануари\",\n                \"Февруари\",\n                \"Март\",\n                \"Април\",\n                \"Мај\",\n                \"Јуни\",\n                \"Јули\",\n                \"Август\",\n                \"Септември\",\n                \"Октомври\",\n                \"Ноември\",\n                \"Декември\",\n            ]\n        },\n        firstDayOfWeek: 1,\n        weekAbbreviation: \"Нед.\",\n        rangeSeparator: \" до \",\n        time_24hr: true\n    };\n    fp$x.l10ns.mk = Macedonian;\n    fp$x.l10ns;\n\n    var fp$y = typeof window !== \"undefined\" && window.flatpickr !== undefined\n        ? window.flatpickr\n        : {\n            l10ns: {}\n        };\n    var Mongolian = {\n        firstDayOfWeek: 1,\n        weekdays: {\n            shorthand: [\"Да\", \"Мя\", \"Лх\", \"Пү\", \"Ба\", \"Бя\", \"Ня\"],\n            longhand: [\"Даваа\", \"Мягмар\", \"Лхагва\", \"Пүрэв\", \"Баасан\", \"Бямба\", \"Ням\"]\n        },\n        months: {\n            shorthand: [\n                \"1-р сар\",\n                \"2-р сар\",\n                \"3-р сар\",\n                \"4-р сар\",\n                \"5-р сар\",\n                \"6-р сар\",\n                \"7-р сар\",\n                \"8-р сар\",\n                \"9-р сар\",\n                \"10-р сар\",\n                \"11-р сар\",\n                \"12-р сар\",\n            ],\n            longhand: [\n                \"Нэгдүгээр сар\",\n                \"Хоёрдугаар сар\",\n                \"Гуравдугаар сар\",\n                \"Дөрөвдүгээр сар\",\n                \"Тавдугаар сар\",\n                \"Зургаадугаар сар\",\n                \"Долдугаар сар\",\n                \"Наймдугаар сар\",\n                \"Есдүгээр сар\",\n                \"Аравдугаар сар\",\n                \"Арваннэгдүгээр сар\",\n                \"Арванхоёрдугаар сар\",\n            ]\n        },\n        rangeSeparator: \"-с \",\n        time_24hr: true\n    };\n    fp$y.l10ns.mn = Mongolian;\n    fp$y.l10ns;\n\n    var fp$z = typeof window !== \"undefined\" && window.flatpickr !== undefined\n        ? window.flatpickr\n        : {\n            l10ns: {}\n        };\n    var Malaysian = {\n        weekdays: {\n            shorthand: [\"Min\", \"Isn\", \"Sel\", \"Rab\", \"Kha\", \"Jum\", \"Sab\"],\n            longhand: [\n                \"Minggu\",\n                \"Isnin\",\n                \"Selasa\",\n                \"Rabu\",\n                \"Khamis\",\n                \"Jumaat\",\n                \"Sabtu\",\n            ]\n        },\n        months: {\n            shorthand: [\n                \"Jan\",\n                \"Feb\",\n                \"Mac\",\n                \"Apr\",\n                \"Mei\",\n                \"Jun\",\n                \"Jul\",\n                \"Ogo\",\n                \"Sep\",\n                \"Okt\",\n                \"Nov\",\n                \"Dis\",\n            ],\n            longhand: [\n                \"Januari\",\n                \"Februari\",\n                \"Mac\",\n                \"April\",\n                \"Mei\",\n                \"Jun\",\n                \"Julai\",\n                \"Ogos\",\n                \"September\",\n                \"Oktober\",\n                \"November\",\n                \"Disember\",\n            ]\n        },\n        firstDayOfWeek: 1,\n        ordinal: function () {\n            return \"\";\n        }\n    };\n    fp$z.l10ns;\n\n    var fp$A = typeof window !== \"undefined\" && window.flatpickr !== undefined\n        ? window.flatpickr\n        : {\n            l10ns: {}\n        };\n    var Burmese = {\n        weekdays: {\n            shorthand: [\"နွေ\", \"လာ\", \"ဂါ\", \"ဟူး\", \"ကြာ\", \"သော\", \"နေ\"],\n            longhand: [\n                \"တနင်္ဂနွေ\",\n                \"တနင်္လာ\",\n                \"အင်္ဂါ\",\n                \"ဗုဒ္ဓဟူး\",\n                \"ကြာသပတေး\",\n                \"သောကြာ\",\n                \"စနေ\",\n            ]\n        },\n        months: {\n            shorthand: [\n                \"ဇန်\",\n                \"ဖေ\",\n                \"မတ်\",\n                \"ပြီ\",\n                \"မေ\",\n                \"ဇွန်\",\n                \"လိုင်\",\n                \"သြ\",\n                \"စက်\",\n                \"အောက်\",\n                \"နို\",\n                \"ဒီ\",\n            ],\n            longhand: [\n                \"ဇန်နဝါရီ\",\n                \"ဖေဖော်ဝါရီ\",\n                \"မတ်\",\n                \"ဧပြီ\",\n                \"မေ\",\n                \"ဇွန်\",\n                \"ဇူလိုင်\",\n                \"သြဂုတ်\",\n                \"စက်တင်ဘာ\",\n                \"အောက်တိုဘာ\",\n                \"နိုဝင်ဘာ\",\n                \"ဒီဇင်ဘာ\",\n            ]\n        },\n        firstDayOfWeek: 1,\n        ordinal: function () {\n            return \"\";\n        },\n        time_24hr: true\n    };\n    fp$A.l10ns.my = Burmese;\n    fp$A.l10ns;\n\n    var fp$B = typeof window !== \"undefined\" && window.flatpickr !== undefined\n        ? window.flatpickr\n        : {\n            l10ns: {}\n        };\n    var Dutch = {\n        weekdays: {\n            shorthand: [\"zo\", \"ma\", \"di\", \"wo\", \"do\", \"vr\", \"za\"],\n            longhand: [\n                \"zondag\",\n                \"maandag\",\n                \"dinsdag\",\n                \"woensdag\",\n                \"donderdag\",\n                \"vrijdag\",\n                \"zaterdag\",\n            ]\n        },\n        months: {\n            shorthand: [\n                \"jan\",\n                \"feb\",\n                \"mrt\",\n                \"apr\",\n                \"mei\",\n                \"jun\",\n                \"jul\",\n                \"aug\",\n                \"sept\",\n                \"okt\",\n                \"nov\",\n                \"dec\",\n            ],\n            longhand: [\n                \"januari\",\n                \"februari\",\n                \"maart\",\n                \"april\",\n                \"mei\",\n                \"juni\",\n                \"juli\",\n                \"augustus\",\n                \"september\",\n                \"oktober\",\n                \"november\",\n                \"december\",\n            ]\n        },\n        firstDayOfWeek: 1,\n        weekAbbreviation: \"wk\",\n        rangeSeparator: \" tot \",\n        scrollTitle: \"Scroll voor volgende / vorige\",\n        toggleTitle: \"Klik om te wisselen\",\n        time_24hr: true,\n        ordinal: function (nth) {\n            if (nth === 1 || nth === 8 || nth >= 20)\n                return \"ste\";\n            return \"de\";\n        }\n    };\n    fp$B.l10ns.nl = Dutch;\n    fp$B.l10ns;\n\n    var fp$C = typeof window !== \"undefined\" && window.flatpickr !== undefined\n        ? window.flatpickr\n        : {\n            l10ns: {}\n        };\n    var Norwegian = {\n        weekdays: {\n            shorthand: [\"Søn\", \"Man\", \"Tir\", \"Ons\", \"Tor\", \"Fre\", \"Lør\"],\n            longhand: [\n                \"Søndag\",\n                \"Mandag\",\n                \"Tirsdag\",\n                \"Onsdag\",\n                \"Torsdag\",\n                \"Fredag\",\n                \"Lørdag\",\n            ]\n        },\n        months: {\n            shorthand: [\n                \"Jan\",\n                \"Feb\",\n                \"Mar\",\n                \"Apr\",\n                \"Mai\",\n                \"Jun\",\n                \"Jul\",\n                \"Aug\",\n                \"Sep\",\n                \"Okt\",\n                \"Nov\",\n                \"Des\",\n            ],\n            longhand: [\n                \"Januar\",\n                \"Februar\",\n                \"Mars\",\n                \"April\",\n                \"Mai\",\n                \"Juni\",\n                \"Juli\",\n                \"August\",\n                \"September\",\n                \"Oktober\",\n                \"November\",\n                \"Desember\",\n            ]\n        },\n        firstDayOfWeek: 1,\n        rangeSeparator: \" til \",\n        weekAbbreviation: \"Uke\",\n        scrollTitle: \"Scroll for å endre\",\n        toggleTitle: \"Klikk for å veksle\",\n        time_24hr: true,\n        ordinal: function () {\n            return \".\";\n        }\n    };\n    fp$C.l10ns.no = Norwegian;\n    fp$C.l10ns;\n\n    var fp$D = typeof window !== \"undefined\" && window.flatpickr !== undefined\n        ? window.flatpickr\n        : {\n            l10ns: {}\n        };\n    var Punjabi = {\n        weekdays: {\n            shorthand: [\"ਐਤ\", \"ਸੋਮ\", \"ਮੰਗਲ\", \"ਬੁੱਧ\", \"ਵੀਰ\", \"ਸ਼ੁੱਕਰ\", \"ਸ਼ਨਿੱਚਰ\"],\n            longhand: [\n                \"ਐਤਵਾਰ\",\n                \"ਸੋਮਵਾਰ\",\n                \"ਮੰਗਲਵਾਰ\",\n                \"ਬੁੱਧਵਾਰ\",\n                \"ਵੀਰਵਾਰ\",\n                \"ਸ਼ੁੱਕਰਵਾਰ\",\n                \"ਸ਼ਨਿੱਚਰਵਾਰ\",\n            ]\n        },\n        months: {\n            shorthand: [\n                \"ਜਨ\",\n                \"ਫ਼ਰ\",\n                \"ਮਾਰ\",\n                \"ਅਪ੍ਰੈ\",\n                \"ਮਈ\",\n                \"ਜੂਨ\",\n                \"ਜੁਲਾ\",\n                \"ਅਗ\",\n                \"ਸਤੰ\",\n                \"ਅਕ\",\n                \"ਨਵੰ\",\n                \"ਦਸੰ\",\n            ],\n            longhand: [\n                \"ਜਨਵਰੀ\",\n                \"ਫ਼ਰਵਰੀ\",\n                \"ਮਾਰਚ\",\n                \"ਅਪ੍ਰੈਲ\",\n                \"ਮਈ\",\n                \"ਜੂਨ\",\n                \"ਜੁਲਾਈ\",\n                \"ਅਗਸਤ\",\n                \"ਸਤੰਬਰ\",\n                \"ਅਕਤੂਬਰ\",\n                \"ਨਵੰਬਰ\",\n                \"ਦਸੰਬਰ\",\n            ]\n        },\n        time_24hr: true\n    };\n    fp$D.l10ns.pa = Punjabi;\n    fp$D.l10ns;\n\n    var fp$E = typeof window !== \"undefined\" && window.flatpickr !== undefined\n        ? window.flatpickr\n        : {\n            l10ns: {}\n        };\n    var Polish = {\n        weekdays: {\n            shorthand: [\"Nd\", \"Pn\", \"Wt\", \"Śr\", \"Cz\", \"Pt\", \"So\"],\n            longhand: [\n                \"Niedziela\",\n                \"Poniedziałek\",\n                \"Wtorek\",\n                \"Środa\",\n                \"Czwartek\",\n                \"Piątek\",\n                \"Sobota\",\n            ]\n        },\n        months: {\n            shorthand: [\n                \"Sty\",\n                \"Lut\",\n                \"Mar\",\n                \"Kwi\",\n                \"Maj\",\n                \"Cze\",\n                \"Lip\",\n                \"Sie\",\n                \"Wrz\",\n                \"Paź\",\n                \"Lis\",\n                \"Gru\",\n            ],\n            longhand: [\n                \"Styczeń\",\n                \"Luty\",\n                \"Marzec\",\n                \"Kwiecień\",\n                \"Maj\",\n                \"Czerwiec\",\n                \"Lipiec\",\n                \"Sierpień\",\n                \"Wrzesień\",\n                \"Październik\",\n                \"Listopad\",\n                \"Grudzień\",\n            ]\n        },\n        rangeSeparator: \" do \",\n        weekAbbreviation: \"tydz.\",\n        scrollTitle: \"Przewiń, aby zwiększyć\",\n        toggleTitle: \"Kliknij, aby przełączyć\",\n        firstDayOfWeek: 1,\n        time_24hr: true,\n        ordinal: function () {\n            return \".\";\n        }\n    };\n    fp$E.l10ns.pl = Polish;\n    fp$E.l10ns;\n\n    var fp$F = typeof window !== \"undefined\" && window.flatpickr !== undefined\n        ? window.flatpickr\n        : {\n            l10ns: {}\n        };\n    var Portuguese = {\n        weekdays: {\n            shorthand: [\"Dom\", \"Seg\", \"Ter\", \"Qua\", \"Qui\", \"Sex\", \"Sáb\"],\n            longhand: [\n                \"Domingo\",\n                \"Segunda-feira\",\n                \"Terça-feira\",\n                \"Quarta-feira\",\n                \"Quinta-feira\",\n                \"Sexta-feira\",\n                \"Sábado\",\n            ]\n        },\n        months: {\n            shorthand: [\n                \"Jan\",\n                \"Fev\",\n                \"Mar\",\n                \"Abr\",\n                \"Mai\",\n                \"Jun\",\n                \"Jul\",\n                \"Ago\",\n                \"Set\",\n                \"Out\",\n                \"Nov\",\n                \"Dez\",\n            ],\n            longhand: [\n                \"Janeiro\",\n                \"Fevereiro\",\n                \"Março\",\n                \"Abril\",\n                \"Maio\",\n                \"Junho\",\n                \"Julho\",\n                \"Agosto\",\n                \"Setembro\",\n                \"Outubro\",\n                \"Novembro\",\n                \"Dezembro\",\n            ]\n        },\n        rangeSeparator: \" até \",\n        time_24hr: true\n    };\n    fp$F.l10ns.pt = Portuguese;\n    fp$F.l10ns;\n\n    var fp$G = typeof window !== \"undefined\" && window.flatpickr !== undefined\n        ? window.flatpickr\n        : {\n            l10ns: {}\n        };\n    var Romanian = {\n        weekdays: {\n            shorthand: [\"Dum\", \"Lun\", \"Mar\", \"Mie\", \"Joi\", \"Vin\", \"Sâm\"],\n            longhand: [\n                \"Duminică\",\n                \"Luni\",\n                \"Marți\",\n                \"Miercuri\",\n                \"Joi\",\n                \"Vineri\",\n                \"Sâmbătă\",\n            ]\n        },\n        months: {\n            shorthand: [\n                \"Ian\",\n                \"Feb\",\n                \"Mar\",\n                \"Apr\",\n                \"Mai\",\n                \"Iun\",\n                \"Iul\",\n                \"Aug\",\n                \"Sep\",\n                \"Oct\",\n                \"Noi\",\n                \"Dec\",\n            ],\n            longhand: [\n                \"Ianuarie\",\n                \"Februarie\",\n                \"Martie\",\n                \"Aprilie\",\n                \"Mai\",\n                \"Iunie\",\n                \"Iulie\",\n                \"August\",\n                \"Septembrie\",\n                \"Octombrie\",\n                \"Noiembrie\",\n                \"Decembrie\",\n            ]\n        },\n        firstDayOfWeek: 1,\n        time_24hr: true,\n        ordinal: function () {\n            return \"\";\n        }\n    };\n    fp$G.l10ns.ro = Romanian;\n    fp$G.l10ns;\n\n    var fp$H = typeof window !== \"undefined\" && window.flatpickr !== undefined\n        ? window.flatpickr\n        : {\n            l10ns: {}\n        };\n    var Russian = {\n        weekdays: {\n            shorthand: [\"Вс\", \"Пн\", \"Вт\", \"Ср\", \"Чт\", \"Пт\", \"Сб\"],\n            longhand: [\n                \"Воскресенье\",\n                \"Понедельник\",\n                \"Вторник\",\n                \"Среда\",\n                \"Четверг\",\n                \"Пятница\",\n                \"Суббота\",\n            ]\n        },\n        months: {\n            shorthand: [\n                \"Янв\",\n                \"Фев\",\n                \"Март\",\n                \"Апр\",\n                \"Май\",\n                \"Июнь\",\n                \"Июль\",\n                \"Авг\",\n                \"Сен\",\n                \"Окт\",\n                \"Ноя\",\n                \"Дек\",\n            ],\n            longhand: [\n                \"Январь\",\n                \"Февраль\",\n                \"Март\",\n                \"Апрель\",\n                \"Май\",\n                \"Июнь\",\n                \"Июль\",\n                \"Август\",\n                \"Сентябрь\",\n                \"Октябрь\",\n                \"Ноябрь\",\n                \"Декабрь\",\n            ]\n        },\n        firstDayOfWeek: 1,\n        ordinal: function () {\n            return \"\";\n        },\n        rangeSeparator: \" — \",\n        weekAbbreviation: \"Нед.\",\n        scrollTitle: \"Прокрутите для увеличения\",\n        toggleTitle: \"Нажмите для переключения\",\n        amPM: [\"ДП\", \"ПП\"],\n        yearAriaLabel: \"Год\",\n        time_24hr: true\n    };\n    fp$H.l10ns.ru = Russian;\n    fp$H.l10ns;\n\n    var fp$I = typeof window !== \"undefined\" && window.flatpickr !== undefined\n        ? window.flatpickr\n        : {\n            l10ns: {}\n        };\n    var Sinhala = {\n        weekdays: {\n            shorthand: [\"ඉ\", \"ස\", \"අ\", \"බ\", \"බ්‍ර\", \"සි\", \"සෙ\"],\n            longhand: [\n                \"ඉරිදා\",\n                \"සඳුදා\",\n                \"අඟහරුවාදා\",\n                \"බදාදා\",\n                \"බ්‍රහස්පතින්දා\",\n                \"සිකුරාදා\",\n                \"සෙනසුරාදා\",\n            ]\n        },\n        months: {\n            shorthand: [\n                \"ජන\",\n                \"පෙබ\",\n                \"මාර්\",\n                \"අප්‍රේ\",\n                \"මැයි\",\n                \"ජුනි\",\n                \"ජූලි\",\n                \"අගෝ\",\n                \"සැප්\",\n                \"ඔක්\",\n                \"නොවැ\",\n                \"දෙසැ\",\n            ],\n            longhand: [\n                \"ජනවාරි\",\n                \"පෙබරවාරි\",\n                \"මාර්තු\",\n                \"අප්‍රේල්\",\n                \"මැයි\",\n                \"ජුනි\",\n                \"ජූලි\",\n                \"අගෝස්තු\",\n                \"සැප්තැම්බර්\",\n                \"ඔක්තෝබර්\",\n                \"නොවැම්බර්\",\n                \"දෙසැම්බර්\",\n            ]\n        },\n        time_24hr: true\n    };\n    fp$I.l10ns.si = Sinhala;\n    fp$I.l10ns;\n\n    var fp$J = typeof window !== \"undefined\" && window.flatpickr !== undefined\n        ? window.flatpickr\n        : {\n            l10ns: {}\n        };\n    var Slovak = {\n        weekdays: {\n            shorthand: [\"Ned\", \"Pon\", \"Ut\", \"Str\", \"Štv\", \"Pia\", \"Sob\"],\n            longhand: [\n                \"Nedeľa\",\n                \"Pondelok\",\n                \"Utorok\",\n                \"Streda\",\n                \"Štvrtok\",\n                \"Piatok\",\n                \"Sobota\",\n            ]\n        },\n        months: {\n            shorthand: [\n                \"Jan\",\n                \"Feb\",\n                \"Mar\",\n                \"Apr\",\n                \"Máj\",\n                \"Jún\",\n                \"Júl\",\n                \"Aug\",\n                \"Sep\",\n                \"Okt\",\n                \"Nov\",\n                \"Dec\",\n            ],\n            longhand: [\n                \"Január\",\n                \"Február\",\n                \"Marec\",\n                \"Apríl\",\n                \"Máj\",\n                \"Jún\",\n                \"Júl\",\n                \"August\",\n                \"September\",\n                \"Október\",\n                \"November\",\n                \"December\",\n            ]\n        },\n        firstDayOfWeek: 1,\n        rangeSeparator: \" do \",\n        time_24hr: true,\n        ordinal: function () {\n            return \".\";\n        }\n    };\n    fp$J.l10ns.sk = Slovak;\n    fp$J.l10ns;\n\n    var fp$K = typeof window !== \"undefined\" && window.flatpickr !== undefined\n        ? window.flatpickr\n        : {\n            l10ns: {}\n        };\n    var Slovenian = {\n        weekdays: {\n            shorthand: [\"Ned\", \"Pon\", \"Tor\", \"Sre\", \"Čet\", \"Pet\", \"Sob\"],\n            longhand: [\n                \"Nedelja\",\n                \"Ponedeljek\",\n                \"Torek\",\n                \"Sreda\",\n                \"Četrtek\",\n                \"Petek\",\n                \"Sobota\",\n            ]\n        },\n        months: {\n            shorthand: [\n                \"Jan\",\n                \"Feb\",\n                \"Mar\",\n                \"Apr\",\n                \"Maj\",\n                \"Jun\",\n                \"Jul\",\n                \"Avg\",\n                \"Sep\",\n                \"Okt\",\n                \"Nov\",\n                \"Dec\",\n            ],\n            longhand: [\n                \"Januar\",\n                \"Februar\",\n                \"Marec\",\n                \"April\",\n                \"Maj\",\n                \"Junij\",\n                \"Julij\",\n                \"Avgust\",\n                \"September\",\n                \"Oktober\",\n                \"November\",\n                \"December\",\n            ]\n        },\n        firstDayOfWeek: 1,\n        rangeSeparator: \" do \",\n        time_24hr: true,\n        ordinal: function () {\n            return \".\";\n        }\n    };\n    fp$K.l10ns.sl = Slovenian;\n    fp$K.l10ns;\n\n    var fp$L = typeof window !== \"undefined\" && window.flatpickr !== undefined\n        ? window.flatpickr\n        : {\n            l10ns: {}\n        };\n    var Albanian = {\n        weekdays: {\n            shorthand: [\"Di\", \"Hë\", \"Ma\", \"Më\", \"En\", \"Pr\", \"Sh\"],\n            longhand: [\n                \"E Diel\",\n                \"E Hënë\",\n                \"E Martë\",\n                \"E Mërkurë\",\n                \"E Enjte\",\n                \"E Premte\",\n                \"E Shtunë\",\n            ]\n        },\n        months: {\n            shorthand: [\n                \"Jan\",\n                \"Shk\",\n                \"Mar\",\n                \"Pri\",\n                \"Maj\",\n                \"Qer\",\n                \"Kor\",\n                \"Gus\",\n                \"Sht\",\n                \"Tet\",\n                \"Nën\",\n                \"Dhj\",\n            ],\n            longhand: [\n                \"Janar\",\n                \"Shkurt\",\n                \"Mars\",\n                \"Prill\",\n                \"Maj\",\n                \"Qershor\",\n                \"Korrik\",\n                \"Gusht\",\n                \"Shtator\",\n                \"Tetor\",\n                \"Nëntor\",\n                \"Dhjetor\",\n            ]\n        },\n        time_24hr: true\n    };\n    fp$L.l10ns.sq = Albanian;\n    fp$L.l10ns;\n\n    var fp$M = typeof window !== \"undefined\" && window.flatpickr !== undefined\n        ? window.flatpickr\n        : {\n            l10ns: {}\n        };\n    var Serbian = {\n        weekdays: {\n            shorthand: [\"Ned\", \"Pon\", \"Uto\", \"Sre\", \"Čet\", \"Pet\", \"Sub\"],\n            longhand: [\n                \"Nedelja\",\n                \"Ponedeljak\",\n                \"Utorak\",\n                \"Sreda\",\n                \"Četvrtak\",\n                \"Petak\",\n                \"Subota\",\n            ]\n        },\n        months: {\n            shorthand: [\n                \"Jan\",\n                \"Feb\",\n                \"Mar\",\n                \"Apr\",\n                \"Maj\",\n                \"Jun\",\n                \"Jul\",\n                \"Avg\",\n                \"Sep\",\n                \"Okt\",\n                \"Nov\",\n                \"Dec\",\n            ],\n            longhand: [\n                \"Januar\",\n                \"Februar\",\n                \"Mart\",\n                \"April\",\n                \"Maj\",\n                \"Jun\",\n                \"Jul\",\n                \"Avgust\",\n                \"Septembar\",\n                \"Oktobar\",\n                \"Novembar\",\n                \"Decembar\",\n            ]\n        },\n        firstDayOfWeek: 1,\n        weekAbbreviation: \"Ned.\",\n        rangeSeparator: \" do \",\n        time_24hr: true\n    };\n    fp$M.l10ns.sr = Serbian;\n    fp$M.l10ns;\n\n    var fp$N = typeof window !== \"undefined\" && window.flatpickr !== undefined\n        ? window.flatpickr\n        : {\n            l10ns: {}\n        };\n    var Swedish = {\n        firstDayOfWeek: 1,\n        weekAbbreviation: \"v\",\n        weekdays: {\n            shorthand: [\"Sön\", \"Mån\", \"Tis\", \"Ons\", \"Tor\", \"Fre\", \"Lör\"],\n            longhand: [\n                \"Söndag\",\n                \"Måndag\",\n                \"Tisdag\",\n                \"Onsdag\",\n                \"Torsdag\",\n                \"Fredag\",\n                \"Lördag\",\n            ]\n        },\n        months: {\n            shorthand: [\n                \"Jan\",\n                \"Feb\",\n                \"Mar\",\n                \"Apr\",\n                \"Maj\",\n                \"Jun\",\n                \"Jul\",\n                \"Aug\",\n                \"Sep\",\n                \"Okt\",\n                \"Nov\",\n                \"Dec\",\n            ],\n            longhand: [\n                \"Januari\",\n                \"Februari\",\n                \"Mars\",\n                \"April\",\n                \"Maj\",\n                \"Juni\",\n                \"Juli\",\n                \"Augusti\",\n                \"September\",\n                \"Oktober\",\n                \"November\",\n                \"December\",\n            ]\n        },\n        time_24hr: true,\n        ordinal: function () {\n            return \".\";\n        }\n    };\n    fp$N.l10ns.sv = Swedish;\n    fp$N.l10ns;\n\n    var fp$O = typeof window !== \"undefined\" && window.flatpickr !== undefined\n        ? window.flatpickr\n        : {\n            l10ns: {}\n        };\n    var Thai = {\n        weekdays: {\n            shorthand: [\"อา\", \"จ\", \"อ\", \"พ\", \"พฤ\", \"ศ\", \"ส\"],\n            longhand: [\n                \"อาทิตย์\",\n                \"จันทร์\",\n                \"อังคาร\",\n                \"พุธ\",\n                \"พฤหัสบดี\",\n                \"ศุกร์\",\n                \"เสาร์\",\n            ]\n        },\n        months: {\n            shorthand: [\n                \"ม.ค.\",\n                \"ก.พ.\",\n                \"มี.ค.\",\n                \"เม.ย.\",\n                \"พ.ค.\",\n                \"มิ.ย.\",\n                \"ก.ค.\",\n                \"ส.ค.\",\n                \"ก.ย.\",\n                \"ต.ค.\",\n                \"พ.ย.\",\n                \"ธ.ค.\",\n            ],\n            longhand: [\n                \"มกราคม\",\n                \"กุมภาพันธ์\",\n                \"มีนาคม\",\n                \"เมษายน\",\n                \"พฤษภาคม\",\n                \"มิถุนายน\",\n                \"กรกฎาคม\",\n                \"สิงหาคม\",\n                \"กันยายน\",\n                \"ตุลาคม\",\n                \"พฤศจิกายน\",\n                \"ธันวาคม\",\n            ]\n        },\n        firstDayOfWeek: 1,\n        rangeSeparator: \" ถึง \",\n        scrollTitle: \"เลื่อนเพื่อเพิ่มหรือลด\",\n        toggleTitle: \"คลิกเพื่อเปลี่ยน\",\n        time_24hr: true,\n        ordinal: function () {\n            return \"\";\n        }\n    };\n    fp$O.l10ns.th = Thai;\n    fp$O.l10ns;\n\n    var fp$P = typeof window !== \"undefined\" && window.flatpickr !== undefined\n        ? window.flatpickr\n        : {\n            l10ns: {}\n        };\n    var Turkish = {\n        weekdays: {\n            shorthand: [\"Paz\", \"Pzt\", \"Sal\", \"Çar\", \"Per\", \"Cum\", \"Cmt\"],\n            longhand: [\n                \"Pazar\",\n                \"Pazartesi\",\n                \"Salı\",\n                \"Çarşamba\",\n                \"Perşembe\",\n                \"Cuma\",\n                \"Cumartesi\",\n            ]\n        },\n        months: {\n            shorthand: [\n                \"Oca\",\n                \"Şub\",\n                \"Mar\",\n                \"Nis\",\n                \"May\",\n                \"Haz\",\n                \"Tem\",\n                \"Ağu\",\n                \"Eyl\",\n                \"Eki\",\n                \"Kas\",\n                \"Ara\",\n            ],\n            longhand: [\n                \"Ocak\",\n                \"Şubat\",\n                \"Mart\",\n                \"Nisan\",\n                \"Mayıs\",\n                \"Haziran\",\n                \"Temmuz\",\n                \"Ağustos\",\n                \"Eylül\",\n                \"Ekim\",\n                \"Kasım\",\n                \"Aralık\",\n            ]\n        },\n        firstDayOfWeek: 1,\n        ordinal: function () {\n            return \".\";\n        },\n        rangeSeparator: \" - \",\n        weekAbbreviation: \"Hf\",\n        scrollTitle: \"Artırmak için kaydırın\",\n        toggleTitle: \"Aç/Kapa\",\n        amPM: [\"ÖÖ\", \"ÖS\"],\n        time_24hr: true\n    };\n    fp$P.l10ns.tr = Turkish;\n    fp$P.l10ns;\n\n    var fp$Q = typeof window !== \"undefined\" && window.flatpickr !== undefined\n        ? window.flatpickr\n        : {\n            l10ns: {}\n        };\n    var Ukrainian = {\n        firstDayOfWeek: 1,\n        weekdays: {\n            shorthand: [\"Нд\", \"Пн\", \"Вт\", \"Ср\", \"Чт\", \"Пт\", \"Сб\"],\n            longhand: [\n                \"Неділя\",\n                \"Понеділок\",\n                \"Вівторок\",\n                \"Середа\",\n                \"Четвер\",\n                \"П'ятниця\",\n                \"Субота\",\n            ]\n        },\n        months: {\n            shorthand: [\n                \"Січ\",\n                \"Лют\",\n                \"Бер\",\n                \"Кві\",\n                \"Тра\",\n                \"Чер\",\n                \"Лип\",\n                \"Сер\",\n                \"Вер\",\n                \"Жов\",\n                \"Лис\",\n                \"Гру\",\n            ],\n            longhand: [\n                \"Січень\",\n                \"Лютий\",\n                \"Березень\",\n                \"Квітень\",\n                \"Травень\",\n                \"Червень\",\n                \"Липень\",\n                \"Серпень\",\n                \"Вересень\",\n                \"Жовтень\",\n                \"Листопад\",\n                \"Грудень\",\n            ]\n        },\n        time_24hr: true\n    };\n    fp$Q.l10ns.uk = Ukrainian;\n    fp$Q.l10ns;\n\n    var fp$R = typeof window !== \"undefined\" && window.flatpickr !== undefined\n        ? window.flatpickr\n        : {\n            l10ns: {}\n        };\n    var Vietnamese = {\n        weekdays: {\n            shorthand: [\"CN\", \"T2\", \"T3\", \"T4\", \"T5\", \"T6\", \"T7\"],\n            longhand: [\n                \"Chủ nhật\",\n                \"Thứ hai\",\n                \"Thứ ba\",\n                \"Thứ tư\",\n                \"Thứ năm\",\n                \"Thứ sáu\",\n                \"Thứ bảy\",\n            ]\n        },\n        months: {\n            shorthand: [\n                \"Th1\",\n                \"Th2\",\n                \"Th3\",\n                \"Th4\",\n                \"Th5\",\n                \"Th6\",\n                \"Th7\",\n                \"Th8\",\n                \"Th9\",\n                \"Th10\",\n                \"Th11\",\n                \"Th12\",\n            ],\n            longhand: [\n                \"Tháng một\",\n                \"Tháng hai\",\n                \"Tháng ba\",\n                \"Tháng tư\",\n                \"Tháng năm\",\n                \"Tháng sáu\",\n                \"Tháng bảy\",\n                \"Tháng tám\",\n                \"Tháng chín\",\n                \"Tháng mười\",\n                \"Tháng 11\",\n                \"Tháng 12\",\n            ]\n        },\n        firstDayOfWeek: 1,\n        rangeSeparator: ' đến '\n    };\n    fp$R.l10ns.vn = Vietnamese;\n    fp$R.l10ns;\n\n    var fp$S = typeof window !== \"undefined\" && window.flatpickr !== undefined\n        ? window.flatpickr\n        : {\n            l10ns: {}\n        };\n    var Mandarin = {\n        weekdays: {\n            shorthand: [\"周日\", \"周一\", \"周二\", \"周三\", \"周四\", \"周五\", \"周六\"],\n            longhand: [\n                \"星期日\",\n                \"星期一\",\n                \"星期二\",\n                \"星期三\",\n                \"星期四\",\n                \"星期五\",\n                \"星期六\",\n            ]\n        },\n        months: {\n            shorthand: [\n                \"一月\",\n                \"二月\",\n                \"三月\",\n                \"四月\",\n                \"五月\",\n                \"六月\",\n                \"七月\",\n                \"八月\",\n                \"九月\",\n                \"十月\",\n                \"十一月\",\n                \"十二月\",\n            ],\n            longhand: [\n                \"一月\",\n                \"二月\",\n                \"三月\",\n                \"四月\",\n                \"五月\",\n                \"六月\",\n                \"七月\",\n                \"八月\",\n                \"九月\",\n                \"十月\",\n                \"十一月\",\n                \"十二月\",\n            ]\n        },\n        rangeSeparator: \" 至 \",\n        weekAbbreviation: \"周\",\n        scrollTitle: \"滚动切换\",\n        toggleTitle: \"点击切换 12/24 小时时制\"\n    };\n    fp$S.l10ns.zh = Mandarin;\n    fp$S.l10ns;\n\n    var fp$T = typeof window !== \"undefined\" && window.flatpickr !== undefined\n        ? window.flatpickr\n        : {\n            l10ns: {}\n        };\n    var MandarinTraditional = {\n        weekdays: {\n            shorthand: [\"週日\", \"週一\", \"週二\", \"週三\", \"週四\", \"週五\", \"週六\"],\n            longhand: [\n                \"星期日\",\n                \"星期一\",\n                \"星期二\",\n                \"星期三\",\n                \"星期四\",\n                \"星期五\",\n                \"星期六\",\n            ]\n        },\n        months: {\n            shorthand: [\n                \"一月\",\n                \"二月\",\n                \"三月\",\n                \"四月\",\n                \"五月\",\n                \"六月\",\n                \"七月\",\n                \"八月\",\n                \"九月\",\n                \"十月\",\n                \"十一月\",\n                \"十二月\",\n            ],\n            longhand: [\n                \"一月\",\n                \"二月\",\n                \"三月\",\n                \"四月\",\n                \"五月\",\n                \"六月\",\n                \"七月\",\n                \"八月\",\n                \"九月\",\n                \"十月\",\n                \"十一月\",\n                \"十二月\",\n            ]\n        },\n        rangeSeparator: \" 至 \",\n        weekAbbreviation: \"週\",\n        scrollTitle: \"滾動切換\",\n        toggleTitle: \"點擊切換 12/24 小時時制\"\n    };\n    fp$T.l10ns.zh_tw = MandarinTraditional;\n    fp$T.l10ns;\n\n    var l10n = {\n        ar: Arabic,\n        at: Austria,\n        az: Azerbaijan,\n        be: Belarusian,\n        bg: Bulgarian,\n        bn: Bangla,\n        bs: Bosnian,\n        cat: Catalan,\n        cs: Czech,\n        cy: Welsh,\n        da: Danish,\n        de: German,\n        \"default\": __assign({}, english),\n        en: english,\n        eo: Esperanto,\n        es: Spanish,\n        et: Estonian,\n        fa: Persian,\n        fi: Finnish,\n        fo: Faroese,\n        fr: French,\n        gr: Greek,\n        he: Hebrew,\n        hi: Hindi,\n        hr: Croatian,\n        hu: Hungarian,\n        id: Indonesian,\n        is: Icelandic,\n        it: Italian,\n        ja: Japanese,\n        ko: Korean,\n        km: Khmer,\n        kz: Kazakh,\n        lt: Lithuanian,\n        lv: Latvian,\n        mk: Macedonian,\n        mn: Mongolian,\n        ms: Malaysian,\n        my: Burmese,\n        nl: Dutch,\n        no: Norwegian,\n        pa: Punjabi,\n        pl: Polish,\n        pt: Portuguese,\n        ro: Romanian,\n        ru: Russian,\n        si: Sinhala,\n        sk: Slovak,\n        sl: Slovenian,\n        sq: Albanian,\n        sr: Serbian,\n        sv: Swedish,\n        th: Thai,\n        tr: Turkish,\n        uk: Ukrainian,\n        vn: Vietnamese,\n        zh: Mandarin,\n        zh_tw: MandarinTraditional\n    };\n\n    exports.default = l10n;\n\n    Object.defineProperty(exports, '__esModule', { value: true });\n\n}));\n","(function (global, factory) {\n  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :\n  typeof define === 'function' && define.amd ? define(factory) :\n  (global = global || self, global.rangePlugin = factory());\n}(this, function () { 'use strict';\n\n  function rangePlugin(config) {\n      if (config === void 0) { config = {}; }\n      return function (fp) {\n          var dateFormat = \"\", secondInput, _secondInputFocused, _prevDates;\n          var createSecondInput = function () {\n              if (config.input) {\n                  secondInput =\n                      config.input instanceof Element\n                          ? config.input\n                          : window.document.querySelector(config.input);\n                  if (!secondInput) {\n                      fp.config.errorHandler(new Error(\"Invalid input element specified\"));\n                      return;\n                  }\n                  if (fp.config.wrap) {\n                      secondInput = secondInput.querySelector(\"[data-input]\");\n                  }\n              }\n              else {\n                  secondInput = fp._input.cloneNode();\n                  secondInput.removeAttribute(\"id\");\n                  secondInput._flatpickr = undefined;\n              }\n              if (secondInput.value) {\n                  var parsedDate = fp.parseDate(secondInput.value);\n                  if (parsedDate)\n                      fp.selectedDates.push(parsedDate);\n              }\n              secondInput.setAttribute(\"data-fp-omit\", \"\");\n              fp._bind(secondInput, [\"focus\", \"click\"], function () {\n                  if (fp.selectedDates[1]) {\n                      fp.latestSelectedDateObj = fp.selectedDates[1];\n                      fp._setHoursFromDate(fp.selectedDates[1]);\n                      fp.jumpToDate(fp.selectedDates[1]);\n                  }\n                  _secondInputFocused = true;\n                  fp.isOpen = false;\n                  fp.open(undefined, config.position === \"left\" ? fp._input : secondInput);\n              });\n              fp._bind(fp._input, [\"focus\", \"click\"], function (e) {\n                  e.preventDefault();\n                  fp.isOpen = false;\n                  fp.open();\n              });\n              if (fp.config.allowInput)\n                  fp._bind(secondInput, \"keydown\", function (e) {\n                      if (e.key === \"Enter\") {\n                          fp.setDate([fp.selectedDates[0], secondInput.value], true, dateFormat);\n                          secondInput.click();\n                      }\n                  });\n              if (!config.input)\n                  fp._input.parentNode &&\n                      fp._input.parentNode.insertBefore(secondInput, fp._input.nextSibling);\n          };\n          var plugin = {\n              onParseConfig: function () {\n                  fp.config.mode = \"range\";\n                  dateFormat = fp.config.altInput\n                      ? fp.config.altFormat\n                      : fp.config.dateFormat;\n              },\n              onReady: function () {\n                  createSecondInput();\n                  fp.config.ignoredFocusElements.push(secondInput);\n                  if (fp.config.allowInput) {\n                      fp._input.removeAttribute(\"readonly\");\n                      secondInput.removeAttribute(\"readonly\");\n                  }\n                  else {\n                      secondInput.setAttribute(\"readonly\", \"readonly\");\n                  }\n                  fp._bind(fp._input, \"focus\", function () {\n                      fp.latestSelectedDateObj = fp.selectedDates[0];\n                      fp._setHoursFromDate(fp.selectedDates[0]);\n                      _secondInputFocused = false;\n                      fp.jumpToDate(fp.selectedDates[0]);\n                  });\n                  if (fp.config.allowInput)\n                      fp._bind(fp._input, \"keydown\", function (e) {\n                          if (e.key === \"Enter\")\n                              fp.setDate([fp._input.value, fp.selectedDates[1]], true, dateFormat);\n                      });\n                  fp.setDate(fp.selectedDates, false);\n                  plugin.onValueUpdate(fp.selectedDates);\n                  fp.loadedPlugins.push(\"range\");\n              },\n              onPreCalendarPosition: function () {\n                  if (_secondInputFocused) {\n                      fp._positionElement = secondInput;\n                      setTimeout(function () {\n                          fp._positionElement = fp._input;\n                      }, 0);\n                  }\n              },\n              onChange: function () {\n                  if (!fp.selectedDates.length) {\n                      setTimeout(function () {\n                          if (fp.selectedDates.length)\n                              return;\n                          secondInput.value = \"\";\n                          _prevDates = [];\n                      }, 10);\n                  }\n                  if (_secondInputFocused) {\n                      setTimeout(function () {\n                          secondInput.focus();\n                      }, 0);\n                  }\n              },\n              onDestroy: function () {\n                  if (!config.input)\n                      secondInput.parentNode &&\n                          secondInput.parentNode.removeChild(secondInput);\n              },\n              onValueUpdate: function (selDates) {\n                  var _a, _b, _c;\n                  if (!secondInput)\n                      return;\n                  _prevDates =\n                      !_prevDates || selDates.length >= _prevDates.length\n                          ? selDates.slice() : _prevDates;\n                  if (_prevDates.length > selDates.length) {\n                      var newSelectedDate = selDates[0];\n                      var newDates = _secondInputFocused\n                          ? [_prevDates[0], newSelectedDate]\n                          : [newSelectedDate, _prevDates[1]];\n                      fp.setDate(newDates, false);\n                      _prevDates = newDates.slice();\n                  }\n                  _a = fp.selectedDates.map(function (d) { return fp.formatDate(d, dateFormat); }), _b = _a[0], fp._input.value = _b === void 0 ? \"\" : _b, _c = _a[1], secondInput.value = _c === void 0 ? \"\" : _c;\n              }\n          };\n          return plugin;\n      };\n  }\n\n  return rangePlugin;\n\n}));\n","/* interact.js 1.10.19 | https://interactjs.io/license */\n!function(t){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=t():\"function\"==typeof define&&define.amd?define([],t):(\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:this).interact=t()}((function(){var t={};Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0,t.default=function(t){return!(!t||!t.Window)&&t instanceof t.Window};var e={};Object.defineProperty(e,\"__esModule\",{value:!0}),e.getWindow=function(e){return(0,t.default)(e)?e:(e.ownerDocument||e).defaultView||r.window},e.init=o,e.window=e.realWindow=void 0;var n=void 0;e.realWindow=n;var r=void 0;function o(t){e.realWindow=n=t;var o=t.document.createTextNode(\"\");o.ownerDocument!==t.document&&\"function\"==typeof t.wrap&&t.wrap(o)===o&&(t=t.wrap(t)),e.window=r=t}e.window=r,\"undefined\"!=typeof window&&window&&o(window);var i={};function a(t){return a=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&\"function\"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?\"symbol\":typeof t},a(t)}Object.defineProperty(i,\"__esModule\",{value:!0}),i.default=void 0;var s=function(t){return!!t&&\"object\"===a(t)},l=function(t){return\"function\"==typeof t},u={window:function(n){return n===e.window||(0,t.default)(n)},docFrag:function(t){return s(t)&&11===t.nodeType},object:s,func:l,number:function(t){return\"number\"==typeof t},bool:function(t){return\"boolean\"==typeof t},string:function(t){return\"string\"==typeof t},element:function(t){if(!t||\"object\"!==a(t))return!1;var n=e.getWindow(t)||e.window;return/object|function/.test(\"undefined\"==typeof Element?\"undefined\":a(Element))?t instanceof Element||t instanceof n.Element:1===t.nodeType&&\"string\"==typeof t.nodeName},plainObject:function(t){return s(t)&&!!t.constructor&&/function Object\\b/.test(t.constructor.toString())},array:function(t){return s(t)&&void 0!==t.length&&l(t.splice)}};i.default=u;var c={};function f(t){var e=t.interaction;if(\"drag\"===e.prepared.name){var n=e.prepared.axis;\"x\"===n?(e.coords.cur.page.y=e.coords.start.page.y,e.coords.cur.client.y=e.coords.start.client.y,e.coords.velocity.client.y=0,e.coords.velocity.page.y=0):\"y\"===n&&(e.coords.cur.page.x=e.coords.start.page.x,e.coords.cur.client.x=e.coords.start.client.x,e.coords.velocity.client.x=0,e.coords.velocity.page.x=0)}}function d(t){var e=t.iEvent,n=t.interaction;if(\"drag\"===n.prepared.name){var r=n.prepared.axis;if(\"x\"===r||\"y\"===r){var o=\"x\"===r?\"y\":\"x\";e.page[o]=n.coords.start.page[o],e.client[o]=n.coords.start.client[o],e.delta[o]=0}}}Object.defineProperty(c,\"__esModule\",{value:!0}),c.default=void 0;var p={id:\"actions/drag\",install:function(t){var e=t.actions,n=t.Interactable,r=t.defaults;n.prototype.draggable=p.draggable,e.map.drag=p,e.methodDict.drag=\"draggable\",r.actions.drag=p.defaults},listeners:{\"interactions:before-action-move\":f,\"interactions:action-resume\":f,\"interactions:action-move\":d,\"auto-start:check\":function(t){var e=t.interaction,n=t.interactable,r=t.buttons,o=n.options.drag;if(o&&o.enabled&&(!e.pointerIsDown||!/mouse|pointer/.test(e.pointerType)||0!=(r&n.options.drag.mouseButtons)))return t.action={name:\"drag\",axis:\"start\"===o.lockAxis?o.startAxis:o.lockAxis},!1}},draggable:function(t){return i.default.object(t)?(this.options.drag.enabled=!1!==t.enabled,this.setPerAction(\"drag\",t),this.setOnEvents(\"drag\",t),/^(xy|x|y|start)$/.test(t.lockAxis)&&(this.options.drag.lockAxis=t.lockAxis),/^(xy|x|y)$/.test(t.startAxis)&&(this.options.drag.startAxis=t.startAxis),this):i.default.bool(t)?(this.options.drag.enabled=t,this):this.options.drag},beforeMove:f,move:d,defaults:{startAxis:\"xy\",lockAxis:\"xy\"},getCursor:function(){return\"move\"}},v=p;c.default=v;var h={};Object.defineProperty(h,\"__esModule\",{value:!0}),h.default=void 0;var g={init:function(t){var e=t;g.document=e.document,g.DocumentFragment=e.DocumentFragment||y,g.SVGElement=e.SVGElement||y,g.SVGSVGElement=e.SVGSVGElement||y,g.SVGElementInstance=e.SVGElementInstance||y,g.Element=e.Element||y,g.HTMLElement=e.HTMLElement||g.Element,g.Event=e.Event,g.Touch=e.Touch||y,g.PointerEvent=e.PointerEvent||e.MSPointerEvent},document:null,DocumentFragment:null,SVGElement:null,SVGSVGElement:null,SVGElementInstance:null,Element:null,HTMLElement:null,Event:null,Touch:null,PointerEvent:null};function y(){}var m=g;h.default=m;var b={};Object.defineProperty(b,\"__esModule\",{value:!0}),b.default=void 0;var x={init:function(t){var e=h.default.Element,n=t.navigator||{};x.supportsTouch=\"ontouchstart\"in t||i.default.func(t.DocumentTouch)&&h.default.document instanceof t.DocumentTouch,x.supportsPointerEvent=!1!==n.pointerEnabled&&!!h.default.PointerEvent,x.isIOS=/iP(hone|od|ad)/.test(n.platform),x.isIOS7=/iP(hone|od|ad)/.test(n.platform)&&/OS 7[^\\d]/.test(n.appVersion),x.isIe9=/MSIE 9/.test(n.userAgent),x.isOperaMobile=\"Opera\"===n.appName&&x.supportsTouch&&/Presto/.test(n.userAgent),x.prefixedMatchesSelector=\"matches\"in e.prototype?\"matches\":\"webkitMatchesSelector\"in e.prototype?\"webkitMatchesSelector\":\"mozMatchesSelector\"in e.prototype?\"mozMatchesSelector\":\"oMatchesSelector\"in e.prototype?\"oMatchesSelector\":\"msMatchesSelector\",x.pEventTypes=x.supportsPointerEvent?h.default.PointerEvent===t.MSPointerEvent?{up:\"MSPointerUp\",down:\"MSPointerDown\",over:\"mouseover\",out:\"mouseout\",move:\"MSPointerMove\",cancel:\"MSPointerCancel\"}:{up:\"pointerup\",down:\"pointerdown\",over:\"pointerover\",out:\"pointerout\",move:\"pointermove\",cancel:\"pointercancel\"}:null,x.wheelEvent=h.default.document&&\"onmousewheel\"in h.default.document?\"mousewheel\":\"wheel\"},supportsTouch:null,supportsPointerEvent:null,isIOS7:null,isIOS:null,isIe9:null,isOperaMobile:null,prefixedMatchesSelector:null,pEventTypes:null,wheelEvent:null},w=x;b.default=w;var _={};function P(t){var e=t.parentNode;if(i.default.docFrag(e)){for(;(e=e.host)&&i.default.docFrag(e););return e}return e}function O(t,n){return e.window!==e.realWindow&&(n=n.replace(/\\/deep\\//g,\" \")),t[b.default.prefixedMatchesSelector](n)}Object.defineProperty(_,\"__esModule\",{value:!0}),_.closest=function(t,e){for(;i.default.element(t);){if(O(t,e))return t;t=P(t)}return null},_.getActualElement=function(t){return t.correspondingUseElement||t},_.getElementClientRect=j,_.getElementRect=function(t){var n=j(t);if(!b.default.isIOS7&&n){var r=T(e.getWindow(t));n.left+=r.x,n.right+=r.x,n.top+=r.y,n.bottom+=r.y}return n},_.getPath=function(t){for(var e=[];t;)e.push(t),t=P(t);return e},_.getScrollXY=T,_.indexOfDeepestElement=function(t){for(var n,r=[],o=0;o<t.length;o++){var i=t[o],a=t[n];if(i&&o!==n)if(a){var s=E(i),l=E(a);if(s!==i.ownerDocument)if(l!==i.ownerDocument)if(s!==l){r=r.length?r:S(a);var u=void 0;if(a instanceof h.default.HTMLElement&&i instanceof h.default.SVGElement&&!(i instanceof h.default.SVGSVGElement)){if(i===l)continue;u=i.ownerSVGElement}else u=i;for(var c=S(u,a.ownerDocument),f=0;c[f]&&c[f]===r[f];)f++;var d=[c[f-1],c[f],r[f]];if(d[0])for(var p=d[0].lastChild;p;){if(p===d[1]){n=o,r=c;break}if(p===d[2])break;p=p.previousSibling}}else v=i,g=a,void 0,void 0,(parseInt(e.getWindow(v).getComputedStyle(v).zIndex,10)||0)>=(parseInt(e.getWindow(g).getComputedStyle(g).zIndex,10)||0)&&(n=o);else n=o}else n=o}var v,g;return n},_.matchesSelector=O,_.matchesUpTo=function(t,e,n){for(;i.default.element(t);){if(O(t,e))return!0;if((t=P(t))===n)return O(t,e)}return!1},_.nodeContains=function(t,e){if(t.contains)return t.contains(e);for(;e;){if(e===t)return!0;e=e.parentNode}return!1},_.parentNode=P,_.trySelector=function(t){return!!i.default.string(t)&&(h.default.document.querySelector(t),!0)};var E=function(t){return t.parentNode||t.host};function S(t,e){for(var n,r=[],o=t;(n=E(o))&&o!==e&&n!==o.ownerDocument;)r.unshift(o),o=n;return r}function T(t){return{x:(t=t||e.window).scrollX||t.document.documentElement.scrollLeft,y:t.scrollY||t.document.documentElement.scrollTop}}function j(t){var e=t instanceof h.default.SVGElement?t.getBoundingClientRect():t.getClientRects()[0];return e&&{left:e.left,right:e.right,top:e.top,bottom:e.bottom,width:e.width||e.right-e.left,height:e.height||e.bottom-e.top}}var M={};Object.defineProperty(M,\"__esModule\",{value:!0}),M.default=function(t,e){for(var n in e)t[n]=e[n];return t};var k={};function I(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function D(t,e,n){return\"parent\"===t?(0,_.parentNode)(n):\"self\"===t?e.getRect(n):(0,_.closest)(n,t)}Object.defineProperty(k,\"__esModule\",{value:!0}),k.addEdges=function(t,e,n){t.left&&(e.left+=n.x),t.right&&(e.right+=n.x),t.top&&(e.top+=n.y),t.bottom&&(e.bottom+=n.y),e.width=e.right-e.left,e.height=e.bottom-e.top},k.getStringOptionResult=D,k.rectToXY=function(t){return t&&{x:\"x\"in t?t.x:t.left,y:\"y\"in t?t.y:t.top}},k.resolveRectLike=function(t,e,n,r){var o,a=t;return i.default.string(a)?a=D(a,e,n):i.default.func(a)&&(a=a.apply(void 0,function(t){if(Array.isArray(t))return I(t)}(o=r)||function(t){if(\"undefined\"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t[\"@@iterator\"])return Array.from(t)}(o)||function(t,e){if(t){if(\"string\"==typeof t)return I(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return\"Object\"===n&&t.constructor&&(n=t.constructor.name),\"Map\"===n||\"Set\"===n?Array.from(t):\"Arguments\"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?I(t,e):void 0}}(o)||function(){throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\")}())),i.default.element(a)&&(a=(0,_.getElementRect)(a)),a},k.tlbrToXywh=function(t){return!t||\"x\"in t&&\"y\"in t||((t=(0,M.default)({},t)).x=t.left||0,t.y=t.top||0,t.width=t.width||(t.right||0)-t.x,t.height=t.height||(t.bottom||0)-t.y),t},k.xywhToTlbr=function(t){return!t||\"left\"in t&&\"top\"in t||((t=(0,M.default)({},t)).left=t.x||0,t.top=t.y||0,t.right=t.right||t.left+t.width,t.bottom=t.bottom||t.top+t.height),t};var A={};Object.defineProperty(A,\"__esModule\",{value:!0}),A.default=function(t,e,n){var r=t.options[n],o=r&&r.origin||t.options.origin,i=(0,k.resolveRectLike)(o,t,e,[t&&e]);return(0,k.rectToXY)(i)||{x:0,y:0}};var z={};function C(t){return t.trim().split(/ +/)}Object.defineProperty(z,\"__esModule\",{value:!0}),z.default=function t(e,n,r){if(r=r||{},i.default.string(e)&&-1!==e.search(\" \")&&(e=C(e)),i.default.array(e))return e.reduce((function(e,o){return(0,M.default)(e,t(o,n,r))}),r);if(i.default.object(e)&&(n=e,e=\"\"),i.default.func(n))r[e]=r[e]||[],r[e].push(n);else if(i.default.array(n))for(var o=0;o<n.length;o++){var a;a=n[o],t(e,a,r)}else if(i.default.object(n))for(var s in n){var l=C(s).map((function(t){return\"\".concat(e).concat(t)}));t(l,n[s],r)}return r};var R={};Object.defineProperty(R,\"__esModule\",{value:!0}),R.default=void 0,R.default=function(t,e){return Math.sqrt(t*t+e*e)};var F={};Object.defineProperty(F,\"__esModule\",{value:!0}),F.default=function(t,e){t.__set||(t.__set={});var n=function(n){if(X.some((function(t){return 0===n.indexOf(t)})))return\"continue\";\"function\"!=typeof t[n]&&\"__set\"!==n&&Object.defineProperty(t,n,{get:function(){return n in t.__set?t.__set[n]:t.__set[n]=e[n]},set:function(e){t.__set[n]=e},configurable:!0})};for(var r in e)n(r);return t};var X=[\"webkit\",\"moz\"],B={};function Y(t){return t instanceof h.default.Event||t instanceof h.default.Touch}function W(t,e,n){return t=t||\"page\",(n=n||{}).x=e[t+\"X\"],n.y=e[t+\"Y\"],n}function L(t,e){return e=e||{x:0,y:0},b.default.isOperaMobile&&Y(t)?(W(\"screen\",t,e),e.x+=window.scrollX,e.y+=window.scrollY):W(\"page\",t,e),e}function U(t,e){return e=e||{},b.default.isOperaMobile&&Y(t)?W(\"screen\",t,e):W(\"client\",t,e),e}function V(t){var e=[];return i.default.array(t)?(e[0]=t[0],e[1]=t[1]):\"touchend\"===t.type?1===t.touches.length?(e[0]=t.touches[0],e[1]=t.changedTouches[0]):0===t.touches.length&&(e[0]=t.changedTouches[0],e[1]=t.changedTouches[1]):(e[0]=t.touches[0],e[1]=t.touches[1]),e}function N(t){for(var e={pageX:0,pageY:0,clientX:0,clientY:0,screenX:0,screenY:0},n=0;n<t.length;n++){var r=t[n];for(var o in e)e[o]+=r[o]}for(var i in e)e[i]/=t.length;return e}Object.defineProperty(B,\"__esModule\",{value:!0}),B.coordsToEvent=function(t){return{coords:t,get page(){return this.coords.page},get client(){return this.coords.client},get timeStamp(){return this.coords.timeStamp},get pageX(){return this.coords.page.x},get pageY(){return this.coords.page.y},get clientX(){return this.coords.client.x},get clientY(){return this.coords.client.y},get pointerId(){return this.coords.pointerId},get target(){return this.coords.target},get type(){return this.coords.type},get pointerType(){return this.coords.pointerType},get buttons(){return this.coords.buttons},preventDefault:function(){}}},B.copyCoords=function(t,e){t.page=t.page||{},t.page.x=e.page.x,t.page.y=e.page.y,t.client=t.client||{},t.client.x=e.client.x,t.client.y=e.client.y,t.timeStamp=e.timeStamp},B.getClientXY=U,B.getEventTargets=function(t){var e=i.default.func(t.composedPath)?t.composedPath():t.path;return[_.getActualElement(e?e[0]:t.target),_.getActualElement(t.currentTarget)]},B.getPageXY=L,B.getPointerId=function(t){return i.default.number(t.pointerId)?t.pointerId:t.identifier},B.getPointerType=function(t){return i.default.string(t.pointerType)?t.pointerType:i.default.number(t.pointerType)?[void 0,void 0,\"touch\",\"pen\",\"mouse\"][t.pointerType]:/touch/.test(t.type||\"\")||t instanceof h.default.Touch?\"touch\":\"mouse\"},B.getTouchPair=V,B.getXY=W,B.isNativePointer=Y,B.newCoords=function(){return{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0}},B.pointerAverage=N,Object.defineProperty(B,\"pointerExtend\",{enumerable:!0,get:function(){return F.default}}),B.setCoordDeltas=function(t,e,n){t.page.x=n.page.x-e.page.x,t.page.y=n.page.y-e.page.y,t.client.x=n.client.x-e.client.x,t.client.y=n.client.y-e.client.y,t.timeStamp=n.timeStamp-e.timeStamp},B.setCoordVelocity=function(t,e){var n=Math.max(e.timeStamp/1e3,.001);t.page.x=e.page.x/n,t.page.y=e.page.y/n,t.client.x=e.client.x/n,t.client.y=e.client.y/n,t.timeStamp=n},B.setCoords=function(t,e,n){var r=e.length>1?N(e):e[0];L(r,t.page),U(r,t.client),t.timeStamp=n},B.setZeroCoords=function(t){t.page.x=0,t.page.y=0,t.client.x=0,t.client.y=0},B.touchAngle=function(t,e){var n=e+\"X\",r=e+\"Y\",o=V(t),i=o[1][n]-o[0][n],a=o[1][r]-o[0][r];return 180*Math.atan2(a,i)/Math.PI},B.touchBBox=function(t){if(!t.length)return null;var e=V(t),n=Math.min(e[0].pageX,e[1].pageX),r=Math.min(e[0].pageY,e[1].pageY),o=Math.max(e[0].pageX,e[1].pageX),i=Math.max(e[0].pageY,e[1].pageY);return{x:n,y:r,left:n,top:r,right:o,bottom:i,width:o-n,height:i-r}},B.touchDistance=function(t,e){var n=e+\"X\",r=e+\"Y\",o=V(t),i=o[0][n]-o[1][n],a=o[0][r]-o[1][r];return(0,R.default)(i,a)};var q={};function G(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function $(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}Object.defineProperty(q,\"__esModule\",{value:!0}),q.BaseEvent=void 0;var H=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this,t),$(this,\"immediatePropagationStopped\",!1),$(this,\"propagationStopped\",!1),this._interaction=e}var e,n;return e=t,(n=[{key:\"preventDefault\",value:function(){}},{key:\"stopPropagation\",value:function(){this.propagationStopped=!0}},{key:\"stopImmediatePropagation\",value:function(){this.immediatePropagationStopped=this.propagationStopped=!0}}])&&G(e.prototype,n),Object.defineProperty(e,\"prototype\",{writable:!1}),t}();q.BaseEvent=H,Object.defineProperty(H.prototype,\"interaction\",{get:function(){return this._interaction._proxy},set:function(){}});var K={};Object.defineProperty(K,\"__esModule\",{value:!0}),K.remove=K.merge=K.from=K.findIndex=K.find=K.contains=void 0,K.contains=function(t,e){return-1!==t.indexOf(e)},K.remove=function(t,e){return t.splice(t.indexOf(e),1)};var Z=function(t,e){for(var n=0;n<e.length;n++){var r=e[n];t.push(r)}return t};K.merge=Z,K.from=function(t){return Z([],t)};var J=function(t,e){for(var n=0;n<t.length;n++)if(e(t[n],n,t))return n;return-1};K.findIndex=J,K.find=function(t,e){return t[J(t,e)]};var Q={};function tt(t){return tt=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&\"function\"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?\"symbol\":typeof t},tt(t)}function et(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function nt(t,e){return nt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},nt(t,e)}function rt(t,e){if(e&&(\"object\"===tt(e)||\"function\"==typeof e))return e;if(void 0!==e)throw new TypeError(\"Derived constructors may only return object or undefined\");return ot(t)}function ot(t){if(void 0===t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return t}function it(t){return it=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},it(t)}function at(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}Object.defineProperty(Q,\"__esModule\",{value:!0}),Q.DropEvent=void 0;var st=function(t){!function(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function\");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,\"prototype\",{writable:!1}),e&&nt(t,e)}(a,t);var e,n,r,o,i=(r=a,o=function(){if(\"undefined\"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(\"function\"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=it(r);if(o){var n=it(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return rt(this,t)});function a(t,e,n){var r;!function(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this,a),at(ot(r=i.call(this,e._interaction)),\"dropzone\",void 0),at(ot(r),\"dragEvent\",void 0),at(ot(r),\"relatedTarget\",void 0),at(ot(r),\"draggable\",void 0),at(ot(r),\"propagationStopped\",!1),at(ot(r),\"immediatePropagationStopped\",!1);var o=\"dragleave\"===n?t.prev:t.cur,s=o.element,l=o.dropzone;return r.type=n,r.target=s,r.currentTarget=s,r.dropzone=l,r.dragEvent=e,r.relatedTarget=e.target,r.draggable=e.interactable,r.timeStamp=e.timeStamp,r}return e=a,(n=[{key:\"reject\",value:function(){var t=this,e=this._interaction.dropState;if(\"dropactivate\"===this.type||this.dropzone&&e.cur.dropzone===this.dropzone&&e.cur.element===this.target)if(e.prev.dropzone=this.dropzone,e.prev.element=this.target,e.rejected=!0,e.events.enter=null,this.stopImmediatePropagation(),\"dropactivate\"===this.type){var n=e.activeDrops,r=K.findIndex(n,(function(e){var n=e.dropzone,r=e.element;return n===t.dropzone&&r===t.target}));e.activeDrops.splice(r,1);var o=new a(e,this.dragEvent,\"dropdeactivate\");o.dropzone=this.dropzone,o.target=this.target,this.dropzone.fire(o)}else this.dropzone.fire(new a(e,this.dragEvent,\"dragleave\"))}},{key:\"preventDefault\",value:function(){}},{key:\"stopPropagation\",value:function(){this.propagationStopped=!0}},{key:\"stopImmediatePropagation\",value:function(){this.immediatePropagationStopped=this.propagationStopped=!0}}])&&et(e.prototype,n),Object.defineProperty(e,\"prototype\",{writable:!1}),a}(q.BaseEvent);Q.DropEvent=st;var lt={};function ut(t,e){for(var n=0;n<t.slice().length;n++){var r=t.slice()[n],o=r.dropzone,i=r.element;e.dropzone=o,e.target=i,o.fire(e),e.propagationStopped=e.immediatePropagationStopped=!1}}function ct(t,e){for(var n=function(t,e){for(var n=t.interactables,r=[],o=0;o<n.list.length;o++){var a=n.list[o];if(a.options.drop.enabled){var s=a.options.drop.accept;if(!(i.default.element(s)&&s!==e||i.default.string(s)&&!_.matchesSelector(e,s)||i.default.func(s)&&!s({dropzone:a,draggableElement:e})))for(var l=i.default.string(a.target)?a._context.querySelectorAll(a.target):i.default.array(a.target)?a.target:[a.target],u=0;u<l.length;u++){var c=l[u];c!==e&&r.push({dropzone:a,element:c,rect:a.getRect(c)})}}}return r}(t,e),r=0;r<n.length;r++){var o=n[r];o.rect=o.dropzone.getRect(o.element)}return n}function ft(t,e,n){for(var r=t.dropState,o=t.interactable,i=t.element,a=[],s=0;s<r.activeDrops.length;s++){var l=r.activeDrops[s],u=l.dropzone,c=l.element,f=l.rect;a.push(u.dropCheck(e,n,o,i,c,f)?c:null)}var d=_.indexOfDeepestElement(a);return r.activeDrops[d]||null}function dt(t,e,n){var r=t.dropState,o={enter:null,leave:null,activate:null,deactivate:null,move:null,drop:null};return\"dragstart\"===n.type&&(o.activate=new Q.DropEvent(r,n,\"dropactivate\"),o.activate.target=null,o.activate.dropzone=null),\"dragend\"===n.type&&(o.deactivate=new Q.DropEvent(r,n,\"dropdeactivate\"),o.deactivate.target=null,o.deactivate.dropzone=null),r.rejected||(r.cur.element!==r.prev.element&&(r.prev.dropzone&&(o.leave=new Q.DropEvent(r,n,\"dragleave\"),n.dragLeave=o.leave.target=r.prev.element,n.prevDropzone=o.leave.dropzone=r.prev.dropzone),r.cur.dropzone&&(o.enter=new Q.DropEvent(r,n,\"dragenter\"),n.dragEnter=r.cur.element,n.dropzone=r.cur.dropzone)),\"dragend\"===n.type&&r.cur.dropzone&&(o.drop=new Q.DropEvent(r,n,\"drop\"),n.dropzone=r.cur.dropzone,n.relatedTarget=r.cur.element),\"dragmove\"===n.type&&r.cur.dropzone&&(o.move=new Q.DropEvent(r,n,\"dropmove\"),o.move.dragmove=n,n.dropzone=r.cur.dropzone)),o}function pt(t,e){var n=t.dropState,r=n.activeDrops,o=n.cur,i=n.prev;e.leave&&i.dropzone.fire(e.leave),e.enter&&o.dropzone.fire(e.enter),e.move&&o.dropzone.fire(e.move),e.drop&&o.dropzone.fire(e.drop),e.deactivate&&ut(r,e.deactivate),n.prev.dropzone=o.dropzone,n.prev.element=o.element}function vt(t,e){var n=t.interaction,r=t.iEvent,o=t.event;if(\"dragmove\"===r.type||\"dragend\"===r.type){var i=n.dropState;e.dynamicDrop&&(i.activeDrops=ct(e,n.element));var a=r,s=ft(n,a,o);i.rejected=i.rejected&&!!s&&s.dropzone===i.cur.dropzone&&s.element===i.cur.element,i.cur.dropzone=s&&s.dropzone,i.cur.element=s&&s.element,i.events=dt(n,0,a)}}Object.defineProperty(lt,\"__esModule\",{value:!0}),lt.default=void 0;var ht={id:\"actions/drop\",install:function(t){var e=t.actions,n=t.interactStatic,r=t.Interactable,o=t.defaults;t.usePlugin(c.default),r.prototype.dropzone=function(t){return function(t,e){if(i.default.object(e)){if(t.options.drop.enabled=!1!==e.enabled,e.listeners){var n=(0,z.default)(e.listeners),r=Object.keys(n).reduce((function(t,e){return t[/^(enter|leave)/.test(e)?\"drag\".concat(e):/^(activate|deactivate|move)/.test(e)?\"drop\".concat(e):e]=n[e],t}),{});t.off(t.options.drop.listeners),t.on(r),t.options.drop.listeners=r}return i.default.func(e.ondrop)&&t.on(\"drop\",e.ondrop),i.default.func(e.ondropactivate)&&t.on(\"dropactivate\",e.ondropactivate),i.default.func(e.ondropdeactivate)&&t.on(\"dropdeactivate\",e.ondropdeactivate),i.default.func(e.ondragenter)&&t.on(\"dragenter\",e.ondragenter),i.default.func(e.ondragleave)&&t.on(\"dragleave\",e.ondragleave),i.default.func(e.ondropmove)&&t.on(\"dropmove\",e.ondropmove),/^(pointer|center)$/.test(e.overlap)?t.options.drop.overlap=e.overlap:i.default.number(e.overlap)&&(t.options.drop.overlap=Math.max(Math.min(1,e.overlap),0)),\"accept\"in e&&(t.options.drop.accept=e.accept),\"checker\"in e&&(t.options.drop.checker=e.checker),t}return i.default.bool(e)?(t.options.drop.enabled=e,t):t.options.drop}(this,t)},r.prototype.dropCheck=function(t,e,n,r,o,a){return function(t,e,n,r,o,a,s){var l=!1;if(!(s=s||t.getRect(a)))return!!t.options.drop.checker&&t.options.drop.checker(e,n,l,t,a,r,o);var u=t.options.drop.overlap;if(\"pointer\"===u){var c=(0,A.default)(r,o,\"drag\"),f=B.getPageXY(e);f.x+=c.x,f.y+=c.y;var d=f.x>s.left&&f.x<s.right,p=f.y>s.top&&f.y<s.bottom;l=d&&p}var v=r.getRect(o);if(v&&\"center\"===u){var h=v.left+v.width/2,g=v.top+v.height/2;l=h>=s.left&&h<=s.right&&g>=s.top&&g<=s.bottom}return v&&i.default.number(u)&&(l=Math.max(0,Math.min(s.right,v.right)-Math.max(s.left,v.left))*Math.max(0,Math.min(s.bottom,v.bottom)-Math.max(s.top,v.top))/(v.width*v.height)>=u),t.options.drop.checker&&(l=t.options.drop.checker(e,n,l,t,a,r,o)),l}(this,t,e,n,r,o,a)},n.dynamicDrop=function(e){return i.default.bool(e)?(t.dynamicDrop=e,n):t.dynamicDrop},(0,M.default)(e.phaselessTypes,{dragenter:!0,dragleave:!0,dropactivate:!0,dropdeactivate:!0,dropmove:!0,drop:!0}),e.methodDict.drop=\"dropzone\",t.dynamicDrop=!1,o.actions.drop=ht.defaults},listeners:{\"interactions:before-action-start\":function(t){var e=t.interaction;\"drag\"===e.prepared.name&&(e.dropState={cur:{dropzone:null,element:null},prev:{dropzone:null,element:null},rejected:null,events:null,activeDrops:[]})},\"interactions:after-action-start\":function(t,e){var n=t.interaction,r=(t.event,t.iEvent);if(\"drag\"===n.prepared.name){var o=n.dropState;o.activeDrops=null,o.events=null,o.activeDrops=ct(e,n.element),o.events=dt(n,0,r),o.events.activate&&(ut(o.activeDrops,o.events.activate),e.fire(\"actions/drop:start\",{interaction:n,dragEvent:r}))}},\"interactions:action-move\":vt,\"interactions:after-action-move\":function(t,e){var n=t.interaction,r=t.iEvent;\"drag\"===n.prepared.name&&(pt(n,n.dropState.events),e.fire(\"actions/drop:move\",{interaction:n,dragEvent:r}),n.dropState.events={})},\"interactions:action-end\":function(t,e){if(\"drag\"===t.interaction.prepared.name){var n=t.interaction,r=t.iEvent;vt(t,e),pt(n,n.dropState.events),e.fire(\"actions/drop:end\",{interaction:n,dragEvent:r})}},\"interactions:stop\":function(t){var e=t.interaction;if(\"drag\"===e.prepared.name){var n=e.dropState;n&&(n.activeDrops=null,n.events=null,n.cur.dropzone=null,n.cur.element=null,n.prev.dropzone=null,n.prev.element=null,n.rejected=!1)}}},getActiveDrops:ct,getDrop:ft,getDropEvents:dt,fireDropEvents:pt,defaults:{enabled:!1,accept:null,overlap:\"pointer\"}},gt=ht;lt.default=gt;var yt={};function mt(t){var e=t.interaction,n=t.iEvent,r=t.phase;if(\"gesture\"===e.prepared.name){var o=e.pointers.map((function(t){return t.pointer})),a=\"start\"===r,s=\"end\"===r,l=e.interactable.options.deltaSource;if(n.touches=[o[0],o[1]],a)n.distance=B.touchDistance(o,l),n.box=B.touchBBox(o),n.scale=1,n.ds=0,n.angle=B.touchAngle(o,l),n.da=0,e.gesture.startDistance=n.distance,e.gesture.startAngle=n.angle;else if(s){var u=e.prevEvent;n.distance=u.distance,n.box=u.box,n.scale=u.scale,n.ds=0,n.angle=u.angle,n.da=0}else n.distance=B.touchDistance(o,l),n.box=B.touchBBox(o),n.scale=n.distance/e.gesture.startDistance,n.angle=B.touchAngle(o,l),n.ds=n.scale-e.gesture.scale,n.da=n.angle-e.gesture.angle;e.gesture.distance=n.distance,e.gesture.angle=n.angle,i.default.number(n.scale)&&n.scale!==1/0&&!isNaN(n.scale)&&(e.gesture.scale=n.scale)}}Object.defineProperty(yt,\"__esModule\",{value:!0}),yt.default=void 0;var bt={id:\"actions/gesture\",before:[\"actions/drag\",\"actions/resize\"],install:function(t){var e=t.actions,n=t.Interactable,r=t.defaults;n.prototype.gesturable=function(t){return i.default.object(t)?(this.options.gesture.enabled=!1!==t.enabled,this.setPerAction(\"gesture\",t),this.setOnEvents(\"gesture\",t),this):i.default.bool(t)?(this.options.gesture.enabled=t,this):this.options.gesture},e.map.gesture=bt,e.methodDict.gesture=\"gesturable\",r.actions.gesture=bt.defaults},listeners:{\"interactions:action-start\":mt,\"interactions:action-move\":mt,\"interactions:action-end\":mt,\"interactions:new\":function(t){t.interaction.gesture={angle:0,distance:0,scale:1,startAngle:0,startDistance:0}},\"auto-start:check\":function(t){if(!(t.interaction.pointers.length<2)){var e=t.interactable.options.gesture;if(e&&e.enabled)return t.action={name:\"gesture\"},!1}}},defaults:{},getCursor:function(){return\"\"}},xt=bt;yt.default=xt;var wt={};function _t(t,e,n,r,o,a,s){if(!e)return!1;if(!0===e){var l=i.default.number(a.width)?a.width:a.right-a.left,u=i.default.number(a.height)?a.height:a.bottom-a.top;if(s=Math.min(s,Math.abs((\"left\"===t||\"right\"===t?l:u)/2)),l<0&&(\"left\"===t?t=\"right\":\"right\"===t&&(t=\"left\")),u<0&&(\"top\"===t?t=\"bottom\":\"bottom\"===t&&(t=\"top\")),\"left\"===t){var c=l>=0?a.left:a.right;return n.x<c+s}if(\"top\"===t){var f=u>=0?a.top:a.bottom;return n.y<f+s}if(\"right\"===t)return n.x>(l>=0?a.right:a.left)-s;if(\"bottom\"===t)return n.y>(u>=0?a.bottom:a.top)-s}return!!i.default.element(r)&&(i.default.element(e)?e===r:_.matchesUpTo(r,e,o))}function Pt(t){var e=t.iEvent,n=t.interaction;if(\"resize\"===n.prepared.name&&n.resizeAxes){var r=e;n.interactable.options.resize.square?(\"y\"===n.resizeAxes?r.delta.x=r.delta.y:r.delta.y=r.delta.x,r.axes=\"xy\"):(r.axes=n.resizeAxes,\"x\"===n.resizeAxes?r.delta.y=0:\"y\"===n.resizeAxes&&(r.delta.x=0))}}Object.defineProperty(wt,\"__esModule\",{value:!0}),wt.default=void 0;var Ot={id:\"actions/resize\",before:[\"actions/drag\"],install:function(t){var e=t.actions,n=t.browser,r=t.Interactable,o=t.defaults;Ot.cursors=function(t){return t.isIe9?{x:\"e-resize\",y:\"s-resize\",xy:\"se-resize\",top:\"n-resize\",left:\"w-resize\",bottom:\"s-resize\",right:\"e-resize\",topleft:\"se-resize\",bottomright:\"se-resize\",topright:\"ne-resize\",bottomleft:\"ne-resize\"}:{x:\"ew-resize\",y:\"ns-resize\",xy:\"nwse-resize\",top:\"ns-resize\",left:\"ew-resize\",bottom:\"ns-resize\",right:\"ew-resize\",topleft:\"nwse-resize\",bottomright:\"nwse-resize\",topright:\"nesw-resize\",bottomleft:\"nesw-resize\"}}(n),Ot.defaultMargin=n.supportsTouch||n.supportsPointerEvent?20:10,r.prototype.resizable=function(e){return function(t,e,n){return i.default.object(e)?(t.options.resize.enabled=!1!==e.enabled,t.setPerAction(\"resize\",e),t.setOnEvents(\"resize\",e),i.default.string(e.axis)&&/^x$|^y$|^xy$/.test(e.axis)?t.options.resize.axis=e.axis:null===e.axis&&(t.options.resize.axis=n.defaults.actions.resize.axis),i.default.bool(e.preserveAspectRatio)?t.options.resize.preserveAspectRatio=e.preserveAspectRatio:i.default.bool(e.square)&&(t.options.resize.square=e.square),t):i.default.bool(e)?(t.options.resize.enabled=e,t):t.options.resize}(this,e,t)},e.map.resize=Ot,e.methodDict.resize=\"resizable\",o.actions.resize=Ot.defaults},listeners:{\"interactions:new\":function(t){t.interaction.resizeAxes=\"xy\"},\"interactions:action-start\":function(t){!function(t){var e=t.iEvent,n=t.interaction;if(\"resize\"===n.prepared.name&&n.prepared.edges){var r=e,o=n.rect;n._rects={start:(0,M.default)({},o),corrected:(0,M.default)({},o),previous:(0,M.default)({},o),delta:{left:0,right:0,width:0,top:0,bottom:0,height:0}},r.edges=n.prepared.edges,r.rect=n._rects.corrected,r.deltaRect=n._rects.delta}}(t),Pt(t)},\"interactions:action-move\":function(t){!function(t){var e=t.iEvent,n=t.interaction;if(\"resize\"===n.prepared.name&&n.prepared.edges){var r=e,o=n.interactable.options.resize.invert,i=\"reposition\"===o||\"negate\"===o,a=n.rect,s=n._rects,l=s.start,u=s.corrected,c=s.delta,f=s.previous;if((0,M.default)(f,u),i){if((0,M.default)(u,a),\"reposition\"===o){if(u.top>u.bottom){var d=u.top;u.top=u.bottom,u.bottom=d}if(u.left>u.right){var p=u.left;u.left=u.right,u.right=p}}}else u.top=Math.min(a.top,l.bottom),u.bottom=Math.max(a.bottom,l.top),u.left=Math.min(a.left,l.right),u.right=Math.max(a.right,l.left);for(var v in u.width=u.right-u.left,u.height=u.bottom-u.top,u)c[v]=u[v]-f[v];r.edges=n.prepared.edges,r.rect=u,r.deltaRect=c}}(t),Pt(t)},\"interactions:action-end\":function(t){var e=t.iEvent,n=t.interaction;if(\"resize\"===n.prepared.name&&n.prepared.edges){var r=e;r.edges=n.prepared.edges,r.rect=n._rects.corrected,r.deltaRect=n._rects.delta}},\"auto-start:check\":function(t){var e=t.interaction,n=t.interactable,r=t.element,o=t.rect,a=t.buttons;if(o){var s=(0,M.default)({},e.coords.cur.page),l=n.options.resize;if(l&&l.enabled&&(!e.pointerIsDown||!/mouse|pointer/.test(e.pointerType)||0!=(a&l.mouseButtons))){if(i.default.object(l.edges)){var u={left:!1,right:!1,top:!1,bottom:!1};for(var c in u)u[c]=_t(c,l.edges[c],s,e._latestPointer.eventTarget,r,o,l.margin||Ot.defaultMargin);u.left=u.left&&!u.right,u.top=u.top&&!u.bottom,(u.left||u.right||u.top||u.bottom)&&(t.action={name:\"resize\",edges:u})}else{var f=\"y\"!==l.axis&&s.x>o.right-Ot.defaultMargin,d=\"x\"!==l.axis&&s.y>o.bottom-Ot.defaultMargin;(f||d)&&(t.action={name:\"resize\",axes:(f?\"x\":\"\")+(d?\"y\":\"\")})}return!t.action&&void 0}}}},defaults:{square:!1,preserveAspectRatio:!1,axis:\"xy\",margin:NaN,edges:null,invert:\"none\"},cursors:null,getCursor:function(t){var e=t.edges,n=t.axis,r=t.name,o=Ot.cursors,i=null;if(n)i=o[r+n];else if(e){for(var a=\"\",s=[\"top\",\"bottom\",\"left\",\"right\"],l=0;l<s.length;l++){var u=s[l];e[u]&&(a+=u)}i=o[a]}return i},defaultMargin:null},Et=Ot;wt.default=Et;var St={};Object.defineProperty(St,\"__esModule\",{value:!0}),St.default=void 0;var Tt={id:\"actions\",install:function(t){t.usePlugin(yt.default),t.usePlugin(wt.default),t.usePlugin(c.default),t.usePlugin(lt.default)}};St.default=Tt;var jt={};Object.defineProperty(jt,\"__esModule\",{value:!0}),jt.default=void 0;var Mt,kt,It=0,Dt={request:function(t){return Mt(t)},cancel:function(t){return kt(t)},init:function(t){if(Mt=t.requestAnimationFrame,kt=t.cancelAnimationFrame,!Mt)for(var e=[\"ms\",\"moz\",\"webkit\",\"o\"],n=0;n<e.length;n++){var r=e[n];Mt=t[\"\".concat(r,\"RequestAnimationFrame\")],kt=t[\"\".concat(r,\"CancelAnimationFrame\")]||t[\"\".concat(r,\"CancelRequestAnimationFrame\")]}Mt=Mt&&Mt.bind(t),kt=kt&&kt.bind(t),Mt||(Mt=function(e){var n=Date.now(),r=Math.max(0,16-(n-It)),o=t.setTimeout((function(){e(n+r)}),r);return It=n+r,o},kt=function(t){return clearTimeout(t)})}};jt.default=Dt;var At={};Object.defineProperty(At,\"__esModule\",{value:!0}),At.default=void 0,At.getContainer=Ct,At.getScroll=Rt,At.getScrollSize=function(t){return i.default.window(t)&&(t=window.document.body),{x:t.scrollWidth,y:t.scrollHeight}},At.getScrollSizeDelta=function(t,e){var n=t.interaction,r=t.element,o=n&&n.interactable.options[n.prepared.name].autoScroll;if(!o||!o.enabled)return e(),{x:0,y:0};var i=Ct(o.container,n.interactable,r),a=Rt(i);e();var s=Rt(i);return{x:s.x-a.x,y:s.y-a.y}};var zt={defaults:{enabled:!1,margin:60,container:null,speed:300},now:Date.now,interaction:null,i:0,x:0,y:0,isScrolling:!1,prevTime:0,margin:0,speed:0,start:function(t){zt.isScrolling=!0,jt.default.cancel(zt.i),t.autoScroll=zt,zt.interaction=t,zt.prevTime=zt.now(),zt.i=jt.default.request(zt.scroll)},stop:function(){zt.isScrolling=!1,zt.interaction&&(zt.interaction.autoScroll=null),jt.default.cancel(zt.i)},scroll:function(){var t=zt.interaction,e=t.interactable,n=t.element,r=t.prepared.name,o=e.options[r].autoScroll,a=Ct(o.container,e,n),s=zt.now(),l=(s-zt.prevTime)/1e3,u=o.speed*l;if(u>=1){var c={x:zt.x*u,y:zt.y*u};if(c.x||c.y){var f=Rt(a);i.default.window(a)?a.scrollBy(c.x,c.y):a&&(a.scrollLeft+=c.x,a.scrollTop+=c.y);var d=Rt(a),p={x:d.x-f.x,y:d.y-f.y};(p.x||p.y)&&e.fire({type:\"autoscroll\",target:n,interactable:e,delta:p,interaction:t,container:a})}zt.prevTime=s}zt.isScrolling&&(jt.default.cancel(zt.i),zt.i=jt.default.request(zt.scroll))},check:function(t,e){var n;return null==(n=t.options[e].autoScroll)?void 0:n.enabled},onInteractionMove:function(t){var e=t.interaction,n=t.pointer;if(e.interacting()&&zt.check(e.interactable,e.prepared.name))if(e.simulation)zt.x=zt.y=0;else{var r,o,a,s,l=e.interactable,u=e.element,c=e.prepared.name,f=l.options[c].autoScroll,d=Ct(f.container,l,u);if(i.default.window(d))s=n.clientX<zt.margin,r=n.clientY<zt.margin,o=n.clientX>d.innerWidth-zt.margin,a=n.clientY>d.innerHeight-zt.margin;else{var p=_.getElementClientRect(d);s=n.clientX<p.left+zt.margin,r=n.clientY<p.top+zt.margin,o=n.clientX>p.right-zt.margin,a=n.clientY>p.bottom-zt.margin}zt.x=o?1:s?-1:0,zt.y=a?1:r?-1:0,zt.isScrolling||(zt.margin=f.margin,zt.speed=f.speed,zt.start(e))}}};function Ct(t,n,r){return(i.default.string(t)?(0,k.getStringOptionResult)(t,n,r):t)||(0,e.getWindow)(r)}function Rt(t){return i.default.window(t)&&(t=window.document.body),{x:t.scrollLeft,y:t.scrollTop}}var Ft={id:\"auto-scroll\",install:function(t){var e=t.defaults,n=t.actions;t.autoScroll=zt,zt.now=function(){return t.now()},n.phaselessTypes.autoscroll=!0,e.perAction.autoScroll=zt.defaults},listeners:{\"interactions:new\":function(t){t.interaction.autoScroll=null},\"interactions:destroy\":function(t){t.interaction.autoScroll=null,zt.stop(),zt.interaction&&(zt.interaction=null)},\"interactions:stop\":zt.stop,\"interactions:action-move\":function(t){return zt.onInteractionMove(t)}}},Xt=Ft;At.default=Xt;var Bt={};Object.defineProperty(Bt,\"__esModule\",{value:!0}),Bt.copyAction=function(t,e){return t.name=e.name,t.axis=e.axis,t.edges=e.edges,t},Bt.sign=void 0,Bt.warnOnce=function(t,n){var r=!1;return function(){return r||(e.window.console.warn(n),r=!0),t.apply(this,arguments)}},Bt.sign=function(t){return t>=0?1:-1};var Yt={};function Wt(t){return i.default.bool(t)?(this.options.styleCursor=t,this):null===t?(delete this.options.styleCursor,this):this.options.styleCursor}function Lt(t){return i.default.func(t)?(this.options.actionChecker=t,this):null===t?(delete this.options.actionChecker,this):this.options.actionChecker}Object.defineProperty(Yt,\"__esModule\",{value:!0}),Yt.default=void 0;var Ut={id:\"auto-start/interactableMethods\",install:function(t){var e=t.Interactable;e.prototype.getAction=function(e,n,r,o){var i=function(t,e,n,r,o){var i=t.getRect(r),a={action:null,interactable:t,interaction:n,element:r,rect:i,buttons:e.buttons||{0:1,1:4,3:8,4:16}[e.button]};return o.fire(\"auto-start:check\",a),a.action}(this,n,r,o,t);return this.options.actionChecker?this.options.actionChecker(e,n,i,this,o,r):i},e.prototype.ignoreFrom=(0,Bt.warnOnce)((function(t){return this._backCompatOption(\"ignoreFrom\",t)}),\"Interactable.ignoreFrom() has been deprecated. Use Interactble.draggable({ignoreFrom: newValue}).\"),e.prototype.allowFrom=(0,Bt.warnOnce)((function(t){return this._backCompatOption(\"allowFrom\",t)}),\"Interactable.allowFrom() has been deprecated. Use Interactble.draggable({allowFrom: newValue}).\"),e.prototype.actionChecker=Lt,e.prototype.styleCursor=Wt}};Yt.default=Ut;var Vt={};function Nt(t,e,n,r,o){return e.testIgnoreAllow(e.options[t.name],n,r)&&e.options[t.name].enabled&&Ht(e,n,t,o)?t:null}function qt(t,e,n,r,o,i,a){for(var s=0,l=r.length;s<l;s++){var u=r[s],c=o[s],f=u.getAction(e,n,t,c);if(f){var d=Nt(f,u,c,i,a);if(d)return{action:d,interactable:u,element:c}}}return{action:null,interactable:null,element:null}}function Gt(t,e,n,r,o){var a=[],s=[],l=r;function u(t){a.push(t),s.push(l)}for(;i.default.element(l);){a=[],s=[],o.interactables.forEachMatch(l,u);var c=qt(t,e,n,a,s,r,o);if(c.action&&!c.interactable.options[c.action.name].manualStart)return c;l=_.parentNode(l)}return{action:null,interactable:null,element:null}}function $t(t,e,n){var r=e.action,o=e.interactable,i=e.element;r=r||{name:null},t.interactable=o,t.element=i,(0,Bt.copyAction)(t.prepared,r),t.rect=o&&r.name?o.getRect(i):null,Jt(t,n),n.fire(\"autoStart:prepared\",{interaction:t})}function Ht(t,e,n,r){var o=t.options,i=o[n.name].max,a=o[n.name].maxPerElement,s=r.autoStart.maxInteractions,l=0,u=0,c=0;if(!(i&&a&&s))return!1;for(var f=0;f<r.interactions.list.length;f++){var d=r.interactions.list[f],p=d.prepared.name;if(d.interacting()){if(++l>=s)return!1;if(d.interactable===t){if((u+=p===n.name?1:0)>=i)return!1;if(d.element===e&&(c++,p===n.name&&c>=a))return!1}}}return s>0}function Kt(t,e){return i.default.number(t)?(e.autoStart.maxInteractions=t,this):e.autoStart.maxInteractions}function Zt(t,e,n){var r=n.autoStart.cursorElement;r&&r!==t&&(r.style.cursor=\"\"),t.ownerDocument.documentElement.style.cursor=e,t.style.cursor=e,n.autoStart.cursorElement=e?t:null}function Jt(t,e){var n=t.interactable,r=t.element,o=t.prepared;if(\"mouse\"===t.pointerType&&n&&n.options.styleCursor){var a=\"\";if(o.name){var s=n.options[o.name].cursorChecker;a=i.default.func(s)?s(o,n,r,t._interacting):e.actions.map[o.name].getCursor(o)}Zt(t.element,a||\"\",e)}else e.autoStart.cursorElement&&Zt(e.autoStart.cursorElement,\"\",e)}Object.defineProperty(Vt,\"__esModule\",{value:!0}),Vt.default=void 0;var Qt={id:\"auto-start/base\",before:[\"actions\"],install:function(t){var e=t.interactStatic,n=t.defaults;t.usePlugin(Yt.default),n.base.actionChecker=null,n.base.styleCursor=!0,(0,M.default)(n.perAction,{manualStart:!1,max:1/0,maxPerElement:1,allowFrom:null,ignoreFrom:null,mouseButtons:1}),e.maxInteractions=function(e){return Kt(e,t)},t.autoStart={maxInteractions:1/0,withinInteractionLimit:Ht,cursorElement:null}},listeners:{\"interactions:down\":function(t,e){var n=t.interaction,r=t.pointer,o=t.event,i=t.eventTarget;n.interacting()||$t(n,Gt(n,r,o,i,e),e)},\"interactions:move\":function(t,e){!function(t,e){var n=t.interaction,r=t.pointer,o=t.event,i=t.eventTarget;\"mouse\"!==n.pointerType||n.pointerIsDown||n.interacting()||$t(n,Gt(n,r,o,i,e),e)}(t,e),function(t,e){var n=t.interaction;if(n.pointerIsDown&&!n.interacting()&&n.pointerWasMoved&&n.prepared.name){e.fire(\"autoStart:before-start\",t);var r=n.interactable,o=n.prepared.name;o&&r&&(r.options[o].manualStart||!Ht(r,n.element,n.prepared,e)?n.stop():(n.start(n.prepared,r,n.element),Jt(n,e)))}}(t,e)},\"interactions:stop\":function(t,e){var n=t.interaction,r=n.interactable;r&&r.options.styleCursor&&Zt(n.element,\"\",e)}},maxInteractions:Kt,withinInteractionLimit:Ht,validateAction:Nt},te=Qt;Vt.default=te;var ee={};Object.defineProperty(ee,\"__esModule\",{value:!0}),ee.default=void 0;var ne={id:\"auto-start/dragAxis\",listeners:{\"autoStart:before-start\":function(t,e){var n=t.interaction,r=t.eventTarget,o=t.dx,a=t.dy;if(\"drag\"===n.prepared.name){var s=Math.abs(o),l=Math.abs(a),u=n.interactable.options.drag,c=u.startAxis,f=s>l?\"x\":s<l?\"y\":\"xy\";if(n.prepared.axis=\"start\"===u.lockAxis?f[0]:u.lockAxis,\"xy\"!==f&&\"xy\"!==c&&c!==f){n.prepared.name=null;for(var d=r,p=function(t){if(t!==n.interactable){var o=n.interactable.options.drag;if(!o.manualStart&&t.testIgnoreAllow(o,d,r)){var i=t.getAction(n.downPointer,n.downEvent,n,d);if(i&&\"drag\"===i.name&&function(t,e){if(!e)return!1;var n=e.options.drag.startAxis;return\"xy\"===t||\"xy\"===n||n===t}(f,t)&&Vt.default.validateAction(i,t,d,r,e))return t}}};i.default.element(d);){var v=e.interactables.forEachMatch(d,p);if(v){n.prepared.name=\"drag\",n.interactable=v,n.element=d;break}d=(0,_.parentNode)(d)}}}}}};ee.default=ne;var re={};function oe(t){var e=t.prepared&&t.prepared.name;if(!e)return null;var n=t.interactable.options;return n[e].hold||n[e].delay}Object.defineProperty(re,\"__esModule\",{value:!0}),re.default=void 0;var ie={id:\"auto-start/hold\",install:function(t){var e=t.defaults;t.usePlugin(Vt.default),e.perAction.hold=0,e.perAction.delay=0},listeners:{\"interactions:new\":function(t){t.interaction.autoStartHoldTimer=null},\"autoStart:prepared\":function(t){var e=t.interaction,n=oe(e);n>0&&(e.autoStartHoldTimer=setTimeout((function(){e.start(e.prepared,e.interactable,e.element)}),n))},\"interactions:move\":function(t){var e=t.interaction,n=t.duplicate;e.autoStartHoldTimer&&e.pointerWasMoved&&!n&&(clearTimeout(e.autoStartHoldTimer),e.autoStartHoldTimer=null)},\"autoStart:before-start\":function(t){var e=t.interaction;oe(e)>0&&(e.prepared.name=null)}},getHoldDuration:oe},ae=ie;re.default=ae;var se={};Object.defineProperty(se,\"__esModule\",{value:!0}),se.default=void 0;var le={id:\"auto-start\",install:function(t){t.usePlugin(Vt.default),t.usePlugin(re.default),t.usePlugin(ee.default)}};se.default=le;var ue={};function ce(t){return/^(always|never|auto)$/.test(t)?(this.options.preventDefault=t,this):i.default.bool(t)?(this.options.preventDefault=t?\"always\":\"never\",this):this.options.preventDefault}function fe(t){var e=t.interaction,n=t.event;e.interactable&&e.interactable.checkAndPreventDefault(n)}function de(t){var n=t.Interactable;n.prototype.preventDefault=ce,n.prototype.checkAndPreventDefault=function(n){return function(t,n,r){var o=t.options.preventDefault;if(\"never\"!==o)if(\"always\"!==o){if(n.events.supportsPassive&&/^touch(start|move)$/.test(r.type)){var a=(0,e.getWindow)(r.target).document,s=n.getDocOptions(a);if(!s||!s.events||!1!==s.events.passive)return}/^(mouse|pointer|touch)*(down|start)/i.test(r.type)||i.default.element(r.target)&&(0,_.matchesSelector)(r.target,\"input,select,textarea,[contenteditable=true],[contenteditable=true] *\")||r.preventDefault()}else r.preventDefault()}(this,t,n)},t.interactions.docEvents.push({type:\"dragstart\",listener:function(e){for(var n=0;n<t.interactions.list.length;n++){var r=t.interactions.list[n];if(r.element&&(r.element===e.target||(0,_.nodeContains)(r.element,e.target)))return void r.interactable.checkAndPreventDefault(e)}}})}Object.defineProperty(ue,\"__esModule\",{value:!0}),ue.default=void 0,ue.install=de;var pe={id:\"core/interactablePreventDefault\",install:de,listeners:[\"down\",\"move\",\"up\",\"cancel\"].reduce((function(t,e){return t[\"interactions:\".concat(e)]=fe,t}),{})};ue.default=pe;var ve={};Object.defineProperty(ve,\"__esModule\",{value:!0}),ve.default=void 0,ve.default={};var he,ge={};Object.defineProperty(ge,\"__esModule\",{value:!0}),ge.default=void 0,function(t){t.touchAction=\"touchAction\",t.boxSizing=\"boxSizing\",t.noListeners=\"noListeners\"}(he||(he={}));he.touchAction,he.boxSizing,he.noListeners;var ye={id:\"dev-tools\",install:function(){}};ge.default=ye;var me={};Object.defineProperty(me,\"__esModule\",{value:!0}),me.default=function t(e){var n={};for(var r in e){var o=e[r];i.default.plainObject(o)?n[r]=t(o):i.default.array(o)?n[r]=K.from(o):n[r]=o}return n};var be={};function xe(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:\"undefined\"!=typeof Symbol&&t[Symbol.iterator]||t[\"@@iterator\"];if(null!=n){var r,o,i=[],a=!0,s=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(i.push(r.value),!e||i.length!==e);a=!0);}catch(t){s=!0,o=t}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}(t,e)||function(t,e){if(t){if(\"string\"==typeof t)return we(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return\"Object\"===n&&t.constructor&&(n=t.constructor.name),\"Map\"===n||\"Set\"===n?Array.from(t):\"Arguments\"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?we(t,e):void 0}}(t,e)||function(){throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\")}()}function we(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function _e(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Pe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}Object.defineProperty(be,\"__esModule\",{value:!0}),be.default=void 0,be.getRectOffset=Se;var Oe=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this,t),Pe(this,\"states\",[]),Pe(this,\"startOffset\",{left:0,right:0,top:0,bottom:0}),Pe(this,\"startDelta\",void 0),Pe(this,\"result\",void 0),Pe(this,\"endResult\",void 0),Pe(this,\"startEdges\",void 0),Pe(this,\"edges\",void 0),Pe(this,\"interaction\",void 0),this.interaction=e,this.result=Ee(),this.edges={left:!1,right:!1,top:!1,bottom:!1}}var e,n;return e=t,(n=[{key:\"start\",value:function(t,e){var n=t.phase,r=this.interaction,o=function(t){var e=t.interactable.options[t.prepared.name],n=e.modifiers;return n&&n.length?n:[\"snap\",\"snapSize\",\"snapEdges\",\"restrict\",\"restrictEdges\",\"restrictSize\"].map((function(t){var n=e[t];return n&&n.enabled&&{options:n,methods:n._methods}})).filter((function(t){return!!t}))}(r);this.prepareStates(o),this.startEdges=(0,M.default)({},r.edges),this.edges=(0,M.default)({},this.startEdges),this.startOffset=Se(r.rect,e),this.startDelta={x:0,y:0};var i=this.fillArg({phase:n,pageCoords:e,preEnd:!1});return this.result=Ee(),this.startAll(i),this.result=this.setAll(i)}},{key:\"fillArg\",value:function(t){var e=this.interaction;return t.interaction=e,t.interactable=e.interactable,t.element=e.element,t.rect||(t.rect=e.rect),t.edges||(t.edges=this.startEdges),t.startOffset=this.startOffset,t}},{key:\"startAll\",value:function(t){for(var e=0;e<this.states.length;e++){var n=this.states[e];n.methods.start&&(t.state=n,n.methods.start(t))}}},{key:\"setAll\",value:function(t){var e=t.phase,n=t.preEnd,r=t.skipModifiers,o=t.rect,i=t.edges;t.coords=(0,M.default)({},t.pageCoords),t.rect=(0,M.default)({},o),t.edges=(0,M.default)({},i);for(var a=r?this.states.slice(r):this.states,s=Ee(t.coords,t.rect),l=0;l<a.length;l++){var u,c=a[l],f=c.options,d=(0,M.default)({},t.coords),p=null;null!=(u=c.methods)&&u.set&&this.shouldDo(f,n,e)&&(t.state=c,p=c.methods.set(t),k.addEdges(t.edges,t.rect,{x:t.coords.x-d.x,y:t.coords.y-d.y})),s.eventProps.push(p)}(0,M.default)(this.edges,t.edges),s.delta.x=t.coords.x-t.pageCoords.x,s.delta.y=t.coords.y-t.pageCoords.y,s.rectDelta.left=t.rect.left-o.left,s.rectDelta.right=t.rect.right-o.right,s.rectDelta.top=t.rect.top-o.top,s.rectDelta.bottom=t.rect.bottom-o.bottom;var v=this.result.coords,h=this.result.rect;if(v&&h){var g=s.rect.left!==h.left||s.rect.right!==h.right||s.rect.top!==h.top||s.rect.bottom!==h.bottom;s.changed=g||v.x!==s.coords.x||v.y!==s.coords.y}return s}},{key:\"applyToInteraction\",value:function(t){var e=this.interaction,n=t.phase,r=e.coords.cur,o=e.coords.start,i=this.result,a=this.startDelta,s=i.delta;\"start\"===n&&(0,M.default)(this.startDelta,i.delta);for(var l=0;l<[[o,a],[r,s]].length;l++){var u=xe([[o,a],[r,s]][l],2),c=u[0],f=u[1];c.page.x+=f.x,c.page.y+=f.y,c.client.x+=f.x,c.client.y+=f.y}var d=this.result.rectDelta,p=t.rect||e.rect;p.left+=d.left,p.right+=d.right,p.top+=d.top,p.bottom+=d.bottom,p.width=p.right-p.left,p.height=p.bottom-p.top}},{key:\"setAndApply\",value:function(t){var e=this.interaction,n=t.phase,r=t.preEnd,o=t.skipModifiers,i=this.setAll(this.fillArg({preEnd:r,phase:n,pageCoords:t.modifiedCoords||e.coords.cur.page}));if(this.result=i,!i.changed&&(!o||o<this.states.length)&&e.interacting())return!1;if(t.modifiedCoords){var a=e.coords.cur.page,s={x:t.modifiedCoords.x-a.x,y:t.modifiedCoords.y-a.y};i.coords.x+=s.x,i.coords.y+=s.y,i.delta.x+=s.x,i.delta.y+=s.y}this.applyToInteraction(t)}},{key:\"beforeEnd\",value:function(t){var e=t.interaction,n=t.event,r=this.states;if(r&&r.length){for(var o=!1,i=0;i<r.length;i++){var a=r[i];t.state=a;var s=a.options,l=a.methods,u=l.beforeEnd&&l.beforeEnd(t);if(u)return this.endResult=u,!1;o=o||!o&&this.shouldDo(s,!0,t.phase,!0)}o&&e.move({event:n,preEnd:!0})}}},{key:\"stop\",value:function(t){var e=t.interaction;if(this.states&&this.states.length){var n=(0,M.default)({states:this.states,interactable:e.interactable,element:e.element,rect:null},t);this.fillArg(n);for(var r=0;r<this.states.length;r++){var o=this.states[r];n.state=o,o.methods.stop&&o.methods.stop(n)}this.states=null,this.endResult=null}}},{key:\"prepareStates\",value:function(t){this.states=[];for(var e=0;e<t.length;e++){var n=t[e],r=n.options,o=n.methods,i=n.name;this.states.push({options:r,methods:o,index:e,name:i})}return this.states}},{key:\"restoreInteractionCoords\",value:function(t){var e=t.interaction,n=e.coords,r=e.rect,o=e.modification;if(o.result){for(var i=o.startDelta,a=o.result,s=a.delta,l=a.rectDelta,u=[[n.start,i],[n.cur,s]],c=0;c<u.length;c++){var f=xe(u[c],2),d=f[0],p=f[1];d.page.x-=p.x,d.page.y-=p.y,d.client.x-=p.x,d.client.y-=p.y}r.left-=l.left,r.right-=l.right,r.top-=l.top,r.bottom-=l.bottom}}},{key:\"shouldDo\",value:function(t,e,n,r){return!(!t||!1===t.enabled||r&&!t.endOnly||t.endOnly&&!e||\"start\"===n&&!t.setStart)}},{key:\"copyFrom\",value:function(t){this.startOffset=t.startOffset,this.startDelta=t.startDelta,this.startEdges=t.startEdges,this.edges=t.edges,this.states=t.states.map((function(t){return(0,me.default)(t)})),this.result=Ee((0,M.default)({},t.result.coords),(0,M.default)({},t.result.rect))}},{key:\"destroy\",value:function(){for(var t in this)this[t]=null}}])&&_e(e.prototype,n),Object.defineProperty(e,\"prototype\",{writable:!1}),t}();function Ee(t,e){return{rect:e,coords:t,delta:{x:0,y:0},rectDelta:{left:0,right:0,top:0,bottom:0},eventProps:[],changed:!0}}function Se(t,e){return t?{left:e.x-t.left,top:e.y-t.top,right:t.right-e.x,bottom:t.bottom-e.y}:{left:0,top:0,right:0,bottom:0}}be.default=Oe;var Te={};function je(t){var e=t.iEvent,n=t.interaction.modification.result;n&&(e.modifiers=n.eventProps)}Object.defineProperty(Te,\"__esModule\",{value:!0}),Te.addEventModifiers=je,Te.default=void 0,Te.makeModifier=function(t,e){var n=t.defaults,r={start:t.start,set:t.set,beforeEnd:t.beforeEnd,stop:t.stop},o=function(t){var o=t||{};for(var i in o.enabled=!1!==o.enabled,n)i in o||(o[i]=n[i]);var a={options:o,methods:r,name:e,enable:function(){return o.enabled=!0,a},disable:function(){return o.enabled=!1,a}};return a};return e&&\"string\"==typeof e&&(o._defaults=n,o._methods=r),o};var Me={id:\"modifiers/base\",before:[\"actions\"],install:function(t){t.defaults.perAction.modifiers=[]},listeners:{\"interactions:new\":function(t){var e=t.interaction;e.modification=new be.default(e)},\"interactions:before-action-start\":function(t){var e=t.interaction,n=t.interaction.modification;n.start(t,e.coords.start.page),e.edges=n.edges,n.applyToInteraction(t)},\"interactions:before-action-move\":function(t){var e=t.interaction,n=e.modification,r=n.setAndApply(t);return e.edges=n.edges,r},\"interactions:before-action-end\":function(t){var e=t.interaction,n=e.modification,r=n.beforeEnd(t);return e.edges=n.startEdges,r},\"interactions:action-start\":je,\"interactions:action-move\":je,\"interactions:action-end\":je,\"interactions:after-action-start\":function(t){return t.interaction.modification.restoreInteractionCoords(t)},\"interactions:after-action-move\":function(t){return t.interaction.modification.restoreInteractionCoords(t)},\"interactions:stop\":function(t){return t.interaction.modification.stop(t)}}},ke=Me;Te.default=ke;var Ie={};Object.defineProperty(Ie,\"__esModule\",{value:!0}),Ie.defaults=void 0,Ie.defaults={base:{preventDefault:\"auto\",deltaSource:\"page\"},perAction:{enabled:!1,origin:{x:0,y:0}},actions:{}};var De={};function Ae(t){return Ae=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&\"function\"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?\"symbol\":typeof t},Ae(t)}function ze(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Ce(t,e){return Ce=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Ce(t,e)}function Re(t,e){if(e&&(\"object\"===Ae(e)||\"function\"==typeof e))return e;if(void 0!==e)throw new TypeError(\"Derived constructors may only return object or undefined\");return Fe(t)}function Fe(t){if(void 0===t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return t}function Xe(t){return Xe=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Xe(t)}function Be(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}Object.defineProperty(De,\"__esModule\",{value:!0}),De.InteractEvent=void 0;var Ye=function(t){!function(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function\");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,\"prototype\",{writable:!1}),e&&Ce(t,e)}(a,t);var e,n,r,o,i=(r=a,o=function(){if(\"undefined\"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(\"function\"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=Xe(r);if(o){var n=Xe(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return Re(this,t)});function a(t,e,n,r,o,s,l){var u;!function(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this,a),Be(Fe(u=i.call(this,t)),\"relatedTarget\",null),Be(Fe(u),\"screenX\",void 0),Be(Fe(u),\"screenY\",void 0),Be(Fe(u),\"button\",void 0),Be(Fe(u),\"buttons\",void 0),Be(Fe(u),\"ctrlKey\",void 0),Be(Fe(u),\"shiftKey\",void 0),Be(Fe(u),\"altKey\",void 0),Be(Fe(u),\"metaKey\",void 0),Be(Fe(u),\"page\",void 0),Be(Fe(u),\"client\",void 0),Be(Fe(u),\"delta\",void 0),Be(Fe(u),\"rect\",void 0),Be(Fe(u),\"x0\",void 0),Be(Fe(u),\"y0\",void 0),Be(Fe(u),\"t0\",void 0),Be(Fe(u),\"dt\",void 0),Be(Fe(u),\"duration\",void 0),Be(Fe(u),\"clientX0\",void 0),Be(Fe(u),\"clientY0\",void 0),Be(Fe(u),\"velocity\",void 0),Be(Fe(u),\"speed\",void 0),Be(Fe(u),\"swipe\",void 0),Be(Fe(u),\"axes\",void 0),Be(Fe(u),\"preEnd\",void 0),o=o||t.element;var c=t.interactable,f=(c&&c.options||Ie.defaults).deltaSource,d=(0,A.default)(c,o,n),p=\"start\"===r,v=\"end\"===r,h=p?Fe(u):t.prevEvent,g=p?t.coords.start:v?{page:h.page,client:h.client,timeStamp:t.coords.cur.timeStamp}:t.coords.cur;return u.page=(0,M.default)({},g.page),u.client=(0,M.default)({},g.client),u.rect=(0,M.default)({},t.rect),u.timeStamp=g.timeStamp,v||(u.page.x-=d.x,u.page.y-=d.y,u.client.x-=d.x,u.client.y-=d.y),u.ctrlKey=e.ctrlKey,u.altKey=e.altKey,u.shiftKey=e.shiftKey,u.metaKey=e.metaKey,u.button=e.button,u.buttons=e.buttons,u.target=o,u.currentTarget=o,u.preEnd=s,u.type=l||n+(r||\"\"),u.interactable=c,u.t0=p?t.pointers[t.pointers.length-1].downTime:h.t0,u.x0=t.coords.start.page.x-d.x,u.y0=t.coords.start.page.y-d.y,u.clientX0=t.coords.start.client.x-d.x,u.clientY0=t.coords.start.client.y-d.y,u.delta=p||v?{x:0,y:0}:{x:u[f].x-h[f].x,y:u[f].y-h[f].y},u.dt=t.coords.delta.timeStamp,u.duration=u.timeStamp-u.t0,u.velocity=(0,M.default)({},t.coords.velocity[f]),u.speed=(0,R.default)(u.velocity.x,u.velocity.y),u.swipe=v||\"inertiastart\"===r?u.getSwipe():null,u}return e=a,(n=[{key:\"getSwipe\",value:function(){var t=this._interaction;if(t.prevEvent.speed<600||this.timeStamp-t.prevEvent.timeStamp>150)return null;var e=180*Math.atan2(t.prevEvent.velocityY,t.prevEvent.velocityX)/Math.PI;e<0&&(e+=360);var n=112.5<=e&&e<247.5,r=202.5<=e&&e<337.5;return{up:r,down:!r&&22.5<=e&&e<157.5,left:n,right:!n&&(292.5<=e||e<67.5),angle:e,speed:t.prevEvent.speed,velocity:{x:t.prevEvent.velocityX,y:t.prevEvent.velocityY}}}},{key:\"preventDefault\",value:function(){}},{key:\"stopImmediatePropagation\",value:function(){this.immediatePropagationStopped=this.propagationStopped=!0}},{key:\"stopPropagation\",value:function(){this.propagationStopped=!0}}])&&ze(e.prototype,n),Object.defineProperty(e,\"prototype\",{writable:!1}),a}(q.BaseEvent);De.InteractEvent=Ye,Object.defineProperties(Ye.prototype,{pageX:{get:function(){return this.page.x},set:function(t){this.page.x=t}},pageY:{get:function(){return this.page.y},set:function(t){this.page.y=t}},clientX:{get:function(){return this.client.x},set:function(t){this.client.x=t}},clientY:{get:function(){return this.client.y},set:function(t){this.client.y=t}},dx:{get:function(){return this.delta.x},set:function(t){this.delta.x=t}},dy:{get:function(){return this.delta.y},set:function(t){this.delta.y=t}},velocityX:{get:function(){return this.velocity.x},set:function(t){this.velocity.x=t}},velocityY:{get:function(){return this.velocity.y},set:function(t){this.velocity.y=t}}});var We={};function Le(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Ue(t,e,n){return e&&Le(t.prototype,e),n&&Le(t,n),Object.defineProperty(t,\"prototype\",{writable:!1}),t}function Ve(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}Object.defineProperty(We,\"__esModule\",{value:!0}),We.PointerInfo=void 0;var Ne=Ue((function t(e,n,r,o,i){!function(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this,t),Ve(this,\"id\",void 0),Ve(this,\"pointer\",void 0),Ve(this,\"event\",void 0),Ve(this,\"downTime\",void 0),Ve(this,\"downTarget\",void 0),this.id=e,this.pointer=n,this.event=r,this.downTime=o,this.downTarget=i}));We.PointerInfo=Ne;var qe,Ge,$e={};function He(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Ke(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}Object.defineProperty($e,\"__esModule\",{value:!0}),$e.Interaction=void 0,Object.defineProperty($e,\"PointerInfo\",{enumerable:!0,get:function(){return We.PointerInfo}}),$e.default=$e._ProxyValues=$e._ProxyMethods=void 0,$e._ProxyValues=qe,function(t){t.interactable=\"\",t.element=\"\",t.prepared=\"\",t.pointerIsDown=\"\",t.pointerWasMoved=\"\",t._proxy=\"\"}(qe||($e._ProxyValues=qe={})),$e._ProxyMethods=Ge,function(t){t.start=\"\",t.move=\"\",t.end=\"\",t.stop=\"\",t.interacting=\"\"}(Ge||($e._ProxyMethods=Ge={}));var Ze=0,Je=function(){function t(e){var n=this,r=e.pointerType,o=e.scopeFire;!function(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this,t),Ke(this,\"interactable\",null),Ke(this,\"element\",null),Ke(this,\"rect\",null),Ke(this,\"_rects\",void 0),Ke(this,\"edges\",null),Ke(this,\"_scopeFire\",void 0),Ke(this,\"prepared\",{name:null,axis:null,edges:null}),Ke(this,\"pointerType\",void 0),Ke(this,\"pointers\",[]),Ke(this,\"downEvent\",null),Ke(this,\"downPointer\",{}),Ke(this,\"_latestPointer\",{pointer:null,event:null,eventTarget:null}),Ke(this,\"prevEvent\",null),Ke(this,\"pointerIsDown\",!1),Ke(this,\"pointerWasMoved\",!1),Ke(this,\"_interacting\",!1),Ke(this,\"_ending\",!1),Ke(this,\"_stopped\",!0),Ke(this,\"_proxy\",null),Ke(this,\"simulation\",null),Ke(this,\"doMove\",(0,Bt.warnOnce)((function(t){this.move(t)}),\"The interaction.doMove() method has been renamed to interaction.move()\")),Ke(this,\"coords\",{start:B.newCoords(),prev:B.newCoords(),cur:B.newCoords(),delta:B.newCoords(),velocity:B.newCoords()}),Ke(this,\"_id\",Ze++),this._scopeFire=o,this.pointerType=r;var i=this;this._proxy={};var a=function(t){Object.defineProperty(n._proxy,t,{get:function(){return i[t]}})};for(var s in qe)a(s);var l=function(t){Object.defineProperty(n._proxy,t,{value:function(){return i[t].apply(i,arguments)}})};for(var u in Ge)l(u);this._scopeFire(\"interactions:new\",{interaction:this})}var e,n;return e=t,n=[{key:\"pointerMoveTolerance\",get:function(){return 1}},{key:\"pointerDown\",value:function(t,e,n){var r=this.updatePointer(t,e,n,!0),o=this.pointers[r];this._scopeFire(\"interactions:down\",{pointer:t,event:e,eventTarget:n,pointerIndex:r,pointerInfo:o,type:\"down\",interaction:this})}},{key:\"start\",value:function(t,e,n){return!(this.interacting()||!this.pointerIsDown||this.pointers.length<(\"gesture\"===t.name?2:1)||!e.options[t.name].enabled)&&((0,Bt.copyAction)(this.prepared,t),this.interactable=e,this.element=n,this.rect=e.getRect(n),this.edges=this.prepared.edges?(0,M.default)({},this.prepared.edges):{left:!0,right:!0,top:!0,bottom:!0},this._stopped=!1,this._interacting=this._doPhase({interaction:this,event:this.downEvent,phase:\"start\"})&&!this._stopped,this._interacting)}},{key:\"pointerMove\",value:function(t,e,n){this.simulation||this.modification&&this.modification.endResult||this.updatePointer(t,e,n,!1);var r,o,i=this.coords.cur.page.x===this.coords.prev.page.x&&this.coords.cur.page.y===this.coords.prev.page.y&&this.coords.cur.client.x===this.coords.prev.client.x&&this.coords.cur.client.y===this.coords.prev.client.y;this.pointerIsDown&&!this.pointerWasMoved&&(r=this.coords.cur.client.x-this.coords.start.client.x,o=this.coords.cur.client.y-this.coords.start.client.y,this.pointerWasMoved=(0,R.default)(r,o)>this.pointerMoveTolerance);var a=this.getPointerIndex(t),s={pointer:t,pointerIndex:a,pointerInfo:this.pointers[a],event:e,type:\"move\",eventTarget:n,dx:r,dy:o,duplicate:i,interaction:this};i||B.setCoordVelocity(this.coords.velocity,this.coords.delta),this._scopeFire(\"interactions:move\",s),i||this.simulation||(this.interacting()&&(s.type=null,this.move(s)),this.pointerWasMoved&&B.copyCoords(this.coords.prev,this.coords.cur))}},{key:\"move\",value:function(t){t&&t.event||B.setZeroCoords(this.coords.delta),(t=(0,M.default)({pointer:this._latestPointer.pointer,event:this._latestPointer.event,eventTarget:this._latestPointer.eventTarget,interaction:this},t||{})).phase=\"move\",this._doPhase(t)}},{key:\"pointerUp\",value:function(t,e,n,r){var o=this.getPointerIndex(t);-1===o&&(o=this.updatePointer(t,e,n,!1));var i=/cancel$/i.test(e.type)?\"cancel\":\"up\";this._scopeFire(\"interactions:\".concat(i),{pointer:t,pointerIndex:o,pointerInfo:this.pointers[o],event:e,eventTarget:n,type:i,curEventTarget:r,interaction:this}),this.simulation||this.end(e),this.removePointer(t,e)}},{key:\"documentBlur\",value:function(t){this.end(t),this._scopeFire(\"interactions:blur\",{event:t,type:\"blur\",interaction:this})}},{key:\"end\",value:function(t){var e;this._ending=!0,t=t||this._latestPointer.event,this.interacting()&&(e=this._doPhase({event:t,interaction:this,phase:\"end\"})),this._ending=!1,!0===e&&this.stop()}},{key:\"currentAction\",value:function(){return this._interacting?this.prepared.name:null}},{key:\"interacting\",value:function(){return this._interacting}},{key:\"stop\",value:function(){this._scopeFire(\"interactions:stop\",{interaction:this}),this.interactable=this.element=null,this._interacting=!1,this._stopped=!0,this.prepared.name=this.prevEvent=null}},{key:\"getPointerIndex\",value:function(t){var e=B.getPointerId(t);return\"mouse\"===this.pointerType||\"pen\"===this.pointerType?this.pointers.length-1:K.findIndex(this.pointers,(function(t){return t.id===e}))}},{key:\"getPointerInfo\",value:function(t){return this.pointers[this.getPointerIndex(t)]}},{key:\"updatePointer\",value:function(t,e,n,r){var o=B.getPointerId(t),i=this.getPointerIndex(t),a=this.pointers[i];return r=!1!==r&&(r||/(down|start)$/i.test(e.type)),a?a.pointer=t:(a=new We.PointerInfo(o,t,e,null,null),i=this.pointers.length,this.pointers.push(a)),B.setCoords(this.coords.cur,this.pointers.map((function(t){return t.pointer})),this._now()),B.setCoordDeltas(this.coords.delta,this.coords.prev,this.coords.cur),r&&(this.pointerIsDown=!0,a.downTime=this.coords.cur.timeStamp,a.downTarget=n,B.pointerExtend(this.downPointer,t),this.interacting()||(B.copyCoords(this.coords.start,this.coords.cur),B.copyCoords(this.coords.prev,this.coords.cur),this.downEvent=e,this.pointerWasMoved=!1)),this._updateLatestPointer(t,e,n),this._scopeFire(\"interactions:update-pointer\",{pointer:t,event:e,eventTarget:n,down:r,pointerInfo:a,pointerIndex:i,interaction:this}),i}},{key:\"removePointer\",value:function(t,e){var n=this.getPointerIndex(t);if(-1!==n){var r=this.pointers[n];this._scopeFire(\"interactions:remove-pointer\",{pointer:t,event:e,eventTarget:null,pointerIndex:n,pointerInfo:r,interaction:this}),this.pointers.splice(n,1),this.pointerIsDown=!1}}},{key:\"_updateLatestPointer\",value:function(t,e,n){this._latestPointer.pointer=t,this._latestPointer.event=e,this._latestPointer.eventTarget=n}},{key:\"destroy\",value:function(){this._latestPointer.pointer=null,this._latestPointer.event=null,this._latestPointer.eventTarget=null}},{key:\"_createPreparedEvent\",value:function(t,e,n,r){return new De.InteractEvent(this,t,this.prepared.name,e,this.element,n,r)}},{key:\"_fireEvent\",value:function(t){var e;null==(e=this.interactable)||e.fire(t),(!this.prevEvent||t.timeStamp>=this.prevEvent.timeStamp)&&(this.prevEvent=t)}},{key:\"_doPhase\",value:function(t){var e=t.event,n=t.phase,r=t.preEnd,o=t.type,i=this.rect;if(i&&\"move\"===n&&(k.addEdges(this.edges,i,this.coords.delta[this.interactable.options.deltaSource]),i.width=i.right-i.left,i.height=i.bottom-i.top),!1===this._scopeFire(\"interactions:before-action-\".concat(n),t))return!1;var a=t.iEvent=this._createPreparedEvent(e,n,r,o);return this._scopeFire(\"interactions:action-\".concat(n),t),\"start\"===n&&(this.prevEvent=a),this._fireEvent(a),this._scopeFire(\"interactions:after-action-\".concat(n),t),!0}},{key:\"_now\",value:function(){return Date.now()}}],n&&He(e.prototype,n),Object.defineProperty(e,\"prototype\",{writable:!1}),t}();$e.Interaction=Je;var Qe=Je;$e.default=Qe;var tn={};function en(t){t.pointerIsDown&&(an(t.coords.cur,t.offset.total),t.offset.pending.x=0,t.offset.pending.y=0)}function nn(t){rn(t.interaction)}function rn(t){if(!function(t){return!(!t.offset.pending.x&&!t.offset.pending.y)}(t))return!1;var e=t.offset.pending;return an(t.coords.cur,e),an(t.coords.delta,e),k.addEdges(t.edges,t.rect,e),e.x=0,e.y=0,!0}function on(t){var e=t.x,n=t.y;this.offset.pending.x+=e,this.offset.pending.y+=n,this.offset.total.x+=e,this.offset.total.y+=n}function an(t,e){var n=t.page,r=t.client,o=e.x,i=e.y;n.x+=o,n.y+=i,r.x+=o,r.y+=i}Object.defineProperty(tn,\"__esModule\",{value:!0}),tn.addTotal=en,tn.applyPending=rn,tn.default=void 0,$e._ProxyMethods.offsetBy=\"\";var sn={id:\"offset\",before:[\"modifiers\",\"pointer-events\",\"actions\",\"inertia\"],install:function(t){t.Interaction.prototype.offsetBy=on},listeners:{\"interactions:new\":function(t){t.interaction.offset={total:{x:0,y:0},pending:{x:0,y:0}}},\"interactions:update-pointer\":function(t){return en(t.interaction)},\"interactions:before-action-start\":nn,\"interactions:before-action-move\":nn,\"interactions:before-action-end\":function(t){var e=t.interaction;if(rn(e))return e.move({offset:!0}),e.end(),!1},\"interactions:stop\":function(t){var e=t.interaction;e.offset.total.x=0,e.offset.total.y=0,e.offset.pending.x=0,e.offset.pending.y=0}}},ln=sn;tn.default=ln;var un={};function cn(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function fn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}Object.defineProperty(un,\"__esModule\",{value:!0}),un.default=un.InertiaState=void 0;var dn=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this,t),fn(this,\"active\",!1),fn(this,\"isModified\",!1),fn(this,\"smoothEnd\",!1),fn(this,\"allowResume\",!1),fn(this,\"modification\",void 0),fn(this,\"modifierCount\",0),fn(this,\"modifierArg\",void 0),fn(this,\"startCoords\",void 0),fn(this,\"t0\",0),fn(this,\"v0\",0),fn(this,\"te\",0),fn(this,\"targetOffset\",void 0),fn(this,\"modifiedOffset\",void 0),fn(this,\"currentOffset\",void 0),fn(this,\"lambda_v0\",0),fn(this,\"one_ve_v0\",0),fn(this,\"timeout\",void 0),fn(this,\"interaction\",void 0),this.interaction=e}var e,n;return e=t,(n=[{key:\"start\",value:function(t){var e=this.interaction,n=pn(e);if(!n||!n.enabled)return!1;var r=e.coords.velocity.client,o=(0,R.default)(r.x,r.y),i=this.modification||(this.modification=new be.default(e));if(i.copyFrom(e.modification),this.t0=e._now(),this.allowResume=n.allowResume,this.v0=o,this.currentOffset={x:0,y:0},this.startCoords=e.coords.cur.page,this.modifierArg=i.fillArg({pageCoords:this.startCoords,preEnd:!0,phase:\"inertiastart\"}),this.t0-e.coords.cur.timeStamp<50&&o>n.minSpeed&&o>n.endSpeed)this.startInertia();else{if(i.result=i.setAll(this.modifierArg),!i.result.changed)return!1;this.startSmoothEnd()}return e.modification.result.rect=null,e.offsetBy(this.targetOffset),e._doPhase({interaction:e,event:t,phase:\"inertiastart\"}),e.offsetBy({x:-this.targetOffset.x,y:-this.targetOffset.y}),e.modification.result.rect=null,this.active=!0,e.simulation=this,!0}},{key:\"startInertia\",value:function(){var t=this,e=this.interaction.coords.velocity.client,n=pn(this.interaction),r=n.resistance,o=-Math.log(n.endSpeed/this.v0)/r;this.targetOffset={x:(e.x-o)/r,y:(e.y-o)/r},this.te=o,this.lambda_v0=r/this.v0,this.one_ve_v0=1-n.endSpeed/this.v0;var i=this.modification,a=this.modifierArg;a.pageCoords={x:this.startCoords.x+this.targetOffset.x,y:this.startCoords.y+this.targetOffset.y},i.result=i.setAll(a),i.result.changed&&(this.isModified=!0,this.modifiedOffset={x:this.targetOffset.x+i.result.delta.x,y:this.targetOffset.y+i.result.delta.y}),this.onNextFrame((function(){return t.inertiaTick()}))}},{key:\"startSmoothEnd\",value:function(){var t=this;this.smoothEnd=!0,this.isModified=!0,this.targetOffset={x:this.modification.result.delta.x,y:this.modification.result.delta.y},this.onNextFrame((function(){return t.smoothEndTick()}))}},{key:\"onNextFrame\",value:function(t){var e=this;this.timeout=jt.default.request((function(){e.active&&t()}))}},{key:\"inertiaTick\",value:function(){var t,e,n,r,o,i=this,a=this.interaction,s=pn(a).resistance,l=(a._now()-this.t0)/1e3;if(l<this.te){var u,c=1-(Math.exp(-s*l)-this.lambda_v0)/this.one_ve_v0;this.isModified?(0,0,t=this.targetOffset.x,e=this.targetOffset.y,n=this.modifiedOffset.x,r=this.modifiedOffset.y,u={x:hn(o=c,0,t,n),y:hn(o,0,e,r)}):u={x:this.targetOffset.x*c,y:this.targetOffset.y*c};var f={x:u.x-this.currentOffset.x,y:u.y-this.currentOffset.y};this.currentOffset.x+=f.x,this.currentOffset.y+=f.y,a.offsetBy(f),a.move(),this.onNextFrame((function(){return i.inertiaTick()}))}else a.offsetBy({x:this.modifiedOffset.x-this.currentOffset.x,y:this.modifiedOffset.y-this.currentOffset.y}),this.end()}},{key:\"smoothEndTick\",value:function(){var t=this,e=this.interaction,n=e._now()-this.t0,r=pn(e).smoothEndDuration;if(n<r){var o={x:gn(n,0,this.targetOffset.x,r),y:gn(n,0,this.targetOffset.y,r)},i={x:o.x-this.currentOffset.x,y:o.y-this.currentOffset.y};this.currentOffset.x+=i.x,this.currentOffset.y+=i.y,e.offsetBy(i),e.move({skipModifiers:this.modifierCount}),this.onNextFrame((function(){return t.smoothEndTick()}))}else e.offsetBy({x:this.targetOffset.x-this.currentOffset.x,y:this.targetOffset.y-this.currentOffset.y}),this.end()}},{key:\"resume\",value:function(t){var e=t.pointer,n=t.event,r=t.eventTarget,o=this.interaction;o.offsetBy({x:-this.currentOffset.x,y:-this.currentOffset.y}),o.updatePointer(e,n,r,!0),o._doPhase({interaction:o,event:n,phase:\"resume\"}),(0,B.copyCoords)(o.coords.prev,o.coords.cur),this.stop()}},{key:\"end\",value:function(){this.interaction.move(),this.interaction.end(),this.stop()}},{key:\"stop\",value:function(){this.active=this.smoothEnd=!1,this.interaction.simulation=null,jt.default.cancel(this.timeout)}}])&&cn(e.prototype,n),Object.defineProperty(e,\"prototype\",{writable:!1}),t}();function pn(t){var e=t.interactable,n=t.prepared;return e&&e.options&&n.name&&e.options[n.name].inertia}un.InertiaState=dn;var vn={id:\"inertia\",before:[\"modifiers\",\"actions\"],install:function(t){var e=t.defaults;t.usePlugin(tn.default),t.usePlugin(Te.default),t.actions.phases.inertiastart=!0,t.actions.phases.resume=!0,e.perAction.inertia={enabled:!1,resistance:10,minSpeed:100,endSpeed:10,allowResume:!0,smoothEndDuration:300}},listeners:{\"interactions:new\":function(t){var e=t.interaction;e.inertia=new dn(e)},\"interactions:before-action-end\":function(t){var e=t.interaction,n=t.event;return(!e._interacting||e.simulation||!e.inertia.start(n))&&null},\"interactions:down\":function(t){var e=t.interaction,n=t.eventTarget,r=e.inertia;if(r.active)for(var o=n;i.default.element(o);){if(o===e.element){r.resume(t);break}o=_.parentNode(o)}},\"interactions:stop\":function(t){var e=t.interaction.inertia;e.active&&e.stop()},\"interactions:before-action-resume\":function(t){var e=t.interaction.modification;e.stop(t),e.start(t,t.interaction.coords.cur.page),e.applyToInteraction(t)},\"interactions:before-action-inertiastart\":function(t){return t.interaction.modification.setAndApply(t)},\"interactions:action-resume\":Te.addEventModifiers,\"interactions:action-inertiastart\":Te.addEventModifiers,\"interactions:after-action-inertiastart\":function(t){return t.interaction.modification.restoreInteractionCoords(t)},\"interactions:after-action-resume\":function(t){return t.interaction.modification.restoreInteractionCoords(t)}}};function hn(t,e,n,r){var o=1-t;return o*o*e+2*o*t*n+t*t*r}function gn(t,e,n,r){return-n*(t/=r)*(t-2)+e}var yn=vn;un.default=yn;var mn={};function bn(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function xn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function wn(t,e){for(var n=0;n<e.length;n++){var r=e[n];if(t.immediatePropagationStopped)break;r(t)}}Object.defineProperty(mn,\"__esModule\",{value:!0}),mn.Eventable=void 0;var _n=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this,t),xn(this,\"options\",void 0),xn(this,\"types\",{}),xn(this,\"propagationStopped\",!1),xn(this,\"immediatePropagationStopped\",!1),xn(this,\"global\",void 0),this.options=(0,M.default)({},e||{})}var e,n;return e=t,(n=[{key:\"fire\",value:function(t){var e,n=this.global;(e=this.types[t.type])&&wn(t,e),!t.propagationStopped&&n&&(e=n[t.type])&&wn(t,e)}},{key:\"on\",value:function(t,e){var n=(0,z.default)(t,e);for(t in n)this.types[t]=K.merge(this.types[t]||[],n[t])}},{key:\"off\",value:function(t,e){var n=(0,z.default)(t,e);for(t in n){var r=this.types[t];if(r&&r.length)for(var o=0;o<n[t].length;o++){var i=n[t][o],a=r.indexOf(i);-1!==a&&r.splice(a,1)}}}},{key:\"getRect\",value:function(t){return null}}])&&bn(e.prototype,n),Object.defineProperty(e,\"prototype\",{writable:!1}),t}();mn.Eventable=_n;var Pn={};Object.defineProperty(Pn,\"__esModule\",{value:!0}),Pn.default=function(t,e){if(e.phaselessTypes[t])return!0;for(var n in e.map)if(0===t.indexOf(n)&&t.substr(n.length)in e.phases)return!0;return!1};var On={};Object.defineProperty(On,\"__esModule\",{value:!0}),On.createInteractStatic=function(t){var e=function e(n,r){var o=t.interactables.get(n,r);return o||((o=t.interactables.new(n,r)).events.global=e.globalEvents),o};return e.getPointerAverage=B.pointerAverage,e.getTouchBBox=B.touchBBox,e.getTouchDistance=B.touchDistance,e.getTouchAngle=B.touchAngle,e.getElementRect=_.getElementRect,e.getElementClientRect=_.getElementClientRect,e.matchesSelector=_.matchesSelector,e.closest=_.closest,e.globalEvents={},e.version=\"1.10.19\",e.scope=t,e.use=function(t,e){return this.scope.usePlugin(t,e),this},e.isSet=function(t,e){return!!this.scope.interactables.get(t,e&&e.context)},e.on=(0,Bt.warnOnce)((function(t,e,n){if(i.default.string(t)&&-1!==t.search(\" \")&&(t=t.trim().split(/ +/)),i.default.array(t)){for(var r=0;r<t.length;r++){var o=t[r];this.on(o,e,n)}return this}if(i.default.object(t)){for(var a in t)this.on(a,t[a],e);return this}return(0,Pn.default)(t,this.scope.actions)?this.globalEvents[t]?this.globalEvents[t].push(e):this.globalEvents[t]=[e]:this.scope.events.add(this.scope.document,t,e,{options:n}),this}),\"The interact.on() method is being deprecated\"),e.off=(0,Bt.warnOnce)((function(t,e,n){if(i.default.string(t)&&-1!==t.search(\" \")&&(t=t.trim().split(/ +/)),i.default.array(t)){for(var r=0;r<t.length;r++){var o=t[r];this.off(o,e,n)}return this}if(i.default.object(t)){for(var a in t)this.off(a,t[a],e);return this}var s;return(0,Pn.default)(t,this.scope.actions)?t in this.globalEvents&&-1!==(s=this.globalEvents[t].indexOf(e))&&this.globalEvents[t].splice(s,1):this.scope.events.remove(this.scope.document,t,e,n),this}),\"The interact.off() method is being deprecated\"),e.debug=function(){return this.scope},e.supportsTouch=function(){return b.default.supportsTouch},e.supportsPointerEvent=function(){return b.default.supportsPointerEvent},e.stop=function(){for(var t=0;t<this.scope.interactions.list.length;t++)this.scope.interactions.list[t].stop();return this},e.pointerMoveTolerance=function(t){return i.default.number(t)?(this.scope.interactions.pointerMoveTolerance=t,this):this.scope.interactions.pointerMoveTolerance},e.addDocument=function(t,e){this.scope.addDocument(t,e)},e.removeDocument=function(t){this.scope.removeDocument(t)},e};var En={};function Sn(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Tn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}Object.defineProperty(En,\"__esModule\",{value:!0}),En.Interactable=void 0;var jn=function(){function t(n,r,o,i){!function(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this,t),Tn(this,\"options\",void 0),Tn(this,\"_actions\",void 0),Tn(this,\"target\",void 0),Tn(this,\"events\",new mn.Eventable),Tn(this,\"_context\",void 0),Tn(this,\"_win\",void 0),Tn(this,\"_doc\",void 0),Tn(this,\"_scopeEvents\",void 0),Tn(this,\"_rectChecker\",void 0),this._actions=r.actions,this.target=n,this._context=r.context||o,this._win=(0,e.getWindow)((0,_.trySelector)(n)?this._context:n),this._doc=this._win.document,this._scopeEvents=i,this.set(r)}var n,r;return n=t,(r=[{key:\"_defaults\",get:function(){return{base:{},perAction:{},actions:{}}}},{key:\"setOnEvents\",value:function(t,e){return i.default.func(e.onstart)&&this.on(\"\".concat(t,\"start\"),e.onstart),i.default.func(e.onmove)&&this.on(\"\".concat(t,\"move\"),e.onmove),i.default.func(e.onend)&&this.on(\"\".concat(t,\"end\"),e.onend),i.default.func(e.oninertiastart)&&this.on(\"\".concat(t,\"inertiastart\"),e.oninertiastart),this}},{key:\"updatePerActionListeners\",value:function(t,e,n){(i.default.array(e)||i.default.object(e))&&this.off(t,e),(i.default.array(n)||i.default.object(n))&&this.on(t,n)}},{key:\"setPerAction\",value:function(t,e){var n=this._defaults;for(var r in e){var o=r,a=this.options[t],s=e[o];\"listeners\"===o&&this.updatePerActionListeners(t,a.listeners,s),i.default.array(s)?a[o]=K.from(s):i.default.plainObject(s)?(a[o]=(0,M.default)(a[o]||{},(0,me.default)(s)),i.default.object(n.perAction[o])&&\"enabled\"in n.perAction[o]&&(a[o].enabled=!1!==s.enabled)):i.default.bool(s)&&i.default.object(n.perAction[o])?a[o].enabled=s:a[o]=s}}},{key:\"getRect\",value:function(t){return t=t||(i.default.element(this.target)?this.target:null),i.default.string(this.target)&&(t=t||this._context.querySelector(this.target)),(0,_.getElementRect)(t)}},{key:\"rectChecker\",value:function(t){var e=this;return i.default.func(t)?(this._rectChecker=t,this.getRect=function(t){var n=(0,M.default)({},e._rectChecker(t));return\"width\"in n||(n.width=n.right-n.left,n.height=n.bottom-n.top),n},this):null===t?(delete this.getRect,delete this._rectChecker,this):this.getRect}},{key:\"_backCompatOption\",value:function(t,e){if((0,_.trySelector)(e)||i.default.object(e)){for(var n in this.options[t]=e,this._actions.map)this.options[n][t]=e;return this}return this.options[t]}},{key:\"origin\",value:function(t){return this._backCompatOption(\"origin\",t)}},{key:\"deltaSource\",value:function(t){return\"page\"===t||\"client\"===t?(this.options.deltaSource=t,this):this.options.deltaSource}},{key:\"context\",value:function(){return this._context}},{key:\"inContext\",value:function(t){return this._context===t.ownerDocument||(0,_.nodeContains)(this._context,t)}},{key:\"testIgnoreAllow\",value:function(t,e,n){return!this.testIgnore(t.ignoreFrom,e,n)&&this.testAllow(t.allowFrom,e,n)}},{key:\"testAllow\",value:function(t,e,n){return!t||!!i.default.element(n)&&(i.default.string(t)?(0,_.matchesUpTo)(n,t,e):!!i.default.element(t)&&(0,_.nodeContains)(t,n))}},{key:\"testIgnore\",value:function(t,e,n){return!(!t||!i.default.element(n))&&(i.default.string(t)?(0,_.matchesUpTo)(n,t,e):!!i.default.element(t)&&(0,_.nodeContains)(t,n))}},{key:\"fire\",value:function(t){return this.events.fire(t),this}},{key:\"_onOff\",value:function(t,e,n,r){i.default.object(e)&&!i.default.array(e)&&(r=n,n=null);var o=\"on\"===t?\"add\":\"remove\",a=(0,z.default)(e,n);for(var s in a){\"wheel\"===s&&(s=b.default.wheelEvent);for(var l=0;l<a[s].length;l++){var u=a[s][l];(0,Pn.default)(s,this._actions)?this.events[t](s,u):i.default.string(this.target)?this._scopeEvents[\"\".concat(o,\"Delegate\")](this.target,this._context,s,u,r):this._scopeEvents[o](this.target,s,u,r)}}return this}},{key:\"on\",value:function(t,e,n){return this._onOff(\"on\",t,e,n)}},{key:\"off\",value:function(t,e,n){return this._onOff(\"off\",t,e,n)}},{key:\"set\",value:function(t){var e=this._defaults;for(var n in i.default.object(t)||(t={}),this.options=(0,me.default)(e.base),this._actions.methodDict){var r=n,o=this._actions.methodDict[r];this.options[r]={},this.setPerAction(r,(0,M.default)((0,M.default)({},e.perAction),e.actions[r])),this[o](t[r])}for(var a in t)i.default.func(this[a])&&this[a](t[a]);return this}},{key:\"unset\",value:function(){if(i.default.string(this.target))for(var t in this._scopeEvents.delegatedEvents)for(var e=this._scopeEvents.delegatedEvents[t],n=e.length-1;n>=0;n--){var r=e[n],o=r.selector,a=r.context,s=r.listeners;o===this.target&&a===this._context&&e.splice(n,1);for(var l=s.length-1;l>=0;l--)this._scopeEvents.removeDelegate(this.target,this._context,t,s[l][0],s[l][1])}else this._scopeEvents.remove(this.target,\"all\")}}])&&Sn(n.prototype,r),Object.defineProperty(n,\"prototype\",{writable:!1}),t}();En.Interactable=jn;var Mn={};function kn(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function In(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}Object.defineProperty(Mn,\"__esModule\",{value:!0}),Mn.InteractableSet=void 0;var Dn=function(){function t(e){var n=this;!function(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this,t),In(this,\"list\",[]),In(this,\"selectorMap\",{}),In(this,\"scope\",void 0),this.scope=e,e.addListeners({\"interactable:unset\":function(t){var e=t.interactable,r=e.target,o=e._context,a=i.default.string(r)?n.selectorMap[r]:r[n.scope.id],s=K.findIndex(a,(function(t){return t.context===o}));a[s]&&(a[s].context=null,a[s].interactable=null),a.splice(s,1)}})}var e,n;return e=t,(n=[{key:\"new\",value:function(t,e){e=(0,M.default)(e||{},{actions:this.scope.actions});var n=new this.scope.Interactable(t,e,this.scope.document,this.scope.events),r={context:n._context,interactable:n};return this.scope.addDocument(n._doc),this.list.push(n),i.default.string(t)?(this.selectorMap[t]||(this.selectorMap[t]=[]),this.selectorMap[t].push(r)):(n.target[this.scope.id]||Object.defineProperty(t,this.scope.id,{value:[],configurable:!0}),t[this.scope.id].push(r)),this.scope.fire(\"interactable:new\",{target:t,options:e,interactable:n,win:this.scope._win}),n}},{key:\"get\",value:function(t,e){var n=e&&e.context||this.scope.document,r=i.default.string(t),o=r?this.selectorMap[t]:t[this.scope.id];if(!o)return null;var a=K.find(o,(function(e){return e.context===n&&(r||e.interactable.inContext(t))}));return a&&a.interactable}},{key:\"forEachMatch\",value:function(t,e){for(var n=0;n<this.list.length;n++){var r=this.list[n],o=void 0;if((i.default.string(r.target)?i.default.element(t)&&_.matchesSelector(t,r.target):t===r.target)&&r.inContext(t)&&(o=e(r)),void 0!==o)return o}}}])&&kn(e.prototype,n),Object.defineProperty(e,\"prototype\",{writable:!1}),t}();Mn.InteractableSet=Dn;var An={};function zn(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Cn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Rn(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:\"undefined\"!=typeof Symbol&&t[Symbol.iterator]||t[\"@@iterator\"];if(null!=n){var r,o,i=[],a=!0,s=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(i.push(r.value),!e||i.length!==e);a=!0);}catch(t){s=!0,o=t}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}(t,e)||function(t,e){if(t){if(\"string\"==typeof t)return Fn(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return\"Object\"===n&&t.constructor&&(n=t.constructor.name),\"Map\"===n||\"Set\"===n?Array.from(t):\"Arguments\"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Fn(t,e):void 0}}(t,e)||function(){throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\")}()}function Fn(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}Object.defineProperty(An,\"__esModule\",{value:!0}),An.default=void 0;var Xn=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this,t),Cn(this,\"currentTarget\",void 0),Cn(this,\"originalEvent\",void 0),Cn(this,\"type\",void 0),this.originalEvent=e,(0,F.default)(this,e)}var e,n;return e=t,(n=[{key:\"preventOriginalDefault\",value:function(){this.originalEvent.preventDefault()}},{key:\"stopPropagation\",value:function(){this.originalEvent.stopPropagation()}},{key:\"stopImmediatePropagation\",value:function(){this.originalEvent.stopImmediatePropagation()}}])&&zn(e.prototype,n),Object.defineProperty(e,\"prototype\",{writable:!1}),t}();function Bn(t){if(!i.default.object(t))return{capture:!!t,passive:!1};var e=(0,M.default)({},t);return e.capture=!!t.capture,e.passive=!!t.passive,e}var Yn={id:\"events\",install:function(t){var e,n=[],r={},o=[],a={add:s,remove:l,addDelegate:function(t,e,n,i,a){var l=Bn(a);if(!r[n]){r[n]=[];for(var f=0;f<o.length;f++){var d=o[f];s(d,n,u),s(d,n,c,!0)}}var p=r[n],v=K.find(p,(function(n){return n.selector===t&&n.context===e}));v||(v={selector:t,context:e,listeners:[]},p.push(v)),v.listeners.push([i,l])},removeDelegate:function(t,e,n,o,i){var a,s=Bn(i),f=r[n],d=!1;if(f)for(a=f.length-1;a>=0;a--){var p=f[a];if(p.selector===t&&p.context===e){for(var v=p.listeners,h=v.length-1;h>=0;h--){var g=Rn(v[h],2),y=g[0],m=g[1],b=m.capture,x=m.passive;if(y===o&&b===s.capture&&x===s.passive){v.splice(h,1),v.length||(f.splice(a,1),l(e,n,u),l(e,n,c,!0)),d=!0;break}}if(d)break}}},delegateListener:u,delegateUseCapture:c,delegatedEvents:r,documents:o,targets:n,supportsOptions:!1,supportsPassive:!1};function s(t,e,r,o){var i=Bn(o),s=K.find(n,(function(e){return e.eventTarget===t}));s||(s={eventTarget:t,events:{}},n.push(s)),s.events[e]||(s.events[e]=[]),t.addEventListener&&!K.contains(s.events[e],r)&&(t.addEventListener(e,r,a.supportsOptions?i:i.capture),s.events[e].push(r))}function l(t,e,r,o){var i=Bn(o),s=K.findIndex(n,(function(e){return e.eventTarget===t})),u=n[s];if(u&&u.events)if(\"all\"!==e){var c=!1,f=u.events[e];if(f){if(\"all\"===r){for(var d=f.length-1;d>=0;d--)l(t,e,f[d],i);return}for(var p=0;p<f.length;p++)if(f[p]===r){t.removeEventListener(e,r,a.supportsOptions?i:i.capture),f.splice(p,1),0===f.length&&(delete u.events[e],c=!0);break}}c&&!Object.keys(u.events).length&&n.splice(s,1)}else for(e in u.events)u.events.hasOwnProperty(e)&&l(t,e,\"all\")}function u(t,e){for(var n=Bn(e),o=new Xn(t),a=r[t.type],s=Rn(B.getEventTargets(t),1)[0],l=s;i.default.element(l);){for(var u=0;u<a.length;u++){var c=a[u],f=c.selector,d=c.context;if(_.matchesSelector(l,f)&&_.nodeContains(d,s)&&_.nodeContains(d,l)){var p=c.listeners;o.currentTarget=l;for(var v=0;v<p.length;v++){var h=Rn(p[v],2),g=h[0],y=h[1],m=y.capture,b=y.passive;m===n.capture&&b===n.passive&&g(o)}}}l=_.parentNode(l)}}function c(t){return u(t,!0)}return null==(e=t.document)||e.createElement(\"div\").addEventListener(\"test\",null,{get capture(){return a.supportsOptions=!0},get passive(){return a.supportsPassive=!0}}),t.events=a,a}};An.default=Yn;var Wn={};Object.defineProperty(Wn,\"__esModule\",{value:!0}),Wn.default=void 0;var Ln={methodOrder:[\"simulationResume\",\"mouseOrPen\",\"hasPointer\",\"idle\"],search:function(t){for(var e=0;e<Ln.methodOrder.length;e++){var n;n=Ln.methodOrder[e];var r=Ln[n](t);if(r)return r}return null},simulationResume:function(t){var e=t.pointerType,n=t.eventType,r=t.eventTarget,o=t.scope;if(!/down|start/i.test(n))return null;for(var i=0;i<o.interactions.list.length;i++){var a=o.interactions.list[i],s=r;if(a.simulation&&a.simulation.allowResume&&a.pointerType===e)for(;s;){if(s===a.element)return a;s=_.parentNode(s)}}return null},mouseOrPen:function(t){var e,n=t.pointerId,r=t.pointerType,o=t.eventType,i=t.scope;if(\"mouse\"!==r&&\"pen\"!==r)return null;for(var a=0;a<i.interactions.list.length;a++){var s=i.interactions.list[a];if(s.pointerType===r){if(s.simulation&&!Un(s,n))continue;if(s.interacting())return s;e||(e=s)}}if(e)return e;for(var l=0;l<i.interactions.list.length;l++){var u=i.interactions.list[l];if(!(u.pointerType!==r||/down/i.test(o)&&u.simulation))return u}return null},hasPointer:function(t){for(var e=t.pointerId,n=t.scope,r=0;r<n.interactions.list.length;r++){var o=n.interactions.list[r];if(Un(o,e))return o}return null},idle:function(t){for(var e=t.pointerType,n=t.scope,r=0;r<n.interactions.list.length;r++){var o=n.interactions.list[r];if(1===o.pointers.length){var i=o.interactable;if(i&&(!i.options.gesture||!i.options.gesture.enabled))continue}else if(o.pointers.length>=2)continue;if(!o.interacting()&&e===o.pointerType)return o}return null}};function Un(t,e){return t.pointers.some((function(t){return t.id===e}))}var Vn=Ln;Wn.default=Vn;var Nn={};function qn(t){return qn=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&\"function\"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?\"symbol\":typeof t},qn(t)}function Gn(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:\"undefined\"!=typeof Symbol&&t[Symbol.iterator]||t[\"@@iterator\"];if(null!=n){var r,o,i=[],a=!0,s=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(i.push(r.value),!e||i.length!==e);a=!0);}catch(t){s=!0,o=t}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}(t,e)||function(t,e){if(t){if(\"string\"==typeof t)return $n(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return\"Object\"===n&&t.constructor&&(n=t.constructor.name),\"Map\"===n||\"Set\"===n?Array.from(t):\"Arguments\"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?$n(t,e):void 0}}(t,e)||function(){throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\")}()}function $n(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function Hn(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}function Kn(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Zn(t,e){return Zn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Zn(t,e)}function Jn(t,e){if(e&&(\"object\"===qn(e)||\"function\"==typeof e))return e;if(void 0!==e)throw new TypeError(\"Derived constructors may only return object or undefined\");return function(t){if(void 0===t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return t}(t)}function Qn(t){return Qn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Qn(t)}Object.defineProperty(Nn,\"__esModule\",{value:!0}),Nn.default=void 0;var tr=[\"pointerDown\",\"pointerMove\",\"pointerUp\",\"updatePointer\",\"removePointer\",\"windowBlur\"];function er(t,e){return function(n){var r=e.interactions.list,o=B.getPointerType(n),i=Gn(B.getEventTargets(n),2),a=i[0],s=i[1],l=[];if(/^touch/.test(n.type)){e.prevTouchTime=e.now();for(var u=0;u<n.changedTouches.length;u++){var c=n.changedTouches[u],f={pointer:c,pointerId:B.getPointerId(c),pointerType:o,eventType:n.type,eventTarget:a,curEventTarget:s,scope:e},d=nr(f);l.push([f.pointer,f.eventTarget,f.curEventTarget,d])}}else{var p=!1;if(!b.default.supportsPointerEvent&&/mouse/.test(n.type)){for(var v=0;v<r.length&&!p;v++)p=\"mouse\"!==r[v].pointerType&&r[v].pointerIsDown;p=p||e.now()-e.prevTouchTime<500||0===n.timeStamp}if(!p){var h={pointer:n,pointerId:B.getPointerId(n),pointerType:o,eventType:n.type,curEventTarget:s,eventTarget:a,scope:e},g=nr(h);l.push([h.pointer,h.eventTarget,h.curEventTarget,g])}}for(var y=0;y<l.length;y++){var m=Gn(l[y],4),x=m[0],w=m[1],_=m[2];m[3][t](x,n,w,_)}}}function nr(t){var e=t.pointerType,n=t.scope,r={interaction:Wn.default.search(t),searchDetails:t};return n.fire(\"interactions:find\",r),r.interaction||n.interactions.new({pointerType:e})}function rr(t,e){var n=t.doc,r=t.scope,o=t.options,i=r.interactions.docEvents,a=r.events,s=a[e];for(var l in r.browser.isIOS&&!o.events&&(o.events={passive:!1}),a.delegatedEvents)s(n,l,a.delegateListener),s(n,l,a.delegateUseCapture,!0);for(var u=o&&o.events,c=0;c<i.length;c++){var f=i[c];s(n,f.type,f.listener,u)}}var or={id:\"core/interactions\",install:function(t){for(var e={},n=0;n<tr.length;n++){var r=tr[n];e[r]=er(r,t)}var o,i=b.default.pEventTypes;function a(){for(var e=0;e<t.interactions.list.length;e++){var n=t.interactions.list[e];if(n.pointerIsDown&&\"touch\"===n.pointerType&&!n._interacting)for(var r=function(){var e=n.pointers[o];t.documents.some((function(t){var n=t.doc;return(0,_.nodeContains)(n,e.downTarget)}))||n.removePointer(e.pointer,e.event)},o=0;o<n.pointers.length;o++)r()}}(o=h.default.PointerEvent?[{type:i.down,listener:a},{type:i.down,listener:e.pointerDown},{type:i.move,listener:e.pointerMove},{type:i.up,listener:e.pointerUp},{type:i.cancel,listener:e.pointerUp}]:[{type:\"mousedown\",listener:e.pointerDown},{type:\"mousemove\",listener:e.pointerMove},{type:\"mouseup\",listener:e.pointerUp},{type:\"touchstart\",listener:a},{type:\"touchstart\",listener:e.pointerDown},{type:\"touchmove\",listener:e.pointerMove},{type:\"touchend\",listener:e.pointerUp},{type:\"touchcancel\",listener:e.pointerUp}]).push({type:\"blur\",listener:function(e){for(var n=0;n<t.interactions.list.length;n++)t.interactions.list[n].documentBlur(e)}}),t.prevTouchTime=0,t.Interaction=function(e){!function(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function\");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,\"prototype\",{writable:!1}),e&&Zn(t,e)}(s,e);var n,r,o,i,a=(o=s,i=function(){if(\"undefined\"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(\"function\"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=Qn(o);if(i){var n=Qn(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return Jn(this,t)});function s(){return Hn(this,s),a.apply(this,arguments)}return n=s,(r=[{key:\"pointerMoveTolerance\",get:function(){return t.interactions.pointerMoveTolerance},set:function(e){t.interactions.pointerMoveTolerance=e}},{key:\"_now\",value:function(){return t.now()}}])&&Kn(n.prototype,r),Object.defineProperty(n,\"prototype\",{writable:!1}),s}($e.default),t.interactions={list:[],new:function(e){e.scopeFire=function(e,n){return t.fire(e,n)};var n=new t.Interaction(e);return t.interactions.list.push(n),n},listeners:e,docEvents:o,pointerMoveTolerance:1},t.usePlugin(ue.default)},listeners:{\"scope:add-document\":function(t){return rr(t,\"add\")},\"scope:remove-document\":function(t){return rr(t,\"remove\")},\"interactable:unset\":function(t,e){for(var n=t.interactable,r=e.interactions.list.length-1;r>=0;r--){var o=e.interactions.list[r];o.interactable===n&&(o.stop(),e.fire(\"interactions:destroy\",{interaction:o}),o.destroy(),e.interactions.list.length>2&&e.interactions.list.splice(r,1))}}},onDocSignal:rr,doOnInteractions:er,methodNames:tr},ir=or;Nn.default=ir;var ar={};function sr(t){return sr=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&\"function\"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?\"symbol\":typeof t},sr(t)}function lr(){return lr=\"undefined\"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,n){var r=ur(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(arguments.length<3?t:n):o.value}},lr.apply(this,arguments)}function ur(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=dr(t)););return t}function cr(t,e){return cr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},cr(t,e)}function fr(t,e){if(e&&(\"object\"===sr(e)||\"function\"==typeof e))return e;if(void 0!==e)throw new TypeError(\"Derived constructors may only return object or undefined\");return function(t){if(void 0===t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return t}(t)}function dr(t){return dr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},dr(t)}function pr(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}function vr(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function hr(t,e,n){return e&&vr(t.prototype,e),n&&vr(t,n),Object.defineProperty(t,\"prototype\",{writable:!1}),t}function gr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}Object.defineProperty(ar,\"__esModule\",{value:!0}),ar.Scope=void 0,ar.initScope=mr;var yr=function(){function t(){var e=this;pr(this,t),gr(this,\"id\",\"__interact_scope_\".concat(Math.floor(100*Math.random()))),gr(this,\"isInitialized\",!1),gr(this,\"listenerMaps\",[]),gr(this,\"browser\",b.default),gr(this,\"defaults\",(0,me.default)(Ie.defaults)),gr(this,\"Eventable\",mn.Eventable),gr(this,\"actions\",{map:{},phases:{start:!0,move:!0,end:!0},methodDict:{},phaselessTypes:{}}),gr(this,\"interactStatic\",(0,On.createInteractStatic)(this)),gr(this,\"InteractEvent\",De.InteractEvent),gr(this,\"Interactable\",void 0),gr(this,\"interactables\",new Mn.InteractableSet(this)),gr(this,\"_win\",void 0),gr(this,\"document\",void 0),gr(this,\"window\",void 0),gr(this,\"documents\",[]),gr(this,\"_plugins\",{list:[],map:{}}),gr(this,\"onWindowUnload\",(function(t){return e.removeDocument(t.target)}));var n=this;this.Interactable=function(t){!function(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function\");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,\"prototype\",{writable:!1}),e&&cr(t,e)}(i,t);var e,r,o=(e=i,r=function(){if(\"undefined\"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(\"function\"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=dr(e);if(r){var o=dr(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return fr(this,t)});function i(){return pr(this,i),o.apply(this,arguments)}return hr(i,[{key:\"_defaults\",get:function(){return n.defaults}},{key:\"set\",value:function(t){return lr(dr(i.prototype),\"set\",this).call(this,t),n.fire(\"interactable:set\",{options:t,interactable:this}),this}},{key:\"unset\",value:function(){lr(dr(i.prototype),\"unset\",this).call(this);var t=n.interactables.list.indexOf(this);t<0||(n.interactables.list.splice(t,1),n.fire(\"interactable:unset\",{interactable:this}))}}]),i}(En.Interactable)}return hr(t,[{key:\"addListeners\",value:function(t,e){this.listenerMaps.push({id:e,map:t})}},{key:\"fire\",value:function(t,e){for(var n=0;n<this.listenerMaps.length;n++){var r=this.listenerMaps[n].map[t];if(r&&!1===r(e,this,t))return!1}}},{key:\"init\",value:function(t){return this.isInitialized?this:mr(this,t)}},{key:\"pluginIsInstalled\",value:function(t){return this._plugins.map[t.id]||-1!==this._plugins.list.indexOf(t)}},{key:\"usePlugin\",value:function(t,e){if(!this.isInitialized)return this;if(this.pluginIsInstalled(t))return this;if(t.id&&(this._plugins.map[t.id]=t),this._plugins.list.push(t),t.install&&t.install(this,e),t.listeners&&t.before){for(var n=0,r=this.listenerMaps.length,o=t.before.reduce((function(t,e){return t[e]=!0,t[br(e)]=!0,t}),{});n<r;n++){var i=this.listenerMaps[n].id;if(o[i]||o[br(i)])break}this.listenerMaps.splice(n,0,{id:t.id,map:t.listeners})}else t.listeners&&this.listenerMaps.push({id:t.id,map:t.listeners});return this}},{key:\"addDocument\",value:function(t,n){if(-1!==this.getDocIndex(t))return!1;var r=e.getWindow(t);n=n?(0,M.default)({},n):{},this.documents.push({doc:t,options:n}),this.events.documents.push(t),t!==this.document&&this.events.add(r,\"unload\",this.onWindowUnload),this.fire(\"scope:add-document\",{doc:t,window:r,scope:this,options:n})}},{key:\"removeDocument\",value:function(t){var n=this.getDocIndex(t),r=e.getWindow(t),o=this.documents[n].options;this.events.remove(r,\"unload\",this.onWindowUnload),this.documents.splice(n,1),this.events.documents.splice(n,1),this.fire(\"scope:remove-document\",{doc:t,window:r,scope:this,options:o})}},{key:\"getDocIndex\",value:function(t){for(var e=0;e<this.documents.length;e++)if(this.documents[e].doc===t)return e;return-1}},{key:\"getDocOptions\",value:function(t){var e=this.getDocIndex(t);return-1===e?null:this.documents[e].options}},{key:\"now\",value:function(){return(this.window.Date||Date).now()}}]),t}();function mr(t,n){return t.isInitialized=!0,i.default.window(n)&&e.init(n),h.default.init(n),b.default.init(n),jt.default.init(n),t.window=n,t.document=n.document,t.usePlugin(Nn.default),t.usePlugin(An.default),t}function br(t){return t&&t.replace(/\\/.*$/,\"\")}ar.Scope=yr;var xr={};Object.defineProperty(xr,\"__esModule\",{value:!0}),xr.default=void 0;var wr=new ar.Scope,_r=wr.interactStatic;xr.default=_r;var Pr=\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof window?window:void 0;wr.init(Pr);var Or={};Object.defineProperty(Or,\"__esModule\",{value:!0}),Or.default=void 0,Or.default=function(){};var Er={};Object.defineProperty(Er,\"__esModule\",{value:!0}),Er.default=void 0,Er.default=function(){};var Sr={};function Tr(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:\"undefined\"!=typeof Symbol&&t[Symbol.iterator]||t[\"@@iterator\"];if(null!=n){var r,o,i=[],a=!0,s=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(i.push(r.value),!e||i.length!==e);a=!0);}catch(t){s=!0,o=t}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}(t,e)||function(t,e){if(t){if(\"string\"==typeof t)return jr(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return\"Object\"===n&&t.constructor&&(n=t.constructor.name),\"Map\"===n||\"Set\"===n?Array.from(t):\"Arguments\"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?jr(t,e):void 0}}(t,e)||function(){throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\")}()}function jr(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}Object.defineProperty(Sr,\"__esModule\",{value:!0}),Sr.default=void 0,Sr.default=function(t){var e=[[\"x\",\"y\"],[\"left\",\"top\"],[\"right\",\"bottom\"],[\"width\",\"height\"]].filter((function(e){var n=Tr(e,2),r=n[0],o=n[1];return r in t||o in t})),n=function(n,r){for(var o=t.range,i=t.limits,a=void 0===i?{left:-1/0,right:1/0,top:-1/0,bottom:1/0}:i,s=t.offset,l=void 0===s?{x:0,y:0}:s,u={range:o,grid:t,x:null,y:null},c=0;c<e.length;c++){var f=Tr(e[c],2),d=f[0],p=f[1],v=Math.round((n-l.x)/t[d]),h=Math.round((r-l.y)/t[p]);u[d]=Math.max(a.left,Math.min(a.right,v*t[d]+l.x)),u[p]=Math.max(a.top,Math.min(a.bottom,h*t[p]+l.y))}return u};return n.grid=t,n.coordFields=e,n};var Mr={};Object.defineProperty(Mr,\"__esModule\",{value:!0}),Object.defineProperty(Mr,\"edgeTarget\",{enumerable:!0,get:function(){return Or.default}}),Object.defineProperty(Mr,\"elements\",{enumerable:!0,get:function(){return Er.default}}),Object.defineProperty(Mr,\"grid\",{enumerable:!0,get:function(){return Sr.default}});var kr={};Object.defineProperty(kr,\"__esModule\",{value:!0}),kr.default=void 0;var Ir={id:\"snappers\",install:function(t){var e=t.interactStatic;e.snappers=(0,M.default)(e.snappers||{},Mr),e.createSnapGrid=e.snappers.grid}},Dr=Ir;kr.default=Dr;var Ar={};function zr(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Cr(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?zr(Object(n),!0).forEach((function(e){Rr(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):zr(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Rr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}Object.defineProperty(Ar,\"__esModule\",{value:!0}),Ar.default=Ar.aspectRatio=void 0;var Fr={start:function(t){var e=t.state,n=t.rect,r=t.edges,o=t.pageCoords,i=e.options,a=i.ratio,s=i.enabled,l=e.options,u=l.equalDelta,c=l.modifiers;\"preserve\"===a&&(a=n.width/n.height),e.startCoords=(0,M.default)({},o),e.startRect=(0,M.default)({},n),e.ratio=a,e.equalDelta=u;var f=e.linkedEdges={top:r.top||r.left&&!r.bottom,left:r.left||r.top&&!r.right,bottom:r.bottom||r.right&&!r.top,right:r.right||r.bottom&&!r.left};if(e.xIsPrimaryAxis=!(!r.left&&!r.right),e.equalDelta){var d=(f.left?1:-1)*(f.top?1:-1);e.edgeSign={x:d,y:d}}else e.edgeSign={x:f.left?-1:1,y:f.top?-1:1};if(!1!==s&&(0,M.default)(r,f),null!=c&&c.length){var p=new be.default(t.interaction);p.copyFrom(t.interaction.modification),p.prepareStates(c),e.subModification=p,p.startAll(Cr({},t))}},set:function(t){var e=t.state,n=t.rect,r=t.coords,o=e.linkedEdges,i=(0,M.default)({},r),a=e.equalDelta?Xr:Br;if((0,M.default)(t.edges,o),a(e,e.xIsPrimaryAxis,r,n),!e.subModification)return null;var s=(0,M.default)({},n);(0,k.addEdges)(o,s,{x:r.x-i.x,y:r.y-i.y});var l=e.subModification.setAll(Cr(Cr({},t),{},{rect:s,edges:o,pageCoords:r,prevCoords:r,prevRect:s})),u=l.delta;return l.changed&&(a(e,Math.abs(u.x)>Math.abs(u.y),l.coords,l.rect),(0,M.default)(r,l.coords)),l.eventProps},defaults:{ratio:\"preserve\",equalDelta:!1,modifiers:[],enabled:!1}};function Xr(t,e,n){var r=t.startCoords,o=t.edgeSign;e?n.y=r.y+(n.x-r.x)*o.y:n.x=r.x+(n.y-r.y)*o.x}function Br(t,e,n,r){var o=t.startRect,i=t.startCoords,a=t.ratio,s=t.edgeSign;if(e){var l=r.width/a;n.y=i.y+(l-o.height)*s.y}else{var u=r.height*a;n.x=i.x+(u-o.width)*s.x}}Ar.aspectRatio=Fr;var Yr=(0,Te.makeModifier)(Fr,\"aspectRatio\");Ar.default=Yr;var Wr={};Object.defineProperty(Wr,\"__esModule\",{value:!0}),Wr.default=void 0;var Lr=function(){};Lr._defaults={};var Ur=Lr;Wr.default=Ur;var Vr={};Object.defineProperty(Vr,\"__esModule\",{value:!0}),Object.defineProperty(Vr,\"default\",{enumerable:!0,get:function(){return Wr.default}});var Nr={};function qr(t,e,n){return i.default.func(t)?k.resolveRectLike(t,e.interactable,e.element,[n.x,n.y,e]):k.resolveRectLike(t,e.interactable,e.element)}Object.defineProperty(Nr,\"__esModule\",{value:!0}),Nr.default=void 0,Nr.getRestrictionRect=qr,Nr.restrict=void 0;var Gr={start:function(t){var e=t.rect,n=t.startOffset,r=t.state,o=t.interaction,i=t.pageCoords,a=r.options,s=a.elementRect,l=(0,M.default)({left:0,top:0,right:0,bottom:0},a.offset||{});if(e&&s){var u=qr(a.restriction,o,i);if(u){var c=u.right-u.left-e.width,f=u.bottom-u.top-e.height;c<0&&(l.left+=c,l.right+=c),f<0&&(l.top+=f,l.bottom+=f)}l.left+=n.left-e.width*s.left,l.top+=n.top-e.height*s.top,l.right+=n.right-e.width*(1-s.right),l.bottom+=n.bottom-e.height*(1-s.bottom)}r.offset=l},set:function(t){var e=t.coords,n=t.interaction,r=t.state,o=r.options,i=r.offset,a=qr(o.restriction,n,e);if(a){var s=k.xywhToTlbr(a);e.x=Math.max(Math.min(s.right-i.right,e.x),s.left+i.left),e.y=Math.max(Math.min(s.bottom-i.bottom,e.y),s.top+i.top)}},defaults:{restriction:null,elementRect:null,offset:null,endOnly:!1,enabled:!1}};Nr.restrict=Gr;var $r=(0,Te.makeModifier)(Gr,\"restrict\");Nr.default=$r;var Hr={};Object.defineProperty(Hr,\"__esModule\",{value:!0}),Hr.restrictEdges=Hr.default=void 0;var Kr={top:1/0,left:1/0,bottom:-1/0,right:-1/0},Zr={top:-1/0,left:-1/0,bottom:1/0,right:1/0};function Jr(t,e){for(var n=[\"top\",\"left\",\"bottom\",\"right\"],r=0;r<n.length;r++){var o=n[r];o in t||(t[o]=e[o])}return t}var Qr={noInner:Kr,noOuter:Zr,start:function(t){var e,n=t.interaction,r=t.startOffset,o=t.state,i=o.options;if(i){var a=(0,Nr.getRestrictionRect)(i.offset,n,n.coords.start.page);e=k.rectToXY(a)}e=e||{x:0,y:0},o.offset={top:e.y+r.top,left:e.x+r.left,bottom:e.y-r.bottom,right:e.x-r.right}},set:function(t){var e=t.coords,n=t.edges,r=t.interaction,o=t.state,i=o.offset,a=o.options;if(n){var s=(0,M.default)({},e),l=(0,Nr.getRestrictionRect)(a.inner,r,s)||{},u=(0,Nr.getRestrictionRect)(a.outer,r,s)||{};Jr(l,Kr),Jr(u,Zr),n.top?e.y=Math.min(Math.max(u.top+i.top,s.y),l.top+i.top):n.bottom&&(e.y=Math.max(Math.min(u.bottom+i.bottom,s.y),l.bottom+i.bottom)),n.left?e.x=Math.min(Math.max(u.left+i.left,s.x),l.left+i.left):n.right&&(e.x=Math.max(Math.min(u.right+i.right,s.x),l.right+i.right))}},defaults:{inner:null,outer:null,offset:null,endOnly:!1,enabled:!1}};Hr.restrictEdges=Qr;var to=(0,Te.makeModifier)(Qr,\"restrictEdges\");Hr.default=to;var eo={};Object.defineProperty(eo,\"__esModule\",{value:!0}),eo.restrictRect=eo.default=void 0;var no=(0,M.default)({get elementRect(){return{top:0,left:0,bottom:1,right:1}},set elementRect(t){}},Nr.restrict.defaults),ro={start:Nr.restrict.start,set:Nr.restrict.set,defaults:no};eo.restrictRect=ro;var oo=(0,Te.makeModifier)(ro,\"restrictRect\");eo.default=oo;var io={};Object.defineProperty(io,\"__esModule\",{value:!0}),io.restrictSize=io.default=void 0;var ao={width:-1/0,height:-1/0},so={width:1/0,height:1/0},lo={start:function(t){return Hr.restrictEdges.start(t)},set:function(t){var e=t.interaction,n=t.state,r=t.rect,o=t.edges,i=n.options;if(o){var a=k.tlbrToXywh((0,Nr.getRestrictionRect)(i.min,e,t.coords))||ao,s=k.tlbrToXywh((0,Nr.getRestrictionRect)(i.max,e,t.coords))||so;n.options={endOnly:i.endOnly,inner:(0,M.default)({},Hr.restrictEdges.noInner),outer:(0,M.default)({},Hr.restrictEdges.noOuter)},o.top?(n.options.inner.top=r.bottom-a.height,n.options.outer.top=r.bottom-s.height):o.bottom&&(n.options.inner.bottom=r.top+a.height,n.options.outer.bottom=r.top+s.height),o.left?(n.options.inner.left=r.right-a.width,n.options.outer.left=r.right-s.width):o.right&&(n.options.inner.right=r.left+a.width,n.options.outer.right=r.left+s.width),Hr.restrictEdges.set(t),n.options=i}},defaults:{min:null,max:null,endOnly:!1,enabled:!1}};io.restrictSize=lo;var uo=(0,Te.makeModifier)(lo,\"restrictSize\");io.default=uo;var co={};Object.defineProperty(co,\"__esModule\",{value:!0}),Object.defineProperty(co,\"default\",{enumerable:!0,get:function(){return Wr.default}});var fo={};Object.defineProperty(fo,\"__esModule\",{value:!0}),fo.snap=fo.default=void 0;var po={start:function(t){var e,n=t.interaction,r=t.interactable,o=t.element,i=t.rect,a=t.state,s=t.startOffset,l=a.options,u=l.offsetWithOrigin?function(t){var e=t.interaction.element;return(0,k.rectToXY)((0,k.resolveRectLike)(t.state.options.origin,null,null,[e]))||(0,A.default)(t.interactable,e,t.interaction.prepared.name)}(t):{x:0,y:0};if(\"startCoords\"===l.offset)e={x:n.coords.start.page.x,y:n.coords.start.page.y};else{var c=(0,k.resolveRectLike)(l.offset,r,o,[n]);(e=(0,k.rectToXY)(c)||{x:0,y:0}).x+=u.x,e.y+=u.y}var f=l.relativePoints;a.offsets=i&&f&&f.length?f.map((function(t,n){return{index:n,relativePoint:t,x:s.left-i.width*t.x+e.x,y:s.top-i.height*t.y+e.y}})):[{index:0,relativePoint:null,x:e.x,y:e.y}]},set:function(t){var e=t.interaction,n=t.coords,r=t.state,o=r.options,a=r.offsets,s=(0,A.default)(e.interactable,e.element,e.prepared.name),l=(0,M.default)({},n),u=[];o.offsetWithOrigin||(l.x-=s.x,l.y-=s.y);for(var c=0;c<a.length;c++)for(var f=a[c],d=l.x-f.x,p=l.y-f.y,v=0,h=o.targets.length;v<h;v++){var g,y=o.targets[v];(g=i.default.func(y)?y(d,p,e._proxy,f,v):y)&&u.push({x:(i.default.number(g.x)?g.x:d)+f.x,y:(i.default.number(g.y)?g.y:p)+f.y,range:i.default.number(g.range)?g.range:o.range,source:y,index:v,offset:f})}for(var m={target:null,inRange:!1,distance:0,range:0,delta:{x:0,y:0}},b=0;b<u.length;b++){var x=u[b],w=x.range,_=x.x-l.x,P=x.y-l.y,O=(0,R.default)(_,P),E=O<=w;w===1/0&&m.inRange&&m.range!==1/0&&(E=!1),m.target&&!(E?m.inRange&&w!==1/0?O/w<m.distance/m.range:w===1/0&&m.range!==1/0||O<m.distance:!m.inRange&&O<m.distance)||(m.target=x,m.distance=O,m.range=w,m.inRange=E,m.delta.x=_,m.delta.y=P)}return m.inRange&&(n.x=m.target.x,n.y=m.target.y),r.closest=m,m},defaults:{range:1/0,targets:null,offset:null,offsetWithOrigin:!0,origin:null,relativePoints:null,endOnly:!1,enabled:!1}};fo.snap=po;var vo=(0,Te.makeModifier)(po,\"snap\");fo.default=vo;var ho={};function go(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}Object.defineProperty(ho,\"__esModule\",{value:!0}),ho.snapSize=ho.default=void 0;var yo={start:function(t){var e=t.state,n=t.edges,r=e.options;if(!n)return null;t.state={options:{targets:null,relativePoints:[{x:n.left?0:1,y:n.top?0:1}],offset:r.offset||\"self\",origin:{x:0,y:0},range:r.range}},e.targetFields=e.targetFields||[[\"width\",\"height\"],[\"x\",\"y\"]],fo.snap.start(t),e.offsets=t.state.offsets,t.state=e},set:function(t){var e,n,r=t.interaction,o=t.state,a=t.coords,s=o.options,l=o.offsets,u={x:a.x-l[0].x,y:a.y-l[0].y};o.options=(0,M.default)({},s),o.options.targets=[];for(var c=0;c<(s.targets||[]).length;c++){var f=(s.targets||[])[c],d=void 0;if(d=i.default.func(f)?f(u.x,u.y,r):f){for(var p=0;p<o.targetFields.length;p++){var v=(e=o.targetFields[p],n=2,function(t){if(Array.isArray(t))return t}(e)||function(t,e){var n=null==t?null:\"undefined\"!=typeof Symbol&&t[Symbol.iterator]||t[\"@@iterator\"];if(null!=n){var r,o,i=[],a=!0,s=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(i.push(r.value),!e||i.length!==e);a=!0);}catch(t){s=!0,o=t}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}(e,n)||function(t,e){if(t){if(\"string\"==typeof t)return go(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return\"Object\"===n&&t.constructor&&(n=t.constructor.name),\"Map\"===n||\"Set\"===n?Array.from(t):\"Arguments\"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?go(t,e):void 0}}(e,n)||function(){throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\")}()),h=v[0],g=v[1];if(h in d||g in d){d.x=d[h],d.y=d[g];break}}o.options.targets.push(d)}}var y=fo.snap.set(t);return o.options=s,y},defaults:{range:1/0,targets:null,offset:null,endOnly:!1,enabled:!1}};ho.snapSize=yo;var mo=(0,Te.makeModifier)(yo,\"snapSize\");ho.default=mo;var bo={};Object.defineProperty(bo,\"__esModule\",{value:!0}),bo.snapEdges=bo.default=void 0;var xo={start:function(t){var e=t.edges;return e?(t.state.targetFields=t.state.targetFields||[[e.left?\"left\":\"right\",e.top?\"top\":\"bottom\"]],ho.snapSize.start(t)):null},set:ho.snapSize.set,defaults:(0,M.default)((0,me.default)(ho.snapSize.defaults),{targets:null,range:null,offset:{x:0,y:0}})};bo.snapEdges=xo;var wo=(0,Te.makeModifier)(xo,\"snapEdges\");bo.default=wo;var _o={};Object.defineProperty(_o,\"__esModule\",{value:!0}),Object.defineProperty(_o,\"default\",{enumerable:!0,get:function(){return Wr.default}});var Po={};Object.defineProperty(Po,\"__esModule\",{value:!0}),Object.defineProperty(Po,\"default\",{enumerable:!0,get:function(){return Wr.default}});var Oo={};Object.defineProperty(Oo,\"__esModule\",{value:!0}),Oo.default=void 0;var Eo={aspectRatio:Ar.default,restrictEdges:Hr.default,restrict:Nr.default,restrictRect:eo.default,restrictSize:io.default,snapEdges:bo.default,snap:fo.default,snapSize:ho.default,spring:_o.default,avoid:Vr.default,transform:Po.default,rubberband:co.default};Oo.default=Eo;var So={};Object.defineProperty(So,\"__esModule\",{value:!0}),So.default=void 0;var To={id:\"modifiers\",install:function(t){var e=t.interactStatic;for(var n in t.usePlugin(Te.default),t.usePlugin(kr.default),e.modifiers=Oo.default,Oo.default){var r=Oo.default[n],o=r._defaults,i=r._methods;o._methods=i,t.defaults.perAction[n]=o}}},jo=To;So.default=jo;var Mo={};function ko(t){return ko=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&\"function\"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?\"symbol\":typeof t},ko(t)}function Io(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Do(t,e){return Do=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Do(t,e)}function Ao(t,e){if(e&&(\"object\"===ko(e)||\"function\"==typeof e))return e;if(void 0!==e)throw new TypeError(\"Derived constructors may only return object or undefined\");return zo(t)}function zo(t){if(void 0===t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return t}function Co(t){return Co=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Co(t)}Object.defineProperty(Mo,\"__esModule\",{value:!0}),Mo.default=Mo.PointerEvent=void 0;var Ro=function(t){!function(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function\");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,\"prototype\",{writable:!1}),e&&Do(t,e)}(a,t);var e,n,r,o,i=(r=a,o=function(){if(\"undefined\"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(\"function\"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=Co(r);if(o){var n=Co(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return Ao(this,t)});function a(t,e,n,r,o,s){var l;if(function(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this,a),l=i.call(this,o),B.pointerExtend(zo(l),n),n!==e&&B.pointerExtend(zo(l),e),l.timeStamp=s,l.originalEvent=n,l.type=t,l.pointerId=B.getPointerId(e),l.pointerType=B.getPointerType(e),l.target=r,l.currentTarget=null,\"tap\"===t){var u=o.getPointerIndex(e);l.dt=l.timeStamp-o.pointers[u].downTime;var c=l.timeStamp-o.tapTime;l.double=!!o.prevTap&&\"doubletap\"!==o.prevTap.type&&o.prevTap.target===l.target&&c<500}else\"doubletap\"===t&&(l.dt=e.timeStamp-o.tapTime,l.double=!0);return l}return e=a,(n=[{key:\"_subtractOrigin\",value:function(t){var e=t.x,n=t.y;return this.pageX-=e,this.pageY-=n,this.clientX-=e,this.clientY-=n,this}},{key:\"_addOrigin\",value:function(t){var e=t.x,n=t.y;return this.pageX+=e,this.pageY+=n,this.clientX+=e,this.clientY+=n,this}},{key:\"preventDefault\",value:function(){this.originalEvent.preventDefault()}}])&&Io(e.prototype,n),Object.defineProperty(e,\"prototype\",{writable:!1}),a}(q.BaseEvent);Mo.PointerEvent=Mo.default=Ro;var Fo={};Object.defineProperty(Fo,\"__esModule\",{value:!0}),Fo.default=void 0;var Xo={id:\"pointer-events/base\",before:[\"inertia\",\"modifiers\",\"auto-start\",\"actions\"],install:function(t){t.pointerEvents=Xo,t.defaults.actions.pointerEvents=Xo.defaults,(0,M.default)(t.actions.phaselessTypes,Xo.types)},listeners:{\"interactions:new\":function(t){var e=t.interaction;e.prevTap=null,e.tapTime=0},\"interactions:update-pointer\":function(t){var e=t.down,n=t.pointerInfo;!e&&n.hold||(n.hold={duration:1/0,timeout:null})},\"interactions:move\":function(t,e){var n=t.interaction,r=t.pointer,o=t.event,i=t.eventTarget;t.duplicate||n.pointerIsDown&&!n.pointerWasMoved||(n.pointerIsDown&&Wo(t),Bo({interaction:n,pointer:r,event:o,eventTarget:i,type:\"move\"},e))},\"interactions:down\":function(t,e){!function(t,e){for(var n=t.interaction,r=t.pointer,o=t.event,i=t.eventTarget,a=t.pointerIndex,s=n.pointers[a].hold,l=_.getPath(i),u={interaction:n,pointer:r,event:o,eventTarget:i,type:\"hold\",targets:[],path:l,node:null},c=0;c<l.length;c++){var f=l[c];u.node=f,e.fire(\"pointerEvents:collect-targets\",u)}if(u.targets.length){for(var d=1/0,p=0;p<u.targets.length;p++){var v=u.targets[p].eventable.options.holdDuration;v<d&&(d=v)}s.duration=d,s.timeout=setTimeout((function(){Bo({interaction:n,eventTarget:i,pointer:r,event:o,type:\"hold\"},e)}),d)}}(t,e),Bo(t,e)},\"interactions:up\":function(t,e){Wo(t),Bo(t,e),function(t,e){var n=t.interaction,r=t.pointer,o=t.event,i=t.eventTarget;n.pointerWasMoved||Bo({interaction:n,eventTarget:i,pointer:r,event:o,type:\"tap\"},e)}(t,e)},\"interactions:cancel\":function(t,e){Wo(t),Bo(t,e)}},PointerEvent:Mo.PointerEvent,fire:Bo,collectEventTargets:Yo,defaults:{holdDuration:600,ignoreFrom:null,allowFrom:null,origin:{x:0,y:0}},types:{down:!0,move:!0,up:!0,cancel:!0,tap:!0,doubletap:!0,hold:!0}};function Bo(t,e){var n=t.interaction,r=t.pointer,o=t.event,i=t.eventTarget,a=t.type,s=t.targets,l=void 0===s?Yo(t,e):s,u=new Mo.PointerEvent(a,r,o,i,n,e.now());e.fire(\"pointerEvents:new\",{pointerEvent:u});for(var c={interaction:n,pointer:r,event:o,eventTarget:i,targets:l,type:a,pointerEvent:u},f=0;f<l.length;f++){var d=l[f];for(var p in d.props||{})u[p]=d.props[p];var v=(0,A.default)(d.eventable,d.node);if(u._subtractOrigin(v),u.eventable=d.eventable,u.currentTarget=d.node,d.eventable.fire(u),u._addOrigin(v),u.immediatePropagationStopped||u.propagationStopped&&f+1<l.length&&l[f+1].node!==u.currentTarget)break}if(e.fire(\"pointerEvents:fired\",c),\"tap\"===a){var h=u.double?Bo({interaction:n,pointer:r,event:o,eventTarget:i,type:\"doubletap\"},e):u;n.prevTap=h,n.tapTime=h.timeStamp}return u}function Yo(t,e){var n=t.interaction,r=t.pointer,o=t.event,i=t.eventTarget,a=t.type,s=n.getPointerIndex(r),l=n.pointers[s];if(\"tap\"===a&&(n.pointerWasMoved||!l||l.downTarget!==i))return[];for(var u=_.getPath(i),c={interaction:n,pointer:r,event:o,eventTarget:i,type:a,path:u,targets:[],node:null},f=0;f<u.length;f++){var d=u[f];c.node=d,e.fire(\"pointerEvents:collect-targets\",c)}return\"hold\"===a&&(c.targets=c.targets.filter((function(t){var e;return t.eventable.options.holdDuration===(null==(e=n.pointers[s])?void 0:e.hold.duration)}))),c.targets}function Wo(t){var e=t.interaction,n=t.pointerIndex,r=e.pointers[n].hold;r&&r.timeout&&(clearTimeout(r.timeout),r.timeout=null)}var Lo=Xo;Fo.default=Lo;var Uo={};function Vo(t){var e=t.interaction;e.holdIntervalHandle&&(clearInterval(e.holdIntervalHandle),e.holdIntervalHandle=null)}Object.defineProperty(Uo,\"__esModule\",{value:!0}),Uo.default=void 0;var No={id:\"pointer-events/holdRepeat\",install:function(t){t.usePlugin(Fo.default);var e=t.pointerEvents;e.defaults.holdRepeatInterval=0,e.types.holdrepeat=t.actions.phaselessTypes.holdrepeat=!0},listeners:[\"move\",\"up\",\"cancel\",\"endall\"].reduce((function(t,e){return t[\"pointerEvents:\".concat(e)]=Vo,t}),{\"pointerEvents:new\":function(t){var e=t.pointerEvent;\"hold\"===e.type&&(e.count=(e.count||0)+1)},\"pointerEvents:fired\":function(t,e){var n=t.interaction,r=t.pointerEvent,o=t.eventTarget,i=t.targets;if(\"hold\"===r.type&&i.length){var a=i[0].eventable.options.holdRepeatInterval;a<=0||(n.holdIntervalHandle=setTimeout((function(){e.pointerEvents.fire({interaction:n,eventTarget:o,type:\"hold\",pointer:r,event:r},e)}),a))}}})},qo=No;Uo.default=qo;var Go={};function $o(t){return(0,M.default)(this.events.options,t),this}Object.defineProperty(Go,\"__esModule\",{value:!0}),Go.default=void 0;var Ho={id:\"pointer-events/interactableTargets\",install:function(t){var e=t.Interactable;e.prototype.pointerEvents=$o;var n=e.prototype._backCompatOption;e.prototype._backCompatOption=function(t,e){var r=n.call(this,t,e);return r===this&&(this.events.options[t]=e),r}},listeners:{\"pointerEvents:collect-targets\":function(t,e){var n=t.targets,r=t.node,o=t.type,i=t.eventTarget;e.interactables.forEachMatch(r,(function(t){var e=t.events,a=e.options;e.types[o]&&e.types[o].length&&t.testIgnoreAllow(a,r,i)&&n.push({node:r,eventable:e,props:{interactable:t}})}))},\"interactable:new\":function(t){var e=t.interactable;e.events.getRect=function(t){return e.getRect(t)}},\"interactable:set\":function(t,e){var n=t.interactable,r=t.options;(0,M.default)(n.events.options,e.pointerEvents.defaults),(0,M.default)(n.events.options,r.pointerEvents||{})}}},Ko=Ho;Go.default=Ko;var Zo={};Object.defineProperty(Zo,\"__esModule\",{value:!0}),Zo.default=void 0;var Jo={id:\"pointer-events\",install:function(t){t.usePlugin(Fo),t.usePlugin(Uo.default),t.usePlugin(Go.default)}},Qo=Jo;Zo.default=Qo;var ti={};function ei(t){var e=t.Interactable;t.actions.phases.reflow=!0,e.prototype.reflow=function(e){return function(t,e,n){for(var r=i.default.string(t.target)?K.from(t._context.querySelectorAll(t.target)):[t.target],o=n.window.Promise,a=o?[]:null,s=function(){var i=r[l],s=t.getRect(i);if(!s)return\"break\";var u=K.find(n.interactions.list,(function(n){return n.interacting()&&n.interactable===t&&n.element===i&&n.prepared.name===e.name})),c=void 0;if(u)u.move(),a&&(c=u._reflowPromise||new o((function(t){u._reflowResolve=t})));else{var f=(0,k.tlbrToXywh)(s),d={page:{x:f.x,y:f.y},client:{x:f.x,y:f.y},timeStamp:n.now()},p=B.coordsToEvent(d);c=function(t,e,n,r,o){var i=t.interactions.new({pointerType:\"reflow\"}),a={interaction:i,event:o,pointer:o,eventTarget:n,phase:\"reflow\"};i.interactable=e,i.element=n,i.prevEvent=o,i.updatePointer(o,o,n,!0),B.setZeroCoords(i.coords.delta),(0,Bt.copyAction)(i.prepared,r),i._doPhase(a);var s=t.window.Promise,l=s?new s((function(t){i._reflowResolve=t})):void 0;return i._reflowPromise=l,i.start(r,e,n),i._interacting?(i.move(a),i.end(o)):(i.stop(),i._reflowResolve()),i.removePointer(o,o),l}(n,t,i,e,p)}a&&a.push(c)},l=0;l<r.length&&\"break\"!==s();l++);return a&&o.all(a).then((function(){return t}))}(this,e,t)}}Object.defineProperty(ti,\"__esModule\",{value:!0}),ti.default=void 0,ti.install=ei;var ni={id:\"reflow\",install:ei,listeners:{\"interactions:stop\":function(t,e){var n=t.interaction;\"reflow\"===n.pointerType&&(n._reflowResolve&&n._reflowResolve(),K.remove(e.interactions.list,n))}}},ri=ni;ti.default=ri;var oi={};Object.defineProperty(oi,\"__esModule\",{value:!0}),oi.default=void 0,xr.default.use(ue.default),xr.default.use(tn.default),xr.default.use(Zo.default),xr.default.use(un.default),xr.default.use(So.default),xr.default.use(se.default),xr.default.use(St.default),xr.default.use(At.default),xr.default.use(ti.default);var ii=xr.default;oi.default=ii,xr.default.default=xr.default,St.default,At.default,se.default,ue.default,ge.default,un.default,xr.default,So.default,tn.default,Zo.default,ti.default;var ai={exports:{}};function si(t){return si=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&\"function\"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?\"symbol\":typeof t},si(t)}Object.defineProperty(ai.exports,\"__esModule\",{value:!0}),ai.exports.default=void 0;var li=oi.default;if(ai.exports.default=li,\"object\"===si(ai)&&ai)try{ai.exports=oi.default}catch(t){}return oi.default.default=oi.default,ai.exports}));\n","function e(e){this.message=e}e.prototype=new Error,e.prototype.name=\"InvalidCharacterError\";var r=\"undefined\"!=typeof window&&window.atob&&window.atob.bind(window)||function(r){var t=String(r).replace(/=+$/,\"\");if(t.length%4==1)throw new e(\"'atob' failed: The string to be decoded is not correctly encoded.\");for(var n,o,a=0,i=0,c=\"\";o=t.charAt(i++);~o&&(n=a%4?64*n+o:o,a++%4)?c+=String.fromCharCode(255&n>>(-2*a&6)):0)o=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\".indexOf(o);return c};function t(e){var t=e.replace(/-/g,\"+\").replace(/_/g,\"/\");switch(t.length%4){case 0:break;case 2:t+=\"==\";break;case 3:t+=\"=\";break;default:throw\"Illegal base64url string!\"}try{return function(e){return decodeURIComponent(r(e).replace(/(.)/g,(function(e,r){var t=r.charCodeAt(0).toString(16).toUpperCase();return t.length<2&&(t=\"0\"+t),\"%\"+t})))}(t)}catch(e){return r(t)}}function n(e){this.message=e}function o(e,r){if(\"string\"!=typeof e)throw new n(\"Invalid token specified\");var o=!0===(r=r||{}).header?0:1;try{return JSON.parse(t(e.split(\".\")[o]))}catch(e){throw new n(\"Invalid token specified: \"+e.message)}}n.prototype=new Error,n.prototype.name=\"InvalidTokenError\";export default o;export{n as InvalidTokenError};\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar rxjs_1 = require(\"rxjs\");\nexports.of = rxjs_1.of;\n","import { AsyncAction } from './AsyncAction';\nimport { AsyncScheduler } from './AsyncScheduler';\nexport class VirtualTimeScheduler extends AsyncScheduler {\n    constructor(SchedulerAction = VirtualAction, maxFrames = Number.POSITIVE_INFINITY) {\n        super(SchedulerAction, () => this.frame);\n        this.maxFrames = maxFrames;\n        this.frame = 0;\n        this.index = -1;\n    }\n    flush() {\n        const { actions, maxFrames } = this;\n        let error, action;\n        while ((action = actions[0]) && action.delay <= maxFrames) {\n            actions.shift();\n            this.frame = action.delay;\n            if (error = action.execute(action.state, action.delay)) {\n                break;\n            }\n        }\n        if (error) {\n            while (action = actions.shift()) {\n                action.unsubscribe();\n            }\n            throw error;\n        }\n    }\n}\nVirtualTimeScheduler.frameTimeFactor = 10;\nexport class VirtualAction extends AsyncAction {\n    constructor(scheduler, work, index = scheduler.index += 1) {\n        super(scheduler, work);\n        this.scheduler = scheduler;\n        this.work = work;\n        this.index = index;\n        this.active = true;\n        this.index = scheduler.index = index;\n    }\n    schedule(state, delay = 0) {\n        if (!this.id) {\n            return super.schedule(state, delay);\n        }\n        this.active = false;\n        const action = new VirtualAction(this.scheduler, this.work);\n        this.add(action);\n        return action.schedule(state, delay);\n    }\n    requestAsyncId(scheduler, id, delay = 0) {\n        this.delay = scheduler.frame + delay;\n        const { actions } = scheduler;\n        actions.push(this);\n        actions.sort(VirtualAction.sortActions);\n        return true;\n    }\n    recycleAsyncId(scheduler, id, delay = 0) {\n        return undefined;\n    }\n    _execute(state, delay) {\n        if (this.active === true) {\n            return super._execute(state, delay);\n        }\n    }\n    static sortActions(a, b) {\n        if (a.delay === b.delay) {\n            if (a.index === b.index) {\n                return 0;\n            }\n            else if (a.index > b.index) {\n                return 1;\n            }\n            else {\n                return -1;\n            }\n        }\n        else if (a.delay > b.delay) {\n            return 1;\n        }\n        else {\n            return -1;\n        }\n    }\n}\n","import { Observable } from '../Observable';\nimport { AsyncSubject } from '../AsyncSubject';\nimport { map } from '../operators/map';\nimport { canReportError } from '../util/canReportError';\nimport { isArray } from '../util/isArray';\nimport { isScheduler } from '../util/isScheduler';\nexport function bindCallback(callbackFunc, resultSelector, scheduler) {\n    if (resultSelector) {\n        if (isScheduler(resultSelector)) {\n            scheduler = resultSelector;\n        }\n        else {\n            return (...args) => bindCallback(callbackFunc, scheduler)(...args).pipe(map((args) => isArray(args) ? resultSelector(...args) : resultSelector(args)));\n        }\n    }\n    return function (...args) {\n        const context = this;\n        let subject;\n        const params = {\n            context,\n            subject,\n            callbackFunc,\n            scheduler,\n        };\n        return new Observable(subscriber => {\n            if (!scheduler) {\n                if (!subject) {\n                    subject = new AsyncSubject();\n                    const handler = (...innerArgs) => {\n                        subject.next(innerArgs.length <= 1 ? innerArgs[0] : innerArgs);\n                        subject.complete();\n                    };\n                    try {\n                        callbackFunc.apply(context, [...args, handler]);\n                    }\n                    catch (err) {\n                        if (canReportError(subject)) {\n                            subject.error(err);\n                        }\n                        else {\n                            console.warn(err);\n                        }\n                    }\n                }\n                return subject.subscribe(subscriber);\n            }\n            else {\n                const state = {\n                    args, subscriber, params,\n                };\n                return scheduler.schedule(dispatch, 0, state);\n            }\n        });\n    };\n}\nfunction dispatch(state) {\n    const self = this;\n    const { args, subscriber, params } = state;\n    const { callbackFunc, context, scheduler } = params;\n    let { subject } = params;\n    if (!subject) {\n        subject = params.subject = new AsyncSubject();\n        const handler = (...innerArgs) => {\n            const value = innerArgs.length <= 1 ? innerArgs[0] : innerArgs;\n            this.add(scheduler.schedule(dispatchNext, 0, { value, subject }));\n        };\n        try {\n            callbackFunc.apply(context, [...args, handler]);\n        }\n        catch (err) {\n            subject.error(err);\n        }\n    }\n    this.add(subject.subscribe(subscriber));\n}\nfunction dispatchNext(state) {\n    const { value, subject } = state;\n    subject.next(value);\n    subject.complete();\n}\nfunction dispatchError(state) {\n    const { err, subject } = state;\n    subject.error(err);\n}\n","import { Observable } from '../Observable';\nimport { AsyncSubject } from '../AsyncSubject';\nimport { map } from '../operators/map';\nimport { canReportError } from '../util/canReportError';\nimport { isScheduler } from '../util/isScheduler';\nimport { isArray } from '../util/isArray';\nexport function bindNodeCallback(callbackFunc, resultSelector, scheduler) {\n    if (resultSelector) {\n        if (isScheduler(resultSelector)) {\n            scheduler = resultSelector;\n        }\n        else {\n            return (...args) => bindNodeCallback(callbackFunc, scheduler)(...args).pipe(map(args => isArray(args) ? resultSelector(...args) : resultSelector(args)));\n        }\n    }\n    return function (...args) {\n        const params = {\n            subject: undefined,\n            args,\n            callbackFunc,\n            scheduler,\n            context: this,\n        };\n        return new Observable(subscriber => {\n            const { context } = params;\n            let { subject } = params;\n            if (!scheduler) {\n                if (!subject) {\n                    subject = params.subject = new AsyncSubject();\n                    const handler = (...innerArgs) => {\n                        const err = innerArgs.shift();\n                        if (err) {\n                            subject.error(err);\n                            return;\n                        }\n                        subject.next(innerArgs.length <= 1 ? innerArgs[0] : innerArgs);\n                        subject.complete();\n                    };\n                    try {\n                        callbackFunc.apply(context, [...args, handler]);\n                    }\n                    catch (err) {\n                        if (canReportError(subject)) {\n                            subject.error(err);\n                        }\n                        else {\n                            console.warn(err);\n                        }\n                    }\n                }\n                return subject.subscribe(subscriber);\n            }\n            else {\n                return scheduler.schedule(dispatch, 0, { params, subscriber, context });\n            }\n        });\n    };\n}\nfunction dispatch(state) {\n    const { params, subscriber, context } = state;\n    const { callbackFunc, args, scheduler } = params;\n    let subject = params.subject;\n    if (!subject) {\n        subject = params.subject = new AsyncSubject();\n        const handler = (...innerArgs) => {\n            const err = innerArgs.shift();\n            if (err) {\n                this.add(scheduler.schedule(dispatchError, 0, { err, subject }));\n            }\n            else {\n                const value = innerArgs.length <= 1 ? innerArgs[0] : innerArgs;\n                this.add(scheduler.schedule(dispatchNext, 0, { value, subject }));\n            }\n        };\n        try {\n            callbackFunc.apply(context, [...args, handler]);\n        }\n        catch (err) {\n            this.add(scheduler.schedule(dispatchError, 0, { err, subject }));\n        }\n    }\n    this.add(subject.subscribe(subscriber));\n}\nfunction dispatchNext(arg) {\n    const { value, subject } = arg;\n    subject.next(value);\n    subject.complete();\n}\nfunction dispatchError(arg) {\n    const { err, subject } = arg;\n    subject.error(err);\n}\n","import { Observable } from '../Observable';\nimport { isArray } from '../util/isArray';\nimport { isFunction } from '../util/isFunction';\nimport { map } from '../operators/map';\nexport function fromEventPattern(addHandler, removeHandler, resultSelector) {\n    if (resultSelector) {\n        return fromEventPattern(addHandler, removeHandler).pipe(map(args => isArray(args) ? resultSelector(...args) : resultSelector(args)));\n    }\n    return new Observable(subscriber => {\n        const handler = (...e) => subscriber.next(e.length === 1 ? e[0] : e);\n        let retValue;\n        try {\n            retValue = addHandler(handler);\n        }\n        catch (err) {\n            subscriber.error(err);\n            return undefined;\n        }\n        if (!isFunction(removeHandler)) {\n            return undefined;\n        }\n        return () => removeHandler(handler, retValue);\n    });\n}\n","import { Observable } from '../Observable';\nimport { identity } from '../util/identity';\nimport { isScheduler } from '../util/isScheduler';\nexport function generate(initialStateOrOptions, condition, iterate, resultSelectorOrObservable, scheduler) {\n    let resultSelector;\n    let initialState;\n    if (arguments.length == 1) {\n        const options = initialStateOrOptions;\n        initialState = options.initialState;\n        condition = options.condition;\n        iterate = options.iterate;\n        resultSelector = options.resultSelector || identity;\n        scheduler = options.scheduler;\n    }\n    else if (resultSelectorOrObservable === undefined || isScheduler(resultSelectorOrObservable)) {\n        initialState = initialStateOrOptions;\n        resultSelector = identity;\n        scheduler = resultSelectorOrObservable;\n    }\n    else {\n        initialState = initialStateOrOptions;\n        resultSelector = resultSelectorOrObservable;\n    }\n    return new Observable(subscriber => {\n        let state = initialState;\n        if (scheduler) {\n            return scheduler.schedule(dispatch, 0, {\n                subscriber,\n                iterate,\n                condition,\n                resultSelector,\n                state\n            });\n        }\n        do {\n            if (condition) {\n                let conditionResult;\n                try {\n                    conditionResult = condition(state);\n                }\n                catch (err) {\n                    subscriber.error(err);\n                    return undefined;\n                }\n                if (!conditionResult) {\n                    subscriber.complete();\n                    break;\n                }\n            }\n            let value;\n            try {\n                value = resultSelector(state);\n            }\n            catch (err) {\n                subscriber.error(err);\n                return undefined;\n            }\n            subscriber.next(value);\n            if (subscriber.closed) {\n                break;\n            }\n            try {\n                state = iterate(state);\n            }\n            catch (err) {\n                subscriber.error(err);\n                return undefined;\n            }\n        } while (true);\n        return undefined;\n    });\n}\nfunction dispatch(state) {\n    const { subscriber, condition } = state;\n    if (subscriber.closed) {\n        return undefined;\n    }\n    if (state.needIterate) {\n        try {\n            state.state = state.iterate(state.state);\n        }\n        catch (err) {\n            subscriber.error(err);\n            return undefined;\n        }\n    }\n    else {\n        state.needIterate = true;\n    }\n    if (condition) {\n        let conditionResult;\n        try {\n            conditionResult = condition(state.state);\n        }\n        catch (err) {\n            subscriber.error(err);\n            return undefined;\n        }\n        if (!conditionResult) {\n            subscriber.complete();\n            return undefined;\n        }\n        if (subscriber.closed) {\n            return undefined;\n        }\n    }\n    let value;\n    try {\n        value = state.resultSelector(state.state);\n    }\n    catch (err) {\n        subscriber.error(err);\n        return undefined;\n    }\n    if (subscriber.closed) {\n        return undefined;\n    }\n    subscriber.next(value);\n    if (subscriber.closed) {\n        return undefined;\n    }\n    return this.schedule(state);\n}\n","import { Observable } from '../Observable';\nimport { noop } from '../util/noop';\nexport const NEVER = new Observable(noop);\nexport function never() {\n    return NEVER;\n}\n","import { Observable } from '../Observable';\nimport { from } from './from';\nimport { isArray } from '../util/isArray';\nimport { EMPTY } from './empty';\nexport function onErrorResumeNext(...sources) {\n    if (sources.length === 0) {\n        return EMPTY;\n    }\n    const [first, ...remainder] = sources;\n    if (sources.length === 1 && isArray(first)) {\n        return onErrorResumeNext(...first);\n    }\n    return new Observable(subscriber => {\n        const subNext = () => subscriber.add(onErrorResumeNext(...remainder).subscribe(subscriber));\n        return from(first).subscribe({\n            next(value) { subscriber.next(value); },\n            error: subNext,\n            complete: subNext,\n        });\n    });\n}\n","import { Observable } from '../Observable';\nimport { Subscription } from '../Subscription';\nexport function pairs(obj, scheduler) {\n    if (!scheduler) {\n        return new Observable(subscriber => {\n            const keys = Object.keys(obj);\n            for (let i = 0; i < keys.length && !subscriber.closed; i++) {\n                const key = keys[i];\n                if (obj.hasOwnProperty(key)) {\n                    subscriber.next([key, obj[key]]);\n                }\n            }\n            subscriber.complete();\n        });\n    }\n    else {\n        return new Observable(subscriber => {\n            const keys = Object.keys(obj);\n            const subscription = new Subscription();\n            subscription.add(scheduler.schedule(dispatch, 0, { keys, index: 0, subscriber, subscription, obj }));\n            return subscription;\n        });\n    }\n}\nexport function dispatch(state) {\n    const { keys, index, subscriber, subscription, obj } = state;\n    if (!subscriber.closed) {\n        if (index < keys.length) {\n            const key = keys[index];\n            subscriber.next([key, obj[key]]);\n            subscription.add(this.schedule({ keys, index: index + 1, subscriber, subscription, obj }));\n        }\n        else {\n            subscriber.complete();\n        }\n    }\n}\n","import { not } from '../util/not';\nimport { subscribeTo } from '../util/subscribeTo';\nimport { filter } from '../operators/filter';\nimport { Observable } from '../Observable';\nexport function partition(source, predicate, thisArg) {\n    return [\n        filter(predicate, thisArg)(new Observable(subscribeTo(source))),\n        filter(not(predicate, thisArg))(new Observable(subscribeTo(source)))\n    ];\n}\n","import { Observable } from '../Observable';\nexport function range(start = 0, count, scheduler) {\n    return new Observable(subscriber => {\n        if (count === undefined) {\n            count = start;\n            start = 0;\n        }\n        let index = 0;\n        let current = start;\n        if (scheduler) {\n            return scheduler.schedule(dispatch, 0, {\n                index, count, start, subscriber\n            });\n        }\n        else {\n            do {\n                if (index++ >= count) {\n                    subscriber.complete();\n                    break;\n                }\n                subscriber.next(current++);\n                if (subscriber.closed) {\n                    break;\n                }\n            } while (true);\n        }\n        return undefined;\n    });\n}\nexport function dispatch(state) {\n    const { start, index, count, subscriber } = state;\n    if (index >= count) {\n        subscriber.complete();\n        return;\n    }\n    subscriber.next(start);\n    if (subscriber.closed) {\n        return;\n    }\n    state.index = index + 1;\n    state.start = start + 1;\n    this.schedule(state);\n}\n","import { Observable } from '../Observable';\nimport { from } from './from';\nimport { EMPTY } from './empty';\nexport function using(resourceFactory, observableFactory) {\n    return new Observable(subscriber => {\n        let resource;\n        try {\n            resource = resourceFactory();\n        }\n        catch (err) {\n            subscriber.error(err);\n            return undefined;\n        }\n        let result;\n        try {\n            result = observableFactory(resource);\n        }\n        catch (err) {\n            subscriber.error(err);\n            return undefined;\n        }\n        const source = result ? from(result) : EMPTY;\n        const subscription = source.subscribe(subscriber);\n        return () => {\n            subscription.unsubscribe();\n            if (resource) {\n                resource.unsubscribe();\n            }\n        };\n    });\n}\n","import { Subject } from './Subject';\nimport { Subscription } from './Subscription';\nexport class AsyncSubject extends Subject {\n    constructor() {\n        super(...arguments);\n        this.value = null;\n        this.hasNext = false;\n        this.hasCompleted = false;\n    }\n    _subscribe(subscriber) {\n        if (this.hasError) {\n            subscriber.error(this.thrownError);\n            return Subscription.EMPTY;\n        }\n        else if (this.hasCompleted && this.hasNext) {\n            subscriber.next(this.value);\n            subscriber.complete();\n            return Subscription.EMPTY;\n        }\n        return super._subscribe(subscriber);\n    }\n    next(value) {\n        if (!this.hasCompleted) {\n            this.value = value;\n            this.hasNext = true;\n        }\n    }\n    error(error) {\n        if (!this.hasCompleted) {\n            super.error(error);\n        }\n    }\n    complete() {\n        this.hasCompleted = true;\n        if (this.hasNext) {\n            super.next(this.value);\n        }\n        super.complete();\n    }\n}\n","import { Subject } from './Subject';\nimport { ObjectUnsubscribedError } from './util/ObjectUnsubscribedError';\nexport class BehaviorSubject extends Subject {\n    constructor(_value) {\n        super();\n        this._value = _value;\n    }\n    get value() {\n        return this.getValue();\n    }\n    _subscribe(subscriber) {\n        const subscription = super._subscribe(subscriber);\n        if (subscription && !subscription.closed) {\n            subscriber.next(this._value);\n        }\n        return subscription;\n    }\n    getValue() {\n        if (this.hasError) {\n            throw this.thrownError;\n        }\n        else if (this.closed) {\n            throw new ObjectUnsubscribedError();\n        }\n        else {\n            return this._value;\n        }\n    }\n    next(value) {\n        super.next(this._value = value);\n    }\n}\n","import { empty } from './observable/empty';\nimport { of } from './observable/of';\nimport { throwError } from './observable/throwError';\nexport var NotificationKind;\n(function (NotificationKind) {\n    NotificationKind[\"NEXT\"] = \"N\";\n    NotificationKind[\"ERROR\"] = \"E\";\n    NotificationKind[\"COMPLETE\"] = \"C\";\n})(NotificationKind || (NotificationKind = {}));\nexport class Notification {\n    constructor(kind, value, error) {\n        this.kind = kind;\n        this.value = value;\n        this.error = error;\n        this.hasValue = kind === 'N';\n    }\n    observe(observer) {\n        switch (this.kind) {\n            case 'N':\n                return observer.next && observer.next(this.value);\n            case 'E':\n                return observer.error && observer.error(this.error);\n            case 'C':\n                return observer.complete && observer.complete();\n        }\n    }\n    do(next, error, complete) {\n        const kind = this.kind;\n        switch (kind) {\n            case 'N':\n                return next && next(this.value);\n            case 'E':\n                return error && error(this.error);\n            case 'C':\n                return complete && complete();\n        }\n    }\n    accept(nextOrObserver, error, complete) {\n        if (nextOrObserver && typeof nextOrObserver.next === 'function') {\n            return this.observe(nextOrObserver);\n        }\n        else {\n            return this.do(nextOrObserver, error, complete);\n        }\n    }\n    toObservable() {\n        const kind = this.kind;\n        switch (kind) {\n            case 'N':\n                return of(this.value);\n            case 'E':\n                return throwError(this.error);\n            case 'C':\n                return empty();\n        }\n        throw new Error('unexpected notification kind value');\n    }\n    static createNext(value) {\n        if (typeof value !== 'undefined') {\n            return new Notification('N', value);\n        }\n        return Notification.undefinedValueNotification;\n    }\n    static createError(err) {\n        return new Notification('E', undefined, err);\n    }\n    static createComplete() {\n        return Notification.completeNotification;\n    }\n}\nNotification.completeNotification = new Notification('C');\nNotification.undefinedValueNotification = new Notification('N', undefined);\n","import { canReportError } from './util/canReportError';\nimport { toSubscriber } from './util/toSubscriber';\nimport { observable as Symbol_observable } from './symbol/observable';\nimport { pipeFromArray } from './util/pipe';\nimport { config } from './config';\nexport class Observable {\n    constructor(subscribe) {\n        this._isScalar = false;\n        if (subscribe) {\n            this._subscribe = subscribe;\n        }\n    }\n    lift(operator) {\n        const observable = new Observable();\n        observable.source = this;\n        observable.operator = operator;\n        return observable;\n    }\n    subscribe(observerOrNext, error, complete) {\n        const { operator } = this;\n        const sink = toSubscriber(observerOrNext, error, complete);\n        if (operator) {\n            sink.add(operator.call(sink, this.source));\n        }\n        else {\n            sink.add(this.source || (config.useDeprecatedSynchronousErrorHandling && !sink.syncErrorThrowable) ?\n                this._subscribe(sink) :\n                this._trySubscribe(sink));\n        }\n        if (config.useDeprecatedSynchronousErrorHandling) {\n            if (sink.syncErrorThrowable) {\n                sink.syncErrorThrowable = false;\n                if (sink.syncErrorThrown) {\n                    throw sink.syncErrorValue;\n                }\n            }\n        }\n        return sink;\n    }\n    _trySubscribe(sink) {\n        try {\n            return this._subscribe(sink);\n        }\n        catch (err) {\n            if (config.useDeprecatedSynchronousErrorHandling) {\n                sink.syncErrorThrown = true;\n                sink.syncErrorValue = err;\n            }\n            if (canReportError(sink)) {\n                sink.error(err);\n            }\n            else {\n                console.warn(err);\n            }\n        }\n    }\n    forEach(next, promiseCtor) {\n        promiseCtor = getPromiseCtor(promiseCtor);\n        return new promiseCtor((resolve, reject) => {\n            let subscription;\n            subscription = this.subscribe((value) => {\n                try {\n                    next(value);\n                }\n                catch (err) {\n                    reject(err);\n                    if (subscription) {\n                        subscription.unsubscribe();\n                    }\n                }\n            }, reject, resolve);\n        });\n    }\n    _subscribe(subscriber) {\n        const { source } = this;\n        return source && source.subscribe(subscriber);\n    }\n    [Symbol_observable]() {\n        return this;\n    }\n    pipe(...operations) {\n        if (operations.length === 0) {\n            return this;\n        }\n        return pipeFromArray(operations)(this);\n    }\n    toPromise(promiseCtor) {\n        promiseCtor = getPromiseCtor(promiseCtor);\n        return new promiseCtor((resolve, reject) => {\n            let value;\n            this.subscribe((x) => value = x, (err) => reject(err), () => resolve(value));\n        });\n    }\n}\nObservable.create = (subscribe) => {\n    return new Observable(subscribe);\n};\nfunction getPromiseCtor(promiseCtor) {\n    if (!promiseCtor) {\n        promiseCtor = config.Promise || Promise;\n    }\n    if (!promiseCtor) {\n        throw new Error('no Promise impl found');\n    }\n    return promiseCtor;\n}\n","import { Subscriber } from '../Subscriber';\nimport { rxSubscriber as rxSubscriberSymbol } from '../symbol/rxSubscriber';\nimport { empty as emptyObserver } from '../Observer';\nexport function toSubscriber(nextOrObserver, error, complete) {\n    if (nextOrObserver) {\n        if (nextOrObserver instanceof Subscriber) {\n            return nextOrObserver;\n        }\n        if (nextOrObserver[rxSubscriberSymbol]) {\n            return nextOrObserver[rxSubscriberSymbol]();\n        }\n    }\n    if (!nextOrObserver && !error && !complete) {\n        return new Subscriber(emptyObserver);\n    }\n    return new Subscriber(nextOrObserver, error, complete);\n}\n","import { config } from './config';\nimport { hostReportError } from './util/hostReportError';\nexport const empty = {\n    closed: true,\n    next(value) { },\n    error(err) {\n        if (config.useDeprecatedSynchronousErrorHandling) {\n            throw err;\n        }\n        else {\n            hostReportError(err);\n        }\n    },\n    complete() { }\n};\n","import { Subscriber } from './Subscriber';\nexport class OuterSubscriber extends Subscriber {\n    notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) {\n        this.destination.next(innerValue);\n    }\n    notifyError(error, innerSub) {\n        this.destination.error(error);\n    }\n    notifyComplete(innerSub) {\n        this.destination.complete();\n    }\n}\n","import { Subject } from './Subject';\nimport { queue } from './scheduler/queue';\nimport { Subscription } from './Subscription';\nimport { ObserveOnSubscriber } from './operators/observeOn';\nimport { ObjectUnsubscribedError } from './util/ObjectUnsubscribedError';\nimport { SubjectSubscription } from './SubjectSubscription';\nexport class ReplaySubject extends Subject {\n    constructor(bufferSize = Number.POSITIVE_INFINITY, windowTime = Number.POSITIVE_INFINITY, scheduler) {\n        super();\n        this.scheduler = scheduler;\n        this._events = [];\n        this._infiniteTimeWindow = false;\n        this._bufferSize = bufferSize < 1 ? 1 : bufferSize;\n        this._windowTime = windowTime < 1 ? 1 : windowTime;\n        if (windowTime === Number.POSITIVE_INFINITY) {\n            this._infiniteTimeWindow = true;\n            this.next = this.nextInfiniteTimeWindow;\n        }\n        else {\n            this.next = this.nextTimeWindow;\n        }\n    }\n    nextInfiniteTimeWindow(value) {\n        if (!this.isStopped) {\n            const _events = this._events;\n            _events.push(value);\n            if (_events.length > this._bufferSize) {\n                _events.shift();\n            }\n        }\n        super.next(value);\n    }\n    nextTimeWindow(value) {\n        if (!this.isStopped) {\n            this._events.push(new ReplayEvent(this._getNow(), value));\n            this._trimBufferThenGetEvents();\n        }\n        super.next(value);\n    }\n    _subscribe(subscriber) {\n        const _infiniteTimeWindow = this._infiniteTimeWindow;\n        const _events = _infiniteTimeWindow ? this._events : this._trimBufferThenGetEvents();\n        const scheduler = this.scheduler;\n        const len = _events.length;\n        let subscription;\n        if (this.closed) {\n            throw new ObjectUnsubscribedError();\n        }\n        else if (this.isStopped || this.hasError) {\n            subscription = Subscription.EMPTY;\n        }\n        else {\n            this.observers.push(subscriber);\n            subscription = new SubjectSubscription(this, subscriber);\n        }\n        if (scheduler) {\n            subscriber.add(subscriber = new ObserveOnSubscriber(subscriber, scheduler));\n        }\n        if (_infiniteTimeWindow) {\n            for (let i = 0; i < len && !subscriber.closed; i++) {\n                subscriber.next(_events[i]);\n            }\n        }\n        else {\n            for (let i = 0; i < len && !subscriber.closed; i++) {\n                subscriber.next(_events[i].value);\n            }\n        }\n        if (this.hasError) {\n            subscriber.error(this.thrownError);\n        }\n        else if (this.isStopped) {\n            subscriber.complete();\n        }\n        return subscription;\n    }\n    _getNow() {\n        return (this.scheduler || queue).now();\n    }\n    _trimBufferThenGetEvents() {\n        const now = this._getNow();\n        const _bufferSize = this._bufferSize;\n        const _windowTime = this._windowTime;\n        const _events = this._events;\n        const eventsCount = _events.length;\n        let spliceCount = 0;\n        while (spliceCount < eventsCount) {\n            if ((now - _events[spliceCount].time) < _windowTime) {\n                break;\n            }\n            spliceCount++;\n        }\n        if (eventsCount > _bufferSize) {\n            spliceCount = Math.max(spliceCount, eventsCount - _bufferSize);\n        }\n        if (spliceCount > 0) {\n            _events.splice(0, spliceCount);\n        }\n        return _events;\n    }\n}\nclass ReplayEvent {\n    constructor(time, value) {\n        this.time = time;\n        this.value = value;\n    }\n}\n","export class Scheduler {\n    constructor(SchedulerAction, now = Scheduler.now) {\n        this.SchedulerAction = SchedulerAction;\n        this.now = now;\n    }\n    schedule(work, delay = 0, state) {\n        return new this.SchedulerAction(this, work).schedule(state, delay);\n    }\n}\nScheduler.now = () => Date.now();\n","import { Observable } from './Observable';\nimport { Subscriber } from './Subscriber';\nimport { Subscription } from './Subscription';\nimport { ObjectUnsubscribedError } from './util/ObjectUnsubscribedError';\nimport { SubjectSubscription } from './SubjectSubscription';\nimport { rxSubscriber as rxSubscriberSymbol } from '../internal/symbol/rxSubscriber';\nexport class SubjectSubscriber extends Subscriber {\n    constructor(destination) {\n        super(destination);\n        this.destination = destination;\n    }\n}\nexport class Subject extends Observable {\n    constructor() {\n        super();\n        this.observers = [];\n        this.closed = false;\n        this.isStopped = false;\n        this.hasError = false;\n        this.thrownError = null;\n    }\n    [rxSubscriberSymbol]() {\n        return new SubjectSubscriber(this);\n    }\n    lift(operator) {\n        const subject = new AnonymousSubject(this, this);\n        subject.operator = operator;\n        return subject;\n    }\n    next(value) {\n        if (this.closed) {\n            throw new ObjectUnsubscribedError();\n        }\n        if (!this.isStopped) {\n            const { observers } = this;\n            const len = observers.length;\n            const copy = observers.slice();\n            for (let i = 0; i < len; i++) {\n                copy[i].next(value);\n            }\n        }\n    }\n    error(err) {\n        if (this.closed) {\n            throw new ObjectUnsubscribedError();\n        }\n        this.hasError = true;\n        this.thrownError = err;\n        this.isStopped = true;\n        const { observers } = this;\n        const len = observers.length;\n        const copy = observers.slice();\n        for (let i = 0; i < len; i++) {\n            copy[i].error(err);\n        }\n        this.observers.length = 0;\n    }\n    complete() {\n        if (this.closed) {\n            throw new ObjectUnsubscribedError();\n        }\n        this.isStopped = true;\n        const { observers } = this;\n        const len = observers.length;\n        const copy = observers.slice();\n        for (let i = 0; i < len; i++) {\n            copy[i].complete();\n        }\n        this.observers.length = 0;\n    }\n    unsubscribe() {\n        this.isStopped = true;\n        this.closed = true;\n        this.observers = null;\n    }\n    _trySubscribe(subscriber) {\n        if (this.closed) {\n            throw new ObjectUnsubscribedError();\n        }\n        else {\n            return super._trySubscribe(subscriber);\n        }\n    }\n    _subscribe(subscriber) {\n        if (this.closed) {\n            throw new ObjectUnsubscribedError();\n        }\n        else if (this.hasError) {\n            subscriber.error(this.thrownError);\n            return Subscription.EMPTY;\n        }\n        else if (this.isStopped) {\n            subscriber.complete();\n            return Subscription.EMPTY;\n        }\n        else {\n            this.observers.push(subscriber);\n            return new SubjectSubscription(this, subscriber);\n        }\n    }\n    asObservable() {\n        const observable = new Observable();\n        observable.source = this;\n        return observable;\n    }\n}\nSubject.create = (destination, source) => {\n    return new AnonymousSubject(destination, source);\n};\nexport class AnonymousSubject extends Subject {\n    constructor(destination, source) {\n        super();\n        this.destination = destination;\n        this.source = source;\n    }\n    next(value) {\n        const { destination } = this;\n        if (destination && destination.next) {\n            destination.next(value);\n        }\n    }\n    error(err) {\n        const { destination } = this;\n        if (destination && destination.error) {\n            this.destination.error(err);\n        }\n    }\n    complete() {\n        const { destination } = this;\n        if (destination && destination.complete) {\n            this.destination.complete();\n        }\n    }\n    _subscribe(subscriber) {\n        const { source } = this;\n        if (source) {\n            return this.source.subscribe(subscriber);\n        }\n        else {\n            return Subscription.EMPTY;\n        }\n    }\n}\n","import { Subscription } from './Subscription';\nexport class SubjectSubscription extends Subscription {\n    constructor(subject, subscriber) {\n        super();\n        this.subject = subject;\n        this.subscriber = subscriber;\n        this.closed = false;\n    }\n    unsubscribe() {\n        if (this.closed) {\n            return;\n        }\n        this.closed = true;\n        const subject = this.subject;\n        const observers = subject.observers;\n        this.subject = null;\n        if (!observers || observers.length === 0 || subject.isStopped || subject.closed) {\n            return;\n        }\n        const subscriberIndex = observers.indexOf(this.subscriber);\n        if (subscriberIndex !== -1) {\n            observers.splice(subscriberIndex, 1);\n        }\n    }\n}\n","import { isFunction } from './util/isFunction';\nimport { empty as emptyObserver } from './Observer';\nimport { Subscription } from './Subscription';\nimport { rxSubscriber as rxSubscriberSymbol } from '../internal/symbol/rxSubscriber';\nimport { config } from './config';\nimport { hostReportError } from './util/hostReportError';\nexport class Subscriber extends Subscription {\n    constructor(destinationOrNext, error, complete) {\n        super();\n        this.syncErrorValue = null;\n        this.syncErrorThrown = false;\n        this.syncErrorThrowable = false;\n        this.isStopped = false;\n        switch (arguments.length) {\n            case 0:\n                this.destination = emptyObserver;\n                break;\n            case 1:\n                if (!destinationOrNext) {\n                    this.destination = emptyObserver;\n                    break;\n                }\n                if (typeof destinationOrNext === 'object') {\n                    if (destinationOrNext instanceof Subscriber) {\n                        this.syncErrorThrowable = destinationOrNext.syncErrorThrowable;\n                        this.destination = destinationOrNext;\n                        destinationOrNext.add(this);\n                    }\n                    else {\n                        this.syncErrorThrowable = true;\n                        this.destination = new SafeSubscriber(this, destinationOrNext);\n                    }\n                    break;\n                }\n            default:\n                this.syncErrorThrowable = true;\n                this.destination = new SafeSubscriber(this, destinationOrNext, error, complete);\n                break;\n        }\n    }\n    [rxSubscriberSymbol]() { return this; }\n    static create(next, error, complete) {\n        const subscriber = new Subscriber(next, error, complete);\n        subscriber.syncErrorThrowable = false;\n        return subscriber;\n    }\n    next(value) {\n        if (!this.isStopped) {\n            this._next(value);\n        }\n    }\n    error(err) {\n        if (!this.isStopped) {\n            this.isStopped = true;\n            this._error(err);\n        }\n    }\n    complete() {\n        if (!this.isStopped) {\n            this.isStopped = true;\n            this._complete();\n        }\n    }\n    unsubscribe() {\n        if (this.closed) {\n            return;\n        }\n        this.isStopped = true;\n        super.unsubscribe();\n    }\n    _next(value) {\n        this.destination.next(value);\n    }\n    _error(err) {\n        this.destination.error(err);\n        this.unsubscribe();\n    }\n    _complete() {\n        this.destination.complete();\n        this.unsubscribe();\n    }\n    _unsubscribeAndRecycle() {\n        const { _parentOrParents } = this;\n        this._parentOrParents = null;\n        this.unsubscribe();\n        this.closed = false;\n        this.isStopped = false;\n        this._parentOrParents = _parentOrParents;\n        return this;\n    }\n}\nexport class SafeSubscriber extends Subscriber {\n    constructor(_parentSubscriber, observerOrNext, error, complete) {\n        super();\n        this._parentSubscriber = _parentSubscriber;\n        let next;\n        let context = this;\n        if (isFunction(observerOrNext)) {\n            next = observerOrNext;\n        }\n        else if (observerOrNext) {\n            next = observerOrNext.next;\n            error = observerOrNext.error;\n            complete = observerOrNext.complete;\n            if (observerOrNext !== emptyObserver) {\n                context = Object.create(observerOrNext);\n                if (isFunction(context.unsubscribe)) {\n                    this.add(context.unsubscribe.bind(context));\n                }\n                context.unsubscribe = this.unsubscribe.bind(this);\n            }\n        }\n        this._context = context;\n        this._next = next;\n        this._error = error;\n        this._complete = complete;\n    }\n    next(value) {\n        if (!this.isStopped && this._next) {\n            const { _parentSubscriber } = this;\n            if (!config.useDeprecatedSynchronousErrorHandling || !_parentSubscriber.syncErrorThrowable) {\n                this.__tryOrUnsub(this._next, value);\n            }\n            else if (this.__tryOrSetError(_parentSubscriber, this._next, value)) {\n                this.unsubscribe();\n            }\n        }\n    }\n    error(err) {\n        if (!this.isStopped) {\n            const { _parentSubscriber } = this;\n            const { useDeprecatedSynchronousErrorHandling } = config;\n            if (this._error) {\n                if (!useDeprecatedSynchronousErrorHandling || !_parentSubscriber.syncErrorThrowable) {\n                    this.__tryOrUnsub(this._error, err);\n                    this.unsubscribe();\n                }\n                else {\n                    this.__tryOrSetError(_parentSubscriber, this._error, err);\n                    this.unsubscribe();\n                }\n            }\n            else if (!_parentSubscriber.syncErrorThrowable) {\n                this.unsubscribe();\n                if (useDeprecatedSynchronousErrorHandling) {\n                    throw err;\n                }\n                hostReportError(err);\n            }\n            else {\n                if (useDeprecatedSynchronousErrorHandling) {\n                    _parentSubscriber.syncErrorValue = err;\n                    _parentSubscriber.syncErrorThrown = true;\n                }\n                else {\n                    hostReportError(err);\n                }\n                this.unsubscribe();\n            }\n        }\n    }\n    complete() {\n        if (!this.isStopped) {\n            const { _parentSubscriber } = this;\n            if (this._complete) {\n                const wrappedComplete = () => this._complete.call(this._context);\n                if (!config.useDeprecatedSynchronousErrorHandling || !_parentSubscriber.syncErrorThrowable) {\n                    this.__tryOrUnsub(wrappedComplete);\n                    this.unsubscribe();\n                }\n                else {\n                    this.__tryOrSetError(_parentSubscriber, wrappedComplete);\n                    this.unsubscribe();\n                }\n            }\n            else {\n                this.unsubscribe();\n            }\n        }\n    }\n    __tryOrUnsub(fn, value) {\n        try {\n            fn.call(this._context, value);\n        }\n        catch (err) {\n            this.unsubscribe();\n            if (config.useDeprecatedSynchronousErrorHandling) {\n                throw err;\n            }\n            else {\n                hostReportError(err);\n            }\n        }\n    }\n    __tryOrSetError(parent, fn, value) {\n        if (!config.useDeprecatedSynchronousErrorHandling) {\n            throw new Error('bad call');\n        }\n        try {\n            fn.call(this._context, value);\n        }\n        catch (err) {\n            if (config.useDeprecatedSynchronousErrorHandling) {\n                parent.syncErrorValue = err;\n                parent.syncErrorThrown = true;\n                return true;\n            }\n            else {\n                hostReportError(err);\n                return true;\n            }\n        }\n        return false;\n    }\n    _unsubscribe() {\n        const { _parentSubscriber } = this;\n        this._context = null;\n        this._parentSubscriber = null;\n        _parentSubscriber.unsubscribe();\n    }\n}\n","import { isArray } from './util/isArray';\nimport { isObject } from './util/isObject';\nimport { isFunction } from './util/isFunction';\nimport { UnsubscriptionError } from './util/UnsubscriptionError';\nexport class Subscription {\n    constructor(unsubscribe) {\n        this.closed = false;\n        this._parentOrParents = null;\n        this._subscriptions = null;\n        if (unsubscribe) {\n            this._ctorUnsubscribe = true;\n            this._unsubscribe = unsubscribe;\n        }\n    }\n    unsubscribe() {\n        let errors;\n        if (this.closed) {\n            return;\n        }\n        let { _parentOrParents, _ctorUnsubscribe, _unsubscribe, _subscriptions } = this;\n        this.closed = true;\n        this._parentOrParents = null;\n        this._subscriptions = null;\n        if (_parentOrParents instanceof Subscription) {\n            _parentOrParents.remove(this);\n        }\n        else if (_parentOrParents !== null) {\n            for (let index = 0; index < _parentOrParents.length; ++index) {\n                const parent = _parentOrParents[index];\n                parent.remove(this);\n            }\n        }\n        if (isFunction(_unsubscribe)) {\n            if (_ctorUnsubscribe) {\n                this._unsubscribe = undefined;\n            }\n            try {\n                _unsubscribe.call(this);\n            }\n            catch (e) {\n                errors = e instanceof UnsubscriptionError ? flattenUnsubscriptionErrors(e.errors) : [e];\n            }\n        }\n        if (isArray(_subscriptions)) {\n            let index = -1;\n            let len = _subscriptions.length;\n            while (++index < len) {\n                const sub = _subscriptions[index];\n                if (isObject(sub)) {\n                    try {\n                        sub.unsubscribe();\n                    }\n                    catch (e) {\n                        errors = errors || [];\n                        if (e instanceof UnsubscriptionError) {\n                            errors = errors.concat(flattenUnsubscriptionErrors(e.errors));\n                        }\n                        else {\n                            errors.push(e);\n                        }\n                    }\n                }\n            }\n        }\n        if (errors) {\n            throw new UnsubscriptionError(errors);\n        }\n    }\n    add(teardown) {\n        let subscription = teardown;\n        if (!teardown) {\n            return Subscription.EMPTY;\n        }\n        switch (typeof teardown) {\n            case 'function':\n                subscription = new Subscription(teardown);\n            case 'object':\n                if (subscription === this || subscription.closed || typeof subscription.unsubscribe !== 'function') {\n                    return subscription;\n                }\n                else if (this.closed) {\n                    subscription.unsubscribe();\n                    return subscription;\n                }\n                else if (!(subscription instanceof Subscription)) {\n                    const tmp = subscription;\n                    subscription = new Subscription();\n                    subscription._subscriptions = [tmp];\n                }\n                break;\n            default: {\n                throw new Error('unrecognized teardown ' + teardown + ' added to Subscription.');\n            }\n        }\n        let { _parentOrParents } = subscription;\n        if (_parentOrParents === null) {\n            subscription._parentOrParents = this;\n        }\n        else if (_parentOrParents instanceof Subscription) {\n            if (_parentOrParents === this) {\n                return subscription;\n            }\n            subscription._parentOrParents = [_parentOrParents, this];\n        }\n        else if (_parentOrParents.indexOf(this) === -1) {\n            _parentOrParents.push(this);\n        }\n        else {\n            return subscription;\n        }\n        const subscriptions = this._subscriptions;\n        if (subscriptions === null) {\n            this._subscriptions = [subscription];\n        }\n        else {\n            subscriptions.push(subscription);\n        }\n        return subscription;\n    }\n    remove(subscription) {\n        const subscriptions = this._subscriptions;\n        if (subscriptions) {\n            const subscriptionIndex = subscriptions.indexOf(subscription);\n            if (subscriptionIndex !== -1) {\n                subscriptions.splice(subscriptionIndex, 1);\n            }\n        }\n    }\n}\nSubscription.EMPTY = (function (empty) {\n    empty.closed = true;\n    return empty;\n}(new Subscription()));\nfunction flattenUnsubscriptionErrors(errors) {\n    return errors.reduce((errs, err) => errs.concat((err instanceof UnsubscriptionError) ? err.errors : err), []);\n}\n","let _enable_super_gross_mode_that_will_cause_bad_things = false;\nexport const config = {\n    Promise: undefined,\n    set useDeprecatedSynchronousErrorHandling(value) {\n        if (value) {\n            const error = new Error();\n            console.warn('DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \\n' + error.stack);\n        }\n        else if (_enable_super_gross_mode_that_will_cause_bad_things) {\n            console.log('RxJS: Back to a better error behavior. Thank you. <3');\n        }\n        _enable_super_gross_mode_that_will_cause_bad_things = value;\n    },\n    get useDeprecatedSynchronousErrorHandling() {\n        return _enable_super_gross_mode_that_will_cause_bad_things;\n    },\n};\n","import { Subscriber } from './Subscriber';\nimport { Observable } from './Observable';\nimport { subscribeTo } from './util/subscribeTo';\nexport class SimpleInnerSubscriber extends Subscriber {\n    constructor(parent) {\n        super();\n        this.parent = parent;\n    }\n    _next(value) {\n        this.parent.notifyNext(value);\n    }\n    _error(error) {\n        this.parent.notifyError(error);\n        this.unsubscribe();\n    }\n    _complete() {\n        this.parent.notifyComplete();\n        this.unsubscribe();\n    }\n}\nexport class ComplexInnerSubscriber extends Subscriber {\n    constructor(parent, outerValue, outerIndex) {\n        super();\n        this.parent = parent;\n        this.outerValue = outerValue;\n        this.outerIndex = outerIndex;\n    }\n    _next(value) {\n        this.parent.notifyNext(this.outerValue, value, this.outerIndex, this);\n    }\n    _error(error) {\n        this.parent.notifyError(error);\n        this.unsubscribe();\n    }\n    _complete() {\n        this.parent.notifyComplete(this);\n        this.unsubscribe();\n    }\n}\nexport class SimpleOuterSubscriber extends Subscriber {\n    notifyNext(innerValue) {\n        this.destination.next(innerValue);\n    }\n    notifyError(err) {\n        this.destination.error(err);\n    }\n    notifyComplete() {\n        this.destination.complete();\n    }\n}\nexport class ComplexOuterSubscriber extends Subscriber {\n    notifyNext(_outerValue, innerValue, _outerIndex, _innerSub) {\n        this.destination.next(innerValue);\n    }\n    notifyError(error) {\n        this.destination.error(error);\n    }\n    notifyComplete(_innerSub) {\n        this.destination.complete();\n    }\n}\nexport function innerSubscribe(result, innerSubscriber) {\n    if (innerSubscriber.closed) {\n        return undefined;\n    }\n    if (result instanceof Observable) {\n        return result.subscribe(innerSubscriber);\n    }\n    return subscribeTo(result)(innerSubscriber);\n}\n","import { SubjectSubscriber } from '../Subject';\nimport { Observable } from '../Observable';\nimport { Subscriber } from '../Subscriber';\nimport { Subscription } from '../Subscription';\nimport { refCount as higherOrderRefCount } from '../operators/refCount';\nexport class ConnectableObservable extends Observable {\n    constructor(source, subjectFactory) {\n        super();\n        this.source = source;\n        this.subjectFactory = subjectFactory;\n        this._refCount = 0;\n        this._isComplete = false;\n    }\n    _subscribe(subscriber) {\n        return this.getSubject().subscribe(subscriber);\n    }\n    getSubject() {\n        const subject = this._subject;\n        if (!subject || subject.isStopped) {\n            this._subject = this.subjectFactory();\n        }\n        return this._subject;\n    }\n    connect() {\n        let connection = this._connection;\n        if (!connection) {\n            this._isComplete = false;\n            connection = this._connection = new Subscription();\n            connection.add(this.source\n                .subscribe(new ConnectableSubscriber(this.getSubject(), this)));\n            if (connection.closed) {\n                this._connection = null;\n                connection = Subscription.EMPTY;\n            }\n        }\n        return connection;\n    }\n    refCount() {\n        return higherOrderRefCount()(this);\n    }\n}\nexport const connectableObservableDescriptor = (() => {\n    const connectableProto = ConnectableObservable.prototype;\n    return {\n        operator: { value: null },\n        _refCount: { value: 0, writable: true },\n        _subject: { value: null, writable: true },\n        _connection: { value: null, writable: true },\n        _subscribe: { value: connectableProto._subscribe },\n        _isComplete: { value: connectableProto._isComplete, writable: true },\n        getSubject: { value: connectableProto.getSubject },\n        connect: { value: connectableProto.connect },\n        refCount: { value: connectableProto.refCount }\n    };\n})();\nclass ConnectableSubscriber extends SubjectSubscriber {\n    constructor(destination, connectable) {\n        super(destination);\n        this.connectable = connectable;\n    }\n    _error(err) {\n        this._unsubscribe();\n        super._error(err);\n    }\n    _complete() {\n        this.connectable._isComplete = true;\n        this._unsubscribe();\n        super._complete();\n    }\n    _unsubscribe() {\n        const connectable = this.connectable;\n        if (connectable) {\n            this.connectable = null;\n            const connection = connectable._connection;\n            connectable._refCount = 0;\n            connectable._subject = null;\n            connectable._connection = null;\n            if (connection) {\n                connection.unsubscribe();\n            }\n        }\n    }\n}\nclass RefCountOperator {\n    constructor(connectable) {\n        this.connectable = connectable;\n    }\n    call(subscriber, source) {\n        const { connectable } = this;\n        connectable._refCount++;\n        const refCounter = new RefCountSubscriber(subscriber, connectable);\n        const subscription = source.subscribe(refCounter);\n        if (!refCounter.closed) {\n            refCounter.connection = connectable.connect();\n        }\n        return subscription;\n    }\n}\nclass RefCountSubscriber extends Subscriber {\n    constructor(destination, connectable) {\n        super(destination);\n        this.connectable = connectable;\n    }\n    _unsubscribe() {\n        const { connectable } = this;\n        if (!connectable) {\n            this.connection = null;\n            return;\n        }\n        this.connectable = null;\n        const refCount = connectable._refCount;\n        if (refCount <= 0) {\n            this.connection = null;\n            return;\n        }\n        connectable._refCount = refCount - 1;\n        if (refCount > 1) {\n            this.connection = null;\n            return;\n        }\n        const { connection } = this;\n        const sharedConnection = connectable._connection;\n        this.connection = null;\n        if (sharedConnection && (!connection || sharedConnection === connection)) {\n            sharedConnection.unsubscribe();\n        }\n    }\n}\n","import { isScheduler } from '../util/isScheduler';\nimport { isArray } from '../util/isArray';\nimport { OuterSubscriber } from '../OuterSubscriber';\nimport { subscribeToResult } from '../util/subscribeToResult';\nimport { fromArray } from './fromArray';\nconst NONE = {};\nexport function combineLatest(...observables) {\n    let resultSelector = undefined;\n    let scheduler = undefined;\n    if (isScheduler(observables[observables.length - 1])) {\n        scheduler = observables.pop();\n    }\n    if (typeof observables[observables.length - 1] === 'function') {\n        resultSelector = observables.pop();\n    }\n    if (observables.length === 1 && isArray(observables[0])) {\n        observables = observables[0];\n    }\n    return fromArray(observables, scheduler).lift(new CombineLatestOperator(resultSelector));\n}\nexport class CombineLatestOperator {\n    constructor(resultSelector) {\n        this.resultSelector = resultSelector;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new CombineLatestSubscriber(subscriber, this.resultSelector));\n    }\n}\nexport class CombineLatestSubscriber extends OuterSubscriber {\n    constructor(destination, resultSelector) {\n        super(destination);\n        this.resultSelector = resultSelector;\n        this.active = 0;\n        this.values = [];\n        this.observables = [];\n    }\n    _next(observable) {\n        this.values.push(NONE);\n        this.observables.push(observable);\n    }\n    _complete() {\n        const observables = this.observables;\n        const len = observables.length;\n        if (len === 0) {\n            this.destination.complete();\n        }\n        else {\n            this.active = len;\n            this.toRespond = len;\n            for (let i = 0; i < len; i++) {\n                const observable = observables[i];\n                this.add(subscribeToResult(this, observable, undefined, i));\n            }\n        }\n    }\n    notifyComplete(unused) {\n        if ((this.active -= 1) === 0) {\n            this.destination.complete();\n        }\n    }\n    notifyNext(_outerValue, innerValue, outerIndex) {\n        const values = this.values;\n        const oldVal = values[outerIndex];\n        const toRespond = !this.toRespond\n            ? 0\n            : oldVal === NONE ? --this.toRespond : this.toRespond;\n        values[outerIndex] = innerValue;\n        if (toRespond === 0) {\n            if (this.resultSelector) {\n                this._tryResultSelector(values);\n            }\n            else {\n                this.destination.next(values.slice());\n            }\n        }\n    }\n    _tryResultSelector(values) {\n        let result;\n        try {\n            result = this.resultSelector.apply(this, values);\n        }\n        catch (err) {\n            this.destination.error(err);\n            return;\n        }\n        this.destination.next(result);\n    }\n}\n","import { of } from './of';\nimport { concatAll } from '../operators/concatAll';\nexport function concat(...observables) {\n    return concatAll()(of(...observables));\n}\n","import { Observable } from '../Observable';\nimport { from } from './from';\nimport { empty } from './empty';\nexport function defer(observableFactory) {\n    return new Observable(subscriber => {\n        let input;\n        try {\n            input = observableFactory();\n        }\n        catch (err) {\n            subscriber.error(err);\n            return undefined;\n        }\n        const source = input ? from(input) : empty();\n        return source.subscribe(subscriber);\n    });\n}\n","import { Observable } from '../Observable';\nexport const EMPTY = new Observable(subscriber => subscriber.complete());\nexport function empty(scheduler) {\n    return scheduler ? emptyScheduled(scheduler) : EMPTY;\n}\nfunction emptyScheduled(scheduler) {\n    return new Observable(subscriber => scheduler.schedule(() => subscriber.complete()));\n}\n","import { Observable } from '../Observable';\nimport { isArray } from '../util/isArray';\nimport { map } from '../operators/map';\nimport { isObject } from '../util/isObject';\nimport { from } from './from';\nexport function forkJoin(...sources) {\n    if (sources.length === 1) {\n        const first = sources[0];\n        if (isArray(first)) {\n            return forkJoinInternal(first, null);\n        }\n        if (isObject(first) && Object.getPrototypeOf(first) === Object.prototype) {\n            const keys = Object.keys(first);\n            return forkJoinInternal(keys.map(key => first[key]), keys);\n        }\n    }\n    if (typeof sources[sources.length - 1] === 'function') {\n        const resultSelector = sources.pop();\n        sources = (sources.length === 1 && isArray(sources[0])) ? sources[0] : sources;\n        return forkJoinInternal(sources, null).pipe(map((args) => resultSelector(...args)));\n    }\n    return forkJoinInternal(sources, null);\n}\nfunction forkJoinInternal(sources, keys) {\n    return new Observable(subscriber => {\n        const len = sources.length;\n        if (len === 0) {\n            subscriber.complete();\n            return;\n        }\n        const values = new Array(len);\n        let completed = 0;\n        let emitted = 0;\n        for (let i = 0; i < len; i++) {\n            const source = from(sources[i]);\n            let hasValue = false;\n            subscriber.add(source.subscribe({\n                next: value => {\n                    if (!hasValue) {\n                        hasValue = true;\n                        emitted++;\n                    }\n                    values[i] = value;\n                },\n                error: err => subscriber.error(err),\n                complete: () => {\n                    completed++;\n                    if (completed === len || !hasValue) {\n                        if (emitted === len) {\n                            subscriber.next(keys ?\n                                keys.reduce((result, key, i) => (result[key] = values[i], result), {}) :\n                                values);\n                        }\n                        subscriber.complete();\n                    }\n                }\n            }));\n        }\n    });\n}\n","import { Observable } from '../Observable';\nimport { subscribeTo } from '../util/subscribeTo';\nimport { scheduled } from '../scheduled/scheduled';\nexport function from(input, scheduler) {\n    if (!scheduler) {\n        if (input instanceof Observable) {\n            return input;\n        }\n        return new Observable(subscribeTo(input));\n    }\n    else {\n        return scheduled(input, scheduler);\n    }\n}\n","import { Observable } from '../Observable';\nimport { subscribeToArray } from '../util/subscribeToArray';\nimport { scheduleArray } from '../scheduled/scheduleArray';\nexport function fromArray(input, scheduler) {\n    if (!scheduler) {\n        return new Observable(subscribeToArray(input));\n    }\n    else {\n        return scheduleArray(input, scheduler);\n    }\n}\n","import { Observable } from '../Observable';\nimport { isArray } from '../util/isArray';\nimport { isFunction } from '../util/isFunction';\nimport { map } from '../operators/map';\nconst toString = (() => Object.prototype.toString)();\nexport function fromEvent(target, eventName, options, resultSelector) {\n    if (isFunction(options)) {\n        resultSelector = options;\n        options = undefined;\n    }\n    if (resultSelector) {\n        return fromEvent(target, eventName, options).pipe(map(args => isArray(args) ? resultSelector(...args) : resultSelector(args)));\n    }\n    return new Observable(subscriber => {\n        function handler(e) {\n            if (arguments.length > 1) {\n                subscriber.next(Array.prototype.slice.call(arguments));\n            }\n            else {\n                subscriber.next(e);\n            }\n        }\n        setupSubscription(target, eventName, handler, subscriber, options);\n    });\n}\nfunction setupSubscription(sourceObj, eventName, handler, subscriber, options) {\n    let unsubscribe;\n    if (isEventTarget(sourceObj)) {\n        const source = sourceObj;\n        sourceObj.addEventListener(eventName, handler, options);\n        unsubscribe = () => source.removeEventListener(eventName, handler, options);\n    }\n    else if (isJQueryStyleEventEmitter(sourceObj)) {\n        const source = sourceObj;\n        sourceObj.on(eventName, handler);\n        unsubscribe = () => source.off(eventName, handler);\n    }\n    else if (isNodeStyleEventEmitter(sourceObj)) {\n        const source = sourceObj;\n        sourceObj.addListener(eventName, handler);\n        unsubscribe = () => source.removeListener(eventName, handler);\n    }\n    else if (sourceObj && sourceObj.length) {\n        for (let i = 0, len = sourceObj.length; i < len; i++) {\n            setupSubscription(sourceObj[i], eventName, handler, subscriber, options);\n        }\n    }\n    else {\n        throw new TypeError('Invalid event target');\n    }\n    subscriber.add(unsubscribe);\n}\nfunction isNodeStyleEventEmitter(sourceObj) {\n    return sourceObj && typeof sourceObj.addListener === 'function' && typeof sourceObj.removeListener === 'function';\n}\nfunction isJQueryStyleEventEmitter(sourceObj) {\n    return sourceObj && typeof sourceObj.on === 'function' && typeof sourceObj.off === 'function';\n}\nfunction isEventTarget(sourceObj) {\n    return sourceObj && typeof sourceObj.addEventListener === 'function' && typeof sourceObj.removeEventListener === 'function';\n}\n","import { defer } from './defer';\nimport { EMPTY } from './empty';\nexport function iif(condition, trueResult = EMPTY, falseResult = EMPTY) {\n    return defer(() => condition() ? trueResult : falseResult);\n}\n","import { Observable } from '../Observable';\nimport { async } from '../scheduler/async';\nimport { isNumeric } from '../util/isNumeric';\nexport function interval(period = 0, scheduler = async) {\n    if (!isNumeric(period) || period < 0) {\n        period = 0;\n    }\n    if (!scheduler || typeof scheduler.schedule !== 'function') {\n        scheduler = async;\n    }\n    return new Observable(subscriber => {\n        subscriber.add(scheduler.schedule(dispatch, period, { subscriber, counter: 0, period }));\n        return subscriber;\n    });\n}\nfunction dispatch(state) {\n    const { subscriber, counter, period } = state;\n    subscriber.next(counter);\n    this.schedule({ subscriber, counter: counter + 1, period }, period);\n}\n","import { Observable } from '../Observable';\nimport { isScheduler } from '../util/isScheduler';\nimport { mergeAll } from '../operators/mergeAll';\nimport { fromArray } from './fromArray';\nexport function merge(...observables) {\n    let concurrent = Number.POSITIVE_INFINITY;\n    let scheduler = null;\n    let last = observables[observables.length - 1];\n    if (isScheduler(last)) {\n        scheduler = observables.pop();\n        if (observables.length > 1 && typeof observables[observables.length - 1] === 'number') {\n            concurrent = observables.pop();\n        }\n    }\n    else if (typeof last === 'number') {\n        concurrent = observables.pop();\n    }\n    if (scheduler === null && observables.length === 1 && observables[0] instanceof Observable) {\n        return observables[0];\n    }\n    return mergeAll(concurrent)(fromArray(observables, scheduler));\n}\n","import { isScheduler } from '../util/isScheduler';\nimport { fromArray } from './fromArray';\nimport { scheduleArray } from '../scheduled/scheduleArray';\nexport function of(...args) {\n    let scheduler = args[args.length - 1];\n    if (isScheduler(scheduler)) {\n        args.pop();\n        return scheduleArray(args, scheduler);\n    }\n    else {\n        return fromArray(args);\n    }\n}\n","import { isArray } from '../util/isArray';\nimport { fromArray } from './fromArray';\nimport { OuterSubscriber } from '../OuterSubscriber';\nimport { subscribeToResult } from '../util/subscribeToResult';\nexport function race(...observables) {\n    if (observables.length === 1) {\n        if (isArray(observables[0])) {\n            observables = observables[0];\n        }\n        else {\n            return observables[0];\n        }\n    }\n    return fromArray(observables, undefined).lift(new RaceOperator());\n}\nexport class RaceOperator {\n    call(subscriber, source) {\n        return source.subscribe(new RaceSubscriber(subscriber));\n    }\n}\nexport class RaceSubscriber extends OuterSubscriber {\n    constructor(destination) {\n        super(destination);\n        this.hasFirst = false;\n        this.observables = [];\n        this.subscriptions = [];\n    }\n    _next(observable) {\n        this.observables.push(observable);\n    }\n    _complete() {\n        const observables = this.observables;\n        const len = observables.length;\n        if (len === 0) {\n            this.destination.complete();\n        }\n        else {\n            for (let i = 0; i < len && !this.hasFirst; i++) {\n                const observable = observables[i];\n                const subscription = subscribeToResult(this, observable, undefined, i);\n                if (this.subscriptions) {\n                    this.subscriptions.push(subscription);\n                }\n                this.add(subscription);\n            }\n            this.observables = null;\n        }\n    }\n    notifyNext(_outerValue, innerValue, outerIndex) {\n        if (!this.hasFirst) {\n            this.hasFirst = true;\n            for (let i = 0; i < this.subscriptions.length; i++) {\n                if (i !== outerIndex) {\n                    let subscription = this.subscriptions[i];\n                    subscription.unsubscribe();\n                    this.remove(subscription);\n                }\n            }\n            this.subscriptions = null;\n        }\n        this.destination.next(innerValue);\n    }\n}\n","import { Observable } from '../Observable';\nexport function throwError(error, scheduler) {\n    if (!scheduler) {\n        return new Observable(subscriber => subscriber.error(error));\n    }\n    else {\n        return new Observable(subscriber => scheduler.schedule(dispatch, 0, { error, subscriber }));\n    }\n}\nfunction dispatch({ error, subscriber }) {\n    subscriber.error(error);\n}\n","import { Observable } from '../Observable';\nimport { async } from '../scheduler/async';\nimport { isNumeric } from '../util/isNumeric';\nimport { isScheduler } from '../util/isScheduler';\nexport function timer(dueTime = 0, periodOrScheduler, scheduler) {\n    let period = -1;\n    if (isNumeric(periodOrScheduler)) {\n        period = Number(periodOrScheduler) < 1 && 1 || Number(periodOrScheduler);\n    }\n    else if (isScheduler(periodOrScheduler)) {\n        scheduler = periodOrScheduler;\n    }\n    if (!isScheduler(scheduler)) {\n        scheduler = async;\n    }\n    return new Observable(subscriber => {\n        const due = isNumeric(dueTime)\n            ? dueTime\n            : (+dueTime - scheduler.now());\n        return scheduler.schedule(dispatch, due, {\n            index: 0, period, subscriber\n        });\n    });\n}\nfunction dispatch(state) {\n    const { index, period, subscriber } = state;\n    subscriber.next(index);\n    if (subscriber.closed) {\n        return;\n    }\n    else if (period === -1) {\n        return subscriber.complete();\n    }\n    state.index = index + 1;\n    this.schedule(state, period);\n}\n","import { fromArray } from './fromArray';\nimport { isArray } from '../util/isArray';\nimport { Subscriber } from '../Subscriber';\nimport { iterator as Symbol_iterator } from '../../internal/symbol/iterator';\nimport { SimpleOuterSubscriber, SimpleInnerSubscriber, innerSubscribe } from '../innerSubscribe';\nexport function zip(...observables) {\n    const resultSelector = observables[observables.length - 1];\n    if (typeof resultSelector === 'function') {\n        observables.pop();\n    }\n    return fromArray(observables, undefined).lift(new ZipOperator(resultSelector));\n}\nexport class ZipOperator {\n    constructor(resultSelector) {\n        this.resultSelector = resultSelector;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new ZipSubscriber(subscriber, this.resultSelector));\n    }\n}\nexport class ZipSubscriber extends Subscriber {\n    constructor(destination, resultSelector, values = Object.create(null)) {\n        super(destination);\n        this.resultSelector = resultSelector;\n        this.iterators = [];\n        this.active = 0;\n        this.resultSelector = (typeof resultSelector === 'function') ? resultSelector : undefined;\n    }\n    _next(value) {\n        const iterators = this.iterators;\n        if (isArray(value)) {\n            iterators.push(new StaticArrayIterator(value));\n        }\n        else if (typeof value[Symbol_iterator] === 'function') {\n            iterators.push(new StaticIterator(value[Symbol_iterator]()));\n        }\n        else {\n            iterators.push(new ZipBufferIterator(this.destination, this, value));\n        }\n    }\n    _complete() {\n        const iterators = this.iterators;\n        const len = iterators.length;\n        this.unsubscribe();\n        if (len === 0) {\n            this.destination.complete();\n            return;\n        }\n        this.active = len;\n        for (let i = 0; i < len; i++) {\n            let iterator = iterators[i];\n            if (iterator.stillUnsubscribed) {\n                const destination = this.destination;\n                destination.add(iterator.subscribe());\n            }\n            else {\n                this.active--;\n            }\n        }\n    }\n    notifyInactive() {\n        this.active--;\n        if (this.active === 0) {\n            this.destination.complete();\n        }\n    }\n    checkIterators() {\n        const iterators = this.iterators;\n        const len = iterators.length;\n        const destination = this.destination;\n        for (let i = 0; i < len; i++) {\n            let iterator = iterators[i];\n            if (typeof iterator.hasValue === 'function' && !iterator.hasValue()) {\n                return;\n            }\n        }\n        let shouldComplete = false;\n        const args = [];\n        for (let i = 0; i < len; i++) {\n            let iterator = iterators[i];\n            let result = iterator.next();\n            if (iterator.hasCompleted()) {\n                shouldComplete = true;\n            }\n            if (result.done) {\n                destination.complete();\n                return;\n            }\n            args.push(result.value);\n        }\n        if (this.resultSelector) {\n            this._tryresultSelector(args);\n        }\n        else {\n            destination.next(args);\n        }\n        if (shouldComplete) {\n            destination.complete();\n        }\n    }\n    _tryresultSelector(args) {\n        let result;\n        try {\n            result = this.resultSelector.apply(this, args);\n        }\n        catch (err) {\n            this.destination.error(err);\n            return;\n        }\n        this.destination.next(result);\n    }\n}\nclass StaticIterator {\n    constructor(iterator) {\n        this.iterator = iterator;\n        this.nextResult = iterator.next();\n    }\n    hasValue() {\n        return true;\n    }\n    next() {\n        const result = this.nextResult;\n        this.nextResult = this.iterator.next();\n        return result;\n    }\n    hasCompleted() {\n        const nextResult = this.nextResult;\n        return Boolean(nextResult && nextResult.done);\n    }\n}\nclass StaticArrayIterator {\n    constructor(array) {\n        this.array = array;\n        this.index = 0;\n        this.length = 0;\n        this.length = array.length;\n    }\n    [Symbol_iterator]() {\n        return this;\n    }\n    next(value) {\n        const i = this.index++;\n        const array = this.array;\n        return i < this.length ? { value: array[i], done: false } : { value: null, done: true };\n    }\n    hasValue() {\n        return this.array.length > this.index;\n    }\n    hasCompleted() {\n        return this.array.length === this.index;\n    }\n}\nclass ZipBufferIterator extends SimpleOuterSubscriber {\n    constructor(destination, parent, observable) {\n        super(destination);\n        this.parent = parent;\n        this.observable = observable;\n        this.stillUnsubscribed = true;\n        this.buffer = [];\n        this.isComplete = false;\n    }\n    [Symbol_iterator]() {\n        return this;\n    }\n    next() {\n        const buffer = this.buffer;\n        if (buffer.length === 0 && this.isComplete) {\n            return { value: null, done: true };\n        }\n        else {\n            return { value: buffer.shift(), done: false };\n        }\n    }\n    hasValue() {\n        return this.buffer.length > 0;\n    }\n    hasCompleted() {\n        return this.buffer.length === 0 && this.isComplete;\n    }\n    notifyComplete() {\n        if (this.buffer.length > 0) {\n            this.isComplete = true;\n            this.parent.notifyInactive();\n        }\n        else {\n            this.destination.complete();\n        }\n    }\n    notifyNext(innerValue) {\n        this.buffer.push(innerValue);\n        this.parent.checkIterators();\n    }\n    subscribe() {\n        return innerSubscribe(this.observable, new SimpleInnerSubscriber(this));\n    }\n}\n","import { SimpleOuterSubscriber, innerSubscribe, SimpleInnerSubscriber } from '../innerSubscribe';\nexport function audit(durationSelector) {\n    return function auditOperatorFunction(source) {\n        return source.lift(new AuditOperator(durationSelector));\n    };\n}\nclass AuditOperator {\n    constructor(durationSelector) {\n        this.durationSelector = durationSelector;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new AuditSubscriber(subscriber, this.durationSelector));\n    }\n}\nclass AuditSubscriber extends SimpleOuterSubscriber {\n    constructor(destination, durationSelector) {\n        super(destination);\n        this.durationSelector = durationSelector;\n        this.hasValue = false;\n    }\n    _next(value) {\n        this.value = value;\n        this.hasValue = true;\n        if (!this.throttled) {\n            let duration;\n            try {\n                const { durationSelector } = this;\n                duration = durationSelector(value);\n            }\n            catch (err) {\n                return this.destination.error(err);\n            }\n            const innerSubscription = innerSubscribe(duration, new SimpleInnerSubscriber(this));\n            if (!innerSubscription || innerSubscription.closed) {\n                this.clearThrottle();\n            }\n            else {\n                this.add(this.throttled = innerSubscription);\n            }\n        }\n    }\n    clearThrottle() {\n        const { value, hasValue, throttled } = this;\n        if (throttled) {\n            this.remove(throttled);\n            this.throttled = undefined;\n            throttled.unsubscribe();\n        }\n        if (hasValue) {\n            this.value = undefined;\n            this.hasValue = false;\n            this.destination.next(value);\n        }\n    }\n    notifyNext() {\n        this.clearThrottle();\n    }\n    notifyComplete() {\n        this.clearThrottle();\n    }\n}\n","import { async } from '../scheduler/async';\nimport { audit } from './audit';\nimport { timer } from '../observable/timer';\nexport function auditTime(duration, scheduler = async) {\n    return audit(() => timer(duration, scheduler));\n}\n","import { SimpleOuterSubscriber, SimpleInnerSubscriber, innerSubscribe } from '../innerSubscribe';\nexport function catchError(selector) {\n    return function catchErrorOperatorFunction(source) {\n        const operator = new CatchOperator(selector);\n        const caught = source.lift(operator);\n        return (operator.caught = caught);\n    };\n}\nclass CatchOperator {\n    constructor(selector) {\n        this.selector = selector;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new CatchSubscriber(subscriber, this.selector, this.caught));\n    }\n}\nclass CatchSubscriber extends SimpleOuterSubscriber {\n    constructor(destination, selector, caught) {\n        super(destination);\n        this.selector = selector;\n        this.caught = caught;\n    }\n    error(err) {\n        if (!this.isStopped) {\n            let result;\n            try {\n                result = this.selector(err, this.caught);\n            }\n            catch (err2) {\n                super.error(err2);\n                return;\n            }\n            this._unsubscribeAndRecycle();\n            const innerSubscriber = new SimpleInnerSubscriber(this);\n            this.add(innerSubscriber);\n            const innerSubscription = innerSubscribe(result, innerSubscriber);\n            if (innerSubscription !== innerSubscriber) {\n                this.add(innerSubscription);\n            }\n        }\n    }\n}\n","import { mergeAll } from './mergeAll';\nexport function concatAll() {\n    return mergeAll(1);\n}\n","import { mergeMap } from './mergeMap';\nexport function concatMap(project, resultSelector) {\n    return mergeMap(project, resultSelector, 1);\n}\n","import { Subscriber } from '../Subscriber';\nimport { async } from '../scheduler/async';\nexport function debounceTime(dueTime, scheduler = async) {\n    return (source) => source.lift(new DebounceTimeOperator(dueTime, scheduler));\n}\nclass DebounceTimeOperator {\n    constructor(dueTime, scheduler) {\n        this.dueTime = dueTime;\n        this.scheduler = scheduler;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new DebounceTimeSubscriber(subscriber, this.dueTime, this.scheduler));\n    }\n}\nclass DebounceTimeSubscriber extends Subscriber {\n    constructor(destination, dueTime, scheduler) {\n        super(destination);\n        this.dueTime = dueTime;\n        this.scheduler = scheduler;\n        this.debouncedSubscription = null;\n        this.lastValue = null;\n        this.hasValue = false;\n    }\n    _next(value) {\n        this.clearDebounce();\n        this.lastValue = value;\n        this.hasValue = true;\n        this.add(this.debouncedSubscription = this.scheduler.schedule(dispatchNext, this.dueTime, this));\n    }\n    _complete() {\n        this.debouncedNext();\n        this.destination.complete();\n    }\n    debouncedNext() {\n        this.clearDebounce();\n        if (this.hasValue) {\n            const { lastValue } = this;\n            this.lastValue = null;\n            this.hasValue = false;\n            this.destination.next(lastValue);\n        }\n    }\n    clearDebounce() {\n        const debouncedSubscription = this.debouncedSubscription;\n        if (debouncedSubscription !== null) {\n            this.remove(debouncedSubscription);\n            debouncedSubscription.unsubscribe();\n            this.debouncedSubscription = null;\n        }\n    }\n}\nfunction dispatchNext(subscriber) {\n    subscriber.debouncedNext();\n}\n","import { Subscriber } from '../Subscriber';\nexport function defaultIfEmpty(defaultValue = null) {\n    return (source) => source.lift(new DefaultIfEmptyOperator(defaultValue));\n}\nclass DefaultIfEmptyOperator {\n    constructor(defaultValue) {\n        this.defaultValue = defaultValue;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new DefaultIfEmptySubscriber(subscriber, this.defaultValue));\n    }\n}\nclass DefaultIfEmptySubscriber extends Subscriber {\n    constructor(destination, defaultValue) {\n        super(destination);\n        this.defaultValue = defaultValue;\n        this.isEmpty = true;\n    }\n    _next(value) {\n        this.isEmpty = false;\n        this.destination.next(value);\n    }\n    _complete() {\n        if (this.isEmpty) {\n            this.destination.next(this.defaultValue);\n        }\n        this.destination.complete();\n    }\n}\n","import { async } from '../scheduler/async';\nimport { isDate } from '../util/isDate';\nimport { Subscriber } from '../Subscriber';\nimport { Notification } from '../Notification';\nexport function delay(delay, scheduler = async) {\n    const absoluteDelay = isDate(delay);\n    const delayFor = absoluteDelay ? (+delay - scheduler.now()) : Math.abs(delay);\n    return (source) => source.lift(new DelayOperator(delayFor, scheduler));\n}\nclass DelayOperator {\n    constructor(delay, scheduler) {\n        this.delay = delay;\n        this.scheduler = scheduler;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new DelaySubscriber(subscriber, this.delay, this.scheduler));\n    }\n}\nclass DelaySubscriber extends Subscriber {\n    constructor(destination, delay, scheduler) {\n        super(destination);\n        this.delay = delay;\n        this.scheduler = scheduler;\n        this.queue = [];\n        this.active = false;\n        this.errored = false;\n    }\n    static dispatch(state) {\n        const source = state.source;\n        const queue = source.queue;\n        const scheduler = state.scheduler;\n        const destination = state.destination;\n        while (queue.length > 0 && (queue[0].time - scheduler.now()) <= 0) {\n            queue.shift().notification.observe(destination);\n        }\n        if (queue.length > 0) {\n            const delay = Math.max(0, queue[0].time - scheduler.now());\n            this.schedule(state, delay);\n        }\n        else {\n            this.unsubscribe();\n            source.active = false;\n        }\n    }\n    _schedule(scheduler) {\n        this.active = true;\n        const destination = this.destination;\n        destination.add(scheduler.schedule(DelaySubscriber.dispatch, this.delay, {\n            source: this, destination: this.destination, scheduler: scheduler\n        }));\n    }\n    scheduleNotification(notification) {\n        if (this.errored === true) {\n            return;\n        }\n        const scheduler = this.scheduler;\n        const message = new DelayMessage(scheduler.now() + this.delay, notification);\n        this.queue.push(message);\n        if (this.active === false) {\n            this._schedule(scheduler);\n        }\n    }\n    _next(value) {\n        this.scheduleNotification(Notification.createNext(value));\n    }\n    _error(err) {\n        this.errored = true;\n        this.queue = [];\n        this.destination.error(err);\n        this.unsubscribe();\n    }\n    _complete() {\n        this.scheduleNotification(Notification.createComplete());\n        this.unsubscribe();\n    }\n}\nclass DelayMessage {\n    constructor(time, notification) {\n        this.time = time;\n        this.notification = notification;\n    }\n}\n","import { Subscriber } from '../Subscriber';\nimport { Observable } from '../Observable';\nimport { OuterSubscriber } from '../OuterSubscriber';\nimport { subscribeToResult } from '../util/subscribeToResult';\nexport function delayWhen(delayDurationSelector, subscriptionDelay) {\n    if (subscriptionDelay) {\n        return (source) => new SubscriptionDelayObservable(source, subscriptionDelay)\n            .lift(new DelayWhenOperator(delayDurationSelector));\n    }\n    return (source) => source.lift(new DelayWhenOperator(delayDurationSelector));\n}\nclass DelayWhenOperator {\n    constructor(delayDurationSelector) {\n        this.delayDurationSelector = delayDurationSelector;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new DelayWhenSubscriber(subscriber, this.delayDurationSelector));\n    }\n}\nclass DelayWhenSubscriber extends OuterSubscriber {\n    constructor(destination, delayDurationSelector) {\n        super(destination);\n        this.delayDurationSelector = delayDurationSelector;\n        this.completed = false;\n        this.delayNotifierSubscriptions = [];\n        this.index = 0;\n    }\n    notifyNext(outerValue, _innerValue, _outerIndex, _innerIndex, innerSub) {\n        this.destination.next(outerValue);\n        this.removeSubscription(innerSub);\n        this.tryComplete();\n    }\n    notifyError(error, innerSub) {\n        this._error(error);\n    }\n    notifyComplete(innerSub) {\n        const value = this.removeSubscription(innerSub);\n        if (value) {\n            this.destination.next(value);\n        }\n        this.tryComplete();\n    }\n    _next(value) {\n        const index = this.index++;\n        try {\n            const delayNotifier = this.delayDurationSelector(value, index);\n            if (delayNotifier) {\n                this.tryDelay(delayNotifier, value);\n            }\n        }\n        catch (err) {\n            this.destination.error(err);\n        }\n    }\n    _complete() {\n        this.completed = true;\n        this.tryComplete();\n        this.unsubscribe();\n    }\n    removeSubscription(subscription) {\n        subscription.unsubscribe();\n        const subscriptionIdx = this.delayNotifierSubscriptions.indexOf(subscription);\n        if (subscriptionIdx !== -1) {\n            this.delayNotifierSubscriptions.splice(subscriptionIdx, 1);\n        }\n        return subscription.outerValue;\n    }\n    tryDelay(delayNotifier, value) {\n        const notifierSubscription = subscribeToResult(this, delayNotifier, value);\n        if (notifierSubscription && !notifierSubscription.closed) {\n            const destination = this.destination;\n            destination.add(notifierSubscription);\n            this.delayNotifierSubscriptions.push(notifierSubscription);\n        }\n    }\n    tryComplete() {\n        if (this.completed && this.delayNotifierSubscriptions.length === 0) {\n            this.destination.complete();\n        }\n    }\n}\nclass SubscriptionDelayObservable extends Observable {\n    constructor(source, subscriptionDelay) {\n        super();\n        this.source = source;\n        this.subscriptionDelay = subscriptionDelay;\n    }\n    _subscribe(subscriber) {\n        this.subscriptionDelay.subscribe(new SubscriptionDelaySubscriber(subscriber, this.source));\n    }\n}\nclass SubscriptionDelaySubscriber extends Subscriber {\n    constructor(parent, source) {\n        super();\n        this.parent = parent;\n        this.source = source;\n        this.sourceSubscribed = false;\n    }\n    _next(unused) {\n        this.subscribeToSource();\n    }\n    _error(err) {\n        this.unsubscribe();\n        this.parent.error(err);\n    }\n    _complete() {\n        this.unsubscribe();\n        this.subscribeToSource();\n    }\n    subscribeToSource() {\n        if (!this.sourceSubscribed) {\n            this.sourceSubscribed = true;\n            this.unsubscribe();\n            this.source.subscribe(this.parent);\n        }\n    }\n}\n","import { Subscriber } from '../Subscriber';\nexport function distinctUntilChanged(compare, keySelector) {\n    return (source) => source.lift(new DistinctUntilChangedOperator(compare, keySelector));\n}\nclass DistinctUntilChangedOperator {\n    constructor(compare, keySelector) {\n        this.compare = compare;\n        this.keySelector = keySelector;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new DistinctUntilChangedSubscriber(subscriber, this.compare, this.keySelector));\n    }\n}\nclass DistinctUntilChangedSubscriber extends Subscriber {\n    constructor(destination, compare, keySelector) {\n        super(destination);\n        this.keySelector = keySelector;\n        this.hasKey = false;\n        if (typeof compare === 'function') {\n            this.compare = compare;\n        }\n    }\n    compare(x, y) {\n        return x === y;\n    }\n    _next(value) {\n        let key;\n        try {\n            const { keySelector } = this;\n            key = keySelector ? keySelector(value) : value;\n        }\n        catch (err) {\n            return this.destination.error(err);\n        }\n        let result = false;\n        if (this.hasKey) {\n            try {\n                const { compare } = this;\n                result = compare(this.key, key);\n            }\n            catch (err) {\n                return this.destination.error(err);\n            }\n        }\n        else {\n            this.hasKey = true;\n        }\n        if (!result) {\n            this.key = key;\n            this.destination.next(value);\n        }\n    }\n}\n","import { Subscriber } from '../Subscriber';\nexport function filter(predicate, thisArg) {\n    return function filterOperatorFunction(source) {\n        return source.lift(new FilterOperator(predicate, thisArg));\n    };\n}\nclass FilterOperator {\n    constructor(predicate, thisArg) {\n        this.predicate = predicate;\n        this.thisArg = thisArg;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new FilterSubscriber(subscriber, this.predicate, this.thisArg));\n    }\n}\nclass FilterSubscriber extends Subscriber {\n    constructor(destination, predicate, thisArg) {\n        super(destination);\n        this.predicate = predicate;\n        this.thisArg = thisArg;\n        this.count = 0;\n    }\n    _next(value) {\n        let result;\n        try {\n            result = this.predicate.call(this.thisArg, value, this.count++);\n        }\n        catch (err) {\n            this.destination.error(err);\n            return;\n        }\n        if (result) {\n            this.destination.next(value);\n        }\n    }\n}\n","import { Subscriber } from '../Subscriber';\nimport { Subscription } from '../Subscription';\nexport function finalize(callback) {\n    return (source) => source.lift(new FinallyOperator(callback));\n}\nclass FinallyOperator {\n    constructor(callback) {\n        this.callback = callback;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new FinallySubscriber(subscriber, this.callback));\n    }\n}\nclass FinallySubscriber extends Subscriber {\n    constructor(destination, callback) {\n        super(destination);\n        this.add(new Subscription(callback));\n    }\n}\n","import { EmptyError } from '../util/EmptyError';\nimport { filter } from './filter';\nimport { take } from './take';\nimport { defaultIfEmpty } from './defaultIfEmpty';\nimport { throwIfEmpty } from './throwIfEmpty';\nimport { identity } from '../util/identity';\nexport function first(predicate, defaultValue) {\n    const hasDefaultValue = arguments.length >= 2;\n    return (source) => source.pipe(predicate ? filter((v, i) => predicate(v, i, source)) : identity, take(1), hasDefaultValue ? defaultIfEmpty(defaultValue) : throwIfEmpty(() => new EmptyError()));\n}\n","import { Subscriber } from '../Subscriber';\nimport { Subscription } from '../Subscription';\nimport { Observable } from '../Observable';\nimport { Subject } from '../Subject';\nexport function groupBy(keySelector, elementSelector, durationSelector, subjectSelector) {\n    return (source) => source.lift(new GroupByOperator(keySelector, elementSelector, durationSelector, subjectSelector));\n}\nclass GroupByOperator {\n    constructor(keySelector, elementSelector, durationSelector, subjectSelector) {\n        this.keySelector = keySelector;\n        this.elementSelector = elementSelector;\n        this.durationSelector = durationSelector;\n        this.subjectSelector = subjectSelector;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new GroupBySubscriber(subscriber, this.keySelector, this.elementSelector, this.durationSelector, this.subjectSelector));\n    }\n}\nclass GroupBySubscriber extends Subscriber {\n    constructor(destination, keySelector, elementSelector, durationSelector, subjectSelector) {\n        super(destination);\n        this.keySelector = keySelector;\n        this.elementSelector = elementSelector;\n        this.durationSelector = durationSelector;\n        this.subjectSelector = subjectSelector;\n        this.groups = null;\n        this.attemptedToUnsubscribe = false;\n        this.count = 0;\n    }\n    _next(value) {\n        let key;\n        try {\n            key = this.keySelector(value);\n        }\n        catch (err) {\n            this.error(err);\n            return;\n        }\n        this._group(value, key);\n    }\n    _group(value, key) {\n        let groups = this.groups;\n        if (!groups) {\n            groups = this.groups = new Map();\n        }\n        let group = groups.get(key);\n        let element;\n        if (this.elementSelector) {\n            try {\n                element = this.elementSelector(value);\n            }\n            catch (err) {\n                this.error(err);\n            }\n        }\n        else {\n            element = value;\n        }\n        if (!group) {\n            group = (this.subjectSelector ? this.subjectSelector() : new Subject());\n            groups.set(key, group);\n            const groupedObservable = new GroupedObservable(key, group, this);\n            this.destination.next(groupedObservable);\n            if (this.durationSelector) {\n                let duration;\n                try {\n                    duration = this.durationSelector(new GroupedObservable(key, group));\n                }\n                catch (err) {\n                    this.error(err);\n                    return;\n                }\n                this.add(duration.subscribe(new GroupDurationSubscriber(key, group, this)));\n            }\n        }\n        if (!group.closed) {\n            group.next(element);\n        }\n    }\n    _error(err) {\n        const groups = this.groups;\n        if (groups) {\n            groups.forEach((group, key) => {\n                group.error(err);\n            });\n            groups.clear();\n        }\n        this.destination.error(err);\n    }\n    _complete() {\n        const groups = this.groups;\n        if (groups) {\n            groups.forEach((group, key) => {\n                group.complete();\n            });\n            groups.clear();\n        }\n        this.destination.complete();\n    }\n    removeGroup(key) {\n        this.groups.delete(key);\n    }\n    unsubscribe() {\n        if (!this.closed) {\n            this.attemptedToUnsubscribe = true;\n            if (this.count === 0) {\n                super.unsubscribe();\n            }\n        }\n    }\n}\nclass GroupDurationSubscriber extends Subscriber {\n    constructor(key, group, parent) {\n        super(group);\n        this.key = key;\n        this.group = group;\n        this.parent = parent;\n    }\n    _next(value) {\n        this.complete();\n    }\n    _unsubscribe() {\n        const { parent, key } = this;\n        this.key = this.parent = null;\n        if (parent) {\n            parent.removeGroup(key);\n        }\n    }\n}\nexport class GroupedObservable extends Observable {\n    constructor(key, groupSubject, refCountSubscription) {\n        super();\n        this.key = key;\n        this.groupSubject = groupSubject;\n        this.refCountSubscription = refCountSubscription;\n    }\n    _subscribe(subscriber) {\n        const subscription = new Subscription();\n        const { refCountSubscription, groupSubject } = this;\n        if (refCountSubscription && !refCountSubscription.closed) {\n            subscription.add(new InnerRefCountSubscription(refCountSubscription));\n        }\n        subscription.add(groupSubject.subscribe(subscriber));\n        return subscription;\n    }\n}\nclass InnerRefCountSubscription extends Subscription {\n    constructor(parent) {\n        super();\n        this.parent = parent;\n        parent.count++;\n    }\n    unsubscribe() {\n        const parent = this.parent;\n        if (!parent.closed && !this.closed) {\n            super.unsubscribe();\n            parent.count -= 1;\n            if (parent.count === 0 && parent.attemptedToUnsubscribe) {\n                parent.unsubscribe();\n            }\n        }\n    }\n}\n","import { EmptyError } from '../util/EmptyError';\nimport { filter } from './filter';\nimport { takeLast } from './takeLast';\nimport { throwIfEmpty } from './throwIfEmpty';\nimport { defaultIfEmpty } from './defaultIfEmpty';\nimport { identity } from '../util/identity';\nexport function last(predicate, defaultValue) {\n    const hasDefaultValue = arguments.length >= 2;\n    return (source) => source.pipe(predicate ? filter((v, i) => predicate(v, i, source)) : identity, takeLast(1), hasDefaultValue ? defaultIfEmpty(defaultValue) : throwIfEmpty(() => new EmptyError()));\n}\n","import { Subscriber } from '../Subscriber';\nexport function map(project, thisArg) {\n    return function mapOperation(source) {\n        if (typeof project !== 'function') {\n            throw new TypeError('argument is not a function. Are you looking for `mapTo()`?');\n        }\n        return source.lift(new MapOperator(project, thisArg));\n    };\n}\nexport class MapOperator {\n    constructor(project, thisArg) {\n        this.project = project;\n        this.thisArg = thisArg;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new MapSubscriber(subscriber, this.project, this.thisArg));\n    }\n}\nclass MapSubscriber extends Subscriber {\n    constructor(destination, project, thisArg) {\n        super(destination);\n        this.project = project;\n        this.count = 0;\n        this.thisArg = thisArg || this;\n    }\n    _next(value) {\n        let result;\n        try {\n            result = this.project.call(this.thisArg, value, this.count++);\n        }\n        catch (err) {\n            this.destination.error(err);\n            return;\n        }\n        this.destination.next(result);\n    }\n}\n","import { Subscriber } from '../Subscriber';\nexport function mapTo(value) {\n    return (source) => source.lift(new MapToOperator(value));\n}\nclass MapToOperator {\n    constructor(value) {\n        this.value = value;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new MapToSubscriber(subscriber, this.value));\n    }\n}\nclass MapToSubscriber extends Subscriber {\n    constructor(destination, value) {\n        super(destination);\n        this.value = value;\n    }\n    _next(x) {\n        this.destination.next(this.value);\n    }\n}\n","import { mergeMap } from './mergeMap';\nimport { identity } from '../util/identity';\nexport function mergeAll(concurrent = Number.POSITIVE_INFINITY) {\n    return mergeMap(identity, concurrent);\n}\n","import { map } from './map';\nimport { from } from '../observable/from';\nimport { SimpleOuterSubscriber, SimpleInnerSubscriber, innerSubscribe } from '../innerSubscribe';\nexport function mergeMap(project, resultSelector, concurrent = Number.POSITIVE_INFINITY) {\n    if (typeof resultSelector === 'function') {\n        return (source) => source.pipe(mergeMap((a, i) => from(project(a, i)).pipe(map((b, ii) => resultSelector(a, b, i, ii))), concurrent));\n    }\n    else if (typeof resultSelector === 'number') {\n        concurrent = resultSelector;\n    }\n    return (source) => source.lift(new MergeMapOperator(project, concurrent));\n}\nexport class MergeMapOperator {\n    constructor(project, concurrent = Number.POSITIVE_INFINITY) {\n        this.project = project;\n        this.concurrent = concurrent;\n    }\n    call(observer, source) {\n        return source.subscribe(new MergeMapSubscriber(observer, this.project, this.concurrent));\n    }\n}\nexport class MergeMapSubscriber extends SimpleOuterSubscriber {\n    constructor(destination, project, concurrent = Number.POSITIVE_INFINITY) {\n        super(destination);\n        this.project = project;\n        this.concurrent = concurrent;\n        this.hasCompleted = false;\n        this.buffer = [];\n        this.active = 0;\n        this.index = 0;\n    }\n    _next(value) {\n        if (this.active < this.concurrent) {\n            this._tryNext(value);\n        }\n        else {\n            this.buffer.push(value);\n        }\n    }\n    _tryNext(value) {\n        let result;\n        const index = this.index++;\n        try {\n            result = this.project(value, index);\n        }\n        catch (err) {\n            this.destination.error(err);\n            return;\n        }\n        this.active++;\n        this._innerSub(result);\n    }\n    _innerSub(ish) {\n        const innerSubscriber = new SimpleInnerSubscriber(this);\n        const destination = this.destination;\n        destination.add(innerSubscriber);\n        const innerSubscription = innerSubscribe(ish, innerSubscriber);\n        if (innerSubscription !== innerSubscriber) {\n            destination.add(innerSubscription);\n        }\n    }\n    _complete() {\n        this.hasCompleted = true;\n        if (this.active === 0 && this.buffer.length === 0) {\n            this.destination.complete();\n        }\n        this.unsubscribe();\n    }\n    notifyNext(innerValue) {\n        this.destination.next(innerValue);\n    }\n    notifyComplete() {\n        const buffer = this.buffer;\n        this.active--;\n        if (buffer.length > 0) {\n            this._next(buffer.shift());\n        }\n        else if (this.active === 0 && this.hasCompleted) {\n            this.destination.complete();\n        }\n    }\n}\nexport const flatMap = mergeMap;\n","import { connectableObservableDescriptor } from '../observable/ConnectableObservable';\nexport function multicast(subjectOrSubjectFactory, selector) {\n    return function multicastOperatorFunction(source) {\n        let subjectFactory;\n        if (typeof subjectOrSubjectFactory === 'function') {\n            subjectFactory = subjectOrSubjectFactory;\n        }\n        else {\n            subjectFactory = function subjectFactory() {\n                return subjectOrSubjectFactory;\n            };\n        }\n        if (typeof selector === 'function') {\n            return source.lift(new MulticastOperator(subjectFactory, selector));\n        }\n        const connectable = Object.create(source, connectableObservableDescriptor);\n        connectable.source = source;\n        connectable.subjectFactory = subjectFactory;\n        return connectable;\n    };\n}\nexport class MulticastOperator {\n    constructor(subjectFactory, selector) {\n        this.subjectFactory = subjectFactory;\n        this.selector = selector;\n    }\n    call(subscriber, source) {\n        const { selector } = this;\n        const subject = this.subjectFactory();\n        const subscription = selector(subject).subscribe(subscriber);\n        subscription.add(source.subscribe(subject));\n        return subscription;\n    }\n}\n","import { Subscriber } from '../Subscriber';\nimport { Notification } from '../Notification';\nexport function observeOn(scheduler, delay = 0) {\n    return function observeOnOperatorFunction(source) {\n        return source.lift(new ObserveOnOperator(scheduler, delay));\n    };\n}\nexport class ObserveOnOperator {\n    constructor(scheduler, delay = 0) {\n        this.scheduler = scheduler;\n        this.delay = delay;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new ObserveOnSubscriber(subscriber, this.scheduler, this.delay));\n    }\n}\nexport class ObserveOnSubscriber extends Subscriber {\n    constructor(destination, scheduler, delay = 0) {\n        super(destination);\n        this.scheduler = scheduler;\n        this.delay = delay;\n    }\n    static dispatch(arg) {\n        const { notification, destination } = arg;\n        notification.observe(destination);\n        this.unsubscribe();\n    }\n    scheduleMessage(notification) {\n        const destination = this.destination;\n        destination.add(this.scheduler.schedule(ObserveOnSubscriber.dispatch, this.delay, new ObserveOnMessage(notification, this.destination)));\n    }\n    _next(value) {\n        this.scheduleMessage(Notification.createNext(value));\n    }\n    _error(err) {\n        this.scheduleMessage(Notification.createError(err));\n        this.unsubscribe();\n    }\n    _complete() {\n        this.scheduleMessage(Notification.createComplete());\n        this.unsubscribe();\n    }\n}\nexport class ObserveOnMessage {\n    constructor(notification, destination) {\n        this.notification = notification;\n        this.destination = destination;\n    }\n}\n","import { Subscriber } from '../Subscriber';\nexport function pairwise() {\n    return (source) => source.lift(new PairwiseOperator());\n}\nclass PairwiseOperator {\n    call(subscriber, source) {\n        return source.subscribe(new PairwiseSubscriber(subscriber));\n    }\n}\nclass PairwiseSubscriber extends Subscriber {\n    constructor(destination) {\n        super(destination);\n        this.hasPrev = false;\n    }\n    _next(value) {\n        let pair;\n        if (this.hasPrev) {\n            pair = [this.prev, value];\n        }\n        else {\n            this.hasPrev = true;\n        }\n        this.prev = value;\n        if (pair) {\n            this.destination.next(pair);\n        }\n    }\n}\n","import { Subscriber } from '../Subscriber';\nexport function refCount() {\n    return function refCountOperatorFunction(source) {\n        return source.lift(new RefCountOperator(source));\n    };\n}\nclass RefCountOperator {\n    constructor(connectable) {\n        this.connectable = connectable;\n    }\n    call(subscriber, source) {\n        const { connectable } = this;\n        connectable._refCount++;\n        const refCounter = new RefCountSubscriber(subscriber, connectable);\n        const subscription = source.subscribe(refCounter);\n        if (!refCounter.closed) {\n            refCounter.connection = connectable.connect();\n        }\n        return subscription;\n    }\n}\nclass RefCountSubscriber extends Subscriber {\n    constructor(destination, connectable) {\n        super(destination);\n        this.connectable = connectable;\n    }\n    _unsubscribe() {\n        const { connectable } = this;\n        if (!connectable) {\n            this.connection = null;\n            return;\n        }\n        this.connectable = null;\n        const refCount = connectable._refCount;\n        if (refCount <= 0) {\n            this.connection = null;\n            return;\n        }\n        connectable._refCount = refCount - 1;\n        if (refCount > 1) {\n            this.connection = null;\n            return;\n        }\n        const { connection } = this;\n        const sharedConnection = connectable._connection;\n        this.connection = null;\n        if (sharedConnection && (!connection || sharedConnection === connection)) {\n            sharedConnection.unsubscribe();\n        }\n    }\n}\n","import { Subject } from '../Subject';\nimport { SimpleOuterSubscriber, innerSubscribe, SimpleInnerSubscriber } from '../innerSubscribe';\nexport function repeatWhen(notifier) {\n    return (source) => source.lift(new RepeatWhenOperator(notifier));\n}\nclass RepeatWhenOperator {\n    constructor(notifier) {\n        this.notifier = notifier;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new RepeatWhenSubscriber(subscriber, this.notifier, source));\n    }\n}\nclass RepeatWhenSubscriber extends SimpleOuterSubscriber {\n    constructor(destination, notifier, source) {\n        super(destination);\n        this.notifier = notifier;\n        this.source = source;\n        this.sourceIsBeingSubscribedTo = true;\n    }\n    notifyNext() {\n        this.sourceIsBeingSubscribedTo = true;\n        this.source.subscribe(this);\n    }\n    notifyComplete() {\n        if (this.sourceIsBeingSubscribedTo === false) {\n            return super.complete();\n        }\n    }\n    complete() {\n        this.sourceIsBeingSubscribedTo = false;\n        if (!this.isStopped) {\n            if (!this.retries) {\n                this.subscribeToRetries();\n            }\n            if (!this.retriesSubscription || this.retriesSubscription.closed) {\n                return super.complete();\n            }\n            this._unsubscribeAndRecycle();\n            this.notifications.next(undefined);\n        }\n    }\n    _unsubscribe() {\n        const { notifications, retriesSubscription } = this;\n        if (notifications) {\n            notifications.unsubscribe();\n            this.notifications = undefined;\n        }\n        if (retriesSubscription) {\n            retriesSubscription.unsubscribe();\n            this.retriesSubscription = undefined;\n        }\n        this.retries = undefined;\n    }\n    _unsubscribeAndRecycle() {\n        const { _unsubscribe } = this;\n        this._unsubscribe = null;\n        super._unsubscribeAndRecycle();\n        this._unsubscribe = _unsubscribe;\n        return this;\n    }\n    subscribeToRetries() {\n        this.notifications = new Subject();\n        let retries;\n        try {\n            const { notifier } = this;\n            retries = notifier(this.notifications);\n        }\n        catch (e) {\n            return super.complete();\n        }\n        this.retries = retries;\n        this.retriesSubscription = innerSubscribe(retries, new SimpleInnerSubscriber(this));\n    }\n}\n","import { Subject } from '../Subject';\nimport { SimpleOuterSubscriber, innerSubscribe, SimpleInnerSubscriber } from '../innerSubscribe';\nexport function retryWhen(notifier) {\n    return (source) => source.lift(new RetryWhenOperator(notifier, source));\n}\nclass RetryWhenOperator {\n    constructor(notifier, source) {\n        this.notifier = notifier;\n        this.source = source;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new RetryWhenSubscriber(subscriber, this.notifier, this.source));\n    }\n}\nclass RetryWhenSubscriber extends SimpleOuterSubscriber {\n    constructor(destination, notifier, source) {\n        super(destination);\n        this.notifier = notifier;\n        this.source = source;\n    }\n    error(err) {\n        if (!this.isStopped) {\n            let errors = this.errors;\n            let retries = this.retries;\n            let retriesSubscription = this.retriesSubscription;\n            if (!retries) {\n                errors = new Subject();\n                try {\n                    const { notifier } = this;\n                    retries = notifier(errors);\n                }\n                catch (e) {\n                    return super.error(e);\n                }\n                retriesSubscription = innerSubscribe(retries, new SimpleInnerSubscriber(this));\n            }\n            else {\n                this.errors = undefined;\n                this.retriesSubscription = undefined;\n            }\n            this._unsubscribeAndRecycle();\n            this.errors = errors;\n            this.retries = retries;\n            this.retriesSubscription = retriesSubscription;\n            errors.next(err);\n        }\n    }\n    _unsubscribe() {\n        const { errors, retriesSubscription } = this;\n        if (errors) {\n            errors.unsubscribe();\n            this.errors = undefined;\n        }\n        if (retriesSubscription) {\n            retriesSubscription.unsubscribe();\n            this.retriesSubscription = undefined;\n        }\n        this.retries = undefined;\n    }\n    notifyNext() {\n        const { _unsubscribe } = this;\n        this._unsubscribe = null;\n        this._unsubscribeAndRecycle();\n        this._unsubscribe = _unsubscribe;\n        this.source.subscribe(this);\n    }\n}\n","import { Subscriber } from '../Subscriber';\nexport function scan(accumulator, seed) {\n    let hasSeed = false;\n    if (arguments.length >= 2) {\n        hasSeed = true;\n    }\n    return function scanOperatorFunction(source) {\n        return source.lift(new ScanOperator(accumulator, seed, hasSeed));\n    };\n}\nclass ScanOperator {\n    constructor(accumulator, seed, hasSeed = false) {\n        this.accumulator = accumulator;\n        this.seed = seed;\n        this.hasSeed = hasSeed;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new ScanSubscriber(subscriber, this.accumulator, this.seed, this.hasSeed));\n    }\n}\nclass ScanSubscriber extends Subscriber {\n    constructor(destination, accumulator, _seed, hasSeed) {\n        super(destination);\n        this.accumulator = accumulator;\n        this._seed = _seed;\n        this.hasSeed = hasSeed;\n        this.index = 0;\n    }\n    get seed() {\n        return this._seed;\n    }\n    set seed(value) {\n        this.hasSeed = true;\n        this._seed = value;\n    }\n    _next(value) {\n        if (!this.hasSeed) {\n            this.seed = value;\n            this.destination.next(value);\n        }\n        else {\n            return this._tryNext(value);\n        }\n    }\n    _tryNext(value) {\n        const index = this.index++;\n        let result;\n        try {\n            result = this.accumulator(this.seed, value, index);\n        }\n        catch (err) {\n            this.destination.error(err);\n        }\n        this.seed = result;\n        this.destination.next(result);\n    }\n}\n","import { multicast } from './multicast';\nimport { refCount } from './refCount';\nimport { Subject } from '../Subject';\nfunction shareSubjectFactory() {\n    return new Subject();\n}\nexport function share() {\n    return (source) => refCount()(multicast(shareSubjectFactory)(source));\n}\n","import { ReplaySubject } from '../ReplaySubject';\nexport function shareReplay(configOrBufferSize, windowTime, scheduler) {\n    let config;\n    if (configOrBufferSize && typeof configOrBufferSize === 'object') {\n        config = configOrBufferSize;\n    }\n    else {\n        config = {\n            bufferSize: configOrBufferSize,\n            windowTime,\n            refCount: false,\n            scheduler,\n        };\n    }\n    return (source) => source.lift(shareReplayOperator(config));\n}\nfunction shareReplayOperator({ bufferSize = Number.POSITIVE_INFINITY, windowTime = Number.POSITIVE_INFINITY, refCount: useRefCount, scheduler, }) {\n    let subject;\n    let refCount = 0;\n    let subscription;\n    let hasError = false;\n    let isComplete = false;\n    return function shareReplayOperation(source) {\n        refCount++;\n        let innerSub;\n        if (!subject || hasError) {\n            hasError = false;\n            subject = new ReplaySubject(bufferSize, windowTime, scheduler);\n            innerSub = subject.subscribe(this);\n            subscription = source.subscribe({\n                next(value) {\n                    subject.next(value);\n                },\n                error(err) {\n                    hasError = true;\n                    subject.error(err);\n                },\n                complete() {\n                    isComplete = true;\n                    subscription = undefined;\n                    subject.complete();\n                },\n            });\n            if (isComplete) {\n                subscription = undefined;\n            }\n        }\n        else {\n            innerSub = subject.subscribe(this);\n        }\n        this.add(() => {\n            refCount--;\n            innerSub.unsubscribe();\n            innerSub = undefined;\n            if (subscription && !isComplete && useRefCount && refCount === 0) {\n                subscription.unsubscribe();\n                subscription = undefined;\n                subject = undefined;\n            }\n        });\n    };\n}\n","import { Subscriber } from '../Subscriber';\nexport function skip(count) {\n    return (source) => source.lift(new SkipOperator(count));\n}\nclass SkipOperator {\n    constructor(total) {\n        this.total = total;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new SkipSubscriber(subscriber, this.total));\n    }\n}\nclass SkipSubscriber extends Subscriber {\n    constructor(destination, total) {\n        super(destination);\n        this.total = total;\n        this.count = 0;\n    }\n    _next(x) {\n        if (++this.count > this.total) {\n            this.destination.next(x);\n        }\n    }\n}\n","import { concat } from '../observable/concat';\nimport { isScheduler } from '../util/isScheduler';\nexport function startWith(...array) {\n    const scheduler = array[array.length - 1];\n    if (isScheduler(scheduler)) {\n        array.pop();\n        return (source) => concat(array, source, scheduler);\n    }\n    else {\n        return (source) => concat(array, source);\n    }\n}\n","import { map } from './map';\nimport { from } from '../observable/from';\nimport { SimpleOuterSubscriber, SimpleInnerSubscriber, innerSubscribe } from '../innerSubscribe';\nexport function switchMap(project, resultSelector) {\n    if (typeof resultSelector === 'function') {\n        return (source) => source.pipe(switchMap((a, i) => from(project(a, i)).pipe(map((b, ii) => resultSelector(a, b, i, ii)))));\n    }\n    return (source) => source.lift(new SwitchMapOperator(project));\n}\nclass SwitchMapOperator {\n    constructor(project) {\n        this.project = project;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new SwitchMapSubscriber(subscriber, this.project));\n    }\n}\nclass SwitchMapSubscriber extends SimpleOuterSubscriber {\n    constructor(destination, project) {\n        super(destination);\n        this.project = project;\n        this.index = 0;\n    }\n    _next(value) {\n        let result;\n        const index = this.index++;\n        try {\n            result = this.project(value, index);\n        }\n        catch (error) {\n            this.destination.error(error);\n            return;\n        }\n        this._innerSub(result);\n    }\n    _innerSub(result) {\n        const innerSubscription = this.innerSubscription;\n        if (innerSubscription) {\n            innerSubscription.unsubscribe();\n        }\n        const innerSubscriber = new SimpleInnerSubscriber(this);\n        const destination = this.destination;\n        destination.add(innerSubscriber);\n        this.innerSubscription = innerSubscribe(result, innerSubscriber);\n        if (this.innerSubscription !== innerSubscriber) {\n            destination.add(this.innerSubscription);\n        }\n    }\n    _complete() {\n        const { innerSubscription } = this;\n        if (!innerSubscription || innerSubscription.closed) {\n            super._complete();\n        }\n        this.unsubscribe();\n    }\n    _unsubscribe() {\n        this.innerSubscription = undefined;\n    }\n    notifyComplete() {\n        this.innerSubscription = undefined;\n        if (this.isStopped) {\n            super._complete();\n        }\n    }\n    notifyNext(innerValue) {\n        this.destination.next(innerValue);\n    }\n}\n","import { switchMap } from './switchMap';\nexport function switchMapTo(innerObservable, resultSelector) {\n    return resultSelector ? switchMap(() => innerObservable, resultSelector) : switchMap(() => innerObservable);\n}\n","import { Subscriber } from '../Subscriber';\nimport { ArgumentOutOfRangeError } from '../util/ArgumentOutOfRangeError';\nimport { empty } from '../observable/empty';\nexport function take(count) {\n    return (source) => {\n        if (count === 0) {\n            return empty();\n        }\n        else {\n            return source.lift(new TakeOperator(count));\n        }\n    };\n}\nclass TakeOperator {\n    constructor(total) {\n        this.total = total;\n        if (this.total < 0) {\n            throw new ArgumentOutOfRangeError;\n        }\n    }\n    call(subscriber, source) {\n        return source.subscribe(new TakeSubscriber(subscriber, this.total));\n    }\n}\nclass TakeSubscriber extends Subscriber {\n    constructor(destination, total) {\n        super(destination);\n        this.total = total;\n        this.count = 0;\n    }\n    _next(value) {\n        const total = this.total;\n        const count = ++this.count;\n        if (count <= total) {\n            this.destination.next(value);\n            if (count === total) {\n                this.destination.complete();\n                this.unsubscribe();\n            }\n        }\n    }\n}\n","import { Subscriber } from '../Subscriber';\nimport { ArgumentOutOfRangeError } from '../util/ArgumentOutOfRangeError';\nimport { empty } from '../observable/empty';\nexport function takeLast(count) {\n    return function takeLastOperatorFunction(source) {\n        if (count === 0) {\n            return empty();\n        }\n        else {\n            return source.lift(new TakeLastOperator(count));\n        }\n    };\n}\nclass TakeLastOperator {\n    constructor(total) {\n        this.total = total;\n        if (this.total < 0) {\n            throw new ArgumentOutOfRangeError;\n        }\n    }\n    call(subscriber, source) {\n        return source.subscribe(new TakeLastSubscriber(subscriber, this.total));\n    }\n}\nclass TakeLastSubscriber extends Subscriber {\n    constructor(destination, total) {\n        super(destination);\n        this.total = total;\n        this.ring = new Array();\n        this.count = 0;\n    }\n    _next(value) {\n        const ring = this.ring;\n        const total = this.total;\n        const count = this.count++;\n        if (ring.length < total) {\n            ring.push(value);\n        }\n        else {\n            const index = count % total;\n            ring[index] = value;\n        }\n    }\n    _complete() {\n        const destination = this.destination;\n        let count = this.count;\n        if (count > 0) {\n            const total = this.count >= this.total ? this.total : this.count;\n            const ring = this.ring;\n            for (let i = 0; i < total; i++) {\n                const idx = (count++) % total;\n                destination.next(ring[idx]);\n            }\n        }\n        destination.complete();\n    }\n}\n","import { innerSubscribe, SimpleInnerSubscriber, SimpleOuterSubscriber } from '../innerSubscribe';\nexport function takeUntil(notifier) {\n    return (source) => source.lift(new TakeUntilOperator(notifier));\n}\nclass TakeUntilOperator {\n    constructor(notifier) {\n        this.notifier = notifier;\n    }\n    call(subscriber, source) {\n        const takeUntilSubscriber = new TakeUntilSubscriber(subscriber);\n        const notifierSubscription = innerSubscribe(this.notifier, new SimpleInnerSubscriber(takeUntilSubscriber));\n        if (notifierSubscription && !takeUntilSubscriber.seenValue) {\n            takeUntilSubscriber.add(notifierSubscription);\n            return source.subscribe(takeUntilSubscriber);\n        }\n        return takeUntilSubscriber;\n    }\n}\nclass TakeUntilSubscriber extends SimpleOuterSubscriber {\n    constructor(destination) {\n        super(destination);\n        this.seenValue = false;\n    }\n    notifyNext() {\n        this.seenValue = true;\n        this.complete();\n    }\n    notifyComplete() {\n    }\n}\n","import { Subscriber } from '../Subscriber';\nexport function takeWhile(predicate, inclusive = false) {\n    return (source) => source.lift(new TakeWhileOperator(predicate, inclusive));\n}\nclass TakeWhileOperator {\n    constructor(predicate, inclusive) {\n        this.predicate = predicate;\n        this.inclusive = inclusive;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new TakeWhileSubscriber(subscriber, this.predicate, this.inclusive));\n    }\n}\nclass TakeWhileSubscriber extends Subscriber {\n    constructor(destination, predicate, inclusive) {\n        super(destination);\n        this.predicate = predicate;\n        this.inclusive = inclusive;\n        this.index = 0;\n    }\n    _next(value) {\n        const destination = this.destination;\n        let result;\n        try {\n            result = this.predicate(value, this.index++);\n        }\n        catch (err) {\n            destination.error(err);\n            return;\n        }\n        this.nextOrComplete(value, result);\n    }\n    nextOrComplete(value, predicateResult) {\n        const destination = this.destination;\n        if (Boolean(predicateResult)) {\n            destination.next(value);\n        }\n        else {\n            if (this.inclusive) {\n                destination.next(value);\n            }\n            destination.complete();\n        }\n    }\n}\n","import { Subscriber } from '../Subscriber';\nimport { noop } from '../util/noop';\nimport { isFunction } from '../util/isFunction';\nexport function tap(nextOrObserver, error, complete) {\n    return function tapOperatorFunction(source) {\n        return source.lift(new DoOperator(nextOrObserver, error, complete));\n    };\n}\nclass DoOperator {\n    constructor(nextOrObserver, error, complete) {\n        this.nextOrObserver = nextOrObserver;\n        this.error = error;\n        this.complete = complete;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new TapSubscriber(subscriber, this.nextOrObserver, this.error, this.complete));\n    }\n}\nclass TapSubscriber extends Subscriber {\n    constructor(destination, observerOrNext, error, complete) {\n        super(destination);\n        this._tapNext = noop;\n        this._tapError = noop;\n        this._tapComplete = noop;\n        this._tapError = error || noop;\n        this._tapComplete = complete || noop;\n        if (isFunction(observerOrNext)) {\n            this._context = this;\n            this._tapNext = observerOrNext;\n        }\n        else if (observerOrNext) {\n            this._context = observerOrNext;\n            this._tapNext = observerOrNext.next || noop;\n            this._tapError = observerOrNext.error || noop;\n            this._tapComplete = observerOrNext.complete || noop;\n        }\n    }\n    _next(value) {\n        try {\n            this._tapNext.call(this._context, value);\n        }\n        catch (err) {\n            this.destination.error(err);\n            return;\n        }\n        this.destination.next(value);\n    }\n    _error(err) {\n        try {\n            this._tapError.call(this._context, err);\n        }\n        catch (err) {\n            this.destination.error(err);\n            return;\n        }\n        this.destination.error(err);\n    }\n    _complete() {\n        try {\n            this._tapComplete.call(this._context);\n        }\n        catch (err) {\n            this.destination.error(err);\n            return;\n        }\n        return this.destination.complete();\n    }\n}\n","import { EmptyError } from '../util/EmptyError';\nimport { Subscriber } from '../Subscriber';\nexport function throwIfEmpty(errorFactory = defaultErrorFactory) {\n    return (source) => {\n        return source.lift(new ThrowIfEmptyOperator(errorFactory));\n    };\n}\nclass ThrowIfEmptyOperator {\n    constructor(errorFactory) {\n        this.errorFactory = errorFactory;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new ThrowIfEmptySubscriber(subscriber, this.errorFactory));\n    }\n}\nclass ThrowIfEmptySubscriber extends Subscriber {\n    constructor(destination, errorFactory) {\n        super(destination);\n        this.errorFactory = errorFactory;\n        this.hasValue = false;\n    }\n    _next(value) {\n        this.hasValue = true;\n        this.destination.next(value);\n    }\n    _complete() {\n        if (!this.hasValue) {\n            let err;\n            try {\n                err = this.errorFactory();\n            }\n            catch (e) {\n                err = e;\n            }\n            this.destination.error(err);\n        }\n        else {\n            return this.destination.complete();\n        }\n    }\n}\nfunction defaultErrorFactory() {\n    return new EmptyError();\n}\n","import { async } from '../scheduler/async';\nimport { TimeoutError } from '../util/TimeoutError';\nimport { timeoutWith } from './timeoutWith';\nimport { throwError } from '../observable/throwError';\nexport function timeout(due, scheduler = async) {\n    return timeoutWith(due, throwError(new TimeoutError()), scheduler);\n}\n","import { async } from '../scheduler/async';\nimport { isDate } from '../util/isDate';\nimport { SimpleOuterSubscriber, innerSubscribe, SimpleInnerSubscriber } from '../innerSubscribe';\nexport function timeoutWith(due, withObservable, scheduler = async) {\n    return (source) => {\n        let absoluteTimeout = isDate(due);\n        let waitFor = absoluteTimeout ? (+due - scheduler.now()) : Math.abs(due);\n        return source.lift(new TimeoutWithOperator(waitFor, absoluteTimeout, withObservable, scheduler));\n    };\n}\nclass TimeoutWithOperator {\n    constructor(waitFor, absoluteTimeout, withObservable, scheduler) {\n        this.waitFor = waitFor;\n        this.absoluteTimeout = absoluteTimeout;\n        this.withObservable = withObservable;\n        this.scheduler = scheduler;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new TimeoutWithSubscriber(subscriber, this.absoluteTimeout, this.waitFor, this.withObservable, this.scheduler));\n    }\n}\nclass TimeoutWithSubscriber extends SimpleOuterSubscriber {\n    constructor(destination, absoluteTimeout, waitFor, withObservable, scheduler) {\n        super(destination);\n        this.absoluteTimeout = absoluteTimeout;\n        this.waitFor = waitFor;\n        this.withObservable = withObservable;\n        this.scheduler = scheduler;\n        this.scheduleTimeout();\n    }\n    static dispatchTimeout(subscriber) {\n        const { withObservable } = subscriber;\n        subscriber._unsubscribeAndRecycle();\n        subscriber.add(innerSubscribe(withObservable, new SimpleInnerSubscriber(subscriber)));\n    }\n    scheduleTimeout() {\n        const { action } = this;\n        if (action) {\n            this.action = action.schedule(this, this.waitFor);\n        }\n        else {\n            this.add(this.action = this.scheduler.schedule(TimeoutWithSubscriber.dispatchTimeout, this.waitFor, this));\n        }\n    }\n    _next(value) {\n        if (!this.absoluteTimeout) {\n            this.scheduleTimeout();\n        }\n        super._next(value);\n    }\n    _unsubscribe() {\n        this.action = undefined;\n        this.scheduler = null;\n        this.withObservable = null;\n    }\n}\n","import { Observable } from '../Observable';\nimport { Subscription } from '../Subscription';\nexport function scheduleArray(input, scheduler) {\n    return new Observable(subscriber => {\n        const sub = new Subscription();\n        let i = 0;\n        sub.add(scheduler.schedule(function () {\n            if (i === input.length) {\n                subscriber.complete();\n                return;\n            }\n            subscriber.next(input[i++]);\n            if (!subscriber.closed) {\n                sub.add(this.schedule());\n            }\n        }));\n        return sub;\n    });\n}\n","import { scheduleObservable } from './scheduleObservable';\nimport { schedulePromise } from './schedulePromise';\nimport { scheduleArray } from './scheduleArray';\nimport { scheduleIterable } from './scheduleIterable';\nimport { isInteropObservable } from '../util/isInteropObservable';\nimport { isPromise } from '../util/isPromise';\nimport { isArrayLike } from '../util/isArrayLike';\nimport { isIterable } from '../util/isIterable';\nexport function scheduled(input, scheduler) {\n    if (input != null) {\n        if (isInteropObservable(input)) {\n            return scheduleObservable(input, scheduler);\n        }\n        else if (isPromise(input)) {\n            return schedulePromise(input, scheduler);\n        }\n        else if (isArrayLike(input)) {\n            return scheduleArray(input, scheduler);\n        }\n        else if (isIterable(input) || typeof input === 'string') {\n            return scheduleIterable(input, scheduler);\n        }\n    }\n    throw new TypeError((input !== null && typeof input || input) + ' is not observable');\n}\n","import { observable as Symbol_observable } from '../symbol/observable';\nexport function isInteropObservable(input) {\n    return input && typeof input[Symbol_observable] === 'function';\n}\n","import { Observable } from '../Observable';\nimport { Subscription } from '../Subscription';\nimport { observable as Symbol_observable } from '../symbol/observable';\nexport function scheduleObservable(input, scheduler) {\n    return new Observable(subscriber => {\n        const sub = new Subscription();\n        sub.add(scheduler.schedule(() => {\n            const observable = input[Symbol_observable]();\n            sub.add(observable.subscribe({\n                next(value) { sub.add(scheduler.schedule(() => subscriber.next(value))); },\n                error(err) { sub.add(scheduler.schedule(() => subscriber.error(err))); },\n                complete() { sub.add(scheduler.schedule(() => subscriber.complete())); },\n            }));\n        }));\n        return sub;\n    });\n}\n","import { Observable } from '../Observable';\nimport { Subscription } from '../Subscription';\nexport function schedulePromise(input, scheduler) {\n    return new Observable(subscriber => {\n        const sub = new Subscription();\n        sub.add(scheduler.schedule(() => input.then(value => {\n            sub.add(scheduler.schedule(() => {\n                subscriber.next(value);\n                sub.add(scheduler.schedule(() => subscriber.complete()));\n            }));\n        }, err => {\n            sub.add(scheduler.schedule(() => subscriber.error(err)));\n        })));\n        return sub;\n    });\n}\n","import { iterator as Symbol_iterator } from '../symbol/iterator';\nexport function isIterable(input) {\n    return input && typeof input[Symbol_iterator] === 'function';\n}\n","import { Observable } from '../Observable';\nimport { Subscription } from '../Subscription';\nimport { iterator as Symbol_iterator } from '../symbol/iterator';\nexport function scheduleIterable(input, scheduler) {\n    if (!input) {\n        throw new Error('Iterable cannot be null');\n    }\n    return new Observable(subscriber => {\n        const sub = new Subscription();\n        let iterator;\n        sub.add(() => {\n            if (iterator && typeof iterator.return === 'function') {\n                iterator.return();\n            }\n        });\n        sub.add(scheduler.schedule(() => {\n            iterator = input[Symbol_iterator]();\n            sub.add(scheduler.schedule(function () {\n                if (subscriber.closed) {\n                    return;\n                }\n                let value;\n                let done;\n                try {\n                    const result = iterator.next();\n                    value = result.value;\n                    done = result.done;\n                }\n                catch (err) {\n                    subscriber.error(err);\n                    return;\n                }\n                if (done) {\n                    subscriber.complete();\n                }\n                else {\n                    subscriber.next(value);\n                    this.schedule();\n                }\n            }));\n        }));\n        return sub;\n    });\n}\n","import { Subscription } from '../Subscription';\nexport class Action extends Subscription {\n    constructor(scheduler, work) {\n        super();\n    }\n    schedule(state, delay = 0) {\n        return this;\n    }\n}\n","import { Action } from './Action';\nexport class AsyncAction extends Action {\n    constructor(scheduler, work) {\n        super(scheduler, work);\n        this.scheduler = scheduler;\n        this.work = work;\n        this.pending = false;\n    }\n    schedule(state, delay = 0) {\n        if (this.closed) {\n            return this;\n        }\n        this.state = state;\n        const id = this.id;\n        const scheduler = this.scheduler;\n        if (id != null) {\n            this.id = this.recycleAsyncId(scheduler, id, delay);\n        }\n        this.pending = true;\n        this.delay = delay;\n        this.id = this.id || this.requestAsyncId(scheduler, this.id, delay);\n        return this;\n    }\n    requestAsyncId(scheduler, id, delay = 0) {\n        return setInterval(scheduler.flush.bind(scheduler, this), delay);\n    }\n    recycleAsyncId(scheduler, id, delay = 0) {\n        if (delay !== null && this.delay === delay && this.pending === false) {\n            return id;\n        }\n        clearInterval(id);\n        return undefined;\n    }\n    execute(state, delay) {\n        if (this.closed) {\n            return new Error('executing a cancelled action');\n        }\n        this.pending = false;\n        const error = this._execute(state, delay);\n        if (error) {\n            return error;\n        }\n        else if (this.pending === false && this.id != null) {\n            this.id = this.recycleAsyncId(this.scheduler, this.id, null);\n        }\n    }\n    _execute(state, delay) {\n        let errored = false;\n        let errorValue = undefined;\n        try {\n            this.work(state);\n        }\n        catch (e) {\n            errored = true;\n            errorValue = !!e && e || new Error(e);\n        }\n        if (errored) {\n            this.unsubscribe();\n            return errorValue;\n        }\n    }\n    _unsubscribe() {\n        const id = this.id;\n        const scheduler = this.scheduler;\n        const actions = scheduler.actions;\n        const index = actions.indexOf(this);\n        this.work = null;\n        this.state = null;\n        this.pending = false;\n        this.scheduler = null;\n        if (index !== -1) {\n            actions.splice(index, 1);\n        }\n        if (id != null) {\n            this.id = this.recycleAsyncId(scheduler, id, null);\n        }\n        this.delay = null;\n    }\n}\n","import { Scheduler } from '../Scheduler';\nexport class AsyncScheduler extends Scheduler {\n    constructor(SchedulerAction, now = Scheduler.now) {\n        super(SchedulerAction, () => {\n            if (AsyncScheduler.delegate && AsyncScheduler.delegate !== this) {\n                return AsyncScheduler.delegate.now();\n            }\n            else {\n                return now();\n            }\n        });\n        this.actions = [];\n        this.active = false;\n        this.scheduled = undefined;\n    }\n    schedule(work, delay = 0, state) {\n        if (AsyncScheduler.delegate && AsyncScheduler.delegate !== this) {\n            return AsyncScheduler.delegate.schedule(work, delay, state);\n        }\n        else {\n            return super.schedule(work, delay, state);\n        }\n    }\n    flush(action) {\n        const { actions } = this;\n        if (this.active) {\n            actions.push(action);\n            return;\n        }\n        let error;\n        this.active = true;\n        do {\n            if (error = action.execute(action.state, action.delay)) {\n                break;\n            }\n        } while (action = actions.shift());\n        this.active = false;\n        if (error) {\n            while (action = actions.shift()) {\n                action.unsubscribe();\n            }\n            throw error;\n        }\n    }\n}\n","import { AsyncAction } from './AsyncAction';\nexport class AnimationFrameAction extends AsyncAction {\n    constructor(scheduler, work) {\n        super(scheduler, work);\n        this.scheduler = scheduler;\n        this.work = work;\n    }\n    requestAsyncId(scheduler, id, delay = 0) {\n        if (delay !== null && delay > 0) {\n            return super.requestAsyncId(scheduler, id, delay);\n        }\n        scheduler.actions.push(this);\n        return scheduler.scheduled || (scheduler.scheduled = requestAnimationFrame(() => scheduler.flush(null)));\n    }\n    recycleAsyncId(scheduler, id, delay = 0) {\n        if ((delay !== null && delay > 0) || (delay === null && this.delay > 0)) {\n            return super.recycleAsyncId(scheduler, id, delay);\n        }\n        if (scheduler.actions.length === 0) {\n            cancelAnimationFrame(id);\n            scheduler.scheduled = undefined;\n        }\n        return undefined;\n    }\n}\n","import { AsyncScheduler } from './AsyncScheduler';\nexport class AnimationFrameScheduler extends AsyncScheduler {\n    flush(action) {\n        this.active = true;\n        this.scheduled = undefined;\n        const { actions } = this;\n        let error;\n        let index = -1;\n        let count = actions.length;\n        action = action || actions.shift();\n        do {\n            if (error = action.execute(action.state, action.delay)) {\n                break;\n            }\n        } while (++index < count && (action = actions.shift()));\n        this.active = false;\n        if (error) {\n            while (++index < count && (action = actions.shift())) {\n                action.unsubscribe();\n            }\n            throw error;\n        }\n    }\n}\n","import { AnimationFrameAction } from './AnimationFrameAction';\nimport { AnimationFrameScheduler } from './AnimationFrameScheduler';\nexport const animationFrameScheduler = new AnimationFrameScheduler(AnimationFrameAction);\nexport const animationFrame = animationFrameScheduler;\n","let nextHandle = 1;\nconst RESOLVED = (() => Promise.resolve())();\nconst activeHandles = {};\nfunction findAndClearHandle(handle) {\n    if (handle in activeHandles) {\n        delete activeHandles[handle];\n        return true;\n    }\n    return false;\n}\nexport const Immediate = {\n    setImmediate(cb) {\n        const handle = nextHandle++;\n        activeHandles[handle] = true;\n        RESOLVED.then(() => findAndClearHandle(handle) && cb());\n        return handle;\n    },\n    clearImmediate(handle) {\n        findAndClearHandle(handle);\n    },\n};\nexport const TestTools = {\n    pending() {\n        return Object.keys(activeHandles).length;\n    }\n};\n","import { Immediate } from '../util/Immediate';\nimport { AsyncAction } from './AsyncAction';\nexport class AsapAction extends AsyncAction {\n    constructor(scheduler, work) {\n        super(scheduler, work);\n        this.scheduler = scheduler;\n        this.work = work;\n    }\n    requestAsyncId(scheduler, id, delay = 0) {\n        if (delay !== null && delay > 0) {\n            return super.requestAsyncId(scheduler, id, delay);\n        }\n        scheduler.actions.push(this);\n        return scheduler.scheduled || (scheduler.scheduled = Immediate.setImmediate(scheduler.flush.bind(scheduler, null)));\n    }\n    recycleAsyncId(scheduler, id, delay = 0) {\n        if ((delay !== null && delay > 0) || (delay === null && this.delay > 0)) {\n            return super.recycleAsyncId(scheduler, id, delay);\n        }\n        if (scheduler.actions.length === 0) {\n            Immediate.clearImmediate(id);\n            scheduler.scheduled = undefined;\n        }\n        return undefined;\n    }\n}\n","import { AsyncScheduler } from './AsyncScheduler';\nexport class AsapScheduler extends AsyncScheduler {\n    flush(action) {\n        this.active = true;\n        this.scheduled = undefined;\n        const { actions } = this;\n        let error;\n        let index = -1;\n        let count = actions.length;\n        action = action || actions.shift();\n        do {\n            if (error = action.execute(action.state, action.delay)) {\n                break;\n            }\n        } while (++index < count && (action = actions.shift()));\n        this.active = false;\n        if (error) {\n            while (++index < count && (action = actions.shift())) {\n                action.unsubscribe();\n            }\n            throw error;\n        }\n    }\n}\n","import { AsapAction } from './AsapAction';\nimport { AsapScheduler } from './AsapScheduler';\nexport const asapScheduler = new AsapScheduler(AsapAction);\nexport const asap = asapScheduler;\n","import { AsyncAction } from './AsyncAction';\nimport { AsyncScheduler } from './AsyncScheduler';\nexport const asyncScheduler = new AsyncScheduler(AsyncAction);\nexport const async = asyncScheduler;\n","import { AsyncAction } from './AsyncAction';\nexport class QueueAction extends AsyncAction {\n    constructor(scheduler, work) {\n        super(scheduler, work);\n        this.scheduler = scheduler;\n        this.work = work;\n    }\n    schedule(state, delay = 0) {\n        if (delay > 0) {\n            return super.schedule(state, delay);\n        }\n        this.delay = delay;\n        this.state = state;\n        this.scheduler.flush(this);\n        return this;\n    }\n    execute(state, delay) {\n        return (delay > 0 || this.closed) ?\n            super.execute(state, delay) :\n            this._execute(state, delay);\n    }\n    requestAsyncId(scheduler, id, delay = 0) {\n        if ((delay !== null && delay > 0) || (delay === null && this.delay > 0)) {\n            return super.requestAsyncId(scheduler, id, delay);\n        }\n        return scheduler.flush(this);\n    }\n}\n","import { AsyncScheduler } from './AsyncScheduler';\nexport class QueueScheduler extends AsyncScheduler {\n}\n","import { QueueAction } from './QueueAction';\nimport { QueueScheduler } from './QueueScheduler';\nexport const queueScheduler = new QueueScheduler(QueueAction);\nexport const queue = queueScheduler;\n","export function getSymbolIterator() {\n    if (typeof Symbol !== 'function' || !Symbol.iterator) {\n        return '@@iterator';\n    }\n    return Symbol.iterator;\n}\nexport const iterator = getSymbolIterator();\nexport const $$iterator = iterator;\n","export const observable = (() => typeof Symbol === 'function' && Symbol.observable || '@@observable')();\n","export const rxSubscriber = (() => typeof Symbol === 'function'\n    ? Symbol('rxSubscriber')\n    : '@@rxSubscriber_' + Math.random())();\nexport const $$rxSubscriber = rxSubscriber;\n","const ArgumentOutOfRangeErrorImpl = (() => {\n    function ArgumentOutOfRangeErrorImpl() {\n        Error.call(this);\n        this.message = 'argument out of range';\n        this.name = 'ArgumentOutOfRangeError';\n        return this;\n    }\n    ArgumentOutOfRangeErrorImpl.prototype = Object.create(Error.prototype);\n    return ArgumentOutOfRangeErrorImpl;\n})();\nexport const ArgumentOutOfRangeError = ArgumentOutOfRangeErrorImpl;\n","const EmptyErrorImpl = (() => {\n    function EmptyErrorImpl() {\n        Error.call(this);\n        this.message = 'no elements in sequence';\n        this.name = 'EmptyError';\n        return this;\n    }\n    EmptyErrorImpl.prototype = Object.create(Error.prototype);\n    return EmptyErrorImpl;\n})();\nexport const EmptyError = EmptyErrorImpl;\n","const ObjectUnsubscribedErrorImpl = (() => {\n    function ObjectUnsubscribedErrorImpl() {\n        Error.call(this);\n        this.message = 'object unsubscribed';\n        this.name = 'ObjectUnsubscribedError';\n        return this;\n    }\n    ObjectUnsubscribedErrorImpl.prototype = Object.create(Error.prototype);\n    return ObjectUnsubscribedErrorImpl;\n})();\nexport const ObjectUnsubscribedError = ObjectUnsubscribedErrorImpl;\n","const TimeoutErrorImpl = (() => {\n    function TimeoutErrorImpl() {\n        Error.call(this);\n        this.message = 'Timeout has occurred';\n        this.name = 'TimeoutError';\n        return this;\n    }\n    TimeoutErrorImpl.prototype = Object.create(Error.prototype);\n    return TimeoutErrorImpl;\n})();\nexport const TimeoutError = TimeoutErrorImpl;\n","const UnsubscriptionErrorImpl = (() => {\n    function UnsubscriptionErrorImpl(errors) {\n        Error.call(this);\n        this.message = errors ?\n            `${errors.length} errors occurred during unsubscription:\n${errors.map((err, i) => `${i + 1}) ${err.toString()}`).join('\\n  ')}` : '';\n        this.name = 'UnsubscriptionError';\n        this.errors = errors;\n        return this;\n    }\n    UnsubscriptionErrorImpl.prototype = Object.create(Error.prototype);\n    return UnsubscriptionErrorImpl;\n})();\nexport const UnsubscriptionError = UnsubscriptionErrorImpl;\n","import { Subscriber } from '../Subscriber';\nexport function canReportError(observer) {\n    while (observer) {\n        const { closed, destination, isStopped } = observer;\n        if (closed || isStopped) {\n            return false;\n        }\n        else if (destination && destination instanceof Subscriber) {\n            observer = destination;\n        }\n        else {\n            observer = null;\n        }\n    }\n    return true;\n}\n","export function hostReportError(err) {\n    setTimeout(() => { throw err; }, 0);\n}\n","export function identity(x) {\n    return x;\n}\n","export const isArray = (() => Array.isArray || ((x) => x && typeof x.length === 'number'))();\n","export const isArrayLike = ((x) => x && typeof x.length === 'number' && typeof x !== 'function');\n","export function isDate(value) {\n    return value instanceof Date && !isNaN(+value);\n}\n","export function isFunction(x) {\n    return typeof x === 'function';\n}\n","import { isArray } from './isArray';\nexport function isNumeric(val) {\n    return !isArray(val) && (val - parseFloat(val) + 1) >= 0;\n}\n","export function isObject(x) {\n    return x !== null && typeof x === 'object';\n}\n","import { Observable } from '../Observable';\nexport function isObservable(obj) {\n    return !!obj && (obj instanceof Observable || (typeof obj.lift === 'function' && typeof obj.subscribe === 'function'));\n}\n","export function isPromise(value) {\n    return !!value && typeof value.subscribe !== 'function' && typeof value.then === 'function';\n}\n","export function isScheduler(value) {\n    return value && typeof value.schedule === 'function';\n}\n","export function noop() { }\n","export function not(pred, thisArg) {\n    function notPred() {\n        return !(notPred.pred.apply(notPred.thisArg, arguments));\n    }\n    notPred.pred = pred;\n    notPred.thisArg = thisArg;\n    return notPred;\n}\n","import { identity } from './identity';\nexport function pipe(...fns) {\n    return pipeFromArray(fns);\n}\nexport function pipeFromArray(fns) {\n    if (fns.length === 0) {\n        return identity;\n    }\n    if (fns.length === 1) {\n        return fns[0];\n    }\n    return function piped(input) {\n        return fns.reduce((prev, fn) => fn(prev), input);\n    };\n}\n","import { subscribeToArray } from './subscribeToArray';\nimport { subscribeToPromise } from './subscribeToPromise';\nimport { subscribeToIterable } from './subscribeToIterable';\nimport { subscribeToObservable } from './subscribeToObservable';\nimport { isArrayLike } from './isArrayLike';\nimport { isPromise } from './isPromise';\nimport { isObject } from './isObject';\nimport { iterator as Symbol_iterator } from '../symbol/iterator';\nimport { observable as Symbol_observable } from '../symbol/observable';\nexport const subscribeTo = (result) => {\n    if (!!result && typeof result[Symbol_observable] === 'function') {\n        return subscribeToObservable(result);\n    }\n    else if (isArrayLike(result)) {\n        return subscribeToArray(result);\n    }\n    else if (isPromise(result)) {\n        return subscribeToPromise(result);\n    }\n    else if (!!result && typeof result[Symbol_iterator] === 'function') {\n        return subscribeToIterable(result);\n    }\n    else {\n        const value = isObject(result) ? 'an invalid object' : `'${result}'`;\n        const msg = `You provided ${value} where a stream was expected.`\n            + ' You can provide an Observable, Promise, Array, or Iterable.';\n        throw new TypeError(msg);\n    }\n};\n","import { observable as Symbol_observable } from '../symbol/observable';\nexport const subscribeToObservable = (obj) => (subscriber) => {\n    const obs = obj[Symbol_observable]();\n    if (typeof obs.subscribe !== 'function') {\n        throw new TypeError('Provided object does not correctly implement Symbol.observable');\n    }\n    else {\n        return obs.subscribe(subscriber);\n    }\n};\n","import { hostReportError } from './hostReportError';\nexport const subscribeToPromise = (promise) => (subscriber) => {\n    promise.then((value) => {\n        if (!subscriber.closed) {\n            subscriber.next(value);\n            subscriber.complete();\n        }\n    }, (err) => subscriber.error(err))\n        .then(null, hostReportError);\n    return subscriber;\n};\n","import { iterator as Symbol_iterator } from '../symbol/iterator';\nexport const subscribeToIterable = (iterable) => (subscriber) => {\n    const iterator = iterable[Symbol_iterator]();\n    do {\n        let item;\n        try {\n            item = iterator.next();\n        }\n        catch (err) {\n            subscriber.error(err);\n            return subscriber;\n        }\n        if (item.done) {\n            subscriber.complete();\n            break;\n        }\n        subscriber.next(item.value);\n        if (subscriber.closed) {\n            break;\n        }\n    } while (true);\n    if (typeof iterator.return === 'function') {\n        subscriber.add(() => {\n            if (iterator.return) {\n                iterator.return();\n            }\n        });\n    }\n    return subscriber;\n};\n","export const subscribeToArray = (array) => (subscriber) => {\n    for (let i = 0, len = array.length; i < len && !subscriber.closed; i++) {\n        subscriber.next(array[i]);\n    }\n    subscriber.complete();\n};\n","import { Subscriber } from './Subscriber';\nexport class InnerSubscriber extends Subscriber {\n    constructor(parent, outerValue, outerIndex) {\n        super();\n        this.parent = parent;\n        this.outerValue = outerValue;\n        this.outerIndex = outerIndex;\n        this.index = 0;\n    }\n    _next(value) {\n        this.parent.notifyNext(this.outerValue, value, this.outerIndex, this.index++, this);\n    }\n    _error(error) {\n        this.parent.notifyError(error, this);\n        this.unsubscribe();\n    }\n    _complete() {\n        this.parent.notifyComplete(this);\n        this.unsubscribe();\n    }\n}\n","import { InnerSubscriber } from '../InnerSubscriber';\nimport { subscribeTo } from './subscribeTo';\nimport { Observable } from '../Observable';\nexport function subscribeToResult(outerSubscriber, result, outerValue, outerIndex, innerSubscriber = new InnerSubscriber(outerSubscriber, outerValue, outerIndex)) {\n    if (innerSubscriber.closed) {\n        return undefined;\n    }\n    if (result instanceof Observable) {\n        return result.subscribe(innerSubscriber);\n    }\n    return subscribeTo(result)(innerSubscriber);\n}\n","import { SimpleOuterSubscriber, innerSubscribe, SimpleInnerSubscriber } from '../innerSubscribe';\nexport function buffer(closingNotifier) {\n    return function bufferOperatorFunction(source) {\n        return source.lift(new BufferOperator(closingNotifier));\n    };\n}\nclass BufferOperator {\n    constructor(closingNotifier) {\n        this.closingNotifier = closingNotifier;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new BufferSubscriber(subscriber, this.closingNotifier));\n    }\n}\nclass BufferSubscriber extends SimpleOuterSubscriber {\n    constructor(destination, closingNotifier) {\n        super(destination);\n        this.buffer = [];\n        this.add(innerSubscribe(closingNotifier, new SimpleInnerSubscriber(this)));\n    }\n    _next(value) {\n        this.buffer.push(value);\n    }\n    notifyNext() {\n        const buffer = this.buffer;\n        this.buffer = [];\n        this.destination.next(buffer);\n    }\n}\n","import { Subscriber } from '../Subscriber';\nexport function bufferCount(bufferSize, startBufferEvery = null) {\n    return function bufferCountOperatorFunction(source) {\n        return source.lift(new BufferCountOperator(bufferSize, startBufferEvery));\n    };\n}\nclass BufferCountOperator {\n    constructor(bufferSize, startBufferEvery) {\n        this.bufferSize = bufferSize;\n        this.startBufferEvery = startBufferEvery;\n        if (!startBufferEvery || bufferSize === startBufferEvery) {\n            this.subscriberClass = BufferCountSubscriber;\n        }\n        else {\n            this.subscriberClass = BufferSkipCountSubscriber;\n        }\n    }\n    call(subscriber, source) {\n        return source.subscribe(new this.subscriberClass(subscriber, this.bufferSize, this.startBufferEvery));\n    }\n}\nclass BufferCountSubscriber extends Subscriber {\n    constructor(destination, bufferSize) {\n        super(destination);\n        this.bufferSize = bufferSize;\n        this.buffer = [];\n    }\n    _next(value) {\n        const buffer = this.buffer;\n        buffer.push(value);\n        if (buffer.length == this.bufferSize) {\n            this.destination.next(buffer);\n            this.buffer = [];\n        }\n    }\n    _complete() {\n        const buffer = this.buffer;\n        if (buffer.length > 0) {\n            this.destination.next(buffer);\n        }\n        super._complete();\n    }\n}\nclass BufferSkipCountSubscriber extends Subscriber {\n    constructor(destination, bufferSize, startBufferEvery) {\n        super(destination);\n        this.bufferSize = bufferSize;\n        this.startBufferEvery = startBufferEvery;\n        this.buffers = [];\n        this.count = 0;\n    }\n    _next(value) {\n        const { bufferSize, startBufferEvery, buffers, count } = this;\n        this.count++;\n        if (count % startBufferEvery === 0) {\n            buffers.push([]);\n        }\n        for (let i = buffers.length; i--;) {\n            const buffer = buffers[i];\n            buffer.push(value);\n            if (buffer.length === bufferSize) {\n                buffers.splice(i, 1);\n                this.destination.next(buffer);\n            }\n        }\n    }\n    _complete() {\n        const { buffers, destination } = this;\n        while (buffers.length > 0) {\n            let buffer = buffers.shift();\n            if (buffer.length > 0) {\n                destination.next(buffer);\n            }\n        }\n        super._complete();\n    }\n}\n","import { async } from '../scheduler/async';\nimport { Subscriber } from '../Subscriber';\nimport { isScheduler } from '../util/isScheduler';\nexport function bufferTime(bufferTimeSpan) {\n    let length = arguments.length;\n    let scheduler = async;\n    if (isScheduler(arguments[arguments.length - 1])) {\n        scheduler = arguments[arguments.length - 1];\n        length--;\n    }\n    let bufferCreationInterval = null;\n    if (length >= 2) {\n        bufferCreationInterval = arguments[1];\n    }\n    let maxBufferSize = Number.POSITIVE_INFINITY;\n    if (length >= 3) {\n        maxBufferSize = arguments[2];\n    }\n    return function bufferTimeOperatorFunction(source) {\n        return source.lift(new BufferTimeOperator(bufferTimeSpan, bufferCreationInterval, maxBufferSize, scheduler));\n    };\n}\nclass BufferTimeOperator {\n    constructor(bufferTimeSpan, bufferCreationInterval, maxBufferSize, scheduler) {\n        this.bufferTimeSpan = bufferTimeSpan;\n        this.bufferCreationInterval = bufferCreationInterval;\n        this.maxBufferSize = maxBufferSize;\n        this.scheduler = scheduler;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new BufferTimeSubscriber(subscriber, this.bufferTimeSpan, this.bufferCreationInterval, this.maxBufferSize, this.scheduler));\n    }\n}\nclass Context {\n    constructor() {\n        this.buffer = [];\n    }\n}\nclass BufferTimeSubscriber extends Subscriber {\n    constructor(destination, bufferTimeSpan, bufferCreationInterval, maxBufferSize, scheduler) {\n        super(destination);\n        this.bufferTimeSpan = bufferTimeSpan;\n        this.bufferCreationInterval = bufferCreationInterval;\n        this.maxBufferSize = maxBufferSize;\n        this.scheduler = scheduler;\n        this.contexts = [];\n        const context = this.openContext();\n        this.timespanOnly = bufferCreationInterval == null || bufferCreationInterval < 0;\n        if (this.timespanOnly) {\n            const timeSpanOnlyState = { subscriber: this, context, bufferTimeSpan };\n            this.add(context.closeAction = scheduler.schedule(dispatchBufferTimeSpanOnly, bufferTimeSpan, timeSpanOnlyState));\n        }\n        else {\n            const closeState = { subscriber: this, context };\n            const creationState = { bufferTimeSpan, bufferCreationInterval, subscriber: this, scheduler };\n            this.add(context.closeAction = scheduler.schedule(dispatchBufferClose, bufferTimeSpan, closeState));\n            this.add(scheduler.schedule(dispatchBufferCreation, bufferCreationInterval, creationState));\n        }\n    }\n    _next(value) {\n        const contexts = this.contexts;\n        const len = contexts.length;\n        let filledBufferContext;\n        for (let i = 0; i < len; i++) {\n            const context = contexts[i];\n            const buffer = context.buffer;\n            buffer.push(value);\n            if (buffer.length == this.maxBufferSize) {\n                filledBufferContext = context;\n            }\n        }\n        if (filledBufferContext) {\n            this.onBufferFull(filledBufferContext);\n        }\n    }\n    _error(err) {\n        this.contexts.length = 0;\n        super._error(err);\n    }\n    _complete() {\n        const { contexts, destination } = this;\n        while (contexts.length > 0) {\n            const context = contexts.shift();\n            destination.next(context.buffer);\n        }\n        super._complete();\n    }\n    _unsubscribe() {\n        this.contexts = null;\n    }\n    onBufferFull(context) {\n        this.closeContext(context);\n        const closeAction = context.closeAction;\n        closeAction.unsubscribe();\n        this.remove(closeAction);\n        if (!this.closed && this.timespanOnly) {\n            context = this.openContext();\n            const bufferTimeSpan = this.bufferTimeSpan;\n            const timeSpanOnlyState = { subscriber: this, context, bufferTimeSpan };\n            this.add(context.closeAction = this.scheduler.schedule(dispatchBufferTimeSpanOnly, bufferTimeSpan, timeSpanOnlyState));\n        }\n    }\n    openContext() {\n        const context = new Context();\n        this.contexts.push(context);\n        return context;\n    }\n    closeContext(context) {\n        this.destination.next(context.buffer);\n        const contexts = this.contexts;\n        const spliceIndex = contexts ? contexts.indexOf(context) : -1;\n        if (spliceIndex >= 0) {\n            contexts.splice(contexts.indexOf(context), 1);\n        }\n    }\n}\nfunction dispatchBufferTimeSpanOnly(state) {\n    const subscriber = state.subscriber;\n    const prevContext = state.context;\n    if (prevContext) {\n        subscriber.closeContext(prevContext);\n    }\n    if (!subscriber.closed) {\n        state.context = subscriber.openContext();\n        state.context.closeAction = this.schedule(state, state.bufferTimeSpan);\n    }\n}\nfunction dispatchBufferCreation(state) {\n    const { bufferCreationInterval, bufferTimeSpan, subscriber, scheduler } = state;\n    const context = subscriber.openContext();\n    const action = this;\n    if (!subscriber.closed) {\n        subscriber.add(context.closeAction = scheduler.schedule(dispatchBufferClose, bufferTimeSpan, { subscriber, context }));\n        action.schedule(state, bufferCreationInterval);\n    }\n}\nfunction dispatchBufferClose(arg) {\n    const { subscriber, context } = arg;\n    subscriber.closeContext(context);\n}\n","import { Subscription } from '../Subscription';\nimport { subscribeToResult } from '../util/subscribeToResult';\nimport { OuterSubscriber } from '../OuterSubscriber';\nexport function bufferToggle(openings, closingSelector) {\n    return function bufferToggleOperatorFunction(source) {\n        return source.lift(new BufferToggleOperator(openings, closingSelector));\n    };\n}\nclass BufferToggleOperator {\n    constructor(openings, closingSelector) {\n        this.openings = openings;\n        this.closingSelector = closingSelector;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new BufferToggleSubscriber(subscriber, this.openings, this.closingSelector));\n    }\n}\nclass BufferToggleSubscriber extends OuterSubscriber {\n    constructor(destination, openings, closingSelector) {\n        super(destination);\n        this.closingSelector = closingSelector;\n        this.contexts = [];\n        this.add(subscribeToResult(this, openings));\n    }\n    _next(value) {\n        const contexts = this.contexts;\n        const len = contexts.length;\n        for (let i = 0; i < len; i++) {\n            contexts[i].buffer.push(value);\n        }\n    }\n    _error(err) {\n        const contexts = this.contexts;\n        while (contexts.length > 0) {\n            const context = contexts.shift();\n            context.subscription.unsubscribe();\n            context.buffer = null;\n            context.subscription = null;\n        }\n        this.contexts = null;\n        super._error(err);\n    }\n    _complete() {\n        const contexts = this.contexts;\n        while (contexts.length > 0) {\n            const context = contexts.shift();\n            this.destination.next(context.buffer);\n            context.subscription.unsubscribe();\n            context.buffer = null;\n            context.subscription = null;\n        }\n        this.contexts = null;\n        super._complete();\n    }\n    notifyNext(outerValue, innerValue) {\n        outerValue ? this.closeBuffer(outerValue) : this.openBuffer(innerValue);\n    }\n    notifyComplete(innerSub) {\n        this.closeBuffer(innerSub.context);\n    }\n    openBuffer(value) {\n        try {\n            const closingSelector = this.closingSelector;\n            const closingNotifier = closingSelector.call(this, value);\n            if (closingNotifier) {\n                this.trySubscribe(closingNotifier);\n            }\n        }\n        catch (err) {\n            this._error(err);\n        }\n    }\n    closeBuffer(context) {\n        const contexts = this.contexts;\n        if (contexts && context) {\n            const { buffer, subscription } = context;\n            this.destination.next(buffer);\n            contexts.splice(contexts.indexOf(context), 1);\n            this.remove(subscription);\n            subscription.unsubscribe();\n        }\n    }\n    trySubscribe(closingNotifier) {\n        const contexts = this.contexts;\n        const buffer = [];\n        const subscription = new Subscription();\n        const context = { buffer, subscription };\n        contexts.push(context);\n        const innerSubscription = subscribeToResult(this, closingNotifier, context);\n        if (!innerSubscription || innerSubscription.closed) {\n            this.closeBuffer(context);\n        }\n        else {\n            innerSubscription.context = context;\n            this.add(innerSubscription);\n            subscription.add(innerSubscription);\n        }\n    }\n}\n","import { Subscription } from '../Subscription';\nimport { SimpleOuterSubscriber, innerSubscribe, SimpleInnerSubscriber } from '../innerSubscribe';\nexport function bufferWhen(closingSelector) {\n    return function (source) {\n        return source.lift(new BufferWhenOperator(closingSelector));\n    };\n}\nclass BufferWhenOperator {\n    constructor(closingSelector) {\n        this.closingSelector = closingSelector;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new BufferWhenSubscriber(subscriber, this.closingSelector));\n    }\n}\nclass BufferWhenSubscriber extends SimpleOuterSubscriber {\n    constructor(destination, closingSelector) {\n        super(destination);\n        this.closingSelector = closingSelector;\n        this.subscribing = false;\n        this.openBuffer();\n    }\n    _next(value) {\n        this.buffer.push(value);\n    }\n    _complete() {\n        const buffer = this.buffer;\n        if (buffer) {\n            this.destination.next(buffer);\n        }\n        super._complete();\n    }\n    _unsubscribe() {\n        this.buffer = undefined;\n        this.subscribing = false;\n    }\n    notifyNext() {\n        this.openBuffer();\n    }\n    notifyComplete() {\n        if (this.subscribing) {\n            this.complete();\n        }\n        else {\n            this.openBuffer();\n        }\n    }\n    openBuffer() {\n        let { closingSubscription } = this;\n        if (closingSubscription) {\n            this.remove(closingSubscription);\n            closingSubscription.unsubscribe();\n        }\n        const buffer = this.buffer;\n        if (this.buffer) {\n            this.destination.next(buffer);\n        }\n        this.buffer = [];\n        let closingNotifier;\n        try {\n            const { closingSelector } = this;\n            closingNotifier = closingSelector();\n        }\n        catch (err) {\n            return this.error(err);\n        }\n        closingSubscription = new Subscription();\n        this.closingSubscription = closingSubscription;\n        this.add(closingSubscription);\n        this.subscribing = true;\n        closingSubscription.add(innerSubscribe(closingNotifier, new SimpleInnerSubscriber(this)));\n        this.subscribing = false;\n    }\n}\n","import { CombineLatestOperator } from '../observable/combineLatest';\nexport function combineAll(project) {\n    return (source) => source.lift(new CombineLatestOperator(project));\n}\n","import { isArray } from '../util/isArray';\nimport { CombineLatestOperator } from '../observable/combineLatest';\nimport { from } from '../observable/from';\nconst none = {};\nexport function combineLatest(...observables) {\n    let project = null;\n    if (typeof observables[observables.length - 1] === 'function') {\n        project = observables.pop();\n    }\n    if (observables.length === 1 && isArray(observables[0])) {\n        observables = observables[0].slice();\n    }\n    return (source) => source.lift.call(from([source, ...observables]), new CombineLatestOperator(project));\n}\n","import { concat as concatStatic } from '../observable/concat';\nexport function concat(...observables) {\n    return (source) => source.lift.call(concatStatic(source, ...observables));\n}\n","import { concatMap } from './concatMap';\nexport function concatMapTo(innerObservable, resultSelector) {\n    return concatMap(() => innerObservable, resultSelector);\n}\n","import { Subscriber } from '../Subscriber';\nexport function count(predicate) {\n    return (source) => source.lift(new CountOperator(predicate, source));\n}\nclass CountOperator {\n    constructor(predicate, source) {\n        this.predicate = predicate;\n        this.source = source;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new CountSubscriber(subscriber, this.predicate, this.source));\n    }\n}\nclass CountSubscriber extends Subscriber {\n    constructor(destination, predicate, source) {\n        super(destination);\n        this.predicate = predicate;\n        this.source = source;\n        this.count = 0;\n        this.index = 0;\n    }\n    _next(value) {\n        if (this.predicate) {\n            this._tryPredicate(value);\n        }\n        else {\n            this.count++;\n        }\n    }\n    _tryPredicate(value) {\n        let result;\n        try {\n            result = this.predicate(value, this.index++, this.source);\n        }\n        catch (err) {\n            this.destination.error(err);\n            return;\n        }\n        if (result) {\n            this.count++;\n        }\n    }\n    _complete() {\n        this.destination.next(this.count);\n        this.destination.complete();\n    }\n}\n","import { SimpleOuterSubscriber, innerSubscribe, SimpleInnerSubscriber } from '../innerSubscribe';\nexport function debounce(durationSelector) {\n    return (source) => source.lift(new DebounceOperator(durationSelector));\n}\nclass DebounceOperator {\n    constructor(durationSelector) {\n        this.durationSelector = durationSelector;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new DebounceSubscriber(subscriber, this.durationSelector));\n    }\n}\nclass DebounceSubscriber extends SimpleOuterSubscriber {\n    constructor(destination, durationSelector) {\n        super(destination);\n        this.durationSelector = durationSelector;\n        this.hasValue = false;\n    }\n    _next(value) {\n        try {\n            const result = this.durationSelector.call(this, value);\n            if (result) {\n                this._tryNext(value, result);\n            }\n        }\n        catch (err) {\n            this.destination.error(err);\n        }\n    }\n    _complete() {\n        this.emitValue();\n        this.destination.complete();\n    }\n    _tryNext(value, duration) {\n        let subscription = this.durationSubscription;\n        this.value = value;\n        this.hasValue = true;\n        if (subscription) {\n            subscription.unsubscribe();\n            this.remove(subscription);\n        }\n        subscription = innerSubscribe(duration, new SimpleInnerSubscriber(this));\n        if (subscription && !subscription.closed) {\n            this.add(this.durationSubscription = subscription);\n        }\n    }\n    notifyNext() {\n        this.emitValue();\n    }\n    notifyComplete() {\n        this.emitValue();\n    }\n    emitValue() {\n        if (this.hasValue) {\n            const value = this.value;\n            const subscription = this.durationSubscription;\n            if (subscription) {\n                this.durationSubscription = undefined;\n                subscription.unsubscribe();\n                this.remove(subscription);\n            }\n            this.value = undefined;\n            this.hasValue = false;\n            super._next(value);\n        }\n    }\n}\n","import { Subscriber } from '../Subscriber';\nexport function dematerialize() {\n    return function dematerializeOperatorFunction(source) {\n        return source.lift(new DeMaterializeOperator());\n    };\n}\nclass DeMaterializeOperator {\n    call(subscriber, source) {\n        return source.subscribe(new DeMaterializeSubscriber(subscriber));\n    }\n}\nclass DeMaterializeSubscriber extends Subscriber {\n    constructor(destination) {\n        super(destination);\n    }\n    _next(value) {\n        value.observe(this.destination);\n    }\n}\n","import { SimpleOuterSubscriber, innerSubscribe, SimpleInnerSubscriber } from '../innerSubscribe';\nexport function distinct(keySelector, flushes) {\n    return (source) => source.lift(new DistinctOperator(keySelector, flushes));\n}\nclass DistinctOperator {\n    constructor(keySelector, flushes) {\n        this.keySelector = keySelector;\n        this.flushes = flushes;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new DistinctSubscriber(subscriber, this.keySelector, this.flushes));\n    }\n}\nexport class DistinctSubscriber extends SimpleOuterSubscriber {\n    constructor(destination, keySelector, flushes) {\n        super(destination);\n        this.keySelector = keySelector;\n        this.values = new Set();\n        if (flushes) {\n            this.add(innerSubscribe(flushes, new SimpleInnerSubscriber(this)));\n        }\n    }\n    notifyNext() {\n        this.values.clear();\n    }\n    notifyError(error) {\n        this._error(error);\n    }\n    _next(value) {\n        if (this.keySelector) {\n            this._useKeySelector(value);\n        }\n        else {\n            this._finalizeNext(value, value);\n        }\n    }\n    _useKeySelector(value) {\n        let key;\n        const { destination } = this;\n        try {\n            key = this.keySelector(value);\n        }\n        catch (err) {\n            destination.error(err);\n            return;\n        }\n        this._finalizeNext(key, value);\n    }\n    _finalizeNext(key, value) {\n        const { values } = this;\n        if (!values.has(key)) {\n            values.add(key);\n            this.destination.next(value);\n        }\n    }\n}\n","import { distinctUntilChanged } from './distinctUntilChanged';\nexport function distinctUntilKeyChanged(key, compare) {\n    return distinctUntilChanged((x, y) => compare ? compare(x[key], y[key]) : x[key] === y[key]);\n}\n","import { ArgumentOutOfRangeError } from '../util/ArgumentOutOfRangeError';\nimport { filter } from './filter';\nimport { throwIfEmpty } from './throwIfEmpty';\nimport { defaultIfEmpty } from './defaultIfEmpty';\nimport { take } from './take';\nexport function elementAt(index, defaultValue) {\n    if (index < 0) {\n        throw new ArgumentOutOfRangeError();\n    }\n    const hasDefaultValue = arguments.length >= 2;\n    return (source) => source.pipe(filter((v, i) => i === index), take(1), hasDefaultValue\n        ? defaultIfEmpty(defaultValue)\n        : throwIfEmpty(() => new ArgumentOutOfRangeError()));\n}\n","import { concat } from '../observable/concat';\nimport { of } from '../observable/of';\nexport function endWith(...array) {\n    return (source) => concat(source, of(...array));\n}\n","import { Subscriber } from '../Subscriber';\nexport function every(predicate, thisArg) {\n    return (source) => source.lift(new EveryOperator(predicate, thisArg, source));\n}\nclass EveryOperator {\n    constructor(predicate, thisArg, source) {\n        this.predicate = predicate;\n        this.thisArg = thisArg;\n        this.source = source;\n    }\n    call(observer, source) {\n        return source.subscribe(new EverySubscriber(observer, this.predicate, this.thisArg, this.source));\n    }\n}\nclass EverySubscriber extends Subscriber {\n    constructor(destination, predicate, thisArg, source) {\n        super(destination);\n        this.predicate = predicate;\n        this.thisArg = thisArg;\n        this.source = source;\n        this.index = 0;\n        this.thisArg = thisArg || this;\n    }\n    notifyComplete(everyValueMatch) {\n        this.destination.next(everyValueMatch);\n        this.destination.complete();\n    }\n    _next(value) {\n        let result = false;\n        try {\n            result = this.predicate.call(this.thisArg, value, this.index++, this.source);\n        }\n        catch (err) {\n            this.destination.error(err);\n            return;\n        }\n        if (!result) {\n            this.notifyComplete(false);\n        }\n    }\n    _complete() {\n        this.notifyComplete(true);\n    }\n}\n","import { SimpleOuterSubscriber, innerSubscribe, SimpleInnerSubscriber } from '../innerSubscribe';\nexport function exhaust() {\n    return (source) => source.lift(new SwitchFirstOperator());\n}\nclass SwitchFirstOperator {\n    call(subscriber, source) {\n        return source.subscribe(new SwitchFirstSubscriber(subscriber));\n    }\n}\nclass SwitchFirstSubscriber extends SimpleOuterSubscriber {\n    constructor(destination) {\n        super(destination);\n        this.hasCompleted = false;\n        this.hasSubscription = false;\n    }\n    _next(value) {\n        if (!this.hasSubscription) {\n            this.hasSubscription = true;\n            this.add(innerSubscribe(value, new SimpleInnerSubscriber(this)));\n        }\n    }\n    _complete() {\n        this.hasCompleted = true;\n        if (!this.hasSubscription) {\n            this.destination.complete();\n        }\n    }\n    notifyComplete() {\n        this.hasSubscription = false;\n        if (this.hasCompleted) {\n            this.destination.complete();\n        }\n    }\n}\n","import { map } from './map';\nimport { from } from '../observable/from';\nimport { SimpleOuterSubscriber, SimpleInnerSubscriber, innerSubscribe } from '../innerSubscribe';\nexport function exhaustMap(project, resultSelector) {\n    if (resultSelector) {\n        return (source) => source.pipe(exhaustMap((a, i) => from(project(a, i)).pipe(map((b, ii) => resultSelector(a, b, i, ii)))));\n    }\n    return (source) => source.lift(new ExhaustMapOperator(project));\n}\nclass ExhaustMapOperator {\n    constructor(project) {\n        this.project = project;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new ExhaustMapSubscriber(subscriber, this.project));\n    }\n}\nclass ExhaustMapSubscriber extends SimpleOuterSubscriber {\n    constructor(destination, project) {\n        super(destination);\n        this.project = project;\n        this.hasSubscription = false;\n        this.hasCompleted = false;\n        this.index = 0;\n    }\n    _next(value) {\n        if (!this.hasSubscription) {\n            this.tryNext(value);\n        }\n    }\n    tryNext(value) {\n        let result;\n        const index = this.index++;\n        try {\n            result = this.project(value, index);\n        }\n        catch (err) {\n            this.destination.error(err);\n            return;\n        }\n        this.hasSubscription = true;\n        this._innerSub(result);\n    }\n    _innerSub(result) {\n        const innerSubscriber = new SimpleInnerSubscriber(this);\n        const destination = this.destination;\n        destination.add(innerSubscriber);\n        const innerSubscription = innerSubscribe(result, innerSubscriber);\n        if (innerSubscription !== innerSubscriber) {\n            destination.add(innerSubscription);\n        }\n    }\n    _complete() {\n        this.hasCompleted = true;\n        if (!this.hasSubscription) {\n            this.destination.complete();\n        }\n        this.unsubscribe();\n    }\n    notifyNext(innerValue) {\n        this.destination.next(innerValue);\n    }\n    notifyError(err) {\n        this.destination.error(err);\n    }\n    notifyComplete() {\n        this.hasSubscription = false;\n        if (this.hasCompleted) {\n            this.destination.complete();\n        }\n    }\n}\n","import { SimpleOuterSubscriber, innerSubscribe, SimpleInnerSubscriber } from '../innerSubscribe';\nexport function expand(project, concurrent = Number.POSITIVE_INFINITY, scheduler) {\n    concurrent = (concurrent || 0) < 1 ? Number.POSITIVE_INFINITY : concurrent;\n    return (source) => source.lift(new ExpandOperator(project, concurrent, scheduler));\n}\nexport class ExpandOperator {\n    constructor(project, concurrent, scheduler) {\n        this.project = project;\n        this.concurrent = concurrent;\n        this.scheduler = scheduler;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new ExpandSubscriber(subscriber, this.project, this.concurrent, this.scheduler));\n    }\n}\nexport class ExpandSubscriber extends SimpleOuterSubscriber {\n    constructor(destination, project, concurrent, scheduler) {\n        super(destination);\n        this.project = project;\n        this.concurrent = concurrent;\n        this.scheduler = scheduler;\n        this.index = 0;\n        this.active = 0;\n        this.hasCompleted = false;\n        if (concurrent < Number.POSITIVE_INFINITY) {\n            this.buffer = [];\n        }\n    }\n    static dispatch(arg) {\n        const { subscriber, result, value, index } = arg;\n        subscriber.subscribeToProjection(result, value, index);\n    }\n    _next(value) {\n        const destination = this.destination;\n        if (destination.closed) {\n            this._complete();\n            return;\n        }\n        const index = this.index++;\n        if (this.active < this.concurrent) {\n            destination.next(value);\n            try {\n                const { project } = this;\n                const result = project(value, index);\n                if (!this.scheduler) {\n                    this.subscribeToProjection(result, value, index);\n                }\n                else {\n                    const state = { subscriber: this, result, value, index };\n                    const destination = this.destination;\n                    destination.add(this.scheduler.schedule(ExpandSubscriber.dispatch, 0, state));\n                }\n            }\n            catch (e) {\n                destination.error(e);\n            }\n        }\n        else {\n            this.buffer.push(value);\n        }\n    }\n    subscribeToProjection(result, value, index) {\n        this.active++;\n        const destination = this.destination;\n        destination.add(innerSubscribe(result, new SimpleInnerSubscriber(this)));\n    }\n    _complete() {\n        this.hasCompleted = true;\n        if (this.hasCompleted && this.active === 0) {\n            this.destination.complete();\n        }\n        this.unsubscribe();\n    }\n    notifyNext(innerValue) {\n        this._next(innerValue);\n    }\n    notifyComplete() {\n        const buffer = this.buffer;\n        this.active--;\n        if (buffer && buffer.length > 0) {\n            this._next(buffer.shift());\n        }\n        if (this.hasCompleted && this.active === 0) {\n            this.destination.complete();\n        }\n    }\n}\n","import { Subscriber } from '../Subscriber';\nexport function find(predicate, thisArg) {\n    if (typeof predicate !== 'function') {\n        throw new TypeError('predicate is not a function');\n    }\n    return (source) => source.lift(new FindValueOperator(predicate, source, false, thisArg));\n}\nexport class FindValueOperator {\n    constructor(predicate, source, yieldIndex, thisArg) {\n        this.predicate = predicate;\n        this.source = source;\n        this.yieldIndex = yieldIndex;\n        this.thisArg = thisArg;\n    }\n    call(observer, source) {\n        return source.subscribe(new FindValueSubscriber(observer, this.predicate, this.source, this.yieldIndex, this.thisArg));\n    }\n}\nexport class FindValueSubscriber extends Subscriber {\n    constructor(destination, predicate, source, yieldIndex, thisArg) {\n        super(destination);\n        this.predicate = predicate;\n        this.source = source;\n        this.yieldIndex = yieldIndex;\n        this.thisArg = thisArg;\n        this.index = 0;\n    }\n    notifyComplete(value) {\n        const destination = this.destination;\n        destination.next(value);\n        destination.complete();\n        this.unsubscribe();\n    }\n    _next(value) {\n        const { predicate, thisArg } = this;\n        const index = this.index++;\n        try {\n            const result = predicate.call(thisArg || this, value, index, this.source);\n            if (result) {\n                this.notifyComplete(this.yieldIndex ? index : value);\n            }\n        }\n        catch (err) {\n            this.destination.error(err);\n        }\n    }\n    _complete() {\n        this.notifyComplete(this.yieldIndex ? -1 : undefined);\n    }\n}\n","import { FindValueOperator } from '../operators/find';\nexport function findIndex(predicate, thisArg) {\n    return (source) => source.lift(new FindValueOperator(predicate, source, true, thisArg));\n}\n","import { Subscriber } from '../Subscriber';\nexport function ignoreElements() {\n    return function ignoreElementsOperatorFunction(source) {\n        return source.lift(new IgnoreElementsOperator());\n    };\n}\nclass IgnoreElementsOperator {\n    call(subscriber, source) {\n        return source.subscribe(new IgnoreElementsSubscriber(subscriber));\n    }\n}\nclass IgnoreElementsSubscriber extends Subscriber {\n    _next(unused) {\n    }\n}\n","import { Subscriber } from '../Subscriber';\nexport function isEmpty() {\n    return (source) => source.lift(new IsEmptyOperator());\n}\nclass IsEmptyOperator {\n    call(observer, source) {\n        return source.subscribe(new IsEmptySubscriber(observer));\n    }\n}\nclass IsEmptySubscriber extends Subscriber {\n    constructor(destination) {\n        super(destination);\n    }\n    notifyComplete(isEmpty) {\n        const destination = this.destination;\n        destination.next(isEmpty);\n        destination.complete();\n    }\n    _next(value) {\n        this.notifyComplete(false);\n    }\n    _complete() {\n        this.notifyComplete(true);\n    }\n}\n","import { Subscriber } from '../Subscriber';\nimport { Notification } from '../Notification';\nexport function materialize() {\n    return function materializeOperatorFunction(source) {\n        return source.lift(new MaterializeOperator());\n    };\n}\nclass MaterializeOperator {\n    call(subscriber, source) {\n        return source.subscribe(new MaterializeSubscriber(subscriber));\n    }\n}\nclass MaterializeSubscriber extends Subscriber {\n    constructor(destination) {\n        super(destination);\n    }\n    _next(value) {\n        this.destination.next(Notification.createNext(value));\n    }\n    _error(err) {\n        const destination = this.destination;\n        destination.next(Notification.createError(err));\n        destination.complete();\n    }\n    _complete() {\n        const destination = this.destination;\n        destination.next(Notification.createComplete());\n        destination.complete();\n    }\n}\n","import { scan } from './scan';\nimport { takeLast } from './takeLast';\nimport { defaultIfEmpty } from './defaultIfEmpty';\nimport { pipe } from '../util/pipe';\nexport function reduce(accumulator, seed) {\n    if (arguments.length >= 2) {\n        return function reduceOperatorFunctionWithSeed(source) {\n            return pipe(scan(accumulator, seed), takeLast(1), defaultIfEmpty(seed))(source);\n        };\n    }\n    return function reduceOperatorFunction(source) {\n        return pipe(scan((acc, value, index) => accumulator(acc, value, index + 1)), takeLast(1))(source);\n    };\n}\n","import { reduce } from './reduce';\nexport function max(comparer) {\n    const max = (typeof comparer === 'function')\n        ? (x, y) => comparer(x, y) > 0 ? x : y\n        : (x, y) => x > y ? x : y;\n    return reduce(max);\n}\n","import { merge as mergeStatic } from '../observable/merge';\nexport function merge(...observables) {\n    return (source) => source.lift.call(mergeStatic(source, ...observables));\n}\n","import { mergeMap } from './mergeMap';\nexport function mergeMapTo(innerObservable, resultSelector, concurrent = Number.POSITIVE_INFINITY) {\n    if (typeof resultSelector === 'function') {\n        return mergeMap(() => innerObservable, resultSelector, concurrent);\n    }\n    if (typeof resultSelector === 'number') {\n        concurrent = resultSelector;\n    }\n    return mergeMap(() => innerObservable, concurrent);\n}\n","import { SimpleOuterSubscriber, SimpleInnerSubscriber, innerSubscribe } from '../innerSubscribe';\nexport function mergeScan(accumulator, seed, concurrent = Number.POSITIVE_INFINITY) {\n    return (source) => source.lift(new MergeScanOperator(accumulator, seed, concurrent));\n}\nexport class MergeScanOperator {\n    constructor(accumulator, seed, concurrent) {\n        this.accumulator = accumulator;\n        this.seed = seed;\n        this.concurrent = concurrent;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new MergeScanSubscriber(subscriber, this.accumulator, this.seed, this.concurrent));\n    }\n}\nexport class MergeScanSubscriber extends SimpleOuterSubscriber {\n    constructor(destination, accumulator, acc, concurrent) {\n        super(destination);\n        this.accumulator = accumulator;\n        this.acc = acc;\n        this.concurrent = concurrent;\n        this.hasValue = false;\n        this.hasCompleted = false;\n        this.buffer = [];\n        this.active = 0;\n        this.index = 0;\n    }\n    _next(value) {\n        if (this.active < this.concurrent) {\n            const index = this.index++;\n            const destination = this.destination;\n            let ish;\n            try {\n                const { accumulator } = this;\n                ish = accumulator(this.acc, value, index);\n            }\n            catch (e) {\n                return destination.error(e);\n            }\n            this.active++;\n            this._innerSub(ish);\n        }\n        else {\n            this.buffer.push(value);\n        }\n    }\n    _innerSub(ish) {\n        const innerSubscriber = new SimpleInnerSubscriber(this);\n        const destination = this.destination;\n        destination.add(innerSubscriber);\n        const innerSubscription = innerSubscribe(ish, innerSubscriber);\n        if (innerSubscription !== innerSubscriber) {\n            destination.add(innerSubscription);\n        }\n    }\n    _complete() {\n        this.hasCompleted = true;\n        if (this.active === 0 && this.buffer.length === 0) {\n            if (this.hasValue === false) {\n                this.destination.next(this.acc);\n            }\n            this.destination.complete();\n        }\n        this.unsubscribe();\n    }\n    notifyNext(innerValue) {\n        const { destination } = this;\n        this.acc = innerValue;\n        this.hasValue = true;\n        destination.next(innerValue);\n    }\n    notifyComplete() {\n        const buffer = this.buffer;\n        this.active--;\n        if (buffer.length > 0) {\n            this._next(buffer.shift());\n        }\n        else if (this.active === 0 && this.hasCompleted) {\n            if (this.hasValue === false) {\n                this.destination.next(this.acc);\n            }\n            this.destination.complete();\n        }\n    }\n}\n","import { reduce } from './reduce';\nexport function min(comparer) {\n    const min = (typeof comparer === 'function')\n        ? (x, y) => comparer(x, y) < 0 ? x : y\n        : (x, y) => x < y ? x : y;\n    return reduce(min);\n}\n","import { from } from '../observable/from';\nimport { isArray } from '../util/isArray';\nimport { SimpleOuterSubscriber, SimpleInnerSubscriber, innerSubscribe } from '../innerSubscribe';\nexport function onErrorResumeNext(...nextSources) {\n    if (nextSources.length === 1 && isArray(nextSources[0])) {\n        nextSources = nextSources[0];\n    }\n    return (source) => source.lift(new OnErrorResumeNextOperator(nextSources));\n}\nexport function onErrorResumeNextStatic(...nextSources) {\n    let source = undefined;\n    if (nextSources.length === 1 && isArray(nextSources[0])) {\n        nextSources = nextSources[0];\n    }\n    source = nextSources.shift();\n    return from(source).lift(new OnErrorResumeNextOperator(nextSources));\n}\nclass OnErrorResumeNextOperator {\n    constructor(nextSources) {\n        this.nextSources = nextSources;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new OnErrorResumeNextSubscriber(subscriber, this.nextSources));\n    }\n}\nclass OnErrorResumeNextSubscriber extends SimpleOuterSubscriber {\n    constructor(destination, nextSources) {\n        super(destination);\n        this.destination = destination;\n        this.nextSources = nextSources;\n    }\n    notifyError() {\n        this.subscribeToNextSource();\n    }\n    notifyComplete() {\n        this.subscribeToNextSource();\n    }\n    _error(err) {\n        this.subscribeToNextSource();\n        this.unsubscribe();\n    }\n    _complete() {\n        this.subscribeToNextSource();\n        this.unsubscribe();\n    }\n    subscribeToNextSource() {\n        const next = this.nextSources.shift();\n        if (!!next) {\n            const innerSubscriber = new SimpleInnerSubscriber(this);\n            const destination = this.destination;\n            destination.add(innerSubscriber);\n            const innerSubscription = innerSubscribe(next, innerSubscriber);\n            if (innerSubscription !== innerSubscriber) {\n                destination.add(innerSubscription);\n            }\n        }\n        else {\n            this.destination.complete();\n        }\n    }\n}\n","import { not } from '../util/not';\nimport { filter } from './filter';\nexport function partition(predicate, thisArg) {\n    return (source) => [\n        filter(predicate, thisArg)(source),\n        filter(not(predicate, thisArg))(source)\n    ];\n}\n","import { map } from './map';\nexport function pluck(...properties) {\n    const length = properties.length;\n    if (length === 0) {\n        throw new Error('list of properties cannot be empty.');\n    }\n    return (source) => map(plucker(properties, length))(source);\n}\nfunction plucker(props, length) {\n    const mapper = (x) => {\n        let currentProp = x;\n        for (let i = 0; i < length; i++) {\n            const p = currentProp != null ? currentProp[props[i]] : undefined;\n            if (p !== void 0) {\n                currentProp = p;\n            }\n            else {\n                return undefined;\n            }\n        }\n        return currentProp;\n    };\n    return mapper;\n}\n","import { Subject } from '../Subject';\nimport { multicast } from './multicast';\nexport function publish(selector) {\n    return selector ?\n        multicast(() => new Subject(), selector) :\n        multicast(new Subject());\n}\n","import { BehaviorSubject } from '../BehaviorSubject';\nimport { multicast } from './multicast';\nexport function publishBehavior(value) {\n    return (source) => multicast(new BehaviorSubject(value))(source);\n}\n","import { AsyncSubject } from '../AsyncSubject';\nimport { multicast } from './multicast';\nexport function publishLast() {\n    return (source) => multicast(new AsyncSubject())(source);\n}\n","import { ReplaySubject } from '../ReplaySubject';\nimport { multicast } from './multicast';\nexport function publishReplay(bufferSize, windowTime, selectorOrScheduler, scheduler) {\n    if (selectorOrScheduler && typeof selectorOrScheduler !== 'function') {\n        scheduler = selectorOrScheduler;\n    }\n    const selector = typeof selectorOrScheduler === 'function' ? selectorOrScheduler : undefined;\n    const subject = new ReplaySubject(bufferSize, windowTime, scheduler);\n    return (source) => multicast(() => subject, selector)(source);\n}\n","import { isArray } from '../util/isArray';\nimport { race as raceStatic } from '../observable/race';\nexport function race(...observables) {\n    return function raceOperatorFunction(source) {\n        if (observables.length === 1 && isArray(observables[0])) {\n            observables = observables[0];\n        }\n        return source.lift.call(raceStatic(source, ...observables));\n    };\n}\n","import { Subscriber } from '../Subscriber';\nimport { empty } from '../observable/empty';\nexport function repeat(count = -1) {\n    return (source) => {\n        if (count === 0) {\n            return empty();\n        }\n        else if (count < 0) {\n            return source.lift(new RepeatOperator(-1, source));\n        }\n        else {\n            return source.lift(new RepeatOperator(count - 1, source));\n        }\n    };\n}\nclass RepeatOperator {\n    constructor(count, source) {\n        this.count = count;\n        this.source = source;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new RepeatSubscriber(subscriber, this.count, this.source));\n    }\n}\nclass RepeatSubscriber extends Subscriber {\n    constructor(destination, count, source) {\n        super(destination);\n        this.count = count;\n        this.source = source;\n    }\n    complete() {\n        if (!this.isStopped) {\n            const { source, count } = this;\n            if (count === 0) {\n                return super.complete();\n            }\n            else if (count > -1) {\n                this.count = count - 1;\n            }\n            source.subscribe(this._unsubscribeAndRecycle());\n        }\n    }\n}\n","import { Subscriber } from '../Subscriber';\nexport function retry(count = -1) {\n    return (source) => source.lift(new RetryOperator(count, source));\n}\nclass RetryOperator {\n    constructor(count, source) {\n        this.count = count;\n        this.source = source;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new RetrySubscriber(subscriber, this.count, this.source));\n    }\n}\nclass RetrySubscriber extends Subscriber {\n    constructor(destination, count, source) {\n        super(destination);\n        this.count = count;\n        this.source = source;\n    }\n    error(err) {\n        if (!this.isStopped) {\n            const { source, count } = this;\n            if (count === 0) {\n                return super.error(err);\n            }\n            else if (count > -1) {\n                this.count = count - 1;\n            }\n            source.subscribe(this._unsubscribeAndRecycle());\n        }\n    }\n}\n","import { SimpleOuterSubscriber, innerSubscribe, SimpleInnerSubscriber } from '../innerSubscribe';\nexport function sample(notifier) {\n    return (source) => source.lift(new SampleOperator(notifier));\n}\nclass SampleOperator {\n    constructor(notifier) {\n        this.notifier = notifier;\n    }\n    call(subscriber, source) {\n        const sampleSubscriber = new SampleSubscriber(subscriber);\n        const subscription = source.subscribe(sampleSubscriber);\n        subscription.add(innerSubscribe(this.notifier, new SimpleInnerSubscriber(sampleSubscriber)));\n        return subscription;\n    }\n}\nclass SampleSubscriber extends SimpleOuterSubscriber {\n    constructor() {\n        super(...arguments);\n        this.hasValue = false;\n    }\n    _next(value) {\n        this.value = value;\n        this.hasValue = true;\n    }\n    notifyNext() {\n        this.emitValue();\n    }\n    notifyComplete() {\n        this.emitValue();\n    }\n    emitValue() {\n        if (this.hasValue) {\n            this.hasValue = false;\n            this.destination.next(this.value);\n        }\n    }\n}\n","import { Subscriber } from '../Subscriber';\nimport { async } from '../scheduler/async';\nexport function sampleTime(period, scheduler = async) {\n    return (source) => source.lift(new SampleTimeOperator(period, scheduler));\n}\nclass SampleTimeOperator {\n    constructor(period, scheduler) {\n        this.period = period;\n        this.scheduler = scheduler;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new SampleTimeSubscriber(subscriber, this.period, this.scheduler));\n    }\n}\nclass SampleTimeSubscriber extends Subscriber {\n    constructor(destination, period, scheduler) {\n        super(destination);\n        this.period = period;\n        this.scheduler = scheduler;\n        this.hasValue = false;\n        this.add(scheduler.schedule(dispatchNotification, period, { subscriber: this, period }));\n    }\n    _next(value) {\n        this.lastValue = value;\n        this.hasValue = true;\n    }\n    notifyNext() {\n        if (this.hasValue) {\n            this.hasValue = false;\n            this.destination.next(this.lastValue);\n        }\n    }\n}\nfunction dispatchNotification(state) {\n    let { subscriber, period } = state;\n    subscriber.notifyNext();\n    this.schedule(state, period);\n}\n","import { Subscriber } from '../Subscriber';\nexport function sequenceEqual(compareTo, comparator) {\n    return (source) => source.lift(new SequenceEqualOperator(compareTo, comparator));\n}\nexport class SequenceEqualOperator {\n    constructor(compareTo, comparator) {\n        this.compareTo = compareTo;\n        this.comparator = comparator;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new SequenceEqualSubscriber(subscriber, this.compareTo, this.comparator));\n    }\n}\nexport class SequenceEqualSubscriber extends Subscriber {\n    constructor(destination, compareTo, comparator) {\n        super(destination);\n        this.compareTo = compareTo;\n        this.comparator = comparator;\n        this._a = [];\n        this._b = [];\n        this._oneComplete = false;\n        this.destination.add(compareTo.subscribe(new SequenceEqualCompareToSubscriber(destination, this)));\n    }\n    _next(value) {\n        if (this._oneComplete && this._b.length === 0) {\n            this.emit(false);\n        }\n        else {\n            this._a.push(value);\n            this.checkValues();\n        }\n    }\n    _complete() {\n        if (this._oneComplete) {\n            this.emit(this._a.length === 0 && this._b.length === 0);\n        }\n        else {\n            this._oneComplete = true;\n        }\n        this.unsubscribe();\n    }\n    checkValues() {\n        const { _a, _b, comparator } = this;\n        while (_a.length > 0 && _b.length > 0) {\n            let a = _a.shift();\n            let b = _b.shift();\n            let areEqual = false;\n            try {\n                areEqual = comparator ? comparator(a, b) : a === b;\n            }\n            catch (e) {\n                this.destination.error(e);\n            }\n            if (!areEqual) {\n                this.emit(false);\n            }\n        }\n    }\n    emit(value) {\n        const { destination } = this;\n        destination.next(value);\n        destination.complete();\n    }\n    nextB(value) {\n        if (this._oneComplete && this._a.length === 0) {\n            this.emit(false);\n        }\n        else {\n            this._b.push(value);\n            this.checkValues();\n        }\n    }\n    completeB() {\n        if (this._oneComplete) {\n            this.emit(this._a.length === 0 && this._b.length === 0);\n        }\n        else {\n            this._oneComplete = true;\n        }\n    }\n}\nclass SequenceEqualCompareToSubscriber extends Subscriber {\n    constructor(destination, parent) {\n        super(destination);\n        this.parent = parent;\n    }\n    _next(value) {\n        this.parent.nextB(value);\n    }\n    _error(err) {\n        this.parent.error(err);\n        this.unsubscribe();\n    }\n    _complete() {\n        this.parent.completeB();\n        this.unsubscribe();\n    }\n}\n","import { Subscriber } from '../Subscriber';\nimport { EmptyError } from '../util/EmptyError';\nexport function single(predicate) {\n    return (source) => source.lift(new SingleOperator(predicate, source));\n}\nclass SingleOperator {\n    constructor(predicate, source) {\n        this.predicate = predicate;\n        this.source = source;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new SingleSubscriber(subscriber, this.predicate, this.source));\n    }\n}\nclass SingleSubscriber extends Subscriber {\n    constructor(destination, predicate, source) {\n        super(destination);\n        this.predicate = predicate;\n        this.source = source;\n        this.seenValue = false;\n        this.index = 0;\n    }\n    applySingleValue(value) {\n        if (this.seenValue) {\n            this.destination.error('Sequence contains more than one element');\n        }\n        else {\n            this.seenValue = true;\n            this.singleValue = value;\n        }\n    }\n    _next(value) {\n        const index = this.index++;\n        if (this.predicate) {\n            this.tryNext(value, index);\n        }\n        else {\n            this.applySingleValue(value);\n        }\n    }\n    tryNext(value, index) {\n        try {\n            if (this.predicate(value, index, this.source)) {\n                this.applySingleValue(value);\n            }\n        }\n        catch (err) {\n            this.destination.error(err);\n        }\n    }\n    _complete() {\n        const destination = this.destination;\n        if (this.index > 0) {\n            destination.next(this.seenValue ? this.singleValue : undefined);\n            destination.complete();\n        }\n        else {\n            destination.error(new EmptyError);\n        }\n    }\n}\n","import { Subscriber } from '../Subscriber';\nimport { ArgumentOutOfRangeError } from '../util/ArgumentOutOfRangeError';\nexport function skipLast(count) {\n    return (source) => source.lift(new SkipLastOperator(count));\n}\nclass SkipLastOperator {\n    constructor(_skipCount) {\n        this._skipCount = _skipCount;\n        if (this._skipCount < 0) {\n            throw new ArgumentOutOfRangeError;\n        }\n    }\n    call(subscriber, source) {\n        if (this._skipCount === 0) {\n            return source.subscribe(new Subscriber(subscriber));\n        }\n        else {\n            return source.subscribe(new SkipLastSubscriber(subscriber, this._skipCount));\n        }\n    }\n}\nclass SkipLastSubscriber extends Subscriber {\n    constructor(destination, _skipCount) {\n        super(destination);\n        this._skipCount = _skipCount;\n        this._count = 0;\n        this._ring = new Array(_skipCount);\n    }\n    _next(value) {\n        const skipCount = this._skipCount;\n        const count = this._count++;\n        if (count < skipCount) {\n            this._ring[count] = value;\n        }\n        else {\n            const currentIndex = count % skipCount;\n            const ring = this._ring;\n            const oldValue = ring[currentIndex];\n            ring[currentIndex] = value;\n            this.destination.next(oldValue);\n        }\n    }\n}\n","import { SimpleOuterSubscriber, SimpleInnerSubscriber, innerSubscribe } from '../innerSubscribe';\nexport function skipUntil(notifier) {\n    return (source) => source.lift(new SkipUntilOperator(notifier));\n}\nclass SkipUntilOperator {\n    constructor(notifier) {\n        this.notifier = notifier;\n    }\n    call(destination, source) {\n        return source.subscribe(new SkipUntilSubscriber(destination, this.notifier));\n    }\n}\nclass SkipUntilSubscriber extends SimpleOuterSubscriber {\n    constructor(destination, notifier) {\n        super(destination);\n        this.hasValue = false;\n        const innerSubscriber = new SimpleInnerSubscriber(this);\n        this.add(innerSubscriber);\n        this.innerSubscription = innerSubscriber;\n        const innerSubscription = innerSubscribe(notifier, innerSubscriber);\n        if (innerSubscription !== innerSubscriber) {\n            this.add(innerSubscription);\n            this.innerSubscription = innerSubscription;\n        }\n    }\n    _next(value) {\n        if (this.hasValue) {\n            super._next(value);\n        }\n    }\n    notifyNext() {\n        this.hasValue = true;\n        if (this.innerSubscription) {\n            this.innerSubscription.unsubscribe();\n        }\n    }\n    notifyComplete() {\n    }\n}\n","import { Subscriber } from '../Subscriber';\nexport function skipWhile(predicate) {\n    return (source) => source.lift(new SkipWhileOperator(predicate));\n}\nclass SkipWhileOperator {\n    constructor(predicate) {\n        this.predicate = predicate;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new SkipWhileSubscriber(subscriber, this.predicate));\n    }\n}\nclass SkipWhileSubscriber extends Subscriber {\n    constructor(destination, predicate) {\n        super(destination);\n        this.predicate = predicate;\n        this.skipping = true;\n        this.index = 0;\n    }\n    _next(value) {\n        const destination = this.destination;\n        if (this.skipping) {\n            this.tryCallPredicate(value);\n        }\n        if (!this.skipping) {\n            destination.next(value);\n        }\n    }\n    tryCallPredicate(value) {\n        try {\n            const result = this.predicate(value, this.index++);\n            this.skipping = Boolean(result);\n        }\n        catch (err) {\n            this.destination.error(err);\n        }\n    }\n}\n","import { Observable } from '../Observable';\nimport { asap } from '../scheduler/asap';\nimport { isNumeric } from '../util/isNumeric';\nexport class SubscribeOnObservable extends Observable {\n    constructor(source, delayTime = 0, scheduler = asap) {\n        super();\n        this.source = source;\n        this.delayTime = delayTime;\n        this.scheduler = scheduler;\n        if (!isNumeric(delayTime) || delayTime < 0) {\n            this.delayTime = 0;\n        }\n        if (!scheduler || typeof scheduler.schedule !== 'function') {\n            this.scheduler = asap;\n        }\n    }\n    static create(source, delay = 0, scheduler = asap) {\n        return new SubscribeOnObservable(source, delay, scheduler);\n    }\n    static dispatch(arg) {\n        const { source, subscriber } = arg;\n        return this.add(source.subscribe(subscriber));\n    }\n    _subscribe(subscriber) {\n        const delay = this.delayTime;\n        const source = this.source;\n        const scheduler = this.scheduler;\n        return scheduler.schedule(SubscribeOnObservable.dispatch, delay, {\n            source, subscriber\n        });\n    }\n}\n","import { SubscribeOnObservable } from '../observable/SubscribeOnObservable';\nexport function subscribeOn(scheduler, delay = 0) {\n    return function subscribeOnOperatorFunction(source) {\n        return source.lift(new SubscribeOnOperator(scheduler, delay));\n    };\n}\nclass SubscribeOnOperator {\n    constructor(scheduler, delay) {\n        this.scheduler = scheduler;\n        this.delay = delay;\n    }\n    call(subscriber, source) {\n        return new SubscribeOnObservable(source, this.delay, this.scheduler).subscribe(subscriber);\n    }\n}\n","import { switchMap } from './switchMap';\nimport { identity } from '../util/identity';\nexport function switchAll() {\n    return switchMap(identity);\n}\n","import { SimpleOuterSubscriber, innerSubscribe, SimpleInnerSubscriber } from '../innerSubscribe';\nexport const defaultThrottleConfig = {\n    leading: true,\n    trailing: false\n};\nexport function throttle(durationSelector, config = defaultThrottleConfig) {\n    return (source) => source.lift(new ThrottleOperator(durationSelector, !!config.leading, !!config.trailing));\n}\nclass ThrottleOperator {\n    constructor(durationSelector, leading, trailing) {\n        this.durationSelector = durationSelector;\n        this.leading = leading;\n        this.trailing = trailing;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new ThrottleSubscriber(subscriber, this.durationSelector, this.leading, this.trailing));\n    }\n}\nclass ThrottleSubscriber extends SimpleOuterSubscriber {\n    constructor(destination, durationSelector, _leading, _trailing) {\n        super(destination);\n        this.destination = destination;\n        this.durationSelector = durationSelector;\n        this._leading = _leading;\n        this._trailing = _trailing;\n        this._hasValue = false;\n    }\n    _next(value) {\n        this._hasValue = true;\n        this._sendValue = value;\n        if (!this._throttled) {\n            if (this._leading) {\n                this.send();\n            }\n            else {\n                this.throttle(value);\n            }\n        }\n    }\n    send() {\n        const { _hasValue, _sendValue } = this;\n        if (_hasValue) {\n            this.destination.next(_sendValue);\n            this.throttle(_sendValue);\n        }\n        this._hasValue = false;\n        this._sendValue = undefined;\n    }\n    throttle(value) {\n        const duration = this.tryDurationSelector(value);\n        if (!!duration) {\n            this.add(this._throttled = innerSubscribe(duration, new SimpleInnerSubscriber(this)));\n        }\n    }\n    tryDurationSelector(value) {\n        try {\n            return this.durationSelector(value);\n        }\n        catch (err) {\n            this.destination.error(err);\n            return null;\n        }\n    }\n    throttlingDone() {\n        const { _throttled, _trailing } = this;\n        if (_throttled) {\n            _throttled.unsubscribe();\n        }\n        this._throttled = undefined;\n        if (_trailing) {\n            this.send();\n        }\n    }\n    notifyNext() {\n        this.throttlingDone();\n    }\n    notifyComplete() {\n        this.throttlingDone();\n    }\n}\n","import { Subscriber } from '../Subscriber';\nimport { async } from '../scheduler/async';\nimport { defaultThrottleConfig } from './throttle';\nexport function throttleTime(duration, scheduler = async, config = defaultThrottleConfig) {\n    return (source) => source.lift(new ThrottleTimeOperator(duration, scheduler, config.leading, config.trailing));\n}\nclass ThrottleTimeOperator {\n    constructor(duration, scheduler, leading, trailing) {\n        this.duration = duration;\n        this.scheduler = scheduler;\n        this.leading = leading;\n        this.trailing = trailing;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new ThrottleTimeSubscriber(subscriber, this.duration, this.scheduler, this.leading, this.trailing));\n    }\n}\nclass ThrottleTimeSubscriber extends Subscriber {\n    constructor(destination, duration, scheduler, leading, trailing) {\n        super(destination);\n        this.duration = duration;\n        this.scheduler = scheduler;\n        this.leading = leading;\n        this.trailing = trailing;\n        this._hasTrailingValue = false;\n        this._trailingValue = null;\n    }\n    _next(value) {\n        if (this.throttled) {\n            if (this.trailing) {\n                this._trailingValue = value;\n                this._hasTrailingValue = true;\n            }\n        }\n        else {\n            this.add(this.throttled = this.scheduler.schedule(dispatchNext, this.duration, { subscriber: this }));\n            if (this.leading) {\n                this.destination.next(value);\n            }\n            else if (this.trailing) {\n                this._trailingValue = value;\n                this._hasTrailingValue = true;\n            }\n        }\n    }\n    _complete() {\n        if (this._hasTrailingValue) {\n            this.destination.next(this._trailingValue);\n            this.destination.complete();\n        }\n        else {\n            this.destination.complete();\n        }\n    }\n    clearThrottle() {\n        const throttled = this.throttled;\n        if (throttled) {\n            if (this.trailing && this._hasTrailingValue) {\n                this.destination.next(this._trailingValue);\n                this._trailingValue = null;\n                this._hasTrailingValue = false;\n            }\n            throttled.unsubscribe();\n            this.remove(throttled);\n            this.throttled = null;\n        }\n    }\n}\nfunction dispatchNext(arg) {\n    const { subscriber } = arg;\n    subscriber.clearThrottle();\n}\n","import { async } from '../scheduler/async';\nimport { scan } from './scan';\nimport { defer } from '../observable/defer';\nimport { map } from './map';\nexport function timeInterval(scheduler = async) {\n    return (source) => defer(() => {\n        return source.pipe(scan(({ current }, value) => ({ value, current: scheduler.now(), last: current }), { current: scheduler.now(), value: undefined, last: undefined }), map(({ current, last, value }) => new TimeInterval(value, current - last)));\n    });\n}\nexport class TimeInterval {\n    constructor(value, interval) {\n        this.value = value;\n        this.interval = interval;\n    }\n}\n","import { async } from '../scheduler/async';\nimport { map } from './map';\nexport function timestamp(scheduler = async) {\n    return map((value) => new Timestamp(value, scheduler.now()));\n}\nexport class Timestamp {\n    constructor(value, timestamp) {\n        this.value = value;\n        this.timestamp = timestamp;\n    }\n}\n","import { reduce } from './reduce';\nfunction toArrayReducer(arr, item, index) {\n    if (index === 0) {\n        return [item];\n    }\n    arr.push(item);\n    return arr;\n}\nexport function toArray() {\n    return reduce(toArrayReducer, []);\n}\n","import { Subject } from '../Subject';\nimport { SimpleOuterSubscriber, innerSubscribe, SimpleInnerSubscriber } from '../innerSubscribe';\nexport function window(windowBoundaries) {\n    return function windowOperatorFunction(source) {\n        return source.lift(new WindowOperator(windowBoundaries));\n    };\n}\nclass WindowOperator {\n    constructor(windowBoundaries) {\n        this.windowBoundaries = windowBoundaries;\n    }\n    call(subscriber, source) {\n        const windowSubscriber = new WindowSubscriber(subscriber);\n        const sourceSubscription = source.subscribe(windowSubscriber);\n        if (!sourceSubscription.closed) {\n            windowSubscriber.add(innerSubscribe(this.windowBoundaries, new SimpleInnerSubscriber(windowSubscriber)));\n        }\n        return sourceSubscription;\n    }\n}\nclass WindowSubscriber extends SimpleOuterSubscriber {\n    constructor(destination) {\n        super(destination);\n        this.window = new Subject();\n        destination.next(this.window);\n    }\n    notifyNext() {\n        this.openWindow();\n    }\n    notifyError(error) {\n        this._error(error);\n    }\n    notifyComplete() {\n        this._complete();\n    }\n    _next(value) {\n        this.window.next(value);\n    }\n    _error(err) {\n        this.window.error(err);\n        this.destination.error(err);\n    }\n    _complete() {\n        this.window.complete();\n        this.destination.complete();\n    }\n    _unsubscribe() {\n        this.window = null;\n    }\n    openWindow() {\n        const prevWindow = this.window;\n        if (prevWindow) {\n            prevWindow.complete();\n        }\n        const destination = this.destination;\n        const newWindow = this.window = new Subject();\n        destination.next(newWindow);\n    }\n}\n","import { Subscriber } from '../Subscriber';\nimport { Subject } from '../Subject';\nexport function windowCount(windowSize, startWindowEvery = 0) {\n    return function windowCountOperatorFunction(source) {\n        return source.lift(new WindowCountOperator(windowSize, startWindowEvery));\n    };\n}\nclass WindowCountOperator {\n    constructor(windowSize, startWindowEvery) {\n        this.windowSize = windowSize;\n        this.startWindowEvery = startWindowEvery;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new WindowCountSubscriber(subscriber, this.windowSize, this.startWindowEvery));\n    }\n}\nclass WindowCountSubscriber extends Subscriber {\n    constructor(destination, windowSize, startWindowEvery) {\n        super(destination);\n        this.destination = destination;\n        this.windowSize = windowSize;\n        this.startWindowEvery = startWindowEvery;\n        this.windows = [new Subject()];\n        this.count = 0;\n        destination.next(this.windows[0]);\n    }\n    _next(value) {\n        const startWindowEvery = (this.startWindowEvery > 0) ? this.startWindowEvery : this.windowSize;\n        const destination = this.destination;\n        const windowSize = this.windowSize;\n        const windows = this.windows;\n        const len = windows.length;\n        for (let i = 0; i < len && !this.closed; i++) {\n            windows[i].next(value);\n        }\n        const c = this.count - windowSize + 1;\n        if (c >= 0 && c % startWindowEvery === 0 && !this.closed) {\n            windows.shift().complete();\n        }\n        if (++this.count % startWindowEvery === 0 && !this.closed) {\n            const window = new Subject();\n            windows.push(window);\n            destination.next(window);\n        }\n    }\n    _error(err) {\n        const windows = this.windows;\n        if (windows) {\n            while (windows.length > 0 && !this.closed) {\n                windows.shift().error(err);\n            }\n        }\n        this.destination.error(err);\n    }\n    _complete() {\n        const windows = this.windows;\n        if (windows) {\n            while (windows.length > 0 && !this.closed) {\n                windows.shift().complete();\n            }\n        }\n        this.destination.complete();\n    }\n    _unsubscribe() {\n        this.count = 0;\n        this.windows = null;\n    }\n}\n","import { Subject } from '../Subject';\nimport { async } from '../scheduler/async';\nimport { Subscriber } from '../Subscriber';\nimport { isNumeric } from '../util/isNumeric';\nimport { isScheduler } from '../util/isScheduler';\nexport function windowTime(windowTimeSpan) {\n    let scheduler = async;\n    let windowCreationInterval = null;\n    let maxWindowSize = Number.POSITIVE_INFINITY;\n    if (isScheduler(arguments[3])) {\n        scheduler = arguments[3];\n    }\n    if (isScheduler(arguments[2])) {\n        scheduler = arguments[2];\n    }\n    else if (isNumeric(arguments[2])) {\n        maxWindowSize = Number(arguments[2]);\n    }\n    if (isScheduler(arguments[1])) {\n        scheduler = arguments[1];\n    }\n    else if (isNumeric(arguments[1])) {\n        windowCreationInterval = Number(arguments[1]);\n    }\n    return function windowTimeOperatorFunction(source) {\n        return source.lift(new WindowTimeOperator(windowTimeSpan, windowCreationInterval, maxWindowSize, scheduler));\n    };\n}\nclass WindowTimeOperator {\n    constructor(windowTimeSpan, windowCreationInterval, maxWindowSize, scheduler) {\n        this.windowTimeSpan = windowTimeSpan;\n        this.windowCreationInterval = windowCreationInterval;\n        this.maxWindowSize = maxWindowSize;\n        this.scheduler = scheduler;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new WindowTimeSubscriber(subscriber, this.windowTimeSpan, this.windowCreationInterval, this.maxWindowSize, this.scheduler));\n    }\n}\nclass CountedSubject extends Subject {\n    constructor() {\n        super(...arguments);\n        this._numberOfNextedValues = 0;\n    }\n    next(value) {\n        this._numberOfNextedValues++;\n        super.next(value);\n    }\n    get numberOfNextedValues() {\n        return this._numberOfNextedValues;\n    }\n}\nclass WindowTimeSubscriber extends Subscriber {\n    constructor(destination, windowTimeSpan, windowCreationInterval, maxWindowSize, scheduler) {\n        super(destination);\n        this.destination = destination;\n        this.windowTimeSpan = windowTimeSpan;\n        this.windowCreationInterval = windowCreationInterval;\n        this.maxWindowSize = maxWindowSize;\n        this.scheduler = scheduler;\n        this.windows = [];\n        const window = this.openWindow();\n        if (windowCreationInterval !== null && windowCreationInterval >= 0) {\n            const closeState = { subscriber: this, window, context: null };\n            const creationState = { windowTimeSpan, windowCreationInterval, subscriber: this, scheduler };\n            this.add(scheduler.schedule(dispatchWindowClose, windowTimeSpan, closeState));\n            this.add(scheduler.schedule(dispatchWindowCreation, windowCreationInterval, creationState));\n        }\n        else {\n            const timeSpanOnlyState = { subscriber: this, window, windowTimeSpan };\n            this.add(scheduler.schedule(dispatchWindowTimeSpanOnly, windowTimeSpan, timeSpanOnlyState));\n        }\n    }\n    _next(value) {\n        const windows = this.windows;\n        const len = windows.length;\n        for (let i = 0; i < len; i++) {\n            const window = windows[i];\n            if (!window.closed) {\n                window.next(value);\n                if (window.numberOfNextedValues >= this.maxWindowSize) {\n                    this.closeWindow(window);\n                }\n            }\n        }\n    }\n    _error(err) {\n        const windows = this.windows;\n        while (windows.length > 0) {\n            windows.shift().error(err);\n        }\n        this.destination.error(err);\n    }\n    _complete() {\n        const windows = this.windows;\n        while (windows.length > 0) {\n            const window = windows.shift();\n            if (!window.closed) {\n                window.complete();\n            }\n        }\n        this.destination.complete();\n    }\n    openWindow() {\n        const window = new CountedSubject();\n        this.windows.push(window);\n        const destination = this.destination;\n        destination.next(window);\n        return window;\n    }\n    closeWindow(window) {\n        window.complete();\n        const windows = this.windows;\n        windows.splice(windows.indexOf(window), 1);\n    }\n}\nfunction dispatchWindowTimeSpanOnly(state) {\n    const { subscriber, windowTimeSpan, window } = state;\n    if (window) {\n        subscriber.closeWindow(window);\n    }\n    state.window = subscriber.openWindow();\n    this.schedule(state, windowTimeSpan);\n}\nfunction dispatchWindowCreation(state) {\n    const { windowTimeSpan, subscriber, scheduler, windowCreationInterval } = state;\n    const window = subscriber.openWindow();\n    const action = this;\n    let context = { action, subscription: null };\n    const timeSpanState = { subscriber, window, context };\n    context.subscription = scheduler.schedule(dispatchWindowClose, windowTimeSpan, timeSpanState);\n    action.add(context.subscription);\n    action.schedule(state, windowCreationInterval);\n}\nfunction dispatchWindowClose(state) {\n    const { subscriber, window, context } = state;\n    if (context && context.action && context.subscription) {\n        context.action.remove(context.subscription);\n    }\n    subscriber.closeWindow(window);\n}\n","import { Subject } from '../Subject';\nimport { Subscription } from '../Subscription';\nimport { OuterSubscriber } from '../OuterSubscriber';\nimport { subscribeToResult } from '../util/subscribeToResult';\nexport function windowToggle(openings, closingSelector) {\n    return (source) => source.lift(new WindowToggleOperator(openings, closingSelector));\n}\nclass WindowToggleOperator {\n    constructor(openings, closingSelector) {\n        this.openings = openings;\n        this.closingSelector = closingSelector;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new WindowToggleSubscriber(subscriber, this.openings, this.closingSelector));\n    }\n}\nclass WindowToggleSubscriber extends OuterSubscriber {\n    constructor(destination, openings, closingSelector) {\n        super(destination);\n        this.openings = openings;\n        this.closingSelector = closingSelector;\n        this.contexts = [];\n        this.add(this.openSubscription = subscribeToResult(this, openings, openings));\n    }\n    _next(value) {\n        const { contexts } = this;\n        if (contexts) {\n            const len = contexts.length;\n            for (let i = 0; i < len; i++) {\n                contexts[i].window.next(value);\n            }\n        }\n    }\n    _error(err) {\n        const { contexts } = this;\n        this.contexts = null;\n        if (contexts) {\n            const len = contexts.length;\n            let index = -1;\n            while (++index < len) {\n                const context = contexts[index];\n                context.window.error(err);\n                context.subscription.unsubscribe();\n            }\n        }\n        super._error(err);\n    }\n    _complete() {\n        const { contexts } = this;\n        this.contexts = null;\n        if (contexts) {\n            const len = contexts.length;\n            let index = -1;\n            while (++index < len) {\n                const context = contexts[index];\n                context.window.complete();\n                context.subscription.unsubscribe();\n            }\n        }\n        super._complete();\n    }\n    _unsubscribe() {\n        const { contexts } = this;\n        this.contexts = null;\n        if (contexts) {\n            const len = contexts.length;\n            let index = -1;\n            while (++index < len) {\n                const context = contexts[index];\n                context.window.unsubscribe();\n                context.subscription.unsubscribe();\n            }\n        }\n    }\n    notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) {\n        if (outerValue === this.openings) {\n            let closingNotifier;\n            try {\n                const { closingSelector } = this;\n                closingNotifier = closingSelector(innerValue);\n            }\n            catch (e) {\n                return this.error(e);\n            }\n            const window = new Subject();\n            const subscription = new Subscription();\n            const context = { window, subscription };\n            this.contexts.push(context);\n            const innerSubscription = subscribeToResult(this, closingNotifier, context);\n            if (innerSubscription.closed) {\n                this.closeWindow(this.contexts.length - 1);\n            }\n            else {\n                innerSubscription.context = context;\n                subscription.add(innerSubscription);\n            }\n            this.destination.next(window);\n        }\n        else {\n            this.closeWindow(this.contexts.indexOf(outerValue));\n        }\n    }\n    notifyError(err) {\n        this.error(err);\n    }\n    notifyComplete(inner) {\n        if (inner !== this.openSubscription) {\n            this.closeWindow(this.contexts.indexOf(inner.context));\n        }\n    }\n    closeWindow(index) {\n        if (index === -1) {\n            return;\n        }\n        const { contexts } = this;\n        const context = contexts[index];\n        const { window, subscription } = context;\n        contexts.splice(index, 1);\n        window.complete();\n        subscription.unsubscribe();\n    }\n}\n","import { Subject } from '../Subject';\nimport { OuterSubscriber } from '../OuterSubscriber';\nimport { subscribeToResult } from '../util/subscribeToResult';\nexport function windowWhen(closingSelector) {\n    return function windowWhenOperatorFunction(source) {\n        return source.lift(new WindowOperator(closingSelector));\n    };\n}\nclass WindowOperator {\n    constructor(closingSelector) {\n        this.closingSelector = closingSelector;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new WindowSubscriber(subscriber, this.closingSelector));\n    }\n}\nclass WindowSubscriber extends OuterSubscriber {\n    constructor(destination, closingSelector) {\n        super(destination);\n        this.destination = destination;\n        this.closingSelector = closingSelector;\n        this.openWindow();\n    }\n    notifyNext(_outerValue, _innerValue, _outerIndex, _innerIndex, innerSub) {\n        this.openWindow(innerSub);\n    }\n    notifyError(error) {\n        this._error(error);\n    }\n    notifyComplete(innerSub) {\n        this.openWindow(innerSub);\n    }\n    _next(value) {\n        this.window.next(value);\n    }\n    _error(err) {\n        this.window.error(err);\n        this.destination.error(err);\n        this.unsubscribeClosingNotification();\n    }\n    _complete() {\n        this.window.complete();\n        this.destination.complete();\n        this.unsubscribeClosingNotification();\n    }\n    unsubscribeClosingNotification() {\n        if (this.closingNotification) {\n            this.closingNotification.unsubscribe();\n        }\n    }\n    openWindow(innerSub = null) {\n        if (innerSub) {\n            this.remove(innerSub);\n            innerSub.unsubscribe();\n        }\n        const prevWindow = this.window;\n        if (prevWindow) {\n            prevWindow.complete();\n        }\n        const window = this.window = new Subject();\n        this.destination.next(window);\n        let closingNotifier;\n        try {\n            const { closingSelector } = this;\n            closingNotifier = closingSelector();\n        }\n        catch (e) {\n            this.destination.error(e);\n            this.window.error(e);\n            return;\n        }\n        this.add(this.closingNotification = subscribeToResult(this, closingNotifier));\n    }\n}\n","import { OuterSubscriber } from '../OuterSubscriber';\nimport { subscribeToResult } from '../util/subscribeToResult';\nexport function withLatestFrom(...args) {\n    return (source) => {\n        let project;\n        if (typeof args[args.length - 1] === 'function') {\n            project = args.pop();\n        }\n        const observables = args;\n        return source.lift(new WithLatestFromOperator(observables, project));\n    };\n}\nclass WithLatestFromOperator {\n    constructor(observables, project) {\n        this.observables = observables;\n        this.project = project;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new WithLatestFromSubscriber(subscriber, this.observables, this.project));\n    }\n}\nclass WithLatestFromSubscriber extends OuterSubscriber {\n    constructor(destination, observables, project) {\n        super(destination);\n        this.observables = observables;\n        this.project = project;\n        this.toRespond = [];\n        const len = observables.length;\n        this.values = new Array(len);\n        for (let i = 0; i < len; i++) {\n            this.toRespond.push(i);\n        }\n        for (let i = 0; i < len; i++) {\n            let observable = observables[i];\n            this.add(subscribeToResult(this, observable, undefined, i));\n        }\n    }\n    notifyNext(_outerValue, innerValue, outerIndex) {\n        this.values[outerIndex] = innerValue;\n        const toRespond = this.toRespond;\n        if (toRespond.length > 0) {\n            const found = toRespond.indexOf(outerIndex);\n            if (found !== -1) {\n                toRespond.splice(found, 1);\n            }\n        }\n    }\n    notifyComplete() {\n    }\n    _next(value) {\n        if (this.toRespond.length === 0) {\n            const args = [value, ...this.values];\n            if (this.project) {\n                this._tryProject(args);\n            }\n            else {\n                this.destination.next(args);\n            }\n        }\n    }\n    _tryProject(args) {\n        let result;\n        try {\n            result = this.project.apply(this, args);\n        }\n        catch (err) {\n            this.destination.error(err);\n            return;\n        }\n        this.destination.next(result);\n    }\n}\n","import { zip as zipStatic } from '../observable/zip';\nexport function zip(...observables) {\n    return function zipOperatorFunction(source) {\n        return source.lift.call(zipStatic(source, ...observables));\n    };\n}\n","import { ZipOperator } from '../observable/zip';\nexport function zipAll(project) {\n    return (source) => source.lift(new ZipOperator(project));\n}\n","\"use strict\";\nfunction __export(m) {\n    for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"rxjs-compat/observable/of\"));\n","/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n    extendStatics = Object.setPrototypeOf ||\r\n        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n        function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n    return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n    if (typeof b !== \"function\" && b !== null)\r\n        throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n    extendStatics(d, b);\r\n    function __() { this.constructor = d; }\r\n    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n    __assign = Object.assign || function __assign(t) {\r\n        for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n            s = arguments[i];\r\n            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n        }\r\n        return t;\r\n    }\r\n    return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n    var t = {};\r\n    for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n        t[p] = s[p];\r\n    if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n        for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n            if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n                t[p[i]] = s[p[i]];\r\n        }\r\n    return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n    return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\r\n    function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\r\n    var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\r\n    var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\r\n    var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\r\n    var _, done = false;\r\n    for (var i = decorators.length - 1; i >= 0; i--) {\r\n        var context = {};\r\n        for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\r\n        for (var p in contextIn.access) context.access[p] = contextIn.access[p];\r\n        context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\r\n        var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\r\n        if (kind === \"accessor\") {\r\n            if (result === void 0) continue;\r\n            if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\r\n            if (_ = accept(result.get)) descriptor.get = _;\r\n            if (_ = accept(result.set)) descriptor.set = _;\r\n            if (_ = accept(result.init)) initializers.push(_);\r\n        }\r\n        else if (_ = accept(result)) {\r\n            if (kind === \"field\") initializers.push(_);\r\n            else descriptor[key] = _;\r\n        }\r\n    }\r\n    if (target) Object.defineProperty(target, contextIn.name, descriptor);\r\n    done = true;\r\n};\r\n\r\nexport function __runInitializers(thisArg, initializers, value) {\r\n    var useValue = arguments.length > 2;\r\n    for (var i = 0; i < initializers.length; i++) {\r\n        value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\r\n    }\r\n    return useValue ? value : void 0;\r\n};\r\n\r\nexport function __propKey(x) {\r\n    return typeof x === \"symbol\" ? x : \"\".concat(x);\r\n};\r\n\r\nexport function __setFunctionName(f, name, prefix) {\r\n    if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\r\n    return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\r\n};\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n    function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n    return new (P || (P = Promise))(function (resolve, reject) {\r\n        function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n        function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n        function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n        step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n    });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n    var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n    return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n    function verb(n) { return function (v) { return step([n, v]); }; }\r\n    function step(op) {\r\n        if (f) throw new TypeError(\"Generator is already executing.\");\r\n        while (g && (g = 0, op[0] && (_ = 0)), _) try {\r\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;\r\n            if (y = 0, t) op = [op[0] & 2, t.value];\r\n            switch (op[0]) {\r\n                case 0: case 1: t = op; break;\r\n                case 4: _.label++; return { value: op[1], done: false };\r\n                case 5: _.label++; y = op[1]; op = [0]; continue;\r\n                case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n                default:\r\n                    if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n                    if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n                    if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n                    if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n                    if (t[2]) _.ops.pop();\r\n                    _.trys.pop(); continue;\r\n            }\r\n            op = body.call(thisArg, _);\r\n        } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n        if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n    }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n    if (k2 === undefined) k2 = k;\r\n    var desc = Object.getOwnPropertyDescriptor(m, k);\r\n    if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n        desc = { enumerable: true, get: function() { return m[k]; } };\r\n    }\r\n    Object.defineProperty(o, k2, desc);\r\n}) : (function(o, m, k, k2) {\r\n    if (k2 === undefined) k2 = k;\r\n    o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n    for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n    var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n    if (m) return m.call(o);\r\n    if (o && typeof o.length === \"number\") return {\r\n        next: function () {\r\n            if (o && i >= o.length) o = void 0;\r\n            return { value: o && o[i++], done: !o };\r\n        }\r\n    };\r\n    throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n    var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n    if (!m) return o;\r\n    var i = m.call(o), r, ar = [], e;\r\n    try {\r\n        while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n    }\r\n    catch (error) { e = { error: error }; }\r\n    finally {\r\n        try {\r\n            if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n        }\r\n        finally { if (e) throw e.error; }\r\n    }\r\n    return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n    for (var ar = [], i = 0; i < arguments.length; i++)\r\n        ar = ar.concat(__read(arguments[i]));\r\n    return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n    for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n    for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n        for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n            r[k] = a[j];\r\n    return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n    if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n        if (ar || !(i in from)) {\r\n            if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n            ar[i] = from[i];\r\n        }\r\n    }\r\n    return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n    return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n    if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n    var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n    return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n    function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n    function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n    function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n    function fulfill(value) { resume(\"next\", value); }\r\n    function reject(value) { resume(\"throw\", value); }\r\n    function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n    var i, p;\r\n    return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n    function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n    if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n    var m = o[Symbol.asyncIterator], i;\r\n    return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n    function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n    function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n    if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n    return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n    Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n    o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n    if (mod && mod.__esModule) return mod;\r\n    var result = {};\r\n    if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n    __setModuleDefault(result, mod);\r\n    return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n    return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n    if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n    if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n    return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n    if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n    if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n    if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n    return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n\r\nexport function __classPrivateFieldIn(state, receiver) {\r\n    if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\r\n    return typeof state === \"function\" ? receiver === state : state.has(receiver);\r\n}\r\n","import { ElementRef } from '@angular/core';\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/** Coerces a data-bound value (typically a string) to a boolean. */\nfunction coerceBooleanProperty(value) {\n    return value != null && `${value}` !== 'false';\n}\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nfunction coerceNumberProperty(value, fallbackValue = 0) {\n    return _isNumberValue(value) ? Number(value) : fallbackValue;\n}\n/**\n * Whether the provided value is considered a number.\n * @docs-private\n */\nfunction _isNumberValue(value) {\n    // parseFloat(value) handles most of the cases we're interested in (it treats null, empty string,\n    // and other non-number values as NaN, where Number just uses 0) but it considers the string\n    // '123hello' to be a valid number. Therefore we also check if Number(value) is NaN.\n    return !isNaN(parseFloat(value)) && !isNaN(Number(value));\n}\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nfunction coerceArray(value) {\n    return Array.isArray(value) ? value : [value];\n}\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/** Coerces a value to a CSS pixel value. */\nfunction coerceCssPixelValue(value) {\n    if (value == null) {\n        return '';\n    }\n    return typeof value === 'string' ? value : `${value}px`;\n}\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * Coerces an ElementRef or an Element into an element.\n * Useful for APIs that can accept either a ref or the native element itself.\n */\nfunction coerceElement(elementOrRef) {\n    return elementOrRef instanceof ElementRef ? elementOrRef.nativeElement : elementOrRef;\n}\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * Coerces a value to an array of trimmed non-empty strings.\n * Any input that is not an array, `null` or `undefined` will be turned into a string\n * via `toString()` and subsequently split with the given separator.\n * `null` and `undefined` will result in an empty array.\n * This results in the following outcomes:\n * - `null` -&gt; `[]`\n * - `[null]` -&gt; `[\"null\"]`\n * - `[\"a\", \"b \", \" \"]` -&gt; `[\"a\", \"b\"]`\n * - `[1, [2, 3]]` -&gt; `[\"1\", \"2,3\"]`\n * - `[{ a: 0 }]` -&gt; `[\"[object Object]\"]`\n * - `{ a: 0 }` -&gt; `[\"[object\", \"Object]\"]`\n *\n * Useful for defining CSS classes or table columns.\n * @param value the value to coerce into an array of strings\n * @param separator split-separator if value isn't an array\n */\nfunction coerceStringArray(value, separator = /\\s+/) {\n    const result = [];\n    if (value != null) {\n        const sourceValues = Array.isArray(value) ? value : `${value}`.split(separator);\n        for (const sourceValue of sourceValues) {\n            const trimmedString = `${sourceValue}`.trim();\n            if (trimmedString) {\n                result.push(trimmedString);\n            }\n        }\n    }\n    return result;\n}\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nexport { _isNumberValue, coerceArray, coerceBooleanProperty, coerceCssPixelValue, coerceElement, coerceNumberProperty, coerceStringArray };\n","import * as i0 from '@angular/core';\nimport { InjectionToken, inject, EventEmitter, Injectable, Optional, Inject, Directive, Output, Input, NgModule } from '@angular/core';\nimport { DOCUMENT } from '@angular/common';\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * Injection token used to inject the document into Directionality.\n * This is used so that the value can be faked in tests.\n *\n * We can't use the real document in tests because changing the real `dir` causes geometry-based\n * tests in Safari to fail.\n *\n * We also can't re-provide the DOCUMENT token from platform-browser because the unit tests\n * themselves use things like `querySelector` in test code.\n *\n * This token is defined in a separate file from Directionality as a workaround for\n * https://github.com/angular/angular/issues/22559\n *\n * @docs-private\n */\nconst DIR_DOCUMENT = new InjectionToken('cdk-dir-doc', {\n    providedIn: 'root',\n    factory: DIR_DOCUMENT_FACTORY,\n});\n/** @docs-private */\nfunction DIR_DOCUMENT_FACTORY() {\n    return inject(DOCUMENT);\n}\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/** Regex that matches locales with an RTL script. Taken from `goog.i18n.bidi.isRtlLanguage`. */\nconst RTL_LOCALE_PATTERN = /^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;\n/** Resolves a string value to a specific direction. */\nfunction _resolveDirectionality(rawValue) {\n    const value = rawValue?.toLowerCase() || '';\n    if (value === 'auto' && typeof navigator !== 'undefined' && navigator?.language) {\n        return RTL_LOCALE_PATTERN.test(navigator.language) ? 'rtl' : 'ltr';\n    }\n    return value === 'rtl' ? 'rtl' : 'ltr';\n}\n/**\n * The directionality (LTR / RTL) context for the application (or a subtree of it).\n * Exposes the current direction and a stream of direction changes.\n */\nclass Directionality {\n    constructor(_document) {\n        /** The current 'ltr' or 'rtl' value. */\n        this.value = 'ltr';\n        /** Stream that emits whenever the 'ltr' / 'rtl' state changes. */\n        this.change = new EventEmitter();\n        if (_document) {\n            const bodyDir = _document.body ? _document.body.dir : null;\n            const htmlDir = _document.documentElement ? _document.documentElement.dir : null;\n            this.value = _resolveDirectionality(bodyDir || htmlDir || 'ltr');\n        }\n    }\n    ngOnDestroy() {\n        this.change.complete();\n    }\n}\nDirectionality.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: Directionality, deps: [{ token: DIR_DOCUMENT, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });\nDirectionality.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: Directionality, providedIn: 'root' });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: Directionality, decorators: [{\n            type: Injectable,\n            args: [{ providedIn: 'root' }]\n        }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n                    type: Optional\n                }, {\n                    type: Inject,\n                    args: [DIR_DOCUMENT]\n                }] }]; } });\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * Directive to listen for changes of direction of part of the DOM.\n *\n * Provides itself as Directionality such that descendant directives only need to ever inject\n * Directionality to get the closest direction.\n */\nclass Dir {\n    constructor() {\n        /** Normalized direction that accounts for invalid/unsupported values. */\n        this._dir = 'ltr';\n        /** Whether the `value` has been set to its initial value. */\n        this._isInitialized = false;\n        /** Event emitted when the direction changes. */\n        this.change = new EventEmitter();\n    }\n    /** @docs-private */\n    get dir() {\n        return this._dir;\n    }\n    set dir(value) {\n        const previousValue = this._dir;\n        // Note: `_resolveDirectionality` resolves the language based on the browser's language,\n        // whereas the browser does it based on the content of the element. Since doing so based\n        // on the content can be expensive, for now we're doing the simpler matching.\n        this._dir = _resolveDirectionality(value);\n        this._rawDir = value;\n        if (previousValue !== this._dir && this._isInitialized) {\n            this.change.emit(this._dir);\n        }\n    }\n    /** Current layout direction of the element. */\n    get value() {\n        return this.dir;\n    }\n    /** Initialize once default value has been set. */\n    ngAfterContentInit() {\n        this._isInitialized = true;\n    }\n    ngOnDestroy() {\n        this.change.complete();\n    }\n}\nDir.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: Dir, deps: [], target: i0.ɵɵFactoryTarget.Directive });\nDir.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.2.0-rc.0\", type: Dir, selector: \"[dir]\", inputs: { dir: \"dir\" }, outputs: { change: \"dirChange\" }, host: { properties: { \"attr.dir\": \"_rawDir\" } }, providers: [{ provide: Directionality, useExisting: Dir }], exportAs: [\"dir\"], ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: Dir, decorators: [{\n            type: Directive,\n            args: [{\n                    selector: '[dir]',\n                    providers: [{ provide: Directionality, useExisting: Dir }],\n                    host: { '[attr.dir]': '_rawDir' },\n                    exportAs: 'dir',\n                }]\n        }], propDecorators: { change: [{\n                type: Output,\n                args: ['dirChange']\n            }], dir: [{\n                type: Input\n            }] } });\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nclass BidiModule {\n}\nBidiModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: BidiModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\nBidiModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: BidiModule, declarations: [Dir], exports: [Dir] });\nBidiModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: BidiModule });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: BidiModule, decorators: [{\n            type: NgModule,\n            args: [{\n                    exports: [Dir],\n                    declarations: [Dir],\n                }]\n        }] });\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { BidiModule, DIR_DOCUMENT, Dir, Directionality };\n","import { ConnectableObservable, isObservable, of, Subject } from 'rxjs';\nimport * as i0 from '@angular/core';\nimport { Injectable, InjectionToken } from '@angular/core';\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nclass DataSource {\n}\n/** Checks whether an object is a data source. */\nfunction isDataSource(value) {\n    // Check if the value is a DataSource by observing if it has a connect function. Cannot\n    // be checked as an `instanceof DataSource` since people could create their own sources\n    // that match the interface, but don't extend DataSource. We also can't use `isObservable`\n    // here, because of some internal apps.\n    return value && typeof value.connect === 'function' && !(value instanceof ConnectableObservable);\n}\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/** DataSource wrapper for a native array. */\nclass ArrayDataSource extends DataSource {\n    constructor(_data) {\n        super();\n        this._data = _data;\n    }\n    connect() {\n        return isObservable(this._data) ? this._data : of(this._data);\n    }\n    disconnect() { }\n}\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * A repeater that destroys views when they are removed from a\n * {@link ViewContainerRef}. When new items are inserted into the container,\n * the repeater will always construct a new embedded view for each item.\n *\n * @template T The type for the embedded view's $implicit property.\n * @template R The type for the item in each IterableDiffer change record.\n * @template C The type for the context passed to each embedded view.\n */\nclass _DisposeViewRepeaterStrategy {\n    applyChanges(changes, viewContainerRef, itemContextFactory, itemValueResolver, itemViewChanged) {\n        changes.forEachOperation((record, adjustedPreviousIndex, currentIndex) => {\n            let view;\n            let operation;\n            if (record.previousIndex == null) {\n                const insertContext = itemContextFactory(record, adjustedPreviousIndex, currentIndex);\n                view = viewContainerRef.createEmbeddedView(insertContext.templateRef, insertContext.context, insertContext.index);\n                operation = 1 /* _ViewRepeaterOperation.INSERTED */;\n            }\n            else if (currentIndex == null) {\n                viewContainerRef.remove(adjustedPreviousIndex);\n                operation = 3 /* _ViewRepeaterOperation.REMOVED */;\n            }\n            else {\n                view = viewContainerRef.get(adjustedPreviousIndex);\n                viewContainerRef.move(view, currentIndex);\n                operation = 2 /* _ViewRepeaterOperation.MOVED */;\n            }\n            if (itemViewChanged) {\n                itemViewChanged({\n                    context: view?.context,\n                    operation,\n                    record,\n                });\n            }\n        });\n    }\n    detach() { }\n}\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * A repeater that caches views when they are removed from a\n * {@link ViewContainerRef}. When new items are inserted into the container,\n * the repeater will reuse one of the cached views instead of creating a new\n * embedded view. Recycling cached views reduces the quantity of expensive DOM\n * inserts.\n *\n * @template T The type for the embedded view's $implicit property.\n * @template R The type for the item in each IterableDiffer change record.\n * @template C The type for the context passed to each embedded view.\n */\nclass _RecycleViewRepeaterStrategy {\n    constructor() {\n        /**\n         * The size of the cache used to store unused views.\n         * Setting the cache size to `0` will disable caching. Defaults to 20 views.\n         */\n        this.viewCacheSize = 20;\n        /**\n         * View cache that stores embedded view instances that have been previously stamped out,\n         * but don't are not currently rendered. The view repeater will reuse these views rather than\n         * creating brand new ones.\n         *\n         * TODO(michaeljamesparsons) Investigate whether using a linked list would improve performance.\n         */\n        this._viewCache = [];\n    }\n    /** Apply changes to the DOM. */\n    applyChanges(changes, viewContainerRef, itemContextFactory, itemValueResolver, itemViewChanged) {\n        // Rearrange the views to put them in the right location.\n        changes.forEachOperation((record, adjustedPreviousIndex, currentIndex) => {\n            let view;\n            let operation;\n            if (record.previousIndex == null) {\n                // Item added.\n                const viewArgsFactory = () => itemContextFactory(record, adjustedPreviousIndex, currentIndex);\n                view = this._insertView(viewArgsFactory, currentIndex, viewContainerRef, itemValueResolver(record));\n                operation = view ? 1 /* _ViewRepeaterOperation.INSERTED */ : 0 /* _ViewRepeaterOperation.REPLACED */;\n            }\n            else if (currentIndex == null) {\n                // Item removed.\n                this._detachAndCacheView(adjustedPreviousIndex, viewContainerRef);\n                operation = 3 /* _ViewRepeaterOperation.REMOVED */;\n            }\n            else {\n                // Item moved.\n                view = this._moveView(adjustedPreviousIndex, currentIndex, viewContainerRef, itemValueResolver(record));\n                operation = 2 /* _ViewRepeaterOperation.MOVED */;\n            }\n            if (itemViewChanged) {\n                itemViewChanged({\n                    context: view?.context,\n                    operation,\n                    record,\n                });\n            }\n        });\n    }\n    detach() {\n        for (const view of this._viewCache) {\n            view.destroy();\n        }\n        this._viewCache = [];\n    }\n    /**\n     * Inserts a view for a new item, either from the cache or by creating a new\n     * one. Returns `undefined` if the item was inserted into a cached view.\n     */\n    _insertView(viewArgsFactory, currentIndex, viewContainerRef, value) {\n        const cachedView = this._insertViewFromCache(currentIndex, viewContainerRef);\n        if (cachedView) {\n            cachedView.context.$implicit = value;\n            return undefined;\n        }\n        const viewArgs = viewArgsFactory();\n        return viewContainerRef.createEmbeddedView(viewArgs.templateRef, viewArgs.context, viewArgs.index);\n    }\n    /** Detaches the view at the given index and inserts into the view cache. */\n    _detachAndCacheView(index, viewContainerRef) {\n        const detachedView = viewContainerRef.detach(index);\n        this._maybeCacheView(detachedView, viewContainerRef);\n    }\n    /** Moves view at the previous index to the current index. */\n    _moveView(adjustedPreviousIndex, currentIndex, viewContainerRef, value) {\n        const view = viewContainerRef.get(adjustedPreviousIndex);\n        viewContainerRef.move(view, currentIndex);\n        view.context.$implicit = value;\n        return view;\n    }\n    /**\n     * Cache the given detached view. If the cache is full, the view will be\n     * destroyed.\n     */\n    _maybeCacheView(view, viewContainerRef) {\n        if (this._viewCache.length < this.viewCacheSize) {\n            this._viewCache.push(view);\n        }\n        else {\n            const index = viewContainerRef.indexOf(view);\n            // The host component could remove views from the container outside of\n            // the view repeater. It's unlikely this will occur, but just in case,\n            // destroy the view on its own, otherwise destroy it through the\n            // container to ensure that all the references are removed.\n            if (index === -1) {\n                view.destroy();\n            }\n            else {\n                viewContainerRef.remove(index);\n            }\n        }\n    }\n    /** Inserts a recycled view from the cache at the given index. */\n    _insertViewFromCache(index, viewContainerRef) {\n        const cachedView = this._viewCache.pop();\n        if (cachedView) {\n            viewContainerRef.insert(cachedView, index);\n        }\n        return cachedView || null;\n    }\n}\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * Class to be used to power selecting one or more options from a list.\n */\nclass SelectionModel {\n    /** Selected values. */\n    get selected() {\n        if (!this._selected) {\n            this._selected = Array.from(this._selection.values());\n        }\n        return this._selected;\n    }\n    constructor(_multiple = false, initiallySelectedValues, _emitChanges = true, compareWith) {\n        this._multiple = _multiple;\n        this._emitChanges = _emitChanges;\n        this.compareWith = compareWith;\n        /** Currently-selected values. */\n        this._selection = new Set();\n        /** Keeps track of the deselected options that haven't been emitted by the change event. */\n        this._deselectedToEmit = [];\n        /** Keeps track of the selected options that haven't been emitted by the change event. */\n        this._selectedToEmit = [];\n        /** Event emitted when the value has changed. */\n        this.changed = new Subject();\n        if (initiallySelectedValues && initiallySelectedValues.length) {\n            if (_multiple) {\n                initiallySelectedValues.forEach(value => this._markSelected(value));\n            }\n            else {\n                this._markSelected(initiallySelectedValues[0]);\n            }\n            // Clear the array in order to avoid firing the change event for preselected values.\n            this._selectedToEmit.length = 0;\n        }\n    }\n    /**\n     * Selects a value or an array of values.\n     * @param values The values to select\n     * @return Whether the selection changed as a result of this call\n     * @breaking-change 16.0.0 make return type boolean\n     */\n    select(...values) {\n        this._verifyValueAssignment(values);\n        values.forEach(value => this._markSelected(value));\n        const changed = this._hasQueuedChanges();\n        this._emitChangeEvent();\n        return changed;\n    }\n    /**\n     * Deselects a value or an array of values.\n     * @param values The values to deselect\n     * @return Whether the selection changed as a result of this call\n     * @breaking-change 16.0.0 make return type boolean\n     */\n    deselect(...values) {\n        this._verifyValueAssignment(values);\n        values.forEach(value => this._unmarkSelected(value));\n        const changed = this._hasQueuedChanges();\n        this._emitChangeEvent();\n        return changed;\n    }\n    /**\n     * Sets the selected values\n     * @param values The new selected values\n     * @return Whether the selection changed as a result of this call\n     * @breaking-change 16.0.0 make return type boolean\n     */\n    setSelection(...values) {\n        this._verifyValueAssignment(values);\n        const oldValues = this.selected;\n        const newSelectedSet = new Set(values);\n        values.forEach(value => this._markSelected(value));\n        oldValues\n            .filter(value => !newSelectedSet.has(value))\n            .forEach(value => this._unmarkSelected(value));\n        const changed = this._hasQueuedChanges();\n        this._emitChangeEvent();\n        return changed;\n    }\n    /**\n     * Toggles a value between selected and deselected.\n     * @param value The value to toggle\n     * @return Whether the selection changed as a result of this call\n     * @breaking-change 16.0.0 make return type boolean\n     */\n    toggle(value) {\n        return this.isSelected(value) ? this.deselect(value) : this.select(value);\n    }\n    /**\n     * Clears all of the selected values.\n     * @param flushEvent Whether to flush the changes in an event.\n     *   If false, the changes to the selection will be flushed along with the next event.\n     * @return Whether the selection changed as a result of this call\n     * @breaking-change 16.0.0 make return type boolean\n     */\n    clear(flushEvent = true) {\n        this._unmarkAll();\n        const changed = this._hasQueuedChanges();\n        if (flushEvent) {\n            this._emitChangeEvent();\n        }\n        return changed;\n    }\n    /**\n     * Determines whether a value is selected.\n     */\n    isSelected(value) {\n        return this._selection.has(this._getConcreteValue(value));\n    }\n    /**\n     * Determines whether the model does not have a value.\n     */\n    isEmpty() {\n        return this._selection.size === 0;\n    }\n    /**\n     * Determines whether the model has a value.\n     */\n    hasValue() {\n        return !this.isEmpty();\n    }\n    /**\n     * Sorts the selected values based on a predicate function.\n     */\n    sort(predicate) {\n        if (this._multiple && this.selected) {\n            this._selected.sort(predicate);\n        }\n    }\n    /**\n     * Gets whether multiple values can be selected.\n     */\n    isMultipleSelection() {\n        return this._multiple;\n    }\n    /** Emits a change event and clears the records of selected and deselected values. */\n    _emitChangeEvent() {\n        // Clear the selected values so they can be re-cached.\n        this._selected = null;\n        if (this._selectedToEmit.length || this._deselectedToEmit.length) {\n            this.changed.next({\n                source: this,\n                added: this._selectedToEmit,\n                removed: this._deselectedToEmit,\n            });\n            this._deselectedToEmit = [];\n            this._selectedToEmit = [];\n        }\n    }\n    /** Selects a value. */\n    _markSelected(value) {\n        value = this._getConcreteValue(value);\n        if (!this.isSelected(value)) {\n            if (!this._multiple) {\n                this._unmarkAll();\n            }\n            if (!this.isSelected(value)) {\n                this._selection.add(value);\n            }\n            if (this._emitChanges) {\n                this._selectedToEmit.push(value);\n            }\n        }\n    }\n    /** Deselects a value. */\n    _unmarkSelected(value) {\n        value = this._getConcreteValue(value);\n        if (this.isSelected(value)) {\n            this._selection.delete(value);\n            if (this._emitChanges) {\n                this._deselectedToEmit.push(value);\n            }\n        }\n    }\n    /** Clears out the selected values. */\n    _unmarkAll() {\n        if (!this.isEmpty()) {\n            this._selection.forEach(value => this._unmarkSelected(value));\n        }\n    }\n    /**\n     * Verifies the value assignment and throws an error if the specified value array is\n     * including multiple values while the selection model is not supporting multiple values.\n     */\n    _verifyValueAssignment(values) {\n        if (values.length > 1 && !this._multiple && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n            throw getMultipleValuesInSingleSelectionError();\n        }\n    }\n    /** Whether there are queued up change to be emitted. */\n    _hasQueuedChanges() {\n        return !!(this._deselectedToEmit.length || this._selectedToEmit.length);\n    }\n    /** Returns a value that is comparable to inputValue by applying compareWith function, returns the same inputValue otherwise. */\n    _getConcreteValue(inputValue) {\n        if (!this.compareWith) {\n            return inputValue;\n        }\n        else {\n            for (let selectedValue of this._selection) {\n                if (this.compareWith(inputValue, selectedValue)) {\n                    return selectedValue;\n                }\n            }\n            return inputValue;\n        }\n    }\n}\n/**\n * Returns an error that reports that multiple values are passed into a selection model\n * with a single value.\n * @docs-private\n */\nfunction getMultipleValuesInSingleSelectionError() {\n    return Error('Cannot pass multiple values into SelectionModel with single-value mode.');\n}\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * Class to coordinate unique selection based on name.\n * Intended to be consumed as an Angular service.\n * This service is needed because native radio change events are only fired on the item currently\n * being selected, and we still need to uncheck the previous selection.\n *\n * This service does not *store* any IDs and names because they may change at any time, so it is\n * less error-prone if they are simply passed through when the events occur.\n */\nclass UniqueSelectionDispatcher {\n    constructor() {\n        this._listeners = [];\n    }\n    /**\n     * Notify other items that selection for the given name has been set.\n     * @param id ID of the item.\n     * @param name Name of the item.\n     */\n    notify(id, name) {\n        for (let listener of this._listeners) {\n            listener(id, name);\n        }\n    }\n    /**\n     * Listen for future changes to item selection.\n     * @return Function used to deregister listener\n     */\n    listen(listener) {\n        this._listeners.push(listener);\n        return () => {\n            this._listeners = this._listeners.filter((registered) => {\n                return listener !== registered;\n            });\n        };\n    }\n    ngOnDestroy() {\n        this._listeners = [];\n    }\n}\nUniqueSelectionDispatcher.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: UniqueSelectionDispatcher, deps: [], target: i0.ɵɵFactoryTarget.Injectable });\nUniqueSelectionDispatcher.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: UniqueSelectionDispatcher, providedIn: 'root' });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: UniqueSelectionDispatcher, decorators: [{\n            type: Injectable,\n            args: [{ providedIn: 'root' }]\n        }] });\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * Injection token for {@link _ViewRepeater}. This token is for use by Angular Material only.\n * @docs-private\n */\nconst _VIEW_REPEATER_STRATEGY = new InjectionToken('_ViewRepeater');\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { ArrayDataSource, DataSource, SelectionModel, UniqueSelectionDispatcher, _DisposeViewRepeaterStrategy, _RecycleViewRepeaterStrategy, _VIEW_REPEATER_STRATEGY, getMultipleValuesInSingleSelectionError, isDataSource };\n","import { coerceNumberProperty, coerceElement, coerceBooleanProperty } from '@angular/cdk/coercion';\nimport * as i0 from '@angular/core';\nimport { InjectionToken, forwardRef, Directive, Input, Injectable, Optional, Inject, inject, Component, ViewEncapsulation, ChangeDetectionStrategy, Output, ViewChild, SkipSelf, ElementRef, NgModule } from '@angular/core';\nimport { Subject, of, Observable, fromEvent, animationFrameScheduler, asapScheduler, Subscription, isObservable } from 'rxjs';\nimport { distinctUntilChanged, auditTime, filter, takeUntil, startWith, pairwise, switchMap, shareReplay } from 'rxjs/operators';\nimport * as i1 from '@angular/cdk/platform';\nimport { getRtlScrollAxisType, supportsScrollBehavior, Platform } from '@angular/cdk/platform';\nimport { DOCUMENT } from '@angular/common';\nimport * as i2 from '@angular/cdk/bidi';\nimport { BidiModule } from '@angular/cdk/bidi';\nimport * as i2$1 from '@angular/cdk/collections';\nimport { isDataSource, ArrayDataSource, _VIEW_REPEATER_STRATEGY, _RecycleViewRepeaterStrategy } from '@angular/cdk/collections';\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/** The injection token used to specify the virtual scrolling strategy. */\nconst VIRTUAL_SCROLL_STRATEGY = new InjectionToken('VIRTUAL_SCROLL_STRATEGY');\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/** Virtual scrolling strategy for lists with items of known fixed size. */\nclass FixedSizeVirtualScrollStrategy {\n    /**\n     * @param itemSize The size of the items in the virtually scrolling list.\n     * @param minBufferPx The minimum amount of buffer (in pixels) before needing to render more\n     * @param maxBufferPx The amount of buffer (in pixels) to render when rendering more.\n     */\n    constructor(itemSize, minBufferPx, maxBufferPx) {\n        this._scrolledIndexChange = new Subject();\n        /** @docs-private Implemented as part of VirtualScrollStrategy. */\n        this.scrolledIndexChange = this._scrolledIndexChange.pipe(distinctUntilChanged());\n        /** The attached viewport. */\n        this._viewport = null;\n        this._itemSize = itemSize;\n        this._minBufferPx = minBufferPx;\n        this._maxBufferPx = maxBufferPx;\n    }\n    /**\n     * Attaches this scroll strategy to a viewport.\n     * @param viewport The viewport to attach this strategy to.\n     */\n    attach(viewport) {\n        this._viewport = viewport;\n        this._updateTotalContentSize();\n        this._updateRenderedRange();\n    }\n    /** Detaches this scroll strategy from the currently attached viewport. */\n    detach() {\n        this._scrolledIndexChange.complete();\n        this._viewport = null;\n    }\n    /**\n     * Update the item size and buffer size.\n     * @param itemSize The size of the items in the virtually scrolling list.\n     * @param minBufferPx The minimum amount of buffer (in pixels) before needing to render more\n     * @param maxBufferPx The amount of buffer (in pixels) to render when rendering more.\n     */\n    updateItemAndBufferSize(itemSize, minBufferPx, maxBufferPx) {\n        if (maxBufferPx < minBufferPx && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n            throw Error('CDK virtual scroll: maxBufferPx must be greater than or equal to minBufferPx');\n        }\n        this._itemSize = itemSize;\n        this._minBufferPx = minBufferPx;\n        this._maxBufferPx = maxBufferPx;\n        this._updateTotalContentSize();\n        this._updateRenderedRange();\n    }\n    /** @docs-private Implemented as part of VirtualScrollStrategy. */\n    onContentScrolled() {\n        this._updateRenderedRange();\n    }\n    /** @docs-private Implemented as part of VirtualScrollStrategy. */\n    onDataLengthChanged() {\n        this._updateTotalContentSize();\n        this._updateRenderedRange();\n    }\n    /** @docs-private Implemented as part of VirtualScrollStrategy. */\n    onContentRendered() {\n        /* no-op */\n    }\n    /** @docs-private Implemented as part of VirtualScrollStrategy. */\n    onRenderedOffsetChanged() {\n        /* no-op */\n    }\n    /**\n     * Scroll to the offset for the given index.\n     * @param index The index of the element to scroll to.\n     * @param behavior The ScrollBehavior to use when scrolling.\n     */\n    scrollToIndex(index, behavior) {\n        if (this._viewport) {\n            this._viewport.scrollToOffset(index * this._itemSize, behavior);\n        }\n    }\n    /** Update the viewport's total content size. */\n    _updateTotalContentSize() {\n        if (!this._viewport) {\n            return;\n        }\n        this._viewport.setTotalContentSize(this._viewport.getDataLength() * this._itemSize);\n    }\n    /** Update the viewport's rendered range. */\n    _updateRenderedRange() {\n        if (!this._viewport) {\n            return;\n        }\n        const renderedRange = this._viewport.getRenderedRange();\n        const newRange = { start: renderedRange.start, end: renderedRange.end };\n        const viewportSize = this._viewport.getViewportSize();\n        const dataLength = this._viewport.getDataLength();\n        let scrollOffset = this._viewport.measureScrollOffset();\n        // Prevent NaN as result when dividing by zero.\n        let firstVisibleIndex = this._itemSize > 0 ? scrollOffset / this._itemSize : 0;\n        // If user scrolls to the bottom of the list and data changes to a smaller list\n        if (newRange.end > dataLength) {\n            // We have to recalculate the first visible index based on new data length and viewport size.\n            const maxVisibleItems = Math.ceil(viewportSize / this._itemSize);\n            const newVisibleIndex = Math.max(0, Math.min(firstVisibleIndex, dataLength - maxVisibleItems));\n            // If first visible index changed we must update scroll offset to handle start/end buffers\n            // Current range must also be adjusted to cover the new position (bottom of new list).\n            if (firstVisibleIndex != newVisibleIndex) {\n                firstVisibleIndex = newVisibleIndex;\n                scrollOffset = newVisibleIndex * this._itemSize;\n                newRange.start = Math.floor(firstVisibleIndex);\n            }\n            newRange.end = Math.max(0, Math.min(dataLength, newRange.start + maxVisibleItems));\n        }\n        const startBuffer = scrollOffset - newRange.start * this._itemSize;\n        if (startBuffer < this._minBufferPx && newRange.start != 0) {\n            const expandStart = Math.ceil((this._maxBufferPx - startBuffer) / this._itemSize);\n            newRange.start = Math.max(0, newRange.start - expandStart);\n            newRange.end = Math.min(dataLength, Math.ceil(firstVisibleIndex + (viewportSize + this._minBufferPx) / this._itemSize));\n        }\n        else {\n            const endBuffer = newRange.end * this._itemSize - (scrollOffset + viewportSize);\n            if (endBuffer < this._minBufferPx && newRange.end != dataLength) {\n                const expandEnd = Math.ceil((this._maxBufferPx - endBuffer) / this._itemSize);\n                if (expandEnd > 0) {\n                    newRange.end = Math.min(dataLength, newRange.end + expandEnd);\n                    newRange.start = Math.max(0, Math.floor(firstVisibleIndex - this._minBufferPx / this._itemSize));\n                }\n            }\n        }\n        this._viewport.setRenderedRange(newRange);\n        this._viewport.setRenderedContentOffset(this._itemSize * newRange.start);\n        this._scrolledIndexChange.next(Math.floor(firstVisibleIndex));\n    }\n}\n/**\n * Provider factory for `FixedSizeVirtualScrollStrategy` that simply extracts the already created\n * `FixedSizeVirtualScrollStrategy` from the given directive.\n * @param fixedSizeDir The instance of `CdkFixedSizeVirtualScroll` to extract the\n *     `FixedSizeVirtualScrollStrategy` from.\n */\nfunction _fixedSizeVirtualScrollStrategyFactory(fixedSizeDir) {\n    return fixedSizeDir._scrollStrategy;\n}\n/** A virtual scroll strategy that supports fixed-size items. */\nclass CdkFixedSizeVirtualScroll {\n    constructor() {\n        this._itemSize = 20;\n        this._minBufferPx = 100;\n        this._maxBufferPx = 200;\n        /** The scroll strategy used by this directive. */\n        this._scrollStrategy = new FixedSizeVirtualScrollStrategy(this.itemSize, this.minBufferPx, this.maxBufferPx);\n    }\n    /** The size of the items in the list (in pixels). */\n    get itemSize() {\n        return this._itemSize;\n    }\n    set itemSize(value) {\n        this._itemSize = coerceNumberProperty(value);\n    }\n    /**\n     * The minimum amount of buffer rendered beyond the viewport (in pixels).\n     * If the amount of buffer dips below this number, more items will be rendered. Defaults to 100px.\n     */\n    get minBufferPx() {\n        return this._minBufferPx;\n    }\n    set minBufferPx(value) {\n        this._minBufferPx = coerceNumberProperty(value);\n    }\n    /**\n     * The number of pixels worth of buffer to render for when rendering new items. Defaults to 200px.\n     */\n    get maxBufferPx() {\n        return this._maxBufferPx;\n    }\n    set maxBufferPx(value) {\n        this._maxBufferPx = coerceNumberProperty(value);\n    }\n    ngOnChanges() {\n        this._scrollStrategy.updateItemAndBufferSize(this.itemSize, this.minBufferPx, this.maxBufferPx);\n    }\n}\nCdkFixedSizeVirtualScroll.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: CdkFixedSizeVirtualScroll, deps: [], target: i0.ɵɵFactoryTarget.Directive });\nCdkFixedSizeVirtualScroll.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.2.0-rc.0\", type: CdkFixedSizeVirtualScroll, isStandalone: true, selector: \"cdk-virtual-scroll-viewport[itemSize]\", inputs: { itemSize: \"itemSize\", minBufferPx: \"minBufferPx\", maxBufferPx: \"maxBufferPx\" }, providers: [\n        {\n            provide: VIRTUAL_SCROLL_STRATEGY,\n            useFactory: _fixedSizeVirtualScrollStrategyFactory,\n            deps: [forwardRef(() => CdkFixedSizeVirtualScroll)],\n        },\n    ], usesOnChanges: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: CdkFixedSizeVirtualScroll, decorators: [{\n            type: Directive,\n            args: [{\n                    selector: 'cdk-virtual-scroll-viewport[itemSize]',\n                    standalone: true,\n                    providers: [\n                        {\n                            provide: VIRTUAL_SCROLL_STRATEGY,\n                            useFactory: _fixedSizeVirtualScrollStrategyFactory,\n                            deps: [forwardRef(() => CdkFixedSizeVirtualScroll)],\n                        },\n                    ],\n                }]\n        }], propDecorators: { itemSize: [{\n                type: Input\n            }], minBufferPx: [{\n                type: Input\n            }], maxBufferPx: [{\n                type: Input\n            }] } });\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/** Time in ms to throttle the scrolling events by default. */\nconst DEFAULT_SCROLL_TIME = 20;\n/**\n * Service contained all registered Scrollable references and emits an event when any one of the\n * Scrollable references emit a scrolled event.\n */\nclass ScrollDispatcher {\n    constructor(_ngZone, _platform, document) {\n        this._ngZone = _ngZone;\n        this._platform = _platform;\n        /** Subject for notifying that a registered scrollable reference element has been scrolled. */\n        this._scrolled = new Subject();\n        /** Keeps track of the global `scroll` and `resize` subscriptions. */\n        this._globalSubscription = null;\n        /** Keeps track of the amount of subscriptions to `scrolled`. Used for cleaning up afterwards. */\n        this._scrolledCount = 0;\n        /**\n         * Map of all the scrollable references that are registered with the service and their\n         * scroll event subscriptions.\n         */\n        this.scrollContainers = new Map();\n        this._document = document;\n    }\n    /**\n     * Registers a scrollable instance with the service and listens for its scrolled events. When the\n     * scrollable is scrolled, the service emits the event to its scrolled observable.\n     * @param scrollable Scrollable instance to be registered.\n     */\n    register(scrollable) {\n        if (!this.scrollContainers.has(scrollable)) {\n            this.scrollContainers.set(scrollable, scrollable.elementScrolled().subscribe(() => this._scrolled.next(scrollable)));\n        }\n    }\n    /**\n     * De-registers a Scrollable reference and unsubscribes from its scroll event observable.\n     * @param scrollable Scrollable instance to be deregistered.\n     */\n    deregister(scrollable) {\n        const scrollableReference = this.scrollContainers.get(scrollable);\n        if (scrollableReference) {\n            scrollableReference.unsubscribe();\n            this.scrollContainers.delete(scrollable);\n        }\n    }\n    /**\n     * Returns an observable that emits an event whenever any of the registered Scrollable\n     * references (or window, document, or body) fire a scrolled event. Can provide a time in ms\n     * to override the default \"throttle\" time.\n     *\n     * **Note:** in order to avoid hitting change detection for every scroll event,\n     * all of the events emitted from this stream will be run outside the Angular zone.\n     * If you need to update any data bindings as a result of a scroll event, you have\n     * to run the callback using `NgZone.run`.\n     */\n    scrolled(auditTimeInMs = DEFAULT_SCROLL_TIME) {\n        if (!this._platform.isBrowser) {\n            return of();\n        }\n        return new Observable((observer) => {\n            if (!this._globalSubscription) {\n                this._addGlobalListener();\n            }\n            // In the case of a 0ms delay, use an observable without auditTime\n            // since it does add a perceptible delay in processing overhead.\n            const subscription = auditTimeInMs > 0\n                ? this._scrolled.pipe(auditTime(auditTimeInMs)).subscribe(observer)\n                : this._scrolled.subscribe(observer);\n            this._scrolledCount++;\n            return () => {\n                subscription.unsubscribe();\n                this._scrolledCount--;\n                if (!this._scrolledCount) {\n                    this._removeGlobalListener();\n                }\n            };\n        });\n    }\n    ngOnDestroy() {\n        this._removeGlobalListener();\n        this.scrollContainers.forEach((_, container) => this.deregister(container));\n        this._scrolled.complete();\n    }\n    /**\n     * Returns an observable that emits whenever any of the\n     * scrollable ancestors of an element are scrolled.\n     * @param elementOrElementRef Element whose ancestors to listen for.\n     * @param auditTimeInMs Time to throttle the scroll events.\n     */\n    ancestorScrolled(elementOrElementRef, auditTimeInMs) {\n        const ancestors = this.getAncestorScrollContainers(elementOrElementRef);\n        return this.scrolled(auditTimeInMs).pipe(filter(target => {\n            return !target || ancestors.indexOf(target) > -1;\n        }));\n    }\n    /** Returns all registered Scrollables that contain the provided element. */\n    getAncestorScrollContainers(elementOrElementRef) {\n        const scrollingContainers = [];\n        this.scrollContainers.forEach((_subscription, scrollable) => {\n            if (this._scrollableContainsElement(scrollable, elementOrElementRef)) {\n                scrollingContainers.push(scrollable);\n            }\n        });\n        return scrollingContainers;\n    }\n    /** Use defaultView of injected document if available or fallback to global window reference */\n    _getWindow() {\n        return this._document.defaultView || window;\n    }\n    /** Returns true if the element is contained within the provided Scrollable. */\n    _scrollableContainsElement(scrollable, elementOrElementRef) {\n        let element = coerceElement(elementOrElementRef);\n        let scrollableElement = scrollable.getElementRef().nativeElement;\n        // Traverse through the element parents until we reach null, checking if any of the elements\n        // are the scrollable's element.\n        do {\n            if (element == scrollableElement) {\n                return true;\n            }\n        } while ((element = element.parentElement));\n        return false;\n    }\n    /** Sets up the global scroll listeners. */\n    _addGlobalListener() {\n        this._globalSubscription = this._ngZone.runOutsideAngular(() => {\n            const window = this._getWindow();\n            return fromEvent(window.document, 'scroll').subscribe(() => this._scrolled.next());\n        });\n    }\n    /** Cleans up the global scroll listener. */\n    _removeGlobalListener() {\n        if (this._globalSubscription) {\n            this._globalSubscription.unsubscribe();\n            this._globalSubscription = null;\n        }\n    }\n}\nScrollDispatcher.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: ScrollDispatcher, deps: [{ token: i0.NgZone }, { token: i1.Platform }, { token: DOCUMENT, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });\nScrollDispatcher.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: ScrollDispatcher, providedIn: 'root' });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: ScrollDispatcher, decorators: [{\n            type: Injectable,\n            args: [{ providedIn: 'root' }]\n        }], ctorParameters: function () { return [{ type: i0.NgZone }, { type: i1.Platform }, { type: undefined, decorators: [{\n                    type: Optional\n                }, {\n                    type: Inject,\n                    args: [DOCUMENT]\n                }] }]; } });\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * Sends an event when the directive's element is scrolled. Registers itself with the\n * ScrollDispatcher service to include itself as part of its collection of scrolling events that it\n * can be listened to through the service.\n */\nclass CdkScrollable {\n    constructor(elementRef, scrollDispatcher, ngZone, dir) {\n        this.elementRef = elementRef;\n        this.scrollDispatcher = scrollDispatcher;\n        this.ngZone = ngZone;\n        this.dir = dir;\n        this._destroyed = new Subject();\n        this._elementScrolled = new Observable((observer) => this.ngZone.runOutsideAngular(() => fromEvent(this.elementRef.nativeElement, 'scroll')\n            .pipe(takeUntil(this._destroyed))\n            .subscribe(observer)));\n    }\n    ngOnInit() {\n        this.scrollDispatcher.register(this);\n    }\n    ngOnDestroy() {\n        this.scrollDispatcher.deregister(this);\n        this._destroyed.next();\n        this._destroyed.complete();\n    }\n    /** Returns observable that emits when a scroll event is fired on the host element. */\n    elementScrolled() {\n        return this._elementScrolled;\n    }\n    /** Gets the ElementRef for the viewport. */\n    getElementRef() {\n        return this.elementRef;\n    }\n    /**\n     * Scrolls to the specified offsets. This is a normalized version of the browser's native scrollTo\n     * method, since browsers are not consistent about what scrollLeft means in RTL. For this method\n     * left and right always refer to the left and right side of the scrolling container irrespective\n     * of the layout direction. start and end refer to left and right in an LTR context and vice-versa\n     * in an RTL context.\n     * @param options specified the offsets to scroll to.\n     */\n    scrollTo(options) {\n        const el = this.elementRef.nativeElement;\n        const isRtl = this.dir && this.dir.value == 'rtl';\n        // Rewrite start & end offsets as right or left offsets.\n        if (options.left == null) {\n            options.left = isRtl ? options.end : options.start;\n        }\n        if (options.right == null) {\n            options.right = isRtl ? options.start : options.end;\n        }\n        // Rewrite the bottom offset as a top offset.\n        if (options.bottom != null) {\n            options.top =\n                el.scrollHeight - el.clientHeight - options.bottom;\n        }\n        // Rewrite the right offset as a left offset.\n        if (isRtl && getRtlScrollAxisType() != 0 /* RtlScrollAxisType.NORMAL */) {\n            if (options.left != null) {\n                options.right =\n                    el.scrollWidth - el.clientWidth - options.left;\n            }\n            if (getRtlScrollAxisType() == 2 /* RtlScrollAxisType.INVERTED */) {\n                options.left = options.right;\n            }\n            else if (getRtlScrollAxisType() == 1 /* RtlScrollAxisType.NEGATED */) {\n                options.left = options.right ? -options.right : options.right;\n            }\n        }\n        else {\n            if (options.right != null) {\n                options.left =\n                    el.scrollWidth - el.clientWidth - options.right;\n            }\n        }\n        this._applyScrollToOptions(options);\n    }\n    _applyScrollToOptions(options) {\n        const el = this.elementRef.nativeElement;\n        if (supportsScrollBehavior()) {\n            el.scrollTo(options);\n        }\n        else {\n            if (options.top != null) {\n                el.scrollTop = options.top;\n            }\n            if (options.left != null) {\n                el.scrollLeft = options.left;\n            }\n        }\n    }\n    /**\n     * Measures the scroll offset relative to the specified edge of the viewport. This method can be\n     * used instead of directly checking scrollLeft or scrollTop, since browsers are not consistent\n     * about what scrollLeft means in RTL. The values returned by this method are normalized such that\n     * left and right always refer to the left and right side of the scrolling container irrespective\n     * of the layout direction. start and end refer to left and right in an LTR context and vice-versa\n     * in an RTL context.\n     * @param from The edge to measure from.\n     */\n    measureScrollOffset(from) {\n        const LEFT = 'left';\n        const RIGHT = 'right';\n        const el = this.elementRef.nativeElement;\n        if (from == 'top') {\n            return el.scrollTop;\n        }\n        if (from == 'bottom') {\n            return el.scrollHeight - el.clientHeight - el.scrollTop;\n        }\n        // Rewrite start & end as left or right offsets.\n        const isRtl = this.dir && this.dir.value == 'rtl';\n        if (from == 'start') {\n            from = isRtl ? RIGHT : LEFT;\n        }\n        else if (from == 'end') {\n            from = isRtl ? LEFT : RIGHT;\n        }\n        if (isRtl && getRtlScrollAxisType() == 2 /* RtlScrollAxisType.INVERTED */) {\n            // For INVERTED, scrollLeft is (scrollWidth - clientWidth) when scrolled all the way left and\n            // 0 when scrolled all the way right.\n            if (from == LEFT) {\n                return el.scrollWidth - el.clientWidth - el.scrollLeft;\n            }\n            else {\n                return el.scrollLeft;\n            }\n        }\n        else if (isRtl && getRtlScrollAxisType() == 1 /* RtlScrollAxisType.NEGATED */) {\n            // For NEGATED, scrollLeft is -(scrollWidth - clientWidth) when scrolled all the way left and\n            // 0 when scrolled all the way right.\n            if (from == LEFT) {\n                return el.scrollLeft + el.scrollWidth - el.clientWidth;\n            }\n            else {\n                return -el.scrollLeft;\n            }\n        }\n        else {\n            // For NORMAL, as well as non-RTL contexts, scrollLeft is 0 when scrolled all the way left and\n            // (scrollWidth - clientWidth) when scrolled all the way right.\n            if (from == LEFT) {\n                return el.scrollLeft;\n            }\n            else {\n                return el.scrollWidth - el.clientWidth - el.scrollLeft;\n            }\n        }\n    }\n}\nCdkScrollable.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: CdkScrollable, deps: [{ token: i0.ElementRef }, { token: ScrollDispatcher }, { token: i0.NgZone }, { token: i2.Directionality, optional: true }], target: i0.ɵɵFactoryTarget.Directive });\nCdkScrollable.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.2.0-rc.0\", type: CdkScrollable, isStandalone: true, selector: \"[cdk-scrollable], [cdkScrollable]\", ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: CdkScrollable, decorators: [{\n            type: Directive,\n            args: [{\n                    selector: '[cdk-scrollable], [cdkScrollable]',\n                    standalone: true,\n                }]\n        }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: ScrollDispatcher }, { type: i0.NgZone }, { type: i2.Directionality, decorators: [{\n                    type: Optional\n                }] }]; } });\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/** Time in ms to throttle the resize events by default. */\nconst DEFAULT_RESIZE_TIME = 20;\n/**\n * Simple utility for getting the bounds of the browser viewport.\n * @docs-private\n */\nclass ViewportRuler {\n    constructor(_platform, ngZone, document) {\n        this._platform = _platform;\n        /** Stream of viewport change events. */\n        this._change = new Subject();\n        /** Event listener that will be used to handle the viewport change events. */\n        this._changeListener = (event) => {\n            this._change.next(event);\n        };\n        this._document = document;\n        ngZone.runOutsideAngular(() => {\n            if (_platform.isBrowser) {\n                const window = this._getWindow();\n                // Note that bind the events ourselves, rather than going through something like RxJS's\n                // `fromEvent` so that we can ensure that they're bound outside of the NgZone.\n                window.addEventListener('resize', this._changeListener);\n                window.addEventListener('orientationchange', this._changeListener);\n            }\n            // Clear the cached position so that the viewport is re-measured next time it is required.\n            // We don't need to keep track of the subscription, because it is completed on destroy.\n            this.change().subscribe(() => (this._viewportSize = null));\n        });\n    }\n    ngOnDestroy() {\n        if (this._platform.isBrowser) {\n            const window = this._getWindow();\n            window.removeEventListener('resize', this._changeListener);\n            window.removeEventListener('orientationchange', this._changeListener);\n        }\n        this._change.complete();\n    }\n    /** Returns the viewport's width and height. */\n    getViewportSize() {\n        if (!this._viewportSize) {\n            this._updateViewportSize();\n        }\n        const output = { width: this._viewportSize.width, height: this._viewportSize.height };\n        // If we're not on a browser, don't cache the size since it'll be mocked out anyway.\n        if (!this._platform.isBrowser) {\n            this._viewportSize = null;\n        }\n        return output;\n    }\n    /** Gets a ClientRect for the viewport's bounds. */\n    getViewportRect() {\n        // Use the document element's bounding rect rather than the window scroll properties\n        // (e.g. pageYOffset, scrollY) due to in issue in Chrome and IE where window scroll\n        // properties and client coordinates (boundingClientRect, clientX/Y, etc.) are in different\n        // conceptual viewports. Under most circumstances these viewports are equivalent, but they\n        // can disagree when the page is pinch-zoomed (on devices that support touch).\n        // See https://bugs.chromium.org/p/chromium/issues/detail?id=489206#c4\n        // We use the documentElement instead of the body because, by default (without a css reset)\n        // browsers typically give the document body an 8px margin, which is not included in\n        // getBoundingClientRect().\n        const scrollPosition = this.getViewportScrollPosition();\n        const { width, height } = this.getViewportSize();\n        return {\n            top: scrollPosition.top,\n            left: scrollPosition.left,\n            bottom: scrollPosition.top + height,\n            right: scrollPosition.left + width,\n            height,\n            width,\n        };\n    }\n    /** Gets the (top, left) scroll position of the viewport. */\n    getViewportScrollPosition() {\n        // While we can get a reference to the fake document\n        // during SSR, it doesn't have getBoundingClientRect.\n        if (!this._platform.isBrowser) {\n            return { top: 0, left: 0 };\n        }\n        // The top-left-corner of the viewport is determined by the scroll position of the document\n        // body, normally just (scrollLeft, scrollTop). However, Chrome and Firefox disagree about\n        // whether `document.body` or `document.documentElement` is the scrolled element, so reading\n        // `scrollTop` and `scrollLeft` is inconsistent. However, using the bounding rect of\n        // `document.documentElement` works consistently, where the `top` and `left` values will\n        // equal negative the scroll position.\n        const document = this._document;\n        const window = this._getWindow();\n        const documentElement = document.documentElement;\n        const documentRect = documentElement.getBoundingClientRect();\n        const top = -documentRect.top ||\n            document.body.scrollTop ||\n            window.scrollY ||\n            documentElement.scrollTop ||\n            0;\n        const left = -documentRect.left ||\n            document.body.scrollLeft ||\n            window.scrollX ||\n            documentElement.scrollLeft ||\n            0;\n        return { top, left };\n    }\n    /**\n     * Returns a stream that emits whenever the size of the viewport changes.\n     * This stream emits outside of the Angular zone.\n     * @param throttleTime Time in milliseconds to throttle the stream.\n     */\n    change(throttleTime = DEFAULT_RESIZE_TIME) {\n        return throttleTime > 0 ? this._change.pipe(auditTime(throttleTime)) : this._change;\n    }\n    /** Use defaultView of injected document if available or fallback to global window reference */\n    _getWindow() {\n        return this._document.defaultView || window;\n    }\n    /** Updates the cached viewport size. */\n    _updateViewportSize() {\n        const window = this._getWindow();\n        this._viewportSize = this._platform.isBrowser\n            ? { width: window.innerWidth, height: window.innerHeight }\n            : { width: 0, height: 0 };\n    }\n}\nViewportRuler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: ViewportRuler, deps: [{ token: i1.Platform }, { token: i0.NgZone }, { token: DOCUMENT, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });\nViewportRuler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: ViewportRuler, providedIn: 'root' });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: ViewportRuler, decorators: [{\n            type: Injectable,\n            args: [{ providedIn: 'root' }]\n        }], ctorParameters: function () { return [{ type: i1.Platform }, { type: i0.NgZone }, { type: undefined, decorators: [{\n                    type: Optional\n                }, {\n                    type: Inject,\n                    args: [DOCUMENT]\n                }] }]; } });\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nconst VIRTUAL_SCROLLABLE = new InjectionToken('VIRTUAL_SCROLLABLE');\n/**\n * Extending the {@link CdkScrollable} to be used as scrolling container for virtual scrolling.\n */\nclass CdkVirtualScrollable extends CdkScrollable {\n    constructor(elementRef, scrollDispatcher, ngZone, dir) {\n        super(elementRef, scrollDispatcher, ngZone, dir);\n    }\n    /**\n     * Measure the viewport size for the provided orientation.\n     *\n     * @param orientation The orientation to measure the size from.\n     */\n    measureViewportSize(orientation) {\n        const viewportEl = this.elementRef.nativeElement;\n        return orientation === 'horizontal' ? viewportEl.clientWidth : viewportEl.clientHeight;\n    }\n}\nCdkVirtualScrollable.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: CdkVirtualScrollable, deps: [{ token: i0.ElementRef }, { token: ScrollDispatcher }, { token: i0.NgZone }, { token: i2.Directionality, optional: true }], target: i0.ɵɵFactoryTarget.Directive });\nCdkVirtualScrollable.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.2.0-rc.0\", type: CdkVirtualScrollable, usesInheritance: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: CdkVirtualScrollable, decorators: [{\n            type: Directive\n        }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: ScrollDispatcher }, { type: i0.NgZone }, { type: i2.Directionality, decorators: [{\n                    type: Optional\n                }] }]; } });\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/** Checks if the given ranges are equal. */\nfunction rangesEqual(r1, r2) {\n    return r1.start == r2.start && r1.end == r2.end;\n}\n/**\n * Scheduler to be used for scroll events. Needs to fall back to\n * something that doesn't rely on requestAnimationFrame on environments\n * that don't support it (e.g. server-side rendering).\n */\nconst SCROLL_SCHEDULER = typeof requestAnimationFrame !== 'undefined' ? animationFrameScheduler : asapScheduler;\n/** A viewport that virtualizes its scrolling with the help of `CdkVirtualForOf`. */\nclass CdkVirtualScrollViewport extends CdkVirtualScrollable {\n    /** The direction the viewport scrolls. */\n    get orientation() {\n        return this._orientation;\n    }\n    set orientation(orientation) {\n        if (this._orientation !== orientation) {\n            this._orientation = orientation;\n            this._calculateSpacerSize();\n        }\n    }\n    /**\n     * Whether rendered items should persist in the DOM after scrolling out of view. By default, items\n     * will be removed.\n     */\n    get appendOnly() {\n        return this._appendOnly;\n    }\n    set appendOnly(value) {\n        this._appendOnly = coerceBooleanProperty(value);\n    }\n    constructor(elementRef, _changeDetectorRef, ngZone, _scrollStrategy, dir, scrollDispatcher, viewportRuler, scrollable) {\n        super(elementRef, scrollDispatcher, ngZone, dir);\n        this.elementRef = elementRef;\n        this._changeDetectorRef = _changeDetectorRef;\n        this._scrollStrategy = _scrollStrategy;\n        this.scrollable = scrollable;\n        this._platform = inject(Platform);\n        /** Emits when the viewport is detached from a CdkVirtualForOf. */\n        this._detachedSubject = new Subject();\n        /** Emits when the rendered range changes. */\n        this._renderedRangeSubject = new Subject();\n        this._orientation = 'vertical';\n        this._appendOnly = false;\n        // Note: we don't use the typical EventEmitter here because we need to subscribe to the scroll\n        // strategy lazily (i.e. only if the user is actually listening to the events). We do this because\n        // depending on how the strategy calculates the scrolled index, it may come at a cost to\n        // performance.\n        /** Emits when the index of the first element visible in the viewport changes. */\n        this.scrolledIndexChange = new Observable((observer) => this._scrollStrategy.scrolledIndexChange.subscribe(index => Promise.resolve().then(() => this.ngZone.run(() => observer.next(index)))));\n        /** A stream that emits whenever the rendered range changes. */\n        this.renderedRangeStream = this._renderedRangeSubject;\n        /**\n         * The total size of all content (in pixels), including content that is not currently rendered.\n         */\n        this._totalContentSize = 0;\n        /** A string representing the `style.width` property value to be used for the spacer element. */\n        this._totalContentWidth = '';\n        /** A string representing the `style.height` property value to be used for the spacer element. */\n        this._totalContentHeight = '';\n        /** The currently rendered range of indices. */\n        this._renderedRange = { start: 0, end: 0 };\n        /** The length of the data bound to this viewport (in number of items). */\n        this._dataLength = 0;\n        /** The size of the viewport (in pixels). */\n        this._viewportSize = 0;\n        /** The last rendered content offset that was set. */\n        this._renderedContentOffset = 0;\n        /**\n         * Whether the last rendered content offset was to the end of the content (and therefore needs to\n         * be rewritten as an offset to the start of the content).\n         */\n        this._renderedContentOffsetNeedsRewrite = false;\n        /** Whether there is a pending change detection cycle. */\n        this._isChangeDetectionPending = false;\n        /** A list of functions to run after the next change detection cycle. */\n        this._runAfterChangeDetection = [];\n        /** Subscription to changes in the viewport size. */\n        this._viewportChanges = Subscription.EMPTY;\n        if (!_scrollStrategy && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n            throw Error('Error: cdk-virtual-scroll-viewport requires the \"itemSize\" property to be set.');\n        }\n        this._viewportChanges = viewportRuler.change().subscribe(() => {\n            this.checkViewportSize();\n        });\n        if (!this.scrollable) {\n            // No scrollable is provided, so the virtual-scroll-viewport needs to become a scrollable\n            this.elementRef.nativeElement.classList.add('cdk-virtual-scrollable');\n            this.scrollable = this;\n        }\n    }\n    ngOnInit() {\n        // Scrolling depends on the element dimensions which we can't get during SSR.\n        if (!this._platform.isBrowser) {\n            return;\n        }\n        if (this.scrollable === this) {\n            super.ngOnInit();\n        }\n        // It's still too early to measure the viewport at this point. Deferring with a promise allows\n        // the Viewport to be rendered with the correct size before we measure. We run this outside the\n        // zone to avoid causing more change detection cycles. We handle the change detection loop\n        // ourselves instead.\n        this.ngZone.runOutsideAngular(() => Promise.resolve().then(() => {\n            this._measureViewportSize();\n            this._scrollStrategy.attach(this);\n            this.scrollable\n                .elementScrolled()\n                .pipe(\n            // Start off with a fake scroll event so we properly detect our initial position.\n            startWith(null), \n            // Collect multiple events into one until the next animation frame. This way if\n            // there are multiple scroll events in the same frame we only need to recheck\n            // our layout once.\n            auditTime(0, SCROLL_SCHEDULER))\n                .subscribe(() => this._scrollStrategy.onContentScrolled());\n            this._markChangeDetectionNeeded();\n        }));\n    }\n    ngOnDestroy() {\n        this.detach();\n        this._scrollStrategy.detach();\n        // Complete all subjects\n        this._renderedRangeSubject.complete();\n        this._detachedSubject.complete();\n        this._viewportChanges.unsubscribe();\n        super.ngOnDestroy();\n    }\n    /** Attaches a `CdkVirtualScrollRepeater` to this viewport. */\n    attach(forOf) {\n        if (this._forOf && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n            throw Error('CdkVirtualScrollViewport is already attached.');\n        }\n        // Subscribe to the data stream of the CdkVirtualForOf to keep track of when the data length\n        // changes. Run outside the zone to avoid triggering change detection, since we're managing the\n        // change detection loop ourselves.\n        this.ngZone.runOutsideAngular(() => {\n            this._forOf = forOf;\n            this._forOf.dataStream.pipe(takeUntil(this._detachedSubject)).subscribe(data => {\n                const newLength = data.length;\n                if (newLength !== this._dataLength) {\n                    this._dataLength = newLength;\n                    this._scrollStrategy.onDataLengthChanged();\n                }\n                this._doChangeDetection();\n            });\n        });\n    }\n    /** Detaches the current `CdkVirtualForOf`. */\n    detach() {\n        this._forOf = null;\n        this._detachedSubject.next();\n    }\n    /** Gets the length of the data bound to this viewport (in number of items). */\n    getDataLength() {\n        return this._dataLength;\n    }\n    /** Gets the size of the viewport (in pixels). */\n    getViewportSize() {\n        return this._viewportSize;\n    }\n    // TODO(mmalerba): This is technically out of sync with what's really rendered until a render\n    // cycle happens. I'm being careful to only call it after the render cycle is complete and before\n    // setting it to something else, but its error prone and should probably be split into\n    // `pendingRange` and `renderedRange`, the latter reflecting whats actually in the DOM.\n    /** Get the current rendered range of items. */\n    getRenderedRange() {\n        return this._renderedRange;\n    }\n    measureBoundingClientRectWithScrollOffset(from) {\n        return this.getElementRef().nativeElement.getBoundingClientRect()[from];\n    }\n    /**\n     * Sets the total size of all content (in pixels), including content that is not currently\n     * rendered.\n     */\n    setTotalContentSize(size) {\n        if (this._totalContentSize !== size) {\n            this._totalContentSize = size;\n            this._calculateSpacerSize();\n            this._markChangeDetectionNeeded();\n        }\n    }\n    /** Sets the currently rendered range of indices. */\n    setRenderedRange(range) {\n        if (!rangesEqual(this._renderedRange, range)) {\n            if (this.appendOnly) {\n                range = { start: 0, end: Math.max(this._renderedRange.end, range.end) };\n            }\n            this._renderedRangeSubject.next((this._renderedRange = range));\n            this._markChangeDetectionNeeded(() => this._scrollStrategy.onContentRendered());\n        }\n    }\n    /**\n     * Gets the offset from the start of the viewport to the start of the rendered data (in pixels).\n     */\n    getOffsetToRenderedContentStart() {\n        return this._renderedContentOffsetNeedsRewrite ? null : this._renderedContentOffset;\n    }\n    /**\n     * Sets the offset from the start of the viewport to either the start or end of the rendered data\n     * (in pixels).\n     */\n    setRenderedContentOffset(offset, to = 'to-start') {\n        // In appendOnly, we always start from the top\n        offset = this.appendOnly && to === 'to-start' ? 0 : offset;\n        // For a horizontal viewport in a right-to-left language we need to translate along the x-axis\n        // in the negative direction.\n        const isRtl = this.dir && this.dir.value == 'rtl';\n        const isHorizontal = this.orientation == 'horizontal';\n        const axis = isHorizontal ? 'X' : 'Y';\n        const axisDirection = isHorizontal && isRtl ? -1 : 1;\n        let transform = `translate${axis}(${Number(axisDirection * offset)}px)`;\n        this._renderedContentOffset = offset;\n        if (to === 'to-end') {\n            transform += ` translate${axis}(-100%)`;\n            // The viewport should rewrite this as a `to-start` offset on the next render cycle. Otherwise\n            // elements will appear to expand in the wrong direction (e.g. `mat-expansion-panel` would\n            // expand upward).\n            this._renderedContentOffsetNeedsRewrite = true;\n        }\n        if (this._renderedContentTransform != transform) {\n            // We know this value is safe because we parse `offset` with `Number()` before passing it\n            // into the string.\n            this._renderedContentTransform = transform;\n            this._markChangeDetectionNeeded(() => {\n                if (this._renderedContentOffsetNeedsRewrite) {\n                    this._renderedContentOffset -= this.measureRenderedContentSize();\n                    this._renderedContentOffsetNeedsRewrite = false;\n                    this.setRenderedContentOffset(this._renderedContentOffset);\n                }\n                else {\n                    this._scrollStrategy.onRenderedOffsetChanged();\n                }\n            });\n        }\n    }\n    /**\n     * Scrolls to the given offset from the start of the viewport. Please note that this is not always\n     * the same as setting `scrollTop` or `scrollLeft`. In a horizontal viewport with right-to-left\n     * direction, this would be the equivalent of setting a fictional `scrollRight` property.\n     * @param offset The offset to scroll to.\n     * @param behavior The ScrollBehavior to use when scrolling. Default is behavior is `auto`.\n     */\n    scrollToOffset(offset, behavior = 'auto') {\n        const options = { behavior };\n        if (this.orientation === 'horizontal') {\n            options.start = offset;\n        }\n        else {\n            options.top = offset;\n        }\n        this.scrollable.scrollTo(options);\n    }\n    /**\n     * Scrolls to the offset for the given index.\n     * @param index The index of the element to scroll to.\n     * @param behavior The ScrollBehavior to use when scrolling. Default is behavior is `auto`.\n     */\n    scrollToIndex(index, behavior = 'auto') {\n        this._scrollStrategy.scrollToIndex(index, behavior);\n    }\n    /**\n     * Gets the current scroll offset from the start of the scrollable (in pixels).\n     * @param from The edge to measure the offset from. Defaults to 'top' in vertical mode and 'start'\n     *     in horizontal mode.\n     */\n    measureScrollOffset(from) {\n        // This is to break the call cycle\n        let measureScrollOffset;\n        if (this.scrollable == this) {\n            measureScrollOffset = (_from) => super.measureScrollOffset(_from);\n        }\n        else {\n            measureScrollOffset = (_from) => this.scrollable.measureScrollOffset(_from);\n        }\n        return Math.max(0, measureScrollOffset(from ?? (this.orientation === 'horizontal' ? 'start' : 'top')) -\n            this.measureViewportOffset());\n    }\n    /**\n     * Measures the offset of the viewport from the scrolling container\n     * @param from The edge to measure from.\n     */\n    measureViewportOffset(from) {\n        let fromRect;\n        const LEFT = 'left';\n        const RIGHT = 'right';\n        const isRtl = this.dir?.value == 'rtl';\n        if (from == 'start') {\n            fromRect = isRtl ? RIGHT : LEFT;\n        }\n        else if (from == 'end') {\n            fromRect = isRtl ? LEFT : RIGHT;\n        }\n        else if (from) {\n            fromRect = from;\n        }\n        else {\n            fromRect = this.orientation === 'horizontal' ? 'left' : 'top';\n        }\n        const scrollerClientRect = this.scrollable.measureBoundingClientRectWithScrollOffset(fromRect);\n        const viewportClientRect = this.elementRef.nativeElement.getBoundingClientRect()[fromRect];\n        return viewportClientRect - scrollerClientRect;\n    }\n    /** Measure the combined size of all of the rendered items. */\n    measureRenderedContentSize() {\n        const contentEl = this._contentWrapper.nativeElement;\n        return this.orientation === 'horizontal' ? contentEl.offsetWidth : contentEl.offsetHeight;\n    }\n    /**\n     * Measure the total combined size of the given range. Throws if the range includes items that are\n     * not rendered.\n     */\n    measureRangeSize(range) {\n        if (!this._forOf) {\n            return 0;\n        }\n        return this._forOf.measureRangeSize(range, this.orientation);\n    }\n    /** Update the viewport dimensions and re-render. */\n    checkViewportSize() {\n        // TODO: Cleanup later when add logic for handling content resize\n        this._measureViewportSize();\n        this._scrollStrategy.onDataLengthChanged();\n    }\n    /** Measure the viewport size. */\n    _measureViewportSize() {\n        this._viewportSize = this.scrollable.measureViewportSize(this.orientation);\n    }\n    /** Queue up change detection to run. */\n    _markChangeDetectionNeeded(runAfter) {\n        if (runAfter) {\n            this._runAfterChangeDetection.push(runAfter);\n        }\n        // Use a Promise to batch together calls to `_doChangeDetection`. This way if we set a bunch of\n        // properties sequentially we only have to run `_doChangeDetection` once at the end.\n        if (!this._isChangeDetectionPending) {\n            this._isChangeDetectionPending = true;\n            this.ngZone.runOutsideAngular(() => Promise.resolve().then(() => {\n                this._doChangeDetection();\n            }));\n        }\n    }\n    /** Run change detection. */\n    _doChangeDetection() {\n        this._isChangeDetectionPending = false;\n        // Apply the content transform. The transform can't be set via an Angular binding because\n        // bypassSecurityTrustStyle is banned in Google. However the value is safe, it's composed of\n        // string literals, a variable that can only be 'X' or 'Y', and user input that is run through\n        // the `Number` function first to coerce it to a numeric value.\n        this._contentWrapper.nativeElement.style.transform = this._renderedContentTransform;\n        // Apply changes to Angular bindings. Note: We must call `markForCheck` to run change detection\n        // from the root, since the repeated items are content projected in. Calling `detectChanges`\n        // instead does not properly check the projected content.\n        this.ngZone.run(() => this._changeDetectorRef.markForCheck());\n        const runAfterChangeDetection = this._runAfterChangeDetection;\n        this._runAfterChangeDetection = [];\n        for (const fn of runAfterChangeDetection) {\n            fn();\n        }\n    }\n    /** Calculates the `style.width` and `style.height` for the spacer element. */\n    _calculateSpacerSize() {\n        this._totalContentHeight =\n            this.orientation === 'horizontal' ? '' : `${this._totalContentSize}px`;\n        this._totalContentWidth =\n            this.orientation === 'horizontal' ? `${this._totalContentSize}px` : '';\n    }\n}\nCdkVirtualScrollViewport.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: CdkVirtualScrollViewport, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: VIRTUAL_SCROLL_STRATEGY, optional: true }, { token: i2.Directionality, optional: true }, { token: ScrollDispatcher }, { token: ViewportRuler }, { token: VIRTUAL_SCROLLABLE, optional: true }], target: i0.ɵɵFactoryTarget.Component });\nCdkVirtualScrollViewport.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"15.2.0-rc.0\", type: CdkVirtualScrollViewport, isStandalone: true, selector: \"cdk-virtual-scroll-viewport\", inputs: { orientation: \"orientation\", appendOnly: \"appendOnly\" }, outputs: { scrolledIndexChange: \"scrolledIndexChange\" }, host: { properties: { \"class.cdk-virtual-scroll-orientation-horizontal\": \"orientation === \\\"horizontal\\\"\", \"class.cdk-virtual-scroll-orientation-vertical\": \"orientation !== \\\"horizontal\\\"\" }, classAttribute: \"cdk-virtual-scroll-viewport\" }, providers: [\n        {\n            provide: CdkScrollable,\n            useFactory: (virtualScrollable, viewport) => virtualScrollable || viewport,\n            deps: [[new Optional(), new Inject(VIRTUAL_SCROLLABLE)], CdkVirtualScrollViewport],\n        },\n    ], viewQueries: [{ propertyName: \"_contentWrapper\", first: true, predicate: [\"contentWrapper\"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: \"<!--\\n  Wrap the rendered content in an element that will be used to offset it based on the scroll\\n  position.\\n-->\\n<div #contentWrapper class=\\\"cdk-virtual-scroll-content-wrapper\\\">\\n  <ng-content></ng-content>\\n</div>\\n<!--\\n  Spacer used to force the scrolling container to the correct size for the *total* number of items\\n  so that the scrollbar captures the size of the entire data set.\\n-->\\n<div class=\\\"cdk-virtual-scroll-spacer\\\"\\n     [style.width]=\\\"_totalContentWidth\\\" [style.height]=\\\"_totalContentHeight\\\"></div>\\n\", styles: [\"cdk-virtual-scroll-viewport{display:block;position:relative;transform:translateZ(0)}.cdk-virtual-scrollable{overflow:auto;will-change:scroll-position;contain:strict;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{height:1px;transform-origin:0 0;flex:0 0 auto}[dir=rtl] .cdk-virtual-scroll-spacer{transform-origin:100% 0}\"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: CdkVirtualScrollViewport, decorators: [{\n            type: Component,\n            args: [{ selector: 'cdk-virtual-scroll-viewport', host: {\n                        'class': 'cdk-virtual-scroll-viewport',\n                        '[class.cdk-virtual-scroll-orientation-horizontal]': 'orientation === \"horizontal\"',\n                        '[class.cdk-virtual-scroll-orientation-vertical]': 'orientation !== \"horizontal\"',\n                    }, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, providers: [\n                        {\n                            provide: CdkScrollable,\n                            useFactory: (virtualScrollable, viewport) => virtualScrollable || viewport,\n                            deps: [[new Optional(), new Inject(VIRTUAL_SCROLLABLE)], CdkVirtualScrollViewport],\n                        },\n                    ], template: \"<!--\\n  Wrap the rendered content in an element that will be used to offset it based on the scroll\\n  position.\\n-->\\n<div #contentWrapper class=\\\"cdk-virtual-scroll-content-wrapper\\\">\\n  <ng-content></ng-content>\\n</div>\\n<!--\\n  Spacer used to force the scrolling container to the correct size for the *total* number of items\\n  so that the scrollbar captures the size of the entire data set.\\n-->\\n<div class=\\\"cdk-virtual-scroll-spacer\\\"\\n     [style.width]=\\\"_totalContentWidth\\\" [style.height]=\\\"_totalContentHeight\\\"></div>\\n\", styles: [\"cdk-virtual-scroll-viewport{display:block;position:relative;transform:translateZ(0)}.cdk-virtual-scrollable{overflow:auto;will-change:scroll-position;contain:strict;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{height:1px;transform-origin:0 0;flex:0 0 auto}[dir=rtl] .cdk-virtual-scroll-spacer{transform-origin:100% 0}\"] }]\n        }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: undefined, decorators: [{\n                    type: Optional\n                }, {\n                    type: Inject,\n                    args: [VIRTUAL_SCROLL_STRATEGY]\n                }] }, { type: i2.Directionality, decorators: [{\n                    type: Optional\n                }] }, { type: ScrollDispatcher }, { type: ViewportRuler }, { type: CdkVirtualScrollable, decorators: [{\n                    type: Optional\n                }, {\n                    type: Inject,\n                    args: [VIRTUAL_SCROLLABLE]\n                }] }]; }, propDecorators: { orientation: [{\n                type: Input\n            }], appendOnly: [{\n                type: Input\n            }], scrolledIndexChange: [{\n                type: Output\n            }], _contentWrapper: [{\n                type: ViewChild,\n                args: ['contentWrapper', { static: true }]\n            }] } });\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/** Helper to extract the offset of a DOM Node in a certain direction. */\nfunction getOffset(orientation, direction, node) {\n    const el = node;\n    if (!el.getBoundingClientRect) {\n        return 0;\n    }\n    const rect = el.getBoundingClientRect();\n    if (orientation === 'horizontal') {\n        return direction === 'start' ? rect.left : rect.right;\n    }\n    return direction === 'start' ? rect.top : rect.bottom;\n}\n/**\n * A directive similar to `ngForOf` to be used for rendering data inside a virtual scrolling\n * container.\n */\nclass CdkVirtualForOf {\n    /** The DataSource to display. */\n    get cdkVirtualForOf() {\n        return this._cdkVirtualForOf;\n    }\n    set cdkVirtualForOf(value) {\n        this._cdkVirtualForOf = value;\n        if (isDataSource(value)) {\n            this._dataSourceChanges.next(value);\n        }\n        else {\n            // If value is an an NgIterable, convert it to an array.\n            this._dataSourceChanges.next(new ArrayDataSource(isObservable(value) ? value : Array.from(value || [])));\n        }\n    }\n    /**\n     * The `TrackByFunction` to use for tracking changes. The `TrackByFunction` takes the index and\n     * the item and produces a value to be used as the item's identity when tracking changes.\n     */\n    get cdkVirtualForTrackBy() {\n        return this._cdkVirtualForTrackBy;\n    }\n    set cdkVirtualForTrackBy(fn) {\n        this._needsUpdate = true;\n        this._cdkVirtualForTrackBy = fn\n            ? (index, item) => fn(index + (this._renderedRange ? this._renderedRange.start : 0), item)\n            : undefined;\n    }\n    /** The template used to stamp out new elements. */\n    set cdkVirtualForTemplate(value) {\n        if (value) {\n            this._needsUpdate = true;\n            this._template = value;\n        }\n    }\n    /**\n     * The size of the cache used to store templates that are not being used for re-use later.\n     * Setting the cache size to `0` will disable caching. Defaults to 20 templates.\n     */\n    get cdkVirtualForTemplateCacheSize() {\n        return this._viewRepeater.viewCacheSize;\n    }\n    set cdkVirtualForTemplateCacheSize(size) {\n        this._viewRepeater.viewCacheSize = coerceNumberProperty(size);\n    }\n    constructor(\n    /** The view container to add items to. */\n    _viewContainerRef, \n    /** The template to use when stamping out new items. */\n    _template, \n    /** The set of available differs. */\n    _differs, \n    /** The strategy used to render items in the virtual scroll viewport. */\n    _viewRepeater, \n    /** The virtual scrolling viewport that these items are being rendered in. */\n    _viewport, ngZone) {\n        this._viewContainerRef = _viewContainerRef;\n        this._template = _template;\n        this._differs = _differs;\n        this._viewRepeater = _viewRepeater;\n        this._viewport = _viewport;\n        /** Emits when the rendered view of the data changes. */\n        this.viewChange = new Subject();\n        /** Subject that emits when a new DataSource instance is given. */\n        this._dataSourceChanges = new Subject();\n        /** Emits whenever the data in the current DataSource changes. */\n        this.dataStream = this._dataSourceChanges.pipe(\n        // Start off with null `DataSource`.\n        startWith(null), \n        // Bundle up the previous and current data sources so we can work with both.\n        pairwise(), \n        // Use `_changeDataSource` to disconnect from the previous data source and connect to the\n        // new one, passing back a stream of data changes which we run through `switchMap` to give\n        // us a data stream that emits the latest data from whatever the current `DataSource` is.\n        switchMap(([prev, cur]) => this._changeDataSource(prev, cur)), \n        // Replay the last emitted data when someone subscribes.\n        shareReplay(1));\n        /** The differ used to calculate changes to the data. */\n        this._differ = null;\n        /** Whether the rendered data should be updated during the next ngDoCheck cycle. */\n        this._needsUpdate = false;\n        this._destroyed = new Subject();\n        this.dataStream.subscribe(data => {\n            this._data = data;\n            this._onRenderedDataChange();\n        });\n        this._viewport.renderedRangeStream.pipe(takeUntil(this._destroyed)).subscribe(range => {\n            this._renderedRange = range;\n            if (this.viewChange.observers.length) {\n                ngZone.run(() => this.viewChange.next(this._renderedRange));\n            }\n            this._onRenderedDataChange();\n        });\n        this._viewport.attach(this);\n    }\n    /**\n     * Measures the combined size (width for horizontal orientation, height for vertical) of all items\n     * in the specified range. Throws an error if the range includes items that are not currently\n     * rendered.\n     */\n    measureRangeSize(range, orientation) {\n        if (range.start >= range.end) {\n            return 0;\n        }\n        if ((range.start < this._renderedRange.start || range.end > this._renderedRange.end) &&\n            (typeof ngDevMode === 'undefined' || ngDevMode)) {\n            throw Error(`Error: attempted to measure an item that isn't rendered.`);\n        }\n        // The index into the list of rendered views for the first item in the range.\n        const renderedStartIndex = range.start - this._renderedRange.start;\n        // The length of the range we're measuring.\n        const rangeLen = range.end - range.start;\n        // Loop over all the views, find the first and land node and compute the size by subtracting\n        // the top of the first node from the bottom of the last one.\n        let firstNode;\n        let lastNode;\n        // Find the first node by starting from the beginning and going forwards.\n        for (let i = 0; i < rangeLen; i++) {\n            const view = this._viewContainerRef.get(i + renderedStartIndex);\n            if (view && view.rootNodes.length) {\n                firstNode = lastNode = view.rootNodes[0];\n                break;\n            }\n        }\n        // Find the last node by starting from the end and going backwards.\n        for (let i = rangeLen - 1; i > -1; i--) {\n            const view = this._viewContainerRef.get(i + renderedStartIndex);\n            if (view && view.rootNodes.length) {\n                lastNode = view.rootNodes[view.rootNodes.length - 1];\n                break;\n            }\n        }\n        return firstNode && lastNode\n            ? getOffset(orientation, 'end', lastNode) - getOffset(orientation, 'start', firstNode)\n            : 0;\n    }\n    ngDoCheck() {\n        if (this._differ && this._needsUpdate) {\n            // TODO(mmalerba): We should differentiate needs update due to scrolling and a new portion of\n            // this list being rendered (can use simpler algorithm) vs needs update due to data actually\n            // changing (need to do this diff).\n            const changes = this._differ.diff(this._renderedItems);\n            if (!changes) {\n                this._updateContext();\n            }\n            else {\n                this._applyChanges(changes);\n            }\n            this._needsUpdate = false;\n        }\n    }\n    ngOnDestroy() {\n        this._viewport.detach();\n        this._dataSourceChanges.next(undefined);\n        this._dataSourceChanges.complete();\n        this.viewChange.complete();\n        this._destroyed.next();\n        this._destroyed.complete();\n        this._viewRepeater.detach();\n    }\n    /** React to scroll state changes in the viewport. */\n    _onRenderedDataChange() {\n        if (!this._renderedRange) {\n            return;\n        }\n        this._renderedItems = this._data.slice(this._renderedRange.start, this._renderedRange.end);\n        if (!this._differ) {\n            // Use a wrapper function for the `trackBy` so any new values are\n            // picked up automatically without having to recreate the differ.\n            this._differ = this._differs.find(this._renderedItems).create((index, item) => {\n                return this.cdkVirtualForTrackBy ? this.cdkVirtualForTrackBy(index, item) : item;\n            });\n        }\n        this._needsUpdate = true;\n    }\n    /** Swap out one `DataSource` for another. */\n    _changeDataSource(oldDs, newDs) {\n        if (oldDs) {\n            oldDs.disconnect(this);\n        }\n        this._needsUpdate = true;\n        return newDs ? newDs.connect(this) : of();\n    }\n    /** Update the `CdkVirtualForOfContext` for all views. */\n    _updateContext() {\n        const count = this._data.length;\n        let i = this._viewContainerRef.length;\n        while (i--) {\n            const view = this._viewContainerRef.get(i);\n            view.context.index = this._renderedRange.start + i;\n            view.context.count = count;\n            this._updateComputedContextProperties(view.context);\n            view.detectChanges();\n        }\n    }\n    /** Apply changes to the DOM. */\n    _applyChanges(changes) {\n        this._viewRepeater.applyChanges(changes, this._viewContainerRef, (record, _adjustedPreviousIndex, currentIndex) => this._getEmbeddedViewArgs(record, currentIndex), record => record.item);\n        // Update $implicit for any items that had an identity change.\n        changes.forEachIdentityChange((record) => {\n            const view = this._viewContainerRef.get(record.currentIndex);\n            view.context.$implicit = record.item;\n        });\n        // Update the context variables on all items.\n        const count = this._data.length;\n        let i = this._viewContainerRef.length;\n        while (i--) {\n            const view = this._viewContainerRef.get(i);\n            view.context.index = this._renderedRange.start + i;\n            view.context.count = count;\n            this._updateComputedContextProperties(view.context);\n        }\n    }\n    /** Update the computed properties on the `CdkVirtualForOfContext`. */\n    _updateComputedContextProperties(context) {\n        context.first = context.index === 0;\n        context.last = context.index === context.count - 1;\n        context.even = context.index % 2 === 0;\n        context.odd = !context.even;\n    }\n    _getEmbeddedViewArgs(record, index) {\n        // Note that it's important that we insert the item directly at the proper index,\n        // rather than inserting it and the moving it in place, because if there's a directive\n        // on the same node that injects the `ViewContainerRef`, Angular will insert another\n        // comment node which can throw off the move when it's being repeated for all items.\n        return {\n            templateRef: this._template,\n            context: {\n                $implicit: record.item,\n                // It's guaranteed that the iterable is not \"undefined\" or \"null\" because we only\n                // generate views for elements if the \"cdkVirtualForOf\" iterable has elements.\n                cdkVirtualForOf: this._cdkVirtualForOf,\n                index: -1,\n                count: -1,\n                first: false,\n                last: false,\n                odd: false,\n                even: false,\n            },\n            index,\n        };\n    }\n}\nCdkVirtualForOf.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: CdkVirtualForOf, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: i0.IterableDiffers }, { token: _VIEW_REPEATER_STRATEGY }, { token: CdkVirtualScrollViewport, skipSelf: true }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });\nCdkVirtualForOf.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.2.0-rc.0\", type: CdkVirtualForOf, isStandalone: true, selector: \"[cdkVirtualFor][cdkVirtualForOf]\", inputs: { cdkVirtualForOf: \"cdkVirtualForOf\", cdkVirtualForTrackBy: \"cdkVirtualForTrackBy\", cdkVirtualForTemplate: \"cdkVirtualForTemplate\", cdkVirtualForTemplateCacheSize: \"cdkVirtualForTemplateCacheSize\" }, providers: [{ provide: _VIEW_REPEATER_STRATEGY, useClass: _RecycleViewRepeaterStrategy }], ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: CdkVirtualForOf, decorators: [{\n            type: Directive,\n            args: [{\n                    selector: '[cdkVirtualFor][cdkVirtualForOf]',\n                    providers: [{ provide: _VIEW_REPEATER_STRATEGY, useClass: _RecycleViewRepeaterStrategy }],\n                    standalone: true,\n                }]\n        }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.TemplateRef }, { type: i0.IterableDiffers }, { type: i2$1._RecycleViewRepeaterStrategy, decorators: [{\n                    type: Inject,\n                    args: [_VIEW_REPEATER_STRATEGY]\n                }] }, { type: CdkVirtualScrollViewport, decorators: [{\n                    type: SkipSelf\n                }] }, { type: i0.NgZone }]; }, propDecorators: { cdkVirtualForOf: [{\n                type: Input\n            }], cdkVirtualForTrackBy: [{\n                type: Input\n            }], cdkVirtualForTemplate: [{\n                type: Input\n            }], cdkVirtualForTemplateCacheSize: [{\n                type: Input\n            }] } });\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * Provides a virtual scrollable for the element it is attached to.\n */\nclass CdkVirtualScrollableElement extends CdkVirtualScrollable {\n    constructor(elementRef, scrollDispatcher, ngZone, dir) {\n        super(elementRef, scrollDispatcher, ngZone, dir);\n    }\n    measureBoundingClientRectWithScrollOffset(from) {\n        return (this.getElementRef().nativeElement.getBoundingClientRect()[from] -\n            this.measureScrollOffset(from));\n    }\n}\nCdkVirtualScrollableElement.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: CdkVirtualScrollableElement, deps: [{ token: i0.ElementRef }, { token: ScrollDispatcher }, { token: i0.NgZone }, { token: i2.Directionality, optional: true }], target: i0.ɵɵFactoryTarget.Directive });\nCdkVirtualScrollableElement.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.2.0-rc.0\", type: CdkVirtualScrollableElement, isStandalone: true, selector: \"[cdkVirtualScrollingElement]\", host: { classAttribute: \"cdk-virtual-scrollable\" }, providers: [{ provide: VIRTUAL_SCROLLABLE, useExisting: CdkVirtualScrollableElement }], usesInheritance: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: CdkVirtualScrollableElement, decorators: [{\n            type: Directive,\n            args: [{\n                    selector: '[cdkVirtualScrollingElement]',\n                    providers: [{ provide: VIRTUAL_SCROLLABLE, useExisting: CdkVirtualScrollableElement }],\n                    standalone: true,\n                    host: {\n                        'class': 'cdk-virtual-scrollable',\n                    },\n                }]\n        }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: ScrollDispatcher }, { type: i0.NgZone }, { type: i2.Directionality, decorators: [{\n                    type: Optional\n                }] }]; } });\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * Provides as virtual scrollable for the global / window scrollbar.\n */\nclass CdkVirtualScrollableWindow extends CdkVirtualScrollable {\n    constructor(scrollDispatcher, ngZone, dir) {\n        super(new ElementRef(document.documentElement), scrollDispatcher, ngZone, dir);\n        this._elementScrolled = new Observable((observer) => this.ngZone.runOutsideAngular(() => fromEvent(document, 'scroll').pipe(takeUntil(this._destroyed)).subscribe(observer)));\n    }\n    measureBoundingClientRectWithScrollOffset(from) {\n        return this.getElementRef().nativeElement.getBoundingClientRect()[from];\n    }\n}\nCdkVirtualScrollableWindow.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: CdkVirtualScrollableWindow, deps: [{ token: ScrollDispatcher }, { token: i0.NgZone }, { token: i2.Directionality, optional: true }], target: i0.ɵɵFactoryTarget.Directive });\nCdkVirtualScrollableWindow.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.2.0-rc.0\", type: CdkVirtualScrollableWindow, isStandalone: true, selector: \"cdk-virtual-scroll-viewport[scrollWindow]\", providers: [{ provide: VIRTUAL_SCROLLABLE, useExisting: CdkVirtualScrollableWindow }], usesInheritance: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: CdkVirtualScrollableWindow, decorators: [{\n            type: Directive,\n            args: [{\n                    selector: 'cdk-virtual-scroll-viewport[scrollWindow]',\n                    providers: [{ provide: VIRTUAL_SCROLLABLE, useExisting: CdkVirtualScrollableWindow }],\n                    standalone: true,\n                }]\n        }], ctorParameters: function () { return [{ type: ScrollDispatcher }, { type: i0.NgZone }, { type: i2.Directionality, decorators: [{\n                    type: Optional\n                }] }]; } });\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nclass CdkScrollableModule {\n}\nCdkScrollableModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: CdkScrollableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\nCdkScrollableModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: CdkScrollableModule, imports: [CdkScrollable], exports: [CdkScrollable] });\nCdkScrollableModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: CdkScrollableModule });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: CdkScrollableModule, decorators: [{\n            type: NgModule,\n            args: [{\n                    exports: [CdkScrollable],\n                    imports: [CdkScrollable],\n                }]\n        }] });\n/**\n * @docs-primary-export\n */\nclass ScrollingModule {\n}\nScrollingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: ScrollingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\nScrollingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: ScrollingModule, imports: [BidiModule, CdkScrollableModule, CdkVirtualScrollViewport,\n        CdkFixedSizeVirtualScroll,\n        CdkVirtualForOf,\n        CdkVirtualScrollableWindow,\n        CdkVirtualScrollableElement], exports: [BidiModule, CdkScrollableModule, CdkFixedSizeVirtualScroll,\n        CdkVirtualForOf,\n        CdkVirtualScrollViewport,\n        CdkVirtualScrollableWindow,\n        CdkVirtualScrollableElement] });\nScrollingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: ScrollingModule, imports: [BidiModule,\n        CdkScrollableModule,\n        CdkVirtualScrollViewport, BidiModule, CdkScrollableModule] });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: ScrollingModule, decorators: [{\n            type: NgModule,\n            args: [{\n                    imports: [\n                        BidiModule,\n                        CdkScrollableModule,\n                        CdkVirtualScrollViewport,\n                        CdkFixedSizeVirtualScroll,\n                        CdkVirtualForOf,\n                        CdkVirtualScrollableWindow,\n                        CdkVirtualScrollableElement,\n                    ],\n                    exports: [\n                        BidiModule,\n                        CdkScrollableModule,\n                        CdkFixedSizeVirtualScroll,\n                        CdkVirtualForOf,\n                        CdkVirtualScrollViewport,\n                        CdkVirtualScrollableWindow,\n                        CdkVirtualScrollableElement,\n                    ],\n                }]\n        }] });\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { CdkFixedSizeVirtualScroll, CdkScrollable, CdkScrollableModule, CdkVirtualForOf, CdkVirtualScrollViewport, CdkVirtualScrollable, CdkVirtualScrollableElement, CdkVirtualScrollableWindow, DEFAULT_RESIZE_TIME, DEFAULT_SCROLL_TIME, FixedSizeVirtualScrollStrategy, ScrollDispatcher, ScrollingModule, VIRTUAL_SCROLLABLE, VIRTUAL_SCROLL_STRATEGY, ViewportRuler, _fixedSizeVirtualScrollStrategyFactory };\n","import { coerceElement, coerceBooleanProperty, coerceNumberProperty } from '@angular/cdk/coercion';\nimport * as i0 from '@angular/core';\nimport { Injectable, EventEmitter, Directive, Output, Input, NgModule } from '@angular/core';\nimport { Observable, Subject } from 'rxjs';\nimport { debounceTime } from 'rxjs/operators';\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * Factory that creates a new MutationObserver and allows us to stub it out in unit tests.\n * @docs-private\n */\nclass MutationObserverFactory {\n    create(callback) {\n        return typeof MutationObserver === 'undefined' ? null : new MutationObserver(callback);\n    }\n}\nMutationObserverFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: MutationObserverFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable });\nMutationObserverFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: MutationObserverFactory, providedIn: 'root' });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: MutationObserverFactory, decorators: [{\n            type: Injectable,\n            args: [{ providedIn: 'root' }]\n        }] });\n/** An injectable service that allows watching elements for changes to their content. */\nclass ContentObserver {\n    constructor(_mutationObserverFactory) {\n        this._mutationObserverFactory = _mutationObserverFactory;\n        /** Keeps track of the existing MutationObservers so they can be reused. */\n        this._observedElements = new Map();\n    }\n    ngOnDestroy() {\n        this._observedElements.forEach((_, element) => this._cleanupObserver(element));\n    }\n    observe(elementOrRef) {\n        const element = coerceElement(elementOrRef);\n        return new Observable((observer) => {\n            const stream = this._observeElement(element);\n            const subscription = stream.subscribe(observer);\n            return () => {\n                subscription.unsubscribe();\n                this._unobserveElement(element);\n            };\n        });\n    }\n    /**\n     * Observes the given element by using the existing MutationObserver if available, or creating a\n     * new one if not.\n     */\n    _observeElement(element) {\n        if (!this._observedElements.has(element)) {\n            const stream = new Subject();\n            const observer = this._mutationObserverFactory.create(mutations => stream.next(mutations));\n            if (observer) {\n                observer.observe(element, {\n                    characterData: true,\n                    childList: true,\n                    subtree: true,\n                });\n            }\n            this._observedElements.set(element, { observer, stream, count: 1 });\n        }\n        else {\n            this._observedElements.get(element).count++;\n        }\n        return this._observedElements.get(element).stream;\n    }\n    /**\n     * Un-observes the given element and cleans up the underlying MutationObserver if nobody else is\n     * observing this element.\n     */\n    _unobserveElement(element) {\n        if (this._observedElements.has(element)) {\n            this._observedElements.get(element).count--;\n            if (!this._observedElements.get(element).count) {\n                this._cleanupObserver(element);\n            }\n        }\n    }\n    /** Clean up the underlying MutationObserver for the specified element. */\n    _cleanupObserver(element) {\n        if (this._observedElements.has(element)) {\n            const { observer, stream } = this._observedElements.get(element);\n            if (observer) {\n                observer.disconnect();\n            }\n            stream.complete();\n            this._observedElements.delete(element);\n        }\n    }\n}\nContentObserver.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: ContentObserver, deps: [{ token: MutationObserverFactory }], target: i0.ɵɵFactoryTarget.Injectable });\nContentObserver.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: ContentObserver, providedIn: 'root' });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: ContentObserver, decorators: [{\n            type: Injectable,\n            args: [{ providedIn: 'root' }]\n        }], ctorParameters: function () { return [{ type: MutationObserverFactory }]; } });\n/**\n * Directive that triggers a callback whenever the content of\n * its associated element has changed.\n */\nclass CdkObserveContent {\n    /**\n     * Whether observing content is disabled. This option can be used\n     * to disconnect the underlying MutationObserver until it is needed.\n     */\n    get disabled() {\n        return this._disabled;\n    }\n    set disabled(value) {\n        this._disabled = coerceBooleanProperty(value);\n        this._disabled ? this._unsubscribe() : this._subscribe();\n    }\n    /** Debounce interval for emitting the changes. */\n    get debounce() {\n        return this._debounce;\n    }\n    set debounce(value) {\n        this._debounce = coerceNumberProperty(value);\n        this._subscribe();\n    }\n    constructor(_contentObserver, _elementRef, _ngZone) {\n        this._contentObserver = _contentObserver;\n        this._elementRef = _elementRef;\n        this._ngZone = _ngZone;\n        /** Event emitted for each change in the element's content. */\n        this.event = new EventEmitter();\n        this._disabled = false;\n        this._currentSubscription = null;\n    }\n    ngAfterContentInit() {\n        if (!this._currentSubscription && !this.disabled) {\n            this._subscribe();\n        }\n    }\n    ngOnDestroy() {\n        this._unsubscribe();\n    }\n    _subscribe() {\n        this._unsubscribe();\n        const stream = this._contentObserver.observe(this._elementRef);\n        // TODO(mmalerba): We shouldn't be emitting on this @Output() outside the zone.\n        // Consider brining it back inside the zone next time we're making breaking changes.\n        // Bringing it back inside can cause things like infinite change detection loops and changed\n        // after checked errors if people's code isn't handling it properly.\n        this._ngZone.runOutsideAngular(() => {\n            this._currentSubscription = (this.debounce ? stream.pipe(debounceTime(this.debounce)) : stream).subscribe(this.event);\n        });\n    }\n    _unsubscribe() {\n        this._currentSubscription?.unsubscribe();\n    }\n}\nCdkObserveContent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: CdkObserveContent, deps: [{ token: ContentObserver }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });\nCdkObserveContent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.2.0-rc.0\", type: CdkObserveContent, selector: \"[cdkObserveContent]\", inputs: { disabled: [\"cdkObserveContentDisabled\", \"disabled\"], debounce: \"debounce\" }, outputs: { event: \"cdkObserveContent\" }, exportAs: [\"cdkObserveContent\"], ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: CdkObserveContent, decorators: [{\n            type: Directive,\n            args: [{\n                    selector: '[cdkObserveContent]',\n                    exportAs: 'cdkObserveContent',\n                }]\n        }], ctorParameters: function () { return [{ type: ContentObserver }, { type: i0.ElementRef }, { type: i0.NgZone }]; }, propDecorators: { event: [{\n                type: Output,\n                args: ['cdkObserveContent']\n            }], disabled: [{\n                type: Input,\n                args: ['cdkObserveContentDisabled']\n            }], debounce: [{\n                type: Input\n            }] } });\nclass ObserversModule {\n}\nObserversModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: ObserversModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\nObserversModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: ObserversModule, declarations: [CdkObserveContent], exports: [CdkObserveContent] });\nObserversModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: ObserversModule, providers: [MutationObserverFactory] });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: ObserversModule, decorators: [{\n            type: NgModule,\n            args: [{\n                    exports: [CdkObserveContent],\n                    declarations: [CdkObserveContent],\n                    providers: [MutationObserverFactory],\n                }]\n        }] });\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { CdkObserveContent, ContentObserver, MutationObserverFactory, ObserversModule };\n","import { DOCUMENT } from '@angular/common';\nimport * as i0 from '@angular/core';\nimport { inject, APP_ID, Injectable, Inject, QueryList, Directive, Input, InjectionToken, Optional, EventEmitter, Output, NgModule } from '@angular/core';\nimport * as i1 from '@angular/cdk/platform';\nimport { _getFocusedElementPierceShadowDom, normalizePassiveListenerOptions, _getEventTarget, _getShadowRoot } from '@angular/cdk/platform';\nimport { Subject, Subscription, BehaviorSubject, of } from 'rxjs';\nimport { hasModifierKey, A, Z, ZERO, NINE, PAGE_DOWN, PAGE_UP, END, HOME, LEFT_ARROW, RIGHT_ARROW, UP_ARROW, DOWN_ARROW, TAB, ALT, CONTROL, MAC_META, META, SHIFT } from '@angular/cdk/keycodes';\nimport { tap, debounceTime, filter, map, take, skip, distinctUntilChanged, takeUntil } from 'rxjs/operators';\nimport { coerceBooleanProperty, coerceElement } from '@angular/cdk/coercion';\nimport * as i1$1 from '@angular/cdk/observers';\nimport { ObserversModule } from '@angular/cdk/observers';\nimport { BreakpointObserver } from '@angular/cdk/layout';\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/** IDs are delimited by an empty space, as per the spec. */\nconst ID_DELIMITER = ' ';\n/**\n * Adds the given ID to the specified ARIA attribute on an element.\n * Used for attributes such as aria-labelledby, aria-owns, etc.\n */\nfunction addAriaReferencedId(el, attr, id) {\n    const ids = getAriaReferenceIds(el, attr);\n    if (ids.some(existingId => existingId.trim() == id.trim())) {\n        return;\n    }\n    ids.push(id.trim());\n    el.setAttribute(attr, ids.join(ID_DELIMITER));\n}\n/**\n * Removes the given ID from the specified ARIA attribute on an element.\n * Used for attributes such as aria-labelledby, aria-owns, etc.\n */\nfunction removeAriaReferencedId(el, attr, id) {\n    const ids = getAriaReferenceIds(el, attr);\n    const filteredIds = ids.filter(val => val != id.trim());\n    if (filteredIds.length) {\n        el.setAttribute(attr, filteredIds.join(ID_DELIMITER));\n    }\n    else {\n        el.removeAttribute(attr);\n    }\n}\n/**\n * Gets the list of IDs referenced by the given ARIA attribute on an element.\n * Used for attributes such as aria-labelledby, aria-owns, etc.\n */\nfunction getAriaReferenceIds(el, attr) {\n    // Get string array of all individual ids (whitespace delimited) in the attribute value\n    return (el.getAttribute(attr) || '').match(/\\S+/g) || [];\n}\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * ID used for the body container where all messages are appended.\n * @deprecated No longer being used. To be removed.\n * @breaking-change 14.0.0\n */\nconst MESSAGES_CONTAINER_ID = 'cdk-describedby-message-container';\n/**\n * ID prefix used for each created message element.\n * @deprecated To be turned into a private variable.\n * @breaking-change 14.0.0\n */\nconst CDK_DESCRIBEDBY_ID_PREFIX = 'cdk-describedby-message';\n/**\n * Attribute given to each host element that is described by a message element.\n * @deprecated To be turned into a private variable.\n * @breaking-change 14.0.0\n */\nconst CDK_DESCRIBEDBY_HOST_ATTRIBUTE = 'cdk-describedby-host';\n/** Global incremental identifier for each registered message element. */\nlet nextId = 0;\n/**\n * Utility that creates visually hidden elements with a message content. Useful for elements that\n * want to use aria-describedby to further describe themselves without adding additional visual\n * content.\n */\nclass AriaDescriber {\n    constructor(_document, \n    /**\n     * @deprecated To be turned into a required parameter.\n     * @breaking-change 14.0.0\n     */\n    _platform) {\n        this._platform = _platform;\n        /** Map of all registered message elements that have been placed into the document. */\n        this._messageRegistry = new Map();\n        /** Container for all registered messages. */\n        this._messagesContainer = null;\n        /** Unique ID for the service. */\n        this._id = `${nextId++}`;\n        this._document = _document;\n        this._id = inject(APP_ID) + '-' + nextId++;\n    }\n    describe(hostElement, message, role) {\n        if (!this._canBeDescribed(hostElement, message)) {\n            return;\n        }\n        const key = getKey(message, role);\n        if (typeof message !== 'string') {\n            // We need to ensure that the element has an ID.\n            setMessageId(message, this._id);\n            this._messageRegistry.set(key, { messageElement: message, referenceCount: 0 });\n        }\n        else if (!this._messageRegistry.has(key)) {\n            this._createMessageElement(message, role);\n        }\n        if (!this._isElementDescribedByMessage(hostElement, key)) {\n            this._addMessageReference(hostElement, key);\n        }\n    }\n    removeDescription(hostElement, message, role) {\n        if (!message || !this._isElementNode(hostElement)) {\n            return;\n        }\n        const key = getKey(message, role);\n        if (this._isElementDescribedByMessage(hostElement, key)) {\n            this._removeMessageReference(hostElement, key);\n        }\n        // If the message is a string, it means that it's one that we created for the\n        // consumer so we can remove it safely, otherwise we should leave it in place.\n        if (typeof message === 'string') {\n            const registeredMessage = this._messageRegistry.get(key);\n            if (registeredMessage && registeredMessage.referenceCount === 0) {\n                this._deleteMessageElement(key);\n            }\n        }\n        if (this._messagesContainer?.childNodes.length === 0) {\n            this._messagesContainer.remove();\n            this._messagesContainer = null;\n        }\n    }\n    /** Unregisters all created message elements and removes the message container. */\n    ngOnDestroy() {\n        const describedElements = this._document.querySelectorAll(`[${CDK_DESCRIBEDBY_HOST_ATTRIBUTE}=\"${this._id}\"]`);\n        for (let i = 0; i < describedElements.length; i++) {\n            this._removeCdkDescribedByReferenceIds(describedElements[i]);\n            describedElements[i].removeAttribute(CDK_DESCRIBEDBY_HOST_ATTRIBUTE);\n        }\n        this._messagesContainer?.remove();\n        this._messagesContainer = null;\n        this._messageRegistry.clear();\n    }\n    /**\n     * Creates a new element in the visually hidden message container element with the message\n     * as its content and adds it to the message registry.\n     */\n    _createMessageElement(message, role) {\n        const messageElement = this._document.createElement('div');\n        setMessageId(messageElement, this._id);\n        messageElement.textContent = message;\n        if (role) {\n            messageElement.setAttribute('role', role);\n        }\n        this._createMessagesContainer();\n        this._messagesContainer.appendChild(messageElement);\n        this._messageRegistry.set(getKey(message, role), { messageElement, referenceCount: 0 });\n    }\n    /** Deletes the message element from the global messages container. */\n    _deleteMessageElement(key) {\n        this._messageRegistry.get(key)?.messageElement?.remove();\n        this._messageRegistry.delete(key);\n    }\n    /** Creates the global container for all aria-describedby messages. */\n    _createMessagesContainer() {\n        if (this._messagesContainer) {\n            return;\n        }\n        const containerClassName = 'cdk-describedby-message-container';\n        const serverContainers = this._document.querySelectorAll(`.${containerClassName}[platform=\"server\"]`);\n        for (let i = 0; i < serverContainers.length; i++) {\n            // When going from the server to the client, we may end up in a situation where there's\n            // already a container on the page, but we don't have a reference to it. Clear the\n            // old container so we don't get duplicates. Doing this, instead of emptying the previous\n            // container, should be slightly faster.\n            serverContainers[i].remove();\n        }\n        const messagesContainer = this._document.createElement('div');\n        // We add `visibility: hidden` in order to prevent text in this container from\n        // being searchable by the browser's Ctrl + F functionality.\n        // Screen-readers will still read the description for elements with aria-describedby even\n        // when the description element is not visible.\n        messagesContainer.style.visibility = 'hidden';\n        // Even though we use `visibility: hidden`, we still apply `cdk-visually-hidden` so that\n        // the description element doesn't impact page layout.\n        messagesContainer.classList.add(containerClassName);\n        messagesContainer.classList.add('cdk-visually-hidden');\n        // @breaking-change 14.0.0 Remove null check for `_platform`.\n        if (this._platform && !this._platform.isBrowser) {\n            messagesContainer.setAttribute('platform', 'server');\n        }\n        this._document.body.appendChild(messagesContainer);\n        this._messagesContainer = messagesContainer;\n    }\n    /** Removes all cdk-describedby messages that are hosted through the element. */\n    _removeCdkDescribedByReferenceIds(element) {\n        // Remove all aria-describedby reference IDs that are prefixed by CDK_DESCRIBEDBY_ID_PREFIX\n        const originalReferenceIds = getAriaReferenceIds(element, 'aria-describedby').filter(id => id.indexOf(CDK_DESCRIBEDBY_ID_PREFIX) != 0);\n        element.setAttribute('aria-describedby', originalReferenceIds.join(' '));\n    }\n    /**\n     * Adds a message reference to the element using aria-describedby and increments the registered\n     * message's reference count.\n     */\n    _addMessageReference(element, key) {\n        const registeredMessage = this._messageRegistry.get(key);\n        // Add the aria-describedby reference and set the\n        // describedby_host attribute to mark the element.\n        addAriaReferencedId(element, 'aria-describedby', registeredMessage.messageElement.id);\n        element.setAttribute(CDK_DESCRIBEDBY_HOST_ATTRIBUTE, this._id);\n        registeredMessage.referenceCount++;\n    }\n    /**\n     * Removes a message reference from the element using aria-describedby\n     * and decrements the registered message's reference count.\n     */\n    _removeMessageReference(element, key) {\n        const registeredMessage = this._messageRegistry.get(key);\n        registeredMessage.referenceCount--;\n        removeAriaReferencedId(element, 'aria-describedby', registeredMessage.messageElement.id);\n        element.removeAttribute(CDK_DESCRIBEDBY_HOST_ATTRIBUTE);\n    }\n    /** Returns true if the element has been described by the provided message ID. */\n    _isElementDescribedByMessage(element, key) {\n        const referenceIds = getAriaReferenceIds(element, 'aria-describedby');\n        const registeredMessage = this._messageRegistry.get(key);\n        const messageId = registeredMessage && registeredMessage.messageElement.id;\n        return !!messageId && referenceIds.indexOf(messageId) != -1;\n    }\n    /** Determines whether a message can be described on a particular element. */\n    _canBeDescribed(element, message) {\n        if (!this._isElementNode(element)) {\n            return false;\n        }\n        if (message && typeof message === 'object') {\n            // We'd have to make some assumptions about the description element's text, if the consumer\n            // passed in an element. Assume that if an element is passed in, the consumer has verified\n            // that it can be used as a description.\n            return true;\n        }\n        const trimmedMessage = message == null ? '' : `${message}`.trim();\n        const ariaLabel = element.getAttribute('aria-label');\n        // We shouldn't set descriptions if they're exactly the same as the `aria-label` of the\n        // element, because screen readers will end up reading out the same text twice in a row.\n        return trimmedMessage ? !ariaLabel || ariaLabel.trim() !== trimmedMessage : false;\n    }\n    /** Checks whether a node is an Element node. */\n    _isElementNode(element) {\n        return element.nodeType === this._document.ELEMENT_NODE;\n    }\n}\nAriaDescriber.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: AriaDescriber, deps: [{ token: DOCUMENT }, { token: i1.Platform }], target: i0.ɵɵFactoryTarget.Injectable });\nAriaDescriber.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: AriaDescriber, providedIn: 'root' });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: AriaDescriber, decorators: [{\n            type: Injectable,\n            args: [{ providedIn: 'root' }]\n        }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n                    type: Inject,\n                    args: [DOCUMENT]\n                }] }, { type: i1.Platform }]; } });\n/** Gets a key that can be used to look messages up in the registry. */\nfunction getKey(message, role) {\n    return typeof message === 'string' ? `${role || ''}/${message}` : message;\n}\n/** Assigns a unique ID to an element, if it doesn't have one already. */\nfunction setMessageId(element, serviceId) {\n    if (!element.id) {\n        element.id = `${CDK_DESCRIBEDBY_ID_PREFIX}-${serviceId}-${nextId++}`;\n    }\n}\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * This class manages keyboard events for selectable lists. If you pass it a query list\n * of items, it will set the active item correctly when arrow events occur.\n */\nclass ListKeyManager {\n    constructor(_items) {\n        this._items = _items;\n        this._activeItemIndex = -1;\n        this._activeItem = null;\n        this._wrap = false;\n        this._letterKeyStream = new Subject();\n        this._typeaheadSubscription = Subscription.EMPTY;\n        this._vertical = true;\n        this._allowedModifierKeys = [];\n        this._homeAndEnd = false;\n        this._pageUpAndDown = { enabled: false, delta: 10 };\n        /**\n         * Predicate function that can be used to check whether an item should be skipped\n         * by the key manager. By default, disabled items are skipped.\n         */\n        this._skipPredicateFn = (item) => item.disabled;\n        // Buffer for the letters that the user has pressed when the typeahead option is turned on.\n        this._pressedLetters = [];\n        /**\n         * Stream that emits any time the TAB key is pressed, so components can react\n         * when focus is shifted off of the list.\n         */\n        this.tabOut = new Subject();\n        /** Stream that emits whenever the active item of the list manager changes. */\n        this.change = new Subject();\n        // We allow for the items to be an array because, in some cases, the consumer may\n        // not have access to a QueryList of the items they want to manage (e.g. when the\n        // items aren't being collected via `ViewChildren` or `ContentChildren`).\n        if (_items instanceof QueryList) {\n            this._itemChangesSubscription = _items.changes.subscribe((newItems) => {\n                if (this._activeItem) {\n                    const itemArray = newItems.toArray();\n                    const newIndex = itemArray.indexOf(this._activeItem);\n                    if (newIndex > -1 && newIndex !== this._activeItemIndex) {\n                        this._activeItemIndex = newIndex;\n                    }\n                }\n            });\n        }\n    }\n    /**\n     * Sets the predicate function that determines which items should be skipped by the\n     * list key manager.\n     * @param predicate Function that determines whether the given item should be skipped.\n     */\n    skipPredicate(predicate) {\n        this._skipPredicateFn = predicate;\n        return this;\n    }\n    /**\n     * Configures wrapping mode, which determines whether the active item will wrap to\n     * the other end of list when there are no more items in the given direction.\n     * @param shouldWrap Whether the list should wrap when reaching the end.\n     */\n    withWrap(shouldWrap = true) {\n        this._wrap = shouldWrap;\n        return this;\n    }\n    /**\n     * Configures whether the key manager should be able to move the selection vertically.\n     * @param enabled Whether vertical selection should be enabled.\n     */\n    withVerticalOrientation(enabled = true) {\n        this._vertical = enabled;\n        return this;\n    }\n    /**\n     * Configures the key manager to move the selection horizontally.\n     * Passing in `null` will disable horizontal movement.\n     * @param direction Direction in which the selection can be moved.\n     */\n    withHorizontalOrientation(direction) {\n        this._horizontal = direction;\n        return this;\n    }\n    /**\n     * Modifier keys which are allowed to be held down and whose default actions will be prevented\n     * as the user is pressing the arrow keys. Defaults to not allowing any modifier keys.\n     */\n    withAllowedModifierKeys(keys) {\n        this._allowedModifierKeys = keys;\n        return this;\n    }\n    /**\n     * Turns on typeahead mode which allows users to set the active item by typing.\n     * @param debounceInterval Time to wait after the last keystroke before setting the active item.\n     */\n    withTypeAhead(debounceInterval = 200) {\n        if ((typeof ngDevMode === 'undefined' || ngDevMode) &&\n            this._items.length &&\n            this._items.some(item => typeof item.getLabel !== 'function')) {\n            throw Error('ListKeyManager items in typeahead mode must implement the `getLabel` method.');\n        }\n        this._typeaheadSubscription.unsubscribe();\n        // Debounce the presses of non-navigational keys, collect the ones that correspond to letters\n        // and convert those letters back into a string. Afterwards find the first item that starts\n        // with that string and select it.\n        this._typeaheadSubscription = this._letterKeyStream\n            .pipe(tap(letter => this._pressedLetters.push(letter)), debounceTime(debounceInterval), filter(() => this._pressedLetters.length > 0), map(() => this._pressedLetters.join('')))\n            .subscribe(inputString => {\n            const items = this._getItemsArray();\n            // Start at 1 because we want to start searching at the item immediately\n            // following the current active item.\n            for (let i = 1; i < items.length + 1; i++) {\n                const index = (this._activeItemIndex + i) % items.length;\n                const item = items[index];\n                if (!this._skipPredicateFn(item) &&\n                    item.getLabel().toUpperCase().trim().indexOf(inputString) === 0) {\n                    this.setActiveItem(index);\n                    break;\n                }\n            }\n            this._pressedLetters = [];\n        });\n        return this;\n    }\n    /** Cancels the current typeahead sequence. */\n    cancelTypeahead() {\n        this._pressedLetters = [];\n        return this;\n    }\n    /**\n     * Configures the key manager to activate the first and last items\n     * respectively when the Home or End key is pressed.\n     * @param enabled Whether pressing the Home or End key activates the first/last item.\n     */\n    withHomeAndEnd(enabled = true) {\n        this._homeAndEnd = enabled;\n        return this;\n    }\n    /**\n     * Configures the key manager to activate every 10th, configured or first/last element in up/down direction\n     * respectively when the Page-Up or Page-Down key is pressed.\n     * @param enabled Whether pressing the Page-Up or Page-Down key activates the first/last item.\n     * @param delta Whether pressing the Home or End key activates the first/last item.\n     */\n    withPageUpDown(enabled = true, delta = 10) {\n        this._pageUpAndDown = { enabled, delta };\n        return this;\n    }\n    setActiveItem(item) {\n        const previousActiveItem = this._activeItem;\n        this.updateActiveItem(item);\n        if (this._activeItem !== previousActiveItem) {\n            this.change.next(this._activeItemIndex);\n        }\n    }\n    /**\n     * Sets the active item depending on the key event passed in.\n     * @param event Keyboard event to be used for determining which element should be active.\n     */\n    onKeydown(event) {\n        const keyCode = event.keyCode;\n        const modifiers = ['altKey', 'ctrlKey', 'metaKey', 'shiftKey'];\n        const isModifierAllowed = modifiers.every(modifier => {\n            return !event[modifier] || this._allowedModifierKeys.indexOf(modifier) > -1;\n        });\n        switch (keyCode) {\n            case TAB:\n                this.tabOut.next();\n                return;\n            case DOWN_ARROW:\n                if (this._vertical && isModifierAllowed) {\n                    this.setNextItemActive();\n                    break;\n                }\n                else {\n                    return;\n                }\n            case UP_ARROW:\n                if (this._vertical && isModifierAllowed) {\n                    this.setPreviousItemActive();\n                    break;\n                }\n                else {\n                    return;\n                }\n            case RIGHT_ARROW:\n                if (this._horizontal && isModifierAllowed) {\n                    this._horizontal === 'rtl' ? this.setPreviousItemActive() : this.setNextItemActive();\n                    break;\n                }\n                else {\n                    return;\n                }\n            case LEFT_ARROW:\n                if (this._horizontal && isModifierAllowed) {\n                    this._horizontal === 'rtl' ? this.setNextItemActive() : this.setPreviousItemActive();\n                    break;\n                }\n                else {\n                    return;\n                }\n            case HOME:\n                if (this._homeAndEnd && isModifierAllowed) {\n                    this.setFirstItemActive();\n                    break;\n                }\n                else {\n                    return;\n                }\n            case END:\n                if (this._homeAndEnd && isModifierAllowed) {\n                    this.setLastItemActive();\n                    break;\n                }\n                else {\n                    return;\n                }\n            case PAGE_UP:\n                if (this._pageUpAndDown.enabled && isModifierAllowed) {\n                    const targetIndex = this._activeItemIndex - this._pageUpAndDown.delta;\n                    this._setActiveItemByIndex(targetIndex > 0 ? targetIndex : 0, 1);\n                    break;\n                }\n                else {\n                    return;\n                }\n            case PAGE_DOWN:\n                if (this._pageUpAndDown.enabled && isModifierAllowed) {\n                    const targetIndex = this._activeItemIndex + this._pageUpAndDown.delta;\n                    const itemsLength = this._getItemsArray().length;\n                    this._setActiveItemByIndex(targetIndex < itemsLength ? targetIndex : itemsLength - 1, -1);\n                    break;\n                }\n                else {\n                    return;\n                }\n            default:\n                if (isModifierAllowed || hasModifierKey(event, 'shiftKey')) {\n                    // Attempt to use the `event.key` which also maps it to the user's keyboard language,\n                    // otherwise fall back to resolving alphanumeric characters via the keyCode.\n                    if (event.key && event.key.length === 1) {\n                        this._letterKeyStream.next(event.key.toLocaleUpperCase());\n                    }\n                    else if ((keyCode >= A && keyCode <= Z) || (keyCode >= ZERO && keyCode <= NINE)) {\n                        this._letterKeyStream.next(String.fromCharCode(keyCode));\n                    }\n                }\n                // Note that we return here, in order to avoid preventing\n                // the default action of non-navigational keys.\n                return;\n        }\n        this._pressedLetters = [];\n        event.preventDefault();\n    }\n    /** Index of the currently active item. */\n    get activeItemIndex() {\n        return this._activeItemIndex;\n    }\n    /** The active item. */\n    get activeItem() {\n        return this._activeItem;\n    }\n    /** Gets whether the user is currently typing into the manager using the typeahead feature. */\n    isTyping() {\n        return this._pressedLetters.length > 0;\n    }\n    /** Sets the active item to the first enabled item in the list. */\n    setFirstItemActive() {\n        this._setActiveItemByIndex(0, 1);\n    }\n    /** Sets the active item to the last enabled item in the list. */\n    setLastItemActive() {\n        this._setActiveItemByIndex(this._items.length - 1, -1);\n    }\n    /** Sets the active item to the next enabled item in the list. */\n    setNextItemActive() {\n        this._activeItemIndex < 0 ? this.setFirstItemActive() : this._setActiveItemByDelta(1);\n    }\n    /** Sets the active item to a previous enabled item in the list. */\n    setPreviousItemActive() {\n        this._activeItemIndex < 0 && this._wrap\n            ? this.setLastItemActive()\n            : this._setActiveItemByDelta(-1);\n    }\n    updateActiveItem(item) {\n        const itemArray = this._getItemsArray();\n        const index = typeof item === 'number' ? item : itemArray.indexOf(item);\n        const activeItem = itemArray[index];\n        // Explicitly check for `null` and `undefined` because other falsy values are valid.\n        this._activeItem = activeItem == null ? null : activeItem;\n        this._activeItemIndex = index;\n    }\n    /** Cleans up the key manager. */\n    destroy() {\n        this._typeaheadSubscription.unsubscribe();\n        this._itemChangesSubscription?.unsubscribe();\n        this._letterKeyStream.complete();\n        this.tabOut.complete();\n        this.change.complete();\n        this._pressedLetters = [];\n    }\n    /**\n     * This method sets the active item, given a list of items and the delta between the\n     * currently active item and the new active item. It will calculate differently\n     * depending on whether wrap mode is turned on.\n     */\n    _setActiveItemByDelta(delta) {\n        this._wrap ? this._setActiveInWrapMode(delta) : this._setActiveInDefaultMode(delta);\n    }\n    /**\n     * Sets the active item properly given \"wrap\" mode. In other words, it will continue to move\n     * down the list until it finds an item that is not disabled, and it will wrap if it\n     * encounters either end of the list.\n     */\n    _setActiveInWrapMode(delta) {\n        const items = this._getItemsArray();\n        for (let i = 1; i <= items.length; i++) {\n            const index = (this._activeItemIndex + delta * i + items.length) % items.length;\n            const item = items[index];\n            if (!this._skipPredicateFn(item)) {\n                this.setActiveItem(index);\n                return;\n            }\n        }\n    }\n    /**\n     * Sets the active item properly given the default mode. In other words, it will\n     * continue to move down the list until it finds an item that is not disabled. If\n     * it encounters either end of the list, it will stop and not wrap.\n     */\n    _setActiveInDefaultMode(delta) {\n        this._setActiveItemByIndex(this._activeItemIndex + delta, delta);\n    }\n    /**\n     * Sets the active item to the first enabled item starting at the index specified. If the\n     * item is disabled, it will move in the fallbackDelta direction until it either\n     * finds an enabled item or encounters the end of the list.\n     */\n    _setActiveItemByIndex(index, fallbackDelta) {\n        const items = this._getItemsArray();\n        if (!items[index]) {\n            return;\n        }\n        while (this._skipPredicateFn(items[index])) {\n            index += fallbackDelta;\n            if (!items[index]) {\n                return;\n            }\n        }\n        this.setActiveItem(index);\n    }\n    /** Returns the items as an array. */\n    _getItemsArray() {\n        return this._items instanceof QueryList ? this._items.toArray() : this._items;\n    }\n}\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nclass ActiveDescendantKeyManager extends ListKeyManager {\n    setActiveItem(index) {\n        if (this.activeItem) {\n            this.activeItem.setInactiveStyles();\n        }\n        super.setActiveItem(index);\n        if (this.activeItem) {\n            this.activeItem.setActiveStyles();\n        }\n    }\n}\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nclass FocusKeyManager extends ListKeyManager {\n    constructor() {\n        super(...arguments);\n        this._origin = 'program';\n    }\n    /**\n     * Sets the focus origin that will be passed in to the items for any subsequent `focus` calls.\n     * @param origin Focus origin to be used when focusing items.\n     */\n    setFocusOrigin(origin) {\n        this._origin = origin;\n        return this;\n    }\n    setActiveItem(item) {\n        super.setActiveItem(item);\n        if (this.activeItem) {\n            this.activeItem.focus(this._origin);\n        }\n    }\n}\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * Configuration for the isFocusable method.\n */\nclass IsFocusableConfig {\n    constructor() {\n        /**\n         * Whether to count an element as focusable even if it is not currently visible.\n         */\n        this.ignoreVisibility = false;\n    }\n}\n// The InteractivityChecker leans heavily on the ally.js accessibility utilities.\n// Methods like `isTabbable` are only covering specific edge-cases for the browsers which are\n// supported.\n/**\n * Utility for checking the interactivity of an element, such as whether is is focusable or\n * tabbable.\n */\nclass InteractivityChecker {\n    constructor(_platform) {\n        this._platform = _platform;\n    }\n    /**\n     * Gets whether an element is disabled.\n     *\n     * @param element Element to be checked.\n     * @returns Whether the element is disabled.\n     */\n    isDisabled(element) {\n        // This does not capture some cases, such as a non-form control with a disabled attribute or\n        // a form control inside of a disabled form, but should capture the most common cases.\n        return element.hasAttribute('disabled');\n    }\n    /**\n     * Gets whether an element is visible for the purposes of interactivity.\n     *\n     * This will capture states like `display: none` and `visibility: hidden`, but not things like\n     * being clipped by an `overflow: hidden` parent or being outside the viewport.\n     *\n     * @returns Whether the element is visible.\n     */\n    isVisible(element) {\n        return hasGeometry(element) && getComputedStyle(element).visibility === 'visible';\n    }\n    /**\n     * Gets whether an element can be reached via Tab key.\n     * Assumes that the element has already been checked with isFocusable.\n     *\n     * @param element Element to be checked.\n     * @returns Whether the element is tabbable.\n     */\n    isTabbable(element) {\n        // Nothing is tabbable on the server 😎\n        if (!this._platform.isBrowser) {\n            return false;\n        }\n        const frameElement = getFrameElement(getWindow(element));\n        if (frameElement) {\n            // Frame elements inherit their tabindex onto all child elements.\n            if (getTabIndexValue(frameElement) === -1) {\n                return false;\n            }\n            // Browsers disable tabbing to an element inside of an invisible frame.\n            if (!this.isVisible(frameElement)) {\n                return false;\n            }\n        }\n        let nodeName = element.nodeName.toLowerCase();\n        let tabIndexValue = getTabIndexValue(element);\n        if (element.hasAttribute('contenteditable')) {\n            return tabIndexValue !== -1;\n        }\n        if (nodeName === 'iframe' || nodeName === 'object') {\n            // The frame or object's content may be tabbable depending on the content, but it's\n            // not possibly to reliably detect the content of the frames. We always consider such\n            // elements as non-tabbable.\n            return false;\n        }\n        // In iOS, the browser only considers some specific elements as tabbable.\n        if (this._platform.WEBKIT && this._platform.IOS && !isPotentiallyTabbableIOS(element)) {\n            return false;\n        }\n        if (nodeName === 'audio') {\n            // Audio elements without controls enabled are never tabbable, regardless\n            // of the tabindex attribute explicitly being set.\n            if (!element.hasAttribute('controls')) {\n                return false;\n            }\n            // Audio elements with controls are by default tabbable unless the\n            // tabindex attribute is set to `-1` explicitly.\n            return tabIndexValue !== -1;\n        }\n        if (nodeName === 'video') {\n            // For all video elements, if the tabindex attribute is set to `-1`, the video\n            // is not tabbable. Note: We cannot rely on the default `HTMLElement.tabIndex`\n            // property as that one is set to `-1` in Chrome, Edge and Safari v13.1. The\n            // tabindex attribute is the source of truth here.\n            if (tabIndexValue === -1) {\n                return false;\n            }\n            // If the tabindex is explicitly set, and not `-1` (as per check before), the\n            // video element is always tabbable (regardless of whether it has controls or not).\n            if (tabIndexValue !== null) {\n                return true;\n            }\n            // Otherwise (when no explicit tabindex is set), a video is only tabbable if it\n            // has controls enabled. Firefox is special as videos are always tabbable regardless\n            // of whether there are controls or not.\n            return this._platform.FIREFOX || element.hasAttribute('controls');\n        }\n        return element.tabIndex >= 0;\n    }\n    /**\n     * Gets whether an element can be focused by the user.\n     *\n     * @param element Element to be checked.\n     * @param config The config object with options to customize this method's behavior\n     * @returns Whether the element is focusable.\n     */\n    isFocusable(element, config) {\n        // Perform checks in order of left to most expensive.\n        // Again, naive approach that does not capture many edge cases and browser quirks.\n        return (isPotentiallyFocusable(element) &&\n            !this.isDisabled(element) &&\n            (config?.ignoreVisibility || this.isVisible(element)));\n    }\n}\nInteractivityChecker.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: InteractivityChecker, deps: [{ token: i1.Platform }], target: i0.ɵɵFactoryTarget.Injectable });\nInteractivityChecker.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: InteractivityChecker, providedIn: 'root' });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: InteractivityChecker, decorators: [{\n            type: Injectable,\n            args: [{ providedIn: 'root' }]\n        }], ctorParameters: function () { return [{ type: i1.Platform }]; } });\n/**\n * Returns the frame element from a window object. Since browsers like MS Edge throw errors if\n * the frameElement property is being accessed from a different host address, this property\n * should be accessed carefully.\n */\nfunction getFrameElement(window) {\n    try {\n        return window.frameElement;\n    }\n    catch {\n        return null;\n    }\n}\n/** Checks whether the specified element has any geometry / rectangles. */\nfunction hasGeometry(element) {\n    // Use logic from jQuery to check for an invisible element.\n    // See https://github.com/jquery/jquery/blob/master/src/css/hiddenVisibleSelectors.js#L12\n    return !!(element.offsetWidth ||\n        element.offsetHeight ||\n        (typeof element.getClientRects === 'function' && element.getClientRects().length));\n}\n/** Gets whether an element's  */\nfunction isNativeFormElement(element) {\n    let nodeName = element.nodeName.toLowerCase();\n    return (nodeName === 'input' ||\n        nodeName === 'select' ||\n        nodeName === 'button' ||\n        nodeName === 'textarea');\n}\n/** Gets whether an element is an `<input type=\"hidden\">`. */\nfunction isHiddenInput(element) {\n    return isInputElement(element) && element.type == 'hidden';\n}\n/** Gets whether an element is an anchor that has an href attribute. */\nfunction isAnchorWithHref(element) {\n    return isAnchorElement(element) && element.hasAttribute('href');\n}\n/** Gets whether an element is an input element. */\nfunction isInputElement(element) {\n    return element.nodeName.toLowerCase() == 'input';\n}\n/** Gets whether an element is an anchor element. */\nfunction isAnchorElement(element) {\n    return element.nodeName.toLowerCase() == 'a';\n}\n/** Gets whether an element has a valid tabindex. */\nfunction hasValidTabIndex(element) {\n    if (!element.hasAttribute('tabindex') || element.tabIndex === undefined) {\n        return false;\n    }\n    let tabIndex = element.getAttribute('tabindex');\n    return !!(tabIndex && !isNaN(parseInt(tabIndex, 10)));\n}\n/**\n * Returns the parsed tabindex from the element attributes instead of returning the\n * evaluated tabindex from the browsers defaults.\n */\nfunction getTabIndexValue(element) {\n    if (!hasValidTabIndex(element)) {\n        return null;\n    }\n    // See browser issue in Gecko https://bugzilla.mozilla.org/show_bug.cgi?id=1128054\n    const tabIndex = parseInt(element.getAttribute('tabindex') || '', 10);\n    return isNaN(tabIndex) ? -1 : tabIndex;\n}\n/** Checks whether the specified element is potentially tabbable on iOS */\nfunction isPotentiallyTabbableIOS(element) {\n    let nodeName = element.nodeName.toLowerCase();\n    let inputType = nodeName === 'input' && element.type;\n    return (inputType === 'text' ||\n        inputType === 'password' ||\n        nodeName === 'select' ||\n        nodeName === 'textarea');\n}\n/**\n * Gets whether an element is potentially focusable without taking current visible/disabled state\n * into account.\n */\nfunction isPotentiallyFocusable(element) {\n    // Inputs are potentially focusable *unless* they're type=\"hidden\".\n    if (isHiddenInput(element)) {\n        return false;\n    }\n    return (isNativeFormElement(element) ||\n        isAnchorWithHref(element) ||\n        element.hasAttribute('contenteditable') ||\n        hasValidTabIndex(element));\n}\n/** Gets the parent window of a DOM node with regards of being inside of an iframe. */\nfunction getWindow(node) {\n    // ownerDocument is null if `node` itself *is* a document.\n    return (node.ownerDocument && node.ownerDocument.defaultView) || window;\n}\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * Class that allows for trapping focus within a DOM element.\n *\n * This class currently uses a relatively simple approach to focus trapping.\n * It assumes that the tab order is the same as DOM order, which is not necessarily true.\n * Things like `tabIndex > 0`, flex `order`, and shadow roots can cause the two to be misaligned.\n *\n * @deprecated Use `ConfigurableFocusTrap` instead.\n * @breaking-change 11.0.0\n */\nclass FocusTrap {\n    /** Whether the focus trap is active. */\n    get enabled() {\n        return this._enabled;\n    }\n    set enabled(value) {\n        this._enabled = value;\n        if (this._startAnchor && this._endAnchor) {\n            this._toggleAnchorTabIndex(value, this._startAnchor);\n            this._toggleAnchorTabIndex(value, this._endAnchor);\n        }\n    }\n    constructor(_element, _checker, _ngZone, _document, deferAnchors = false) {\n        this._element = _element;\n        this._checker = _checker;\n        this._ngZone = _ngZone;\n        this._document = _document;\n        this._hasAttached = false;\n        // Event listeners for the anchors. Need to be regular functions so that we can unbind them later.\n        this.startAnchorListener = () => this.focusLastTabbableElement();\n        this.endAnchorListener = () => this.focusFirstTabbableElement();\n        this._enabled = true;\n        if (!deferAnchors) {\n            this.attachAnchors();\n        }\n    }\n    /** Destroys the focus trap by cleaning up the anchors. */\n    destroy() {\n        const startAnchor = this._startAnchor;\n        const endAnchor = this._endAnchor;\n        if (startAnchor) {\n            startAnchor.removeEventListener('focus', this.startAnchorListener);\n            startAnchor.remove();\n        }\n        if (endAnchor) {\n            endAnchor.removeEventListener('focus', this.endAnchorListener);\n            endAnchor.remove();\n        }\n        this._startAnchor = this._endAnchor = null;\n        this._hasAttached = false;\n    }\n    /**\n     * Inserts the anchors into the DOM. This is usually done automatically\n     * in the constructor, but can be deferred for cases like directives with `*ngIf`.\n     * @returns Whether the focus trap managed to attach successfully. This may not be the case\n     * if the target element isn't currently in the DOM.\n     */\n    attachAnchors() {\n        // If we're not on the browser, there can be no focus to trap.\n        if (this._hasAttached) {\n            return true;\n        }\n        this._ngZone.runOutsideAngular(() => {\n            if (!this._startAnchor) {\n                this._startAnchor = this._createAnchor();\n                this._startAnchor.addEventListener('focus', this.startAnchorListener);\n            }\n            if (!this._endAnchor) {\n                this._endAnchor = this._createAnchor();\n                this._endAnchor.addEventListener('focus', this.endAnchorListener);\n            }\n        });\n        if (this._element.parentNode) {\n            this._element.parentNode.insertBefore(this._startAnchor, this._element);\n            this._element.parentNode.insertBefore(this._endAnchor, this._element.nextSibling);\n            this._hasAttached = true;\n        }\n        return this._hasAttached;\n    }\n    /**\n     * Waits for the zone to stabilize, then focuses the first tabbable element.\n     * @returns Returns a promise that resolves with a boolean, depending\n     * on whether focus was moved successfully.\n     */\n    focusInitialElementWhenReady(options) {\n        return new Promise(resolve => {\n            this._executeOnStable(() => resolve(this.focusInitialElement(options)));\n        });\n    }\n    /**\n     * Waits for the zone to stabilize, then focuses\n     * the first tabbable element within the focus trap region.\n     * @returns Returns a promise that resolves with a boolean, depending\n     * on whether focus was moved successfully.\n     */\n    focusFirstTabbableElementWhenReady(options) {\n        return new Promise(resolve => {\n            this._executeOnStable(() => resolve(this.focusFirstTabbableElement(options)));\n        });\n    }\n    /**\n     * Waits for the zone to stabilize, then focuses\n     * the last tabbable element within the focus trap region.\n     * @returns Returns a promise that resolves with a boolean, depending\n     * on whether focus was moved successfully.\n     */\n    focusLastTabbableElementWhenReady(options) {\n        return new Promise(resolve => {\n            this._executeOnStable(() => resolve(this.focusLastTabbableElement(options)));\n        });\n    }\n    /**\n     * Get the specified boundary element of the trapped region.\n     * @param bound The boundary to get (start or end of trapped region).\n     * @returns The boundary element.\n     */\n    _getRegionBoundary(bound) {\n        // Contains the deprecated version of selector, for temporary backwards comparability.\n        const markers = this._element.querySelectorAll(`[cdk-focus-region-${bound}], ` + `[cdkFocusRegion${bound}], ` + `[cdk-focus-${bound}]`);\n        if (typeof ngDevMode === 'undefined' || ngDevMode) {\n            for (let i = 0; i < markers.length; i++) {\n                // @breaking-change 8.0.0\n                if (markers[i].hasAttribute(`cdk-focus-${bound}`)) {\n                    console.warn(`Found use of deprecated attribute 'cdk-focus-${bound}', ` +\n                        `use 'cdkFocusRegion${bound}' instead. The deprecated ` +\n                        `attribute will be removed in 8.0.0.`, markers[i]);\n                }\n                else if (markers[i].hasAttribute(`cdk-focus-region-${bound}`)) {\n                    console.warn(`Found use of deprecated attribute 'cdk-focus-region-${bound}', ` +\n                        `use 'cdkFocusRegion${bound}' instead. The deprecated attribute ` +\n                        `will be removed in 8.0.0.`, markers[i]);\n                }\n            }\n        }\n        if (bound == 'start') {\n            return markers.length ? markers[0] : this._getFirstTabbableElement(this._element);\n        }\n        return markers.length\n            ? markers[markers.length - 1]\n            : this._getLastTabbableElement(this._element);\n    }\n    /**\n     * Focuses the element that should be focused when the focus trap is initialized.\n     * @returns Whether focus was moved successfully.\n     */\n    focusInitialElement(options) {\n        // Contains the deprecated version of selector, for temporary backwards comparability.\n        const redirectToElement = this._element.querySelector(`[cdk-focus-initial], ` + `[cdkFocusInitial]`);\n        if (redirectToElement) {\n            // @breaking-change 8.0.0\n            if ((typeof ngDevMode === 'undefined' || ngDevMode) &&\n                redirectToElement.hasAttribute(`cdk-focus-initial`)) {\n                console.warn(`Found use of deprecated attribute 'cdk-focus-initial', ` +\n                    `use 'cdkFocusInitial' instead. The deprecated attribute ` +\n                    `will be removed in 8.0.0`, redirectToElement);\n            }\n            // Warn the consumer if the element they've pointed to\n            // isn't focusable, when not in production mode.\n            if ((typeof ngDevMode === 'undefined' || ngDevMode) &&\n                !this._checker.isFocusable(redirectToElement)) {\n                console.warn(`Element matching '[cdkFocusInitial]' is not focusable.`, redirectToElement);\n            }\n            if (!this._checker.isFocusable(redirectToElement)) {\n                const focusableChild = this._getFirstTabbableElement(redirectToElement);\n                focusableChild?.focus(options);\n                return !!focusableChild;\n            }\n            redirectToElement.focus(options);\n            return true;\n        }\n        return this.focusFirstTabbableElement(options);\n    }\n    /**\n     * Focuses the first tabbable element within the focus trap region.\n     * @returns Whether focus was moved successfully.\n     */\n    focusFirstTabbableElement(options) {\n        const redirectToElement = this._getRegionBoundary('start');\n        if (redirectToElement) {\n            redirectToElement.focus(options);\n        }\n        return !!redirectToElement;\n    }\n    /**\n     * Focuses the last tabbable element within the focus trap region.\n     * @returns Whether focus was moved successfully.\n     */\n    focusLastTabbableElement(options) {\n        const redirectToElement = this._getRegionBoundary('end');\n        if (redirectToElement) {\n            redirectToElement.focus(options);\n        }\n        return !!redirectToElement;\n    }\n    /**\n     * Checks whether the focus trap has successfully been attached.\n     */\n    hasAttached() {\n        return this._hasAttached;\n    }\n    /** Get the first tabbable element from a DOM subtree (inclusive). */\n    _getFirstTabbableElement(root) {\n        if (this._checker.isFocusable(root) && this._checker.isTabbable(root)) {\n            return root;\n        }\n        const children = root.children;\n        for (let i = 0; i < children.length; i++) {\n            const tabbableChild = children[i].nodeType === this._document.ELEMENT_NODE\n                ? this._getFirstTabbableElement(children[i])\n                : null;\n            if (tabbableChild) {\n                return tabbableChild;\n            }\n        }\n        return null;\n    }\n    /** Get the last tabbable element from a DOM subtree (inclusive). */\n    _getLastTabbableElement(root) {\n        if (this._checker.isFocusable(root) && this._checker.isTabbable(root)) {\n            return root;\n        }\n        // Iterate in reverse DOM order.\n        const children = root.children;\n        for (let i = children.length - 1; i >= 0; i--) {\n            const tabbableChild = children[i].nodeType === this._document.ELEMENT_NODE\n                ? this._getLastTabbableElement(children[i])\n                : null;\n            if (tabbableChild) {\n                return tabbableChild;\n            }\n        }\n        return null;\n    }\n    /** Creates an anchor element. */\n    _createAnchor() {\n        const anchor = this._document.createElement('div');\n        this._toggleAnchorTabIndex(this._enabled, anchor);\n        anchor.classList.add('cdk-visually-hidden');\n        anchor.classList.add('cdk-focus-trap-anchor');\n        anchor.setAttribute('aria-hidden', 'true');\n        return anchor;\n    }\n    /**\n     * Toggles the `tabindex` of an anchor, based on the enabled state of the focus trap.\n     * @param isEnabled Whether the focus trap is enabled.\n     * @param anchor Anchor on which to toggle the tabindex.\n     */\n    _toggleAnchorTabIndex(isEnabled, anchor) {\n        // Remove the tabindex completely, rather than setting it to -1, because if the\n        // element has a tabindex, the user might still hit it when navigating with the arrow keys.\n        isEnabled ? anchor.setAttribute('tabindex', '0') : anchor.removeAttribute('tabindex');\n    }\n    /**\n     * Toggles the`tabindex` of both anchors to either trap Tab focus or allow it to escape.\n     * @param enabled: Whether the anchors should trap Tab.\n     */\n    toggleAnchors(enabled) {\n        if (this._startAnchor && this._endAnchor) {\n            this._toggleAnchorTabIndex(enabled, this._startAnchor);\n            this._toggleAnchorTabIndex(enabled, this._endAnchor);\n        }\n    }\n    /** Executes a function when the zone is stable. */\n    _executeOnStable(fn) {\n        if (this._ngZone.isStable) {\n            fn();\n        }\n        else {\n            this._ngZone.onStable.pipe(take(1)).subscribe(fn);\n        }\n    }\n}\n/**\n * Factory that allows easy instantiation of focus traps.\n * @deprecated Use `ConfigurableFocusTrapFactory` instead.\n * @breaking-change 11.0.0\n */\nclass FocusTrapFactory {\n    constructor(_checker, _ngZone, _document) {\n        this._checker = _checker;\n        this._ngZone = _ngZone;\n        this._document = _document;\n    }\n    /**\n     * Creates a focus-trapped region around the given element.\n     * @param element The element around which focus will be trapped.\n     * @param deferCaptureElements Defers the creation of focus-capturing elements to be done\n     *     manually by the user.\n     * @returns The created focus trap instance.\n     */\n    create(element, deferCaptureElements = false) {\n        return new FocusTrap(element, this._checker, this._ngZone, this._document, deferCaptureElements);\n    }\n}\nFocusTrapFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: FocusTrapFactory, deps: [{ token: InteractivityChecker }, { token: i0.NgZone }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });\nFocusTrapFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: FocusTrapFactory, providedIn: 'root' });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: FocusTrapFactory, decorators: [{\n            type: Injectable,\n            args: [{ providedIn: 'root' }]\n        }], ctorParameters: function () { return [{ type: InteractivityChecker }, { type: i0.NgZone }, { type: undefined, decorators: [{\n                    type: Inject,\n                    args: [DOCUMENT]\n                }] }]; } });\n/** Directive for trapping focus within a region. */\nclass CdkTrapFocus {\n    /** Whether the focus trap is active. */\n    get enabled() {\n        return this.focusTrap.enabled;\n    }\n    set enabled(value) {\n        this.focusTrap.enabled = coerceBooleanProperty(value);\n    }\n    /**\n     * Whether the directive should automatically move focus into the trapped region upon\n     * initialization and return focus to the previous activeElement upon destruction.\n     */\n    get autoCapture() {\n        return this._autoCapture;\n    }\n    set autoCapture(value) {\n        this._autoCapture = coerceBooleanProperty(value);\n    }\n    constructor(_elementRef, _focusTrapFactory, \n    /**\n     * @deprecated No longer being used. To be removed.\n     * @breaking-change 13.0.0\n     */\n    _document) {\n        this._elementRef = _elementRef;\n        this._focusTrapFactory = _focusTrapFactory;\n        /** Previously focused element to restore focus to upon destroy when using autoCapture. */\n        this._previouslyFocusedElement = null;\n        this.focusTrap = this._focusTrapFactory.create(this._elementRef.nativeElement, true);\n    }\n    ngOnDestroy() {\n        this.focusTrap.destroy();\n        // If we stored a previously focused element when using autoCapture, return focus to that\n        // element now that the trapped region is being destroyed.\n        if (this._previouslyFocusedElement) {\n            this._previouslyFocusedElement.focus();\n            this._previouslyFocusedElement = null;\n        }\n    }\n    ngAfterContentInit() {\n        this.focusTrap.attachAnchors();\n        if (this.autoCapture) {\n            this._captureFocus();\n        }\n    }\n    ngDoCheck() {\n        if (!this.focusTrap.hasAttached()) {\n            this.focusTrap.attachAnchors();\n        }\n    }\n    ngOnChanges(changes) {\n        const autoCaptureChange = changes['autoCapture'];\n        if (autoCaptureChange &&\n            !autoCaptureChange.firstChange &&\n            this.autoCapture &&\n            this.focusTrap.hasAttached()) {\n            this._captureFocus();\n        }\n    }\n    _captureFocus() {\n        this._previouslyFocusedElement = _getFocusedElementPierceShadowDom();\n        this.focusTrap.focusInitialElementWhenReady();\n    }\n}\nCdkTrapFocus.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: CdkTrapFocus, deps: [{ token: i0.ElementRef }, { token: FocusTrapFactory }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Directive });\nCdkTrapFocus.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.2.0-rc.0\", type: CdkTrapFocus, selector: \"[cdkTrapFocus]\", inputs: { enabled: [\"cdkTrapFocus\", \"enabled\"], autoCapture: [\"cdkTrapFocusAutoCapture\", \"autoCapture\"] }, exportAs: [\"cdkTrapFocus\"], usesOnChanges: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: CdkTrapFocus, decorators: [{\n            type: Directive,\n            args: [{\n                    selector: '[cdkTrapFocus]',\n                    exportAs: 'cdkTrapFocus',\n                }]\n        }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: FocusTrapFactory }, { type: undefined, decorators: [{\n                    type: Inject,\n                    args: [DOCUMENT]\n                }] }]; }, propDecorators: { enabled: [{\n                type: Input,\n                args: ['cdkTrapFocus']\n            }], autoCapture: [{\n                type: Input,\n                args: ['cdkTrapFocusAutoCapture']\n            }] } });\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * Class that allows for trapping focus within a DOM element.\n *\n * This class uses a strategy pattern that determines how it traps focus.\n * See FocusTrapInertStrategy.\n */\nclass ConfigurableFocusTrap extends FocusTrap {\n    /** Whether the FocusTrap is enabled. */\n    get enabled() {\n        return this._enabled;\n    }\n    set enabled(value) {\n        this._enabled = value;\n        if (this._enabled) {\n            this._focusTrapManager.register(this);\n        }\n        else {\n            this._focusTrapManager.deregister(this);\n        }\n    }\n    constructor(_element, _checker, _ngZone, _document, _focusTrapManager, _inertStrategy, config) {\n        super(_element, _checker, _ngZone, _document, config.defer);\n        this._focusTrapManager = _focusTrapManager;\n        this._inertStrategy = _inertStrategy;\n        this._focusTrapManager.register(this);\n    }\n    /** Notifies the FocusTrapManager that this FocusTrap will be destroyed. */\n    destroy() {\n        this._focusTrapManager.deregister(this);\n        super.destroy();\n    }\n    /** @docs-private Implemented as part of ManagedFocusTrap. */\n    _enable() {\n        this._inertStrategy.preventFocus(this);\n        this.toggleAnchors(true);\n    }\n    /** @docs-private Implemented as part of ManagedFocusTrap. */\n    _disable() {\n        this._inertStrategy.allowFocus(this);\n        this.toggleAnchors(false);\n    }\n}\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/** The injection token used to specify the inert strategy. */\nconst FOCUS_TRAP_INERT_STRATEGY = new InjectionToken('FOCUS_TRAP_INERT_STRATEGY');\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * Lightweight FocusTrapInertStrategy that adds a document focus event\n * listener to redirect focus back inside the FocusTrap.\n */\nclass EventListenerFocusTrapInertStrategy {\n    constructor() {\n        /** Focus event handler. */\n        this._listener = null;\n    }\n    /** Adds a document event listener that keeps focus inside the FocusTrap. */\n    preventFocus(focusTrap) {\n        // Ensure there's only one listener per document\n        if (this._listener) {\n            focusTrap._document.removeEventListener('focus', this._listener, true);\n        }\n        this._listener = (e) => this._trapFocus(focusTrap, e);\n        focusTrap._ngZone.runOutsideAngular(() => {\n            focusTrap._document.addEventListener('focus', this._listener, true);\n        });\n    }\n    /** Removes the event listener added in preventFocus. */\n    allowFocus(focusTrap) {\n        if (!this._listener) {\n            return;\n        }\n        focusTrap._document.removeEventListener('focus', this._listener, true);\n        this._listener = null;\n    }\n    /**\n     * Refocuses the first element in the FocusTrap if the focus event target was outside\n     * the FocusTrap.\n     *\n     * This is an event listener callback. The event listener is added in runOutsideAngular,\n     * so all this code runs outside Angular as well.\n     */\n    _trapFocus(focusTrap, event) {\n        const target = event.target;\n        const focusTrapRoot = focusTrap._element;\n        // Don't refocus if target was in an overlay, because the overlay might be associated\n        // with an element inside the FocusTrap, ex. mat-select.\n        if (target && !focusTrapRoot.contains(target) && !target.closest?.('div.cdk-overlay-pane')) {\n            // Some legacy FocusTrap usages have logic that focuses some element on the page\n            // just before FocusTrap is destroyed. For backwards compatibility, wait\n            // to be sure FocusTrap is still enabled before refocusing.\n            setTimeout(() => {\n                // Check whether focus wasn't put back into the focus trap while the timeout was pending.\n                if (focusTrap.enabled && !focusTrapRoot.contains(focusTrap._document.activeElement)) {\n                    focusTrap.focusFirstTabbableElement();\n                }\n            });\n        }\n    }\n}\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/** Injectable that ensures only the most recently enabled FocusTrap is active. */\nclass FocusTrapManager {\n    constructor() {\n        // A stack of the FocusTraps on the page. Only the FocusTrap at the\n        // top of the stack is active.\n        this._focusTrapStack = [];\n    }\n    /**\n     * Disables the FocusTrap at the top of the stack, and then pushes\n     * the new FocusTrap onto the stack.\n     */\n    register(focusTrap) {\n        // Dedupe focusTraps that register multiple times.\n        this._focusTrapStack = this._focusTrapStack.filter(ft => ft !== focusTrap);\n        let stack = this._focusTrapStack;\n        if (stack.length) {\n            stack[stack.length - 1]._disable();\n        }\n        stack.push(focusTrap);\n        focusTrap._enable();\n    }\n    /**\n     * Removes the FocusTrap from the stack, and activates the\n     * FocusTrap that is the new top of the stack.\n     */\n    deregister(focusTrap) {\n        focusTrap._disable();\n        const stack = this._focusTrapStack;\n        const i = stack.indexOf(focusTrap);\n        if (i !== -1) {\n            stack.splice(i, 1);\n            if (stack.length) {\n                stack[stack.length - 1]._enable();\n            }\n        }\n    }\n}\nFocusTrapManager.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: FocusTrapManager, deps: [], target: i0.ɵɵFactoryTarget.Injectable });\nFocusTrapManager.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: FocusTrapManager, providedIn: 'root' });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: FocusTrapManager, decorators: [{\n            type: Injectable,\n            args: [{ providedIn: 'root' }]\n        }] });\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/** Factory that allows easy instantiation of configurable focus traps. */\nclass ConfigurableFocusTrapFactory {\n    constructor(_checker, _ngZone, _focusTrapManager, _document, _inertStrategy) {\n        this._checker = _checker;\n        this._ngZone = _ngZone;\n        this._focusTrapManager = _focusTrapManager;\n        this._document = _document;\n        // TODO split up the strategies into different modules, similar to DateAdapter.\n        this._inertStrategy = _inertStrategy || new EventListenerFocusTrapInertStrategy();\n    }\n    create(element, config = { defer: false }) {\n        let configObject;\n        if (typeof config === 'boolean') {\n            configObject = { defer: config };\n        }\n        else {\n            configObject = config;\n        }\n        return new ConfigurableFocusTrap(element, this._checker, this._ngZone, this._document, this._focusTrapManager, this._inertStrategy, configObject);\n    }\n}\nConfigurableFocusTrapFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: ConfigurableFocusTrapFactory, deps: [{ token: InteractivityChecker }, { token: i0.NgZone }, { token: FocusTrapManager }, { token: DOCUMENT }, { token: FOCUS_TRAP_INERT_STRATEGY, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });\nConfigurableFocusTrapFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: ConfigurableFocusTrapFactory, providedIn: 'root' });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: ConfigurableFocusTrapFactory, decorators: [{\n            type: Injectable,\n            args: [{ providedIn: 'root' }]\n        }], ctorParameters: function () { return [{ type: InteractivityChecker }, { type: i0.NgZone }, { type: FocusTrapManager }, { type: undefined, decorators: [{\n                    type: Inject,\n                    args: [DOCUMENT]\n                }] }, { type: undefined, decorators: [{\n                    type: Optional\n                }, {\n                    type: Inject,\n                    args: [FOCUS_TRAP_INERT_STRATEGY]\n                }] }]; } });\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/** Gets whether an event could be a faked `mousedown` event dispatched by a screen reader. */\nfunction isFakeMousedownFromScreenReader(event) {\n    // Some screen readers will dispatch a fake `mousedown` event when pressing enter or space on\n    // a clickable element. We can distinguish these events when both `offsetX` and `offsetY` are\n    // zero or `event.buttons` is zero, depending on the browser:\n    // - `event.buttons` works on Firefox, but fails on Chrome.\n    // - `offsetX` and `offsetY` work on Chrome, but fail on Firefox.\n    // Note that there's an edge case where the user could click the 0x0 spot of the\n    // screen themselves, but that is unlikely to contain interactive elements.\n    return event.buttons === 0 || (event.offsetX === 0 && event.offsetY === 0);\n}\n/** Gets whether an event could be a faked `touchstart` event dispatched by a screen reader. */\nfunction isFakeTouchstartFromScreenReader(event) {\n    const touch = (event.touches && event.touches[0]) || (event.changedTouches && event.changedTouches[0]);\n    // A fake `touchstart` can be distinguished from a real one by looking at the `identifier`\n    // which is typically >= 0 on a real device versus -1 from a screen reader. Just to be safe,\n    // we can also look at `radiusX` and `radiusY`. This behavior was observed against a Windows 10\n    // device with a touch screen running NVDA v2020.4 and Firefox 85 or Chrome 88.\n    return (!!touch &&\n        touch.identifier === -1 &&\n        (touch.radiusX == null || touch.radiusX === 1) &&\n        (touch.radiusY == null || touch.radiusY === 1));\n}\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * Injectable options for the InputModalityDetector. These are shallowly merged with the default\n * options.\n */\nconst INPUT_MODALITY_DETECTOR_OPTIONS = new InjectionToken('cdk-input-modality-detector-options');\n/**\n * Default options for the InputModalityDetector.\n *\n * Modifier keys are ignored by default (i.e. when pressed won't cause the service to detect\n * keyboard input modality) for two reasons:\n *\n * 1. Modifier keys are commonly used with mouse to perform actions such as 'right click' or 'open\n *    in new tab', and are thus less representative of actual keyboard interaction.\n * 2. VoiceOver triggers some keyboard events when linearly navigating with Control + Option (but\n *    confusingly not with Caps Lock). Thus, to have parity with other screen readers, we ignore\n *    these keys so as to not update the input modality.\n *\n * Note that we do not by default ignore the right Meta key on Safari because it has the same key\n * code as the ContextMenu key on other browsers. When we switch to using event.key, we can\n * distinguish between the two.\n */\nconst INPUT_MODALITY_DETECTOR_DEFAULT_OPTIONS = {\n    ignoreKeys: [ALT, CONTROL, MAC_META, META, SHIFT],\n};\n/**\n * The amount of time needed to pass after a touchstart event in order for a subsequent mousedown\n * event to be attributed as mouse and not touch.\n *\n * This is the value used by AngularJS Material. Through trial and error (on iPhone 6S) they found\n * that a value of around 650ms seems appropriate.\n */\nconst TOUCH_BUFFER_MS = 650;\n/**\n * Event listener options that enable capturing and also mark the listener as passive if the browser\n * supports it.\n */\nconst modalityEventListenerOptions = normalizePassiveListenerOptions({\n    passive: true,\n    capture: true,\n});\n/**\n * Service that detects the user's input modality.\n *\n * This service does not update the input modality when a user navigates with a screen reader\n * (e.g. linear navigation with VoiceOver, object navigation / browse mode with NVDA, virtual PC\n * cursor mode with JAWS). This is in part due to technical limitations (i.e. keyboard events do not\n * fire as expected in these modes) but is also arguably the correct behavior. Navigating with a\n * screen reader is akin to visually scanning a page, and should not be interpreted as actual user\n * input interaction.\n *\n * When a user is not navigating but *interacting* with a screen reader, this service attempts to\n * update the input modality to keyboard, but in general this service's behavior is largely\n * undefined.\n */\nclass InputModalityDetector {\n    /** The most recently detected input modality. */\n    get mostRecentModality() {\n        return this._modality.value;\n    }\n    constructor(_platform, ngZone, document, options) {\n        this._platform = _platform;\n        /**\n         * The most recently detected input modality event target. Is null if no input modality has been\n         * detected or if the associated event target is null for some unknown reason.\n         */\n        this._mostRecentTarget = null;\n        /** The underlying BehaviorSubject that emits whenever an input modality is detected. */\n        this._modality = new BehaviorSubject(null);\n        /**\n         * The timestamp of the last touch input modality. Used to determine whether mousedown events\n         * should be attributed to mouse or touch.\n         */\n        this._lastTouchMs = 0;\n        /**\n         * Handles keydown events. Must be an arrow function in order to preserve the context when it gets\n         * bound.\n         */\n        this._onKeydown = (event) => {\n            // If this is one of the keys we should ignore, then ignore it and don't update the input\n            // modality to keyboard.\n            if (this._options?.ignoreKeys?.some(keyCode => keyCode === event.keyCode)) {\n                return;\n            }\n            this._modality.next('keyboard');\n            this._mostRecentTarget = _getEventTarget(event);\n        };\n        /**\n         * Handles mousedown events. Must be an arrow function in order to preserve the context when it\n         * gets bound.\n         */\n        this._onMousedown = (event) => {\n            // Touches trigger both touch and mouse events, so we need to distinguish between mouse events\n            // that were triggered via mouse vs touch. To do so, check if the mouse event occurs closely\n            // after the previous touch event.\n            if (Date.now() - this._lastTouchMs < TOUCH_BUFFER_MS) {\n                return;\n            }\n            // Fake mousedown events are fired by some screen readers when controls are activated by the\n            // screen reader. Attribute them to keyboard input modality.\n            this._modality.next(isFakeMousedownFromScreenReader(event) ? 'keyboard' : 'mouse');\n            this._mostRecentTarget = _getEventTarget(event);\n        };\n        /**\n         * Handles touchstart events. Must be an arrow function in order to preserve the context when it\n         * gets bound.\n         */\n        this._onTouchstart = (event) => {\n            // Same scenario as mentioned in _onMousedown, but on touch screen devices, fake touchstart\n            // events are fired. Again, attribute to keyboard input modality.\n            if (isFakeTouchstartFromScreenReader(event)) {\n                this._modality.next('keyboard');\n                return;\n            }\n            // Store the timestamp of this touch event, as it's used to distinguish between mouse events\n            // triggered via mouse vs touch.\n            this._lastTouchMs = Date.now();\n            this._modality.next('touch');\n            this._mostRecentTarget = _getEventTarget(event);\n        };\n        this._options = {\n            ...INPUT_MODALITY_DETECTOR_DEFAULT_OPTIONS,\n            ...options,\n        };\n        // Skip the first emission as it's null.\n        this.modalityDetected = this._modality.pipe(skip(1));\n        this.modalityChanged = this.modalityDetected.pipe(distinctUntilChanged());\n        // If we're not in a browser, this service should do nothing, as there's no relevant input\n        // modality to detect.\n        if (_platform.isBrowser) {\n            ngZone.runOutsideAngular(() => {\n                document.addEventListener('keydown', this._onKeydown, modalityEventListenerOptions);\n                document.addEventListener('mousedown', this._onMousedown, modalityEventListenerOptions);\n                document.addEventListener('touchstart', this._onTouchstart, modalityEventListenerOptions);\n            });\n        }\n    }\n    ngOnDestroy() {\n        this._modality.complete();\n        if (this._platform.isBrowser) {\n            document.removeEventListener('keydown', this._onKeydown, modalityEventListenerOptions);\n            document.removeEventListener('mousedown', this._onMousedown, modalityEventListenerOptions);\n            document.removeEventListener('touchstart', this._onTouchstart, modalityEventListenerOptions);\n        }\n    }\n}\nInputModalityDetector.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: InputModalityDetector, deps: [{ token: i1.Platform }, { token: i0.NgZone }, { token: DOCUMENT }, { token: INPUT_MODALITY_DETECTOR_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });\nInputModalityDetector.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: InputModalityDetector, providedIn: 'root' });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: InputModalityDetector, decorators: [{\n            type: Injectable,\n            args: [{ providedIn: 'root' }]\n        }], ctorParameters: function () { return [{ type: i1.Platform }, { type: i0.NgZone }, { type: Document, decorators: [{\n                    type: Inject,\n                    args: [DOCUMENT]\n                }] }, { type: undefined, decorators: [{\n                    type: Optional\n                }, {\n                    type: Inject,\n                    args: [INPUT_MODALITY_DETECTOR_OPTIONS]\n                }] }]; } });\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nconst LIVE_ANNOUNCER_ELEMENT_TOKEN = new InjectionToken('liveAnnouncerElement', {\n    providedIn: 'root',\n    factory: LIVE_ANNOUNCER_ELEMENT_TOKEN_FACTORY,\n});\n/** @docs-private */\nfunction LIVE_ANNOUNCER_ELEMENT_TOKEN_FACTORY() {\n    return null;\n}\n/** Injection token that can be used to configure the default options for the LiveAnnouncer. */\nconst LIVE_ANNOUNCER_DEFAULT_OPTIONS = new InjectionToken('LIVE_ANNOUNCER_DEFAULT_OPTIONS');\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nlet uniqueIds = 0;\nclass LiveAnnouncer {\n    constructor(elementToken, _ngZone, _document, _defaultOptions) {\n        this._ngZone = _ngZone;\n        this._defaultOptions = _defaultOptions;\n        // We inject the live element and document as `any` because the constructor signature cannot\n        // reference browser globals (HTMLElement, Document) on non-browser environments, since having\n        // a class decorator causes TypeScript to preserve the constructor signature types.\n        this._document = _document;\n        this._liveElement = elementToken || this._createLiveElement();\n    }\n    announce(message, ...args) {\n        const defaultOptions = this._defaultOptions;\n        let politeness;\n        let duration;\n        if (args.length === 1 && typeof args[0] === 'number') {\n            duration = args[0];\n        }\n        else {\n            [politeness, duration] = args;\n        }\n        this.clear();\n        clearTimeout(this._previousTimeout);\n        if (!politeness) {\n            politeness =\n                defaultOptions && defaultOptions.politeness ? defaultOptions.politeness : 'polite';\n        }\n        if (duration == null && defaultOptions) {\n            duration = defaultOptions.duration;\n        }\n        // TODO: ensure changing the politeness works on all environments we support.\n        this._liveElement.setAttribute('aria-live', politeness);\n        if (this._liveElement.id) {\n            this._exposeAnnouncerToModals(this._liveElement.id);\n        }\n        // This 100ms timeout is necessary for some browser + screen-reader combinations:\n        // - Both JAWS and NVDA over IE11 will not announce anything without a non-zero timeout.\n        // - With Chrome and IE11 with NVDA or JAWS, a repeated (identical) message won't be read a\n        //   second time without clearing and then using a non-zero delay.\n        // (using JAWS 17 at time of this writing).\n        return this._ngZone.runOutsideAngular(() => {\n            if (!this._currentPromise) {\n                this._currentPromise = new Promise(resolve => (this._currentResolve = resolve));\n            }\n            clearTimeout(this._previousTimeout);\n            this._previousTimeout = setTimeout(() => {\n                this._liveElement.textContent = message;\n                if (typeof duration === 'number') {\n                    this._previousTimeout = setTimeout(() => this.clear(), duration);\n                }\n                this._currentResolve();\n                this._currentPromise = this._currentResolve = undefined;\n            }, 100);\n            return this._currentPromise;\n        });\n    }\n    /**\n     * Clears the current text from the announcer element. Can be used to prevent\n     * screen readers from reading the text out again while the user is going\n     * through the page landmarks.\n     */\n    clear() {\n        if (this._liveElement) {\n            this._liveElement.textContent = '';\n        }\n    }\n    ngOnDestroy() {\n        clearTimeout(this._previousTimeout);\n        this._liveElement?.remove();\n        this._liveElement = null;\n        this._currentResolve?.();\n        this._currentPromise = this._currentResolve = undefined;\n    }\n    _createLiveElement() {\n        const elementClass = 'cdk-live-announcer-element';\n        const previousElements = this._document.getElementsByClassName(elementClass);\n        const liveEl = this._document.createElement('div');\n        // Remove any old containers. This can happen when coming in from a server-side-rendered page.\n        for (let i = 0; i < previousElements.length; i++) {\n            previousElements[i].remove();\n        }\n        liveEl.classList.add(elementClass);\n        liveEl.classList.add('cdk-visually-hidden');\n        liveEl.setAttribute('aria-atomic', 'true');\n        liveEl.setAttribute('aria-live', 'polite');\n        liveEl.id = `cdk-live-announcer-${uniqueIds++}`;\n        this._document.body.appendChild(liveEl);\n        return liveEl;\n    }\n    /**\n     * Some browsers won't expose the accessibility node of the live announcer element if there is an\n     * `aria-modal` and the live announcer is outside of it. This method works around the issue by\n     * pointing the `aria-owns` of all modals to the live announcer element.\n     */\n    _exposeAnnouncerToModals(id) {\n        // Note that the selector here is limited to CDK overlays at the moment in order to reduce the\n        // section of the DOM we need to look through. This should cover all the cases we support, but\n        // the selector can be expanded if it turns out to be too narrow.\n        const modals = this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal=\"true\"]');\n        for (let i = 0; i < modals.length; i++) {\n            const modal = modals[i];\n            const ariaOwns = modal.getAttribute('aria-owns');\n            if (!ariaOwns) {\n                modal.setAttribute('aria-owns', id);\n            }\n            else if (ariaOwns.indexOf(id) === -1) {\n                modal.setAttribute('aria-owns', ariaOwns + ' ' + id);\n            }\n        }\n    }\n}\nLiveAnnouncer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: LiveAnnouncer, deps: [{ token: LIVE_ANNOUNCER_ELEMENT_TOKEN, optional: true }, { token: i0.NgZone }, { token: DOCUMENT }, { token: LIVE_ANNOUNCER_DEFAULT_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });\nLiveAnnouncer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: LiveAnnouncer, providedIn: 'root' });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: LiveAnnouncer, decorators: [{\n            type: Injectable,\n            args: [{ providedIn: 'root' }]\n        }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n                    type: Optional\n                }, {\n                    type: Inject,\n                    args: [LIVE_ANNOUNCER_ELEMENT_TOKEN]\n                }] }, { type: i0.NgZone }, { type: undefined, decorators: [{\n                    type: Inject,\n                    args: [DOCUMENT]\n                }] }, { type: undefined, decorators: [{\n                    type: Optional\n                }, {\n                    type: Inject,\n                    args: [LIVE_ANNOUNCER_DEFAULT_OPTIONS]\n                }] }]; } });\n/**\n * A directive that works similarly to aria-live, but uses the LiveAnnouncer to ensure compatibility\n * with a wider range of browsers and screen readers.\n */\nclass CdkAriaLive {\n    /** The aria-live politeness level to use when announcing messages. */\n    get politeness() {\n        return this._politeness;\n    }\n    set politeness(value) {\n        this._politeness = value === 'off' || value === 'assertive' ? value : 'polite';\n        if (this._politeness === 'off') {\n            if (this._subscription) {\n                this._subscription.unsubscribe();\n                this._subscription = null;\n            }\n        }\n        else if (!this._subscription) {\n            this._subscription = this._ngZone.runOutsideAngular(() => {\n                return this._contentObserver.observe(this._elementRef).subscribe(() => {\n                    // Note that we use textContent here, rather than innerText, in order to avoid a reflow.\n                    const elementText = this._elementRef.nativeElement.textContent;\n                    // The `MutationObserver` fires also for attribute\n                    // changes which we don't want to announce.\n                    if (elementText !== this._previousAnnouncedText) {\n                        this._liveAnnouncer.announce(elementText, this._politeness, this.duration);\n                        this._previousAnnouncedText = elementText;\n                    }\n                });\n            });\n        }\n    }\n    constructor(_elementRef, _liveAnnouncer, _contentObserver, _ngZone) {\n        this._elementRef = _elementRef;\n        this._liveAnnouncer = _liveAnnouncer;\n        this._contentObserver = _contentObserver;\n        this._ngZone = _ngZone;\n        this._politeness = 'polite';\n    }\n    ngOnDestroy() {\n        if (this._subscription) {\n            this._subscription.unsubscribe();\n        }\n    }\n}\nCdkAriaLive.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: CdkAriaLive, deps: [{ token: i0.ElementRef }, { token: LiveAnnouncer }, { token: i1$1.ContentObserver }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });\nCdkAriaLive.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.2.0-rc.0\", type: CdkAriaLive, selector: \"[cdkAriaLive]\", inputs: { politeness: [\"cdkAriaLive\", \"politeness\"], duration: [\"cdkAriaLiveDuration\", \"duration\"] }, exportAs: [\"cdkAriaLive\"], ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: CdkAriaLive, decorators: [{\n            type: Directive,\n            args: [{\n                    selector: '[cdkAriaLive]',\n                    exportAs: 'cdkAriaLive',\n                }]\n        }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: LiveAnnouncer }, { type: i1$1.ContentObserver }, { type: i0.NgZone }]; }, propDecorators: { politeness: [{\n                type: Input,\n                args: ['cdkAriaLive']\n            }], duration: [{\n                type: Input,\n                args: ['cdkAriaLiveDuration']\n            }] } });\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/** InjectionToken for FocusMonitorOptions. */\nconst FOCUS_MONITOR_DEFAULT_OPTIONS = new InjectionToken('cdk-focus-monitor-default-options');\n/**\n * Event listener options that enable capturing and also\n * mark the listener as passive if the browser supports it.\n */\nconst captureEventListenerOptions = normalizePassiveListenerOptions({\n    passive: true,\n    capture: true,\n});\n/** Monitors mouse and keyboard events to determine the cause of focus events. */\nclass FocusMonitor {\n    constructor(_ngZone, _platform, _inputModalityDetector, \n    /** @breaking-change 11.0.0 make document required */\n    document, options) {\n        this._ngZone = _ngZone;\n        this._platform = _platform;\n        this._inputModalityDetector = _inputModalityDetector;\n        /** The focus origin that the next focus event is a result of. */\n        this._origin = null;\n        /** Whether the window has just been focused. */\n        this._windowFocused = false;\n        /**\n         * Whether the origin was determined via a touch interaction. Necessary as properly attributing\n         * focus events to touch interactions requires special logic.\n         */\n        this._originFromTouchInteraction = false;\n        /** Map of elements being monitored to their info. */\n        this._elementInfo = new Map();\n        /** The number of elements currently being monitored. */\n        this._monitoredElementCount = 0;\n        /**\n         * Keeps track of the root nodes to which we've currently bound a focus/blur handler,\n         * as well as the number of monitored elements that they contain. We have to treat focus/blur\n         * handlers differently from the rest of the events, because the browser won't emit events\n         * to the document when focus moves inside of a shadow root.\n         */\n        this._rootNodeFocusListenerCount = new Map();\n        /**\n         * Event listener for `focus` events on the window.\n         * Needs to be an arrow function in order to preserve the context when it gets bound.\n         */\n        this._windowFocusListener = () => {\n            // Make a note of when the window regains focus, so we can\n            // restore the origin info for the focused element.\n            this._windowFocused = true;\n            this._windowFocusTimeoutId = window.setTimeout(() => (this._windowFocused = false));\n        };\n        /** Subject for stopping our InputModalityDetector subscription. */\n        this._stopInputModalityDetector = new Subject();\n        /**\n         * Event listener for `focus` and 'blur' events on the document.\n         * Needs to be an arrow function in order to preserve the context when it gets bound.\n         */\n        this._rootNodeFocusAndBlurListener = (event) => {\n            const target = _getEventTarget(event);\n            // We need to walk up the ancestor chain in order to support `checkChildren`.\n            for (let element = target; element; element = element.parentElement) {\n                if (event.type === 'focus') {\n                    this._onFocus(event, element);\n                }\n                else {\n                    this._onBlur(event, element);\n                }\n            }\n        };\n        this._document = document;\n        this._detectionMode = options?.detectionMode || 0 /* FocusMonitorDetectionMode.IMMEDIATE */;\n    }\n    monitor(element, checkChildren = false) {\n        const nativeElement = coerceElement(element);\n        // Do nothing if we're not on the browser platform or the passed in node isn't an element.\n        if (!this._platform.isBrowser || nativeElement.nodeType !== 1) {\n            return of(null);\n        }\n        // If the element is inside the shadow DOM, we need to bind our focus/blur listeners to\n        // the shadow root, rather than the `document`, because the browser won't emit focus events\n        // to the `document`, if focus is moving within the same shadow root.\n        const rootNode = _getShadowRoot(nativeElement) || this._getDocument();\n        const cachedInfo = this._elementInfo.get(nativeElement);\n        // Check if we're already monitoring this element.\n        if (cachedInfo) {\n            if (checkChildren) {\n                // TODO(COMP-318): this can be problematic, because it'll turn all non-checkChildren\n                // observers into ones that behave as if `checkChildren` was turned on. We need a more\n                // robust solution.\n                cachedInfo.checkChildren = true;\n            }\n            return cachedInfo.subject;\n        }\n        // Create monitored element info.\n        const info = {\n            checkChildren: checkChildren,\n            subject: new Subject(),\n            rootNode,\n        };\n        this._elementInfo.set(nativeElement, info);\n        this._registerGlobalListeners(info);\n        return info.subject;\n    }\n    stopMonitoring(element) {\n        const nativeElement = coerceElement(element);\n        const elementInfo = this._elementInfo.get(nativeElement);\n        if (elementInfo) {\n            elementInfo.subject.complete();\n            this._setClasses(nativeElement);\n            this._elementInfo.delete(nativeElement);\n            this._removeGlobalListeners(elementInfo);\n        }\n    }\n    focusVia(element, origin, options) {\n        const nativeElement = coerceElement(element);\n        const focusedElement = this._getDocument().activeElement;\n        // If the element is focused already, calling `focus` again won't trigger the event listener\n        // which means that the focus classes won't be updated. If that's the case, update the classes\n        // directly without waiting for an event.\n        if (nativeElement === focusedElement) {\n            this._getClosestElementsInfo(nativeElement).forEach(([currentElement, info]) => this._originChanged(currentElement, origin, info));\n        }\n        else {\n            this._setOrigin(origin);\n            // `focus` isn't available on the server\n            if (typeof nativeElement.focus === 'function') {\n                nativeElement.focus(options);\n            }\n        }\n    }\n    ngOnDestroy() {\n        this._elementInfo.forEach((_info, element) => this.stopMonitoring(element));\n    }\n    /** Access injected document if available or fallback to global document reference */\n    _getDocument() {\n        return this._document || document;\n    }\n    /** Use defaultView of injected document if available or fallback to global window reference */\n    _getWindow() {\n        const doc = this._getDocument();\n        return doc.defaultView || window;\n    }\n    _getFocusOrigin(focusEventTarget) {\n        if (this._origin) {\n            // If the origin was realized via a touch interaction, we need to perform additional checks\n            // to determine whether the focus origin should be attributed to touch or program.\n            if (this._originFromTouchInteraction) {\n                return this._shouldBeAttributedToTouch(focusEventTarget) ? 'touch' : 'program';\n            }\n            else {\n                return this._origin;\n            }\n        }\n        // If the window has just regained focus, we can restore the most recent origin from before the\n        // window blurred. Otherwise, we've reached the point where we can't identify the source of the\n        // focus. This typically means one of two things happened:\n        //\n        // 1) The element was programmatically focused, or\n        // 2) The element was focused via screen reader navigation (which generally doesn't fire\n        //    events).\n        //\n        // Because we can't distinguish between these two cases, we default to setting `program`.\n        if (this._windowFocused && this._lastFocusOrigin) {\n            return this._lastFocusOrigin;\n        }\n        // If the interaction is coming from an input label, we consider it a mouse interactions.\n        // This is a special case where focus moves on `click`, rather than `mousedown` which breaks\n        // our detection, because all our assumptions are for `mousedown`. We need to handle this\n        // special case, because it's very common for checkboxes and radio buttons.\n        if (focusEventTarget && this._isLastInteractionFromInputLabel(focusEventTarget)) {\n            return 'mouse';\n        }\n        return 'program';\n    }\n    /**\n     * Returns whether the focus event should be attributed to touch. Recall that in IMMEDIATE mode, a\n     * touch origin isn't immediately reset at the next tick (see _setOrigin). This means that when we\n     * handle a focus event following a touch interaction, we need to determine whether (1) the focus\n     * event was directly caused by the touch interaction or (2) the focus event was caused by a\n     * subsequent programmatic focus call triggered by the touch interaction.\n     * @param focusEventTarget The target of the focus event under examination.\n     */\n    _shouldBeAttributedToTouch(focusEventTarget) {\n        // Please note that this check is not perfect. Consider the following edge case:\n        //\n        // <div #parent tabindex=\"0\">\n        //   <div #child tabindex=\"0\" (click)=\"#parent.focus()\"></div>\n        // </div>\n        //\n        // Suppose there is a FocusMonitor in IMMEDIATE mode attached to #parent. When the user touches\n        // #child, #parent is programmatically focused. This code will attribute the focus to touch\n        // instead of program. This is a relatively minor edge-case that can be worked around by using\n        // focusVia(parent, 'program') to focus #parent.\n        return (this._detectionMode === 1 /* FocusMonitorDetectionMode.EVENTUAL */ ||\n            !!focusEventTarget?.contains(this._inputModalityDetector._mostRecentTarget));\n    }\n    /**\n     * Sets the focus classes on the element based on the given focus origin.\n     * @param element The element to update the classes on.\n     * @param origin The focus origin.\n     */\n    _setClasses(element, origin) {\n        element.classList.toggle('cdk-focused', !!origin);\n        element.classList.toggle('cdk-touch-focused', origin === 'touch');\n        element.classList.toggle('cdk-keyboard-focused', origin === 'keyboard');\n        element.classList.toggle('cdk-mouse-focused', origin === 'mouse');\n        element.classList.toggle('cdk-program-focused', origin === 'program');\n    }\n    /**\n     * Updates the focus origin. If we're using immediate detection mode, we schedule an async\n     * function to clear the origin at the end of a timeout. The duration of the timeout depends on\n     * the origin being set.\n     * @param origin The origin to set.\n     * @param isFromInteraction Whether we are setting the origin from an interaction event.\n     */\n    _setOrigin(origin, isFromInteraction = false) {\n        this._ngZone.runOutsideAngular(() => {\n            this._origin = origin;\n            this._originFromTouchInteraction = origin === 'touch' && isFromInteraction;\n            // If we're in IMMEDIATE mode, reset the origin at the next tick (or in `TOUCH_BUFFER_MS` ms\n            // for a touch event). We reset the origin at the next tick because Firefox focuses one tick\n            // after the interaction event. We wait `TOUCH_BUFFER_MS` ms before resetting the origin for\n            // a touch event because when a touch event is fired, the associated focus event isn't yet in\n            // the event queue. Before doing so, clear any pending timeouts.\n            if (this._detectionMode === 0 /* FocusMonitorDetectionMode.IMMEDIATE */) {\n                clearTimeout(this._originTimeoutId);\n                const ms = this._originFromTouchInteraction ? TOUCH_BUFFER_MS : 1;\n                this._originTimeoutId = setTimeout(() => (this._origin = null), ms);\n            }\n        });\n    }\n    /**\n     * Handles focus events on a registered element.\n     * @param event The focus event.\n     * @param element The monitored element.\n     */\n    _onFocus(event, element) {\n        // NOTE(mmalerba): We currently set the classes based on the focus origin of the most recent\n        // focus event affecting the monitored element. If we want to use the origin of the first event\n        // instead we should check for the cdk-focused class here and return if the element already has\n        // it. (This only matters for elements that have includesChildren = true).\n        // If we are not counting child-element-focus as focused, make sure that the event target is the\n        // monitored element itself.\n        const elementInfo = this._elementInfo.get(element);\n        const focusEventTarget = _getEventTarget(event);\n        if (!elementInfo || (!elementInfo.checkChildren && element !== focusEventTarget)) {\n            return;\n        }\n        this._originChanged(element, this._getFocusOrigin(focusEventTarget), elementInfo);\n    }\n    /**\n     * Handles blur events on a registered element.\n     * @param event The blur event.\n     * @param element The monitored element.\n     */\n    _onBlur(event, element) {\n        // If we are counting child-element-focus as focused, make sure that we aren't just blurring in\n        // order to focus another child of the monitored element.\n        const elementInfo = this._elementInfo.get(element);\n        if (!elementInfo ||\n            (elementInfo.checkChildren &&\n                event.relatedTarget instanceof Node &&\n                element.contains(event.relatedTarget))) {\n            return;\n        }\n        this._setClasses(element);\n        this._emitOrigin(elementInfo, null);\n    }\n    _emitOrigin(info, origin) {\n        if (info.subject.observers.length) {\n            this._ngZone.run(() => info.subject.next(origin));\n        }\n    }\n    _registerGlobalListeners(elementInfo) {\n        if (!this._platform.isBrowser) {\n            return;\n        }\n        const rootNode = elementInfo.rootNode;\n        const rootNodeFocusListeners = this._rootNodeFocusListenerCount.get(rootNode) || 0;\n        if (!rootNodeFocusListeners) {\n            this._ngZone.runOutsideAngular(() => {\n                rootNode.addEventListener('focus', this._rootNodeFocusAndBlurListener, captureEventListenerOptions);\n                rootNode.addEventListener('blur', this._rootNodeFocusAndBlurListener, captureEventListenerOptions);\n            });\n        }\n        this._rootNodeFocusListenerCount.set(rootNode, rootNodeFocusListeners + 1);\n        // Register global listeners when first element is monitored.\n        if (++this._monitoredElementCount === 1) {\n            // Note: we listen to events in the capture phase so we\n            // can detect them even if the user stops propagation.\n            this._ngZone.runOutsideAngular(() => {\n                const window = this._getWindow();\n                window.addEventListener('focus', this._windowFocusListener);\n            });\n            // The InputModalityDetector is also just a collection of global listeners.\n            this._inputModalityDetector.modalityDetected\n                .pipe(takeUntil(this._stopInputModalityDetector))\n                .subscribe(modality => {\n                this._setOrigin(modality, true /* isFromInteraction */);\n            });\n        }\n    }\n    _removeGlobalListeners(elementInfo) {\n        const rootNode = elementInfo.rootNode;\n        if (this._rootNodeFocusListenerCount.has(rootNode)) {\n            const rootNodeFocusListeners = this._rootNodeFocusListenerCount.get(rootNode);\n            if (rootNodeFocusListeners > 1) {\n                this._rootNodeFocusListenerCount.set(rootNode, rootNodeFocusListeners - 1);\n            }\n            else {\n                rootNode.removeEventListener('focus', this._rootNodeFocusAndBlurListener, captureEventListenerOptions);\n                rootNode.removeEventListener('blur', this._rootNodeFocusAndBlurListener, captureEventListenerOptions);\n                this._rootNodeFocusListenerCount.delete(rootNode);\n            }\n        }\n        // Unregister global listeners when last element is unmonitored.\n        if (!--this._monitoredElementCount) {\n            const window = this._getWindow();\n            window.removeEventListener('focus', this._windowFocusListener);\n            // Equivalently, stop our InputModalityDetector subscription.\n            this._stopInputModalityDetector.next();\n            // Clear timeouts for all potentially pending timeouts to prevent the leaks.\n            clearTimeout(this._windowFocusTimeoutId);\n            clearTimeout(this._originTimeoutId);\n        }\n    }\n    /** Updates all the state on an element once its focus origin has changed. */\n    _originChanged(element, origin, elementInfo) {\n        this._setClasses(element, origin);\n        this._emitOrigin(elementInfo, origin);\n        this._lastFocusOrigin = origin;\n    }\n    /**\n     * Collects the `MonitoredElementInfo` of a particular element and\n     * all of its ancestors that have enabled `checkChildren`.\n     * @param element Element from which to start the search.\n     */\n    _getClosestElementsInfo(element) {\n        const results = [];\n        this._elementInfo.forEach((info, currentElement) => {\n            if (currentElement === element || (info.checkChildren && currentElement.contains(element))) {\n                results.push([currentElement, info]);\n            }\n        });\n        return results;\n    }\n    /**\n     * Returns whether an interaction is likely to have come from the user clicking the `label` of\n     * an `input` or `textarea` in order to focus it.\n     * @param focusEventTarget Target currently receiving focus.\n     */\n    _isLastInteractionFromInputLabel(focusEventTarget) {\n        const { _mostRecentTarget: mostRecentTarget, mostRecentModality } = this._inputModalityDetector;\n        // If the last interaction used the mouse on an element contained by one of the labels\n        // of an `input`/`textarea` that is currently focused, it is very likely that the\n        // user redirected focus using the label.\n        if (mostRecentModality !== 'mouse' ||\n            !mostRecentTarget ||\n            mostRecentTarget === focusEventTarget ||\n            (focusEventTarget.nodeName !== 'INPUT' && focusEventTarget.nodeName !== 'TEXTAREA') ||\n            focusEventTarget.disabled) {\n            return false;\n        }\n        const labels = focusEventTarget.labels;\n        if (labels) {\n            for (let i = 0; i < labels.length; i++) {\n                if (labels[i].contains(mostRecentTarget)) {\n                    return true;\n                }\n            }\n        }\n        return false;\n    }\n}\nFocusMonitor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: FocusMonitor, deps: [{ token: i0.NgZone }, { token: i1.Platform }, { token: InputModalityDetector }, { token: DOCUMENT, optional: true }, { token: FOCUS_MONITOR_DEFAULT_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });\nFocusMonitor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: FocusMonitor, providedIn: 'root' });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: FocusMonitor, decorators: [{\n            type: Injectable,\n            args: [{ providedIn: 'root' }]\n        }], ctorParameters: function () { return [{ type: i0.NgZone }, { type: i1.Platform }, { type: InputModalityDetector }, { type: undefined, decorators: [{\n                    type: Optional\n                }, {\n                    type: Inject,\n                    args: [DOCUMENT]\n                }] }, { type: undefined, decorators: [{\n                    type: Optional\n                }, {\n                    type: Inject,\n                    args: [FOCUS_MONITOR_DEFAULT_OPTIONS]\n                }] }]; } });\n/**\n * Directive that determines how a particular element was focused (via keyboard, mouse, touch, or\n * programmatically) and adds corresponding classes to the element.\n *\n * There are two variants of this directive:\n * 1) cdkMonitorElementFocus: does not consider an element to be focused if one of its children is\n *    focused.\n * 2) cdkMonitorSubtreeFocus: considers an element focused if it or any of its children are focused.\n */\nclass CdkMonitorFocus {\n    constructor(_elementRef, _focusMonitor) {\n        this._elementRef = _elementRef;\n        this._focusMonitor = _focusMonitor;\n        this._focusOrigin = null;\n        this.cdkFocusChange = new EventEmitter();\n    }\n    get focusOrigin() {\n        return this._focusOrigin;\n    }\n    ngAfterViewInit() {\n        const element = this._elementRef.nativeElement;\n        this._monitorSubscription = this._focusMonitor\n            .monitor(element, element.nodeType === 1 && element.hasAttribute('cdkMonitorSubtreeFocus'))\n            .subscribe(origin => {\n            this._focusOrigin = origin;\n            this.cdkFocusChange.emit(origin);\n        });\n    }\n    ngOnDestroy() {\n        this._focusMonitor.stopMonitoring(this._elementRef);\n        if (this._monitorSubscription) {\n            this._monitorSubscription.unsubscribe();\n        }\n    }\n}\nCdkMonitorFocus.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: CdkMonitorFocus, deps: [{ token: i0.ElementRef }, { token: FocusMonitor }], target: i0.ɵɵFactoryTarget.Directive });\nCdkMonitorFocus.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.2.0-rc.0\", type: CdkMonitorFocus, selector: \"[cdkMonitorElementFocus], [cdkMonitorSubtreeFocus]\", outputs: { cdkFocusChange: \"cdkFocusChange\" }, exportAs: [\"cdkMonitorFocus\"], ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: CdkMonitorFocus, decorators: [{\n            type: Directive,\n            args: [{\n                    selector: '[cdkMonitorElementFocus], [cdkMonitorSubtreeFocus]',\n                    exportAs: 'cdkMonitorFocus',\n                }]\n        }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: FocusMonitor }]; }, propDecorators: { cdkFocusChange: [{\n                type: Output\n            }] } });\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/** CSS class applied to the document body when in black-on-white high-contrast mode. */\nconst BLACK_ON_WHITE_CSS_CLASS = 'cdk-high-contrast-black-on-white';\n/** CSS class applied to the document body when in white-on-black high-contrast mode. */\nconst WHITE_ON_BLACK_CSS_CLASS = 'cdk-high-contrast-white-on-black';\n/** CSS class applied to the document body when in high-contrast mode. */\nconst HIGH_CONTRAST_MODE_ACTIVE_CSS_CLASS = 'cdk-high-contrast-active';\n/**\n * Service to determine whether the browser is currently in a high-contrast-mode environment.\n *\n * Microsoft Windows supports an accessibility feature called \"High Contrast Mode\". This mode\n * changes the appearance of all applications, including web applications, to dramatically increase\n * contrast.\n *\n * IE, Edge, and Firefox currently support this mode. Chrome does not support Windows High Contrast\n * Mode. This service does not detect high-contrast mode as added by the Chrome \"High Contrast\"\n * browser extension.\n */\nclass HighContrastModeDetector {\n    constructor(_platform, document) {\n        this._platform = _platform;\n        this._document = document;\n        this._breakpointSubscription = inject(BreakpointObserver)\n            .observe('(forced-colors: active)')\n            .subscribe(() => {\n            if (this._hasCheckedHighContrastMode) {\n                this._hasCheckedHighContrastMode = false;\n                this._applyBodyHighContrastModeCssClasses();\n            }\n        });\n    }\n    /** Gets the current high-contrast-mode for the page. */\n    getHighContrastMode() {\n        if (!this._platform.isBrowser) {\n            return 0 /* HighContrastMode.NONE */;\n        }\n        // Create a test element with an arbitrary background-color that is neither black nor\n        // white; high-contrast mode will coerce the color to either black or white. Also ensure that\n        // appending the test element to the DOM does not affect layout by absolutely positioning it\n        const testElement = this._document.createElement('div');\n        testElement.style.backgroundColor = 'rgb(1,2,3)';\n        testElement.style.position = 'absolute';\n        this._document.body.appendChild(testElement);\n        // Get the computed style for the background color, collapsing spaces to normalize between\n        // browsers. Once we get this color, we no longer need the test element. Access the `window`\n        // via the document so we can fake it in tests. Note that we have extra null checks, because\n        // this logic will likely run during app bootstrap and throwing can break the entire app.\n        const documentWindow = this._document.defaultView || window;\n        const computedStyle = documentWindow && documentWindow.getComputedStyle\n            ? documentWindow.getComputedStyle(testElement)\n            : null;\n        const computedColor = ((computedStyle && computedStyle.backgroundColor) || '').replace(/ /g, '');\n        testElement.remove();\n        switch (computedColor) {\n            // Pre Windows 11 dark theme.\n            case 'rgb(0,0,0)':\n            // Windows 11 dark themes.\n            case 'rgb(45,50,54)':\n            case 'rgb(32,32,32)':\n                return 2 /* HighContrastMode.WHITE_ON_BLACK */;\n            // Pre Windows 11 light theme.\n            case 'rgb(255,255,255)':\n            // Windows 11 light theme.\n            case 'rgb(255,250,239)':\n                return 1 /* HighContrastMode.BLACK_ON_WHITE */;\n        }\n        return 0 /* HighContrastMode.NONE */;\n    }\n    ngOnDestroy() {\n        this._breakpointSubscription.unsubscribe();\n    }\n    /** Applies CSS classes indicating high-contrast mode to document body (browser-only). */\n    _applyBodyHighContrastModeCssClasses() {\n        if (!this._hasCheckedHighContrastMode && this._platform.isBrowser && this._document.body) {\n            const bodyClasses = this._document.body.classList;\n            bodyClasses.remove(HIGH_CONTRAST_MODE_ACTIVE_CSS_CLASS, BLACK_ON_WHITE_CSS_CLASS, WHITE_ON_BLACK_CSS_CLASS);\n            this._hasCheckedHighContrastMode = true;\n            const mode = this.getHighContrastMode();\n            if (mode === 1 /* HighContrastMode.BLACK_ON_WHITE */) {\n                bodyClasses.add(HIGH_CONTRAST_MODE_ACTIVE_CSS_CLASS, BLACK_ON_WHITE_CSS_CLASS);\n            }\n            else if (mode === 2 /* HighContrastMode.WHITE_ON_BLACK */) {\n                bodyClasses.add(HIGH_CONTRAST_MODE_ACTIVE_CSS_CLASS, WHITE_ON_BLACK_CSS_CLASS);\n            }\n        }\n    }\n}\nHighContrastModeDetector.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: HighContrastModeDetector, deps: [{ token: i1.Platform }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });\nHighContrastModeDetector.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: HighContrastModeDetector, providedIn: 'root' });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: HighContrastModeDetector, decorators: [{\n            type: Injectable,\n            args: [{ providedIn: 'root' }]\n        }], ctorParameters: function () { return [{ type: i1.Platform }, { type: undefined, decorators: [{\n                    type: Inject,\n                    args: [DOCUMENT]\n                }] }]; } });\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nclass A11yModule {\n    constructor(highContrastModeDetector) {\n        highContrastModeDetector._applyBodyHighContrastModeCssClasses();\n    }\n}\nA11yModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: A11yModule, deps: [{ token: HighContrastModeDetector }], target: i0.ɵɵFactoryTarget.NgModule });\nA11yModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: A11yModule, declarations: [CdkAriaLive, CdkTrapFocus, CdkMonitorFocus], imports: [ObserversModule], exports: [CdkAriaLive, CdkTrapFocus, CdkMonitorFocus] });\nA11yModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: A11yModule, imports: [ObserversModule] });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: A11yModule, decorators: [{\n            type: NgModule,\n            args: [{\n                    imports: [ObserversModule],\n                    declarations: [CdkAriaLive, CdkTrapFocus, CdkMonitorFocus],\n                    exports: [CdkAriaLive, CdkTrapFocus, CdkMonitorFocus],\n                }]\n        }], ctorParameters: function () { return [{ type: HighContrastModeDetector }]; } });\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { A11yModule, ActiveDescendantKeyManager, AriaDescriber, CDK_DESCRIBEDBY_HOST_ATTRIBUTE, CDK_DESCRIBEDBY_ID_PREFIX, CdkAriaLive, CdkMonitorFocus, CdkTrapFocus, ConfigurableFocusTrap, ConfigurableFocusTrapFactory, EventListenerFocusTrapInertStrategy, FOCUS_MONITOR_DEFAULT_OPTIONS, FOCUS_TRAP_INERT_STRATEGY, FocusKeyManager, FocusMonitor, FocusTrap, FocusTrapFactory, HighContrastModeDetector, INPUT_MODALITY_DETECTOR_DEFAULT_OPTIONS, INPUT_MODALITY_DETECTOR_OPTIONS, InputModalityDetector, InteractivityChecker, IsFocusableConfig, LIVE_ANNOUNCER_DEFAULT_OPTIONS, LIVE_ANNOUNCER_ELEMENT_TOKEN, LIVE_ANNOUNCER_ELEMENT_TOKEN_FACTORY, ListKeyManager, LiveAnnouncer, MESSAGES_CONTAINER_ID, isFakeMousedownFromScreenReader, isFakeTouchstartFromScreenReader };\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nconst MAC_ENTER = 3;\nconst BACKSPACE = 8;\nconst TAB = 9;\nconst NUM_CENTER = 12;\nconst ENTER = 13;\nconst SHIFT = 16;\nconst CONTROL = 17;\nconst ALT = 18;\nconst PAUSE = 19;\nconst CAPS_LOCK = 20;\nconst ESCAPE = 27;\nconst SPACE = 32;\nconst PAGE_UP = 33;\nconst PAGE_DOWN = 34;\nconst END = 35;\nconst HOME = 36;\nconst LEFT_ARROW = 37;\nconst UP_ARROW = 38;\nconst RIGHT_ARROW = 39;\nconst DOWN_ARROW = 40;\nconst PLUS_SIGN = 43;\nconst PRINT_SCREEN = 44;\nconst INSERT = 45;\nconst DELETE = 46;\nconst ZERO = 48;\nconst ONE = 49;\nconst TWO = 50;\nconst THREE = 51;\nconst FOUR = 52;\nconst FIVE = 53;\nconst SIX = 54;\nconst SEVEN = 55;\nconst EIGHT = 56;\nconst NINE = 57;\nconst FF_SEMICOLON = 59; // Firefox (Gecko) fires this for semicolon instead of 186\nconst FF_EQUALS = 61; // Firefox (Gecko) fires this for equals instead of 187\nconst QUESTION_MARK = 63;\nconst AT_SIGN = 64;\nconst A = 65;\nconst B = 66;\nconst C = 67;\nconst D = 68;\nconst E = 69;\nconst F = 70;\nconst G = 71;\nconst H = 72;\nconst I = 73;\nconst J = 74;\nconst K = 75;\nconst L = 76;\nconst M = 77;\nconst N = 78;\nconst O = 79;\nconst P = 80;\nconst Q = 81;\nconst R = 82;\nconst S = 83;\nconst T = 84;\nconst U = 85;\nconst V = 86;\nconst W = 87;\nconst X = 88;\nconst Y = 89;\nconst Z = 90;\nconst META = 91; // WIN_KEY_LEFT\nconst MAC_WK_CMD_LEFT = 91;\nconst MAC_WK_CMD_RIGHT = 93;\nconst CONTEXT_MENU = 93;\nconst NUMPAD_ZERO = 96;\nconst NUMPAD_ONE = 97;\nconst NUMPAD_TWO = 98;\nconst NUMPAD_THREE = 99;\nconst NUMPAD_FOUR = 100;\nconst NUMPAD_FIVE = 101;\nconst NUMPAD_SIX = 102;\nconst NUMPAD_SEVEN = 103;\nconst NUMPAD_EIGHT = 104;\nconst NUMPAD_NINE = 105;\nconst NUMPAD_MULTIPLY = 106;\nconst NUMPAD_PLUS = 107;\nconst NUMPAD_MINUS = 109;\nconst NUMPAD_PERIOD = 110;\nconst NUMPAD_DIVIDE = 111;\nconst F1 = 112;\nconst F2 = 113;\nconst F3 = 114;\nconst F4 = 115;\nconst F5 = 116;\nconst F6 = 117;\nconst F7 = 118;\nconst F8 = 119;\nconst F9 = 120;\nconst F10 = 121;\nconst F11 = 122;\nconst F12 = 123;\nconst NUM_LOCK = 144;\nconst SCROLL_LOCK = 145;\nconst FIRST_MEDIA = 166;\nconst FF_MINUS = 173;\nconst MUTE = 173; // Firefox (Gecko) fires 181 for MUTE\nconst VOLUME_DOWN = 174; // Firefox (Gecko) fires 182 for VOLUME_DOWN\nconst VOLUME_UP = 175; // Firefox (Gecko) fires 183 for VOLUME_UP\nconst FF_MUTE = 181;\nconst FF_VOLUME_DOWN = 182;\nconst LAST_MEDIA = 183;\nconst FF_VOLUME_UP = 183;\nconst SEMICOLON = 186; // Firefox (Gecko) fires 59 for SEMICOLON\nconst EQUALS = 187; // Firefox (Gecko) fires 61 for EQUALS\nconst COMMA = 188;\nconst DASH = 189; // Firefox (Gecko) fires 173 for DASH/MINUS\nconst PERIOD = 190;\nconst SLASH = 191;\nconst APOSTROPHE = 192;\nconst TILDE = 192;\nconst OPEN_SQUARE_BRACKET = 219;\nconst BACKSLASH = 220;\nconst CLOSE_SQUARE_BRACKET = 221;\nconst SINGLE_QUOTE = 222;\nconst MAC_META = 224;\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * Checks whether a modifier key is pressed.\n * @param event Event to be checked.\n */\nfunction hasModifierKey(event, ...modifiers) {\n    if (modifiers.length) {\n        return modifiers.some(modifier => event[modifier]);\n    }\n    return event.altKey || event.shiftKey || event.ctrlKey || event.metaKey;\n}\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { A, ALT, APOSTROPHE, AT_SIGN, B, BACKSLASH, BACKSPACE, C, CAPS_LOCK, CLOSE_SQUARE_BRACKET, COMMA, CONTEXT_MENU, CONTROL, D, DASH, DELETE, DOWN_ARROW, E, EIGHT, END, ENTER, EQUALS, ESCAPE, F, F1, F10, F11, F12, F2, F3, F4, F5, F6, F7, F8, F9, FF_EQUALS, FF_MINUS, FF_MUTE, FF_SEMICOLON, FF_VOLUME_DOWN, FF_VOLUME_UP, FIRST_MEDIA, FIVE, FOUR, G, H, HOME, I, INSERT, J, K, L, LAST_MEDIA, LEFT_ARROW, M, MAC_ENTER, MAC_META, MAC_WK_CMD_LEFT, MAC_WK_CMD_RIGHT, META, MUTE, N, NINE, NUMPAD_DIVIDE, NUMPAD_EIGHT, NUMPAD_FIVE, NUMPAD_FOUR, NUMPAD_MINUS, NUMPAD_MULTIPLY, NUMPAD_NINE, NUMPAD_ONE, NUMPAD_PERIOD, NUMPAD_PLUS, NUMPAD_SEVEN, NUMPAD_SIX, NUMPAD_THREE, NUMPAD_TWO, NUMPAD_ZERO, NUM_CENTER, NUM_LOCK, O, ONE, OPEN_SQUARE_BRACKET, P, PAGE_DOWN, PAGE_UP, PAUSE, PERIOD, PLUS_SIGN, PRINT_SCREEN, Q, QUESTION_MARK, R, RIGHT_ARROW, S, SCROLL_LOCK, SEMICOLON, SEVEN, SHIFT, SINGLE_QUOTE, SIX, SLASH, SPACE, T, TAB, THREE, TILDE, TWO, U, UP_ARROW, V, VOLUME_DOWN, VOLUME_UP, W, X, Y, Z, ZERO, hasModifierKey };\n","import * as i0 from '@angular/core';\nimport { Injectable, Inject, InjectionToken, Directive, Input, EventEmitter, Optional, SkipSelf, Output, Self, ContentChildren, ContentChild, NgModule } from '@angular/core';\nimport { DOCUMENT } from '@angular/common';\nimport * as i1 from '@angular/cdk/scrolling';\nimport { CdkScrollableModule } from '@angular/cdk/scrolling';\nimport { _getEventTarget, normalizePassiveListenerOptions, _getShadowRoot } from '@angular/cdk/platform';\nimport { coerceBooleanProperty, coerceElement, coerceArray, coerceNumberProperty } from '@angular/cdk/coercion';\nimport { isFakeTouchstartFromScreenReader, isFakeMousedownFromScreenReader } from '@angular/cdk/a11y';\nimport { Subject, Subscription, interval, animationFrameScheduler, Observable, merge } from 'rxjs';\nimport { takeUntil, startWith, map, take, tap, switchMap } from 'rxjs/operators';\nimport * as i3 from '@angular/cdk/bidi';\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * Shallow-extends a stylesheet object with another stylesheet-like object.\n * Note that the keys in `source` have to be dash-cased.\n * @docs-private\n */\nfunction extendStyles(dest, source, importantProperties) {\n    for (let key in source) {\n        if (source.hasOwnProperty(key)) {\n            const value = source[key];\n            if (value) {\n                dest.setProperty(key, value, importantProperties?.has(key) ? 'important' : '');\n            }\n            else {\n                dest.removeProperty(key);\n            }\n        }\n    }\n    return dest;\n}\n/**\n * Toggles whether the native drag interactions should be enabled for an element.\n * @param element Element on which to toggle the drag interactions.\n * @param enable Whether the drag interactions should be enabled.\n * @docs-private\n */\nfunction toggleNativeDragInteractions(element, enable) {\n    const userSelect = enable ? '' : 'none';\n    extendStyles(element.style, {\n        'touch-action': enable ? '' : 'none',\n        '-webkit-user-drag': enable ? '' : 'none',\n        '-webkit-tap-highlight-color': enable ? '' : 'transparent',\n        'user-select': userSelect,\n        '-ms-user-select': userSelect,\n        '-webkit-user-select': userSelect,\n        '-moz-user-select': userSelect,\n    });\n}\n/**\n * Toggles whether an element is visible while preserving its dimensions.\n * @param element Element whose visibility to toggle\n * @param enable Whether the element should be visible.\n * @param importantProperties Properties to be set as `!important`.\n * @docs-private\n */\nfunction toggleVisibility(element, enable, importantProperties) {\n    extendStyles(element.style, {\n        position: enable ? '' : 'fixed',\n        top: enable ? '' : '0',\n        opacity: enable ? '' : '0',\n        left: enable ? '' : '-999em',\n    }, importantProperties);\n}\n/**\n * Combines a transform string with an optional other transform\n * that exited before the base transform was applied.\n */\nfunction combineTransforms(transform, initialTransform) {\n    return initialTransform && initialTransform != 'none'\n        ? transform + ' ' + initialTransform\n        : transform;\n}\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/** Parses a CSS time value to milliseconds. */\nfunction parseCssTimeUnitsToMs(value) {\n    // Some browsers will return it in seconds, whereas others will return milliseconds.\n    const multiplier = value.toLowerCase().indexOf('ms') > -1 ? 1 : 1000;\n    return parseFloat(value) * multiplier;\n}\n/** Gets the transform transition duration, including the delay, of an element in milliseconds. */\nfunction getTransformTransitionDurationInMs(element) {\n    const computedStyle = getComputedStyle(element);\n    const transitionedProperties = parseCssPropertyValue(computedStyle, 'transition-property');\n    const property = transitionedProperties.find(prop => prop === 'transform' || prop === 'all');\n    // If there's no transition for `all` or `transform`, we shouldn't do anything.\n    if (!property) {\n        return 0;\n    }\n    // Get the index of the property that we're interested in and match\n    // it up to the same index in `transition-delay` and `transition-duration`.\n    const propertyIndex = transitionedProperties.indexOf(property);\n    const rawDurations = parseCssPropertyValue(computedStyle, 'transition-duration');\n    const rawDelays = parseCssPropertyValue(computedStyle, 'transition-delay');\n    return (parseCssTimeUnitsToMs(rawDurations[propertyIndex]) +\n        parseCssTimeUnitsToMs(rawDelays[propertyIndex]));\n}\n/** Parses out multiple values from a computed style into an array. */\nfunction parseCssPropertyValue(computedStyle, name) {\n    const value = computedStyle.getPropertyValue(name);\n    return value.split(',').map(part => part.trim());\n}\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/** Gets a mutable version of an element's bounding `ClientRect`. */\nfunction getMutableClientRect(element) {\n    const clientRect = element.getBoundingClientRect();\n    // We need to clone the `clientRect` here, because all the values on it are readonly\n    // and we need to be able to update them. Also we can't use a spread here, because\n    // the values on a `ClientRect` aren't own properties. See:\n    // https://developer.mozilla.org/en-US/docs/Web/API/Element/getBoundingClientRect#Notes\n    return {\n        top: clientRect.top,\n        right: clientRect.right,\n        bottom: clientRect.bottom,\n        left: clientRect.left,\n        width: clientRect.width,\n        height: clientRect.height,\n        x: clientRect.x,\n        y: clientRect.y,\n    };\n}\n/**\n * Checks whether some coordinates are within a `ClientRect`.\n * @param clientRect ClientRect that is being checked.\n * @param x Coordinates along the X axis.\n * @param y Coordinates along the Y axis.\n */\nfunction isInsideClientRect(clientRect, x, y) {\n    const { top, bottom, left, right } = clientRect;\n    return y >= top && y <= bottom && x >= left && x <= right;\n}\n/**\n * Updates the top/left positions of a `ClientRect`, as well as their bottom/right counterparts.\n * @param clientRect `ClientRect` that should be updated.\n * @param top Amount to add to the `top` position.\n * @param left Amount to add to the `left` position.\n */\nfunction adjustClientRect(clientRect, top, left) {\n    clientRect.top += top;\n    clientRect.bottom = clientRect.top + clientRect.height;\n    clientRect.left += left;\n    clientRect.right = clientRect.left + clientRect.width;\n}\n/**\n * Checks whether the pointer coordinates are close to a ClientRect.\n * @param rect ClientRect to check against.\n * @param threshold Threshold around the ClientRect.\n * @param pointerX Coordinates along the X axis.\n * @param pointerY Coordinates along the Y axis.\n */\nfunction isPointerNearClientRect(rect, threshold, pointerX, pointerY) {\n    const { top, right, bottom, left, width, height } = rect;\n    const xThreshold = width * threshold;\n    const yThreshold = height * threshold;\n    return (pointerY > top - yThreshold &&\n        pointerY < bottom + yThreshold &&\n        pointerX > left - xThreshold &&\n        pointerX < right + xThreshold);\n}\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/** Keeps track of the scroll position and dimensions of the parents of an element. */\nclass ParentPositionTracker {\n    constructor(_document) {\n        this._document = _document;\n        /** Cached positions of the scrollable parent elements. */\n        this.positions = new Map();\n    }\n    /** Clears the cached positions. */\n    clear() {\n        this.positions.clear();\n    }\n    /** Caches the positions. Should be called at the beginning of a drag sequence. */\n    cache(elements) {\n        this.clear();\n        this.positions.set(this._document, {\n            scrollPosition: this.getViewportScrollPosition(),\n        });\n        elements.forEach(element => {\n            this.positions.set(element, {\n                scrollPosition: { top: element.scrollTop, left: element.scrollLeft },\n                clientRect: getMutableClientRect(element),\n            });\n        });\n    }\n    /** Handles scrolling while a drag is taking place. */\n    handleScroll(event) {\n        const target = _getEventTarget(event);\n        const cachedPosition = this.positions.get(target);\n        if (!cachedPosition) {\n            return null;\n        }\n        const scrollPosition = cachedPosition.scrollPosition;\n        let newTop;\n        let newLeft;\n        if (target === this._document) {\n            const viewportScrollPosition = this.getViewportScrollPosition();\n            newTop = viewportScrollPosition.top;\n            newLeft = viewportScrollPosition.left;\n        }\n        else {\n            newTop = target.scrollTop;\n            newLeft = target.scrollLeft;\n        }\n        const topDifference = scrollPosition.top - newTop;\n        const leftDifference = scrollPosition.left - newLeft;\n        // Go through and update the cached positions of the scroll\n        // parents that are inside the element that was scrolled.\n        this.positions.forEach((position, node) => {\n            if (position.clientRect && target !== node && target.contains(node)) {\n                adjustClientRect(position.clientRect, topDifference, leftDifference);\n            }\n        });\n        scrollPosition.top = newTop;\n        scrollPosition.left = newLeft;\n        return { top: topDifference, left: leftDifference };\n    }\n    /**\n     * Gets the scroll position of the viewport. Note that we use the scrollX and scrollY directly,\n     * instead of going through the `ViewportRuler`, because the first value the ruler looks at is\n     * the top/left offset of the `document.documentElement` which works for most cases, but breaks\n     * if the element is offset by something like the `BlockScrollStrategy`.\n     */\n    getViewportScrollPosition() {\n        return { top: window.scrollY, left: window.scrollX };\n    }\n}\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/** Creates a deep clone of an element. */\nfunction deepCloneNode(node) {\n    const clone = node.cloneNode(true);\n    const descendantsWithId = clone.querySelectorAll('[id]');\n    const nodeName = node.nodeName.toLowerCase();\n    // Remove the `id` to avoid having multiple elements with the same id on the page.\n    clone.removeAttribute('id');\n    for (let i = 0; i < descendantsWithId.length; i++) {\n        descendantsWithId[i].removeAttribute('id');\n    }\n    if (nodeName === 'canvas') {\n        transferCanvasData(node, clone);\n    }\n    else if (nodeName === 'input' || nodeName === 'select' || nodeName === 'textarea') {\n        transferInputData(node, clone);\n    }\n    transferData('canvas', node, clone, transferCanvasData);\n    transferData('input, textarea, select', node, clone, transferInputData);\n    return clone;\n}\n/** Matches elements between an element and its clone and allows for their data to be cloned. */\nfunction transferData(selector, node, clone, callback) {\n    const descendantElements = node.querySelectorAll(selector);\n    if (descendantElements.length) {\n        const cloneElements = clone.querySelectorAll(selector);\n        for (let i = 0; i < descendantElements.length; i++) {\n            callback(descendantElements[i], cloneElements[i]);\n        }\n    }\n}\n// Counter for unique cloned radio button names.\nlet cloneUniqueId = 0;\n/** Transfers the data of one input element to another. */\nfunction transferInputData(source, clone) {\n    // Browsers throw an error when assigning the value of a file input programmatically.\n    if (clone.type !== 'file') {\n        clone.value = source.value;\n    }\n    // Radio button `name` attributes must be unique for radio button groups\n    // otherwise original radio buttons can lose their checked state\n    // once the clone is inserted in the DOM.\n    if (clone.type === 'radio' && clone.name) {\n        clone.name = `mat-clone-${clone.name}-${cloneUniqueId++}`;\n    }\n}\n/** Transfers the data of one canvas element to another. */\nfunction transferCanvasData(source, clone) {\n    const context = clone.getContext('2d');\n    if (context) {\n        // In some cases `drawImage` can throw (e.g. if the canvas size is 0x0).\n        // We can't do much about it so just ignore the error.\n        try {\n            context.drawImage(source, 0, 0);\n        }\n        catch { }\n    }\n}\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/** Options that can be used to bind a passive event listener. */\nconst passiveEventListenerOptions = normalizePassiveListenerOptions({ passive: true });\n/** Options that can be used to bind an active event listener. */\nconst activeEventListenerOptions = normalizePassiveListenerOptions({ passive: false });\n/**\n * Time in milliseconds for which to ignore mouse events, after\n * receiving a touch event. Used to avoid doing double work for\n * touch devices where the browser fires fake mouse events, in\n * addition to touch events.\n */\nconst MOUSE_EVENT_IGNORE_TIME = 800;\n/** Inline styles to be set as `!important` while dragging. */\nconst dragImportantProperties = new Set([\n    // Needs to be important, because some `mat-table` sets `position: sticky !important`. See #22781.\n    'position',\n]);\n/**\n * Reference to a draggable item. Used to manipulate or dispose of the item.\n */\nclass DragRef {\n    /** Whether starting to drag this element is disabled. */\n    get disabled() {\n        return this._disabled || !!(this._dropContainer && this._dropContainer.disabled);\n    }\n    set disabled(value) {\n        const newValue = coerceBooleanProperty(value);\n        if (newValue !== this._disabled) {\n            this._disabled = newValue;\n            this._toggleNativeDragInteractions();\n            this._handles.forEach(handle => toggleNativeDragInteractions(handle, newValue));\n        }\n    }\n    constructor(element, _config, _document, _ngZone, _viewportRuler, _dragDropRegistry) {\n        this._config = _config;\n        this._document = _document;\n        this._ngZone = _ngZone;\n        this._viewportRuler = _viewportRuler;\n        this._dragDropRegistry = _dragDropRegistry;\n        /**\n         * CSS `transform` applied to the element when it isn't being dragged. We need a\n         * passive transform in order for the dragged element to retain its new position\n         * after the user has stopped dragging and because we need to know the relative\n         * position in case they start dragging again. This corresponds to `element.style.transform`.\n         */\n        this._passiveTransform = { x: 0, y: 0 };\n        /** CSS `transform` that is applied to the element while it's being dragged. */\n        this._activeTransform = { x: 0, y: 0 };\n        /**\n         * Whether the dragging sequence has been started. Doesn't\n         * necessarily mean that the element has been moved.\n         */\n        this._hasStartedDragging = false;\n        /** Emits when the item is being moved. */\n        this._moveEvents = new Subject();\n        /** Subscription to pointer movement events. */\n        this._pointerMoveSubscription = Subscription.EMPTY;\n        /** Subscription to the event that is dispatched when the user lifts their pointer. */\n        this._pointerUpSubscription = Subscription.EMPTY;\n        /** Subscription to the viewport being scrolled. */\n        this._scrollSubscription = Subscription.EMPTY;\n        /** Subscription to the viewport being resized. */\n        this._resizeSubscription = Subscription.EMPTY;\n        /** Cached reference to the boundary element. */\n        this._boundaryElement = null;\n        /** Whether the native dragging interactions have been enabled on the root element. */\n        this._nativeInteractionsEnabled = true;\n        /** Elements that can be used to drag the draggable item. */\n        this._handles = [];\n        /** Registered handles that are currently disabled. */\n        this._disabledHandles = new Set();\n        /** Layout direction of the item. */\n        this._direction = 'ltr';\n        /**\n         * Amount of milliseconds to wait after the user has put their\n         * pointer down before starting to drag the element.\n         */\n        this.dragStartDelay = 0;\n        this._disabled = false;\n        /** Emits as the drag sequence is being prepared. */\n        this.beforeStarted = new Subject();\n        /** Emits when the user starts dragging the item. */\n        this.started = new Subject();\n        /** Emits when the user has released a drag item, before any animations have started. */\n        this.released = new Subject();\n        /** Emits when the user stops dragging an item in the container. */\n        this.ended = new Subject();\n        /** Emits when the user has moved the item into a new container. */\n        this.entered = new Subject();\n        /** Emits when the user removes the item its container by dragging it into another container. */\n        this.exited = new Subject();\n        /** Emits when the user drops the item inside a container. */\n        this.dropped = new Subject();\n        /**\n         * Emits as the user is dragging the item. Use with caution,\n         * because this event will fire for every pixel that the user has dragged.\n         */\n        this.moved = this._moveEvents;\n        /** Handler for the `mousedown`/`touchstart` events. */\n        this._pointerDown = (event) => {\n            this.beforeStarted.next();\n            // Delegate the event based on whether it started from a handle or the element itself.\n            if (this._handles.length) {\n                const targetHandle = this._getTargetHandle(event);\n                if (targetHandle && !this._disabledHandles.has(targetHandle) && !this.disabled) {\n                    this._initializeDragSequence(targetHandle, event);\n                }\n            }\n            else if (!this.disabled) {\n                this._initializeDragSequence(this._rootElement, event);\n            }\n        };\n        /** Handler that is invoked when the user moves their pointer after they've initiated a drag. */\n        this._pointerMove = (event) => {\n            const pointerPosition = this._getPointerPositionOnPage(event);\n            if (!this._hasStartedDragging) {\n                const distanceX = Math.abs(pointerPosition.x - this._pickupPositionOnPage.x);\n                const distanceY = Math.abs(pointerPosition.y - this._pickupPositionOnPage.y);\n                const isOverThreshold = distanceX + distanceY >= this._config.dragStartThreshold;\n                // Only start dragging after the user has moved more than the minimum distance in either\n                // direction. Note that this is preferable over doing something like `skip(minimumDistance)`\n                // in the `pointerMove` subscription, because we're not guaranteed to have one move event\n                // per pixel of movement (e.g. if the user moves their pointer quickly).\n                if (isOverThreshold) {\n                    const isDelayElapsed = Date.now() >= this._dragStartTime + this._getDragStartDelay(event);\n                    const container = this._dropContainer;\n                    if (!isDelayElapsed) {\n                        this._endDragSequence(event);\n                        return;\n                    }\n                    // Prevent other drag sequences from starting while something in the container is still\n                    // being dragged. This can happen while we're waiting for the drop animation to finish\n                    // and can cause errors, because some elements might still be moving around.\n                    if (!container || (!container.isDragging() && !container.isReceiving())) {\n                        // Prevent the default action as soon as the dragging sequence is considered as\n                        // \"started\" since waiting for the next event can allow the device to begin scrolling.\n                        event.preventDefault();\n                        this._hasStartedDragging = true;\n                        this._ngZone.run(() => this._startDragSequence(event));\n                    }\n                }\n                return;\n            }\n            // We prevent the default action down here so that we know that dragging has started. This is\n            // important for touch devices where doing this too early can unnecessarily block scrolling,\n            // if there's a dragging delay.\n            event.preventDefault();\n            const constrainedPointerPosition = this._getConstrainedPointerPosition(pointerPosition);\n            this._hasMoved = true;\n            this._lastKnownPointerPosition = pointerPosition;\n            this._updatePointerDirectionDelta(constrainedPointerPosition);\n            if (this._dropContainer) {\n                this._updateActiveDropContainer(constrainedPointerPosition, pointerPosition);\n            }\n            else {\n                // If there's a position constraint function, we want the element's top/left to be at the\n                // specific position on the page. Use the initial position as a reference if that's the case.\n                const offset = this.constrainPosition ? this._initialClientRect : this._pickupPositionOnPage;\n                const activeTransform = this._activeTransform;\n                activeTransform.x = constrainedPointerPosition.x - offset.x + this._passiveTransform.x;\n                activeTransform.y = constrainedPointerPosition.y - offset.y + this._passiveTransform.y;\n                this._applyRootElementTransform(activeTransform.x, activeTransform.y);\n            }\n            // Since this event gets fired for every pixel while dragging, we only\n            // want to fire it if the consumer opted into it. Also we have to\n            // re-enter the zone because we run all of the events on the outside.\n            if (this._moveEvents.observers.length) {\n                this._ngZone.run(() => {\n                    this._moveEvents.next({\n                        source: this,\n                        pointerPosition: constrainedPointerPosition,\n                        event,\n                        distance: this._getDragDistance(constrainedPointerPosition),\n                        delta: this._pointerDirectionDelta,\n                    });\n                });\n            }\n        };\n        /** Handler that is invoked when the user lifts their pointer up, after initiating a drag. */\n        this._pointerUp = (event) => {\n            this._endDragSequence(event);\n        };\n        /** Handles a native `dragstart` event. */\n        this._nativeDragStart = (event) => {\n            if (this._handles.length) {\n                const targetHandle = this._getTargetHandle(event);\n                if (targetHandle && !this._disabledHandles.has(targetHandle) && !this.disabled) {\n                    event.preventDefault();\n                }\n            }\n            else if (!this.disabled) {\n                // Usually this isn't necessary since the we prevent the default action in `pointerDown`,\n                // but some cases like dragging of links can slip through (see #24403).\n                event.preventDefault();\n            }\n        };\n        this.withRootElement(element).withParent(_config.parentDragRef || null);\n        this._parentPositions = new ParentPositionTracker(_document);\n        _dragDropRegistry.registerDragItem(this);\n    }\n    /**\n     * Returns the element that is being used as a placeholder\n     * while the current element is being dragged.\n     */\n    getPlaceholderElement() {\n        return this._placeholder;\n    }\n    /** Returns the root draggable element. */\n    getRootElement() {\n        return this._rootElement;\n    }\n    /**\n     * Gets the currently-visible element that represents the drag item.\n     * While dragging this is the placeholder, otherwise it's the root element.\n     */\n    getVisibleElement() {\n        return this.isDragging() ? this.getPlaceholderElement() : this.getRootElement();\n    }\n    /** Registers the handles that can be used to drag the element. */\n    withHandles(handles) {\n        this._handles = handles.map(handle => coerceElement(handle));\n        this._handles.forEach(handle => toggleNativeDragInteractions(handle, this.disabled));\n        this._toggleNativeDragInteractions();\n        // Delete any lingering disabled handles that may have been destroyed. Note that we re-create\n        // the set, rather than iterate over it and filter out the destroyed handles, because while\n        // the ES spec allows for sets to be modified while they're being iterated over, some polyfills\n        // use an array internally which may throw an error.\n        const disabledHandles = new Set();\n        this._disabledHandles.forEach(handle => {\n            if (this._handles.indexOf(handle) > -1) {\n                disabledHandles.add(handle);\n            }\n        });\n        this._disabledHandles = disabledHandles;\n        return this;\n    }\n    /**\n     * Registers the template that should be used for the drag preview.\n     * @param template Template that from which to stamp out the preview.\n     */\n    withPreviewTemplate(template) {\n        this._previewTemplate = template;\n        return this;\n    }\n    /**\n     * Registers the template that should be used for the drag placeholder.\n     * @param template Template that from which to stamp out the placeholder.\n     */\n    withPlaceholderTemplate(template) {\n        this._placeholderTemplate = template;\n        return this;\n    }\n    /**\n     * Sets an alternate drag root element. The root element is the element that will be moved as\n     * the user is dragging. Passing an alternate root element is useful when trying to enable\n     * dragging on an element that you might not have access to.\n     */\n    withRootElement(rootElement) {\n        const element = coerceElement(rootElement);\n        if (element !== this._rootElement) {\n            if (this._rootElement) {\n                this._removeRootElementListeners(this._rootElement);\n            }\n            this._ngZone.runOutsideAngular(() => {\n                element.addEventListener('mousedown', this._pointerDown, activeEventListenerOptions);\n                element.addEventListener('touchstart', this._pointerDown, passiveEventListenerOptions);\n                element.addEventListener('dragstart', this._nativeDragStart, activeEventListenerOptions);\n            });\n            this._initialTransform = undefined;\n            this._rootElement = element;\n        }\n        if (typeof SVGElement !== 'undefined' && this._rootElement instanceof SVGElement) {\n            this._ownerSVGElement = this._rootElement.ownerSVGElement;\n        }\n        return this;\n    }\n    /**\n     * Element to which the draggable's position will be constrained.\n     */\n    withBoundaryElement(boundaryElement) {\n        this._boundaryElement = boundaryElement ? coerceElement(boundaryElement) : null;\n        this._resizeSubscription.unsubscribe();\n        if (boundaryElement) {\n            this._resizeSubscription = this._viewportRuler\n                .change(10)\n                .subscribe(() => this._containInsideBoundaryOnResize());\n        }\n        return this;\n    }\n    /** Sets the parent ref that the ref is nested in.  */\n    withParent(parent) {\n        this._parentDragRef = parent;\n        return this;\n    }\n    /** Removes the dragging functionality from the DOM element. */\n    dispose() {\n        this._removeRootElementListeners(this._rootElement);\n        // Do this check before removing from the registry since it'll\n        // stop being considered as dragged once it is removed.\n        if (this.isDragging()) {\n            // Since we move out the element to the end of the body while it's being\n            // dragged, we have to make sure that it's removed if it gets destroyed.\n            this._rootElement?.remove();\n        }\n        this._anchor?.remove();\n        this._destroyPreview();\n        this._destroyPlaceholder();\n        this._dragDropRegistry.removeDragItem(this);\n        this._removeSubscriptions();\n        this.beforeStarted.complete();\n        this.started.complete();\n        this.released.complete();\n        this.ended.complete();\n        this.entered.complete();\n        this.exited.complete();\n        this.dropped.complete();\n        this._moveEvents.complete();\n        this._handles = [];\n        this._disabledHandles.clear();\n        this._dropContainer = undefined;\n        this._resizeSubscription.unsubscribe();\n        this._parentPositions.clear();\n        this._boundaryElement =\n            this._rootElement =\n                this._ownerSVGElement =\n                    this._placeholderTemplate =\n                        this._previewTemplate =\n                            this._anchor =\n                                this._parentDragRef =\n                                    null;\n    }\n    /** Checks whether the element is currently being dragged. */\n    isDragging() {\n        return this._hasStartedDragging && this._dragDropRegistry.isDragging(this);\n    }\n    /** Resets a standalone drag item to its initial position. */\n    reset() {\n        this._rootElement.style.transform = this._initialTransform || '';\n        this._activeTransform = { x: 0, y: 0 };\n        this._passiveTransform = { x: 0, y: 0 };\n    }\n    /**\n     * Sets a handle as disabled. While a handle is disabled, it'll capture and interrupt dragging.\n     * @param handle Handle element that should be disabled.\n     */\n    disableHandle(handle) {\n        if (!this._disabledHandles.has(handle) && this._handles.indexOf(handle) > -1) {\n            this._disabledHandles.add(handle);\n            toggleNativeDragInteractions(handle, true);\n        }\n    }\n    /**\n     * Enables a handle, if it has been disabled.\n     * @param handle Handle element to be enabled.\n     */\n    enableHandle(handle) {\n        if (this._disabledHandles.has(handle)) {\n            this._disabledHandles.delete(handle);\n            toggleNativeDragInteractions(handle, this.disabled);\n        }\n    }\n    /** Sets the layout direction of the draggable item. */\n    withDirection(direction) {\n        this._direction = direction;\n        return this;\n    }\n    /** Sets the container that the item is part of. */\n    _withDropContainer(container) {\n        this._dropContainer = container;\n    }\n    /**\n     * Gets the current position in pixels the draggable outside of a drop container.\n     */\n    getFreeDragPosition() {\n        const position = this.isDragging() ? this._activeTransform : this._passiveTransform;\n        return { x: position.x, y: position.y };\n    }\n    /**\n     * Sets the current position in pixels the draggable outside of a drop container.\n     * @param value New position to be set.\n     */\n    setFreeDragPosition(value) {\n        this._activeTransform = { x: 0, y: 0 };\n        this._passiveTransform.x = value.x;\n        this._passiveTransform.y = value.y;\n        if (!this._dropContainer) {\n            this._applyRootElementTransform(value.x, value.y);\n        }\n        return this;\n    }\n    /**\n     * Sets the container into which to insert the preview element.\n     * @param value Container into which to insert the preview.\n     */\n    withPreviewContainer(value) {\n        this._previewContainer = value;\n        return this;\n    }\n    /** Updates the item's sort order based on the last-known pointer position. */\n    _sortFromLastPointerPosition() {\n        const position = this._lastKnownPointerPosition;\n        if (position && this._dropContainer) {\n            this._updateActiveDropContainer(this._getConstrainedPointerPosition(position), position);\n        }\n    }\n    /** Unsubscribes from the global subscriptions. */\n    _removeSubscriptions() {\n        this._pointerMoveSubscription.unsubscribe();\n        this._pointerUpSubscription.unsubscribe();\n        this._scrollSubscription.unsubscribe();\n    }\n    /** Destroys the preview element and its ViewRef. */\n    _destroyPreview() {\n        this._preview?.remove();\n        this._previewRef?.destroy();\n        this._preview = this._previewRef = null;\n    }\n    /** Destroys the placeholder element and its ViewRef. */\n    _destroyPlaceholder() {\n        this._placeholder?.remove();\n        this._placeholderRef?.destroy();\n        this._placeholder = this._placeholderRef = null;\n    }\n    /**\n     * Clears subscriptions and stops the dragging sequence.\n     * @param event Browser event object that ended the sequence.\n     */\n    _endDragSequence(event) {\n        // Note that here we use `isDragging` from the service, rather than from `this`.\n        // The difference is that the one from the service reflects whether a dragging sequence\n        // has been initiated, whereas the one on `this` includes whether the user has passed\n        // the minimum dragging threshold.\n        if (!this._dragDropRegistry.isDragging(this)) {\n            return;\n        }\n        this._removeSubscriptions();\n        this._dragDropRegistry.stopDragging(this);\n        this._toggleNativeDragInteractions();\n        if (this._handles) {\n            this._rootElement.style.webkitTapHighlightColor =\n                this._rootElementTapHighlight;\n        }\n        if (!this._hasStartedDragging) {\n            return;\n        }\n        this.released.next({ source: this, event });\n        if (this._dropContainer) {\n            // Stop scrolling immediately, instead of waiting for the animation to finish.\n            this._dropContainer._stopScrolling();\n            this._animatePreviewToPlaceholder().then(() => {\n                this._cleanupDragArtifacts(event);\n                this._cleanupCachedDimensions();\n                this._dragDropRegistry.stopDragging(this);\n            });\n        }\n        else {\n            // Convert the active transform into a passive one. This means that next time\n            // the user starts dragging the item, its position will be calculated relatively\n            // to the new passive transform.\n            this._passiveTransform.x = this._activeTransform.x;\n            const pointerPosition = this._getPointerPositionOnPage(event);\n            this._passiveTransform.y = this._activeTransform.y;\n            this._ngZone.run(() => {\n                this.ended.next({\n                    source: this,\n                    distance: this._getDragDistance(pointerPosition),\n                    dropPoint: pointerPosition,\n                    event,\n                });\n            });\n            this._cleanupCachedDimensions();\n            this._dragDropRegistry.stopDragging(this);\n        }\n    }\n    /** Starts the dragging sequence. */\n    _startDragSequence(event) {\n        if (isTouchEvent(event)) {\n            this._lastTouchEventTime = Date.now();\n        }\n        this._toggleNativeDragInteractions();\n        const dropContainer = this._dropContainer;\n        if (dropContainer) {\n            const element = this._rootElement;\n            const parent = element.parentNode;\n            const placeholder = (this._placeholder = this._createPlaceholderElement());\n            const anchor = (this._anchor = this._anchor || this._document.createComment(''));\n            // Needs to happen before the root element is moved.\n            const shadowRoot = this._getShadowRoot();\n            // Insert an anchor node so that we can restore the element's position in the DOM.\n            parent.insertBefore(anchor, element);\n            // There's no risk of transforms stacking when inside a drop container so\n            // we can keep the initial transform up to date any time dragging starts.\n            this._initialTransform = element.style.transform || '';\n            // Create the preview after the initial transform has\n            // been cached, because it can be affected by the transform.\n            this._preview = this._createPreviewElement();\n            // We move the element out at the end of the body and we make it hidden, because keeping it in\n            // place will throw off the consumer's `:last-child` selectors. We can't remove the element\n            // from the DOM completely, because iOS will stop firing all subsequent events in the chain.\n            toggleVisibility(element, false, dragImportantProperties);\n            this._document.body.appendChild(parent.replaceChild(placeholder, element));\n            this._getPreviewInsertionPoint(parent, shadowRoot).appendChild(this._preview);\n            this.started.next({ source: this, event }); // Emit before notifying the container.\n            dropContainer.start();\n            this._initialContainer = dropContainer;\n            this._initialIndex = dropContainer.getItemIndex(this);\n        }\n        else {\n            this.started.next({ source: this, event });\n            this._initialContainer = this._initialIndex = undefined;\n        }\n        // Important to run after we've called `start` on the parent container\n        // so that it has had time to resolve its scrollable parents.\n        this._parentPositions.cache(dropContainer ? dropContainer.getScrollableParents() : []);\n    }\n    /**\n     * Sets up the different variables and subscriptions\n     * that will be necessary for the dragging sequence.\n     * @param referenceElement Element that started the drag sequence.\n     * @param event Browser event object that started the sequence.\n     */\n    _initializeDragSequence(referenceElement, event) {\n        // Stop propagation if the item is inside another\n        // draggable so we don't start multiple drag sequences.\n        if (this._parentDragRef) {\n            event.stopPropagation();\n        }\n        const isDragging = this.isDragging();\n        const isTouchSequence = isTouchEvent(event);\n        const isAuxiliaryMouseButton = !isTouchSequence && event.button !== 0;\n        const rootElement = this._rootElement;\n        const target = _getEventTarget(event);\n        const isSyntheticEvent = !isTouchSequence &&\n            this._lastTouchEventTime &&\n            this._lastTouchEventTime + MOUSE_EVENT_IGNORE_TIME > Date.now();\n        const isFakeEvent = isTouchSequence\n            ? isFakeTouchstartFromScreenReader(event)\n            : isFakeMousedownFromScreenReader(event);\n        // If the event started from an element with the native HTML drag&drop, it'll interfere\n        // with our own dragging (e.g. `img` tags do it by default). Prevent the default action\n        // to stop it from happening. Note that preventing on `dragstart` also seems to work, but\n        // it's flaky and it fails if the user drags it away quickly. Also note that we only want\n        // to do this for `mousedown` since doing the same for `touchstart` will stop any `click`\n        // events from firing on touch devices.\n        if (target && target.draggable && event.type === 'mousedown') {\n            event.preventDefault();\n        }\n        // Abort if the user is already dragging or is using a mouse button other than the primary one.\n        if (isDragging || isAuxiliaryMouseButton || isSyntheticEvent || isFakeEvent) {\n            return;\n        }\n        // If we've got handles, we need to disable the tap highlight on the entire root element,\n        // otherwise iOS will still add it, even though all the drag interactions on the handle\n        // are disabled.\n        if (this._handles.length) {\n            const rootStyles = rootElement.style;\n            this._rootElementTapHighlight = rootStyles.webkitTapHighlightColor || '';\n            rootStyles.webkitTapHighlightColor = 'transparent';\n        }\n        this._hasStartedDragging = this._hasMoved = false;\n        // Avoid multiple subscriptions and memory leaks when multi touch\n        // (isDragging check above isn't enough because of possible temporal and/or dimensional delays)\n        this._removeSubscriptions();\n        this._initialClientRect = this._rootElement.getBoundingClientRect();\n        this._pointerMoveSubscription = this._dragDropRegistry.pointerMove.subscribe(this._pointerMove);\n        this._pointerUpSubscription = this._dragDropRegistry.pointerUp.subscribe(this._pointerUp);\n        this._scrollSubscription = this._dragDropRegistry\n            .scrolled(this._getShadowRoot())\n            .subscribe(scrollEvent => this._updateOnScroll(scrollEvent));\n        if (this._boundaryElement) {\n            this._boundaryRect = getMutableClientRect(this._boundaryElement);\n        }\n        // If we have a custom preview we can't know ahead of time how large it'll be so we position\n        // it next to the cursor. The exception is when the consumer has opted into making the preview\n        // the same size as the root element, in which case we do know the size.\n        const previewTemplate = this._previewTemplate;\n        this._pickupPositionInElement =\n            previewTemplate && previewTemplate.template && !previewTemplate.matchSize\n                ? { x: 0, y: 0 }\n                : this._getPointerPositionInElement(this._initialClientRect, referenceElement, event);\n        const pointerPosition = (this._pickupPositionOnPage =\n            this._lastKnownPointerPosition =\n                this._getPointerPositionOnPage(event));\n        this._pointerDirectionDelta = { x: 0, y: 0 };\n        this._pointerPositionAtLastDirectionChange = { x: pointerPosition.x, y: pointerPosition.y };\n        this._dragStartTime = Date.now();\n        this._dragDropRegistry.startDragging(this, event);\n    }\n    /** Cleans up the DOM artifacts that were added to facilitate the element being dragged. */\n    _cleanupDragArtifacts(event) {\n        // Restore the element's visibility and insert it at its old position in the DOM.\n        // It's important that we maintain the position, because moving the element around in the DOM\n        // can throw off `NgFor` which does smart diffing and re-creates elements only when necessary,\n        // while moving the existing elements in all other cases.\n        toggleVisibility(this._rootElement, true, dragImportantProperties);\n        this._anchor.parentNode.replaceChild(this._rootElement, this._anchor);\n        this._destroyPreview();\n        this._destroyPlaceholder();\n        this._initialClientRect =\n            this._boundaryRect =\n                this._previewRect =\n                    this._initialTransform =\n                        undefined;\n        // Re-enter the NgZone since we bound `document` events on the outside.\n        this._ngZone.run(() => {\n            const container = this._dropContainer;\n            const currentIndex = container.getItemIndex(this);\n            const pointerPosition = this._getPointerPositionOnPage(event);\n            const distance = this._getDragDistance(pointerPosition);\n            const isPointerOverContainer = container._isOverContainer(pointerPosition.x, pointerPosition.y);\n            this.ended.next({ source: this, distance, dropPoint: pointerPosition, event });\n            this.dropped.next({\n                item: this,\n                currentIndex,\n                previousIndex: this._initialIndex,\n                container: container,\n                previousContainer: this._initialContainer,\n                isPointerOverContainer,\n                distance,\n                dropPoint: pointerPosition,\n                event,\n            });\n            container.drop(this, currentIndex, this._initialIndex, this._initialContainer, isPointerOverContainer, distance, pointerPosition, event);\n            this._dropContainer = this._initialContainer;\n        });\n    }\n    /**\n     * Updates the item's position in its drop container, or moves it\n     * into a new one, depending on its current drag position.\n     */\n    _updateActiveDropContainer({ x, y }, { x: rawX, y: rawY }) {\n        // Drop container that draggable has been moved into.\n        let newContainer = this._initialContainer._getSiblingContainerFromPosition(this, x, y);\n        // If we couldn't find a new container to move the item into, and the item has left its\n        // initial container, check whether the it's over the initial container. This handles the\n        // case where two containers are connected one way and the user tries to undo dragging an\n        // item into a new container.\n        if (!newContainer &&\n            this._dropContainer !== this._initialContainer &&\n            this._initialContainer._isOverContainer(x, y)) {\n            newContainer = this._initialContainer;\n        }\n        if (newContainer && newContainer !== this._dropContainer) {\n            this._ngZone.run(() => {\n                // Notify the old container that the item has left.\n                this.exited.next({ item: this, container: this._dropContainer });\n                this._dropContainer.exit(this);\n                // Notify the new container that the item has entered.\n                this._dropContainer = newContainer;\n                this._dropContainer.enter(this, x, y, newContainer === this._initialContainer &&\n                    // If we're re-entering the initial container and sorting is disabled,\n                    // put item the into its starting index to begin with.\n                    newContainer.sortingDisabled\n                    ? this._initialIndex\n                    : undefined);\n                this.entered.next({\n                    item: this,\n                    container: newContainer,\n                    currentIndex: newContainer.getItemIndex(this),\n                });\n            });\n        }\n        // Dragging may have been interrupted as a result of the events above.\n        if (this.isDragging()) {\n            this._dropContainer._startScrollingIfNecessary(rawX, rawY);\n            this._dropContainer._sortItem(this, x, y, this._pointerDirectionDelta);\n            if (this.constrainPosition) {\n                this._applyPreviewTransform(x, y);\n            }\n            else {\n                this._applyPreviewTransform(x - this._pickupPositionInElement.x, y - this._pickupPositionInElement.y);\n            }\n        }\n    }\n    /**\n     * Creates the element that will be rendered next to the user's pointer\n     * and will be used as a preview of the element that is being dragged.\n     */\n    _createPreviewElement() {\n        const previewConfig = this._previewTemplate;\n        const previewClass = this.previewClass;\n        const previewTemplate = previewConfig ? previewConfig.template : null;\n        let preview;\n        if (previewTemplate && previewConfig) {\n            // Measure the element before we've inserted the preview\n            // since the insertion could throw off the measurement.\n            const rootRect = previewConfig.matchSize ? this._initialClientRect : null;\n            const viewRef = previewConfig.viewContainer.createEmbeddedView(previewTemplate, previewConfig.context);\n            viewRef.detectChanges();\n            preview = getRootNode(viewRef, this._document);\n            this._previewRef = viewRef;\n            if (previewConfig.matchSize) {\n                matchElementSize(preview, rootRect);\n            }\n            else {\n                preview.style.transform = getTransform(this._pickupPositionOnPage.x, this._pickupPositionOnPage.y);\n            }\n        }\n        else {\n            preview = deepCloneNode(this._rootElement);\n            matchElementSize(preview, this._initialClientRect);\n            if (this._initialTransform) {\n                preview.style.transform = this._initialTransform;\n            }\n        }\n        extendStyles(preview.style, {\n            // It's important that we disable the pointer events on the preview, because\n            // it can throw off the `document.elementFromPoint` calls in the `CdkDropList`.\n            'pointer-events': 'none',\n            // We have to reset the margin, because it can throw off positioning relative to the viewport.\n            'margin': '0',\n            'position': 'fixed',\n            'top': '0',\n            'left': '0',\n            'z-index': `${this._config.zIndex || 1000}`,\n        }, dragImportantProperties);\n        toggleNativeDragInteractions(preview, false);\n        preview.classList.add('cdk-drag-preview');\n        preview.setAttribute('dir', this._direction);\n        if (previewClass) {\n            if (Array.isArray(previewClass)) {\n                previewClass.forEach(className => preview.classList.add(className));\n            }\n            else {\n                preview.classList.add(previewClass);\n            }\n        }\n        return preview;\n    }\n    /**\n     * Animates the preview element from its current position to the location of the drop placeholder.\n     * @returns Promise that resolves when the animation completes.\n     */\n    _animatePreviewToPlaceholder() {\n        // If the user hasn't moved yet, the transitionend event won't fire.\n        if (!this._hasMoved) {\n            return Promise.resolve();\n        }\n        const placeholderRect = this._placeholder.getBoundingClientRect();\n        // Apply the class that adds a transition to the preview.\n        this._preview.classList.add('cdk-drag-animating');\n        // Move the preview to the placeholder position.\n        this._applyPreviewTransform(placeholderRect.left, placeholderRect.top);\n        // If the element doesn't have a `transition`, the `transitionend` event won't fire. Since\n        // we need to trigger a style recalculation in order for the `cdk-drag-animating` class to\n        // apply its style, we take advantage of the available info to figure out whether we need to\n        // bind the event in the first place.\n        const duration = getTransformTransitionDurationInMs(this._preview);\n        if (duration === 0) {\n            return Promise.resolve();\n        }\n        return this._ngZone.runOutsideAngular(() => {\n            return new Promise(resolve => {\n                const handler = ((event) => {\n                    if (!event ||\n                        (_getEventTarget(event) === this._preview && event.propertyName === 'transform')) {\n                        this._preview?.removeEventListener('transitionend', handler);\n                        resolve();\n                        clearTimeout(timeout);\n                    }\n                });\n                // If a transition is short enough, the browser might not fire the `transitionend` event.\n                // Since we know how long it's supposed to take, add a timeout with a 50% buffer that'll\n                // fire if the transition hasn't completed when it was supposed to.\n                const timeout = setTimeout(handler, duration * 1.5);\n                this._preview.addEventListener('transitionend', handler);\n            });\n        });\n    }\n    /** Creates an element that will be shown instead of the current element while dragging. */\n    _createPlaceholderElement() {\n        const placeholderConfig = this._placeholderTemplate;\n        const placeholderTemplate = placeholderConfig ? placeholderConfig.template : null;\n        let placeholder;\n        if (placeholderTemplate) {\n            this._placeholderRef = placeholderConfig.viewContainer.createEmbeddedView(placeholderTemplate, placeholderConfig.context);\n            this._placeholderRef.detectChanges();\n            placeholder = getRootNode(this._placeholderRef, this._document);\n        }\n        else {\n            placeholder = deepCloneNode(this._rootElement);\n        }\n        // Stop pointer events on the preview so the user can't\n        // interact with it while the preview is animating.\n        placeholder.style.pointerEvents = 'none';\n        placeholder.classList.add('cdk-drag-placeholder');\n        return placeholder;\n    }\n    /**\n     * Figures out the coordinates at which an element was picked up.\n     * @param referenceElement Element that initiated the dragging.\n     * @param event Event that initiated the dragging.\n     */\n    _getPointerPositionInElement(elementRect, referenceElement, event) {\n        const handleElement = referenceElement === this._rootElement ? null : referenceElement;\n        const referenceRect = handleElement ? handleElement.getBoundingClientRect() : elementRect;\n        const point = isTouchEvent(event) ? event.targetTouches[0] : event;\n        const scrollPosition = this._getViewportScrollPosition();\n        const x = point.pageX - referenceRect.left - scrollPosition.left;\n        const y = point.pageY - referenceRect.top - scrollPosition.top;\n        return {\n            x: referenceRect.left - elementRect.left + x,\n            y: referenceRect.top - elementRect.top + y,\n        };\n    }\n    /** Determines the point of the page that was touched by the user. */\n    _getPointerPositionOnPage(event) {\n        const scrollPosition = this._getViewportScrollPosition();\n        const point = isTouchEvent(event)\n            ? // `touches` will be empty for start/end events so we have to fall back to `changedTouches`.\n                // Also note that on real devices we're guaranteed for either `touches` or `changedTouches`\n                // to have a value, but Firefox in device emulation mode has a bug where both can be empty\n                // for `touchstart` and `touchend` so we fall back to a dummy object in order to avoid\n                // throwing an error. The value returned here will be incorrect, but since this only\n                // breaks inside a developer tool and the value is only used for secondary information,\n                // we can get away with it. See https://bugzilla.mozilla.org/show_bug.cgi?id=1615824.\n                event.touches[0] || event.changedTouches[0] || { pageX: 0, pageY: 0 }\n            : event;\n        const x = point.pageX - scrollPosition.left;\n        const y = point.pageY - scrollPosition.top;\n        // if dragging SVG element, try to convert from the screen coordinate system to the SVG\n        // coordinate system\n        if (this._ownerSVGElement) {\n            const svgMatrix = this._ownerSVGElement.getScreenCTM();\n            if (svgMatrix) {\n                const svgPoint = this._ownerSVGElement.createSVGPoint();\n                svgPoint.x = x;\n                svgPoint.y = y;\n                return svgPoint.matrixTransform(svgMatrix.inverse());\n            }\n        }\n        return { x, y };\n    }\n    /** Gets the pointer position on the page, accounting for any position constraints. */\n    _getConstrainedPointerPosition(point) {\n        const dropContainerLock = this._dropContainer ? this._dropContainer.lockAxis : null;\n        let { x, y } = this.constrainPosition\n            ? this.constrainPosition(point, this, this._initialClientRect, this._pickupPositionInElement)\n            : point;\n        if (this.lockAxis === 'x' || dropContainerLock === 'x') {\n            y = this._pickupPositionOnPage.y;\n        }\n        else if (this.lockAxis === 'y' || dropContainerLock === 'y') {\n            x = this._pickupPositionOnPage.x;\n        }\n        if (this._boundaryRect) {\n            const { x: pickupX, y: pickupY } = this._pickupPositionInElement;\n            const boundaryRect = this._boundaryRect;\n            const { width: previewWidth, height: previewHeight } = this._getPreviewRect();\n            const minY = boundaryRect.top + pickupY;\n            const maxY = boundaryRect.bottom - (previewHeight - pickupY);\n            const minX = boundaryRect.left + pickupX;\n            const maxX = boundaryRect.right - (previewWidth - pickupX);\n            x = clamp$1(x, minX, maxX);\n            y = clamp$1(y, minY, maxY);\n        }\n        return { x, y };\n    }\n    /** Updates the current drag delta, based on the user's current pointer position on the page. */\n    _updatePointerDirectionDelta(pointerPositionOnPage) {\n        const { x, y } = pointerPositionOnPage;\n        const delta = this._pointerDirectionDelta;\n        const positionSinceLastChange = this._pointerPositionAtLastDirectionChange;\n        // Amount of pixels the user has dragged since the last time the direction changed.\n        const changeX = Math.abs(x - positionSinceLastChange.x);\n        const changeY = Math.abs(y - positionSinceLastChange.y);\n        // Because we handle pointer events on a per-pixel basis, we don't want the delta\n        // to change for every pixel, otherwise anything that depends on it can look erratic.\n        // To make the delta more consistent, we track how much the user has moved since the last\n        // delta change and we only update it after it has reached a certain threshold.\n        if (changeX > this._config.pointerDirectionChangeThreshold) {\n            delta.x = x > positionSinceLastChange.x ? 1 : -1;\n            positionSinceLastChange.x = x;\n        }\n        if (changeY > this._config.pointerDirectionChangeThreshold) {\n            delta.y = y > positionSinceLastChange.y ? 1 : -1;\n            positionSinceLastChange.y = y;\n        }\n        return delta;\n    }\n    /** Toggles the native drag interactions, based on how many handles are registered. */\n    _toggleNativeDragInteractions() {\n        if (!this._rootElement || !this._handles) {\n            return;\n        }\n        const shouldEnable = this._handles.length > 0 || !this.isDragging();\n        if (shouldEnable !== this._nativeInteractionsEnabled) {\n            this._nativeInteractionsEnabled = shouldEnable;\n            toggleNativeDragInteractions(this._rootElement, shouldEnable);\n        }\n    }\n    /** Removes the manually-added event listeners from the root element. */\n    _removeRootElementListeners(element) {\n        element.removeEventListener('mousedown', this._pointerDown, activeEventListenerOptions);\n        element.removeEventListener('touchstart', this._pointerDown, passiveEventListenerOptions);\n        element.removeEventListener('dragstart', this._nativeDragStart, activeEventListenerOptions);\n    }\n    /**\n     * Applies a `transform` to the root element, taking into account any existing transforms on it.\n     * @param x New transform value along the X axis.\n     * @param y New transform value along the Y axis.\n     */\n    _applyRootElementTransform(x, y) {\n        const transform = getTransform(x, y);\n        const styles = this._rootElement.style;\n        // Cache the previous transform amount only after the first drag sequence, because\n        // we don't want our own transforms to stack on top of each other.\n        // Should be excluded none because none + translate3d(x, y, x) is invalid css\n        if (this._initialTransform == null) {\n            this._initialTransform =\n                styles.transform && styles.transform != 'none' ? styles.transform : '';\n        }\n        // Preserve the previous `transform` value, if there was one. Note that we apply our own\n        // transform before the user's, because things like rotation can affect which direction\n        // the element will be translated towards.\n        styles.transform = combineTransforms(transform, this._initialTransform);\n    }\n    /**\n     * Applies a `transform` to the preview, taking into account any existing transforms on it.\n     * @param x New transform value along the X axis.\n     * @param y New transform value along the Y axis.\n     */\n    _applyPreviewTransform(x, y) {\n        // Only apply the initial transform if the preview is a clone of the original element, otherwise\n        // it could be completely different and the transform might not make sense anymore.\n        const initialTransform = this._previewTemplate?.template ? undefined : this._initialTransform;\n        const transform = getTransform(x, y);\n        this._preview.style.transform = combineTransforms(transform, initialTransform);\n    }\n    /**\n     * Gets the distance that the user has dragged during the current drag sequence.\n     * @param currentPosition Current position of the user's pointer.\n     */\n    _getDragDistance(currentPosition) {\n        const pickupPosition = this._pickupPositionOnPage;\n        if (pickupPosition) {\n            return { x: currentPosition.x - pickupPosition.x, y: currentPosition.y - pickupPosition.y };\n        }\n        return { x: 0, y: 0 };\n    }\n    /** Cleans up any cached element dimensions that we don't need after dragging has stopped. */\n    _cleanupCachedDimensions() {\n        this._boundaryRect = this._previewRect = undefined;\n        this._parentPositions.clear();\n    }\n    /**\n     * Checks whether the element is still inside its boundary after the viewport has been resized.\n     * If not, the position is adjusted so that the element fits again.\n     */\n    _containInsideBoundaryOnResize() {\n        let { x, y } = this._passiveTransform;\n        if ((x === 0 && y === 0) || this.isDragging() || !this._boundaryElement) {\n            return;\n        }\n        // Note: don't use `_clientRectAtStart` here, because we want the latest position.\n        const elementRect = this._rootElement.getBoundingClientRect();\n        const boundaryRect = this._boundaryElement.getBoundingClientRect();\n        // It's possible that the element got hidden away after dragging (e.g. by switching to a\n        // different tab). Don't do anything in this case so we don't clear the user's position.\n        if ((boundaryRect.width === 0 && boundaryRect.height === 0) ||\n            (elementRect.width === 0 && elementRect.height === 0)) {\n            return;\n        }\n        const leftOverflow = boundaryRect.left - elementRect.left;\n        const rightOverflow = elementRect.right - boundaryRect.right;\n        const topOverflow = boundaryRect.top - elementRect.top;\n        const bottomOverflow = elementRect.bottom - boundaryRect.bottom;\n        // If the element has become wider than the boundary, we can't\n        // do much to make it fit so we just anchor it to the left.\n        if (boundaryRect.width > elementRect.width) {\n            if (leftOverflow > 0) {\n                x += leftOverflow;\n            }\n            if (rightOverflow > 0) {\n                x -= rightOverflow;\n            }\n        }\n        else {\n            x = 0;\n        }\n        // If the element has become taller than the boundary, we can't\n        // do much to make it fit so we just anchor it to the top.\n        if (boundaryRect.height > elementRect.height) {\n            if (topOverflow > 0) {\n                y += topOverflow;\n            }\n            if (bottomOverflow > 0) {\n                y -= bottomOverflow;\n            }\n        }\n        else {\n            y = 0;\n        }\n        if (x !== this._passiveTransform.x || y !== this._passiveTransform.y) {\n            this.setFreeDragPosition({ y, x });\n        }\n    }\n    /** Gets the drag start delay, based on the event type. */\n    _getDragStartDelay(event) {\n        const value = this.dragStartDelay;\n        if (typeof value === 'number') {\n            return value;\n        }\n        else if (isTouchEvent(event)) {\n            return value.touch;\n        }\n        return value ? value.mouse : 0;\n    }\n    /** Updates the internal state of the draggable element when scrolling has occurred. */\n    _updateOnScroll(event) {\n        const scrollDifference = this._parentPositions.handleScroll(event);\n        if (scrollDifference) {\n            const target = _getEventTarget(event);\n            // ClientRect dimensions are based on the scroll position of the page and its parent\n            // node so we have to update the cached boundary ClientRect if the user has scrolled.\n            if (this._boundaryRect &&\n                target !== this._boundaryElement &&\n                target.contains(this._boundaryElement)) {\n                adjustClientRect(this._boundaryRect, scrollDifference.top, scrollDifference.left);\n            }\n            this._pickupPositionOnPage.x += scrollDifference.left;\n            this._pickupPositionOnPage.y += scrollDifference.top;\n            // If we're in free drag mode, we have to update the active transform, because\n            // it isn't relative to the viewport like the preview inside a drop list.\n            if (!this._dropContainer) {\n                this._activeTransform.x -= scrollDifference.left;\n                this._activeTransform.y -= scrollDifference.top;\n                this._applyRootElementTransform(this._activeTransform.x, this._activeTransform.y);\n            }\n        }\n    }\n    /** Gets the scroll position of the viewport. */\n    _getViewportScrollPosition() {\n        return (this._parentPositions.positions.get(this._document)?.scrollPosition ||\n            this._parentPositions.getViewportScrollPosition());\n    }\n    /**\n     * Lazily resolves and returns the shadow root of the element. We do this in a function, rather\n     * than saving it in property directly on init, because we want to resolve it as late as possible\n     * in order to ensure that the element has been moved into the shadow DOM. Doing it inside the\n     * constructor might be too early if the element is inside of something like `ngFor` or `ngIf`.\n     */\n    _getShadowRoot() {\n        if (this._cachedShadowRoot === undefined) {\n            this._cachedShadowRoot = _getShadowRoot(this._rootElement);\n        }\n        return this._cachedShadowRoot;\n    }\n    /** Gets the element into which the drag preview should be inserted. */\n    _getPreviewInsertionPoint(initialParent, shadowRoot) {\n        const previewContainer = this._previewContainer || 'global';\n        if (previewContainer === 'parent') {\n            return initialParent;\n        }\n        if (previewContainer === 'global') {\n            const documentRef = this._document;\n            // We can't use the body if the user is in fullscreen mode,\n            // because the preview will render under the fullscreen element.\n            // TODO(crisbeto): dedupe this with the `FullscreenOverlayContainer` eventually.\n            return (shadowRoot ||\n                documentRef.fullscreenElement ||\n                documentRef.webkitFullscreenElement ||\n                documentRef.mozFullScreenElement ||\n                documentRef.msFullscreenElement ||\n                documentRef.body);\n        }\n        return coerceElement(previewContainer);\n    }\n    /** Lazily resolves and returns the dimensions of the preview. */\n    _getPreviewRect() {\n        // Cache the preview element rect if we haven't cached it already or if\n        // we cached it too early before the element dimensions were computed.\n        if (!this._previewRect || (!this._previewRect.width && !this._previewRect.height)) {\n            this._previewRect = this._preview\n                ? this._preview.getBoundingClientRect()\n                : this._initialClientRect;\n        }\n        return this._previewRect;\n    }\n    /** Gets a handle that is the target of an event. */\n    _getTargetHandle(event) {\n        return this._handles.find(handle => {\n            return event.target && (event.target === handle || handle.contains(event.target));\n        });\n    }\n}\n/**\n * Gets a 3d `transform` that can be applied to an element.\n * @param x Desired position of the element along the X axis.\n * @param y Desired position of the element along the Y axis.\n */\nfunction getTransform(x, y) {\n    // Round the transforms since some browsers will\n    // blur the elements for sub-pixel transforms.\n    return `translate3d(${Math.round(x)}px, ${Math.round(y)}px, 0)`;\n}\n/** Clamps a value between a minimum and a maximum. */\nfunction clamp$1(value, min, max) {\n    return Math.max(min, Math.min(max, value));\n}\n/** Determines whether an event is a touch event. */\nfunction isTouchEvent(event) {\n    // This function is called for every pixel that the user has dragged so we need it to be\n    // as fast as possible. Since we only bind mouse events and touch events, we can assume\n    // that if the event's name starts with `t`, it's a touch event.\n    return event.type[0] === 't';\n}\n/**\n * Gets the root HTML element of an embedded view.\n * If the root is not an HTML element it gets wrapped in one.\n */\nfunction getRootNode(viewRef, _document) {\n    const rootNodes = viewRef.rootNodes;\n    if (rootNodes.length === 1 && rootNodes[0].nodeType === _document.ELEMENT_NODE) {\n        return rootNodes[0];\n    }\n    const wrapper = _document.createElement('div');\n    rootNodes.forEach(node => wrapper.appendChild(node));\n    return wrapper;\n}\n/**\n * Matches the target element's size to the source's size.\n * @param target Element that needs to be resized.\n * @param sourceRect Dimensions of the source element.\n */\nfunction matchElementSize(target, sourceRect) {\n    target.style.width = `${sourceRect.width}px`;\n    target.style.height = `${sourceRect.height}px`;\n    target.style.transform = getTransform(sourceRect.left, sourceRect.top);\n}\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * Moves an item one index in an array to another.\n * @param array Array in which to move the item.\n * @param fromIndex Starting index of the item.\n * @param toIndex Index to which the item should be moved.\n */\nfunction moveItemInArray(array, fromIndex, toIndex) {\n    const from = clamp(fromIndex, array.length - 1);\n    const to = clamp(toIndex, array.length - 1);\n    if (from === to) {\n        return;\n    }\n    const target = array[from];\n    const delta = to < from ? -1 : 1;\n    for (let i = from; i !== to; i += delta) {\n        array[i] = array[i + delta];\n    }\n    array[to] = target;\n}\n/**\n * Moves an item from one array to another.\n * @param currentArray Array from which to transfer the item.\n * @param targetArray Array into which to put the item.\n * @param currentIndex Index of the item in its current array.\n * @param targetIndex Index at which to insert the item.\n */\nfunction transferArrayItem(currentArray, targetArray, currentIndex, targetIndex) {\n    const from = clamp(currentIndex, currentArray.length - 1);\n    const to = clamp(targetIndex, targetArray.length);\n    if (currentArray.length) {\n        targetArray.splice(to, 0, currentArray.splice(from, 1)[0]);\n    }\n}\n/**\n * Copies an item from one array to another, leaving it in its\n * original position in current array.\n * @param currentArray Array from which to copy the item.\n * @param targetArray Array into which is copy the item.\n * @param currentIndex Index of the item in its current array.\n * @param targetIndex Index at which to insert the item.\n *\n */\nfunction copyArrayItem(currentArray, targetArray, currentIndex, targetIndex) {\n    const to = clamp(targetIndex, targetArray.length);\n    if (currentArray.length) {\n        targetArray.splice(to, 0, currentArray[currentIndex]);\n    }\n}\n/** Clamps a number between zero and a maximum. */\nfunction clamp(value, max) {\n    return Math.max(0, Math.min(max, value));\n}\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * Strategy that only supports sorting along a single axis.\n * Items are reordered using CSS transforms which allows for sorting to be animated.\n * @docs-private\n */\nclass SingleAxisSortStrategy {\n    constructor(_element, _dragDropRegistry) {\n        this._element = _element;\n        this._dragDropRegistry = _dragDropRegistry;\n        /** Cache of the dimensions of all the items inside the container. */\n        this._itemPositions = [];\n        /** Direction in which the list is oriented. */\n        this.orientation = 'vertical';\n        /**\n         * Keeps track of the item that was last swapped with the dragged item, as well as what direction\n         * the pointer was moving in when the swap occurred and whether the user's pointer continued to\n         * overlap with the swapped item after the swapping occurred.\n         */\n        this._previousSwap = {\n            drag: null,\n            delta: 0,\n            overlaps: false,\n        };\n    }\n    /**\n     * To be called when the drag sequence starts.\n     * @param items Items that are currently in the list.\n     */\n    start(items) {\n        this.withItems(items);\n    }\n    /**\n     * To be called when an item is being sorted.\n     * @param item Item to be sorted.\n     * @param pointerX Position of the item along the X axis.\n     * @param pointerY Position of the item along the Y axis.\n     * @param pointerDelta Direction in which the pointer is moving along each axis.\n     */\n    sort(item, pointerX, pointerY, pointerDelta) {\n        const siblings = this._itemPositions;\n        const newIndex = this._getItemIndexFromPointerPosition(item, pointerX, pointerY, pointerDelta);\n        if (newIndex === -1 && siblings.length > 0) {\n            return null;\n        }\n        const isHorizontal = this.orientation === 'horizontal';\n        const currentIndex = siblings.findIndex(currentItem => currentItem.drag === item);\n        const siblingAtNewPosition = siblings[newIndex];\n        const currentPosition = siblings[currentIndex].clientRect;\n        const newPosition = siblingAtNewPosition.clientRect;\n        const delta = currentIndex > newIndex ? 1 : -1;\n        // How many pixels the item's placeholder should be offset.\n        const itemOffset = this._getItemOffsetPx(currentPosition, newPosition, delta);\n        // How many pixels all the other items should be offset.\n        const siblingOffset = this._getSiblingOffsetPx(currentIndex, siblings, delta);\n        // Save the previous order of the items before moving the item to its new index.\n        // We use this to check whether an item has been moved as a result of the sorting.\n        const oldOrder = siblings.slice();\n        // Shuffle the array in place.\n        moveItemInArray(siblings, currentIndex, newIndex);\n        siblings.forEach((sibling, index) => {\n            // Don't do anything if the position hasn't changed.\n            if (oldOrder[index] === sibling) {\n                return;\n            }\n            const isDraggedItem = sibling.drag === item;\n            const offset = isDraggedItem ? itemOffset : siblingOffset;\n            const elementToOffset = isDraggedItem\n                ? item.getPlaceholderElement()\n                : sibling.drag.getRootElement();\n            // Update the offset to reflect the new position.\n            sibling.offset += offset;\n            // Since we're moving the items with a `transform`, we need to adjust their cached\n            // client rects to reflect their new position, as well as swap their positions in the cache.\n            // Note that we shouldn't use `getBoundingClientRect` here to update the cache, because the\n            // elements may be mid-animation which will give us a wrong result.\n            if (isHorizontal) {\n                // Round the transforms since some browsers will\n                // blur the elements, for sub-pixel transforms.\n                elementToOffset.style.transform = combineTransforms(`translate3d(${Math.round(sibling.offset)}px, 0, 0)`, sibling.initialTransform);\n                adjustClientRect(sibling.clientRect, 0, offset);\n            }\n            else {\n                elementToOffset.style.transform = combineTransforms(`translate3d(0, ${Math.round(sibling.offset)}px, 0)`, sibling.initialTransform);\n                adjustClientRect(sibling.clientRect, offset, 0);\n            }\n        });\n        // Note that it's important that we do this after the client rects have been adjusted.\n        this._previousSwap.overlaps = isInsideClientRect(newPosition, pointerX, pointerY);\n        this._previousSwap.drag = siblingAtNewPosition.drag;\n        this._previousSwap.delta = isHorizontal ? pointerDelta.x : pointerDelta.y;\n        return { previousIndex: currentIndex, currentIndex: newIndex };\n    }\n    /**\n     * Called when an item is being moved into the container.\n     * @param item Item that was moved into the container.\n     * @param pointerX Position of the item along the X axis.\n     * @param pointerY Position of the item along the Y axis.\n     * @param index Index at which the item entered. If omitted, the container will try to figure it\n     *   out automatically.\n     */\n    enter(item, pointerX, pointerY, index) {\n        const newIndex = index == null || index < 0\n            ? // We use the coordinates of where the item entered the drop\n                // zone to figure out at which index it should be inserted.\n                this._getItemIndexFromPointerPosition(item, pointerX, pointerY)\n            : index;\n        const activeDraggables = this._activeDraggables;\n        const currentIndex = activeDraggables.indexOf(item);\n        const placeholder = item.getPlaceholderElement();\n        let newPositionReference = activeDraggables[newIndex];\n        // If the item at the new position is the same as the item that is being dragged,\n        // it means that we're trying to restore the item to its initial position. In this\n        // case we should use the next item from the list as the reference.\n        if (newPositionReference === item) {\n            newPositionReference = activeDraggables[newIndex + 1];\n        }\n        // If we didn't find a new position reference, it means that either the item didn't start off\n        // in this container, or that the item requested to be inserted at the end of the list.\n        if (!newPositionReference &&\n            (newIndex == null || newIndex === -1 || newIndex < activeDraggables.length - 1) &&\n            this._shouldEnterAsFirstChild(pointerX, pointerY)) {\n            newPositionReference = activeDraggables[0];\n        }\n        // Since the item may be in the `activeDraggables` already (e.g. if the user dragged it\n        // into another container and back again), we have to ensure that it isn't duplicated.\n        if (currentIndex > -1) {\n            activeDraggables.splice(currentIndex, 1);\n        }\n        // Don't use items that are being dragged as a reference, because\n        // their element has been moved down to the bottom of the body.\n        if (newPositionReference && !this._dragDropRegistry.isDragging(newPositionReference)) {\n            const element = newPositionReference.getRootElement();\n            element.parentElement.insertBefore(placeholder, element);\n            activeDraggables.splice(newIndex, 0, item);\n        }\n        else {\n            coerceElement(this._element).appendChild(placeholder);\n            activeDraggables.push(item);\n        }\n        // The transform needs to be cleared so it doesn't throw off the measurements.\n        placeholder.style.transform = '';\n        // Note that usually `start` is called together with `enter` when an item goes into a new\n        // container. This will cache item positions, but we need to refresh them since the amount\n        // of items has changed.\n        this._cacheItemPositions();\n    }\n    /** Sets the items that are currently part of the list. */\n    withItems(items) {\n        this._activeDraggables = items.slice();\n        this._cacheItemPositions();\n    }\n    /** Assigns a sort predicate to the strategy. */\n    withSortPredicate(predicate) {\n        this._sortPredicate = predicate;\n    }\n    /** Resets the strategy to its initial state before dragging was started. */\n    reset() {\n        // TODO(crisbeto): may have to wait for the animations to finish.\n        this._activeDraggables.forEach(item => {\n            const rootElement = item.getRootElement();\n            if (rootElement) {\n                const initialTransform = this._itemPositions.find(p => p.drag === item)?.initialTransform;\n                rootElement.style.transform = initialTransform || '';\n            }\n        });\n        this._itemPositions = [];\n        this._activeDraggables = [];\n        this._previousSwap.drag = null;\n        this._previousSwap.delta = 0;\n        this._previousSwap.overlaps = false;\n    }\n    /**\n     * Gets a snapshot of items currently in the list.\n     * Can include items that we dragged in from another list.\n     */\n    getActiveItemsSnapshot() {\n        return this._activeDraggables;\n    }\n    /** Gets the index of a specific item. */\n    getItemIndex(item) {\n        // Items are sorted always by top/left in the cache, however they flow differently in RTL.\n        // The rest of the logic still stands no matter what orientation we're in, however\n        // we need to invert the array when determining the index.\n        const items = this.orientation === 'horizontal' && this.direction === 'rtl'\n            ? this._itemPositions.slice().reverse()\n            : this._itemPositions;\n        return items.findIndex(currentItem => currentItem.drag === item);\n    }\n    /** Used to notify the strategy that the scroll position has changed. */\n    updateOnScroll(topDifference, leftDifference) {\n        // Since we know the amount that the user has scrolled we can shift all of the\n        // client rectangles ourselves. This is cheaper than re-measuring everything and\n        // we can avoid inconsistent behavior where we might be measuring the element before\n        // its position has changed.\n        this._itemPositions.forEach(({ clientRect }) => {\n            adjustClientRect(clientRect, topDifference, leftDifference);\n        });\n        // We need two loops for this, because we want all of the cached\n        // positions to be up-to-date before we re-sort the item.\n        this._itemPositions.forEach(({ drag }) => {\n            if (this._dragDropRegistry.isDragging(drag)) {\n                // We need to re-sort the item manually, because the pointer move\n                // events won't be dispatched while the user is scrolling.\n                drag._sortFromLastPointerPosition();\n            }\n        });\n    }\n    /** Refreshes the position cache of the items and sibling containers. */\n    _cacheItemPositions() {\n        const isHorizontal = this.orientation === 'horizontal';\n        this._itemPositions = this._activeDraggables\n            .map(drag => {\n            const elementToMeasure = drag.getVisibleElement();\n            return {\n                drag,\n                offset: 0,\n                initialTransform: elementToMeasure.style.transform || '',\n                clientRect: getMutableClientRect(elementToMeasure),\n            };\n        })\n            .sort((a, b) => {\n            return isHorizontal\n                ? a.clientRect.left - b.clientRect.left\n                : a.clientRect.top - b.clientRect.top;\n        });\n    }\n    /**\n     * Gets the offset in pixels by which the item that is being dragged should be moved.\n     * @param currentPosition Current position of the item.\n     * @param newPosition Position of the item where the current item should be moved.\n     * @param delta Direction in which the user is moving.\n     */\n    _getItemOffsetPx(currentPosition, newPosition, delta) {\n        const isHorizontal = this.orientation === 'horizontal';\n        let itemOffset = isHorizontal\n            ? newPosition.left - currentPosition.left\n            : newPosition.top - currentPosition.top;\n        // Account for differences in the item width/height.\n        if (delta === -1) {\n            itemOffset += isHorizontal\n                ? newPosition.width - currentPosition.width\n                : newPosition.height - currentPosition.height;\n        }\n        return itemOffset;\n    }\n    /**\n     * Gets the offset in pixels by which the items that aren't being dragged should be moved.\n     * @param currentIndex Index of the item currently being dragged.\n     * @param siblings All of the items in the list.\n     * @param delta Direction in which the user is moving.\n     */\n    _getSiblingOffsetPx(currentIndex, siblings, delta) {\n        const isHorizontal = this.orientation === 'horizontal';\n        const currentPosition = siblings[currentIndex].clientRect;\n        const immediateSibling = siblings[currentIndex + delta * -1];\n        let siblingOffset = currentPosition[isHorizontal ? 'width' : 'height'] * delta;\n        if (immediateSibling) {\n            const start = isHorizontal ? 'left' : 'top';\n            const end = isHorizontal ? 'right' : 'bottom';\n            // Get the spacing between the start of the current item and the end of the one immediately\n            // after it in the direction in which the user is dragging, or vice versa. We add it to the\n            // offset in order to push the element to where it will be when it's inline and is influenced\n            // by the `margin` of its siblings.\n            if (delta === -1) {\n                siblingOffset -= immediateSibling.clientRect[start] - currentPosition[end];\n            }\n            else {\n                siblingOffset += currentPosition[start] - immediateSibling.clientRect[end];\n            }\n        }\n        return siblingOffset;\n    }\n    /**\n     * Checks if pointer is entering in the first position\n     * @param pointerX Position of the user's pointer along the X axis.\n     * @param pointerY Position of the user's pointer along the Y axis.\n     */\n    _shouldEnterAsFirstChild(pointerX, pointerY) {\n        if (!this._activeDraggables.length) {\n            return false;\n        }\n        const itemPositions = this._itemPositions;\n        const isHorizontal = this.orientation === 'horizontal';\n        // `itemPositions` are sorted by position while `activeDraggables` are sorted by child index\n        // check if container is using some sort of \"reverse\" ordering (eg: flex-direction: row-reverse)\n        const reversed = itemPositions[0].drag !== this._activeDraggables[0];\n        if (reversed) {\n            const lastItemRect = itemPositions[itemPositions.length - 1].clientRect;\n            return isHorizontal ? pointerX >= lastItemRect.right : pointerY >= lastItemRect.bottom;\n        }\n        else {\n            const firstItemRect = itemPositions[0].clientRect;\n            return isHorizontal ? pointerX <= firstItemRect.left : pointerY <= firstItemRect.top;\n        }\n    }\n    /**\n     * Gets the index of an item in the drop container, based on the position of the user's pointer.\n     * @param item Item that is being sorted.\n     * @param pointerX Position of the user's pointer along the X axis.\n     * @param pointerY Position of the user's pointer along the Y axis.\n     * @param delta Direction in which the user is moving their pointer.\n     */\n    _getItemIndexFromPointerPosition(item, pointerX, pointerY, delta) {\n        const isHorizontal = this.orientation === 'horizontal';\n        const index = this._itemPositions.findIndex(({ drag, clientRect }) => {\n            // Skip the item itself.\n            if (drag === item) {\n                return false;\n            }\n            if (delta) {\n                const direction = isHorizontal ? delta.x : delta.y;\n                // If the user is still hovering over the same item as last time, their cursor hasn't left\n                // the item after we made the swap, and they didn't change the direction in which they're\n                // dragging, we don't consider it a direction swap.\n                if (drag === this._previousSwap.drag &&\n                    this._previousSwap.overlaps &&\n                    direction === this._previousSwap.delta) {\n                    return false;\n                }\n            }\n            return isHorizontal\n                ? // Round these down since most browsers report client rects with\n                    // sub-pixel precision, whereas the pointer coordinates are rounded to pixels.\n                    pointerX >= Math.floor(clientRect.left) && pointerX < Math.floor(clientRect.right)\n                : pointerY >= Math.floor(clientRect.top) && pointerY < Math.floor(clientRect.bottom);\n        });\n        return index === -1 || !this._sortPredicate(index, item) ? -1 : index;\n    }\n}\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * Proximity, as a ratio to width/height, at which a\n * dragged item will affect the drop container.\n */\nconst DROP_PROXIMITY_THRESHOLD = 0.05;\n/**\n * Proximity, as a ratio to width/height at which to start auto-scrolling the drop list or the\n * viewport. The value comes from trying it out manually until it feels right.\n */\nconst SCROLL_PROXIMITY_THRESHOLD = 0.05;\n/**\n * Reference to a drop list. Used to manipulate or dispose of the container.\n */\nclass DropListRef {\n    constructor(element, _dragDropRegistry, _document, _ngZone, _viewportRuler) {\n        this._dragDropRegistry = _dragDropRegistry;\n        this._ngZone = _ngZone;\n        this._viewportRuler = _viewportRuler;\n        /** Whether starting a dragging sequence from this container is disabled. */\n        this.disabled = false;\n        /** Whether sorting items within the list is disabled. */\n        this.sortingDisabled = false;\n        /**\n         * Whether auto-scrolling the view when the user\n         * moves their pointer close to the edges is disabled.\n         */\n        this.autoScrollDisabled = false;\n        /** Number of pixels to scroll for each frame when auto-scrolling an element. */\n        this.autoScrollStep = 2;\n        /**\n         * Function that is used to determine whether an item\n         * is allowed to be moved into a drop container.\n         */\n        this.enterPredicate = () => true;\n        /** Function that is used to determine whether an item can be sorted into a particular index. */\n        this.sortPredicate = () => true;\n        /** Emits right before dragging has started. */\n        this.beforeStarted = new Subject();\n        /**\n         * Emits when the user has moved a new drag item into this container.\n         */\n        this.entered = new Subject();\n        /**\n         * Emits when the user removes an item from the container\n         * by dragging it into another container.\n         */\n        this.exited = new Subject();\n        /** Emits when the user drops an item inside the container. */\n        this.dropped = new Subject();\n        /** Emits as the user is swapping items while actively dragging. */\n        this.sorted = new Subject();\n        /** Emits when a dragging sequence is started in a list connected to the current one. */\n        this.receivingStarted = new Subject();\n        /** Emits when a dragging sequence is stopped from a list connected to the current one. */\n        this.receivingStopped = new Subject();\n        /** Whether an item in the list is being dragged. */\n        this._isDragging = false;\n        /** Draggable items in the container. */\n        this._draggables = [];\n        /** Drop lists that are connected to the current one. */\n        this._siblings = [];\n        /** Connected siblings that currently have a dragged item. */\n        this._activeSiblings = new Set();\n        /** Subscription to the window being scrolled. */\n        this._viewportScrollSubscription = Subscription.EMPTY;\n        /** Vertical direction in which the list is currently scrolling. */\n        this._verticalScrollDirection = 0 /* AutoScrollVerticalDirection.NONE */;\n        /** Horizontal direction in which the list is currently scrolling. */\n        this._horizontalScrollDirection = 0 /* AutoScrollHorizontalDirection.NONE */;\n        /** Used to signal to the current auto-scroll sequence when to stop. */\n        this._stopScrollTimers = new Subject();\n        /** Shadow root of the current element. Necessary for `elementFromPoint` to resolve correctly. */\n        this._cachedShadowRoot = null;\n        /** Starts the interval that'll auto-scroll the element. */\n        this._startScrollInterval = () => {\n            this._stopScrolling();\n            interval(0, animationFrameScheduler)\n                .pipe(takeUntil(this._stopScrollTimers))\n                .subscribe(() => {\n                const node = this._scrollNode;\n                const scrollStep = this.autoScrollStep;\n                if (this._verticalScrollDirection === 1 /* AutoScrollVerticalDirection.UP */) {\n                    node.scrollBy(0, -scrollStep);\n                }\n                else if (this._verticalScrollDirection === 2 /* AutoScrollVerticalDirection.DOWN */) {\n                    node.scrollBy(0, scrollStep);\n                }\n                if (this._horizontalScrollDirection === 1 /* AutoScrollHorizontalDirection.LEFT */) {\n                    node.scrollBy(-scrollStep, 0);\n                }\n                else if (this._horizontalScrollDirection === 2 /* AutoScrollHorizontalDirection.RIGHT */) {\n                    node.scrollBy(scrollStep, 0);\n                }\n            });\n        };\n        this.element = coerceElement(element);\n        this._document = _document;\n        this.withScrollableParents([this.element]);\n        _dragDropRegistry.registerDropContainer(this);\n        this._parentPositions = new ParentPositionTracker(_document);\n        this._sortStrategy = new SingleAxisSortStrategy(this.element, _dragDropRegistry);\n        this._sortStrategy.withSortPredicate((index, item) => this.sortPredicate(index, item, this));\n    }\n    /** Removes the drop list functionality from the DOM element. */\n    dispose() {\n        this._stopScrolling();\n        this._stopScrollTimers.complete();\n        this._viewportScrollSubscription.unsubscribe();\n        this.beforeStarted.complete();\n        this.entered.complete();\n        this.exited.complete();\n        this.dropped.complete();\n        this.sorted.complete();\n        this.receivingStarted.complete();\n        this.receivingStopped.complete();\n        this._activeSiblings.clear();\n        this._scrollNode = null;\n        this._parentPositions.clear();\n        this._dragDropRegistry.removeDropContainer(this);\n    }\n    /** Whether an item from this list is currently being dragged. */\n    isDragging() {\n        return this._isDragging;\n    }\n    /** Starts dragging an item. */\n    start() {\n        this._draggingStarted();\n        this._notifyReceivingSiblings();\n    }\n    /**\n     * Attempts to move an item into the container.\n     * @param item Item that was moved into the container.\n     * @param pointerX Position of the item along the X axis.\n     * @param pointerY Position of the item along the Y axis.\n     * @param index Index at which the item entered. If omitted, the container will try to figure it\n     *   out automatically.\n     */\n    enter(item, pointerX, pointerY, index) {\n        this._draggingStarted();\n        // If sorting is disabled, we want the item to return to its starting\n        // position if the user is returning it to its initial container.\n        if (index == null && this.sortingDisabled) {\n            index = this._draggables.indexOf(item);\n        }\n        this._sortStrategy.enter(item, pointerX, pointerY, index);\n        // Note that this usually happens inside `_draggingStarted` as well, but the dimensions\n        // can change when the sort strategy moves the item around inside `enter`.\n        this._cacheParentPositions();\n        // Notify siblings at the end so that the item has been inserted into the `activeDraggables`.\n        this._notifyReceivingSiblings();\n        this.entered.next({ item, container: this, currentIndex: this.getItemIndex(item) });\n    }\n    /**\n     * Removes an item from the container after it was dragged into another container by the user.\n     * @param item Item that was dragged out.\n     */\n    exit(item) {\n        this._reset();\n        this.exited.next({ item, container: this });\n    }\n    /**\n     * Drops an item into this container.\n     * @param item Item being dropped into the container.\n     * @param currentIndex Index at which the item should be inserted.\n     * @param previousIndex Index of the item when dragging started.\n     * @param previousContainer Container from which the item got dragged in.\n     * @param isPointerOverContainer Whether the user's pointer was over the\n     *    container when the item was dropped.\n     * @param distance Distance the user has dragged since the start of the dragging sequence.\n     * @param event Event that triggered the dropping sequence.\n     *\n     * @breaking-change 15.0.0 `previousIndex` and `event` parameters to become required.\n     */\n    drop(item, currentIndex, previousIndex, previousContainer, isPointerOverContainer, distance, dropPoint, event = {}) {\n        this._reset();\n        this.dropped.next({\n            item,\n            currentIndex,\n            previousIndex,\n            container: this,\n            previousContainer,\n            isPointerOverContainer,\n            distance,\n            dropPoint,\n            event,\n        });\n    }\n    /**\n     * Sets the draggable items that are a part of this list.\n     * @param items Items that are a part of this list.\n     */\n    withItems(items) {\n        const previousItems = this._draggables;\n        this._draggables = items;\n        items.forEach(item => item._withDropContainer(this));\n        if (this.isDragging()) {\n            const draggedItems = previousItems.filter(item => item.isDragging());\n            // If all of the items being dragged were removed\n            // from the list, abort the current drag sequence.\n            if (draggedItems.every(item => items.indexOf(item) === -1)) {\n                this._reset();\n            }\n            else {\n                this._sortStrategy.withItems(this._draggables);\n            }\n        }\n        return this;\n    }\n    /** Sets the layout direction of the drop list. */\n    withDirection(direction) {\n        this._sortStrategy.direction = direction;\n        return this;\n    }\n    /**\n     * Sets the containers that are connected to this one. When two or more containers are\n     * connected, the user will be allowed to transfer items between them.\n     * @param connectedTo Other containers that the current containers should be connected to.\n     */\n    connectedTo(connectedTo) {\n        this._siblings = connectedTo.slice();\n        return this;\n    }\n    /**\n     * Sets the orientation of the container.\n     * @param orientation New orientation for the container.\n     */\n    withOrientation(orientation) {\n        // TODO(crisbeto): eventually we should be constructing the new sort strategy here based on\n        // the new orientation. For now we can assume that it'll always be `SingleAxisSortStrategy`.\n        this._sortStrategy.orientation = orientation;\n        return this;\n    }\n    /**\n     * Sets which parent elements are can be scrolled while the user is dragging.\n     * @param elements Elements that can be scrolled.\n     */\n    withScrollableParents(elements) {\n        const element = coerceElement(this.element);\n        // We always allow the current element to be scrollable\n        // so we need to ensure that it's in the array.\n        this._scrollableElements =\n            elements.indexOf(element) === -1 ? [element, ...elements] : elements.slice();\n        return this;\n    }\n    /** Gets the scrollable parents that are registered with this drop container. */\n    getScrollableParents() {\n        return this._scrollableElements;\n    }\n    /**\n     * Figures out the index of an item in the container.\n     * @param item Item whose index should be determined.\n     */\n    getItemIndex(item) {\n        return this._isDragging\n            ? this._sortStrategy.getItemIndex(item)\n            : this._draggables.indexOf(item);\n    }\n    /**\n     * Whether the list is able to receive the item that\n     * is currently being dragged inside a connected drop list.\n     */\n    isReceiving() {\n        return this._activeSiblings.size > 0;\n    }\n    /**\n     * Sorts an item inside the container based on its position.\n     * @param item Item to be sorted.\n     * @param pointerX Position of the item along the X axis.\n     * @param pointerY Position of the item along the Y axis.\n     * @param pointerDelta Direction in which the pointer is moving along each axis.\n     */\n    _sortItem(item, pointerX, pointerY, pointerDelta) {\n        // Don't sort the item if sorting is disabled or it's out of range.\n        if (this.sortingDisabled ||\n            !this._clientRect ||\n            !isPointerNearClientRect(this._clientRect, DROP_PROXIMITY_THRESHOLD, pointerX, pointerY)) {\n            return;\n        }\n        const result = this._sortStrategy.sort(item, pointerX, pointerY, pointerDelta);\n        if (result) {\n            this.sorted.next({\n                previousIndex: result.previousIndex,\n                currentIndex: result.currentIndex,\n                container: this,\n                item,\n            });\n        }\n    }\n    /**\n     * Checks whether the user's pointer is close to the edges of either the\n     * viewport or the drop list and starts the auto-scroll sequence.\n     * @param pointerX User's pointer position along the x axis.\n     * @param pointerY User's pointer position along the y axis.\n     */\n    _startScrollingIfNecessary(pointerX, pointerY) {\n        if (this.autoScrollDisabled) {\n            return;\n        }\n        let scrollNode;\n        let verticalScrollDirection = 0 /* AutoScrollVerticalDirection.NONE */;\n        let horizontalScrollDirection = 0 /* AutoScrollHorizontalDirection.NONE */;\n        // Check whether we should start scrolling any of the parent containers.\n        this._parentPositions.positions.forEach((position, element) => {\n            // We have special handling for the `document` below. Also this would be\n            // nicer with a  for...of loop, but it requires changing a compiler flag.\n            if (element === this._document || !position.clientRect || scrollNode) {\n                return;\n            }\n            if (isPointerNearClientRect(position.clientRect, DROP_PROXIMITY_THRESHOLD, pointerX, pointerY)) {\n                [verticalScrollDirection, horizontalScrollDirection] = getElementScrollDirections(element, position.clientRect, pointerX, pointerY);\n                if (verticalScrollDirection || horizontalScrollDirection) {\n                    scrollNode = element;\n                }\n            }\n        });\n        // Otherwise check if we can start scrolling the viewport.\n        if (!verticalScrollDirection && !horizontalScrollDirection) {\n            const { width, height } = this._viewportRuler.getViewportSize();\n            const clientRect = {\n                width,\n                height,\n                top: 0,\n                right: width,\n                bottom: height,\n                left: 0,\n            };\n            verticalScrollDirection = getVerticalScrollDirection(clientRect, pointerY);\n            horizontalScrollDirection = getHorizontalScrollDirection(clientRect, pointerX);\n            scrollNode = window;\n        }\n        if (scrollNode &&\n            (verticalScrollDirection !== this._verticalScrollDirection ||\n                horizontalScrollDirection !== this._horizontalScrollDirection ||\n                scrollNode !== this._scrollNode)) {\n            this._verticalScrollDirection = verticalScrollDirection;\n            this._horizontalScrollDirection = horizontalScrollDirection;\n            this._scrollNode = scrollNode;\n            if ((verticalScrollDirection || horizontalScrollDirection) && scrollNode) {\n                this._ngZone.runOutsideAngular(this._startScrollInterval);\n            }\n            else {\n                this._stopScrolling();\n            }\n        }\n    }\n    /** Stops any currently-running auto-scroll sequences. */\n    _stopScrolling() {\n        this._stopScrollTimers.next();\n    }\n    /** Starts the dragging sequence within the list. */\n    _draggingStarted() {\n        const styles = coerceElement(this.element).style;\n        this.beforeStarted.next();\n        this._isDragging = true;\n        // We need to disable scroll snapping while the user is dragging, because it breaks automatic\n        // scrolling. The browser seems to round the value based on the snapping points which means\n        // that we can't increment/decrement the scroll position.\n        this._initialScrollSnap = styles.msScrollSnapType || styles.scrollSnapType || '';\n        styles.scrollSnapType = styles.msScrollSnapType = 'none';\n        this._sortStrategy.start(this._draggables);\n        this._cacheParentPositions();\n        this._viewportScrollSubscription.unsubscribe();\n        this._listenToScrollEvents();\n    }\n    /** Caches the positions of the configured scrollable parents. */\n    _cacheParentPositions() {\n        const element = coerceElement(this.element);\n        this._parentPositions.cache(this._scrollableElements);\n        // The list element is always in the `scrollableElements`\n        // so we can take advantage of the cached `ClientRect`.\n        this._clientRect = this._parentPositions.positions.get(element).clientRect;\n    }\n    /** Resets the container to its initial state. */\n    _reset() {\n        this._isDragging = false;\n        const styles = coerceElement(this.element).style;\n        styles.scrollSnapType = styles.msScrollSnapType = this._initialScrollSnap;\n        this._siblings.forEach(sibling => sibling._stopReceiving(this));\n        this._sortStrategy.reset();\n        this._stopScrolling();\n        this._viewportScrollSubscription.unsubscribe();\n        this._parentPositions.clear();\n    }\n    /**\n     * Checks whether the user's pointer is positioned over the container.\n     * @param x Pointer position along the X axis.\n     * @param y Pointer position along the Y axis.\n     */\n    _isOverContainer(x, y) {\n        return this._clientRect != null && isInsideClientRect(this._clientRect, x, y);\n    }\n    /**\n     * Figures out whether an item should be moved into a sibling\n     * drop container, based on its current position.\n     * @param item Drag item that is being moved.\n     * @param x Position of the item along the X axis.\n     * @param y Position of the item along the Y axis.\n     */\n    _getSiblingContainerFromPosition(item, x, y) {\n        return this._siblings.find(sibling => sibling._canReceive(item, x, y));\n    }\n    /**\n     * Checks whether the drop list can receive the passed-in item.\n     * @param item Item that is being dragged into the list.\n     * @param x Position of the item along the X axis.\n     * @param y Position of the item along the Y axis.\n     */\n    _canReceive(item, x, y) {\n        if (!this._clientRect ||\n            !isInsideClientRect(this._clientRect, x, y) ||\n            !this.enterPredicate(item, this)) {\n            return false;\n        }\n        const elementFromPoint = this._getShadowRoot().elementFromPoint(x, y);\n        // If there's no element at the pointer position, then\n        // the client rect is probably scrolled out of the view.\n        if (!elementFromPoint) {\n            return false;\n        }\n        const nativeElement = coerceElement(this.element);\n        // The `ClientRect`, that we're using to find the container over which the user is\n        // hovering, doesn't give us any information on whether the element has been scrolled\n        // out of the view or whether it's overlapping with other containers. This means that\n        // we could end up transferring the item into a container that's invisible or is positioned\n        // below another one. We use the result from `elementFromPoint` to get the top-most element\n        // at the pointer position and to find whether it's one of the intersecting drop containers.\n        return elementFromPoint === nativeElement || nativeElement.contains(elementFromPoint);\n    }\n    /**\n     * Called by one of the connected drop lists when a dragging sequence has started.\n     * @param sibling Sibling in which dragging has started.\n     */\n    _startReceiving(sibling, items) {\n        const activeSiblings = this._activeSiblings;\n        if (!activeSiblings.has(sibling) &&\n            items.every(item => {\n                // Note that we have to add an exception to the `enterPredicate` for items that started off\n                // in this drop list. The drag ref has logic that allows an item to return to its initial\n                // container, if it has left the initial container and none of the connected containers\n                // allow it to enter. See `DragRef._updateActiveDropContainer` for more context.\n                return this.enterPredicate(item, this) || this._draggables.indexOf(item) > -1;\n            })) {\n            activeSiblings.add(sibling);\n            this._cacheParentPositions();\n            this._listenToScrollEvents();\n            this.receivingStarted.next({\n                initiator: sibling,\n                receiver: this,\n                items,\n            });\n        }\n    }\n    /**\n     * Called by a connected drop list when dragging has stopped.\n     * @param sibling Sibling whose dragging has stopped.\n     */\n    _stopReceiving(sibling) {\n        this._activeSiblings.delete(sibling);\n        this._viewportScrollSubscription.unsubscribe();\n        this.receivingStopped.next({ initiator: sibling, receiver: this });\n    }\n    /**\n     * Starts listening to scroll events on the viewport.\n     * Used for updating the internal state of the list.\n     */\n    _listenToScrollEvents() {\n        this._viewportScrollSubscription = this._dragDropRegistry\n            .scrolled(this._getShadowRoot())\n            .subscribe(event => {\n            if (this.isDragging()) {\n                const scrollDifference = this._parentPositions.handleScroll(event);\n                if (scrollDifference) {\n                    this._sortStrategy.updateOnScroll(scrollDifference.top, scrollDifference.left);\n                }\n            }\n            else if (this.isReceiving()) {\n                this._cacheParentPositions();\n            }\n        });\n    }\n    /**\n     * Lazily resolves and returns the shadow root of the element. We do this in a function, rather\n     * than saving it in property directly on init, because we want to resolve it as late as possible\n     * in order to ensure that the element has been moved into the shadow DOM. Doing it inside the\n     * constructor might be too early if the element is inside of something like `ngFor` or `ngIf`.\n     */\n    _getShadowRoot() {\n        if (!this._cachedShadowRoot) {\n            const shadowRoot = _getShadowRoot(coerceElement(this.element));\n            this._cachedShadowRoot = (shadowRoot || this._document);\n        }\n        return this._cachedShadowRoot;\n    }\n    /** Notifies any siblings that may potentially receive the item. */\n    _notifyReceivingSiblings() {\n        const draggedItems = this._sortStrategy\n            .getActiveItemsSnapshot()\n            .filter(item => item.isDragging());\n        this._siblings.forEach(sibling => sibling._startReceiving(this, draggedItems));\n    }\n}\n/**\n * Gets whether the vertical auto-scroll direction of a node.\n * @param clientRect Dimensions of the node.\n * @param pointerY Position of the user's pointer along the y axis.\n */\nfunction getVerticalScrollDirection(clientRect, pointerY) {\n    const { top, bottom, height } = clientRect;\n    const yThreshold = height * SCROLL_PROXIMITY_THRESHOLD;\n    if (pointerY >= top - yThreshold && pointerY <= top + yThreshold) {\n        return 1 /* AutoScrollVerticalDirection.UP */;\n    }\n    else if (pointerY >= bottom - yThreshold && pointerY <= bottom + yThreshold) {\n        return 2 /* AutoScrollVerticalDirection.DOWN */;\n    }\n    return 0 /* AutoScrollVerticalDirection.NONE */;\n}\n/**\n * Gets whether the horizontal auto-scroll direction of a node.\n * @param clientRect Dimensions of the node.\n * @param pointerX Position of the user's pointer along the x axis.\n */\nfunction getHorizontalScrollDirection(clientRect, pointerX) {\n    const { left, right, width } = clientRect;\n    const xThreshold = width * SCROLL_PROXIMITY_THRESHOLD;\n    if (pointerX >= left - xThreshold && pointerX <= left + xThreshold) {\n        return 1 /* AutoScrollHorizontalDirection.LEFT */;\n    }\n    else if (pointerX >= right - xThreshold && pointerX <= right + xThreshold) {\n        return 2 /* AutoScrollHorizontalDirection.RIGHT */;\n    }\n    return 0 /* AutoScrollHorizontalDirection.NONE */;\n}\n/**\n * Gets the directions in which an element node should be scrolled,\n * assuming that the user's pointer is already within it scrollable region.\n * @param element Element for which we should calculate the scroll direction.\n * @param clientRect Bounding client rectangle of the element.\n * @param pointerX Position of the user's pointer along the x axis.\n * @param pointerY Position of the user's pointer along the y axis.\n */\nfunction getElementScrollDirections(element, clientRect, pointerX, pointerY) {\n    const computedVertical = getVerticalScrollDirection(clientRect, pointerY);\n    const computedHorizontal = getHorizontalScrollDirection(clientRect, pointerX);\n    let verticalScrollDirection = 0 /* AutoScrollVerticalDirection.NONE */;\n    let horizontalScrollDirection = 0 /* AutoScrollHorizontalDirection.NONE */;\n    // Note that we here we do some extra checks for whether the element is actually scrollable in\n    // a certain direction and we only assign the scroll direction if it is. We do this so that we\n    // can allow other elements to be scrolled, if the current element can't be scrolled anymore.\n    // This allows us to handle cases where the scroll regions of two scrollable elements overlap.\n    if (computedVertical) {\n        const scrollTop = element.scrollTop;\n        if (computedVertical === 1 /* AutoScrollVerticalDirection.UP */) {\n            if (scrollTop > 0) {\n                verticalScrollDirection = 1 /* AutoScrollVerticalDirection.UP */;\n            }\n        }\n        else if (element.scrollHeight - scrollTop > element.clientHeight) {\n            verticalScrollDirection = 2 /* AutoScrollVerticalDirection.DOWN */;\n        }\n    }\n    if (computedHorizontal) {\n        const scrollLeft = element.scrollLeft;\n        if (computedHorizontal === 1 /* AutoScrollHorizontalDirection.LEFT */) {\n            if (scrollLeft > 0) {\n                horizontalScrollDirection = 1 /* AutoScrollHorizontalDirection.LEFT */;\n            }\n        }\n        else if (element.scrollWidth - scrollLeft > element.clientWidth) {\n            horizontalScrollDirection = 2 /* AutoScrollHorizontalDirection.RIGHT */;\n        }\n    }\n    return [verticalScrollDirection, horizontalScrollDirection];\n}\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/** Event options that can be used to bind an active, capturing event. */\nconst activeCapturingEventOptions = normalizePassiveListenerOptions({\n    passive: false,\n    capture: true,\n});\n/**\n * Service that keeps track of all the drag item and drop container\n * instances, and manages global event listeners on the `document`.\n * @docs-private\n */\n// Note: this class is generic, rather than referencing CdkDrag and CdkDropList directly, in order\n// to avoid circular imports. If we were to reference them here, importing the registry into the\n// classes that are registering themselves will introduce a circular import.\nclass DragDropRegistry {\n    constructor(_ngZone, _document) {\n        this._ngZone = _ngZone;\n        /** Registered drop container instances. */\n        this._dropInstances = new Set();\n        /** Registered drag item instances. */\n        this._dragInstances = new Set();\n        /** Drag item instances that are currently being dragged. */\n        this._activeDragInstances = [];\n        /** Keeps track of the event listeners that we've bound to the `document`. */\n        this._globalListeners = new Map();\n        /**\n         * Predicate function to check if an item is being dragged.  Moved out into a property,\n         * because it'll be called a lot and we don't want to create a new function every time.\n         */\n        this._draggingPredicate = (item) => item.isDragging();\n        /**\n         * Emits the `touchmove` or `mousemove` events that are dispatched\n         * while the user is dragging a drag item instance.\n         */\n        this.pointerMove = new Subject();\n        /**\n         * Emits the `touchend` or `mouseup` events that are dispatched\n         * while the user is dragging a drag item instance.\n         */\n        this.pointerUp = new Subject();\n        /**\n         * Emits when the viewport has been scrolled while the user is dragging an item.\n         * @deprecated To be turned into a private member. Use the `scrolled` method instead.\n         * @breaking-change 13.0.0\n         */\n        this.scroll = new Subject();\n        /**\n         * Event listener that will prevent the default browser action while the user is dragging.\n         * @param event Event whose default action should be prevented.\n         */\n        this._preventDefaultWhileDragging = (event) => {\n            if (this._activeDragInstances.length > 0) {\n                event.preventDefault();\n            }\n        };\n        /** Event listener for `touchmove` that is bound even if no dragging is happening. */\n        this._persistentTouchmoveListener = (event) => {\n            if (this._activeDragInstances.length > 0) {\n                // Note that we only want to prevent the default action after dragging has actually started.\n                // Usually this is the same time at which the item is added to the `_activeDragInstances`,\n                // but it could be pushed back if the user has set up a drag delay or threshold.\n                if (this._activeDragInstances.some(this._draggingPredicate)) {\n                    event.preventDefault();\n                }\n                this.pointerMove.next(event);\n            }\n        };\n        this._document = _document;\n    }\n    /** Adds a drop container to the registry. */\n    registerDropContainer(drop) {\n        if (!this._dropInstances.has(drop)) {\n            this._dropInstances.add(drop);\n        }\n    }\n    /** Adds a drag item instance to the registry. */\n    registerDragItem(drag) {\n        this._dragInstances.add(drag);\n        // The `touchmove` event gets bound once, ahead of time, because WebKit\n        // won't preventDefault on a dynamically-added `touchmove` listener.\n        // See https://bugs.webkit.org/show_bug.cgi?id=184250.\n        if (this._dragInstances.size === 1) {\n            this._ngZone.runOutsideAngular(() => {\n                // The event handler has to be explicitly active,\n                // because newer browsers make it passive by default.\n                this._document.addEventListener('touchmove', this._persistentTouchmoveListener, activeCapturingEventOptions);\n            });\n        }\n    }\n    /** Removes a drop container from the registry. */\n    removeDropContainer(drop) {\n        this._dropInstances.delete(drop);\n    }\n    /** Removes a drag item instance from the registry. */\n    removeDragItem(drag) {\n        this._dragInstances.delete(drag);\n        this.stopDragging(drag);\n        if (this._dragInstances.size === 0) {\n            this._document.removeEventListener('touchmove', this._persistentTouchmoveListener, activeCapturingEventOptions);\n        }\n    }\n    /**\n     * Starts the dragging sequence for a drag instance.\n     * @param drag Drag instance which is being dragged.\n     * @param event Event that initiated the dragging.\n     */\n    startDragging(drag, event) {\n        // Do not process the same drag twice to avoid memory leaks and redundant listeners\n        if (this._activeDragInstances.indexOf(drag) > -1) {\n            return;\n        }\n        this._activeDragInstances.push(drag);\n        if (this._activeDragInstances.length === 1) {\n            const isTouchEvent = event.type.startsWith('touch');\n            // We explicitly bind __active__ listeners here, because newer browsers will default to\n            // passive ones for `mousemove` and `touchmove`. The events need to be active, because we\n            // use `preventDefault` to prevent the page from scrolling while the user is dragging.\n            this._globalListeners\n                .set(isTouchEvent ? 'touchend' : 'mouseup', {\n                handler: (e) => this.pointerUp.next(e),\n                options: true,\n            })\n                .set('scroll', {\n                handler: (e) => this.scroll.next(e),\n                // Use capturing so that we pick up scroll changes in any scrollable nodes that aren't\n                // the document. See https://github.com/angular/components/issues/17144.\n                options: true,\n            })\n                // Preventing the default action on `mousemove` isn't enough to disable text selection\n                // on Safari so we need to prevent the selection event as well. Alternatively this can\n                // be done by setting `user-select: none` on the `body`, however it has causes a style\n                // recalculation which can be expensive on pages with a lot of elements.\n                .set('selectstart', {\n                handler: this._preventDefaultWhileDragging,\n                options: activeCapturingEventOptions,\n            });\n            // We don't have to bind a move event for touch drag sequences, because\n            // we already have a persistent global one bound from `registerDragItem`.\n            if (!isTouchEvent) {\n                this._globalListeners.set('mousemove', {\n                    handler: (e) => this.pointerMove.next(e),\n                    options: activeCapturingEventOptions,\n                });\n            }\n            this._ngZone.runOutsideAngular(() => {\n                this._globalListeners.forEach((config, name) => {\n                    this._document.addEventListener(name, config.handler, config.options);\n                });\n            });\n        }\n    }\n    /** Stops dragging a drag item instance. */\n    stopDragging(drag) {\n        const index = this._activeDragInstances.indexOf(drag);\n        if (index > -1) {\n            this._activeDragInstances.splice(index, 1);\n            if (this._activeDragInstances.length === 0) {\n                this._clearGlobalListeners();\n            }\n        }\n    }\n    /** Gets whether a drag item instance is currently being dragged. */\n    isDragging(drag) {\n        return this._activeDragInstances.indexOf(drag) > -1;\n    }\n    /**\n     * Gets a stream that will emit when any element on the page is scrolled while an item is being\n     * dragged.\n     * @param shadowRoot Optional shadow root that the current dragging sequence started from.\n     *   Top-level listeners won't pick up events coming from the shadow DOM so this parameter can\n     *   be used to include an additional top-level listener at the shadow root level.\n     */\n    scrolled(shadowRoot) {\n        const streams = [this.scroll];\n        if (shadowRoot && shadowRoot !== this._document) {\n            // Note that this is basically the same as `fromEvent` from rxjs, but we do it ourselves,\n            // because we want to guarantee that the event is bound outside of the `NgZone`. With\n            // `fromEvent` it'll only happen if the subscription is outside the `NgZone`.\n            streams.push(new Observable((observer) => {\n                return this._ngZone.runOutsideAngular(() => {\n                    const eventOptions = true;\n                    const callback = (event) => {\n                        if (this._activeDragInstances.length) {\n                            observer.next(event);\n                        }\n                    };\n                    shadowRoot.addEventListener('scroll', callback, eventOptions);\n                    return () => {\n                        shadowRoot.removeEventListener('scroll', callback, eventOptions);\n                    };\n                });\n            }));\n        }\n        return merge(...streams);\n    }\n    ngOnDestroy() {\n        this._dragInstances.forEach(instance => this.removeDragItem(instance));\n        this._dropInstances.forEach(instance => this.removeDropContainer(instance));\n        this._clearGlobalListeners();\n        this.pointerMove.complete();\n        this.pointerUp.complete();\n    }\n    /** Clears out the global event listeners from the `document`. */\n    _clearGlobalListeners() {\n        this._globalListeners.forEach((config, name) => {\n            this._document.removeEventListener(name, config.handler, config.options);\n        });\n        this._globalListeners.clear();\n    }\n}\nDragDropRegistry.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: DragDropRegistry, deps: [{ token: i0.NgZone }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });\nDragDropRegistry.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: DragDropRegistry, providedIn: 'root' });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: DragDropRegistry, decorators: [{\n            type: Injectable,\n            args: [{ providedIn: 'root' }]\n        }], ctorParameters: function () { return [{ type: i0.NgZone }, { type: undefined, decorators: [{\n                    type: Inject,\n                    args: [DOCUMENT]\n                }] }]; } });\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/** Default configuration to be used when creating a `DragRef`. */\nconst DEFAULT_CONFIG = {\n    dragStartThreshold: 5,\n    pointerDirectionChangeThreshold: 5,\n};\n/**\n * Service that allows for drag-and-drop functionality to be attached to DOM elements.\n */\nclass DragDrop {\n    constructor(_document, _ngZone, _viewportRuler, _dragDropRegistry) {\n        this._document = _document;\n        this._ngZone = _ngZone;\n        this._viewportRuler = _viewportRuler;\n        this._dragDropRegistry = _dragDropRegistry;\n    }\n    /**\n     * Turns an element into a draggable item.\n     * @param element Element to which to attach the dragging functionality.\n     * @param config Object used to configure the dragging behavior.\n     */\n    createDrag(element, config = DEFAULT_CONFIG) {\n        return new DragRef(element, config, this._document, this._ngZone, this._viewportRuler, this._dragDropRegistry);\n    }\n    /**\n     * Turns an element into a drop list.\n     * @param element Element to which to attach the drop list functionality.\n     */\n    createDropList(element) {\n        return new DropListRef(element, this._dragDropRegistry, this._document, this._ngZone, this._viewportRuler);\n    }\n}\nDragDrop.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: DragDrop, deps: [{ token: DOCUMENT }, { token: i0.NgZone }, { token: i1.ViewportRuler }, { token: DragDropRegistry }], target: i0.ɵɵFactoryTarget.Injectable });\nDragDrop.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: DragDrop, providedIn: 'root' });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: DragDrop, decorators: [{\n            type: Injectable,\n            args: [{ providedIn: 'root' }]\n        }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n                    type: Inject,\n                    args: [DOCUMENT]\n                }] }, { type: i0.NgZone }, { type: i1.ViewportRuler }, { type: DragDropRegistry }]; } });\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * Injection token that can be used for a `CdkDrag` to provide itself as a parent to the\n * drag-specific child directive (`CdkDragHandle`, `CdkDragPreview` etc.). Used primarily\n * to avoid circular imports.\n * @docs-private\n */\nconst CDK_DRAG_PARENT = new InjectionToken('CDK_DRAG_PARENT');\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * Injection token that can be used to reference instances of `CdkDropListGroup`. It serves as\n * alternative token to the actual `CdkDropListGroup` class which could cause unnecessary\n * retention of the class and its directive metadata.\n */\nconst CDK_DROP_LIST_GROUP = new InjectionToken('CdkDropListGroup');\n/**\n * Declaratively connects sibling `cdkDropList` instances together. All of the `cdkDropList`\n * elements that are placed inside a `cdkDropListGroup` will be connected to each other\n * automatically. Can be used as an alternative to the `cdkDropListConnectedTo` input\n * from `cdkDropList`.\n */\nclass CdkDropListGroup {\n    constructor() {\n        /** Drop lists registered inside the group. */\n        this._items = new Set();\n        this._disabled = false;\n    }\n    /** Whether starting a dragging sequence from inside this group is disabled. */\n    get disabled() {\n        return this._disabled;\n    }\n    set disabled(value) {\n        this._disabled = coerceBooleanProperty(value);\n    }\n    ngOnDestroy() {\n        this._items.clear();\n    }\n}\nCdkDropListGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: CdkDropListGroup, deps: [], target: i0.ɵɵFactoryTarget.Directive });\nCdkDropListGroup.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.2.0-rc.0\", type: CdkDropListGroup, isStandalone: true, selector: \"[cdkDropListGroup]\", inputs: { disabled: [\"cdkDropListGroupDisabled\", \"disabled\"] }, providers: [{ provide: CDK_DROP_LIST_GROUP, useExisting: CdkDropListGroup }], exportAs: [\"cdkDropListGroup\"], ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: CdkDropListGroup, decorators: [{\n            type: Directive,\n            args: [{\n                    selector: '[cdkDropListGroup]',\n                    exportAs: 'cdkDropListGroup',\n                    standalone: true,\n                    providers: [{ provide: CDK_DROP_LIST_GROUP, useExisting: CdkDropListGroup }],\n                }]\n        }], propDecorators: { disabled: [{\n                type: Input,\n                args: ['cdkDropListGroupDisabled']\n            }] } });\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * Injection token that can be used to configure the\n * behavior of the drag&drop-related components.\n */\nconst CDK_DRAG_CONFIG = new InjectionToken('CDK_DRAG_CONFIG');\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * Asserts that a particular node is an element.\n * @param node Node to be checked.\n * @param name Name to attach to the error message.\n */\nfunction assertElementNode(node, name) {\n    if (node.nodeType !== 1) {\n        throw Error(`${name} must be attached to an element node. ` + `Currently attached to \"${node.nodeName}\".`);\n    }\n}\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/** Counter used to generate unique ids for drop zones. */\nlet _uniqueIdCounter = 0;\n/**\n * Injection token that can be used to reference instances of `CdkDropList`. It serves as\n * alternative token to the actual `CdkDropList` class which could cause unnecessary\n * retention of the class and its directive metadata.\n */\nconst CDK_DROP_LIST = new InjectionToken('CdkDropList');\n/** Container that wraps a set of draggable items. */\nclass CdkDropList {\n    /** Whether starting a dragging sequence from this container is disabled. */\n    get disabled() {\n        return this._disabled || (!!this._group && this._group.disabled);\n    }\n    set disabled(value) {\n        // Usually we sync the directive and ref state right before dragging starts, in order to have\n        // a single point of failure and to avoid having to use setters for everything. `disabled` is\n        // a special case, because it can prevent the `beforeStarted` event from firing, which can lock\n        // the user in a disabled state, so we also need to sync it as it's being set.\n        this._dropListRef.disabled = this._disabled = coerceBooleanProperty(value);\n    }\n    constructor(\n    /** Element that the drop list is attached to. */\n    element, dragDrop, _changeDetectorRef, _scrollDispatcher, _dir, _group, config) {\n        this.element = element;\n        this._changeDetectorRef = _changeDetectorRef;\n        this._scrollDispatcher = _scrollDispatcher;\n        this._dir = _dir;\n        this._group = _group;\n        /** Emits when the list has been destroyed. */\n        this._destroyed = new Subject();\n        /**\n         * Other draggable containers that this container is connected to and into which the\n         * container's items can be transferred. Can either be references to other drop containers,\n         * or their unique IDs.\n         */\n        this.connectedTo = [];\n        /**\n         * Unique ID for the drop zone. Can be used as a reference\n         * in the `connectedTo` of another `CdkDropList`.\n         */\n        this.id = `cdk-drop-list-${_uniqueIdCounter++}`;\n        /**\n         * Function that is used to determine whether an item\n         * is allowed to be moved into a drop container.\n         */\n        this.enterPredicate = () => true;\n        /** Functions that is used to determine whether an item can be sorted into a particular index. */\n        this.sortPredicate = () => true;\n        /** Emits when the user drops an item inside the container. */\n        this.dropped = new EventEmitter();\n        /**\n         * Emits when the user has moved a new drag item into this container.\n         */\n        this.entered = new EventEmitter();\n        /**\n         * Emits when the user removes an item from the container\n         * by dragging it into another container.\n         */\n        this.exited = new EventEmitter();\n        /** Emits as the user is swapping items while actively dragging. */\n        this.sorted = new EventEmitter();\n        /**\n         * Keeps track of the items that are registered with this container. Historically we used to\n         * do this with a `ContentChildren` query, however queries don't handle transplanted views very\n         * well which means that we can't handle cases like dragging the headers of a `mat-table`\n         * correctly. What we do instead is to have the items register themselves with the container\n         * and then we sort them based on their position in the DOM.\n         */\n        this._unsortedItems = new Set();\n        if (typeof ngDevMode === 'undefined' || ngDevMode) {\n            assertElementNode(element.nativeElement, 'cdkDropList');\n        }\n        this._dropListRef = dragDrop.createDropList(element);\n        this._dropListRef.data = this;\n        if (config) {\n            this._assignDefaults(config);\n        }\n        this._dropListRef.enterPredicate = (drag, drop) => {\n            return this.enterPredicate(drag.data, drop.data);\n        };\n        this._dropListRef.sortPredicate = (index, drag, drop) => {\n            return this.sortPredicate(index, drag.data, drop.data);\n        };\n        this._setupInputSyncSubscription(this._dropListRef);\n        this._handleEvents(this._dropListRef);\n        CdkDropList._dropLists.push(this);\n        if (_group) {\n            _group._items.add(this);\n        }\n    }\n    /** Registers an items with the drop list. */\n    addItem(item) {\n        this._unsortedItems.add(item);\n        if (this._dropListRef.isDragging()) {\n            this._syncItemsWithRef();\n        }\n    }\n    /** Removes an item from the drop list. */\n    removeItem(item) {\n        this._unsortedItems.delete(item);\n        if (this._dropListRef.isDragging()) {\n            this._syncItemsWithRef();\n        }\n    }\n    /** Gets the registered items in the list, sorted by their position in the DOM. */\n    getSortedItems() {\n        return Array.from(this._unsortedItems).sort((a, b) => {\n            const documentPosition = a._dragRef\n                .getVisibleElement()\n                .compareDocumentPosition(b._dragRef.getVisibleElement());\n            // `compareDocumentPosition` returns a bitmask so we have to use a bitwise operator.\n            // https://developer.mozilla.org/en-US/docs/Web/API/Node/compareDocumentPosition\n            // tslint:disable-next-line:no-bitwise\n            return documentPosition & Node.DOCUMENT_POSITION_FOLLOWING ? -1 : 1;\n        });\n    }\n    ngOnDestroy() {\n        const index = CdkDropList._dropLists.indexOf(this);\n        if (index > -1) {\n            CdkDropList._dropLists.splice(index, 1);\n        }\n        if (this._group) {\n            this._group._items.delete(this);\n        }\n        this._unsortedItems.clear();\n        this._dropListRef.dispose();\n        this._destroyed.next();\n        this._destroyed.complete();\n    }\n    /** Syncs the inputs of the CdkDropList with the options of the underlying DropListRef. */\n    _setupInputSyncSubscription(ref) {\n        if (this._dir) {\n            this._dir.change\n                .pipe(startWith(this._dir.value), takeUntil(this._destroyed))\n                .subscribe(value => ref.withDirection(value));\n        }\n        ref.beforeStarted.subscribe(() => {\n            const siblings = coerceArray(this.connectedTo).map(drop => {\n                if (typeof drop === 'string') {\n                    const correspondingDropList = CdkDropList._dropLists.find(list => list.id === drop);\n                    if (!correspondingDropList && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n                        console.warn(`CdkDropList could not find connected drop list with id \"${drop}\"`);\n                    }\n                    return correspondingDropList;\n                }\n                return drop;\n            });\n            if (this._group) {\n                this._group._items.forEach(drop => {\n                    if (siblings.indexOf(drop) === -1) {\n                        siblings.push(drop);\n                    }\n                });\n            }\n            // Note that we resolve the scrollable parents here so that we delay the resolution\n            // as long as possible, ensuring that the element is in its final place in the DOM.\n            if (!this._scrollableParentsResolved) {\n                const scrollableParents = this._scrollDispatcher\n                    .getAncestorScrollContainers(this.element)\n                    .map(scrollable => scrollable.getElementRef().nativeElement);\n                this._dropListRef.withScrollableParents(scrollableParents);\n                // Only do this once since it involves traversing the DOM and the parents\n                // shouldn't be able to change without the drop list being destroyed.\n                this._scrollableParentsResolved = true;\n            }\n            ref.disabled = this.disabled;\n            ref.lockAxis = this.lockAxis;\n            ref.sortingDisabled = coerceBooleanProperty(this.sortingDisabled);\n            ref.autoScrollDisabled = coerceBooleanProperty(this.autoScrollDisabled);\n            ref.autoScrollStep = coerceNumberProperty(this.autoScrollStep, 2);\n            ref\n                .connectedTo(siblings.filter(drop => drop && drop !== this).map(list => list._dropListRef))\n                .withOrientation(this.orientation);\n        });\n    }\n    /** Handles events from the underlying DropListRef. */\n    _handleEvents(ref) {\n        ref.beforeStarted.subscribe(() => {\n            this._syncItemsWithRef();\n            this._changeDetectorRef.markForCheck();\n        });\n        ref.entered.subscribe(event => {\n            this.entered.emit({\n                container: this,\n                item: event.item.data,\n                currentIndex: event.currentIndex,\n            });\n        });\n        ref.exited.subscribe(event => {\n            this.exited.emit({\n                container: this,\n                item: event.item.data,\n            });\n            this._changeDetectorRef.markForCheck();\n        });\n        ref.sorted.subscribe(event => {\n            this.sorted.emit({\n                previousIndex: event.previousIndex,\n                currentIndex: event.currentIndex,\n                container: this,\n                item: event.item.data,\n            });\n        });\n        ref.dropped.subscribe(dropEvent => {\n            this.dropped.emit({\n                previousIndex: dropEvent.previousIndex,\n                currentIndex: dropEvent.currentIndex,\n                previousContainer: dropEvent.previousContainer.data,\n                container: dropEvent.container.data,\n                item: dropEvent.item.data,\n                isPointerOverContainer: dropEvent.isPointerOverContainer,\n                distance: dropEvent.distance,\n                dropPoint: dropEvent.dropPoint,\n                event: dropEvent.event,\n            });\n            // Mark for check since all of these events run outside of change\n            // detection and we're not guaranteed for something else to have triggered it.\n            this._changeDetectorRef.markForCheck();\n        });\n        merge(ref.receivingStarted, ref.receivingStopped).subscribe(() => this._changeDetectorRef.markForCheck());\n    }\n    /** Assigns the default input values based on a provided config object. */\n    _assignDefaults(config) {\n        const { lockAxis, draggingDisabled, sortingDisabled, listAutoScrollDisabled, listOrientation } = config;\n        this.disabled = draggingDisabled == null ? false : draggingDisabled;\n        this.sortingDisabled = sortingDisabled == null ? false : sortingDisabled;\n        this.autoScrollDisabled = listAutoScrollDisabled == null ? false : listAutoScrollDisabled;\n        this.orientation = listOrientation || 'vertical';\n        if (lockAxis) {\n            this.lockAxis = lockAxis;\n        }\n    }\n    /** Syncs up the registered drag items with underlying drop list ref. */\n    _syncItemsWithRef() {\n        this._dropListRef.withItems(this.getSortedItems().map(item => item._dragRef));\n    }\n}\n/** Keeps track of the drop lists that are currently on the page. */\nCdkDropList._dropLists = [];\nCdkDropList.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: CdkDropList, deps: [{ token: i0.ElementRef }, { token: DragDrop }, { token: i0.ChangeDetectorRef }, { token: i1.ScrollDispatcher }, { token: i3.Directionality, optional: true }, { token: CDK_DROP_LIST_GROUP, optional: true, skipSelf: true }, { token: CDK_DRAG_CONFIG, optional: true }], target: i0.ɵɵFactoryTarget.Directive });\nCdkDropList.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.2.0-rc.0\", type: CdkDropList, isStandalone: true, selector: \"[cdkDropList], cdk-drop-list\", inputs: { connectedTo: [\"cdkDropListConnectedTo\", \"connectedTo\"], data: [\"cdkDropListData\", \"data\"], orientation: [\"cdkDropListOrientation\", \"orientation\"], id: \"id\", lockAxis: [\"cdkDropListLockAxis\", \"lockAxis\"], disabled: [\"cdkDropListDisabled\", \"disabled\"], sortingDisabled: [\"cdkDropListSortingDisabled\", \"sortingDisabled\"], enterPredicate: [\"cdkDropListEnterPredicate\", \"enterPredicate\"], sortPredicate: [\"cdkDropListSortPredicate\", \"sortPredicate\"], autoScrollDisabled: [\"cdkDropListAutoScrollDisabled\", \"autoScrollDisabled\"], autoScrollStep: [\"cdkDropListAutoScrollStep\", \"autoScrollStep\"] }, outputs: { dropped: \"cdkDropListDropped\", entered: \"cdkDropListEntered\", exited: \"cdkDropListExited\", sorted: \"cdkDropListSorted\" }, host: { properties: { \"attr.id\": \"id\", \"class.cdk-drop-list-disabled\": \"disabled\", \"class.cdk-drop-list-dragging\": \"_dropListRef.isDragging()\", \"class.cdk-drop-list-receiving\": \"_dropListRef.isReceiving()\" }, classAttribute: \"cdk-drop-list\" }, providers: [\n        // Prevent child drop lists from picking up the same group as their parent.\n        { provide: CDK_DROP_LIST_GROUP, useValue: undefined },\n        { provide: CDK_DROP_LIST, useExisting: CdkDropList },\n    ], exportAs: [\"cdkDropList\"], ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: CdkDropList, decorators: [{\n            type: Directive,\n            args: [{\n                    selector: '[cdkDropList], cdk-drop-list',\n                    exportAs: 'cdkDropList',\n                    standalone: true,\n                    providers: [\n                        // Prevent child drop lists from picking up the same group as their parent.\n                        { provide: CDK_DROP_LIST_GROUP, useValue: undefined },\n                        { provide: CDK_DROP_LIST, useExisting: CdkDropList },\n                    ],\n                    host: {\n                        'class': 'cdk-drop-list',\n                        '[attr.id]': 'id',\n                        '[class.cdk-drop-list-disabled]': 'disabled',\n                        '[class.cdk-drop-list-dragging]': '_dropListRef.isDragging()',\n                        '[class.cdk-drop-list-receiving]': '_dropListRef.isReceiving()',\n                    },\n                }]\n        }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: DragDrop }, { type: i0.ChangeDetectorRef }, { type: i1.ScrollDispatcher }, { type: i3.Directionality, decorators: [{\n                    type: Optional\n                }] }, { type: CdkDropListGroup, decorators: [{\n                    type: Optional\n                }, {\n                    type: Inject,\n                    args: [CDK_DROP_LIST_GROUP]\n                }, {\n                    type: SkipSelf\n                }] }, { type: undefined, decorators: [{\n                    type: Optional\n                }, {\n                    type: Inject,\n                    args: [CDK_DRAG_CONFIG]\n                }] }]; }, propDecorators: { connectedTo: [{\n                type: Input,\n                args: ['cdkDropListConnectedTo']\n            }], data: [{\n                type: Input,\n                args: ['cdkDropListData']\n            }], orientation: [{\n                type: Input,\n                args: ['cdkDropListOrientation']\n            }], id: [{\n                type: Input\n            }], lockAxis: [{\n                type: Input,\n                args: ['cdkDropListLockAxis']\n            }], disabled: [{\n                type: Input,\n                args: ['cdkDropListDisabled']\n            }], sortingDisabled: [{\n                type: Input,\n                args: ['cdkDropListSortingDisabled']\n            }], enterPredicate: [{\n                type: Input,\n                args: ['cdkDropListEnterPredicate']\n            }], sortPredicate: [{\n                type: Input,\n                args: ['cdkDropListSortPredicate']\n            }], autoScrollDisabled: [{\n                type: Input,\n                args: ['cdkDropListAutoScrollDisabled']\n            }], autoScrollStep: [{\n                type: Input,\n                args: ['cdkDropListAutoScrollStep']\n            }], dropped: [{\n                type: Output,\n                args: ['cdkDropListDropped']\n            }], entered: [{\n                type: Output,\n                args: ['cdkDropListEntered']\n            }], exited: [{\n                type: Output,\n                args: ['cdkDropListExited']\n            }], sorted: [{\n                type: Output,\n                args: ['cdkDropListSorted']\n            }] } });\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * Injection token that can be used to reference instances of `CdkDragHandle`. It serves as\n * alternative token to the actual `CdkDragHandle` class which could cause unnecessary\n * retention of the class and its directive metadata.\n */\nconst CDK_DRAG_HANDLE = new InjectionToken('CdkDragHandle');\n/** Handle that can be used to drag a CdkDrag instance. */\nclass CdkDragHandle {\n    /** Whether starting to drag through this handle is disabled. */\n    get disabled() {\n        return this._disabled;\n    }\n    set disabled(value) {\n        this._disabled = coerceBooleanProperty(value);\n        this._stateChanges.next(this);\n    }\n    constructor(element, parentDrag) {\n        this.element = element;\n        /** Emits when the state of the handle has changed. */\n        this._stateChanges = new Subject();\n        this._disabled = false;\n        if (typeof ngDevMode === 'undefined' || ngDevMode) {\n            assertElementNode(element.nativeElement, 'cdkDragHandle');\n        }\n        this._parentDrag = parentDrag;\n    }\n    ngOnDestroy() {\n        this._stateChanges.complete();\n    }\n}\nCdkDragHandle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: CdkDragHandle, deps: [{ token: i0.ElementRef }, { token: CDK_DRAG_PARENT, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Directive });\nCdkDragHandle.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.2.0-rc.0\", type: CdkDragHandle, isStandalone: true, selector: \"[cdkDragHandle]\", inputs: { disabled: [\"cdkDragHandleDisabled\", \"disabled\"] }, host: { classAttribute: \"cdk-drag-handle\" }, providers: [{ provide: CDK_DRAG_HANDLE, useExisting: CdkDragHandle }], ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: CdkDragHandle, decorators: [{\n            type: Directive,\n            args: [{\n                    selector: '[cdkDragHandle]',\n                    standalone: true,\n                    host: {\n                        'class': 'cdk-drag-handle',\n                    },\n                    providers: [{ provide: CDK_DRAG_HANDLE, useExisting: CdkDragHandle }],\n                }]\n        }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: undefined, decorators: [{\n                    type: Inject,\n                    args: [CDK_DRAG_PARENT]\n                }, {\n                    type: Optional\n                }, {\n                    type: SkipSelf\n                }] }]; }, propDecorators: { disabled: [{\n                type: Input,\n                args: ['cdkDragHandleDisabled']\n            }] } });\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * Injection token that can be used to reference instances of `CdkDragPlaceholder`. It serves as\n * alternative token to the actual `CdkDragPlaceholder` class which could cause unnecessary\n * retention of the class and its directive metadata.\n */\nconst CDK_DRAG_PLACEHOLDER = new InjectionToken('CdkDragPlaceholder');\n/**\n * Element that will be used as a template for the placeholder of a CdkDrag when\n * it is being dragged. The placeholder is displayed in place of the element being dragged.\n */\nclass CdkDragPlaceholder {\n    constructor(templateRef) {\n        this.templateRef = templateRef;\n    }\n}\nCdkDragPlaceholder.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: CdkDragPlaceholder, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });\nCdkDragPlaceholder.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.2.0-rc.0\", type: CdkDragPlaceholder, isStandalone: true, selector: \"ng-template[cdkDragPlaceholder]\", inputs: { data: \"data\" }, providers: [{ provide: CDK_DRAG_PLACEHOLDER, useExisting: CdkDragPlaceholder }], ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: CdkDragPlaceholder, decorators: [{\n            type: Directive,\n            args: [{\n                    selector: 'ng-template[cdkDragPlaceholder]',\n                    standalone: true,\n                    providers: [{ provide: CDK_DRAG_PLACEHOLDER, useExisting: CdkDragPlaceholder }],\n                }]\n        }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; }, propDecorators: { data: [{\n                type: Input\n            }] } });\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * Injection token that can be used to reference instances of `CdkDragPreview`. It serves as\n * alternative token to the actual `CdkDragPreview` class which could cause unnecessary\n * retention of the class and its directive metadata.\n */\nconst CDK_DRAG_PREVIEW = new InjectionToken('CdkDragPreview');\n/**\n * Element that will be used as a template for the preview\n * of a CdkDrag when it is being dragged.\n */\nclass CdkDragPreview {\n    /** Whether the preview should preserve the same size as the item that is being dragged. */\n    get matchSize() {\n        return this._matchSize;\n    }\n    set matchSize(value) {\n        this._matchSize = coerceBooleanProperty(value);\n    }\n    constructor(templateRef) {\n        this.templateRef = templateRef;\n        this._matchSize = false;\n    }\n}\nCdkDragPreview.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: CdkDragPreview, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });\nCdkDragPreview.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.2.0-rc.0\", type: CdkDragPreview, isStandalone: true, selector: \"ng-template[cdkDragPreview]\", inputs: { data: \"data\", matchSize: \"matchSize\" }, providers: [{ provide: CDK_DRAG_PREVIEW, useExisting: CdkDragPreview }], ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: CdkDragPreview, decorators: [{\n            type: Directive,\n            args: [{\n                    selector: 'ng-template[cdkDragPreview]',\n                    standalone: true,\n                    providers: [{ provide: CDK_DRAG_PREVIEW, useExisting: CdkDragPreview }],\n                }]\n        }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; }, propDecorators: { data: [{\n                type: Input\n            }], matchSize: [{\n                type: Input\n            }] } });\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nconst DRAG_HOST_CLASS = 'cdk-drag';\n/** Element that can be moved inside a CdkDropList container. */\nclass CdkDrag {\n    /** Whether starting to drag this element is disabled. */\n    get disabled() {\n        return this._disabled || (this.dropContainer && this.dropContainer.disabled);\n    }\n    set disabled(value) {\n        this._disabled = coerceBooleanProperty(value);\n        this._dragRef.disabled = this._disabled;\n    }\n    constructor(\n    /** Element that the draggable is attached to. */\n    element, \n    /** Droppable container that the draggable is a part of. */\n    dropContainer, \n    /**\n     * @deprecated `_document` parameter no longer being used and will be removed.\n     * @breaking-change 12.0.0\n     */\n    _document, _ngZone, _viewContainerRef, config, _dir, dragDrop, _changeDetectorRef, _selfHandle, _parentDrag) {\n        this.element = element;\n        this.dropContainer = dropContainer;\n        this._ngZone = _ngZone;\n        this._viewContainerRef = _viewContainerRef;\n        this._dir = _dir;\n        this._changeDetectorRef = _changeDetectorRef;\n        this._selfHandle = _selfHandle;\n        this._parentDrag = _parentDrag;\n        this._destroyed = new Subject();\n        /** Emits when the user starts dragging the item. */\n        this.started = new EventEmitter();\n        /** Emits when the user has released a drag item, before any animations have started. */\n        this.released = new EventEmitter();\n        /** Emits when the user stops dragging an item in the container. */\n        this.ended = new EventEmitter();\n        /** Emits when the user has moved the item into a new container. */\n        this.entered = new EventEmitter();\n        /** Emits when the user removes the item its container by dragging it into another container. */\n        this.exited = new EventEmitter();\n        /** Emits when the user drops the item inside a container. */\n        this.dropped = new EventEmitter();\n        /**\n         * Emits as the user is dragging the item. Use with caution,\n         * because this event will fire for every pixel that the user has dragged.\n         */\n        this.moved = new Observable((observer) => {\n            const subscription = this._dragRef.moved\n                .pipe(map(movedEvent => ({\n                source: this,\n                pointerPosition: movedEvent.pointerPosition,\n                event: movedEvent.event,\n                delta: movedEvent.delta,\n                distance: movedEvent.distance,\n            })))\n                .subscribe(observer);\n            return () => {\n                subscription.unsubscribe();\n            };\n        });\n        this._dragRef = dragDrop.createDrag(element, {\n            dragStartThreshold: config && config.dragStartThreshold != null ? config.dragStartThreshold : 5,\n            pointerDirectionChangeThreshold: config && config.pointerDirectionChangeThreshold != null\n                ? config.pointerDirectionChangeThreshold\n                : 5,\n            zIndex: config?.zIndex,\n        });\n        this._dragRef.data = this;\n        // We have to keep track of the drag instances in order to be able to match an element to\n        // a drag instance. We can't go through the global registry of `DragRef`, because the root\n        // element could be different.\n        CdkDrag._dragInstances.push(this);\n        if (config) {\n            this._assignDefaults(config);\n        }\n        // Note that usually the container is assigned when the drop list is picks up the item, but in\n        // some cases (mainly transplanted views with OnPush, see #18341) we may end up in a situation\n        // where there are no items on the first change detection pass, but the items get picked up as\n        // soon as the user triggers another pass by dragging. This is a problem, because the item would\n        // have to switch from standalone mode to drag mode in the middle of the dragging sequence which\n        // is too late since the two modes save different kinds of information. We work around it by\n        // assigning the drop container both from here and the list.\n        if (dropContainer) {\n            this._dragRef._withDropContainer(dropContainer._dropListRef);\n            dropContainer.addItem(this);\n        }\n        this._syncInputs(this._dragRef);\n        this._handleEvents(this._dragRef);\n    }\n    /**\n     * Returns the element that is being used as a placeholder\n     * while the current element is being dragged.\n     */\n    getPlaceholderElement() {\n        return this._dragRef.getPlaceholderElement();\n    }\n    /** Returns the root draggable element. */\n    getRootElement() {\n        return this._dragRef.getRootElement();\n    }\n    /** Resets a standalone drag item to its initial position. */\n    reset() {\n        this._dragRef.reset();\n    }\n    /**\n     * Gets the pixel coordinates of the draggable outside of a drop container.\n     */\n    getFreeDragPosition() {\n        return this._dragRef.getFreeDragPosition();\n    }\n    /**\n     * Sets the current position in pixels the draggable outside of a drop container.\n     * @param value New position to be set.\n     */\n    setFreeDragPosition(value) {\n        this._dragRef.setFreeDragPosition(value);\n    }\n    ngAfterViewInit() {\n        // Normally this isn't in the zone, but it can cause major performance regressions for apps\n        // using `zone-patch-rxjs` because it'll trigger a change detection when it unsubscribes.\n        this._ngZone.runOutsideAngular(() => {\n            // We need to wait for the zone to stabilize, in order for the reference\n            // element to be in the proper place in the DOM. This is mostly relevant\n            // for draggable elements inside portals since they get stamped out in\n            // their original DOM position and then they get transferred to the portal.\n            this._ngZone.onStable.pipe(take(1), takeUntil(this._destroyed)).subscribe(() => {\n                this._updateRootElement();\n                this._setupHandlesListener();\n                if (this.freeDragPosition) {\n                    this._dragRef.setFreeDragPosition(this.freeDragPosition);\n                }\n            });\n        });\n    }\n    ngOnChanges(changes) {\n        const rootSelectorChange = changes['rootElementSelector'];\n        const positionChange = changes['freeDragPosition'];\n        // We don't have to react to the first change since it's being\n        // handled in `ngAfterViewInit` where it needs to be deferred.\n        if (rootSelectorChange && !rootSelectorChange.firstChange) {\n            this._updateRootElement();\n        }\n        // Skip the first change since it's being handled in `ngAfterViewInit`.\n        if (positionChange && !positionChange.firstChange && this.freeDragPosition) {\n            this._dragRef.setFreeDragPosition(this.freeDragPosition);\n        }\n    }\n    ngOnDestroy() {\n        if (this.dropContainer) {\n            this.dropContainer.removeItem(this);\n        }\n        const index = CdkDrag._dragInstances.indexOf(this);\n        if (index > -1) {\n            CdkDrag._dragInstances.splice(index, 1);\n        }\n        // Unnecessary in most cases, but used to avoid extra change detections with `zone-paths-rxjs`.\n        this._ngZone.runOutsideAngular(() => {\n            this._destroyed.next();\n            this._destroyed.complete();\n            this._dragRef.dispose();\n        });\n    }\n    /** Syncs the root element with the `DragRef`. */\n    _updateRootElement() {\n        const element = this.element.nativeElement;\n        let rootElement = element;\n        if (this.rootElementSelector) {\n            rootElement =\n                element.closest !== undefined\n                    ? element.closest(this.rootElementSelector)\n                    : // Comment tag doesn't have closest method, so use parent's one.\n                        element.parentElement?.closest(this.rootElementSelector);\n        }\n        if (rootElement && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n            assertElementNode(rootElement, 'cdkDrag');\n        }\n        this._dragRef.withRootElement(rootElement || element);\n    }\n    /** Gets the boundary element, based on the `boundaryElement` value. */\n    _getBoundaryElement() {\n        const boundary = this.boundaryElement;\n        if (!boundary) {\n            return null;\n        }\n        if (typeof boundary === 'string') {\n            return this.element.nativeElement.closest(boundary);\n        }\n        return coerceElement(boundary);\n    }\n    /** Syncs the inputs of the CdkDrag with the options of the underlying DragRef. */\n    _syncInputs(ref) {\n        ref.beforeStarted.subscribe(() => {\n            if (!ref.isDragging()) {\n                const dir = this._dir;\n                const dragStartDelay = this.dragStartDelay;\n                const placeholder = this._placeholderTemplate\n                    ? {\n                        template: this._placeholderTemplate.templateRef,\n                        context: this._placeholderTemplate.data,\n                        viewContainer: this._viewContainerRef,\n                    }\n                    : null;\n                const preview = this._previewTemplate\n                    ? {\n                        template: this._previewTemplate.templateRef,\n                        context: this._previewTemplate.data,\n                        matchSize: this._previewTemplate.matchSize,\n                        viewContainer: this._viewContainerRef,\n                    }\n                    : null;\n                ref.disabled = this.disabled;\n                ref.lockAxis = this.lockAxis;\n                ref.dragStartDelay =\n                    typeof dragStartDelay === 'object' && dragStartDelay\n                        ? dragStartDelay\n                        : coerceNumberProperty(dragStartDelay);\n                ref.constrainPosition = this.constrainPosition;\n                ref.previewClass = this.previewClass;\n                ref\n                    .withBoundaryElement(this._getBoundaryElement())\n                    .withPlaceholderTemplate(placeholder)\n                    .withPreviewTemplate(preview)\n                    .withPreviewContainer(this.previewContainer || 'global');\n                if (dir) {\n                    ref.withDirection(dir.value);\n                }\n            }\n        });\n        // This only needs to be resolved once.\n        ref.beforeStarted.pipe(take(1)).subscribe(() => {\n            // If we managed to resolve a parent through DI, use it.\n            if (this._parentDrag) {\n                ref.withParent(this._parentDrag._dragRef);\n                return;\n            }\n            // Otherwise fall back to resolving the parent by looking up the DOM. This can happen if\n            // the item was projected into another item by something like `ngTemplateOutlet`.\n            let parent = this.element.nativeElement.parentElement;\n            while (parent) {\n                if (parent.classList.contains(DRAG_HOST_CLASS)) {\n                    ref.withParent(CdkDrag._dragInstances.find(drag => {\n                        return drag.element.nativeElement === parent;\n                    })?._dragRef || null);\n                    break;\n                }\n                parent = parent.parentElement;\n            }\n        });\n    }\n    /** Handles the events from the underlying `DragRef`. */\n    _handleEvents(ref) {\n        ref.started.subscribe(startEvent => {\n            this.started.emit({ source: this, event: startEvent.event });\n            // Since all of these events run outside of change detection,\n            // we need to ensure that everything is marked correctly.\n            this._changeDetectorRef.markForCheck();\n        });\n        ref.released.subscribe(releaseEvent => {\n            this.released.emit({ source: this, event: releaseEvent.event });\n        });\n        ref.ended.subscribe(endEvent => {\n            this.ended.emit({\n                source: this,\n                distance: endEvent.distance,\n                dropPoint: endEvent.dropPoint,\n                event: endEvent.event,\n            });\n            // Since all of these events run outside of change detection,\n            // we need to ensure that everything is marked correctly.\n            this._changeDetectorRef.markForCheck();\n        });\n        ref.entered.subscribe(enterEvent => {\n            this.entered.emit({\n                container: enterEvent.container.data,\n                item: this,\n                currentIndex: enterEvent.currentIndex,\n            });\n        });\n        ref.exited.subscribe(exitEvent => {\n            this.exited.emit({\n                container: exitEvent.container.data,\n                item: this,\n            });\n        });\n        ref.dropped.subscribe(dropEvent => {\n            this.dropped.emit({\n                previousIndex: dropEvent.previousIndex,\n                currentIndex: dropEvent.currentIndex,\n                previousContainer: dropEvent.previousContainer.data,\n                container: dropEvent.container.data,\n                isPointerOverContainer: dropEvent.isPointerOverContainer,\n                item: this,\n                distance: dropEvent.distance,\n                dropPoint: dropEvent.dropPoint,\n                event: dropEvent.event,\n            });\n        });\n    }\n    /** Assigns the default input values based on a provided config object. */\n    _assignDefaults(config) {\n        const { lockAxis, dragStartDelay, constrainPosition, previewClass, boundaryElement, draggingDisabled, rootElementSelector, previewContainer, } = config;\n        this.disabled = draggingDisabled == null ? false : draggingDisabled;\n        this.dragStartDelay = dragStartDelay || 0;\n        if (lockAxis) {\n            this.lockAxis = lockAxis;\n        }\n        if (constrainPosition) {\n            this.constrainPosition = constrainPosition;\n        }\n        if (previewClass) {\n            this.previewClass = previewClass;\n        }\n        if (boundaryElement) {\n            this.boundaryElement = boundaryElement;\n        }\n        if (rootElementSelector) {\n            this.rootElementSelector = rootElementSelector;\n        }\n        if (previewContainer) {\n            this.previewContainer = previewContainer;\n        }\n    }\n    /** Sets up the listener that syncs the handles with the drag ref. */\n    _setupHandlesListener() {\n        // Listen for any newly-added handles.\n        this._handles.changes\n            .pipe(startWith(this._handles), \n        // Sync the new handles with the DragRef.\n        tap((handles) => {\n            const childHandleElements = handles\n                .filter(handle => handle._parentDrag === this)\n                .map(handle => handle.element);\n            // Usually handles are only allowed to be a descendant of the drag element, but if\n            // the consumer defined a different drag root, we should allow the drag element\n            // itself to be a handle too.\n            if (this._selfHandle && this.rootElementSelector) {\n                childHandleElements.push(this.element);\n            }\n            this._dragRef.withHandles(childHandleElements);\n        }), \n        // Listen if the state of any of the handles changes.\n        switchMap((handles) => {\n            return merge(...handles.map(item => {\n                return item._stateChanges.pipe(startWith(item));\n            }));\n        }), takeUntil(this._destroyed))\n            .subscribe(handleInstance => {\n            // Enabled/disable the handle that changed in the DragRef.\n            const dragRef = this._dragRef;\n            const handle = handleInstance.element.nativeElement;\n            handleInstance.disabled ? dragRef.disableHandle(handle) : dragRef.enableHandle(handle);\n        });\n    }\n}\nCdkDrag._dragInstances = [];\nCdkDrag.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: CdkDrag, deps: [{ token: i0.ElementRef }, { token: CDK_DROP_LIST, optional: true, skipSelf: true }, { token: DOCUMENT }, { token: i0.NgZone }, { token: i0.ViewContainerRef }, { token: CDK_DRAG_CONFIG, optional: true }, { token: i3.Directionality, optional: true }, { token: DragDrop }, { token: i0.ChangeDetectorRef }, { token: CDK_DRAG_HANDLE, optional: true, self: true }, { token: CDK_DRAG_PARENT, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Directive });\nCdkDrag.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.2.0-rc.0\", type: CdkDrag, isStandalone: true, selector: \"[cdkDrag]\", inputs: { data: [\"cdkDragData\", \"data\"], lockAxis: [\"cdkDragLockAxis\", \"lockAxis\"], rootElementSelector: [\"cdkDragRootElement\", \"rootElementSelector\"], boundaryElement: [\"cdkDragBoundary\", \"boundaryElement\"], dragStartDelay: [\"cdkDragStartDelay\", \"dragStartDelay\"], freeDragPosition: [\"cdkDragFreeDragPosition\", \"freeDragPosition\"], disabled: [\"cdkDragDisabled\", \"disabled\"], constrainPosition: [\"cdkDragConstrainPosition\", \"constrainPosition\"], previewClass: [\"cdkDragPreviewClass\", \"previewClass\"], previewContainer: [\"cdkDragPreviewContainer\", \"previewContainer\"] }, outputs: { started: \"cdkDragStarted\", released: \"cdkDragReleased\", ended: \"cdkDragEnded\", entered: \"cdkDragEntered\", exited: \"cdkDragExited\", dropped: \"cdkDragDropped\", moved: \"cdkDragMoved\" }, host: { properties: { \"class.cdk-drag-disabled\": \"disabled\", \"class.cdk-drag-dragging\": \"_dragRef.isDragging()\" }, classAttribute: \"cdk-drag\" }, providers: [{ provide: CDK_DRAG_PARENT, useExisting: CdkDrag }], queries: [{ propertyName: \"_previewTemplate\", first: true, predicate: CDK_DRAG_PREVIEW, descendants: true }, { propertyName: \"_placeholderTemplate\", first: true, predicate: CDK_DRAG_PLACEHOLDER, descendants: true }, { propertyName: \"_handles\", predicate: CDK_DRAG_HANDLE, descendants: true }], exportAs: [\"cdkDrag\"], usesOnChanges: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: CdkDrag, decorators: [{\n            type: Directive,\n            args: [{\n                    selector: '[cdkDrag]',\n                    exportAs: 'cdkDrag',\n                    standalone: true,\n                    host: {\n                        'class': DRAG_HOST_CLASS,\n                        '[class.cdk-drag-disabled]': 'disabled',\n                        '[class.cdk-drag-dragging]': '_dragRef.isDragging()',\n                    },\n                    providers: [{ provide: CDK_DRAG_PARENT, useExisting: CdkDrag }],\n                }]\n        }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: undefined, decorators: [{\n                    type: Inject,\n                    args: [CDK_DROP_LIST]\n                }, {\n                    type: Optional\n                }, {\n                    type: SkipSelf\n                }] }, { type: undefined, decorators: [{\n                    type: Inject,\n                    args: [DOCUMENT]\n                }] }, { type: i0.NgZone }, { type: i0.ViewContainerRef }, { type: undefined, decorators: [{\n                    type: Optional\n                }, {\n                    type: Inject,\n                    args: [CDK_DRAG_CONFIG]\n                }] }, { type: i3.Directionality, decorators: [{\n                    type: Optional\n                }] }, { type: DragDrop }, { type: i0.ChangeDetectorRef }, { type: CdkDragHandle, decorators: [{\n                    type: Optional\n                }, {\n                    type: Self\n                }, {\n                    type: Inject,\n                    args: [CDK_DRAG_HANDLE]\n                }] }, { type: CdkDrag, decorators: [{\n                    type: Optional\n                }, {\n                    type: SkipSelf\n                }, {\n                    type: Inject,\n                    args: [CDK_DRAG_PARENT]\n                }] }]; }, propDecorators: { _handles: [{\n                type: ContentChildren,\n                args: [CDK_DRAG_HANDLE, { descendants: true }]\n            }], _previewTemplate: [{\n                type: ContentChild,\n                args: [CDK_DRAG_PREVIEW]\n            }], _placeholderTemplate: [{\n                type: ContentChild,\n                args: [CDK_DRAG_PLACEHOLDER]\n            }], data: [{\n                type: Input,\n                args: ['cdkDragData']\n            }], lockAxis: [{\n                type: Input,\n                args: ['cdkDragLockAxis']\n            }], rootElementSelector: [{\n                type: Input,\n                args: ['cdkDragRootElement']\n            }], boundaryElement: [{\n                type: Input,\n                args: ['cdkDragBoundary']\n            }], dragStartDelay: [{\n                type: Input,\n                args: ['cdkDragStartDelay']\n            }], freeDragPosition: [{\n                type: Input,\n                args: ['cdkDragFreeDragPosition']\n            }], disabled: [{\n                type: Input,\n                args: ['cdkDragDisabled']\n            }], constrainPosition: [{\n                type: Input,\n                args: ['cdkDragConstrainPosition']\n            }], previewClass: [{\n                type: Input,\n                args: ['cdkDragPreviewClass']\n            }], previewContainer: [{\n                type: Input,\n                args: ['cdkDragPreviewContainer']\n            }], started: [{\n                type: Output,\n                args: ['cdkDragStarted']\n            }], released: [{\n                type: Output,\n                args: ['cdkDragReleased']\n            }], ended: [{\n                type: Output,\n                args: ['cdkDragEnded']\n            }], entered: [{\n                type: Output,\n                args: ['cdkDragEntered']\n            }], exited: [{\n                type: Output,\n                args: ['cdkDragExited']\n            }], dropped: [{\n                type: Output,\n                args: ['cdkDragDropped']\n            }], moved: [{\n                type: Output,\n                args: ['cdkDragMoved']\n            }] } });\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nconst DRAG_DROP_DIRECTIVES = [\n    CdkDropList,\n    CdkDropListGroup,\n    CdkDrag,\n    CdkDragHandle,\n    CdkDragPreview,\n    CdkDragPlaceholder,\n];\nclass DragDropModule {\n}\nDragDropModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: DragDropModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\nDragDropModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: DragDropModule, imports: [CdkDropList,\n        CdkDropListGroup,\n        CdkDrag,\n        CdkDragHandle,\n        CdkDragPreview,\n        CdkDragPlaceholder], exports: [CdkScrollableModule, CdkDropList,\n        CdkDropListGroup,\n        CdkDrag,\n        CdkDragHandle,\n        CdkDragPreview,\n        CdkDragPlaceholder] });\nDragDropModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: DragDropModule, providers: [DragDrop], imports: [CdkScrollableModule] });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: DragDropModule, decorators: [{\n            type: NgModule,\n            args: [{\n                    imports: DRAG_DROP_DIRECTIVES,\n                    exports: [CdkScrollableModule, ...DRAG_DROP_DIRECTIVES],\n                    providers: [DragDrop],\n                }]\n        }] });\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { CDK_DRAG_CONFIG, CDK_DRAG_HANDLE, CDK_DRAG_PARENT, CDK_DRAG_PLACEHOLDER, CDK_DRAG_PREVIEW, CDK_DROP_LIST, CDK_DROP_LIST_GROUP, CdkDrag, CdkDragHandle, CdkDragPlaceholder, CdkDragPreview, CdkDropList, CdkDropListGroup, DragDrop, DragDropModule, DragDropRegistry, DragRef, DropListRef, copyArrayItem, moveItemInArray, transferArrayItem };\n","import * as i0 from '@angular/core';\nimport { NgModule, Injectable } from '@angular/core';\nimport { coerceArray } from '@angular/cdk/coercion';\nimport { Subject, combineLatest, concat, Observable } from 'rxjs';\nimport { take, skip, debounceTime, map, startWith, takeUntil } from 'rxjs/operators';\nimport * as i1 from '@angular/cdk/platform';\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nclass LayoutModule {\n}\nLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: LayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\nLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: LayoutModule });\nLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: LayoutModule });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: LayoutModule, decorators: [{\n            type: NgModule,\n            args: [{}]\n        }] });\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/** Global registry for all dynamically-created, injected media queries. */\nconst mediaQueriesForWebkitCompatibility = new Set();\n/** Style tag that holds all of the dynamically-created media queries. */\nlet mediaQueryStyleNode;\n/** A utility for calling matchMedia queries. */\nclass MediaMatcher {\n    constructor(_platform) {\n        this._platform = _platform;\n        this._matchMedia =\n            this._platform.isBrowser && window.matchMedia\n                ? // matchMedia is bound to the window scope intentionally as it is an illegal invocation to\n                    // call it from a different scope.\n                    window.matchMedia.bind(window)\n                : noopMatchMedia;\n    }\n    /**\n     * Evaluates the given media query and returns the native MediaQueryList from which results\n     * can be retrieved.\n     * Confirms the layout engine will trigger for the selector query provided and returns the\n     * MediaQueryList for the query provided.\n     */\n    matchMedia(query) {\n        if (this._platform.WEBKIT || this._platform.BLINK) {\n            createEmptyStyleRule(query);\n        }\n        return this._matchMedia(query);\n    }\n}\nMediaMatcher.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: MediaMatcher, deps: [{ token: i1.Platform }], target: i0.ɵɵFactoryTarget.Injectable });\nMediaMatcher.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: MediaMatcher, providedIn: 'root' });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: MediaMatcher, decorators: [{\n            type: Injectable,\n            args: [{ providedIn: 'root' }]\n        }], ctorParameters: function () { return [{ type: i1.Platform }]; } });\n/**\n * Creates an empty stylesheet that is used to work around browser inconsistencies related to\n * `matchMedia`. At the time of writing, it handles the following cases:\n * 1. On WebKit browsers, a media query has to have at least one rule in order for `matchMedia`\n * to fire. We work around it by declaring a dummy stylesheet with a `@media` declaration.\n * 2. In some cases Blink browsers will stop firing the `matchMedia` listener if none of the rules\n * inside the `@media` match existing elements on the page. We work around it by having one rule\n * targeting the `body`. See https://github.com/angular/components/issues/23546.\n */\nfunction createEmptyStyleRule(query) {\n    if (mediaQueriesForWebkitCompatibility.has(query)) {\n        return;\n    }\n    try {\n        if (!mediaQueryStyleNode) {\n            mediaQueryStyleNode = document.createElement('style');\n            mediaQueryStyleNode.setAttribute('type', 'text/css');\n            document.head.appendChild(mediaQueryStyleNode);\n        }\n        if (mediaQueryStyleNode.sheet) {\n            mediaQueryStyleNode.sheet.insertRule(`@media ${query} {body{ }}`, 0);\n            mediaQueriesForWebkitCompatibility.add(query);\n        }\n    }\n    catch (e) {\n        console.error(e);\n    }\n}\n/** No-op matchMedia replacement for non-browser platforms. */\nfunction noopMatchMedia(query) {\n    // Use `as any` here to avoid adding additional necessary properties for\n    // the noop matcher.\n    return {\n        matches: query === 'all' || query === '',\n        media: query,\n        addListener: () => { },\n        removeListener: () => { },\n    };\n}\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/** Utility for checking the matching state of @media queries. */\nclass BreakpointObserver {\n    constructor(_mediaMatcher, _zone) {\n        this._mediaMatcher = _mediaMatcher;\n        this._zone = _zone;\n        /**  A map of all media queries currently being listened for. */\n        this._queries = new Map();\n        /** A subject for all other observables to takeUntil based on. */\n        this._destroySubject = new Subject();\n    }\n    /** Completes the active subject, signalling to all other observables to complete. */\n    ngOnDestroy() {\n        this._destroySubject.next();\n        this._destroySubject.complete();\n    }\n    /**\n     * Whether one or more media queries match the current viewport size.\n     * @param value One or more media queries to check.\n     * @returns Whether any of the media queries match.\n     */\n    isMatched(value) {\n        const queries = splitQueries(coerceArray(value));\n        return queries.some(mediaQuery => this._registerQuery(mediaQuery).mql.matches);\n    }\n    /**\n     * Gets an observable of results for the given queries that will emit new results for any changes\n     * in matching of the given queries.\n     * @param value One or more media queries to check.\n     * @returns A stream of matches for the given queries.\n     */\n    observe(value) {\n        const queries = splitQueries(coerceArray(value));\n        const observables = queries.map(query => this._registerQuery(query).observable);\n        let stateObservable = combineLatest(observables);\n        // Emit the first state immediately, and then debounce the subsequent emissions.\n        stateObservable = concat(stateObservable.pipe(take(1)), stateObservable.pipe(skip(1), debounceTime(0)));\n        return stateObservable.pipe(map(breakpointStates => {\n            const response = {\n                matches: false,\n                breakpoints: {},\n            };\n            breakpointStates.forEach(({ matches, query }) => {\n                response.matches = response.matches || matches;\n                response.breakpoints[query] = matches;\n            });\n            return response;\n        }));\n    }\n    /** Registers a specific query to be listened for. */\n    _registerQuery(query) {\n        // Only set up a new MediaQueryList if it is not already being listened for.\n        if (this._queries.has(query)) {\n            return this._queries.get(query);\n        }\n        const mql = this._mediaMatcher.matchMedia(query);\n        // Create callback for match changes and add it is as a listener.\n        const queryObservable = new Observable((observer) => {\n            // Listener callback methods are wrapped to be placed back in ngZone. Callbacks must be placed\n            // back into the zone because matchMedia is only included in Zone.js by loading the\n            // webapis-media-query.js file alongside the zone.js file.  Additionally, some browsers do not\n            // have MediaQueryList inherit from EventTarget, which causes inconsistencies in how Zone.js\n            // patches it.\n            const handler = (e) => this._zone.run(() => observer.next(e));\n            mql.addListener(handler);\n            return () => {\n                mql.removeListener(handler);\n            };\n        }).pipe(startWith(mql), map(({ matches }) => ({ query, matches })), takeUntil(this._destroySubject));\n        // Add the MediaQueryList to the set of queries.\n        const output = { observable: queryObservable, mql };\n        this._queries.set(query, output);\n        return output;\n    }\n}\nBreakpointObserver.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: BreakpointObserver, deps: [{ token: MediaMatcher }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });\nBreakpointObserver.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: BreakpointObserver, providedIn: 'root' });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: BreakpointObserver, decorators: [{\n            type: Injectable,\n            args: [{ providedIn: 'root' }]\n        }], ctorParameters: function () { return [{ type: MediaMatcher }, { type: i0.NgZone }]; } });\n/**\n * Split each query string into separate query strings if two queries are provided as comma\n * separated.\n */\nfunction splitQueries(queries) {\n    return queries\n        .map(query => query.split(','))\n        .reduce((a1, a2) => a1.concat(a2))\n        .map(query => query.trim());\n}\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n// PascalCase is being used as Breakpoints is used like an enum.\n// tslint:disable-next-line:variable-name\nconst Breakpoints = {\n    XSmall: '(max-width: 599.98px)',\n    Small: '(min-width: 600px) and (max-width: 959.98px)',\n    Medium: '(min-width: 960px) and (max-width: 1279.98px)',\n    Large: '(min-width: 1280px) and (max-width: 1919.98px)',\n    XLarge: '(min-width: 1920px)',\n    Handset: '(max-width: 599.98px) and (orientation: portrait), ' +\n        '(max-width: 959.98px) and (orientation: landscape)',\n    Tablet: '(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), ' +\n        '(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)',\n    Web: '(min-width: 840px) and (orientation: portrait), ' +\n        '(min-width: 1280px) and (orientation: landscape)',\n    HandsetPortrait: '(max-width: 599.98px) and (orientation: portrait)',\n    TabletPortrait: '(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)',\n    WebPortrait: '(min-width: 840px) and (orientation: portrait)',\n    HandsetLandscape: '(max-width: 959.98px) and (orientation: landscape)',\n    TabletLandscape: '(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)',\n    WebLandscape: '(min-width: 1280px) and (orientation: landscape)',\n};\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { BreakpointObserver, Breakpoints, LayoutModule, MediaMatcher };\n","import * as i0 from '@angular/core';\nimport { PLATFORM_ID, Injectable, Inject, NgModule } from '@angular/core';\nimport { isPlatformBrowser } from '@angular/common';\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n// Whether the current platform supports the V8 Break Iterator. The V8 check\n// is necessary to detect all Blink based browsers.\nlet hasV8BreakIterator;\n// We need a try/catch around the reference to `Intl`, because accessing it in some cases can\n// cause IE to throw. These cases are tied to particular versions of Windows and can happen if\n// the consumer is providing a polyfilled `Map`. See:\n// https://github.com/Microsoft/ChakraCore/issues/3189\n// https://github.com/angular/components/issues/15687\ntry {\n    hasV8BreakIterator = typeof Intl !== 'undefined' && Intl.v8BreakIterator;\n}\ncatch {\n    hasV8BreakIterator = false;\n}\n/**\n * Service to detect the current platform by comparing the userAgent strings and\n * checking browser-specific global properties.\n */\nclass Platform {\n    constructor(_platformId) {\n        this._platformId = _platformId;\n        // We want to use the Angular platform check because if the Document is shimmed\n        // without the navigator, the following checks will fail. This is preferred because\n        // sometimes the Document may be shimmed without the user's knowledge or intention\n        /** Whether the Angular application is being rendered in the browser. */\n        this.isBrowser = this._platformId\n            ? isPlatformBrowser(this._platformId)\n            : typeof document === 'object' && !!document;\n        /** Whether the current browser is Microsoft Edge. */\n        this.EDGE = this.isBrowser && /(edge)/i.test(navigator.userAgent);\n        /** Whether the current rendering engine is Microsoft Trident. */\n        this.TRIDENT = this.isBrowser && /(msie|trident)/i.test(navigator.userAgent);\n        // EdgeHTML and Trident mock Blink specific things and need to be excluded from this check.\n        /** Whether the current rendering engine is Blink. */\n        this.BLINK = this.isBrowser &&\n            !!(window.chrome || hasV8BreakIterator) &&\n            typeof CSS !== 'undefined' &&\n            !this.EDGE &&\n            !this.TRIDENT;\n        // Webkit is part of the userAgent in EdgeHTML, Blink and Trident. Therefore we need to\n        // ensure that Webkit runs standalone and is not used as another engine's base.\n        /** Whether the current rendering engine is WebKit. */\n        this.WEBKIT = this.isBrowser &&\n            /AppleWebKit/i.test(navigator.userAgent) &&\n            !this.BLINK &&\n            !this.EDGE &&\n            !this.TRIDENT;\n        /** Whether the current platform is Apple iOS. */\n        this.IOS = this.isBrowser && /iPad|iPhone|iPod/.test(navigator.userAgent) && !('MSStream' in window);\n        // It's difficult to detect the plain Gecko engine, because most of the browsers identify\n        // them self as Gecko-like browsers and modify the userAgent's according to that.\n        // Since we only cover one explicit Firefox case, we can simply check for Firefox\n        // instead of having an unstable check for Gecko.\n        /** Whether the current browser is Firefox. */\n        this.FIREFOX = this.isBrowser && /(firefox|minefield)/i.test(navigator.userAgent);\n        /** Whether the current platform is Android. */\n        // Trident on mobile adds the android platform to the userAgent to trick detections.\n        this.ANDROID = this.isBrowser && /android/i.test(navigator.userAgent) && !this.TRIDENT;\n        // Safari browsers will include the Safari keyword in their userAgent. Some browsers may fake\n        // this and just place the Safari keyword in the userAgent. To be more safe about Safari every\n        // Safari browser should also use Webkit as its layout engine.\n        /** Whether the current browser is Safari. */\n        this.SAFARI = this.isBrowser && /safari/i.test(navigator.userAgent) && this.WEBKIT;\n    }\n}\nPlatform.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: Platform, deps: [{ token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Injectable });\nPlatform.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: Platform, providedIn: 'root' });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: Platform, decorators: [{\n            type: Injectable,\n            args: [{ providedIn: 'root' }]\n        }], ctorParameters: function () { return [{ type: Object, decorators: [{\n                    type: Inject,\n                    args: [PLATFORM_ID]\n                }] }]; } });\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nclass PlatformModule {\n}\nPlatformModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: PlatformModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\nPlatformModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: PlatformModule });\nPlatformModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: PlatformModule });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.0-rc.0\", ngImport: i0, type: PlatformModule, decorators: [{\n            type: NgModule,\n            args: [{}]\n        }] });\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/** Cached result Set of input types support by the current browser. */\nlet supportedInputTypes;\n/** Types of `<input>` that *might* be supported. */\nconst candidateInputTypes = [\n    // `color` must come first. Chrome 56 shows a warning if we change the type to `color` after\n    // first changing it to something else:\n    // The specified value \"\" does not conform to the required format.\n    // The format is \"#rrggbb\" where rr, gg, bb are two-digit hexadecimal numbers.\n    'color',\n    'button',\n    'checkbox',\n    'date',\n    'datetime-local',\n    'email',\n    'file',\n    'hidden',\n    'image',\n    'month',\n    'number',\n    'password',\n    'radio',\n    'range',\n    'reset',\n    'search',\n    'submit',\n    'tel',\n    'text',\n    'time',\n    'url',\n    'week',\n];\n/** @returns The input types supported by this browser. */\nfunction getSupportedInputTypes() {\n    // Result is cached.\n    if (supportedInputTypes) {\n        return supportedInputTypes;\n    }\n    // We can't check if an input type is not supported until we're on the browser, so say that\n    // everything is supported when not on the browser. We don't use `Platform` here since it's\n    // just a helper function and can't inject it.\n    if (typeof document !== 'object' || !document) {\n        supportedInputTypes = new Set(candidateInputTypes);\n        return supportedInputTypes;\n    }\n    let featureTestInput = document.createElement('input');\n    supportedInputTypes = new Set(candidateInputTypes.filter(value => {\n        featureTestInput.setAttribute('type', value);\n        return featureTestInput.type === value;\n    }));\n    return supportedInputTypes;\n}\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/** Cached result of whether the user's browser supports passive event listeners. */\nlet supportsPassiveEvents;\n/**\n * Checks whether the user's browser supports passive event listeners.\n * See: https://github.com/WICG/EventListenerOptions/blob/gh-pages/explainer.md\n */\nfunction supportsPassiveEventListeners() {\n    if (supportsPassiveEvents == null && typeof window !== 'undefined') {\n        try {\n            window.addEventListener('test', null, Object.defineProperty({}, 'passive', {\n                get: () => (supportsPassiveEvents = true),\n            }));\n        }\n        finally {\n            supportsPassiveEvents = supportsPassiveEvents || false;\n        }\n    }\n    return supportsPassiveEvents;\n}\n/**\n * Normalizes an `AddEventListener` object to something that can be passed\n * to `addEventListener` on any browser, no matter whether it supports the\n * `options` parameter.\n * @param options Object to be normalized.\n */\nfunction normalizePassiveListenerOptions(options) {\n    return supportsPassiveEventListeners() ? options : !!options.capture;\n}\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/** Cached result of the way the browser handles the horizontal scroll axis in RTL mode. */\nlet rtlScrollAxisType;\n/** Cached result of the check that indicates whether the browser supports scroll behaviors. */\nlet scrollBehaviorSupported;\n/** Check whether the browser supports scroll behaviors. */\nfunction supportsScrollBehavior() {\n    if (scrollBehaviorSupported == null) {\n        // If we're not in the browser, it can't be supported. Also check for `Element`, because\n        // some projects stub out the global `document` during SSR which can throw us off.\n        if (typeof document !== 'object' || !document || typeof Element !== 'function' || !Element) {\n            scrollBehaviorSupported = false;\n            return scrollBehaviorSupported;\n        }\n        // If the element can have a `scrollBehavior` style, we can be sure that it's supported.\n        if ('scrollBehavior' in document.documentElement.style) {\n            scrollBehaviorSupported = true;\n        }\n        else {\n            // At this point we have 3 possibilities: `scrollTo` isn't supported at all, it's\n            // supported but it doesn't handle scroll behavior, or it has been polyfilled.\n            const scrollToFunction = Element.prototype.scrollTo;\n            if (scrollToFunction) {\n                // We can detect if the function has been polyfilled by calling `toString` on it. Native\n                // functions are obfuscated using `[native code]`, whereas if it was overwritten we'd get\n                // the actual function source. Via https://davidwalsh.name/detect-native-function. Consider\n                // polyfilled functions as supporting scroll behavior.\n                scrollBehaviorSupported = !/\\{\\s*\\[native code\\]\\s*\\}/.test(scrollToFunction.toString());\n            }\n            else {\n                scrollBehaviorSupported = false;\n            }\n        }\n    }\n    return scrollBehaviorSupported;\n}\n/**\n * Checks the type of RTL scroll axis used by this browser. As of time of writing, Chrome is NORMAL,\n * Firefox & Safari are NEGATED, and IE & Edge are INVERTED.\n */\nfunction getRtlScrollAxisType() {\n    // We can't check unless we're on the browser. Just assume 'normal' if we're not.\n    if (typeof document !== 'object' || !document) {\n        return 0 /* RtlScrollAxisType.NORMAL */;\n    }\n    if (rtlScrollAxisType == null) {\n        // Create a 1px wide scrolling container and a 2px wide content element.\n        const scrollContainer = document.createElement('div');\n        const containerStyle = scrollContainer.style;\n        scrollContainer.dir = 'rtl';\n        containerStyle.width = '1px';\n        containerStyle.overflow = 'auto';\n        containerStyle.visibility = 'hidden';\n        containerStyle.pointerEvents = 'none';\n        containerStyle.position = 'absolute';\n        const content = document.createElement('div');\n        const contentStyle = content.style;\n        contentStyle.width = '2px';\n        contentStyle.height = '1px';\n        scrollContainer.appendChild(content);\n        document.body.appendChild(scrollContainer);\n        rtlScrollAxisType = 0 /* RtlScrollAxisType.NORMAL */;\n        // The viewport starts scrolled all the way to the right in RTL mode. If we are in a NORMAL\n        // browser this would mean that the scrollLeft should be 1. If it's zero instead we know we're\n        // dealing with one of the other two types of browsers.\n        if (scrollContainer.scrollLeft === 0) {\n            // In a NEGATED browser the scrollLeft is always somewhere in [-maxScrollAmount, 0]. For an\n            // INVERTED browser it is always somewhere in [0, maxScrollAmount]. We can determine which by\n            // setting to the scrollLeft to 1. This is past the max for a NEGATED browser, so it will\n            // return 0 when we read it again.\n            scrollContainer.scrollLeft = 1;\n            rtlScrollAxisType =\n                scrollContainer.scrollLeft === 0 ? 1 /* RtlScrollAxisType.NEGATED */ : 2 /* RtlScrollAxisType.INVERTED */;\n        }\n        scrollContainer.remove();\n    }\n    return rtlScrollAxisType;\n}\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nlet shadowDomIsSupported;\n/** Checks whether the user's browser support Shadow DOM. */\nfunction _supportsShadowDom() {\n    if (shadowDomIsSupported == null) {\n        const head = typeof document !== 'undefined' ? document.head : null;\n        shadowDomIsSupported = !!(head && (head.createShadowRoot || head.attachShadow));\n    }\n    return shadowDomIsSupported;\n}\n/** Gets the shadow root of an element, if supported and the element is inside the Shadow DOM. */\nfunction _getShadowRoot(element) {\n    if (_supportsShadowDom()) {\n        const rootNode = element.getRootNode ? element.getRootNode() : null;\n        // Note that this should be caught by `_supportsShadowDom`, but some\n        // teams have been able to hit this code path on unsupported browsers.\n        if (typeof ShadowRoot !== 'undefined' && ShadowRoot && rootNode instanceof ShadowRoot) {\n            return rootNode;\n        }\n    }\n    return null;\n}\n/**\n * Gets the currently-focused element on the page while\n * also piercing through Shadow DOM boundaries.\n */\nfunction _getFocusedElementPierceShadowDom() {\n    let activeElement = typeof document !== 'undefined' && document\n        ? document.activeElement\n        : null;\n    while (activeElement && activeElement.shadowRoot) {\n        const newActiveElement = activeElement.shadowRoot.activeElement;\n        if (newActiveElement === activeElement) {\n            break;\n        }\n        else {\n            activeElement = newActiveElement;\n        }\n    }\n    return activeElement;\n}\n/** Gets the target of an event while accounting for Shadow DOM. */\nfunction _getEventTarget(event) {\n    // If an event is bound outside the Shadow DOM, the `event.target` will\n    // point to the shadow root so we have to use `composedPath` instead.\n    return (event.composedPath ? event.composedPath()[0] : event.target);\n}\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/** Gets whether the code is currently running in a test environment. */\nfunction _isTestEnvironment() {\n    // We can't use `declare const` because it causes conflicts inside Google with the real typings\n    // for these symbols and we can't read them off the global object, because they don't appear to\n    // be attached there for some runners like Jest.\n    // (see: https://github.com/angular/components/issues/23365#issuecomment-938146643)\n    return (\n    // @ts-ignore\n    (typeof __karma__ !== 'undefined' && !!__karma__) ||\n        // @ts-ignore\n        (typeof jasmine !== 'undefined' && !!jasmine) ||\n        // @ts-ignore\n        (typeof jest !== 'undefined' && !!jest) ||\n        // @ts-ignore\n        (typeof Mocha !== 'undefined' && !!Mocha));\n}\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { Platform, PlatformModule, _getEventTarget, _getFocusedElementPierceShadowDom, _getShadowRoot, _isTestEnvironment, _supportsShadowDom, getRtlScrollAxisType, getSupportedInputTypes, normalizePassiveListenerOptions, supportsPassiveEventListeners, supportsScrollBehavior };\n","/**\n * @license Angular v15.2.10\n * (c) 2010-2022 Google LLC. https://angular.io/\n * License: MIT\n */\n\nimport * as i0 from '@angular/core';\nimport { InjectionToken, Injectable, ɵɵinject, Inject, inject, Optional, EventEmitter, ɵfindLocaleData, ɵLocaleDataIndex, ɵgetLocaleCurrencyCode, ɵgetLocalePluralCase, LOCALE_ID, ɵregisterLocaleData, ɵstringify, Directive, Input, createNgModule, NgModuleRef, ɵRuntimeError, Host, Attribute, RendererStyleFlags2, ɵisPromise, ɵisSubscribable, Pipe, DEFAULT_CURRENCY_CODE, NgModule, Version, ɵɵdefineInjectable, ɵformatRuntimeError, Renderer2, ElementRef, Injector, PLATFORM_ID, NgZone } from '@angular/core';\n\nlet _DOM = null;\nfunction getDOM() {\n    return _DOM;\n}\nfunction setRootDomAdapter(adapter) {\n    if (!_DOM) {\n        _DOM = adapter;\n    }\n}\n/* tslint:disable:requireParameterType */\n/**\n * Provides DOM operations in an environment-agnostic way.\n *\n * @security Tread carefully! Interacting with the DOM directly is dangerous and\n * can introduce XSS risks.\n */\nclass DomAdapter {\n}\n\n/**\n * A DI Token representing the main rendering context.\n * In a browser and SSR this is the DOM Document.\n * When using SSR, that document is created by [Domino](https://github.com/angular/domino).\n *\n * @publicApi\n */\nconst DOCUMENT = new InjectionToken('DocumentToken');\n\n/**\n * This class should not be used directly by an application developer. Instead, use\n * {@link Location}.\n *\n * `PlatformLocation` encapsulates all calls to DOM APIs, which allows the Router to be\n * platform-agnostic.\n * This means that we can have different implementation of `PlatformLocation` for the different\n * platforms that Angular supports. For example, `@angular/platform-browser` provides an\n * implementation specific to the browser environment, while `@angular/platform-server` provides\n * one suitable for use with server-side rendering.\n *\n * The `PlatformLocation` class is used directly by all implementations of {@link LocationStrategy}\n * when they need to interact with the DOM APIs like pushState, popState, etc.\n *\n * {@link LocationStrategy} in turn is used by the {@link Location} service which is used directly\n * by the {@link Router} in order to navigate between routes. Since all interactions between {@link\n * Router} /\n * {@link Location} / {@link LocationStrategy} and DOM APIs flow through the `PlatformLocation`\n * class, they are all platform-agnostic.\n *\n * @publicApi\n */\nclass PlatformLocation {\n    historyGo(relativePosition) {\n        throw new Error('Not implemented');\n    }\n}\nPlatformLocation.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: PlatformLocation, deps: [], target: i0.ɵɵFactoryTarget.Injectable });\nPlatformLocation.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: PlatformLocation, providedIn: 'platform', useFactory: useBrowserPlatformLocation });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: PlatformLocation, decorators: [{\n            type: Injectable,\n            args: [{\n                    providedIn: 'platform',\n                    // See #23917\n                    useFactory: useBrowserPlatformLocation\n                }]\n        }] });\nfunction useBrowserPlatformLocation() {\n    return ɵɵinject(BrowserPlatformLocation);\n}\n/**\n * @description\n * Indicates when a location is initialized.\n *\n * @publicApi\n */\nconst LOCATION_INITIALIZED = new InjectionToken('Location Initialized');\n/**\n * `PlatformLocation` encapsulates all of the direct calls to platform APIs.\n * This class should not be used directly by an application developer. Instead, use\n * {@link Location}.\n *\n * @publicApi\n */\nclass BrowserPlatformLocation extends PlatformLocation {\n    constructor(_doc) {\n        super();\n        this._doc = _doc;\n        this._location = window.location;\n        this._history = window.history;\n    }\n    getBaseHrefFromDOM() {\n        return getDOM().getBaseHref(this._doc);\n    }\n    onPopState(fn) {\n        const window = getDOM().getGlobalEventTarget(this._doc, 'window');\n        window.addEventListener('popstate', fn, false);\n        return () => window.removeEventListener('popstate', fn);\n    }\n    onHashChange(fn) {\n        const window = getDOM().getGlobalEventTarget(this._doc, 'window');\n        window.addEventListener('hashchange', fn, false);\n        return () => window.removeEventListener('hashchange', fn);\n    }\n    get href() {\n        return this._location.href;\n    }\n    get protocol() {\n        return this._location.protocol;\n    }\n    get hostname() {\n        return this._location.hostname;\n    }\n    get port() {\n        return this._location.port;\n    }\n    get pathname() {\n        return this._location.pathname;\n    }\n    get search() {\n        return this._location.search;\n    }\n    get hash() {\n        return this._location.hash;\n    }\n    set pathname(newPath) {\n        this._location.pathname = newPath;\n    }\n    pushState(state, title, url) {\n        if (supportsState()) {\n            this._history.pushState(state, title, url);\n        }\n        else {\n            this._location.hash = url;\n        }\n    }\n    replaceState(state, title, url) {\n        if (supportsState()) {\n            this._history.replaceState(state, title, url);\n        }\n        else {\n            this._location.hash = url;\n        }\n    }\n    forward() {\n        this._history.forward();\n    }\n    back() {\n        this._history.back();\n    }\n    historyGo(relativePosition = 0) {\n        this._history.go(relativePosition);\n    }\n    getState() {\n        return this._history.state;\n    }\n}\nBrowserPlatformLocation.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: BrowserPlatformLocation, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });\nBrowserPlatformLocation.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: BrowserPlatformLocation, providedIn: 'platform', useFactory: createBrowserPlatformLocation });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: BrowserPlatformLocation, decorators: [{\n            type: Injectable,\n            args: [{\n                    providedIn: 'platform',\n                    // See #23917\n                    useFactory: createBrowserPlatformLocation,\n                }]\n        }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n                    type: Inject,\n                    args: [DOCUMENT]\n                }] }]; } });\nfunction supportsState() {\n    return !!window.history.pushState;\n}\nfunction createBrowserPlatformLocation() {\n    return new BrowserPlatformLocation(ɵɵinject(DOCUMENT));\n}\n\n/**\n * Joins two parts of a URL with a slash if needed.\n *\n * @param start  URL string\n * @param end    URL string\n *\n *\n * @returns The joined URL string.\n */\nfunction joinWithSlash(start, end) {\n    if (start.length == 0) {\n        return end;\n    }\n    if (end.length == 0) {\n        return start;\n    }\n    let slashes = 0;\n    if (start.endsWith('/')) {\n        slashes++;\n    }\n    if (end.startsWith('/')) {\n        slashes++;\n    }\n    if (slashes == 2) {\n        return start + end.substring(1);\n    }\n    if (slashes == 1) {\n        return start + end;\n    }\n    return start + '/' + end;\n}\n/**\n * Removes a trailing slash from a URL string if needed.\n * Looks for the first occurrence of either `#`, `?`, or the end of the\n * line as `/` characters and removes the trailing slash if one exists.\n *\n * @param url URL string.\n *\n * @returns The URL string, modified if needed.\n */\nfunction stripTrailingSlash(url) {\n    const match = url.match(/#|\\?|$/);\n    const pathEndIdx = match && match.index || url.length;\n    const droppedSlashIdx = pathEndIdx - (url[pathEndIdx - 1] === '/' ? 1 : 0);\n    return url.slice(0, droppedSlashIdx) + url.slice(pathEndIdx);\n}\n/**\n * Normalizes URL parameters by prepending with `?` if needed.\n *\n * @param  params String of URL parameters.\n *\n * @returns The normalized URL parameters string.\n */\nfunction normalizeQueryParams(params) {\n    return params && params[0] !== '?' ? '?' + params : params;\n}\n\n/**\n * Enables the `Location` service to read route state from the browser's URL.\n * Angular provides two strategies:\n * `HashLocationStrategy` and `PathLocationStrategy`.\n *\n * Applications should use the `Router` or `Location` services to\n * interact with application route state.\n *\n * For instance, `HashLocationStrategy` produces URLs like\n * <code class=\"no-auto-link\">http://example.com#/foo</code>,\n * and `PathLocationStrategy` produces\n * <code class=\"no-auto-link\">http://example.com/foo</code> as an equivalent URL.\n *\n * See these two classes for more.\n *\n * @publicApi\n */\nclass LocationStrategy {\n    historyGo(relativePosition) {\n        throw new Error('Not implemented');\n    }\n}\nLocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: LocationStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });\nLocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: LocationStrategy, providedIn: 'root', useFactory: () => inject(PathLocationStrategy) });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: LocationStrategy, decorators: [{\n            type: Injectable,\n            args: [{ providedIn: 'root', useFactory: () => inject(PathLocationStrategy) }]\n        }] });\n/**\n * A predefined [DI token](guide/glossary#di-token) for the base href\n * to be used with the `PathLocationStrategy`.\n * The base href is the URL prefix that should be preserved when generating\n * and recognizing URLs.\n *\n * @usageNotes\n *\n * The following example shows how to use this token to configure the root app injector\n * with a base href value, so that the DI framework can supply the dependency anywhere in the app.\n *\n * ```typescript\n * import {Component, NgModule} from '@angular/core';\n * import {APP_BASE_HREF} from '@angular/common';\n *\n * @NgModule({\n *   providers: [{provide: APP_BASE_HREF, useValue: '/my/app'}]\n * })\n * class AppModule {}\n * ```\n *\n * @publicApi\n */\nconst APP_BASE_HREF = new InjectionToken('appBaseHref');\n/**\n * @description\n * A {@link LocationStrategy} used to configure the {@link Location} service to\n * represent its state in the\n * [path](https://en.wikipedia.org/wiki/Uniform_Resource_Locator#Syntax) of the\n * browser's URL.\n *\n * If you're using `PathLocationStrategy`, you may provide a {@link APP_BASE_HREF}\n * or add a `<base href>` element to the document to override the default.\n *\n * For instance, if you provide an `APP_BASE_HREF` of `'/my/app/'` and call\n * `location.go('/foo')`, the browser's URL will become\n * `example.com/my/app/foo`. To ensure all relative URIs resolve correctly,\n * the `<base href>` and/or `APP_BASE_HREF` should end with a `/`.\n *\n * Similarly, if you add `<base href='/my/app/'/>` to the document and call\n * `location.go('/foo')`, the browser's URL will become\n * `example.com/my/app/foo`.\n *\n * Note that when using `PathLocationStrategy`, neither the query nor\n * the fragment in the `<base href>` will be preserved, as outlined\n * by the [RFC](https://tools.ietf.org/html/rfc3986#section-5.2.2).\n *\n * @usageNotes\n *\n * ### Example\n *\n * {@example common/location/ts/path_location_component.ts region='LocationComponent'}\n *\n * @publicApi\n */\nclass PathLocationStrategy extends LocationStrategy {\n    constructor(_platformLocation, href) {\n        super();\n        this._platformLocation = _platformLocation;\n        this._removeListenerFns = [];\n        this._baseHref = href ?? this._platformLocation.getBaseHrefFromDOM() ??\n            inject(DOCUMENT).location?.origin ?? '';\n    }\n    /** @nodoc */\n    ngOnDestroy() {\n        while (this._removeListenerFns.length) {\n            this._removeListenerFns.pop()();\n        }\n    }\n    onPopState(fn) {\n        this._removeListenerFns.push(this._platformLocation.onPopState(fn), this._platformLocation.onHashChange(fn));\n    }\n    getBaseHref() {\n        return this._baseHref;\n    }\n    prepareExternalUrl(internal) {\n        return joinWithSlash(this._baseHref, internal);\n    }\n    path(includeHash = false) {\n        const pathname = this._platformLocation.pathname + normalizeQueryParams(this._platformLocation.search);\n        const hash = this._platformLocation.hash;\n        return hash && includeHash ? `${pathname}${hash}` : pathname;\n    }\n    pushState(state, title, url, queryParams) {\n        const externalUrl = this.prepareExternalUrl(url + normalizeQueryParams(queryParams));\n        this._platformLocation.pushState(state, title, externalUrl);\n    }\n    replaceState(state, title, url, queryParams) {\n        const externalUrl = this.prepareExternalUrl(url + normalizeQueryParams(queryParams));\n        this._platformLocation.replaceState(state, title, externalUrl);\n    }\n    forward() {\n        this._platformLocation.forward();\n    }\n    back() {\n        this._platformLocation.back();\n    }\n    getState() {\n        return this._platformLocation.getState();\n    }\n    historyGo(relativePosition = 0) {\n        this._platformLocation.historyGo?.(relativePosition);\n    }\n}\nPathLocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: PathLocationStrategy, deps: [{ token: PlatformLocation }, { token: APP_BASE_HREF, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });\nPathLocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: PathLocationStrategy, providedIn: 'root' });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: PathLocationStrategy, decorators: [{\n            type: Injectable,\n            args: [{ providedIn: 'root' }]\n        }], ctorParameters: function () { return [{ type: PlatformLocation }, { type: undefined, decorators: [{\n                    type: Optional\n                }, {\n                    type: Inject,\n                    args: [APP_BASE_HREF]\n                }] }]; } });\n\n/**\n * @description\n * A {@link LocationStrategy} used to configure the {@link Location} service to\n * represent its state in the\n * [hash fragment](https://en.wikipedia.org/wiki/Uniform_Resource_Locator#Syntax)\n * of the browser's URL.\n *\n * For instance, if you call `location.go('/foo')`, the browser's URL will become\n * `example.com#/foo`.\n *\n * @usageNotes\n *\n * ### Example\n *\n * {@example common/location/ts/hash_location_component.ts region='LocationComponent'}\n *\n * @publicApi\n */\nclass HashLocationStrategy extends LocationStrategy {\n    constructor(_platformLocation, _baseHref) {\n        super();\n        this._platformLocation = _platformLocation;\n        this._baseHref = '';\n        this._removeListenerFns = [];\n        if (_baseHref != null) {\n            this._baseHref = _baseHref;\n        }\n    }\n    /** @nodoc */\n    ngOnDestroy() {\n        while (this._removeListenerFns.length) {\n            this._removeListenerFns.pop()();\n        }\n    }\n    onPopState(fn) {\n        this._removeListenerFns.push(this._platformLocation.onPopState(fn), this._platformLocation.onHashChange(fn));\n    }\n    getBaseHref() {\n        return this._baseHref;\n    }\n    path(includeHash = false) {\n        // the hash value is always prefixed with a `#`\n        // and if it is empty then it will stay empty\n        let path = this._platformLocation.hash;\n        if (path == null)\n            path = '#';\n        return path.length > 0 ? path.substring(1) : path;\n    }\n    prepareExternalUrl(internal) {\n        const url = joinWithSlash(this._baseHref, internal);\n        return url.length > 0 ? ('#' + url) : url;\n    }\n    pushState(state, title, path, queryParams) {\n        let url = this.prepareExternalUrl(path + normalizeQueryParams(queryParams));\n        if (url.length == 0) {\n            url = this._platformLocation.pathname;\n        }\n        this._platformLocation.pushState(state, title, url);\n    }\n    replaceState(state, title, path, queryParams) {\n        let url = this.prepareExternalUrl(path + normalizeQueryParams(queryParams));\n        if (url.length == 0) {\n            url = this._platformLocation.pathname;\n        }\n        this._platformLocation.replaceState(state, title, url);\n    }\n    forward() {\n        this._platformLocation.forward();\n    }\n    back() {\n        this._platformLocation.back();\n    }\n    getState() {\n        return this._platformLocation.getState();\n    }\n    historyGo(relativePosition = 0) {\n        this._platformLocation.historyGo?.(relativePosition);\n    }\n}\nHashLocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: HashLocationStrategy, deps: [{ token: PlatformLocation }, { token: APP_BASE_HREF, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });\nHashLocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: HashLocationStrategy });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: HashLocationStrategy, decorators: [{\n            type: Injectable\n        }], ctorParameters: function () { return [{ type: PlatformLocation }, { type: undefined, decorators: [{\n                    type: Optional\n                }, {\n                    type: Inject,\n                    args: [APP_BASE_HREF]\n                }] }]; } });\n\n/**\n * @description\n *\n * A service that applications can use to interact with a browser's URL.\n *\n * Depending on the `LocationStrategy` used, `Location` persists\n * to the URL's path or the URL's hash segment.\n *\n * @usageNotes\n *\n * It's better to use the `Router.navigate()` service to trigger route changes. Use\n * `Location` only if you need to interact with or create normalized URLs outside of\n * routing.\n *\n * `Location` is responsible for normalizing the URL against the application's base href.\n * A normalized URL is absolute from the URL host, includes the application's base href, and has no\n * trailing slash:\n * - `/my/app/user/123` is normalized\n * - `my/app/user/123` **is not** normalized\n * - `/my/app/user/123/` **is not** normalized\n *\n * ### Example\n *\n * <code-example path='common/location/ts/path_location_component.ts'\n * region='LocationComponent'></code-example>\n *\n * @publicApi\n */\nclass Location {\n    constructor(locationStrategy) {\n        /** @internal */\n        this._subject = new EventEmitter();\n        /** @internal */\n        this._urlChangeListeners = [];\n        /** @internal */\n        this._urlChangeSubscription = null;\n        this._locationStrategy = locationStrategy;\n        const baseHref = this._locationStrategy.getBaseHref();\n        // Note: This class's interaction with base HREF does not fully follow the rules\n        // outlined in the spec https://www.freesoft.org/CIE/RFC/1808/18.htm.\n        // Instead of trying to fix individual bugs with more and more code, we should\n        // investigate using the URL constructor and providing the base as a second\n        // argument.\n        // https://developer.mozilla.org/en-US/docs/Web/API/URL/URL#parameters\n        this._basePath = _stripOrigin(stripTrailingSlash(_stripIndexHtml(baseHref)));\n        this._locationStrategy.onPopState((ev) => {\n            this._subject.emit({\n                'url': this.path(true),\n                'pop': true,\n                'state': ev.state,\n                'type': ev.type,\n            });\n        });\n    }\n    /** @nodoc */\n    ngOnDestroy() {\n        this._urlChangeSubscription?.unsubscribe();\n        this._urlChangeListeners = [];\n    }\n    /**\n     * Normalizes the URL path for this location.\n     *\n     * @param includeHash True to include an anchor fragment in the path.\n     *\n     * @returns The normalized URL path.\n     */\n    // TODO: vsavkin. Remove the boolean flag and always include hash once the deprecated router is\n    // removed.\n    path(includeHash = false) {\n        return this.normalize(this._locationStrategy.path(includeHash));\n    }\n    /**\n     * Reports the current state of the location history.\n     * @returns The current value of the `history.state` object.\n     */\n    getState() {\n        return this._locationStrategy.getState();\n    }\n    /**\n     * Normalizes the given path and compares to the current normalized path.\n     *\n     * @param path The given URL path.\n     * @param query Query parameters.\n     *\n     * @returns True if the given URL path is equal to the current normalized path, false\n     * otherwise.\n     */\n    isCurrentPathEqualTo(path, query = '') {\n        return this.path() == this.normalize(path + normalizeQueryParams(query));\n    }\n    /**\n     * Normalizes a URL path by stripping any trailing slashes.\n     *\n     * @param url String representing a URL.\n     *\n     * @returns The normalized URL string.\n     */\n    normalize(url) {\n        return Location.stripTrailingSlash(_stripBasePath(this._basePath, _stripIndexHtml(url)));\n    }\n    /**\n     * Normalizes an external URL path.\n     * If the given URL doesn't begin with a leading slash (`'/'`), adds one\n     * before normalizing. Adds a hash if `HashLocationStrategy` is\n     * in use, or the `APP_BASE_HREF` if the `PathLocationStrategy` is in use.\n     *\n     * @param url String representing a URL.\n     *\n     * @returns  A normalized platform-specific URL.\n     */\n    prepareExternalUrl(url) {\n        if (url && url[0] !== '/') {\n            url = '/' + url;\n        }\n        return this._locationStrategy.prepareExternalUrl(url);\n    }\n    // TODO: rename this method to pushState\n    /**\n     * Changes the browser's URL to a normalized version of a given URL, and pushes a\n     * new item onto the platform's history.\n     *\n     * @param path  URL path to normalize.\n     * @param query Query parameters.\n     * @param state Location history state.\n     *\n     */\n    go(path, query = '', state = null) {\n        this._locationStrategy.pushState(state, '', path, query);\n        this._notifyUrlChangeListeners(this.prepareExternalUrl(path + normalizeQueryParams(query)), state);\n    }\n    /**\n     * Changes the browser's URL to a normalized version of the given URL, and replaces\n     * the top item on the platform's history stack.\n     *\n     * @param path  URL path to normalize.\n     * @param query Query parameters.\n     * @param state Location history state.\n     */\n    replaceState(path, query = '', state = null) {\n        this._locationStrategy.replaceState(state, '', path, query);\n        this._notifyUrlChangeListeners(this.prepareExternalUrl(path + normalizeQueryParams(query)), state);\n    }\n    /**\n     * Navigates forward in the platform's history.\n     */\n    forward() {\n        this._locationStrategy.forward();\n    }\n    /**\n     * Navigates back in the platform's history.\n     */\n    back() {\n        this._locationStrategy.back();\n    }\n    /**\n     * Navigate to a specific page from session history, identified by its relative position to the\n     * current page.\n     *\n     * @param relativePosition  Position of the target page in the history relative to the current\n     *     page.\n     * A negative value moves backwards, a positive value moves forwards, e.g. `location.historyGo(2)`\n     * moves forward two pages and `location.historyGo(-2)` moves back two pages. When we try to go\n     * beyond what's stored in the history session, we stay in the current page. Same behaviour occurs\n     * when `relativePosition` equals 0.\n     * @see https://developer.mozilla.org/en-US/docs/Web/API/History_API#Moving_to_a_specific_point_in_history\n     */\n    historyGo(relativePosition = 0) {\n        this._locationStrategy.historyGo?.(relativePosition);\n    }\n    /**\n     * Registers a URL change listener. Use to catch updates performed by the Angular\n     * framework that are not detectible through \"popstate\" or \"hashchange\" events.\n     *\n     * @param fn The change handler function, which take a URL and a location history state.\n     * @returns A function that, when executed, unregisters a URL change listener.\n     */\n    onUrlChange(fn) {\n        this._urlChangeListeners.push(fn);\n        if (!this._urlChangeSubscription) {\n            this._urlChangeSubscription = this.subscribe(v => {\n                this._notifyUrlChangeListeners(v.url, v.state);\n            });\n        }\n        return () => {\n            const fnIndex = this._urlChangeListeners.indexOf(fn);\n            this._urlChangeListeners.splice(fnIndex, 1);\n            if (this._urlChangeListeners.length === 0) {\n                this._urlChangeSubscription?.unsubscribe();\n                this._urlChangeSubscription = null;\n            }\n        };\n    }\n    /** @internal */\n    _notifyUrlChangeListeners(url = '', state) {\n        this._urlChangeListeners.forEach(fn => fn(url, state));\n    }\n    /**\n     * Subscribes to the platform's `popState` events.\n     *\n     * Note: `Location.go()` does not trigger the `popState` event in the browser. Use\n     * `Location.onUrlChange()` to subscribe to URL changes instead.\n     *\n     * @param value Event that is triggered when the state history changes.\n     * @param exception The exception to throw.\n     *\n     * @see [onpopstate](https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onpopstate)\n     *\n     * @returns Subscribed events.\n     */\n    subscribe(onNext, onThrow, onReturn) {\n        return this._subject.subscribe({ next: onNext, error: onThrow, complete: onReturn });\n    }\n}\n/**\n * Normalizes URL parameters by prepending with `?` if needed.\n *\n * @param  params String of URL parameters.\n *\n * @returns The normalized URL parameters string.\n */\nLocation.normalizeQueryParams = normalizeQueryParams;\n/**\n * Joins two parts of a URL with a slash if needed.\n *\n * @param start  URL string\n * @param end    URL string\n *\n *\n * @returns The joined URL string.\n */\nLocation.joinWithSlash = joinWithSlash;\n/**\n * Removes a trailing slash from a URL string if needed.\n * Looks for the first occurrence of either `#`, `?`, or the end of the\n * line as `/` characters and removes the trailing slash if one exists.\n *\n * @param url URL string.\n *\n * @returns The URL string, modified if needed.\n */\nLocation.stripTrailingSlash = stripTrailingSlash;\nLocation.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: Location, deps: [{ token: LocationStrategy }], target: i0.ɵɵFactoryTarget.Injectable });\nLocation.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: Location, providedIn: 'root', useFactory: createLocation });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: Location, decorators: [{\n            type: Injectable,\n            args: [{\n                    providedIn: 'root',\n                    // See #23917\n                    useFactory: createLocation,\n                }]\n        }], ctorParameters: function () { return [{ type: LocationStrategy }]; } });\nfunction createLocation() {\n    return new Location(ɵɵinject(LocationStrategy));\n}\nfunction _stripBasePath(basePath, url) {\n    if (!basePath || !url.startsWith(basePath)) {\n        return url;\n    }\n    const strippedUrl = url.substring(basePath.length);\n    if (strippedUrl === '' || ['/', ';', '?', '#'].includes(strippedUrl[0])) {\n        return strippedUrl;\n    }\n    return url;\n}\nfunction _stripIndexHtml(url) {\n    return url.replace(/\\/index.html$/, '');\n}\nfunction _stripOrigin(baseHref) {\n    // DO NOT REFACTOR! Previously, this check looked like this:\n    // `/^(https?:)?\\/\\//.test(baseHref)`, but that resulted in\n    // syntactically incorrect code after Closure Compiler minification.\n    // This was likely caused by a bug in Closure Compiler, but\n    // for now, the check is rewritten to use `new RegExp` instead.\n    const isAbsoluteUrl = (new RegExp('^(https?:)?//')).test(baseHref);\n    if (isAbsoluteUrl) {\n        const [, pathname] = baseHref.split(/\\/\\/[^\\/]+/);\n        return pathname;\n    }\n    return baseHref;\n}\n\n/** @internal */\nconst CURRENCIES_EN = { \"ADP\": [undefined, undefined, 0], \"AFN\": [undefined, \"؋\", 0], \"ALL\": [undefined, undefined, 0], \"AMD\": [undefined, \"֏\", 2], \"AOA\": [undefined, \"Kz\"], \"ARS\": [undefined, \"$\"], \"AUD\": [\"A$\", \"$\"], \"AZN\": [undefined, \"₼\"], \"BAM\": [undefined, \"KM\"], \"BBD\": [undefined, \"$\"], \"BDT\": [undefined, \"৳\"], \"BHD\": [undefined, undefined, 3], \"BIF\": [undefined, undefined, 0], \"BMD\": [undefined, \"$\"], \"BND\": [undefined, \"$\"], \"BOB\": [undefined, \"Bs\"], \"BRL\": [\"R$\"], \"BSD\": [undefined, \"$\"], \"BWP\": [undefined, \"P\"], \"BYN\": [undefined, undefined, 2], \"BYR\": [undefined, undefined, 0], \"BZD\": [undefined, \"$\"], \"CAD\": [\"CA$\", \"$\", 2], \"CHF\": [undefined, undefined, 2], \"CLF\": [undefined, undefined, 4], \"CLP\": [undefined, \"$\", 0], \"CNY\": [\"CN¥\", \"¥\"], \"COP\": [undefined, \"$\", 2], \"CRC\": [undefined, \"₡\", 2], \"CUC\": [undefined, \"$\"], \"CUP\": [undefined, \"$\"], \"CZK\": [undefined, \"Kč\", 2], \"DJF\": [undefined, undefined, 0], \"DKK\": [undefined, \"kr\", 2], \"DOP\": [undefined, \"$\"], \"EGP\": [undefined, \"E£\"], \"ESP\": [undefined, \"₧\", 0], \"EUR\": [\"€\"], \"FJD\": [undefined, \"$\"], \"FKP\": [undefined, \"£\"], \"GBP\": [\"£\"], \"GEL\": [undefined, \"₾\"], \"GHS\": [undefined, \"GH₵\"], \"GIP\": [undefined, \"£\"], \"GNF\": [undefined, \"FG\", 0], \"GTQ\": [undefined, \"Q\"], \"GYD\": [undefined, \"$\", 2], \"HKD\": [\"HK$\", \"$\"], \"HNL\": [undefined, \"L\"], \"HRK\": [undefined, \"kn\"], \"HUF\": [undefined, \"Ft\", 2], \"IDR\": [undefined, \"Rp\", 2], \"ILS\": [\"₪\"], \"INR\": [\"₹\"], \"IQD\": [undefined, undefined, 0], \"IRR\": [undefined, undefined, 0], \"ISK\": [undefined, \"kr\", 0], \"ITL\": [undefined, undefined, 0], \"JMD\": [undefined, \"$\"], \"JOD\": [undefined, undefined, 3], \"JPY\": [\"¥\", undefined, 0], \"KHR\": [undefined, \"៛\"], \"KMF\": [undefined, \"CF\", 0], \"KPW\": [undefined, \"₩\", 0], \"KRW\": [\"₩\", undefined, 0], \"KWD\": [undefined, undefined, 3], \"KYD\": [undefined, \"$\"], \"KZT\": [undefined, \"₸\"], \"LAK\": [undefined, \"₭\", 0], \"LBP\": [undefined, \"L£\", 0], \"LKR\": [undefined, \"Rs\"], \"LRD\": [undefined, \"$\"], \"LTL\": [undefined, \"Lt\"], \"LUF\": [undefined, undefined, 0], \"LVL\": [undefined, \"Ls\"], \"LYD\": [undefined, undefined, 3], \"MGA\": [undefined, \"Ar\", 0], \"MGF\": [undefined, undefined, 0], \"MMK\": [undefined, \"K\", 0], \"MNT\": [undefined, \"₮\", 2], \"MRO\": [undefined, undefined, 0], \"MUR\": [undefined, \"Rs\", 2], \"MXN\": [\"MX$\", \"$\"], \"MYR\": [undefined, \"RM\"], \"NAD\": [undefined, \"$\"], \"NGN\": [undefined, \"₦\"], \"NIO\": [undefined, \"C$\"], \"NOK\": [undefined, \"kr\", 2], \"NPR\": [undefined, \"Rs\"], \"NZD\": [\"NZ$\", \"$\"], \"OMR\": [undefined, undefined, 3], \"PHP\": [\"₱\"], \"PKR\": [undefined, \"Rs\", 2], \"PLN\": [undefined, \"zł\"], \"PYG\": [undefined, \"₲\", 0], \"RON\": [undefined, \"lei\"], \"RSD\": [undefined, undefined, 0], \"RUB\": [undefined, \"₽\"], \"RWF\": [undefined, \"RF\", 0], \"SBD\": [undefined, \"$\"], \"SEK\": [undefined, \"kr\", 2], \"SGD\": [undefined, \"$\"], \"SHP\": [undefined, \"£\"], \"SLE\": [undefined, undefined, 2], \"SLL\": [undefined, undefined, 0], \"SOS\": [undefined, undefined, 0], \"SRD\": [undefined, \"$\"], \"SSP\": [undefined, \"£\"], \"STD\": [undefined, undefined, 0], \"STN\": [undefined, \"Db\"], \"SYP\": [undefined, \"£\", 0], \"THB\": [undefined, \"฿\"], \"TMM\": [undefined, undefined, 0], \"TND\": [undefined, undefined, 3], \"TOP\": [undefined, \"T$\"], \"TRL\": [undefined, undefined, 0], \"TRY\": [undefined, \"₺\"], \"TTD\": [undefined, \"$\"], \"TWD\": [\"NT$\", \"$\", 2], \"TZS\": [undefined, undefined, 2], \"UAH\": [undefined, \"₴\"], \"UGX\": [undefined, undefined, 0], \"USD\": [\"$\"], \"UYI\": [undefined, undefined, 0], \"UYU\": [undefined, \"$\"], \"UYW\": [undefined, undefined, 4], \"UZS\": [undefined, undefined, 2], \"VEF\": [undefined, \"Bs\", 2], \"VND\": [\"₫\", undefined, 0], \"VUV\": [undefined, undefined, 0], \"XAF\": [\"FCFA\", undefined, 0], \"XCD\": [\"EC$\", \"$\"], \"XOF\": [\"F CFA\", undefined, 0], \"XPF\": [\"CFPF\", undefined, 0], \"XXX\": [\"¤\"], \"YER\": [undefined, undefined, 0], \"ZAR\": [undefined, \"R\"], \"ZMK\": [undefined, undefined, 0], \"ZMW\": [undefined, \"ZK\"], \"ZWD\": [undefined, undefined, 0] };\n\n/**\n * Format styles that can be used to represent numbers.\n * @see `getLocaleNumberFormat()`.\n * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)\n *\n * @publicApi\n */\nvar NumberFormatStyle;\n(function (NumberFormatStyle) {\n    NumberFormatStyle[NumberFormatStyle[\"Decimal\"] = 0] = \"Decimal\";\n    NumberFormatStyle[NumberFormatStyle[\"Percent\"] = 1] = \"Percent\";\n    NumberFormatStyle[NumberFormatStyle[\"Currency\"] = 2] = \"Currency\";\n    NumberFormatStyle[NumberFormatStyle[\"Scientific\"] = 3] = \"Scientific\";\n})(NumberFormatStyle || (NumberFormatStyle = {}));\n/**\n * Plurality cases used for translating plurals to different languages.\n *\n * @see `NgPlural`\n * @see `NgPluralCase`\n * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)\n *\n * @publicApi\n */\nvar Plural;\n(function (Plural) {\n    Plural[Plural[\"Zero\"] = 0] = \"Zero\";\n    Plural[Plural[\"One\"] = 1] = \"One\";\n    Plural[Plural[\"Two\"] = 2] = \"Two\";\n    Plural[Plural[\"Few\"] = 3] = \"Few\";\n    Plural[Plural[\"Many\"] = 4] = \"Many\";\n    Plural[Plural[\"Other\"] = 5] = \"Other\";\n})(Plural || (Plural = {}));\n/**\n * Context-dependant translation forms for strings.\n * Typically the standalone version is for the nominative form of the word,\n * and the format version is used for the genitive case.\n * @see [CLDR website](http://cldr.unicode.org/translation/date-time-1/date-time#TOC-Standalone-vs.-Format-Styles)\n * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)\n *\n * @publicApi\n */\nvar FormStyle;\n(function (FormStyle) {\n    FormStyle[FormStyle[\"Format\"] = 0] = \"Format\";\n    FormStyle[FormStyle[\"Standalone\"] = 1] = \"Standalone\";\n})(FormStyle || (FormStyle = {}));\n/**\n * String widths available for translations.\n * The specific character widths are locale-specific.\n * Examples are given for the word \"Sunday\" in English.\n *\n * @publicApi\n */\nvar TranslationWidth;\n(function (TranslationWidth) {\n    /** 1 character for `en-US`. For example: 'S' */\n    TranslationWidth[TranslationWidth[\"Narrow\"] = 0] = \"Narrow\";\n    /** 3 characters for `en-US`. For example: 'Sun' */\n    TranslationWidth[TranslationWidth[\"Abbreviated\"] = 1] = \"Abbreviated\";\n    /** Full length for `en-US`. For example: \"Sunday\" */\n    TranslationWidth[TranslationWidth[\"Wide\"] = 2] = \"Wide\";\n    /** 2 characters for `en-US`, For example: \"Su\" */\n    TranslationWidth[TranslationWidth[\"Short\"] = 3] = \"Short\";\n})(TranslationWidth || (TranslationWidth = {}));\n/**\n * String widths available for date-time formats.\n * The specific character widths are locale-specific.\n * Examples are given for `en-US`.\n *\n * @see `getLocaleDateFormat()`\n * @see `getLocaleTimeFormat()`\n * @see `getLocaleDateTimeFormat()`\n * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)\n * @publicApi\n */\nvar FormatWidth;\n(function (FormatWidth) {\n    /**\n     * For `en-US`, 'M/d/yy, h:mm a'`\n     * (Example: `6/15/15, 9:03 AM`)\n     */\n    FormatWidth[FormatWidth[\"Short\"] = 0] = \"Short\";\n    /**\n     * For `en-US`, `'MMM d, y, h:mm:ss a'`\n     * (Example: `Jun 15, 2015, 9:03:01 AM`)\n     */\n    FormatWidth[FormatWidth[\"Medium\"] = 1] = \"Medium\";\n    /**\n     * For `en-US`, `'MMMM d, y, h:mm:ss a z'`\n     * (Example: `June 15, 2015 at 9:03:01 AM GMT+1`)\n     */\n    FormatWidth[FormatWidth[\"Long\"] = 2] = \"Long\";\n    /**\n     * For `en-US`, `'EEEE, MMMM d, y, h:mm:ss a zzzz'`\n     * (Example: `Monday, June 15, 2015 at 9:03:01 AM GMT+01:00`)\n     */\n    FormatWidth[FormatWidth[\"Full\"] = 3] = \"Full\";\n})(FormatWidth || (FormatWidth = {}));\n/**\n * Symbols that can be used to replace placeholders in number patterns.\n * Examples are based on `en-US` values.\n *\n * @see `getLocaleNumberSymbol()`\n * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)\n *\n * @publicApi\n */\nvar NumberSymbol;\n(function (NumberSymbol) {\n    /**\n     * Decimal separator.\n     * For `en-US`, the dot character.\n     * Example: 2,345`.`67\n     */\n    NumberSymbol[NumberSymbol[\"Decimal\"] = 0] = \"Decimal\";\n    /**\n     * Grouping separator, typically for thousands.\n     * For `en-US`, the comma character.\n     * Example: 2`,`345.67\n     */\n    NumberSymbol[NumberSymbol[\"Group\"] = 1] = \"Group\";\n    /**\n     * List-item separator.\n     * Example: \"one, two, and three\"\n     */\n    NumberSymbol[NumberSymbol[\"List\"] = 2] = \"List\";\n    /**\n     * Sign for percentage (out of 100).\n     * Example: 23.4%\n     */\n    NumberSymbol[NumberSymbol[\"PercentSign\"] = 3] = \"PercentSign\";\n    /**\n     * Sign for positive numbers.\n     * Example: +23\n     */\n    NumberSymbol[NumberSymbol[\"PlusSign\"] = 4] = \"PlusSign\";\n    /**\n     * Sign for negative numbers.\n     * Example: -23\n     */\n    NumberSymbol[NumberSymbol[\"MinusSign\"] = 5] = \"MinusSign\";\n    /**\n     * Computer notation for exponential value (n times a power of 10).\n     * Example: 1.2E3\n     */\n    NumberSymbol[NumberSymbol[\"Exponential\"] = 6] = \"Exponential\";\n    /**\n     * Human-readable format of exponential.\n     * Example: 1.2x103\n     */\n    NumberSymbol[NumberSymbol[\"SuperscriptingExponent\"] = 7] = \"SuperscriptingExponent\";\n    /**\n     * Sign for permille (out of 1000).\n     * Example: 23.4‰\n     */\n    NumberSymbol[NumberSymbol[\"PerMille\"] = 8] = \"PerMille\";\n    /**\n     * Infinity, can be used with plus and minus.\n     * Example: ∞, +∞, -∞\n     */\n    NumberSymbol[NumberSymbol[\"Infinity\"] = 9] = \"Infinity\";\n    /**\n     * Not a number.\n     * Example: NaN\n     */\n    NumberSymbol[NumberSymbol[\"NaN\"] = 10] = \"NaN\";\n    /**\n     * Symbol used between time units.\n     * Example: 10:52\n     */\n    NumberSymbol[NumberSymbol[\"TimeSeparator\"] = 11] = \"TimeSeparator\";\n    /**\n     * Decimal separator for currency values (fallback to `Decimal`).\n     * Example: $2,345.67\n     */\n    NumberSymbol[NumberSymbol[\"CurrencyDecimal\"] = 12] = \"CurrencyDecimal\";\n    /**\n     * Group separator for currency values (fallback to `Group`).\n     * Example: $2,345.67\n     */\n    NumberSymbol[NumberSymbol[\"CurrencyGroup\"] = 13] = \"CurrencyGroup\";\n})(NumberSymbol || (NumberSymbol = {}));\n/**\n * The value for each day of the week, based on the `en-US` locale\n *\n * @publicApi\n */\nvar WeekDay;\n(function (WeekDay) {\n    WeekDay[WeekDay[\"Sunday\"] = 0] = \"Sunday\";\n    WeekDay[WeekDay[\"Monday\"] = 1] = \"Monday\";\n    WeekDay[WeekDay[\"Tuesday\"] = 2] = \"Tuesday\";\n    WeekDay[WeekDay[\"Wednesday\"] = 3] = \"Wednesday\";\n    WeekDay[WeekDay[\"Thursday\"] = 4] = \"Thursday\";\n    WeekDay[WeekDay[\"Friday\"] = 5] = \"Friday\";\n    WeekDay[WeekDay[\"Saturday\"] = 6] = \"Saturday\";\n})(WeekDay || (WeekDay = {}));\n/**\n * Retrieves the locale ID from the currently loaded locale.\n * The loaded locale could be, for example, a global one rather than a regional one.\n * @param locale A locale code, such as `fr-FR`.\n * @returns The locale code. For example, `fr`.\n * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction getLocaleId(locale) {\n    return ɵfindLocaleData(locale)[ɵLocaleDataIndex.LocaleId];\n}\n/**\n * Retrieves day period strings for the given locale.\n *\n * @param locale A locale code for the locale format rules to use.\n * @param formStyle The required grammatical form.\n * @param width The required character width.\n * @returns An array of localized period strings. For example, `[AM, PM]` for `en-US`.\n * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction getLocaleDayPeriods(locale, formStyle, width) {\n    const data = ɵfindLocaleData(locale);\n    const amPmData = [\n        data[ɵLocaleDataIndex.DayPeriodsFormat], data[ɵLocaleDataIndex.DayPeriodsStandalone]\n    ];\n    const amPm = getLastDefinedValue(amPmData, formStyle);\n    return getLastDefinedValue(amPm, width);\n}\n/**\n * Retrieves days of the week for the given locale, using the Gregorian calendar.\n *\n * @param locale A locale code for the locale format rules to use.\n * @param formStyle The required grammatical form.\n * @param width The required character width.\n * @returns An array of localized name strings.\n * For example,`[Sunday, Monday, ... Saturday]` for `en-US`.\n * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction getLocaleDayNames(locale, formStyle, width) {\n    const data = ɵfindLocaleData(locale);\n    const daysData = [data[ɵLocaleDataIndex.DaysFormat], data[ɵLocaleDataIndex.DaysStandalone]];\n    const days = getLastDefinedValue(daysData, formStyle);\n    return getLastDefinedValue(days, width);\n}\n/**\n * Retrieves months of the year for the given locale, using the Gregorian calendar.\n *\n * @param locale A locale code for the locale format rules to use.\n * @param formStyle The required grammatical form.\n * @param width The required character width.\n * @returns An array of localized name strings.\n * For example,  `[January, February, ...]` for `en-US`.\n * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction getLocaleMonthNames(locale, formStyle, width) {\n    const data = ɵfindLocaleData(locale);\n    const monthsData = [data[ɵLocaleDataIndex.MonthsFormat], data[ɵLocaleDataIndex.MonthsStandalone]];\n    const months = getLastDefinedValue(monthsData, formStyle);\n    return getLastDefinedValue(months, width);\n}\n/**\n * Retrieves Gregorian-calendar eras for the given locale.\n * @param locale A locale code for the locale format rules to use.\n * @param width The required character width.\n\n * @returns An array of localized era strings.\n * For example, `[AD, BC]` for `en-US`.\n * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction getLocaleEraNames(locale, width) {\n    const data = ɵfindLocaleData(locale);\n    const erasData = data[ɵLocaleDataIndex.Eras];\n    return getLastDefinedValue(erasData, width);\n}\n/**\n * Retrieves the first day of the week for the given locale.\n *\n * @param locale A locale code for the locale format rules to use.\n * @returns A day index number, using the 0-based week-day index for `en-US`\n * (Sunday = 0, Monday = 1, ...).\n * For example, for `fr-FR`, returns 1 to indicate that the first day is Monday.\n * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction getLocaleFirstDayOfWeek(locale) {\n    const data = ɵfindLocaleData(locale);\n    return data[ɵLocaleDataIndex.FirstDayOfWeek];\n}\n/**\n * Range of week days that are considered the week-end for the given locale.\n *\n * @param locale A locale code for the locale format rules to use.\n * @returns The range of day values, `[startDay, endDay]`.\n * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction getLocaleWeekEndRange(locale) {\n    const data = ɵfindLocaleData(locale);\n    return data[ɵLocaleDataIndex.WeekendRange];\n}\n/**\n * Retrieves a localized date-value formatting string.\n *\n * @param locale A locale code for the locale format rules to use.\n * @param width The format type.\n * @returns The localized formatting string.\n * @see `FormatWidth`\n * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction getLocaleDateFormat(locale, width) {\n    const data = ɵfindLocaleData(locale);\n    return getLastDefinedValue(data[ɵLocaleDataIndex.DateFormat], width);\n}\n/**\n * Retrieves a localized time-value formatting string.\n *\n * @param locale A locale code for the locale format rules to use.\n * @param width The format type.\n * @returns The localized formatting string.\n * @see `FormatWidth`\n * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)\n\n * @publicApi\n */\nfunction getLocaleTimeFormat(locale, width) {\n    const data = ɵfindLocaleData(locale);\n    return getLastDefinedValue(data[ɵLocaleDataIndex.TimeFormat], width);\n}\n/**\n * Retrieves a localized date-time formatting string.\n *\n * @param locale A locale code for the locale format rules to use.\n * @param width The format type.\n * @returns The localized formatting string.\n * @see `FormatWidth`\n * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction getLocaleDateTimeFormat(locale, width) {\n    const data = ɵfindLocaleData(locale);\n    const dateTimeFormatData = data[ɵLocaleDataIndex.DateTimeFormat];\n    return getLastDefinedValue(dateTimeFormatData, width);\n}\n/**\n * Retrieves a localized number symbol that can be used to replace placeholders in number formats.\n * @param locale The locale code.\n * @param symbol The symbol to localize.\n * @returns The character for the localized symbol.\n * @see `NumberSymbol`\n * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction getLocaleNumberSymbol(locale, symbol) {\n    const data = ɵfindLocaleData(locale);\n    const res = data[ɵLocaleDataIndex.NumberSymbols][symbol];\n    if (typeof res === 'undefined') {\n        if (symbol === NumberSymbol.CurrencyDecimal) {\n            return data[ɵLocaleDataIndex.NumberSymbols][NumberSymbol.Decimal];\n        }\n        else if (symbol === NumberSymbol.CurrencyGroup) {\n            return data[ɵLocaleDataIndex.NumberSymbols][NumberSymbol.Group];\n        }\n    }\n    return res;\n}\n/**\n * Retrieves a number format for a given locale.\n *\n * Numbers are formatted using patterns, like `#,###.00`. For example, the pattern `#,###.00`\n * when used to format the number 12345.678 could result in \"12'345,678\". That would happen if the\n * grouping separator for your language is an apostrophe, and the decimal separator is a comma.\n *\n * <b>Important:</b> The characters `.` `,` `0` `#` (and others below) are special placeholders\n * that stand for the decimal separator, and so on, and are NOT real characters.\n * You must NOT \"translate\" the placeholders. For example, don't change `.` to `,` even though in\n * your language the decimal point is written with a comma. The symbols should be replaced by the\n * local equivalents, using the appropriate `NumberSymbol` for your language.\n *\n * Here are the special characters used in number patterns:\n *\n * | Symbol | Meaning |\n * |--------|---------|\n * | . | Replaced automatically by the character used for the decimal point. |\n * | , | Replaced by the \"grouping\" (thousands) separator. |\n * | 0 | Replaced by a digit (or zero if there aren't enough digits). |\n * | # | Replaced by a digit (or nothing if there aren't enough). |\n * | ¤ | Replaced by a currency symbol, such as $ or USD. |\n * | % | Marks a percent format. The % symbol may change position, but must be retained. |\n * | E | Marks a scientific format. The E symbol may change position, but must be retained. |\n * | ' | Special characters used as literal characters are quoted with ASCII single quotes. |\n *\n * @param locale A locale code for the locale format rules to use.\n * @param type The type of numeric value to be formatted (such as `Decimal` or `Currency`.)\n * @returns The localized format string.\n * @see `NumberFormatStyle`\n * @see [CLDR website](http://cldr.unicode.org/translation/number-patterns)\n * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction getLocaleNumberFormat(locale, type) {\n    const data = ɵfindLocaleData(locale);\n    return data[ɵLocaleDataIndex.NumberFormats][type];\n}\n/**\n * Retrieves the symbol used to represent the currency for the main country\n * corresponding to a given locale. For example, '$' for `en-US`.\n *\n * @param locale A locale code for the locale format rules to use.\n * @returns The localized symbol character,\n * or `null` if the main country cannot be determined.\n * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction getLocaleCurrencySymbol(locale) {\n    const data = ɵfindLocaleData(locale);\n    return data[ɵLocaleDataIndex.CurrencySymbol] || null;\n}\n/**\n * Retrieves the name of the currency for the main country corresponding\n * to a given locale. For example, 'US Dollar' for `en-US`.\n * @param locale A locale code for the locale format rules to use.\n * @returns The currency name,\n * or `null` if the main country cannot be determined.\n * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction getLocaleCurrencyName(locale) {\n    const data = ɵfindLocaleData(locale);\n    return data[ɵLocaleDataIndex.CurrencyName] || null;\n}\n/**\n * Retrieves the default currency code for the given locale.\n *\n * The default is defined as the first currency which is still in use.\n *\n * @param locale The code of the locale whose currency code we want.\n * @returns The code of the default currency for the given locale.\n *\n * @publicApi\n */\nfunction getLocaleCurrencyCode(locale) {\n    return ɵgetLocaleCurrencyCode(locale);\n}\n/**\n * Retrieves the currency values for a given locale.\n * @param locale A locale code for the locale format rules to use.\n * @returns The currency values.\n * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)\n */\nfunction getLocaleCurrencies(locale) {\n    const data = ɵfindLocaleData(locale);\n    return data[ɵLocaleDataIndex.Currencies];\n}\n/**\n * @alias core/ɵgetLocalePluralCase\n * @publicApi\n */\nconst getLocalePluralCase = ɵgetLocalePluralCase;\nfunction checkFullData(data) {\n    if (!data[ɵLocaleDataIndex.ExtraData]) {\n        throw new Error(`Missing extra locale data for the locale \"${data[ɵLocaleDataIndex\n            .LocaleId]}\". Use \"registerLocaleData\" to load new data. See the \"I18n guide\" on angular.io to know more.`);\n    }\n}\n/**\n * Retrieves locale-specific rules used to determine which day period to use\n * when more than one period is defined for a locale.\n *\n * There is a rule for each defined day period. The\n * first rule is applied to the first day period and so on.\n * Fall back to AM/PM when no rules are available.\n *\n * A rule can specify a period as time range, or as a single time value.\n *\n * This functionality is only available when you have loaded the full locale data.\n * See the [\"I18n guide\"](guide/i18n-common-format-data-locale).\n *\n * @param locale A locale code for the locale format rules to use.\n * @returns The rules for the locale, a single time value or array of *from-time, to-time*,\n * or null if no periods are available.\n *\n * @see `getLocaleExtraDayPeriods()`\n * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction getLocaleExtraDayPeriodRules(locale) {\n    const data = ɵfindLocaleData(locale);\n    checkFullData(data);\n    const rules = data[ɵLocaleDataIndex.ExtraData][2 /* ɵExtraLocaleDataIndex.ExtraDayPeriodsRules */] || [];\n    return rules.map((rule) => {\n        if (typeof rule === 'string') {\n            return extractTime(rule);\n        }\n        return [extractTime(rule[0]), extractTime(rule[1])];\n    });\n}\n/**\n * Retrieves locale-specific day periods, which indicate roughly how a day is broken up\n * in different languages.\n * For example, for `en-US`, periods are morning, noon, afternoon, evening, and midnight.\n *\n * This functionality is only available when you have loaded the full locale data.\n * See the [\"I18n guide\"](guide/i18n-common-format-data-locale).\n *\n * @param locale A locale code for the locale format rules to use.\n * @param formStyle The required grammatical form.\n * @param width The required character width.\n * @returns The translated day-period strings.\n * @see `getLocaleExtraDayPeriodRules()`\n * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction getLocaleExtraDayPeriods(locale, formStyle, width) {\n    const data = ɵfindLocaleData(locale);\n    checkFullData(data);\n    const dayPeriodsData = [\n        data[ɵLocaleDataIndex.ExtraData][0 /* ɵExtraLocaleDataIndex.ExtraDayPeriodFormats */],\n        data[ɵLocaleDataIndex.ExtraData][1 /* ɵExtraLocaleDataIndex.ExtraDayPeriodStandalone */]\n    ];\n    const dayPeriods = getLastDefinedValue(dayPeriodsData, formStyle) || [];\n    return getLastDefinedValue(dayPeriods, width) || [];\n}\n/**\n * Retrieves the writing direction of a specified locale\n * @param locale A locale code for the locale format rules to use.\n * @publicApi\n * @returns 'rtl' or 'ltr'\n * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)\n */\nfunction getLocaleDirection(locale) {\n    const data = ɵfindLocaleData(locale);\n    return data[ɵLocaleDataIndex.Directionality];\n}\n/**\n * Retrieves the first value that is defined in an array, going backwards from an index position.\n *\n * To avoid repeating the same data (as when the \"format\" and \"standalone\" forms are the same)\n * add the first value to the locale data arrays, and add other values only if they are different.\n *\n * @param data The data array to retrieve from.\n * @param index A 0-based index into the array to start from.\n * @returns The value immediately before the given index position.\n * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction getLastDefinedValue(data, index) {\n    for (let i = index; i > -1; i--) {\n        if (typeof data[i] !== 'undefined') {\n            return data[i];\n        }\n    }\n    throw new Error('Locale data API: locale data undefined');\n}\n/**\n * Extracts the hours and minutes from a string like \"15:45\"\n */\nfunction extractTime(time) {\n    const [h, m] = time.split(':');\n    return { hours: +h, minutes: +m };\n}\n/**\n * Retrieves the currency symbol for a given currency code.\n *\n * For example, for the default `en-US` locale, the code `USD` can\n * be represented by the narrow symbol `$` or the wide symbol `US$`.\n *\n * @param code The currency code.\n * @param format The format, `wide` or `narrow`.\n * @param locale A locale code for the locale format rules to use.\n *\n * @returns The symbol, or the currency code if no symbol is available.\n * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction getCurrencySymbol(code, format, locale = 'en') {\n    const currency = getLocaleCurrencies(locale)[code] || CURRENCIES_EN[code] || [];\n    const symbolNarrow = currency[1 /* ɵCurrencyIndex.SymbolNarrow */];\n    if (format === 'narrow' && typeof symbolNarrow === 'string') {\n        return symbolNarrow;\n    }\n    return currency[0 /* ɵCurrencyIndex.Symbol */] || code;\n}\n// Most currencies have cents, that's why the default is 2\nconst DEFAULT_NB_OF_CURRENCY_DIGITS = 2;\n/**\n * Reports the number of decimal digits for a given currency.\n * The value depends upon the presence of cents in that particular currency.\n *\n * @param code The currency code.\n * @returns The number of decimal digits, typically 0 or 2.\n * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction getNumberOfCurrencyDigits(code) {\n    let digits;\n    const currency = CURRENCIES_EN[code];\n    if (currency) {\n        digits = currency[2 /* ɵCurrencyIndex.NbOfDigits */];\n    }\n    return typeof digits === 'number' ? digits : DEFAULT_NB_OF_CURRENCY_DIGITS;\n}\n\nconst ISO8601_DATE_REGEX = /^(\\d{4,})-?(\\d\\d)-?(\\d\\d)(?:T(\\d\\d)(?::?(\\d\\d)(?::?(\\d\\d)(?:\\.(\\d+))?)?)?(Z|([+-])(\\d\\d):?(\\d\\d))?)?$/;\n//    1        2       3         4          5          6          7          8  9     10      11\nconst NAMED_FORMATS = {};\nconst DATE_FORMATS_SPLIT = /((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\\s\\S]*)/;\nvar ZoneWidth;\n(function (ZoneWidth) {\n    ZoneWidth[ZoneWidth[\"Short\"] = 0] = \"Short\";\n    ZoneWidth[ZoneWidth[\"ShortGMT\"] = 1] = \"ShortGMT\";\n    ZoneWidth[ZoneWidth[\"Long\"] = 2] = \"Long\";\n    ZoneWidth[ZoneWidth[\"Extended\"] = 3] = \"Extended\";\n})(ZoneWidth || (ZoneWidth = {}));\nvar DateType;\n(function (DateType) {\n    DateType[DateType[\"FullYear\"] = 0] = \"FullYear\";\n    DateType[DateType[\"Month\"] = 1] = \"Month\";\n    DateType[DateType[\"Date\"] = 2] = \"Date\";\n    DateType[DateType[\"Hours\"] = 3] = \"Hours\";\n    DateType[DateType[\"Minutes\"] = 4] = \"Minutes\";\n    DateType[DateType[\"Seconds\"] = 5] = \"Seconds\";\n    DateType[DateType[\"FractionalSeconds\"] = 6] = \"FractionalSeconds\";\n    DateType[DateType[\"Day\"] = 7] = \"Day\";\n})(DateType || (DateType = {}));\nvar TranslationType;\n(function (TranslationType) {\n    TranslationType[TranslationType[\"DayPeriods\"] = 0] = \"DayPeriods\";\n    TranslationType[TranslationType[\"Days\"] = 1] = \"Days\";\n    TranslationType[TranslationType[\"Months\"] = 2] = \"Months\";\n    TranslationType[TranslationType[\"Eras\"] = 3] = \"Eras\";\n})(TranslationType || (TranslationType = {}));\n/**\n * @ngModule CommonModule\n * @description\n *\n * Formats a date according to locale rules.\n *\n * @param value The date to format, as a Date, or a number (milliseconds since UTC epoch)\n * or an [ISO date-time string](https://www.w3.org/TR/NOTE-datetime).\n * @param format The date-time components to include. See `DatePipe` for details.\n * @param locale A locale code for the locale format rules to use.\n * @param timezone The time zone. A time zone offset from GMT (such as `'+0430'`),\n * or a standard UTC/GMT or continental US time zone abbreviation.\n * If not specified, uses host system settings.\n *\n * @returns The formatted date string.\n *\n * @see `DatePipe`\n * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction formatDate(value, format, locale, timezone) {\n    let date = toDate(value);\n    const namedFormat = getNamedFormat(locale, format);\n    format = namedFormat || format;\n    let parts = [];\n    let match;\n    while (format) {\n        match = DATE_FORMATS_SPLIT.exec(format);\n        if (match) {\n            parts = parts.concat(match.slice(1));\n            const part = parts.pop();\n            if (!part) {\n                break;\n            }\n            format = part;\n        }\n        else {\n            parts.push(format);\n            break;\n        }\n    }\n    let dateTimezoneOffset = date.getTimezoneOffset();\n    if (timezone) {\n        dateTimezoneOffset = timezoneToOffset(timezone, dateTimezoneOffset);\n        date = convertTimezoneToLocal(date, timezone, true);\n    }\n    let text = '';\n    parts.forEach(value => {\n        const dateFormatter = getDateFormatter(value);\n        text += dateFormatter ? dateFormatter(date, locale, dateTimezoneOffset) :\n            value === '\\'\\'' ? '\\'' :\n                value.replace(/(^'|'$)/g, '').replace(/''/g, '\\'');\n    });\n    return text;\n}\n/**\n * Create a new Date object with the given date value, and the time set to midnight.\n *\n * We cannot use `new Date(year, month, date)` because it maps years between 0 and 99 to 1900-1999.\n * See: https://github.com/angular/angular/issues/40377\n *\n * Note that this function returns a Date object whose time is midnight in the current locale's\n * timezone. In the future we might want to change this to be midnight in UTC, but this would be a\n * considerable breaking change.\n */\nfunction createDate(year, month, date) {\n    // The `newDate` is set to midnight (UTC) on January 1st 1970.\n    // - In PST this will be December 31st 1969 at 4pm.\n    // - In GMT this will be January 1st 1970 at 1am.\n    // Note that they even have different years, dates and months!\n    const newDate = new Date(0);\n    // `setFullYear()` allows years like 0001 to be set correctly. This function does not\n    // change the internal time of the date.\n    // Consider calling `setFullYear(2019, 8, 20)` (September 20, 2019).\n    // - In PST this will now be September 20, 2019 at 4pm\n    // - In GMT this will now be September 20, 2019 at 1am\n    newDate.setFullYear(year, month, date);\n    // We want the final date to be at local midnight, so we reset the time.\n    // - In PST this will now be September 20, 2019 at 12am\n    // - In GMT this will now be September 20, 2019 at 12am\n    newDate.setHours(0, 0, 0);\n    return newDate;\n}\nfunction getNamedFormat(locale, format) {\n    const localeId = getLocaleId(locale);\n    NAMED_FORMATS[localeId] = NAMED_FORMATS[localeId] || {};\n    if (NAMED_FORMATS[localeId][format]) {\n        return NAMED_FORMATS[localeId][format];\n    }\n    let formatValue = '';\n    switch (format) {\n        case 'shortDate':\n            formatValue = getLocaleDateFormat(locale, FormatWidth.Short);\n            break;\n        case 'mediumDate':\n            formatValue = getLocaleDateFormat(locale, FormatWidth.Medium);\n            break;\n        case 'longDate':\n            formatValue = getLocaleDateFormat(locale, FormatWidth.Long);\n            break;\n        case 'fullDate':\n            formatValue = getLocaleDateFormat(locale, FormatWidth.Full);\n            break;\n        case 'shortTime':\n            formatValue = getLocaleTimeFormat(locale, FormatWidth.Short);\n            break;\n        case 'mediumTime':\n            formatValue = getLocaleTimeFormat(locale, FormatWidth.Medium);\n            break;\n        case 'longTime':\n            formatValue = getLocaleTimeFormat(locale, FormatWidth.Long);\n            break;\n        case 'fullTime':\n            formatValue = getLocaleTimeFormat(locale, FormatWidth.Full);\n            break;\n        case 'short':\n            const shortTime = getNamedFormat(locale, 'shortTime');\n            const shortDate = getNamedFormat(locale, 'shortDate');\n            formatValue = formatDateTime(getLocaleDateTimeFormat(locale, FormatWidth.Short), [shortTime, shortDate]);\n            break;\n        case 'medium':\n            const mediumTime = getNamedFormat(locale, 'mediumTime');\n            const mediumDate = getNamedFormat(locale, 'mediumDate');\n            formatValue = formatDateTime(getLocaleDateTimeFormat(locale, FormatWidth.Medium), [mediumTime, mediumDate]);\n            break;\n        case 'long':\n            const longTime = getNamedFormat(locale, 'longTime');\n            const longDate = getNamedFormat(locale, 'longDate');\n            formatValue =\n                formatDateTime(getLocaleDateTimeFormat(locale, FormatWidth.Long), [longTime, longDate]);\n            break;\n        case 'full':\n            const fullTime = getNamedFormat(locale, 'fullTime');\n            const fullDate = getNamedFormat(locale, 'fullDate');\n            formatValue =\n                formatDateTime(getLocaleDateTimeFormat(locale, FormatWidth.Full), [fullTime, fullDate]);\n            break;\n    }\n    if (formatValue) {\n        NAMED_FORMATS[localeId][format] = formatValue;\n    }\n    return formatValue;\n}\nfunction formatDateTime(str, opt_values) {\n    if (opt_values) {\n        str = str.replace(/\\{([^}]+)}/g, function (match, key) {\n            return (opt_values != null && key in opt_values) ? opt_values[key] : match;\n        });\n    }\n    return str;\n}\nfunction padNumber(num, digits, minusSign = '-', trim, negWrap) {\n    let neg = '';\n    if (num < 0 || (negWrap && num <= 0)) {\n        if (negWrap) {\n            num = -num + 1;\n        }\n        else {\n            num = -num;\n            neg = minusSign;\n        }\n    }\n    let strNum = String(num);\n    while (strNum.length < digits) {\n        strNum = '0' + strNum;\n    }\n    if (trim) {\n        strNum = strNum.slice(strNum.length - digits);\n    }\n    return neg + strNum;\n}\nfunction formatFractionalSeconds(milliseconds, digits) {\n    const strMs = padNumber(milliseconds, 3);\n    return strMs.substring(0, digits);\n}\n/**\n * Returns a date formatter that transforms a date into its locale digit representation\n */\nfunction dateGetter(name, size, offset = 0, trim = false, negWrap = false) {\n    return function (date, locale) {\n        let part = getDatePart(name, date);\n        if (offset > 0 || part > -offset) {\n            part += offset;\n        }\n        if (name === DateType.Hours) {\n            if (part === 0 && offset === -12) {\n                part = 12;\n            }\n        }\n        else if (name === DateType.FractionalSeconds) {\n            return formatFractionalSeconds(part, size);\n        }\n        const localeMinus = getLocaleNumberSymbol(locale, NumberSymbol.MinusSign);\n        return padNumber(part, size, localeMinus, trim, negWrap);\n    };\n}\nfunction getDatePart(part, date) {\n    switch (part) {\n        case DateType.FullYear:\n            return date.getFullYear();\n        case DateType.Month:\n            return date.getMonth();\n        case DateType.Date:\n            return date.getDate();\n        case DateType.Hours:\n            return date.getHours();\n        case DateType.Minutes:\n            return date.getMinutes();\n        case DateType.Seconds:\n            return date.getSeconds();\n        case DateType.FractionalSeconds:\n            return date.getMilliseconds();\n        case DateType.Day:\n            return date.getDay();\n        default:\n            throw new Error(`Unknown DateType value \"${part}\".`);\n    }\n}\n/**\n * Returns a date formatter that transforms a date into its locale string representation\n */\nfunction dateStrGetter(name, width, form = FormStyle.Format, extended = false) {\n    return function (date, locale) {\n        return getDateTranslation(date, locale, name, width, form, extended);\n    };\n}\n/**\n * Returns the locale translation of a date for a given form, type and width\n */\nfunction getDateTranslation(date, locale, name, width, form, extended) {\n    switch (name) {\n        case TranslationType.Months:\n            return getLocaleMonthNames(locale, form, width)[date.getMonth()];\n        case TranslationType.Days:\n            return getLocaleDayNames(locale, form, width)[date.getDay()];\n        case TranslationType.DayPeriods:\n            const currentHours = date.getHours();\n            const currentMinutes = date.getMinutes();\n            if (extended) {\n                const rules = getLocaleExtraDayPeriodRules(locale);\n                const dayPeriods = getLocaleExtraDayPeriods(locale, form, width);\n                const index = rules.findIndex(rule => {\n                    if (Array.isArray(rule)) {\n                        // morning, afternoon, evening, night\n                        const [from, to] = rule;\n                        const afterFrom = currentHours >= from.hours && currentMinutes >= from.minutes;\n                        const beforeTo = (currentHours < to.hours ||\n                            (currentHours === to.hours && currentMinutes < to.minutes));\n                        // We must account for normal rules that span a period during the day (e.g. 6am-9am)\n                        // where `from` is less (earlier) than `to`. But also rules that span midnight (e.g.\n                        // 10pm - 5am) where `from` is greater (later!) than `to`.\n                        //\n                        // In the first case the current time must be BOTH after `from` AND before `to`\n                        // (e.g. 8am is after 6am AND before 10am).\n                        //\n                        // In the second case the current time must be EITHER after `from` OR before `to`\n                        // (e.g. 4am is before 5am but not after 10pm; and 11pm is not before 5am but it is\n                        // after 10pm).\n                        if (from.hours < to.hours) {\n                            if (afterFrom && beforeTo) {\n                                return true;\n                            }\n                        }\n                        else if (afterFrom || beforeTo) {\n                            return true;\n                        }\n                    }\n                    else { // noon or midnight\n                        if (rule.hours === currentHours && rule.minutes === currentMinutes) {\n                            return true;\n                        }\n                    }\n                    return false;\n                });\n                if (index !== -1) {\n                    return dayPeriods[index];\n                }\n            }\n            // if no rules for the day periods, we use am/pm by default\n            return getLocaleDayPeriods(locale, form, width)[currentHours < 12 ? 0 : 1];\n        case TranslationType.Eras:\n            return getLocaleEraNames(locale, width)[date.getFullYear() <= 0 ? 0 : 1];\n        default:\n            // This default case is not needed by TypeScript compiler, as the switch is exhaustive.\n            // However Closure Compiler does not understand that and reports an error in typed mode.\n            // The `throw new Error` below works around the problem, and the unexpected: never variable\n            // makes sure tsc still checks this code is unreachable.\n            const unexpected = name;\n            throw new Error(`unexpected translation type ${unexpected}`);\n    }\n}\n/**\n * Returns a date formatter that transforms a date and an offset into a timezone with ISO8601 or\n * GMT format depending on the width (eg: short = +0430, short:GMT = GMT+4, long = GMT+04:30,\n * extended = +04:30)\n */\nfunction timeZoneGetter(width) {\n    return function (date, locale, offset) {\n        const zone = -1 * offset;\n        const minusSign = getLocaleNumberSymbol(locale, NumberSymbol.MinusSign);\n        const hours = zone > 0 ? Math.floor(zone / 60) : Math.ceil(zone / 60);\n        switch (width) {\n            case ZoneWidth.Short:\n                return ((zone >= 0) ? '+' : '') + padNumber(hours, 2, minusSign) +\n                    padNumber(Math.abs(zone % 60), 2, minusSign);\n            case ZoneWidth.ShortGMT:\n                return 'GMT' + ((zone >= 0) ? '+' : '') + padNumber(hours, 1, minusSign);\n            case ZoneWidth.Long:\n                return 'GMT' + ((zone >= 0) ? '+' : '') + padNumber(hours, 2, minusSign) + ':' +\n                    padNumber(Math.abs(zone % 60), 2, minusSign);\n            case ZoneWidth.Extended:\n                if (offset === 0) {\n                    return 'Z';\n                }\n                else {\n                    return ((zone >= 0) ? '+' : '') + padNumber(hours, 2, minusSign) + ':' +\n                        padNumber(Math.abs(zone % 60), 2, minusSign);\n                }\n            default:\n                throw new Error(`Unknown zone width \"${width}\"`);\n        }\n    };\n}\nconst JANUARY = 0;\nconst THURSDAY = 4;\nfunction getFirstThursdayOfYear(year) {\n    const firstDayOfYear = createDate(year, JANUARY, 1).getDay();\n    return createDate(year, 0, 1 + ((firstDayOfYear <= THURSDAY) ? THURSDAY : THURSDAY + 7) - firstDayOfYear);\n}\nfunction getThursdayThisWeek(datetime) {\n    return createDate(datetime.getFullYear(), datetime.getMonth(), datetime.getDate() + (THURSDAY - datetime.getDay()));\n}\nfunction weekGetter(size, monthBased = false) {\n    return function (date, locale) {\n        let result;\n        if (monthBased) {\n            const nbDaysBefore1stDayOfMonth = new Date(date.getFullYear(), date.getMonth(), 1).getDay() - 1;\n            const today = date.getDate();\n            result = 1 + Math.floor((today + nbDaysBefore1stDayOfMonth) / 7);\n        }\n        else {\n            const thisThurs = getThursdayThisWeek(date);\n            // Some days of a year are part of next year according to ISO 8601.\n            // Compute the firstThurs from the year of this week's Thursday\n            const firstThurs = getFirstThursdayOfYear(thisThurs.getFullYear());\n            const diff = thisThurs.getTime() - firstThurs.getTime();\n            result = 1 + Math.round(diff / 6.048e8); // 6.048e8 ms per week\n        }\n        return padNumber(result, size, getLocaleNumberSymbol(locale, NumberSymbol.MinusSign));\n    };\n}\n/**\n * Returns a date formatter that provides the week-numbering year for the input date.\n */\nfunction weekNumberingYearGetter(size, trim = false) {\n    return function (date, locale) {\n        const thisThurs = getThursdayThisWeek(date);\n        const weekNumberingYear = thisThurs.getFullYear();\n        return padNumber(weekNumberingYear, size, getLocaleNumberSymbol(locale, NumberSymbol.MinusSign), trim);\n    };\n}\nconst DATE_FORMATS = {};\n// Based on CLDR formats:\n// See complete list: http://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table\n// See also explanations: http://cldr.unicode.org/translation/date-time\n// TODO(ocombe): support all missing cldr formats: U, Q, D, F, e, j, J, C, A, v, V, X, x\nfunction getDateFormatter(format) {\n    if (DATE_FORMATS[format]) {\n        return DATE_FORMATS[format];\n    }\n    let formatter;\n    switch (format) {\n        // Era name (AD/BC)\n        case 'G':\n        case 'GG':\n        case 'GGG':\n            formatter = dateStrGetter(TranslationType.Eras, TranslationWidth.Abbreviated);\n            break;\n        case 'GGGG':\n            formatter = dateStrGetter(TranslationType.Eras, TranslationWidth.Wide);\n            break;\n        case 'GGGGG':\n            formatter = dateStrGetter(TranslationType.Eras, TranslationWidth.Narrow);\n            break;\n        // 1 digit representation of the year, e.g. (AD 1 => 1, AD 199 => 199)\n        case 'y':\n            formatter = dateGetter(DateType.FullYear, 1, 0, false, true);\n            break;\n        // 2 digit representation of the year, padded (00-99). (e.g. AD 2001 => 01, AD 2010 => 10)\n        case 'yy':\n            formatter = dateGetter(DateType.FullYear, 2, 0, true, true);\n            break;\n        // 3 digit representation of the year, padded (000-999). (e.g. AD 2001 => 01, AD 2010 => 10)\n        case 'yyy':\n            formatter = dateGetter(DateType.FullYear, 3, 0, false, true);\n            break;\n        // 4 digit representation of the year (e.g. AD 1 => 0001, AD 2010 => 2010)\n        case 'yyyy':\n            formatter = dateGetter(DateType.FullYear, 4, 0, false, true);\n            break;\n        // 1 digit representation of the week-numbering year, e.g. (AD 1 => 1, AD 199 => 199)\n        case 'Y':\n            formatter = weekNumberingYearGetter(1);\n            break;\n        // 2 digit representation of the week-numbering year, padded (00-99). (e.g. AD 2001 => 01, AD\n        // 2010 => 10)\n        case 'YY':\n            formatter = weekNumberingYearGetter(2, true);\n            break;\n        // 3 digit representation of the week-numbering year, padded (000-999). (e.g. AD 1 => 001, AD\n        // 2010 => 2010)\n        case 'YYY':\n            formatter = weekNumberingYearGetter(3);\n            break;\n        // 4 digit representation of the week-numbering year (e.g. AD 1 => 0001, AD 2010 => 2010)\n        case 'YYYY':\n            formatter = weekNumberingYearGetter(4);\n            break;\n        // Month of the year (1-12), numeric\n        case 'M':\n        case 'L':\n            formatter = dateGetter(DateType.Month, 1, 1);\n            break;\n        case 'MM':\n        case 'LL':\n            formatter = dateGetter(DateType.Month, 2, 1);\n            break;\n        // Month of the year (January, ...), string, format\n        case 'MMM':\n            formatter = dateStrGetter(TranslationType.Months, TranslationWidth.Abbreviated);\n            break;\n        case 'MMMM':\n            formatter = dateStrGetter(TranslationType.Months, TranslationWidth.Wide);\n            break;\n        case 'MMMMM':\n            formatter = dateStrGetter(TranslationType.Months, TranslationWidth.Narrow);\n            break;\n        // Month of the year (January, ...), string, standalone\n        case 'LLL':\n            formatter =\n                dateStrGetter(TranslationType.Months, TranslationWidth.Abbreviated, FormStyle.Standalone);\n            break;\n        case 'LLLL':\n            formatter =\n                dateStrGetter(TranslationType.Months, TranslationWidth.Wide, FormStyle.Standalone);\n            break;\n        case 'LLLLL':\n            formatter =\n                dateStrGetter(TranslationType.Months, TranslationWidth.Narrow, FormStyle.Standalone);\n            break;\n        // Week of the year (1, ... 52)\n        case 'w':\n            formatter = weekGetter(1);\n            break;\n        case 'ww':\n            formatter = weekGetter(2);\n            break;\n        // Week of the month (1, ...)\n        case 'W':\n            formatter = weekGetter(1, true);\n            break;\n        // Day of the month (1-31)\n        case 'd':\n            formatter = dateGetter(DateType.Date, 1);\n            break;\n        case 'dd':\n            formatter = dateGetter(DateType.Date, 2);\n            break;\n        // Day of the Week StandAlone (1, 1, Mon, Monday, M, Mo)\n        case 'c':\n        case 'cc':\n            formatter = dateGetter(DateType.Day, 1);\n            break;\n        case 'ccc':\n            formatter =\n                dateStrGetter(TranslationType.Days, TranslationWidth.Abbreviated, FormStyle.Standalone);\n            break;\n        case 'cccc':\n            formatter = dateStrGetter(TranslationType.Days, TranslationWidth.Wide, FormStyle.Standalone);\n            break;\n        case 'ccccc':\n            formatter =\n                dateStrGetter(TranslationType.Days, TranslationWidth.Narrow, FormStyle.Standalone);\n            break;\n        case 'cccccc':\n            formatter = dateStrGetter(TranslationType.Days, TranslationWidth.Short, FormStyle.Standalone);\n            break;\n        // Day of the Week\n        case 'E':\n        case 'EE':\n        case 'EEE':\n            formatter = dateStrGetter(TranslationType.Days, TranslationWidth.Abbreviated);\n            break;\n        case 'EEEE':\n            formatter = dateStrGetter(TranslationType.Days, TranslationWidth.Wide);\n            break;\n        case 'EEEEE':\n            formatter = dateStrGetter(TranslationType.Days, TranslationWidth.Narrow);\n            break;\n        case 'EEEEEE':\n            formatter = dateStrGetter(TranslationType.Days, TranslationWidth.Short);\n            break;\n        // Generic period of the day (am-pm)\n        case 'a':\n        case 'aa':\n        case 'aaa':\n            formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Abbreviated);\n            break;\n        case 'aaaa':\n            formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Wide);\n            break;\n        case 'aaaaa':\n            formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Narrow);\n            break;\n        // Extended period of the day (midnight, at night, ...), standalone\n        case 'b':\n        case 'bb':\n        case 'bbb':\n            formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Abbreviated, FormStyle.Standalone, true);\n            break;\n        case 'bbbb':\n            formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Wide, FormStyle.Standalone, true);\n            break;\n        case 'bbbbb':\n            formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Narrow, FormStyle.Standalone, true);\n            break;\n        // Extended period of the day (midnight, night, ...), standalone\n        case 'B':\n        case 'BB':\n        case 'BBB':\n            formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Abbreviated, FormStyle.Format, true);\n            break;\n        case 'BBBB':\n            formatter =\n                dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Wide, FormStyle.Format, true);\n            break;\n        case 'BBBBB':\n            formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Narrow, FormStyle.Format, true);\n            break;\n        // Hour in AM/PM, (1-12)\n        case 'h':\n            formatter = dateGetter(DateType.Hours, 1, -12);\n            break;\n        case 'hh':\n            formatter = dateGetter(DateType.Hours, 2, -12);\n            break;\n        // Hour of the day (0-23)\n        case 'H':\n            formatter = dateGetter(DateType.Hours, 1);\n            break;\n        // Hour in day, padded (00-23)\n        case 'HH':\n            formatter = dateGetter(DateType.Hours, 2);\n            break;\n        // Minute of the hour (0-59)\n        case 'm':\n            formatter = dateGetter(DateType.Minutes, 1);\n            break;\n        case 'mm':\n            formatter = dateGetter(DateType.Minutes, 2);\n            break;\n        // Second of the minute (0-59)\n        case 's':\n            formatter = dateGetter(DateType.Seconds, 1);\n            break;\n        case 'ss':\n            formatter = dateGetter(DateType.Seconds, 2);\n            break;\n        // Fractional second\n        case 'S':\n            formatter = dateGetter(DateType.FractionalSeconds, 1);\n            break;\n        case 'SS':\n            formatter = dateGetter(DateType.FractionalSeconds, 2);\n            break;\n        case 'SSS':\n            formatter = dateGetter(DateType.FractionalSeconds, 3);\n            break;\n        // Timezone ISO8601 short format (-0430)\n        case 'Z':\n        case 'ZZ':\n        case 'ZZZ':\n            formatter = timeZoneGetter(ZoneWidth.Short);\n            break;\n        // Timezone ISO8601 extended format (-04:30)\n        case 'ZZZZZ':\n            formatter = timeZoneGetter(ZoneWidth.Extended);\n            break;\n        // Timezone GMT short format (GMT+4)\n        case 'O':\n        case 'OO':\n        case 'OOO':\n        // Should be location, but fallback to format O instead because we don't have the data yet\n        case 'z':\n        case 'zz':\n        case 'zzz':\n            formatter = timeZoneGetter(ZoneWidth.ShortGMT);\n            break;\n        // Timezone GMT long format (GMT+0430)\n        case 'OOOO':\n        case 'ZZZZ':\n        // Should be location, but fallback to format O instead because we don't have the data yet\n        case 'zzzz':\n            formatter = timeZoneGetter(ZoneWidth.Long);\n            break;\n        default:\n            return null;\n    }\n    DATE_FORMATS[format] = formatter;\n    return formatter;\n}\nfunction timezoneToOffset(timezone, fallback) {\n    // Support: IE 11 only, Edge 13-15+\n    // IE/Edge do not \"understand\" colon (`:`) in timezone\n    timezone = timezone.replace(/:/g, '');\n    const requestedTimezoneOffset = Date.parse('Jan 01, 1970 00:00:00 ' + timezone) / 60000;\n    return isNaN(requestedTimezoneOffset) ? fallback : requestedTimezoneOffset;\n}\nfunction addDateMinutes(date, minutes) {\n    date = new Date(date.getTime());\n    date.setMinutes(date.getMinutes() + minutes);\n    return date;\n}\nfunction convertTimezoneToLocal(date, timezone, reverse) {\n    const reverseValue = reverse ? -1 : 1;\n    const dateTimezoneOffset = date.getTimezoneOffset();\n    const timezoneOffset = timezoneToOffset(timezone, dateTimezoneOffset);\n    return addDateMinutes(date, reverseValue * (timezoneOffset - dateTimezoneOffset));\n}\n/**\n * Converts a value to date.\n *\n * Supported input formats:\n * - `Date`\n * - number: timestamp\n * - string: numeric (e.g. \"1234\"), ISO and date strings in a format supported by\n *   [Date.parse()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/parse).\n *   Note: ISO strings without time return a date without timeoffset.\n *\n * Throws if unable to convert to a date.\n */\nfunction toDate(value) {\n    if (isDate(value)) {\n        return value;\n    }\n    if (typeof value === 'number' && !isNaN(value)) {\n        return new Date(value);\n    }\n    if (typeof value === 'string') {\n        value = value.trim();\n        if (/^(\\d{4}(-\\d{1,2}(-\\d{1,2})?)?)$/.test(value)) {\n            /* For ISO Strings without time the day, month and year must be extracted from the ISO String\n            before Date creation to avoid time offset and errors in the new Date.\n            If we only replace '-' with ',' in the ISO String (\"2015,01,01\"), and try to create a new\n            date, some browsers (e.g. IE 9) will throw an invalid Date error.\n            If we leave the '-' (\"2015-01-01\") and try to create a new Date(\"2015-01-01\") the timeoffset\n            is applied.\n            Note: ISO months are 0 for January, 1 for February, ... */\n            const [y, m = 1, d = 1] = value.split('-').map((val) => +val);\n            return createDate(y, m - 1, d);\n        }\n        const parsedNb = parseFloat(value);\n        // any string that only contains numbers, like \"1234\" but not like \"1234hello\"\n        if (!isNaN(value - parsedNb)) {\n            return new Date(parsedNb);\n        }\n        let match;\n        if (match = value.match(ISO8601_DATE_REGEX)) {\n            return isoStringToDate(match);\n        }\n    }\n    const date = new Date(value);\n    if (!isDate(date)) {\n        throw new Error(`Unable to convert \"${value}\" into a date`);\n    }\n    return date;\n}\n/**\n * Converts a date in ISO8601 to a Date.\n * Used instead of `Date.parse` because of browser discrepancies.\n */\nfunction isoStringToDate(match) {\n    const date = new Date(0);\n    let tzHour = 0;\n    let tzMin = 0;\n    // match[8] means that the string contains \"Z\" (UTC) or a timezone like \"+01:00\" or \"+0100\"\n    const dateSetter = match[8] ? date.setUTCFullYear : date.setFullYear;\n    const timeSetter = match[8] ? date.setUTCHours : date.setHours;\n    // if there is a timezone defined like \"+01:00\" or \"+0100\"\n    if (match[9]) {\n        tzHour = Number(match[9] + match[10]);\n        tzMin = Number(match[9] + match[11]);\n    }\n    dateSetter.call(date, Number(match[1]), Number(match[2]) - 1, Number(match[3]));\n    const h = Number(match[4] || 0) - tzHour;\n    const m = Number(match[5] || 0) - tzMin;\n    const s = Number(match[6] || 0);\n    // The ECMAScript specification (https://www.ecma-international.org/ecma-262/5.1/#sec-15.9.1.11)\n    // defines that `DateTime` milliseconds should always be rounded down, so that `999.9ms`\n    // becomes `999ms`.\n    const ms = Math.floor(parseFloat('0.' + (match[7] || 0)) * 1000);\n    timeSetter.call(date, h, m, s, ms);\n    return date;\n}\nfunction isDate(value) {\n    return value instanceof Date && !isNaN(value.valueOf());\n}\n\nconst NUMBER_FORMAT_REGEXP = /^(\\d+)?\\.((\\d+)(-(\\d+))?)?$/;\nconst MAX_DIGITS = 22;\nconst DECIMAL_SEP = '.';\nconst ZERO_CHAR = '0';\nconst PATTERN_SEP = ';';\nconst GROUP_SEP = ',';\nconst DIGIT_CHAR = '#';\nconst CURRENCY_CHAR = '¤';\nconst PERCENT_CHAR = '%';\n/**\n * Transforms a number to a locale string based on a style and a format.\n */\nfunction formatNumberToLocaleString(value, pattern, locale, groupSymbol, decimalSymbol, digitsInfo, isPercent = false) {\n    let formattedText = '';\n    let isZero = false;\n    if (!isFinite(value)) {\n        formattedText = getLocaleNumberSymbol(locale, NumberSymbol.Infinity);\n    }\n    else {\n        let parsedNumber = parseNumber(value);\n        if (isPercent) {\n            parsedNumber = toPercent(parsedNumber);\n        }\n        let minInt = pattern.minInt;\n        let minFraction = pattern.minFrac;\n        let maxFraction = pattern.maxFrac;\n        if (digitsInfo) {\n            const parts = digitsInfo.match(NUMBER_FORMAT_REGEXP);\n            if (parts === null) {\n                throw new Error(`${digitsInfo} is not a valid digit info`);\n            }\n            const minIntPart = parts[1];\n            const minFractionPart = parts[3];\n            const maxFractionPart = parts[5];\n            if (minIntPart != null) {\n                minInt = parseIntAutoRadix(minIntPart);\n            }\n            if (minFractionPart != null) {\n                minFraction = parseIntAutoRadix(minFractionPart);\n            }\n            if (maxFractionPart != null) {\n                maxFraction = parseIntAutoRadix(maxFractionPart);\n            }\n            else if (minFractionPart != null && minFraction > maxFraction) {\n                maxFraction = minFraction;\n            }\n        }\n        roundNumber(parsedNumber, minFraction, maxFraction);\n        let digits = parsedNumber.digits;\n        let integerLen = parsedNumber.integerLen;\n        const exponent = parsedNumber.exponent;\n        let decimals = [];\n        isZero = digits.every(d => !d);\n        // pad zeros for small numbers\n        for (; integerLen < minInt; integerLen++) {\n            digits.unshift(0);\n        }\n        // pad zeros for small numbers\n        for (; integerLen < 0; integerLen++) {\n            digits.unshift(0);\n        }\n        // extract decimals digits\n        if (integerLen > 0) {\n            decimals = digits.splice(integerLen, digits.length);\n        }\n        else {\n            decimals = digits;\n            digits = [0];\n        }\n        // format the integer digits with grouping separators\n        const groups = [];\n        if (digits.length >= pattern.lgSize) {\n            groups.unshift(digits.splice(-pattern.lgSize, digits.length).join(''));\n        }\n        while (digits.length > pattern.gSize) {\n            groups.unshift(digits.splice(-pattern.gSize, digits.length).join(''));\n        }\n        if (digits.length) {\n            groups.unshift(digits.join(''));\n        }\n        formattedText = groups.join(getLocaleNumberSymbol(locale, groupSymbol));\n        // append the decimal digits\n        if (decimals.length) {\n            formattedText += getLocaleNumberSymbol(locale, decimalSymbol) + decimals.join('');\n        }\n        if (exponent) {\n            formattedText += getLocaleNumberSymbol(locale, NumberSymbol.Exponential) + '+' + exponent;\n        }\n    }\n    if (value < 0 && !isZero) {\n        formattedText = pattern.negPre + formattedText + pattern.negSuf;\n    }\n    else {\n        formattedText = pattern.posPre + formattedText + pattern.posSuf;\n    }\n    return formattedText;\n}\n/**\n * @ngModule CommonModule\n * @description\n *\n * Formats a number as currency using locale rules.\n *\n * @param value The number to format.\n * @param locale A locale code for the locale format rules to use.\n * @param currency A string containing the currency symbol or its name,\n * such as \"$\" or \"Canadian Dollar\". Used in output string, but does not affect the operation\n * of the function.\n * @param currencyCode The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217)\n * currency code, such as `USD` for the US dollar and `EUR` for the euro.\n * Used to determine the number of digits in the decimal part.\n * @param digitsInfo Decimal representation options, specified by a string in the following format:\n * `{minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}`. See `DecimalPipe` for more details.\n *\n * @returns The formatted currency value.\n *\n * @see `formatNumber()`\n * @see `DecimalPipe`\n * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction formatCurrency(value, locale, currency, currencyCode, digitsInfo) {\n    const format = getLocaleNumberFormat(locale, NumberFormatStyle.Currency);\n    const pattern = parseNumberFormat(format, getLocaleNumberSymbol(locale, NumberSymbol.MinusSign));\n    pattern.minFrac = getNumberOfCurrencyDigits(currencyCode);\n    pattern.maxFrac = pattern.minFrac;\n    const res = formatNumberToLocaleString(value, pattern, locale, NumberSymbol.CurrencyGroup, NumberSymbol.CurrencyDecimal, digitsInfo);\n    return res\n        .replace(CURRENCY_CHAR, currency)\n        // if we have 2 time the currency character, the second one is ignored\n        .replace(CURRENCY_CHAR, '')\n        // If there is a spacing between currency character and the value and\n        // the currency character is suppressed by passing an empty string, the\n        // spacing character would remain as part of the string. Then we\n        // should remove it.\n        .trim();\n}\n/**\n * @ngModule CommonModule\n * @description\n *\n * Formats a number as a percentage according to locale rules.\n *\n * @param value The number to format.\n * @param locale A locale code for the locale format rules to use.\n * @param digitsInfo Decimal representation options, specified by a string in the following format:\n * `{minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}`. See `DecimalPipe` for more details.\n *\n * @returns The formatted percentage value.\n *\n * @see `formatNumber()`\n * @see `DecimalPipe`\n * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)\n * @publicApi\n *\n */\nfunction formatPercent(value, locale, digitsInfo) {\n    const format = getLocaleNumberFormat(locale, NumberFormatStyle.Percent);\n    const pattern = parseNumberFormat(format, getLocaleNumberSymbol(locale, NumberSymbol.MinusSign));\n    const res = formatNumberToLocaleString(value, pattern, locale, NumberSymbol.Group, NumberSymbol.Decimal, digitsInfo, true);\n    return res.replace(new RegExp(PERCENT_CHAR, 'g'), getLocaleNumberSymbol(locale, NumberSymbol.PercentSign));\n}\n/**\n * @ngModule CommonModule\n * @description\n *\n * Formats a number as text, with group sizing, separator, and other\n * parameters based on the locale.\n *\n * @param value The number to format.\n * @param locale A locale code for the locale format rules to use.\n * @param digitsInfo Decimal representation options, specified by a string in the following format:\n * `{minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}`. See `DecimalPipe` for more details.\n *\n * @returns The formatted text string.\n * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction formatNumber(value, locale, digitsInfo) {\n    const format = getLocaleNumberFormat(locale, NumberFormatStyle.Decimal);\n    const pattern = parseNumberFormat(format, getLocaleNumberSymbol(locale, NumberSymbol.MinusSign));\n    return formatNumberToLocaleString(value, pattern, locale, NumberSymbol.Group, NumberSymbol.Decimal, digitsInfo);\n}\nfunction parseNumberFormat(format, minusSign = '-') {\n    const p = {\n        minInt: 1,\n        minFrac: 0,\n        maxFrac: 0,\n        posPre: '',\n        posSuf: '',\n        negPre: '',\n        negSuf: '',\n        gSize: 0,\n        lgSize: 0\n    };\n    const patternParts = format.split(PATTERN_SEP);\n    const positive = patternParts[0];\n    const negative = patternParts[1];\n    const positiveParts = positive.indexOf(DECIMAL_SEP) !== -1 ?\n        positive.split(DECIMAL_SEP) :\n        [\n            positive.substring(0, positive.lastIndexOf(ZERO_CHAR) + 1),\n            positive.substring(positive.lastIndexOf(ZERO_CHAR) + 1)\n        ], integer = positiveParts[0], fraction = positiveParts[1] || '';\n    p.posPre = integer.substring(0, integer.indexOf(DIGIT_CHAR));\n    for (let i = 0; i < fraction.length; i++) {\n        const ch = fraction.charAt(i);\n        if (ch === ZERO_CHAR) {\n            p.minFrac = p.maxFrac = i + 1;\n        }\n        else if (ch === DIGIT_CHAR) {\n            p.maxFrac = i + 1;\n        }\n        else {\n            p.posSuf += ch;\n        }\n    }\n    const groups = integer.split(GROUP_SEP);\n    p.gSize = groups[1] ? groups[1].length : 0;\n    p.lgSize = (groups[2] || groups[1]) ? (groups[2] || groups[1]).length : 0;\n    if (negative) {\n        const trunkLen = positive.length - p.posPre.length - p.posSuf.length, pos = negative.indexOf(DIGIT_CHAR);\n        p.negPre = negative.substring(0, pos).replace(/'/g, '');\n        p.negSuf = negative.slice(pos + trunkLen).replace(/'/g, '');\n    }\n    else {\n        p.negPre = minusSign + p.posPre;\n        p.negSuf = p.posSuf;\n    }\n    return p;\n}\n// Transforms a parsed number into a percentage by multiplying it by 100\nfunction toPercent(parsedNumber) {\n    // if the number is 0, don't do anything\n    if (parsedNumber.digits[0] === 0) {\n        return parsedNumber;\n    }\n    // Getting the current number of decimals\n    const fractionLen = parsedNumber.digits.length - parsedNumber.integerLen;\n    if (parsedNumber.exponent) {\n        parsedNumber.exponent += 2;\n    }\n    else {\n        if (fractionLen === 0) {\n            parsedNumber.digits.push(0, 0);\n        }\n        else if (fractionLen === 1) {\n            parsedNumber.digits.push(0);\n        }\n        parsedNumber.integerLen += 2;\n    }\n    return parsedNumber;\n}\n/**\n * Parses a number.\n * Significant bits of this parse algorithm came from https://github.com/MikeMcl/big.js/\n */\nfunction parseNumber(num) {\n    let numStr = Math.abs(num) + '';\n    let exponent = 0, digits, integerLen;\n    let i, j, zeros;\n    // Decimal point?\n    if ((integerLen = numStr.indexOf(DECIMAL_SEP)) > -1) {\n        numStr = numStr.replace(DECIMAL_SEP, '');\n    }\n    // Exponential form?\n    if ((i = numStr.search(/e/i)) > 0) {\n        // Work out the exponent.\n        if (integerLen < 0)\n            integerLen = i;\n        integerLen += +numStr.slice(i + 1);\n        numStr = numStr.substring(0, i);\n    }\n    else if (integerLen < 0) {\n        // There was no decimal point or exponent so it is an integer.\n        integerLen = numStr.length;\n    }\n    // Count the number of leading zeros.\n    for (i = 0; numStr.charAt(i) === ZERO_CHAR; i++) { /* empty */\n    }\n    if (i === (zeros = numStr.length)) {\n        // The digits are all zero.\n        digits = [0];\n        integerLen = 1;\n    }\n    else {\n        // Count the number of trailing zeros\n        zeros--;\n        while (numStr.charAt(zeros) === ZERO_CHAR)\n            zeros--;\n        // Trailing zeros are insignificant so ignore them\n        integerLen -= i;\n        digits = [];\n        // Convert string to array of digits without leading/trailing zeros.\n        for (j = 0; i <= zeros; i++, j++) {\n            digits[j] = Number(numStr.charAt(i));\n        }\n    }\n    // If the number overflows the maximum allowed digits then use an exponent.\n    if (integerLen > MAX_DIGITS) {\n        digits = digits.splice(0, MAX_DIGITS - 1);\n        exponent = integerLen - 1;\n        integerLen = 1;\n    }\n    return { digits, exponent, integerLen };\n}\n/**\n * Round the parsed number to the specified number of decimal places\n * This function changes the parsedNumber in-place\n */\nfunction roundNumber(parsedNumber, minFrac, maxFrac) {\n    if (minFrac > maxFrac) {\n        throw new Error(`The minimum number of digits after fraction (${minFrac}) is higher than the maximum (${maxFrac}).`);\n    }\n    let digits = parsedNumber.digits;\n    let fractionLen = digits.length - parsedNumber.integerLen;\n    const fractionSize = Math.min(Math.max(minFrac, fractionLen), maxFrac);\n    // The index of the digit to where rounding is to occur\n    let roundAt = fractionSize + parsedNumber.integerLen;\n    let digit = digits[roundAt];\n    if (roundAt > 0) {\n        // Drop fractional digits beyond `roundAt`\n        digits.splice(Math.max(parsedNumber.integerLen, roundAt));\n        // Set non-fractional digits beyond `roundAt` to 0\n        for (let j = roundAt; j < digits.length; j++) {\n            digits[j] = 0;\n        }\n    }\n    else {\n        // We rounded to zero so reset the parsedNumber\n        fractionLen = Math.max(0, fractionLen);\n        parsedNumber.integerLen = 1;\n        digits.length = Math.max(1, roundAt = fractionSize + 1);\n        digits[0] = 0;\n        for (let i = 1; i < roundAt; i++)\n            digits[i] = 0;\n    }\n    if (digit >= 5) {\n        if (roundAt - 1 < 0) {\n            for (let k = 0; k > roundAt; k--) {\n                digits.unshift(0);\n                parsedNumber.integerLen++;\n            }\n            digits.unshift(1);\n            parsedNumber.integerLen++;\n        }\n        else {\n            digits[roundAt - 1]++;\n        }\n    }\n    // Pad out with zeros to get the required fraction length\n    for (; fractionLen < Math.max(0, fractionSize); fractionLen++)\n        digits.push(0);\n    let dropTrailingZeros = fractionSize !== 0;\n    // Minimal length = nb of decimals required + current nb of integers\n    // Any number besides that is optional and can be removed if it's a trailing 0\n    const minLen = minFrac + parsedNumber.integerLen;\n    // Do any carrying, e.g. a digit was rounded up to 10\n    const carry = digits.reduceRight(function (carry, d, i, digits) {\n        d = d + carry;\n        digits[i] = d < 10 ? d : d - 10; // d % 10\n        if (dropTrailingZeros) {\n            // Do not keep meaningless fractional trailing zeros (e.g. 15.52000 --> 15.52)\n            if (digits[i] === 0 && i >= minLen) {\n                digits.pop();\n            }\n            else {\n                dropTrailingZeros = false;\n            }\n        }\n        return d >= 10 ? 1 : 0; // Math.floor(d / 10);\n    }, 0);\n    if (carry) {\n        digits.unshift(carry);\n        parsedNumber.integerLen++;\n    }\n}\nfunction parseIntAutoRadix(text) {\n    const result = parseInt(text);\n    if (isNaN(result)) {\n        throw new Error('Invalid integer literal when parsing ' + text);\n    }\n    return result;\n}\n\n/**\n * @publicApi\n */\nclass NgLocalization {\n}\nNgLocalization.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: NgLocalization, deps: [], target: i0.ɵɵFactoryTarget.Injectable });\nNgLocalization.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: NgLocalization, providedIn: 'root', useFactory: (locale) => new NgLocaleLocalization(locale), deps: [{ token: LOCALE_ID }] });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: NgLocalization, decorators: [{\n            type: Injectable,\n            args: [{\n                    providedIn: 'root',\n                    useFactory: (locale) => new NgLocaleLocalization(locale),\n                    deps: [LOCALE_ID],\n                }]\n        }] });\n/**\n * Returns the plural category for a given value.\n * - \"=value\" when the case exists,\n * - the plural category otherwise\n */\nfunction getPluralCategory(value, cases, ngLocalization, locale) {\n    let key = `=${value}`;\n    if (cases.indexOf(key) > -1) {\n        return key;\n    }\n    key = ngLocalization.getPluralCategory(value, locale);\n    if (cases.indexOf(key) > -1) {\n        return key;\n    }\n    if (cases.indexOf('other') > -1) {\n        return 'other';\n    }\n    throw new Error(`No plural message found for value \"${value}\"`);\n}\n/**\n * Returns the plural case based on the locale\n *\n * @publicApi\n */\nclass NgLocaleLocalization extends NgLocalization {\n    constructor(locale) {\n        super();\n        this.locale = locale;\n    }\n    getPluralCategory(value, locale) {\n        const plural = getLocalePluralCase(locale || this.locale)(value);\n        switch (plural) {\n            case Plural.Zero:\n                return 'zero';\n            case Plural.One:\n                return 'one';\n            case Plural.Two:\n                return 'two';\n            case Plural.Few:\n                return 'few';\n            case Plural.Many:\n                return 'many';\n            default:\n                return 'other';\n        }\n    }\n}\nNgLocaleLocalization.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: NgLocaleLocalization, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Injectable });\nNgLocaleLocalization.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: NgLocaleLocalization });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: NgLocaleLocalization, decorators: [{\n            type: Injectable\n        }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n                    type: Inject,\n                    args: [LOCALE_ID]\n                }] }]; } });\n\n/**\n * Register global data to be used internally by Angular. See the\n * [\"I18n guide\"](guide/i18n-common-format-data-locale) to know how to import additional locale\n * data.\n *\n * The signature registerLocaleData(data: any, extraData?: any) is deprecated since v5.1\n *\n * @publicApi\n */\nfunction registerLocaleData(data, localeId, extraData) {\n    return ɵregisterLocaleData(data, localeId, extraData);\n}\n\nfunction parseCookieValue(cookieStr, name) {\n    name = encodeURIComponent(name);\n    for (const cookie of cookieStr.split(';')) {\n        const eqIndex = cookie.indexOf('=');\n        const [cookieName, cookieValue] = eqIndex == -1 ? [cookie, ''] : [cookie.slice(0, eqIndex), cookie.slice(eqIndex + 1)];\n        if (cookieName.trim() === name) {\n            return decodeURIComponent(cookieValue);\n        }\n    }\n    return null;\n}\n\nconst WS_REGEXP = /\\s+/;\nconst EMPTY_ARRAY = [];\n/**\n * @ngModule CommonModule\n *\n * @usageNotes\n * ```\n *     <some-element [ngClass]=\"'first second'\">...</some-element>\n *\n *     <some-element [ngClass]=\"['first', 'second']\">...</some-element>\n *\n *     <some-element [ngClass]=\"{'first': true, 'second': true, 'third': false}\">...</some-element>\n *\n *     <some-element [ngClass]=\"stringExp|arrayExp|objExp\">...</some-element>\n *\n *     <some-element [ngClass]=\"{'class1 class2 class3' : true}\">...</some-element>\n * ```\n *\n * @description\n *\n * Adds and removes CSS classes on an HTML element.\n *\n * The CSS classes are updated as follows, depending on the type of the expression evaluation:\n * - `string` - the CSS classes listed in the string (space delimited) are added,\n * - `Array` - the CSS classes declared as Array elements are added,\n * - `Object` - keys are CSS classes that get added when the expression given in the value\n *              evaluates to a truthy value, otherwise they are removed.\n *\n * @publicApi\n */\nclass NgClass {\n    constructor(\n    // leaving references to differs in place since flex layout is extending NgClass...\n    _iterableDiffers, _keyValueDiffers, _ngEl, _renderer) {\n        this._iterableDiffers = _iterableDiffers;\n        this._keyValueDiffers = _keyValueDiffers;\n        this._ngEl = _ngEl;\n        this._renderer = _renderer;\n        this.initialClasses = EMPTY_ARRAY;\n        this.stateMap = new Map();\n    }\n    set klass(value) {\n        this.initialClasses = value != null ? value.trim().split(WS_REGEXP) : EMPTY_ARRAY;\n    }\n    set ngClass(value) {\n        this.rawClass = typeof value === 'string' ? value.trim().split(WS_REGEXP) : value;\n    }\n    /*\n    The NgClass directive uses the custom change detection algorithm for its inputs. The custom\n    algorithm is necessary since inputs are represented as complex object or arrays that need to be\n    deeply-compared.\n  \n    This algorithm is perf-sensitive since NgClass is used very frequently and its poor performance\n    might negatively impact runtime performance of the entire change detection cycle. The design of\n    this algorithm is making sure that:\n    - there is no unnecessary DOM manipulation (CSS classes are added / removed from the DOM only when\n    needed), even if references to bound objects change;\n    - there is no memory allocation if nothing changes (even relatively modest memory allocation\n    during the change detection cycle can result in GC pauses for some of the CD cycles).\n  \n    The algorithm works by iterating over the set of bound classes, staring with [class] binding and\n    then going over [ngClass] binding. For each CSS class name:\n    - check if it was seen before (this information is tracked in the state map) and if its value\n    changed;\n    - mark it as \"touched\" - names that are not marked are not present in the latest set of binding\n    and we can remove such class name from the internal data structures;\n  \n    After iteration over all the CSS class names we've got data structure with all the information\n    necessary to synchronize changes to the DOM - it is enough to iterate over the state map, flush\n    changes to the DOM and reset internal data structures so those are ready for the next change\n    detection cycle.\n     */\n    ngDoCheck() {\n        // classes from the [class] binding\n        for (const klass of this.initialClasses) {\n            this._updateState(klass, true);\n        }\n        // classes from the [ngClass] binding\n        const rawClass = this.rawClass;\n        if (Array.isArray(rawClass) || rawClass instanceof Set) {\n            for (const klass of rawClass) {\n                this._updateState(klass, true);\n            }\n        }\n        else if (rawClass != null) {\n            for (const klass of Object.keys(rawClass)) {\n                this._updateState(klass, Boolean(rawClass[klass]));\n            }\n        }\n        this._applyStateDiff();\n    }\n    _updateState(klass, nextEnabled) {\n        const state = this.stateMap.get(klass);\n        if (state !== undefined) {\n            if (state.enabled !== nextEnabled) {\n                state.changed = true;\n                state.enabled = nextEnabled;\n            }\n            state.touched = true;\n        }\n        else {\n            this.stateMap.set(klass, { enabled: nextEnabled, changed: true, touched: true });\n        }\n    }\n    _applyStateDiff() {\n        for (const stateEntry of this.stateMap) {\n            const klass = stateEntry[0];\n            const state = stateEntry[1];\n            if (state.changed) {\n                this._toggleClass(klass, state.enabled);\n                state.changed = false;\n            }\n            else if (!state.touched) {\n                // A class that was previously active got removed from the new collection of classes -\n                // remove from the DOM as well.\n                if (state.enabled) {\n                    this._toggleClass(klass, false);\n                }\n                this.stateMap.delete(klass);\n            }\n            state.touched = false;\n        }\n    }\n    _toggleClass(klass, enabled) {\n        if (ngDevMode) {\n            if (typeof klass !== 'string') {\n                throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${ɵstringify(klass)}`);\n            }\n        }\n        klass = klass.trim();\n        if (klass.length > 0) {\n            klass.split(WS_REGEXP).forEach(klass => {\n                if (enabled) {\n                    this._renderer.addClass(this._ngEl.nativeElement, klass);\n                }\n                else {\n                    this._renderer.removeClass(this._ngEl.nativeElement, klass);\n                }\n            });\n        }\n    }\n}\nNgClass.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: NgClass, deps: [{ token: i0.IterableDiffers }, { token: i0.KeyValueDiffers }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });\nNgClass.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.2.10\", type: NgClass, isStandalone: true, selector: \"[ngClass]\", inputs: { klass: [\"class\", \"klass\"], ngClass: \"ngClass\" }, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: NgClass, decorators: [{\n            type: Directive,\n            args: [{\n                    selector: '[ngClass]',\n                    standalone: true,\n                }]\n        }], ctorParameters: function () { return [{ type: i0.IterableDiffers }, { type: i0.KeyValueDiffers }, { type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { klass: [{\n                type: Input,\n                args: ['class']\n            }], ngClass: [{\n                type: Input,\n                args: ['ngClass']\n            }] } });\n\n/**\n * Instantiates a {@link Component} type and inserts its Host View into the current View.\n * `NgComponentOutlet` provides a declarative approach for dynamic component creation.\n *\n * `NgComponentOutlet` requires a component type, if a falsy value is set the view will clear and\n * any existing component will be destroyed.\n *\n * @usageNotes\n *\n * ### Fine tune control\n *\n * You can control the component creation process by using the following optional attributes:\n *\n * * `ngComponentOutletInjector`: Optional custom {@link Injector} that will be used as parent for\n * the Component. Defaults to the injector of the current view container.\n *\n * * `ngComponentOutletContent`: Optional list of projectable nodes to insert into the content\n * section of the component, if it exists.\n *\n * * `ngComponentOutletNgModule`: Optional NgModule class reference to allow loading another\n * module dynamically, then loading a component from that module.\n *\n * * `ngComponentOutletNgModuleFactory`: Deprecated config option that allows providing optional\n * NgModule factory to allow loading another module dynamically, then loading a component from that\n * module. Use `ngComponentOutletNgModule` instead.\n *\n * ### Syntax\n *\n * Simple\n * ```\n * <ng-container *ngComponentOutlet=\"componentTypeExpression\"></ng-container>\n * ```\n *\n * Customized injector/content\n * ```\n * <ng-container *ngComponentOutlet=\"componentTypeExpression;\n *                                   injector: injectorExpression;\n *                                   content: contentNodesExpression;\">\n * </ng-container>\n * ```\n *\n * Customized NgModule reference\n * ```\n * <ng-container *ngComponentOutlet=\"componentTypeExpression;\n *                                   ngModule: ngModuleClass;\">\n * </ng-container>\n * ```\n *\n * ### A simple example\n *\n * {@example common/ngComponentOutlet/ts/module.ts region='SimpleExample'}\n *\n * A more complete example with additional options:\n *\n * {@example common/ngComponentOutlet/ts/module.ts region='CompleteExample'}\n *\n * @publicApi\n * @ngModule CommonModule\n */\nclass NgComponentOutlet {\n    constructor(_viewContainerRef) {\n        this._viewContainerRef = _viewContainerRef;\n        this.ngComponentOutlet = null;\n    }\n    /** @nodoc */\n    ngOnChanges(changes) {\n        const { _viewContainerRef: viewContainerRef, ngComponentOutletNgModule: ngModule, ngComponentOutletNgModuleFactory: ngModuleFactory, } = this;\n        viewContainerRef.clear();\n        this._componentRef = undefined;\n        if (this.ngComponentOutlet) {\n            const injector = this.ngComponentOutletInjector || viewContainerRef.parentInjector;\n            if (changes['ngComponentOutletNgModule'] || changes['ngComponentOutletNgModuleFactory']) {\n                if (this._moduleRef)\n                    this._moduleRef.destroy();\n                if (ngModule) {\n                    this._moduleRef = createNgModule(ngModule, getParentInjector(injector));\n                }\n                else if (ngModuleFactory) {\n                    this._moduleRef = ngModuleFactory.create(getParentInjector(injector));\n                }\n                else {\n                    this._moduleRef = undefined;\n                }\n            }\n            this._componentRef = viewContainerRef.createComponent(this.ngComponentOutlet, {\n                index: viewContainerRef.length,\n                injector,\n                ngModuleRef: this._moduleRef,\n                projectableNodes: this.ngComponentOutletContent,\n            });\n        }\n    }\n    /** @nodoc */\n    ngOnDestroy() {\n        if (this._moduleRef)\n            this._moduleRef.destroy();\n    }\n}\nNgComponentOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: NgComponentOutlet, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });\nNgComponentOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.2.10\", type: NgComponentOutlet, isStandalone: true, selector: \"[ngComponentOutlet]\", inputs: { ngComponentOutlet: \"ngComponentOutlet\", ngComponentOutletInjector: \"ngComponentOutletInjector\", ngComponentOutletContent: \"ngComponentOutletContent\", ngComponentOutletNgModule: \"ngComponentOutletNgModule\", ngComponentOutletNgModuleFactory: \"ngComponentOutletNgModuleFactory\" }, usesOnChanges: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: NgComponentOutlet, decorators: [{\n            type: Directive,\n            args: [{\n                    selector: '[ngComponentOutlet]',\n                    standalone: true,\n                }]\n        }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; }, propDecorators: { ngComponentOutlet: [{\n                type: Input\n            }], ngComponentOutletInjector: [{\n                type: Input\n            }], ngComponentOutletContent: [{\n                type: Input\n            }], ngComponentOutletNgModule: [{\n                type: Input\n            }], ngComponentOutletNgModuleFactory: [{\n                type: Input\n            }] } });\n// Helper function that returns an Injector instance of a parent NgModule.\nfunction getParentInjector(injector) {\n    const parentNgModule = injector.get(NgModuleRef);\n    return parentNgModule.injector;\n}\n\nconst NG_DEV_MODE = typeof ngDevMode === 'undefined' || !!ngDevMode;\n/**\n * @publicApi\n */\nclass NgForOfContext {\n    constructor($implicit, ngForOf, index, count) {\n        this.$implicit = $implicit;\n        this.ngForOf = ngForOf;\n        this.index = index;\n        this.count = count;\n    }\n    get first() {\n        return this.index === 0;\n    }\n    get last() {\n        return this.index === this.count - 1;\n    }\n    get even() {\n        return this.index % 2 === 0;\n    }\n    get odd() {\n        return !this.even;\n    }\n}\n/**\n * A [structural directive](guide/structural-directives) that renders\n * a template for each item in a collection.\n * The directive is placed on an element, which becomes the parent\n * of the cloned templates.\n *\n * The `ngForOf` directive is generally used in the\n * [shorthand form](guide/structural-directives#asterisk) `*ngFor`.\n * In this form, the template to be rendered for each iteration is the content\n * of an anchor element containing the directive.\n *\n * The following example shows the shorthand syntax with some options,\n * contained in an `<li>` element.\n *\n * ```\n * <li *ngFor=\"let item of items; index as i; trackBy: trackByFn\">...</li>\n * ```\n *\n * The shorthand form expands into a long form that uses the `ngForOf` selector\n * on an `<ng-template>` element.\n * The content of the `<ng-template>` element is the `<li>` element that held the\n * short-form directive.\n *\n * Here is the expanded version of the short-form example.\n *\n * ```\n * <ng-template ngFor let-item [ngForOf]=\"items\" let-i=\"index\" [ngForTrackBy]=\"trackByFn\">\n *   <li>...</li>\n * </ng-template>\n * ```\n *\n * Angular automatically expands the shorthand syntax as it compiles the template.\n * The context for each embedded view is logically merged to the current component\n * context according to its lexical position.\n *\n * When using the shorthand syntax, Angular allows only [one structural directive\n * on an element](guide/structural-directives#one-per-element).\n * If you want to iterate conditionally, for example,\n * put the `*ngIf` on a container element that wraps the `*ngFor` element.\n * For further discussion, see\n * [Structural Directives](guide/structural-directives#one-per-element).\n *\n * @usageNotes\n *\n * ### Local variables\n *\n * `NgForOf` provides exported values that can be aliased to local variables.\n * For example:\n *\n *  ```\n * <li *ngFor=\"let user of users; index as i; first as isFirst\">\n *    {{i}}/{{users.length}}. {{user}} <span *ngIf=\"isFirst\">default</span>\n * </li>\n * ```\n *\n * The following exported values can be aliased to local variables:\n *\n * - `$implicit: T`: The value of the individual items in the iterable (`ngForOf`).\n * - `ngForOf: NgIterable<T>`: The value of the iterable expression. Useful when the expression is\n * more complex then a property access, for example when using the async pipe (`userStreams |\n * async`).\n * - `index: number`: The index of the current item in the iterable.\n * - `count: number`: The length of the iterable.\n * - `first: boolean`: True when the item is the first item in the iterable.\n * - `last: boolean`: True when the item is the last item in the iterable.\n * - `even: boolean`: True when the item has an even index in the iterable.\n * - `odd: boolean`: True when the item has an odd index in the iterable.\n *\n * ### Change propagation\n *\n * When the contents of the iterator changes, `NgForOf` makes the corresponding changes to the DOM:\n *\n * * When an item is added, a new instance of the template is added to the DOM.\n * * When an item is removed, its template instance is removed from the DOM.\n * * When items are reordered, their respective templates are reordered in the DOM.\n *\n * Angular uses object identity to track insertions and deletions within the iterator and reproduce\n * those changes in the DOM. This has important implications for animations and any stateful\n * controls that are present, such as `<input>` elements that accept user input. Inserted rows can\n * be animated in, deleted rows can be animated out, and unchanged rows retain any unsaved state\n * such as user input.\n * For more on animations, see [Transitions and Triggers](guide/transition-and-triggers).\n *\n * The identities of elements in the iterator can change while the data does not.\n * This can happen, for example, if the iterator is produced from an RPC to the server, and that\n * RPC is re-run. Even if the data hasn't changed, the second response produces objects with\n * different identities, and Angular must tear down the entire DOM and rebuild it (as if all old\n * elements were deleted and all new elements inserted).\n *\n * To avoid this expensive operation, you can customize the default tracking algorithm.\n * by supplying the `trackBy` option to `NgForOf`.\n * `trackBy` takes a function that has two arguments: `index` and `item`.\n * If `trackBy` is given, Angular tracks changes by the return value of the function.\n *\n * @see [Structural Directives](guide/structural-directives)\n * @ngModule CommonModule\n * @publicApi\n */\nclass NgForOf {\n    /**\n     * The value of the iterable expression, which can be used as a\n     * [template input variable](guide/structural-directives#shorthand).\n     */\n    set ngForOf(ngForOf) {\n        this._ngForOf = ngForOf;\n        this._ngForOfDirty = true;\n    }\n    /**\n     * Specifies a custom `TrackByFunction` to compute the identity of items in an iterable.\n     *\n     * If a custom `TrackByFunction` is not provided, `NgForOf` will use the item's [object\n     * identity](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is)\n     * as the key.\n     *\n     * `NgForOf` uses the computed key to associate items in an iterable with DOM elements\n     * it produces for these items.\n     *\n     * A custom `TrackByFunction` is useful to provide good user experience in cases when items in an\n     * iterable rendered using `NgForOf` have a natural identifier (for example, custom ID or a\n     * primary key), and this iterable could be updated with new object instances that still\n     * represent the same underlying entity (for example, when data is re-fetched from the server,\n     * and the iterable is recreated and re-rendered, but most of the data is still the same).\n     *\n     * @see `TrackByFunction`\n     */\n    set ngForTrackBy(fn) {\n        if (NG_DEV_MODE && fn != null && typeof fn !== 'function') {\n            console.warn(`trackBy must be a function, but received ${JSON.stringify(fn)}. ` +\n                `See https://angular.io/api/common/NgForOf#change-propagation for more information.`);\n        }\n        this._trackByFn = fn;\n    }\n    get ngForTrackBy() {\n        return this._trackByFn;\n    }\n    constructor(_viewContainer, _template, _differs) {\n        this._viewContainer = _viewContainer;\n        this._template = _template;\n        this._differs = _differs;\n        this._ngForOf = null;\n        this._ngForOfDirty = true;\n        this._differ = null;\n    }\n    /**\n     * A reference to the template that is stamped out for each item in the iterable.\n     * @see [template reference variable](guide/template-reference-variables)\n     */\n    set ngForTemplate(value) {\n        // TODO(TS2.1): make TemplateRef<Partial<NgForRowOf<T>>> once we move to TS v2.1\n        // The current type is too restrictive; a template that just uses index, for example,\n        // should be acceptable.\n        if (value) {\n            this._template = value;\n        }\n    }\n    /**\n     * Applies the changes when needed.\n     * @nodoc\n     */\n    ngDoCheck() {\n        if (this._ngForOfDirty) {\n            this._ngForOfDirty = false;\n            // React on ngForOf changes only once all inputs have been initialized\n            const value = this._ngForOf;\n            if (!this._differ && value) {\n                if (NG_DEV_MODE) {\n                    try {\n                        // CAUTION: this logic is duplicated for production mode below, as the try-catch\n                        // is only present in development builds.\n                        this._differ = this._differs.find(value).create(this.ngForTrackBy);\n                    }\n                    catch {\n                        let errorMessage = `Cannot find a differ supporting object '${value}' of type '` +\n                            `${getTypeName(value)}'. NgFor only supports binding to Iterables, such as Arrays.`;\n                        if (typeof value === 'object') {\n                            errorMessage += ' Did you mean to use the keyvalue pipe?';\n                        }\n                        throw new ɵRuntimeError(-2200 /* RuntimeErrorCode.NG_FOR_MISSING_DIFFER */, errorMessage);\n                    }\n                }\n                else {\n                    // CAUTION: this logic is duplicated for development mode above, as the try-catch\n                    // is only present in development builds.\n                    this._differ = this._differs.find(value).create(this.ngForTrackBy);\n                }\n            }\n        }\n        if (this._differ) {\n            const changes = this._differ.diff(this._ngForOf);\n            if (changes)\n                this._applyChanges(changes);\n        }\n    }\n    _applyChanges(changes) {\n        const viewContainer = this._viewContainer;\n        changes.forEachOperation((item, adjustedPreviousIndex, currentIndex) => {\n            if (item.previousIndex == null) {\n                // NgForOf is never \"null\" or \"undefined\" here because the differ detected\n                // that a new item needs to be inserted from the iterable. This implies that\n                // there is an iterable value for \"_ngForOf\".\n                viewContainer.createEmbeddedView(this._template, new NgForOfContext(item.item, this._ngForOf, -1, -1), currentIndex === null ? undefined : currentIndex);\n            }\n            else if (currentIndex == null) {\n                viewContainer.remove(adjustedPreviousIndex === null ? undefined : adjustedPreviousIndex);\n            }\n            else if (adjustedPreviousIndex !== null) {\n                const view = viewContainer.get(adjustedPreviousIndex);\n                viewContainer.move(view, currentIndex);\n                applyViewChange(view, item);\n            }\n        });\n        for (let i = 0, ilen = viewContainer.length; i < ilen; i++) {\n            const viewRef = viewContainer.get(i);\n            const context = viewRef.context;\n            context.index = i;\n            context.count = ilen;\n            context.ngForOf = this._ngForOf;\n        }\n        changes.forEachIdentityChange((record) => {\n            const viewRef = viewContainer.get(record.currentIndex);\n            applyViewChange(viewRef, record);\n        });\n    }\n    /**\n     * Asserts the correct type of the context for the template that `NgForOf` will render.\n     *\n     * The presence of this method is a signal to the Ivy template type-check compiler that the\n     * `NgForOf` structural directive renders its template with a specific context type.\n     */\n    static ngTemplateContextGuard(dir, ctx) {\n        return true;\n    }\n}\nNgForOf.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: NgForOf, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: i0.IterableDiffers }], target: i0.ɵɵFactoryTarget.Directive });\nNgForOf.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.2.10\", type: NgForOf, isStandalone: true, selector: \"[ngFor][ngForOf]\", inputs: { ngForOf: \"ngForOf\", ngForTrackBy: \"ngForTrackBy\", ngForTemplate: \"ngForTemplate\" }, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: NgForOf, decorators: [{\n            type: Directive,\n            args: [{\n                    selector: '[ngFor][ngForOf]',\n                    standalone: true,\n                }]\n        }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.TemplateRef }, { type: i0.IterableDiffers }]; }, propDecorators: { ngForOf: [{\n                type: Input\n            }], ngForTrackBy: [{\n                type: Input\n            }], ngForTemplate: [{\n                type: Input\n            }] } });\nfunction applyViewChange(view, record) {\n    view.context.$implicit = record.item;\n}\nfunction getTypeName(type) {\n    return type['name'] || typeof type;\n}\n\n/**\n * A structural directive that conditionally includes a template based on the value of\n * an expression coerced to Boolean.\n * When the expression evaluates to true, Angular renders the template\n * provided in a `then` clause, and when  false or null,\n * Angular renders the template provided in an optional `else` clause. The default\n * template for the `else` clause is blank.\n *\n * A [shorthand form](guide/structural-directives#asterisk) of the directive,\n * `*ngIf=\"condition\"`, is generally used, provided\n * as an attribute of the anchor element for the inserted template.\n * Angular expands this into a more explicit version, in which the anchor element\n * is contained in an `<ng-template>` element.\n *\n * Simple form with shorthand syntax:\n *\n * ```\n * <div *ngIf=\"condition\">Content to render when condition is true.</div>\n * ```\n *\n * Simple form with expanded syntax:\n *\n * ```\n * <ng-template [ngIf]=\"condition\"><div>Content to render when condition is\n * true.</div></ng-template>\n * ```\n *\n * Form with an \"else\" block:\n *\n * ```\n * <div *ngIf=\"condition; else elseBlock\">Content to render when condition is true.</div>\n * <ng-template #elseBlock>Content to render when condition is false.</ng-template>\n * ```\n *\n * Shorthand form with \"then\" and \"else\" blocks:\n *\n * ```\n * <div *ngIf=\"condition; then thenBlock else elseBlock\"></div>\n * <ng-template #thenBlock>Content to render when condition is true.</ng-template>\n * <ng-template #elseBlock>Content to render when condition is false.</ng-template>\n * ```\n *\n * Form with storing the value locally:\n *\n * ```\n * <div *ngIf=\"condition as value; else elseBlock\">{{value}}</div>\n * <ng-template #elseBlock>Content to render when value is null.</ng-template>\n * ```\n *\n * @usageNotes\n *\n * The `*ngIf` directive is most commonly used to conditionally show an inline template,\n * as seen in the following  example.\n * The default `else` template is blank.\n *\n * {@example common/ngIf/ts/module.ts region='NgIfSimple'}\n *\n * ### Showing an alternative template using `else`\n *\n * To display a template when `expression` evaluates to false, use an `else` template\n * binding as shown in the following example.\n * The `else` binding points to an `<ng-template>`  element labeled `#elseBlock`.\n * The template can be defined anywhere in the component view, but is typically placed right after\n * `ngIf` for readability.\n *\n * {@example common/ngIf/ts/module.ts region='NgIfElse'}\n *\n * ### Using an external `then` template\n *\n * In the previous example, the then-clause template is specified inline, as the content of the\n * tag that contains the `ngIf` directive. You can also specify a template that is defined\n * externally, by referencing a labeled `<ng-template>` element. When you do this, you can\n * change which template to use at runtime, as shown in the following example.\n *\n * {@example common/ngIf/ts/module.ts region='NgIfThenElse'}\n *\n * ### Storing a conditional result in a variable\n *\n * You might want to show a set of properties from the same object. If you are waiting\n * for asynchronous data, the object can be undefined.\n * In this case, you can use `ngIf` and store the result of the condition in a local\n * variable as shown in the following example.\n *\n * {@example common/ngIf/ts/module.ts region='NgIfAs'}\n *\n * This code uses only one `AsyncPipe`, so only one subscription is created.\n * The conditional statement stores the result of `userStream|async` in the local variable `user`.\n * You can then bind the local `user` repeatedly.\n *\n * The conditional displays the data only if `userStream` returns a value,\n * so you don't need to use the\n * safe-navigation-operator (`?.`)\n * to guard against null values when accessing properties.\n * You can display an alternative template while waiting for the data.\n *\n * ### Shorthand syntax\n *\n * The shorthand syntax `*ngIf` expands into two separate template specifications\n * for the \"then\" and \"else\" clauses. For example, consider the following shorthand statement,\n * that is meant to show a loading page while waiting for data to be loaded.\n *\n * ```\n * <div class=\"hero-list\" *ngIf=\"heroes else loading\">\n *  ...\n * </div>\n *\n * <ng-template #loading>\n *  <div>Loading...</div>\n * </ng-template>\n * ```\n *\n * You can see that the \"else\" clause references the `<ng-template>`\n * with the `#loading` label, and the template for the \"then\" clause\n * is provided as the content of the anchor element.\n *\n * However, when Angular expands the shorthand syntax, it creates\n * another `<ng-template>` tag, with `ngIf` and `ngIfElse` directives.\n * The anchor element containing the template for the \"then\" clause becomes\n * the content of this unlabeled `<ng-template>` tag.\n *\n * ```\n * <ng-template [ngIf]=\"heroes\" [ngIfElse]=\"loading\">\n *  <div class=\"hero-list\">\n *   ...\n *  </div>\n * </ng-template>\n *\n * <ng-template #loading>\n *  <div>Loading...</div>\n * </ng-template>\n * ```\n *\n * The presence of the implicit template object has implications for the nesting of\n * structural directives. For more on this subject, see\n * [Structural Directives](guide/structural-directives#one-per-element).\n *\n * @ngModule CommonModule\n * @publicApi\n */\nclass NgIf {\n    constructor(_viewContainer, templateRef) {\n        this._viewContainer = _viewContainer;\n        this._context = new NgIfContext();\n        this._thenTemplateRef = null;\n        this._elseTemplateRef = null;\n        this._thenViewRef = null;\n        this._elseViewRef = null;\n        this._thenTemplateRef = templateRef;\n    }\n    /**\n     * The Boolean expression to evaluate as the condition for showing a template.\n     */\n    set ngIf(condition) {\n        this._context.$implicit = this._context.ngIf = condition;\n        this._updateView();\n    }\n    /**\n     * A template to show if the condition expression evaluates to true.\n     */\n    set ngIfThen(templateRef) {\n        assertTemplate('ngIfThen', templateRef);\n        this._thenTemplateRef = templateRef;\n        this._thenViewRef = null; // clear previous view if any.\n        this._updateView();\n    }\n    /**\n     * A template to show if the condition expression evaluates to false.\n     */\n    set ngIfElse(templateRef) {\n        assertTemplate('ngIfElse', templateRef);\n        this._elseTemplateRef = templateRef;\n        this._elseViewRef = null; // clear previous view if any.\n        this._updateView();\n    }\n    _updateView() {\n        if (this._context.$implicit) {\n            if (!this._thenViewRef) {\n                this._viewContainer.clear();\n                this._elseViewRef = null;\n                if (this._thenTemplateRef) {\n                    this._thenViewRef =\n                        this._viewContainer.createEmbeddedView(this._thenTemplateRef, this._context);\n                }\n            }\n        }\n        else {\n            if (!this._elseViewRef) {\n                this._viewContainer.clear();\n                this._thenViewRef = null;\n                if (this._elseTemplateRef) {\n                    this._elseViewRef =\n                        this._viewContainer.createEmbeddedView(this._elseTemplateRef, this._context);\n                }\n            }\n        }\n    }\n    /**\n     * Asserts the correct type of the context for the template that `NgIf` will render.\n     *\n     * The presence of this method is a signal to the Ivy template type-check compiler that the\n     * `NgIf` structural directive renders its template with a specific context type.\n     */\n    static ngTemplateContextGuard(dir, ctx) {\n        return true;\n    }\n}\nNgIf.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: NgIf, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });\nNgIf.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.2.10\", type: NgIf, isStandalone: true, selector: \"[ngIf]\", inputs: { ngIf: \"ngIf\", ngIfThen: \"ngIfThen\", ngIfElse: \"ngIfElse\" }, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: NgIf, decorators: [{\n            type: Directive,\n            args: [{\n                    selector: '[ngIf]',\n                    standalone: true,\n                }]\n        }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.TemplateRef }]; }, propDecorators: { ngIf: [{\n                type: Input\n            }], ngIfThen: [{\n                type: Input\n            }], ngIfElse: [{\n                type: Input\n            }] } });\n/**\n * @publicApi\n */\nclass NgIfContext {\n    constructor() {\n        this.$implicit = null;\n        this.ngIf = null;\n    }\n}\nfunction assertTemplate(property, templateRef) {\n    const isTemplateRefOrNull = !!(!templateRef || templateRef.createEmbeddedView);\n    if (!isTemplateRefOrNull) {\n        throw new Error(`${property} must be a TemplateRef, but received '${ɵstringify(templateRef)}'.`);\n    }\n}\n\nclass SwitchView {\n    constructor(_viewContainerRef, _templateRef) {\n        this._viewContainerRef = _viewContainerRef;\n        this._templateRef = _templateRef;\n        this._created = false;\n    }\n    create() {\n        this._created = true;\n        this._viewContainerRef.createEmbeddedView(this._templateRef);\n    }\n    destroy() {\n        this._created = false;\n        this._viewContainerRef.clear();\n    }\n    enforceState(created) {\n        if (created && !this._created) {\n            this.create();\n        }\n        else if (!created && this._created) {\n            this.destroy();\n        }\n    }\n}\n/**\n * @ngModule CommonModule\n *\n * @description\n * The `[ngSwitch]` directive on a container specifies an expression to match against.\n * The expressions to match are provided by `ngSwitchCase` directives on views within the container.\n * - Every view that matches is rendered.\n * - If there are no matches, a view with the `ngSwitchDefault` directive is rendered.\n * - Elements within the `[NgSwitch]` statement but outside of any `NgSwitchCase`\n * or `ngSwitchDefault` directive are preserved at the location.\n *\n * @usageNotes\n * Define a container element for the directive, and specify the switch expression\n * to match against as an attribute:\n *\n * ```\n * <container-element [ngSwitch]=\"switch_expression\">\n * ```\n *\n * Within the container, `*ngSwitchCase` statements specify the match expressions\n * as attributes. Include `*ngSwitchDefault` as the final case.\n *\n * ```\n * <container-element [ngSwitch]=\"switch_expression\">\n *    <some-element *ngSwitchCase=\"match_expression_1\">...</some-element>\n * ...\n *    <some-element *ngSwitchDefault>...</some-element>\n * </container-element>\n * ```\n *\n * ### Usage Examples\n *\n * The following example shows how to use more than one case to display the same view:\n *\n * ```\n * <container-element [ngSwitch]=\"switch_expression\">\n *   <!-- the same view can be shown in more than one case -->\n *   <some-element *ngSwitchCase=\"match_expression_1\">...</some-element>\n *   <some-element *ngSwitchCase=\"match_expression_2\">...</some-element>\n *   <some-other-element *ngSwitchCase=\"match_expression_3\">...</some-other-element>\n *   <!--default case when there are no matches -->\n *   <some-element *ngSwitchDefault>...</some-element>\n * </container-element>\n * ```\n *\n * The following example shows how cases can be nested:\n * ```\n * <container-element [ngSwitch]=\"switch_expression\">\n *       <some-element *ngSwitchCase=\"match_expression_1\">...</some-element>\n *       <some-element *ngSwitchCase=\"match_expression_2\">...</some-element>\n *       <some-other-element *ngSwitchCase=\"match_expression_3\">...</some-other-element>\n *       <ng-container *ngSwitchCase=\"match_expression_3\">\n *         <!-- use a ng-container to group multiple root nodes -->\n *         <inner-element></inner-element>\n *         <inner-other-element></inner-other-element>\n *       </ng-container>\n *       <some-element *ngSwitchDefault>...</some-element>\n *     </container-element>\n * ```\n *\n * @publicApi\n * @see `NgSwitchCase`\n * @see `NgSwitchDefault`\n * @see [Structural Directives](guide/structural-directives)\n *\n */\nclass NgSwitch {\n    constructor() {\n        this._defaultViews = [];\n        this._defaultUsed = false;\n        this._caseCount = 0;\n        this._lastCaseCheckIndex = 0;\n        this._lastCasesMatched = false;\n    }\n    set ngSwitch(newValue) {\n        this._ngSwitch = newValue;\n        if (this._caseCount === 0) {\n            this._updateDefaultCases(true);\n        }\n    }\n    /** @internal */\n    _addCase() {\n        return this._caseCount++;\n    }\n    /** @internal */\n    _addDefault(view) {\n        this._defaultViews.push(view);\n    }\n    /** @internal */\n    _matchCase(value) {\n        const matched = value == this._ngSwitch;\n        this._lastCasesMatched = this._lastCasesMatched || matched;\n        this._lastCaseCheckIndex++;\n        if (this._lastCaseCheckIndex === this._caseCount) {\n            this._updateDefaultCases(!this._lastCasesMatched);\n            this._lastCaseCheckIndex = 0;\n            this._lastCasesMatched = false;\n        }\n        return matched;\n    }\n    _updateDefaultCases(useDefault) {\n        if (this._defaultViews.length > 0 && useDefault !== this._defaultUsed) {\n            this._defaultUsed = useDefault;\n            for (const defaultView of this._defaultViews) {\n                defaultView.enforceState(useDefault);\n            }\n        }\n    }\n}\nNgSwitch.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: NgSwitch, deps: [], target: i0.ɵɵFactoryTarget.Directive });\nNgSwitch.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.2.10\", type: NgSwitch, isStandalone: true, selector: \"[ngSwitch]\", inputs: { ngSwitch: \"ngSwitch\" }, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: NgSwitch, decorators: [{\n            type: Directive,\n            args: [{\n                    selector: '[ngSwitch]',\n                    standalone: true,\n                }]\n        }], propDecorators: { ngSwitch: [{\n                type: Input\n            }] } });\n/**\n * @ngModule CommonModule\n *\n * @description\n * Provides a switch case expression to match against an enclosing `ngSwitch` expression.\n * When the expressions match, the given `NgSwitchCase` template is rendered.\n * If multiple match expressions match the switch expression value, all of them are displayed.\n *\n * @usageNotes\n *\n * Within a switch container, `*ngSwitchCase` statements specify the match expressions\n * as attributes. Include `*ngSwitchDefault` as the final case.\n *\n * ```\n * <container-element [ngSwitch]=\"switch_expression\">\n *   <some-element *ngSwitchCase=\"match_expression_1\">...</some-element>\n *   ...\n *   <some-element *ngSwitchDefault>...</some-element>\n * </container-element>\n * ```\n *\n * Each switch-case statement contains an in-line HTML template or template reference\n * that defines the subtree to be selected if the value of the match expression\n * matches the value of the switch expression.\n *\n * Unlike JavaScript, which uses strict equality, Angular uses loose equality.\n * This means that the empty string, `\"\"` matches 0.\n *\n * @publicApi\n * @see `NgSwitch`\n * @see `NgSwitchDefault`\n *\n */\nclass NgSwitchCase {\n    constructor(viewContainer, templateRef, ngSwitch) {\n        this.ngSwitch = ngSwitch;\n        if ((typeof ngDevMode === 'undefined' || ngDevMode) && !ngSwitch) {\n            throwNgSwitchProviderNotFoundError('ngSwitchCase', 'NgSwitchCase');\n        }\n        ngSwitch._addCase();\n        this._view = new SwitchView(viewContainer, templateRef);\n    }\n    /**\n     * Performs case matching. For internal use only.\n     * @nodoc\n     */\n    ngDoCheck() {\n        this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase));\n    }\n}\nNgSwitchCase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: NgSwitchCase, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: NgSwitch, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive });\nNgSwitchCase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.2.10\", type: NgSwitchCase, isStandalone: true, selector: \"[ngSwitchCase]\", inputs: { ngSwitchCase: \"ngSwitchCase\" }, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: NgSwitchCase, decorators: [{\n            type: Directive,\n            args: [{\n                    selector: '[ngSwitchCase]',\n                    standalone: true,\n                }]\n        }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.TemplateRef }, { type: NgSwitch, decorators: [{\n                    type: Optional\n                }, {\n                    type: Host\n                }] }]; }, propDecorators: { ngSwitchCase: [{\n                type: Input\n            }] } });\n/**\n * @ngModule CommonModule\n *\n * @description\n *\n * Creates a view that is rendered when no `NgSwitchCase` expressions\n * match the `NgSwitch` expression.\n * This statement should be the final case in an `NgSwitch`.\n *\n * @publicApi\n * @see `NgSwitch`\n * @see `NgSwitchCase`\n *\n */\nclass NgSwitchDefault {\n    constructor(viewContainer, templateRef, ngSwitch) {\n        if ((typeof ngDevMode === 'undefined' || ngDevMode) && !ngSwitch) {\n            throwNgSwitchProviderNotFoundError('ngSwitchDefault', 'NgSwitchDefault');\n        }\n        ngSwitch._addDefault(new SwitchView(viewContainer, templateRef));\n    }\n}\nNgSwitchDefault.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: NgSwitchDefault, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: NgSwitch, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive });\nNgSwitchDefault.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.2.10\", type: NgSwitchDefault, isStandalone: true, selector: \"[ngSwitchDefault]\", ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: NgSwitchDefault, decorators: [{\n            type: Directive,\n            args: [{\n                    selector: '[ngSwitchDefault]',\n                    standalone: true,\n                }]\n        }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.TemplateRef }, { type: NgSwitch, decorators: [{\n                    type: Optional\n                }, {\n                    type: Host\n                }] }]; } });\nfunction throwNgSwitchProviderNotFoundError(attrName, directiveName) {\n    throw new ɵRuntimeError(2000 /* RuntimeErrorCode.PARENT_NG_SWITCH_NOT_FOUND */, `An element with the \"${attrName}\" attribute ` +\n        `(matching the \"${directiveName}\" directive) must be located inside an element with the \"ngSwitch\" attribute ` +\n        `(matching \"NgSwitch\" directive)`);\n}\n\n/**\n * @ngModule CommonModule\n *\n * @usageNotes\n * ```\n * <some-element [ngPlural]=\"value\">\n *   <ng-template ngPluralCase=\"=0\">there is nothing</ng-template>\n *   <ng-template ngPluralCase=\"=1\">there is one</ng-template>\n *   <ng-template ngPluralCase=\"few\">there are a few</ng-template>\n * </some-element>\n * ```\n *\n * @description\n *\n * Adds / removes DOM sub-trees based on a numeric value. Tailored for pluralization.\n *\n * Displays DOM sub-trees that match the switch expression value, or failing that, DOM sub-trees\n * that match the switch expression's pluralization category.\n *\n * To use this directive you must provide a container element that sets the `[ngPlural]` attribute\n * to a switch expression. Inner elements with a `[ngPluralCase]` will display based on their\n * expression:\n * - if `[ngPluralCase]` is set to a value starting with `=`, it will only display if the value\n *   matches the switch expression exactly,\n * - otherwise, the view will be treated as a \"category match\", and will only display if exact\n *   value matches aren't found and the value maps to its category for the defined locale.\n *\n * See http://cldr.unicode.org/index/cldr-spec/plural-rules\n *\n * @publicApi\n */\nclass NgPlural {\n    constructor(_localization) {\n        this._localization = _localization;\n        this._caseViews = {};\n    }\n    set ngPlural(value) {\n        this._updateView(value);\n    }\n    addCase(value, switchView) {\n        this._caseViews[value] = switchView;\n    }\n    _updateView(switchValue) {\n        this._clearViews();\n        const cases = Object.keys(this._caseViews);\n        const key = getPluralCategory(switchValue, cases, this._localization);\n        this._activateView(this._caseViews[key]);\n    }\n    _clearViews() {\n        if (this._activeView)\n            this._activeView.destroy();\n    }\n    _activateView(view) {\n        if (view) {\n            this._activeView = view;\n            this._activeView.create();\n        }\n    }\n}\nNgPlural.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: NgPlural, deps: [{ token: NgLocalization }], target: i0.ɵɵFactoryTarget.Directive });\nNgPlural.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.2.10\", type: NgPlural, isStandalone: true, selector: \"[ngPlural]\", inputs: { ngPlural: \"ngPlural\" }, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: NgPlural, decorators: [{\n            type: Directive,\n            args: [{\n                    selector: '[ngPlural]',\n                    standalone: true,\n                }]\n        }], ctorParameters: function () { return [{ type: NgLocalization }]; }, propDecorators: { ngPlural: [{\n                type: Input\n            }] } });\n/**\n * @ngModule CommonModule\n *\n * @description\n *\n * Creates a view that will be added/removed from the parent {@link NgPlural} when the\n * given expression matches the plural expression according to CLDR rules.\n *\n * @usageNotes\n * ```\n * <some-element [ngPlural]=\"value\">\n *   <ng-template ngPluralCase=\"=0\">...</ng-template>\n *   <ng-template ngPluralCase=\"other\">...</ng-template>\n * </some-element>\n *```\n *\n * See {@link NgPlural} for more details and example.\n *\n * @publicApi\n */\nclass NgPluralCase {\n    constructor(value, template, viewContainer, ngPlural) {\n        this.value = value;\n        const isANumber = !isNaN(Number(value));\n        ngPlural.addCase(isANumber ? `=${value}` : value, new SwitchView(viewContainer, template));\n    }\n}\nNgPluralCase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: NgPluralCase, deps: [{ token: 'ngPluralCase', attribute: true }, { token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: NgPlural, host: true }], target: i0.ɵɵFactoryTarget.Directive });\nNgPluralCase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.2.10\", type: NgPluralCase, isStandalone: true, selector: \"[ngPluralCase]\", ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: NgPluralCase, decorators: [{\n            type: Directive,\n            args: [{\n                    selector: '[ngPluralCase]',\n                    standalone: true,\n                }]\n        }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n                    type: Attribute,\n                    args: ['ngPluralCase']\n                }] }, { type: i0.TemplateRef }, { type: i0.ViewContainerRef }, { type: NgPlural, decorators: [{\n                    type: Host\n                }] }]; } });\n\n/**\n * @ngModule CommonModule\n *\n * @usageNotes\n *\n * Set the font of the containing element to the result of an expression.\n *\n * ```\n * <some-element [ngStyle]=\"{'font-style': styleExp}\">...</some-element>\n * ```\n *\n * Set the width of the containing element to a pixel value returned by an expression.\n *\n * ```\n * <some-element [ngStyle]=\"{'max-width.px': widthExp}\">...</some-element>\n * ```\n *\n * Set a collection of style values using an expression that returns key-value pairs.\n *\n * ```\n * <some-element [ngStyle]=\"objExp\">...</some-element>\n * ```\n *\n * @description\n *\n * An attribute directive that updates styles for the containing HTML element.\n * Sets one or more style properties, specified as colon-separated key-value pairs.\n * The key is a style name, with an optional `.<unit>` suffix\n * (such as 'top.px', 'font-style.em').\n * The value is an expression to be evaluated.\n * The resulting non-null value, expressed in the given unit,\n * is assigned to the given style property.\n * If the result of evaluation is null, the corresponding style is removed.\n *\n * @publicApi\n */\nclass NgStyle {\n    constructor(_ngEl, _differs, _renderer) {\n        this._ngEl = _ngEl;\n        this._differs = _differs;\n        this._renderer = _renderer;\n        this._ngStyle = null;\n        this._differ = null;\n    }\n    set ngStyle(values) {\n        this._ngStyle = values;\n        if (!this._differ && values) {\n            this._differ = this._differs.find(values).create();\n        }\n    }\n    ngDoCheck() {\n        if (this._differ) {\n            const changes = this._differ.diff(this._ngStyle);\n            if (changes) {\n                this._applyChanges(changes);\n            }\n        }\n    }\n    _setStyle(nameAndUnit, value) {\n        const [name, unit] = nameAndUnit.split('.');\n        const flags = name.indexOf('-') === -1 ? undefined : RendererStyleFlags2.DashCase;\n        if (value != null) {\n            this._renderer.setStyle(this._ngEl.nativeElement, name, unit ? `${value}${unit}` : value, flags);\n        }\n        else {\n            this._renderer.removeStyle(this._ngEl.nativeElement, name, flags);\n        }\n    }\n    _applyChanges(changes) {\n        changes.forEachRemovedItem((record) => this._setStyle(record.key, null));\n        changes.forEachAddedItem((record) => this._setStyle(record.key, record.currentValue));\n        changes.forEachChangedItem((record) => this._setStyle(record.key, record.currentValue));\n    }\n}\nNgStyle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: NgStyle, deps: [{ token: i0.ElementRef }, { token: i0.KeyValueDiffers }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });\nNgStyle.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.2.10\", type: NgStyle, isStandalone: true, selector: \"[ngStyle]\", inputs: { ngStyle: \"ngStyle\" }, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: NgStyle, decorators: [{\n            type: Directive,\n            args: [{\n                    selector: '[ngStyle]',\n                    standalone: true,\n                }]\n        }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.KeyValueDiffers }, { type: i0.Renderer2 }]; }, propDecorators: { ngStyle: [{\n                type: Input,\n                args: ['ngStyle']\n            }] } });\n\n/**\n * @ngModule CommonModule\n *\n * @description\n *\n * Inserts an embedded view from a prepared `TemplateRef`.\n *\n * You can attach a context object to the `EmbeddedViewRef` by setting `[ngTemplateOutletContext]`.\n * `[ngTemplateOutletContext]` should be an object, the object's keys will be available for binding\n * by the local template `let` declarations.\n *\n * @usageNotes\n * ```\n * <ng-container *ngTemplateOutlet=\"templateRefExp; context: contextExp\"></ng-container>\n * ```\n *\n * Using the key `$implicit` in the context object will set its value as default.\n *\n * ### Example\n *\n * {@example common/ngTemplateOutlet/ts/module.ts region='NgTemplateOutlet'}\n *\n * @publicApi\n */\nclass NgTemplateOutlet {\n    constructor(_viewContainerRef) {\n        this._viewContainerRef = _viewContainerRef;\n        this._viewRef = null;\n        /**\n         * A context object to attach to the {@link EmbeddedViewRef}. This should be an\n         * object, the object's keys will be available for binding by the local template `let`\n         * declarations.\n         * Using the key `$implicit` in the context object will set its value as default.\n         */\n        this.ngTemplateOutletContext = null;\n        /**\n         * A string defining the template reference and optionally the context object for the template.\n         */\n        this.ngTemplateOutlet = null;\n        /** Injector to be used within the embedded view. */\n        this.ngTemplateOutletInjector = null;\n    }\n    /** @nodoc */\n    ngOnChanges(changes) {\n        if (changes['ngTemplateOutlet'] || changes['ngTemplateOutletInjector']) {\n            const viewContainerRef = this._viewContainerRef;\n            if (this._viewRef) {\n                viewContainerRef.remove(viewContainerRef.indexOf(this._viewRef));\n            }\n            if (this.ngTemplateOutlet) {\n                const { ngTemplateOutlet: template, ngTemplateOutletContext: context, ngTemplateOutletInjector: injector } = this;\n                this._viewRef = viewContainerRef.createEmbeddedView(template, context, injector ? { injector } : undefined);\n            }\n            else {\n                this._viewRef = null;\n            }\n        }\n        else if (this._viewRef && changes['ngTemplateOutletContext'] && this.ngTemplateOutletContext) {\n            this._viewRef.context = this.ngTemplateOutletContext;\n        }\n    }\n}\nNgTemplateOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: NgTemplateOutlet, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });\nNgTemplateOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.2.10\", type: NgTemplateOutlet, isStandalone: true, selector: \"[ngTemplateOutlet]\", inputs: { ngTemplateOutletContext: \"ngTemplateOutletContext\", ngTemplateOutlet: \"ngTemplateOutlet\", ngTemplateOutletInjector: \"ngTemplateOutletInjector\" }, usesOnChanges: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: NgTemplateOutlet, decorators: [{\n            type: Directive,\n            args: [{\n                    selector: '[ngTemplateOutlet]',\n                    standalone: true,\n                }]\n        }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; }, propDecorators: { ngTemplateOutletContext: [{\n                type: Input\n            }], ngTemplateOutlet: [{\n                type: Input\n            }], ngTemplateOutletInjector: [{\n                type: Input\n            }] } });\n\n/**\n * A collection of Angular directives that are likely to be used in each and every Angular\n * application.\n */\nconst COMMON_DIRECTIVES = [\n    NgClass,\n    NgComponentOutlet,\n    NgForOf,\n    NgIf,\n    NgTemplateOutlet,\n    NgStyle,\n    NgSwitch,\n    NgSwitchCase,\n    NgSwitchDefault,\n    NgPlural,\n    NgPluralCase,\n];\n\nfunction invalidPipeArgumentError(type, value) {\n    return new ɵRuntimeError(2100 /* RuntimeErrorCode.INVALID_PIPE_ARGUMENT */, ngDevMode && `InvalidPipeArgument: '${value}' for pipe '${ɵstringify(type)}'`);\n}\n\nclass SubscribableStrategy {\n    createSubscription(async, updateLatestValue) {\n        return async.subscribe({\n            next: updateLatestValue,\n            error: (e) => {\n                throw e;\n            }\n        });\n    }\n    dispose(subscription) {\n        subscription.unsubscribe();\n    }\n}\nclass PromiseStrategy {\n    createSubscription(async, updateLatestValue) {\n        return async.then(updateLatestValue, e => {\n            throw e;\n        });\n    }\n    dispose(subscription) { }\n}\nconst _promiseStrategy = new PromiseStrategy();\nconst _subscribableStrategy = new SubscribableStrategy();\n/**\n * @ngModule CommonModule\n * @description\n *\n * Unwraps a value from an asynchronous primitive.\n *\n * The `async` pipe subscribes to an `Observable` or `Promise` and returns the latest value it has\n * emitted. When a new value is emitted, the `async` pipe marks the component to be checked for\n * changes. When the component gets destroyed, the `async` pipe unsubscribes automatically to avoid\n * potential memory leaks. When the reference of the expression changes, the `async` pipe\n * automatically unsubscribes from the old `Observable` or `Promise` and subscribes to the new one.\n *\n * @usageNotes\n *\n * ### Examples\n *\n * This example binds a `Promise` to the view. Clicking the `Resolve` button resolves the\n * promise.\n *\n * {@example common/pipes/ts/async_pipe.ts region='AsyncPipePromise'}\n *\n * It's also possible to use `async` with Observables. The example below binds the `time` Observable\n * to the view. The Observable continuously updates the view with the current time.\n *\n * {@example common/pipes/ts/async_pipe.ts region='AsyncPipeObservable'}\n *\n * @publicApi\n */\nclass AsyncPipe {\n    constructor(ref) {\n        this._latestValue = null;\n        this._subscription = null;\n        this._obj = null;\n        this._strategy = null;\n        // Assign `ref` into `this._ref` manually instead of declaring `_ref` in the constructor\n        // parameter list, as the type of `this._ref` includes `null` unlike the type of `ref`.\n        this._ref = ref;\n    }\n    ngOnDestroy() {\n        if (this._subscription) {\n            this._dispose();\n        }\n        // Clear the `ChangeDetectorRef` and its association with the view data, to mitigate\n        // potential memory leaks in Observables that could otherwise cause the view data to\n        // be retained.\n        // https://github.com/angular/angular/issues/17624\n        this._ref = null;\n    }\n    transform(obj) {\n        if (!this._obj) {\n            if (obj) {\n                this._subscribe(obj);\n            }\n            return this._latestValue;\n        }\n        if (obj !== this._obj) {\n            this._dispose();\n            return this.transform(obj);\n        }\n        return this._latestValue;\n    }\n    _subscribe(obj) {\n        this._obj = obj;\n        this._strategy = this._selectStrategy(obj);\n        this._subscription = this._strategy.createSubscription(obj, (value) => this._updateLatestValue(obj, value));\n    }\n    _selectStrategy(obj) {\n        if (ɵisPromise(obj)) {\n            return _promiseStrategy;\n        }\n        if (ɵisSubscribable(obj)) {\n            return _subscribableStrategy;\n        }\n        throw invalidPipeArgumentError(AsyncPipe, obj);\n    }\n    _dispose() {\n        // Note: `dispose` is only called if a subscription has been initialized before, indicating\n        // that `this._strategy` is also available.\n        this._strategy.dispose(this._subscription);\n        this._latestValue = null;\n        this._subscription = null;\n        this._obj = null;\n    }\n    _updateLatestValue(async, value) {\n        if (async === this._obj) {\n            this._latestValue = value;\n            // Note: `this._ref` is only cleared in `ngOnDestroy` so is known to be available when a\n            // value is being updated.\n            this._ref.markForCheck();\n        }\n    }\n}\nAsyncPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: AsyncPipe, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Pipe });\nAsyncPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: \"14.0.0\", version: \"15.2.10\", ngImport: i0, type: AsyncPipe, isStandalone: true, name: \"async\", pure: false });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: AsyncPipe, decorators: [{\n            type: Pipe,\n            args: [{\n                    name: 'async',\n                    pure: false,\n                    standalone: true,\n                }]\n        }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; } });\n\n/**\n * Transforms text to all lower case.\n *\n * @see `UpperCasePipe`\n * @see `TitleCasePipe`\n * @usageNotes\n *\n * The following example defines a view that allows the user to enter\n * text, and then uses the pipe to convert the input text to all lower case.\n *\n * <code-example path=\"common/pipes/ts/lowerupper_pipe.ts\" region='LowerUpperPipe'></code-example>\n *\n * @ngModule CommonModule\n * @publicApi\n */\nclass LowerCasePipe {\n    transform(value) {\n        if (value == null)\n            return null;\n        if (typeof value !== 'string') {\n            throw invalidPipeArgumentError(LowerCasePipe, value);\n        }\n        return value.toLowerCase();\n    }\n}\nLowerCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: LowerCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });\nLowerCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: \"14.0.0\", version: \"15.2.10\", ngImport: i0, type: LowerCasePipe, isStandalone: true, name: \"lowercase\" });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: LowerCasePipe, decorators: [{\n            type: Pipe,\n            args: [{\n                    name: 'lowercase',\n                    standalone: true,\n                }]\n        }] });\n//\n// Regex below matches any Unicode word and number compatible with ES5. In ES2018 the same result\n// can be achieved by using /[0-9\\p{L}]\\S*/gu and also known as Unicode Property Escapes\n// (https://2ality.com/2017/07/regexp-unicode-property-escapes.html). Since there is no\n// transpilation of this functionality down to ES5 without external tool, the only solution is\n// to use already transpiled form. Example can be found here -\n// https://mothereff.in/regexpu#input=var+regex+%3D+%2F%5B0-9%5Cp%7BL%7D%5D%5CS*%2Fgu%3B%0A%0A&unicodePropertyEscape=1\n//\nconst unicodeWordMatch = /(?:[0-9A-Za-z\\xAA\\xB5\\xBA\\xC0-\\xD6\\xD8-\\xF6\\xF8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0370-\\u0374\\u0376\\u0377\\u037A-\\u037D\\u037F\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u048A-\\u052F\\u0531-\\u0556\\u0559\\u0560-\\u0588\\u05D0-\\u05EA\\u05EF-\\u05F2\\u0620-\\u064A\\u066E\\u066F\\u0671-\\u06D3\\u06D5\\u06E5\\u06E6\\u06EE\\u06EF\\u06FA-\\u06FC\\u06FF\\u0710\\u0712-\\u072F\\u074D-\\u07A5\\u07B1\\u07CA-\\u07EA\\u07F4\\u07F5\\u07FA\\u0800-\\u0815\\u081A\\u0824\\u0828\\u0840-\\u0858\\u0860-\\u086A\\u0870-\\u0887\\u0889-\\u088E\\u08A0-\\u08C9\\u0904-\\u0939\\u093D\\u0950\\u0958-\\u0961\\u0971-\\u0980\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BD\\u09CE\\u09DC\\u09DD\\u09DF-\\u09E1\\u09F0\\u09F1\\u09FC\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A59-\\u0A5C\\u0A5E\\u0A72-\\u0A74\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABD\\u0AD0\\u0AE0\\u0AE1\\u0AF9\\u0B05-\\u0B0C\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B35-\\u0B39\\u0B3D\\u0B5C\\u0B5D\\u0B5F-\\u0B61\\u0B71\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BD0\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C39\\u0C3D\\u0C58-\\u0C5A\\u0C5D\\u0C60\\u0C61\\u0C80\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CBD\\u0CDD\\u0CDE\\u0CE0\\u0CE1\\u0CF1\\u0CF2\\u0D04-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D3A\\u0D3D\\u0D4E\\u0D54-\\u0D56\\u0D5F-\\u0D61\\u0D7A-\\u0D7F\\u0D85-\\u0D96\\u0D9A-\\u0DB1\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0E01-\\u0E30\\u0E32\\u0E33\\u0E40-\\u0E46\\u0E81\\u0E82\\u0E84\\u0E86-\\u0E8A\\u0E8C-\\u0EA3\\u0EA5\\u0EA7-\\u0EB0\\u0EB2\\u0EB3\\u0EBD\\u0EC0-\\u0EC4\\u0EC6\\u0EDC-\\u0EDF\\u0F00\\u0F40-\\u0F47\\u0F49-\\u0F6C\\u0F88-\\u0F8C\\u1000-\\u102A\\u103F\\u1050-\\u1055\\u105A-\\u105D\\u1061\\u1065\\u1066\\u106E-\\u1070\\u1075-\\u1081\\u108E\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u1380-\\u138F\\u13A0-\\u13F5\\u13F8-\\u13FD\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u16F1-\\u16F8\\u1700-\\u1711\\u171F-\\u1731\\u1740-\\u1751\\u1760-\\u176C\\u176E-\\u1770\\u1780-\\u17B3\\u17D7\\u17DC\\u1820-\\u1878\\u1880-\\u1884\\u1887-\\u18A8\\u18AA\\u18B0-\\u18F5\\u1900-\\u191E\\u1950-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19B0-\\u19C9\\u1A00-\\u1A16\\u1A20-\\u1A54\\u1AA7\\u1B05-\\u1B33\\u1B45-\\u1B4C\\u1B83-\\u1BA0\\u1BAE\\u1BAF\\u1BBA-\\u1BE5\\u1C00-\\u1C23\\u1C4D-\\u1C4F\\u1C5A-\\u1C7D\\u1C80-\\u1C88\\u1C90-\\u1CBA\\u1CBD-\\u1CBF\\u1CE9-\\u1CEC\\u1CEE-\\u1CF3\\u1CF5\\u1CF6\\u1CFA\\u1D00-\\u1DBF\\u1E00-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u2071\\u207F\\u2090-\\u209C\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2183\\u2184\\u2C00-\\u2CE4\\u2CEB-\\u2CEE\\u2CF2\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D80-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2E2F\\u3005\\u3006\\u3031-\\u3035\\u303B\\u303C\\u3041-\\u3096\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312F\\u3131-\\u318E\\u31A0-\\u31BF\\u31F0-\\u31FF\\u3400-\\u4DBF\\u4E00-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA61F\\uA62A\\uA62B\\uA640-\\uA66E\\uA67F-\\uA69D\\uA6A0-\\uA6E5\\uA717-\\uA71F\\uA722-\\uA788\\uA78B-\\uA7CA\\uA7D0\\uA7D1\\uA7D3\\uA7D5-\\uA7D9\\uA7F2-\\uA801\\uA803-\\uA805\\uA807-\\uA80A\\uA80C-\\uA822\\uA840-\\uA873\\uA882-\\uA8B3\\uA8F2-\\uA8F7\\uA8FB\\uA8FD\\uA8FE\\uA90A-\\uA925\\uA930-\\uA946\\uA960-\\uA97C\\uA984-\\uA9B2\\uA9CF\\uA9E0-\\uA9E4\\uA9E6-\\uA9EF\\uA9FA-\\uA9FE\\uAA00-\\uAA28\\uAA40-\\uAA42\\uAA44-\\uAA4B\\uAA60-\\uAA76\\uAA7A\\uAA7E-\\uAAAF\\uAAB1\\uAAB5\\uAAB6\\uAAB9-\\uAABD\\uAAC0\\uAAC2\\uAADB-\\uAADD\\uAAE0-\\uAAEA\\uAAF2-\\uAAF4\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\\uAB26\\uAB28-\\uAB2E\\uAB30-\\uAB5A\\uAB5C-\\uAB69\\uAB70-\\uABE2\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFA6D\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D\\uFB1F-\\uFB28\\uFB2A-\\uFB36\\uFB38-\\uFB3C\\uFB3E\\uFB40\\uFB41\\uFB43\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFD3D\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDFB\\uFE70-\\uFE74\\uFE76-\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EF2\\uDFB0]|\\uD808[\\uDC00-\\uDF99]|\\uD809[\\uDC80-\\uDD43]|\\uD80B[\\uDF90-\\uDFF0]|[\\uD80C\\uD81C-\\uD820\\uD822\\uD840-\\uD868\\uD86A-\\uD86C\\uD86F-\\uD872\\uD874-\\uD879\\uD880-\\uD883][\\uDC00-\\uDFFF]|\\uD80D[\\uDC00-\\uDC2E]|\\uD811[\\uDC00-\\uDE46]|\\uD81A[\\uDC00-\\uDE38\\uDE40-\\uDE5E\\uDE70-\\uDEBE\\uDED0-\\uDEED\\uDF00-\\uDF2F\\uDF40-\\uDF43\\uDF63-\\uDF77\\uDF7D-\\uDF8F]|\\uD81B[\\uDE40-\\uDE7F\\uDF00-\\uDF4A\\uDF50\\uDF93-\\uDF9F\\uDFE0\\uDFE1\\uDFE3]|\\uD821[\\uDC00-\\uDFF7]|\\uD823[\\uDC00-\\uDCD5\\uDD00-\\uDD08]|\\uD82B[\\uDFF0-\\uDFF3\\uDFF5-\\uDFFB\\uDFFD\\uDFFE]|\\uD82C[\\uDC00-\\uDD22\\uDD50-\\uDD52\\uDD64-\\uDD67\\uDD70-\\uDEFB]|\\uD82F[\\uDC00-\\uDC6A\\uDC70-\\uDC7C\\uDC80-\\uDC88\\uDC90-\\uDC99]|\\uD835[\\uDC00-\\uDC54\\uDC56-\\uDC9C\\uDC9E\\uDC9F\\uDCA2\\uDCA5\\uDCA6\\uDCA9-\\uDCAC\\uDCAE-\\uDCB9\\uDCBB\\uDCBD-\\uDCC3\\uDCC5-\\uDD05\\uDD07-\\uDD0A\\uDD0D-\\uDD14\\uDD16-\\uDD1C\\uDD1E-\\uDD39\\uDD3B-\\uDD3E\\uDD40-\\uDD44\\uDD46\\uDD4A-\\uDD50\\uDD52-\\uDEA5\\uDEA8-\\uDEC0\\uDEC2-\\uDEDA\\uDEDC-\\uDEFA\\uDEFC-\\uDF14\\uDF16-\\uDF34\\uDF36-\\uDF4E\\uDF50-\\uDF6E\\uDF70-\\uDF88\\uDF8A-\\uDFA8\\uDFAA-\\uDFC2\\uDFC4-\\uDFCB]|\\uD837[\\uDF00-\\uDF1E]|\\uD838[\\uDD00-\\uDD2C\\uDD37-\\uDD3D\\uDD4E\\uDE90-\\uDEAD\\uDEC0-\\uDEEB]|\\uD839[\\uDFE0-\\uDFE6\\uDFE8-\\uDFEB\\uDFED\\uDFEE\\uDFF0-\\uDFFE]|\\uD83A[\\uDC00-\\uDCC4\\uDD00-\\uDD43\\uDD4B]|\\uD83B[\\uDE00-\\uDE03\\uDE05-\\uDE1F\\uDE21\\uDE22\\uDE24\\uDE27\\uDE29-\\uDE32\\uDE34-\\uDE37\\uDE39\\uDE3B\\uDE42\\uDE47\\uDE49\\uDE4B\\uDE4D-\\uDE4F\\uDE51\\uDE52\\uDE54\\uDE57\\uDE59\\uDE5B\\uDE5D\\uDE5F\\uDE61\\uDE62\\uDE64\\uDE67-\\uDE6A\\uDE6C-\\uDE72\\uDE74-\\uDE77\\uDE79-\\uDE7C\\uDE7E\\uDE80-\\uDE89\\uDE8B-\\uDE9B\\uDEA1-\\uDEA3\\uDEA5-\\uDEA9\\uDEAB-\\uDEBB]|\\uD869[\\uDC00-\\uDEDF\\uDF00-\\uDFFF]|\\uD86D[\\uDC00-\\uDF38\\uDF40-\\uDFFF]|\\uD86E[\\uDC00-\\uDC1D\\uDC20-\\uDFFF]|\\uD873[\\uDC00-\\uDEA1\\uDEB0-\\uDFFF]|\\uD87A[\\uDC00-\\uDFE0]|\\uD87E[\\uDC00-\\uDE1D]|\\uD884[\\uDC00-\\uDF4A])\\S*/g;\n/**\n * Transforms text to title case.\n * Capitalizes the first letter of each word and transforms the\n * rest of the word to lower case.\n * Words are delimited by any whitespace character, such as a space, tab, or line-feed character.\n *\n * @see `LowerCasePipe`\n * @see `UpperCasePipe`\n *\n * @usageNotes\n * The following example shows the result of transforming various strings into title case.\n *\n * <code-example path=\"common/pipes/ts/titlecase_pipe.ts\" region='TitleCasePipe'></code-example>\n *\n * @ngModule CommonModule\n * @publicApi\n */\nclass TitleCasePipe {\n    transform(value) {\n        if (value == null)\n            return null;\n        if (typeof value !== 'string') {\n            throw invalidPipeArgumentError(TitleCasePipe, value);\n        }\n        return value.replace(unicodeWordMatch, (txt => txt[0].toUpperCase() + txt.slice(1).toLowerCase()));\n    }\n}\nTitleCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: TitleCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });\nTitleCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: \"14.0.0\", version: \"15.2.10\", ngImport: i0, type: TitleCasePipe, isStandalone: true, name: \"titlecase\" });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: TitleCasePipe, decorators: [{\n            type: Pipe,\n            args: [{\n                    name: 'titlecase',\n                    standalone: true,\n                }]\n        }] });\n/**\n * Transforms text to all upper case.\n * @see `LowerCasePipe`\n * @see `TitleCasePipe`\n *\n * @ngModule CommonModule\n * @publicApi\n */\nclass UpperCasePipe {\n    transform(value) {\n        if (value == null)\n            return null;\n        if (typeof value !== 'string') {\n            throw invalidPipeArgumentError(UpperCasePipe, value);\n        }\n        return value.toUpperCase();\n    }\n}\nUpperCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: UpperCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });\nUpperCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: \"14.0.0\", version: \"15.2.10\", ngImport: i0, type: UpperCasePipe, isStandalone: true, name: \"uppercase\" });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: UpperCasePipe, decorators: [{\n            type: Pipe,\n            args: [{\n                    name: 'uppercase',\n                    standalone: true,\n                }]\n        }] });\n\n/**\n * The default date format of Angular date pipe, which corresponds to the following format:\n * `'MMM d,y'` (e.g. `Jun 15, 2015`)\n */\nconst DEFAULT_DATE_FORMAT = 'mediumDate';\n\n/**\n * Optionally-provided default timezone to use for all instances of `DatePipe` (such as `'+0430'`).\n * If the value isn't provided, the `DatePipe` will use the end-user's local system timezone.\n *\n * @deprecated use DATE_PIPE_DEFAULT_OPTIONS token to configure DatePipe\n */\nconst DATE_PIPE_DEFAULT_TIMEZONE = new InjectionToken('DATE_PIPE_DEFAULT_TIMEZONE');\n/**\n * DI token that allows to provide default configuration for the `DatePipe` instances in an\n * application. The value is an object which can include the following fields:\n * - `dateFormat`: configures the default date format. If not provided, the `DatePipe`\n * will use the 'mediumDate' as a value.\n * - `timezone`: configures the default timezone. If not provided, the `DatePipe` will\n * use the end-user's local system timezone.\n *\n * @see `DatePipeConfig`\n *\n * @usageNotes\n *\n * Various date pipe default values can be overwritten by providing this token with\n * the value that has this interface.\n *\n * For example:\n *\n * Override the default date format by providing a value using the token:\n * ```typescript\n * providers: [\n *   {provide: DATE_PIPE_DEFAULT_OPTIONS, useValue: {dateFormat: 'shortDate'}}\n * ]\n * ```\n *\n * Override the default timezone by providing a value using the token:\n * ```typescript\n * providers: [\n *   {provide: DATE_PIPE_DEFAULT_OPTIONS, useValue: {timezone: '-1200'}}\n * ]\n * ```\n */\nconst DATE_PIPE_DEFAULT_OPTIONS = new InjectionToken('DATE_PIPE_DEFAULT_OPTIONS');\n// clang-format off\n/**\n * @ngModule CommonModule\n * @description\n *\n * Formats a date value according to locale rules.\n *\n * `DatePipe` is executed only when it detects a pure change to the input value.\n * A pure change is either a change to a primitive input value\n * (such as `String`, `Number`, `Boolean`, or `Symbol`),\n * or a changed object reference (such as `Date`, `Array`, `Function`, or `Object`).\n *\n * Note that mutating a `Date` object does not cause the pipe to be rendered again.\n * To ensure that the pipe is executed, you must create a new `Date` object.\n *\n * Only the `en-US` locale data comes with Angular. To localize dates\n * in another language, you must import the corresponding locale data.\n * See the [I18n guide](guide/i18n-common-format-data-locale) for more information.\n *\n * The time zone of the formatted value can be specified either by passing it in as the second\n * parameter of the pipe, or by setting the default through the `DATE_PIPE_DEFAULT_OPTIONS`\n * injection token. The value that is passed in as the second parameter takes precedence over\n * the one defined using the injection token.\n *\n * @see `formatDate()`\n *\n *\n * @usageNotes\n *\n * The result of this pipe is not reevaluated when the input is mutated. To avoid the need to\n * reformat the date on every change-detection cycle, treat the date as an immutable object\n * and change the reference when the pipe needs to run again.\n *\n * ### Pre-defined format options\n *\n * | Option        | Equivalent to                       | Examples (given in `en-US` locale)              |\n * |---------------|-------------------------------------|-------------------------------------------------|\n * | `'short'`     | `'M/d/yy, h:mm a'`                  | `6/15/15, 9:03 AM`                              |\n * | `'medium'`    | `'MMM d, y, h:mm:ss a'`             | `Jun 15, 2015, 9:03:01 AM`                      |\n * | `'long'`      | `'MMMM d, y, h:mm:ss a z'`          | `June 15, 2015 at 9:03:01 AM GMT+1`             |\n * | `'full'`      | `'EEEE, MMMM d, y, h:mm:ss a zzzz'` | `Monday, June 15, 2015 at 9:03:01 AM GMT+01:00` |\n * | `'shortDate'` | `'M/d/yy'`                          | `6/15/15`                                       |\n * | `'mediumDate'`| `'MMM d, y'`                        | `Jun 15, 2015`                                  |\n * | `'longDate'`  | `'MMMM d, y'`                       | `June 15, 2015`                                 |\n * | `'fullDate'`  | `'EEEE, MMMM d, y'`                 | `Monday, June 15, 2015`                         |\n * | `'shortTime'` | `'h:mm a'`                          | `9:03 AM`                                       |\n * | `'mediumTime'`| `'h:mm:ss a'`                       | `9:03:01 AM`                                    |\n * | `'longTime'`  | `'h:mm:ss a z'`                     | `9:03:01 AM GMT+1`                              |\n * | `'fullTime'`  | `'h:mm:ss a zzzz'`                  | `9:03:01 AM GMT+01:00`                          |\n *\n * ### Custom format options\n *\n * You can construct a format string using symbols to specify the components\n * of a date-time value, as described in the following table.\n * Format details depend on the locale.\n * Fields marked with (*) are only available in the extra data set for the given locale.\n *\n *  | Field type          | Format      | Description                                                   | Example Value                                              |\n *  |-------------------- |-------------|---------------------------------------------------------------|------------------------------------------------------------|\n *  | Era                 | G, GG & GGG | Abbreviated                                                   | AD                                                         |\n *  |                     | GGGG        | Wide                                                          | Anno Domini                                                |\n *  |                     | GGGGG       | Narrow                                                        | A                                                          |\n *  | Year                | y           | Numeric: minimum digits                                       | 2, 20, 201, 2017, 20173                                    |\n *  |                     | yy          | Numeric: 2 digits + zero padded                               | 02, 20, 01, 17, 73                                         |\n *  |                     | yyy         | Numeric: 3 digits + zero padded                               | 002, 020, 201, 2017, 20173                                 |\n *  |                     | yyyy        | Numeric: 4 digits or more + zero padded                       | 0002, 0020, 0201, 2017, 20173                              |\n *  | Week-numbering year | Y           | Numeric: minimum digits                                       | 2, 20, 201, 2017, 20173                                    |\n *  |                     | YY          | Numeric: 2 digits + zero padded                               | 02, 20, 01, 17, 73                                         |\n *  |                     | YYY         | Numeric: 3 digits + zero padded                               | 002, 020, 201, 2017, 20173                                 |\n *  |                     | YYYY        | Numeric: 4 digits or more + zero padded                       | 0002, 0020, 0201, 2017, 20173                              |\n *  | Month               | M           | Numeric: 1 digit                                              | 9, 12                                                      |\n *  |                     | MM          | Numeric: 2 digits + zero padded                               | 09, 12                                                     |\n *  |                     | MMM         | Abbreviated                                                   | Sep                                                        |\n *  |                     | MMMM        | Wide                                                          | September                                                  |\n *  |                     | MMMMM       | Narrow                                                        | S                                                          |\n *  | Month standalone    | L           | Numeric: 1 digit                                              | 9, 12                                                      |\n *  |                     | LL          | Numeric: 2 digits + zero padded                               | 09, 12                                                     |\n *  |                     | LLL         | Abbreviated                                                   | Sep                                                        |\n *  |                     | LLLL        | Wide                                                          | September                                                  |\n *  |                     | LLLLL       | Narrow                                                        | S                                                          |\n *  | Week of year        | w           | Numeric: minimum digits                                       | 1... 53                                                    |\n *  |                     | ww          | Numeric: 2 digits + zero padded                               | 01... 53                                                   |\n *  | Week of month       | W           | Numeric: 1 digit                                              | 1... 5                                                     |\n *  | Day of month        | d           | Numeric: minimum digits                                       | 1                                                          |\n *  |                     | dd          | Numeric: 2 digits + zero padded                               | 01                                                         |\n *  | Week day            | E, EE & EEE | Abbreviated                                                   | Tue                                                        |\n *  |                     | EEEE        | Wide                                                          | Tuesday                                                    |\n *  |                     | EEEEE       | Narrow                                                        | T                                                          |\n *  |                     | EEEEEE      | Short                                                         | Tu                                                         |\n *  | Week day standalone | c, cc       | Numeric: 1 digit                                              | 2                                                          |\n *  |                     | ccc         | Abbreviated                                                   | Tue                                                        |\n *  |                     | cccc        | Wide                                                          | Tuesday                                                    |\n *  |                     | ccccc       | Narrow                                                        | T                                                          |\n *  |                     | cccccc      | Short                                                         | Tu                                                         |\n *  | Period              | a, aa & aaa | Abbreviated                                                   | am/pm or AM/PM                                             |\n *  |                     | aaaa        | Wide (fallback to `a` when missing)                           | ante meridiem/post meridiem                                |\n *  |                     | aaaaa       | Narrow                                                        | a/p                                                        |\n *  | Period*             | B, BB & BBB | Abbreviated                                                   | mid.                                                       |\n *  |                     | BBBB        | Wide                                                          | am, pm, midnight, noon, morning, afternoon, evening, night |\n *  |                     | BBBBB       | Narrow                                                        | md                                                         |\n *  | Period standalone*  | b, bb & bbb | Abbreviated                                                   | mid.                                                       |\n *  |                     | bbbb        | Wide                                                          | am, pm, midnight, noon, morning, afternoon, evening, night |\n *  |                     | bbbbb       | Narrow                                                        | md                                                         |\n *  | Hour 1-12           | h           | Numeric: minimum digits                                       | 1, 12                                                      |\n *  |                     | hh          | Numeric: 2 digits + zero padded                               | 01, 12                                                     |\n *  | Hour 0-23           | H           | Numeric: minimum digits                                       | 0, 23                                                      |\n *  |                     | HH          | Numeric: 2 digits + zero padded                               | 00, 23                                                     |\n *  | Minute              | m           | Numeric: minimum digits                                       | 8, 59                                                      |\n *  |                     | mm          | Numeric: 2 digits + zero padded                               | 08, 59                                                     |\n *  | Second              | s           | Numeric: minimum digits                                       | 0... 59                                                    |\n *  |                     | ss          | Numeric: 2 digits + zero padded                               | 00... 59                                                   |\n *  | Fractional seconds  | S           | Numeric: 1 digit                                              | 0... 9                                                     |\n *  |                     | SS          | Numeric: 2 digits + zero padded                               | 00... 99                                                   |\n *  |                     | SSS         | Numeric: 3 digits + zero padded (= milliseconds)              | 000... 999                                                 |\n *  | Zone                | z, zz & zzz | Short specific non location format (fallback to O)            | GMT-8                                                      |\n *  |                     | zzzz        | Long specific non location format (fallback to OOOO)          | GMT-08:00                                                  |\n *  |                     | Z, ZZ & ZZZ | ISO8601 basic format                                          | -0800                                                      |\n *  |                     | ZZZZ        | Long localized GMT format                                     | GMT-8:00                                                   |\n *  |                     | ZZZZZ       | ISO8601 extended format + Z indicator for offset 0 (= XXXXX)  | -08:00                                                     |\n *  |                     | O, OO & OOO | Short localized GMT format                                    | GMT-8                                                      |\n *  |                     | OOOO        | Long localized GMT format                                     | GMT-08:00                                                  |\n *\n *\n * ### Format examples\n *\n * These examples transform a date into various formats,\n * assuming that `dateObj` is a JavaScript `Date` object for\n * year: 2015, month: 6, day: 15, hour: 21, minute: 43, second: 11,\n * given in the local time for the `en-US` locale.\n *\n * ```\n * {{ dateObj | date }}               // output is 'Jun 15, 2015'\n * {{ dateObj | date:'medium' }}      // output is 'Jun 15, 2015, 9:43:11 PM'\n * {{ dateObj | date:'shortTime' }}   // output is '9:43 PM'\n * {{ dateObj | date:'mm:ss' }}       // output is '43:11'\n * ```\n *\n * ### Usage example\n *\n * The following component uses a date pipe to display the current date in different formats.\n *\n * ```\n * @Component({\n *  selector: 'date-pipe',\n *  template: `<div>\n *    <p>Today is {{today | date}}</p>\n *    <p>Or if you prefer, {{today | date:'fullDate'}}</p>\n *    <p>The time is {{today | date:'h:mm a z'}}</p>\n *  </div>`\n * })\n * // Get the current date and time as a date-time value.\n * export class DatePipeComponent {\n *   today: number = Date.now();\n * }\n * ```\n *\n * @publicApi\n */\n// clang-format on\nclass DatePipe {\n    constructor(locale, defaultTimezone, defaultOptions) {\n        this.locale = locale;\n        this.defaultTimezone = defaultTimezone;\n        this.defaultOptions = defaultOptions;\n    }\n    transform(value, format, timezone, locale) {\n        if (value == null || value === '' || value !== value)\n            return null;\n        try {\n            const _format = format ?? this.defaultOptions?.dateFormat ?? DEFAULT_DATE_FORMAT;\n            const _timezone = timezone ?? this.defaultOptions?.timezone ?? this.defaultTimezone ?? undefined;\n            return formatDate(value, _format, locale || this.locale, _timezone);\n        }\n        catch (error) {\n            throw invalidPipeArgumentError(DatePipe, error.message);\n        }\n    }\n}\nDatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: DatePipe, deps: [{ token: LOCALE_ID }, { token: DATE_PIPE_DEFAULT_TIMEZONE, optional: true }, { token: DATE_PIPE_DEFAULT_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });\nDatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: \"14.0.0\", version: \"15.2.10\", ngImport: i0, type: DatePipe, isStandalone: true, name: \"date\" });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: DatePipe, decorators: [{\n            type: Pipe,\n            args: [{\n                    name: 'date',\n                    pure: true,\n                    standalone: true,\n                }]\n        }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n                    type: Inject,\n                    args: [LOCALE_ID]\n                }] }, { type: undefined, decorators: [{\n                    type: Inject,\n                    args: [DATE_PIPE_DEFAULT_TIMEZONE]\n                }, {\n                    type: Optional\n                }] }, { type: undefined, decorators: [{\n                    type: Inject,\n                    args: [DATE_PIPE_DEFAULT_OPTIONS]\n                }, {\n                    type: Optional\n                }] }]; } });\n\nconst _INTERPOLATION_REGEXP = /#/g;\n/**\n * @ngModule CommonModule\n * @description\n *\n * Maps a value to a string that pluralizes the value according to locale rules.\n *\n * @usageNotes\n *\n * ### Example\n *\n * {@example common/pipes/ts/i18n_pipe.ts region='I18nPluralPipeComponent'}\n *\n * @publicApi\n */\nclass I18nPluralPipe {\n    constructor(_localization) {\n        this._localization = _localization;\n    }\n    /**\n     * @param value the number to be formatted\n     * @param pluralMap an object that mimics the ICU format, see\n     * https://unicode-org.github.io/icu/userguide/format_parse/messages/.\n     * @param locale a `string` defining the locale to use (uses the current {@link LOCALE_ID} by\n     * default).\n     */\n    transform(value, pluralMap, locale) {\n        if (value == null)\n            return '';\n        if (typeof pluralMap !== 'object' || pluralMap === null) {\n            throw invalidPipeArgumentError(I18nPluralPipe, pluralMap);\n        }\n        const key = getPluralCategory(value, Object.keys(pluralMap), this._localization, locale);\n        return pluralMap[key].replace(_INTERPOLATION_REGEXP, value.toString());\n    }\n}\nI18nPluralPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: I18nPluralPipe, deps: [{ token: NgLocalization }], target: i0.ɵɵFactoryTarget.Pipe });\nI18nPluralPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: \"14.0.0\", version: \"15.2.10\", ngImport: i0, type: I18nPluralPipe, isStandalone: true, name: \"i18nPlural\" });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: I18nPluralPipe, decorators: [{\n            type: Pipe,\n            args: [{\n                    name: 'i18nPlural',\n                    pure: true,\n                    standalone: true,\n                }]\n        }], ctorParameters: function () { return [{ type: NgLocalization }]; } });\n\n/**\n * @ngModule CommonModule\n * @description\n *\n * Generic selector that displays the string that matches the current value.\n *\n * If none of the keys of the `mapping` match the `value`, then the content\n * of the `other` key is returned when present, otherwise an empty string is returned.\n *\n * @usageNotes\n *\n * ### Example\n *\n * {@example common/pipes/ts/i18n_pipe.ts region='I18nSelectPipeComponent'}\n *\n * @publicApi\n */\nclass I18nSelectPipe {\n    /**\n     * @param value a string to be internationalized.\n     * @param mapping an object that indicates the text that should be displayed\n     * for different values of the provided `value`.\n     */\n    transform(value, mapping) {\n        if (value == null)\n            return '';\n        if (typeof mapping !== 'object' || typeof value !== 'string') {\n            throw invalidPipeArgumentError(I18nSelectPipe, mapping);\n        }\n        if (mapping.hasOwnProperty(value)) {\n            return mapping[value];\n        }\n        if (mapping.hasOwnProperty('other')) {\n            return mapping['other'];\n        }\n        return '';\n    }\n}\nI18nSelectPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: I18nSelectPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });\nI18nSelectPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: \"14.0.0\", version: \"15.2.10\", ngImport: i0, type: I18nSelectPipe, isStandalone: true, name: \"i18nSelect\" });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: I18nSelectPipe, decorators: [{\n            type: Pipe,\n            args: [{\n                    name: 'i18nSelect',\n                    pure: true,\n                    standalone: true,\n                }]\n        }] });\n\n/**\n * @ngModule CommonModule\n * @description\n *\n * Converts a value into its JSON-format representation.  Useful for debugging.\n *\n * @usageNotes\n *\n * The following component uses a JSON pipe to convert an object\n * to JSON format, and displays the string in both formats for comparison.\n *\n * {@example common/pipes/ts/json_pipe.ts region='JsonPipe'}\n *\n * @publicApi\n */\nclass JsonPipe {\n    /**\n     * @param value A value of any type to convert into a JSON-format string.\n     */\n    transform(value) {\n        return JSON.stringify(value, null, 2);\n    }\n}\nJsonPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: JsonPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });\nJsonPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: \"14.0.0\", version: \"15.2.10\", ngImport: i0, type: JsonPipe, isStandalone: true, name: \"json\", pure: false });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: JsonPipe, decorators: [{\n            type: Pipe,\n            args: [{\n                    name: 'json',\n                    pure: false,\n                    standalone: true,\n                }]\n        }] });\n\nfunction makeKeyValuePair(key, value) {\n    return { key: key, value: value };\n}\n/**\n * @ngModule CommonModule\n * @description\n *\n * Transforms Object or Map into an array of key value pairs.\n *\n * The output array will be ordered by keys.\n * By default the comparator will be by Unicode point value.\n * You can optionally pass a compareFn if your keys are complex types.\n *\n * @usageNotes\n * ### Examples\n *\n * This examples show how an Object or a Map can be iterated by ngFor with the use of this\n * keyvalue pipe.\n *\n * {@example common/pipes/ts/keyvalue_pipe.ts region='KeyValuePipe'}\n *\n * @publicApi\n */\nclass KeyValuePipe {\n    constructor(differs) {\n        this.differs = differs;\n        this.keyValues = [];\n        this.compareFn = defaultComparator;\n    }\n    transform(input, compareFn = defaultComparator) {\n        if (!input || (!(input instanceof Map) && typeof input !== 'object')) {\n            return null;\n        }\n        if (!this.differ) {\n            // make a differ for whatever type we've been passed in\n            this.differ = this.differs.find(input).create();\n        }\n        const differChanges = this.differ.diff(input);\n        const compareFnChanged = compareFn !== this.compareFn;\n        if (differChanges) {\n            this.keyValues = [];\n            differChanges.forEachItem((r) => {\n                this.keyValues.push(makeKeyValuePair(r.key, r.currentValue));\n            });\n        }\n        if (differChanges || compareFnChanged) {\n            this.keyValues.sort(compareFn);\n            this.compareFn = compareFn;\n        }\n        return this.keyValues;\n    }\n}\nKeyValuePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: KeyValuePipe, deps: [{ token: i0.KeyValueDiffers }], target: i0.ɵɵFactoryTarget.Pipe });\nKeyValuePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: \"14.0.0\", version: \"15.2.10\", ngImport: i0, type: KeyValuePipe, isStandalone: true, name: \"keyvalue\", pure: false });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: KeyValuePipe, decorators: [{\n            type: Pipe,\n            args: [{\n                    name: 'keyvalue',\n                    pure: false,\n                    standalone: true,\n                }]\n        }], ctorParameters: function () { return [{ type: i0.KeyValueDiffers }]; } });\nfunction defaultComparator(keyValueA, keyValueB) {\n    const a = keyValueA.key;\n    const b = keyValueB.key;\n    // if same exit with 0;\n    if (a === b)\n        return 0;\n    // make sure that undefined are at the end of the sort.\n    if (a === undefined)\n        return 1;\n    if (b === undefined)\n        return -1;\n    // make sure that nulls are at the end of the sort.\n    if (a === null)\n        return 1;\n    if (b === null)\n        return -1;\n    if (typeof a == 'string' && typeof b == 'string') {\n        return a < b ? -1 : 1;\n    }\n    if (typeof a == 'number' && typeof b == 'number') {\n        return a - b;\n    }\n    if (typeof a == 'boolean' && typeof b == 'boolean') {\n        return a < b ? -1 : 1;\n    }\n    // `a` and `b` are of different types. Compare their string values.\n    const aString = String(a);\n    const bString = String(b);\n    return aString == bString ? 0 : aString < bString ? -1 : 1;\n}\n\n/**\n * @ngModule CommonModule\n * @description\n *\n * Formats a value according to digit options and locale rules.\n * Locale determines group sizing and separator,\n * decimal point character, and other locale-specific configurations.\n *\n * @see `formatNumber()`\n *\n * @usageNotes\n *\n * ### digitsInfo\n *\n * The value's decimal representation is specified by the `digitsInfo`\n * parameter, written in the following format:<br>\n *\n * ```\n * {minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}\n * ```\n *\n *  - `minIntegerDigits`:\n * The minimum number of integer digits before the decimal point.\n * Default is 1.\n *\n * - `minFractionDigits`:\n * The minimum number of digits after the decimal point.\n * Default is 0.\n *\n *  - `maxFractionDigits`:\n * The maximum number of digits after the decimal point.\n * Default is 3.\n *\n * If the formatted value is truncated it will be rounded using the \"to-nearest\" method:\n *\n * ```\n * {{3.6 | number: '1.0-0'}}\n * <!--will output '4'-->\n *\n * {{-3.6 | number:'1.0-0'}}\n * <!--will output '-4'-->\n * ```\n *\n * ### locale\n *\n * `locale` will format a value according to locale rules.\n * Locale determines group sizing and separator,\n * decimal point character, and other locale-specific configurations.\n *\n * When not supplied, uses the value of `LOCALE_ID`, which is `en-US` by default.\n *\n * See [Setting your app locale](guide/i18n-common-locale-id).\n *\n * ### Example\n *\n * The following code shows how the pipe transforms values\n * according to various format specifications,\n * where the caller's default locale is `en-US`.\n *\n * <code-example path=\"common/pipes/ts/number_pipe.ts\" region='NumberPipe'></code-example>\n *\n * @publicApi\n */\nclass DecimalPipe {\n    constructor(_locale) {\n        this._locale = _locale;\n    }\n    /**\n     * @param value The value to be formatted.\n     * @param digitsInfo Sets digit and decimal representation.\n     * [See more](#digitsinfo).\n     * @param locale Specifies what locale format rules to use.\n     * [See more](#locale).\n     */\n    transform(value, digitsInfo, locale) {\n        if (!isValue(value))\n            return null;\n        locale = locale || this._locale;\n        try {\n            const num = strToNumber(value);\n            return formatNumber(num, locale, digitsInfo);\n        }\n        catch (error) {\n            throw invalidPipeArgumentError(DecimalPipe, error.message);\n        }\n    }\n}\nDecimalPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: DecimalPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe });\nDecimalPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: \"14.0.0\", version: \"15.2.10\", ngImport: i0, type: DecimalPipe, isStandalone: true, name: \"number\" });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: DecimalPipe, decorators: [{\n            type: Pipe,\n            args: [{\n                    name: 'number',\n                    standalone: true,\n                }]\n        }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n                    type: Inject,\n                    args: [LOCALE_ID]\n                }] }]; } });\n/**\n * @ngModule CommonModule\n * @description\n *\n * Transforms a number to a percentage\n * string, formatted according to locale rules that determine group sizing and\n * separator, decimal-point character, and other locale-specific\n * configurations.\n *\n * @see `formatPercent()`\n *\n * @usageNotes\n * The following code shows how the pipe transforms numbers\n * into text strings, according to various format specifications,\n * where the caller's default locale is `en-US`.\n *\n * <code-example path=\"common/pipes/ts/percent_pipe.ts\" region='PercentPipe'></code-example>\n *\n * @publicApi\n */\nclass PercentPipe {\n    constructor(_locale) {\n        this._locale = _locale;\n    }\n    /**\n     *\n     * @param value The number to be formatted as a percentage.\n     * @param digitsInfo Decimal representation options, specified by a string\n     * in the following format:<br>\n     * <code>{minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}</code>.\n     *   - `minIntegerDigits`: The minimum number of integer digits before the decimal point.\n     * Default is `1`.\n     *   - `minFractionDigits`: The minimum number of digits after the decimal point.\n     * Default is `0`.\n     *   - `maxFractionDigits`: The maximum number of digits after the decimal point.\n     * Default is `0`.\n     * @param locale A locale code for the locale format rules to use.\n     * When not supplied, uses the value of `LOCALE_ID`, which is `en-US` by default.\n     * See [Setting your app locale](guide/i18n-common-locale-id).\n     */\n    transform(value, digitsInfo, locale) {\n        if (!isValue(value))\n            return null;\n        locale = locale || this._locale;\n        try {\n            const num = strToNumber(value);\n            return formatPercent(num, locale, digitsInfo);\n        }\n        catch (error) {\n            throw invalidPipeArgumentError(PercentPipe, error.message);\n        }\n    }\n}\nPercentPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: PercentPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe });\nPercentPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: \"14.0.0\", version: \"15.2.10\", ngImport: i0, type: PercentPipe, isStandalone: true, name: \"percent\" });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: PercentPipe, decorators: [{\n            type: Pipe,\n            args: [{\n                    name: 'percent',\n                    standalone: true,\n                }]\n        }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n                    type: Inject,\n                    args: [LOCALE_ID]\n                }] }]; } });\n/**\n * @ngModule CommonModule\n * @description\n *\n * Transforms a number to a currency string, formatted according to locale rules\n * that determine group sizing and separator, decimal-point character,\n * and other locale-specific configurations.\n *\n *\n * @see `getCurrencySymbol()`\n * @see `formatCurrency()`\n *\n * @usageNotes\n * The following code shows how the pipe transforms numbers\n * into text strings, according to various format specifications,\n * where the caller's default locale is `en-US`.\n *\n * <code-example path=\"common/pipes/ts/currency_pipe.ts\" region='CurrencyPipe'></code-example>\n *\n * @publicApi\n */\nclass CurrencyPipe {\n    constructor(_locale, _defaultCurrencyCode = 'USD') {\n        this._locale = _locale;\n        this._defaultCurrencyCode = _defaultCurrencyCode;\n    }\n    /**\n     *\n     * @param value The number to be formatted as currency.\n     * @param currencyCode The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code,\n     * such as `USD` for the US dollar and `EUR` for the euro. The default currency code can be\n     * configured using the `DEFAULT_CURRENCY_CODE` injection token.\n     * @param display The format for the currency indicator. One of the following:\n     *   - `code`: Show the code (such as `USD`).\n     *   - `symbol`(default): Show the symbol (such as `$`).\n     *   - `symbol-narrow`: Use the narrow symbol for locales that have two symbols for their\n     * currency.\n     * For example, the Canadian dollar CAD has the symbol `CA$` and the symbol-narrow `$`. If the\n     * locale has no narrow symbol, uses the standard symbol for the locale.\n     *   - String: Use the given string value instead of a code or a symbol.\n     * For example, an empty string will suppress the currency & symbol.\n     *   - Boolean (marked deprecated in v5): `true` for symbol and false for `code`.\n     *\n     * @param digitsInfo Decimal representation options, specified by a string\n     * in the following format:<br>\n     * <code>{minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}</code>.\n     *   - `minIntegerDigits`: The minimum number of integer digits before the decimal point.\n     * Default is `1`.\n     *   - `minFractionDigits`: The minimum number of digits after the decimal point.\n     * Default is `2`.\n     *   - `maxFractionDigits`: The maximum number of digits after the decimal point.\n     * Default is `2`.\n     * If not provided, the number will be formatted with the proper amount of digits,\n     * depending on what the [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) specifies.\n     * For example, the Canadian dollar has 2 digits, whereas the Chilean peso has none.\n     * @param locale A locale code for the locale format rules to use.\n     * When not supplied, uses the value of `LOCALE_ID`, which is `en-US` by default.\n     * See [Setting your app locale](guide/i18n-common-locale-id).\n     */\n    transform(value, currencyCode = this._defaultCurrencyCode, display = 'symbol', digitsInfo, locale) {\n        if (!isValue(value))\n            return null;\n        locale = locale || this._locale;\n        if (typeof display === 'boolean') {\n            if ((typeof ngDevMode === 'undefined' || ngDevMode) && console && console.warn) {\n                console.warn(`Warning: the currency pipe has been changed in Angular v5. The symbolDisplay option (third parameter) is now a string instead of a boolean. The accepted values are \"code\", \"symbol\" or \"symbol-narrow\".`);\n            }\n            display = display ? 'symbol' : 'code';\n        }\n        let currency = currencyCode || this._defaultCurrencyCode;\n        if (display !== 'code') {\n            if (display === 'symbol' || display === 'symbol-narrow') {\n                currency = getCurrencySymbol(currency, display === 'symbol' ? 'wide' : 'narrow', locale);\n            }\n            else {\n                currency = display;\n            }\n        }\n        try {\n            const num = strToNumber(value);\n            return formatCurrency(num, locale, currency, currencyCode, digitsInfo);\n        }\n        catch (error) {\n            throw invalidPipeArgumentError(CurrencyPipe, error.message);\n        }\n    }\n}\nCurrencyPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: CurrencyPipe, deps: [{ token: LOCALE_ID }, { token: DEFAULT_CURRENCY_CODE }], target: i0.ɵɵFactoryTarget.Pipe });\nCurrencyPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: \"14.0.0\", version: \"15.2.10\", ngImport: i0, type: CurrencyPipe, isStandalone: true, name: \"currency\" });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: CurrencyPipe, decorators: [{\n            type: Pipe,\n            args: [{\n                    name: 'currency',\n                    standalone: true,\n                }]\n        }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n                    type: Inject,\n                    args: [LOCALE_ID]\n                }] }, { type: undefined, decorators: [{\n                    type: Inject,\n                    args: [DEFAULT_CURRENCY_CODE]\n                }] }]; } });\nfunction isValue(value) {\n    return !(value == null || value === '' || value !== value);\n}\n/**\n * Transforms a string into a number (if needed).\n */\nfunction strToNumber(value) {\n    // Convert strings to numbers\n    if (typeof value === 'string' && !isNaN(Number(value) - parseFloat(value))) {\n        return Number(value);\n    }\n    if (typeof value !== 'number') {\n        throw new Error(`${value} is not a number`);\n    }\n    return value;\n}\n\n/**\n * @ngModule CommonModule\n * @description\n *\n * Creates a new `Array` or `String` containing a subset (slice) of the elements.\n *\n * @usageNotes\n *\n * All behavior is based on the expected behavior of the JavaScript API `Array.prototype.slice()`\n * and `String.prototype.slice()`.\n *\n * When operating on an `Array`, the returned `Array` is always a copy even when all\n * the elements are being returned.\n *\n * When operating on a blank value, the pipe returns the blank value.\n *\n * ### List Example\n *\n * This `ngFor` example:\n *\n * {@example common/pipes/ts/slice_pipe.ts region='SlicePipe_list'}\n *\n * produces the following:\n *\n * ```html\n * <li>b</li>\n * <li>c</li>\n * ```\n *\n * ### String Examples\n *\n * {@example common/pipes/ts/slice_pipe.ts region='SlicePipe_string'}\n *\n * @publicApi\n */\nclass SlicePipe {\n    transform(value, start, end) {\n        if (value == null)\n            return null;\n        if (!this.supports(value)) {\n            throw invalidPipeArgumentError(SlicePipe, value);\n        }\n        return value.slice(start, end);\n    }\n    supports(obj) {\n        return typeof obj === 'string' || Array.isArray(obj);\n    }\n}\nSlicePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: SlicePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });\nSlicePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: \"14.0.0\", version: \"15.2.10\", ngImport: i0, type: SlicePipe, isStandalone: true, name: \"slice\", pure: false });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: SlicePipe, decorators: [{\n            type: Pipe,\n            args: [{\n                    name: 'slice',\n                    pure: false,\n                    standalone: true,\n                }]\n        }] });\n\n/**\n * @module\n * @description\n * This module provides a set of common Pipes.\n */\n/**\n * A collection of Angular pipes that are likely to be used in each and every application.\n */\nconst COMMON_PIPES = [\n    AsyncPipe,\n    UpperCasePipe,\n    LowerCasePipe,\n    JsonPipe,\n    SlicePipe,\n    DecimalPipe,\n    PercentPipe,\n    TitleCasePipe,\n    CurrencyPipe,\n    DatePipe,\n    I18nPluralPipe,\n    I18nSelectPipe,\n    KeyValuePipe,\n];\n\n// Note: This does not contain the location providers,\n// as they need some platform specific implementations to work.\n/**\n * Exports all the basic Angular directives and pipes,\n * such as `NgIf`, `NgForOf`, `DecimalPipe`, and so on.\n * Re-exported by `BrowserModule`, which is included automatically in the root\n * `AppModule` when you create a new app with the CLI `new` command.\n *\n * @publicApi\n */\nclass CommonModule {\n}\nCommonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: CommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\nCommonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"15.2.10\", ngImport: i0, type: CommonModule, imports: [NgClass, NgComponentOutlet, NgForOf, NgIf, NgTemplateOutlet, NgStyle, NgSwitch, NgSwitchCase, NgSwitchDefault, NgPlural, NgPluralCase, AsyncPipe, UpperCasePipe, LowerCasePipe, JsonPipe, SlicePipe, DecimalPipe, PercentPipe, TitleCasePipe, CurrencyPipe, DatePipe, I18nPluralPipe, I18nSelectPipe, KeyValuePipe], exports: [NgClass, NgComponentOutlet, NgForOf, NgIf, NgTemplateOutlet, NgStyle, NgSwitch, NgSwitchCase, NgSwitchDefault, NgPlural, NgPluralCase, AsyncPipe, UpperCasePipe, LowerCasePipe, JsonPipe, SlicePipe, DecimalPipe, PercentPipe, TitleCasePipe, CurrencyPipe, DatePipe, I18nPluralPipe, I18nSelectPipe, KeyValuePipe] });\nCommonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: CommonModule });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: CommonModule, decorators: [{\n            type: NgModule,\n            args: [{\n                    imports: [COMMON_DIRECTIVES, COMMON_PIPES],\n                    exports: [COMMON_DIRECTIVES, COMMON_PIPES],\n                }]\n        }] });\n\nconst PLATFORM_BROWSER_ID = 'browser';\nconst PLATFORM_SERVER_ID = 'server';\nconst PLATFORM_WORKER_APP_ID = 'browserWorkerApp';\nconst PLATFORM_WORKER_UI_ID = 'browserWorkerUi';\n/**\n * Returns whether a platform id represents a browser platform.\n * @publicApi\n */\nfunction isPlatformBrowser(platformId) {\n    return platformId === PLATFORM_BROWSER_ID;\n}\n/**\n * Returns whether a platform id represents a server platform.\n * @publicApi\n */\nfunction isPlatformServer(platformId) {\n    return platformId === PLATFORM_SERVER_ID;\n}\n/**\n * Returns whether a platform id represents a web worker app platform.\n * @publicApi\n */\nfunction isPlatformWorkerApp(platformId) {\n    return platformId === PLATFORM_WORKER_APP_ID;\n}\n/**\n * Returns whether a platform id represents a web worker UI platform.\n * @publicApi\n */\nfunction isPlatformWorkerUi(platformId) {\n    return platformId === PLATFORM_WORKER_UI_ID;\n}\n\n/**\n * @module\n * @description\n * Entry point for all public APIs of the common package.\n */\n/**\n * @publicApi\n */\nconst VERSION = new Version('15.2.10');\n\n/**\n * Defines a scroll position manager. Implemented by `BrowserViewportScroller`.\n *\n * @publicApi\n */\nclass ViewportScroller {\n}\n// De-sugared tree-shakable injection\n// See #23917\n/** @nocollapse */\nViewportScroller.ɵprov = ɵɵdefineInjectable({\n    token: ViewportScroller,\n    providedIn: 'root',\n    factory: () => new BrowserViewportScroller(ɵɵinject(DOCUMENT), window)\n});\n/**\n * Manages the scroll position for a browser window.\n */\nclass BrowserViewportScroller {\n    constructor(document, window) {\n        this.document = document;\n        this.window = window;\n        this.offset = () => [0, 0];\n    }\n    /**\n     * Configures the top offset used when scrolling to an anchor.\n     * @param offset A position in screen coordinates (a tuple with x and y values)\n     * or a function that returns the top offset position.\n     *\n     */\n    setOffset(offset) {\n        if (Array.isArray(offset)) {\n            this.offset = () => offset;\n        }\n        else {\n            this.offset = offset;\n        }\n    }\n    /**\n     * Retrieves the current scroll position.\n     * @returns The position in screen coordinates.\n     */\n    getScrollPosition() {\n        if (this.supportsScrolling()) {\n            return [this.window.pageXOffset, this.window.pageYOffset];\n        }\n        else {\n            return [0, 0];\n        }\n    }\n    /**\n     * Sets the scroll position.\n     * @param position The new position in screen coordinates.\n     */\n    scrollToPosition(position) {\n        if (this.supportsScrolling()) {\n            this.window.scrollTo(position[0], position[1]);\n        }\n    }\n    /**\n     * Scrolls to an element and attempts to focus the element.\n     *\n     * Note that the function name here is misleading in that the target string may be an ID for a\n     * non-anchor element.\n     *\n     * @param target The ID of an element or name of the anchor.\n     *\n     * @see https://html.spec.whatwg.org/#the-indicated-part-of-the-document\n     * @see https://html.spec.whatwg.org/#scroll-to-fragid\n     */\n    scrollToAnchor(target) {\n        if (!this.supportsScrolling()) {\n            return;\n        }\n        const elSelected = findAnchorFromDocument(this.document, target);\n        if (elSelected) {\n            this.scrollToElement(elSelected);\n            // After scrolling to the element, the spec dictates that we follow the focus steps for the\n            // target. Rather than following the robust steps, simply attempt focus.\n            //\n            // @see https://html.spec.whatwg.org/#get-the-focusable-area\n            // @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLOrForeignElement/focus\n            // @see https://html.spec.whatwg.org/#focusable-area\n            elSelected.focus();\n        }\n    }\n    /**\n     * Disables automatic scroll restoration provided by the browser.\n     */\n    setHistoryScrollRestoration(scrollRestoration) {\n        if (this.supportScrollRestoration()) {\n            const history = this.window.history;\n            if (history && history.scrollRestoration) {\n                history.scrollRestoration = scrollRestoration;\n            }\n        }\n    }\n    /**\n     * Scrolls to an element using the native offset and the specified offset set on this scroller.\n     *\n     * The offset can be used when we know that there is a floating header and scrolling naively to an\n     * element (ex: `scrollIntoView`) leaves the element hidden behind the floating header.\n     */\n    scrollToElement(el) {\n        const rect = el.getBoundingClientRect();\n        const left = rect.left + this.window.pageXOffset;\n        const top = rect.top + this.window.pageYOffset;\n        const offset = this.offset();\n        this.window.scrollTo(left - offset[0], top - offset[1]);\n    }\n    /**\n     * We only support scroll restoration when we can get a hold of window.\n     * This means that we do not support this behavior when running in a web worker.\n     *\n     * Lifting this restriction right now would require more changes in the dom adapter.\n     * Since webworkers aren't widely used, we will lift it once RouterScroller is\n     * battle-tested.\n     */\n    supportScrollRestoration() {\n        try {\n            if (!this.supportsScrolling()) {\n                return false;\n            }\n            // The `scrollRestoration` property could be on the `history` instance or its prototype.\n            const scrollRestorationDescriptor = getScrollRestorationProperty(this.window.history) ||\n                getScrollRestorationProperty(Object.getPrototypeOf(this.window.history));\n            // We can write to the `scrollRestoration` property if it is a writable data field or it has a\n            // setter function.\n            return !!scrollRestorationDescriptor &&\n                !!(scrollRestorationDescriptor.writable || scrollRestorationDescriptor.set);\n        }\n        catch {\n            return false;\n        }\n    }\n    supportsScrolling() {\n        try {\n            return !!this.window && !!this.window.scrollTo && 'pageXOffset' in this.window;\n        }\n        catch {\n            return false;\n        }\n    }\n}\nfunction getScrollRestorationProperty(obj) {\n    return Object.getOwnPropertyDescriptor(obj, 'scrollRestoration');\n}\nfunction findAnchorFromDocument(document, target) {\n    const documentResult = document.getElementById(target) || document.getElementsByName(target)[0];\n    if (documentResult) {\n        return documentResult;\n    }\n    // `getElementById` and `getElementsByName` won't pierce through the shadow DOM so we\n    // have to traverse the DOM manually and do the lookup through the shadow roots.\n    if (typeof document.createTreeWalker === 'function' && document.body &&\n        (document.body.createShadowRoot || document.body.attachShadow)) {\n        const treeWalker = document.createTreeWalker(document.body, NodeFilter.SHOW_ELEMENT);\n        let currentNode = treeWalker.currentNode;\n        while (currentNode) {\n            const shadowRoot = currentNode.shadowRoot;\n            if (shadowRoot) {\n                // Note that `ShadowRoot` doesn't support `getElementsByName`\n                // so we have to fall back to `querySelector`.\n                const result = shadowRoot.getElementById(target) || shadowRoot.querySelector(`[name=\"${target}\"]`);\n                if (result) {\n                    return result;\n                }\n            }\n            currentNode = treeWalker.nextNode();\n        }\n    }\n    return null;\n}\n/**\n * Provides an empty implementation of the viewport scroller.\n */\nclass NullViewportScroller {\n    /**\n     * Empty implementation\n     */\n    setOffset(offset) { }\n    /**\n     * Empty implementation\n     */\n    getScrollPosition() {\n        return [0, 0];\n    }\n    /**\n     * Empty implementation\n     */\n    scrollToPosition(position) { }\n    /**\n     * Empty implementation\n     */\n    scrollToAnchor(anchor) { }\n    /**\n     * Empty implementation\n     */\n    setHistoryScrollRestoration(scrollRestoration) { }\n}\n\n/**\n * A wrapper around the `XMLHttpRequest` constructor.\n *\n * @publicApi\n */\nclass XhrFactory {\n}\n\n// Converts a string that represents a URL into a URL class instance.\nfunction getUrl(src, win) {\n    // Don't use a base URL is the URL is absolute.\n    return isAbsoluteUrl(src) ? new URL(src) : new URL(src, win.location.href);\n}\n// Checks whether a URL is absolute (i.e. starts with `http://` or `https://`).\nfunction isAbsoluteUrl(src) {\n    return /^https?:\\/\\//.test(src);\n}\n// Given a URL, extract the hostname part.\n// If a URL is a relative one - the URL is returned as is.\nfunction extractHostname(url) {\n    return isAbsoluteUrl(url) ? (new URL(url)).hostname : url;\n}\nfunction isValidPath(path) {\n    const isString = typeof path === 'string';\n    if (!isString || path.trim() === '') {\n        return false;\n    }\n    // Calling new URL() will throw if the path string is malformed\n    try {\n        const url = new URL(path);\n        return true;\n    }\n    catch {\n        return false;\n    }\n}\nfunction normalizePath(path) {\n    return path.endsWith('/') ? path.slice(0, -1) : path;\n}\nfunction normalizeSrc(src) {\n    return src.startsWith('/') ? src.slice(1) : src;\n}\n\n/**\n * Noop image loader that does no transformation to the original src and just returns it as is.\n * This loader is used as a default one if more specific logic is not provided in an app config.\n *\n * @see `ImageLoader`\n * @see `NgOptimizedImage`\n */\nconst noopImageLoader = (config) => config.src;\n/**\n * Injection token that configures the image loader function.\n *\n * @see `ImageLoader`\n * @see `NgOptimizedImage`\n * @publicApi\n */\nconst IMAGE_LOADER = new InjectionToken('ImageLoader', {\n    providedIn: 'root',\n    factory: () => noopImageLoader,\n});\n/**\n * Internal helper function that makes it easier to introduce custom image loaders for the\n * `NgOptimizedImage` directive. It is enough to specify a URL builder function to obtain full DI\n * configuration for a given loader: a DI token corresponding to the actual loader function, plus DI\n * tokens managing preconnect check functionality.\n * @param buildUrlFn a function returning a full URL based on loader's configuration\n * @param exampleUrls example of full URLs for a given loader (used in error messages)\n * @returns a set of DI providers corresponding to the configured image loader\n */\nfunction createImageLoader(buildUrlFn, exampleUrls) {\n    return function provideImageLoader(path) {\n        if (!isValidPath(path)) {\n            throwInvalidPathError(path, exampleUrls || []);\n        }\n        // The trailing / is stripped (if provided) to make URL construction (concatenation) easier in\n        // the individual loader functions.\n        path = normalizePath(path);\n        const loaderFn = (config) => {\n            if (isAbsoluteUrl(config.src)) {\n                // Image loader functions expect an image file name (e.g. `my-image.png`)\n                // or a relative path + a file name (e.g. `/a/b/c/my-image.png`) as an input,\n                // so the final absolute URL can be constructed.\n                // When an absolute URL is provided instead - the loader can not\n                // build a final URL, thus the error is thrown to indicate that.\n                throwUnexpectedAbsoluteUrlError(path, config.src);\n            }\n            return buildUrlFn(path, { ...config, src: normalizeSrc(config.src) });\n        };\n        const providers = [{ provide: IMAGE_LOADER, useValue: loaderFn }];\n        return providers;\n    };\n}\nfunction throwInvalidPathError(path, exampleUrls) {\n    throw new ɵRuntimeError(2959 /* RuntimeErrorCode.INVALID_LOADER_ARGUMENTS */, ngDevMode &&\n        `Image loader has detected an invalid path (\\`${path}\\`). ` +\n            `To fix this, supply a path using one of the following formats: ${exampleUrls.join(' or ')}`);\n}\nfunction throwUnexpectedAbsoluteUrlError(path, url) {\n    throw new ɵRuntimeError(2959 /* RuntimeErrorCode.INVALID_LOADER_ARGUMENTS */, ngDevMode &&\n        `Image loader has detected a \\`<img>\\` tag with an invalid \\`ngSrc\\` attribute: ${url}. ` +\n            `This image loader expects \\`ngSrc\\` to be a relative URL - ` +\n            `however the provided value is an absolute URL. ` +\n            `To fix this, provide \\`ngSrc\\` as a path relative to the base URL ` +\n            `configured for this loader (\\`${path}\\`).`);\n}\n\n/**\n * Function that generates an ImageLoader for [Cloudflare Image\n * Resizing](https://developers.cloudflare.com/images/image-resizing/) and turns it into an Angular\n * provider. Note: Cloudflare has multiple image products - this provider is specifically for\n * Cloudflare Image Resizing; it will not work with Cloudflare Images or Cloudflare Polish.\n *\n * @param path Your domain name, e.g. https://mysite.com\n * @returns Provider that provides an ImageLoader function\n *\n * @publicApi\n */\nconst provideCloudflareLoader = createImageLoader(createCloudflareUrl, ngDevMode ? ['https://<ZONE>/cdn-cgi/image/<OPTIONS>/<SOURCE-IMAGE>'] : undefined);\nfunction createCloudflareUrl(path, config) {\n    let params = `format=auto`;\n    if (config.width) {\n        params += `,width=${config.width}`;\n    }\n    // Cloudflare image URLs format:\n    // https://developers.cloudflare.com/images/image-resizing/url-format/\n    return `${path}/cdn-cgi/image/${params}/${config.src}`;\n}\n\n/**\n * Name and URL tester for Cloudinary.\n */\nconst cloudinaryLoaderInfo = {\n    name: 'Cloudinary',\n    testUrl: isCloudinaryUrl\n};\nconst CLOUDINARY_LOADER_REGEX = /https?\\:\\/\\/[^\\/]+\\.cloudinary\\.com\\/.+/;\n/**\n * Tests whether a URL is from Cloudinary CDN.\n */\nfunction isCloudinaryUrl(url) {\n    return CLOUDINARY_LOADER_REGEX.test(url);\n}\n/**\n * Function that generates an ImageLoader for Cloudinary and turns it into an Angular provider.\n *\n * @param path Base URL of your Cloudinary images\n * This URL should match one of the following formats:\n * https://res.cloudinary.com/mysite\n * https://mysite.cloudinary.com\n * https://subdomain.mysite.com\n * @returns Set of providers to configure the Cloudinary loader.\n *\n * @publicApi\n */\nconst provideCloudinaryLoader = createImageLoader(createCloudinaryUrl, ngDevMode ?\n    [\n        'https://res.cloudinary.com/mysite', 'https://mysite.cloudinary.com',\n        'https://subdomain.mysite.com'\n    ] :\n    undefined);\nfunction createCloudinaryUrl(path, config) {\n    // Cloudinary image URLformat:\n    // https://cloudinary.com/documentation/image_transformations#transformation_url_structure\n    // Example of a Cloudinary image URL:\n    // https://res.cloudinary.com/mysite/image/upload/c_scale,f_auto,q_auto,w_600/marketing/tile-topics-m.png\n    let params = `f_auto,q_auto`; // sets image format and quality to \"auto\"\n    if (config.width) {\n        params += `,w_${config.width}`;\n    }\n    return `${path}/image/upload/${params}/${config.src}`;\n}\n\n/**\n * Name and URL tester for ImageKit.\n */\nconst imageKitLoaderInfo = {\n    name: 'ImageKit',\n    testUrl: isImageKitUrl,\n};\nconst IMAGE_KIT_LOADER_REGEX = /https?\\:\\/\\/[^\\/]+\\.imagekit\\.io\\/.+/;\n/**\n * Tests whether a URL is from ImageKit CDN.\n */\nfunction isImageKitUrl(url) {\n    return IMAGE_KIT_LOADER_REGEX.test(url);\n}\n/**\n * Function that generates an ImageLoader for ImageKit and turns it into an Angular provider.\n *\n * @param path Base URL of your ImageKit images\n * This URL should match one of the following formats:\n * https://ik.imagekit.io/myaccount\n * https://subdomain.mysite.com\n * @returns Set of providers to configure the ImageKit loader.\n *\n * @publicApi\n */\nconst provideImageKitLoader = createImageLoader(createImagekitUrl, ngDevMode ? ['https://ik.imagekit.io/mysite', 'https://subdomain.mysite.com'] : undefined);\nfunction createImagekitUrl(path, config) {\n    // Example of an ImageKit image URL:\n    // https://ik.imagekit.io/demo/tr:w-300,h-300/medium_cafe_B1iTdD0C.jpg\n    const { src, width } = config;\n    let urlSegments;\n    if (width) {\n        const params = `tr:w-${width}`;\n        urlSegments = [path, params, src];\n    }\n    else {\n        urlSegments = [path, src];\n    }\n    return urlSegments.join('/');\n}\n\n/**\n * Name and URL tester for Imgix.\n */\nconst imgixLoaderInfo = {\n    name: 'Imgix',\n    testUrl: isImgixUrl\n};\nconst IMGIX_LOADER_REGEX = /https?\\:\\/\\/[^\\/]+\\.imgix\\.net\\/.+/;\n/**\n * Tests whether a URL is from Imgix CDN.\n */\nfunction isImgixUrl(url) {\n    return IMGIX_LOADER_REGEX.test(url);\n}\n/**\n * Function that generates an ImageLoader for Imgix and turns it into an Angular provider.\n *\n * @param path path to the desired Imgix origin,\n * e.g. https://somepath.imgix.net or https://images.mysite.com\n * @returns Set of providers to configure the Imgix loader.\n *\n * @publicApi\n */\nconst provideImgixLoader = createImageLoader(createImgixUrl, ngDevMode ? ['https://somepath.imgix.net/'] : undefined);\nfunction createImgixUrl(path, config) {\n    const url = new URL(`${path}/${config.src}`);\n    // This setting ensures the smallest allowable format is set.\n    url.searchParams.set('auto', 'format');\n    if (config.width) {\n        url.searchParams.set('w', config.width.toString());\n    }\n    return url.href;\n}\n\n// Assembles directive details string, useful for error messages.\nfunction imgDirectiveDetails(ngSrc, includeNgSrc = true) {\n    const ngSrcInfo = includeNgSrc ? `(activated on an <img> element with the \\`ngSrc=\"${ngSrc}\"\\`) ` : '';\n    return `The NgOptimizedImage directive ${ngSrcInfo}has detected that`;\n}\n\n/**\n * Asserts that the application is in development mode. Throws an error if the application is in\n * production mode. This assert can be used to make sure that there is no dev-mode code invoked in\n * the prod mode accidentally.\n */\nfunction assertDevMode(checkName) {\n    if (!ngDevMode) {\n        throw new ɵRuntimeError(2958 /* RuntimeErrorCode.UNEXPECTED_DEV_MODE_CHECK_IN_PROD_MODE */, `Unexpected invocation of the ${checkName} in the prod mode. ` +\n            `Please make sure that the prod mode is enabled for production builds.`);\n    }\n}\n\n/**\n * Observer that detects whether an image with `NgOptimizedImage`\n * is treated as a Largest Contentful Paint (LCP) element. If so,\n * asserts that the image has the `priority` attribute.\n *\n * Note: this is a dev-mode only class and it does not appear in prod bundles,\n * thus there is no `ngDevMode` use in the code.\n *\n * Based on https://web.dev/lcp/#measure-lcp-in-javascript.\n */\nclass LCPImageObserver {\n    constructor() {\n        // Map of full image URLs -> original `ngSrc` values.\n        this.images = new Map();\n        // Keep track of images for which `console.warn` was produced.\n        this.alreadyWarned = new Set();\n        this.window = null;\n        this.observer = null;\n        assertDevMode('LCP checker');\n        const win = inject(DOCUMENT).defaultView;\n        if (typeof win !== 'undefined' && typeof PerformanceObserver !== 'undefined') {\n            this.window = win;\n            this.observer = this.initPerformanceObserver();\n        }\n    }\n    /**\n     * Inits PerformanceObserver and subscribes to LCP events.\n     * Based on https://web.dev/lcp/#measure-lcp-in-javascript\n     */\n    initPerformanceObserver() {\n        const observer = new PerformanceObserver((entryList) => {\n            const entries = entryList.getEntries();\n            if (entries.length === 0)\n                return;\n            // We use the latest entry produced by the `PerformanceObserver` as the best\n            // signal on which element is actually an LCP one. As an example, the first image to load on\n            // a page, by virtue of being the only thing on the page so far, is often a LCP candidate\n            // and gets reported by PerformanceObserver, but isn't necessarily the LCP element.\n            const lcpElement = entries[entries.length - 1];\n            // Cast to `any` due to missing `element` on the `LargestContentfulPaint` type of entry.\n            // See https://developer.mozilla.org/en-US/docs/Web/API/LargestContentfulPaint\n            const imgSrc = lcpElement.element?.src ?? '';\n            // Exclude `data:` and `blob:` URLs, since they are not supported by the directive.\n            if (imgSrc.startsWith('data:') || imgSrc.startsWith('blob:'))\n                return;\n            const imgNgSrc = this.images.get(imgSrc);\n            if (imgNgSrc && !this.alreadyWarned.has(imgSrc)) {\n                this.alreadyWarned.add(imgSrc);\n                logMissingPriorityWarning(imgSrc);\n            }\n        });\n        observer.observe({ type: 'largest-contentful-paint', buffered: true });\n        return observer;\n    }\n    registerImage(rewrittenSrc, originalNgSrc) {\n        if (!this.observer)\n            return;\n        this.images.set(getUrl(rewrittenSrc, this.window).href, originalNgSrc);\n    }\n    unregisterImage(rewrittenSrc) {\n        if (!this.observer)\n            return;\n        this.images.delete(getUrl(rewrittenSrc, this.window).href);\n    }\n    ngOnDestroy() {\n        if (!this.observer)\n            return;\n        this.observer.disconnect();\n        this.images.clear();\n        this.alreadyWarned.clear();\n    }\n}\nLCPImageObserver.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: LCPImageObserver, deps: [], target: i0.ɵɵFactoryTarget.Injectable });\nLCPImageObserver.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: LCPImageObserver, providedIn: 'root' });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: LCPImageObserver, decorators: [{\n            type: Injectable,\n            args: [{ providedIn: 'root' }]\n        }], ctorParameters: function () { return []; } });\nfunction logMissingPriorityWarning(ngSrc) {\n    const directiveDetails = imgDirectiveDetails(ngSrc);\n    console.warn(ɵformatRuntimeError(2955 /* RuntimeErrorCode.LCP_IMG_MISSING_PRIORITY */, `${directiveDetails} this image is the Largest Contentful Paint (LCP) ` +\n        `element but was not marked \"priority\". This image should be marked ` +\n        `\"priority\" in order to prioritize its loading. ` +\n        `To fix this, add the \"priority\" attribute.`));\n}\n\n// Set of origins that are always excluded from the preconnect checks.\nconst INTERNAL_PRECONNECT_CHECK_BLOCKLIST = new Set(['localhost', '127.0.0.1', '0.0.0.0']);\n/**\n * Injection token to configure which origins should be excluded\n * from the preconnect checks. It can either be a single string or an array of strings\n * to represent a group of origins, for example:\n *\n * ```typescript\n *  {provide: PRECONNECT_CHECK_BLOCKLIST, useValue: 'https://your-domain.com'}\n * ```\n *\n * or:\n *\n * ```typescript\n *  {provide: PRECONNECT_CHECK_BLOCKLIST,\n *   useValue: ['https://your-domain-1.com', 'https://your-domain-2.com']}\n * ```\n *\n * @publicApi\n */\nconst PRECONNECT_CHECK_BLOCKLIST = new InjectionToken('PRECONNECT_CHECK_BLOCKLIST');\n/**\n * Contains the logic to detect whether an image, marked with the \"priority\" attribute\n * has a corresponding `<link rel=\"preconnect\">` tag in the `document.head`.\n *\n * Note: this is a dev-mode only class, which should not appear in prod bundles,\n * thus there is no `ngDevMode` use in the code.\n */\nclass PreconnectLinkChecker {\n    constructor() {\n        this.document = inject(DOCUMENT);\n        /**\n         * Set of <link rel=\"preconnect\"> tags found on this page.\n         * The `null` value indicates that there was no DOM query operation performed.\n         */\n        this.preconnectLinks = null;\n        /*\n         * Keep track of all already seen origin URLs to avoid repeating the same check.\n         */\n        this.alreadySeen = new Set();\n        this.window = null;\n        this.blocklist = new Set(INTERNAL_PRECONNECT_CHECK_BLOCKLIST);\n        assertDevMode('preconnect link checker');\n        const win = this.document.defaultView;\n        if (typeof win !== 'undefined') {\n            this.window = win;\n        }\n        const blocklist = inject(PRECONNECT_CHECK_BLOCKLIST, { optional: true });\n        if (blocklist) {\n            this.populateBlocklist(blocklist);\n        }\n    }\n    populateBlocklist(origins) {\n        if (Array.isArray(origins)) {\n            deepForEach(origins, origin => {\n                this.blocklist.add(extractHostname(origin));\n            });\n        }\n        else {\n            this.blocklist.add(extractHostname(origins));\n        }\n    }\n    /**\n     * Checks that a preconnect resource hint exists in the head for the\n     * given src.\n     *\n     * @param rewrittenSrc src formatted with loader\n     * @param originalNgSrc ngSrc value\n     */\n    assertPreconnect(rewrittenSrc, originalNgSrc) {\n        if (!this.window)\n            return;\n        const imgUrl = getUrl(rewrittenSrc, this.window);\n        if (this.blocklist.has(imgUrl.hostname) || this.alreadySeen.has(imgUrl.origin))\n            return;\n        // Register this origin as seen, so we don't check it again later.\n        this.alreadySeen.add(imgUrl.origin);\n        if (!this.preconnectLinks) {\n            // Note: we query for preconnect links only *once* and cache the results\n            // for the entire lifespan of an application, since it's unlikely that the\n            // list would change frequently. This allows to make sure there are no\n            // performance implications of making extra DOM lookups for each image.\n            this.preconnectLinks = this.queryPreconnectLinks();\n        }\n        if (!this.preconnectLinks.has(imgUrl.origin)) {\n            console.warn(ɵformatRuntimeError(2956 /* RuntimeErrorCode.PRIORITY_IMG_MISSING_PRECONNECT_TAG */, `${imgDirectiveDetails(originalNgSrc)} there is no preconnect tag present for this ` +\n                `image. Preconnecting to the origin(s) that serve priority images ensures that these ` +\n                `images are delivered as soon as possible. To fix this, please add the following ` +\n                `element into the <head> of the document:\\n` +\n                `  <link rel=\"preconnect\" href=\"${imgUrl.origin}\">`));\n        }\n    }\n    queryPreconnectLinks() {\n        const preconnectUrls = new Set();\n        const selector = 'link[rel=preconnect]';\n        const links = Array.from(this.document.querySelectorAll(selector));\n        for (let link of links) {\n            const url = getUrl(link.href, this.window);\n            preconnectUrls.add(url.origin);\n        }\n        return preconnectUrls;\n    }\n    ngOnDestroy() {\n        this.preconnectLinks?.clear();\n        this.alreadySeen.clear();\n    }\n}\nPreconnectLinkChecker.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: PreconnectLinkChecker, deps: [], target: i0.ɵɵFactoryTarget.Injectable });\nPreconnectLinkChecker.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: PreconnectLinkChecker, providedIn: 'root' });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: PreconnectLinkChecker, decorators: [{\n            type: Injectable,\n            args: [{ providedIn: 'root' }]\n        }], ctorParameters: function () { return []; } });\n/**\n * Invokes a callback for each element in the array. Also invokes a callback\n * recursively for each nested array.\n */\nfunction deepForEach(input, fn) {\n    for (let value of input) {\n        Array.isArray(value) ? deepForEach(value, fn) : fn(value);\n    }\n}\n\n/**\n * In SSR scenarios, a preload `<link>` element is generated for priority images.\n * Having a large number of preload tags may negatively affect the performance,\n * so we warn developers (by throwing an error) if the number of preloaded images\n * is above a certain threshold. This const specifies this threshold.\n */\nconst DEFAULT_PRELOADED_IMAGES_LIMIT = 5;\n/**\n * Helps to keep track of priority images that already have a corresponding\n * preload tag (to avoid generating multiple preload tags with the same URL).\n *\n * This Set tracks the original src passed into the `ngSrc` input not the src after it has been\n * run through the specified `IMAGE_LOADER`.\n */\nconst PRELOADED_IMAGES = new InjectionToken('NG_OPTIMIZED_PRELOADED_IMAGES', { providedIn: 'root', factory: () => new Set() });\n\n/**\n * @description Contains the logic needed to track and add preload link tags to the `<head>` tag. It\n * will also track what images have already had preload link tags added so as to not duplicate link\n * tags.\n *\n * In dev mode this service will validate that the number of preloaded images does not exceed the\n * configured default preloaded images limit: {@link DEFAULT_PRELOADED_IMAGES_LIMIT}.\n */\nclass PreloadLinkCreator {\n    constructor() {\n        this.preloadedImages = inject(PRELOADED_IMAGES);\n        this.document = inject(DOCUMENT);\n    }\n    /**\n     * @description Add a preload `<link>` to the `<head>` of the `index.html` that is served from the\n     * server while using Angular Universal and SSR to kick off image loads for high priority images.\n     *\n     * The `sizes` (passed in from the user) and `srcset` (parsed and formatted from `ngSrcset`)\n     * properties used to set the corresponding attributes, `imagesizes` and `imagesrcset`\n     * respectively, on the preload `<link>` tag so that the correctly sized image is preloaded from\n     * the CDN.\n     *\n     * {@link https://web.dev/preload-responsive-images/#imagesrcset-and-imagesizes}\n     *\n     * @param renderer The `Renderer2` passed in from the directive\n     * @param src The original src of the image that is set on the `ngSrc` input.\n     * @param srcset The parsed and formatted srcset created from the `ngSrcset` input\n     * @param sizes The value of the `sizes` attribute passed in to the `<img>` tag\n     */\n    createPreloadLinkTag(renderer, src, srcset, sizes) {\n        if (ngDevMode) {\n            if (this.preloadedImages.size >= DEFAULT_PRELOADED_IMAGES_LIMIT) {\n                throw new ɵRuntimeError(2961 /* RuntimeErrorCode.TOO_MANY_PRELOADED_IMAGES */, ngDevMode &&\n                    `The \\`NgOptimizedImage\\` directive has detected that more than ` +\n                        `${DEFAULT_PRELOADED_IMAGES_LIMIT} images were marked as priority. ` +\n                        `This might negatively affect an overall performance of the page. ` +\n                        `To fix this, remove the \"priority\" attribute from images with less priority.`);\n            }\n        }\n        if (this.preloadedImages.has(src)) {\n            return;\n        }\n        this.preloadedImages.add(src);\n        const preload = renderer.createElement('link');\n        renderer.setAttribute(preload, 'as', 'image');\n        renderer.setAttribute(preload, 'href', src);\n        renderer.setAttribute(preload, 'rel', 'preload');\n        renderer.setAttribute(preload, 'fetchpriority', 'high');\n        if (sizes) {\n            renderer.setAttribute(preload, 'imageSizes', sizes);\n        }\n        if (srcset) {\n            renderer.setAttribute(preload, 'imageSrcset', srcset);\n        }\n        renderer.appendChild(this.document.head, preload);\n    }\n}\nPreloadLinkCreator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: PreloadLinkCreator, deps: [], target: i0.ɵɵFactoryTarget.Injectable });\nPreloadLinkCreator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: PreloadLinkCreator, providedIn: 'root' });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: PreloadLinkCreator, decorators: [{\n            type: Injectable,\n            args: [{ providedIn: 'root' }]\n        }] });\n\n/**\n * When a Base64-encoded image is passed as an input to the `NgOptimizedImage` directive,\n * an error is thrown. The image content (as a string) might be very long, thus making\n * it hard to read an error message if the entire string is included. This const defines\n * the number of characters that should be included into the error message. The rest\n * of the content is truncated.\n */\nconst BASE64_IMG_MAX_LENGTH_IN_ERROR = 50;\n/**\n * RegExpr to determine whether a src in a srcset is using width descriptors.\n * Should match something like: \"100w, 200w\".\n */\nconst VALID_WIDTH_DESCRIPTOR_SRCSET = /^((\\s*\\d+w\\s*(,|$)){1,})$/;\n/**\n * RegExpr to determine whether a src in a srcset is using density descriptors.\n * Should match something like: \"1x, 2x, 50x\". Also supports decimals like \"1.5x, 1.50x\".\n */\nconst VALID_DENSITY_DESCRIPTOR_SRCSET = /^((\\s*\\d+(\\.\\d+)?x\\s*(,|$)){1,})$/;\n/**\n * Srcset values with a density descriptor higher than this value will actively\n * throw an error. Such densities are not permitted as they cause image sizes\n * to be unreasonably large and slow down LCP.\n */\nconst ABSOLUTE_SRCSET_DENSITY_CAP = 3;\n/**\n * Used only in error message text to communicate best practices, as we will\n * only throw based on the slightly more conservative ABSOLUTE_SRCSET_DENSITY_CAP.\n */\nconst RECOMMENDED_SRCSET_DENSITY_CAP = 2;\n/**\n * Used in generating automatic density-based srcsets\n */\nconst DENSITY_SRCSET_MULTIPLIERS = [1, 2];\n/**\n * Used to determine which breakpoints to use on full-width images\n */\nconst VIEWPORT_BREAKPOINT_CUTOFF = 640;\n/**\n * Used to determine whether two aspect ratios are similar in value.\n */\nconst ASPECT_RATIO_TOLERANCE = .1;\n/**\n * Used to determine whether the image has been requested at an overly\n * large size compared to the actual rendered image size (after taking\n * into account a typical device pixel ratio). In pixels.\n */\nconst OVERSIZED_IMAGE_TOLERANCE = 1000;\n/**\n * Used to limit automatic srcset generation of very large sources for\n * fixed-size images. In pixels.\n */\nconst FIXED_SRCSET_WIDTH_LIMIT = 1920;\nconst FIXED_SRCSET_HEIGHT_LIMIT = 1080;\n/** Info about built-in loaders we can test for. */\nconst BUILT_IN_LOADERS = [imgixLoaderInfo, imageKitLoaderInfo, cloudinaryLoaderInfo];\nconst defaultConfig = {\n    breakpoints: [16, 32, 48, 64, 96, 128, 256, 384, 640, 750, 828, 1080, 1200, 1920, 2048, 3840],\n};\n/**\n * Injection token that configures the image optimized image functionality.\n *\n * @see `NgOptimizedImage`\n * @publicApi\n * @developerPreview\n */\nconst IMAGE_CONFIG = new InjectionToken('ImageConfig', { providedIn: 'root', factory: () => defaultConfig });\n/**\n * Directive that improves image loading performance by enforcing best practices.\n *\n * `NgOptimizedImage` ensures that the loading of the Largest Contentful Paint (LCP) image is\n * prioritized by:\n * - Automatically setting the `fetchpriority` attribute on the `<img>` tag\n * - Lazy loading non-priority images by default\n * - Asserting that there is a corresponding preconnect link tag in the document head\n *\n * In addition, the directive:\n * - Generates appropriate asset URLs if a corresponding `ImageLoader` function is provided\n * - Automatically generates a srcset\n * - Requires that `width` and `height` are set\n * - Warns if `width` or `height` have been set incorrectly\n * - Warns if the image will be visually distorted when rendered\n *\n * @usageNotes\n * The `NgOptimizedImage` directive is marked as [standalone](guide/standalone-components) and can\n * be imported directly.\n *\n * Follow the steps below to enable and use the directive:\n * 1. Import it into the necessary NgModule or a standalone Component.\n * 2. Optionally provide an `ImageLoader` if you use an image hosting service.\n * 3. Update the necessary `<img>` tags in templates and replace `src` attributes with `ngSrc`.\n * Using a `ngSrc` allows the directive to control when the `src` gets set, which triggers an image\n * download.\n *\n * Step 1: import the `NgOptimizedImage` directive.\n *\n * ```typescript\n * import { NgOptimizedImage } from '@angular/common';\n *\n * // Include it into the necessary NgModule\n * @NgModule({\n *   imports: [NgOptimizedImage],\n * })\n * class AppModule {}\n *\n * // ... or a standalone Component\n * @Component({\n *   standalone: true\n *   imports: [NgOptimizedImage],\n * })\n * class MyStandaloneComponent {}\n * ```\n *\n * Step 2: configure a loader.\n *\n * To use the **default loader**: no additional code changes are necessary. The URL returned by the\n * generic loader will always match the value of \"src\". In other words, this loader applies no\n * transformations to the resource URL and the value of the `ngSrc` attribute will be used as is.\n *\n * To use an existing loader for a **third-party image service**: add the provider factory for your\n * chosen service to the `providers` array. In the example below, the Imgix loader is used:\n *\n * ```typescript\n * import {provideImgixLoader} from '@angular/common';\n *\n * // Call the function and add the result to the `providers` array:\n * providers: [\n *   provideImgixLoader(\"https://my.base.url/\"),\n * ],\n * ```\n *\n * The `NgOptimizedImage` directive provides the following functions:\n * - `provideCloudflareLoader`\n * - `provideCloudinaryLoader`\n * - `provideImageKitLoader`\n * - `provideImgixLoader`\n *\n * If you use a different image provider, you can create a custom loader function as described\n * below.\n *\n * To use a **custom loader**: provide your loader function as a value for the `IMAGE_LOADER` DI\n * token.\n *\n * ```typescript\n * import {IMAGE_LOADER, ImageLoaderConfig} from '@angular/common';\n *\n * // Configure the loader using the `IMAGE_LOADER` token.\n * providers: [\n *   {\n *      provide: IMAGE_LOADER,\n *      useValue: (config: ImageLoaderConfig) => {\n *        return `https://example.com/${config.src}-${config.width}.jpg}`;\n *      }\n *   },\n * ],\n * ```\n *\n * Step 3: update `<img>` tags in templates to use `ngSrc` instead of `src`.\n *\n * ```\n * <img ngSrc=\"logo.png\" width=\"200\" height=\"100\">\n * ```\n *\n * @publicApi\n */\nclass NgOptimizedImage {\n    constructor() {\n        this.imageLoader = inject(IMAGE_LOADER);\n        this.config = processConfig(inject(IMAGE_CONFIG));\n        this.renderer = inject(Renderer2);\n        this.imgElement = inject(ElementRef).nativeElement;\n        this.injector = inject(Injector);\n        this.isServer = isPlatformServer(inject(PLATFORM_ID));\n        this.preloadLinkChecker = inject(PreloadLinkCreator);\n        // a LCP image observer - should be injected only in the dev mode\n        this.lcpObserver = ngDevMode ? this.injector.get(LCPImageObserver) : null;\n        /**\n         * Calculate the rewritten `src` once and store it.\n         * This is needed to avoid repetitive calculations and make sure the directive cleanup in the\n         * `ngOnDestroy` does not rely on the `IMAGE_LOADER` logic (which in turn can rely on some other\n         * instance that might be already destroyed).\n         */\n        this._renderedSrc = null;\n        this._priority = false;\n        this._disableOptimizedSrcset = false;\n        this._fill = false;\n    }\n    /**\n     * For responsive images: the intrinsic width of the image in pixels.\n     * For fixed size images: the desired rendered width of the image in pixels.\n     */\n    set width(value) {\n        ngDevMode && assertGreaterThanZero(this, value, 'width');\n        this._width = inputToInteger(value);\n    }\n    get width() {\n        return this._width;\n    }\n    /**\n     * For responsive images: the intrinsic height of the image in pixels.\n     * For fixed size images: the desired rendered height of the image in pixels.* The intrinsic\n     * height of the image in pixels.\n     */\n    set height(value) {\n        ngDevMode && assertGreaterThanZero(this, value, 'height');\n        this._height = inputToInteger(value);\n    }\n    get height() {\n        return this._height;\n    }\n    /**\n     * Indicates whether this image should have a high priority.\n     */\n    set priority(value) {\n        this._priority = inputToBoolean(value);\n    }\n    get priority() {\n        return this._priority;\n    }\n    /**\n     * Disables automatic srcset generation for this image.\n     */\n    set disableOptimizedSrcset(value) {\n        this._disableOptimizedSrcset = inputToBoolean(value);\n    }\n    get disableOptimizedSrcset() {\n        return this._disableOptimizedSrcset;\n    }\n    /**\n     * Sets the image to \"fill mode\", which eliminates the height/width requirement and adds\n     * styles such that the image fills its containing element.\n     *\n     * @developerPreview\n     */\n    set fill(value) {\n        this._fill = inputToBoolean(value);\n    }\n    get fill() {\n        return this._fill;\n    }\n    /** @nodoc */\n    ngOnInit() {\n        if (ngDevMode) {\n            assertNonEmptyInput(this, 'ngSrc', this.ngSrc);\n            assertValidNgSrcset(this, this.ngSrcset);\n            assertNoConflictingSrc(this);\n            if (this.ngSrcset) {\n                assertNoConflictingSrcset(this);\n            }\n            assertNotBase64Image(this);\n            assertNotBlobUrl(this);\n            if (this.fill) {\n                assertEmptyWidthAndHeight(this);\n                assertNonZeroRenderedHeight(this, this.imgElement, this.renderer);\n            }\n            else {\n                assertNonEmptyWidthAndHeight(this);\n                // Only check for distorted images when not in fill mode, where\n                // images may be intentionally stretched, cropped or letterboxed.\n                assertNoImageDistortion(this, this.imgElement, this.renderer);\n            }\n            assertValidLoadingInput(this);\n            if (!this.ngSrcset) {\n                assertNoComplexSizes(this);\n            }\n            assertNotMissingBuiltInLoader(this.ngSrc, this.imageLoader);\n            assertNoNgSrcsetWithoutLoader(this, this.imageLoader);\n            assertNoLoaderParamsWithoutLoader(this, this.imageLoader);\n            if (this.priority) {\n                const checker = this.injector.get(PreconnectLinkChecker);\n                checker.assertPreconnect(this.getRewrittenSrc(), this.ngSrc);\n            }\n            else {\n                // Monitor whether an image is an LCP element only in case\n                // the `priority` attribute is missing. Otherwise, an image\n                // has the necessary settings and no extra checks are required.\n                if (this.lcpObserver !== null) {\n                    const ngZone = this.injector.get(NgZone);\n                    ngZone.runOutsideAngular(() => {\n                        this.lcpObserver.registerImage(this.getRewrittenSrc(), this.ngSrc);\n                    });\n                }\n            }\n        }\n        this.setHostAttributes();\n    }\n    setHostAttributes() {\n        // Must set width/height explicitly in case they are bound (in which case they will\n        // only be reflected and not found by the browser)\n        if (this.fill) {\n            if (!this.sizes) {\n                this.sizes = '100vw';\n            }\n        }\n        else {\n            this.setHostAttribute('width', this.width.toString());\n            this.setHostAttribute('height', this.height.toString());\n        }\n        this.setHostAttribute('loading', this.getLoadingBehavior());\n        this.setHostAttribute('fetchpriority', this.getFetchPriority());\n        // The `data-ng-img` attribute flags an image as using the directive, to allow\n        // for analysis of the directive's performance.\n        this.setHostAttribute('ng-img', 'true');\n        // The `src` and `srcset` attributes should be set last since other attributes\n        // could affect the image's loading behavior.\n        const rewrittenSrc = this.getRewrittenSrc();\n        this.setHostAttribute('src', rewrittenSrc);\n        let rewrittenSrcset = undefined;\n        if (this.sizes) {\n            this.setHostAttribute('sizes', this.sizes);\n        }\n        if (this.ngSrcset) {\n            rewrittenSrcset = this.getRewrittenSrcset();\n        }\n        else if (this.shouldGenerateAutomaticSrcset()) {\n            rewrittenSrcset = this.getAutomaticSrcset();\n        }\n        if (rewrittenSrcset) {\n            this.setHostAttribute('srcset', rewrittenSrcset);\n        }\n        if (this.isServer && this.priority) {\n            this.preloadLinkChecker.createPreloadLinkTag(this.renderer, rewrittenSrc, rewrittenSrcset, this.sizes);\n        }\n    }\n    /** @nodoc */\n    ngOnChanges(changes) {\n        if (ngDevMode) {\n            assertNoPostInitInputChange(this, changes, [\n                'ngSrc',\n                'ngSrcset',\n                'width',\n                'height',\n                'priority',\n                'fill',\n                'loading',\n                'sizes',\n                'loaderParams',\n                'disableOptimizedSrcset',\n            ]);\n        }\n    }\n    callImageLoader(configWithoutCustomParams) {\n        let augmentedConfig = configWithoutCustomParams;\n        if (this.loaderParams) {\n            augmentedConfig.loaderParams = this.loaderParams;\n        }\n        return this.imageLoader(augmentedConfig);\n    }\n    getLoadingBehavior() {\n        if (!this.priority && this.loading !== undefined) {\n            return this.loading;\n        }\n        return this.priority ? 'eager' : 'lazy';\n    }\n    getFetchPriority() {\n        return this.priority ? 'high' : 'auto';\n    }\n    getRewrittenSrc() {\n        // ImageLoaderConfig supports setting a width property. However, we're not setting width here\n        // because if the developer uses rendered width instead of intrinsic width in the HTML width\n        // attribute, the image requested may be too small for 2x+ screens.\n        if (!this._renderedSrc) {\n            const imgConfig = { src: this.ngSrc };\n            // Cache calculated image src to reuse it later in the code.\n            this._renderedSrc = this.callImageLoader(imgConfig);\n        }\n        return this._renderedSrc;\n    }\n    getRewrittenSrcset() {\n        const widthSrcSet = VALID_WIDTH_DESCRIPTOR_SRCSET.test(this.ngSrcset);\n        const finalSrcs = this.ngSrcset.split(',').filter(src => src !== '').map(srcStr => {\n            srcStr = srcStr.trim();\n            const width = widthSrcSet ? parseFloat(srcStr) : parseFloat(srcStr) * this.width;\n            return `${this.callImageLoader({ src: this.ngSrc, width })} ${srcStr}`;\n        });\n        return finalSrcs.join(', ');\n    }\n    getAutomaticSrcset() {\n        if (this.sizes) {\n            return this.getResponsiveSrcset();\n        }\n        else {\n            return this.getFixedSrcset();\n        }\n    }\n    getResponsiveSrcset() {\n        const { breakpoints } = this.config;\n        let filteredBreakpoints = breakpoints;\n        if (this.sizes?.trim() === '100vw') {\n            // Since this is a full-screen-width image, our srcset only needs to include\n            // breakpoints with full viewport widths.\n            filteredBreakpoints = breakpoints.filter(bp => bp >= VIEWPORT_BREAKPOINT_CUTOFF);\n        }\n        const finalSrcs = filteredBreakpoints.map(bp => `${this.callImageLoader({ src: this.ngSrc, width: bp })} ${bp}w`);\n        return finalSrcs.join(', ');\n    }\n    getFixedSrcset() {\n        const finalSrcs = DENSITY_SRCSET_MULTIPLIERS.map(multiplier => `${this.callImageLoader({\n            src: this.ngSrc,\n            width: this.width * multiplier\n        })} ${multiplier}x`);\n        return finalSrcs.join(', ');\n    }\n    shouldGenerateAutomaticSrcset() {\n        return !this._disableOptimizedSrcset && !this.srcset && this.imageLoader !== noopImageLoader &&\n            !(this.width > FIXED_SRCSET_WIDTH_LIMIT || this.height > FIXED_SRCSET_HEIGHT_LIMIT);\n    }\n    /** @nodoc */\n    ngOnDestroy() {\n        if (ngDevMode) {\n            if (!this.priority && this._renderedSrc !== null && this.lcpObserver !== null) {\n                this.lcpObserver.unregisterImage(this._renderedSrc);\n            }\n        }\n    }\n    setHostAttribute(name, value) {\n        this.renderer.setAttribute(this.imgElement, name, value);\n    }\n}\nNgOptimizedImage.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: NgOptimizedImage, deps: [], target: i0.ɵɵFactoryTarget.Directive });\nNgOptimizedImage.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.2.10\", type: NgOptimizedImage, isStandalone: true, selector: \"img[ngSrc]\", inputs: { ngSrc: \"ngSrc\", ngSrcset: \"ngSrcset\", sizes: \"sizes\", width: \"width\", height: \"height\", loading: \"loading\", priority: \"priority\", loaderParams: \"loaderParams\", disableOptimizedSrcset: \"disableOptimizedSrcset\", fill: \"fill\", src: \"src\", srcset: \"srcset\" }, host: { properties: { \"style.position\": \"fill ? \\\"absolute\\\" : null\", \"style.width\": \"fill ? \\\"100%\\\" : null\", \"style.height\": \"fill ? \\\"100%\\\" : null\", \"style.inset\": \"fill ? \\\"0px\\\" : null\" } }, usesOnChanges: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: NgOptimizedImage, decorators: [{\n            type: Directive,\n            args: [{\n                    standalone: true,\n                    selector: 'img[ngSrc]',\n                    host: {\n                        '[style.position]': 'fill ? \"absolute\" : null',\n                        '[style.width]': 'fill ? \"100%\" : null',\n                        '[style.height]': 'fill ? \"100%\" : null',\n                        '[style.inset]': 'fill ? \"0px\" : null'\n                    }\n                }]\n        }], propDecorators: { ngSrc: [{\n                type: Input\n            }], ngSrcset: [{\n                type: Input\n            }], sizes: [{\n                type: Input\n            }], width: [{\n                type: Input\n            }], height: [{\n                type: Input\n            }], loading: [{\n                type: Input\n            }], priority: [{\n                type: Input\n            }], loaderParams: [{\n                type: Input\n            }], disableOptimizedSrcset: [{\n                type: Input\n            }], fill: [{\n                type: Input\n            }], src: [{\n                type: Input\n            }], srcset: [{\n                type: Input\n            }] } });\n/***** Helpers *****/\n/**\n * Convert input value to integer.\n */\nfunction inputToInteger(value) {\n    return typeof value === 'string' ? parseInt(value, 10) : value;\n}\n/**\n * Convert input value to boolean.\n */\nfunction inputToBoolean(value) {\n    return value != null && `${value}` !== 'false';\n}\n/**\n * Sorts provided config breakpoints and uses defaults.\n */\nfunction processConfig(config) {\n    let sortedBreakpoints = {};\n    if (config.breakpoints) {\n        sortedBreakpoints.breakpoints = config.breakpoints.sort((a, b) => a - b);\n    }\n    return Object.assign({}, defaultConfig, config, sortedBreakpoints);\n}\n/***** Assert functions *****/\n/**\n * Verifies that there is no `src` set on a host element.\n */\nfunction assertNoConflictingSrc(dir) {\n    if (dir.src) {\n        throw new ɵRuntimeError(2950 /* RuntimeErrorCode.UNEXPECTED_SRC_ATTR */, `${imgDirectiveDetails(dir.ngSrc)} both \\`src\\` and \\`ngSrc\\` have been set. ` +\n            `Supplying both of these attributes breaks lazy loading. ` +\n            `The NgOptimizedImage directive sets \\`src\\` itself based on the value of \\`ngSrc\\`. ` +\n            `To fix this, please remove the \\`src\\` attribute.`);\n    }\n}\n/**\n * Verifies that there is no `srcset` set on a host element.\n */\nfunction assertNoConflictingSrcset(dir) {\n    if (dir.srcset) {\n        throw new ɵRuntimeError(2951 /* RuntimeErrorCode.UNEXPECTED_SRCSET_ATTR */, `${imgDirectiveDetails(dir.ngSrc)} both \\`srcset\\` and \\`ngSrcset\\` have been set. ` +\n            `Supplying both of these attributes breaks lazy loading. ` +\n            `The NgOptimizedImage directive sets \\`srcset\\` itself based on the value of ` +\n            `\\`ngSrcset\\`. To fix this, please remove the \\`srcset\\` attribute.`);\n    }\n}\n/**\n * Verifies that the `ngSrc` is not a Base64-encoded image.\n */\nfunction assertNotBase64Image(dir) {\n    let ngSrc = dir.ngSrc.trim();\n    if (ngSrc.startsWith('data:')) {\n        if (ngSrc.length > BASE64_IMG_MAX_LENGTH_IN_ERROR) {\n            ngSrc = ngSrc.substring(0, BASE64_IMG_MAX_LENGTH_IN_ERROR) + '...';\n        }\n        throw new ɵRuntimeError(2952 /* RuntimeErrorCode.INVALID_INPUT */, `${imgDirectiveDetails(dir.ngSrc, false)} \\`ngSrc\\` is a Base64-encoded string ` +\n            `(${ngSrc}). NgOptimizedImage does not support Base64-encoded strings. ` +\n            `To fix this, disable the NgOptimizedImage directive for this element ` +\n            `by removing \\`ngSrc\\` and using a standard \\`src\\` attribute instead.`);\n    }\n}\n/**\n * Verifies that the 'sizes' only includes responsive values.\n */\nfunction assertNoComplexSizes(dir) {\n    let sizes = dir.sizes;\n    if (sizes?.match(/((\\)|,)\\s|^)\\d+px/)) {\n        throw new ɵRuntimeError(2952 /* RuntimeErrorCode.INVALID_INPUT */, `${imgDirectiveDetails(dir.ngSrc, false)} \\`sizes\\` was set to a string including ` +\n            `pixel values. For automatic \\`srcset\\` generation, \\`sizes\\` must only include responsive ` +\n            `values, such as \\`sizes=\"50vw\"\\` or \\`sizes=\"(min-width: 768px) 50vw, 100vw\"\\`. ` +\n            `To fix this, modify the \\`sizes\\` attribute, or provide your own \\`ngSrcset\\` value directly.`);\n    }\n}\n/**\n * Verifies that the `ngSrc` is not a Blob URL.\n */\nfunction assertNotBlobUrl(dir) {\n    const ngSrc = dir.ngSrc.trim();\n    if (ngSrc.startsWith('blob:')) {\n        throw new ɵRuntimeError(2952 /* RuntimeErrorCode.INVALID_INPUT */, `${imgDirectiveDetails(dir.ngSrc)} \\`ngSrc\\` was set to a blob URL (${ngSrc}). ` +\n            `Blob URLs are not supported by the NgOptimizedImage directive. ` +\n            `To fix this, disable the NgOptimizedImage directive for this element ` +\n            `by removing \\`ngSrc\\` and using a regular \\`src\\` attribute instead.`);\n    }\n}\n/**\n * Verifies that the input is set to a non-empty string.\n */\nfunction assertNonEmptyInput(dir, name, value) {\n    const isString = typeof value === 'string';\n    const isEmptyString = isString && value.trim() === '';\n    if (!isString || isEmptyString) {\n        throw new ɵRuntimeError(2952 /* RuntimeErrorCode.INVALID_INPUT */, `${imgDirectiveDetails(dir.ngSrc)} \\`${name}\\` has an invalid value ` +\n            `(\\`${value}\\`). To fix this, change the value to a non-empty string.`);\n    }\n}\n/**\n * Verifies that the `ngSrcset` is in a valid format, e.g. \"100w, 200w\" or \"1x, 2x\".\n */\nfunction assertValidNgSrcset(dir, value) {\n    if (value == null)\n        return;\n    assertNonEmptyInput(dir, 'ngSrcset', value);\n    const stringVal = value;\n    const isValidWidthDescriptor = VALID_WIDTH_DESCRIPTOR_SRCSET.test(stringVal);\n    const isValidDensityDescriptor = VALID_DENSITY_DESCRIPTOR_SRCSET.test(stringVal);\n    if (isValidDensityDescriptor) {\n        assertUnderDensityCap(dir, stringVal);\n    }\n    const isValidSrcset = isValidWidthDescriptor || isValidDensityDescriptor;\n    if (!isValidSrcset) {\n        throw new ɵRuntimeError(2952 /* RuntimeErrorCode.INVALID_INPUT */, `${imgDirectiveDetails(dir.ngSrc)} \\`ngSrcset\\` has an invalid value (\\`${value}\\`). ` +\n            `To fix this, supply \\`ngSrcset\\` using a comma-separated list of one or more width ` +\n            `descriptors (e.g. \"100w, 200w\") or density descriptors (e.g. \"1x, 2x\").`);\n    }\n}\nfunction assertUnderDensityCap(dir, value) {\n    const underDensityCap = value.split(',').every(num => num === '' || parseFloat(num) <= ABSOLUTE_SRCSET_DENSITY_CAP);\n    if (!underDensityCap) {\n        throw new ɵRuntimeError(2952 /* RuntimeErrorCode.INVALID_INPUT */, `${imgDirectiveDetails(dir.ngSrc)} the \\`ngSrcset\\` contains an unsupported image density:` +\n            `\\`${value}\\`. NgOptimizedImage generally recommends a max image density of ` +\n            `${RECOMMENDED_SRCSET_DENSITY_CAP}x but supports image densities up to ` +\n            `${ABSOLUTE_SRCSET_DENSITY_CAP}x. The human eye cannot distinguish between image densities ` +\n            `greater than ${RECOMMENDED_SRCSET_DENSITY_CAP}x - which makes them unnecessary for ` +\n            `most use cases. Images that will be pinch-zoomed are typically the primary use case for ` +\n            `${ABSOLUTE_SRCSET_DENSITY_CAP}x images. Please remove the high density descriptor and try again.`);\n    }\n}\n/**\n * Creates a `RuntimeError` instance to represent a situation when an input is set after\n * the directive has initialized.\n */\nfunction postInitInputChangeError(dir, inputName) {\n    let reason;\n    if (inputName === 'width' || inputName === 'height') {\n        reason = `Changing \\`${inputName}\\` may result in different attribute value ` +\n            `applied to the underlying image element and cause layout shifts on a page.`;\n    }\n    else {\n        reason = `Changing the \\`${inputName}\\` would have no effect on the underlying ` +\n            `image element, because the resource loading has already occurred.`;\n    }\n    return new ɵRuntimeError(2953 /* RuntimeErrorCode.UNEXPECTED_INPUT_CHANGE */, `${imgDirectiveDetails(dir.ngSrc)} \\`${inputName}\\` was updated after initialization. ` +\n        `The NgOptimizedImage directive will not react to this input change. ${reason} ` +\n        `To fix this, either switch \\`${inputName}\\` to a static value ` +\n        `or wrap the image element in an *ngIf that is gated on the necessary value.`);\n}\n/**\n * Verify that none of the listed inputs has changed.\n */\nfunction assertNoPostInitInputChange(dir, changes, inputs) {\n    inputs.forEach(input => {\n        const isUpdated = changes.hasOwnProperty(input);\n        if (isUpdated && !changes[input].isFirstChange()) {\n            if (input === 'ngSrc') {\n                // When the `ngSrc` input changes, we detect that only in the\n                // `ngOnChanges` hook, thus the `ngSrc` is already set. We use\n                // `ngSrc` in the error message, so we use a previous value, but\n                // not the updated one in it.\n                dir = { ngSrc: changes[input].previousValue };\n            }\n            throw postInitInputChangeError(dir, input);\n        }\n    });\n}\n/**\n * Verifies that a specified input is a number greater than 0.\n */\nfunction assertGreaterThanZero(dir, inputValue, inputName) {\n    const validNumber = typeof inputValue === 'number' && inputValue > 0;\n    const validString = typeof inputValue === 'string' && /^\\d+$/.test(inputValue.trim()) && parseInt(inputValue) > 0;\n    if (!validNumber && !validString) {\n        throw new ɵRuntimeError(2952 /* RuntimeErrorCode.INVALID_INPUT */, `${imgDirectiveDetails(dir.ngSrc)} \\`${inputName}\\` has an invalid value ` +\n            `(\\`${inputValue}\\`). To fix this, provide \\`${inputName}\\` ` +\n            `as a number greater than 0.`);\n    }\n}\n/**\n * Verifies that the rendered image is not visually distorted. Effectively this is checking:\n * - Whether the \"width\" and \"height\" attributes reflect the actual dimensions of the image.\n * - Whether image styling is \"correct\" (see below for a longer explanation).\n */\nfunction assertNoImageDistortion(dir, img, renderer) {\n    const removeListenerFn = renderer.listen(img, 'load', () => {\n        removeListenerFn();\n        const computedStyle = window.getComputedStyle(img);\n        let renderedWidth = parseFloat(computedStyle.getPropertyValue('width'));\n        let renderedHeight = parseFloat(computedStyle.getPropertyValue('height'));\n        const boxSizing = computedStyle.getPropertyValue('box-sizing');\n        if (boxSizing === 'border-box') {\n            const paddingTop = computedStyle.getPropertyValue('padding-top');\n            const paddingRight = computedStyle.getPropertyValue('padding-right');\n            const paddingBottom = computedStyle.getPropertyValue('padding-bottom');\n            const paddingLeft = computedStyle.getPropertyValue('padding-left');\n            renderedWidth -= parseFloat(paddingRight) + parseFloat(paddingLeft);\n            renderedHeight -= parseFloat(paddingTop) + parseFloat(paddingBottom);\n        }\n        const renderedAspectRatio = renderedWidth / renderedHeight;\n        const nonZeroRenderedDimensions = renderedWidth !== 0 && renderedHeight !== 0;\n        const intrinsicWidth = img.naturalWidth;\n        const intrinsicHeight = img.naturalHeight;\n        const intrinsicAspectRatio = intrinsicWidth / intrinsicHeight;\n        const suppliedWidth = dir.width;\n        const suppliedHeight = dir.height;\n        const suppliedAspectRatio = suppliedWidth / suppliedHeight;\n        // Tolerance is used to account for the impact of subpixel rendering.\n        // Due to subpixel rendering, the rendered, intrinsic, and supplied\n        // aspect ratios of a correctly configured image may not exactly match.\n        // For example, a `width=4030 height=3020` image might have a rendered\n        // size of \"1062w, 796.48h\". (An aspect ratio of 1.334... vs. 1.333...)\n        const inaccurateDimensions = Math.abs(suppliedAspectRatio - intrinsicAspectRatio) > ASPECT_RATIO_TOLERANCE;\n        const stylingDistortion = nonZeroRenderedDimensions &&\n            Math.abs(intrinsicAspectRatio - renderedAspectRatio) > ASPECT_RATIO_TOLERANCE;\n        if (inaccurateDimensions) {\n            console.warn(ɵformatRuntimeError(2952 /* RuntimeErrorCode.INVALID_INPUT */, `${imgDirectiveDetails(dir.ngSrc)} the aspect ratio of the image does not match ` +\n                `the aspect ratio indicated by the width and height attributes. ` +\n                `\\nIntrinsic image size: ${intrinsicWidth}w x ${intrinsicHeight}h ` +\n                `(aspect-ratio: ${intrinsicAspectRatio}). \\nSupplied width and height attributes: ` +\n                `${suppliedWidth}w x ${suppliedHeight}h (aspect-ratio: ${suppliedAspectRatio}). ` +\n                `\\nTo fix this, update the width and height attributes.`));\n        }\n        else if (stylingDistortion) {\n            console.warn(ɵformatRuntimeError(2952 /* RuntimeErrorCode.INVALID_INPUT */, `${imgDirectiveDetails(dir.ngSrc)} the aspect ratio of the rendered image ` +\n                `does not match the image's intrinsic aspect ratio. ` +\n                `\\nIntrinsic image size: ${intrinsicWidth}w x ${intrinsicHeight}h ` +\n                `(aspect-ratio: ${intrinsicAspectRatio}). \\nRendered image size: ` +\n                `${renderedWidth}w x ${renderedHeight}h (aspect-ratio: ` +\n                `${renderedAspectRatio}). \\nThis issue can occur if \"width\" and \"height\" ` +\n                `attributes are added to an image without updating the corresponding ` +\n                `image styling. To fix this, adjust image styling. In most cases, ` +\n                `adding \"height: auto\" or \"width: auto\" to the image styling will fix ` +\n                `this issue.`));\n        }\n        else if (!dir.ngSrcset && nonZeroRenderedDimensions) {\n            // If `ngSrcset` hasn't been set, sanity check the intrinsic size.\n            const recommendedWidth = RECOMMENDED_SRCSET_DENSITY_CAP * renderedWidth;\n            const recommendedHeight = RECOMMENDED_SRCSET_DENSITY_CAP * renderedHeight;\n            const oversizedWidth = (intrinsicWidth - recommendedWidth) >= OVERSIZED_IMAGE_TOLERANCE;\n            const oversizedHeight = (intrinsicHeight - recommendedHeight) >= OVERSIZED_IMAGE_TOLERANCE;\n            if (oversizedWidth || oversizedHeight) {\n                console.warn(ɵformatRuntimeError(2960 /* RuntimeErrorCode.OVERSIZED_IMAGE */, `${imgDirectiveDetails(dir.ngSrc)} the intrinsic image is significantly ` +\n                    `larger than necessary. ` +\n                    `\\nRendered image size: ${renderedWidth}w x ${renderedHeight}h. ` +\n                    `\\nIntrinsic image size: ${intrinsicWidth}w x ${intrinsicHeight}h. ` +\n                    `\\nRecommended intrinsic image size: ${recommendedWidth}w x ${recommendedHeight}h. ` +\n                    `\\nNote: Recommended intrinsic image size is calculated assuming a maximum DPR of ` +\n                    `${RECOMMENDED_SRCSET_DENSITY_CAP}. To improve loading time, resize the image ` +\n                    `or consider using the \"ngSrcset\" and \"sizes\" attributes.`));\n            }\n        }\n    });\n}\n/**\n * Verifies that a specified input is set.\n */\nfunction assertNonEmptyWidthAndHeight(dir) {\n    let missingAttributes = [];\n    if (dir.width === undefined)\n        missingAttributes.push('width');\n    if (dir.height === undefined)\n        missingAttributes.push('height');\n    if (missingAttributes.length > 0) {\n        throw new ɵRuntimeError(2954 /* RuntimeErrorCode.REQUIRED_INPUT_MISSING */, `${imgDirectiveDetails(dir.ngSrc)} these required attributes ` +\n            `are missing: ${missingAttributes.map(attr => `\"${attr}\"`).join(', ')}. ` +\n            `Including \"width\" and \"height\" attributes will prevent image-related layout shifts. ` +\n            `To fix this, include \"width\" and \"height\" attributes on the image tag or turn on ` +\n            `\"fill\" mode with the \\`fill\\` attribute.`);\n    }\n}\n/**\n * Verifies that width and height are not set. Used in fill mode, where those attributes don't make\n * sense.\n */\nfunction assertEmptyWidthAndHeight(dir) {\n    if (dir.width || dir.height) {\n        throw new ɵRuntimeError(2952 /* RuntimeErrorCode.INVALID_INPUT */, `${imgDirectiveDetails(dir.ngSrc)} the attributes \\`height\\` and/or \\`width\\` are present ` +\n            `along with the \\`fill\\` attribute. Because \\`fill\\` mode causes an image to fill its containing ` +\n            `element, the size attributes have no effect and should be removed.`);\n    }\n}\n/**\n * Verifies that the rendered image has a nonzero height. If the image is in fill mode, provides\n * guidance that this can be caused by the containing element's CSS position property.\n */\nfunction assertNonZeroRenderedHeight(dir, img, renderer) {\n    const removeListenerFn = renderer.listen(img, 'load', () => {\n        removeListenerFn();\n        const renderedHeight = img.clientHeight;\n        if (dir.fill && renderedHeight === 0) {\n            console.warn(ɵformatRuntimeError(2952 /* RuntimeErrorCode.INVALID_INPUT */, `${imgDirectiveDetails(dir.ngSrc)} the height of the fill-mode image is zero. ` +\n                `This is likely because the containing element does not have the CSS 'position' ` +\n                `property set to one of the following: \"relative\", \"fixed\", or \"absolute\". ` +\n                `To fix this problem, make sure the container element has the CSS 'position' ` +\n                `property defined and the height of the element is not zero.`));\n        }\n    });\n}\n/**\n * Verifies that the `loading` attribute is set to a valid input &\n * is not used on priority images.\n */\nfunction assertValidLoadingInput(dir) {\n    if (dir.loading && dir.priority) {\n        throw new ɵRuntimeError(2952 /* RuntimeErrorCode.INVALID_INPUT */, `${imgDirectiveDetails(dir.ngSrc)} the \\`loading\\` attribute ` +\n            `was used on an image that was marked \"priority\". ` +\n            `Setting \\`loading\\` on priority images is not allowed ` +\n            `because these images will always be eagerly loaded. ` +\n            `To fix this, remove the “loading” attribute from the priority image.`);\n    }\n    const validInputs = ['auto', 'eager', 'lazy'];\n    if (typeof dir.loading === 'string' && !validInputs.includes(dir.loading)) {\n        throw new ɵRuntimeError(2952 /* RuntimeErrorCode.INVALID_INPUT */, `${imgDirectiveDetails(dir.ngSrc)} the \\`loading\\` attribute ` +\n            `has an invalid value (\\`${dir.loading}\\`). ` +\n            `To fix this, provide a valid value (\"lazy\", \"eager\", or \"auto\").`);\n    }\n}\n/**\n * Warns if NOT using a loader (falling back to the generic loader) and\n * the image appears to be hosted on one of the image CDNs for which\n * we do have a built-in image loader. Suggests switching to the\n * built-in loader.\n *\n * @param ngSrc Value of the ngSrc attribute\n * @param imageLoader ImageLoader provided\n */\nfunction assertNotMissingBuiltInLoader(ngSrc, imageLoader) {\n    if (imageLoader === noopImageLoader) {\n        let builtInLoaderName = '';\n        for (const loader of BUILT_IN_LOADERS) {\n            if (loader.testUrl(ngSrc)) {\n                builtInLoaderName = loader.name;\n                break;\n            }\n        }\n        if (builtInLoaderName) {\n            console.warn(ɵformatRuntimeError(2962 /* RuntimeErrorCode.MISSING_BUILTIN_LOADER */, `NgOptimizedImage: It looks like your images may be hosted on the ` +\n                `${builtInLoaderName} CDN, but your app is not using Angular's ` +\n                `built-in loader for that CDN. We recommend switching to use ` +\n                `the built-in by calling \\`provide${builtInLoaderName}Loader()\\` ` +\n                `in your \\`providers\\` and passing it your instance's base URL. ` +\n                `If you don't want to use the built-in loader, define a custom ` +\n                `loader function using IMAGE_LOADER to silence this warning.`));\n        }\n    }\n}\n/**\n * Warns if ngSrcset is present and no loader is configured (i.e. the default one is being used).\n */\nfunction assertNoNgSrcsetWithoutLoader(dir, imageLoader) {\n    if (dir.ngSrcset && imageLoader === noopImageLoader) {\n        console.warn(ɵformatRuntimeError(2963 /* RuntimeErrorCode.MISSING_NECESSARY_LOADER */, `${imgDirectiveDetails(dir.ngSrc)} the \\`ngSrcset\\` attribute is present but ` +\n            `no image loader is configured (i.e. the default one is being used), ` +\n            `which would result in the same image being used for all configured sizes. ` +\n            `To fix this, provide a loader or remove the \\`ngSrcset\\` attribute from the image.`));\n    }\n}\n/**\n * Warns if loaderParams is present and no loader is configured (i.e. the default one is being\n * used).\n */\nfunction assertNoLoaderParamsWithoutLoader(dir, imageLoader) {\n    if (dir.loaderParams && imageLoader === noopImageLoader) {\n        console.warn(ɵformatRuntimeError(2963 /* RuntimeErrorCode.MISSING_NECESSARY_LOADER */, `${imgDirectiveDetails(dir.ngSrc)} the \\`loaderParams\\` attribute is present but ` +\n            `no image loader is configured (i.e. the default one is being used), ` +\n            `which means that the loaderParams data will not be consumed and will not affect the URL. ` +\n            `To fix this, provide a custom loader or remove the \\`loaderParams\\` attribute from the image.`));\n    }\n}\n\n// These exports represent the set of symbols exposed as a public API.\n\n/**\n * @module\n * @description\n * Entry point for all public APIs of the common package.\n */\n\n/**\n * @module\n * @description\n * Entry point for all public APIs of this package.\n */\n// This file only reexports content of the `src` folder. Keep it that way.\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 { APP_BASE_HREF, AsyncPipe, BrowserPlatformLocation, CommonModule, CurrencyPipe, DATE_PIPE_DEFAULT_OPTIONS, DATE_PIPE_DEFAULT_TIMEZONE, DOCUMENT, DatePipe, DecimalPipe, FormStyle, FormatWidth, HashLocationStrategy, I18nPluralPipe, I18nSelectPipe, IMAGE_CONFIG, IMAGE_LOADER, JsonPipe, KeyValuePipe, LOCATION_INITIALIZED, Location, LocationStrategy, LowerCasePipe, NgClass, NgComponentOutlet, NgForOf as NgFor, NgForOf, NgForOfContext, NgIf, NgIfContext, NgLocaleLocalization, NgLocalization, NgOptimizedImage, NgPlural, NgPluralCase, NgStyle, NgSwitch, NgSwitchCase, NgSwitchDefault, NgTemplateOutlet, NumberFormatStyle, NumberSymbol, PRECONNECT_CHECK_BLOCKLIST, PathLocationStrategy, PercentPipe, PlatformLocation, Plural, SlicePipe, TitleCasePipe, TranslationWidth, UpperCasePipe, VERSION, ViewportScroller, WeekDay, XhrFactory, formatCurrency, formatDate, formatNumber, formatPercent, getCurrencySymbol, getLocaleCurrencyCode, getLocaleCurrencyName, getLocaleCurrencySymbol, getLocaleDateFormat, getLocaleDateTimeFormat, getLocaleDayNames, getLocaleDayPeriods, getLocaleDirection, getLocaleEraNames, getLocaleExtraDayPeriodRules, getLocaleExtraDayPeriods, getLocaleFirstDayOfWeek, getLocaleId, getLocaleMonthNames, getLocaleNumberFormat, getLocaleNumberSymbol, getLocalePluralCase, getLocaleTimeFormat, getLocaleWeekEndRange, getNumberOfCurrencyDigits, isPlatformBrowser, isPlatformServer, isPlatformWorkerApp, isPlatformWorkerUi, provideCloudflareLoader, provideCloudinaryLoader, provideImageKitLoader, provideImgixLoader, registerLocaleData, DomAdapter as ɵDomAdapter, NullViewportScroller as ɵNullViewportScroller, PLATFORM_BROWSER_ID as ɵPLATFORM_BROWSER_ID, PLATFORM_SERVER_ID as ɵPLATFORM_SERVER_ID, PLATFORM_WORKER_APP_ID as ɵPLATFORM_WORKER_APP_ID, PLATFORM_WORKER_UI_ID as ɵPLATFORM_WORKER_UI_ID, getDOM as ɵgetDOM, parseCookieValue as ɵparseCookieValue, setRootDomAdapter as ɵsetRootDomAdapter };\n","/**\n * @license Angular v15.2.10\n * (c) 2010-2022 Google LLC. https://angular.io/\n * License: MIT\n */\n\nimport * as i1 from '@angular/common';\nimport { DOCUMENT, ɵparseCookieValue, XhrFactory as XhrFactory$1 } from '@angular/common';\nimport * as i0 from '@angular/core';\nimport { Injectable, InjectionToken, inject, Inject, PLATFORM_ID, makeEnvironmentProviders, NgModule } from '@angular/core';\nimport { of, Observable } from 'rxjs';\nimport { concatMap, filter, map } from 'rxjs/operators';\n\n/**\n * Transforms an `HttpRequest` into a stream of `HttpEvent`s, one of which will likely be a\n * `HttpResponse`.\n *\n * `HttpHandler` is injectable. When injected, the handler instance dispatches requests to the\n * first interceptor in the chain, which dispatches to the second, etc, eventually reaching the\n * `HttpBackend`.\n *\n * In an `HttpInterceptor`, the `HttpHandler` parameter is the next interceptor in the chain.\n *\n * @publicApi\n */\nclass HttpHandler {\n}\n/**\n * A final `HttpHandler` which will dispatch the request via browser HTTP APIs to a backend.\n *\n * Interceptors sit between the `HttpClient` interface and the `HttpBackend`.\n *\n * When injected, `HttpBackend` dispatches requests directly to the backend, without going\n * through the interceptor chain.\n *\n * @publicApi\n */\nclass HttpBackend {\n}\n\n/**\n * Represents the header configuration options for an HTTP request.\n * Instances are immutable. Modifying methods return a cloned\n * instance with the change. The original object is never changed.\n *\n * @publicApi\n */\nclass HttpHeaders {\n    /**  Constructs a new HTTP header object with the given values.*/\n    constructor(headers) {\n        /**\n         * Internal map of lowercased header names to the normalized\n         * form of the name (the form seen first).\n         */\n        this.normalizedNames = new Map();\n        /**\n         * Queued updates to be materialized the next initialization.\n         */\n        this.lazyUpdate = null;\n        if (!headers) {\n            this.headers = new Map();\n        }\n        else if (typeof headers === 'string') {\n            this.lazyInit = () => {\n                this.headers = new Map();\n                headers.split('\\n').forEach(line => {\n                    const index = line.indexOf(':');\n                    if (index > 0) {\n                        const name = line.slice(0, index);\n                        const key = name.toLowerCase();\n                        const value = line.slice(index + 1).trim();\n                        this.maybeSetNormalizedName(name, key);\n                        if (this.headers.has(key)) {\n                            this.headers.get(key).push(value);\n                        }\n                        else {\n                            this.headers.set(key, [value]);\n                        }\n                    }\n                });\n            };\n        }\n        else {\n            this.lazyInit = () => {\n                if (typeof ngDevMode === 'undefined' || ngDevMode) {\n                    assertValidHeaders(headers);\n                }\n                this.headers = new Map();\n                Object.entries(headers).forEach(([name, values]) => {\n                    let headerValues;\n                    if (typeof values === 'string') {\n                        headerValues = [values];\n                    }\n                    else if (typeof values === 'number') {\n                        headerValues = [values.toString()];\n                    }\n                    else {\n                        headerValues = values.map((value) => value.toString());\n                    }\n                    if (headerValues.length > 0) {\n                        const key = name.toLowerCase();\n                        this.headers.set(key, headerValues);\n                        this.maybeSetNormalizedName(name, key);\n                    }\n                });\n            };\n        }\n    }\n    /**\n     * Checks for existence of a given header.\n     *\n     * @param name The header name to check for existence.\n     *\n     * @returns True if the header exists, false otherwise.\n     */\n    has(name) {\n        this.init();\n        return this.headers.has(name.toLowerCase());\n    }\n    /**\n     * Retrieves the first value of a given header.\n     *\n     * @param name The header name.\n     *\n     * @returns The value string if the header exists, null otherwise\n     */\n    get(name) {\n        this.init();\n        const values = this.headers.get(name.toLowerCase());\n        return values && values.length > 0 ? values[0] : null;\n    }\n    /**\n     * Retrieves the names of the headers.\n     *\n     * @returns A list of header names.\n     */\n    keys() {\n        this.init();\n        return Array.from(this.normalizedNames.values());\n    }\n    /**\n     * Retrieves a list of values for a given header.\n     *\n     * @param name The header name from which to retrieve values.\n     *\n     * @returns A string of values if the header exists, null otherwise.\n     */\n    getAll(name) {\n        this.init();\n        return this.headers.get(name.toLowerCase()) || null;\n    }\n    /**\n     * Appends a new value to the existing set of values for a header\n     * and returns them in a clone of the original instance.\n     *\n     * @param name The header name for which to append the values.\n     * @param value The value to append.\n     *\n     * @returns A clone of the HTTP headers object with the value appended to the given header.\n     */\n    append(name, value) {\n        return this.clone({ name, value, op: 'a' });\n    }\n    /**\n     * Sets or modifies a value for a given header in a clone of the original instance.\n     * If the header already exists, its value is replaced with the given value\n     * in the returned object.\n     *\n     * @param name The header name.\n     * @param value The value or values to set or override for the given header.\n     *\n     * @returns A clone of the HTTP headers object with the newly set header value.\n     */\n    set(name, value) {\n        return this.clone({ name, value, op: 's' });\n    }\n    /**\n     * Deletes values for a given header in a clone of the original instance.\n     *\n     * @param name The header name.\n     * @param value The value or values to delete for the given header.\n     *\n     * @returns A clone of the HTTP headers object with the given value deleted.\n     */\n    delete(name, value) {\n        return this.clone({ name, value, op: 'd' });\n    }\n    maybeSetNormalizedName(name, lcName) {\n        if (!this.normalizedNames.has(lcName)) {\n            this.normalizedNames.set(lcName, name);\n        }\n    }\n    init() {\n        if (!!this.lazyInit) {\n            if (this.lazyInit instanceof HttpHeaders) {\n                this.copyFrom(this.lazyInit);\n            }\n            else {\n                this.lazyInit();\n            }\n            this.lazyInit = null;\n            if (!!this.lazyUpdate) {\n                this.lazyUpdate.forEach(update => this.applyUpdate(update));\n                this.lazyUpdate = null;\n            }\n        }\n    }\n    copyFrom(other) {\n        other.init();\n        Array.from(other.headers.keys()).forEach(key => {\n            this.headers.set(key, other.headers.get(key));\n            this.normalizedNames.set(key, other.normalizedNames.get(key));\n        });\n    }\n    clone(update) {\n        const clone = new HttpHeaders();\n        clone.lazyInit =\n            (!!this.lazyInit && this.lazyInit instanceof HttpHeaders) ? this.lazyInit : this;\n        clone.lazyUpdate = (this.lazyUpdate || []).concat([update]);\n        return clone;\n    }\n    applyUpdate(update) {\n        const key = update.name.toLowerCase();\n        switch (update.op) {\n            case 'a':\n            case 's':\n                let value = update.value;\n                if (typeof value === 'string') {\n                    value = [value];\n                }\n                if (value.length === 0) {\n                    return;\n                }\n                this.maybeSetNormalizedName(update.name, key);\n                const base = (update.op === 'a' ? this.headers.get(key) : undefined) || [];\n                base.push(...value);\n                this.headers.set(key, base);\n                break;\n            case 'd':\n                const toDelete = update.value;\n                if (!toDelete) {\n                    this.headers.delete(key);\n                    this.normalizedNames.delete(key);\n                }\n                else {\n                    let existing = this.headers.get(key);\n                    if (!existing) {\n                        return;\n                    }\n                    existing = existing.filter(value => toDelete.indexOf(value) === -1);\n                    if (existing.length === 0) {\n                        this.headers.delete(key);\n                        this.normalizedNames.delete(key);\n                    }\n                    else {\n                        this.headers.set(key, existing);\n                    }\n                }\n                break;\n        }\n    }\n    /**\n     * @internal\n     */\n    forEach(fn) {\n        this.init();\n        Array.from(this.normalizedNames.keys())\n            .forEach(key => fn(this.normalizedNames.get(key), this.headers.get(key)));\n    }\n}\n/**\n * Verifies that the headers object has the right shape: the values\n * must be either strings, numbers or arrays. Throws an error if an invalid\n * header value is present.\n */\nfunction assertValidHeaders(headers) {\n    for (const [key, value] of Object.entries(headers)) {\n        if (!(typeof value === 'string' || typeof value === 'number') && !Array.isArray(value)) {\n            throw new Error(`Unexpected value of the \\`${key}\\` header provided. ` +\n                `Expecting either a string, a number or an array, but got: \\`${value}\\`.`);\n        }\n    }\n}\n\n/**\n * Provides encoding and decoding of URL parameter and query-string values.\n *\n * Serializes and parses URL parameter keys and values to encode and decode them.\n * If you pass URL query parameters without encoding,\n * the query parameters can be misinterpreted at the receiving end.\n *\n *\n * @publicApi\n */\nclass HttpUrlEncodingCodec {\n    /**\n     * Encodes a key name for a URL parameter or query-string.\n     * @param key The key name.\n     * @returns The encoded key name.\n     */\n    encodeKey(key) {\n        return standardEncoding(key);\n    }\n    /**\n     * Encodes the value of a URL parameter or query-string.\n     * @param value The value.\n     * @returns The encoded value.\n     */\n    encodeValue(value) {\n        return standardEncoding(value);\n    }\n    /**\n     * Decodes an encoded URL parameter or query-string key.\n     * @param key The encoded key name.\n     * @returns The decoded key name.\n     */\n    decodeKey(key) {\n        return decodeURIComponent(key);\n    }\n    /**\n     * Decodes an encoded URL parameter or query-string value.\n     * @param value The encoded value.\n     * @returns The decoded value.\n     */\n    decodeValue(value) {\n        return decodeURIComponent(value);\n    }\n}\nfunction paramParser(rawParams, codec) {\n    const map = new Map();\n    if (rawParams.length > 0) {\n        // The `window.location.search` can be used while creating an instance of the `HttpParams` class\n        // (e.g. `new HttpParams({ fromString: window.location.search })`). The `window.location.search`\n        // may start with the `?` char, so we strip it if it's present.\n        const params = rawParams.replace(/^\\?/, '').split('&');\n        params.forEach((param) => {\n            const eqIdx = param.indexOf('=');\n            const [key, val] = eqIdx == -1 ?\n                [codec.decodeKey(param), ''] :\n                [codec.decodeKey(param.slice(0, eqIdx)), codec.decodeValue(param.slice(eqIdx + 1))];\n            const list = map.get(key) || [];\n            list.push(val);\n            map.set(key, list);\n        });\n    }\n    return map;\n}\n/**\n * Encode input string with standard encodeURIComponent and then un-encode specific characters.\n */\nconst STANDARD_ENCODING_REGEX = /%(\\d[a-f0-9])/gi;\nconst STANDARD_ENCODING_REPLACEMENTS = {\n    '40': '@',\n    '3A': ':',\n    '24': '$',\n    '2C': ',',\n    '3B': ';',\n    '3D': '=',\n    '3F': '?',\n    '2F': '/',\n};\nfunction standardEncoding(v) {\n    return encodeURIComponent(v).replace(STANDARD_ENCODING_REGEX, (s, t) => STANDARD_ENCODING_REPLACEMENTS[t] ?? s);\n}\nfunction valueToString(value) {\n    return `${value}`;\n}\n/**\n * An HTTP request/response body that represents serialized parameters,\n * per the MIME type `application/x-www-form-urlencoded`.\n *\n * This class is immutable; all mutation operations return a new instance.\n *\n * @publicApi\n */\nclass HttpParams {\n    constructor(options = {}) {\n        this.updates = null;\n        this.cloneFrom = null;\n        this.encoder = options.encoder || new HttpUrlEncodingCodec();\n        if (!!options.fromString) {\n            if (!!options.fromObject) {\n                throw new Error(`Cannot specify both fromString and fromObject.`);\n            }\n            this.map = paramParser(options.fromString, this.encoder);\n        }\n        else if (!!options.fromObject) {\n            this.map = new Map();\n            Object.keys(options.fromObject).forEach(key => {\n                const value = options.fromObject[key];\n                // convert the values to strings\n                const values = Array.isArray(value) ? value.map(valueToString) : [valueToString(value)];\n                this.map.set(key, values);\n            });\n        }\n        else {\n            this.map = null;\n        }\n    }\n    /**\n     * Reports whether the body includes one or more values for a given parameter.\n     * @param param The parameter name.\n     * @returns True if the parameter has one or more values,\n     * false if it has no value or is not present.\n     */\n    has(param) {\n        this.init();\n        return this.map.has(param);\n    }\n    /**\n     * Retrieves the first value for a parameter.\n     * @param param The parameter name.\n     * @returns The first value of the given parameter,\n     * or `null` if the parameter is not present.\n     */\n    get(param) {\n        this.init();\n        const res = this.map.get(param);\n        return !!res ? res[0] : null;\n    }\n    /**\n     * Retrieves all values for a  parameter.\n     * @param param The parameter name.\n     * @returns All values in a string array,\n     * or `null` if the parameter not present.\n     */\n    getAll(param) {\n        this.init();\n        return this.map.get(param) || null;\n    }\n    /**\n     * Retrieves all the parameters for this body.\n     * @returns The parameter names in a string array.\n     */\n    keys() {\n        this.init();\n        return Array.from(this.map.keys());\n    }\n    /**\n     * Appends a new value to existing values for a parameter.\n     * @param param The parameter name.\n     * @param value The new value to add.\n     * @return A new body with the appended value.\n     */\n    append(param, value) {\n        return this.clone({ param, value, op: 'a' });\n    }\n    /**\n     * Constructs a new body with appended values for the given parameter name.\n     * @param params parameters and values\n     * @return A new body with the new value.\n     */\n    appendAll(params) {\n        const updates = [];\n        Object.keys(params).forEach(param => {\n            const value = params[param];\n            if (Array.isArray(value)) {\n                value.forEach(_value => {\n                    updates.push({ param, value: _value, op: 'a' });\n                });\n            }\n            else {\n                updates.push({ param, value: value, op: 'a' });\n            }\n        });\n        return this.clone(updates);\n    }\n    /**\n     * Replaces the value for a parameter.\n     * @param param The parameter name.\n     * @param value The new value.\n     * @return A new body with the new value.\n     */\n    set(param, value) {\n        return this.clone({ param, value, op: 's' });\n    }\n    /**\n     * Removes a given value or all values from a parameter.\n     * @param param The parameter name.\n     * @param value The value to remove, if provided.\n     * @return A new body with the given value removed, or with all values\n     * removed if no value is specified.\n     */\n    delete(param, value) {\n        return this.clone({ param, value, op: 'd' });\n    }\n    /**\n     * Serializes the body to an encoded string, where key-value pairs (separated by `=`) are\n     * separated by `&`s.\n     */\n    toString() {\n        this.init();\n        return this.keys()\n            .map(key => {\n            const eKey = this.encoder.encodeKey(key);\n            // `a: ['1']` produces `'a=1'`\n            // `b: []` produces `''`\n            // `c: ['1', '2']` produces `'c=1&c=2'`\n            return this.map.get(key).map(value => eKey + '=' + this.encoder.encodeValue(value))\n                .join('&');\n        })\n            // filter out empty values because `b: []` produces `''`\n            // which results in `a=1&&c=1&c=2` instead of `a=1&c=1&c=2` if we don't\n            .filter(param => param !== '')\n            .join('&');\n    }\n    clone(update) {\n        const clone = new HttpParams({ encoder: this.encoder });\n        clone.cloneFrom = this.cloneFrom || this;\n        clone.updates = (this.updates || []).concat(update);\n        return clone;\n    }\n    init() {\n        if (this.map === null) {\n            this.map = new Map();\n        }\n        if (this.cloneFrom !== null) {\n            this.cloneFrom.init();\n            this.cloneFrom.keys().forEach(key => this.map.set(key, this.cloneFrom.map.get(key)));\n            this.updates.forEach(update => {\n                switch (update.op) {\n                    case 'a':\n                    case 's':\n                        const base = (update.op === 'a' ? this.map.get(update.param) : undefined) || [];\n                        base.push(valueToString(update.value));\n                        this.map.set(update.param, base);\n                        break;\n                    case 'd':\n                        if (update.value !== undefined) {\n                            let base = this.map.get(update.param) || [];\n                            const idx = base.indexOf(valueToString(update.value));\n                            if (idx !== -1) {\n                                base.splice(idx, 1);\n                            }\n                            if (base.length > 0) {\n                                this.map.set(update.param, base);\n                            }\n                            else {\n                                this.map.delete(update.param);\n                            }\n                        }\n                        else {\n                            this.map.delete(update.param);\n                            break;\n                        }\n                }\n            });\n            this.cloneFrom = this.updates = null;\n        }\n    }\n}\n\n/**\n * A token used to manipulate and access values stored in `HttpContext`.\n *\n * @publicApi\n */\nclass HttpContextToken {\n    constructor(defaultValue) {\n        this.defaultValue = defaultValue;\n    }\n}\n/**\n * Http context stores arbitrary user defined values and ensures type safety without\n * actually knowing the types. It is backed by a `Map` and guarantees that keys do not clash.\n *\n * This context is mutable and is shared between cloned requests unless explicitly specified.\n *\n * @usageNotes\n *\n * ### Usage Example\n *\n * ```typescript\n * // inside cache.interceptors.ts\n * export const IS_CACHE_ENABLED = new HttpContextToken<boolean>(() => false);\n *\n * export class CacheInterceptor implements HttpInterceptor {\n *\n *   intercept(req: HttpRequest<any>, delegate: HttpHandler): Observable<HttpEvent<any>> {\n *     if (req.context.get(IS_CACHE_ENABLED) === true) {\n *       return ...;\n *     }\n *     return delegate.handle(req);\n *   }\n * }\n *\n * // inside a service\n *\n * this.httpClient.get('/api/weather', {\n *   context: new HttpContext().set(IS_CACHE_ENABLED, true)\n * }).subscribe(...);\n * ```\n *\n * @publicApi\n */\nclass HttpContext {\n    constructor() {\n        this.map = new Map();\n    }\n    /**\n     * Store a value in the context. If a value is already present it will be overwritten.\n     *\n     * @param token The reference to an instance of `HttpContextToken`.\n     * @param value The value to store.\n     *\n     * @returns A reference to itself for easy chaining.\n     */\n    set(token, value) {\n        this.map.set(token, value);\n        return this;\n    }\n    /**\n     * Retrieve the value associated with the given token.\n     *\n     * @param token The reference to an instance of `HttpContextToken`.\n     *\n     * @returns The stored value or default if one is defined.\n     */\n    get(token) {\n        if (!this.map.has(token)) {\n            this.map.set(token, token.defaultValue());\n        }\n        return this.map.get(token);\n    }\n    /**\n     * Delete the value associated with the given token.\n     *\n     * @param token The reference to an instance of `HttpContextToken`.\n     *\n     * @returns A reference to itself for easy chaining.\n     */\n    delete(token) {\n        this.map.delete(token);\n        return this;\n    }\n    /**\n     * Checks for existence of a given token.\n     *\n     * @param token The reference to an instance of `HttpContextToken`.\n     *\n     * @returns True if the token exists, false otherwise.\n     */\n    has(token) {\n        return this.map.has(token);\n    }\n    /**\n     * @returns a list of tokens currently stored in the context.\n     */\n    keys() {\n        return this.map.keys();\n    }\n}\n\n/**\n * Determine whether the given HTTP method may include a body.\n */\nfunction mightHaveBody(method) {\n    switch (method) {\n        case 'DELETE':\n        case 'GET':\n        case 'HEAD':\n        case 'OPTIONS':\n        case 'JSONP':\n            return false;\n        default:\n            return true;\n    }\n}\n/**\n * Safely assert whether the given value is an ArrayBuffer.\n *\n * In some execution environments ArrayBuffer is not defined.\n */\nfunction isArrayBuffer(value) {\n    return typeof ArrayBuffer !== 'undefined' && value instanceof ArrayBuffer;\n}\n/**\n * Safely assert whether the given value is a Blob.\n *\n * In some execution environments Blob is not defined.\n */\nfunction isBlob(value) {\n    return typeof Blob !== 'undefined' && value instanceof Blob;\n}\n/**\n * Safely assert whether the given value is a FormData instance.\n *\n * In some execution environments FormData is not defined.\n */\nfunction isFormData(value) {\n    return typeof FormData !== 'undefined' && value instanceof FormData;\n}\n/**\n * Safely assert whether the given value is a URLSearchParams instance.\n *\n * In some execution environments URLSearchParams is not defined.\n */\nfunction isUrlSearchParams(value) {\n    return typeof URLSearchParams !== 'undefined' && value instanceof URLSearchParams;\n}\n/**\n * An outgoing HTTP request with an optional typed body.\n *\n * `HttpRequest` represents an outgoing request, including URL, method,\n * headers, body, and other request configuration options. Instances should be\n * assumed to be immutable. To modify a `HttpRequest`, the `clone`\n * method should be used.\n *\n * @publicApi\n */\nclass HttpRequest {\n    constructor(method, url, third, fourth) {\n        this.url = url;\n        /**\n         * The request body, or `null` if one isn't set.\n         *\n         * Bodies are not enforced to be immutable, as they can include a reference to any\n         * user-defined data type. However, interceptors should take care to preserve\n         * idempotence by treating them as such.\n         */\n        this.body = null;\n        /**\n         * Whether this request should be made in a way that exposes progress events.\n         *\n         * Progress events are expensive (change detection runs on each event) and so\n         * they should only be requested if the consumer intends to monitor them.\n         */\n        this.reportProgress = false;\n        /**\n         * Whether this request should be sent with outgoing credentials (cookies).\n         */\n        this.withCredentials = false;\n        /**\n         * The expected response type of the server.\n         *\n         * This is used to parse the response appropriately before returning it to\n         * the requestee.\n         */\n        this.responseType = 'json';\n        this.method = method.toUpperCase();\n        // Next, need to figure out which argument holds the HttpRequestInit\n        // options, if any.\n        let options;\n        // Check whether a body argument is expected. The only valid way to omit\n        // the body argument is to use a known no-body method like GET.\n        if (mightHaveBody(this.method) || !!fourth) {\n            // Body is the third argument, options are the fourth.\n            this.body = (third !== undefined) ? third : null;\n            options = fourth;\n        }\n        else {\n            // No body required, options are the third argument. The body stays null.\n            options = third;\n        }\n        // If options have been passed, interpret them.\n        if (options) {\n            // Normalize reportProgress and withCredentials.\n            this.reportProgress = !!options.reportProgress;\n            this.withCredentials = !!options.withCredentials;\n            // Override default response type of 'json' if one is provided.\n            if (!!options.responseType) {\n                this.responseType = options.responseType;\n            }\n            // Override headers if they're provided.\n            if (!!options.headers) {\n                this.headers = options.headers;\n            }\n            if (!!options.context) {\n                this.context = options.context;\n            }\n            if (!!options.params) {\n                this.params = options.params;\n            }\n        }\n        // If no headers have been passed in, construct a new HttpHeaders instance.\n        if (!this.headers) {\n            this.headers = new HttpHeaders();\n        }\n        // If no context have been passed in, construct a new HttpContext instance.\n        if (!this.context) {\n            this.context = new HttpContext();\n        }\n        // If no parameters have been passed in, construct a new HttpUrlEncodedParams instance.\n        if (!this.params) {\n            this.params = new HttpParams();\n            this.urlWithParams = url;\n        }\n        else {\n            // Encode the parameters to a string in preparation for inclusion in the URL.\n            const params = this.params.toString();\n            if (params.length === 0) {\n                // No parameters, the visible URL is just the URL given at creation time.\n                this.urlWithParams = url;\n            }\n            else {\n                // Does the URL already have query parameters? Look for '?'.\n                const qIdx = url.indexOf('?');\n                // There are 3 cases to handle:\n                // 1) No existing parameters -> append '?' followed by params.\n                // 2) '?' exists and is followed by existing query string ->\n                //    append '&' followed by params.\n                // 3) '?' exists at the end of the url -> append params directly.\n                // This basically amounts to determining the character, if any, with\n                // which to join the URL and parameters.\n                const sep = qIdx === -1 ? '?' : (qIdx < url.length - 1 ? '&' : '');\n                this.urlWithParams = url + sep + params;\n            }\n        }\n    }\n    /**\n     * Transform the free-form body into a serialized format suitable for\n     * transmission to the server.\n     */\n    serializeBody() {\n        // If no body is present, no need to serialize it.\n        if (this.body === null) {\n            return null;\n        }\n        // Check whether the body is already in a serialized form. If so,\n        // it can just be returned directly.\n        if (isArrayBuffer(this.body) || isBlob(this.body) || isFormData(this.body) ||\n            isUrlSearchParams(this.body) || typeof this.body === 'string') {\n            return this.body;\n        }\n        // Check whether the body is an instance of HttpUrlEncodedParams.\n        if (this.body instanceof HttpParams) {\n            return this.body.toString();\n        }\n        // Check whether the body is an object or array, and serialize with JSON if so.\n        if (typeof this.body === 'object' || typeof this.body === 'boolean' ||\n            Array.isArray(this.body)) {\n            return JSON.stringify(this.body);\n        }\n        // Fall back on toString() for everything else.\n        return this.body.toString();\n    }\n    /**\n     * Examine the body and attempt to infer an appropriate MIME type\n     * for it.\n     *\n     * If no such type can be inferred, this method will return `null`.\n     */\n    detectContentTypeHeader() {\n        // An empty body has no content type.\n        if (this.body === null) {\n            return null;\n        }\n        // FormData bodies rely on the browser's content type assignment.\n        if (isFormData(this.body)) {\n            return null;\n        }\n        // Blobs usually have their own content type. If it doesn't, then\n        // no type can be inferred.\n        if (isBlob(this.body)) {\n            return this.body.type || null;\n        }\n        // Array buffers have unknown contents and thus no type can be inferred.\n        if (isArrayBuffer(this.body)) {\n            return null;\n        }\n        // Technically, strings could be a form of JSON data, but it's safe enough\n        // to assume they're plain strings.\n        if (typeof this.body === 'string') {\n            return 'text/plain';\n        }\n        // `HttpUrlEncodedParams` has its own content-type.\n        if (this.body instanceof HttpParams) {\n            return 'application/x-www-form-urlencoded;charset=UTF-8';\n        }\n        // Arrays, objects, boolean and numbers will be encoded as JSON.\n        if (typeof this.body === 'object' || typeof this.body === 'number' ||\n            typeof this.body === 'boolean') {\n            return 'application/json';\n        }\n        // No type could be inferred.\n        return null;\n    }\n    clone(update = {}) {\n        // For method, url, and responseType, take the current value unless\n        // it is overridden in the update hash.\n        const method = update.method || this.method;\n        const url = update.url || this.url;\n        const responseType = update.responseType || this.responseType;\n        // The body is somewhat special - a `null` value in update.body means\n        // whatever current body is present is being overridden with an empty\n        // body, whereas an `undefined` value in update.body implies no\n        // override.\n        const body = (update.body !== undefined) ? update.body : this.body;\n        // Carefully handle the boolean options to differentiate between\n        // `false` and `undefined` in the update args.\n        const withCredentials = (update.withCredentials !== undefined) ? update.withCredentials : this.withCredentials;\n        const reportProgress = (update.reportProgress !== undefined) ? update.reportProgress : this.reportProgress;\n        // Headers and params may be appended to if `setHeaders` or\n        // `setParams` are used.\n        let headers = update.headers || this.headers;\n        let params = update.params || this.params;\n        // Pass on context if needed\n        const context = update.context ?? this.context;\n        // Check whether the caller has asked to add headers.\n        if (update.setHeaders !== undefined) {\n            // Set every requested header.\n            headers =\n                Object.keys(update.setHeaders)\n                    .reduce((headers, name) => headers.set(name, update.setHeaders[name]), headers);\n        }\n        // Check whether the caller has asked to set params.\n        if (update.setParams) {\n            // Set every requested param.\n            params = Object.keys(update.setParams)\n                .reduce((params, param) => params.set(param, update.setParams[param]), params);\n        }\n        // Finally, construct the new HttpRequest using the pieces from above.\n        return new HttpRequest(method, url, body, {\n            params,\n            headers,\n            context,\n            reportProgress,\n            responseType,\n            withCredentials,\n        });\n    }\n}\n\n/**\n * Type enumeration for the different kinds of `HttpEvent`.\n *\n * @publicApi\n */\nvar HttpEventType;\n(function (HttpEventType) {\n    /**\n     * The request was sent out over the wire.\n     */\n    HttpEventType[HttpEventType[\"Sent\"] = 0] = \"Sent\";\n    /**\n     * An upload progress event was received.\n     */\n    HttpEventType[HttpEventType[\"UploadProgress\"] = 1] = \"UploadProgress\";\n    /**\n     * The response status code and headers were received.\n     */\n    HttpEventType[HttpEventType[\"ResponseHeader\"] = 2] = \"ResponseHeader\";\n    /**\n     * A download progress event was received.\n     */\n    HttpEventType[HttpEventType[\"DownloadProgress\"] = 3] = \"DownloadProgress\";\n    /**\n     * The full response including the body was received.\n     */\n    HttpEventType[HttpEventType[\"Response\"] = 4] = \"Response\";\n    /**\n     * A custom event from an interceptor or a backend.\n     */\n    HttpEventType[HttpEventType[\"User\"] = 5] = \"User\";\n})(HttpEventType || (HttpEventType = {}));\n/**\n * Base class for both `HttpResponse` and `HttpHeaderResponse`.\n *\n * @publicApi\n */\nclass HttpResponseBase {\n    /**\n     * Super-constructor for all responses.\n     *\n     * The single parameter accepted is an initialization hash. Any properties\n     * of the response passed there will override the default values.\n     */\n    constructor(init, defaultStatus = 200 /* HttpStatusCode.Ok */, defaultStatusText = 'OK') {\n        // If the hash has values passed, use them to initialize the response.\n        // Otherwise use the default values.\n        this.headers = init.headers || new HttpHeaders();\n        this.status = init.status !== undefined ? init.status : defaultStatus;\n        this.statusText = init.statusText || defaultStatusText;\n        this.url = init.url || null;\n        // Cache the ok value to avoid defining a getter.\n        this.ok = this.status >= 200 && this.status < 300;\n    }\n}\n/**\n * A partial HTTP response which only includes the status and header data,\n * but no response body.\n *\n * `HttpHeaderResponse` is a `HttpEvent` available on the response\n * event stream, only when progress events are requested.\n *\n * @publicApi\n */\nclass HttpHeaderResponse extends HttpResponseBase {\n    /**\n     * Create a new `HttpHeaderResponse` with the given parameters.\n     */\n    constructor(init = {}) {\n        super(init);\n        this.type = HttpEventType.ResponseHeader;\n    }\n    /**\n     * Copy this `HttpHeaderResponse`, overriding its contents with the\n     * given parameter hash.\n     */\n    clone(update = {}) {\n        // Perform a straightforward initialization of the new HttpHeaderResponse,\n        // overriding the current parameters with new ones if given.\n        return new HttpHeaderResponse({\n            headers: update.headers || this.headers,\n            status: update.status !== undefined ? update.status : this.status,\n            statusText: update.statusText || this.statusText,\n            url: update.url || this.url || undefined,\n        });\n    }\n}\n/**\n * A full HTTP response, including a typed response body (which may be `null`\n * if one was not returned).\n *\n * `HttpResponse` is a `HttpEvent` available on the response event\n * stream.\n *\n * @publicApi\n */\nclass HttpResponse extends HttpResponseBase {\n    /**\n     * Construct a new `HttpResponse`.\n     */\n    constructor(init = {}) {\n        super(init);\n        this.type = HttpEventType.Response;\n        this.body = init.body !== undefined ? init.body : null;\n    }\n    clone(update = {}) {\n        return new HttpResponse({\n            body: (update.body !== undefined) ? update.body : this.body,\n            headers: update.headers || this.headers,\n            status: (update.status !== undefined) ? update.status : this.status,\n            statusText: update.statusText || this.statusText,\n            url: update.url || this.url || undefined,\n        });\n    }\n}\n/**\n * A response that represents an error or failure, either from a\n * non-successful HTTP status, an error while executing the request,\n * or some other failure which occurred during the parsing of the response.\n *\n * Any error returned on the `Observable` response stream will be\n * wrapped in an `HttpErrorResponse` to provide additional context about\n * the state of the HTTP layer when the error occurred. The error property\n * will contain either a wrapped Error object or the error response returned\n * from the server.\n *\n * @publicApi\n */\nclass HttpErrorResponse extends HttpResponseBase {\n    constructor(init) {\n        // Initialize with a default status of 0 / Unknown Error.\n        super(init, 0, 'Unknown Error');\n        this.name = 'HttpErrorResponse';\n        /**\n         * Errors are never okay, even when the status code is in the 2xx success range.\n         */\n        this.ok = false;\n        // If the response was successful, then this was a parse error. Otherwise, it was\n        // a protocol-level failure of some sort. Either the request failed in transit\n        // or the server returned an unsuccessful status code.\n        if (this.status >= 200 && this.status < 300) {\n            this.message = `Http failure during parsing for ${init.url || '(unknown url)'}`;\n        }\n        else {\n            this.message = `Http failure response for ${init.url || '(unknown url)'}: ${init.status} ${init.statusText}`;\n        }\n        this.error = init.error || null;\n    }\n}\n\n/**\n * Constructs an instance of `HttpRequestOptions<T>` from a source `HttpMethodOptions` and\n * the given `body`. This function clones the object and adds the body.\n *\n * Note that the `responseType` *options* value is a String that identifies the\n * single data type of the response.\n * A single overload version of the method handles each response type.\n * The value of `responseType` cannot be a union, as the combined signature could imply.\n *\n */\nfunction addBody(options, body) {\n    return {\n        body,\n        headers: options.headers,\n        context: options.context,\n        observe: options.observe,\n        params: options.params,\n        reportProgress: options.reportProgress,\n        responseType: options.responseType,\n        withCredentials: options.withCredentials,\n    };\n}\n/**\n * Performs HTTP requests.\n * This service is available as an injectable class, with methods to perform HTTP requests.\n * Each request method has multiple signatures, and the return type varies based on\n * the signature that is called (mainly the values of `observe` and `responseType`).\n *\n * Note that the `responseType` *options* value is a String that identifies the\n * single data type of the response.\n * A single overload version of the method handles each response type.\n * The value of `responseType` cannot be a union, as the combined signature could imply.\n\n *\n * @usageNotes\n * Sample HTTP requests for the [Tour of Heroes](/tutorial/tour-of-heroes/toh-pt0) application.\n *\n * ### HTTP Request Example\n *\n * ```\n *  // GET heroes whose name contains search term\n * searchHeroes(term: string): observable<Hero[]>{\n *\n *  const params = new HttpParams({fromString: 'name=term'});\n *    return this.httpClient.request('GET', this.heroesUrl, {responseType:'json', params});\n * }\n * ```\n *\n * Alternatively, the parameter string can be used without invoking HttpParams\n * by directly joining to the URL.\n * ```\n * this.httpClient.request('GET', this.heroesUrl + '?' + 'name=term', {responseType:'json'});\n * ```\n *\n *\n * ### JSONP Example\n * ```\n * requestJsonp(url, callback = 'callback') {\n *  return this.httpClient.jsonp(this.heroesURL, callback);\n * }\n * ```\n *\n * ### PATCH Example\n * ```\n * // PATCH one of the heroes' name\n * patchHero (id: number, heroName: string): Observable<{}> {\n * const url = `${this.heroesUrl}/${id}`;   // PATCH api/heroes/42\n *  return this.httpClient.patch(url, {name: heroName}, httpOptions)\n *    .pipe(catchError(this.handleError('patchHero')));\n * }\n * ```\n *\n * @see [HTTP Guide](guide/http)\n * @see [HTTP Request](api/common/http/HttpRequest)\n *\n * @publicApi\n */\nclass HttpClient {\n    constructor(handler) {\n        this.handler = handler;\n    }\n    /**\n     * Constructs an observable for a generic HTTP request that, when subscribed,\n     * fires the request through the chain of registered interceptors and on to the\n     * server.\n     *\n     * You can pass an `HttpRequest` directly as the only parameter. In this case,\n     * the call returns an observable of the raw `HttpEvent` stream.\n     *\n     * Alternatively you can pass an HTTP method as the first parameter,\n     * a URL string as the second, and an options hash containing the request body as the third.\n     * See `addBody()`. In this case, the specified `responseType` and `observe` options determine the\n     * type of returned observable.\n     *   * The `responseType` value determines how a successful response body is parsed.\n     *   * If `responseType` is the default `json`, you can pass a type interface for the resulting\n     * object as a type parameter to the call.\n     *\n     * The `observe` value determines the return type, according to what you are interested in\n     * observing.\n     *   * An `observe` value of events returns an observable of the raw `HttpEvent` stream, including\n     * progress events by default.\n     *   * An `observe` value of response returns an observable of `HttpResponse<T>`,\n     * where the `T` parameter depends on the `responseType` and any optionally provided type\n     * parameter.\n     *   * An `observe` value of body returns an observable of `<T>` with the same `T` body type.\n     *\n     */\n    request(first, url, options = {}) {\n        let req;\n        // First, check whether the primary argument is an instance of `HttpRequest`.\n        if (first instanceof HttpRequest) {\n            // It is. The other arguments must be undefined (per the signatures) and can be\n            // ignored.\n            req = first;\n        }\n        else {\n            // It's a string, so it represents a URL. Construct a request based on it,\n            // and incorporate the remaining arguments (assuming `GET` unless a method is\n            // provided.\n            // Figure out the headers.\n            let headers = undefined;\n            if (options.headers instanceof HttpHeaders) {\n                headers = options.headers;\n            }\n            else {\n                headers = new HttpHeaders(options.headers);\n            }\n            // Sort out parameters.\n            let params = undefined;\n            if (!!options.params) {\n                if (options.params instanceof HttpParams) {\n                    params = options.params;\n                }\n                else {\n                    params = new HttpParams({ fromObject: options.params });\n                }\n            }\n            // Construct the request.\n            req = new HttpRequest(first, url, (options.body !== undefined ? options.body : null), {\n                headers,\n                context: options.context,\n                params,\n                reportProgress: options.reportProgress,\n                // By default, JSON is assumed to be returned for all calls.\n                responseType: options.responseType || 'json',\n                withCredentials: options.withCredentials,\n            });\n        }\n        // Start with an Observable.of() the initial request, and run the handler (which\n        // includes all interceptors) inside a concatMap(). This way, the handler runs\n        // inside an Observable chain, which causes interceptors to be re-run on every\n        // subscription (this also makes retries re-run the handler, including interceptors).\n        const events$ = of(req).pipe(concatMap((req) => this.handler.handle(req)));\n        // If coming via the API signature which accepts a previously constructed HttpRequest,\n        // the only option is to get the event stream. Otherwise, return the event stream if\n        // that is what was requested.\n        if (first instanceof HttpRequest || options.observe === 'events') {\n            return events$;\n        }\n        // The requested stream contains either the full response or the body. In either\n        // case, the first step is to filter the event stream to extract a stream of\n        // responses(s).\n        const res$ = events$.pipe(filter((event) => event instanceof HttpResponse));\n        // Decide which stream to return.\n        switch (options.observe || 'body') {\n            case 'body':\n                // The requested stream is the body. Map the response stream to the response\n                // body. This could be done more simply, but a misbehaving interceptor might\n                // transform the response body into a different format and ignore the requested\n                // responseType. Guard against this by validating that the response is of the\n                // requested type.\n                switch (req.responseType) {\n                    case 'arraybuffer':\n                        return res$.pipe(map((res) => {\n                            // Validate that the body is an ArrayBuffer.\n                            if (res.body !== null && !(res.body instanceof ArrayBuffer)) {\n                                throw new Error('Response is not an ArrayBuffer.');\n                            }\n                            return res.body;\n                        }));\n                    case 'blob':\n                        return res$.pipe(map((res) => {\n                            // Validate that the body is a Blob.\n                            if (res.body !== null && !(res.body instanceof Blob)) {\n                                throw new Error('Response is not a Blob.');\n                            }\n                            return res.body;\n                        }));\n                    case 'text':\n                        return res$.pipe(map((res) => {\n                            // Validate that the body is a string.\n                            if (res.body !== null && typeof res.body !== 'string') {\n                                throw new Error('Response is not a string.');\n                            }\n                            return res.body;\n                        }));\n                    case 'json':\n                    default:\n                        // No validation needed for JSON responses, as they can be of any type.\n                        return res$.pipe(map((res) => res.body));\n                }\n            case 'response':\n                // The response stream was requested directly, so return it.\n                return res$;\n            default:\n                // Guard against new future observe types being added.\n                throw new Error(`Unreachable: unhandled observe type ${options.observe}}`);\n        }\n    }\n    /**\n     * Constructs an observable that, when subscribed, causes the configured\n     * `DELETE` request to execute on the server. See the individual overloads for\n     * details on the return type.\n     *\n     * @param url     The endpoint URL.\n     * @param options The HTTP options to send with the request.\n     *\n     */\n    delete(url, options = {}) {\n        return this.request('DELETE', url, options);\n    }\n    /**\n     * Constructs an observable that, when subscribed, causes the configured\n     * `GET` request to execute on the server. See the individual overloads for\n     * details on the return type.\n     */\n    get(url, options = {}) {\n        return this.request('GET', url, options);\n    }\n    /**\n     * Constructs an observable that, when subscribed, causes the configured\n     * `HEAD` request to execute on the server. The `HEAD` method returns\n     * meta information about the resource without transferring the\n     * resource itself. See the individual overloads for\n     * details on the return type.\n     */\n    head(url, options = {}) {\n        return this.request('HEAD', url, options);\n    }\n    /**\n     * Constructs an `Observable` that, when subscribed, causes a request with the special method\n     * `JSONP` to be dispatched via the interceptor pipeline.\n     * The [JSONP pattern](https://en.wikipedia.org/wiki/JSONP) works around limitations of certain\n     * API endpoints that don't support newer,\n     * and preferable [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) protocol.\n     * JSONP treats the endpoint API as a JavaScript file and tricks the browser to process the\n     * requests even if the API endpoint is not located on the same domain (origin) as the client-side\n     * application making the request.\n     * The endpoint API must support JSONP callback for JSONP requests to work.\n     * The resource API returns the JSON response wrapped in a callback function.\n     * You can pass the callback function name as one of the query parameters.\n     * Note that JSONP requests can only be used with `GET` requests.\n     *\n     * @param url The resource URL.\n     * @param callbackParam The callback function name.\n     *\n     */\n    jsonp(url, callbackParam) {\n        return this.request('JSONP', url, {\n            params: new HttpParams().append(callbackParam, 'JSONP_CALLBACK'),\n            observe: 'body',\n            responseType: 'json',\n        });\n    }\n    /**\n     * Constructs an `Observable` that, when subscribed, causes the configured\n     * `OPTIONS` request to execute on the server. This method allows the client\n     * to determine the supported HTTP methods and other capabilities of an endpoint,\n     * without implying a resource action. See the individual overloads for\n     * details on the return type.\n     */\n    options(url, options = {}) {\n        return this.request('OPTIONS', url, options);\n    }\n    /**\n     * Constructs an observable that, when subscribed, causes the configured\n     * `PATCH` request to execute on the server. See the individual overloads for\n     * details on the return type.\n     */\n    patch(url, body, options = {}) {\n        return this.request('PATCH', url, addBody(options, body));\n    }\n    /**\n     * Constructs an observable that, when subscribed, causes the configured\n     * `POST` request to execute on the server. The server responds with the location of\n     * the replaced resource. See the individual overloads for\n     * details on the return type.\n     */\n    post(url, body, options = {}) {\n        return this.request('POST', url, addBody(options, body));\n    }\n    /**\n     * Constructs an observable that, when subscribed, causes the configured\n     * `PUT` request to execute on the server. The `PUT` method replaces an existing resource\n     * with a new set of values.\n     * See the individual overloads for details on the return type.\n     */\n    put(url, body, options = {}) {\n        return this.request('PUT', url, addBody(options, body));\n    }\n}\nHttpClient.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: HttpClient, deps: [{ token: HttpHandler }], target: i0.ɵɵFactoryTarget.Injectable });\nHttpClient.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: HttpClient });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: HttpClient, decorators: [{\n            type: Injectable\n        }], ctorParameters: function () { return [{ type: HttpHandler }]; } });\n\nfunction interceptorChainEndFn(req, finalHandlerFn) {\n    return finalHandlerFn(req);\n}\n/**\n * Constructs a `ChainedInterceptorFn` which adapts a legacy `HttpInterceptor` to the\n * `ChainedInterceptorFn` interface.\n */\nfunction adaptLegacyInterceptorToChain(chainTailFn, interceptor) {\n    return (initialRequest, finalHandlerFn) => interceptor.intercept(initialRequest, {\n        handle: (downstreamRequest) => chainTailFn(downstreamRequest, finalHandlerFn),\n    });\n}\n/**\n * Constructs a `ChainedInterceptorFn` which wraps and invokes a functional interceptor in the given\n * injector.\n */\nfunction chainedInterceptorFn(chainTailFn, interceptorFn, injector) {\n    // clang-format off\n    return (initialRequest, finalHandlerFn) => injector.runInContext(() => interceptorFn(initialRequest, downstreamRequest => chainTailFn(downstreamRequest, finalHandlerFn)));\n    // clang-format on\n}\n/**\n * A multi-provider token that represents the array of registered\n * `HttpInterceptor` objects.\n *\n * @publicApi\n */\nconst HTTP_INTERCEPTORS = new InjectionToken('HTTP_INTERCEPTORS');\n/**\n * A multi-provided token of `HttpInterceptorFn`s.\n */\nconst HTTP_INTERCEPTOR_FNS = new InjectionToken('HTTP_INTERCEPTOR_FNS');\n/**\n * Creates an `HttpInterceptorFn` which lazily initializes an interceptor chain from the legacy\n * class-based interceptors and runs the request through it.\n */\nfunction legacyInterceptorFnFactory() {\n    let chain = null;\n    return (req, handler) => {\n        if (chain === null) {\n            const interceptors = inject(HTTP_INTERCEPTORS, { optional: true }) ?? [];\n            // Note: interceptors are wrapped right-to-left so that final execution order is\n            // left-to-right. That is, if `interceptors` is the array `[a, b, c]`, we want to\n            // produce a chain that is conceptually `c(b(a(end)))`, which we build from the inside\n            // out.\n            chain = interceptors.reduceRight(adaptLegacyInterceptorToChain, interceptorChainEndFn);\n        }\n        return chain(req, handler);\n    };\n}\nclass HttpInterceptorHandler extends HttpHandler {\n    constructor(backend, injector) {\n        super();\n        this.backend = backend;\n        this.injector = injector;\n        this.chain = null;\n    }\n    handle(initialRequest) {\n        if (this.chain === null) {\n            const dedupedInterceptorFns = Array.from(new Set(this.injector.get(HTTP_INTERCEPTOR_FNS)));\n            // Note: interceptors are wrapped right-to-left so that final execution order is\n            // left-to-right. That is, if `dedupedInterceptorFns` is the array `[a, b, c]`, we want to\n            // produce a chain that is conceptually `c(b(a(end)))`, which we build from the inside\n            // out.\n            this.chain = dedupedInterceptorFns.reduceRight((nextSequencedFn, interceptorFn) => chainedInterceptorFn(nextSequencedFn, interceptorFn, this.injector), interceptorChainEndFn);\n        }\n        return this.chain(initialRequest, downstreamRequest => this.backend.handle(downstreamRequest));\n    }\n}\nHttpInterceptorHandler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: HttpInterceptorHandler, deps: [{ token: HttpBackend }, { token: i0.EnvironmentInjector }], target: i0.ɵɵFactoryTarget.Injectable });\nHttpInterceptorHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: HttpInterceptorHandler });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: HttpInterceptorHandler, decorators: [{\n            type: Injectable\n        }], ctorParameters: function () { return [{ type: HttpBackend }, { type: i0.EnvironmentInjector }]; } });\n\n// Every request made through JSONP needs a callback name that's unique across the\n// whole page. Each request is assigned an id and the callback name is constructed\n// from that. The next id to be assigned is tracked in a global variable here that\n// is shared among all applications on the page.\nlet nextRequestId = 0;\n/**\n * When a pending <script> is unsubscribed we'll move it to this document, so it won't be\n * executed.\n */\nlet foreignDocument;\n// Error text given when a JSONP script is injected, but doesn't invoke the callback\n// passed in its URL.\nconst JSONP_ERR_NO_CALLBACK = 'JSONP injected script did not invoke callback.';\n// Error text given when a request is passed to the JsonpClientBackend that doesn't\n// have a request method JSONP.\nconst JSONP_ERR_WRONG_METHOD = 'JSONP requests must use JSONP request method.';\nconst JSONP_ERR_WRONG_RESPONSE_TYPE = 'JSONP requests must use Json response type.';\n// Error text given when a request is passed to the JsonpClientBackend that has\n// headers set\nconst JSONP_ERR_HEADERS_NOT_SUPPORTED = 'JSONP requests do not support headers.';\n/**\n * DI token/abstract type representing a map of JSONP callbacks.\n *\n * In the browser, this should always be the `window` object.\n *\n *\n */\nclass JsonpCallbackContext {\n}\n/**\n * Factory function that determines where to store JSONP callbacks.\n *\n * Ordinarily JSONP callbacks are stored on the `window` object, but this may not exist\n * in test environments. In that case, callbacks are stored on an anonymous object instead.\n *\n *\n */\nfunction jsonpCallbackContext() {\n    if (typeof window === 'object') {\n        return window;\n    }\n    return {};\n}\n/**\n * Processes an `HttpRequest` with the JSONP method,\n * by performing JSONP style requests.\n * @see {@link HttpHandler}\n * @see {@link HttpXhrBackend}\n *\n * @publicApi\n */\nclass JsonpClientBackend {\n    constructor(callbackMap, document) {\n        this.callbackMap = callbackMap;\n        this.document = document;\n        /**\n         * A resolved promise that can be used to schedule microtasks in the event handlers.\n         */\n        this.resolvedPromise = Promise.resolve();\n    }\n    /**\n     * Get the name of the next callback method, by incrementing the global `nextRequestId`.\n     */\n    nextCallback() {\n        return `ng_jsonp_callback_${nextRequestId++}`;\n    }\n    /**\n     * Processes a JSONP request and returns an event stream of the results.\n     * @param req The request object.\n     * @returns An observable of the response events.\n     *\n     */\n    handle(req) {\n        // Firstly, check both the method and response type. If either doesn't match\n        // then the request was improperly routed here and cannot be handled.\n        if (req.method !== 'JSONP') {\n            throw new Error(JSONP_ERR_WRONG_METHOD);\n        }\n        else if (req.responseType !== 'json') {\n            throw new Error(JSONP_ERR_WRONG_RESPONSE_TYPE);\n        }\n        // Check the request headers. JSONP doesn't support headers and\n        // cannot set any that were supplied.\n        if (req.headers.keys().length > 0) {\n            throw new Error(JSONP_ERR_HEADERS_NOT_SUPPORTED);\n        }\n        // Everything else happens inside the Observable boundary.\n        return new Observable((observer) => {\n            // The first step to make a request is to generate the callback name, and replace the\n            // callback placeholder in the URL with the name. Care has to be taken here to ensure\n            // a trailing &, if matched, gets inserted back into the URL in the correct place.\n            const callback = this.nextCallback();\n            const url = req.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/, `=${callback}$1`);\n            // Construct the <script> tag and point it at the URL.\n            const node = this.document.createElement('script');\n            node.src = url;\n            // A JSONP request requires waiting for multiple callbacks. These variables\n            // are closed over and track state across those callbacks.\n            // The response object, if one has been received, or null otherwise.\n            let body = null;\n            // Whether the response callback has been called.\n            let finished = false;\n            // Set the response callback in this.callbackMap (which will be the window\n            // object in the browser. The script being loaded via the <script> tag will\n            // eventually call this callback.\n            this.callbackMap[callback] = (data) => {\n                // Data has been received from the JSONP script. Firstly, delete this callback.\n                delete this.callbackMap[callback];\n                // Set state to indicate data was received.\n                body = data;\n                finished = true;\n            };\n            // cleanup() is a utility closure that removes the <script> from the page and\n            // the response callback from the window. This logic is used in both the\n            // success, error, and cancellation paths, so it's extracted out for convenience.\n            const cleanup = () => {\n                // Remove the <script> tag if it's still on the page.\n                if (node.parentNode) {\n                    node.parentNode.removeChild(node);\n                }\n                // Remove the response callback from the callbackMap (window object in the\n                // browser).\n                delete this.callbackMap[callback];\n            };\n            // onLoad() is the success callback which runs after the response callback\n            // if the JSONP script loads successfully. The event itself is unimportant.\n            // If something went wrong, onLoad() may run without the response callback\n            // having been invoked.\n            const onLoad = (event) => {\n                // We wrap it in an extra Promise, to ensure the microtask\n                // is scheduled after the loaded endpoint has executed any potential microtask itself,\n                // which is not guaranteed in Internet Explorer and EdgeHTML. See issue #39496\n                this.resolvedPromise.then(() => {\n                    // Cleanup the page.\n                    cleanup();\n                    // Check whether the response callback has run.\n                    if (!finished) {\n                        // It hasn't, something went wrong with the request. Return an error via\n                        // the Observable error path. All JSONP errors have status 0.\n                        observer.error(new HttpErrorResponse({\n                            url,\n                            status: 0,\n                            statusText: 'JSONP Error',\n                            error: new Error(JSONP_ERR_NO_CALLBACK),\n                        }));\n                        return;\n                    }\n                    // Success. body either contains the response body or null if none was\n                    // returned.\n                    observer.next(new HttpResponse({\n                        body,\n                        status: 200 /* HttpStatusCode.Ok */,\n                        statusText: 'OK',\n                        url,\n                    }));\n                    // Complete the stream, the response is over.\n                    observer.complete();\n                });\n            };\n            // onError() is the error callback, which runs if the script returned generates\n            // a Javascript error. It emits the error via the Observable error channel as\n            // a HttpErrorResponse.\n            const onError = (error) => {\n                cleanup();\n                // Wrap the error in a HttpErrorResponse.\n                observer.error(new HttpErrorResponse({\n                    error,\n                    status: 0,\n                    statusText: 'JSONP Error',\n                    url,\n                }));\n            };\n            // Subscribe to both the success (load) and error events on the <script> tag,\n            // and add it to the page.\n            node.addEventListener('load', onLoad);\n            node.addEventListener('error', onError);\n            this.document.body.appendChild(node);\n            // The request has now been successfully sent.\n            observer.next({ type: HttpEventType.Sent });\n            // Cancellation handler.\n            return () => {\n                if (!finished) {\n                    this.removeListeners(node);\n                }\n                // And finally, clean up the page.\n                cleanup();\n            };\n        });\n    }\n    removeListeners(script) {\n        // Issue #34818\n        // Changing <script>'s ownerDocument will prevent it from execution.\n        // https://html.spec.whatwg.org/multipage/scripting.html#execute-the-script-block\n        if (!foreignDocument) {\n            foreignDocument = this.document.implementation.createHTMLDocument();\n        }\n        foreignDocument.adoptNode(script);\n    }\n}\nJsonpClientBackend.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: JsonpClientBackend, deps: [{ token: JsonpCallbackContext }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });\nJsonpClientBackend.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: JsonpClientBackend });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: JsonpClientBackend, decorators: [{\n            type: Injectable\n        }], ctorParameters: function () { return [{ type: JsonpCallbackContext }, { type: undefined, decorators: [{\n                    type: Inject,\n                    args: [DOCUMENT]\n                }] }]; } });\n/**\n * Identifies requests with the method JSONP and shifts them to the `JsonpClientBackend`.\n */\nfunction jsonpInterceptorFn(req, next) {\n    if (req.method === 'JSONP') {\n        return inject(JsonpClientBackend).handle(req);\n    }\n    // Fall through for normal HTTP requests.\n    return next(req);\n}\n/**\n * Identifies requests with the method JSONP and\n * shifts them to the `JsonpClientBackend`.\n *\n * @see {@link HttpInterceptor}\n *\n * @publicApi\n */\nclass JsonpInterceptor {\n    constructor(injector) {\n        this.injector = injector;\n    }\n    /**\n     * Identifies and handles a given JSONP request.\n     * @param initialRequest The outgoing request object to handle.\n     * @param next The next interceptor in the chain, or the backend\n     * if no interceptors remain in the chain.\n     * @returns An observable of the event stream.\n     */\n    intercept(initialRequest, next) {\n        return this.injector.runInContext(() => jsonpInterceptorFn(initialRequest, downstreamRequest => next.handle(downstreamRequest)));\n    }\n}\nJsonpInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: JsonpInterceptor, deps: [{ token: i0.EnvironmentInjector }], target: i0.ɵɵFactoryTarget.Injectable });\nJsonpInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: JsonpInterceptor });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: JsonpInterceptor, decorators: [{\n            type: Injectable\n        }], ctorParameters: function () { return [{ type: i0.EnvironmentInjector }]; } });\n\nconst XSSI_PREFIX = /^\\)\\]\\}',?\\n/;\n/**\n * Determine an appropriate URL for the response, by checking either\n * XMLHttpRequest.responseURL or the X-Request-URL header.\n */\nfunction getResponseUrl(xhr) {\n    if ('responseURL' in xhr && xhr.responseURL) {\n        return xhr.responseURL;\n    }\n    if (/^X-Request-URL:/m.test(xhr.getAllResponseHeaders())) {\n        return xhr.getResponseHeader('X-Request-URL');\n    }\n    return null;\n}\n/**\n * Uses `XMLHttpRequest` to send requests to a backend server.\n * @see {@link HttpHandler}\n * @see {@link JsonpClientBackend}\n *\n * @publicApi\n */\nclass HttpXhrBackend {\n    constructor(xhrFactory) {\n        this.xhrFactory = xhrFactory;\n    }\n    /**\n     * Processes a request and returns a stream of response events.\n     * @param req The request object.\n     * @returns An observable of the response events.\n     */\n    handle(req) {\n        // Quick check to give a better error message when a user attempts to use\n        // HttpClient.jsonp() without installing the HttpClientJsonpModule\n        if (req.method === 'JSONP') {\n            throw new Error(`Attempted to construct Jsonp request without HttpClientJsonpModule installed.`);\n        }\n        // Everything happens on Observable subscription.\n        return new Observable((observer) => {\n            // Start by setting up the XHR object with request method, URL, and withCredentials flag.\n            const xhr = this.xhrFactory.build();\n            xhr.open(req.method, req.urlWithParams);\n            if (!!req.withCredentials) {\n                xhr.withCredentials = true;\n            }\n            // Add all the requested headers.\n            req.headers.forEach((name, values) => xhr.setRequestHeader(name, values.join(',')));\n            // Add an Accept header if one isn't present already.\n            if (!req.headers.has('Accept')) {\n                xhr.setRequestHeader('Accept', 'application/json, text/plain, */*');\n            }\n            // Auto-detect the Content-Type header if one isn't present already.\n            if (!req.headers.has('Content-Type')) {\n                const detectedType = req.detectContentTypeHeader();\n                // Sometimes Content-Type detection fails.\n                if (detectedType !== null) {\n                    xhr.setRequestHeader('Content-Type', detectedType);\n                }\n            }\n            // Set the responseType if one was requested.\n            if (req.responseType) {\n                const responseType = req.responseType.toLowerCase();\n                // JSON responses need to be processed as text. This is because if the server\n                // returns an XSSI-prefixed JSON response, the browser will fail to parse it,\n                // xhr.response will be null, and xhr.responseText cannot be accessed to\n                // retrieve the prefixed JSON data in order to strip the prefix. Thus, all JSON\n                // is parsed by first requesting text and then applying JSON.parse.\n                xhr.responseType = ((responseType !== 'json') ? responseType : 'text');\n            }\n            // Serialize the request body if one is present. If not, this will be set to null.\n            const reqBody = req.serializeBody();\n            // If progress events are enabled, response headers will be delivered\n            // in two events - the HttpHeaderResponse event and the full HttpResponse\n            // event. However, since response headers don't change in between these\n            // two events, it doesn't make sense to parse them twice. So headerResponse\n            // caches the data extracted from the response whenever it's first parsed,\n            // to ensure parsing isn't duplicated.\n            let headerResponse = null;\n            // partialFromXhr extracts the HttpHeaderResponse from the current XMLHttpRequest\n            // state, and memoizes it into headerResponse.\n            const partialFromXhr = () => {\n                if (headerResponse !== null) {\n                    return headerResponse;\n                }\n                const statusText = xhr.statusText || 'OK';\n                // Parse headers from XMLHttpRequest - this step is lazy.\n                const headers = new HttpHeaders(xhr.getAllResponseHeaders());\n                // Read the response URL from the XMLHttpResponse instance and fall back on the\n                // request URL.\n                const url = getResponseUrl(xhr) || req.url;\n                // Construct the HttpHeaderResponse and memoize it.\n                headerResponse = new HttpHeaderResponse({ headers, status: xhr.status, statusText, url });\n                return headerResponse;\n            };\n            // Next, a few closures are defined for the various events which XMLHttpRequest can\n            // emit. This allows them to be unregistered as event listeners later.\n            // First up is the load event, which represents a response being fully available.\n            const onLoad = () => {\n                // Read response state from the memoized partial data.\n                let { headers, status, statusText, url } = partialFromXhr();\n                // The body will be read out if present.\n                let body = null;\n                if (status !== 204 /* HttpStatusCode.NoContent */) {\n                    // Use XMLHttpRequest.response if set, responseText otherwise.\n                    body = (typeof xhr.response === 'undefined') ? xhr.responseText : xhr.response;\n                }\n                // Normalize another potential bug (this one comes from CORS).\n                if (status === 0) {\n                    status = !!body ? 200 /* HttpStatusCode.Ok */ : 0;\n                }\n                // ok determines whether the response will be transmitted on the event or\n                // error channel. Unsuccessful status codes (not 2xx) will always be errors,\n                // but a successful status code can still result in an error if the user\n                // asked for JSON data and the body cannot be parsed as such.\n                let ok = status >= 200 && status < 300;\n                // Check whether the body needs to be parsed as JSON (in many cases the browser\n                // will have done that already).\n                if (req.responseType === 'json' && typeof body === 'string') {\n                    // Save the original body, before attempting XSSI prefix stripping.\n                    const originalBody = body;\n                    body = body.replace(XSSI_PREFIX, '');\n                    try {\n                        // Attempt the parse. If it fails, a parse error should be delivered to the user.\n                        body = body !== '' ? JSON.parse(body) : null;\n                    }\n                    catch (error) {\n                        // Since the JSON.parse failed, it's reasonable to assume this might not have been a\n                        // JSON response. Restore the original body (including any XSSI prefix) to deliver\n                        // a better error response.\n                        body = originalBody;\n                        // If this was an error request to begin with, leave it as a string, it probably\n                        // just isn't JSON. Otherwise, deliver the parsing error to the user.\n                        if (ok) {\n                            // Even though the response status was 2xx, this is still an error.\n                            ok = false;\n                            // The parse error contains the text of the body that failed to parse.\n                            body = { error, text: body };\n                        }\n                    }\n                }\n                if (ok) {\n                    // A successful response is delivered on the event stream.\n                    observer.next(new HttpResponse({\n                        body,\n                        headers,\n                        status,\n                        statusText,\n                        url: url || undefined,\n                    }));\n                    // The full body has been received and delivered, no further events\n                    // are possible. This request is complete.\n                    observer.complete();\n                }\n                else {\n                    // An unsuccessful request is delivered on the error channel.\n                    observer.error(new HttpErrorResponse({\n                        // The error in this case is the response body (error from the server).\n                        error: body,\n                        headers,\n                        status,\n                        statusText,\n                        url: url || undefined,\n                    }));\n                }\n            };\n            // The onError callback is called when something goes wrong at the network level.\n            // Connection timeout, DNS error, offline, etc. These are actual errors, and are\n            // transmitted on the error channel.\n            const onError = (error) => {\n                const { url } = partialFromXhr();\n                const res = new HttpErrorResponse({\n                    error,\n                    status: xhr.status || 0,\n                    statusText: xhr.statusText || 'Unknown Error',\n                    url: url || undefined,\n                });\n                observer.error(res);\n            };\n            // The sentHeaders flag tracks whether the HttpResponseHeaders event\n            // has been sent on the stream. This is necessary to track if progress\n            // is enabled since the event will be sent on only the first download\n            // progress event.\n            let sentHeaders = false;\n            // The download progress event handler, which is only registered if\n            // progress events are enabled.\n            const onDownProgress = (event) => {\n                // Send the HttpResponseHeaders event if it hasn't been sent already.\n                if (!sentHeaders) {\n                    observer.next(partialFromXhr());\n                    sentHeaders = true;\n                }\n                // Start building the download progress event to deliver on the response\n                // event stream.\n                let progressEvent = {\n                    type: HttpEventType.DownloadProgress,\n                    loaded: event.loaded,\n                };\n                // Set the total number of bytes in the event if it's available.\n                if (event.lengthComputable) {\n                    progressEvent.total = event.total;\n                }\n                // If the request was for text content and a partial response is\n                // available on XMLHttpRequest, include it in the progress event\n                // to allow for streaming reads.\n                if (req.responseType === 'text' && !!xhr.responseText) {\n                    progressEvent.partialText = xhr.responseText;\n                }\n                // Finally, fire the event.\n                observer.next(progressEvent);\n            };\n            // The upload progress event handler, which is only registered if\n            // progress events are enabled.\n            const onUpProgress = (event) => {\n                // Upload progress events are simpler. Begin building the progress\n                // event.\n                let progress = {\n                    type: HttpEventType.UploadProgress,\n                    loaded: event.loaded,\n                };\n                // If the total number of bytes being uploaded is available, include\n                // it.\n                if (event.lengthComputable) {\n                    progress.total = event.total;\n                }\n                // Send the event.\n                observer.next(progress);\n            };\n            // By default, register for load and error events.\n            xhr.addEventListener('load', onLoad);\n            xhr.addEventListener('error', onError);\n            xhr.addEventListener('timeout', onError);\n            xhr.addEventListener('abort', onError);\n            // Progress events are only enabled if requested.\n            if (req.reportProgress) {\n                // Download progress is always enabled if requested.\n                xhr.addEventListener('progress', onDownProgress);\n                // Upload progress depends on whether there is a body to upload.\n                if (reqBody !== null && xhr.upload) {\n                    xhr.upload.addEventListener('progress', onUpProgress);\n                }\n            }\n            // Fire the request, and notify the event stream that it was fired.\n            xhr.send(reqBody);\n            observer.next({ type: HttpEventType.Sent });\n            // This is the return from the Observable function, which is the\n            // request cancellation handler.\n            return () => {\n                // On a cancellation, remove all registered event listeners.\n                xhr.removeEventListener('error', onError);\n                xhr.removeEventListener('abort', onError);\n                xhr.removeEventListener('load', onLoad);\n                xhr.removeEventListener('timeout', onError);\n                if (req.reportProgress) {\n                    xhr.removeEventListener('progress', onDownProgress);\n                    if (reqBody !== null && xhr.upload) {\n                        xhr.upload.removeEventListener('progress', onUpProgress);\n                    }\n                }\n                // Finally, abort the in-flight request.\n                if (xhr.readyState !== xhr.DONE) {\n                    xhr.abort();\n                }\n            };\n        });\n    }\n}\nHttpXhrBackend.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: HttpXhrBackend, deps: [{ token: i1.XhrFactory }], target: i0.ɵɵFactoryTarget.Injectable });\nHttpXhrBackend.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: HttpXhrBackend });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: HttpXhrBackend, decorators: [{\n            type: Injectable\n        }], ctorParameters: function () { return [{ type: i1.XhrFactory }]; } });\n\nconst XSRF_ENABLED = new InjectionToken('XSRF_ENABLED');\nconst XSRF_DEFAULT_COOKIE_NAME = 'XSRF-TOKEN';\nconst XSRF_COOKIE_NAME = new InjectionToken('XSRF_COOKIE_NAME', {\n    providedIn: 'root',\n    factory: () => XSRF_DEFAULT_COOKIE_NAME,\n});\nconst XSRF_DEFAULT_HEADER_NAME = 'X-XSRF-TOKEN';\nconst XSRF_HEADER_NAME = new InjectionToken('XSRF_HEADER_NAME', {\n    providedIn: 'root',\n    factory: () => XSRF_DEFAULT_HEADER_NAME,\n});\n/**\n * Retrieves the current XSRF token to use with the next outgoing request.\n *\n * @publicApi\n */\nclass HttpXsrfTokenExtractor {\n}\n/**\n * `HttpXsrfTokenExtractor` which retrieves the token from a cookie.\n */\nclass HttpXsrfCookieExtractor {\n    constructor(doc, platform, cookieName) {\n        this.doc = doc;\n        this.platform = platform;\n        this.cookieName = cookieName;\n        this.lastCookieString = '';\n        this.lastToken = null;\n        /**\n         * @internal for testing\n         */\n        this.parseCount = 0;\n    }\n    getToken() {\n        if (this.platform === 'server') {\n            return null;\n        }\n        const cookieString = this.doc.cookie || '';\n        if (cookieString !== this.lastCookieString) {\n            this.parseCount++;\n            this.lastToken = ɵparseCookieValue(cookieString, this.cookieName);\n            this.lastCookieString = cookieString;\n        }\n        return this.lastToken;\n    }\n}\nHttpXsrfCookieExtractor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: HttpXsrfCookieExtractor, deps: [{ token: DOCUMENT }, { token: PLATFORM_ID }, { token: XSRF_COOKIE_NAME }], target: i0.ɵɵFactoryTarget.Injectable });\nHttpXsrfCookieExtractor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: HttpXsrfCookieExtractor });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: HttpXsrfCookieExtractor, decorators: [{\n            type: Injectable\n        }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n                    type: Inject,\n                    args: [DOCUMENT]\n                }] }, { type: undefined, decorators: [{\n                    type: Inject,\n                    args: [PLATFORM_ID]\n                }] }, { type: undefined, decorators: [{\n                    type: Inject,\n                    args: [XSRF_COOKIE_NAME]\n                }] }]; } });\nfunction xsrfInterceptorFn(req, next) {\n    const lcUrl = req.url.toLowerCase();\n    // Skip both non-mutating requests and absolute URLs.\n    // Non-mutating requests don't require a token, and absolute URLs require special handling\n    // anyway as the cookie set\n    // on our origin is not the same as the token expected by another origin.\n    if (!inject(XSRF_ENABLED) || req.method === 'GET' || req.method === 'HEAD' ||\n        lcUrl.startsWith('http://') || lcUrl.startsWith('https://')) {\n        return next(req);\n    }\n    const token = inject(HttpXsrfTokenExtractor).getToken();\n    const headerName = inject(XSRF_HEADER_NAME);\n    // Be careful not to overwrite an existing header of the same name.\n    if (token != null && !req.headers.has(headerName)) {\n        req = req.clone({ headers: req.headers.set(headerName, token) });\n    }\n    return next(req);\n}\n/**\n * `HttpInterceptor` which adds an XSRF token to eligible outgoing requests.\n */\nclass HttpXsrfInterceptor {\n    constructor(injector) {\n        this.injector = injector;\n    }\n    intercept(initialRequest, next) {\n        return this.injector.runInContext(() => xsrfInterceptorFn(initialRequest, downstreamRequest => next.handle(downstreamRequest)));\n    }\n}\nHttpXsrfInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: HttpXsrfInterceptor, deps: [{ token: i0.EnvironmentInjector }], target: i0.ɵɵFactoryTarget.Injectable });\nHttpXsrfInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: HttpXsrfInterceptor });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: HttpXsrfInterceptor, decorators: [{\n            type: Injectable\n        }], ctorParameters: function () { return [{ type: i0.EnvironmentInjector }]; } });\n\n/**\n * Identifies a particular kind of `HttpFeature`.\n *\n * @publicApi\n */\nvar HttpFeatureKind;\n(function (HttpFeatureKind) {\n    HttpFeatureKind[HttpFeatureKind[\"Interceptors\"] = 0] = \"Interceptors\";\n    HttpFeatureKind[HttpFeatureKind[\"LegacyInterceptors\"] = 1] = \"LegacyInterceptors\";\n    HttpFeatureKind[HttpFeatureKind[\"CustomXsrfConfiguration\"] = 2] = \"CustomXsrfConfiguration\";\n    HttpFeatureKind[HttpFeatureKind[\"NoXsrfProtection\"] = 3] = \"NoXsrfProtection\";\n    HttpFeatureKind[HttpFeatureKind[\"JsonpSupport\"] = 4] = \"JsonpSupport\";\n    HttpFeatureKind[HttpFeatureKind[\"RequestsMadeViaParent\"] = 5] = \"RequestsMadeViaParent\";\n})(HttpFeatureKind || (HttpFeatureKind = {}));\nfunction makeHttpFeature(kind, providers) {\n    return {\n        ɵkind: kind,\n        ɵproviders: providers,\n    };\n}\n/**\n * Configures Angular's `HttpClient` service to be available for injection.\n *\n * By default, `HttpClient` will be configured for injection with its default options for XSRF\n * protection of outgoing requests. Additional configuration options can be provided by passing\n * feature functions to `provideHttpClient`. For example, HTTP interceptors can be added using the\n * `withInterceptors(...)` feature.\n *\n * @see {@link withInterceptors}\n * @see {@link withInterceptorsFromDi}\n * @see {@link withXsrfConfiguration}\n * @see {@link withNoXsrfProtection}\n * @see {@link withJsonpSupport}\n * @see {@link withRequestsMadeViaParent}\n */\nfunction provideHttpClient(...features) {\n    if (ngDevMode) {\n        const featureKinds = new Set(features.map(f => f.ɵkind));\n        if (featureKinds.has(HttpFeatureKind.NoXsrfProtection) &&\n            featureKinds.has(HttpFeatureKind.CustomXsrfConfiguration)) {\n            throw new Error(ngDevMode ?\n                `Configuration error: found both withXsrfConfiguration() and withNoXsrfProtection() in the same call to provideHttpClient(), which is a contradiction.` :\n                '');\n        }\n    }\n    const providers = [\n        HttpClient,\n        HttpXhrBackend,\n        HttpInterceptorHandler,\n        { provide: HttpHandler, useExisting: HttpInterceptorHandler },\n        { provide: HttpBackend, useExisting: HttpXhrBackend },\n        {\n            provide: HTTP_INTERCEPTOR_FNS,\n            useValue: xsrfInterceptorFn,\n            multi: true,\n        },\n        { provide: XSRF_ENABLED, useValue: true },\n        { provide: HttpXsrfTokenExtractor, useClass: HttpXsrfCookieExtractor },\n    ];\n    for (const feature of features) {\n        providers.push(...feature.ɵproviders);\n    }\n    return makeEnvironmentProviders(providers);\n}\n/**\n * Adds one or more functional-style HTTP interceptors to the configuration of the `HttpClient`\n * instance.\n *\n * @see {@link HttpInterceptorFn}\n * @see {@link provideHttpClient}\n * @publicApi\n */\nfunction withInterceptors(interceptorFns) {\n    return makeHttpFeature(HttpFeatureKind.Interceptors, interceptorFns.map(interceptorFn => {\n        return {\n            provide: HTTP_INTERCEPTOR_FNS,\n            useValue: interceptorFn,\n            multi: true,\n        };\n    }));\n}\nconst LEGACY_INTERCEPTOR_FN = new InjectionToken('LEGACY_INTERCEPTOR_FN');\n/**\n * Includes class-based interceptors configured using a multi-provider in the current injector into\n * the configured `HttpClient` instance.\n *\n * Prefer `withInterceptors` and functional interceptors instead, as support for DI-provided\n * interceptors may be phased out in a later release.\n *\n * @see {@link HttpInterceptor}\n * @see {@link HTTP_INTERCEPTORS}\n * @see {@link provideHttpClient}\n */\nfunction withInterceptorsFromDi() {\n    // Note: the legacy interceptor function is provided here via an intermediate token\n    // (`LEGACY_INTERCEPTOR_FN`), using a pattern which guarantees that if these providers are\n    // included multiple times, all of the multi-provider entries will have the same instance of the\n    // interceptor function. That way, the `HttpINterceptorHandler` will dedup them and legacy\n    // interceptors will not run multiple times.\n    return makeHttpFeature(HttpFeatureKind.LegacyInterceptors, [\n        {\n            provide: LEGACY_INTERCEPTOR_FN,\n            useFactory: legacyInterceptorFnFactory,\n        },\n        {\n            provide: HTTP_INTERCEPTOR_FNS,\n            useExisting: LEGACY_INTERCEPTOR_FN,\n            multi: true,\n        }\n    ]);\n}\n/**\n * Customizes the XSRF protection for the configuration of the current `HttpClient` instance.\n *\n * This feature is incompatible with the `withNoXsrfProtection` feature.\n *\n * @see {@link provideHttpClient}\n */\nfunction withXsrfConfiguration({ cookieName, headerName }) {\n    const providers = [];\n    if (cookieName !== undefined) {\n        providers.push({ provide: XSRF_COOKIE_NAME, useValue: cookieName });\n    }\n    if (headerName !== undefined) {\n        providers.push({ provide: XSRF_HEADER_NAME, useValue: headerName });\n    }\n    return makeHttpFeature(HttpFeatureKind.CustomXsrfConfiguration, providers);\n}\n/**\n * Disables XSRF protection in the configuration of the current `HttpClient` instance.\n *\n * This feature is incompatible with the `withXsrfConfiguration` feature.\n *\n * @see {@link provideHttpClient}\n */\nfunction withNoXsrfProtection() {\n    return makeHttpFeature(HttpFeatureKind.NoXsrfProtection, [\n        {\n            provide: XSRF_ENABLED,\n            useValue: false,\n        },\n    ]);\n}\n/**\n * Add JSONP support to the configuration of the current `HttpClient` instance.\n *\n * @see {@link provideHttpClient}\n */\nfunction withJsonpSupport() {\n    return makeHttpFeature(HttpFeatureKind.JsonpSupport, [\n        JsonpClientBackend,\n        { provide: JsonpCallbackContext, useFactory: jsonpCallbackContext },\n        { provide: HTTP_INTERCEPTOR_FNS, useValue: jsonpInterceptorFn, multi: true },\n    ]);\n}\n/**\n * Configures the current `HttpClient` instance to make requests via the parent injector's\n * `HttpClient` instead of directly.\n *\n * By default, `provideHttpClient` configures `HttpClient` in its injector to be an independent\n * instance. For example, even if `HttpClient` is configured in the parent injector with\n * one or more interceptors, they will not intercept requests made via this instance.\n *\n * With this option enabled, once the request has passed through the current injector's\n * interceptors, it will be delegated to the parent injector's `HttpClient` chain instead of\n * dispatched directly, and interceptors in the parent configuration will be applied to the request.\n *\n * If there are several `HttpClient` instances in the injector hierarchy, it's possible for\n * `withRequestsMadeViaParent` to be used at multiple levels, which will cause the request to\n * \"bubble up\" until either reaching the root level or an `HttpClient` which was not configured with\n * this option.\n *\n * @see {@link provideHttpClient}\n * @developerPreview\n */\nfunction withRequestsMadeViaParent() {\n    return makeHttpFeature(HttpFeatureKind.RequestsMadeViaParent, [\n        {\n            provide: HttpBackend,\n            useFactory: () => {\n                const handlerFromParent = inject(HttpHandler, { skipSelf: true, optional: true });\n                if (ngDevMode && handlerFromParent === null) {\n                    throw new Error('withRequestsMadeViaParent() can only be used when the parent injector also configures HttpClient');\n                }\n                return handlerFromParent;\n            },\n        },\n    ]);\n}\n\n/**\n * Configures XSRF protection support for outgoing requests.\n *\n * For a server that supports a cookie-based XSRF protection system,\n * use directly to configure XSRF protection with the correct\n * cookie and header names.\n *\n * If no names are supplied, the default cookie name is `XSRF-TOKEN`\n * and the default header name is `X-XSRF-TOKEN`.\n *\n * @publicApi\n */\nclass HttpClientXsrfModule {\n    /**\n     * Disable the default XSRF protection.\n     */\n    static disable() {\n        return {\n            ngModule: HttpClientXsrfModule,\n            providers: [\n                withNoXsrfProtection().ɵproviders,\n            ],\n        };\n    }\n    /**\n     * Configure XSRF protection.\n     * @param options An object that can specify either or both\n     * cookie name or header name.\n     * - Cookie name default is `XSRF-TOKEN`.\n     * - Header name default is `X-XSRF-TOKEN`.\n     *\n     */\n    static withOptions(options = {}) {\n        return {\n            ngModule: HttpClientXsrfModule,\n            providers: withXsrfConfiguration(options).ɵproviders,\n        };\n    }\n}\nHttpClientXsrfModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: HttpClientXsrfModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\nHttpClientXsrfModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"15.2.10\", ngImport: i0, type: HttpClientXsrfModule });\nHttpClientXsrfModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: HttpClientXsrfModule, providers: [\n        HttpXsrfInterceptor,\n        { provide: HTTP_INTERCEPTORS, useExisting: HttpXsrfInterceptor, multi: true },\n        { provide: HttpXsrfTokenExtractor, useClass: HttpXsrfCookieExtractor },\n        withXsrfConfiguration({\n            cookieName: XSRF_DEFAULT_COOKIE_NAME,\n            headerName: XSRF_DEFAULT_HEADER_NAME,\n        }).ɵproviders,\n        { provide: XSRF_ENABLED, useValue: true },\n    ] });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: HttpClientXsrfModule, decorators: [{\n            type: NgModule,\n            args: [{\n                    providers: [\n                        HttpXsrfInterceptor,\n                        { provide: HTTP_INTERCEPTORS, useExisting: HttpXsrfInterceptor, multi: true },\n                        { provide: HttpXsrfTokenExtractor, useClass: HttpXsrfCookieExtractor },\n                        withXsrfConfiguration({\n                            cookieName: XSRF_DEFAULT_COOKIE_NAME,\n                            headerName: XSRF_DEFAULT_HEADER_NAME,\n                        }).ɵproviders,\n                        { provide: XSRF_ENABLED, useValue: true },\n                    ],\n                }]\n        }] });\n/**\n * Configures the [dependency injector](guide/glossary#injector) for `HttpClient`\n * with supporting services for XSRF. Automatically imported by `HttpClientModule`.\n *\n * You can add interceptors to the chain behind `HttpClient` by binding them to the\n * multiprovider for built-in [DI token](guide/glossary#di-token) `HTTP_INTERCEPTORS`.\n *\n * @publicApi\n */\nclass HttpClientModule {\n}\nHttpClientModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: HttpClientModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\nHttpClientModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"15.2.10\", ngImport: i0, type: HttpClientModule });\nHttpClientModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: HttpClientModule, providers: [\n        provideHttpClient(withInterceptorsFromDi()),\n    ] });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: HttpClientModule, decorators: [{\n            type: NgModule,\n            args: [{\n                    /**\n                     * Configures the [dependency injector](guide/glossary#injector) where it is imported\n                     * with supporting services for HTTP communications.\n                     */\n                    providers: [\n                        provideHttpClient(withInterceptorsFromDi()),\n                    ],\n                }]\n        }] });\n/**\n * Configures the [dependency injector](guide/glossary#injector) for `HttpClient`\n * with supporting services for JSONP.\n * Without this module, Jsonp requests reach the backend\n * with method JSONP, where they are rejected.\n *\n * @publicApi\n */\nclass HttpClientJsonpModule {\n}\nHttpClientJsonpModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: HttpClientJsonpModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\nHttpClientJsonpModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"15.2.10\", ngImport: i0, type: HttpClientJsonpModule });\nHttpClientJsonpModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: HttpClientJsonpModule, providers: [\n        withJsonpSupport().ɵproviders,\n    ] });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: HttpClientJsonpModule, decorators: [{\n            type: NgModule,\n            args: [{\n                    providers: [\n                        withJsonpSupport().ɵproviders,\n                    ],\n                }]\n        }] });\n\n/**\n * A wrapper around the `XMLHttpRequest` constructor.\n *\n * @publicApi\n * @see `XhrFactory`\n * @deprecated\n * `XhrFactory` has moved, please import `XhrFactory` from `@angular/common` instead.\n */\nconst XhrFactory = XhrFactory$1;\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 { HTTP_INTERCEPTORS, HttpBackend, HttpClient, HttpClientJsonpModule, HttpClientModule, HttpClientXsrfModule, HttpContext, HttpContextToken, HttpErrorResponse, HttpEventType, HttpFeatureKind, HttpHandler, HttpHeaderResponse, HttpHeaders, HttpParams, HttpRequest, HttpResponse, HttpResponseBase, HttpUrlEncodingCodec, HttpXhrBackend, HttpXsrfTokenExtractor, JsonpClientBackend, JsonpInterceptor, XhrFactory, provideHttpClient, withInterceptors, withInterceptorsFromDi, withJsonpSupport, withNoXsrfProtection, withRequestsMadeViaParent, withXsrfConfiguration, HttpInterceptorHandler as ɵHttpInterceptingHandler, HttpInterceptorHandler as ɵHttpInterceptorHandler };\n","/**\n * @license Angular v15.2.10\n * (c) 2010-2022 Google LLC. https://angular.io/\n * License: MIT\n */\n\nimport { Subject, Subscription, Observable, merge as merge$1 } from 'rxjs';\nimport { share } from 'rxjs/operators';\n\nfunction getClosureSafeProperty(objWithPropertyToExtract) {\n    for (let key in objWithPropertyToExtract) {\n        if (objWithPropertyToExtract[key] === getClosureSafeProperty) {\n            return key;\n        }\n    }\n    throw Error('Could not find renamed property on target object.');\n}\n/**\n * Sets properties on a target object from a source object, but only if\n * the property doesn't already exist on the target object.\n * @param target The target to set properties on\n * @param source The source of the property keys and values to set\n */\nfunction fillProperties(target, source) {\n    for (const key in source) {\n        if (source.hasOwnProperty(key) && !target.hasOwnProperty(key)) {\n            target[key] = source[key];\n        }\n    }\n}\n\nfunction stringify(token) {\n    if (typeof token === 'string') {\n        return token;\n    }\n    if (Array.isArray(token)) {\n        return '[' + token.map(stringify).join(', ') + ']';\n    }\n    if (token == null) {\n        return '' + token;\n    }\n    if (token.overriddenName) {\n        return `${token.overriddenName}`;\n    }\n    if (token.name) {\n        return `${token.name}`;\n    }\n    const res = token.toString();\n    if (res == null) {\n        return '' + res;\n    }\n    const newLineIndex = res.indexOf('\\n');\n    return newLineIndex === -1 ? res : res.substring(0, newLineIndex);\n}\n/**\n * Concatenates two strings with separator, allocating new strings only when necessary.\n *\n * @param before before string.\n * @param separator separator string.\n * @param after after string.\n * @returns concatenated string.\n */\nfunction concatStringsWithSpace(before, after) {\n    return (before == null || before === '') ?\n        (after === null ? '' : after) :\n        ((after == null || after === '') ? before : before + ' ' + after);\n}\n\nconst __forward_ref__ = getClosureSafeProperty({ __forward_ref__: getClosureSafeProperty });\n/**\n * Allows to refer to references which are not yet defined.\n *\n * For instance, `forwardRef` is used when the `token` which we need to refer to for the purposes of\n * DI is declared, but not yet defined. It is also used when the `token` which we use when creating\n * a query is not yet defined.\n *\n * @usageNotes\n * ### Example\n * {@example core/di/ts/forward_ref/forward_ref_spec.ts region='forward_ref'}\n * @publicApi\n */\nfunction forwardRef(forwardRefFn) {\n    forwardRefFn.__forward_ref__ = forwardRef;\n    forwardRefFn.toString = function () {\n        return stringify(this());\n    };\n    return forwardRefFn;\n}\n/**\n * Lazily retrieves the reference value from a forwardRef.\n *\n * Acts as the identity function when given a non-forward-ref value.\n *\n * @usageNotes\n * ### Example\n *\n * {@example core/di/ts/forward_ref/forward_ref_spec.ts region='resolve_forward_ref'}\n *\n * @see `forwardRef`\n * @publicApi\n */\nfunction resolveForwardRef(type) {\n    return isForwardRef(type) ? type() : type;\n}\n/** Checks whether a function is wrapped by a `forwardRef`. */\nfunction isForwardRef(fn) {\n    return typeof fn === 'function' && fn.hasOwnProperty(__forward_ref__) &&\n        fn.__forward_ref__ === forwardRef;\n}\n\nfunction isEnvironmentProviders(value) {\n    return value && !!value.ɵproviders;\n}\n\n/**\n * Base URL for the error details page.\n *\n * Keep this constant in sync across:\n *  - packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.ts\n *  - packages/core/src/error_details_base_url.ts\n */\nconst ERROR_DETAILS_PAGE_BASE_URL = 'https://angular.io/errors';\n/**\n * URL for the XSS security documentation.\n */\nconst XSS_SECURITY_URL = 'https://g.co/ng/security#xss';\n\n/**\n * Class that represents a runtime error.\n * Formats and outputs the error message in a consistent way.\n *\n * Example:\n * ```\n *  throw new RuntimeError(\n *    RuntimeErrorCode.INJECTOR_ALREADY_DESTROYED,\n *    ngDevMode && 'Injector has already been destroyed.');\n * ```\n *\n * Note: the `message` argument contains a descriptive error message as a string in development\n * mode (when the `ngDevMode` is defined). In production mode (after tree-shaking pass), the\n * `message` argument becomes `false`, thus we account for it in the typings and the runtime logic.\n */\nclass RuntimeError extends Error {\n    constructor(code, message) {\n        super(formatRuntimeError(code, message));\n        this.code = code;\n    }\n}\n/**\n * Called to format a runtime error.\n * See additional info on the `message` argument type in the `RuntimeError` class description.\n */\nfunction formatRuntimeError(code, message) {\n    // Error code might be a negative number, which is a special marker that instructs the logic to\n    // generate a link to the error details page on angular.io.\n    // We also prepend `0` to non-compile-time errors.\n    const fullCode = `NG0${Math.abs(code)}`;\n    let errorMessage = `${fullCode}${message ? ': ' + message.trim() : ''}`;\n    if (ngDevMode && code < 0) {\n        const addPeriodSeparator = !errorMessage.match(/[.,;!?]$/);\n        const separator = addPeriodSeparator ? '.' : '';\n        errorMessage =\n            `${errorMessage}${separator} Find more at ${ERROR_DETAILS_PAGE_BASE_URL}/${fullCode}`;\n    }\n    return errorMessage;\n}\n\n/**\n * Used for stringify render output in Ivy.\n * Important! This function is very performance-sensitive and we should\n * be extra careful not to introduce megamorphic reads in it.\n * Check `core/test/render3/perf/render_stringify` for benchmarks and alternate implementations.\n */\nfunction renderStringify(value) {\n    if (typeof value === 'string')\n        return value;\n    if (value == null)\n        return '';\n    // Use `String` so that it invokes the `toString` method of the value. Note that this\n    // appears to be faster than calling `value.toString` (see `render_stringify` benchmark).\n    return String(value);\n}\n/**\n * Used to stringify a value so that it can be displayed in an error message.\n * Important! This function contains a megamorphic read and should only be\n * used for error messages.\n */\nfunction stringifyForError(value) {\n    if (typeof value === 'function')\n        return value.name || value.toString();\n    if (typeof value === 'object' && value != null && typeof value.type === 'function') {\n        return value.type.name || value.type.toString();\n    }\n    return renderStringify(value);\n}\n\n/** Called when directives inject each other (creating a circular dependency) */\nfunction throwCyclicDependencyError(token, path) {\n    const depPath = path ? `. Dependency path: ${path.join(' > ')} > ${token}` : '';\n    throw new RuntimeError(-200 /* RuntimeErrorCode.CYCLIC_DI_DEPENDENCY */, `Circular dependency in DI detected for ${token}${depPath}`);\n}\nfunction throwMixedMultiProviderError() {\n    throw new Error(`Cannot mix multi providers and regular providers`);\n}\nfunction throwInvalidProviderError(ngModuleType, providers, provider) {\n    if (ngModuleType && providers) {\n        const providerDetail = providers.map(v => v == provider ? '?' + provider + '?' : '...');\n        throw new Error(`Invalid provider for the NgModule '${stringify(ngModuleType)}' - only instances of Provider and Type are allowed, got: [${providerDetail.join(', ')}]`);\n    }\n    else if (isEnvironmentProviders(provider)) {\n        if (provider.ɵfromNgModule) {\n            throw new RuntimeError(207 /* RuntimeErrorCode.PROVIDER_IN_WRONG_CONTEXT */, `Invalid providers from 'importProvidersFrom' present in a non-environment injector. 'importProvidersFrom' can't be used for component providers.`);\n        }\n        else {\n            throw new RuntimeError(207 /* RuntimeErrorCode.PROVIDER_IN_WRONG_CONTEXT */, `Invalid providers present in a non-environment injector. 'EnvironmentProviders' can't be used for component providers.`);\n        }\n    }\n    else {\n        throw new Error('Invalid provider');\n    }\n}\n/** Throws an error when a token is not found in DI. */\nfunction throwProviderNotFoundError(token, injectorName) {\n    const injectorDetails = injectorName ? ` in ${injectorName}` : '';\n    throw new RuntimeError(-201 /* RuntimeErrorCode.PROVIDER_NOT_FOUND */, ngDevMode && `No provider for ${stringifyForError(token)} found${injectorDetails}`);\n}\n\n// The functions in this file verify that the assumptions we are making\nfunction assertNumber(actual, msg) {\n    if (!(typeof actual === 'number')) {\n        throwError(msg, typeof actual, 'number', '===');\n    }\n}\nfunction assertNumberInRange(actual, minInclusive, maxInclusive) {\n    assertNumber(actual, 'Expected a number');\n    assertLessThanOrEqual(actual, maxInclusive, 'Expected number to be less than or equal to');\n    assertGreaterThanOrEqual(actual, minInclusive, 'Expected number to be greater than or equal to');\n}\nfunction assertString(actual, msg) {\n    if (!(typeof actual === 'string')) {\n        throwError(msg, actual === null ? 'null' : typeof actual, 'string', '===');\n    }\n}\nfunction assertFunction(actual, msg) {\n    if (!(typeof actual === 'function')) {\n        throwError(msg, actual === null ? 'null' : typeof actual, 'function', '===');\n    }\n}\nfunction assertEqual(actual, expected, msg) {\n    if (!(actual == expected)) {\n        throwError(msg, actual, expected, '==');\n    }\n}\nfunction assertNotEqual(actual, expected, msg) {\n    if (!(actual != expected)) {\n        throwError(msg, actual, expected, '!=');\n    }\n}\nfunction assertSame(actual, expected, msg) {\n    if (!(actual === expected)) {\n        throwError(msg, actual, expected, '===');\n    }\n}\nfunction assertNotSame(actual, expected, msg) {\n    if (!(actual !== expected)) {\n        throwError(msg, actual, expected, '!==');\n    }\n}\nfunction assertLessThan(actual, expected, msg) {\n    if (!(actual < expected)) {\n        throwError(msg, actual, expected, '<');\n    }\n}\nfunction assertLessThanOrEqual(actual, expected, msg) {\n    if (!(actual <= expected)) {\n        throwError(msg, actual, expected, '<=');\n    }\n}\nfunction assertGreaterThan(actual, expected, msg) {\n    if (!(actual > expected)) {\n        throwError(msg, actual, expected, '>');\n    }\n}\nfunction assertGreaterThanOrEqual(actual, expected, msg) {\n    if (!(actual >= expected)) {\n        throwError(msg, actual, expected, '>=');\n    }\n}\nfunction assertNotDefined(actual, msg) {\n    if (actual != null) {\n        throwError(msg, actual, null, '==');\n    }\n}\nfunction assertDefined(actual, msg) {\n    if (actual == null) {\n        throwError(msg, actual, null, '!=');\n    }\n}\nfunction throwError(msg, actual, expected, comparison) {\n    throw new Error(`ASSERTION ERROR: ${msg}` +\n        (comparison == null ? '' : ` [Expected=> ${expected} ${comparison} ${actual} <=Actual]`));\n}\nfunction assertDomNode(node) {\n    // If we're in a worker, `Node` will not be defined.\n    if (!(typeof Node !== 'undefined' && node instanceof Node) &&\n        !(typeof node === 'object' && node != null &&\n            node.constructor.name === 'WebWorkerRenderNode')) {\n        throwError(`The provided value must be an instance of a DOM Node but got ${stringify(node)}`);\n    }\n}\nfunction assertIndexInRange(arr, index) {\n    assertDefined(arr, 'Array must be defined.');\n    const maxLen = arr.length;\n    if (index < 0 || index >= maxLen) {\n        throwError(`Index expected to be less than ${maxLen} but got ${index}`);\n    }\n}\nfunction assertOneOf(value, ...validValues) {\n    if (validValues.indexOf(value) !== -1)\n        return true;\n    throwError(`Expected value to be one of ${JSON.stringify(validValues)} but was ${JSON.stringify(value)}.`);\n}\n\n/**\n * Construct an injectable definition which defines how a token will be constructed by the DI\n * system, and in which injectors (if any) it will be available.\n *\n * This should be assigned to a static `ɵprov` field on a type, which will then be an\n * `InjectableType`.\n *\n * Options:\n * * `providedIn` determines which injectors will include the injectable, by either associating it\n *   with an `@NgModule` or other `InjectorType`, or by specifying that this injectable should be\n *   provided in the `'root'` injector, which will be the application-level injector in most apps.\n * * `factory` gives the zero argument function which will create an instance of the injectable.\n *   The factory can call `inject` to access the `Injector` and request injection of dependencies.\n *\n * @codeGenApi\n * @publicApi This instruction has been emitted by ViewEngine for some time and is deployed to npm.\n */\nfunction ɵɵdefineInjectable(opts) {\n    return {\n        token: opts.token,\n        providedIn: opts.providedIn || null,\n        factory: opts.factory,\n        value: undefined,\n    };\n}\n/**\n * @deprecated in v8, delete after v10. This API should be used only by generated code, and that\n * code should now use ɵɵdefineInjectable instead.\n * @publicApi\n */\nconst defineInjectable = ɵɵdefineInjectable;\n/**\n * Construct an `InjectorDef` which configures an injector.\n *\n * This should be assigned to a static injector def (`ɵinj`) field on a type, which will then be an\n * `InjectorType`.\n *\n * Options:\n *\n * * `providers`: an optional array of providers to add to the injector. Each provider must\n *   either have a factory or point to a type which has a `ɵprov` static property (the\n *   type must be an `InjectableType`).\n * * `imports`: an optional array of imports of other `InjectorType`s or `InjectorTypeWithModule`s\n *   whose providers will also be added to the injector. Locally provided types will override\n *   providers from imports.\n *\n * @codeGenApi\n */\nfunction ɵɵdefineInjector(options) {\n    return { providers: options.providers || [], imports: options.imports || [] };\n}\n/**\n * Read the injectable def (`ɵprov`) for `type` in a way which is immune to accidentally reading\n * inherited value.\n *\n * @param type A type which may have its own (non-inherited) `ɵprov`.\n */\nfunction getInjectableDef(type) {\n    return getOwnDefinition(type, NG_PROV_DEF) || getOwnDefinition(type, NG_INJECTABLE_DEF);\n}\nfunction isInjectable(type) {\n    return getInjectableDef(type) !== null;\n}\n/**\n * Return definition only if it is defined directly on `type` and is not inherited from a base\n * class of `type`.\n */\nfunction getOwnDefinition(type, field) {\n    return type.hasOwnProperty(field) ? type[field] : null;\n}\n/**\n * Read the injectable def (`ɵprov`) for `type` or read the `ɵprov` from one of its ancestors.\n *\n * @param type A type which may have `ɵprov`, via inheritance.\n *\n * @deprecated Will be removed in a future version of Angular, where an error will occur in the\n *     scenario if we find the `ɵprov` on an ancestor only.\n */\nfunction getInheritedInjectableDef(type) {\n    const def = type && (type[NG_PROV_DEF] || type[NG_INJECTABLE_DEF]);\n    if (def) {\n        ngDevMode &&\n            console.warn(`DEPRECATED: DI is instantiating a token \"${type.name}\" that inherits its @Injectable decorator but does not provide one itself.\\n` +\n                `This will become an error in a future version of Angular. Please add @Injectable() to the \"${type.name}\" class.`);\n        return def;\n    }\n    else {\n        return null;\n    }\n}\n/**\n * Read the injector def type in a way which is immune to accidentally reading inherited value.\n *\n * @param type type which may have an injector def (`ɵinj`)\n */\nfunction getInjectorDef(type) {\n    return type && (type.hasOwnProperty(NG_INJ_DEF) || type.hasOwnProperty(NG_INJECTOR_DEF)) ?\n        type[NG_INJ_DEF] :\n        null;\n}\nconst NG_PROV_DEF = getClosureSafeProperty({ ɵprov: getClosureSafeProperty });\nconst NG_INJ_DEF = getClosureSafeProperty({ ɵinj: getClosureSafeProperty });\n// We need to keep these around so we can read off old defs if new defs are unavailable\nconst NG_INJECTABLE_DEF = getClosureSafeProperty({ ngInjectableDef: getClosureSafeProperty });\nconst NG_INJECTOR_DEF = getClosureSafeProperty({ ngInjectorDef: getClosureSafeProperty });\n\n/**\n * Injection flags for DI.\n *\n * @publicApi\n * @deprecated use an options object for `inject` instead.\n */\nvar InjectFlags;\n(function (InjectFlags) {\n    // TODO(alxhub): make this 'const' (and remove `InternalInjectFlags` enum) when ngc no longer\n    // writes exports of it into ngfactory files.\n    /** Check self and check parent injector if needed */\n    InjectFlags[InjectFlags[\"Default\"] = 0] = \"Default\";\n    /**\n     * Specifies that an injector should retrieve a dependency from any injector until reaching the\n     * host element of the current component. (Only used with Element Injector)\n     */\n    InjectFlags[InjectFlags[\"Host\"] = 1] = \"Host\";\n    /** Don't ascend to ancestors of the node requesting injection. */\n    InjectFlags[InjectFlags[\"Self\"] = 2] = \"Self\";\n    /** Skip the node that is requesting injection. */\n    InjectFlags[InjectFlags[\"SkipSelf\"] = 4] = \"SkipSelf\";\n    /** Inject `defaultValue` instead if token not found. */\n    InjectFlags[InjectFlags[\"Optional\"] = 8] = \"Optional\";\n})(InjectFlags || (InjectFlags = {}));\n\n/**\n * Current implementation of inject.\n *\n * By default, it is `injectInjectorOnly`, which makes it `Injector`-only aware. It can be changed\n * to `directiveInject`, which brings in the `NodeInjector` system of ivy. It is designed this\n * way for two reasons:\n *  1. `Injector` should not depend on ivy logic.\n *  2. To maintain tree shake-ability we don't want to bring in unnecessary code.\n */\nlet _injectImplementation;\nfunction getInjectImplementation() {\n    return _injectImplementation;\n}\n/**\n * Sets the current inject implementation.\n */\nfunction setInjectImplementation(impl) {\n    const previous = _injectImplementation;\n    _injectImplementation = impl;\n    return previous;\n}\n/**\n * Injects `root` tokens in limp mode.\n *\n * If no injector exists, we can still inject tree-shakable providers which have `providedIn` set to\n * `\"root\"`. This is known as the limp mode injection. In such case the value is stored in the\n * injectable definition.\n */\nfunction injectRootLimpMode(token, notFoundValue, flags) {\n    const injectableDef = getInjectableDef(token);\n    if (injectableDef && injectableDef.providedIn == 'root') {\n        return injectableDef.value === undefined ? injectableDef.value = injectableDef.factory() :\n            injectableDef.value;\n    }\n    if (flags & InjectFlags.Optional)\n        return null;\n    if (notFoundValue !== undefined)\n        return notFoundValue;\n    throwProviderNotFoundError(stringify(token), 'Injector');\n}\n/**\n * Assert that `_injectImplementation` is not `fn`.\n *\n * This is useful, to prevent infinite recursion.\n *\n * @param fn Function which it should not equal to\n */\nfunction assertInjectImplementationNotEqual(fn) {\n    ngDevMode &&\n        assertNotEqual(_injectImplementation, fn, 'Calling ɵɵinject would cause infinite recursion');\n}\n\n// Always use __globalThis if available, which is the spec-defined global variable across all\n// environments, then fallback to __global first, because in Node tests both __global and\n// __window may be defined and _global should be __global in that case. Note: Typeof/Instanceof\n// checks are considered side-effects in Terser. We explicitly mark this as side-effect free:\n// https://github.com/terser/terser/issues/250.\nconst _global = ( /* @__PURE__ */(() => (typeof globalThis !== 'undefined' && globalThis) ||\n    (typeof global !== 'undefined' && global) || (typeof window !== 'undefined' && window) ||\n    (typeof self !== 'undefined' && typeof WorkerGlobalScope !== 'undefined' &&\n        self instanceof WorkerGlobalScope && self))());\n\nfunction ngDevModeResetPerfCounters() {\n    const locationString = typeof location !== 'undefined' ? location.toString() : '';\n    const newCounters = {\n        namedConstructors: locationString.indexOf('ngDevMode=namedConstructors') != -1,\n        firstCreatePass: 0,\n        tNode: 0,\n        tView: 0,\n        rendererCreateTextNode: 0,\n        rendererSetText: 0,\n        rendererCreateElement: 0,\n        rendererAddEventListener: 0,\n        rendererSetAttribute: 0,\n        rendererRemoveAttribute: 0,\n        rendererSetProperty: 0,\n        rendererSetClassName: 0,\n        rendererAddClass: 0,\n        rendererRemoveClass: 0,\n        rendererSetStyle: 0,\n        rendererRemoveStyle: 0,\n        rendererDestroy: 0,\n        rendererDestroyNode: 0,\n        rendererMoveNode: 0,\n        rendererRemoveNode: 0,\n        rendererAppendChild: 0,\n        rendererInsertBefore: 0,\n        rendererCreateComment: 0,\n    };\n    // Make sure to refer to ngDevMode as ['ngDevMode'] for closure.\n    const allowNgDevModeTrue = locationString.indexOf('ngDevMode=false') === -1;\n    _global['ngDevMode'] = allowNgDevModeTrue && newCounters;\n    return newCounters;\n}\n/**\n * This function checks to see if the `ngDevMode` has been set. If yes,\n * then we honor it, otherwise we default to dev mode with additional checks.\n *\n * The idea is that unless we are doing production build where we explicitly\n * set `ngDevMode == false` we should be helping the developer by providing\n * as much early warning and errors as possible.\n *\n * `ɵɵdefineComponent` is guaranteed to have been called before any component template functions\n * (and thus Ivy instructions), so a single initialization there is sufficient to ensure ngDevMode\n * is defined for the entire instruction set.\n *\n * When checking `ngDevMode` on toplevel, always init it before referencing it\n * (e.g. `((typeof ngDevMode === 'undefined' || ngDevMode) && initNgDevMode())`), otherwise you can\n *  get a `ReferenceError` like in https://github.com/angular/angular/issues/31595.\n *\n * Details on possible values for `ngDevMode` can be found on its docstring.\n *\n * NOTE:\n * - changes to the `ngDevMode` name must be synced with `compiler-cli/src/tooling.ts`.\n */\nfunction initNgDevMode() {\n    // The below checks are to ensure that calling `initNgDevMode` multiple times does not\n    // reset the counters.\n    // If the `ngDevMode` is not an object, then it means we have not created the perf counters\n    // yet.\n    if (typeof ngDevMode === 'undefined' || ngDevMode) {\n        if (typeof ngDevMode !== 'object') {\n            ngDevModeResetPerfCounters();\n        }\n        return typeof ngDevMode !== 'undefined' && !!ngDevMode;\n    }\n    return false;\n}\n\nconst _THROW_IF_NOT_FOUND = {};\nconst THROW_IF_NOT_FOUND = _THROW_IF_NOT_FOUND;\n/*\n * Name of a property (that we patch onto DI decorator), which is used as an annotation of which\n * InjectFlag this decorator represents. This allows to avoid direct references to the DI decorators\n * in the code, thus making them tree-shakable.\n */\nconst DI_DECORATOR_FLAG = '__NG_DI_FLAG__';\nconst NG_TEMP_TOKEN_PATH = 'ngTempTokenPath';\nconst NG_TOKEN_PATH = 'ngTokenPath';\nconst NEW_LINE = /\\n/gm;\nconst NO_NEW_LINE = 'ɵ';\nconst SOURCE = '__source';\n/**\n * Current injector value used by `inject`.\n * - `undefined`: it is an error to call `inject`\n * - `null`: `inject` can be called but there is no injector (limp-mode).\n * - Injector instance: Use the injector for resolution.\n */\nlet _currentInjector = undefined;\nfunction setCurrentInjector(injector) {\n    const former = _currentInjector;\n    _currentInjector = injector;\n    return former;\n}\nfunction injectInjectorOnly(token, flags = InjectFlags.Default) {\n    if (_currentInjector === undefined) {\n        throw new RuntimeError(-203 /* RuntimeErrorCode.MISSING_INJECTION_CONTEXT */, ngDevMode &&\n            `inject() must be called from an injection context such as a constructor, a factory function, a field initializer, or a function used with \\`EnvironmentInjector#runInContext\\`.`);\n    }\n    else if (_currentInjector === null) {\n        return injectRootLimpMode(token, undefined, flags);\n    }\n    else {\n        return _currentInjector.get(token, flags & InjectFlags.Optional ? null : undefined, flags);\n    }\n}\nfunction ɵɵinject(token, flags = InjectFlags.Default) {\n    return (getInjectImplementation() || injectInjectorOnly)(resolveForwardRef(token), flags);\n}\n/**\n * Throws an error indicating that a factory function could not be generated by the compiler for a\n * particular class.\n *\n * The name of the class is not mentioned here, but will be in the generated factory function name\n * and thus in the stack trace.\n *\n * @codeGenApi\n */\nfunction ɵɵinvalidFactoryDep(index) {\n    throw new RuntimeError(202 /* RuntimeErrorCode.INVALID_FACTORY_DEPENDENCY */, ngDevMode &&\n        `This constructor is not compatible with Angular Dependency Injection because its dependency at index ${index} of the parameter list is invalid.\nThis can happen if the dependency type is a primitive like a string or if an ancestor of this class is missing an Angular decorator.\n\nPlease check that 1) the type for the parameter at index ${index} is correct and 2) the correct Angular decorators are defined for this class and its ancestors.`);\n}\n/**\n * Injects a token from the currently active injector.\n * `inject` is only supported during instantiation of a dependency by the DI system. It can be used\n * during:\n * - Construction (via the `constructor`) of a class being instantiated by the DI system, such\n * as an `@Injectable` or `@Component`.\n * - In the initializer for fields of such classes.\n * - In the factory function specified for `useFactory` of a `Provider` or an `@Injectable`.\n * - In the `factory` function specified for an `InjectionToken`.\n *\n * @param token A token that represents a dependency that should be injected.\n * @param flags Optional flags that control how injection is executed.\n * The flags correspond to injection strategies that can be specified with\n * parameter decorators `@Host`, `@Self`, `@SkipSelf`, and `@Optional`.\n * @returns the injected value if operation is successful, `null` otherwise.\n * @throws if called outside of a supported context.\n *\n * @usageNotes\n * In practice the `inject()` calls are allowed in a constructor, a constructor parameter and a\n * field initializer:\n *\n * ```typescript\n * @Injectable({providedIn: 'root'})\n * export class Car {\n *   radio: Radio|undefined;\n *   // OK: field initializer\n *   spareTyre = inject(Tyre);\n *\n *   constructor() {\n *     // OK: constructor body\n *     this.radio = inject(Radio);\n *   }\n * }\n * ```\n *\n * It is also legal to call `inject` from a provider's factory:\n *\n * ```typescript\n * providers: [\n *   {provide: Car, useFactory: () => {\n *     // OK: a class factory\n *     const engine = inject(Engine);\n *     return new Car(engine);\n *   }}\n * ]\n * ```\n *\n * Calls to the `inject()` function outside of the class creation context will result in error. Most\n * notably, calls to `inject()` are disallowed after a class instance was created, in methods\n * (including lifecycle hooks):\n *\n * ```typescript\n * @Component({ ... })\n * export class CarComponent {\n *   ngOnInit() {\n *     // ERROR: too late, the component instance was already created\n *     const engine = inject(Engine);\n *     engine.start();\n *   }\n * }\n * ```\n *\n * @publicApi\n */\nfunction inject(token, flags = InjectFlags.Default) {\n    return ɵɵinject(token, convertToBitFlags(flags));\n}\n// Converts object-based DI flags (`InjectOptions`) to bit flags (`InjectFlags`).\nfunction convertToBitFlags(flags) {\n    if (typeof flags === 'undefined' || typeof flags === 'number') {\n        return flags;\n    }\n    // While TypeScript doesn't accept it without a cast, bitwise OR with false-y values in\n    // JavaScript is a no-op. We can use that for a very codesize-efficient conversion from\n    // `InjectOptions` to `InjectFlags`.\n    return (0 /* InternalInjectFlags.Default */ | // comment to force a line break in the formatter\n        (flags.optional && 8 /* InternalInjectFlags.Optional */) |\n        (flags.host && 1 /* InternalInjectFlags.Host */) |\n        (flags.self && 2 /* InternalInjectFlags.Self */) |\n        (flags.skipSelf && 4 /* InternalInjectFlags.SkipSelf */));\n}\nfunction injectArgs(types) {\n    const args = [];\n    for (let i = 0; i < types.length; i++) {\n        const arg = resolveForwardRef(types[i]);\n        if (Array.isArray(arg)) {\n            if (arg.length === 0) {\n                throw new RuntimeError(900 /* RuntimeErrorCode.INVALID_DIFFER_INPUT */, ngDevMode && 'Arguments array must have arguments.');\n            }\n            let type = undefined;\n            let flags = InjectFlags.Default;\n            for (let j = 0; j < arg.length; j++) {\n                const meta = arg[j];\n                const flag = getInjectFlag(meta);\n                if (typeof flag === 'number') {\n                    // Special case when we handle @Inject decorator.\n                    if (flag === -1 /* DecoratorFlags.Inject */) {\n                        type = meta.token;\n                    }\n                    else {\n                        flags |= flag;\n                    }\n                }\n                else {\n                    type = meta;\n                }\n            }\n            args.push(ɵɵinject(type, flags));\n        }\n        else {\n            args.push(ɵɵinject(arg));\n        }\n    }\n    return args;\n}\n/**\n * Attaches a given InjectFlag to a given decorator using monkey-patching.\n * Since DI decorators can be used in providers `deps` array (when provider is configured using\n * `useFactory`) without initialization (e.g. `Host`) and as an instance (e.g. `new Host()`), we\n * attach the flag to make it available both as a static property and as a field on decorator\n * instance.\n *\n * @param decorator Provided DI decorator.\n * @param flag InjectFlag that should be applied.\n */\nfunction attachInjectFlag(decorator, flag) {\n    decorator[DI_DECORATOR_FLAG] = flag;\n    decorator.prototype[DI_DECORATOR_FLAG] = flag;\n    return decorator;\n}\n/**\n * Reads monkey-patched property that contains InjectFlag attached to a decorator.\n *\n * @param token Token that may contain monkey-patched DI flags property.\n */\nfunction getInjectFlag(token) {\n    return token[DI_DECORATOR_FLAG];\n}\nfunction catchInjectorError(e, token, injectorErrorName, source) {\n    const tokenPath = e[NG_TEMP_TOKEN_PATH];\n    if (token[SOURCE]) {\n        tokenPath.unshift(token[SOURCE]);\n    }\n    e.message = formatError('\\n' + e.message, tokenPath, injectorErrorName, source);\n    e[NG_TOKEN_PATH] = tokenPath;\n    e[NG_TEMP_TOKEN_PATH] = null;\n    throw e;\n}\nfunction formatError(text, obj, injectorErrorName, source = null) {\n    text = text && text.charAt(0) === '\\n' && text.charAt(1) == NO_NEW_LINE ? text.slice(2) : text;\n    let context = stringify(obj);\n    if (Array.isArray(obj)) {\n        context = obj.map(stringify).join(' -> ');\n    }\n    else if (typeof obj === 'object') {\n        let parts = [];\n        for (let key in obj) {\n            if (obj.hasOwnProperty(key)) {\n                let value = obj[key];\n                parts.push(key + ':' + (typeof value === 'string' ? JSON.stringify(value) : stringify(value)));\n            }\n        }\n        context = `{${parts.join(', ')}}`;\n    }\n    return `${injectorErrorName}${source ? '(' + source + ')' : ''}[${context}]: ${text.replace(NEW_LINE, '\\n  ')}`;\n}\n\n/**\n * Convince closure compiler that the wrapped function has no side-effects.\n *\n * Closure compiler always assumes that `toString` has no side-effects. We use this quirk to\n * allow us to execute a function but have closure compiler mark the call as no-side-effects.\n * It is important that the return value for the `noSideEffects` function be assigned\n * to something which is retained otherwise the call to `noSideEffects` will be removed by closure\n * compiler.\n */\nfunction noSideEffects(fn) {\n    return { toString: fn }.toString();\n}\n\n/**\n * The strategy that the default change detector uses to detect changes.\n * When set, takes effect the next time change detection is triggered.\n *\n * @see {@link ChangeDetectorRef#usage-notes Change detection usage}\n *\n * @publicApi\n */\nvar ChangeDetectionStrategy;\n(function (ChangeDetectionStrategy) {\n    /**\n     * Use the `CheckOnce` strategy, meaning that automatic change detection is deactivated\n     * until reactivated by setting the strategy to `Default` (`CheckAlways`).\n     * Change detection can still be explicitly invoked.\n     * This strategy applies to all child directives and cannot be overridden.\n     */\n    ChangeDetectionStrategy[ChangeDetectionStrategy[\"OnPush\"] = 0] = \"OnPush\";\n    /**\n     * Use the default `CheckAlways` strategy, in which change detection is automatic until\n     * explicitly deactivated.\n     */\n    ChangeDetectionStrategy[ChangeDetectionStrategy[\"Default\"] = 1] = \"Default\";\n})(ChangeDetectionStrategy || (ChangeDetectionStrategy = {}));\n\n/**\n * Defines the CSS styles encapsulation policies for the {@link Component} decorator's\n * `encapsulation` option.\n *\n * See {@link Component#encapsulation encapsulation}.\n *\n * @usageNotes\n * ### Example\n *\n * {@example core/ts/metadata/encapsulation.ts region='longform'}\n *\n * @publicApi\n */\nvar ViewEncapsulation$1;\n(function (ViewEncapsulation) {\n    // TODO: consider making `ViewEncapsulation` a `const enum` instead. See\n    // https://github.com/angular/angular/issues/44119 for additional information.\n    /**\n     * Emulates a native Shadow DOM encapsulation behavior by adding a specific attribute to the\n     * component's host element and applying the same attribute to all the CSS selectors provided\n     * via {@link Component#styles styles} or {@link Component#styleUrls styleUrls}.\n     *\n     * This is the default option.\n     */\n    ViewEncapsulation[ViewEncapsulation[\"Emulated\"] = 0] = \"Emulated\";\n    // Historically the 1 value was for `Native` encapsulation which has been removed as of v11.\n    /**\n     * Doesn't provide any sort of CSS style encapsulation, meaning that all the styles provided\n     * via {@link Component#styles styles} or {@link Component#styleUrls styleUrls} are applicable\n     * to any HTML element of the application regardless of their host Component.\n     */\n    ViewEncapsulation[ViewEncapsulation[\"None\"] = 2] = \"None\";\n    /**\n     * Uses the browser's native Shadow DOM API to encapsulate CSS styles, meaning that it creates\n     * a ShadowRoot for the component's host element which is then used to encapsulate\n     * all the Component's styling.\n     */\n    ViewEncapsulation[ViewEncapsulation[\"ShadowDom\"] = 3] = \"ShadowDom\";\n})(ViewEncapsulation$1 || (ViewEncapsulation$1 = {}));\n\n/**\n * This file contains reuseable \"empty\" symbols that can be used as default return values\n * in different parts of the rendering code. Because the same symbols are returned, this\n * allows for identity checks against these values to be consistently used by the framework\n * code.\n */\nconst EMPTY_OBJ = {};\nconst EMPTY_ARRAY = [];\n// freezing the values prevents any code from accidentally inserting new values in\nif ((typeof ngDevMode === 'undefined' || ngDevMode) && initNgDevMode()) {\n    // These property accesses can be ignored because ngDevMode will be set to false\n    // when optimizing code and the whole if statement will be dropped.\n    // tslint:disable-next-line:no-toplevel-property-access\n    Object.freeze(EMPTY_OBJ);\n    // tslint:disable-next-line:no-toplevel-property-access\n    Object.freeze(EMPTY_ARRAY);\n}\n\nconst NG_COMP_DEF = getClosureSafeProperty({ ɵcmp: getClosureSafeProperty });\nconst NG_DIR_DEF = getClosureSafeProperty({ ɵdir: getClosureSafeProperty });\nconst NG_PIPE_DEF = getClosureSafeProperty({ ɵpipe: getClosureSafeProperty });\nconst NG_MOD_DEF = getClosureSafeProperty({ ɵmod: getClosureSafeProperty });\nconst NG_FACTORY_DEF = getClosureSafeProperty({ ɵfac: getClosureSafeProperty });\n/**\n * If a directive is diPublic, bloomAdd sets a property on the type with this constant as\n * the key and the directive's unique ID as the value. This allows us to map directives to their\n * bloom filter bit for DI.\n */\n// TODO(misko): This is wrong. The NG_ELEMENT_ID should never be minified.\nconst NG_ELEMENT_ID = getClosureSafeProperty({ __NG_ELEMENT_ID__: getClosureSafeProperty });\n\n/** Counter used to generate unique IDs for component definitions. */\nlet componentDefCount = 0;\n/**\n * Create a component definition object.\n *\n *\n * # Example\n * ```\n * class MyComponent {\n *   // Generated by Angular Template Compiler\n *   // [Symbol] syntax will not be supported by TypeScript until v2.7\n *   static ɵcmp = defineComponent({\n *     ...\n *   });\n * }\n * ```\n * @codeGenApi\n */\nfunction ɵɵdefineComponent(componentDefinition) {\n    return noSideEffects(() => {\n        // Initialize ngDevMode. This must be the first statement in ɵɵdefineComponent.\n        // See the `initNgDevMode` docstring for more information.\n        (typeof ngDevMode === 'undefined' || ngDevMode) && initNgDevMode();\n        const baseDef = getNgDirectiveDef(componentDefinition);\n        const def = {\n            ...baseDef,\n            decls: componentDefinition.decls,\n            vars: componentDefinition.vars,\n            template: componentDefinition.template,\n            consts: componentDefinition.consts || null,\n            ngContentSelectors: componentDefinition.ngContentSelectors,\n            onPush: componentDefinition.changeDetection === ChangeDetectionStrategy.OnPush,\n            directiveDefs: null,\n            pipeDefs: null,\n            dependencies: baseDef.standalone && componentDefinition.dependencies || null,\n            getStandaloneInjector: null,\n            data: componentDefinition.data || {},\n            encapsulation: componentDefinition.encapsulation || ViewEncapsulation$1.Emulated,\n            id: `c${componentDefCount++}`,\n            styles: componentDefinition.styles || EMPTY_ARRAY,\n            _: null,\n            schemas: componentDefinition.schemas || null,\n            tView: null,\n        };\n        initFeatures(def);\n        const dependencies = componentDefinition.dependencies;\n        def.directiveDefs = extractDefListOrFactory(dependencies, /* pipeDef */ false);\n        def.pipeDefs = extractDefListOrFactory(dependencies, /* pipeDef */ true);\n        return def;\n    });\n}\n/**\n * Generated next to NgModules to monkey-patch directive and pipe references onto a component's\n * definition, when generating a direct reference in the component file would otherwise create an\n * import cycle.\n *\n * See [this explanation](https://hackmd.io/Odw80D0pR6yfsOjg_7XCJg?view) for more details.\n *\n * @codeGenApi\n */\nfunction ɵɵsetComponentScope(type, directives, pipes) {\n    const def = type.ɵcmp;\n    def.directiveDefs = extractDefListOrFactory(directives, /* pipeDef */ false);\n    def.pipeDefs = extractDefListOrFactory(pipes, /* pipeDef */ true);\n}\nfunction extractDirectiveDef(type) {\n    return getComponentDef(type) || getDirectiveDef(type);\n}\nfunction nonNull(value) {\n    return value !== null;\n}\n/**\n * @codeGenApi\n */\nfunction ɵɵdefineNgModule(def) {\n    return noSideEffects(() => {\n        const res = {\n            type: def.type,\n            bootstrap: def.bootstrap || EMPTY_ARRAY,\n            declarations: def.declarations || EMPTY_ARRAY,\n            imports: def.imports || EMPTY_ARRAY,\n            exports: def.exports || EMPTY_ARRAY,\n            transitiveCompileScopes: null,\n            schemas: def.schemas || null,\n            id: def.id || null,\n        };\n        return res;\n    });\n}\n/**\n * Adds the module metadata that is necessary to compute the module's transitive scope to an\n * existing module definition.\n *\n * Scope metadata of modules is not used in production builds, so calls to this function can be\n * marked pure to tree-shake it from the bundle, allowing for all referenced declarations\n * to become eligible for tree-shaking as well.\n *\n * @codeGenApi\n */\nfunction ɵɵsetNgModuleScope(type, scope) {\n    return noSideEffects(() => {\n        const ngModuleDef = getNgModuleDef(type, true);\n        ngModuleDef.declarations = scope.declarations || EMPTY_ARRAY;\n        ngModuleDef.imports = scope.imports || EMPTY_ARRAY;\n        ngModuleDef.exports = scope.exports || EMPTY_ARRAY;\n    });\n}\n/**\n * Inverts an inputs or outputs lookup such that the keys, which were the\n * minified keys, are part of the values, and the values are parsed so that\n * the publicName of the property is the new key\n *\n * e.g. for\n *\n * ```\n * class Comp {\n *   @Input()\n *   propName1: string;\n *\n *   @Input('publicName2')\n *   declaredPropName2: number;\n * }\n * ```\n *\n * will be serialized as\n *\n * ```\n * {\n *   propName1: 'propName1',\n *   declaredPropName2: ['publicName2', 'declaredPropName2'],\n * }\n * ```\n *\n * which is than translated by the minifier as:\n *\n * ```\n * {\n *   minifiedPropName1: 'propName1',\n *   minifiedPropName2: ['publicName2', 'declaredPropName2'],\n * }\n * ```\n *\n * becomes: (public name => minifiedName)\n *\n * ```\n * {\n *  'propName1': 'minifiedPropName1',\n *  'publicName2': 'minifiedPropName2',\n * }\n * ```\n *\n * Optionally the function can take `secondary` which will result in: (public name => declared name)\n *\n * ```\n * {\n *  'propName1': 'propName1',\n *  'publicName2': 'declaredPropName2',\n * }\n * ```\n *\n\n */\nfunction invertObject(obj, secondary) {\n    if (obj == null)\n        return EMPTY_OBJ;\n    const newLookup = {};\n    for (const minifiedKey in obj) {\n        if (obj.hasOwnProperty(minifiedKey)) {\n            let publicName = obj[minifiedKey];\n            let declaredName = publicName;\n            if (Array.isArray(publicName)) {\n                declaredName = publicName[1];\n                publicName = publicName[0];\n            }\n            newLookup[publicName] = minifiedKey;\n            if (secondary) {\n                (secondary[publicName] = declaredName);\n            }\n        }\n    }\n    return newLookup;\n}\n/**\n * Create a directive definition object.\n *\n * # Example\n * ```ts\n * class MyDirective {\n *   // Generated by Angular Template Compiler\n *   // [Symbol] syntax will not be supported by TypeScript until v2.7\n *   static ɵdir = ɵɵdefineDirective({\n *     ...\n *   });\n * }\n * ```\n *\n * @codeGenApi\n */\nfunction ɵɵdefineDirective(directiveDefinition) {\n    return noSideEffects(() => {\n        const def = getNgDirectiveDef(directiveDefinition);\n        initFeatures(def);\n        return def;\n    });\n}\n/**\n * Create a pipe definition object.\n *\n * # Example\n * ```\n * class MyPipe implements PipeTransform {\n *   // Generated by Angular Template Compiler\n *   static ɵpipe = definePipe({\n *     ...\n *   });\n * }\n * ```\n * @param pipeDef Pipe definition generated by the compiler\n *\n * @codeGenApi\n */\nfunction ɵɵdefinePipe(pipeDef) {\n    return {\n        type: pipeDef.type,\n        name: pipeDef.name,\n        factory: null,\n        pure: pipeDef.pure !== false,\n        standalone: pipeDef.standalone === true,\n        onDestroy: pipeDef.type.prototype.ngOnDestroy || null\n    };\n}\n/**\n * The following getter methods retrieve the definition from the type. Currently the retrieval\n * honors inheritance, but in the future we may change the rule to require that definitions are\n * explicit. This would require some sort of migration strategy.\n */\nfunction getComponentDef(type) {\n    return type[NG_COMP_DEF] || null;\n}\nfunction getDirectiveDef(type) {\n    return type[NG_DIR_DEF] || null;\n}\nfunction getPipeDef$1(type) {\n    return type[NG_PIPE_DEF] || null;\n}\n/**\n * Checks whether a given Component, Directive or Pipe is marked as standalone.\n * This will return false if passed anything other than a Component, Directive, or Pipe class\n * See this guide for additional information: https://angular.io/guide/standalone-components\n *\n * @param type A reference to a Component, Directive or Pipe.\n * @publicApi\n */\nfunction isStandalone(type) {\n    const def = getComponentDef(type) || getDirectiveDef(type) || getPipeDef$1(type);\n    return def !== null ? def.standalone : false;\n}\nfunction getNgModuleDef(type, throwNotFound) {\n    const ngModuleDef = type[NG_MOD_DEF] || null;\n    if (!ngModuleDef && throwNotFound === true) {\n        throw new Error(`Type ${stringify(type)} does not have 'ɵmod' property.`);\n    }\n    return ngModuleDef;\n}\nfunction getNgDirectiveDef(directiveDefinition) {\n    const declaredInputs = {};\n    return {\n        type: directiveDefinition.type,\n        providersResolver: null,\n        factory: null,\n        hostBindings: directiveDefinition.hostBindings || null,\n        hostVars: directiveDefinition.hostVars || 0,\n        hostAttrs: directiveDefinition.hostAttrs || null,\n        contentQueries: directiveDefinition.contentQueries || null,\n        declaredInputs,\n        exportAs: directiveDefinition.exportAs || null,\n        standalone: directiveDefinition.standalone === true,\n        selectors: directiveDefinition.selectors || EMPTY_ARRAY,\n        viewQuery: directiveDefinition.viewQuery || null,\n        features: directiveDefinition.features || null,\n        setInput: null,\n        findHostDirectiveDefs: null,\n        hostDirectives: null,\n        inputs: invertObject(directiveDefinition.inputs, declaredInputs),\n        outputs: invertObject(directiveDefinition.outputs),\n    };\n}\nfunction initFeatures(definition) {\n    definition.features?.forEach((fn) => fn(definition));\n}\nfunction extractDefListOrFactory(dependencies, pipeDef) {\n    if (!dependencies) {\n        return null;\n    }\n    const defExtractor = pipeDef ? getPipeDef$1 : extractDirectiveDef;\n    return () => (typeof dependencies === 'function' ? dependencies() : dependencies)\n        .map(dep => defExtractor(dep))\n        .filter(nonNull);\n}\n\n// Below are constants for LView indices to help us look up LView members\n// without having to remember the specific indices.\n// Uglify will inline these when minifying so there shouldn't be a cost.\nconst HOST = 0;\nconst TVIEW = 1;\nconst FLAGS = 2;\nconst PARENT = 3;\nconst NEXT = 4;\nconst TRANSPLANTED_VIEWS_TO_REFRESH = 5;\nconst T_HOST = 6;\nconst CLEANUP = 7;\nconst CONTEXT = 8;\nconst INJECTOR$1 = 9;\nconst RENDERER_FACTORY = 10;\nconst RENDERER = 11;\nconst SANITIZER = 12;\nconst CHILD_HEAD = 13;\nconst CHILD_TAIL = 14;\n// FIXME(misko): Investigate if the three declarations aren't all same thing.\nconst DECLARATION_VIEW = 15;\nconst DECLARATION_COMPONENT_VIEW = 16;\nconst DECLARATION_LCONTAINER = 17;\nconst PREORDER_HOOK_FLAGS = 18;\nconst QUERIES = 19;\nconst ID = 20;\nconst EMBEDDED_VIEW_INJECTOR = 21;\n/**\n * Size of LView's header. Necessary to adjust for it when setting slots.\n *\n * IMPORTANT: `HEADER_OFFSET` should only be referred to the in the `ɵɵ*` instructions to translate\n * instruction index into `LView` index. All other indexes should be in the `LView` index space and\n * there should be no need to refer to `HEADER_OFFSET` anywhere else.\n */\nconst HEADER_OFFSET = 22;\n// Note: This hack is necessary so we don't erroneously get a circular dependency\n// failure based on types.\nconst unusedValueExportToPlacateAjd$4 = 1;\n\n/**\n * Special location which allows easy identification of type. If we have an array which was\n * retrieved from the `LView` and that array has `true` at `TYPE` location, we know it is\n * `LContainer`.\n */\nconst TYPE = 1;\n/**\n * Below are constants for LContainer indices to help us look up LContainer members\n * without having to remember the specific indices.\n * Uglify will inline these when minifying so there shouldn't be a cost.\n */\n/**\n * Flag to signify that this `LContainer` may have transplanted views which need to be change\n * detected. (see: `LView[DECLARATION_COMPONENT_VIEW])`.\n *\n * This flag, once set, is never unset for the `LContainer`. This means that when unset we can skip\n * a lot of work in `refreshEmbeddedViews`. But when set we still need to verify\n * that the `MOVED_VIEWS` are transplanted and on-push.\n */\nconst HAS_TRANSPLANTED_VIEWS = 2;\n// PARENT, NEXT, TRANSPLANTED_VIEWS_TO_REFRESH are indices 3, 4, and 5\n// As we already have these constants in LView, we don't need to re-create them.\n// T_HOST is index 6\n// We already have this constants in LView, we don't need to re-create it.\nconst NATIVE = 7;\nconst VIEW_REFS = 8;\nconst MOVED_VIEWS = 9;\n/**\n * Size of LContainer's header. Represents the index after which all views in the\n * container will be inserted. We need to keep a record of current views so we know\n * which views are already in the DOM (and don't need to be re-added) and so we can\n * remove views from the DOM when they are no longer required.\n */\nconst CONTAINER_HEADER_OFFSET = 10;\n// Note: This hack is necessary so we don't erroneously get a circular dependency\n// failure based on types.\nconst unusedValueExportToPlacateAjd$3 = 1;\n\n/**\n * True if `value` is `LView`.\n * @param value wrapped value of `RNode`, `LView`, `LContainer`\n */\nfunction isLView(value) {\n    return Array.isArray(value) && typeof value[TYPE] === 'object';\n}\n/**\n * True if `value` is `LContainer`.\n * @param value wrapped value of `RNode`, `LView`, `LContainer`\n */\nfunction isLContainer(value) {\n    return Array.isArray(value) && value[TYPE] === true;\n}\nfunction isContentQueryHost(tNode) {\n    return (tNode.flags & 4 /* TNodeFlags.hasContentQuery */) !== 0;\n}\nfunction isComponentHost(tNode) {\n    return tNode.componentOffset > -1;\n}\nfunction isDirectiveHost(tNode) {\n    return (tNode.flags & 1 /* TNodeFlags.isDirectiveHost */) === 1 /* TNodeFlags.isDirectiveHost */;\n}\nfunction isComponentDef(def) {\n    return !!def.template;\n}\nfunction isRootView(target) {\n    return (target[FLAGS] & 256 /* LViewFlags.IsRoot */) !== 0;\n}\n\n// [Assert functions do not constraint type when they are guarded by a truthy\n// expression.](https://github.com/microsoft/TypeScript/issues/37295)\nfunction assertTNodeForLView(tNode, lView) {\n    assertTNodeForTView(tNode, lView[TVIEW]);\n}\nfunction assertTNodeForTView(tNode, tView) {\n    assertTNode(tNode);\n    tNode.hasOwnProperty('tView_') &&\n        assertEqual(tNode.tView_, tView, 'This TNode does not belong to this TView.');\n}\nfunction assertTNode(tNode) {\n    assertDefined(tNode, 'TNode must be defined');\n    if (!(tNode && typeof tNode === 'object' && tNode.hasOwnProperty('directiveStylingLast'))) {\n        throwError('Not of type TNode, got: ' + tNode);\n    }\n}\nfunction assertTIcu(tIcu) {\n    assertDefined(tIcu, 'Expected TIcu to be defined');\n    if (!(typeof tIcu.currentCaseLViewIndex === 'number')) {\n        throwError('Object is not of TIcu type.');\n    }\n}\nfunction assertComponentType(actual, msg = 'Type passed in is not ComponentType, it does not have \\'ɵcmp\\' property.') {\n    if (!getComponentDef(actual)) {\n        throwError(msg);\n    }\n}\nfunction assertNgModuleType(actual, msg = 'Type passed in is not NgModuleType, it does not have \\'ɵmod\\' property.') {\n    if (!getNgModuleDef(actual)) {\n        throwError(msg);\n    }\n}\nfunction assertCurrentTNodeIsParent(isParent) {\n    assertEqual(isParent, true, 'currentTNode should be a parent');\n}\nfunction assertHasParent(tNode) {\n    assertDefined(tNode, 'currentTNode should exist!');\n    assertDefined(tNode.parent, 'currentTNode should have a parent');\n}\nfunction assertLContainer(value) {\n    assertDefined(value, 'LContainer must be defined');\n    assertEqual(isLContainer(value), true, 'Expecting LContainer');\n}\nfunction assertLViewOrUndefined(value) {\n    value && assertEqual(isLView(value), true, 'Expecting LView or undefined or null');\n}\nfunction assertLView(value) {\n    assertDefined(value, 'LView must be defined');\n    assertEqual(isLView(value), true, 'Expecting LView');\n}\nfunction assertFirstCreatePass(tView, errMessage) {\n    assertEqual(tView.firstCreatePass, true, errMessage || 'Should only be called in first create pass.');\n}\nfunction assertFirstUpdatePass(tView, errMessage) {\n    assertEqual(tView.firstUpdatePass, true, errMessage || 'Should only be called in first update pass.');\n}\n/**\n * This is a basic sanity check that an object is probably a directive def. DirectiveDef is\n * an interface, so we can't do a direct instanceof check.\n */\nfunction assertDirectiveDef(obj) {\n    if (obj.type === undefined || obj.selectors == undefined || obj.inputs === undefined) {\n        throwError(`Expected a DirectiveDef/ComponentDef and this object does not seem to have the expected shape.`);\n    }\n}\nfunction assertIndexInDeclRange(lView, index) {\n    const tView = lView[1];\n    assertBetween(HEADER_OFFSET, tView.bindingStartIndex, index);\n}\nfunction assertIndexInExpandoRange(lView, index) {\n    const tView = lView[1];\n    assertBetween(tView.expandoStartIndex, lView.length, index);\n}\nfunction assertBetween(lower, upper, index) {\n    if (!(lower <= index && index < upper)) {\n        throwError(`Index out of range (expecting ${lower} <= ${index} < ${upper})`);\n    }\n}\nfunction assertProjectionSlots(lView, errMessage) {\n    assertDefined(lView[DECLARATION_COMPONENT_VIEW], 'Component views should exist.');\n    assertDefined(lView[DECLARATION_COMPONENT_VIEW][T_HOST].projection, errMessage ||\n        'Components with projection nodes (<ng-content>) must have projection slots defined.');\n}\nfunction assertParentView(lView, errMessage) {\n    assertDefined(lView, errMessage || 'Component views should always have a parent view (component\\'s host view)');\n}\n/**\n * This is a basic sanity check that the `injectorIndex` seems to point to what looks like a\n * NodeInjector data structure.\n *\n * @param lView `LView` which should be checked.\n * @param injectorIndex index into the `LView` where the `NodeInjector` is expected.\n */\nfunction assertNodeInjector(lView, injectorIndex) {\n    assertIndexInExpandoRange(lView, injectorIndex);\n    assertIndexInExpandoRange(lView, injectorIndex + 8 /* NodeInjectorOffset.PARENT */);\n    assertNumber(lView[injectorIndex + 0], 'injectorIndex should point to a bloom filter');\n    assertNumber(lView[injectorIndex + 1], 'injectorIndex should point to a bloom filter');\n    assertNumber(lView[injectorIndex + 2], 'injectorIndex should point to a bloom filter');\n    assertNumber(lView[injectorIndex + 3], 'injectorIndex should point to a bloom filter');\n    assertNumber(lView[injectorIndex + 4], 'injectorIndex should point to a bloom filter');\n    assertNumber(lView[injectorIndex + 5], 'injectorIndex should point to a bloom filter');\n    assertNumber(lView[injectorIndex + 6], 'injectorIndex should point to a bloom filter');\n    assertNumber(lView[injectorIndex + 7], 'injectorIndex should point to a bloom filter');\n    assertNumber(lView[injectorIndex + 8 /* NodeInjectorOffset.PARENT */], 'injectorIndex should point to parent injector');\n}\n\nfunction getFactoryDef(type, throwNotFound) {\n    const hasFactoryDef = type.hasOwnProperty(NG_FACTORY_DEF);\n    if (!hasFactoryDef && throwNotFound === true && ngDevMode) {\n        throw new Error(`Type ${stringify(type)} does not have 'ɵfac' property.`);\n    }\n    return hasFactoryDef ? type[NG_FACTORY_DEF] : null;\n}\n\n/**\n * Represents a basic change from a previous to a new value for a single\n * property on a directive instance. Passed as a value in a\n * {@link SimpleChanges} object to the `ngOnChanges` hook.\n *\n * @see `OnChanges`\n *\n * @publicApi\n */\nclass SimpleChange {\n    constructor(previousValue, currentValue, firstChange) {\n        this.previousValue = previousValue;\n        this.currentValue = currentValue;\n        this.firstChange = firstChange;\n    }\n    /**\n     * Check whether the new value is the first value assigned.\n     */\n    isFirstChange() {\n        return this.firstChange;\n    }\n}\n\n/**\n * The NgOnChangesFeature decorates a component with support for the ngOnChanges\n * lifecycle hook, so it should be included in any component that implements\n * that hook.\n *\n * If the component or directive uses inheritance, the NgOnChangesFeature MUST\n * be included as a feature AFTER {@link InheritDefinitionFeature}, otherwise\n * inherited properties will not be propagated to the ngOnChanges lifecycle\n * hook.\n *\n * Example usage:\n *\n * ```\n * static ɵcmp = defineComponent({\n *   ...\n *   inputs: {name: 'publicName'},\n *   features: [NgOnChangesFeature]\n * });\n * ```\n *\n * @codeGenApi\n */\nfunction ɵɵNgOnChangesFeature() {\n    return NgOnChangesFeatureImpl;\n}\nfunction NgOnChangesFeatureImpl(definition) {\n    if (definition.type.prototype.ngOnChanges) {\n        definition.setInput = ngOnChangesSetInput;\n    }\n    return rememberChangeHistoryAndInvokeOnChangesHook;\n}\n// This option ensures that the ngOnChanges lifecycle hook will be inherited\n// from superclasses (in InheritDefinitionFeature).\n/** @nocollapse */\n// tslint:disable-next-line:no-toplevel-property-access\nɵɵNgOnChangesFeature.ngInherit = true;\n/**\n * This is a synthetic lifecycle hook which gets inserted into `TView.preOrderHooks` to simulate\n * `ngOnChanges`.\n *\n * The hook reads the `NgSimpleChangesStore` data from the component instance and if changes are\n * found it invokes `ngOnChanges` on the component instance.\n *\n * @param this Component instance. Because this function gets inserted into `TView.preOrderHooks`,\n *     it is guaranteed to be called with component instance.\n */\nfunction rememberChangeHistoryAndInvokeOnChangesHook() {\n    const simpleChangesStore = getSimpleChangesStore(this);\n    const current = simpleChangesStore?.current;\n    if (current) {\n        const previous = simpleChangesStore.previous;\n        if (previous === EMPTY_OBJ) {\n            simpleChangesStore.previous = current;\n        }\n        else {\n            // New changes are copied to the previous store, so that we don't lose history for inputs\n            // which were not changed this time\n            for (let key in current) {\n                previous[key] = current[key];\n            }\n        }\n        simpleChangesStore.current = null;\n        this.ngOnChanges(current);\n    }\n}\nfunction ngOnChangesSetInput(instance, value, publicName, privateName) {\n    const declaredName = this.declaredInputs[publicName];\n    ngDevMode && assertString(declaredName, 'Name of input in ngOnChanges has to be a string');\n    const simpleChangesStore = getSimpleChangesStore(instance) ||\n        setSimpleChangesStore(instance, { previous: EMPTY_OBJ, current: null });\n    const current = simpleChangesStore.current || (simpleChangesStore.current = {});\n    const previous = simpleChangesStore.previous;\n    const previousChange = previous[declaredName];\n    current[declaredName] = new SimpleChange(previousChange && previousChange.currentValue, value, previous === EMPTY_OBJ);\n    instance[privateName] = value;\n}\nconst SIMPLE_CHANGES_STORE = '__ngSimpleChanges__';\nfunction getSimpleChangesStore(instance) {\n    return instance[SIMPLE_CHANGES_STORE] || null;\n}\nfunction setSimpleChangesStore(instance, store) {\n    return instance[SIMPLE_CHANGES_STORE] = store;\n}\n\nlet profilerCallback = null;\n/**\n * Sets the callback function which will be invoked before and after performing certain actions at\n * runtime (for example, before and after running change detection).\n *\n * Warning: this function is *INTERNAL* and should not be relied upon in application's code.\n * The contract of the function might be changed in any release and/or the function can be removed\n * completely.\n *\n * @param profiler function provided by the caller or null value to disable profiling.\n */\nconst setProfiler = (profiler) => {\n    profilerCallback = profiler;\n};\n/**\n * Profiler function which wraps user code executed by the runtime.\n *\n * @param event ProfilerEvent corresponding to the execution context\n * @param instance component instance\n * @param hookOrListener lifecycle hook function or output listener. The value depends on the\n *  execution context\n * @returns\n */\nconst profiler = function (event, instance, hookOrListener) {\n    if (profilerCallback != null /* both `null` and `undefined` */) {\n        profilerCallback(event, instance, hookOrListener);\n    }\n};\n\nconst SVG_NAMESPACE = 'svg';\nconst MATH_ML_NAMESPACE = 'math';\n\n/**\n * For efficiency reasons we often put several different data types (`RNode`, `LView`, `LContainer`)\n * in same location in `LView`. This is because we don't want to pre-allocate space for it\n * because the storage is sparse. This file contains utilities for dealing with such data types.\n *\n * How do we know what is stored at a given location in `LView`.\n * - `Array.isArray(value) === false` => `RNode` (The normal storage value)\n * - `Array.isArray(value) === true` => then the `value[0]` represents the wrapped value.\n *   - `typeof value[TYPE] === 'object'` => `LView`\n *      - This happens when we have a component at a given location\n *   - `typeof value[TYPE] === true` => `LContainer`\n *      - This happens when we have `LContainer` binding at a given location.\n *\n *\n * NOTE: it is assumed that `Array.isArray` and `typeof` operations are very efficient.\n */\n/**\n * Returns `RNode`.\n * @param value wrapped value of `RNode`, `LView`, `LContainer`\n */\nfunction unwrapRNode(value) {\n    while (Array.isArray(value)) {\n        value = value[HOST];\n    }\n    return value;\n}\n/**\n * Returns `LView` or `null` if not found.\n * @param value wrapped value of `RNode`, `LView`, `LContainer`\n */\nfunction unwrapLView(value) {\n    while (Array.isArray(value)) {\n        // This check is same as `isLView()` but we don't call at as we don't want to call\n        // `Array.isArray()` twice and give JITer more work for inlining.\n        if (typeof value[TYPE] === 'object')\n            return value;\n        value = value[HOST];\n    }\n    return null;\n}\n/**\n * Retrieves an element value from the provided `viewData`, by unwrapping\n * from any containers, component views, or style contexts.\n */\nfunction getNativeByIndex(index, lView) {\n    ngDevMode && assertIndexInRange(lView, index);\n    ngDevMode && assertGreaterThanOrEqual(index, HEADER_OFFSET, 'Expected to be past HEADER_OFFSET');\n    return unwrapRNode(lView[index]);\n}\n/**\n * Retrieve an `RNode` for a given `TNode` and `LView`.\n *\n * This function guarantees in dev mode to retrieve a non-null `RNode`.\n *\n * @param tNode\n * @param lView\n */\nfunction getNativeByTNode(tNode, lView) {\n    ngDevMode && assertTNodeForLView(tNode, lView);\n    ngDevMode && assertIndexInRange(lView, tNode.index);\n    const node = unwrapRNode(lView[tNode.index]);\n    return node;\n}\n/**\n * Retrieve an `RNode` or `null` for a given `TNode` and `LView`.\n *\n * Some `TNode`s don't have associated `RNode`s. For example `Projection`\n *\n * @param tNode\n * @param lView\n */\nfunction getNativeByTNodeOrNull(tNode, lView) {\n    const index = tNode === null ? -1 : tNode.index;\n    if (index !== -1) {\n        ngDevMode && assertTNodeForLView(tNode, lView);\n        const node = unwrapRNode(lView[index]);\n        return node;\n    }\n    return null;\n}\n// fixme(misko): The return Type should be `TNode|null`\nfunction getTNode(tView, index) {\n    ngDevMode && assertGreaterThan(index, -1, 'wrong index for TNode');\n    ngDevMode && assertLessThan(index, tView.data.length, 'wrong index for TNode');\n    const tNode = tView.data[index];\n    ngDevMode && tNode !== null && assertTNode(tNode);\n    return tNode;\n}\n/** Retrieves a value from any `LView` or `TData`. */\nfunction load(view, index) {\n    ngDevMode && assertIndexInRange(view, index);\n    return view[index];\n}\nfunction getComponentLViewByIndex(nodeIndex, hostView) {\n    // Could be an LView or an LContainer. If LContainer, unwrap to find LView.\n    ngDevMode && assertIndexInRange(hostView, nodeIndex);\n    const slotValue = hostView[nodeIndex];\n    const lView = isLView(slotValue) ? slotValue : slotValue[HOST];\n    return lView;\n}\n/** Checks whether a given view is in creation mode */\nfunction isCreationMode(view) {\n    return (view[FLAGS] & 4 /* LViewFlags.CreationMode */) === 4 /* LViewFlags.CreationMode */;\n}\n/**\n * Returns a boolean for whether the view is attached to the change detection tree.\n *\n * Note: This determines whether a view should be checked, not whether it's inserted\n * into a container. For that, you'll want `viewAttachedToContainer` below.\n */\nfunction viewAttachedToChangeDetector(view) {\n    return (view[FLAGS] & 64 /* LViewFlags.Attached */) === 64 /* LViewFlags.Attached */;\n}\n/** Returns a boolean for whether the view is attached to a container. */\nfunction viewAttachedToContainer(view) {\n    return isLContainer(view[PARENT]);\n}\nfunction getConstant(consts, index) {\n    if (index === null || index === undefined)\n        return null;\n    ngDevMode && assertIndexInRange(consts, index);\n    return consts[index];\n}\n/**\n * Resets the pre-order hook flags of the view.\n * @param lView the LView on which the flags are reset\n */\nfunction resetPreOrderHookFlags(lView) {\n    lView[PREORDER_HOOK_FLAGS] = 0;\n}\n/**\n * Updates the `TRANSPLANTED_VIEWS_TO_REFRESH` counter on the `LContainer` as well as the parents\n * whose\n *  1. counter goes from 0 to 1, indicating that there is a new child that has a view to refresh\n *  or\n *  2. counter goes from 1 to 0, indicating there are no more descendant views to refresh\n */\nfunction updateTransplantedViewCount(lContainer, amount) {\n    lContainer[TRANSPLANTED_VIEWS_TO_REFRESH] += amount;\n    let viewOrContainer = lContainer;\n    let parent = lContainer[PARENT];\n    while (parent !== null &&\n        ((amount === 1 && viewOrContainer[TRANSPLANTED_VIEWS_TO_REFRESH] === 1) ||\n            (amount === -1 && viewOrContainer[TRANSPLANTED_VIEWS_TO_REFRESH] === 0))) {\n        parent[TRANSPLANTED_VIEWS_TO_REFRESH] += amount;\n        viewOrContainer = parent;\n        parent = parent[PARENT];\n    }\n}\n\nconst instructionState = {\n    lFrame: createLFrame(null),\n    bindingsEnabled: true,\n};\n/**\n * In this mode, any changes in bindings will throw an ExpressionChangedAfterChecked error.\n *\n * Necessary to support ChangeDetectorRef.checkNoChanges().\n *\n * The `checkNoChanges` function is invoked only in ngDevMode=true and verifies that no unintended\n * changes exist in the change detector or its children.\n */\nlet _isInCheckNoChangesMode = false;\n/**\n * Returns true if the instruction state stack is empty.\n *\n * Intended to be called from tests only (tree shaken otherwise).\n */\nfunction specOnlyIsInstructionStateEmpty() {\n    return instructionState.lFrame.parent === null;\n}\nfunction getElementDepthCount() {\n    return instructionState.lFrame.elementDepthCount;\n}\nfunction increaseElementDepthCount() {\n    instructionState.lFrame.elementDepthCount++;\n}\nfunction decreaseElementDepthCount() {\n    instructionState.lFrame.elementDepthCount--;\n}\nfunction getBindingsEnabled() {\n    return instructionState.bindingsEnabled;\n}\n/**\n * Enables directive matching on elements.\n *\n *  * Example:\n * ```\n * <my-comp my-directive>\n *   Should match component / directive.\n * </my-comp>\n * <div ngNonBindable>\n *   <!-- ɵɵdisableBindings() -->\n *   <my-comp my-directive>\n *     Should not match component / directive because we are in ngNonBindable.\n *   </my-comp>\n *   <!-- ɵɵenableBindings() -->\n * </div>\n * ```\n *\n * @codeGenApi\n */\nfunction ɵɵenableBindings() {\n    instructionState.bindingsEnabled = true;\n}\n/**\n * Disables directive matching on element.\n *\n *  * Example:\n * ```\n * <my-comp my-directive>\n *   Should match component / directive.\n * </my-comp>\n * <div ngNonBindable>\n *   <!-- ɵɵdisableBindings() -->\n *   <my-comp my-directive>\n *     Should not match component / directive because we are in ngNonBindable.\n *   </my-comp>\n *   <!-- ɵɵenableBindings() -->\n * </div>\n * ```\n *\n * @codeGenApi\n */\nfunction ɵɵdisableBindings() {\n    instructionState.bindingsEnabled = false;\n}\n/**\n * Return the current `LView`.\n */\nfunction getLView() {\n    return instructionState.lFrame.lView;\n}\n/**\n * Return the current `TView`.\n */\nfunction getTView() {\n    return instructionState.lFrame.tView;\n}\n/**\n * Restores `contextViewData` to the given OpaqueViewState instance.\n *\n * Used in conjunction with the getCurrentView() instruction to save a snapshot\n * of the current view and restore it when listeners are invoked. This allows\n * walking the declaration view tree in listeners to get vars from parent views.\n *\n * @param viewToRestore The OpaqueViewState instance to restore.\n * @returns Context of the restored OpaqueViewState instance.\n *\n * @codeGenApi\n */\nfunction ɵɵrestoreView(viewToRestore) {\n    instructionState.lFrame.contextLView = viewToRestore;\n    return viewToRestore[CONTEXT];\n}\n/**\n * Clears the view set in `ɵɵrestoreView` from memory. Returns the passed in\n * value so that it can be used as a return value of an instruction.\n *\n * @codeGenApi\n */\nfunction ɵɵresetView(value) {\n    instructionState.lFrame.contextLView = null;\n    return value;\n}\nfunction getCurrentTNode() {\n    let currentTNode = getCurrentTNodePlaceholderOk();\n    while (currentTNode !== null && currentTNode.type === 64 /* TNodeType.Placeholder */) {\n        currentTNode = currentTNode.parent;\n    }\n    return currentTNode;\n}\nfunction getCurrentTNodePlaceholderOk() {\n    return instructionState.lFrame.currentTNode;\n}\nfunction getCurrentParentTNode() {\n    const lFrame = instructionState.lFrame;\n    const currentTNode = lFrame.currentTNode;\n    return lFrame.isParent ? currentTNode : currentTNode.parent;\n}\nfunction setCurrentTNode(tNode, isParent) {\n    ngDevMode && tNode && assertTNodeForTView(tNode, instructionState.lFrame.tView);\n    const lFrame = instructionState.lFrame;\n    lFrame.currentTNode = tNode;\n    lFrame.isParent = isParent;\n}\nfunction isCurrentTNodeParent() {\n    return instructionState.lFrame.isParent;\n}\nfunction setCurrentTNodeAsNotParent() {\n    instructionState.lFrame.isParent = false;\n}\nfunction getContextLView() {\n    const contextLView = instructionState.lFrame.contextLView;\n    ngDevMode && assertDefined(contextLView, 'contextLView must be defined.');\n    return contextLView;\n}\nfunction isInCheckNoChangesMode() {\n    !ngDevMode && throwError('Must never be called in production mode');\n    return _isInCheckNoChangesMode;\n}\nfunction setIsInCheckNoChangesMode(mode) {\n    !ngDevMode && throwError('Must never be called in production mode');\n    _isInCheckNoChangesMode = mode;\n}\n// top level variables should not be exported for performance reasons (PERF_NOTES.md)\nfunction getBindingRoot() {\n    const lFrame = instructionState.lFrame;\n    let index = lFrame.bindingRootIndex;\n    if (index === -1) {\n        index = lFrame.bindingRootIndex = lFrame.tView.bindingStartIndex;\n    }\n    return index;\n}\nfunction getBindingIndex() {\n    return instructionState.lFrame.bindingIndex;\n}\nfunction setBindingIndex(value) {\n    return instructionState.lFrame.bindingIndex = value;\n}\nfunction nextBindingIndex() {\n    return instructionState.lFrame.bindingIndex++;\n}\nfunction incrementBindingIndex(count) {\n    const lFrame = instructionState.lFrame;\n    const index = lFrame.bindingIndex;\n    lFrame.bindingIndex = lFrame.bindingIndex + count;\n    return index;\n}\nfunction isInI18nBlock() {\n    return instructionState.lFrame.inI18n;\n}\nfunction setInI18nBlock(isInI18nBlock) {\n    instructionState.lFrame.inI18n = isInI18nBlock;\n}\n/**\n * Set a new binding root index so that host template functions can execute.\n *\n * Bindings inside the host template are 0 index. But because we don't know ahead of time\n * how many host bindings we have we can't pre-compute them. For this reason they are all\n * 0 index and we just shift the root so that they match next available location in the LView.\n *\n * @param bindingRootIndex Root index for `hostBindings`\n * @param currentDirectiveIndex `TData[currentDirectiveIndex]` will point to the current directive\n *        whose `hostBindings` are being processed.\n */\nfunction setBindingRootForHostBindings(bindingRootIndex, currentDirectiveIndex) {\n    const lFrame = instructionState.lFrame;\n    lFrame.bindingIndex = lFrame.bindingRootIndex = bindingRootIndex;\n    setCurrentDirectiveIndex(currentDirectiveIndex);\n}\n/**\n * When host binding is executing this points to the directive index.\n * `TView.data[getCurrentDirectiveIndex()]` is `DirectiveDef`\n * `LView[getCurrentDirectiveIndex()]` is directive instance.\n */\nfunction getCurrentDirectiveIndex() {\n    return instructionState.lFrame.currentDirectiveIndex;\n}\n/**\n * Sets an index of a directive whose `hostBindings` are being processed.\n *\n * @param currentDirectiveIndex `TData` index where current directive instance can be found.\n */\nfunction setCurrentDirectiveIndex(currentDirectiveIndex) {\n    instructionState.lFrame.currentDirectiveIndex = currentDirectiveIndex;\n}\n/**\n * Retrieve the current `DirectiveDef` which is active when `hostBindings` instruction is being\n * executed.\n *\n * @param tData Current `TData` where the `DirectiveDef` will be looked up at.\n */\nfunction getCurrentDirectiveDef(tData) {\n    const currentDirectiveIndex = instructionState.lFrame.currentDirectiveIndex;\n    return currentDirectiveIndex === -1 ? null : tData[currentDirectiveIndex];\n}\nfunction getCurrentQueryIndex() {\n    return instructionState.lFrame.currentQueryIndex;\n}\nfunction setCurrentQueryIndex(value) {\n    instructionState.lFrame.currentQueryIndex = value;\n}\n/**\n * Returns a `TNode` of the location where the current `LView` is declared at.\n *\n * @param lView an `LView` that we want to find parent `TNode` for.\n */\nfunction getDeclarationTNode(lView) {\n    const tView = lView[TVIEW];\n    // Return the declaration parent for embedded views\n    if (tView.type === 2 /* TViewType.Embedded */) {\n        ngDevMode && assertDefined(tView.declTNode, 'Embedded TNodes should have declaration parents.');\n        return tView.declTNode;\n    }\n    // Components don't have `TView.declTNode` because each instance of component could be\n    // inserted in different location, hence `TView.declTNode` is meaningless.\n    // Falling back to `T_HOST` in case we cross component boundary.\n    if (tView.type === 1 /* TViewType.Component */) {\n        return lView[T_HOST];\n    }\n    // Remaining TNode type is `TViewType.Root` which doesn't have a parent TNode.\n    return null;\n}\n/**\n * This is a light weight version of the `enterView` which is needed by the DI system.\n *\n * @param lView `LView` location of the DI context.\n * @param tNode `TNode` for DI context\n * @param flags DI context flags. if `SkipSelf` flag is set than we walk up the declaration\n *     tree from `tNode`  until we find parent declared `TElementNode`.\n * @returns `true` if we have successfully entered DI associated with `tNode` (or with declared\n *     `TNode` if `flags` has  `SkipSelf`). Failing to enter DI implies that no associated\n *     `NodeInjector` can be found and we should instead use `ModuleInjector`.\n *     - If `true` than this call must be fallowed by `leaveDI`\n *     - If `false` than this call failed and we should NOT call `leaveDI`\n */\nfunction enterDI(lView, tNode, flags) {\n    ngDevMode && assertLViewOrUndefined(lView);\n    if (flags & InjectFlags.SkipSelf) {\n        ngDevMode && assertTNodeForTView(tNode, lView[TVIEW]);\n        let parentTNode = tNode;\n        let parentLView = lView;\n        while (true) {\n            ngDevMode && assertDefined(parentTNode, 'Parent TNode should be defined');\n            parentTNode = parentTNode.parent;\n            if (parentTNode === null && !(flags & InjectFlags.Host)) {\n                parentTNode = getDeclarationTNode(parentLView);\n                if (parentTNode === null)\n                    break;\n                // In this case, a parent exists and is definitely an element. So it will definitely\n                // have an existing lView as the declaration view, which is why we can assume it's defined.\n                ngDevMode && assertDefined(parentLView, 'Parent LView should be defined');\n                parentLView = parentLView[DECLARATION_VIEW];\n                // In Ivy there are Comment nodes that correspond to ngIf and NgFor embedded directives\n                // We want to skip those and look only at Elements and ElementContainers to ensure\n                // we're looking at true parent nodes, and not content or other types.\n                if (parentTNode.type & (2 /* TNodeType.Element */ | 8 /* TNodeType.ElementContainer */)) {\n                    break;\n                }\n            }\n            else {\n                break;\n            }\n        }\n        if (parentTNode === null) {\n            // If we failed to find a parent TNode this means that we should use module injector.\n            return false;\n        }\n        else {\n            tNode = parentTNode;\n            lView = parentLView;\n        }\n    }\n    ngDevMode && assertTNodeForLView(tNode, lView);\n    const lFrame = instructionState.lFrame = allocLFrame();\n    lFrame.currentTNode = tNode;\n    lFrame.lView = lView;\n    return true;\n}\n/**\n * Swap the current lView with a new lView.\n *\n * For performance reasons we store the lView in the top level of the module.\n * This way we minimize the number of properties to read. Whenever a new view\n * is entered we have to store the lView for later, and when the view is\n * exited the state has to be restored\n *\n * @param newView New lView to become active\n * @returns the previously active lView;\n */\nfunction enterView(newView) {\n    ngDevMode && assertNotEqual(newView[0], newView[1], '????');\n    ngDevMode && assertLViewOrUndefined(newView);\n    const newLFrame = allocLFrame();\n    if (ngDevMode) {\n        assertEqual(newLFrame.isParent, true, 'Expected clean LFrame');\n        assertEqual(newLFrame.lView, null, 'Expected clean LFrame');\n        assertEqual(newLFrame.tView, null, 'Expected clean LFrame');\n        assertEqual(newLFrame.selectedIndex, -1, 'Expected clean LFrame');\n        assertEqual(newLFrame.elementDepthCount, 0, 'Expected clean LFrame');\n        assertEqual(newLFrame.currentDirectiveIndex, -1, 'Expected clean LFrame');\n        assertEqual(newLFrame.currentNamespace, null, 'Expected clean LFrame');\n        assertEqual(newLFrame.bindingRootIndex, -1, 'Expected clean LFrame');\n        assertEqual(newLFrame.currentQueryIndex, 0, 'Expected clean LFrame');\n    }\n    const tView = newView[TVIEW];\n    instructionState.lFrame = newLFrame;\n    ngDevMode && tView.firstChild && assertTNodeForTView(tView.firstChild, tView);\n    newLFrame.currentTNode = tView.firstChild;\n    newLFrame.lView = newView;\n    newLFrame.tView = tView;\n    newLFrame.contextLView = newView;\n    newLFrame.bindingIndex = tView.bindingStartIndex;\n    newLFrame.inI18n = false;\n}\n/**\n * Allocates next free LFrame. This function tries to reuse the `LFrame`s to lower memory pressure.\n */\nfunction allocLFrame() {\n    const currentLFrame = instructionState.lFrame;\n    const childLFrame = currentLFrame === null ? null : currentLFrame.child;\n    const newLFrame = childLFrame === null ? createLFrame(currentLFrame) : childLFrame;\n    return newLFrame;\n}\nfunction createLFrame(parent) {\n    const lFrame = {\n        currentTNode: null,\n        isParent: true,\n        lView: null,\n        tView: null,\n        selectedIndex: -1,\n        contextLView: null,\n        elementDepthCount: 0,\n        currentNamespace: null,\n        currentDirectiveIndex: -1,\n        bindingRootIndex: -1,\n        bindingIndex: -1,\n        currentQueryIndex: 0,\n        parent: parent,\n        child: null,\n        inI18n: false,\n    };\n    parent !== null && (parent.child = lFrame); // link the new LFrame for reuse.\n    return lFrame;\n}\n/**\n * A lightweight version of leave which is used with DI.\n *\n * This function only resets `currentTNode` and `LView` as those are the only properties\n * used with DI (`enterDI()`).\n *\n * NOTE: This function is reexported as `leaveDI`. However `leaveDI` has return type of `void` where\n * as `leaveViewLight` has `LFrame`. This is so that `leaveViewLight` can be used in `leaveView`.\n */\nfunction leaveViewLight() {\n    const oldLFrame = instructionState.lFrame;\n    instructionState.lFrame = oldLFrame.parent;\n    oldLFrame.currentTNode = null;\n    oldLFrame.lView = null;\n    return oldLFrame;\n}\n/**\n * This is a lightweight version of the `leaveView` which is needed by the DI system.\n *\n * NOTE: this function is an alias so that we can change the type of the function to have `void`\n * return type.\n */\nconst leaveDI = leaveViewLight;\n/**\n * Leave the current `LView`\n *\n * This pops the `LFrame` with the associated `LView` from the stack.\n *\n * IMPORTANT: We must zero out the `LFrame` values here otherwise they will be retained. This is\n * because for performance reasons we don't release `LFrame` but rather keep it for next use.\n */\nfunction leaveView() {\n    const oldLFrame = leaveViewLight();\n    oldLFrame.isParent = true;\n    oldLFrame.tView = null;\n    oldLFrame.selectedIndex = -1;\n    oldLFrame.contextLView = null;\n    oldLFrame.elementDepthCount = 0;\n    oldLFrame.currentDirectiveIndex = -1;\n    oldLFrame.currentNamespace = null;\n    oldLFrame.bindingRootIndex = -1;\n    oldLFrame.bindingIndex = -1;\n    oldLFrame.currentQueryIndex = 0;\n}\nfunction nextContextImpl(level) {\n    const contextLView = instructionState.lFrame.contextLView =\n        walkUpViews(level, instructionState.lFrame.contextLView);\n    return contextLView[CONTEXT];\n}\nfunction walkUpViews(nestingLevel, currentView) {\n    while (nestingLevel > 0) {\n        ngDevMode &&\n            assertDefined(currentView[DECLARATION_VIEW], 'Declaration view should be defined if nesting level is greater than 0.');\n        currentView = currentView[DECLARATION_VIEW];\n        nestingLevel--;\n    }\n    return currentView;\n}\n/**\n * Gets the currently selected element index.\n *\n * Used with {@link property} instruction (and more in the future) to identify the index in the\n * current `LView` to act on.\n */\nfunction getSelectedIndex() {\n    return instructionState.lFrame.selectedIndex;\n}\n/**\n * Sets the most recent index passed to {@link select}\n *\n * Used with {@link property} instruction (and more in the future) to identify the index in the\n * current `LView` to act on.\n *\n * (Note that if an \"exit function\" was set earlier (via `setElementExitFn()`) then that will be\n * run if and when the provided `index` value is different from the current selected index value.)\n */\nfunction setSelectedIndex(index) {\n    ngDevMode && index !== -1 &&\n        assertGreaterThanOrEqual(index, HEADER_OFFSET, 'Index must be past HEADER_OFFSET (or -1).');\n    ngDevMode &&\n        assertLessThan(index, instructionState.lFrame.lView.length, 'Can\\'t set index passed end of LView');\n    instructionState.lFrame.selectedIndex = index;\n}\n/**\n * Gets the `tNode` that represents currently selected element.\n */\nfunction getSelectedTNode() {\n    const lFrame = instructionState.lFrame;\n    return getTNode(lFrame.tView, lFrame.selectedIndex);\n}\n/**\n * Sets the namespace used to create elements to `'http://www.w3.org/2000/svg'` in global state.\n *\n * @codeGenApi\n */\nfunction ɵɵnamespaceSVG() {\n    instructionState.lFrame.currentNamespace = SVG_NAMESPACE;\n}\n/**\n * Sets the namespace used to create elements to `'http://www.w3.org/1998/MathML/'` in global state.\n *\n * @codeGenApi\n */\nfunction ɵɵnamespaceMathML() {\n    instructionState.lFrame.currentNamespace = MATH_ML_NAMESPACE;\n}\n/**\n * Sets the namespace used to create elements to `null`, which forces element creation to use\n * `createElement` rather than `createElementNS`.\n *\n * @codeGenApi\n */\nfunction ɵɵnamespaceHTML() {\n    namespaceHTMLInternal();\n}\n/**\n * Sets the namespace used to create elements to `null`, which forces element creation to use\n * `createElement` rather than `createElementNS`.\n */\nfunction namespaceHTMLInternal() {\n    instructionState.lFrame.currentNamespace = null;\n}\nfunction getNamespace$1() {\n    return instructionState.lFrame.currentNamespace;\n}\n\n/**\n * Adds all directive lifecycle hooks from the given `DirectiveDef` to the given `TView`.\n *\n * Must be run *only* on the first template pass.\n *\n * Sets up the pre-order hooks on the provided `tView`,\n * see {@link HookData} for details about the data structure.\n *\n * @param directiveIndex The index of the directive in LView\n * @param directiveDef The definition containing the hooks to setup in tView\n * @param tView The current TView\n */\nfunction registerPreOrderHooks(directiveIndex, directiveDef, tView) {\n    ngDevMode && assertFirstCreatePass(tView);\n    const { ngOnChanges, ngOnInit, ngDoCheck } = directiveDef.type.prototype;\n    if (ngOnChanges) {\n        const wrappedOnChanges = NgOnChangesFeatureImpl(directiveDef);\n        (tView.preOrderHooks ?? (tView.preOrderHooks = [])).push(directiveIndex, wrappedOnChanges);\n        (tView.preOrderCheckHooks ?? (tView.preOrderCheckHooks = [])).push(directiveIndex, wrappedOnChanges);\n    }\n    if (ngOnInit) {\n        (tView.preOrderHooks ?? (tView.preOrderHooks = [])).push(0 - directiveIndex, ngOnInit);\n    }\n    if (ngDoCheck) {\n        (tView.preOrderHooks ?? (tView.preOrderHooks = [])).push(directiveIndex, ngDoCheck);\n        (tView.preOrderCheckHooks ?? (tView.preOrderCheckHooks = [])).push(directiveIndex, ngDoCheck);\n    }\n}\n/**\n *\n * Loops through the directives on the provided `tNode` and queues hooks to be\n * run that are not initialization hooks.\n *\n * Should be executed during `elementEnd()` and similar to\n * preserve hook execution order. Content, view, and destroy hooks for projected\n * components and directives must be called *before* their hosts.\n *\n * Sets up the content, view, and destroy hooks on the provided `tView`,\n * see {@link HookData} for details about the data structure.\n *\n * NOTE: This does not set up `onChanges`, `onInit` or `doCheck`, those are set up\n * separately at `elementStart`.\n *\n * @param tView The current TView\n * @param tNode The TNode whose directives are to be searched for hooks to queue\n */\nfunction registerPostOrderHooks(tView, tNode) {\n    ngDevMode && assertFirstCreatePass(tView);\n    // It's necessary to loop through the directives at elementEnd() (rather than processing in\n    // directiveCreate) so we can preserve the current hook order. Content, view, and destroy\n    // hooks for projected components and directives must be called *before* their hosts.\n    for (let i = tNode.directiveStart, end = tNode.directiveEnd; i < end; i++) {\n        const directiveDef = tView.data[i];\n        ngDevMode && assertDefined(directiveDef, 'Expecting DirectiveDef');\n        const lifecycleHooks = directiveDef.type.prototype;\n        const { ngAfterContentInit, ngAfterContentChecked, ngAfterViewInit, ngAfterViewChecked, ngOnDestroy } = lifecycleHooks;\n        if (ngAfterContentInit) {\n            (tView.contentHooks ?? (tView.contentHooks = [])).push(-i, ngAfterContentInit);\n        }\n        if (ngAfterContentChecked) {\n            (tView.contentHooks ?? (tView.contentHooks = [])).push(i, ngAfterContentChecked);\n            (tView.contentCheckHooks ?? (tView.contentCheckHooks = [])).push(i, ngAfterContentChecked);\n        }\n        if (ngAfterViewInit) {\n            (tView.viewHooks ?? (tView.viewHooks = [])).push(-i, ngAfterViewInit);\n        }\n        if (ngAfterViewChecked) {\n            (tView.viewHooks ?? (tView.viewHooks = [])).push(i, ngAfterViewChecked);\n            (tView.viewCheckHooks ?? (tView.viewCheckHooks = [])).push(i, ngAfterViewChecked);\n        }\n        if (ngOnDestroy != null) {\n            (tView.destroyHooks ?? (tView.destroyHooks = [])).push(i, ngOnDestroy);\n        }\n    }\n}\n/**\n * Executing hooks requires complex logic as we need to deal with 2 constraints.\n *\n * 1. Init hooks (ngOnInit, ngAfterContentInit, ngAfterViewInit) must all be executed once and only\n * once, across many change detection cycles. This must be true even if some hooks throw, or if\n * some recursively trigger a change detection cycle.\n * To solve that, it is required to track the state of the execution of these init hooks.\n * This is done by storing and maintaining flags in the view: the {@link InitPhaseState},\n * and the index within that phase. They can be seen as a cursor in the following structure:\n * [[onInit1, onInit2], [afterContentInit1], [afterViewInit1, afterViewInit2, afterViewInit3]]\n * They are are stored as flags in LView[FLAGS].\n *\n * 2. Pre-order hooks can be executed in batches, because of the select instruction.\n * To be able to pause and resume their execution, we also need some state about the hook's array\n * that is being processed:\n * - the index of the next hook to be executed\n * - the number of init hooks already found in the processed part of the  array\n * They are are stored as flags in LView[PREORDER_HOOK_FLAGS].\n */\n/**\n * Executes pre-order check hooks ( OnChanges, DoChanges) given a view where all the init hooks were\n * executed once. This is a light version of executeInitAndCheckPreOrderHooks where we can skip read\n * / write of the init-hooks related flags.\n * @param lView The LView where hooks are defined\n * @param hooks Hooks to be run\n * @param nodeIndex 3 cases depending on the value:\n * - undefined: all hooks from the array should be executed (post-order case)\n * - null: execute hooks only from the saved index until the end of the array (pre-order case, when\n * flushing the remaining hooks)\n * - number: execute hooks only from the saved index until that node index exclusive (pre-order\n * case, when executing select(number))\n */\nfunction executeCheckHooks(lView, hooks, nodeIndex) {\n    callHooks(lView, hooks, 3 /* InitPhaseState.InitPhaseCompleted */, nodeIndex);\n}\n/**\n * Executes post-order init and check hooks (one of AfterContentInit, AfterContentChecked,\n * AfterViewInit, AfterViewChecked) given a view where there are pending init hooks to be executed.\n * @param lView The LView where hooks are defined\n * @param hooks Hooks to be run\n * @param initPhase A phase for which hooks should be run\n * @param nodeIndex 3 cases depending on the value:\n * - undefined: all hooks from the array should be executed (post-order case)\n * - null: execute hooks only from the saved index until the end of the array (pre-order case, when\n * flushing the remaining hooks)\n * - number: execute hooks only from the saved index until that node index exclusive (pre-order\n * case, when executing select(number))\n */\nfunction executeInitAndCheckHooks(lView, hooks, initPhase, nodeIndex) {\n    ngDevMode &&\n        assertNotEqual(initPhase, 3 /* InitPhaseState.InitPhaseCompleted */, 'Init pre-order hooks should not be called more than once');\n    if ((lView[FLAGS] & 3 /* LViewFlags.InitPhaseStateMask */) === initPhase) {\n        callHooks(lView, hooks, initPhase, nodeIndex);\n    }\n}\nfunction incrementInitPhaseFlags(lView, initPhase) {\n    ngDevMode &&\n        assertNotEqual(initPhase, 3 /* InitPhaseState.InitPhaseCompleted */, 'Init hooks phase should not be incremented after all init hooks have been run.');\n    let flags = lView[FLAGS];\n    if ((flags & 3 /* LViewFlags.InitPhaseStateMask */) === initPhase) {\n        flags &= 2047 /* LViewFlags.IndexWithinInitPhaseReset */;\n        flags += 1 /* LViewFlags.InitPhaseStateIncrementer */;\n        lView[FLAGS] = flags;\n    }\n}\n/**\n * Calls lifecycle hooks with their contexts, skipping init hooks if it's not\n * the first LView pass\n *\n * @param currentView The current view\n * @param arr The array in which the hooks are found\n * @param initPhaseState the current state of the init phase\n * @param currentNodeIndex 3 cases depending on the value:\n * - undefined: all hooks from the array should be executed (post-order case)\n * - null: execute hooks only from the saved index until the end of the array (pre-order case, when\n * flushing the remaining hooks)\n * - number: execute hooks only from the saved index until that node index exclusive (pre-order\n * case, when executing select(number))\n */\nfunction callHooks(currentView, arr, initPhase, currentNodeIndex) {\n    ngDevMode &&\n        assertEqual(isInCheckNoChangesMode(), false, 'Hooks should never be run when in check no changes mode.');\n    const startIndex = currentNodeIndex !== undefined ?\n        (currentView[PREORDER_HOOK_FLAGS] & 65535 /* PreOrderHookFlags.IndexOfTheNextPreOrderHookMaskMask */) :\n        0;\n    const nodeIndexLimit = currentNodeIndex != null ? currentNodeIndex : -1;\n    const max = arr.length - 1; // Stop the loop at length - 1, because we look for the hook at i + 1\n    let lastNodeIndexFound = 0;\n    for (let i = startIndex; i < max; i++) {\n        const hook = arr[i + 1];\n        if (typeof hook === 'number') {\n            lastNodeIndexFound = arr[i];\n            if (currentNodeIndex != null && lastNodeIndexFound >= currentNodeIndex) {\n                break;\n            }\n        }\n        else {\n            const isInitHook = arr[i] < 0;\n            if (isInitHook)\n                currentView[PREORDER_HOOK_FLAGS] += 65536 /* PreOrderHookFlags.NumberOfInitHooksCalledIncrementer */;\n            if (lastNodeIndexFound < nodeIndexLimit || nodeIndexLimit == -1) {\n                callHook(currentView, initPhase, arr, i);\n                currentView[PREORDER_HOOK_FLAGS] =\n                    (currentView[PREORDER_HOOK_FLAGS] & 4294901760 /* PreOrderHookFlags.NumberOfInitHooksCalledMask */) + i +\n                        2;\n            }\n            i++;\n        }\n    }\n}\n/**\n * Execute one hook against the current `LView`.\n *\n * @param currentView The current view\n * @param initPhaseState the current state of the init phase\n * @param arr The array in which the hooks are found\n * @param i The current index within the hook data array\n */\nfunction callHook(currentView, initPhase, arr, i) {\n    const isInitHook = arr[i] < 0;\n    const hook = arr[i + 1];\n    const directiveIndex = isInitHook ? -arr[i] : arr[i];\n    const directive = currentView[directiveIndex];\n    if (isInitHook) {\n        const indexWithintInitPhase = currentView[FLAGS] >> 11 /* LViewFlags.IndexWithinInitPhaseShift */;\n        // The init phase state must be always checked here as it may have been recursively updated.\n        if (indexWithintInitPhase <\n            (currentView[PREORDER_HOOK_FLAGS] >> 16 /* PreOrderHookFlags.NumberOfInitHooksCalledShift */) &&\n            (currentView[FLAGS] & 3 /* LViewFlags.InitPhaseStateMask */) === initPhase) {\n            currentView[FLAGS] += 2048 /* LViewFlags.IndexWithinInitPhaseIncrementer */;\n            profiler(4 /* ProfilerEvent.LifecycleHookStart */, directive, hook);\n            try {\n                hook.call(directive);\n            }\n            finally {\n                profiler(5 /* ProfilerEvent.LifecycleHookEnd */, directive, hook);\n            }\n        }\n    }\n    else {\n        profiler(4 /* ProfilerEvent.LifecycleHookStart */, directive, hook);\n        try {\n            hook.call(directive);\n        }\n        finally {\n            profiler(5 /* ProfilerEvent.LifecycleHookEnd */, directive, hook);\n        }\n    }\n}\n\nconst NO_PARENT_INJECTOR = -1;\n/**\n * Each injector is saved in 9 contiguous slots in `LView` and 9 contiguous slots in\n * `TView.data`. This allows us to store information about the current node's tokens (which\n * can be shared in `TView`) as well as the tokens of its ancestor nodes (which cannot be\n * shared, so they live in `LView`).\n *\n * Each of these slots (aside from the last slot) contains a bloom filter. This bloom filter\n * determines whether a directive is available on the associated node or not. This prevents us\n * from searching the directives array at this level unless it's probable the directive is in it.\n *\n * See: https://en.wikipedia.org/wiki/Bloom_filter for more about bloom filters.\n *\n * Because all injectors have been flattened into `LView` and `TViewData`, they cannot typed\n * using interfaces as they were previously. The start index of each `LInjector` and `TInjector`\n * will differ based on where it is flattened into the main array, so it's not possible to know\n * the indices ahead of time and save their types here. The interfaces are still included here\n * for documentation purposes.\n *\n * export interface LInjector extends Array<any> {\n *\n *    // Cumulative bloom for directive IDs 0-31  (IDs are % BLOOM_SIZE)\n *    [0]: number;\n *\n *    // Cumulative bloom for directive IDs 32-63\n *    [1]: number;\n *\n *    // Cumulative bloom for directive IDs 64-95\n *    [2]: number;\n *\n *    // Cumulative bloom for directive IDs 96-127\n *    [3]: number;\n *\n *    // Cumulative bloom for directive IDs 128-159\n *    [4]: number;\n *\n *    // Cumulative bloom for directive IDs 160 - 191\n *    [5]: number;\n *\n *    // Cumulative bloom for directive IDs 192 - 223\n *    [6]: number;\n *\n *    // Cumulative bloom for directive IDs 224 - 255\n *    [7]: number;\n *\n *    // We need to store a reference to the injector's parent so DI can keep looking up\n *    // the injector tree until it finds the dependency it's looking for.\n *    [PARENT_INJECTOR]: number;\n * }\n *\n * export interface TInjector extends Array<any> {\n *\n *    // Shared node bloom for directive IDs 0-31  (IDs are % BLOOM_SIZE)\n *    [0]: number;\n *\n *    // Shared node bloom for directive IDs 32-63\n *    [1]: number;\n *\n *    // Shared node bloom for directive IDs 64-95\n *    [2]: number;\n *\n *    // Shared node bloom for directive IDs 96-127\n *    [3]: number;\n *\n *    // Shared node bloom for directive IDs 128-159\n *    [4]: number;\n *\n *    // Shared node bloom for directive IDs 160 - 191\n *    [5]: number;\n *\n *    // Shared node bloom for directive IDs 192 - 223\n *    [6]: number;\n *\n *    // Shared node bloom for directive IDs 224 - 255\n *    [7]: number;\n *\n *    // Necessary to find directive indices for a particular node.\n *    [TNODE]: TElementNode|TElementContainerNode|TContainerNode;\n *  }\n */\n/**\n * Factory for creating instances of injectors in the NodeInjector.\n *\n * This factory is complicated by the fact that it can resolve `multi` factories as well.\n *\n * NOTE: Some of the fields are optional which means that this class has two hidden classes.\n * - One without `multi` support (most common)\n * - One with `multi` values, (rare).\n *\n * Since VMs can cache up to 4 inline hidden classes this is OK.\n *\n * - Single factory: Only `resolving` and `factory` is defined.\n * - `providers` factory: `componentProviders` is a number and `index = -1`.\n * - `viewProviders` factory: `componentProviders` is a number and `index` points to `providers`.\n */\nclass NodeInjectorFactory {\n    constructor(\n    /**\n     * Factory to invoke in order to create a new instance.\n     */\n    factory, \n    /**\n     * Set to `true` if the token is declared in `viewProviders` (or if it is component).\n     */\n    isViewProvider, injectImplementation) {\n        this.factory = factory;\n        /**\n         * Marker set to true during factory invocation to see if we get into recursive loop.\n         * Recursive loop causes an error to be displayed.\n         */\n        this.resolving = false;\n        ngDevMode && assertDefined(factory, 'Factory not specified');\n        ngDevMode && assertEqual(typeof factory, 'function', 'Expected factory function.');\n        this.canSeeViewProviders = isViewProvider;\n        this.injectImpl = injectImplementation;\n    }\n}\nfunction isFactory(obj) {\n    return obj instanceof NodeInjectorFactory;\n}\n// Note: This hack is necessary so we don't erroneously get a circular dependency\n// failure based on types.\nconst unusedValueExportToPlacateAjd$2 = 1;\n\n/**\n * Converts `TNodeType` into human readable text.\n * Make sure this matches with `TNodeType`\n */\nfunction toTNodeTypeAsString(tNodeType) {\n    let text = '';\n    (tNodeType & 1 /* TNodeType.Text */) && (text += '|Text');\n    (tNodeType & 2 /* TNodeType.Element */) && (text += '|Element');\n    (tNodeType & 4 /* TNodeType.Container */) && (text += '|Container');\n    (tNodeType & 8 /* TNodeType.ElementContainer */) && (text += '|ElementContainer');\n    (tNodeType & 16 /* TNodeType.Projection */) && (text += '|Projection');\n    (tNodeType & 32 /* TNodeType.Icu */) && (text += '|IcuContainer');\n    (tNodeType & 64 /* TNodeType.Placeholder */) && (text += '|Placeholder');\n    return text.length > 0 ? text.substring(1) : text;\n}\n// Note: This hack is necessary so we don't erroneously get a circular dependency\n// failure based on types.\nconst unusedValueExportToPlacateAjd$1 = 1;\n/**\n * Returns `true` if the `TNode` has a directive which has `@Input()` for `class` binding.\n *\n * ```\n * <div my-dir [class]=\"exp\"></div>\n * ```\n * and\n * ```\n * @Directive({\n * })\n * class MyDirective {\n *   @Input()\n *   class: string;\n * }\n * ```\n *\n * In the above case it is necessary to write the reconciled styling information into the\n * directive's input.\n *\n * @param tNode\n */\nfunction hasClassInput(tNode) {\n    return (tNode.flags & 8 /* TNodeFlags.hasClassInput */) !== 0;\n}\n/**\n * Returns `true` if the `TNode` has a directive which has `@Input()` for `style` binding.\n *\n * ```\n * <div my-dir [style]=\"exp\"></div>\n * ```\n * and\n * ```\n * @Directive({\n * })\n * class MyDirective {\n *   @Input()\n *   class: string;\n * }\n * ```\n *\n * In the above case it is necessary to write the reconciled styling information into the\n * directive's input.\n *\n * @param tNode\n */\nfunction hasStyleInput(tNode) {\n    return (tNode.flags & 16 /* TNodeFlags.hasStyleInput */) !== 0;\n}\n\nfunction assertTNodeType(tNode, expectedTypes, message) {\n    assertDefined(tNode, 'should be called with a TNode');\n    if ((tNode.type & expectedTypes) === 0) {\n        throwError(message ||\n            `Expected [${toTNodeTypeAsString(expectedTypes)}] but got ${toTNodeTypeAsString(tNode.type)}.`);\n    }\n}\nfunction assertPureTNodeType(type) {\n    if (!(type === 2 /* TNodeType.Element */ || //\n        type === 1 /* TNodeType.Text */ || //\n        type === 4 /* TNodeType.Container */ || //\n        type === 8 /* TNodeType.ElementContainer */ || //\n        type === 32 /* TNodeType.Icu */ || //\n        type === 16 /* TNodeType.Projection */ || //\n        type === 64 /* TNodeType.Placeholder */)) {\n        throwError(`Expected TNodeType to have only a single type selected, but got ${toTNodeTypeAsString(type)}.`);\n    }\n}\n\n/**\n * Assigns all attribute values to the provided element via the inferred renderer.\n *\n * This function accepts two forms of attribute entries:\n *\n * default: (key, value):\n *  attrs = [key1, value1, key2, value2]\n *\n * namespaced: (NAMESPACE_MARKER, uri, name, value)\n *  attrs = [NAMESPACE_MARKER, uri, name, value, NAMESPACE_MARKER, uri, name, value]\n *\n * The `attrs` array can contain a mix of both the default and namespaced entries.\n * The \"default\" values are set without a marker, but if the function comes across\n * a marker value then it will attempt to set a namespaced value. If the marker is\n * not of a namespaced value then the function will quit and return the index value\n * where it stopped during the iteration of the attrs array.\n *\n * See [AttributeMarker] to understand what the namespace marker value is.\n *\n * Note that this instruction does not support assigning style and class values to\n * an element. See `elementStart` and `elementHostAttrs` to learn how styling values\n * are applied to an element.\n * @param renderer The renderer to be used\n * @param native The element that the attributes will be assigned to\n * @param attrs The attribute array of values that will be assigned to the element\n * @returns the index value that was last accessed in the attributes array\n */\nfunction setUpAttributes(renderer, native, attrs) {\n    let i = 0;\n    while (i < attrs.length) {\n        const value = attrs[i];\n        if (typeof value === 'number') {\n            // only namespaces are supported. Other value types (such as style/class\n            // entries) are not supported in this function.\n            if (value !== 0 /* AttributeMarker.NamespaceURI */) {\n                break;\n            }\n            // we just landed on the marker value ... therefore\n            // we should skip to the next entry\n            i++;\n            const namespaceURI = attrs[i++];\n            const attrName = attrs[i++];\n            const attrVal = attrs[i++];\n            ngDevMode && ngDevMode.rendererSetAttribute++;\n            renderer.setAttribute(native, attrName, attrVal, namespaceURI);\n        }\n        else {\n            // attrName is string;\n            const attrName = value;\n            const attrVal = attrs[++i];\n            // Standard attributes\n            ngDevMode && ngDevMode.rendererSetAttribute++;\n            if (isAnimationProp(attrName)) {\n                renderer.setProperty(native, attrName, attrVal);\n            }\n            else {\n                renderer.setAttribute(native, attrName, attrVal);\n            }\n            i++;\n        }\n    }\n    // another piece of code may iterate over the same attributes array. Therefore\n    // it may be helpful to return the exact spot where the attributes array exited\n    // whether by running into an unsupported marker or if all the static values were\n    // iterated over.\n    return i;\n}\n/**\n * Test whether the given value is a marker that indicates that the following\n * attribute values in a `TAttributes` array are only the names of attributes,\n * and not name-value pairs.\n * @param marker The attribute marker to test.\n * @returns true if the marker is a \"name-only\" marker (e.g. `Bindings`, `Template` or `I18n`).\n */\nfunction isNameOnlyAttributeMarker(marker) {\n    return marker === 3 /* AttributeMarker.Bindings */ || marker === 4 /* AttributeMarker.Template */ ||\n        marker === 6 /* AttributeMarker.I18n */;\n}\nfunction isAnimationProp(name) {\n    // Perf note: accessing charCodeAt to check for the first character of a string is faster as\n    // compared to accessing a character at index 0 (ex. name[0]). The main reason for this is that\n    // charCodeAt doesn't allocate memory to return a substring.\n    return name.charCodeAt(0) === 64 /* CharCode.AT_SIGN */;\n}\n/**\n * Merges `src` `TAttributes` into `dst` `TAttributes` removing any duplicates in the process.\n *\n * This merge function keeps the order of attrs same.\n *\n * @param dst Location of where the merged `TAttributes` should end up.\n * @param src `TAttributes` which should be appended to `dst`\n */\nfunction mergeHostAttrs(dst, src) {\n    if (src === null || src.length === 0) {\n        // do nothing\n    }\n    else if (dst === null || dst.length === 0) {\n        // We have source, but dst is empty, just make a copy.\n        dst = src.slice();\n    }\n    else {\n        let srcMarker = -1 /* AttributeMarker.ImplicitAttributes */;\n        for (let i = 0; i < src.length; i++) {\n            const item = src[i];\n            if (typeof item === 'number') {\n                srcMarker = item;\n            }\n            else {\n                if (srcMarker === 0 /* AttributeMarker.NamespaceURI */) {\n                    // Case where we need to consume `key1`, `key2`, `value` items.\n                }\n                else if (srcMarker === -1 /* AttributeMarker.ImplicitAttributes */ ||\n                    srcMarker === 2 /* AttributeMarker.Styles */) {\n                    // Case where we have to consume `key1` and `value` only.\n                    mergeHostAttribute(dst, srcMarker, item, null, src[++i]);\n                }\n                else {\n                    // Case where we have to consume `key1` only.\n                    mergeHostAttribute(dst, srcMarker, item, null, null);\n                }\n            }\n        }\n    }\n    return dst;\n}\n/**\n * Append `key`/`value` to existing `TAttributes` taking region marker and duplicates into account.\n *\n * @param dst `TAttributes` to append to.\n * @param marker Region where the `key`/`value` should be added.\n * @param key1 Key to add to `TAttributes`\n * @param key2 Key to add to `TAttributes` (in case of `AttributeMarker.NamespaceURI`)\n * @param value Value to add or to overwrite to `TAttributes` Only used if `marker` is not Class.\n */\nfunction mergeHostAttribute(dst, marker, key1, key2, value) {\n    let i = 0;\n    // Assume that new markers will be inserted at the end.\n    let markerInsertPosition = dst.length;\n    // scan until correct type.\n    if (marker === -1 /* AttributeMarker.ImplicitAttributes */) {\n        markerInsertPosition = -1;\n    }\n    else {\n        while (i < dst.length) {\n            const dstValue = dst[i++];\n            if (typeof dstValue === 'number') {\n                if (dstValue === marker) {\n                    markerInsertPosition = -1;\n                    break;\n                }\n                else if (dstValue > marker) {\n                    // We need to save this as we want the markers to be inserted in specific order.\n                    markerInsertPosition = i - 1;\n                    break;\n                }\n            }\n        }\n    }\n    // search until you find place of insertion\n    while (i < dst.length) {\n        const item = dst[i];\n        if (typeof item === 'number') {\n            // since `i` started as the index after the marker, we did not find it if we are at the next\n            // marker\n            break;\n        }\n        else if (item === key1) {\n            // We already have same token\n            if (key2 === null) {\n                if (value !== null) {\n                    dst[i + 1] = value;\n                }\n                return;\n            }\n            else if (key2 === dst[i + 1]) {\n                dst[i + 2] = value;\n                return;\n            }\n        }\n        // Increment counter.\n        i++;\n        if (key2 !== null)\n            i++;\n        if (value !== null)\n            i++;\n    }\n    // insert at location.\n    if (markerInsertPosition !== -1) {\n        dst.splice(markerInsertPosition, 0, marker);\n        i = markerInsertPosition + 1;\n    }\n    dst.splice(i++, 0, key1);\n    if (key2 !== null) {\n        dst.splice(i++, 0, key2);\n    }\n    if (value !== null) {\n        dst.splice(i++, 0, value);\n    }\n}\n\n/// Parent Injector Utils ///////////////////////////////////////////////////////////////\nfunction hasParentInjector(parentLocation) {\n    return parentLocation !== NO_PARENT_INJECTOR;\n}\nfunction getParentInjectorIndex(parentLocation) {\n    ngDevMode && assertNumber(parentLocation, 'Number expected');\n    ngDevMode && assertNotEqual(parentLocation, -1, 'Not a valid state.');\n    const parentInjectorIndex = parentLocation & 32767 /* RelativeInjectorLocationFlags.InjectorIndexMask */;\n    ngDevMode &&\n        assertGreaterThan(parentInjectorIndex, HEADER_OFFSET, 'Parent injector must be pointing past HEADER_OFFSET.');\n    return parentLocation & 32767 /* RelativeInjectorLocationFlags.InjectorIndexMask */;\n}\nfunction getParentInjectorViewOffset(parentLocation) {\n    return parentLocation >> 16 /* RelativeInjectorLocationFlags.ViewOffsetShift */;\n}\n/**\n * Unwraps a parent injector location number to find the view offset from the current injector,\n * then walks up the declaration view tree until the view is found that contains the parent\n * injector.\n *\n * @param location The location of the parent injector, which contains the view offset\n * @param startView The LView instance from which to start walking up the view tree\n * @returns The LView instance that contains the parent injector\n */\nfunction getParentInjectorView(location, startView) {\n    let viewOffset = getParentInjectorViewOffset(location);\n    let parentView = startView;\n    // For most cases, the parent injector can be found on the host node (e.g. for component\n    // or container), but we must keep the loop here to support the rarer case of deeply nested\n    // <ng-template> tags or inline views, where the parent injector might live many views\n    // above the child injector.\n    while (viewOffset > 0) {\n        parentView = parentView[DECLARATION_VIEW];\n        viewOffset--;\n    }\n    return parentView;\n}\n\n/**\n * Defines if the call to `inject` should include `viewProviders` in its resolution.\n *\n * This is set to true when we try to instantiate a component. This value is reset in\n * `getNodeInjectable` to a value which matches the declaration location of the token about to be\n * instantiated. This is done so that if we are injecting a token which was declared outside of\n * `viewProviders` we don't accidentally pull `viewProviders` in.\n *\n * Example:\n *\n * ```\n * @Injectable()\n * class MyService {\n *   constructor(public value: String) {}\n * }\n *\n * @Component({\n *   providers: [\n *     MyService,\n *     {provide: String, value: 'providers' }\n *   ]\n *   viewProviders: [\n *     {provide: String, value: 'viewProviders'}\n *   ]\n * })\n * class MyComponent {\n *   constructor(myService: MyService, value: String) {\n *     // We expect that Component can see into `viewProviders`.\n *     expect(value).toEqual('viewProviders');\n *     // `MyService` was not declared in `viewProviders` hence it can't see it.\n *     expect(myService.value).toEqual('providers');\n *   }\n * }\n *\n * ```\n */\nlet includeViewProviders = true;\nfunction setIncludeViewProviders(v) {\n    const oldValue = includeViewProviders;\n    includeViewProviders = v;\n    return oldValue;\n}\n/**\n * The number of slots in each bloom filter (used by DI). The larger this number, the fewer\n * directives that will share slots, and thus, the fewer false positives when checking for\n * the existence of a directive.\n */\nconst BLOOM_SIZE = 256;\nconst BLOOM_MASK = BLOOM_SIZE - 1;\n/**\n * The number of bits that is represented by a single bloom bucket. JS bit operations are 32 bits,\n * so each bucket represents 32 distinct tokens which accounts for log2(32) = 5 bits of a bloom hash\n * number.\n */\nconst BLOOM_BUCKET_BITS = 5;\n/** Counter used to generate unique IDs for directives. */\nlet nextNgElementId = 0;\n/** Value used when something wasn't found by an injector. */\nconst NOT_FOUND = {};\n/**\n * Registers this directive as present in its node's injector by flipping the directive's\n * corresponding bit in the injector's bloom filter.\n *\n * @param injectorIndex The index of the node injector where this token should be registered\n * @param tView The TView for the injector's bloom filters\n * @param type The directive token to register\n */\nfunction bloomAdd(injectorIndex, tView, type) {\n    ngDevMode && assertEqual(tView.firstCreatePass, true, 'expected firstCreatePass to be true');\n    let id;\n    if (typeof type === 'string') {\n        id = type.charCodeAt(0) || 0;\n    }\n    else if (type.hasOwnProperty(NG_ELEMENT_ID)) {\n        id = type[NG_ELEMENT_ID];\n    }\n    // Set a unique ID on the directive type, so if something tries to inject the directive,\n    // we can easily retrieve the ID and hash it into the bloom bit that should be checked.\n    if (id == null) {\n        id = type[NG_ELEMENT_ID] = nextNgElementId++;\n    }\n    // We only have BLOOM_SIZE (256) slots in our bloom filter (8 buckets * 32 bits each),\n    // so all unique IDs must be modulo-ed into a number from 0 - 255 to fit into the filter.\n    const bloomHash = id & BLOOM_MASK;\n    // Create a mask that targets the specific bit associated with the directive.\n    // JS bit operations are 32 bits, so this will be a number between 2^0 and 2^31, corresponding\n    // to bit positions 0 - 31 in a 32 bit integer.\n    const mask = 1 << bloomHash;\n    // Each bloom bucket in `tData` represents `BLOOM_BUCKET_BITS` number of bits of `bloomHash`.\n    // Any bits in `bloomHash` beyond `BLOOM_BUCKET_BITS` indicate the bucket offset that the mask\n    // should be written to.\n    tView.data[injectorIndex + (bloomHash >> BLOOM_BUCKET_BITS)] |= mask;\n}\n/**\n * Creates (or gets an existing) injector for a given element or container.\n *\n * @param tNode for which an injector should be retrieved / created.\n * @param lView View where the node is stored\n * @returns Node injector\n */\nfunction getOrCreateNodeInjectorForNode(tNode, lView) {\n    const existingInjectorIndex = getInjectorIndex(tNode, lView);\n    if (existingInjectorIndex !== -1) {\n        return existingInjectorIndex;\n    }\n    const tView = lView[TVIEW];\n    if (tView.firstCreatePass) {\n        tNode.injectorIndex = lView.length;\n        insertBloom(tView.data, tNode); // foundation for node bloom\n        insertBloom(lView, null); // foundation for cumulative bloom\n        insertBloom(tView.blueprint, null);\n    }\n    const parentLoc = getParentInjectorLocation(tNode, lView);\n    const injectorIndex = tNode.injectorIndex;\n    // If a parent injector can't be found, its location is set to -1.\n    // In that case, we don't need to set up a cumulative bloom\n    if (hasParentInjector(parentLoc)) {\n        const parentIndex = getParentInjectorIndex(parentLoc);\n        const parentLView = getParentInjectorView(parentLoc, lView);\n        const parentData = parentLView[TVIEW].data;\n        // Creates a cumulative bloom filter that merges the parent's bloom filter\n        // and its own cumulative bloom (which contains tokens for all ancestors)\n        for (let i = 0; i < 8 /* NodeInjectorOffset.BLOOM_SIZE */; i++) {\n            lView[injectorIndex + i] = parentLView[parentIndex + i] | parentData[parentIndex + i];\n        }\n    }\n    lView[injectorIndex + 8 /* NodeInjectorOffset.PARENT */] = parentLoc;\n    return injectorIndex;\n}\nfunction insertBloom(arr, footer) {\n    arr.push(0, 0, 0, 0, 0, 0, 0, 0, footer);\n}\nfunction getInjectorIndex(tNode, lView) {\n    if (tNode.injectorIndex === -1 ||\n        // If the injector index is the same as its parent's injector index, then the index has been\n        // copied down from the parent node. No injector has been created yet on this node.\n        (tNode.parent && tNode.parent.injectorIndex === tNode.injectorIndex) ||\n        // After the first template pass, the injector index might exist but the parent values\n        // might not have been calculated yet for this instance\n        lView[tNode.injectorIndex + 8 /* NodeInjectorOffset.PARENT */] === null) {\n        return -1;\n    }\n    else {\n        ngDevMode && assertIndexInRange(lView, tNode.injectorIndex);\n        return tNode.injectorIndex;\n    }\n}\n/**\n * Finds the index of the parent injector, with a view offset if applicable. Used to set the\n * parent injector initially.\n *\n * @returns Returns a number that is the combination of the number of LViews that we have to go up\n * to find the LView containing the parent inject AND the index of the injector within that LView.\n */\nfunction getParentInjectorLocation(tNode, lView) {\n    if (tNode.parent && tNode.parent.injectorIndex !== -1) {\n        // If we have a parent `TNode` and there is an injector associated with it we are done, because\n        // the parent injector is within the current `LView`.\n        return tNode.parent.injectorIndex; // ViewOffset is 0\n    }\n    // When parent injector location is computed it may be outside of the current view. (ie it could\n    // be pointing to a declared parent location). This variable stores number of declaration parents\n    // we need to walk up in order to find the parent injector location.\n    let declarationViewOffset = 0;\n    let parentTNode = null;\n    let lViewCursor = lView;\n    // The parent injector is not in the current `LView`. We will have to walk the declared parent\n    // `LView` hierarchy and look for it. If we walk of the top, that means that there is no parent\n    // `NodeInjector`.\n    while (lViewCursor !== null) {\n        parentTNode = getTNodeFromLView(lViewCursor);\n        if (parentTNode === null) {\n            // If we have no parent, than we are done.\n            return NO_PARENT_INJECTOR;\n        }\n        ngDevMode && parentTNode && assertTNodeForLView(parentTNode, lViewCursor[DECLARATION_VIEW]);\n        // Every iteration of the loop requires that we go to the declared parent.\n        declarationViewOffset++;\n        lViewCursor = lViewCursor[DECLARATION_VIEW];\n        if (parentTNode.injectorIndex !== -1) {\n            // We found a NodeInjector which points to something.\n            return (parentTNode.injectorIndex |\n                (declarationViewOffset << 16 /* RelativeInjectorLocationFlags.ViewOffsetShift */));\n        }\n    }\n    return NO_PARENT_INJECTOR;\n}\n/**\n * Makes a type or an injection token public to the DI system by adding it to an\n * injector's bloom filter.\n *\n * @param di The node injector in which a directive will be added\n * @param token The type or the injection token to be made public\n */\nfunction diPublicInInjector(injectorIndex, tView, token) {\n    bloomAdd(injectorIndex, tView, token);\n}\n/**\n * Inject static attribute value into directive constructor.\n *\n * This method is used with `factory` functions which are generated as part of\n * `defineDirective` or `defineComponent`. The method retrieves the static value\n * of an attribute. (Dynamic attributes are not supported since they are not resolved\n *  at the time of injection and can change over time.)\n *\n * # Example\n * Given:\n * ```\n * @Component(...)\n * class MyComponent {\n *   constructor(@Attribute('title') title: string) { ... }\n * }\n * ```\n * When instantiated with\n * ```\n * <my-component title=\"Hello\"></my-component>\n * ```\n *\n * Then factory method generated is:\n * ```\n * MyComponent.ɵcmp = defineComponent({\n *   factory: () => new MyComponent(injectAttribute('title'))\n *   ...\n * })\n * ```\n *\n * @publicApi\n */\nfunction injectAttributeImpl(tNode, attrNameToInject) {\n    ngDevMode && assertTNodeType(tNode, 12 /* TNodeType.AnyContainer */ | 3 /* TNodeType.AnyRNode */);\n    ngDevMode && assertDefined(tNode, 'expecting tNode');\n    if (attrNameToInject === 'class') {\n        return tNode.classes;\n    }\n    if (attrNameToInject === 'style') {\n        return tNode.styles;\n    }\n    const attrs = tNode.attrs;\n    if (attrs) {\n        const attrsLength = attrs.length;\n        let i = 0;\n        while (i < attrsLength) {\n            const value = attrs[i];\n            // If we hit a `Bindings` or `Template` marker then we are done.\n            if (isNameOnlyAttributeMarker(value))\n                break;\n            // Skip namespaced attributes\n            if (value === 0 /* AttributeMarker.NamespaceURI */) {\n                // we skip the next two values\n                // as namespaced attributes looks like\n                // [..., AttributeMarker.NamespaceURI, 'http://someuri.com/test', 'test:exist',\n                // 'existValue', ...]\n                i = i + 2;\n            }\n            else if (typeof value === 'number') {\n                // Skip to the first value of the marked attribute.\n                i++;\n                while (i < attrsLength && typeof attrs[i] === 'string') {\n                    i++;\n                }\n            }\n            else if (value === attrNameToInject) {\n                return attrs[i + 1];\n            }\n            else {\n                i = i + 2;\n            }\n        }\n    }\n    return null;\n}\nfunction notFoundValueOrThrow(notFoundValue, token, flags) {\n    if ((flags & InjectFlags.Optional) || notFoundValue !== undefined) {\n        return notFoundValue;\n    }\n    else {\n        throwProviderNotFoundError(token, 'NodeInjector');\n    }\n}\n/**\n * Returns the value associated to the given token from the ModuleInjector or throws exception\n *\n * @param lView The `LView` that contains the `tNode`\n * @param token The token to look for\n * @param flags Injection flags\n * @param notFoundValue The value to return when the injection flags is `InjectFlags.Optional`\n * @returns the value from the injector or throws an exception\n */\nfunction lookupTokenUsingModuleInjector(lView, token, flags, notFoundValue) {\n    if ((flags & InjectFlags.Optional) && notFoundValue === undefined) {\n        // This must be set or the NullInjector will throw for optional deps\n        notFoundValue = null;\n    }\n    if ((flags & (InjectFlags.Self | InjectFlags.Host)) === 0) {\n        const moduleInjector = lView[INJECTOR$1];\n        // switch to `injectInjectorOnly` implementation for module injector, since module injector\n        // should not have access to Component/Directive DI scope (that may happen through\n        // `directiveInject` implementation)\n        const previousInjectImplementation = setInjectImplementation(undefined);\n        try {\n            if (moduleInjector) {\n                return moduleInjector.get(token, notFoundValue, flags & InjectFlags.Optional);\n            }\n            else {\n                return injectRootLimpMode(token, notFoundValue, flags & InjectFlags.Optional);\n            }\n        }\n        finally {\n            setInjectImplementation(previousInjectImplementation);\n        }\n    }\n    return notFoundValueOrThrow(notFoundValue, token, flags);\n}\n/**\n * Returns the value associated to the given token from the NodeInjectors => ModuleInjector.\n *\n * Look for the injector providing the token by walking up the node injector tree and then\n * the module injector tree.\n *\n * This function patches `token` with `__NG_ELEMENT_ID__` which contains the id for the bloom\n * filter. `-1` is reserved for injecting `Injector` (implemented by `NodeInjector`)\n *\n * @param tNode The Node where the search for the injector should start\n * @param lView The `LView` that contains the `tNode`\n * @param token The token to look for\n * @param flags Injection flags\n * @param notFoundValue The value to return when the injection flags is `InjectFlags.Optional`\n * @returns the value from the injector, `null` when not found, or `notFoundValue` if provided\n */\nfunction getOrCreateInjectable(tNode, lView, token, flags = InjectFlags.Default, notFoundValue) {\n    if (tNode !== null) {\n        // If the view or any of its ancestors have an embedded\n        // view injector, we have to look it up there first.\n        if (lView[FLAGS] & 1024 /* LViewFlags.HasEmbeddedViewInjector */) {\n            const embeddedInjectorValue = lookupTokenUsingEmbeddedInjector(tNode, lView, token, flags, NOT_FOUND);\n            if (embeddedInjectorValue !== NOT_FOUND) {\n                return embeddedInjectorValue;\n            }\n        }\n        // Otherwise try the node injector.\n        const value = lookupTokenUsingNodeInjector(tNode, lView, token, flags, NOT_FOUND);\n        if (value !== NOT_FOUND) {\n            return value;\n        }\n    }\n    // Finally, fall back to the module injector.\n    return lookupTokenUsingModuleInjector(lView, token, flags, notFoundValue);\n}\n/**\n * Returns the value associated to the given token from the node injector.\n *\n * @param tNode The Node where the search for the injector should start\n * @param lView The `LView` that contains the `tNode`\n * @param token The token to look for\n * @param flags Injection flags\n * @param notFoundValue The value to return when the injection flags is `InjectFlags.Optional`\n * @returns the value from the injector, `null` when not found, or `notFoundValue` if provided\n */\nfunction lookupTokenUsingNodeInjector(tNode, lView, token, flags, notFoundValue) {\n    const bloomHash = bloomHashBitOrFactory(token);\n    // If the ID stored here is a function, this is a special object like ElementRef or TemplateRef\n    // so just call the factory function to create it.\n    if (typeof bloomHash === 'function') {\n        if (!enterDI(lView, tNode, flags)) {\n            // Failed to enter DI, try module injector instead. If a token is injected with the @Host\n            // flag, the module injector is not searched for that token in Ivy.\n            return (flags & InjectFlags.Host) ?\n                notFoundValueOrThrow(notFoundValue, token, flags) :\n                lookupTokenUsingModuleInjector(lView, token, flags, notFoundValue);\n        }\n        try {\n            const value = bloomHash(flags);\n            if (value == null && !(flags & InjectFlags.Optional)) {\n                throwProviderNotFoundError(token);\n            }\n            else {\n                return value;\n            }\n        }\n        finally {\n            leaveDI();\n        }\n    }\n    else if (typeof bloomHash === 'number') {\n        // A reference to the previous injector TView that was found while climbing the element\n        // injector tree. This is used to know if viewProviders can be accessed on the current\n        // injector.\n        let previousTView = null;\n        let injectorIndex = getInjectorIndex(tNode, lView);\n        let parentLocation = NO_PARENT_INJECTOR;\n        let hostTElementNode = flags & InjectFlags.Host ? lView[DECLARATION_COMPONENT_VIEW][T_HOST] : null;\n        // If we should skip this injector, or if there is no injector on this node, start by\n        // searching the parent injector.\n        if (injectorIndex === -1 || flags & InjectFlags.SkipSelf) {\n            parentLocation = injectorIndex === -1 ? getParentInjectorLocation(tNode, lView) :\n                lView[injectorIndex + 8 /* NodeInjectorOffset.PARENT */];\n            if (parentLocation === NO_PARENT_INJECTOR || !shouldSearchParent(flags, false)) {\n                injectorIndex = -1;\n            }\n            else {\n                previousTView = lView[TVIEW];\n                injectorIndex = getParentInjectorIndex(parentLocation);\n                lView = getParentInjectorView(parentLocation, lView);\n            }\n        }\n        // Traverse up the injector tree until we find a potential match or until we know there\n        // *isn't* a match.\n        while (injectorIndex !== -1) {\n            ngDevMode && assertNodeInjector(lView, injectorIndex);\n            // Check the current injector. If it matches, see if it contains token.\n            const tView = lView[TVIEW];\n            ngDevMode &&\n                assertTNodeForLView(tView.data[injectorIndex + 8 /* NodeInjectorOffset.TNODE */], lView);\n            if (bloomHasToken(bloomHash, injectorIndex, tView.data)) {\n                // At this point, we have an injector which *may* contain the token, so we step through\n                // the providers and directives associated with the injector's corresponding node to get\n                // the instance.\n                const instance = searchTokensOnInjector(injectorIndex, lView, token, previousTView, flags, hostTElementNode);\n                if (instance !== NOT_FOUND) {\n                    return instance;\n                }\n            }\n            parentLocation = lView[injectorIndex + 8 /* NodeInjectorOffset.PARENT */];\n            if (parentLocation !== NO_PARENT_INJECTOR &&\n                shouldSearchParent(flags, lView[TVIEW].data[injectorIndex + 8 /* NodeInjectorOffset.TNODE */] === hostTElementNode) &&\n                bloomHasToken(bloomHash, injectorIndex, lView)) {\n                // The def wasn't found anywhere on this node, so it was a false positive.\n                // Traverse up the tree and continue searching.\n                previousTView = tView;\n                injectorIndex = getParentInjectorIndex(parentLocation);\n                lView = getParentInjectorView(parentLocation, lView);\n            }\n            else {\n                // If we should not search parent OR If the ancestor bloom filter value does not have the\n                // bit corresponding to the directive we can give up on traversing up to find the specific\n                // injector.\n                injectorIndex = -1;\n            }\n        }\n    }\n    return notFoundValue;\n}\nfunction searchTokensOnInjector(injectorIndex, lView, token, previousTView, flags, hostTElementNode) {\n    const currentTView = lView[TVIEW];\n    const tNode = currentTView.data[injectorIndex + 8 /* NodeInjectorOffset.TNODE */];\n    // First, we need to determine if view providers can be accessed by the starting element.\n    // There are two possibilities\n    const canAccessViewProviders = previousTView == null ?\n        // 1) This is the first invocation `previousTView == null` which means that we are at the\n        // `TNode` of where injector is starting to look. In such a case the only time we are allowed\n        // to look into the ViewProviders is if:\n        // - we are on a component\n        // - AND the injector set `includeViewProviders` to true (implying that the token can see\n        // ViewProviders because it is the Component or a Service which itself was declared in\n        // ViewProviders)\n        (isComponentHost(tNode) && includeViewProviders) :\n        // 2) `previousTView != null` which means that we are now walking across the parent nodes.\n        // In such a case we are only allowed to look into the ViewProviders if:\n        // - We just crossed from child View to Parent View `previousTView != currentTView`\n        // - AND the parent TNode is an Element.\n        // This means that we just came from the Component's View and therefore are allowed to see\n        // into the ViewProviders.\n        (previousTView != currentTView && ((tNode.type & 3 /* TNodeType.AnyRNode */) !== 0));\n    // This special case happens when there is a @host on the inject and when we are searching\n    // on the host element node.\n    const isHostSpecialCase = (flags & InjectFlags.Host) && hostTElementNode === tNode;\n    const injectableIdx = locateDirectiveOrProvider(tNode, currentTView, token, canAccessViewProviders, isHostSpecialCase);\n    if (injectableIdx !== null) {\n        return getNodeInjectable(lView, currentTView, injectableIdx, tNode);\n    }\n    else {\n        return NOT_FOUND;\n    }\n}\n/**\n * Searches for the given token among the node's directives and providers.\n *\n * @param tNode TNode on which directives are present.\n * @param tView The tView we are currently processing\n * @param token Provider token or type of a directive to look for.\n * @param canAccessViewProviders Whether view providers should be considered.\n * @param isHostSpecialCase Whether the host special case applies.\n * @returns Index of a found directive or provider, or null when none found.\n */\nfunction locateDirectiveOrProvider(tNode, tView, token, canAccessViewProviders, isHostSpecialCase) {\n    const nodeProviderIndexes = tNode.providerIndexes;\n    const tInjectables = tView.data;\n    const injectablesStart = nodeProviderIndexes & 1048575 /* TNodeProviderIndexes.ProvidersStartIndexMask */;\n    const directivesStart = tNode.directiveStart;\n    const directiveEnd = tNode.directiveEnd;\n    const cptViewProvidersCount = nodeProviderIndexes >> 20 /* TNodeProviderIndexes.CptViewProvidersCountShift */;\n    const startingIndex = canAccessViewProviders ? injectablesStart : injectablesStart + cptViewProvidersCount;\n    // When the host special case applies, only the viewProviders and the component are visible\n    const endIndex = isHostSpecialCase ? injectablesStart + cptViewProvidersCount : directiveEnd;\n    for (let i = startingIndex; i < endIndex; i++) {\n        const providerTokenOrDef = tInjectables[i];\n        if (i < directivesStart && token === providerTokenOrDef ||\n            i >= directivesStart && providerTokenOrDef.type === token) {\n            return i;\n        }\n    }\n    if (isHostSpecialCase) {\n        const dirDef = tInjectables[directivesStart];\n        if (dirDef && isComponentDef(dirDef) && dirDef.type === token) {\n            return directivesStart;\n        }\n    }\n    return null;\n}\n/**\n * Retrieve or instantiate the injectable from the `LView` at particular `index`.\n *\n * This function checks to see if the value has already been instantiated and if so returns the\n * cached `injectable`. Otherwise if it detects that the value is still a factory it\n * instantiates the `injectable` and caches the value.\n */\nfunction getNodeInjectable(lView, tView, index, tNode) {\n    let value = lView[index];\n    const tData = tView.data;\n    if (isFactory(value)) {\n        const factory = value;\n        if (factory.resolving) {\n            throwCyclicDependencyError(stringifyForError(tData[index]));\n        }\n        const previousIncludeViewProviders = setIncludeViewProviders(factory.canSeeViewProviders);\n        factory.resolving = true;\n        const previousInjectImplementation = factory.injectImpl ? setInjectImplementation(factory.injectImpl) : null;\n        const success = enterDI(lView, tNode, InjectFlags.Default);\n        ngDevMode &&\n            assertEqual(success, true, 'Because flags do not contain \\`SkipSelf\\' we expect this to always succeed.');\n        try {\n            value = lView[index] = factory.factory(undefined, tData, lView, tNode);\n            // This code path is hit for both directives and providers.\n            // For perf reasons, we want to avoid searching for hooks on providers.\n            // It does no harm to try (the hooks just won't exist), but the extra\n            // checks are unnecessary and this is a hot path. So we check to see\n            // if the index of the dependency is in the directive range for this\n            // tNode. If it's not, we know it's a provider and skip hook registration.\n            if (tView.firstCreatePass && index >= tNode.directiveStart) {\n                ngDevMode && assertDirectiveDef(tData[index]);\n                registerPreOrderHooks(index, tData[index], tView);\n            }\n        }\n        finally {\n            previousInjectImplementation !== null &&\n                setInjectImplementation(previousInjectImplementation);\n            setIncludeViewProviders(previousIncludeViewProviders);\n            factory.resolving = false;\n            leaveDI();\n        }\n    }\n    return value;\n}\n/**\n * Returns the bit in an injector's bloom filter that should be used to determine whether or not\n * the directive might be provided by the injector.\n *\n * When a directive is public, it is added to the bloom filter and given a unique ID that can be\n * retrieved on the Type. When the directive isn't public or the token is not a directive `null`\n * is returned as the node injector can not possibly provide that token.\n *\n * @param token the injection token\n * @returns the matching bit to check in the bloom filter or `null` if the token is not known.\n *   When the returned value is negative then it represents special values such as `Injector`.\n */\nfunction bloomHashBitOrFactory(token) {\n    ngDevMode && assertDefined(token, 'token must be defined');\n    if (typeof token === 'string') {\n        return token.charCodeAt(0) || 0;\n    }\n    const tokenId = \n    // First check with `hasOwnProperty` so we don't get an inherited ID.\n    token.hasOwnProperty(NG_ELEMENT_ID) ? token[NG_ELEMENT_ID] : undefined;\n    // Negative token IDs are used for special objects such as `Injector`\n    if (typeof tokenId === 'number') {\n        if (tokenId >= 0) {\n            return tokenId & BLOOM_MASK;\n        }\n        else {\n            ngDevMode &&\n                assertEqual(tokenId, -1 /* InjectorMarkers.Injector */, 'Expecting to get Special Injector Id');\n            return createNodeInjector;\n        }\n    }\n    else {\n        return tokenId;\n    }\n}\nfunction bloomHasToken(bloomHash, injectorIndex, injectorView) {\n    // Create a mask that targets the specific bit associated with the directive we're looking for.\n    // JS bit operations are 32 bits, so this will be a number between 2^0 and 2^31, corresponding\n    // to bit positions 0 - 31 in a 32 bit integer.\n    const mask = 1 << bloomHash;\n    // Each bloom bucket in `injectorView` represents `BLOOM_BUCKET_BITS` number of bits of\n    // `bloomHash`. Any bits in `bloomHash` beyond `BLOOM_BUCKET_BITS` indicate the bucket offset\n    // that should be used.\n    const value = injectorView[injectorIndex + (bloomHash >> BLOOM_BUCKET_BITS)];\n    // If the bloom filter value has the bit corresponding to the directive's bloomBit flipped on,\n    // this injector is a potential match.\n    return !!(value & mask);\n}\n/** Returns true if flags prevent parent injector from being searched for tokens */\nfunction shouldSearchParent(flags, isFirstHostTNode) {\n    return !(flags & InjectFlags.Self) && !(flags & InjectFlags.Host && isFirstHostTNode);\n}\nclass NodeInjector {\n    constructor(_tNode, _lView) {\n        this._tNode = _tNode;\n        this._lView = _lView;\n    }\n    get(token, notFoundValue, flags) {\n        return getOrCreateInjectable(this._tNode, this._lView, token, convertToBitFlags(flags), notFoundValue);\n    }\n}\n/** Creates a `NodeInjector` for the current node. */\nfunction createNodeInjector() {\n    return new NodeInjector(getCurrentTNode(), getLView());\n}\n/**\n * @codeGenApi\n */\nfunction ɵɵgetInheritedFactory(type) {\n    return noSideEffects(() => {\n        const ownConstructor = type.prototype.constructor;\n        const ownFactory = ownConstructor[NG_FACTORY_DEF] || getFactoryOf(ownConstructor);\n        const objectPrototype = Object.prototype;\n        let parent = Object.getPrototypeOf(type.prototype).constructor;\n        // Go up the prototype until we hit `Object`.\n        while (parent && parent !== objectPrototype) {\n            const factory = parent[NG_FACTORY_DEF] || getFactoryOf(parent);\n            // If we hit something that has a factory and the factory isn't the same as the type,\n            // we've found the inherited factory. Note the check that the factory isn't the type's\n            // own factory is redundant in most cases, but if the user has custom decorators on the\n            // class, this lookup will start one level down in the prototype chain, causing us to\n            // find the own factory first and potentially triggering an infinite loop downstream.\n            if (factory && factory !== ownFactory) {\n                return factory;\n            }\n            parent = Object.getPrototypeOf(parent);\n        }\n        // There is no factory defined. Either this was improper usage of inheritance\n        // (no Angular decorator on the superclass) or there is no constructor at all\n        // in the inheritance chain. Since the two cases cannot be distinguished, the\n        // latter has to be assumed.\n        return t => new t();\n    });\n}\nfunction getFactoryOf(type) {\n    if (isForwardRef(type)) {\n        return () => {\n            const factory = getFactoryOf(resolveForwardRef(type));\n            return factory && factory();\n        };\n    }\n    return getFactoryDef(type);\n}\n/**\n * Returns a value from the closest embedded or node injector.\n *\n * @param tNode The Node where the search for the injector should start\n * @param lView The `LView` that contains the `tNode`\n * @param token The token to look for\n * @param flags Injection flags\n * @param notFoundValue The value to return when the injection flags is `InjectFlags.Optional`\n * @returns the value from the injector, `null` when not found, or `notFoundValue` if provided\n */\nfunction lookupTokenUsingEmbeddedInjector(tNode, lView, token, flags, notFoundValue) {\n    let currentTNode = tNode;\n    let currentLView = lView;\n    // When an LView with an embedded view injector is inserted, it'll likely be interlaced with\n    // nodes who may have injectors (e.g. node injector -> embedded view injector -> node injector).\n    // Since the bloom filters for the node injectors have already been constructed and we don't\n    // have a way of extracting the records from an injector, the only way to maintain the correct\n    // hierarchy when resolving the value is to walk it node-by-node while attempting to resolve\n    // the token at each level.\n    while (currentTNode !== null && currentLView !== null &&\n        (currentLView[FLAGS] & 1024 /* LViewFlags.HasEmbeddedViewInjector */) &&\n        !(currentLView[FLAGS] & 256 /* LViewFlags.IsRoot */)) {\n        ngDevMode && assertTNodeForLView(currentTNode, currentLView);\n        // Note that this lookup on the node injector is using the `Self` flag, because\n        // we don't want the node injector to look at any parent injectors since we\n        // may hit the embedded view injector first.\n        const nodeInjectorValue = lookupTokenUsingNodeInjector(currentTNode, currentLView, token, flags | InjectFlags.Self, NOT_FOUND);\n        if (nodeInjectorValue !== NOT_FOUND) {\n            return nodeInjectorValue;\n        }\n        // Has an explicit type due to a TS bug: https://github.com/microsoft/TypeScript/issues/33191\n        let parentTNode = currentTNode.parent;\n        // `TNode.parent` includes the parent within the current view only. If it doesn't exist,\n        // it means that we've hit the view boundary and we need to go up to the next view.\n        if (!parentTNode) {\n            // Before we go to the next LView, check if the token exists on the current embedded injector.\n            const embeddedViewInjector = currentLView[EMBEDDED_VIEW_INJECTOR];\n            if (embeddedViewInjector) {\n                const embeddedViewInjectorValue = embeddedViewInjector.get(token, NOT_FOUND, flags);\n                if (embeddedViewInjectorValue !== NOT_FOUND) {\n                    return embeddedViewInjectorValue;\n                }\n            }\n            // Otherwise keep going up the tree.\n            parentTNode = getTNodeFromLView(currentLView);\n            currentLView = currentLView[DECLARATION_VIEW];\n        }\n        currentTNode = parentTNode;\n    }\n    return notFoundValue;\n}\n/** Gets the TNode associated with an LView inside of the declaration view. */\nfunction getTNodeFromLView(lView) {\n    const tView = lView[TVIEW];\n    const tViewType = tView.type;\n    // The parent pointer differs based on `TView.type`.\n    if (tViewType === 2 /* TViewType.Embedded */) {\n        ngDevMode && assertDefined(tView.declTNode, 'Embedded TNodes should have declaration parents.');\n        return tView.declTNode;\n    }\n    else if (tViewType === 1 /* TViewType.Component */) {\n        // Components don't have `TView.declTNode` because each instance of component could be\n        // inserted in different location, hence `TView.declTNode` is meaningless.\n        return lView[T_HOST];\n    }\n    return null;\n}\n\n/**\n * Facade for the attribute injection from DI.\n *\n * @codeGenApi\n */\nfunction ɵɵinjectAttribute(attrNameToInject) {\n    return injectAttributeImpl(getCurrentTNode(), attrNameToInject);\n}\n\nconst ANNOTATIONS = '__annotations__';\nconst PARAMETERS = '__parameters__';\nconst PROP_METADATA = '__prop__metadata__';\n/**\n * @suppress {globalThis}\n */\nfunction makeDecorator(name, props, parentClass, additionalProcessing, typeFn) {\n    return noSideEffects(() => {\n        const metaCtor = makeMetadataCtor(props);\n        function DecoratorFactory(...args) {\n            if (this instanceof DecoratorFactory) {\n                metaCtor.call(this, ...args);\n                return this;\n            }\n            const annotationInstance = new DecoratorFactory(...args);\n            return function TypeDecorator(cls) {\n                if (typeFn)\n                    typeFn(cls, ...args);\n                // Use of Object.defineProperty is important since it creates non-enumerable property which\n                // prevents the property is copied during subclassing.\n                const annotations = cls.hasOwnProperty(ANNOTATIONS) ?\n                    cls[ANNOTATIONS] :\n                    Object.defineProperty(cls, ANNOTATIONS, { value: [] })[ANNOTATIONS];\n                annotations.push(annotationInstance);\n                if (additionalProcessing)\n                    additionalProcessing(cls);\n                return cls;\n            };\n        }\n        if (parentClass) {\n            DecoratorFactory.prototype = Object.create(parentClass.prototype);\n        }\n        DecoratorFactory.prototype.ngMetadataName = name;\n        DecoratorFactory.annotationCls = DecoratorFactory;\n        return DecoratorFactory;\n    });\n}\nfunction makeMetadataCtor(props) {\n    return function ctor(...args) {\n        if (props) {\n            const values = props(...args);\n            for (const propName in values) {\n                this[propName] = values[propName];\n            }\n        }\n    };\n}\nfunction makeParamDecorator(name, props, parentClass) {\n    return noSideEffects(() => {\n        const metaCtor = makeMetadataCtor(props);\n        function ParamDecoratorFactory(...args) {\n            if (this instanceof ParamDecoratorFactory) {\n                metaCtor.apply(this, args);\n                return this;\n            }\n            const annotationInstance = new ParamDecoratorFactory(...args);\n            ParamDecorator.annotation = annotationInstance;\n            return ParamDecorator;\n            function ParamDecorator(cls, unusedKey, index) {\n                // Use of Object.defineProperty is important since it creates non-enumerable property which\n                // prevents the property is copied during subclassing.\n                const parameters = cls.hasOwnProperty(PARAMETERS) ?\n                    cls[PARAMETERS] :\n                    Object.defineProperty(cls, PARAMETERS, { value: [] })[PARAMETERS];\n                // there might be gaps if some in between parameters do not have annotations.\n                // we pad with nulls.\n                while (parameters.length <= index) {\n                    parameters.push(null);\n                }\n                (parameters[index] = parameters[index] || []).push(annotationInstance);\n                return cls;\n            }\n        }\n        if (parentClass) {\n            ParamDecoratorFactory.prototype = Object.create(parentClass.prototype);\n        }\n        ParamDecoratorFactory.prototype.ngMetadataName = name;\n        ParamDecoratorFactory.annotationCls = ParamDecoratorFactory;\n        return ParamDecoratorFactory;\n    });\n}\nfunction makePropDecorator(name, props, parentClass, additionalProcessing) {\n    return noSideEffects(() => {\n        const metaCtor = makeMetadataCtor(props);\n        function PropDecoratorFactory(...args) {\n            if (this instanceof PropDecoratorFactory) {\n                metaCtor.apply(this, args);\n                return this;\n            }\n            const decoratorInstance = new PropDecoratorFactory(...args);\n            function PropDecorator(target, name) {\n                const constructor = target.constructor;\n                // Use of Object.defineProperty is important because it creates a non-enumerable property\n                // which prevents the property from being copied during subclassing.\n                const meta = constructor.hasOwnProperty(PROP_METADATA) ?\n                    constructor[PROP_METADATA] :\n                    Object.defineProperty(constructor, PROP_METADATA, { value: {} })[PROP_METADATA];\n                meta[name] = meta.hasOwnProperty(name) && meta[name] || [];\n                meta[name].unshift(decoratorInstance);\n                if (additionalProcessing)\n                    additionalProcessing(target, name, ...args);\n            }\n            return PropDecorator;\n        }\n        if (parentClass) {\n            PropDecoratorFactory.prototype = Object.create(parentClass.prototype);\n        }\n        PropDecoratorFactory.prototype.ngMetadataName = name;\n        PropDecoratorFactory.annotationCls = PropDecoratorFactory;\n        return PropDecoratorFactory;\n    });\n}\n\n/**\n * Attribute decorator and metadata.\n *\n * @Annotation\n * @publicApi\n */\nconst Attribute = makeParamDecorator('Attribute', (attributeName) => ({ attributeName, __NG_ELEMENT_ID__: () => ɵɵinjectAttribute(attributeName) }));\n\n/**\n * Creates a token that can be used in a DI Provider.\n *\n * Use an `InjectionToken` whenever the type you are injecting is not reified (does not have a\n * runtime representation) such as when injecting an interface, callable type, array or\n * parameterized type.\n *\n * `InjectionToken` is parameterized on `T` which is the type of object which will be returned by\n * the `Injector`. This provides an additional level of type safety.\n *\n * ```\n * interface MyInterface {...}\n * const myInterface = injector.get(new InjectionToken<MyInterface>('SomeToken'));\n * // myInterface is inferred to be MyInterface.\n * ```\n *\n * When creating an `InjectionToken`, you can optionally specify a factory function which returns\n * (possibly by creating) a default value of the parameterized type `T`. This sets up the\n * `InjectionToken` using this factory as a provider as if it was defined explicitly in the\n * application's root injector. If the factory function, which takes zero arguments, needs to inject\n * dependencies, it can do so using the `inject` function.\n * As you can see in the Tree-shakable InjectionToken example below.\n *\n * Additionally, if a `factory` is specified you can also specify the `providedIn` option, which\n * overrides the above behavior and marks the token as belonging to a particular `@NgModule` (note:\n * this option is now deprecated). As mentioned above, `'root'` is the default value for\n * `providedIn`.\n *\n * The `providedIn: NgModule` and `providedIn: 'any'` options are deprecated.\n *\n * @usageNotes\n * ### Basic Examples\n *\n * ### Plain InjectionToken\n *\n * {@example core/di/ts/injector_spec.ts region='InjectionToken'}\n *\n * ### Tree-shakable InjectionToken\n *\n * {@example core/di/ts/injector_spec.ts region='ShakableInjectionToken'}\n *\n *\n * @publicApi\n */\nclass InjectionToken {\n    /**\n     * @param _desc   Description for the token,\n     *                used only for debugging purposes,\n     *                it should but does not need to be unique\n     * @param options Options for the token's usage, as described above\n     */\n    constructor(_desc, options) {\n        this._desc = _desc;\n        /** @internal */\n        this.ngMetadataName = 'InjectionToken';\n        this.ɵprov = undefined;\n        if (typeof options == 'number') {\n            (typeof ngDevMode === 'undefined' || ngDevMode) &&\n                assertLessThan(options, 0, 'Only negative numbers are supported here');\n            // This is a special hack to assign __NG_ELEMENT_ID__ to this instance.\n            // See `InjectorMarkers`\n            this.__NG_ELEMENT_ID__ = options;\n        }\n        else if (options !== undefined) {\n            this.ɵprov = ɵɵdefineInjectable({\n                token: this,\n                providedIn: options.providedIn || 'root',\n                factory: options.factory,\n            });\n        }\n    }\n    /**\n     * @internal\n     */\n    get multi() {\n        return this;\n    }\n    toString() {\n        return `InjectionToken ${this._desc}`;\n    }\n}\n\n/**\n * A DI token that you can use to create a virtual [provider](guide/glossary#provider)\n * that will populate the `entryComponents` field of components and NgModules\n * based on its `useValue` property value.\n * All components that are referenced in the `useValue` value (either directly\n * or in a nested array or map) are added to the `entryComponents` property.\n *\n * @usageNotes\n *\n * The following example shows how the router can populate the `entryComponents`\n * field of an NgModule based on a router configuration that refers\n * to components.\n *\n * ```typescript\n * // helper function inside the router\n * function provideRoutes(routes) {\n *   return [\n *     {provide: ROUTES, useValue: routes},\n *     {provide: ANALYZE_FOR_ENTRY_COMPONENTS, useValue: routes, multi: true}\n *   ];\n * }\n *\n * // user code\n * let routes = [\n *   {path: '/root', component: RootComp},\n *   {path: '/teams', component: TeamsComp}\n * ];\n *\n * @NgModule({\n *   providers: [provideRoutes(routes)]\n * })\n * class ModuleWithRoutes {}\n * ```\n *\n * @publicApi\n * @deprecated Since 9.0.0. With Ivy, this property is no longer necessary.\n */\nconst ANALYZE_FOR_ENTRY_COMPONENTS = new InjectionToken('AnalyzeForEntryComponents');\n// Stores the default value of `emitDistinctChangesOnly` when the `emitDistinctChangesOnly` is not\n// explicitly set.\nconst emitDistinctChangesOnlyDefaultValue = true;\n/**\n * Base class for query metadata.\n *\n * @see `ContentChildren`.\n * @see `ContentChild`.\n * @see `ViewChildren`.\n * @see `ViewChild`.\n *\n * @publicApi\n */\nclass Query {\n}\n/**\n * ContentChildren decorator and metadata.\n *\n *\n * @Annotation\n * @publicApi\n */\nconst ContentChildren = makePropDecorator('ContentChildren', (selector, data = {}) => ({\n    selector,\n    first: false,\n    isViewQuery: false,\n    descendants: false,\n    emitDistinctChangesOnly: emitDistinctChangesOnlyDefaultValue,\n    ...data\n}), Query);\n/**\n * ContentChild decorator and metadata.\n *\n *\n * @Annotation\n *\n * @publicApi\n */\nconst ContentChild = makePropDecorator('ContentChild', (selector, data = {}) => ({ selector, first: true, isViewQuery: false, descendants: true, ...data }), Query);\n/**\n * ViewChildren decorator and metadata.\n *\n * @Annotation\n * @publicApi\n */\nconst ViewChildren = makePropDecorator('ViewChildren', (selector, data = {}) => ({\n    selector,\n    first: false,\n    isViewQuery: true,\n    descendants: true,\n    emitDistinctChangesOnly: emitDistinctChangesOnlyDefaultValue,\n    ...data\n}), Query);\n/**\n * ViewChild decorator and metadata.\n *\n * @Annotation\n * @publicApi\n */\nconst ViewChild = makePropDecorator('ViewChild', (selector, data) => ({ selector, first: true, isViewQuery: true, descendants: true, ...data }), Query);\n\nvar FactoryTarget;\n(function (FactoryTarget) {\n    FactoryTarget[FactoryTarget[\"Directive\"] = 0] = \"Directive\";\n    FactoryTarget[FactoryTarget[\"Component\"] = 1] = \"Component\";\n    FactoryTarget[FactoryTarget[\"Injectable\"] = 2] = \"Injectable\";\n    FactoryTarget[FactoryTarget[\"Pipe\"] = 3] = \"Pipe\";\n    FactoryTarget[FactoryTarget[\"NgModule\"] = 4] = \"NgModule\";\n})(FactoryTarget || (FactoryTarget = {}));\nvar R3TemplateDependencyKind;\n(function (R3TemplateDependencyKind) {\n    R3TemplateDependencyKind[R3TemplateDependencyKind[\"Directive\"] = 0] = \"Directive\";\n    R3TemplateDependencyKind[R3TemplateDependencyKind[\"Pipe\"] = 1] = \"Pipe\";\n    R3TemplateDependencyKind[R3TemplateDependencyKind[\"NgModule\"] = 2] = \"NgModule\";\n})(R3TemplateDependencyKind || (R3TemplateDependencyKind = {}));\nvar ViewEncapsulation;\n(function (ViewEncapsulation) {\n    ViewEncapsulation[ViewEncapsulation[\"Emulated\"] = 0] = \"Emulated\";\n    // Historically the 1 value was for `Native` encapsulation which has been removed as of v11.\n    ViewEncapsulation[ViewEncapsulation[\"None\"] = 2] = \"None\";\n    ViewEncapsulation[ViewEncapsulation[\"ShadowDom\"] = 3] = \"ShadowDom\";\n})(ViewEncapsulation || (ViewEncapsulation = {}));\n\nfunction getCompilerFacade(request) {\n    const globalNg = _global['ng'];\n    if (globalNg && globalNg.ɵcompilerFacade) {\n        return globalNg.ɵcompilerFacade;\n    }\n    if (typeof ngDevMode === 'undefined' || ngDevMode) {\n        // Log the type as an error so that a developer can easily navigate to the type from the\n        // console.\n        console.error(`JIT compilation failed for ${request.kind}`, request.type);\n        let message = `The ${request.kind} '${request\n            .type.name}' needs to be compiled using the JIT compiler, but '@angular/compiler' is not available.\\n\\n`;\n        if (request.usage === 1 /* JitCompilerUsage.PartialDeclaration */) {\n            message += `The ${request.kind} is part of a library that has been partially compiled.\\n`;\n            message +=\n                `However, the Angular Linker has not processed the library such that JIT compilation is used as fallback.\\n`;\n            message += '\\n';\n            message +=\n                `Ideally, the library is processed using the Angular Linker to become fully AOT compiled.\\n`;\n        }\n        else {\n            message +=\n                `JIT compilation is discouraged for production use-cases! Consider using AOT mode instead.\\n`;\n        }\n        message +=\n            `Alternatively, the JIT compiler should be loaded by bootstrapping using '@angular/platform-browser-dynamic' or '@angular/platform-server',\\n`;\n        message +=\n            `or manually provide the compiler with 'import \"@angular/compiler\";' before bootstrapping.`;\n        throw new Error(message);\n    }\n    else {\n        throw new Error('JIT compiler unavailable');\n    }\n}\n\n/**\n * @description\n *\n * Represents a type that a Component or other object is instances of.\n *\n * An example of a `Type` is `MyCustomComponent` class, which in JavaScript is represented by\n * the `MyCustomComponent` constructor function.\n *\n * @publicApi\n */\nconst Type = Function;\nfunction isType(v) {\n    return typeof v === 'function';\n}\n\n/**\n * Determines if the contents of two arrays is identical\n *\n * @param a first array\n * @param b second array\n * @param identityAccessor Optional function for extracting stable object identity from a value in\n *     the array.\n */\nfunction arrayEquals(a, b, identityAccessor) {\n    if (a.length !== b.length)\n        return false;\n    for (let i = 0; i < a.length; i++) {\n        let valueA = a[i];\n        let valueB = b[i];\n        if (identityAccessor) {\n            valueA = identityAccessor(valueA);\n            valueB = identityAccessor(valueB);\n        }\n        if (valueB !== valueA) {\n            return false;\n        }\n    }\n    return true;\n}\n/**\n * Flattens an array.\n */\nfunction flatten(list) {\n    return list.flat(Number.POSITIVE_INFINITY);\n}\nfunction deepForEach(input, fn) {\n    input.forEach(value => Array.isArray(value) ? deepForEach(value, fn) : fn(value));\n}\nfunction addToArray(arr, index, value) {\n    // perf: array.push is faster than array.splice!\n    if (index >= arr.length) {\n        arr.push(value);\n    }\n    else {\n        arr.splice(index, 0, value);\n    }\n}\nfunction removeFromArray(arr, index) {\n    // perf: array.pop is faster than array.splice!\n    if (index >= arr.length - 1) {\n        return arr.pop();\n    }\n    else {\n        return arr.splice(index, 1)[0];\n    }\n}\nfunction newArray(size, value) {\n    const list = [];\n    for (let i = 0; i < size; i++) {\n        list.push(value);\n    }\n    return list;\n}\n/**\n * Remove item from array (Same as `Array.splice()` but faster.)\n *\n * `Array.splice()` is not as fast because it has to allocate an array for the elements which were\n * removed. This causes memory pressure and slows down code when most of the time we don't\n * care about the deleted items array.\n *\n * https://jsperf.com/fast-array-splice (About 20x faster)\n *\n * @param array Array to splice\n * @param index Index of element in array to remove.\n * @param count Number of items to remove.\n */\nfunction arraySplice(array, index, count) {\n    const length = array.length - count;\n    while (index < length) {\n        array[index] = array[index + count];\n        index++;\n    }\n    while (count--) {\n        array.pop(); // shrink the array\n    }\n}\n/**\n * Same as `Array.splice(index, 0, value)` but faster.\n *\n * `Array.splice()` is not fast because it has to allocate an array for the elements which were\n * removed. This causes memory pressure and slows down code when most of the time we don't\n * care about the deleted items array.\n *\n * @param array Array to splice.\n * @param index Index in array where the `value` should be added.\n * @param value Value to add to array.\n */\nfunction arrayInsert(array, index, value) {\n    ngDevMode && assertLessThanOrEqual(index, array.length, 'Can\\'t insert past array end.');\n    let end = array.length;\n    while (end > index) {\n        const previousEnd = end - 1;\n        array[end] = array[previousEnd];\n        end = previousEnd;\n    }\n    array[index] = value;\n}\n/**\n * Same as `Array.splice2(index, 0, value1, value2)` but faster.\n *\n * `Array.splice()` is not fast because it has to allocate an array for the elements which were\n * removed. This causes memory pressure and slows down code when most of the time we don't\n * care about the deleted items array.\n *\n * @param array Array to splice.\n * @param index Index in array where the `value` should be added.\n * @param value1 Value to add to array.\n * @param value2 Value to add to array.\n */\nfunction arrayInsert2(array, index, value1, value2) {\n    ngDevMode && assertLessThanOrEqual(index, array.length, 'Can\\'t insert past array end.');\n    let end = array.length;\n    if (end == index) {\n        // inserting at the end.\n        array.push(value1, value2);\n    }\n    else if (end === 1) {\n        // corner case when we have less items in array than we have items to insert.\n        array.push(value2, array[0]);\n        array[0] = value1;\n    }\n    else {\n        end--;\n        array.push(array[end - 1], array[end]);\n        while (end > index) {\n            const previousEnd = end - 2;\n            array[end] = array[previousEnd];\n            end--;\n        }\n        array[index] = value1;\n        array[index + 1] = value2;\n    }\n}\n/**\n * Get an index of an `value` in a sorted `array`.\n *\n * NOTE:\n * - This uses binary search algorithm for fast removals.\n *\n * @param array A sorted array to binary search.\n * @param value The value to look for.\n * @returns index of the value.\n *   - positive index if value found.\n *   - negative index if value not found. (`~index` to get the value where it should have been\n *     located)\n */\nfunction arrayIndexOfSorted(array, value) {\n    return _arrayIndexOfSorted(array, value, 0);\n}\n/**\n * Set a `value` for a `key`.\n *\n * @param keyValueArray to modify.\n * @param key The key to locate or create.\n * @param value The value to set for a `key`.\n * @returns index (always even) of where the value vas set.\n */\nfunction keyValueArraySet(keyValueArray, key, value) {\n    let index = keyValueArrayIndexOf(keyValueArray, key);\n    if (index >= 0) {\n        // if we found it set it.\n        keyValueArray[index | 1] = value;\n    }\n    else {\n        index = ~index;\n        arrayInsert2(keyValueArray, index, key, value);\n    }\n    return index;\n}\n/**\n * Retrieve a `value` for a `key` (on `undefined` if not found.)\n *\n * @param keyValueArray to search.\n * @param key The key to locate.\n * @return The `value` stored at the `key` location or `undefined if not found.\n */\nfunction keyValueArrayGet(keyValueArray, key) {\n    const index = keyValueArrayIndexOf(keyValueArray, key);\n    if (index >= 0) {\n        // if we found it retrieve it.\n        return keyValueArray[index | 1];\n    }\n    return undefined;\n}\n/**\n * Retrieve a `key` index value in the array or `-1` if not found.\n *\n * @param keyValueArray to search.\n * @param key The key to locate.\n * @returns index of where the key is (or should have been.)\n *   - positive (even) index if key found.\n *   - negative index if key not found. (`~index` (even) to get the index where it should have\n *     been inserted.)\n */\nfunction keyValueArrayIndexOf(keyValueArray, key) {\n    return _arrayIndexOfSorted(keyValueArray, key, 1);\n}\n/**\n * Delete a `key` (and `value`) from the `KeyValueArray`.\n *\n * @param keyValueArray to modify.\n * @param key The key to locate or delete (if exist).\n * @returns index of where the key was (or should have been.)\n *   - positive (even) index if key found and deleted.\n *   - negative index if key not found. (`~index` (even) to get the index where it should have\n *     been.)\n */\nfunction keyValueArrayDelete(keyValueArray, key) {\n    const index = keyValueArrayIndexOf(keyValueArray, key);\n    if (index >= 0) {\n        // if we found it remove it.\n        arraySplice(keyValueArray, index, 2);\n    }\n    return index;\n}\n/**\n * INTERNAL: Get an index of an `value` in a sorted `array` by grouping search by `shift`.\n *\n * NOTE:\n * - This uses binary search algorithm for fast removals.\n *\n * @param array A sorted array to binary search.\n * @param value The value to look for.\n * @param shift grouping shift.\n *   - `0` means look at every location\n *   - `1` means only look at every other (even) location (the odd locations are to be ignored as\n *         they are values.)\n * @returns index of the value.\n *   - positive index if value found.\n *   - negative index if value not found. (`~index` to get the value where it should have been\n * inserted)\n */\nfunction _arrayIndexOfSorted(array, value, shift) {\n    ngDevMode && assertEqual(Array.isArray(array), true, 'Expecting an array');\n    let start = 0;\n    let end = array.length >> shift;\n    while (end !== start) {\n        const middle = start + ((end - start) >> 1); // find the middle.\n        const current = array[middle << shift];\n        if (value === current) {\n            return (middle << shift);\n        }\n        else if (current > value) {\n            end = middle;\n        }\n        else {\n            start = middle + 1; // We already searched middle so make it non-inclusive by adding 1\n        }\n    }\n    return ~(end << shift);\n}\n\n/*\n * #########################\n * Attention: These Regular expressions have to hold even if the code is minified!\n * ##########################\n */\n/**\n * Regular expression that detects pass-through constructors for ES5 output. This Regex\n * intends to capture the common delegation pattern emitted by TypeScript and Babel. Also\n * it intends to capture the pattern where existing constructors have been downleveled from\n * ES2015 to ES5 using TypeScript w/ downlevel iteration. e.g.\n *\n * ```\n *   function MyClass() {\n *     var _this = _super.apply(this, arguments) || this;\n * ```\n *\n * downleveled to ES5 with `downlevelIteration` for TypeScript < 4.2:\n * ```\n *   function MyClass() {\n *     var _this = _super.apply(this, __spread(arguments)) || this;\n * ```\n *\n * or downleveled to ES5 with `downlevelIteration` for TypeScript >= 4.2:\n * ```\n *   function MyClass() {\n *     var _this = _super.apply(this, __spreadArray([], __read(arguments), false)) || this;\n * ```\n *\n * More details can be found in: https://github.com/angular/angular/issues/38453.\n */\nconst ES5_DELEGATE_CTOR = /^function\\s+\\S+\\(\\)\\s*{[\\s\\S]+\\.apply\\(this,\\s*(arguments|(?:[^()]+\\(\\[\\],)?[^()]+\\(arguments\\).*)\\)/;\n/** Regular expression that detects ES2015 classes which extend from other classes. */\nconst ES2015_INHERITED_CLASS = /^class\\s+[A-Za-z\\d$_]*\\s*extends\\s+[^{]+{/;\n/**\n * Regular expression that detects ES2015 classes which extend from other classes and\n * have an explicit constructor defined.\n */\nconst ES2015_INHERITED_CLASS_WITH_CTOR = /^class\\s+[A-Za-z\\d$_]*\\s*extends\\s+[^{]+{[\\s\\S]*constructor\\s*\\(/;\n/**\n * Regular expression that detects ES2015 classes which extend from other classes\n * and inherit a constructor.\n */\nconst ES2015_INHERITED_CLASS_WITH_DELEGATE_CTOR = /^class\\s+[A-Za-z\\d$_]*\\s*extends\\s+[^{]+{[\\s\\S]*constructor\\s*\\(\\)\\s*{[^}]*super\\(\\.\\.\\.arguments\\)/;\n/**\n * Determine whether a stringified type is a class which delegates its constructor\n * to its parent.\n *\n * This is not trivial since compiled code can actually contain a constructor function\n * even if the original source code did not. For instance, when the child class contains\n * an initialized instance property.\n */\nfunction isDelegateCtor(typeStr) {\n    return ES5_DELEGATE_CTOR.test(typeStr) ||\n        ES2015_INHERITED_CLASS_WITH_DELEGATE_CTOR.test(typeStr) ||\n        (ES2015_INHERITED_CLASS.test(typeStr) && !ES2015_INHERITED_CLASS_WITH_CTOR.test(typeStr));\n}\nclass ReflectionCapabilities {\n    constructor(reflect) {\n        this._reflect = reflect || _global['Reflect'];\n    }\n    factory(t) {\n        return (...args) => new t(...args);\n    }\n    /** @internal */\n    _zipTypesAndAnnotations(paramTypes, paramAnnotations) {\n        let result;\n        if (typeof paramTypes === 'undefined') {\n            result = newArray(paramAnnotations.length);\n        }\n        else {\n            result = newArray(paramTypes.length);\n        }\n        for (let i = 0; i < result.length; i++) {\n            // TS outputs Object for parameters without types, while Traceur omits\n            // the annotations. For now we preserve the Traceur behavior to aid\n            // migration, but this can be revisited.\n            if (typeof paramTypes === 'undefined') {\n                result[i] = [];\n            }\n            else if (paramTypes[i] && paramTypes[i] != Object) {\n                result[i] = [paramTypes[i]];\n            }\n            else {\n                result[i] = [];\n            }\n            if (paramAnnotations && paramAnnotations[i] != null) {\n                result[i] = result[i].concat(paramAnnotations[i]);\n            }\n        }\n        return result;\n    }\n    _ownParameters(type, parentCtor) {\n        const typeStr = type.toString();\n        // If we have no decorators, we only have function.length as metadata.\n        // In that case, to detect whether a child class declared an own constructor or not,\n        // we need to look inside of that constructor to check whether it is\n        // just calling the parent.\n        // This also helps to work around for https://github.com/Microsoft/TypeScript/issues/12439\n        // that sets 'design:paramtypes' to []\n        // if a class inherits from another class but has no ctor declared itself.\n        if (isDelegateCtor(typeStr)) {\n            return null;\n        }\n        // Prefer the direct API.\n        if (type.parameters && type.parameters !== parentCtor.parameters) {\n            return type.parameters;\n        }\n        // API of tsickle for lowering decorators to properties on the class.\n        const tsickleCtorParams = type.ctorParameters;\n        if (tsickleCtorParams && tsickleCtorParams !== parentCtor.ctorParameters) {\n            // Newer tsickle uses a function closure\n            // Retain the non-function case for compatibility with older tsickle\n            const ctorParameters = typeof tsickleCtorParams === 'function' ? tsickleCtorParams() : tsickleCtorParams;\n            const paramTypes = ctorParameters.map((ctorParam) => ctorParam && ctorParam.type);\n            const paramAnnotations = ctorParameters.map((ctorParam) => ctorParam && convertTsickleDecoratorIntoMetadata(ctorParam.decorators));\n            return this._zipTypesAndAnnotations(paramTypes, paramAnnotations);\n        }\n        // API for metadata created by invoking the decorators.\n        const paramAnnotations = type.hasOwnProperty(PARAMETERS) && type[PARAMETERS];\n        const paramTypes = this._reflect && this._reflect.getOwnMetadata &&\n            this._reflect.getOwnMetadata('design:paramtypes', type);\n        if (paramTypes || paramAnnotations) {\n            return this._zipTypesAndAnnotations(paramTypes, paramAnnotations);\n        }\n        // If a class has no decorators, at least create metadata\n        // based on function.length.\n        // Note: We know that this is a real constructor as we checked\n        // the content of the constructor above.\n        return newArray(type.length);\n    }\n    parameters(type) {\n        // Note: only report metadata if we have at least one class decorator\n        // to stay in sync with the static reflector.\n        if (!isType(type)) {\n            return [];\n        }\n        const parentCtor = getParentCtor(type);\n        let parameters = this._ownParameters(type, parentCtor);\n        if (!parameters && parentCtor !== Object) {\n            parameters = this.parameters(parentCtor);\n        }\n        return parameters || [];\n    }\n    _ownAnnotations(typeOrFunc, parentCtor) {\n        // Prefer the direct API.\n        if (typeOrFunc.annotations && typeOrFunc.annotations !== parentCtor.annotations) {\n            let annotations = typeOrFunc.annotations;\n            if (typeof annotations === 'function' && annotations.annotations) {\n                annotations = annotations.annotations;\n            }\n            return annotations;\n        }\n        // API of tsickle for lowering decorators to properties on the class.\n        if (typeOrFunc.decorators && typeOrFunc.decorators !== parentCtor.decorators) {\n            return convertTsickleDecoratorIntoMetadata(typeOrFunc.decorators);\n        }\n        // API for metadata created by invoking the decorators.\n        if (typeOrFunc.hasOwnProperty(ANNOTATIONS)) {\n            return typeOrFunc[ANNOTATIONS];\n        }\n        return null;\n    }\n    annotations(typeOrFunc) {\n        if (!isType(typeOrFunc)) {\n            return [];\n        }\n        const parentCtor = getParentCtor(typeOrFunc);\n        const ownAnnotations = this._ownAnnotations(typeOrFunc, parentCtor) || [];\n        const parentAnnotations = parentCtor !== Object ? this.annotations(parentCtor) : [];\n        return parentAnnotations.concat(ownAnnotations);\n    }\n    _ownPropMetadata(typeOrFunc, parentCtor) {\n        // Prefer the direct API.\n        if (typeOrFunc.propMetadata &&\n            typeOrFunc.propMetadata !== parentCtor.propMetadata) {\n            let propMetadata = typeOrFunc.propMetadata;\n            if (typeof propMetadata === 'function' && propMetadata.propMetadata) {\n                propMetadata = propMetadata.propMetadata;\n            }\n            return propMetadata;\n        }\n        // API of tsickle for lowering decorators to properties on the class.\n        if (typeOrFunc.propDecorators &&\n            typeOrFunc.propDecorators !== parentCtor.propDecorators) {\n            const propDecorators = typeOrFunc.propDecorators;\n            const propMetadata = {};\n            Object.keys(propDecorators).forEach(prop => {\n                propMetadata[prop] = convertTsickleDecoratorIntoMetadata(propDecorators[prop]);\n            });\n            return propMetadata;\n        }\n        // API for metadata created by invoking the decorators.\n        if (typeOrFunc.hasOwnProperty(PROP_METADATA)) {\n            return typeOrFunc[PROP_METADATA];\n        }\n        return null;\n    }\n    propMetadata(typeOrFunc) {\n        if (!isType(typeOrFunc)) {\n            return {};\n        }\n        const parentCtor = getParentCtor(typeOrFunc);\n        const propMetadata = {};\n        if (parentCtor !== Object) {\n            const parentPropMetadata = this.propMetadata(parentCtor);\n            Object.keys(parentPropMetadata).forEach((propName) => {\n                propMetadata[propName] = parentPropMetadata[propName];\n            });\n        }\n        const ownPropMetadata = this._ownPropMetadata(typeOrFunc, parentCtor);\n        if (ownPropMetadata) {\n            Object.keys(ownPropMetadata).forEach((propName) => {\n                const decorators = [];\n                if (propMetadata.hasOwnProperty(propName)) {\n                    decorators.push(...propMetadata[propName]);\n                }\n                decorators.push(...ownPropMetadata[propName]);\n                propMetadata[propName] = decorators;\n            });\n        }\n        return propMetadata;\n    }\n    ownPropMetadata(typeOrFunc) {\n        if (!isType(typeOrFunc)) {\n            return {};\n        }\n        return this._ownPropMetadata(typeOrFunc, getParentCtor(typeOrFunc)) || {};\n    }\n    hasLifecycleHook(type, lcProperty) {\n        return type instanceof Type && lcProperty in type.prototype;\n    }\n}\nfunction convertTsickleDecoratorIntoMetadata(decoratorInvocations) {\n    if (!decoratorInvocations) {\n        return [];\n    }\n    return decoratorInvocations.map(decoratorInvocation => {\n        const decoratorType = decoratorInvocation.type;\n        const annotationCls = decoratorType.annotationCls;\n        const annotationArgs = decoratorInvocation.args ? decoratorInvocation.args : [];\n        return new annotationCls(...annotationArgs);\n    });\n}\nfunction getParentCtor(ctor) {\n    const parentProto = ctor.prototype ? Object.getPrototypeOf(ctor.prototype) : null;\n    const parentCtor = parentProto ? parentProto.constructor : null;\n    // Note: We always use `Object` as the null value\n    // to simplify checking later on.\n    return parentCtor || Object;\n}\n\n/**\n * Inject decorator and metadata.\n *\n * @Annotation\n * @publicApi\n */\nconst Inject = attachInjectFlag(\n// Disable tslint because `DecoratorFlags` is a const enum which gets inlined.\n// tslint:disable-next-line: no-toplevel-property-access\nmakeParamDecorator('Inject', (token) => ({ token })), -1 /* DecoratorFlags.Inject */);\n/**\n * Optional decorator and metadata.\n *\n * @Annotation\n * @publicApi\n */\nconst Optional = \n// Disable tslint because `InternalInjectFlags` is a const enum which gets inlined.\n// tslint:disable-next-line: no-toplevel-property-access\nattachInjectFlag(makeParamDecorator('Optional'), 8 /* InternalInjectFlags.Optional */);\n/**\n * Self decorator and metadata.\n *\n * @Annotation\n * @publicApi\n */\nconst Self = \n// Disable tslint because `InternalInjectFlags` is a const enum which gets inlined.\n// tslint:disable-next-line: no-toplevel-property-access\nattachInjectFlag(makeParamDecorator('Self'), 2 /* InternalInjectFlags.Self */);\n/**\n * `SkipSelf` decorator and metadata.\n *\n * @Annotation\n * @publicApi\n */\nconst SkipSelf = \n// Disable tslint because `InternalInjectFlags` is a const enum which gets inlined.\n// tslint:disable-next-line: no-toplevel-property-access\nattachInjectFlag(makeParamDecorator('SkipSelf'), 4 /* InternalInjectFlags.SkipSelf */);\n/**\n * Host decorator and metadata.\n *\n * @Annotation\n * @publicApi\n */\nconst Host = \n// Disable tslint because `InternalInjectFlags` is a const enum which gets inlined.\n// tslint:disable-next-line: no-toplevel-property-access\nattachInjectFlag(makeParamDecorator('Host'), 1 /* InternalInjectFlags.Host */);\n\nlet _reflect = null;\nfunction getReflect() {\n    return (_reflect = _reflect || new ReflectionCapabilities());\n}\nfunction reflectDependencies(type) {\n    return convertDependencies(getReflect().parameters(type));\n}\nfunction convertDependencies(deps) {\n    return deps.map(dep => reflectDependency(dep));\n}\nfunction reflectDependency(dep) {\n    const meta = {\n        token: null,\n        attribute: null,\n        host: false,\n        optional: false,\n        self: false,\n        skipSelf: false,\n    };\n    if (Array.isArray(dep) && dep.length > 0) {\n        for (let j = 0; j < dep.length; j++) {\n            const param = dep[j];\n            if (param === undefined) {\n                // param may be undefined if type of dep is not set by ngtsc\n                continue;\n            }\n            const proto = Object.getPrototypeOf(param);\n            if (param instanceof Optional || proto.ngMetadataName === 'Optional') {\n                meta.optional = true;\n            }\n            else if (param instanceof SkipSelf || proto.ngMetadataName === 'SkipSelf') {\n                meta.skipSelf = true;\n            }\n            else if (param instanceof Self || proto.ngMetadataName === 'Self') {\n                meta.self = true;\n            }\n            else if (param instanceof Host || proto.ngMetadataName === 'Host') {\n                meta.host = true;\n            }\n            else if (param instanceof Inject) {\n                meta.token = param.token;\n            }\n            else if (param instanceof Attribute) {\n                if (param.attributeName === undefined) {\n                    throw new RuntimeError(204 /* RuntimeErrorCode.INVALID_INJECTION_TOKEN */, ngDevMode && `Attribute name must be defined.`);\n                }\n                meta.attribute = param.attributeName;\n            }\n            else {\n                meta.token = param;\n            }\n        }\n    }\n    else if (dep === undefined || (Array.isArray(dep) && dep.length === 0)) {\n        meta.token = null;\n    }\n    else {\n        meta.token = dep;\n    }\n    return meta;\n}\n\n/**\n * Used to resolve resource URLs on `@Component` when used with JIT compilation.\n *\n * Example:\n * ```\n * @Component({\n *   selector: 'my-comp',\n *   templateUrl: 'my-comp.html', // This requires asynchronous resolution\n * })\n * class MyComponent{\n * }\n *\n * // Calling `renderComponent` will fail because `renderComponent` is a synchronous process\n * // and `MyComponent`'s `@Component.templateUrl` needs to be resolved asynchronously.\n *\n * // Calling `resolveComponentResources()` will resolve `@Component.templateUrl` into\n * // `@Component.template`, which allows `renderComponent` to proceed in a synchronous manner.\n *\n * // Use browser's `fetch()` function as the default resource resolution strategy.\n * resolveComponentResources(fetch).then(() => {\n *   // After resolution all URLs have been converted into `template` strings.\n *   renderComponent(MyComponent);\n * });\n *\n * ```\n *\n * NOTE: In AOT the resolution happens during compilation, and so there should be no need\n * to call this method outside JIT mode.\n *\n * @param resourceResolver a function which is responsible for returning a `Promise` to the\n * contents of the resolved URL. Browser's `fetch()` method is a good default implementation.\n */\nfunction resolveComponentResources(resourceResolver) {\n    // Store all promises which are fetching the resources.\n    const componentResolved = [];\n    // Cache so that we don't fetch the same resource more than once.\n    const urlMap = new Map();\n    function cachedResourceResolve(url) {\n        let promise = urlMap.get(url);\n        if (!promise) {\n            const resp = resourceResolver(url);\n            urlMap.set(url, promise = resp.then(unwrapResponse));\n        }\n        return promise;\n    }\n    componentResourceResolutionQueue.forEach((component, type) => {\n        const promises = [];\n        if (component.templateUrl) {\n            promises.push(cachedResourceResolve(component.templateUrl).then((template) => {\n                component.template = template;\n            }));\n        }\n        const styleUrls = component.styleUrls;\n        const styles = component.styles || (component.styles = []);\n        const styleOffset = component.styles.length;\n        styleUrls && styleUrls.forEach((styleUrl, index) => {\n            styles.push(''); // pre-allocate array.\n            promises.push(cachedResourceResolve(styleUrl).then((style) => {\n                styles[styleOffset + index] = style;\n                styleUrls.splice(styleUrls.indexOf(styleUrl), 1);\n                if (styleUrls.length == 0) {\n                    component.styleUrls = undefined;\n                }\n            }));\n        });\n        const fullyResolved = Promise.all(promises).then(() => componentDefResolved(type));\n        componentResolved.push(fullyResolved);\n    });\n    clearResolutionOfComponentResourcesQueue();\n    return Promise.all(componentResolved).then(() => undefined);\n}\nlet componentResourceResolutionQueue = new Map();\n// Track when existing ɵcmp for a Type is waiting on resources.\nconst componentDefPendingResolution = new Set();\nfunction maybeQueueResolutionOfComponentResources(type, metadata) {\n    if (componentNeedsResolution(metadata)) {\n        componentResourceResolutionQueue.set(type, metadata);\n        componentDefPendingResolution.add(type);\n    }\n}\nfunction isComponentDefPendingResolution(type) {\n    return componentDefPendingResolution.has(type);\n}\nfunction componentNeedsResolution(component) {\n    return !!((component.templateUrl && !component.hasOwnProperty('template')) ||\n        component.styleUrls && component.styleUrls.length);\n}\nfunction clearResolutionOfComponentResourcesQueue() {\n    const old = componentResourceResolutionQueue;\n    componentResourceResolutionQueue = new Map();\n    return old;\n}\nfunction restoreComponentResolutionQueue(queue) {\n    componentDefPendingResolution.clear();\n    queue.forEach((_, type) => componentDefPendingResolution.add(type));\n    componentResourceResolutionQueue = queue;\n}\nfunction isComponentResourceResolutionQueueEmpty() {\n    return componentResourceResolutionQueue.size === 0;\n}\nfunction unwrapResponse(response) {\n    return typeof response == 'string' ? response : response.text();\n}\nfunction componentDefResolved(type) {\n    componentDefPendingResolution.delete(type);\n}\n\n/**\n * Map of module-id to the corresponding NgModule.\n */\nconst modules = new Map();\n/**\n * Whether to check for duplicate NgModule registrations.\n *\n * This can be disabled for testing.\n */\nlet checkForDuplicateNgModules = true;\nfunction assertSameOrNotExisting(id, type, incoming) {\n    if (type && type !== incoming && checkForDuplicateNgModules) {\n        throw new Error(`Duplicate module registered for ${id} - ${stringify(type)} vs ${stringify(type.name)}`);\n    }\n}\n/**\n * Adds the given NgModule type to Angular's NgModule registry.\n *\n * This is generated as a side-effect of NgModule compilation. Note that the `id` is passed in\n * explicitly and not read from the NgModule definition. This is for two reasons: it avoids a\n * megamorphic read, and in JIT there's a chicken-and-egg problem where the NgModule may not be\n * fully resolved when it's registered.\n *\n * @codeGenApi\n */\nfunction registerNgModuleType(ngModuleType, id) {\n    const existing = modules.get(id) || null;\n    assertSameOrNotExisting(id, existing, ngModuleType);\n    modules.set(id, ngModuleType);\n}\nfunction clearModulesForTest() {\n    modules.clear();\n}\nfunction getRegisteredNgModuleType(id) {\n    return modules.get(id);\n}\n/**\n * Control whether the NgModule registration system enforces that each NgModule type registered has\n * a unique id.\n *\n * This is useful for testing as the NgModule registry cannot be properly reset between tests with\n * Angular's current API.\n */\nfunction setAllowDuplicateNgModuleIdsForTest(allowDuplicates) {\n    checkForDuplicateNgModules = !allowDuplicates;\n}\n\n/**\n * Defines a schema that allows an NgModule to contain the following:\n * - Non-Angular elements named with dash case (`-`).\n * - Element properties named with dash case (`-`).\n * Dash case is the naming convention for custom elements.\n *\n * @publicApi\n */\nconst CUSTOM_ELEMENTS_SCHEMA = {\n    name: 'custom-elements'\n};\n/**\n * Defines a schema that allows any property on any element.\n *\n * This schema allows you to ignore the errors related to any unknown elements or properties in a\n * template. The usage of this schema is generally discouraged because it prevents useful validation\n * and may hide real errors in your template. Consider using the `CUSTOM_ELEMENTS_SCHEMA` instead.\n *\n * @publicApi\n */\nconst NO_ERRORS_SCHEMA = {\n    name: 'no-errors-schema'\n};\n\nlet shouldThrowErrorOnUnknownElement = false;\n/**\n * Sets a strict mode for JIT-compiled components to throw an error on unknown elements,\n * instead of just logging the error.\n * (for AOT-compiled ones this check happens at build time).\n */\nfunction ɵsetUnknownElementStrictMode(shouldThrow) {\n    shouldThrowErrorOnUnknownElement = shouldThrow;\n}\n/**\n * Gets the current value of the strict mode.\n */\nfunction ɵgetUnknownElementStrictMode() {\n    return shouldThrowErrorOnUnknownElement;\n}\nlet shouldThrowErrorOnUnknownProperty = false;\n/**\n * Sets a strict mode for JIT-compiled components to throw an error on unknown properties,\n * instead of just logging the error.\n * (for AOT-compiled ones this check happens at build time).\n */\nfunction ɵsetUnknownPropertyStrictMode(shouldThrow) {\n    shouldThrowErrorOnUnknownProperty = shouldThrow;\n}\n/**\n * Gets the current value of the strict mode.\n */\nfunction ɵgetUnknownPropertyStrictMode() {\n    return shouldThrowErrorOnUnknownProperty;\n}\n/**\n * Validates that the element is known at runtime and produces\n * an error if it's not the case.\n * This check is relevant for JIT-compiled components (for AOT-compiled\n * ones this check happens at build time).\n *\n * The element is considered known if either:\n * - it's a known HTML element\n * - it's a known custom element\n * - the element matches any directive\n * - the element is allowed by one of the schemas\n *\n * @param element Element to validate\n * @param lView An `LView` that represents a current component that is being rendered\n * @param tagName Name of the tag to check\n * @param schemas Array of schemas\n * @param hasDirectives Boolean indicating that the element matches any directive\n */\nfunction validateElementIsKnown(element, lView, tagName, schemas, hasDirectives) {\n    // If `schemas` is set to `null`, that's an indication that this Component was compiled in AOT\n    // mode where this check happens at compile time. In JIT mode, `schemas` is always present and\n    // defined as an array (as an empty array in case `schemas` field is not defined) and we should\n    // execute the check below.\n    if (schemas === null)\n        return;\n    // If the element matches any directive, it's considered as valid.\n    if (!hasDirectives && tagName !== null) {\n        // The element is unknown if it's an instance of HTMLUnknownElement, or it isn't registered\n        // as a custom element. Note that unknown elements with a dash in their name won't be instances\n        // of HTMLUnknownElement in browsers that support web components.\n        const isUnknown = \n        // Note that we can't check for `typeof HTMLUnknownElement === 'function'` because\n        // Domino doesn't expose HTMLUnknownElement globally.\n        (typeof HTMLUnknownElement !== 'undefined' && HTMLUnknownElement &&\n            element instanceof HTMLUnknownElement) ||\n            (typeof customElements !== 'undefined' && tagName.indexOf('-') > -1 &&\n                !customElements.get(tagName));\n        if (isUnknown && !matchingSchemas(schemas, tagName)) {\n            const isHostStandalone = isHostComponentStandalone(lView);\n            const templateLocation = getTemplateLocationDetails(lView);\n            const schemas = `'${isHostStandalone ? '@Component' : '@NgModule'}.schemas'`;\n            let message = `'${tagName}' is not a known element${templateLocation}:\\n`;\n            message += `1. If '${tagName}' is an Angular component, then verify that it is ${isHostStandalone ? 'included in the \\'@Component.imports\\' of this component' :\n                'a part of an @NgModule where this component is declared'}.\\n`;\n            if (tagName && tagName.indexOf('-') > -1) {\n                message +=\n                    `2. If '${tagName}' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the ${schemas} of this component to suppress this message.`;\n            }\n            else {\n                message +=\n                    `2. To allow any element add 'NO_ERRORS_SCHEMA' to the ${schemas} of this component.`;\n            }\n            if (shouldThrowErrorOnUnknownElement) {\n                throw new RuntimeError(304 /* RuntimeErrorCode.UNKNOWN_ELEMENT */, message);\n            }\n            else {\n                console.error(formatRuntimeError(304 /* RuntimeErrorCode.UNKNOWN_ELEMENT */, message));\n            }\n        }\n    }\n}\n/**\n * Validates that the property of the element is known at runtime and returns\n * false if it's not the case.\n * This check is relevant for JIT-compiled components (for AOT-compiled\n * ones this check happens at build time).\n *\n * The property is considered known if either:\n * - it's a known property of the element\n * - the element is allowed by one of the schemas\n * - the property is used for animations\n *\n * @param element Element to validate\n * @param propName Name of the property to check\n * @param tagName Name of the tag hosting the property\n * @param schemas Array of schemas\n */\nfunction isPropertyValid(element, propName, tagName, schemas) {\n    // If `schemas` is set to `null`, that's an indication that this Component was compiled in AOT\n    // mode where this check happens at compile time. In JIT mode, `schemas` is always present and\n    // defined as an array (as an empty array in case `schemas` field is not defined) and we should\n    // execute the check below.\n    if (schemas === null)\n        return true;\n    // The property is considered valid if the element matches the schema, it exists on the element,\n    // or it is synthetic, and we are in a browser context (web worker nodes should be skipped).\n    if (matchingSchemas(schemas, tagName) || propName in element || isAnimationProp(propName)) {\n        return true;\n    }\n    // Note: `typeof Node` returns 'function' in most browsers, but is undefined with domino.\n    return typeof Node === 'undefined' || Node === null || !(element instanceof Node);\n}\n/**\n * Logs or throws an error that a property is not supported on an element.\n *\n * @param propName Name of the invalid property\n * @param tagName Name of the tag hosting the property\n * @param nodeType Type of the node hosting the property\n * @param lView An `LView` that represents a current component\n */\nfunction handleUnknownPropertyError(propName, tagName, nodeType, lView) {\n    // Special-case a situation when a structural directive is applied to\n    // an `<ng-template>` element, for example: `<ng-template *ngIf=\"true\">`.\n    // In this case the compiler generates the `ɵɵtemplate` instruction with\n    // the `null` as the tagName. The directive matching logic at runtime relies\n    // on this effect (see `isInlineTemplate`), thus using the 'ng-template' as\n    // a default value of the `tNode.value` is not feasible at this moment.\n    if (!tagName && nodeType === 4 /* TNodeType.Container */) {\n        tagName = 'ng-template';\n    }\n    const isHostStandalone = isHostComponentStandalone(lView);\n    const templateLocation = getTemplateLocationDetails(lView);\n    let message = `Can't bind to '${propName}' since it isn't a known property of '${tagName}'${templateLocation}.`;\n    const schemas = `'${isHostStandalone ? '@Component' : '@NgModule'}.schemas'`;\n    const importLocation = isHostStandalone ?\n        'included in the \\'@Component.imports\\' of this component' :\n        'a part of an @NgModule where this component is declared';\n    if (KNOWN_CONTROL_FLOW_DIRECTIVES.has(propName)) {\n        // Most likely this is a control flow directive (such as `*ngIf`) used in\n        // a template, but the directive or the `CommonModule` is not imported.\n        const correspondingImport = KNOWN_CONTROL_FLOW_DIRECTIVES.get(propName);\n        message += `\\nIf the '${propName}' is an Angular control flow directive, ` +\n            `please make sure that either the '${correspondingImport}' directive or the 'CommonModule' is ${importLocation}.`;\n    }\n    else {\n        // May be an Angular component, which is not imported/declared?\n        message += `\\n1. If '${tagName}' is an Angular component and it has the ` +\n            `'${propName}' input, then verify that it is ${importLocation}.`;\n        // May be a Web Component?\n        if (tagName && tagName.indexOf('-') > -1) {\n            message += `\\n2. If '${tagName}' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' ` +\n                `to the ${schemas} of this component to suppress this message.`;\n            message += `\\n3. To allow any property add 'NO_ERRORS_SCHEMA' to ` +\n                `the ${schemas} of this component.`;\n        }\n        else {\n            // If it's expected, the error can be suppressed by the `NO_ERRORS_SCHEMA` schema.\n            message += `\\n2. To allow any property add 'NO_ERRORS_SCHEMA' to ` +\n                `the ${schemas} of this component.`;\n        }\n    }\n    reportUnknownPropertyError(message);\n}\nfunction reportUnknownPropertyError(message) {\n    if (shouldThrowErrorOnUnknownProperty) {\n        throw new RuntimeError(303 /* RuntimeErrorCode.UNKNOWN_BINDING */, message);\n    }\n    else {\n        console.error(formatRuntimeError(303 /* RuntimeErrorCode.UNKNOWN_BINDING */, message));\n    }\n}\n/**\n * WARNING: this is a **dev-mode only** function (thus should always be guarded by the `ngDevMode`)\n * and must **not** be used in production bundles. The function makes megamorphic reads, which might\n * be too slow for production mode and also it relies on the constructor function being available.\n *\n * Gets a reference to the host component def (where a current component is declared).\n *\n * @param lView An `LView` that represents a current component that is being rendered.\n */\nfunction getDeclarationComponentDef(lView) {\n    !ngDevMode && throwError('Must never be called in production mode');\n    const declarationLView = lView[DECLARATION_COMPONENT_VIEW];\n    const context = declarationLView[CONTEXT];\n    // Unable to obtain a context.\n    if (!context)\n        return null;\n    return context.constructor ? getComponentDef(context.constructor) : null;\n}\n/**\n * WARNING: this is a **dev-mode only** function (thus should always be guarded by the `ngDevMode`)\n * and must **not** be used in production bundles. The function makes megamorphic reads, which might\n * be too slow for production mode.\n *\n * Checks if the current component is declared inside of a standalone component template.\n *\n * @param lView An `LView` that represents a current component that is being rendered.\n */\nfunction isHostComponentStandalone(lView) {\n    !ngDevMode && throwError('Must never be called in production mode');\n    const componentDef = getDeclarationComponentDef(lView);\n    // Treat host component as non-standalone if we can't obtain the def.\n    return !!componentDef?.standalone;\n}\n/**\n * WARNING: this is a **dev-mode only** function (thus should always be guarded by the `ngDevMode`)\n * and must **not** be used in production bundles. The function makes megamorphic reads, which might\n * be too slow for production mode.\n *\n * Constructs a string describing the location of the host component template. The function is used\n * in dev mode to produce error messages.\n *\n * @param lView An `LView` that represents a current component that is being rendered.\n */\nfunction getTemplateLocationDetails(lView) {\n    !ngDevMode && throwError('Must never be called in production mode');\n    const hostComponentDef = getDeclarationComponentDef(lView);\n    const componentClassName = hostComponentDef?.type?.name;\n    return componentClassName ? ` (used in the '${componentClassName}' component template)` : '';\n}\n/**\n * The set of known control flow directives and their corresponding imports.\n * We use this set to produce a more precises error message with a note\n * that the `CommonModule` should also be included.\n */\nconst KNOWN_CONTROL_FLOW_DIRECTIVES = new Map([\n    ['ngIf', 'NgIf'], ['ngFor', 'NgFor'], ['ngSwitchCase', 'NgSwitchCase'],\n    ['ngSwitchDefault', 'NgSwitchDefault']\n]);\n/**\n * Returns true if the tag name is allowed by specified schemas.\n * @param schemas Array of schemas\n * @param tagName Name of the tag\n */\nfunction matchingSchemas(schemas, tagName) {\n    if (schemas !== null) {\n        for (let i = 0; i < schemas.length; i++) {\n            const schema = schemas[i];\n            if (schema === NO_ERRORS_SCHEMA ||\n                schema === CUSTOM_ELEMENTS_SCHEMA && tagName && tagName.indexOf('-') > -1) {\n                return true;\n            }\n        }\n    }\n    return false;\n}\n\n/**\n * Flags for renderer-specific style modifiers.\n * @publicApi\n */\nvar RendererStyleFlags2;\n(function (RendererStyleFlags2) {\n    // TODO(misko): This needs to be refactored into a separate file so that it can be imported from\n    // `node_manipulation.ts` Currently doing the import cause resolution order to change and fails\n    // the tests. The work around is to have hard coded value in `node_manipulation.ts` for now.\n    /**\n     * Marks a style as important.\n     */\n    RendererStyleFlags2[RendererStyleFlags2[\"Important\"] = 1] = \"Important\";\n    /**\n     * Marks a style as using dash case naming (this-is-dash-case).\n     */\n    RendererStyleFlags2[RendererStyleFlags2[\"DashCase\"] = 2] = \"DashCase\";\n})(RendererStyleFlags2 || (RendererStyleFlags2 = {}));\n\n/**\n * Disallowed strings in the comment.\n *\n * see: https://html.spec.whatwg.org/multipage/syntax.html#comments\n */\nconst COMMENT_DISALLOWED = /^>|^->|<!--|-->|--!>|<!-$/g;\n/**\n * Delimiter in the disallowed strings which needs to be wrapped with zero with character.\n */\nconst COMMENT_DELIMITER = /(<|>)/;\nconst COMMENT_DELIMITER_ESCAPED = '\\u200B$1\\u200B';\n/**\n * Escape the content of comment strings so that it can be safely inserted into a comment node.\n *\n * The issue is that HTML does not specify any way to escape comment end text inside the comment.\n * Consider: `<!-- The way you close a comment is with \">\", and \"->\" at the beginning or by \"-->\" or\n * \"--!>\" at the end. -->`. Above the `\"-->\"` is meant to be text not an end to the comment. This\n * can be created programmatically through DOM APIs. (`<!--` are also disallowed.)\n *\n * see: https://html.spec.whatwg.org/multipage/syntax.html#comments\n *\n * ```\n * div.innerHTML = div.innerHTML\n * ```\n *\n * One would expect that the above code would be safe to do, but it turns out that because comment\n * text is not escaped, the comment may contain text which will prematurely close the comment\n * opening up the application for XSS attack. (In SSR we programmatically create comment nodes which\n * may contain such text and expect them to be safe.)\n *\n * This function escapes the comment text by looking for comment delimiters (`<` and `>`) and\n * surrounding them with `_>_` where the `_` is a zero width space `\\u200B`. The result is that if a\n * comment contains any of the comment start/end delimiters (such as `<!--`, `-->` or `--!>`) the\n * text it will render normally but it will not cause the HTML parser to close/open the comment.\n *\n * @param value text to make safe for comment node by escaping the comment open/close character\n *     sequence.\n */\nfunction escapeCommentText(value) {\n    return value.replace(COMMENT_DISALLOWED, (text) => text.replace(COMMENT_DELIMITER, COMMENT_DELIMITER_ESCAPED));\n}\n\n// Keeps track of the currently-active LViews.\nconst TRACKED_LVIEWS = new Map();\n// Used for generating unique IDs for LViews.\nlet uniqueIdCounter = 0;\n/** Gets a unique ID that can be assigned to an LView. */\nfunction getUniqueLViewId() {\n    return uniqueIdCounter++;\n}\n/** Starts tracking an LView. */\nfunction registerLView(lView) {\n    ngDevMode && assertNumber(lView[ID], 'LView must have an ID in order to be registered');\n    TRACKED_LVIEWS.set(lView[ID], lView);\n}\n/** Gets an LView by its unique ID. */\nfunction getLViewById(id) {\n    ngDevMode && assertNumber(id, 'ID used for LView lookup must be a number');\n    return TRACKED_LVIEWS.get(id) || null;\n}\n/** Stops tracking an LView. */\nfunction unregisterLView(lView) {\n    ngDevMode && assertNumber(lView[ID], 'Cannot stop tracking an LView that does not have an ID');\n    TRACKED_LVIEWS.delete(lView[ID]);\n}\n\n/**\n * The internal view context which is specific to a given DOM element, directive or\n * component instance. Each value in here (besides the LView and element node details)\n * can be present, null or undefined. If undefined then it implies the value has not been\n * looked up yet, otherwise, if null, then a lookup was executed and nothing was found.\n *\n * Each value will get filled when the respective value is examined within the getContext\n * function. The component, element and each directive instance will share the same instance\n * of the context.\n */\nclass LContext {\n    /** Component's parent view data. */\n    get lView() {\n        return getLViewById(this.lViewId);\n    }\n    constructor(\n    /**\n     * ID of the component's parent view data.\n     */\n    lViewId, \n    /**\n     * The index instance of the node.\n     */\n    nodeIndex, \n    /**\n     * The instance of the DOM node that is attached to the lNode.\n     */\n    native) {\n        this.lViewId = lViewId;\n        this.nodeIndex = nodeIndex;\n        this.native = native;\n    }\n}\n\n/**\n * Returns the matching `LContext` data for a given DOM node, directive or component instance.\n *\n * This function will examine the provided DOM element, component, or directive instance\\'s\n * monkey-patched property to derive the `LContext` data. Once called then the monkey-patched\n * value will be that of the newly created `LContext`.\n *\n * If the monkey-patched value is the `LView` instance then the context value for that\n * target will be created and the monkey-patch reference will be updated. Therefore when this\n * function is called it may mutate the provided element\\'s, component\\'s or any of the associated\n * directive\\'s monkey-patch values.\n *\n * If the monkey-patch value is not detected then the code will walk up the DOM until an element\n * is found which contains a monkey-patch reference. When that occurs then the provided element\n * will be updated with a new context (which is then returned). If the monkey-patch value is not\n * detected for a component/directive instance then it will throw an error (all components and\n * directives should be automatically monkey-patched by ivy).\n *\n * @param target Component, Directive or DOM Node.\n */\nfunction getLContext(target) {\n    let mpValue = readPatchedData(target);\n    if (mpValue) {\n        // only when it's an array is it considered an LView instance\n        // ... otherwise it's an already constructed LContext instance\n        if (isLView(mpValue)) {\n            const lView = mpValue;\n            let nodeIndex;\n            let component = undefined;\n            let directives = undefined;\n            if (isComponentInstance(target)) {\n                nodeIndex = findViaComponent(lView, target);\n                if (nodeIndex == -1) {\n                    throw new Error('The provided component was not found in the application');\n                }\n                component = target;\n            }\n            else if (isDirectiveInstance(target)) {\n                nodeIndex = findViaDirective(lView, target);\n                if (nodeIndex == -1) {\n                    throw new Error('The provided directive was not found in the application');\n                }\n                directives = getDirectivesAtNodeIndex(nodeIndex, lView);\n            }\n            else {\n                nodeIndex = findViaNativeElement(lView, target);\n                if (nodeIndex == -1) {\n                    return null;\n                }\n            }\n            // the goal is not to fill the entire context full of data because the lookups\n            // are expensive. Instead, only the target data (the element, component, container, ICU\n            // expression or directive details) are filled into the context. If called multiple times\n            // with different target values then the missing target data will be filled in.\n            const native = unwrapRNode(lView[nodeIndex]);\n            const existingCtx = readPatchedData(native);\n            const context = (existingCtx && !Array.isArray(existingCtx)) ?\n                existingCtx :\n                createLContext(lView, nodeIndex, native);\n            // only when the component has been discovered then update the monkey-patch\n            if (component && context.component === undefined) {\n                context.component = component;\n                attachPatchData(context.component, context);\n            }\n            // only when the directives have been discovered then update the monkey-patch\n            if (directives && context.directives === undefined) {\n                context.directives = directives;\n                for (let i = 0; i < directives.length; i++) {\n                    attachPatchData(directives[i], context);\n                }\n            }\n            attachPatchData(context.native, context);\n            mpValue = context;\n        }\n    }\n    else {\n        const rElement = target;\n        ngDevMode && assertDomNode(rElement);\n        // if the context is not found then we need to traverse upwards up the DOM\n        // to find the nearest element that has already been monkey patched with data\n        let parent = rElement;\n        while (parent = parent.parentNode) {\n            const parentContext = readPatchedData(parent);\n            if (parentContext) {\n                const lView = Array.isArray(parentContext) ? parentContext : parentContext.lView;\n                // the edge of the app was also reached here through another means\n                // (maybe because the DOM was changed manually).\n                if (!lView) {\n                    return null;\n                }\n                const index = findViaNativeElement(lView, rElement);\n                if (index >= 0) {\n                    const native = unwrapRNode(lView[index]);\n                    const context = createLContext(lView, index, native);\n                    attachPatchData(native, context);\n                    mpValue = context;\n                    break;\n                }\n            }\n        }\n    }\n    return mpValue || null;\n}\n/**\n * Creates an empty instance of a `LContext` context\n */\nfunction createLContext(lView, nodeIndex, native) {\n    return new LContext(lView[ID], nodeIndex, native);\n}\n/**\n * Takes a component instance and returns the view for that component.\n *\n * @param componentInstance\n * @returns The component's view\n */\nfunction getComponentViewByInstance(componentInstance) {\n    let patchedData = readPatchedData(componentInstance);\n    let lView;\n    if (isLView(patchedData)) {\n        const contextLView = patchedData;\n        const nodeIndex = findViaComponent(contextLView, componentInstance);\n        lView = getComponentLViewByIndex(nodeIndex, contextLView);\n        const context = createLContext(contextLView, nodeIndex, lView[HOST]);\n        context.component = componentInstance;\n        attachPatchData(componentInstance, context);\n        attachPatchData(context.native, context);\n    }\n    else {\n        const context = patchedData;\n        const contextLView = context.lView;\n        ngDevMode && assertLView(contextLView);\n        lView = getComponentLViewByIndex(context.nodeIndex, contextLView);\n    }\n    return lView;\n}\n/**\n * This property will be monkey-patched on elements, components and directives.\n */\nconst MONKEY_PATCH_KEY_NAME = '__ngContext__';\n/**\n * Assigns the given data to the given target (which could be a component,\n * directive or DOM node instance) using monkey-patching.\n */\nfunction attachPatchData(target, data) {\n    ngDevMode && assertDefined(target, 'Target expected');\n    // Only attach the ID of the view in order to avoid memory leaks (see #41047). We only do this\n    // for `LView`, because we have control over when an `LView` is created and destroyed, whereas\n    // we can't know when to remove an `LContext`.\n    if (isLView(data)) {\n        target[MONKEY_PATCH_KEY_NAME] = data[ID];\n        registerLView(data);\n    }\n    else {\n        target[MONKEY_PATCH_KEY_NAME] = data;\n    }\n}\n/**\n * Returns the monkey-patch value data present on the target (which could be\n * a component, directive or a DOM node).\n */\nfunction readPatchedData(target) {\n    ngDevMode && assertDefined(target, 'Target expected');\n    const data = target[MONKEY_PATCH_KEY_NAME];\n    return (typeof data === 'number') ? getLViewById(data) : data || null;\n}\nfunction readPatchedLView(target) {\n    const value = readPatchedData(target);\n    if (value) {\n        return (isLView(value) ? value : value.lView);\n    }\n    return null;\n}\nfunction isComponentInstance(instance) {\n    return instance && instance.constructor && instance.constructor.ɵcmp;\n}\nfunction isDirectiveInstance(instance) {\n    return instance && instance.constructor && instance.constructor.ɵdir;\n}\n/**\n * Locates the element within the given LView and returns the matching index\n */\nfunction findViaNativeElement(lView, target) {\n    const tView = lView[TVIEW];\n    for (let i = HEADER_OFFSET; i < tView.bindingStartIndex; i++) {\n        if (unwrapRNode(lView[i]) === target) {\n            return i;\n        }\n    }\n    return -1;\n}\n/**\n * Locates the next tNode (child, sibling or parent).\n */\nfunction traverseNextElement(tNode) {\n    if (tNode.child) {\n        return tNode.child;\n    }\n    else if (tNode.next) {\n        return tNode.next;\n    }\n    else {\n        // Let's take the following template: <div><span>text</span></div><component/>\n        // After checking the text node, we need to find the next parent that has a \"next\" TNode,\n        // in this case the parent `div`, so that we can find the component.\n        while (tNode.parent && !tNode.parent.next) {\n            tNode = tNode.parent;\n        }\n        return tNode.parent && tNode.parent.next;\n    }\n}\n/**\n * Locates the component within the given LView and returns the matching index\n */\nfunction findViaComponent(lView, componentInstance) {\n    const componentIndices = lView[TVIEW].components;\n    if (componentIndices) {\n        for (let i = 0; i < componentIndices.length; i++) {\n            const elementComponentIndex = componentIndices[i];\n            const componentView = getComponentLViewByIndex(elementComponentIndex, lView);\n            if (componentView[CONTEXT] === componentInstance) {\n                return elementComponentIndex;\n            }\n        }\n    }\n    else {\n        const rootComponentView = getComponentLViewByIndex(HEADER_OFFSET, lView);\n        const rootComponent = rootComponentView[CONTEXT];\n        if (rootComponent === componentInstance) {\n            // we are dealing with the root element here therefore we know that the\n            // element is the very first element after the HEADER data in the lView\n            return HEADER_OFFSET;\n        }\n    }\n    return -1;\n}\n/**\n * Locates the directive within the given LView and returns the matching index\n */\nfunction findViaDirective(lView, directiveInstance) {\n    // if a directive is monkey patched then it will (by default)\n    // have a reference to the LView of the current view. The\n    // element bound to the directive being search lives somewhere\n    // in the view data. We loop through the nodes and check their\n    // list of directives for the instance.\n    let tNode = lView[TVIEW].firstChild;\n    while (tNode) {\n        const directiveIndexStart = tNode.directiveStart;\n        const directiveIndexEnd = tNode.directiveEnd;\n        for (let i = directiveIndexStart; i < directiveIndexEnd; i++) {\n            if (lView[i] === directiveInstance) {\n                return tNode.index;\n            }\n        }\n        tNode = traverseNextElement(tNode);\n    }\n    return -1;\n}\n/**\n * Returns a list of directives applied to a node at a specific index. The list includes\n * directives matched by selector and any host directives, but it excludes components.\n * Use `getComponentAtNodeIndex` to find the component applied to a node.\n *\n * @param nodeIndex The node index\n * @param lView The target view data\n */\nfunction getDirectivesAtNodeIndex(nodeIndex, lView) {\n    const tNode = lView[TVIEW].data[nodeIndex];\n    if (tNode.directiveStart === 0)\n        return EMPTY_ARRAY;\n    const results = [];\n    for (let i = tNode.directiveStart; i < tNode.directiveEnd; i++) {\n        const directiveInstance = lView[i];\n        if (!isComponentInstance(directiveInstance)) {\n            results.push(directiveInstance);\n        }\n    }\n    return results;\n}\nfunction getComponentAtNodeIndex(nodeIndex, lView) {\n    const tNode = lView[TVIEW].data[nodeIndex];\n    const { directiveStart, componentOffset } = tNode;\n    return componentOffset > -1 ? lView[directiveStart + componentOffset] : null;\n}\n/**\n * Returns a map of local references (local reference name => element or directive instance) that\n * exist on a given element.\n */\nfunction discoverLocalRefs(lView, nodeIndex) {\n    const tNode = lView[TVIEW].data[nodeIndex];\n    if (tNode && tNode.localNames) {\n        const result = {};\n        let localIndex = tNode.index + 1;\n        for (let i = 0; i < tNode.localNames.length; i += 2) {\n            result[tNode.localNames[i]] = lView[localIndex];\n            localIndex++;\n        }\n        return result;\n    }\n    return null;\n}\n\nlet _icuContainerIterate;\n/**\n * Iterator which provides ability to visit all of the `TIcuContainerNode` root `RNode`s.\n */\nfunction icuContainerIterate(tIcuContainerNode, lView) {\n    return _icuContainerIterate(tIcuContainerNode, lView);\n}\n/**\n * Ensures that `IcuContainerVisitor`'s implementation is present.\n *\n * This function is invoked when i18n instruction comes across an ICU. The purpose is to allow the\n * bundler to tree shake ICU logic and only load it if ICU instruction is executed.\n */\nfunction ensureIcuContainerVisitorLoaded(loader) {\n    if (_icuContainerIterate === undefined) {\n        // Do not inline this function. We want to keep `ensureIcuContainerVisitorLoaded` light, so it\n        // can be inlined into call-site.\n        _icuContainerIterate = loader();\n    }\n}\n\n/**\n * Gets the parent LView of the passed LView, if the PARENT is an LContainer, will get the parent of\n * that LContainer, which is an LView\n * @param lView the lView whose parent to get\n */\nfunction getLViewParent(lView) {\n    ngDevMode && assertLView(lView);\n    const parent = lView[PARENT];\n    return isLContainer(parent) ? parent[PARENT] : parent;\n}\n/**\n * Retrieve the root view from any component or `LView` by walking the parent `LView` until\n * reaching the root `LView`.\n *\n * @param componentOrLView any component or `LView`\n */\nfunction getRootView(componentOrLView) {\n    ngDevMode && assertDefined(componentOrLView, 'component');\n    let lView = isLView(componentOrLView) ? componentOrLView : readPatchedLView(componentOrLView);\n    while (lView && !(lView[FLAGS] & 256 /* LViewFlags.IsRoot */)) {\n        lView = getLViewParent(lView);\n    }\n    ngDevMode && assertLView(lView);\n    return lView;\n}\n/**\n * Returns the context information associated with the application where the target is situated. It\n * does this by walking the parent views until it gets to the root view, then getting the context\n * off of that.\n *\n * @param viewOrComponent the `LView` or component to get the root context for.\n */\nfunction getRootContext(viewOrComponent) {\n    const rootView = getRootView(viewOrComponent);\n    ngDevMode &&\n        assertDefined(rootView[CONTEXT], 'Root view has no context. Perhaps it is disconnected?');\n    return rootView[CONTEXT];\n}\n/**\n * Gets the first `LContainer` in the LView or `null` if none exists.\n */\nfunction getFirstLContainer(lView) {\n    return getNearestLContainer(lView[CHILD_HEAD]);\n}\n/**\n * Gets the next `LContainer` that is a sibling of the given container.\n */\nfunction getNextLContainer(container) {\n    return getNearestLContainer(container[NEXT]);\n}\nfunction getNearestLContainer(viewOrContainer) {\n    while (viewOrContainer !== null && !isLContainer(viewOrContainer)) {\n        viewOrContainer = viewOrContainer[NEXT];\n    }\n    return viewOrContainer;\n}\n\n/**\n * NOTE: for performance reasons, the possible actions are inlined within the function instead of\n * being passed as an argument.\n */\nfunction applyToElementOrContainer(action, renderer, parent, lNodeToHandle, beforeNode) {\n    // If this slot was allocated for a text node dynamically created by i18n, the text node itself\n    // won't be created until i18nApply() in the update block, so this node should be skipped.\n    // For more info, see \"ICU expressions should work inside an ngTemplateOutlet inside an ngFor\"\n    // in `i18n_spec.ts`.\n    if (lNodeToHandle != null) {\n        let lContainer;\n        let isComponent = false;\n        // We are expecting an RNode, but in the case of a component or LContainer the `RNode` is\n        // wrapped in an array which needs to be unwrapped. We need to know if it is a component and if\n        // it has LContainer so that we can process all of those cases appropriately.\n        if (isLContainer(lNodeToHandle)) {\n            lContainer = lNodeToHandle;\n        }\n        else if (isLView(lNodeToHandle)) {\n            isComponent = true;\n            ngDevMode && assertDefined(lNodeToHandle[HOST], 'HOST must be defined for a component LView');\n            lNodeToHandle = lNodeToHandle[HOST];\n        }\n        const rNode = unwrapRNode(lNodeToHandle);\n        if (action === 0 /* WalkTNodeTreeAction.Create */ && parent !== null) {\n            if (beforeNode == null) {\n                nativeAppendChild(renderer, parent, rNode);\n            }\n            else {\n                nativeInsertBefore(renderer, parent, rNode, beforeNode || null, true);\n            }\n        }\n        else if (action === 1 /* WalkTNodeTreeAction.Insert */ && parent !== null) {\n            nativeInsertBefore(renderer, parent, rNode, beforeNode || null, true);\n        }\n        else if (action === 2 /* WalkTNodeTreeAction.Detach */) {\n            nativeRemoveNode(renderer, rNode, isComponent);\n        }\n        else if (action === 3 /* WalkTNodeTreeAction.Destroy */) {\n            ngDevMode && ngDevMode.rendererDestroyNode++;\n            renderer.destroyNode(rNode);\n        }\n        if (lContainer != null) {\n            applyContainer(renderer, action, lContainer, parent, beforeNode);\n        }\n    }\n}\nfunction createTextNode(renderer, value) {\n    ngDevMode && ngDevMode.rendererCreateTextNode++;\n    ngDevMode && ngDevMode.rendererSetText++;\n    return renderer.createText(value);\n}\nfunction updateTextNode(renderer, rNode, value) {\n    ngDevMode && ngDevMode.rendererSetText++;\n    renderer.setValue(rNode, value);\n}\nfunction createCommentNode(renderer, value) {\n    ngDevMode && ngDevMode.rendererCreateComment++;\n    return renderer.createComment(escapeCommentText(value));\n}\n/**\n * Creates a native element from a tag name, using a renderer.\n * @param renderer A renderer to use\n * @param name the tag name\n * @param namespace Optional namespace for element.\n * @returns the element created\n */\nfunction createElementNode(renderer, name, namespace) {\n    ngDevMode && ngDevMode.rendererCreateElement++;\n    return renderer.createElement(name, namespace);\n}\n/**\n * Removes all DOM elements associated with a view.\n *\n * Because some root nodes of the view may be containers, we sometimes need\n * to propagate deeply into the nested containers to remove all elements in the\n * views beneath it.\n *\n * @param tView The `TView' of the `LView` from which elements should be added or removed\n * @param lView The view from which elements should be added or removed\n */\nfunction removeViewFromContainer(tView, lView) {\n    const renderer = lView[RENDERER];\n    applyView(tView, lView, renderer, 2 /* WalkTNodeTreeAction.Detach */, null, null);\n    lView[HOST] = null;\n    lView[T_HOST] = null;\n}\n/**\n * Adds all DOM elements associated with a view.\n *\n * Because some root nodes of the view may be containers, we sometimes need\n * to propagate deeply into the nested containers to add all elements in the\n * views beneath it.\n *\n * @param tView The `TView' of the `LView` from which elements should be added or removed\n * @param parentTNode The `TNode` where the `LView` should be attached to.\n * @param renderer Current renderer to use for DOM manipulations.\n * @param lView The view from which elements should be added or removed\n * @param parentNativeNode The parent `RElement` where it should be inserted into.\n * @param beforeNode The node before which elements should be added, if insert mode\n */\nfunction addViewToContainer(tView, parentTNode, renderer, lView, parentNativeNode, beforeNode) {\n    lView[HOST] = parentNativeNode;\n    lView[T_HOST] = parentTNode;\n    applyView(tView, lView, renderer, 1 /* WalkTNodeTreeAction.Insert */, parentNativeNode, beforeNode);\n}\n/**\n * Detach a `LView` from the DOM by detaching its nodes.\n *\n * @param tView The `TView' of the `LView` to be detached\n * @param lView the `LView` to be detached.\n */\nfunction renderDetachView(tView, lView) {\n    applyView(tView, lView, lView[RENDERER], 2 /* WalkTNodeTreeAction.Detach */, null, null);\n}\n/**\n * Traverses down and up the tree of views and containers to remove listeners and\n * call onDestroy callbacks.\n *\n * Notes:\n *  - Because it's used for onDestroy calls, it needs to be bottom-up.\n *  - Must process containers instead of their views to avoid splicing\n *  when views are destroyed and re-added.\n *  - Using a while loop because it's faster than recursion\n *  - Destroy only called on movement to sibling or movement to parent (laterally or up)\n *\n *  @param rootView The view to destroy\n */\nfunction destroyViewTree(rootView) {\n    // If the view has no children, we can clean it up and return early.\n    let lViewOrLContainer = rootView[CHILD_HEAD];\n    if (!lViewOrLContainer) {\n        return cleanUpView(rootView[TVIEW], rootView);\n    }\n    while (lViewOrLContainer) {\n        let next = null;\n        if (isLView(lViewOrLContainer)) {\n            // If LView, traverse down to child.\n            next = lViewOrLContainer[CHILD_HEAD];\n        }\n        else {\n            ngDevMode && assertLContainer(lViewOrLContainer);\n            // If container, traverse down to its first LView.\n            const firstView = lViewOrLContainer[CONTAINER_HEADER_OFFSET];\n            if (firstView)\n                next = firstView;\n        }\n        if (!next) {\n            // Only clean up view when moving to the side or up, as destroy hooks\n            // should be called in order from the bottom up.\n            while (lViewOrLContainer && !lViewOrLContainer[NEXT] && lViewOrLContainer !== rootView) {\n                if (isLView(lViewOrLContainer)) {\n                    cleanUpView(lViewOrLContainer[TVIEW], lViewOrLContainer);\n                }\n                lViewOrLContainer = lViewOrLContainer[PARENT];\n            }\n            if (lViewOrLContainer === null)\n                lViewOrLContainer = rootView;\n            if (isLView(lViewOrLContainer)) {\n                cleanUpView(lViewOrLContainer[TVIEW], lViewOrLContainer);\n            }\n            next = lViewOrLContainer && lViewOrLContainer[NEXT];\n        }\n        lViewOrLContainer = next;\n    }\n}\n/**\n * Inserts a view into a container.\n *\n * This adds the view to the container's array of active views in the correct\n * position. It also adds the view's elements to the DOM if the container isn't a\n * root node of another view (in that case, the view's elements will be added when\n * the container's parent view is added later).\n *\n * @param tView The `TView' of the `LView` to insert\n * @param lView The view to insert\n * @param lContainer The container into which the view should be inserted\n * @param index Which index in the container to insert the child view into\n */\nfunction insertView(tView, lView, lContainer, index) {\n    ngDevMode && assertLView(lView);\n    ngDevMode && assertLContainer(lContainer);\n    const indexInContainer = CONTAINER_HEADER_OFFSET + index;\n    const containerLength = lContainer.length;\n    if (index > 0) {\n        // This is a new view, we need to add it to the children.\n        lContainer[indexInContainer - 1][NEXT] = lView;\n    }\n    if (index < containerLength - CONTAINER_HEADER_OFFSET) {\n        lView[NEXT] = lContainer[indexInContainer];\n        addToArray(lContainer, CONTAINER_HEADER_OFFSET + index, lView);\n    }\n    else {\n        lContainer.push(lView);\n        lView[NEXT] = null;\n    }\n    lView[PARENT] = lContainer;\n    // track views where declaration and insertion points are different\n    const declarationLContainer = lView[DECLARATION_LCONTAINER];\n    if (declarationLContainer !== null && lContainer !== declarationLContainer) {\n        trackMovedView(declarationLContainer, lView);\n    }\n    // notify query that a new view has been added\n    const lQueries = lView[QUERIES];\n    if (lQueries !== null) {\n        lQueries.insertView(tView);\n    }\n    // Sets the attached flag\n    lView[FLAGS] |= 64 /* LViewFlags.Attached */;\n}\n/**\n * Track views created from the declaration container (TemplateRef) and inserted into a\n * different LContainer.\n */\nfunction trackMovedView(declarationContainer, lView) {\n    ngDevMode && assertDefined(lView, 'LView required');\n    ngDevMode && assertLContainer(declarationContainer);\n    const movedViews = declarationContainer[MOVED_VIEWS];\n    const insertedLContainer = lView[PARENT];\n    ngDevMode && assertLContainer(insertedLContainer);\n    const insertedComponentLView = insertedLContainer[PARENT][DECLARATION_COMPONENT_VIEW];\n    ngDevMode && assertDefined(insertedComponentLView, 'Missing insertedComponentLView');\n    const declaredComponentLView = lView[DECLARATION_COMPONENT_VIEW];\n    ngDevMode && assertDefined(declaredComponentLView, 'Missing declaredComponentLView');\n    if (declaredComponentLView !== insertedComponentLView) {\n        // At this point the declaration-component is not same as insertion-component; this means that\n        // this is a transplanted view. Mark the declared lView as having transplanted views so that\n        // those views can participate in CD.\n        declarationContainer[HAS_TRANSPLANTED_VIEWS] = true;\n    }\n    if (movedViews === null) {\n        declarationContainer[MOVED_VIEWS] = [lView];\n    }\n    else {\n        movedViews.push(lView);\n    }\n}\nfunction detachMovedView(declarationContainer, lView) {\n    ngDevMode && assertLContainer(declarationContainer);\n    ngDevMode &&\n        assertDefined(declarationContainer[MOVED_VIEWS], 'A projected view should belong to a non-empty projected views collection');\n    const movedViews = declarationContainer[MOVED_VIEWS];\n    const declarationViewIndex = movedViews.indexOf(lView);\n    const insertionLContainer = lView[PARENT];\n    ngDevMode && assertLContainer(insertionLContainer);\n    // If the view was marked for refresh but then detached before it was checked (where the flag\n    // would be cleared and the counter decremented), we need to decrement the view counter here\n    // instead.\n    if (lView[FLAGS] & 512 /* LViewFlags.RefreshTransplantedView */) {\n        lView[FLAGS] &= ~512 /* LViewFlags.RefreshTransplantedView */;\n        updateTransplantedViewCount(insertionLContainer, -1);\n    }\n    movedViews.splice(declarationViewIndex, 1);\n}\n/**\n * Detaches a view from a container.\n *\n * This method removes the view from the container's array of active views. It also\n * removes the view's elements from the DOM.\n *\n * @param lContainer The container from which to detach a view\n * @param removeIndex The index of the view to detach\n * @returns Detached LView instance.\n */\nfunction detachView(lContainer, removeIndex) {\n    if (lContainer.length <= CONTAINER_HEADER_OFFSET)\n        return;\n    const indexInContainer = CONTAINER_HEADER_OFFSET + removeIndex;\n    const viewToDetach = lContainer[indexInContainer];\n    if (viewToDetach) {\n        const declarationLContainer = viewToDetach[DECLARATION_LCONTAINER];\n        if (declarationLContainer !== null && declarationLContainer !== lContainer) {\n            detachMovedView(declarationLContainer, viewToDetach);\n        }\n        if (removeIndex > 0) {\n            lContainer[indexInContainer - 1][NEXT] = viewToDetach[NEXT];\n        }\n        const removedLView = removeFromArray(lContainer, CONTAINER_HEADER_OFFSET + removeIndex);\n        removeViewFromContainer(viewToDetach[TVIEW], viewToDetach);\n        // notify query that a view has been removed\n        const lQueries = removedLView[QUERIES];\n        if (lQueries !== null) {\n            lQueries.detachView(removedLView[TVIEW]);\n        }\n        viewToDetach[PARENT] = null;\n        viewToDetach[NEXT] = null;\n        // Unsets the attached flag\n        viewToDetach[FLAGS] &= ~64 /* LViewFlags.Attached */;\n    }\n    return viewToDetach;\n}\n/**\n * A standalone function which destroys an LView,\n * conducting clean up (e.g. removing listeners, calling onDestroys).\n *\n * @param tView The `TView' of the `LView` to be destroyed\n * @param lView The view to be destroyed.\n */\nfunction destroyLView(tView, lView) {\n    if (!(lView[FLAGS] & 128 /* LViewFlags.Destroyed */)) {\n        const renderer = lView[RENDERER];\n        if (renderer.destroyNode) {\n            applyView(tView, lView, renderer, 3 /* WalkTNodeTreeAction.Destroy */, null, null);\n        }\n        destroyViewTree(lView);\n    }\n}\n/**\n * Calls onDestroys hooks for all directives and pipes in a given view and then removes all\n * listeners. Listeners are removed as the last step so events delivered in the onDestroys hooks\n * can be propagated to @Output listeners.\n *\n * @param tView `TView` for the `LView` to clean up.\n * @param lView The LView to clean up\n */\nfunction cleanUpView(tView, lView) {\n    if (!(lView[FLAGS] & 128 /* LViewFlags.Destroyed */)) {\n        // Usually the Attached flag is removed when the view is detached from its parent, however\n        // if it's a root view, the flag won't be unset hence why we're also removing on destroy.\n        lView[FLAGS] &= ~64 /* LViewFlags.Attached */;\n        // Mark the LView as destroyed *before* executing the onDestroy hooks. An onDestroy hook\n        // runs arbitrary user code, which could include its own `viewRef.destroy()` (or similar). If\n        // We don't flag the view as destroyed before the hooks, this could lead to an infinite loop.\n        // This also aligns with the ViewEngine behavior. It also means that the onDestroy hook is\n        // really more of an \"afterDestroy\" hook if you think about it.\n        lView[FLAGS] |= 128 /* LViewFlags.Destroyed */;\n        executeOnDestroys(tView, lView);\n        processCleanups(tView, lView);\n        // For component views only, the local renderer is destroyed at clean up time.\n        if (lView[TVIEW].type === 1 /* TViewType.Component */) {\n            ngDevMode && ngDevMode.rendererDestroy++;\n            lView[RENDERER].destroy();\n        }\n        const declarationContainer = lView[DECLARATION_LCONTAINER];\n        // we are dealing with an embedded view that is still inserted into a container\n        if (declarationContainer !== null && isLContainer(lView[PARENT])) {\n            // and this is a projected view\n            if (declarationContainer !== lView[PARENT]) {\n                detachMovedView(declarationContainer, lView);\n            }\n            // For embedded views still attached to a container: remove query result from this view.\n            const lQueries = lView[QUERIES];\n            if (lQueries !== null) {\n                lQueries.detachView(tView);\n            }\n        }\n        // Unregister the view once everything else has been cleaned up.\n        unregisterLView(lView);\n    }\n}\n/** Removes listeners and unsubscribes from output subscriptions */\nfunction processCleanups(tView, lView) {\n    const tCleanup = tView.cleanup;\n    const lCleanup = lView[CLEANUP];\n    // `LCleanup` contains both share information with `TCleanup` as well as instance specific\n    // information appended at the end. We need to know where the end of the `TCleanup` information\n    // is, and we track this with `lastLCleanupIndex`.\n    let lastLCleanupIndex = -1;\n    if (tCleanup !== null) {\n        for (let i = 0; i < tCleanup.length - 1; i += 2) {\n            if (typeof tCleanup[i] === 'string') {\n                // This is a native DOM listener. It will occupy 4 entries in the TCleanup array (hence i +=\n                // 2 at the end of this block).\n                const targetIdx = tCleanup[i + 3];\n                ngDevMode && assertNumber(targetIdx, 'cleanup target must be a number');\n                if (targetIdx >= 0) {\n                    // unregister\n                    lCleanup[lastLCleanupIndex = targetIdx]();\n                }\n                else {\n                    // Subscription\n                    lCleanup[lastLCleanupIndex = -targetIdx].unsubscribe();\n                }\n                i += 2;\n            }\n            else {\n                // This is a cleanup function that is grouped with the index of its context\n                const context = lCleanup[lastLCleanupIndex = tCleanup[i + 1]];\n                tCleanup[i].call(context);\n            }\n        }\n    }\n    if (lCleanup !== null) {\n        for (let i = lastLCleanupIndex + 1; i < lCleanup.length; i++) {\n            const instanceCleanupFn = lCleanup[i];\n            ngDevMode && assertFunction(instanceCleanupFn, 'Expecting instance cleanup function.');\n            instanceCleanupFn();\n        }\n        lView[CLEANUP] = null;\n    }\n}\n/** Calls onDestroy hooks for this view */\nfunction executeOnDestroys(tView, lView) {\n    let destroyHooks;\n    if (tView != null && (destroyHooks = tView.destroyHooks) != null) {\n        for (let i = 0; i < destroyHooks.length; i += 2) {\n            const context = lView[destroyHooks[i]];\n            // Only call the destroy hook if the context has been requested.\n            if (!(context instanceof NodeInjectorFactory)) {\n                const toCall = destroyHooks[i + 1];\n                if (Array.isArray(toCall)) {\n                    for (let j = 0; j < toCall.length; j += 2) {\n                        const callContext = context[toCall[j]];\n                        const hook = toCall[j + 1];\n                        profiler(4 /* ProfilerEvent.LifecycleHookStart */, callContext, hook);\n                        try {\n                            hook.call(callContext);\n                        }\n                        finally {\n                            profiler(5 /* ProfilerEvent.LifecycleHookEnd */, callContext, hook);\n                        }\n                    }\n                }\n                else {\n                    profiler(4 /* ProfilerEvent.LifecycleHookStart */, context, toCall);\n                    try {\n                        toCall.call(context);\n                    }\n                    finally {\n                        profiler(5 /* ProfilerEvent.LifecycleHookEnd */, context, toCall);\n                    }\n                }\n            }\n        }\n    }\n}\n/**\n * Returns a native element if a node can be inserted into the given parent.\n *\n * There are two reasons why we may not be able to insert a element immediately.\n * - Projection: When creating a child content element of a component, we have to skip the\n *   insertion because the content of a component will be projected.\n *   `<component><content>delayed due to projection</content></component>`\n * - Parent container is disconnected: This can happen when we are inserting a view into\n *   parent container, which itself is disconnected. For example the parent container is part\n *   of a View which has not be inserted or is made for projection but has not been inserted\n *   into destination.\n *\n * @param tView: Current `TView`.\n * @param tNode: `TNode` for which we wish to retrieve render parent.\n * @param lView: Current `LView`.\n */\nfunction getParentRElement(tView, tNode, lView) {\n    return getClosestRElement(tView, tNode.parent, lView);\n}\n/**\n * Get closest `RElement` or `null` if it can't be found.\n *\n * If `TNode` is `TNodeType.Element` => return `RElement` at `LView[tNode.index]` location.\n * If `TNode` is `TNodeType.ElementContainer|IcuContain` => return the parent (recursively).\n * If `TNode` is `null` then return host `RElement`:\n *   - return `null` if projection\n *   - return `null` if parent container is disconnected (we have no parent.)\n *\n * @param tView: Current `TView`.\n * @param tNode: `TNode` for which we wish to retrieve `RElement` (or `null` if host element is\n *     needed).\n * @param lView: Current `LView`.\n * @returns `null` if the `RElement` can't be determined at this time (no parent / projection)\n */\nfunction getClosestRElement(tView, tNode, lView) {\n    let parentTNode = tNode;\n    // Skip over element and ICU containers as those are represented by a comment node and\n    // can't be used as a render parent.\n    while (parentTNode !== null &&\n        (parentTNode.type & (8 /* TNodeType.ElementContainer */ | 32 /* TNodeType.Icu */))) {\n        tNode = parentTNode;\n        parentTNode = tNode.parent;\n    }\n    // If the parent tNode is null, then we are inserting across views: either into an embedded view\n    // or a component view.\n    if (parentTNode === null) {\n        // We are inserting a root element of the component view into the component host element and\n        // it should always be eager.\n        return lView[HOST];\n    }\n    else {\n        ngDevMode && assertTNodeType(parentTNode, 3 /* TNodeType.AnyRNode */ | 4 /* TNodeType.Container */);\n        const { componentOffset } = parentTNode;\n        if (componentOffset > -1) {\n            ngDevMode && assertTNodeForLView(parentTNode, lView);\n            const { encapsulation } = tView.data[parentTNode.directiveStart + componentOffset];\n            // We've got a parent which is an element in the current view. We just need to verify if the\n            // parent element is not a component. Component's content nodes are not inserted immediately\n            // because they will be projected, and so doing insert at this point would be wasteful.\n            // Since the projection would then move it to its final destination. Note that we can't\n            // make this assumption when using the Shadow DOM, because the native projection placeholders\n            // (<content> or <slot>) have to be in place as elements are being inserted.\n            if (encapsulation === ViewEncapsulation$1.None ||\n                encapsulation === ViewEncapsulation$1.Emulated) {\n                return null;\n            }\n        }\n        return getNativeByTNode(parentTNode, lView);\n    }\n}\n/**\n * Inserts a native node before another native node for a given parent.\n * This is a utility function that can be used when native nodes were determined.\n */\nfunction nativeInsertBefore(renderer, parent, child, beforeNode, isMove) {\n    ngDevMode && ngDevMode.rendererInsertBefore++;\n    renderer.insertBefore(parent, child, beforeNode, isMove);\n}\nfunction nativeAppendChild(renderer, parent, child) {\n    ngDevMode && ngDevMode.rendererAppendChild++;\n    ngDevMode && assertDefined(parent, 'parent node must be defined');\n    renderer.appendChild(parent, child);\n}\nfunction nativeAppendOrInsertBefore(renderer, parent, child, beforeNode, isMove) {\n    if (beforeNode !== null) {\n        nativeInsertBefore(renderer, parent, child, beforeNode, isMove);\n    }\n    else {\n        nativeAppendChild(renderer, parent, child);\n    }\n}\n/** Removes a node from the DOM given its native parent. */\nfunction nativeRemoveChild(renderer, parent, child, isHostElement) {\n    renderer.removeChild(parent, child, isHostElement);\n}\n/** Checks if an element is a `<template>` node. */\nfunction isTemplateNode(node) {\n    return node.tagName === 'TEMPLATE' && node.content !== undefined;\n}\n/**\n * Returns a native parent of a given native node.\n */\nfunction nativeParentNode(renderer, node) {\n    return renderer.parentNode(node);\n}\n/**\n * Returns a native sibling of a given native node.\n */\nfunction nativeNextSibling(renderer, node) {\n    return renderer.nextSibling(node);\n}\n/**\n * Find a node in front of which `currentTNode` should be inserted.\n *\n * This method determines the `RNode` in front of which we should insert the `currentRNode`. This\n * takes `TNode.insertBeforeIndex` into account if i18n code has been invoked.\n *\n * @param parentTNode parent `TNode`\n * @param currentTNode current `TNode` (The node which we would like to insert into the DOM)\n * @param lView current `LView`\n */\nfunction getInsertInFrontOfRNode(parentTNode, currentTNode, lView) {\n    return _getInsertInFrontOfRNodeWithI18n(parentTNode, currentTNode, lView);\n}\n/**\n * Find a node in front of which `currentTNode` should be inserted. (Does not take i18n into\n * account)\n *\n * This method determines the `RNode` in front of which we should insert the `currentRNode`. This\n * does not take `TNode.insertBeforeIndex` into account.\n *\n * @param parentTNode parent `TNode`\n * @param currentTNode current `TNode` (The node which we would like to insert into the DOM)\n * @param lView current `LView`\n */\nfunction getInsertInFrontOfRNodeWithNoI18n(parentTNode, currentTNode, lView) {\n    if (parentTNode.type & (8 /* TNodeType.ElementContainer */ | 32 /* TNodeType.Icu */)) {\n        return getNativeByTNode(parentTNode, lView);\n    }\n    return null;\n}\n/**\n * Tree shakable boundary for `getInsertInFrontOfRNodeWithI18n` function.\n *\n * This function will only be set if i18n code runs.\n */\nlet _getInsertInFrontOfRNodeWithI18n = getInsertInFrontOfRNodeWithNoI18n;\n/**\n * Tree shakable boundary for `processI18nInsertBefore` function.\n *\n * This function will only be set if i18n code runs.\n */\nlet _processI18nInsertBefore;\nfunction setI18nHandling(getInsertInFrontOfRNodeWithI18n, processI18nInsertBefore) {\n    _getInsertInFrontOfRNodeWithI18n = getInsertInFrontOfRNodeWithI18n;\n    _processI18nInsertBefore = processI18nInsertBefore;\n}\n/**\n * Appends the `child` native node (or a collection of nodes) to the `parent`.\n *\n * @param tView The `TView' to be appended\n * @param lView The current LView\n * @param childRNode The native child (or children) that should be appended\n * @param childTNode The TNode of the child element\n */\nfunction appendChild(tView, lView, childRNode, childTNode) {\n    const parentRNode = getParentRElement(tView, childTNode, lView);\n    const renderer = lView[RENDERER];\n    const parentTNode = childTNode.parent || lView[T_HOST];\n    const anchorNode = getInsertInFrontOfRNode(parentTNode, childTNode, lView);\n    if (parentRNode != null) {\n        if (Array.isArray(childRNode)) {\n            for (let i = 0; i < childRNode.length; i++) {\n                nativeAppendOrInsertBefore(renderer, parentRNode, childRNode[i], anchorNode, false);\n            }\n        }\n        else {\n            nativeAppendOrInsertBefore(renderer, parentRNode, childRNode, anchorNode, false);\n        }\n    }\n    _processI18nInsertBefore !== undefined &&\n        _processI18nInsertBefore(renderer, childTNode, lView, childRNode, parentRNode);\n}\n/**\n * Returns the first native node for a given LView, starting from the provided TNode.\n *\n * Native nodes are returned in the order in which those appear in the native tree (DOM).\n */\nfunction getFirstNativeNode(lView, tNode) {\n    if (tNode !== null) {\n        ngDevMode &&\n            assertTNodeType(tNode, 3 /* TNodeType.AnyRNode */ | 12 /* TNodeType.AnyContainer */ | 32 /* TNodeType.Icu */ | 16 /* TNodeType.Projection */);\n        const tNodeType = tNode.type;\n        if (tNodeType & 3 /* TNodeType.AnyRNode */) {\n            return getNativeByTNode(tNode, lView);\n        }\n        else if (tNodeType & 4 /* TNodeType.Container */) {\n            return getBeforeNodeForView(-1, lView[tNode.index]);\n        }\n        else if (tNodeType & 8 /* TNodeType.ElementContainer */) {\n            const elIcuContainerChild = tNode.child;\n            if (elIcuContainerChild !== null) {\n                return getFirstNativeNode(lView, elIcuContainerChild);\n            }\n            else {\n                const rNodeOrLContainer = lView[tNode.index];\n                if (isLContainer(rNodeOrLContainer)) {\n                    return getBeforeNodeForView(-1, rNodeOrLContainer);\n                }\n                else {\n                    return unwrapRNode(rNodeOrLContainer);\n                }\n            }\n        }\n        else if (tNodeType & 32 /* TNodeType.Icu */) {\n            let nextRNode = icuContainerIterate(tNode, lView);\n            let rNode = nextRNode();\n            // If the ICU container has no nodes, than we use the ICU anchor as the node.\n            return rNode || unwrapRNode(lView[tNode.index]);\n        }\n        else {\n            const projectionNodes = getProjectionNodes(lView, tNode);\n            if (projectionNodes !== null) {\n                if (Array.isArray(projectionNodes)) {\n                    return projectionNodes[0];\n                }\n                const parentView = getLViewParent(lView[DECLARATION_COMPONENT_VIEW]);\n                ngDevMode && assertParentView(parentView);\n                return getFirstNativeNode(parentView, projectionNodes);\n            }\n            else {\n                return getFirstNativeNode(lView, tNode.next);\n            }\n        }\n    }\n    return null;\n}\nfunction getProjectionNodes(lView, tNode) {\n    if (tNode !== null) {\n        const componentView = lView[DECLARATION_COMPONENT_VIEW];\n        const componentHost = componentView[T_HOST];\n        const slotIdx = tNode.projection;\n        ngDevMode && assertProjectionSlots(lView);\n        return componentHost.projection[slotIdx];\n    }\n    return null;\n}\nfunction getBeforeNodeForView(viewIndexInContainer, lContainer) {\n    const nextViewIndex = CONTAINER_HEADER_OFFSET + viewIndexInContainer + 1;\n    if (nextViewIndex < lContainer.length) {\n        const lView = lContainer[nextViewIndex];\n        const firstTNodeOfView = lView[TVIEW].firstChild;\n        if (firstTNodeOfView !== null) {\n            return getFirstNativeNode(lView, firstTNodeOfView);\n        }\n    }\n    return lContainer[NATIVE];\n}\n/**\n * Removes a native node itself using a given renderer. To remove the node we are looking up its\n * parent from the native tree as not all platforms / browsers support the equivalent of\n * node.remove().\n *\n * @param renderer A renderer to be used\n * @param rNode The native node that should be removed\n * @param isHostElement A flag indicating if a node to be removed is a host of a component.\n */\nfunction nativeRemoveNode(renderer, rNode, isHostElement) {\n    ngDevMode && ngDevMode.rendererRemoveNode++;\n    const nativeParent = nativeParentNode(renderer, rNode);\n    if (nativeParent) {\n        nativeRemoveChild(renderer, nativeParent, rNode, isHostElement);\n    }\n}\n/**\n * Performs the operation of `action` on the node. Typically this involves inserting or removing\n * nodes on the LView or projection boundary.\n */\nfunction applyNodes(renderer, action, tNode, lView, parentRElement, beforeNode, isProjection) {\n    while (tNode != null) {\n        ngDevMode && assertTNodeForLView(tNode, lView);\n        ngDevMode &&\n            assertTNodeType(tNode, 3 /* TNodeType.AnyRNode */ | 12 /* TNodeType.AnyContainer */ | 16 /* TNodeType.Projection */ | 32 /* TNodeType.Icu */);\n        const rawSlotValue = lView[tNode.index];\n        const tNodeType = tNode.type;\n        if (isProjection) {\n            if (action === 0 /* WalkTNodeTreeAction.Create */) {\n                rawSlotValue && attachPatchData(unwrapRNode(rawSlotValue), lView);\n                tNode.flags |= 2 /* TNodeFlags.isProjected */;\n            }\n        }\n        if ((tNode.flags & 32 /* TNodeFlags.isDetached */) !== 32 /* TNodeFlags.isDetached */) {\n            if (tNodeType & 8 /* TNodeType.ElementContainer */) {\n                applyNodes(renderer, action, tNode.child, lView, parentRElement, beforeNode, false);\n                applyToElementOrContainer(action, renderer, parentRElement, rawSlotValue, beforeNode);\n            }\n            else if (tNodeType & 32 /* TNodeType.Icu */) {\n                const nextRNode = icuContainerIterate(tNode, lView);\n                let rNode;\n                while (rNode = nextRNode()) {\n                    applyToElementOrContainer(action, renderer, parentRElement, rNode, beforeNode);\n                }\n                applyToElementOrContainer(action, renderer, parentRElement, rawSlotValue, beforeNode);\n            }\n            else if (tNodeType & 16 /* TNodeType.Projection */) {\n                applyProjectionRecursive(renderer, action, lView, tNode, parentRElement, beforeNode);\n            }\n            else {\n                ngDevMode && assertTNodeType(tNode, 3 /* TNodeType.AnyRNode */ | 4 /* TNodeType.Container */);\n                applyToElementOrContainer(action, renderer, parentRElement, rawSlotValue, beforeNode);\n            }\n        }\n        tNode = isProjection ? tNode.projectionNext : tNode.next;\n    }\n}\nfunction applyView(tView, lView, renderer, action, parentRElement, beforeNode) {\n    applyNodes(renderer, action, tView.firstChild, lView, parentRElement, beforeNode, false);\n}\n/**\n * `applyProjection` performs operation on the projection.\n *\n * Inserting a projection requires us to locate the projected nodes from the parent component. The\n * complication is that those nodes themselves could be re-projected from their parent component.\n *\n * @param tView The `TView` of `LView` which needs to be inserted, detached, destroyed\n * @param lView The `LView` which needs to be inserted, detached, destroyed.\n * @param tProjectionNode node to project\n */\nfunction applyProjection(tView, lView, tProjectionNode) {\n    const renderer = lView[RENDERER];\n    const parentRNode = getParentRElement(tView, tProjectionNode, lView);\n    const parentTNode = tProjectionNode.parent || lView[T_HOST];\n    let beforeNode = getInsertInFrontOfRNode(parentTNode, tProjectionNode, lView);\n    applyProjectionRecursive(renderer, 0 /* WalkTNodeTreeAction.Create */, lView, tProjectionNode, parentRNode, beforeNode);\n}\n/**\n * `applyProjectionRecursive` performs operation on the projection specified by `action` (insert,\n * detach, destroy)\n *\n * Inserting a projection requires us to locate the projected nodes from the parent component. The\n * complication is that those nodes themselves could be re-projected from their parent component.\n *\n * @param renderer Render to use\n * @param action action to perform (insert, detach, destroy)\n * @param lView The LView which needs to be inserted, detached, destroyed.\n * @param tProjectionNode node to project\n * @param parentRElement parent DOM element for insertion/removal.\n * @param beforeNode Before which node the insertions should happen.\n */\nfunction applyProjectionRecursive(renderer, action, lView, tProjectionNode, parentRElement, beforeNode) {\n    const componentLView = lView[DECLARATION_COMPONENT_VIEW];\n    const componentNode = componentLView[T_HOST];\n    ngDevMode &&\n        assertEqual(typeof tProjectionNode.projection, 'number', 'expecting projection index');\n    const nodeToProjectOrRNodes = componentNode.projection[tProjectionNode.projection];\n    if (Array.isArray(nodeToProjectOrRNodes)) {\n        // This should not exist, it is a bit of a hack. When we bootstrap a top level node and we\n        // need to support passing projectable nodes, so we cheat and put them in the TNode\n        // of the Host TView. (Yes we put instance info at the T Level). We can get away with it\n        // because we know that that TView is not shared and therefore it will not be a problem.\n        // This should be refactored and cleaned up.\n        for (let i = 0; i < nodeToProjectOrRNodes.length; i++) {\n            const rNode = nodeToProjectOrRNodes[i];\n            applyToElementOrContainer(action, renderer, parentRElement, rNode, beforeNode);\n        }\n    }\n    else {\n        let nodeToProject = nodeToProjectOrRNodes;\n        const projectedComponentLView = componentLView[PARENT];\n        applyNodes(renderer, action, nodeToProject, projectedComponentLView, parentRElement, beforeNode, true);\n    }\n}\n/**\n * `applyContainer` performs an operation on the container and its views as specified by\n * `action` (insert, detach, destroy)\n *\n * Inserting a Container is complicated by the fact that the container may have Views which\n * themselves have containers or projections.\n *\n * @param renderer Renderer to use\n * @param action action to perform (insert, detach, destroy)\n * @param lContainer The LContainer which needs to be inserted, detached, destroyed.\n * @param parentRElement parent DOM element for insertion/removal.\n * @param beforeNode Before which node the insertions should happen.\n */\nfunction applyContainer(renderer, action, lContainer, parentRElement, beforeNode) {\n    ngDevMode && assertLContainer(lContainer);\n    const anchor = lContainer[NATIVE]; // LContainer has its own before node.\n    const native = unwrapRNode(lContainer);\n    // An LContainer can be created dynamically on any node by injecting ViewContainerRef.\n    // Asking for a ViewContainerRef on an element will result in a creation of a separate anchor\n    // node (comment in the DOM) that will be different from the LContainer's host node. In this\n    // particular case we need to execute action on 2 nodes:\n    // - container's host node (this is done in the executeActionOnElementOrContainer)\n    // - container's host node (this is done here)\n    if (anchor !== native) {\n        // This is very strange to me (Misko). I would expect that the native is same as anchor. I\n        // don't see a reason why they should be different, but they are.\n        //\n        // If they are we need to process the second anchor as well.\n        applyToElementOrContainer(action, renderer, parentRElement, anchor, beforeNode);\n    }\n    for (let i = CONTAINER_HEADER_OFFSET; i < lContainer.length; i++) {\n        const lView = lContainer[i];\n        applyView(lView[TVIEW], lView, renderer, action, parentRElement, anchor);\n    }\n}\n/**\n * Writes class/style to element.\n *\n * @param renderer Renderer to use.\n * @param isClassBased `true` if it should be written to `class` (`false` to write to `style`)\n * @param rNode The Node to write to.\n * @param prop Property to write to. This would be the class/style name.\n * @param value Value to write. If `null`/`undefined`/`false` this is considered a remove (set/add\n *        otherwise).\n */\nfunction applyStyling(renderer, isClassBased, rNode, prop, value) {\n    if (isClassBased) {\n        // We actually want JS true/false here because any truthy value should add the class\n        if (!value) {\n            ngDevMode && ngDevMode.rendererRemoveClass++;\n            renderer.removeClass(rNode, prop);\n        }\n        else {\n            ngDevMode && ngDevMode.rendererAddClass++;\n            renderer.addClass(rNode, prop);\n        }\n    }\n    else {\n        let flags = prop.indexOf('-') === -1 ? undefined : RendererStyleFlags2.DashCase;\n        if (value == null /** || value === undefined */) {\n            ngDevMode && ngDevMode.rendererRemoveStyle++;\n            renderer.removeStyle(rNode, prop, flags);\n        }\n        else {\n            // A value is important if it ends with `!important`. The style\n            // parser strips any semicolons at the end of the value.\n            const isImportant = typeof value === 'string' ? value.endsWith('!important') : false;\n            if (isImportant) {\n                // !important has to be stripped from the value for it to be valid.\n                value = value.slice(0, -10);\n                flags |= RendererStyleFlags2.Important;\n            }\n            ngDevMode && ngDevMode.rendererSetStyle++;\n            renderer.setStyle(rNode, prop, value, flags);\n        }\n    }\n}\n/**\n * Write `cssText` to `RElement`.\n *\n * This function does direct write without any reconciliation. Used for writing initial values, so\n * that static styling values do not pull in the style parser.\n *\n * @param renderer Renderer to use\n * @param element The element which needs to be updated.\n * @param newValue The new class list to write.\n */\nfunction writeDirectStyle(renderer, element, newValue) {\n    ngDevMode && assertString(newValue, '\\'newValue\\' should be a string');\n    renderer.setAttribute(element, 'style', newValue);\n    ngDevMode && ngDevMode.rendererSetStyle++;\n}\n/**\n * Write `className` to `RElement`.\n *\n * This function does direct write without any reconciliation. Used for writing initial values, so\n * that static styling values do not pull in the style parser.\n *\n * @param renderer Renderer to use\n * @param element The element which needs to be updated.\n * @param newValue The new class list to write.\n */\nfunction writeDirectClass(renderer, element, newValue) {\n    ngDevMode && assertString(newValue, '\\'newValue\\' should be a string');\n    if (newValue === '') {\n        // There are tests in `google3` which expect `element.getAttribute('class')` to be `null`.\n        renderer.removeAttribute(element, 'class');\n    }\n    else {\n        renderer.setAttribute(element, 'class', newValue);\n    }\n    ngDevMode && ngDevMode.rendererSetClassName++;\n}\n/** Sets up the static DOM attributes on an `RNode`. */\nfunction setupStaticAttributes(renderer, element, tNode) {\n    const { mergedAttrs, classes, styles } = tNode;\n    if (mergedAttrs !== null) {\n        setUpAttributes(renderer, element, mergedAttrs);\n    }\n    if (classes !== null) {\n        writeDirectClass(renderer, element, classes);\n    }\n    if (styles !== null) {\n        writeDirectStyle(renderer, element, styles);\n    }\n}\n\n/**\n * @fileoverview\n * A module to facilitate use of a Trusted Types policy internally within\n * Angular. It lazily constructs the Trusted Types policy, providing helper\n * utilities for promoting strings to Trusted Types. When Trusted Types are not\n * available, strings are used as a fallback.\n * @security All use of this module is security-sensitive and should go through\n * security review.\n */\n/**\n * The Trusted Types policy, or null if Trusted Types are not\n * enabled/supported, or undefined if the policy has not been created yet.\n */\nlet policy$1;\n/**\n * Returns the Trusted Types policy, or null if Trusted Types are not\n * enabled/supported. The first call to this function will create the policy.\n */\nfunction getPolicy$1() {\n    if (policy$1 === undefined) {\n        policy$1 = null;\n        if (_global.trustedTypes) {\n            try {\n                policy$1 = _global.trustedTypes.createPolicy('angular', {\n                    createHTML: (s) => s,\n                    createScript: (s) => s,\n                    createScriptURL: (s) => s,\n                });\n            }\n            catch {\n                // trustedTypes.createPolicy throws if called with a name that is\n                // already registered, even in report-only mode. Until the API changes,\n                // catch the error not to break the applications functionally. In such\n                // cases, the code will fall back to using strings.\n            }\n        }\n    }\n    return policy$1;\n}\n/**\n * Unsafely promote a string to a TrustedHTML, falling back to strings when\n * Trusted Types are not available.\n * @security This is a security-sensitive function; any use of this function\n * must go through security review. In particular, it must be assured that the\n * provided string will never cause an XSS vulnerability if used in a context\n * that will be interpreted as HTML by a browser, e.g. when assigning to\n * element.innerHTML.\n */\nfunction trustedHTMLFromString(html) {\n    return getPolicy$1()?.createHTML(html) || html;\n}\n/**\n * Unsafely promote a string to a TrustedScript, falling back to strings when\n * Trusted Types are not available.\n * @security In particular, it must be assured that the provided string will\n * never cause an XSS vulnerability if used in a context that will be\n * interpreted and executed as a script by a browser, e.g. when calling eval.\n */\nfunction trustedScriptFromString(script) {\n    return getPolicy$1()?.createScript(script) || script;\n}\n/**\n * Unsafely promote a string to a TrustedScriptURL, falling back to strings\n * when Trusted Types are not available.\n * @security This is a security-sensitive function; any use of this function\n * must go through security review. In particular, it must be assured that the\n * provided string will never cause an XSS vulnerability if used in a context\n * that will cause a browser to load and execute a resource, e.g. when\n * assigning to script.src.\n */\nfunction trustedScriptURLFromString(url) {\n    return getPolicy$1()?.createScriptURL(url) || url;\n}\n/**\n * Unsafely call the Function constructor with the given string arguments. It\n * is only available in development mode, and should be stripped out of\n * production code.\n * @security This is a security-sensitive function; any use of this function\n * must go through security review. In particular, it must be assured that it\n * is only called from development code, as use in production code can lead to\n * XSS vulnerabilities.\n */\nfunction newTrustedFunctionForDev(...args) {\n    if (typeof ngDevMode === 'undefined') {\n        throw new Error('newTrustedFunctionForDev should never be called in production');\n    }\n    if (!_global.trustedTypes) {\n        // In environments that don't support Trusted Types, fall back to the most\n        // straightforward implementation:\n        return new Function(...args);\n    }\n    // Chrome currently does not support passing TrustedScript to the Function\n    // constructor. The following implements the workaround proposed on the page\n    // below, where the Chromium bug is also referenced:\n    // https://github.com/w3c/webappsec-trusted-types/wiki/Trusted-Types-for-function-constructor\n    const fnArgs = args.slice(0, -1).join(',');\n    const fnBody = args[args.length - 1];\n    const body = `(function anonymous(${fnArgs}\n) { ${fnBody}\n})`;\n    // Using eval directly confuses the compiler and prevents this module from\n    // being stripped out of JS binaries even if not used. The global['eval']\n    // indirection fixes that.\n    const fn = _global['eval'](trustedScriptFromString(body));\n    if (fn.bind === undefined) {\n        // Workaround for a browser bug that only exists in Chrome 83, where passing\n        // a TrustedScript to eval just returns the TrustedScript back without\n        // evaluating it. In that case, fall back to the most straightforward\n        // implementation:\n        return new Function(...args);\n    }\n    // To completely mimic the behavior of calling \"new Function\", two more\n    // things need to happen:\n    // 1. Stringifying the resulting function should return its source code\n    fn.toString = () => body;\n    // 2. When calling the resulting function, `this` should refer to `global`\n    return fn.bind(_global);\n    // When Trusted Types support in Function constructors is widely available,\n    // the implementation of this function can be simplified to:\n    // return new Function(...args.map(a => trustedScriptFromString(a)));\n}\n\n/**\n * Validation function invoked at runtime for each binding that might potentially\n * represent a security-sensitive attribute of an <iframe>.\n * See `IFRAME_SECURITY_SENSITIVE_ATTRS` in the\n * `packages/compiler/src/schema/dom_security_schema.ts` script for the full list\n * of such attributes.\n *\n * @codeGenApi\n */\nfunction ɵɵvalidateIframeAttribute(attrValue, tagName, attrName) {\n    const lView = getLView();\n    const tNode = getSelectedTNode();\n    const element = getNativeByTNode(tNode, lView);\n    // Restrict any dynamic bindings of security-sensitive attributes/properties\n    // on an <iframe> for security reasons.\n    if (tNode.type === 2 /* TNodeType.Element */ && tagName.toLowerCase() === 'iframe') {\n        const iframe = element;\n        // Unset previously applied `src` and `srcdoc` if we come across a situation when\n        // a security-sensitive attribute is set later via an attribute/property binding.\n        iframe.src = '';\n        iframe.srcdoc = trustedHTMLFromString('');\n        // Also remove the <iframe> from the document.\n        nativeRemoveNode(lView[RENDERER], iframe);\n        const errorMessage = ngDevMode &&\n            `Angular has detected that the \\`${attrName}\\` was applied ` +\n                `as a binding to an <iframe>${getTemplateLocationDetails(lView)}. ` +\n                `For security reasons, the \\`${attrName}\\` can be set on an <iframe> ` +\n                `as a static attribute only. \\n` +\n                `To fix this, switch the \\`${attrName}\\` binding to a static attribute ` +\n                `in a template or in host bindings section.`;\n        throw new RuntimeError(-910 /* RuntimeErrorCode.UNSAFE_IFRAME_ATTRS */, errorMessage);\n    }\n    return attrValue;\n}\n\n/**\n * Most of the use of `document` in Angular is from within the DI system so it is possible to simply\n * inject the `DOCUMENT` token and are done.\n *\n * Ivy is special because it does not rely upon the DI and must get hold of the document some other\n * way.\n *\n * The solution is to define `getDocument()` and `setDocument()` top-level functions for ivy.\n * Wherever ivy needs the global document, it calls `getDocument()` instead.\n *\n * When running ivy outside of a browser environment, it is necessary to call `setDocument()` to\n * tell ivy what the global `document` is.\n *\n * Angular does this for us in each of the standard platforms (`Browser`, `Server`, and `WebWorker`)\n * by calling `setDocument()` when providing the `DOCUMENT` token.\n */\nlet DOCUMENT = undefined;\n/**\n * Tell ivy what the `document` is for this platform.\n *\n * It is only necessary to call this if the current platform is not a browser.\n *\n * @param document The object representing the global `document` in this environment.\n */\nfunction setDocument(document) {\n    DOCUMENT = document;\n}\n/**\n * Access the object that represents the `document` for this platform.\n *\n * Ivy calls this whenever it needs to access the `document` object.\n * For example to create the renderer or to do sanitization.\n */\nfunction getDocument() {\n    if (DOCUMENT !== undefined) {\n        return DOCUMENT;\n    }\n    else if (typeof document !== 'undefined') {\n        return document;\n    }\n    // No \"document\" can be found. This should only happen if we are running ivy outside Angular and\n    // the current platform is not a browser. Since this is not a supported scenario at the moment\n    // this should not happen in Angular apps.\n    // Once we support running ivy outside of Angular we will need to publish `setDocument()` as a\n    // public API. Meanwhile we just return `undefined` and let the application fail.\n    return undefined;\n}\n\n/**\n * @fileoverview\n * A module to facilitate use of a Trusted Types policy internally within\n * Angular specifically for bypassSecurityTrust* and custom sanitizers. It\n * lazily constructs the Trusted Types policy, providing helper utilities for\n * promoting strings to Trusted Types. When Trusted Types are not available,\n * strings are used as a fallback.\n * @security All use of this module is security-sensitive and should go through\n * security review.\n */\n/**\n * The Trusted Types policy, or null if Trusted Types are not\n * enabled/supported, or undefined if the policy has not been created yet.\n */\nlet policy;\n/**\n * Returns the Trusted Types policy, or null if Trusted Types are not\n * enabled/supported. The first call to this function will create the policy.\n */\nfunction getPolicy() {\n    if (policy === undefined) {\n        policy = null;\n        if (_global.trustedTypes) {\n            try {\n                policy = _global.trustedTypes\n                    .createPolicy('angular#unsafe-bypass', {\n                    createHTML: (s) => s,\n                    createScript: (s) => s,\n                    createScriptURL: (s) => s,\n                });\n            }\n            catch {\n                // trustedTypes.createPolicy throws if called with a name that is\n                // already registered, even in report-only mode. Until the API changes,\n                // catch the error not to break the applications functionally. In such\n                // cases, the code will fall back to using strings.\n            }\n        }\n    }\n    return policy;\n}\n/**\n * Unsafely promote a string to a TrustedHTML, falling back to strings when\n * Trusted Types are not available.\n * @security This is a security-sensitive function; any use of this function\n * must go through security review. In particular, it must be assured that it\n * is only passed strings that come directly from custom sanitizers or the\n * bypassSecurityTrust* functions.\n */\nfunction trustedHTMLFromStringBypass(html) {\n    return getPolicy()?.createHTML(html) || html;\n}\n/**\n * Unsafely promote a string to a TrustedScript, falling back to strings when\n * Trusted Types are not available.\n * @security This is a security-sensitive function; any use of this function\n * must go through security review. In particular, it must be assured that it\n * is only passed strings that come directly from custom sanitizers or the\n * bypassSecurityTrust* functions.\n */\nfunction trustedScriptFromStringBypass(script) {\n    return getPolicy()?.createScript(script) || script;\n}\n/**\n * Unsafely promote a string to a TrustedScriptURL, falling back to strings\n * when Trusted Types are not available.\n * @security This is a security-sensitive function; any use of this function\n * must go through security review. In particular, it must be assured that it\n * is only passed strings that come directly from custom sanitizers or the\n * bypassSecurityTrust* functions.\n */\nfunction trustedScriptURLFromStringBypass(url) {\n    return getPolicy()?.createScriptURL(url) || url;\n}\n\nclass SafeValueImpl {\n    constructor(changingThisBreaksApplicationSecurity) {\n        this.changingThisBreaksApplicationSecurity = changingThisBreaksApplicationSecurity;\n    }\n    toString() {\n        return `SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity}` +\n            ` (see ${XSS_SECURITY_URL})`;\n    }\n}\nclass SafeHtmlImpl extends SafeValueImpl {\n    getTypeName() {\n        return \"HTML\" /* BypassType.Html */;\n    }\n}\nclass SafeStyleImpl extends SafeValueImpl {\n    getTypeName() {\n        return \"Style\" /* BypassType.Style */;\n    }\n}\nclass SafeScriptImpl extends SafeValueImpl {\n    getTypeName() {\n        return \"Script\" /* BypassType.Script */;\n    }\n}\nclass SafeUrlImpl extends SafeValueImpl {\n    getTypeName() {\n        return \"URL\" /* BypassType.Url */;\n    }\n}\nclass SafeResourceUrlImpl extends SafeValueImpl {\n    getTypeName() {\n        return \"ResourceURL\" /* BypassType.ResourceUrl */;\n    }\n}\nfunction unwrapSafeValue(value) {\n    return value instanceof SafeValueImpl ? value.changingThisBreaksApplicationSecurity :\n        value;\n}\nfunction allowSanitizationBypassAndThrow(value, type) {\n    const actualType = getSanitizationBypassType(value);\n    if (actualType != null && actualType !== type) {\n        // Allow ResourceURLs in URL contexts, they are strictly more trusted.\n        if (actualType === \"ResourceURL\" /* BypassType.ResourceUrl */ && type === \"URL\" /* BypassType.Url */)\n            return true;\n        throw new Error(`Required a safe ${type}, got a ${actualType} (see ${XSS_SECURITY_URL})`);\n    }\n    return actualType === type;\n}\nfunction getSanitizationBypassType(value) {\n    return value instanceof SafeValueImpl && value.getTypeName() || null;\n}\n/**\n * Mark `html` string as trusted.\n *\n * This function wraps the trusted string in `String` and brands it in a way which makes it\n * recognizable to {@link htmlSanitizer} to be trusted implicitly.\n *\n * @param trustedHtml `html` string which needs to be implicitly trusted.\n * @returns a `html` which has been branded to be implicitly trusted.\n */\nfunction bypassSanitizationTrustHtml(trustedHtml) {\n    return new SafeHtmlImpl(trustedHtml);\n}\n/**\n * Mark `style` string as trusted.\n *\n * This function wraps the trusted string in `String` and brands it in a way which makes it\n * recognizable to {@link styleSanitizer} to be trusted implicitly.\n *\n * @param trustedStyle `style` string which needs to be implicitly trusted.\n * @returns a `style` hich has been branded to be implicitly trusted.\n */\nfunction bypassSanitizationTrustStyle(trustedStyle) {\n    return new SafeStyleImpl(trustedStyle);\n}\n/**\n * Mark `script` string as trusted.\n *\n * This function wraps the trusted string in `String` and brands it in a way which makes it\n * recognizable to {@link scriptSanitizer} to be trusted implicitly.\n *\n * @param trustedScript `script` string which needs to be implicitly trusted.\n * @returns a `script` which has been branded to be implicitly trusted.\n */\nfunction bypassSanitizationTrustScript(trustedScript) {\n    return new SafeScriptImpl(trustedScript);\n}\n/**\n * Mark `url` string as trusted.\n *\n * This function wraps the trusted string in `String` and brands it in a way which makes it\n * recognizable to {@link urlSanitizer} to be trusted implicitly.\n *\n * @param trustedUrl `url` string which needs to be implicitly trusted.\n * @returns a `url`  which has been branded to be implicitly trusted.\n */\nfunction bypassSanitizationTrustUrl(trustedUrl) {\n    return new SafeUrlImpl(trustedUrl);\n}\n/**\n * Mark `url` string as trusted.\n *\n * This function wraps the trusted string in `String` and brands it in a way which makes it\n * recognizable to {@link resourceUrlSanitizer} to be trusted implicitly.\n *\n * @param trustedResourceUrl `url` string which needs to be implicitly trusted.\n * @returns a `url` which has been branded to be implicitly trusted.\n */\nfunction bypassSanitizationTrustResourceUrl(trustedResourceUrl) {\n    return new SafeResourceUrlImpl(trustedResourceUrl);\n}\n\n/**\n * This helper is used to get hold of an inert tree of DOM elements containing dirty HTML\n * that needs sanitizing.\n * Depending upon browser support we use one of two strategies for doing this.\n * Default: DOMParser strategy\n * Fallback: InertDocument strategy\n */\nfunction getInertBodyHelper(defaultDoc) {\n    const inertDocumentHelper = new InertDocumentHelper(defaultDoc);\n    return isDOMParserAvailable() ? new DOMParserHelper(inertDocumentHelper) : inertDocumentHelper;\n}\n/**\n * Uses DOMParser to create and fill an inert body element.\n * This is the default strategy used in browsers that support it.\n */\nclass DOMParserHelper {\n    constructor(inertDocumentHelper) {\n        this.inertDocumentHelper = inertDocumentHelper;\n    }\n    getInertBodyElement(html) {\n        // We add these extra elements to ensure that the rest of the content is parsed as expected\n        // e.g. leading whitespace is maintained and tags like `<meta>` do not get hoisted to the\n        // `<head>` tag. Note that the `<body>` tag is closed implicitly to prevent unclosed tags\n        // in `html` from consuming the otherwise explicit `</body>` tag.\n        html = '<body><remove></remove>' + html;\n        try {\n            const body = new window.DOMParser()\n                .parseFromString(trustedHTMLFromString(html), 'text/html')\n                .body;\n            if (body === null) {\n                // In some browsers (e.g. Mozilla/5.0 iPad AppleWebKit Mobile) the `body` property only\n                // becomes available in the following tick of the JS engine. In that case we fall back to\n                // the `inertDocumentHelper` instead.\n                return this.inertDocumentHelper.getInertBodyElement(html);\n            }\n            body.removeChild(body.firstChild);\n            return body;\n        }\n        catch {\n            return null;\n        }\n    }\n}\n/**\n * Use an HTML5 `template` element to create and fill an inert DOM element.\n * This is the fallback strategy if the browser does not support DOMParser.\n */\nclass InertDocumentHelper {\n    constructor(defaultDoc) {\n        this.defaultDoc = defaultDoc;\n        this.inertDocument = this.defaultDoc.implementation.createHTMLDocument('sanitization-inert');\n    }\n    getInertBodyElement(html) {\n        const templateEl = this.inertDocument.createElement('template');\n        templateEl.innerHTML = trustedHTMLFromString(html);\n        return templateEl;\n    }\n}\n/**\n * We need to determine whether the DOMParser exists in the global context and\n * supports parsing HTML; HTML parsing support is not as wide as other formats, see\n * https://developer.mozilla.org/en-US/docs/Web/API/DOMParser#Browser_compatibility.\n *\n * @suppress {uselessCode}\n */\nfunction isDOMParserAvailable() {\n    try {\n        return !!new window.DOMParser().parseFromString(trustedHTMLFromString(''), 'text/html');\n    }\n    catch {\n        return false;\n    }\n}\n\n/**\n * A pattern that recognizes URLs that are safe wrt. XSS in URL navigation\n * contexts.\n *\n * This regular expression matches a subset of URLs that will not cause script\n * execution if used in URL context within a HTML document. Specifically, this\n * regular expression matches if:\n * (1) Either a protocol that is not javascript:, and that has valid characters\n *     (alphanumeric or [+-.]).\n * (2) or no protocol.  A protocol must be followed by a colon. The below\n *     allows that by allowing colons only after one of the characters [/?#].\n *     A colon after a hash (#) must be in the fragment.\n *     Otherwise, a colon after a (?) must be in a query.\n *     Otherwise, a colon after a single solidus (/) must be in a path.\n *     Otherwise, a colon after a double solidus (//) must be in the authority\n *     (before port).\n *\n * The pattern disallows &, used in HTML entity declarations before\n * one of the characters in [/?#]. This disallows HTML entities used in the\n * protocol name, which should never happen, e.g. \"h&#116;tp\" for \"http\".\n * It also disallows HTML entities in the first path part of a relative path,\n * e.g. \"foo&lt;bar/baz\".  Our existing escaping functions should not produce\n * that. More importantly, it disallows masking of a colon,\n * e.g. \"javascript&#58;...\".\n *\n * This regular expression was taken from the Closure sanitization library.\n */\nconst SAFE_URL_PATTERN = /^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\\/?#]*(?:[\\/?#]|$))/i;\nfunction _sanitizeUrl(url) {\n    url = String(url);\n    if (url.match(SAFE_URL_PATTERN))\n        return url;\n    if (typeof ngDevMode === 'undefined' || ngDevMode) {\n        console.warn(`WARNING: sanitizing unsafe URL value ${url} (see ${XSS_SECURITY_URL})`);\n    }\n    return 'unsafe:' + url;\n}\n\nfunction tagSet(tags) {\n    const res = {};\n    for (const t of tags.split(','))\n        res[t] = true;\n    return res;\n}\nfunction merge(...sets) {\n    const res = {};\n    for (const s of sets) {\n        for (const v in s) {\n            if (s.hasOwnProperty(v))\n                res[v] = true;\n        }\n    }\n    return res;\n}\n// Good source of info about elements and attributes\n// https://html.spec.whatwg.org/#semantics\n// https://simon.html5.org/html-elements\n// Safe Void Elements - HTML5\n// https://html.spec.whatwg.org/#void-elements\nconst VOID_ELEMENTS = tagSet('area,br,col,hr,img,wbr');\n// Elements that you can, intentionally, leave open (and which close themselves)\n// https://html.spec.whatwg.org/#optional-tags\nconst OPTIONAL_END_TAG_BLOCK_ELEMENTS = tagSet('colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr');\nconst OPTIONAL_END_TAG_INLINE_ELEMENTS = tagSet('rp,rt');\nconst OPTIONAL_END_TAG_ELEMENTS = merge(OPTIONAL_END_TAG_INLINE_ELEMENTS, OPTIONAL_END_TAG_BLOCK_ELEMENTS);\n// Safe Block Elements - HTML5\nconst BLOCK_ELEMENTS = merge(OPTIONAL_END_TAG_BLOCK_ELEMENTS, tagSet('address,article,' +\n    'aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,' +\n    'h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul'));\n// Inline Elements - HTML5\nconst INLINE_ELEMENTS = merge(OPTIONAL_END_TAG_INLINE_ELEMENTS, tagSet('a,abbr,acronym,audio,b,' +\n    'bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,' +\n    'samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video'));\nconst VALID_ELEMENTS = merge(VOID_ELEMENTS, BLOCK_ELEMENTS, INLINE_ELEMENTS, OPTIONAL_END_TAG_ELEMENTS);\n// Attributes that have href and hence need to be sanitized\nconst URI_ATTRS = tagSet('background,cite,href,itemtype,longdesc,poster,src,xlink:href');\nconst HTML_ATTRS = tagSet('abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,' +\n    'compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,' +\n    'ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,' +\n    'scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,' +\n    'valign,value,vspace,width');\n// Accessibility attributes as per WAI-ARIA 1.1 (W3C Working Draft 14 December 2018)\nconst ARIA_ATTRS = tagSet('aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,' +\n    'aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,' +\n    'aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,' +\n    'aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,' +\n    'aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,' +\n    'aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,' +\n    'aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext');\n// NB: This currently consciously doesn't support SVG. SVG sanitization has had several security\n// issues in the past, so it seems safer to leave it out if possible. If support for binding SVG via\n// innerHTML is required, SVG attributes should be added here.\n// NB: Sanitization does not allow <form> elements or other active elements (<button> etc). Those\n// can be sanitized, but they increase security surface area without a legitimate use case, so they\n// are left out here.\nconst VALID_ATTRS = merge(URI_ATTRS, HTML_ATTRS, ARIA_ATTRS);\n// Elements whose content should not be traversed/preserved, if the elements themselves are invalid.\n//\n// Typically, `<invalid>Some content</invalid>` would traverse (and in this case preserve)\n// `Some content`, but strip `invalid-element` opening/closing tags. For some elements, though, we\n// don't want to preserve the content, if the elements themselves are going to be removed.\nconst SKIP_TRAVERSING_CONTENT_IF_INVALID_ELEMENTS = tagSet('script,style,template');\n/**\n * SanitizingHtmlSerializer serializes a DOM fragment, stripping out any unsafe elements and unsafe\n * attributes.\n */\nclass SanitizingHtmlSerializer {\n    constructor() {\n        // Explicitly track if something was stripped, to avoid accidentally warning of sanitization just\n        // because characters were re-encoded.\n        this.sanitizedSomething = false;\n        this.buf = [];\n    }\n    sanitizeChildren(el) {\n        // This cannot use a TreeWalker, as it has to run on Angular's various DOM adapters.\n        // However this code never accesses properties off of `document` before deleting its contents\n        // again, so it shouldn't be vulnerable to DOM clobbering.\n        let current = el.firstChild;\n        let traverseContent = true;\n        while (current) {\n            if (current.nodeType === Node.ELEMENT_NODE) {\n                traverseContent = this.startElement(current);\n            }\n            else if (current.nodeType === Node.TEXT_NODE) {\n                this.chars(current.nodeValue);\n            }\n            else {\n                // Strip non-element, non-text nodes.\n                this.sanitizedSomething = true;\n            }\n            if (traverseContent && current.firstChild) {\n                current = current.firstChild;\n                continue;\n            }\n            while (current) {\n                // Leaving the element. Walk up and to the right, closing tags as we go.\n                if (current.nodeType === Node.ELEMENT_NODE) {\n                    this.endElement(current);\n                }\n                let next = this.checkClobberedElement(current, current.nextSibling);\n                if (next) {\n                    current = next;\n                    break;\n                }\n                current = this.checkClobberedElement(current, current.parentNode);\n            }\n        }\n        return this.buf.join('');\n    }\n    /**\n     * Sanitizes an opening element tag (if valid) and returns whether the element's contents should\n     * be traversed. Element content must always be traversed (even if the element itself is not\n     * valid/safe), unless the element is one of `SKIP_TRAVERSING_CONTENT_IF_INVALID_ELEMENTS`.\n     *\n     * @param element The element to sanitize.\n     * @return True if the element's contents should be traversed.\n     */\n    startElement(element) {\n        const tagName = element.nodeName.toLowerCase();\n        if (!VALID_ELEMENTS.hasOwnProperty(tagName)) {\n            this.sanitizedSomething = true;\n            return !SKIP_TRAVERSING_CONTENT_IF_INVALID_ELEMENTS.hasOwnProperty(tagName);\n        }\n        this.buf.push('<');\n        this.buf.push(tagName);\n        const elAttrs = element.attributes;\n        for (let i = 0; i < elAttrs.length; i++) {\n            const elAttr = elAttrs.item(i);\n            const attrName = elAttr.name;\n            const lower = attrName.toLowerCase();\n            if (!VALID_ATTRS.hasOwnProperty(lower)) {\n                this.sanitizedSomething = true;\n                continue;\n            }\n            let value = elAttr.value;\n            // TODO(martinprobst): Special case image URIs for data:image/...\n            if (URI_ATTRS[lower])\n                value = _sanitizeUrl(value);\n            this.buf.push(' ', attrName, '=\"', encodeEntities(value), '\"');\n        }\n        this.buf.push('>');\n        return true;\n    }\n    endElement(current) {\n        const tagName = current.nodeName.toLowerCase();\n        if (VALID_ELEMENTS.hasOwnProperty(tagName) && !VOID_ELEMENTS.hasOwnProperty(tagName)) {\n            this.buf.push('</');\n            this.buf.push(tagName);\n            this.buf.push('>');\n        }\n    }\n    chars(chars) {\n        this.buf.push(encodeEntities(chars));\n    }\n    checkClobberedElement(node, nextNode) {\n        if (nextNode &&\n            (node.compareDocumentPosition(nextNode) &\n                Node.DOCUMENT_POSITION_CONTAINED_BY) === Node.DOCUMENT_POSITION_CONTAINED_BY) {\n            throw new Error(`Failed to sanitize html because the element is clobbered: ${node.outerHTML}`);\n        }\n        return nextNode;\n    }\n}\n// Regular Expressions for parsing tags and attributes\nconst SURROGATE_PAIR_REGEXP = /[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]/g;\n// ! to ~ is the ASCII range.\nconst NON_ALPHANUMERIC_REGEXP = /([^\\#-~ |!])/g;\n/**\n * Escapes all potentially dangerous characters, so that the\n * resulting string can be safely inserted into attribute or\n * element text.\n * @param value\n */\nfunction encodeEntities(value) {\n    return value.replace(/&/g, '&amp;')\n        .replace(SURROGATE_PAIR_REGEXP, function (match) {\n        const hi = match.charCodeAt(0);\n        const low = match.charCodeAt(1);\n        return '&#' + (((hi - 0xD800) * 0x400) + (low - 0xDC00) + 0x10000) + ';';\n    })\n        .replace(NON_ALPHANUMERIC_REGEXP, function (match) {\n        return '&#' + match.charCodeAt(0) + ';';\n    })\n        .replace(/</g, '&lt;')\n        .replace(/>/g, '&gt;');\n}\nlet inertBodyHelper;\n/**\n * Sanitizes the given unsafe, untrusted HTML fragment, and returns HTML text that is safe to add to\n * the DOM in a browser environment.\n */\nfunction _sanitizeHtml(defaultDoc, unsafeHtmlInput) {\n    let inertBodyElement = null;\n    try {\n        inertBodyHelper = inertBodyHelper || getInertBodyHelper(defaultDoc);\n        // Make sure unsafeHtml is actually a string (TypeScript types are not enforced at runtime).\n        let unsafeHtml = unsafeHtmlInput ? String(unsafeHtmlInput) : '';\n        inertBodyElement = inertBodyHelper.getInertBodyElement(unsafeHtml);\n        // mXSS protection. Repeatedly parse the document to make sure it stabilizes, so that a browser\n        // trying to auto-correct incorrect HTML cannot cause formerly inert HTML to become dangerous.\n        let mXSSAttempts = 5;\n        let parsedHtml = unsafeHtml;\n        do {\n            if (mXSSAttempts === 0) {\n                throw new Error('Failed to sanitize html because the input is unstable');\n            }\n            mXSSAttempts--;\n            unsafeHtml = parsedHtml;\n            parsedHtml = inertBodyElement.innerHTML;\n            inertBodyElement = inertBodyHelper.getInertBodyElement(unsafeHtml);\n        } while (unsafeHtml !== parsedHtml);\n        const sanitizer = new SanitizingHtmlSerializer();\n        const safeHtml = sanitizer.sanitizeChildren(getTemplateContent(inertBodyElement) || inertBodyElement);\n        if ((typeof ngDevMode === 'undefined' || ngDevMode) && sanitizer.sanitizedSomething) {\n            console.warn(`WARNING: sanitizing HTML stripped some content, see ${XSS_SECURITY_URL}`);\n        }\n        return trustedHTMLFromString(safeHtml);\n    }\n    finally {\n        // In case anything goes wrong, clear out inertElement to reset the entire DOM structure.\n        if (inertBodyElement) {\n            const parent = getTemplateContent(inertBodyElement) || inertBodyElement;\n            while (parent.firstChild) {\n                parent.removeChild(parent.firstChild);\n            }\n        }\n    }\n}\nfunction getTemplateContent(el) {\n    return 'content' in el /** Microsoft/TypeScript#21517 */ && isTemplateElement(el) ?\n        el.content :\n        null;\n}\nfunction isTemplateElement(el) {\n    return el.nodeType === Node.ELEMENT_NODE && el.nodeName === 'TEMPLATE';\n}\n\n/**\n * A SecurityContext marks a location that has dangerous security implications, e.g. a DOM property\n * like `innerHTML` that could cause Cross Site Scripting (XSS) security bugs when improperly\n * handled.\n *\n * See DomSanitizer for more details on security in Angular applications.\n *\n * @publicApi\n */\nvar SecurityContext;\n(function (SecurityContext) {\n    SecurityContext[SecurityContext[\"NONE\"] = 0] = \"NONE\";\n    SecurityContext[SecurityContext[\"HTML\"] = 1] = \"HTML\";\n    SecurityContext[SecurityContext[\"STYLE\"] = 2] = \"STYLE\";\n    SecurityContext[SecurityContext[\"SCRIPT\"] = 3] = \"SCRIPT\";\n    SecurityContext[SecurityContext[\"URL\"] = 4] = \"URL\";\n    SecurityContext[SecurityContext[\"RESOURCE_URL\"] = 5] = \"RESOURCE_URL\";\n})(SecurityContext || (SecurityContext = {}));\n\n/**\n * An `html` sanitizer which converts untrusted `html` **string** into trusted string by removing\n * dangerous content.\n *\n * This method parses the `html` and locates potentially dangerous content (such as urls and\n * javascript) and removes it.\n *\n * It is possible to mark a string as trusted by calling {@link bypassSanitizationTrustHtml}.\n *\n * @param unsafeHtml untrusted `html`, typically from the user.\n * @returns `html` string which is safe to display to user, because all of the dangerous javascript\n * and urls have been removed.\n *\n * @codeGenApi\n */\nfunction ɵɵsanitizeHtml(unsafeHtml) {\n    const sanitizer = getSanitizer();\n    if (sanitizer) {\n        return trustedHTMLFromStringBypass(sanitizer.sanitize(SecurityContext.HTML, unsafeHtml) || '');\n    }\n    if (allowSanitizationBypassAndThrow(unsafeHtml, \"HTML\" /* BypassType.Html */)) {\n        return trustedHTMLFromStringBypass(unwrapSafeValue(unsafeHtml));\n    }\n    return _sanitizeHtml(getDocument(), renderStringify(unsafeHtml));\n}\n/**\n * A `style` sanitizer which converts untrusted `style` **string** into trusted string by removing\n * dangerous content.\n *\n * It is possible to mark a string as trusted by calling {@link bypassSanitizationTrustStyle}.\n *\n * @param unsafeStyle untrusted `style`, typically from the user.\n * @returns `style` string which is safe to bind to the `style` properties.\n *\n * @codeGenApi\n */\nfunction ɵɵsanitizeStyle(unsafeStyle) {\n    const sanitizer = getSanitizer();\n    if (sanitizer) {\n        return sanitizer.sanitize(SecurityContext.STYLE, unsafeStyle) || '';\n    }\n    if (allowSanitizationBypassAndThrow(unsafeStyle, \"Style\" /* BypassType.Style */)) {\n        return unwrapSafeValue(unsafeStyle);\n    }\n    return renderStringify(unsafeStyle);\n}\n/**\n * A `url` sanitizer which converts untrusted `url` **string** into trusted string by removing\n * dangerous\n * content.\n *\n * This method parses the `url` and locates potentially dangerous content (such as javascript) and\n * removes it.\n *\n * It is possible to mark a string as trusted by calling {@link bypassSanitizationTrustUrl}.\n *\n * @param unsafeUrl untrusted `url`, typically from the user.\n * @returns `url` string which is safe to bind to the `src` properties such as `<img src>`, because\n * all of the dangerous javascript has been removed.\n *\n * @codeGenApi\n */\nfunction ɵɵsanitizeUrl(unsafeUrl) {\n    const sanitizer = getSanitizer();\n    if (sanitizer) {\n        return sanitizer.sanitize(SecurityContext.URL, unsafeUrl) || '';\n    }\n    if (allowSanitizationBypassAndThrow(unsafeUrl, \"URL\" /* BypassType.Url */)) {\n        return unwrapSafeValue(unsafeUrl);\n    }\n    return _sanitizeUrl(renderStringify(unsafeUrl));\n}\n/**\n * A `url` sanitizer which only lets trusted `url`s through.\n *\n * This passes only `url`s marked trusted by calling {@link bypassSanitizationTrustResourceUrl}.\n *\n * @param unsafeResourceUrl untrusted `url`, typically from the user.\n * @returns `url` string which is safe to bind to the `src` properties such as `<img src>`, because\n * only trusted `url`s have been allowed to pass.\n *\n * @codeGenApi\n */\nfunction ɵɵsanitizeResourceUrl(unsafeResourceUrl) {\n    const sanitizer = getSanitizer();\n    if (sanitizer) {\n        return trustedScriptURLFromStringBypass(sanitizer.sanitize(SecurityContext.RESOURCE_URL, unsafeResourceUrl) || '');\n    }\n    if (allowSanitizationBypassAndThrow(unsafeResourceUrl, \"ResourceURL\" /* BypassType.ResourceUrl */)) {\n        return trustedScriptURLFromStringBypass(unwrapSafeValue(unsafeResourceUrl));\n    }\n    throw new RuntimeError(904 /* RuntimeErrorCode.UNSAFE_VALUE_IN_RESOURCE_URL */, ngDevMode && `unsafe value used in a resource URL context (see ${XSS_SECURITY_URL})`);\n}\n/**\n * A `script` sanitizer which only lets trusted javascript through.\n *\n * This passes only `script`s marked trusted by calling {@link\n * bypassSanitizationTrustScript}.\n *\n * @param unsafeScript untrusted `script`, typically from the user.\n * @returns `url` string which is safe to bind to the `<script>` element such as `<img src>`,\n * because only trusted `scripts` have been allowed to pass.\n *\n * @codeGenApi\n */\nfunction ɵɵsanitizeScript(unsafeScript) {\n    const sanitizer = getSanitizer();\n    if (sanitizer) {\n        return trustedScriptFromStringBypass(sanitizer.sanitize(SecurityContext.SCRIPT, unsafeScript) || '');\n    }\n    if (allowSanitizationBypassAndThrow(unsafeScript, \"Script\" /* BypassType.Script */)) {\n        return trustedScriptFromStringBypass(unwrapSafeValue(unsafeScript));\n    }\n    throw new RuntimeError(905 /* RuntimeErrorCode.UNSAFE_VALUE_IN_SCRIPT */, ngDevMode && 'unsafe value used in a script context');\n}\n/**\n * A template tag function for promoting the associated constant literal to a\n * TrustedHTML. Interpolation is explicitly not allowed.\n *\n * @param html constant template literal containing trusted HTML.\n * @returns TrustedHTML wrapping `html`.\n *\n * @security This is a security-sensitive function and should only be used to\n * convert constant values of attributes and properties found in\n * application-provided Angular templates to TrustedHTML.\n *\n * @codeGenApi\n */\nfunction ɵɵtrustConstantHtml(html) {\n    // The following runtime check ensures that the function was called as a\n    // template tag (e.g. ɵɵtrustConstantHtml`content`), without any interpolation\n    // (e.g. not ɵɵtrustConstantHtml`content ${variable}`). A TemplateStringsArray\n    // is an array with a `raw` property that is also an array. The associated\n    // template literal has no interpolation if and only if the length of the\n    // TemplateStringsArray is 1.\n    if (ngDevMode && (!Array.isArray(html) || !Array.isArray(html.raw) || html.length !== 1)) {\n        throw new Error(`Unexpected interpolation in trusted HTML constant: ${html.join('?')}`);\n    }\n    return trustedHTMLFromString(html[0]);\n}\n/**\n * A template tag function for promoting the associated constant literal to a\n * TrustedScriptURL. Interpolation is explicitly not allowed.\n *\n * @param url constant template literal containing a trusted script URL.\n * @returns TrustedScriptURL wrapping `url`.\n *\n * @security This is a security-sensitive function and should only be used to\n * convert constant values of attributes and properties found in\n * application-provided Angular templates to TrustedScriptURL.\n *\n * @codeGenApi\n */\nfunction ɵɵtrustConstantResourceUrl(url) {\n    // The following runtime check ensures that the function was called as a\n    // template tag (e.g. ɵɵtrustConstantResourceUrl`content`), without any\n    // interpolation (e.g. not ɵɵtrustConstantResourceUrl`content ${variable}`). A\n    // TemplateStringsArray is an array with a `raw` property that is also an\n    // array. The associated template literal has no interpolation if and only if\n    // the length of the TemplateStringsArray is 1.\n    if (ngDevMode && (!Array.isArray(url) || !Array.isArray(url.raw) || url.length !== 1)) {\n        throw new Error(`Unexpected interpolation in trusted URL constant: ${url.join('?')}`);\n    }\n    return trustedScriptURLFromString(url[0]);\n}\n/**\n * Detects which sanitizer to use for URL property, based on tag name and prop name.\n *\n * The rules are based on the RESOURCE_URL context config from\n * `packages/compiler/src/schema/dom_security_schema.ts`.\n * If tag and prop names don't match Resource URL schema, use URL sanitizer.\n */\nfunction getUrlSanitizer(tag, prop) {\n    if ((prop === 'src' &&\n        (tag === 'embed' || tag === 'frame' || tag === 'iframe' || tag === 'media' ||\n            tag === 'script')) ||\n        (prop === 'href' && (tag === 'base' || tag === 'link'))) {\n        return ɵɵsanitizeResourceUrl;\n    }\n    return ɵɵsanitizeUrl;\n}\n/**\n * Sanitizes URL, selecting sanitizer function based on tag and property names.\n *\n * This function is used in case we can't define security context at compile time, when only prop\n * name is available. This happens when we generate host bindings for Directives/Components. The\n * host element is unknown at compile time, so we defer calculation of specific sanitizer to\n * runtime.\n *\n * @param unsafeUrl untrusted `url`, typically from the user.\n * @param tag target element tag name.\n * @param prop name of the property that contains the value.\n * @returns `url` string which is safe to bind.\n *\n * @codeGenApi\n */\nfunction ɵɵsanitizeUrlOrResourceUrl(unsafeUrl, tag, prop) {\n    return getUrlSanitizer(tag, prop)(unsafeUrl);\n}\nfunction validateAgainstEventProperties(name) {\n    if (name.toLowerCase().startsWith('on')) {\n        const errorMessage = `Binding to event property '${name}' is disallowed for security reasons, ` +\n            `please use (${name.slice(2)})=...` +\n            `\\nIf '${name}' is a directive input, make sure the directive is imported by the` +\n            ` current module.`;\n        throw new RuntimeError(306 /* RuntimeErrorCode.INVALID_EVENT_BINDING */, errorMessage);\n    }\n}\nfunction validateAgainstEventAttributes(name) {\n    if (name.toLowerCase().startsWith('on')) {\n        const errorMessage = `Binding to event attribute '${name}' is disallowed for security reasons, ` +\n            `please use (${name.slice(2)})=...`;\n        throw new RuntimeError(306 /* RuntimeErrorCode.INVALID_EVENT_BINDING */, errorMessage);\n    }\n}\nfunction getSanitizer() {\n    const lView = getLView();\n    return lView && lView[SANITIZER];\n}\n\n/**\n * A multi-provider token for initialization functions that will run upon construction of an\n * environment injector.\n *\n * @publicApi\n */\nconst ENVIRONMENT_INITIALIZER = new InjectionToken('ENVIRONMENT_INITIALIZER');\n\n/**\n * An InjectionToken that gets the current `Injector` for `createInjector()`-style injectors.\n *\n * Requesting this token instead of `Injector` allows `StaticInjector` to be tree-shaken from a\n * project.\n *\n * @publicApi\n */\nconst INJECTOR = new InjectionToken('INJECTOR', \n// Disable tslint because this is const enum which gets inlined not top level prop access.\n// tslint:disable-next-line: no-toplevel-property-access\n-1 /* InjectorMarkers.Injector */);\n\nconst INJECTOR_DEF_TYPES = new InjectionToken('INJECTOR_DEF_TYPES');\n\nclass NullInjector {\n    get(token, notFoundValue = THROW_IF_NOT_FOUND) {\n        if (notFoundValue === THROW_IF_NOT_FOUND) {\n            const error = new Error(`NullInjectorError: No provider for ${stringify(token)}!`);\n            error.name = 'NullInjectorError';\n            throw error;\n        }\n        return notFoundValue;\n    }\n}\n\n/**\n * Wrap an array of `Provider`s into `EnvironmentProviders`, preventing them from being accidentally\n * referenced in `@Component in a component injector.\n */\nfunction makeEnvironmentProviders(providers) {\n    return {\n        ɵproviders: providers,\n    };\n}\n/**\n * Collects providers from all NgModules and standalone components, including transitively imported\n * ones.\n *\n * Providers extracted via `importProvidersFrom` are only usable in an application injector or\n * another environment injector (such as a route injector). They should not be used in component\n * providers.\n *\n * More information about standalone components can be found in [this\n * guide](guide/standalone-components).\n *\n * @usageNotes\n * The results of the `importProvidersFrom` call can be used in the `bootstrapApplication` call:\n *\n * ```typescript\n * await bootstrapApplication(RootComponent, {\n *   providers: [\n *     importProvidersFrom(NgModuleOne, NgModuleTwo)\n *   ]\n * });\n * ```\n *\n * You can also use the `importProvidersFrom` results in the `providers` field of a route, when a\n * standalone component is used:\n *\n * ```typescript\n * export const ROUTES: Route[] = [\n *   {\n *     path: 'foo',\n *     providers: [\n *       importProvidersFrom(NgModuleOne, NgModuleTwo)\n *     ],\n *     component: YourStandaloneComponent\n *   }\n * ];\n * ```\n *\n * @returns Collected providers from the specified list of types.\n * @publicApi\n */\nfunction importProvidersFrom(...sources) {\n    return {\n        ɵproviders: internalImportProvidersFrom(true, sources),\n        ɵfromNgModule: true,\n    };\n}\nfunction internalImportProvidersFrom(checkForStandaloneCmp, ...sources) {\n    const providersOut = [];\n    const dedup = new Set(); // already seen types\n    let injectorTypesWithProviders;\n    deepForEach(sources, source => {\n        if ((typeof ngDevMode === 'undefined' || ngDevMode) && checkForStandaloneCmp) {\n            const cmpDef = getComponentDef(source);\n            if (cmpDef?.standalone) {\n                throw new RuntimeError(800 /* RuntimeErrorCode.IMPORT_PROVIDERS_FROM_STANDALONE */, `Importing providers supports NgModule or ModuleWithProviders but got a standalone component \"${stringifyForError(source)}\"`);\n            }\n        }\n        // Narrow `source` to access the internal type analogue for `ModuleWithProviders`.\n        const internalSource = source;\n        if (walkProviderTree(internalSource, providersOut, [], dedup)) {\n            injectorTypesWithProviders || (injectorTypesWithProviders = []);\n            injectorTypesWithProviders.push(internalSource);\n        }\n    });\n    // Collect all providers from `ModuleWithProviders` types.\n    if (injectorTypesWithProviders !== undefined) {\n        processInjectorTypesWithProviders(injectorTypesWithProviders, providersOut);\n    }\n    return providersOut;\n}\n/**\n * Collects all providers from the list of `ModuleWithProviders` and appends them to the provided\n * array.\n */\nfunction processInjectorTypesWithProviders(typesWithProviders, providersOut) {\n    for (let i = 0; i < typesWithProviders.length; i++) {\n        const { ngModule, providers } = typesWithProviders[i];\n        deepForEachProvider(providers, provider => {\n            ngDevMode && validateProvider(provider, providers || EMPTY_ARRAY, ngModule);\n            providersOut.push(provider);\n        });\n    }\n}\n/**\n * The logic visits an `InjectorType`, an `InjectorTypeWithProviders`, or a standalone\n * `ComponentType`, and all of its transitive providers and collects providers.\n *\n * If an `InjectorTypeWithProviders` that declares providers besides the type is specified,\n * the function will return \"true\" to indicate that the providers of the type definition need\n * to be processed. This allows us to process providers of injector types after all imports of\n * an injector definition are processed. (following View Engine semantics: see FW-1349)\n */\nfunction walkProviderTree(container, providersOut, parents, dedup) {\n    container = resolveForwardRef(container);\n    if (!container)\n        return false;\n    // The actual type which had the definition. Usually `container`, but may be an unwrapped type\n    // from `InjectorTypeWithProviders`.\n    let defType = null;\n    let injDef = getInjectorDef(container);\n    const cmpDef = !injDef && getComponentDef(container);\n    if (!injDef && !cmpDef) {\n        // `container` is not an injector type or a component type. It might be:\n        //  * An `InjectorTypeWithProviders` that wraps an injector type.\n        //  * A standalone directive or pipe that got pulled in from a standalone component's\n        //    dependencies.\n        // Try to unwrap it as an `InjectorTypeWithProviders` first.\n        const ngModule = container.ngModule;\n        injDef = getInjectorDef(ngModule);\n        if (injDef) {\n            defType = ngModule;\n        }\n        else {\n            // Not a component or injector type, so ignore it.\n            return false;\n        }\n    }\n    else if (cmpDef && !cmpDef.standalone) {\n        return false;\n    }\n    else {\n        defType = container;\n    }\n    // Check for circular dependencies.\n    if (ngDevMode && parents.indexOf(defType) !== -1) {\n        const defName = stringify(defType);\n        const path = parents.map(stringify);\n        throwCyclicDependencyError(defName, path);\n    }\n    // Check for multiple imports of the same module\n    const isDuplicate = dedup.has(defType);\n    if (cmpDef) {\n        if (isDuplicate) {\n            // This component definition has already been processed.\n            return false;\n        }\n        dedup.add(defType);\n        if (cmpDef.dependencies) {\n            const deps = typeof cmpDef.dependencies === 'function' ? cmpDef.dependencies() : cmpDef.dependencies;\n            for (const dep of deps) {\n                walkProviderTree(dep, providersOut, parents, dedup);\n            }\n        }\n    }\n    else if (injDef) {\n        // First, include providers from any imports.\n        if (injDef.imports != null && !isDuplicate) {\n            // Before processing defType's imports, add it to the set of parents. This way, if it ends\n            // up deeply importing itself, this can be detected.\n            ngDevMode && parents.push(defType);\n            // Add it to the set of dedups. This way we can detect multiple imports of the same module\n            dedup.add(defType);\n            let importTypesWithProviders;\n            try {\n                deepForEach(injDef.imports, imported => {\n                    if (walkProviderTree(imported, providersOut, parents, dedup)) {\n                        importTypesWithProviders || (importTypesWithProviders = []);\n                        // If the processed import is an injector type with providers, we store it in the\n                        // list of import types with providers, so that we can process those afterwards.\n                        importTypesWithProviders.push(imported);\n                    }\n                });\n            }\n            finally {\n                // Remove it from the parents set when finished.\n                ngDevMode && parents.pop();\n            }\n            // Imports which are declared with providers (TypeWithProviders) need to be processed\n            // after all imported modules are processed. This is similar to how View Engine\n            // processes/merges module imports in the metadata resolver. See: FW-1349.\n            if (importTypesWithProviders !== undefined) {\n                processInjectorTypesWithProviders(importTypesWithProviders, providersOut);\n            }\n        }\n        if (!isDuplicate) {\n            // Track the InjectorType and add a provider for it.\n            // It's important that this is done after the def's imports.\n            const factory = getFactoryDef(defType) || (() => new defType());\n            // Append extra providers to make more info available for consumers (to retrieve an injector\n            // type), as well as internally (to calculate an injection scope correctly and eagerly\n            // instantiate a `defType` when an injector is created).\n            providersOut.push(\n            // Provider to create `defType` using its factory.\n            { provide: defType, useFactory: factory, deps: EMPTY_ARRAY }, \n            // Make this `defType` available to an internal logic that calculates injector scope.\n            { provide: INJECTOR_DEF_TYPES, useValue: defType, multi: true }, \n            // Provider to eagerly instantiate `defType` via `ENVIRONMENT_INITIALIZER`.\n            { provide: ENVIRONMENT_INITIALIZER, useValue: () => ɵɵinject(defType), multi: true } //\n            );\n        }\n        // Next, include providers listed on the definition itself.\n        const defProviders = injDef.providers;\n        if (defProviders != null && !isDuplicate) {\n            const injectorType = container;\n            deepForEachProvider(defProviders, provider => {\n                ngDevMode && validateProvider(provider, defProviders, injectorType);\n                providersOut.push(provider);\n            });\n        }\n    }\n    else {\n        // Should not happen, but just in case.\n        return false;\n    }\n    return (defType !== container &&\n        container.providers !== undefined);\n}\nfunction validateProvider(provider, providers, containerType) {\n    if (isTypeProvider(provider) || isValueProvider(provider) || isFactoryProvider(provider) ||\n        isExistingProvider(provider)) {\n        return;\n    }\n    // Here we expect the provider to be a `useClass` provider (by elimination).\n    const classRef = resolveForwardRef(provider && (provider.useClass || provider.provide));\n    if (!classRef) {\n        throwInvalidProviderError(containerType, providers, provider);\n    }\n}\nfunction deepForEachProvider(providers, fn) {\n    for (let provider of providers) {\n        if (isEnvironmentProviders(provider)) {\n            provider = provider.ɵproviders;\n        }\n        if (Array.isArray(provider)) {\n            deepForEachProvider(provider, fn);\n        }\n        else {\n            fn(provider);\n        }\n    }\n}\nconst USE_VALUE$1 = getClosureSafeProperty({ provide: String, useValue: getClosureSafeProperty });\nfunction isValueProvider(value) {\n    return value !== null && typeof value == 'object' && USE_VALUE$1 in value;\n}\nfunction isExistingProvider(value) {\n    return !!(value && value.useExisting);\n}\nfunction isFactoryProvider(value) {\n    return !!(value && value.useFactory);\n}\nfunction isTypeProvider(value) {\n    return typeof value === 'function';\n}\nfunction isClassProvider(value) {\n    return !!value.useClass;\n}\n\n/**\n * An internal token whose presence in an injector indicates that the injector should treat itself\n * as a root scoped injector when processing requests for unknown tokens which may indicate\n * they are provided in the root scope.\n */\nconst INJECTOR_SCOPE = new InjectionToken('Set Injector scope.');\n\n/**\n * Marker which indicates that a value has not yet been created from the factory function.\n */\nconst NOT_YET = {};\n/**\n * Marker which indicates that the factory function for a token is in the process of being called.\n *\n * If the injector is asked to inject a token with its value set to CIRCULAR, that indicates\n * injection of a dependency has recursively attempted to inject the original token, and there is\n * a circular dependency among the providers.\n */\nconst CIRCULAR = {};\n/**\n * A lazily initialized NullInjector.\n */\nlet NULL_INJECTOR$1 = undefined;\nfunction getNullInjector() {\n    if (NULL_INJECTOR$1 === undefined) {\n        NULL_INJECTOR$1 = new NullInjector();\n    }\n    return NULL_INJECTOR$1;\n}\n/**\n * An `Injector` that's part of the environment injector hierarchy, which exists outside of the\n * component tree.\n */\nclass EnvironmentInjector {\n}\nclass R3Injector extends EnvironmentInjector {\n    /**\n     * Flag indicating that this injector was previously destroyed.\n     */\n    get destroyed() {\n        return this._destroyed;\n    }\n    constructor(providers, parent, source, scopes) {\n        super();\n        this.parent = parent;\n        this.source = source;\n        this.scopes = scopes;\n        /**\n         * Map of tokens to records which contain the instances of those tokens.\n         * - `null` value implies that we don't have the record. Used by tree-shakable injectors\n         * to prevent further searches.\n         */\n        this.records = new Map();\n        /**\n         * Set of values instantiated by this injector which contain `ngOnDestroy` lifecycle hooks.\n         */\n        this._ngOnDestroyHooks = new Set();\n        this._onDestroyHooks = [];\n        this._destroyed = false;\n        // Start off by creating Records for every provider.\n        forEachSingleProvider(providers, provider => this.processProvider(provider));\n        // Make sure the INJECTOR token provides this injector.\n        this.records.set(INJECTOR, makeRecord(undefined, this));\n        // And `EnvironmentInjector` if the current injector is supposed to be env-scoped.\n        if (scopes.has('environment')) {\n            this.records.set(EnvironmentInjector, makeRecord(undefined, this));\n        }\n        // Detect whether this injector has the APP_ROOT_SCOPE token and thus should provide\n        // any injectable scoped to APP_ROOT_SCOPE.\n        const record = this.records.get(INJECTOR_SCOPE);\n        if (record != null && typeof record.value === 'string') {\n            this.scopes.add(record.value);\n        }\n        this.injectorDefTypes =\n            new Set(this.get(INJECTOR_DEF_TYPES.multi, EMPTY_ARRAY, InjectFlags.Self));\n    }\n    /**\n     * Destroy the injector and release references to every instance or provider associated with it.\n     *\n     * Also calls the `OnDestroy` lifecycle hooks of every instance that was created for which a\n     * hook was found.\n     */\n    destroy() {\n        this.assertNotDestroyed();\n        // Set destroyed = true first, in case lifecycle hooks re-enter destroy().\n        this._destroyed = true;\n        try {\n            // Call all the lifecycle hooks.\n            for (const service of this._ngOnDestroyHooks) {\n                service.ngOnDestroy();\n            }\n            for (const hook of this._onDestroyHooks) {\n                hook();\n            }\n        }\n        finally {\n            // Release all references.\n            this.records.clear();\n            this._ngOnDestroyHooks.clear();\n            this.injectorDefTypes.clear();\n            this._onDestroyHooks.length = 0;\n        }\n    }\n    onDestroy(callback) {\n        this._onDestroyHooks.push(callback);\n    }\n    runInContext(fn) {\n        this.assertNotDestroyed();\n        const previousInjector = setCurrentInjector(this);\n        const previousInjectImplementation = setInjectImplementation(undefined);\n        try {\n            return fn();\n        }\n        finally {\n            setCurrentInjector(previousInjector);\n            setInjectImplementation(previousInjectImplementation);\n        }\n    }\n    get(token, notFoundValue = THROW_IF_NOT_FOUND, flags = InjectFlags.Default) {\n        this.assertNotDestroyed();\n        flags = convertToBitFlags(flags);\n        // Set the injection context.\n        const previousInjector = setCurrentInjector(this);\n        const previousInjectImplementation = setInjectImplementation(undefined);\n        try {\n            // Check for the SkipSelf flag.\n            if (!(flags & InjectFlags.SkipSelf)) {\n                // SkipSelf isn't set, check if the record belongs to this injector.\n                let record = this.records.get(token);\n                if (record === undefined) {\n                    // No record, but maybe the token is scoped to this injector. Look for an injectable\n                    // def with a scope matching this injector.\n                    const def = couldBeInjectableType(token) && getInjectableDef(token);\n                    if (def && this.injectableDefInScope(def)) {\n                        // Found an injectable def and it's scoped to this injector. Pretend as if it was here\n                        // all along.\n                        record = makeRecord(injectableDefOrInjectorDefFactory(token), NOT_YET);\n                    }\n                    else {\n                        record = null;\n                    }\n                    this.records.set(token, record);\n                }\n                // If a record was found, get the instance for it and return it.\n                if (record != null /* NOT null || undefined */) {\n                    return this.hydrate(token, record);\n                }\n            }\n            // Select the next injector based on the Self flag - if self is set, the next injector is\n            // the NullInjector, otherwise it's the parent.\n            const nextInjector = !(flags & InjectFlags.Self) ? this.parent : getNullInjector();\n            // Set the notFoundValue based on the Optional flag - if optional is set and notFoundValue\n            // is undefined, the value is null, otherwise it's the notFoundValue.\n            notFoundValue = (flags & InjectFlags.Optional) && notFoundValue === THROW_IF_NOT_FOUND ?\n                null :\n                notFoundValue;\n            return nextInjector.get(token, notFoundValue);\n        }\n        catch (e) {\n            if (e.name === 'NullInjectorError') {\n                const path = e[NG_TEMP_TOKEN_PATH] = e[NG_TEMP_TOKEN_PATH] || [];\n                path.unshift(stringify(token));\n                if (previousInjector) {\n                    // We still have a parent injector, keep throwing\n                    throw e;\n                }\n                else {\n                    // Format & throw the final error message when we don't have any previous injector\n                    return catchInjectorError(e, token, 'R3InjectorError', this.source);\n                }\n            }\n            else {\n                throw e;\n            }\n        }\n        finally {\n            // Lastly, restore the previous injection context.\n            setInjectImplementation(previousInjectImplementation);\n            setCurrentInjector(previousInjector);\n        }\n    }\n    /** @internal */\n    resolveInjectorInitializers() {\n        const previousInjector = setCurrentInjector(this);\n        const previousInjectImplementation = setInjectImplementation(undefined);\n        try {\n            const initializers = this.get(ENVIRONMENT_INITIALIZER.multi, EMPTY_ARRAY, InjectFlags.Self);\n            if (ngDevMode && !Array.isArray(initializers)) {\n                throw new RuntimeError(-209 /* RuntimeErrorCode.INVALID_MULTI_PROVIDER */, 'Unexpected type of the `ENVIRONMENT_INITIALIZER` token value ' +\n                    `(expected an array, but got ${typeof initializers}). ` +\n                    'Please check that the `ENVIRONMENT_INITIALIZER` token is configured as a ' +\n                    '`multi: true` provider.');\n            }\n            for (const initializer of initializers) {\n                initializer();\n            }\n        }\n        finally {\n            setCurrentInjector(previousInjector);\n            setInjectImplementation(previousInjectImplementation);\n        }\n    }\n    toString() {\n        const tokens = [];\n        const records = this.records;\n        for (const token of records.keys()) {\n            tokens.push(stringify(token));\n        }\n        return `R3Injector[${tokens.join(', ')}]`;\n    }\n    assertNotDestroyed() {\n        if (this._destroyed) {\n            throw new RuntimeError(205 /* RuntimeErrorCode.INJECTOR_ALREADY_DESTROYED */, ngDevMode && 'Injector has already been destroyed.');\n        }\n    }\n    /**\n     * Process a `SingleProvider` and add it.\n     */\n    processProvider(provider) {\n        // Determine the token from the provider. Either it's its own token, or has a {provide: ...}\n        // property.\n        provider = resolveForwardRef(provider);\n        let token = isTypeProvider(provider) ? provider : resolveForwardRef(provider && provider.provide);\n        // Construct a `Record` for the provider.\n        const record = providerToRecord(provider);\n        if (!isTypeProvider(provider) && provider.multi === true) {\n            // If the provider indicates that it's a multi-provider, process it specially.\n            // First check whether it's been defined already.\n            let multiRecord = this.records.get(token);\n            if (multiRecord) {\n                // It has. Throw a nice error if\n                if (ngDevMode && multiRecord.multi === undefined) {\n                    throwMixedMultiProviderError();\n                }\n            }\n            else {\n                multiRecord = makeRecord(undefined, NOT_YET, true);\n                multiRecord.factory = () => injectArgs(multiRecord.multi);\n                this.records.set(token, multiRecord);\n            }\n            token = provider;\n            multiRecord.multi.push(provider);\n        }\n        else {\n            const existing = this.records.get(token);\n            if (ngDevMode && existing && existing.multi !== undefined) {\n                throwMixedMultiProviderError();\n            }\n        }\n        this.records.set(token, record);\n    }\n    hydrate(token, record) {\n        if (ngDevMode && record.value === CIRCULAR) {\n            throwCyclicDependencyError(stringify(token));\n        }\n        else if (record.value === NOT_YET) {\n            record.value = CIRCULAR;\n            record.value = record.factory();\n        }\n        if (typeof record.value === 'object' && record.value && hasOnDestroy(record.value)) {\n            this._ngOnDestroyHooks.add(record.value);\n        }\n        return record.value;\n    }\n    injectableDefInScope(def) {\n        if (!def.providedIn) {\n            return false;\n        }\n        const providedIn = resolveForwardRef(def.providedIn);\n        if (typeof providedIn === 'string') {\n            return providedIn === 'any' || (this.scopes.has(providedIn));\n        }\n        else {\n            return this.injectorDefTypes.has(providedIn);\n        }\n    }\n}\nfunction injectableDefOrInjectorDefFactory(token) {\n    // Most tokens will have an injectable def directly on them, which specifies a factory directly.\n    const injectableDef = getInjectableDef(token);\n    const factory = injectableDef !== null ? injectableDef.factory : getFactoryDef(token);\n    if (factory !== null) {\n        return factory;\n    }\n    // InjectionTokens should have an injectable def (ɵprov) and thus should be handled above.\n    // If it's missing that, it's an error.\n    if (token instanceof InjectionToken) {\n        throw new RuntimeError(204 /* RuntimeErrorCode.INVALID_INJECTION_TOKEN */, ngDevMode && `Token ${stringify(token)} is missing a ɵprov definition.`);\n    }\n    // Undecorated types can sometimes be created if they have no constructor arguments.\n    if (token instanceof Function) {\n        return getUndecoratedInjectableFactory(token);\n    }\n    // There was no way to resolve a factory for this token.\n    throw new RuntimeError(204 /* RuntimeErrorCode.INVALID_INJECTION_TOKEN */, ngDevMode && 'unreachable');\n}\nfunction getUndecoratedInjectableFactory(token) {\n    // If the token has parameters then it has dependencies that we cannot resolve implicitly.\n    const paramLength = token.length;\n    if (paramLength > 0) {\n        const args = newArray(paramLength, '?');\n        throw new RuntimeError(204 /* RuntimeErrorCode.INVALID_INJECTION_TOKEN */, ngDevMode && `Can't resolve all parameters for ${stringify(token)}: (${args.join(', ')}).`);\n    }\n    // The constructor function appears to have no parameters.\n    // This might be because it inherits from a super-class. In which case, use an injectable\n    // def from an ancestor if there is one.\n    // Otherwise this really is a simple class with no dependencies, so return a factory that\n    // just instantiates the zero-arg constructor.\n    const inheritedInjectableDef = getInheritedInjectableDef(token);\n    if (inheritedInjectableDef !== null) {\n        return () => inheritedInjectableDef.factory(token);\n    }\n    else {\n        return () => new token();\n    }\n}\nfunction providerToRecord(provider) {\n    if (isValueProvider(provider)) {\n        return makeRecord(undefined, provider.useValue);\n    }\n    else {\n        const factory = providerToFactory(provider);\n        return makeRecord(factory, NOT_YET);\n    }\n}\n/**\n * Converts a `SingleProvider` into a factory function.\n *\n * @param provider provider to convert to factory\n */\nfunction providerToFactory(provider, ngModuleType, providers) {\n    let factory = undefined;\n    if (ngDevMode && isEnvironmentProviders(provider)) {\n        throwInvalidProviderError(undefined, providers, provider);\n    }\n    if (isTypeProvider(provider)) {\n        const unwrappedProvider = resolveForwardRef(provider);\n        return getFactoryDef(unwrappedProvider) || injectableDefOrInjectorDefFactory(unwrappedProvider);\n    }\n    else {\n        if (isValueProvider(provider)) {\n            factory = () => resolveForwardRef(provider.useValue);\n        }\n        else if (isFactoryProvider(provider)) {\n            factory = () => provider.useFactory(...injectArgs(provider.deps || []));\n        }\n        else if (isExistingProvider(provider)) {\n            factory = () => ɵɵinject(resolveForwardRef(provider.useExisting));\n        }\n        else {\n            const classRef = resolveForwardRef(provider &&\n                (provider.useClass || provider.provide));\n            if (ngDevMode && !classRef) {\n                throwInvalidProviderError(ngModuleType, providers, provider);\n            }\n            if (hasDeps(provider)) {\n                factory = () => new (classRef)(...injectArgs(provider.deps));\n            }\n            else {\n                return getFactoryDef(classRef) || injectableDefOrInjectorDefFactory(classRef);\n            }\n        }\n    }\n    return factory;\n}\nfunction makeRecord(factory, value, multi = false) {\n    return {\n        factory: factory,\n        value: value,\n        multi: multi ? [] : undefined,\n    };\n}\nfunction hasDeps(value) {\n    return !!value.deps;\n}\nfunction hasOnDestroy(value) {\n    return value !== null && typeof value === 'object' &&\n        typeof value.ngOnDestroy === 'function';\n}\nfunction couldBeInjectableType(value) {\n    return (typeof value === 'function') ||\n        (typeof value === 'object' && value instanceof InjectionToken);\n}\nfunction forEachSingleProvider(providers, fn) {\n    for (const provider of providers) {\n        if (Array.isArray(provider)) {\n            forEachSingleProvider(provider, fn);\n        }\n        else if (provider && isEnvironmentProviders(provider)) {\n            forEachSingleProvider(provider.ɵproviders, fn);\n        }\n        else {\n            fn(provider);\n        }\n    }\n}\n\n/**\n * Represents a component created by a `ComponentFactory`.\n * Provides access to the component instance and related objects,\n * and provides the means of destroying the instance.\n *\n * @publicApi\n */\nclass ComponentRef$1 {\n}\n/**\n * Base class for a factory that can create a component dynamically.\n * Instantiate a factory for a given type of component with `resolveComponentFactory()`.\n * Use the resulting `ComponentFactory.create()` method to create a component of that type.\n *\n * @see [Dynamic Components](guide/dynamic-component-loader)\n *\n * @publicApi\n *\n * @deprecated Angular no longer requires Component factories. Please use other APIs where\n *     Component class can be used directly.\n */\nclass ComponentFactory$1 {\n}\n\nfunction noComponentFactoryError(component) {\n    const error = Error(`No component factory found for ${stringify(component)}. Did you add it to @NgModule.entryComponents?`);\n    error[ERROR_COMPONENT] = component;\n    return error;\n}\nconst ERROR_COMPONENT = 'ngComponent';\nfunction getComponent$1(error) {\n    return error[ERROR_COMPONENT];\n}\nclass _NullComponentFactoryResolver {\n    resolveComponentFactory(component) {\n        throw noComponentFactoryError(component);\n    }\n}\n/**\n * A simple registry that maps `Components` to generated `ComponentFactory` classes\n * that can be used to create instances of components.\n * Use to obtain the factory for a given component type,\n * then use the factory's `create()` method to create a component of that type.\n *\n * Note: since v13, dynamic component creation via\n * [`ViewContainerRef.createComponent`](api/core/ViewContainerRef#createComponent)\n * does **not** require resolving component factory: component class can be used directly.\n *\n * @publicApi\n *\n * @deprecated Angular no longer requires Component factories. Please use other APIs where\n *     Component class can be used directly.\n */\nclass ComponentFactoryResolver$1 {\n}\nComponentFactoryResolver$1.NULL = ( /* @__PURE__ */new _NullComponentFactoryResolver());\n\n/**\n * Creates an ElementRef from the most recent node.\n *\n * @returns The ElementRef instance to use\n */\nfunction injectElementRef() {\n    return createElementRef(getCurrentTNode(), getLView());\n}\n/**\n * Creates an ElementRef given a node.\n *\n * @param tNode The node for which you'd like an ElementRef\n * @param lView The view to which the node belongs\n * @returns The ElementRef instance to use\n */\nfunction createElementRef(tNode, lView) {\n    return new ElementRef(getNativeByTNode(tNode, lView));\n}\n/**\n * A wrapper around a native element inside of a View.\n *\n * An `ElementRef` is backed by a render-specific element. In the browser, this is usually a DOM\n * element.\n *\n * @security Permitting direct access to the DOM can make your application more vulnerable to\n * XSS attacks. Carefully review any use of `ElementRef` in your code. For more detail, see the\n * [Security Guide](https://g.co/ng/security).\n *\n * @publicApi\n */\n// Note: We don't expose things like `Injector`, `ViewContainer`, ... here,\n// i.e. users have to ask for what they need. With that, we can build better analysis tools\n// and could do better codegen in the future.\nclass ElementRef {\n    constructor(nativeElement) {\n        this.nativeElement = nativeElement;\n    }\n}\n/**\n * @internal\n * @nocollapse\n */\nElementRef.__NG_ELEMENT_ID__ = injectElementRef;\n/**\n * Unwraps `ElementRef` and return the `nativeElement`.\n *\n * @param value value to unwrap\n * @returns `nativeElement` if `ElementRef` otherwise returns value as is.\n */\nfunction unwrapElementRef(value) {\n    return value instanceof ElementRef ? value.nativeElement : value;\n}\n\n/**\n * Creates and initializes a custom renderer that implements the `Renderer2` base class.\n *\n * @publicApi\n */\nclass RendererFactory2 {\n}\n/**\n * Extend this base class to implement custom rendering. By default, Angular\n * renders a template into DOM. You can use custom rendering to intercept\n * rendering calls, or to render to something other than DOM.\n *\n * Create your custom renderer using `RendererFactory2`.\n *\n * Use a custom renderer to bypass Angular's templating and\n * make custom UI changes that can't be expressed declaratively.\n * For example if you need to set a property or an attribute whose name is\n * not statically known, use the `setProperty()` or\n * `setAttribute()` method.\n *\n * @publicApi\n */\nclass Renderer2 {\n}\n/**\n * @internal\n * @nocollapse\n */\nRenderer2.__NG_ELEMENT_ID__ = () => injectRenderer2();\n/** Injects a Renderer2 for the current component. */\nfunction injectRenderer2() {\n    // We need the Renderer to be based on the component that it's being injected into, however since\n    // DI happens before we've entered its view, `getLView` will return the parent view instead.\n    const lView = getLView();\n    const tNode = getCurrentTNode();\n    const nodeAtIndex = getComponentLViewByIndex(tNode.index, lView);\n    return (isLView(nodeAtIndex) ? nodeAtIndex : lView)[RENDERER];\n}\n\n/**\n * Sanitizer is used by the views to sanitize potentially dangerous values.\n *\n * @publicApi\n */\nclass Sanitizer {\n}\n/** @nocollapse */\nSanitizer.ɵprov = ɵɵdefineInjectable({\n    token: Sanitizer,\n    providedIn: 'root',\n    factory: () => null,\n});\n\n/**\n * @description Represents the version of Angular\n *\n * @publicApi\n */\nclass Version {\n    constructor(full) {\n        this.full = full;\n        this.major = full.split('.')[0];\n        this.minor = full.split('.')[1];\n        this.patch = full.split('.').slice(2).join('.');\n    }\n}\n/**\n * @publicApi\n */\nconst VERSION = new Version('15.2.10');\n\n// This default value is when checking the hierarchy for a token.\n//\n// It means both:\n// - the token is not provided by the current injector,\n// - only the element injectors should be checked (ie do not check module injectors\n//\n//          mod1\n//         /\n//       el1   mod2\n//         \\  /\n//         el2\n//\n// When requesting el2.injector.get(token), we should check in the following order and return the\n// first found value:\n// - el2.injector.get(token, default)\n// - el1.injector.get(token, NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR) -> do not check the module\n// - mod2.injector.get(token, default)\nconst NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR = {};\n\nconst ERROR_ORIGINAL_ERROR = 'ngOriginalError';\nfunction wrappedError(message, originalError) {\n    const msg = `${message} caused by: ${originalError instanceof Error ? originalError.message : originalError}`;\n    const error = Error(msg);\n    error[ERROR_ORIGINAL_ERROR] = originalError;\n    return error;\n}\nfunction getOriginalError(error) {\n    return error[ERROR_ORIGINAL_ERROR];\n}\n\n/**\n * Provides a hook for centralized exception handling.\n *\n * The default implementation of `ErrorHandler` prints error messages to the `console`. To\n * intercept error handling, write a custom exception handler that replaces this default as\n * appropriate for your app.\n *\n * @usageNotes\n * ### Example\n *\n * ```\n * class MyErrorHandler implements ErrorHandler {\n *   handleError(error) {\n *     // do something with the exception\n *   }\n * }\n *\n * @NgModule({\n *   providers: [{provide: ErrorHandler, useClass: MyErrorHandler}]\n * })\n * class MyModule {}\n * ```\n *\n * @publicApi\n */\nclass ErrorHandler {\n    constructor() {\n        /**\n         * @internal\n         */\n        this._console = console;\n    }\n    handleError(error) {\n        const originalError = this._findOriginalError(error);\n        this._console.error('ERROR', error);\n        if (originalError) {\n            this._console.error('ORIGINAL ERROR', originalError);\n        }\n    }\n    /** @internal */\n    _findOriginalError(error) {\n        let e = error && getOriginalError(error);\n        while (e && getOriginalError(e)) {\n            e = getOriginalError(e);\n        }\n        return e || null;\n    }\n}\n\nfunction normalizeDebugBindingName(name) {\n    // Attribute names with `$` (eg `x-y$`) are valid per spec, but unsupported by some browsers\n    name = camelCaseToDashCase(name.replace(/[$@]/g, '_'));\n    return `ng-reflect-${name}`;\n}\nconst CAMEL_CASE_REGEXP = /([A-Z])/g;\nfunction camelCaseToDashCase(input) {\n    return input.replace(CAMEL_CASE_REGEXP, (...m) => '-' + m[1].toLowerCase());\n}\nfunction normalizeDebugBindingValue(value) {\n    try {\n        // Limit the size of the value as otherwise the DOM just gets polluted.\n        return value != null ? value.toString().slice(0, 30) : value;\n    }\n    catch (e) {\n        return '[ERROR] Exception while trying to serialize the value';\n    }\n}\n\n/**\n *\n * @codeGenApi\n */\nfunction ɵɵresolveWindow(element) {\n    return element.ownerDocument.defaultView;\n}\n/**\n *\n * @codeGenApi\n */\nfunction ɵɵresolveDocument(element) {\n    return element.ownerDocument;\n}\n/**\n *\n * @codeGenApi\n */\nfunction ɵɵresolveBody(element) {\n    return element.ownerDocument.body;\n}\n/**\n * The special delimiter we use to separate property names, prefixes, and suffixes\n * in property binding metadata. See storeBindingMetadata().\n *\n * We intentionally use the Unicode \"REPLACEMENT CHARACTER\" (U+FFFD) as a delimiter\n * because it is a very uncommon character that is unlikely to be part of a user's\n * property names or interpolation strings. If it is in fact used in a property\n * binding, DebugElement.properties will not return the correct value for that\n * binding. However, there should be no runtime effect for real applications.\n *\n * This character is typically rendered as a question mark inside of a diamond.\n * See https://en.wikipedia.org/wiki/Specials_(Unicode_block)\n *\n */\nconst INTERPOLATION_DELIMITER = `�`;\n/**\n * Unwrap a value which might be behind a closure (for forward declaration reasons).\n */\nfunction maybeUnwrapFn(value) {\n    if (value instanceof Function) {\n        return value();\n    }\n    else {\n        return value;\n    }\n}\n\n/** Verifies that a given type is a Standalone Component. */\nfunction assertStandaloneComponentType(type) {\n    assertComponentDef(type);\n    const componentDef = getComponentDef(type);\n    if (!componentDef.standalone) {\n        throw new RuntimeError(907 /* RuntimeErrorCode.TYPE_IS_NOT_STANDALONE */, `The ${stringifyForError(type)} component is not marked as standalone, ` +\n            `but Angular expects to have a standalone component here. ` +\n            `Please make sure the ${stringifyForError(type)} component has ` +\n            `the \\`standalone: true\\` flag in the decorator.`);\n    }\n}\n/** Verifies whether a given type is a component */\nfunction assertComponentDef(type) {\n    if (!getComponentDef(type)) {\n        throw new RuntimeError(906 /* RuntimeErrorCode.MISSING_GENERATED_DEF */, `The ${stringifyForError(type)} is not an Angular component, ` +\n            `make sure it has the \\`@Component\\` decorator.`);\n    }\n}\n/** Called when there are multiple component selectors that match a given node */\nfunction throwMultipleComponentError(tNode, first, second) {\n    throw new RuntimeError(-300 /* RuntimeErrorCode.MULTIPLE_COMPONENTS_MATCH */, `Multiple components match node with tagname ${tNode.value}: ` +\n        `${stringifyForError(first)} and ` +\n        `${stringifyForError(second)}`);\n}\n/** Throws an ExpressionChangedAfterChecked error if checkNoChanges mode is on. */\nfunction throwErrorIfNoChangesMode(creationMode, oldValue, currValue, propName) {\n    const field = propName ? ` for '${propName}'` : '';\n    let msg = `ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value${field}: '${oldValue}'. Current value: '${currValue}'.`;\n    if (creationMode) {\n        msg +=\n            ` It seems like the view has been created after its parent and its children have been dirty checked.` +\n                ` Has it been created in a change detection hook?`;\n    }\n    throw new RuntimeError(-100 /* RuntimeErrorCode.EXPRESSION_CHANGED_AFTER_CHECKED */, msg);\n}\nfunction constructDetailsForInterpolation(lView, rootIndex, expressionIndex, meta, changedValue) {\n    const [propName, prefix, ...chunks] = meta.split(INTERPOLATION_DELIMITER);\n    let oldValue = prefix, newValue = prefix;\n    for (let i = 0; i < chunks.length; i++) {\n        const slotIdx = rootIndex + i;\n        oldValue += `${lView[slotIdx]}${chunks[i]}`;\n        newValue += `${slotIdx === expressionIndex ? changedValue : lView[slotIdx]}${chunks[i]}`;\n    }\n    return { propName, oldValue, newValue };\n}\n/**\n * Constructs an object that contains details for the ExpressionChangedAfterItHasBeenCheckedError:\n * - property name (for property bindings or interpolations)\n * - old and new values, enriched using information from metadata\n *\n * More information on the metadata storage format can be found in `storePropertyBindingMetadata`\n * function description.\n */\nfunction getExpressionChangedErrorDetails(lView, bindingIndex, oldValue, newValue) {\n    const tData = lView[TVIEW].data;\n    const metadata = tData[bindingIndex];\n    if (typeof metadata === 'string') {\n        // metadata for property interpolation\n        if (metadata.indexOf(INTERPOLATION_DELIMITER) > -1) {\n            return constructDetailsForInterpolation(lView, bindingIndex, bindingIndex, metadata, newValue);\n        }\n        // metadata for property binding\n        return { propName: metadata, oldValue, newValue };\n    }\n    // metadata is not available for this expression, check if this expression is a part of the\n    // property interpolation by going from the current binding index left and look for a string that\n    // contains INTERPOLATION_DELIMITER, the layout in tView.data for this case will look like this:\n    // [..., 'id�Prefix � and � suffix', null, null, null, ...]\n    if (metadata === null) {\n        let idx = bindingIndex - 1;\n        while (typeof tData[idx] !== 'string' && tData[idx + 1] === null) {\n            idx--;\n        }\n        const meta = tData[idx];\n        if (typeof meta === 'string') {\n            const matches = meta.match(new RegExp(INTERPOLATION_DELIMITER, 'g'));\n            // first interpolation delimiter separates property name from interpolation parts (in case of\n            // property interpolations), so we subtract one from total number of found delimiters\n            if (matches && (matches.length - 1) > bindingIndex - idx) {\n                return constructDetailsForInterpolation(lView, idx, bindingIndex, meta, newValue);\n            }\n        }\n    }\n    return { propName: undefined, oldValue, newValue };\n}\n\n/**\n * Returns an index of `classToSearch` in `className` taking token boundaries into account.\n *\n * `classIndexOf('AB A', 'A', 0)` will be 3 (not 0 since `AB!==A`)\n *\n * @param className A string containing classes (whitespace separated)\n * @param classToSearch A class name to locate\n * @param startingIndex Starting location of search\n * @returns an index of the located class (or -1 if not found)\n */\nfunction classIndexOf(className, classToSearch, startingIndex) {\n    ngDevMode && assertNotEqual(classToSearch, '', 'can not look for \"\" string.');\n    let end = className.length;\n    while (true) {\n        const foundIndex = className.indexOf(classToSearch, startingIndex);\n        if (foundIndex === -1)\n            return foundIndex;\n        if (foundIndex === 0 || className.charCodeAt(foundIndex - 1) <= 32 /* CharCode.SPACE */) {\n            // Ensure that it has leading whitespace\n            const length = classToSearch.length;\n            if (foundIndex + length === end ||\n                className.charCodeAt(foundIndex + length) <= 32 /* CharCode.SPACE */) {\n                // Ensure that it has trailing whitespace\n                return foundIndex;\n            }\n        }\n        // False positive, keep searching from where we left off.\n        startingIndex = foundIndex + 1;\n    }\n}\n\nconst NG_TEMPLATE_SELECTOR = 'ng-template';\n/**\n * Search the `TAttributes` to see if it contains `cssClassToMatch` (case insensitive)\n *\n * @param attrs `TAttributes` to search through.\n * @param cssClassToMatch class to match (lowercase)\n * @param isProjectionMode Whether or not class matching should look into the attribute `class` in\n *    addition to the `AttributeMarker.Classes`.\n */\nfunction isCssClassMatching(attrs, cssClassToMatch, isProjectionMode) {\n    // TODO(misko): The fact that this function needs to know about `isProjectionMode` seems suspect.\n    // It is strange to me that sometimes the class information comes in form of `class` attribute\n    // and sometimes in form of `AttributeMarker.Classes`. Some investigation is needed to determine\n    // if that is the right behavior.\n    ngDevMode &&\n        assertEqual(cssClassToMatch, cssClassToMatch.toLowerCase(), 'Class name expected to be lowercase.');\n    let i = 0;\n    // Indicates whether we are processing value from the implicit\n    // attribute section (i.e. before the first marker in the array).\n    let isImplicitAttrsSection = true;\n    while (i < attrs.length) {\n        let item = attrs[i++];\n        if (typeof item === 'string' && isImplicitAttrsSection) {\n            const value = attrs[i++];\n            if (isProjectionMode && item === 'class') {\n                // We found a `class` attribute in the implicit attribute section,\n                // check if it matches the value of the `cssClassToMatch` argument.\n                if (classIndexOf(value.toLowerCase(), cssClassToMatch, 0) !== -1) {\n                    return true;\n                }\n            }\n        }\n        else if (item === 1 /* AttributeMarker.Classes */) {\n            // We found the classes section. Start searching for the class.\n            while (i < attrs.length && typeof (item = attrs[i++]) == 'string') {\n                // while we have strings\n                if (item.toLowerCase() === cssClassToMatch)\n                    return true;\n            }\n            return false;\n        }\n        else if (typeof item === 'number') {\n            // We've came across a first marker, which indicates\n            // that the implicit attribute section is over.\n            isImplicitAttrsSection = false;\n        }\n    }\n    return false;\n}\n/**\n * Checks whether the `tNode` represents an inline template (e.g. `*ngFor`).\n *\n * @param tNode current TNode\n */\nfunction isInlineTemplate(tNode) {\n    return tNode.type === 4 /* TNodeType.Container */ && tNode.value !== NG_TEMPLATE_SELECTOR;\n}\n/**\n * Function that checks whether a given tNode matches tag-based selector and has a valid type.\n *\n * Matching can be performed in 2 modes: projection mode (when we project nodes) and regular\n * directive matching mode:\n * - in the \"directive matching\" mode we do _not_ take TContainer's tagName into account if it is\n * different from NG_TEMPLATE_SELECTOR (value different from NG_TEMPLATE_SELECTOR indicates that a\n * tag name was extracted from * syntax so we would match the same directive twice);\n * - in the \"projection\" mode, we use a tag name potentially extracted from the * syntax processing\n * (applicable to TNodeType.Container only).\n */\nfunction hasTagAndTypeMatch(tNode, currentSelector, isProjectionMode) {\n    const tagNameToCompare = tNode.type === 4 /* TNodeType.Container */ && !isProjectionMode ? NG_TEMPLATE_SELECTOR : tNode.value;\n    return currentSelector === tagNameToCompare;\n}\n/**\n * A utility function to match an Ivy node static data against a simple CSS selector\n *\n * @param node static data of the node to match\n * @param selector The selector to try matching against the node.\n * @param isProjectionMode if `true` we are matching for content projection, otherwise we are doing\n * directive matching.\n * @returns true if node matches the selector.\n */\nfunction isNodeMatchingSelector(tNode, selector, isProjectionMode) {\n    ngDevMode && assertDefined(selector[0], 'Selector should have a tag name');\n    let mode = 4 /* SelectorFlags.ELEMENT */;\n    const nodeAttrs = tNode.attrs || [];\n    // Find the index of first attribute that has no value, only a name.\n    const nameOnlyMarkerIdx = getNameOnlyMarkerIndex(nodeAttrs);\n    // When processing \":not\" selectors, we skip to the next \":not\" if the\n    // current one doesn't match\n    let skipToNextSelector = false;\n    for (let i = 0; i < selector.length; i++) {\n        const current = selector[i];\n        if (typeof current === 'number') {\n            // If we finish processing a :not selector and it hasn't failed, return false\n            if (!skipToNextSelector && !isPositive(mode) && !isPositive(current)) {\n                return false;\n            }\n            // If we are skipping to the next :not() and this mode flag is positive,\n            // it's a part of the current :not() selector, and we should keep skipping\n            if (skipToNextSelector && isPositive(current))\n                continue;\n            skipToNextSelector = false;\n            mode = current | (mode & 1 /* SelectorFlags.NOT */);\n            continue;\n        }\n        if (skipToNextSelector)\n            continue;\n        if (mode & 4 /* SelectorFlags.ELEMENT */) {\n            mode = 2 /* SelectorFlags.ATTRIBUTE */ | mode & 1 /* SelectorFlags.NOT */;\n            if (current !== '' && !hasTagAndTypeMatch(tNode, current, isProjectionMode) ||\n                current === '' && selector.length === 1) {\n                if (isPositive(mode))\n                    return false;\n                skipToNextSelector = true;\n            }\n        }\n        else {\n            const selectorAttrValue = mode & 8 /* SelectorFlags.CLASS */ ? current : selector[++i];\n            // special case for matching against classes when a tNode has been instantiated with\n            // class and style values as separate attribute values (e.g. ['title', CLASS, 'foo'])\n            if ((mode & 8 /* SelectorFlags.CLASS */) && tNode.attrs !== null) {\n                if (!isCssClassMatching(tNode.attrs, selectorAttrValue, isProjectionMode)) {\n                    if (isPositive(mode))\n                        return false;\n                    skipToNextSelector = true;\n                }\n                continue;\n            }\n            const attrName = (mode & 8 /* SelectorFlags.CLASS */) ? 'class' : current;\n            const attrIndexInNode = findAttrIndexInNode(attrName, nodeAttrs, isInlineTemplate(tNode), isProjectionMode);\n            if (attrIndexInNode === -1) {\n                if (isPositive(mode))\n                    return false;\n                skipToNextSelector = true;\n                continue;\n            }\n            if (selectorAttrValue !== '') {\n                let nodeAttrValue;\n                if (attrIndexInNode > nameOnlyMarkerIdx) {\n                    nodeAttrValue = '';\n                }\n                else {\n                    ngDevMode &&\n                        assertNotEqual(nodeAttrs[attrIndexInNode], 0 /* AttributeMarker.NamespaceURI */, 'We do not match directives on namespaced attributes');\n                    // we lowercase the attribute value to be able to match\n                    // selectors without case-sensitivity\n                    // (selectors are already in lowercase when generated)\n                    nodeAttrValue = nodeAttrs[attrIndexInNode + 1].toLowerCase();\n                }\n                const compareAgainstClassName = mode & 8 /* SelectorFlags.CLASS */ ? nodeAttrValue : null;\n                if (compareAgainstClassName &&\n                    classIndexOf(compareAgainstClassName, selectorAttrValue, 0) !== -1 ||\n                    mode & 2 /* SelectorFlags.ATTRIBUTE */ && selectorAttrValue !== nodeAttrValue) {\n                    if (isPositive(mode))\n                        return false;\n                    skipToNextSelector = true;\n                }\n            }\n        }\n    }\n    return isPositive(mode) || skipToNextSelector;\n}\nfunction isPositive(mode) {\n    return (mode & 1 /* SelectorFlags.NOT */) === 0;\n}\n/**\n * Examines the attribute's definition array for a node to find the index of the\n * attribute that matches the given `name`.\n *\n * NOTE: This will not match namespaced attributes.\n *\n * Attribute matching depends upon `isInlineTemplate` and `isProjectionMode`.\n * The following table summarizes which types of attributes we attempt to match:\n *\n * ===========================================================================================================\n * Modes                   | Normal Attributes | Bindings Attributes | Template Attributes | I18n\n * Attributes\n * ===========================================================================================================\n * Inline + Projection     | YES               | YES                 | NO                  | YES\n * -----------------------------------------------------------------------------------------------------------\n * Inline + Directive      | NO                | NO                  | YES                 | NO\n * -----------------------------------------------------------------------------------------------------------\n * Non-inline + Projection | YES               | YES                 | NO                  | YES\n * -----------------------------------------------------------------------------------------------------------\n * Non-inline + Directive  | YES               | YES                 | NO                  | YES\n * ===========================================================================================================\n *\n * @param name the name of the attribute to find\n * @param attrs the attribute array to examine\n * @param isInlineTemplate true if the node being matched is an inline template (e.g. `*ngFor`)\n * rather than a manually expanded template node (e.g `<ng-template>`).\n * @param isProjectionMode true if we are matching against content projection otherwise we are\n * matching against directives.\n */\nfunction findAttrIndexInNode(name, attrs, isInlineTemplate, isProjectionMode) {\n    if (attrs === null)\n        return -1;\n    let i = 0;\n    if (isProjectionMode || !isInlineTemplate) {\n        let bindingsMode = false;\n        while (i < attrs.length) {\n            const maybeAttrName = attrs[i];\n            if (maybeAttrName === name) {\n                return i;\n            }\n            else if (maybeAttrName === 3 /* AttributeMarker.Bindings */ || maybeAttrName === 6 /* AttributeMarker.I18n */) {\n                bindingsMode = true;\n            }\n            else if (maybeAttrName === 1 /* AttributeMarker.Classes */ || maybeAttrName === 2 /* AttributeMarker.Styles */) {\n                let value = attrs[++i];\n                // We should skip classes here because we have a separate mechanism for\n                // matching classes in projection mode.\n                while (typeof value === 'string') {\n                    value = attrs[++i];\n                }\n                continue;\n            }\n            else if (maybeAttrName === 4 /* AttributeMarker.Template */) {\n                // We do not care about Template attributes in this scenario.\n                break;\n            }\n            else if (maybeAttrName === 0 /* AttributeMarker.NamespaceURI */) {\n                // Skip the whole namespaced attribute and value. This is by design.\n                i += 4;\n                continue;\n            }\n            // In binding mode there are only names, rather than name-value pairs.\n            i += bindingsMode ? 1 : 2;\n        }\n        // We did not match the attribute\n        return -1;\n    }\n    else {\n        return matchTemplateAttribute(attrs, name);\n    }\n}\nfunction isNodeMatchingSelectorList(tNode, selector, isProjectionMode = false) {\n    for (let i = 0; i < selector.length; i++) {\n        if (isNodeMatchingSelector(tNode, selector[i], isProjectionMode)) {\n            return true;\n        }\n    }\n    return false;\n}\nfunction getProjectAsAttrValue(tNode) {\n    const nodeAttrs = tNode.attrs;\n    if (nodeAttrs != null) {\n        const ngProjectAsAttrIdx = nodeAttrs.indexOf(5 /* AttributeMarker.ProjectAs */);\n        // only check for ngProjectAs in attribute names, don't accidentally match attribute's value\n        // (attribute names are stored at even indexes)\n        if ((ngProjectAsAttrIdx & 1) === 0) {\n            return nodeAttrs[ngProjectAsAttrIdx + 1];\n        }\n    }\n    return null;\n}\nfunction getNameOnlyMarkerIndex(nodeAttrs) {\n    for (let i = 0; i < nodeAttrs.length; i++) {\n        const nodeAttr = nodeAttrs[i];\n        if (isNameOnlyAttributeMarker(nodeAttr)) {\n            return i;\n        }\n    }\n    return nodeAttrs.length;\n}\nfunction matchTemplateAttribute(attrs, name) {\n    let i = attrs.indexOf(4 /* AttributeMarker.Template */);\n    if (i > -1) {\n        i++;\n        while (i < attrs.length) {\n            const attr = attrs[i];\n            // Return in case we checked all template attrs and are switching to the next section in the\n            // attrs array (that starts with a number that represents an attribute marker).\n            if (typeof attr === 'number')\n                return -1;\n            if (attr === name)\n                return i;\n            i++;\n        }\n    }\n    return -1;\n}\n/**\n * Checks whether a selector is inside a CssSelectorList\n * @param selector Selector to be checked.\n * @param list List in which to look for the selector.\n */\nfunction isSelectorInSelectorList(selector, list) {\n    selectorListLoop: for (let i = 0; i < list.length; i++) {\n        const currentSelectorInList = list[i];\n        if (selector.length !== currentSelectorInList.length) {\n            continue;\n        }\n        for (let j = 0; j < selector.length; j++) {\n            if (selector[j] !== currentSelectorInList[j]) {\n                continue selectorListLoop;\n            }\n        }\n        return true;\n    }\n    return false;\n}\nfunction maybeWrapInNotSelector(isNegativeMode, chunk) {\n    return isNegativeMode ? ':not(' + chunk.trim() + ')' : chunk;\n}\nfunction stringifyCSSSelector(selector) {\n    let result = selector[0];\n    let i = 1;\n    let mode = 2 /* SelectorFlags.ATTRIBUTE */;\n    let currentChunk = '';\n    let isNegativeMode = false;\n    while (i < selector.length) {\n        let valueOrMarker = selector[i];\n        if (typeof valueOrMarker === 'string') {\n            if (mode & 2 /* SelectorFlags.ATTRIBUTE */) {\n                const attrValue = selector[++i];\n                currentChunk +=\n                    '[' + valueOrMarker + (attrValue.length > 0 ? '=\"' + attrValue + '\"' : '') + ']';\n            }\n            else if (mode & 8 /* SelectorFlags.CLASS */) {\n                currentChunk += '.' + valueOrMarker;\n            }\n            else if (mode & 4 /* SelectorFlags.ELEMENT */) {\n                currentChunk += ' ' + valueOrMarker;\n            }\n        }\n        else {\n            //\n            // Append current chunk to the final result in case we come across SelectorFlag, which\n            // indicates that the previous section of a selector is over. We need to accumulate content\n            // between flags to make sure we wrap the chunk later in :not() selector if needed, e.g.\n            // ```\n            //  ['', Flags.CLASS, '.classA', Flags.CLASS | Flags.NOT, '.classB', '.classC']\n            // ```\n            // should be transformed to `.classA :not(.classB .classC)`.\n            //\n            // Note: for negative selector part, we accumulate content between flags until we find the\n            // next negative flag. This is needed to support a case where `:not()` rule contains more than\n            // one chunk, e.g. the following selector:\n            // ```\n            //  ['', Flags.ELEMENT | Flags.NOT, 'p', Flags.CLASS, 'foo', Flags.CLASS | Flags.NOT, 'bar']\n            // ```\n            // should be stringified to `:not(p.foo) :not(.bar)`\n            //\n            if (currentChunk !== '' && !isPositive(valueOrMarker)) {\n                result += maybeWrapInNotSelector(isNegativeMode, currentChunk);\n                currentChunk = '';\n            }\n            mode = valueOrMarker;\n            // According to CssSelector spec, once we come across `SelectorFlags.NOT` flag, the negative\n            // mode is maintained for remaining chunks of a selector.\n            isNegativeMode = isNegativeMode || !isPositive(mode);\n        }\n        i++;\n    }\n    if (currentChunk !== '') {\n        result += maybeWrapInNotSelector(isNegativeMode, currentChunk);\n    }\n    return result;\n}\n/**\n * Generates string representation of CSS selector in parsed form.\n *\n * ComponentDef and DirectiveDef are generated with the selector in parsed form to avoid doing\n * additional parsing at runtime (for example, for directive matching). However in some cases (for\n * example, while bootstrapping a component), a string version of the selector is required to query\n * for the host element on the page. This function takes the parsed form of a selector and returns\n * its string representation.\n *\n * @param selectorList selector in parsed form\n * @returns string representation of a given selector\n */\nfunction stringifyCSSSelectorList(selectorList) {\n    return selectorList.map(stringifyCSSSelector).join(',');\n}\n/**\n * Extracts attributes and classes information from a given CSS selector.\n *\n * This function is used while creating a component dynamically. In this case, the host element\n * (that is created dynamically) should contain attributes and classes specified in component's CSS\n * selector.\n *\n * @param selector CSS selector in parsed form (in a form of array)\n * @returns object with `attrs` and `classes` fields that contain extracted information\n */\nfunction extractAttrsAndClassesFromSelector(selector) {\n    const attrs = [];\n    const classes = [];\n    let i = 1;\n    let mode = 2 /* SelectorFlags.ATTRIBUTE */;\n    while (i < selector.length) {\n        let valueOrMarker = selector[i];\n        if (typeof valueOrMarker === 'string') {\n            if (mode === 2 /* SelectorFlags.ATTRIBUTE */) {\n                if (valueOrMarker !== '') {\n                    attrs.push(valueOrMarker, selector[++i]);\n                }\n            }\n            else if (mode === 8 /* SelectorFlags.CLASS */) {\n                classes.push(valueOrMarker);\n            }\n        }\n        else {\n            // According to CssSelector spec, once we come across `SelectorFlags.NOT` flag, the negative\n            // mode is maintained for remaining chunks of a selector. Since attributes and classes are\n            // extracted only for \"positive\" part of the selector, we can stop here.\n            if (!isPositive(mode))\n                break;\n            mode = valueOrMarker;\n        }\n        i++;\n    }\n    return { attrs, classes };\n}\n\n/** A special value which designates that a value has not changed. */\nconst NO_CHANGE = (typeof ngDevMode === 'undefined' || ngDevMode) ? { __brand__: 'NO_CHANGE' } : {};\n\n/**\n * Advances to an element for later binding instructions.\n *\n * Used in conjunction with instructions like {@link property} to act on elements with specified\n * indices, for example those created with {@link element} or {@link elementStart}.\n *\n * ```ts\n * (rf: RenderFlags, ctx: any) => {\n *   if (rf & 1) {\n *     text(0, 'Hello');\n *     text(1, 'Goodbye')\n *     element(2, 'div');\n *   }\n *   if (rf & 2) {\n *     advance(2); // Advance twice to the <div>.\n *     property('title', 'test');\n *   }\n *  }\n * ```\n * @param delta Number of elements to advance forwards by.\n *\n * @codeGenApi\n */\nfunction ɵɵadvance(delta) {\n    ngDevMode && assertGreaterThan(delta, 0, 'Can only advance forward');\n    selectIndexInternal(getTView(), getLView(), getSelectedIndex() + delta, !!ngDevMode && isInCheckNoChangesMode());\n}\nfunction selectIndexInternal(tView, lView, index, checkNoChangesMode) {\n    ngDevMode && assertIndexInDeclRange(lView, index);\n    // Flush the initial hooks for elements in the view that have been added up to this point.\n    // PERF WARNING: do NOT extract this to a separate function without running benchmarks\n    if (!checkNoChangesMode) {\n        const hooksInitPhaseCompleted = (lView[FLAGS] & 3 /* LViewFlags.InitPhaseStateMask */) === 3 /* InitPhaseState.InitPhaseCompleted */;\n        if (hooksInitPhaseCompleted) {\n            const preOrderCheckHooks = tView.preOrderCheckHooks;\n            if (preOrderCheckHooks !== null) {\n                executeCheckHooks(lView, preOrderCheckHooks, index);\n            }\n        }\n        else {\n            const preOrderHooks = tView.preOrderHooks;\n            if (preOrderHooks !== null) {\n                executeInitAndCheckHooks(lView, preOrderHooks, 0 /* InitPhaseState.OnInitHooksToBeRun */, index);\n            }\n        }\n    }\n    // We must set the selected index *after* running the hooks, because hooks may have side-effects\n    // that cause other template functions to run, thus updating the selected index, which is global\n    // state. If we run `setSelectedIndex` *before* we run the hooks, in some cases the selected index\n    // will be altered by the time we leave the `ɵɵadvance` instruction.\n    setSelectedIndex(index);\n}\n\n/**\n * A mapping of the @angular/core API surface used in generated expressions to the actual symbols.\n *\n * This should be kept up to date with the public exports of @angular/core.\n */\nconst angularCoreDiEnv = {\n    'ɵɵdefineInjectable': ɵɵdefineInjectable,\n    'ɵɵdefineInjector': ɵɵdefineInjector,\n    'ɵɵinject': ɵɵinject,\n    'ɵɵinvalidFactoryDep': ɵɵinvalidFactoryDep,\n    'resolveForwardRef': resolveForwardRef,\n};\n\n/**\n * Compile an Angular injectable according to its `Injectable` metadata, and patch the resulting\n * injectable def (`ɵprov`) onto the injectable type.\n */\nfunction compileInjectable(type, meta) {\n    let ngInjectableDef = null;\n    let ngFactoryDef = null;\n    // if NG_PROV_DEF is already defined on this class then don't overwrite it\n    if (!type.hasOwnProperty(NG_PROV_DEF)) {\n        Object.defineProperty(type, NG_PROV_DEF, {\n            get: () => {\n                if (ngInjectableDef === null) {\n                    const compiler = getCompilerFacade({ usage: 0 /* JitCompilerUsage.Decorator */, kind: 'injectable', type });\n                    ngInjectableDef = compiler.compileInjectable(angularCoreDiEnv, `ng:///${type.name}/ɵprov.js`, getInjectableMetadata(type, meta));\n                }\n                return ngInjectableDef;\n            },\n        });\n    }\n    // if NG_FACTORY_DEF is already defined on this class then don't overwrite it\n    if (!type.hasOwnProperty(NG_FACTORY_DEF)) {\n        Object.defineProperty(type, NG_FACTORY_DEF, {\n            get: () => {\n                if (ngFactoryDef === null) {\n                    const compiler = getCompilerFacade({ usage: 0 /* JitCompilerUsage.Decorator */, kind: 'injectable', type });\n                    ngFactoryDef = compiler.compileFactory(angularCoreDiEnv, `ng:///${type.name}/ɵfac.js`, {\n                        name: type.name,\n                        type,\n                        typeArgumentCount: 0,\n                        deps: reflectDependencies(type),\n                        target: compiler.FactoryTarget.Injectable\n                    });\n                }\n                return ngFactoryDef;\n            },\n            // Leave this configurable so that the factories from directives or pipes can take precedence.\n            configurable: true\n        });\n    }\n}\nconst USE_VALUE = getClosureSafeProperty({ provide: String, useValue: getClosureSafeProperty });\nfunction isUseClassProvider(meta) {\n    return meta.useClass !== undefined;\n}\nfunction isUseValueProvider(meta) {\n    return USE_VALUE in meta;\n}\nfunction isUseFactoryProvider(meta) {\n    return meta.useFactory !== undefined;\n}\nfunction isUseExistingProvider(meta) {\n    return meta.useExisting !== undefined;\n}\nfunction getInjectableMetadata(type, srcMeta) {\n    // Allow the compilation of a class with a `@Injectable()` decorator without parameters\n    const meta = srcMeta || { providedIn: null };\n    const compilerMeta = {\n        name: type.name,\n        type: type,\n        typeArgumentCount: 0,\n        providedIn: meta.providedIn,\n    };\n    if ((isUseClassProvider(meta) || isUseFactoryProvider(meta)) && meta.deps !== undefined) {\n        compilerMeta.deps = convertDependencies(meta.deps);\n    }\n    // Check to see if the user explicitly provided a `useXxxx` property.\n    if (isUseClassProvider(meta)) {\n        compilerMeta.useClass = meta.useClass;\n    }\n    else if (isUseValueProvider(meta)) {\n        compilerMeta.useValue = meta.useValue;\n    }\n    else if (isUseFactoryProvider(meta)) {\n        compilerMeta.useFactory = meta.useFactory;\n    }\n    else if (isUseExistingProvider(meta)) {\n        compilerMeta.useExisting = meta.useExisting;\n    }\n    return compilerMeta;\n}\n\n/**\n * Injectable decorator and metadata.\n *\n * @Annotation\n * @publicApi\n */\nconst Injectable = makeDecorator('Injectable', undefined, undefined, undefined, (type, meta) => compileInjectable(type, meta));\n\n/**\n * Create a new `Injector` which is configured using a `defType` of `InjectorType<any>`s.\n *\n * @publicApi\n */\nfunction createInjector(defType, parent = null, additionalProviders = null, name) {\n    const injector = createInjectorWithoutInjectorInstances(defType, parent, additionalProviders, name);\n    injector.resolveInjectorInitializers();\n    return injector;\n}\n/**\n * Creates a new injector without eagerly resolving its injector types. Can be used in places\n * where resolving the injector types immediately can lead to an infinite loop. The injector types\n * should be resolved at a later point by calling `_resolveInjectorDefTypes`.\n */\nfunction createInjectorWithoutInjectorInstances(defType, parent = null, additionalProviders = null, name, scopes = new Set()) {\n    const providers = [\n        additionalProviders || EMPTY_ARRAY,\n        importProvidersFrom(defType),\n    ];\n    name = name || (typeof defType === 'object' ? undefined : stringify(defType));\n    return new R3Injector(providers, parent || getNullInjector(), name || null, scopes);\n}\n\n/**\n * Concrete injectors implement this interface. Injectors are configured\n * with [providers](guide/glossary#provider) that associate\n * dependencies of various types with [injection tokens](guide/glossary#di-token).\n *\n * @see [\"DI Providers\"](guide/dependency-injection-providers).\n * @see `StaticProvider`\n *\n * @usageNotes\n *\n *  The following example creates a service injector instance.\n *\n * {@example core/di/ts/provider_spec.ts region='ConstructorProvider'}\n *\n * ### Usage example\n *\n * {@example core/di/ts/injector_spec.ts region='Injector'}\n *\n * `Injector` returns itself when given `Injector` as a token:\n *\n * {@example core/di/ts/injector_spec.ts region='injectInjector'}\n *\n * @publicApi\n */\nclass Injector {\n    static create(options, parent) {\n        if (Array.isArray(options)) {\n            return createInjector({ name: '' }, parent, options, '');\n        }\n        else {\n            const name = options.name ?? '';\n            return createInjector({ name }, options.parent, options.providers, name);\n        }\n    }\n}\nInjector.THROW_IF_NOT_FOUND = THROW_IF_NOT_FOUND;\nInjector.NULL = ( /* @__PURE__ */new NullInjector());\n/** @nocollapse */\nInjector.ɵprov = ɵɵdefineInjectable({\n    token: Injector,\n    providedIn: 'any',\n    factory: () => ɵɵinject(INJECTOR),\n});\n/**\n * @internal\n * @nocollapse\n */\nInjector.__NG_ELEMENT_ID__ = -1 /* InjectorMarkers.Injector */;\n\nfunction findFirstClosedCycle(keys) {\n    const res = [];\n    for (let i = 0; i < keys.length; ++i) {\n        if (res.indexOf(keys[i]) > -1) {\n            res.push(keys[i]);\n            return res;\n        }\n        res.push(keys[i]);\n    }\n    return res;\n}\nfunction constructResolvingPath(keys) {\n    if (keys.length > 1) {\n        const reversed = findFirstClosedCycle(keys.slice().reverse());\n        const tokenStrs = reversed.map(k => stringify(k.token));\n        return ' (' + tokenStrs.join(' -> ') + ')';\n    }\n    return '';\n}\nfunction injectionError(injector, key, constructResolvingMessage, originalError) {\n    const keys = [key];\n    const errMsg = constructResolvingMessage(keys);\n    const error = (originalError ? wrappedError(errMsg, originalError) : Error(errMsg));\n    error.addKey = addKey;\n    error.keys = keys;\n    error.injectors = [injector];\n    error.constructResolvingMessage = constructResolvingMessage;\n    error[ERROR_ORIGINAL_ERROR] = originalError;\n    return error;\n}\nfunction addKey(injector, key) {\n    this.injectors.push(injector);\n    this.keys.push(key);\n    // Note: This updated message won't be reflected in the `.stack` property\n    this.message = this.constructResolvingMessage(this.keys);\n}\n/**\n * Thrown when trying to retrieve a dependency by key from {@link Injector}, but the\n * {@link Injector} does not have a {@link Provider} for the given key.\n *\n * @usageNotes\n * ### Example\n *\n * ```typescript\n * class A {\n *   constructor(b:B) {}\n * }\n *\n * expect(() => Injector.resolveAndCreate([A])).toThrowError();\n * ```\n */\nfunction noProviderError(injector, key) {\n    return injectionError(injector, key, function (keys) {\n        const first = stringify(keys[0].token);\n        return `No provider for ${first}!${constructResolvingPath(keys)}`;\n    });\n}\n/**\n * Thrown when dependencies form a cycle.\n *\n * @usageNotes\n * ### Example\n *\n * ```typescript\n * var injector = Injector.resolveAndCreate([\n *   {provide: \"one\", useFactory: (two) => \"two\", deps: [[new Inject(\"two\")]]},\n *   {provide: \"two\", useFactory: (one) => \"one\", deps: [[new Inject(\"one\")]]}\n * ]);\n *\n * expect(() => injector.get(\"one\")).toThrowError();\n * ```\n *\n * Retrieving `A` or `B` throws a `CyclicDependencyError` as the graph above cannot be constructed.\n */\nfunction cyclicDependencyError(injector, key) {\n    return injectionError(injector, key, function (keys) {\n        return `Cannot instantiate cyclic dependency!${constructResolvingPath(keys)}`;\n    });\n}\n/**\n * Thrown when a constructing type returns with an Error.\n *\n * The `InstantiationError` class contains the original error plus the dependency graph which caused\n * this object to be instantiated.\n *\n * @usageNotes\n * ### Example\n *\n * ```typescript\n * class A {\n *   constructor() {\n *     throw new Error('message');\n *   }\n * }\n *\n * var injector = Injector.resolveAndCreate([A]);\n\n * try {\n *   injector.get(A);\n * } catch (e) {\n *   expect(e instanceof InstantiationError).toBe(true);\n *   expect(e.originalException.message).toEqual(\"message\");\n *   expect(e.originalStack).toBeDefined();\n * }\n * ```\n */\nfunction instantiationError(injector, originalException, originalStack, key) {\n    return injectionError(injector, key, function (keys) {\n        const first = stringify(keys[0].token);\n        return `${originalException.message}: Error during instantiation of ${first}!${constructResolvingPath(keys)}.`;\n    }, originalException);\n}\n/**\n * Thrown when an object other then {@link Provider} (or `Type`) is passed to {@link Injector}\n * creation.\n *\n * @usageNotes\n * ### Example\n *\n * ```typescript\n * expect(() => Injector.resolveAndCreate([\"not a type\"])).toThrowError();\n * ```\n */\nfunction invalidProviderError(provider) {\n    return Error(`Invalid provider - only instances of Provider and Type are allowed, got: ${provider}`);\n}\n/**\n * Thrown when the class has no annotation information.\n *\n * Lack of annotation information prevents the {@link Injector} from determining which dependencies\n * need to be injected into the constructor.\n *\n * @usageNotes\n * ### Example\n *\n * ```typescript\n * class A {\n *   constructor(b) {}\n * }\n *\n * expect(() => Injector.resolveAndCreate([A])).toThrowError();\n * ```\n *\n * This error is also thrown when the class not marked with {@link Injectable} has parameter types.\n *\n * ```typescript\n * class B {}\n *\n * class A {\n *   constructor(b:B) {} // no information about the parameter types of A is available at runtime.\n * }\n *\n * expect(() => Injector.resolveAndCreate([A,B])).toThrowError();\n * ```\n *\n */\nfunction noAnnotationError(typeOrFunc, params) {\n    const signature = [];\n    for (let i = 0, ii = params.length; i < ii; i++) {\n        const parameter = params[i];\n        if (!parameter || parameter.length == 0) {\n            signature.push('?');\n        }\n        else {\n            signature.push(parameter.map(stringify).join(' '));\n        }\n    }\n    return Error('Cannot resolve all parameters for \\'' + stringify(typeOrFunc) + '\\'(' +\n        signature.join(', ') + '). ' +\n        'Make sure that all the parameters are decorated with Inject or have valid type annotations and that \\'' +\n        stringify(typeOrFunc) + '\\' is decorated with Injectable.');\n}\n/**\n * Thrown when getting an object by index.\n *\n * @usageNotes\n * ### Example\n *\n * ```typescript\n * class A {}\n *\n * var injector = Injector.resolveAndCreate([A]);\n *\n * expect(() => injector.getAt(100)).toThrowError();\n * ```\n *\n */\nfunction outOfBoundsError(index) {\n    return Error(`Index ${index} is out-of-bounds.`);\n}\n// TODO: add a working example after alpha38 is released\n/**\n * Thrown when a multi provider and a regular provider are bound to the same token.\n *\n * @usageNotes\n * ### Example\n *\n * ```typescript\n * expect(() => Injector.resolveAndCreate([\n *   { provide: \"Strings\", useValue: \"string1\", multi: true},\n *   { provide: \"Strings\", useValue: \"string2\", multi: false}\n * ])).toThrowError();\n * ```\n */\nfunction mixingMultiProvidersWithRegularProvidersError(provider1, provider2) {\n    return Error(`Cannot mix multi providers and regular providers, got: ${provider1} ${provider2}`);\n}\n\n/**\n * A unique object used for retrieving items from the {@link ReflectiveInjector}.\n *\n * Keys have:\n * - a system-wide unique `id`.\n * - a `token`.\n *\n * `Key` is used internally by {@link ReflectiveInjector} because its system-wide unique `id` allows\n * the\n * injector to store created objects in a more efficient way.\n *\n * `Key` should not be created directly. {@link ReflectiveInjector} creates keys automatically when\n * resolving\n * providers.\n *\n * @deprecated No replacement\n * @publicApi\n */\nclass ReflectiveKey {\n    /**\n     * Private\n     */\n    constructor(token, id) {\n        this.token = token;\n        this.id = id;\n        if (!token) {\n            throw new RuntimeError(208 /* RuntimeErrorCode.MISSING_INJECTION_TOKEN */, ngDevMode && 'Token must be defined!');\n        }\n        this.displayName = stringify(this.token);\n    }\n    /**\n     * Retrieves a `Key` for a token.\n     */\n    static get(token) {\n        return _globalKeyRegistry.get(resolveForwardRef(token));\n    }\n    /**\n     * @returns the number of keys registered in the system.\n     */\n    static get numberOfKeys() {\n        return _globalKeyRegistry.numberOfKeys;\n    }\n}\nclass KeyRegistry {\n    constructor() {\n        this._allKeys = new Map();\n    }\n    get(token) {\n        if (token instanceof ReflectiveKey)\n            return token;\n        if (this._allKeys.has(token)) {\n            return this._allKeys.get(token);\n        }\n        const newKey = new ReflectiveKey(token, ReflectiveKey.numberOfKeys);\n        this._allKeys.set(token, newKey);\n        return newKey;\n    }\n    get numberOfKeys() {\n        return this._allKeys.size;\n    }\n}\nconst _globalKeyRegistry = new KeyRegistry();\n\n/**\n * `Dependency` is used by the framework to extend DI.\n * This is internal to Angular and should not be used directly.\n */\nclass ReflectiveDependency {\n    constructor(key, optional, visibility) {\n        this.key = key;\n        this.optional = optional;\n        this.visibility = visibility;\n    }\n    static fromKey(key) {\n        return new ReflectiveDependency(key, false, null);\n    }\n}\nconst _EMPTY_LIST = [];\nclass ResolvedReflectiveProvider_ {\n    constructor(key, resolvedFactories, multiProvider) {\n        this.key = key;\n        this.resolvedFactories = resolvedFactories;\n        this.multiProvider = multiProvider;\n        this.resolvedFactory = this.resolvedFactories[0];\n    }\n}\n/**\n * An internal resolved representation of a factory function created by resolving `Provider`.\n * @publicApi\n */\nclass ResolvedReflectiveFactory {\n    constructor(\n    /**\n     * Factory function which can return an instance of an object represented by a key.\n     */\n    factory, \n    /**\n     * Arguments (dependencies) to the `factory` function.\n     */\n    dependencies) {\n        this.factory = factory;\n        this.dependencies = dependencies;\n    }\n}\n/**\n * Resolve a single provider.\n */\nfunction resolveReflectiveFactory(provider) {\n    let factoryFn;\n    let resolvedDeps;\n    if (provider.useClass) {\n        const useClass = resolveForwardRef(provider.useClass);\n        factoryFn = getReflect().factory(useClass);\n        resolvedDeps = _dependenciesFor(useClass);\n    }\n    else if (provider.useExisting) {\n        factoryFn = (aliasInstance) => aliasInstance;\n        resolvedDeps = [ReflectiveDependency.fromKey(ReflectiveKey.get(provider.useExisting))];\n    }\n    else if (provider.useFactory) {\n        factoryFn = provider.useFactory;\n        resolvedDeps = constructDependencies(provider.useFactory, provider.deps);\n    }\n    else {\n        factoryFn = () => provider.useValue;\n        resolvedDeps = _EMPTY_LIST;\n    }\n    return new ResolvedReflectiveFactory(factoryFn, resolvedDeps);\n}\n/**\n * Converts the `Provider` into `ResolvedProvider`.\n *\n * `Injector` internally only uses `ResolvedProvider`, `Provider` contains convenience provider\n * syntax.\n */\nfunction resolveReflectiveProvider(provider) {\n    return new ResolvedReflectiveProvider_(ReflectiveKey.get(provider.provide), [resolveReflectiveFactory(provider)], provider.multi || false);\n}\n/**\n * Resolve a list of Providers.\n */\nfunction resolveReflectiveProviders(providers) {\n    const normalized = _normalizeProviders(providers, []);\n    const resolved = normalized.map(resolveReflectiveProvider);\n    const resolvedProviderMap = mergeResolvedReflectiveProviders(resolved, new Map());\n    return Array.from(resolvedProviderMap.values());\n}\n/**\n * Merges a list of ResolvedProviders into a list where each key is contained exactly once and\n * multi providers have been merged.\n */\nfunction mergeResolvedReflectiveProviders(providers, normalizedProvidersMap) {\n    for (let i = 0; i < providers.length; i++) {\n        const provider = providers[i];\n        const existing = normalizedProvidersMap.get(provider.key.id);\n        if (existing) {\n            if (provider.multiProvider !== existing.multiProvider) {\n                throw mixingMultiProvidersWithRegularProvidersError(existing, provider);\n            }\n            if (provider.multiProvider) {\n                for (let j = 0; j < provider.resolvedFactories.length; j++) {\n                    existing.resolvedFactories.push(provider.resolvedFactories[j]);\n                }\n            }\n            else {\n                normalizedProvidersMap.set(provider.key.id, provider);\n            }\n        }\n        else {\n            let resolvedProvider;\n            if (provider.multiProvider) {\n                resolvedProvider = new ResolvedReflectiveProvider_(provider.key, provider.resolvedFactories.slice(), provider.multiProvider);\n            }\n            else {\n                resolvedProvider = provider;\n            }\n            normalizedProvidersMap.set(provider.key.id, resolvedProvider);\n        }\n    }\n    return normalizedProvidersMap;\n}\nfunction _normalizeProviders(providers, res) {\n    providers.forEach(b => {\n        if (b instanceof Type) {\n            res.push({ provide: b, useClass: b });\n        }\n        else if (b && typeof b == 'object' && b.provide !== undefined) {\n            res.push(b);\n        }\n        else if (Array.isArray(b)) {\n            _normalizeProviders(b, res);\n        }\n        else {\n            throw invalidProviderError(b);\n        }\n    });\n    return res;\n}\nfunction constructDependencies(typeOrFunc, dependencies) {\n    if (!dependencies) {\n        return _dependenciesFor(typeOrFunc);\n    }\n    else {\n        const params = dependencies.map(t => [t]);\n        return dependencies.map(t => _extractToken(typeOrFunc, t, params));\n    }\n}\nfunction _dependenciesFor(typeOrFunc) {\n    const params = getReflect().parameters(typeOrFunc);\n    if (!params)\n        return [];\n    if (params.some(p => p == null)) {\n        throw noAnnotationError(typeOrFunc, params);\n    }\n    return params.map(p => _extractToken(typeOrFunc, p, params));\n}\nfunction _extractToken(typeOrFunc, metadata, params) {\n    let token = null;\n    let optional = false;\n    if (!Array.isArray(metadata)) {\n        if (metadata instanceof Inject) {\n            return _createDependency(metadata.token, optional, null);\n        }\n        else {\n            return _createDependency(metadata, optional, null);\n        }\n    }\n    let visibility = null;\n    for (let i = 0; i < metadata.length; ++i) {\n        const paramMetadata = metadata[i];\n        if (paramMetadata instanceof Type) {\n            token = paramMetadata;\n        }\n        else if (paramMetadata instanceof Inject) {\n            token = paramMetadata.token;\n        }\n        else if (paramMetadata instanceof Optional) {\n            optional = true;\n        }\n        else if (paramMetadata instanceof Self || paramMetadata instanceof SkipSelf) {\n            visibility = paramMetadata;\n        }\n        else if (paramMetadata instanceof InjectionToken) {\n            token = paramMetadata;\n        }\n    }\n    token = resolveForwardRef(token);\n    if (token != null) {\n        return _createDependency(token, optional, visibility);\n    }\n    else {\n        throw noAnnotationError(typeOrFunc, params);\n    }\n}\nfunction _createDependency(token, optional, visibility) {\n    return new ReflectiveDependency(ReflectiveKey.get(token), optional, visibility);\n}\n\n// Threshold for the dynamic version\nconst UNDEFINED = {};\n/**\n * A ReflectiveDependency injection container used for instantiating objects and resolving\n * dependencies.\n *\n * An `Injector` is a replacement for a `new` operator, which can automatically resolve the\n * constructor dependencies.\n *\n * In typical use, application code asks for the dependencies in the constructor and they are\n * resolved by the `Injector`.\n *\n * @usageNotes\n * ### Example\n *\n * The following example creates an `Injector` configured to create `Engine` and `Car`.\n *\n * ```typescript\n * @Injectable()\n * class Engine {\n * }\n *\n * @Injectable()\n * class Car {\n *   constructor(public engine:Engine) {}\n * }\n *\n * var injector = ReflectiveInjector.resolveAndCreate([Car, Engine]);\n * var car = injector.get(Car);\n * expect(car instanceof Car).toBe(true);\n * expect(car.engine instanceof Engine).toBe(true);\n * ```\n *\n * Notice, we don't use the `new` operator because we explicitly want to have the `Injector`\n * resolve all of the object's dependencies automatically.\n *\n * TODO: delete in v14.\n *\n * @deprecated from v5 - slow and brings in a lot of code, Use `Injector.create` instead.\n * @publicApi\n */\nclass ReflectiveInjector {\n    /**\n     * Turns an array of provider definitions into an array of resolved providers.\n     *\n     * A resolution is a process of flattening multiple nested arrays and converting individual\n     * providers into an array of `ResolvedReflectiveProvider`s.\n     *\n     * @usageNotes\n     * ### Example\n     *\n     * ```typescript\n     * @Injectable()\n     * class Engine {\n     * }\n     *\n     * @Injectable()\n     * class Car {\n     *   constructor(public engine:Engine) {}\n     * }\n     *\n     * var providers = ReflectiveInjector.resolve([Car, [[Engine]]]);\n     *\n     * expect(providers.length).toEqual(2);\n     *\n     * expect(providers[0] instanceof ResolvedReflectiveProvider).toBe(true);\n     * expect(providers[0].key.displayName).toBe(\"Car\");\n     * expect(providers[0].dependencies.length).toEqual(1);\n     * expect(providers[0].factory).toBeDefined();\n     *\n     * expect(providers[1].key.displayName).toBe(\"Engine\");\n     * });\n     * ```\n     *\n     */\n    static resolve(providers) {\n        return resolveReflectiveProviders(providers);\n    }\n    /**\n     * Resolves an array of providers and creates an injector from those providers.\n     *\n     * The passed-in providers can be an array of `Type`, `Provider`,\n     * or a recursive array of more providers.\n     *\n     * @usageNotes\n     * ### Example\n     *\n     * ```typescript\n     * @Injectable()\n     * class Engine {\n     * }\n     *\n     * @Injectable()\n     * class Car {\n     *   constructor(public engine:Engine) {}\n     * }\n     *\n     * var injector = ReflectiveInjector.resolveAndCreate([Car, Engine]);\n     * expect(injector.get(Car) instanceof Car).toBe(true);\n     * ```\n     */\n    static resolveAndCreate(providers, parent) {\n        const ResolvedReflectiveProviders = ReflectiveInjector.resolve(providers);\n        return ReflectiveInjector.fromResolvedProviders(ResolvedReflectiveProviders, parent);\n    }\n    /**\n     * Creates an injector from previously resolved providers.\n     *\n     * This API is the recommended way to construct injectors in performance-sensitive parts.\n     *\n     * @usageNotes\n     * ### Example\n     *\n     * ```typescript\n     * @Injectable()\n     * class Engine {\n     * }\n     *\n     * @Injectable()\n     * class Car {\n     *   constructor(public engine:Engine) {}\n     * }\n     *\n     * var providers = ReflectiveInjector.resolve([Car, Engine]);\n     * var injector = ReflectiveInjector.fromResolvedProviders(providers);\n     * expect(injector.get(Car) instanceof Car).toBe(true);\n     * ```\n     */\n    static fromResolvedProviders(providers, parent) {\n        return new ReflectiveInjector_(providers, parent);\n    }\n}\nclass ReflectiveInjector_ {\n    /**\n     * Private\n     */\n    constructor(_providers, _parent) {\n        /** @internal */\n        this._constructionCounter = 0;\n        this._providers = _providers;\n        this.parent = _parent || null;\n        const len = _providers.length;\n        this.keyIds = [];\n        this.objs = [];\n        for (let i = 0; i < len; i++) {\n            this.keyIds[i] = _providers[i].key.id;\n            this.objs[i] = UNDEFINED;\n        }\n    }\n    get(token, notFoundValue = THROW_IF_NOT_FOUND) {\n        return this._getByKey(ReflectiveKey.get(token), null, notFoundValue);\n    }\n    resolveAndCreateChild(providers) {\n        const ResolvedReflectiveProviders = ReflectiveInjector.resolve(providers);\n        return this.createChildFromResolved(ResolvedReflectiveProviders);\n    }\n    createChildFromResolved(providers) {\n        const inj = new ReflectiveInjector_(providers);\n        inj.parent = this;\n        return inj;\n    }\n    resolveAndInstantiate(provider) {\n        return this.instantiateResolved(ReflectiveInjector.resolve([provider])[0]);\n    }\n    instantiateResolved(provider) {\n        return this._instantiateProvider(provider);\n    }\n    getProviderAtIndex(index) {\n        if (index < 0 || index >= this._providers.length) {\n            throw outOfBoundsError(index);\n        }\n        return this._providers[index];\n    }\n    /** @internal */\n    _new(provider) {\n        if (this._constructionCounter++ > this._getMaxNumberOfObjects()) {\n            throw cyclicDependencyError(this, provider.key);\n        }\n        return this._instantiateProvider(provider);\n    }\n    _getMaxNumberOfObjects() {\n        return this.objs.length;\n    }\n    _instantiateProvider(provider) {\n        if (provider.multiProvider) {\n            const res = [];\n            for (let i = 0; i < provider.resolvedFactories.length; ++i) {\n                res[i] = this._instantiate(provider, provider.resolvedFactories[i]);\n            }\n            return res;\n        }\n        else {\n            return this._instantiate(provider, provider.resolvedFactories[0]);\n        }\n    }\n    _instantiate(provider, ResolvedReflectiveFactory) {\n        const factory = ResolvedReflectiveFactory.factory;\n        let deps;\n        try {\n            deps =\n                ResolvedReflectiveFactory.dependencies.map(dep => this._getByReflectiveDependency(dep));\n        }\n        catch (e) {\n            if (e.addKey) {\n                e.addKey(this, provider.key);\n            }\n            throw e;\n        }\n        let obj;\n        try {\n            obj = factory(...deps);\n        }\n        catch (e) {\n            throw instantiationError(this, e, e.stack, provider.key);\n        }\n        return obj;\n    }\n    _getByReflectiveDependency(dep) {\n        return this._getByKey(dep.key, dep.visibility, dep.optional ? null : THROW_IF_NOT_FOUND);\n    }\n    _getByKey(key, visibility, notFoundValue) {\n        if (key === ReflectiveInjector_.INJECTOR_KEY) {\n            return this;\n        }\n        if (visibility instanceof Self) {\n            return this._getByKeySelf(key, notFoundValue);\n        }\n        else {\n            return this._getByKeyDefault(key, notFoundValue, visibility);\n        }\n    }\n    _getObjByKeyId(keyId) {\n        for (let i = 0; i < this.keyIds.length; i++) {\n            if (this.keyIds[i] === keyId) {\n                if (this.objs[i] === UNDEFINED) {\n                    this.objs[i] = this._new(this._providers[i]);\n                }\n                return this.objs[i];\n            }\n        }\n        return UNDEFINED;\n    }\n    /** @internal */\n    _throwOrNull(key, notFoundValue) {\n        if (notFoundValue !== THROW_IF_NOT_FOUND) {\n            return notFoundValue;\n        }\n        else {\n            throw noProviderError(this, key);\n        }\n    }\n    /** @internal */\n    _getByKeySelf(key, notFoundValue) {\n        const obj = this._getObjByKeyId(key.id);\n        return (obj !== UNDEFINED) ? obj : this._throwOrNull(key, notFoundValue);\n    }\n    /** @internal */\n    _getByKeyDefault(key, notFoundValue, visibility) {\n        let inj;\n        if (visibility instanceof SkipSelf) {\n            inj = this.parent;\n        }\n        else {\n            inj = this;\n        }\n        while (inj instanceof ReflectiveInjector_) {\n            const inj_ = inj;\n            const obj = inj_._getObjByKeyId(key.id);\n            if (obj !== UNDEFINED)\n                return obj;\n            inj = inj_.parent;\n        }\n        if (inj !== null) {\n            return inj.get(key.token, notFoundValue);\n        }\n        else {\n            return this._throwOrNull(key, notFoundValue);\n        }\n    }\n    get displayName() {\n        const providers = _mapProviders(this, (b) => ' \"' + b.key.displayName + '\" ')\n            .join(', ');\n        return `ReflectiveInjector(providers: [${providers}])`;\n    }\n    toString() {\n        return this.displayName;\n    }\n}\nReflectiveInjector_.INJECTOR_KEY = ( /* @__PURE__ */ReflectiveKey.get(Injector));\nfunction _mapProviders(injector, fn) {\n    const res = [];\n    for (let i = 0; i < injector._providers.length; ++i) {\n        res[i] = fn(injector.getProviderAtIndex(i));\n    }\n    return res;\n}\n\n/**\n * @module\n * @description\n * The `di` module provides dependency injection container services.\n */\n\n/**\n * This file should not be necessary because node resolution should just default to `./di/index`!\n *\n * However it does not seem to work and it breaks:\n *  - //packages/animations/browser/test:test_web_chromium-local\n *  - //packages/compiler-cli/test:extract_i18n\n *  - //packages/compiler-cli/test:ngc\n *  - //packages/compiler-cli/test:perform_watch\n *  - //packages/compiler-cli/test/diagnostics:check_types\n *  - //packages/compiler-cli/test/transformers:test\n *  - //packages/compiler/test:test\n *  - //tools/public_api_guard:core_api\n *\n * Remove this file once the above is solved or wait until `ngc` is deleted and then it should be\n * safe to delete this file.\n */\n\nfunction ɵɵdirectiveInject(token, flags = InjectFlags.Default) {\n    const lView = getLView();\n    // Fall back to inject() if view hasn't been created. This situation can happen in tests\n    // if inject utilities are used before bootstrapping.\n    if (lView === null) {\n        // Verify that we will not get into infinite loop.\n        ngDevMode && assertInjectImplementationNotEqual(ɵɵdirectiveInject);\n        return ɵɵinject(token, flags);\n    }\n    const tNode = getCurrentTNode();\n    return getOrCreateInjectable(tNode, lView, resolveForwardRef(token), flags);\n}\n/**\n * Throws an error indicating that a factory function could not be generated by the compiler for a\n * particular class.\n *\n * This instruction allows the actual error message to be optimized away when ngDevMode is turned\n * off, saving bytes of generated code while still providing a good experience in dev mode.\n *\n * The name of the class is not mentioned here, but will be in the generated factory function name\n * and thus in the stack trace.\n *\n * @codeGenApi\n */\nfunction ɵɵinvalidFactory() {\n    const msg = ngDevMode ? `This constructor was not compatible with Dependency Injection.` : 'invalid';\n    throw new Error(msg);\n}\n\n/**\n * Invoke `HostBindingsFunction`s for view.\n *\n * This methods executes `TView.hostBindingOpCodes`. It is used to execute the\n * `HostBindingsFunction`s associated with the current `LView`.\n *\n * @param tView Current `TView`.\n * @param lView Current `LView`.\n */\nfunction processHostBindingOpCodes(tView, lView) {\n    const hostBindingOpCodes = tView.hostBindingOpCodes;\n    if (hostBindingOpCodes === null)\n        return;\n    try {\n        for (let i = 0; i < hostBindingOpCodes.length; i++) {\n            const opCode = hostBindingOpCodes[i];\n            if (opCode < 0) {\n                // Negative numbers are element indexes.\n                setSelectedIndex(~opCode);\n            }\n            else {\n                // Positive numbers are NumberTuple which store bindingRootIndex and directiveIndex.\n                const directiveIdx = opCode;\n                const bindingRootIndx = hostBindingOpCodes[++i];\n                const hostBindingFn = hostBindingOpCodes[++i];\n                setBindingRootForHostBindings(bindingRootIndx, directiveIdx);\n                const context = lView[directiveIdx];\n                hostBindingFn(2 /* RenderFlags.Update */, context);\n            }\n        }\n    }\n    finally {\n        setSelectedIndex(-1);\n    }\n}\n/** Refreshes all content queries declared by directives in a given view */\nfunction refreshContentQueries(tView, lView) {\n    const contentQueries = tView.contentQueries;\n    if (contentQueries !== null) {\n        for (let i = 0; i < contentQueries.length; i += 2) {\n            const queryStartIdx = contentQueries[i];\n            const directiveDefIdx = contentQueries[i + 1];\n            if (directiveDefIdx !== -1) {\n                const directiveDef = tView.data[directiveDefIdx];\n                ngDevMode && assertDefined(directiveDef, 'DirectiveDef not found.');\n                ngDevMode &&\n                    assertDefined(directiveDef.contentQueries, 'contentQueries function should be defined');\n                setCurrentQueryIndex(queryStartIdx);\n                directiveDef.contentQueries(2 /* RenderFlags.Update */, lView[directiveDefIdx], directiveDefIdx);\n            }\n        }\n    }\n}\n/** Refreshes child components in the current view (update mode). */\nfunction refreshChildComponents(hostLView, components) {\n    for (let i = 0; i < components.length; i++) {\n        refreshComponent(hostLView, components[i]);\n    }\n}\n/** Renders child components in the current view (creation mode). */\nfunction renderChildComponents(hostLView, components) {\n    for (let i = 0; i < components.length; i++) {\n        renderComponent(hostLView, components[i]);\n    }\n}\nfunction createLView(parentLView, tView, context, flags, host, tHostNode, rendererFactory, renderer, sanitizer, injector, embeddedViewInjector) {\n    const lView = tView.blueprint.slice();\n    lView[HOST] = host;\n    lView[FLAGS] = flags | 4 /* LViewFlags.CreationMode */ | 64 /* LViewFlags.Attached */ | 8 /* LViewFlags.FirstLViewPass */;\n    if (embeddedViewInjector !== null ||\n        (parentLView && (parentLView[FLAGS] & 1024 /* LViewFlags.HasEmbeddedViewInjector */))) {\n        lView[FLAGS] |= 1024 /* LViewFlags.HasEmbeddedViewInjector */;\n    }\n    resetPreOrderHookFlags(lView);\n    ngDevMode && tView.declTNode && parentLView && assertTNodeForLView(tView.declTNode, parentLView);\n    lView[PARENT] = lView[DECLARATION_VIEW] = parentLView;\n    lView[CONTEXT] = context;\n    lView[RENDERER_FACTORY] = (rendererFactory || parentLView && parentLView[RENDERER_FACTORY]);\n    ngDevMode && assertDefined(lView[RENDERER_FACTORY], 'RendererFactory is required');\n    lView[RENDERER] = (renderer || parentLView && parentLView[RENDERER]);\n    ngDevMode && assertDefined(lView[RENDERER], 'Renderer is required');\n    lView[SANITIZER] = sanitizer || parentLView && parentLView[SANITIZER] || null;\n    lView[INJECTOR$1] = injector || parentLView && parentLView[INJECTOR$1] || null;\n    lView[T_HOST] = tHostNode;\n    lView[ID] = getUniqueLViewId();\n    lView[EMBEDDED_VIEW_INJECTOR] = embeddedViewInjector;\n    ngDevMode &&\n        assertEqual(tView.type == 2 /* TViewType.Embedded */ ? parentLView !== null : true, true, 'Embedded views must have parentLView');\n    lView[DECLARATION_COMPONENT_VIEW] =\n        tView.type == 2 /* TViewType.Embedded */ ? parentLView[DECLARATION_COMPONENT_VIEW] : lView;\n    return lView;\n}\nfunction getOrCreateTNode(tView, index, type, name, attrs) {\n    ngDevMode && index !== 0 && // 0 are bogus nodes and they are OK. See `createContainerRef` in\n        // `view_engine_compatibility` for additional context.\n        assertGreaterThanOrEqual(index, HEADER_OFFSET, 'TNodes can\\'t be in the LView header.');\n    // Keep this function short, so that the VM will inline it.\n    ngDevMode && assertPureTNodeType(type);\n    let tNode = tView.data[index];\n    if (tNode === null) {\n        tNode = createTNodeAtIndex(tView, index, type, name, attrs);\n        if (isInI18nBlock()) {\n            // If we are in i18n block then all elements should be pre declared through `Placeholder`\n            // See `TNodeType.Placeholder` and `LFrame.inI18n` for more context.\n            // If the `TNode` was not pre-declared than it means it was not mentioned which means it was\n            // removed, so we mark it as detached.\n            tNode.flags |= 32 /* TNodeFlags.isDetached */;\n        }\n    }\n    else if (tNode.type & 64 /* TNodeType.Placeholder */) {\n        tNode.type = type;\n        tNode.value = name;\n        tNode.attrs = attrs;\n        const parent = getCurrentParentTNode();\n        tNode.injectorIndex = parent === null ? -1 : parent.injectorIndex;\n        ngDevMode && assertTNodeForTView(tNode, tView);\n        ngDevMode && assertEqual(index, tNode.index, 'Expecting same index');\n    }\n    setCurrentTNode(tNode, true);\n    return tNode;\n}\nfunction createTNodeAtIndex(tView, index, type, name, attrs) {\n    const currentTNode = getCurrentTNodePlaceholderOk();\n    const isParent = isCurrentTNodeParent();\n    const parent = isParent ? currentTNode : currentTNode && currentTNode.parent;\n    // Parents cannot cross component boundaries because components will be used in multiple places.\n    const tNode = tView.data[index] =\n        createTNode(tView, parent, type, index, name, attrs);\n    // Assign a pointer to the first child node of a given view. The first node is not always the one\n    // at index 0, in case of i18n, index 0 can be the instruction `i18nStart` and the first node has\n    // the index 1 or more, so we can't just check node index.\n    if (tView.firstChild === null) {\n        tView.firstChild = tNode;\n    }\n    if (currentTNode !== null) {\n        if (isParent) {\n            // FIXME(misko): This logic looks unnecessarily complicated. Could we simplify?\n            if (currentTNode.child == null && tNode.parent !== null) {\n                // We are in the same view, which means we are adding content node to the parent view.\n                currentTNode.child = tNode;\n            }\n        }\n        else {\n            if (currentTNode.next === null) {\n                // In the case of i18n the `currentTNode` may already be linked, in which case we don't want\n                // to break the links which i18n created.\n                currentTNode.next = tNode;\n                tNode.prev = currentTNode;\n            }\n        }\n    }\n    return tNode;\n}\n/**\n * When elements are created dynamically after a view blueprint is created (e.g. through\n * i18nApply()), we need to adjust the blueprint for future\n * template passes.\n *\n * @param tView `TView` associated with `LView`\n * @param lView The `LView` containing the blueprint to adjust\n * @param numSlotsToAlloc The number of slots to alloc in the LView, should be >0\n * @param initialValue Initial value to store in blueprint\n */\nfunction allocExpando(tView, lView, numSlotsToAlloc, initialValue) {\n    if (numSlotsToAlloc === 0)\n        return -1;\n    if (ngDevMode) {\n        assertFirstCreatePass(tView);\n        assertSame(tView, lView[TVIEW], '`LView` must be associated with `TView`!');\n        assertEqual(tView.data.length, lView.length, 'Expecting LView to be same size as TView');\n        assertEqual(tView.data.length, tView.blueprint.length, 'Expecting Blueprint to be same size as TView');\n        assertFirstUpdatePass(tView);\n    }\n    const allocIdx = lView.length;\n    for (let i = 0; i < numSlotsToAlloc; i++) {\n        lView.push(initialValue);\n        tView.blueprint.push(initialValue);\n        tView.data.push(null);\n    }\n    return allocIdx;\n}\n//////////////////////////\n//// Render\n//////////////////////////\n/**\n * Processes a view in the creation mode. This includes a number of steps in a specific order:\n * - creating view query functions (if any);\n * - executing a template function in the creation mode;\n * - updating static queries (if any);\n * - creating child components defined in a given view.\n */\nfunction renderView(tView, lView, context) {\n    ngDevMode && assertEqual(isCreationMode(lView), true, 'Should be run in creation mode');\n    enterView(lView);\n    try {\n        const viewQuery = tView.viewQuery;\n        if (viewQuery !== null) {\n            executeViewQueryFn(1 /* RenderFlags.Create */, viewQuery, context);\n        }\n        // Execute a template associated with this view, if it exists. A template function might not be\n        // defined for the root component views.\n        const templateFn = tView.template;\n        if (templateFn !== null) {\n            executeTemplate(tView, lView, templateFn, 1 /* RenderFlags.Create */, context);\n        }\n        // This needs to be set before children are processed to support recursive components.\n        // This must be set to false immediately after the first creation run because in an\n        // ngFor loop, all the views will be created together before update mode runs and turns\n        // off firstCreatePass. If we don't set it here, instances will perform directive\n        // matching, etc again and again.\n        if (tView.firstCreatePass) {\n            tView.firstCreatePass = false;\n        }\n        // We resolve content queries specifically marked as `static` in creation mode. Dynamic\n        // content queries are resolved during change detection (i.e. update mode), after embedded\n        // views are refreshed (see block above).\n        if (tView.staticContentQueries) {\n            refreshContentQueries(tView, lView);\n        }\n        // We must materialize query results before child components are processed\n        // in case a child component has projected a container. The LContainer needs\n        // to exist so the embedded views are properly attached by the container.\n        if (tView.staticViewQueries) {\n            executeViewQueryFn(2 /* RenderFlags.Update */, tView.viewQuery, context);\n        }\n        // Render child component views.\n        const components = tView.components;\n        if (components !== null) {\n            renderChildComponents(lView, components);\n        }\n    }\n    catch (error) {\n        // If we didn't manage to get past the first template pass due to\n        // an error, mark the view as corrupted so we can try to recover.\n        if (tView.firstCreatePass) {\n            tView.incompleteFirstPass = true;\n            tView.firstCreatePass = false;\n        }\n        throw error;\n    }\n    finally {\n        lView[FLAGS] &= ~4 /* LViewFlags.CreationMode */;\n        leaveView();\n    }\n}\n/**\n * Processes a view in update mode. This includes a number of steps in a specific order:\n * - executing a template function in update mode;\n * - executing hooks;\n * - refreshing queries;\n * - setting host bindings;\n * - refreshing child (embedded and component) views.\n */\nfunction refreshView(tView, lView, templateFn, context) {\n    ngDevMode && assertEqual(isCreationMode(lView), false, 'Should be run in update mode');\n    const flags = lView[FLAGS];\n    if ((flags & 128 /* LViewFlags.Destroyed */) === 128 /* LViewFlags.Destroyed */)\n        return;\n    enterView(lView);\n    // Check no changes mode is a dev only mode used to verify that bindings have not changed\n    // since they were assigned. We do not want to execute lifecycle hooks in that mode.\n    const isInCheckNoChangesPass = ngDevMode && isInCheckNoChangesMode();\n    try {\n        resetPreOrderHookFlags(lView);\n        setBindingIndex(tView.bindingStartIndex);\n        if (templateFn !== null) {\n            executeTemplate(tView, lView, templateFn, 2 /* RenderFlags.Update */, context);\n        }\n        const hooksInitPhaseCompleted = (flags & 3 /* LViewFlags.InitPhaseStateMask */) === 3 /* InitPhaseState.InitPhaseCompleted */;\n        // execute pre-order hooks (OnInit, OnChanges, DoCheck)\n        // PERF WARNING: do NOT extract this to a separate function without running benchmarks\n        if (!isInCheckNoChangesPass) {\n            if (hooksInitPhaseCompleted) {\n                const preOrderCheckHooks = tView.preOrderCheckHooks;\n                if (preOrderCheckHooks !== null) {\n                    executeCheckHooks(lView, preOrderCheckHooks, null);\n                }\n            }\n            else {\n                const preOrderHooks = tView.preOrderHooks;\n                if (preOrderHooks !== null) {\n                    executeInitAndCheckHooks(lView, preOrderHooks, 0 /* InitPhaseState.OnInitHooksToBeRun */, null);\n                }\n                incrementInitPhaseFlags(lView, 0 /* InitPhaseState.OnInitHooksToBeRun */);\n            }\n        }\n        // First mark transplanted views that are declared in this lView as needing a refresh at their\n        // insertion points. This is needed to avoid the situation where the template is defined in this\n        // `LView` but its declaration appears after the insertion component.\n        markTransplantedViewsForRefresh(lView);\n        refreshEmbeddedViews(lView);\n        // Content query results must be refreshed before content hooks are called.\n        if (tView.contentQueries !== null) {\n            refreshContentQueries(tView, lView);\n        }\n        // execute content hooks (AfterContentInit, AfterContentChecked)\n        // PERF WARNING: do NOT extract this to a separate function without running benchmarks\n        if (!isInCheckNoChangesPass) {\n            if (hooksInitPhaseCompleted) {\n                const contentCheckHooks = tView.contentCheckHooks;\n                if (contentCheckHooks !== null) {\n                    executeCheckHooks(lView, contentCheckHooks);\n                }\n            }\n            else {\n                const contentHooks = tView.contentHooks;\n                if (contentHooks !== null) {\n                    executeInitAndCheckHooks(lView, contentHooks, 1 /* InitPhaseState.AfterContentInitHooksToBeRun */);\n                }\n                incrementInitPhaseFlags(lView, 1 /* InitPhaseState.AfterContentInitHooksToBeRun */);\n            }\n        }\n        processHostBindingOpCodes(tView, lView);\n        // Refresh child component views.\n        const components = tView.components;\n        if (components !== null) {\n            refreshChildComponents(lView, components);\n        }\n        // View queries must execute after refreshing child components because a template in this view\n        // could be inserted in a child component. If the view query executes before child component\n        // refresh, the template might not yet be inserted.\n        const viewQuery = tView.viewQuery;\n        if (viewQuery !== null) {\n            executeViewQueryFn(2 /* RenderFlags.Update */, viewQuery, context);\n        }\n        // execute view hooks (AfterViewInit, AfterViewChecked)\n        // PERF WARNING: do NOT extract this to a separate function without running benchmarks\n        if (!isInCheckNoChangesPass) {\n            if (hooksInitPhaseCompleted) {\n                const viewCheckHooks = tView.viewCheckHooks;\n                if (viewCheckHooks !== null) {\n                    executeCheckHooks(lView, viewCheckHooks);\n                }\n            }\n            else {\n                const viewHooks = tView.viewHooks;\n                if (viewHooks !== null) {\n                    executeInitAndCheckHooks(lView, viewHooks, 2 /* InitPhaseState.AfterViewInitHooksToBeRun */);\n                }\n                incrementInitPhaseFlags(lView, 2 /* InitPhaseState.AfterViewInitHooksToBeRun */);\n            }\n        }\n        if (tView.firstUpdatePass === true) {\n            // We need to make sure that we only flip the flag on successful `refreshView` only\n            // Don't do this in `finally` block.\n            // If we did this in `finally` block then an exception could block the execution of styling\n            // instructions which in turn would be unable to insert themselves into the styling linked\n            // list. The result of this would be that if the exception would not be throw on subsequent CD\n            // the styling would be unable to process it data and reflect to the DOM.\n            tView.firstUpdatePass = false;\n        }\n        // Do not reset the dirty state when running in check no changes mode. We don't want components\n        // to behave differently depending on whether check no changes is enabled or not. For example:\n        // Marking an OnPush component as dirty from within the `ngAfterViewInit` hook in order to\n        // refresh a `NgClass` binding should work. If we would reset the dirty state in the check\n        // no changes cycle, the component would be not be dirty for the next update pass. This would\n        // be different in production mode where the component dirty state is not reset.\n        if (!isInCheckNoChangesPass) {\n            lView[FLAGS] &= ~(32 /* LViewFlags.Dirty */ | 8 /* LViewFlags.FirstLViewPass */);\n        }\n        if (lView[FLAGS] & 512 /* LViewFlags.RefreshTransplantedView */) {\n            lView[FLAGS] &= ~512 /* LViewFlags.RefreshTransplantedView */;\n            updateTransplantedViewCount(lView[PARENT], -1);\n        }\n    }\n    finally {\n        leaveView();\n    }\n}\nfunction executeTemplate(tView, lView, templateFn, rf, context) {\n    const prevSelectedIndex = getSelectedIndex();\n    const isUpdatePhase = rf & 2 /* RenderFlags.Update */;\n    try {\n        setSelectedIndex(-1);\n        if (isUpdatePhase && lView.length > HEADER_OFFSET) {\n            // When we're updating, inherently select 0 so we don't\n            // have to generate that instruction for most update blocks.\n            selectIndexInternal(tView, lView, HEADER_OFFSET, !!ngDevMode && isInCheckNoChangesMode());\n        }\n        const preHookType = isUpdatePhase ? 2 /* ProfilerEvent.TemplateUpdateStart */ : 0 /* ProfilerEvent.TemplateCreateStart */;\n        profiler(preHookType, context);\n        templateFn(rf, context);\n    }\n    finally {\n        setSelectedIndex(prevSelectedIndex);\n        const postHookType = isUpdatePhase ? 3 /* ProfilerEvent.TemplateUpdateEnd */ : 1 /* ProfilerEvent.TemplateCreateEnd */;\n        profiler(postHookType, context);\n    }\n}\n//////////////////////////\n//// Element\n//////////////////////////\nfunction executeContentQueries(tView, tNode, lView) {\n    if (isContentQueryHost(tNode)) {\n        const start = tNode.directiveStart;\n        const end = tNode.directiveEnd;\n        for (let directiveIndex = start; directiveIndex < end; directiveIndex++) {\n            const def = tView.data[directiveIndex];\n            if (def.contentQueries) {\n                def.contentQueries(1 /* RenderFlags.Create */, lView[directiveIndex], directiveIndex);\n            }\n        }\n    }\n}\n/**\n * Creates directive instances.\n */\nfunction createDirectivesInstances(tView, lView, tNode) {\n    if (!getBindingsEnabled())\n        return;\n    instantiateAllDirectives(tView, lView, tNode, getNativeByTNode(tNode, lView));\n    if ((tNode.flags & 64 /* TNodeFlags.hasHostBindings */) === 64 /* TNodeFlags.hasHostBindings */) {\n        invokeDirectivesHostBindings(tView, lView, tNode);\n    }\n}\n/**\n * Takes a list of local names and indices and pushes the resolved local variable values\n * to LView in the same order as they are loaded in the template with load().\n */\nfunction saveResolvedLocalsInData(viewData, tNode, localRefExtractor = getNativeByTNode) {\n    const localNames = tNode.localNames;\n    if (localNames !== null) {\n        let localIndex = tNode.index + 1;\n        for (let i = 0; i < localNames.length; i += 2) {\n            const index = localNames[i + 1];\n            const value = index === -1 ?\n                localRefExtractor(tNode, viewData) :\n                viewData[index];\n            viewData[localIndex++] = value;\n        }\n    }\n}\n/**\n * Gets TView from a template function or creates a new TView\n * if it doesn't already exist.\n *\n * @param def ComponentDef\n * @returns TView\n */\nfunction getOrCreateComponentTView(def) {\n    const tView = def.tView;\n    // Create a TView if there isn't one, or recreate it if the first create pass didn't\n    // complete successfully since we can't know for sure whether it's in a usable shape.\n    if (tView === null || tView.incompleteFirstPass) {\n        // Declaration node here is null since this function is called when we dynamically create a\n        // component and hence there is no declaration.\n        const declTNode = null;\n        return def.tView = createTView(1 /* TViewType.Component */, declTNode, def.template, def.decls, def.vars, def.directiveDefs, def.pipeDefs, def.viewQuery, def.schemas, def.consts);\n    }\n    return tView;\n}\n/**\n * Creates a TView instance\n *\n * @param type Type of `TView`.\n * @param declTNode Declaration location of this `TView`.\n * @param templateFn Template function\n * @param decls The number of nodes, local refs, and pipes in this template\n * @param directives Registry of directives for this view\n * @param pipes Registry of pipes for this view\n * @param viewQuery View queries for this view\n * @param schemas Schemas for this view\n * @param consts Constants for this view\n */\nfunction createTView(type, declTNode, templateFn, decls, vars, directives, pipes, viewQuery, schemas, constsOrFactory) {\n    ngDevMode && ngDevMode.tView++;\n    const bindingStartIndex = HEADER_OFFSET + decls;\n    // This length does not yet contain host bindings from child directives because at this point,\n    // we don't know which directives are active on this template. As soon as a directive is matched\n    // that has a host binding, we will update the blueprint with that def's hostVars count.\n    const initialViewLength = bindingStartIndex + vars;\n    const blueprint = createViewBlueprint(bindingStartIndex, initialViewLength);\n    const consts = typeof constsOrFactory === 'function' ? constsOrFactory() : constsOrFactory;\n    const tView = blueprint[TVIEW] = {\n        type: type,\n        blueprint: blueprint,\n        template: templateFn,\n        queries: null,\n        viewQuery: viewQuery,\n        declTNode: declTNode,\n        data: blueprint.slice().fill(null, bindingStartIndex),\n        bindingStartIndex: bindingStartIndex,\n        expandoStartIndex: initialViewLength,\n        hostBindingOpCodes: null,\n        firstCreatePass: true,\n        firstUpdatePass: true,\n        staticViewQueries: false,\n        staticContentQueries: false,\n        preOrderHooks: null,\n        preOrderCheckHooks: null,\n        contentHooks: null,\n        contentCheckHooks: null,\n        viewHooks: null,\n        viewCheckHooks: null,\n        destroyHooks: null,\n        cleanup: null,\n        contentQueries: null,\n        components: null,\n        directiveRegistry: typeof directives === 'function' ? directives() : directives,\n        pipeRegistry: typeof pipes === 'function' ? pipes() : pipes,\n        firstChild: null,\n        schemas: schemas,\n        consts: consts,\n        incompleteFirstPass: false\n    };\n    if (ngDevMode) {\n        // For performance reasons it is important that the tView retains the same shape during runtime.\n        // (To make sure that all of the code is monomorphic.) For this reason we seal the object to\n        // prevent class transitions.\n        Object.seal(tView);\n    }\n    return tView;\n}\nfunction createViewBlueprint(bindingStartIndex, initialViewLength) {\n    const blueprint = [];\n    for (let i = 0; i < initialViewLength; i++) {\n        blueprint.push(i < bindingStartIndex ? null : NO_CHANGE);\n    }\n    return blueprint;\n}\n/**\n * Locates the host native element, used for bootstrapping existing nodes into rendering pipeline.\n *\n * @param rendererFactory Factory function to create renderer instance.\n * @param elementOrSelector Render element or CSS selector to locate the element.\n * @param encapsulation View Encapsulation defined for component that requests host element.\n */\nfunction locateHostElement(renderer, elementOrSelector, encapsulation) {\n    // When using native Shadow DOM, do not clear host element to allow native slot projection\n    const preserveContent = encapsulation === ViewEncapsulation$1.ShadowDom;\n    return renderer.selectRootElement(elementOrSelector, preserveContent);\n}\n/**\n * Saves context for this cleanup function in LView.cleanupInstances.\n *\n * On the first template pass, saves in TView:\n * - Cleanup function\n * - Index of context we just saved in LView.cleanupInstances\n *\n * This function can also be used to store instance specific cleanup fns. In that case the `context`\n * is `null` and the function is store in `LView` (rather than it `TView`).\n */\nfunction storeCleanupWithContext(tView, lView, context, cleanupFn) {\n    const lCleanup = getOrCreateLViewCleanup(lView);\n    if (context === null) {\n        // If context is null that this is instance specific callback. These callbacks can only be\n        // inserted after template shared instances. For this reason in ngDevMode we freeze the TView.\n        if (ngDevMode) {\n            Object.freeze(getOrCreateTViewCleanup(tView));\n        }\n        lCleanup.push(cleanupFn);\n    }\n    else {\n        lCleanup.push(context);\n        if (tView.firstCreatePass) {\n            getOrCreateTViewCleanup(tView).push(cleanupFn, lCleanup.length - 1);\n        }\n    }\n}\nfunction createTNode(tView, tParent, type, index, value, attrs) {\n    ngDevMode && index !== 0 && // 0 are bogus nodes and they are OK. See `createContainerRef` in\n        // `view_engine_compatibility` for additional context.\n        assertGreaterThanOrEqual(index, HEADER_OFFSET, 'TNodes can\\'t be in the LView header.');\n    ngDevMode && assertNotSame(attrs, undefined, '\\'undefined\\' is not valid value for \\'attrs\\'');\n    ngDevMode && ngDevMode.tNode++;\n    ngDevMode && tParent && assertTNodeForTView(tParent, tView);\n    let injectorIndex = tParent ? tParent.injectorIndex : -1;\n    const tNode = {\n        type,\n        index,\n        insertBeforeIndex: null,\n        injectorIndex,\n        directiveStart: -1,\n        directiveEnd: -1,\n        directiveStylingLast: -1,\n        componentOffset: -1,\n        propertyBindings: null,\n        flags: 0,\n        providerIndexes: 0,\n        value: value,\n        attrs: attrs,\n        mergedAttrs: null,\n        localNames: null,\n        initialInputs: undefined,\n        inputs: null,\n        outputs: null,\n        tView: null,\n        next: null,\n        prev: null,\n        projectionNext: null,\n        child: null,\n        parent: tParent,\n        projection: null,\n        styles: null,\n        stylesWithoutHost: null,\n        residualStyles: undefined,\n        classes: null,\n        classesWithoutHost: null,\n        residualClasses: undefined,\n        classBindings: 0,\n        styleBindings: 0,\n    };\n    if (ngDevMode) {\n        // For performance reasons it is important that the tNode retains the same shape during runtime.\n        // (To make sure that all of the code is monomorphic.) For this reason we seal the object to\n        // prevent class transitions.\n        Object.seal(tNode);\n    }\n    return tNode;\n}\n/**\n * Generates the `PropertyAliases` data structure from the provided input/output mapping.\n * @param aliasMap Input/output mapping from the directive definition.\n * @param directiveIndex Index of the directive.\n * @param propertyAliases Object in which to store the results.\n * @param hostDirectiveAliasMap Object used to alias or filter out properties for host directives.\n * If the mapping is provided, it'll act as an allowlist, as well as a mapping of what public\n * name inputs/outputs should be exposed under.\n */\nfunction generatePropertyAliases(aliasMap, directiveIndex, propertyAliases, hostDirectiveAliasMap) {\n    for (let publicName in aliasMap) {\n        if (aliasMap.hasOwnProperty(publicName)) {\n            propertyAliases = propertyAliases === null ? {} : propertyAliases;\n            const internalName = aliasMap[publicName];\n            // If there are no host directive mappings, we want to remap using the alias map from the\n            // definition itself. If there is an alias map, it has two functions:\n            // 1. It serves as an allowlist of bindings that are exposed by the host directives. Only the\n            // ones inside the host directive map will be exposed on the host.\n            // 2. The public name of the property is aliased using the host directive alias map, rather\n            // than the alias map from the definition.\n            if (hostDirectiveAliasMap === null) {\n                addPropertyAlias(propertyAliases, directiveIndex, publicName, internalName);\n            }\n            else if (hostDirectiveAliasMap.hasOwnProperty(publicName)) {\n                addPropertyAlias(propertyAliases, directiveIndex, hostDirectiveAliasMap[publicName], internalName);\n            }\n        }\n    }\n    return propertyAliases;\n}\nfunction addPropertyAlias(propertyAliases, directiveIndex, publicName, internalName) {\n    if (propertyAliases.hasOwnProperty(publicName)) {\n        propertyAliases[publicName].push(directiveIndex, internalName);\n    }\n    else {\n        propertyAliases[publicName] = [directiveIndex, internalName];\n    }\n}\n/**\n * Initializes data structures required to work with directive inputs and outputs.\n * Initialization is done for all directives matched on a given TNode.\n */\nfunction initializeInputAndOutputAliases(tView, tNode, hostDirectiveDefinitionMap) {\n    ngDevMode && assertFirstCreatePass(tView);\n    const start = tNode.directiveStart;\n    const end = tNode.directiveEnd;\n    const tViewData = tView.data;\n    const tNodeAttrs = tNode.attrs;\n    const inputsFromAttrs = [];\n    let inputsStore = null;\n    let outputsStore = null;\n    for (let directiveIndex = start; directiveIndex < end; directiveIndex++) {\n        const directiveDef = tViewData[directiveIndex];\n        const aliasData = hostDirectiveDefinitionMap ? hostDirectiveDefinitionMap.get(directiveDef) : null;\n        const aliasedInputs = aliasData ? aliasData.inputs : null;\n        const aliasedOutputs = aliasData ? aliasData.outputs : null;\n        inputsStore =\n            generatePropertyAliases(directiveDef.inputs, directiveIndex, inputsStore, aliasedInputs);\n        outputsStore =\n            generatePropertyAliases(directiveDef.outputs, directiveIndex, outputsStore, aliasedOutputs);\n        // Do not use unbound attributes as inputs to structural directives, since structural\n        // directive inputs can only be set using microsyntax (e.g. `<div *dir=\"exp\">`).\n        // TODO(FW-1930): microsyntax expressions may also contain unbound/static attributes, which\n        // should be set for inline templates.\n        const initialInputs = (inputsStore !== null && tNodeAttrs !== null && !isInlineTemplate(tNode)) ?\n            generateInitialInputs(inputsStore, directiveIndex, tNodeAttrs) :\n            null;\n        inputsFromAttrs.push(initialInputs);\n    }\n    if (inputsStore !== null) {\n        if (inputsStore.hasOwnProperty('class')) {\n            tNode.flags |= 8 /* TNodeFlags.hasClassInput */;\n        }\n        if (inputsStore.hasOwnProperty('style')) {\n            tNode.flags |= 16 /* TNodeFlags.hasStyleInput */;\n        }\n    }\n    tNode.initialInputs = inputsFromAttrs;\n    tNode.inputs = inputsStore;\n    tNode.outputs = outputsStore;\n}\n/**\n * Mapping between attributes names that don't correspond to their element property names.\n *\n * Performance note: this function is written as a series of if checks (instead of, say, a property\n * object lookup) for performance reasons - the series of `if` checks seems to be the fastest way of\n * mapping property names. Do NOT change without benchmarking.\n *\n * Note: this mapping has to be kept in sync with the equally named mapping in the template\n * type-checking machinery of ngtsc.\n */\nfunction mapPropName(name) {\n    if (name === 'class')\n        return 'className';\n    if (name === 'for')\n        return 'htmlFor';\n    if (name === 'formaction')\n        return 'formAction';\n    if (name === 'innerHtml')\n        return 'innerHTML';\n    if (name === 'readonly')\n        return 'readOnly';\n    if (name === 'tabindex')\n        return 'tabIndex';\n    return name;\n}\nfunction elementPropertyInternal(tView, tNode, lView, propName, value, renderer, sanitizer, nativeOnly) {\n    ngDevMode && assertNotSame(value, NO_CHANGE, 'Incoming value should never be NO_CHANGE.');\n    const element = getNativeByTNode(tNode, lView);\n    let inputData = tNode.inputs;\n    let dataValue;\n    if (!nativeOnly && inputData != null && (dataValue = inputData[propName])) {\n        setInputsForProperty(tView, lView, dataValue, propName, value);\n        if (isComponentHost(tNode))\n            markDirtyIfOnPush(lView, tNode.index);\n        if (ngDevMode) {\n            setNgReflectProperties(lView, element, tNode.type, dataValue, value);\n        }\n    }\n    else if (tNode.type & 3 /* TNodeType.AnyRNode */) {\n        propName = mapPropName(propName);\n        if (ngDevMode) {\n            validateAgainstEventProperties(propName);\n            if (!isPropertyValid(element, propName, tNode.value, tView.schemas)) {\n                handleUnknownPropertyError(propName, tNode.value, tNode.type, lView);\n            }\n            ngDevMode.rendererSetProperty++;\n        }\n        // It is assumed that the sanitizer is only added when the compiler determines that the\n        // property is risky, so sanitization can be done without further checks.\n        value = sanitizer != null ? sanitizer(value, tNode.value || '', propName) : value;\n        renderer.setProperty(element, propName, value);\n    }\n    else if (tNode.type & 12 /* TNodeType.AnyContainer */) {\n        // If the node is a container and the property didn't\n        // match any of the inputs or schemas we should throw.\n        if (ngDevMode && !matchingSchemas(tView.schemas, tNode.value)) {\n            handleUnknownPropertyError(propName, tNode.value, tNode.type, lView);\n        }\n    }\n}\n/** If node is an OnPush component, marks its LView dirty. */\nfunction markDirtyIfOnPush(lView, viewIndex) {\n    ngDevMode && assertLView(lView);\n    const childComponentLView = getComponentLViewByIndex(viewIndex, lView);\n    if (!(childComponentLView[FLAGS] & 16 /* LViewFlags.CheckAlways */)) {\n        childComponentLView[FLAGS] |= 32 /* LViewFlags.Dirty */;\n    }\n}\nfunction setNgReflectProperty(lView, element, type, attrName, value) {\n    const renderer = lView[RENDERER];\n    attrName = normalizeDebugBindingName(attrName);\n    const debugValue = normalizeDebugBindingValue(value);\n    if (type & 3 /* TNodeType.AnyRNode */) {\n        if (value == null) {\n            renderer.removeAttribute(element, attrName);\n        }\n        else {\n            renderer.setAttribute(element, attrName, debugValue);\n        }\n    }\n    else {\n        const textContent = escapeCommentText(`bindings=${JSON.stringify({ [attrName]: debugValue }, null, 2)}`);\n        renderer.setValue(element, textContent);\n    }\n}\nfunction setNgReflectProperties(lView, element, type, dataValue, value) {\n    if (type & (3 /* TNodeType.AnyRNode */ | 4 /* TNodeType.Container */)) {\n        /**\n         * dataValue is an array containing runtime input or output names for the directives:\n         * i+0: directive instance index\n         * i+1: privateName\n         *\n         * e.g. [0, 'change', 'change-minified']\n         * we want to set the reflected property with the privateName: dataValue[i+1]\n         */\n        for (let i = 0; i < dataValue.length; i += 2) {\n            setNgReflectProperty(lView, element, type, dataValue[i + 1], value);\n        }\n    }\n}\n/**\n * Resolve the matched directives on a node.\n */\nfunction resolveDirectives(tView, lView, tNode, localRefs) {\n    // Please make sure to have explicit type for `exportsMap`. Inferred type triggers bug in\n    // tsickle.\n    ngDevMode && assertFirstCreatePass(tView);\n    if (getBindingsEnabled()) {\n        const exportsMap = localRefs === null ? null : { '': -1 };\n        const matchResult = findDirectiveDefMatches(tView, tNode);\n        let directiveDefs;\n        let hostDirectiveDefs;\n        if (matchResult === null) {\n            directiveDefs = hostDirectiveDefs = null;\n        }\n        else {\n            [directiveDefs, hostDirectiveDefs] = matchResult;\n        }\n        if (directiveDefs !== null) {\n            initializeDirectives(tView, lView, tNode, directiveDefs, exportsMap, hostDirectiveDefs);\n        }\n        if (exportsMap)\n            cacheMatchingLocalNames(tNode, localRefs, exportsMap);\n    }\n    // Merge the template attrs last so that they have the highest priority.\n    tNode.mergedAttrs = mergeHostAttrs(tNode.mergedAttrs, tNode.attrs);\n}\n/** Initializes the data structures necessary for a list of directives to be instantiated. */\nfunction initializeDirectives(tView, lView, tNode, directives, exportsMap, hostDirectiveDefs) {\n    ngDevMode && assertFirstCreatePass(tView);\n    // Publishes the directive types to DI so they can be injected. Needs to\n    // happen in a separate pass before the TNode flags have been initialized.\n    for (let i = 0; i < directives.length; i++) {\n        diPublicInInjector(getOrCreateNodeInjectorForNode(tNode, lView), tView, directives[i].type);\n    }\n    initTNodeFlags(tNode, tView.data.length, directives.length);\n    // When the same token is provided by several directives on the same node, some rules apply in\n    // the viewEngine:\n    // - viewProviders have priority over providers\n    // - the last directive in NgModule.declarations has priority over the previous one\n    // So to match these rules, the order in which providers are added in the arrays is very\n    // important.\n    for (let i = 0; i < directives.length; i++) {\n        const def = directives[i];\n        if (def.providersResolver)\n            def.providersResolver(def);\n    }\n    let preOrderHooksFound = false;\n    let preOrderCheckHooksFound = false;\n    let directiveIdx = allocExpando(tView, lView, directives.length, null);\n    ngDevMode &&\n        assertSame(directiveIdx, tNode.directiveStart, 'TNode.directiveStart should point to just allocated space');\n    for (let i = 0; i < directives.length; i++) {\n        const def = directives[i];\n        // Merge the attrs in the order of matches. This assumes that the first directive is the\n        // component itself, so that the component has the least priority.\n        tNode.mergedAttrs = mergeHostAttrs(tNode.mergedAttrs, def.hostAttrs);\n        configureViewWithDirective(tView, tNode, lView, directiveIdx, def);\n        saveNameToExportMap(directiveIdx, def, exportsMap);\n        if (def.contentQueries !== null)\n            tNode.flags |= 4 /* TNodeFlags.hasContentQuery */;\n        if (def.hostBindings !== null || def.hostAttrs !== null || def.hostVars !== 0)\n            tNode.flags |= 64 /* TNodeFlags.hasHostBindings */;\n        const lifeCycleHooks = def.type.prototype;\n        // Only push a node index into the preOrderHooks array if this is the first\n        // pre-order hook found on this node.\n        if (!preOrderHooksFound &&\n            (lifeCycleHooks.ngOnChanges || lifeCycleHooks.ngOnInit || lifeCycleHooks.ngDoCheck)) {\n            // We will push the actual hook function into this array later during dir instantiation.\n            // We cannot do it now because we must ensure hooks are registered in the same\n            // order that directives are created (i.e. injection order).\n            (tView.preOrderHooks ?? (tView.preOrderHooks = [])).push(tNode.index);\n            preOrderHooksFound = true;\n        }\n        if (!preOrderCheckHooksFound && (lifeCycleHooks.ngOnChanges || lifeCycleHooks.ngDoCheck)) {\n            (tView.preOrderCheckHooks ?? (tView.preOrderCheckHooks = [])).push(tNode.index);\n            preOrderCheckHooksFound = true;\n        }\n        directiveIdx++;\n    }\n    initializeInputAndOutputAliases(tView, tNode, hostDirectiveDefs);\n}\n/**\n * Add `hostBindings` to the `TView.hostBindingOpCodes`.\n *\n * @param tView `TView` to which the `hostBindings` should be added.\n * @param tNode `TNode` the element which contains the directive\n * @param directiveIdx Directive index in view.\n * @param directiveVarsIdx Where will the directive's vars be stored\n * @param def `ComponentDef`/`DirectiveDef`, which contains the `hostVars`/`hostBindings` to add.\n */\nfunction registerHostBindingOpCodes(tView, tNode, directiveIdx, directiveVarsIdx, def) {\n    ngDevMode && assertFirstCreatePass(tView);\n    const hostBindings = def.hostBindings;\n    if (hostBindings) {\n        let hostBindingOpCodes = tView.hostBindingOpCodes;\n        if (hostBindingOpCodes === null) {\n            hostBindingOpCodes = tView.hostBindingOpCodes = [];\n        }\n        const elementIndx = ~tNode.index;\n        if (lastSelectedElementIdx(hostBindingOpCodes) != elementIndx) {\n            // Conditionally add select element so that we are more efficient in execution.\n            // NOTE: this is strictly not necessary and it trades code size for runtime perf.\n            // (We could just always add it.)\n            hostBindingOpCodes.push(elementIndx);\n        }\n        hostBindingOpCodes.push(directiveIdx, directiveVarsIdx, hostBindings);\n    }\n}\n/**\n * Returns the last selected element index in the `HostBindingOpCodes`\n *\n * For perf reasons we don't need to update the selected element index in `HostBindingOpCodes` only\n * if it changes. This method returns the last index (or '0' if not found.)\n *\n * Selected element index are only the ones which are negative.\n */\nfunction lastSelectedElementIdx(hostBindingOpCodes) {\n    let i = hostBindingOpCodes.length;\n    while (i > 0) {\n        const value = hostBindingOpCodes[--i];\n        if (typeof value === 'number' && value < 0) {\n            return value;\n        }\n    }\n    return 0;\n}\n/**\n * Instantiate all the directives that were previously resolved on the current node.\n */\nfunction instantiateAllDirectives(tView, lView, tNode, native) {\n    const start = tNode.directiveStart;\n    const end = tNode.directiveEnd;\n    // The component view needs to be created before creating the node injector\n    // since it is used to inject some special symbols like `ChangeDetectorRef`.\n    if (isComponentHost(tNode)) {\n        ngDevMode && assertTNodeType(tNode, 3 /* TNodeType.AnyRNode */);\n        addComponentLogic(lView, tNode, tView.data[start + tNode.componentOffset]);\n    }\n    if (!tView.firstCreatePass) {\n        getOrCreateNodeInjectorForNode(tNode, lView);\n    }\n    attachPatchData(native, lView);\n    const initialInputs = tNode.initialInputs;\n    for (let i = start; i < end; i++) {\n        const def = tView.data[i];\n        const directive = getNodeInjectable(lView, tView, i, tNode);\n        attachPatchData(directive, lView);\n        if (initialInputs !== null) {\n            setInputsFromAttrs(lView, i - start, directive, def, tNode, initialInputs);\n        }\n        if (isComponentDef(def)) {\n            const componentView = getComponentLViewByIndex(tNode.index, lView);\n            componentView[CONTEXT] = getNodeInjectable(lView, tView, i, tNode);\n        }\n    }\n}\nfunction invokeDirectivesHostBindings(tView, lView, tNode) {\n    const start = tNode.directiveStart;\n    const end = tNode.directiveEnd;\n    const elementIndex = tNode.index;\n    const currentDirectiveIndex = getCurrentDirectiveIndex();\n    try {\n        setSelectedIndex(elementIndex);\n        for (let dirIndex = start; dirIndex < end; dirIndex++) {\n            const def = tView.data[dirIndex];\n            const directive = lView[dirIndex];\n            setCurrentDirectiveIndex(dirIndex);\n            if (def.hostBindings !== null || def.hostVars !== 0 || def.hostAttrs !== null) {\n                invokeHostBindingsInCreationMode(def, directive);\n            }\n        }\n    }\n    finally {\n        setSelectedIndex(-1);\n        setCurrentDirectiveIndex(currentDirectiveIndex);\n    }\n}\n/**\n * Invoke the host bindings in creation mode.\n *\n * @param def `DirectiveDef` which may contain the `hostBindings` function.\n * @param directive Instance of directive.\n */\nfunction invokeHostBindingsInCreationMode(def, directive) {\n    if (def.hostBindings !== null) {\n        def.hostBindings(1 /* RenderFlags.Create */, directive);\n    }\n}\n/**\n * Matches the current node against all available selectors.\n * If a component is matched (at most one), it is returned in first position in the array.\n */\nfunction findDirectiveDefMatches(tView, tNode) {\n    ngDevMode && assertFirstCreatePass(tView);\n    ngDevMode && assertTNodeType(tNode, 3 /* TNodeType.AnyRNode */ | 12 /* TNodeType.AnyContainer */);\n    const registry = tView.directiveRegistry;\n    let matches = null;\n    let hostDirectiveDefs = null;\n    if (registry) {\n        for (let i = 0; i < registry.length; i++) {\n            const def = registry[i];\n            if (isNodeMatchingSelectorList(tNode, def.selectors, /* isProjectionMode */ false)) {\n                matches || (matches = []);\n                if (isComponentDef(def)) {\n                    if (ngDevMode) {\n                        assertTNodeType(tNode, 2 /* TNodeType.Element */, `\"${tNode.value}\" tags cannot be used as component hosts. ` +\n                            `Please use a different tag to activate the ${stringify(def.type)} component.`);\n                        if (isComponentHost(tNode)) {\n                            throwMultipleComponentError(tNode, matches.find(isComponentDef).type, def.type);\n                        }\n                    }\n                    // Components are inserted at the front of the matches array so that their lifecycle\n                    // hooks run before any directive lifecycle hooks. This appears to be for ViewEngine\n                    // compatibility. This logic doesn't make sense with host directives, because it\n                    // would allow the host directives to undo any overrides the host may have made.\n                    // To handle this case, the host directives of components are inserted at the beginning\n                    // of the array, followed by the component. As such, the insertion order is as follows:\n                    // 1. Host directives belonging to the selector-matched component.\n                    // 2. Selector-matched component.\n                    // 3. Host directives belonging to selector-matched directives.\n                    // 4. Selector-matched directives.\n                    if (def.findHostDirectiveDefs !== null) {\n                        const hostDirectiveMatches = [];\n                        hostDirectiveDefs = hostDirectiveDefs || new Map();\n                        def.findHostDirectiveDefs(def, hostDirectiveMatches, hostDirectiveDefs);\n                        // Add all host directives declared on this component, followed by the component itself.\n                        // Host directives should execute first so the host has a chance to override changes\n                        // to the DOM made by them.\n                        matches.unshift(...hostDirectiveMatches, def);\n                        // Component is offset starting from the beginning of the host directives array.\n                        const componentOffset = hostDirectiveMatches.length;\n                        markAsComponentHost(tView, tNode, componentOffset);\n                    }\n                    else {\n                        // No host directives on this component, just add the\n                        // component def to the beginning of the matches.\n                        matches.unshift(def);\n                        markAsComponentHost(tView, tNode, 0);\n                    }\n                }\n                else {\n                    // Append any host directives to the matches first.\n                    hostDirectiveDefs = hostDirectiveDefs || new Map();\n                    def.findHostDirectiveDefs?.(def, matches, hostDirectiveDefs);\n                    matches.push(def);\n                }\n            }\n        }\n    }\n    return matches === null ? null : [matches, hostDirectiveDefs];\n}\n/**\n * Marks a given TNode as a component's host. This consists of:\n * - setting the component offset on the TNode.\n * - storing index of component's host element so it will be queued for view refresh during CD.\n */\nfunction markAsComponentHost(tView, hostTNode, componentOffset) {\n    ngDevMode && assertFirstCreatePass(tView);\n    ngDevMode && assertGreaterThan(componentOffset, -1, 'componentOffset must be great than -1');\n    hostTNode.componentOffset = componentOffset;\n    (tView.components ?? (tView.components = [])).push(hostTNode.index);\n}\n/** Caches local names and their matching directive indices for query and template lookups. */\nfunction cacheMatchingLocalNames(tNode, localRefs, exportsMap) {\n    if (localRefs) {\n        const localNames = tNode.localNames = [];\n        // Local names must be stored in tNode in the same order that localRefs are defined\n        // in the template to ensure the data is loaded in the same slots as their refs\n        // in the template (for template queries).\n        for (let i = 0; i < localRefs.length; i += 2) {\n            const index = exportsMap[localRefs[i + 1]];\n            if (index == null)\n                throw new RuntimeError(-301 /* RuntimeErrorCode.EXPORT_NOT_FOUND */, ngDevMode && `Export of name '${localRefs[i + 1]}' not found!`);\n            localNames.push(localRefs[i], index);\n        }\n    }\n}\n/**\n * Builds up an export map as directives are created, so local refs can be quickly mapped\n * to their directive instances.\n */\nfunction saveNameToExportMap(directiveIdx, def, exportsMap) {\n    if (exportsMap) {\n        if (def.exportAs) {\n            for (let i = 0; i < def.exportAs.length; i++) {\n                exportsMap[def.exportAs[i]] = directiveIdx;\n            }\n        }\n        if (isComponentDef(def))\n            exportsMap[''] = directiveIdx;\n    }\n}\n/**\n * Initializes the flags on the current node, setting all indices to the initial index,\n * the directive count to 0, and adding the isComponent flag.\n * @param index the initial index\n */\nfunction initTNodeFlags(tNode, index, numberOfDirectives) {\n    ngDevMode &&\n        assertNotEqual(numberOfDirectives, tNode.directiveEnd - tNode.directiveStart, 'Reached the max number of directives');\n    tNode.flags |= 1 /* TNodeFlags.isDirectiveHost */;\n    // When the first directive is created on a node, save the index\n    tNode.directiveStart = index;\n    tNode.directiveEnd = index + numberOfDirectives;\n    tNode.providerIndexes = index;\n}\n/**\n * Setup directive for instantiation.\n *\n * We need to create a `NodeInjectorFactory` which is then inserted in both the `Blueprint` as well\n * as `LView`. `TView` gets the `DirectiveDef`.\n *\n * @param tView `TView`\n * @param tNode `TNode`\n * @param lView `LView`\n * @param directiveIndex Index where the directive will be stored in the Expando.\n * @param def `DirectiveDef`\n */\nfunction configureViewWithDirective(tView, tNode, lView, directiveIndex, def) {\n    ngDevMode &&\n        assertGreaterThanOrEqual(directiveIndex, HEADER_OFFSET, 'Must be in Expando section');\n    tView.data[directiveIndex] = def;\n    const directiveFactory = def.factory || (def.factory = getFactoryDef(def.type, true));\n    // Even though `directiveFactory` will already be using `ɵɵdirectiveInject` in its generated code,\n    // we also want to support `inject()` directly from the directive constructor context so we set\n    // `ɵɵdirectiveInject` as the inject implementation here too.\n    const nodeInjectorFactory = new NodeInjectorFactory(directiveFactory, isComponentDef(def), ɵɵdirectiveInject);\n    tView.blueprint[directiveIndex] = nodeInjectorFactory;\n    lView[directiveIndex] = nodeInjectorFactory;\n    registerHostBindingOpCodes(tView, tNode, directiveIndex, allocExpando(tView, lView, def.hostVars, NO_CHANGE), def);\n}\nfunction addComponentLogic(lView, hostTNode, def) {\n    const native = getNativeByTNode(hostTNode, lView);\n    const tView = getOrCreateComponentTView(def);\n    // Only component views should be added to the view tree directly. Embedded views are\n    // accessed through their containers because they may be removed / re-added later.\n    const rendererFactory = lView[RENDERER_FACTORY];\n    const componentView = addToViewTree(lView, createLView(lView, tView, null, def.onPush ? 32 /* LViewFlags.Dirty */ : 16 /* LViewFlags.CheckAlways */, native, hostTNode, rendererFactory, rendererFactory.createRenderer(native, def), null, null, null));\n    // Component view will always be created before any injected LContainers,\n    // so this is a regular element, wrap it with the component view\n    lView[hostTNode.index] = componentView;\n}\nfunction elementAttributeInternal(tNode, lView, name, value, sanitizer, namespace) {\n    if (ngDevMode) {\n        assertNotSame(value, NO_CHANGE, 'Incoming value should never be NO_CHANGE.');\n        validateAgainstEventAttributes(name);\n        assertTNodeType(tNode, 2 /* TNodeType.Element */, `Attempted to set attribute \\`${name}\\` on a container node. ` +\n            `Host bindings are not valid on ng-container or ng-template.`);\n    }\n    const element = getNativeByTNode(tNode, lView);\n    setElementAttribute(lView[RENDERER], element, namespace, tNode.value, name, value, sanitizer);\n}\nfunction setElementAttribute(renderer, element, namespace, tagName, name, value, sanitizer) {\n    if (value == null) {\n        ngDevMode && ngDevMode.rendererRemoveAttribute++;\n        renderer.removeAttribute(element, name, namespace);\n    }\n    else {\n        ngDevMode && ngDevMode.rendererSetAttribute++;\n        const strValue = sanitizer == null ? renderStringify(value) : sanitizer(value, tagName || '', name);\n        renderer.setAttribute(element, name, strValue, namespace);\n    }\n}\n/**\n * Sets initial input properties on directive instances from attribute data\n *\n * @param lView Current LView that is being processed.\n * @param directiveIndex Index of the directive in directives array\n * @param instance Instance of the directive on which to set the initial inputs\n * @param def The directive def that contains the list of inputs\n * @param tNode The static data for this node\n */\nfunction setInputsFromAttrs(lView, directiveIndex, instance, def, tNode, initialInputData) {\n    const initialInputs = initialInputData[directiveIndex];\n    if (initialInputs !== null) {\n        const setInput = def.setInput;\n        for (let i = 0; i < initialInputs.length;) {\n            const publicName = initialInputs[i++];\n            const privateName = initialInputs[i++];\n            const value = initialInputs[i++];\n            if (setInput !== null) {\n                def.setInput(instance, value, publicName, privateName);\n            }\n            else {\n                instance[privateName] = value;\n            }\n            if (ngDevMode) {\n                const nativeElement = getNativeByTNode(tNode, lView);\n                setNgReflectProperty(lView, nativeElement, tNode.type, privateName, value);\n            }\n        }\n    }\n}\n/**\n * Generates initialInputData for a node and stores it in the template's static storage\n * so subsequent template invocations don't have to recalculate it.\n *\n * initialInputData is an array containing values that need to be set as input properties\n * for directives on this node, but only once on creation. We need this array to support\n * the case where you set an @Input property of a directive using attribute-like syntax.\n * e.g. if you have a `name` @Input, you can set it once like this:\n *\n * <my-component name=\"Bess\"></my-component>\n *\n * @param inputs Input alias map that was generated from the directive def inputs.\n * @param directiveIndex Index of the directive that is currently being processed.\n * @param attrs Static attrs on this node.\n */\nfunction generateInitialInputs(inputs, directiveIndex, attrs) {\n    let inputsToStore = null;\n    let i = 0;\n    while (i < attrs.length) {\n        const attrName = attrs[i];\n        if (attrName === 0 /* AttributeMarker.NamespaceURI */) {\n            // We do not allow inputs on namespaced attributes.\n            i += 4;\n            continue;\n        }\n        else if (attrName === 5 /* AttributeMarker.ProjectAs */) {\n            // Skip over the `ngProjectAs` value.\n            i += 2;\n            continue;\n        }\n        // If we hit any other attribute markers, we're done anyway. None of those are valid inputs.\n        if (typeof attrName === 'number')\n            break;\n        if (inputs.hasOwnProperty(attrName)) {\n            if (inputsToStore === null)\n                inputsToStore = [];\n            // Find the input's public name from the input store. Note that we can be found easier\n            // through the directive def, but we want to do it using the inputs store so that it can\n            // account for host directive aliases.\n            const inputConfig = inputs[attrName];\n            for (let j = 0; j < inputConfig.length; j += 2) {\n                if (inputConfig[j] === directiveIndex) {\n                    inputsToStore.push(attrName, inputConfig[j + 1], attrs[i + 1]);\n                    // A directive can't have multiple inputs with the same name so we can break here.\n                    break;\n                }\n            }\n        }\n        i += 2;\n    }\n    return inputsToStore;\n}\n//////////////////////////\n//// ViewContainer & View\n//////////////////////////\n/**\n * Creates a LContainer, either from a container instruction, or for a ViewContainerRef.\n *\n * @param hostNative The host element for the LContainer\n * @param hostTNode The host TNode for the LContainer\n * @param currentView The parent view of the LContainer\n * @param native The native comment element\n * @param isForViewContainerRef Optional a flag indicating the ViewContainerRef case\n * @returns LContainer\n */\nfunction createLContainer(hostNative, currentView, native, tNode) {\n    ngDevMode && assertLView(currentView);\n    const lContainer = [\n        hostNative,\n        true,\n        false,\n        currentView,\n        null,\n        0,\n        tNode,\n        native,\n        null,\n        null, // moved views\n    ];\n    ngDevMode &&\n        assertEqual(lContainer.length, CONTAINER_HEADER_OFFSET, 'Should allocate correct number of slots for LContainer header.');\n    return lContainer;\n}\n/**\n * Goes over embedded views (ones created through ViewContainerRef APIs) and refreshes\n * them by executing an associated template function.\n */\nfunction refreshEmbeddedViews(lView) {\n    for (let lContainer = getFirstLContainer(lView); lContainer !== null; lContainer = getNextLContainer(lContainer)) {\n        for (let i = CONTAINER_HEADER_OFFSET; i < lContainer.length; i++) {\n            const embeddedLView = lContainer[i];\n            const embeddedTView = embeddedLView[TVIEW];\n            ngDevMode && assertDefined(embeddedTView, 'TView must be allocated');\n            if (viewAttachedToChangeDetector(embeddedLView)) {\n                refreshView(embeddedTView, embeddedLView, embeddedTView.template, embeddedLView[CONTEXT]);\n            }\n        }\n    }\n}\n/**\n * Mark transplanted views as needing to be refreshed at their insertion points.\n *\n * @param lView The `LView` that may have transplanted views.\n */\nfunction markTransplantedViewsForRefresh(lView) {\n    for (let lContainer = getFirstLContainer(lView); lContainer !== null; lContainer = getNextLContainer(lContainer)) {\n        if (!lContainer[HAS_TRANSPLANTED_VIEWS])\n            continue;\n        const movedViews = lContainer[MOVED_VIEWS];\n        ngDevMode && assertDefined(movedViews, 'Transplanted View flags set but missing MOVED_VIEWS');\n        for (let i = 0; i < movedViews.length; i++) {\n            const movedLView = movedViews[i];\n            const insertionLContainer = movedLView[PARENT];\n            ngDevMode && assertLContainer(insertionLContainer);\n            // We don't want to increment the counter if the moved LView was already marked for\n            // refresh.\n            if ((movedLView[FLAGS] & 512 /* LViewFlags.RefreshTransplantedView */) === 0) {\n                updateTransplantedViewCount(insertionLContainer, 1);\n            }\n            // Note, it is possible that the `movedViews` is tracking views that are transplanted *and*\n            // those that aren't (declaration component === insertion component). In the latter case,\n            // it's fine to add the flag, as we will clear it immediately in\n            // `refreshEmbeddedViews` for the view currently being refreshed.\n            movedLView[FLAGS] |= 512 /* LViewFlags.RefreshTransplantedView */;\n        }\n    }\n}\n/////////////\n/**\n * Refreshes components by entering the component view and processing its bindings, queries, etc.\n *\n * @param componentHostIdx  Element index in LView[] (adjusted for HEADER_OFFSET)\n */\nfunction refreshComponent(hostLView, componentHostIdx) {\n    ngDevMode && assertEqual(isCreationMode(hostLView), false, 'Should be run in update mode');\n    const componentView = getComponentLViewByIndex(componentHostIdx, hostLView);\n    // Only attached components that are CheckAlways or OnPush and dirty should be refreshed\n    if (viewAttachedToChangeDetector(componentView)) {\n        const tView = componentView[TVIEW];\n        if (componentView[FLAGS] & (16 /* LViewFlags.CheckAlways */ | 32 /* LViewFlags.Dirty */)) {\n            refreshView(tView, componentView, tView.template, componentView[CONTEXT]);\n        }\n        else if (componentView[TRANSPLANTED_VIEWS_TO_REFRESH] > 0) {\n            // Only attached components that are CheckAlways or OnPush and dirty should be refreshed\n            refreshContainsDirtyView(componentView);\n        }\n    }\n}\n/**\n * Refreshes all transplanted views marked with `LViewFlags.RefreshTransplantedView` that are\n * children or descendants of the given lView.\n *\n * @param lView The lView which contains descendant transplanted views that need to be refreshed.\n */\nfunction refreshContainsDirtyView(lView) {\n    for (let lContainer = getFirstLContainer(lView); lContainer !== null; lContainer = getNextLContainer(lContainer)) {\n        for (let i = CONTAINER_HEADER_OFFSET; i < lContainer.length; i++) {\n            const embeddedLView = lContainer[i];\n            if (viewAttachedToChangeDetector(embeddedLView)) {\n                if (embeddedLView[FLAGS] & 512 /* LViewFlags.RefreshTransplantedView */) {\n                    const embeddedTView = embeddedLView[TVIEW];\n                    ngDevMode && assertDefined(embeddedTView, 'TView must be allocated');\n                    refreshView(embeddedTView, embeddedLView, embeddedTView.template, embeddedLView[CONTEXT]);\n                }\n                else if (embeddedLView[TRANSPLANTED_VIEWS_TO_REFRESH] > 0) {\n                    refreshContainsDirtyView(embeddedLView);\n                }\n            }\n        }\n    }\n    const tView = lView[TVIEW];\n    // Refresh child component views.\n    const components = tView.components;\n    if (components !== null) {\n        for (let i = 0; i < components.length; i++) {\n            const componentView = getComponentLViewByIndex(components[i], lView);\n            // Only attached components that are CheckAlways or OnPush and dirty should be refreshed\n            if (viewAttachedToChangeDetector(componentView) &&\n                componentView[TRANSPLANTED_VIEWS_TO_REFRESH] > 0) {\n                refreshContainsDirtyView(componentView);\n            }\n        }\n    }\n}\nfunction renderComponent(hostLView, componentHostIdx) {\n    ngDevMode && assertEqual(isCreationMode(hostLView), true, 'Should be run in creation mode');\n    const componentView = getComponentLViewByIndex(componentHostIdx, hostLView);\n    const componentTView = componentView[TVIEW];\n    syncViewWithBlueprint(componentTView, componentView);\n    renderView(componentTView, componentView, componentView[CONTEXT]);\n}\n/**\n * Syncs an LView instance with its blueprint if they have gotten out of sync.\n *\n * Typically, blueprints and their view instances should always be in sync, so the loop here\n * will be skipped. However, consider this case of two components side-by-side:\n *\n * App template:\n * ```\n * <comp></comp>\n * <comp></comp>\n * ```\n *\n * The following will happen:\n * 1. App template begins processing.\n * 2. First <comp> is matched as a component and its LView is created.\n * 3. Second <comp> is matched as a component and its LView is created.\n * 4. App template completes processing, so it's time to check child templates.\n * 5. First <comp> template is checked. It has a directive, so its def is pushed to blueprint.\n * 6. Second <comp> template is checked. Its blueprint has been updated by the first\n * <comp> template, but its LView was created before this update, so it is out of sync.\n *\n * Note that embedded views inside ngFor loops will never be out of sync because these views\n * are processed as soon as they are created.\n *\n * @param tView The `TView` that contains the blueprint for syncing\n * @param lView The view to sync\n */\nfunction syncViewWithBlueprint(tView, lView) {\n    for (let i = lView.length; i < tView.blueprint.length; i++) {\n        lView.push(tView.blueprint[i]);\n    }\n}\n/**\n * Adds LView or LContainer to the end of the current view tree.\n *\n * This structure will be used to traverse through nested views to remove listeners\n * and call onDestroy callbacks.\n *\n * @param lView The view where LView or LContainer should be added\n * @param adjustedHostIndex Index of the view's host node in LView[], adjusted for header\n * @param lViewOrLContainer The LView or LContainer to add to the view tree\n * @returns The state passed in\n */\nfunction addToViewTree(lView, lViewOrLContainer) {\n    // TODO(benlesh/misko): This implementation is incorrect, because it always adds the LContainer\n    // to the end of the queue, which means if the developer retrieves the LContainers from RNodes out\n    // of order, the change detection will run out of order, as the act of retrieving the the\n    // LContainer from the RNode is what adds it to the queue.\n    if (lView[CHILD_HEAD]) {\n        lView[CHILD_TAIL][NEXT] = lViewOrLContainer;\n    }\n    else {\n        lView[CHILD_HEAD] = lViewOrLContainer;\n    }\n    lView[CHILD_TAIL] = lViewOrLContainer;\n    return lViewOrLContainer;\n}\n///////////////////////////////\n//// Change detection\n///////////////////////////////\n/**\n * Marks current view and all ancestors dirty.\n *\n * Returns the root view because it is found as a byproduct of marking the view tree\n * dirty, and can be used by methods that consume markViewDirty() to easily schedule\n * change detection. Otherwise, such methods would need to traverse up the view tree\n * an additional time to get the root view and schedule a tick on it.\n *\n * @param lView The starting LView to mark dirty\n * @returns the root LView\n */\nfunction markViewDirty(lView) {\n    while (lView) {\n        lView[FLAGS] |= 32 /* LViewFlags.Dirty */;\n        const parent = getLViewParent(lView);\n        // Stop traversing up as soon as you find a root view that wasn't attached to any container\n        if (isRootView(lView) && !parent) {\n            return lView;\n        }\n        // continue otherwise\n        lView = parent;\n    }\n    return null;\n}\nfunction detectChangesInternal(tView, lView, context, notifyErrorHandler = true) {\n    const rendererFactory = lView[RENDERER_FACTORY];\n    // Check no changes mode is a dev only mode used to verify that bindings have not changed\n    // since they were assigned. We do not want to invoke renderer factory functions in that mode\n    // to avoid any possible side-effects.\n    const checkNoChangesMode = !!ngDevMode && isInCheckNoChangesMode();\n    if (!checkNoChangesMode && rendererFactory.begin)\n        rendererFactory.begin();\n    try {\n        refreshView(tView, lView, tView.template, context);\n    }\n    catch (error) {\n        if (notifyErrorHandler) {\n            handleError(lView, error);\n        }\n        throw error;\n    }\n    finally {\n        if (!checkNoChangesMode && rendererFactory.end)\n            rendererFactory.end();\n    }\n}\nfunction checkNoChangesInternal(tView, lView, context, notifyErrorHandler = true) {\n    setIsInCheckNoChangesMode(true);\n    try {\n        detectChangesInternal(tView, lView, context, notifyErrorHandler);\n    }\n    finally {\n        setIsInCheckNoChangesMode(false);\n    }\n}\nfunction executeViewQueryFn(flags, viewQueryFn, component) {\n    ngDevMode && assertDefined(viewQueryFn, 'View queries function to execute must be defined.');\n    setCurrentQueryIndex(0);\n    viewQueryFn(flags, component);\n}\n///////////////////////////////\n//// Bindings & interpolations\n///////////////////////////////\n/**\n * Stores meta-data for a property binding to be used by TestBed's `DebugElement.properties`.\n *\n * In order to support TestBed's `DebugElement.properties` we need to save, for each binding:\n * - a bound property name;\n * - a static parts of interpolated strings;\n *\n * A given property metadata is saved at the binding's index in the `TView.data` (in other words, a\n * property binding metadata will be stored in `TView.data` at the same index as a bound value in\n * `LView`). Metadata are represented as `INTERPOLATION_DELIMITER`-delimited string with the\n * following format:\n * - `propertyName` for bound properties;\n * - `propertyName�prefix�interpolation_static_part1�..interpolation_static_partN�suffix` for\n * interpolated properties.\n *\n * @param tData `TData` where meta-data will be saved;\n * @param tNode `TNode` that is a target of the binding;\n * @param propertyName bound property name;\n * @param bindingIndex binding index in `LView`\n * @param interpolationParts static interpolation parts (for property interpolations)\n */\nfunction storePropertyBindingMetadata(tData, tNode, propertyName, bindingIndex, ...interpolationParts) {\n    // Binding meta-data are stored only the first time a given property instruction is processed.\n    // Since we don't have a concept of the \"first update pass\" we need to check for presence of the\n    // binding meta-data to decide if one should be stored (or if was stored already).\n    if (tData[bindingIndex] === null) {\n        if (tNode.inputs == null || !tNode.inputs[propertyName]) {\n            const propBindingIdxs = tNode.propertyBindings || (tNode.propertyBindings = []);\n            propBindingIdxs.push(bindingIndex);\n            let bindingMetadata = propertyName;\n            if (interpolationParts.length > 0) {\n                bindingMetadata +=\n                    INTERPOLATION_DELIMITER + interpolationParts.join(INTERPOLATION_DELIMITER);\n            }\n            tData[bindingIndex] = bindingMetadata;\n        }\n    }\n}\nfunction getOrCreateLViewCleanup(view) {\n    // top level variables should not be exported for performance reasons (PERF_NOTES.md)\n    return view[CLEANUP] || (view[CLEANUP] = []);\n}\nfunction getOrCreateTViewCleanup(tView) {\n    return tView.cleanup || (tView.cleanup = []);\n}\n/**\n * There are cases where the sub component's renderer needs to be included\n * instead of the current renderer (see the componentSyntheticHost* instructions).\n */\nfunction loadComponentRenderer(currentDef, tNode, lView) {\n    // TODO(FW-2043): the `currentDef` is null when host bindings are invoked while creating root\n    // component (see packages/core/src/render3/component.ts). This is not consistent with the process\n    // of creating inner components, when current directive index is available in the state. In order\n    // to avoid relying on current def being `null` (thus special-casing root component creation), the\n    // process of creating root component should be unified with the process of creating inner\n    // components.\n    if (currentDef === null || isComponentDef(currentDef)) {\n        lView = unwrapLView(lView[tNode.index]);\n    }\n    return lView[RENDERER];\n}\n/** Handles an error thrown in an LView. */\nfunction handleError(lView, error) {\n    const injector = lView[INJECTOR$1];\n    const errorHandler = injector ? injector.get(ErrorHandler, null) : null;\n    errorHandler && errorHandler.handleError(error);\n}\n/**\n * Set the inputs of directives at the current node to corresponding value.\n *\n * @param tView The current TView\n * @param lView the `LView` which contains the directives.\n * @param inputs mapping between the public \"input\" name and privately-known,\n *        possibly minified, property names to write to.\n * @param value Value to set.\n */\nfunction setInputsForProperty(tView, lView, inputs, publicName, value) {\n    for (let i = 0; i < inputs.length;) {\n        const index = inputs[i++];\n        const privateName = inputs[i++];\n        const instance = lView[index];\n        ngDevMode && assertIndexInRange(lView, index);\n        const def = tView.data[index];\n        if (def.setInput !== null) {\n            def.setInput(instance, value, publicName, privateName);\n        }\n        else {\n            instance[privateName] = value;\n        }\n    }\n}\n/**\n * Updates a text binding at a given index in a given LView.\n */\nfunction textBindingInternal(lView, index, value) {\n    ngDevMode && assertString(value, 'Value should be a string');\n    ngDevMode && assertNotSame(value, NO_CHANGE, 'value should not be NO_CHANGE');\n    ngDevMode && assertIndexInRange(lView, index);\n    const element = getNativeByIndex(index, lView);\n    ngDevMode && assertDefined(element, 'native element should exist');\n    updateTextNode(lView[RENDERER], element, value);\n}\n\n/**\n * Compute the static styling (class/style) from `TAttributes`.\n *\n * This function should be called during `firstCreatePass` only.\n *\n * @param tNode The `TNode` into which the styling information should be loaded.\n * @param attrs `TAttributes` containing the styling information.\n * @param writeToHost Where should the resulting static styles be written?\n *   - `false` Write to `TNode.stylesWithoutHost` / `TNode.classesWithoutHost`\n *   - `true` Write to `TNode.styles` / `TNode.classes`\n */\nfunction computeStaticStyling(tNode, attrs, writeToHost) {\n    ngDevMode &&\n        assertFirstCreatePass(getTView(), 'Expecting to be called in first template pass only');\n    let styles = writeToHost ? tNode.styles : null;\n    let classes = writeToHost ? tNode.classes : null;\n    let mode = 0;\n    if (attrs !== null) {\n        for (let i = 0; i < attrs.length; i++) {\n            const value = attrs[i];\n            if (typeof value === 'number') {\n                mode = value;\n            }\n            else if (mode == 1 /* AttributeMarker.Classes */) {\n                classes = concatStringsWithSpace(classes, value);\n            }\n            else if (mode == 2 /* AttributeMarker.Styles */) {\n                const style = value;\n                const styleValue = attrs[++i];\n                styles = concatStringsWithSpace(styles, style + ': ' + styleValue + ';');\n            }\n        }\n    }\n    writeToHost ? tNode.styles = styles : tNode.stylesWithoutHost = styles;\n    writeToHost ? tNode.classes = classes : tNode.classesWithoutHost = classes;\n}\n\nfunction collectNativeNodes(tView, lView, tNode, result, isProjection = false) {\n    while (tNode !== null) {\n        ngDevMode &&\n            assertTNodeType(tNode, 3 /* TNodeType.AnyRNode */ | 12 /* TNodeType.AnyContainer */ | 16 /* TNodeType.Projection */ | 32 /* TNodeType.Icu */);\n        const lNode = lView[tNode.index];\n        if (lNode !== null) {\n            result.push(unwrapRNode(lNode));\n        }\n        // A given lNode can represent either a native node or a LContainer (when it is a host of a\n        // ViewContainerRef). When we find a LContainer we need to descend into it to collect root nodes\n        // from the views in this container.\n        if (isLContainer(lNode)) {\n            for (let i = CONTAINER_HEADER_OFFSET; i < lNode.length; i++) {\n                const lViewInAContainer = lNode[i];\n                const lViewFirstChildTNode = lViewInAContainer[TVIEW].firstChild;\n                if (lViewFirstChildTNode !== null) {\n                    collectNativeNodes(lViewInAContainer[TVIEW], lViewInAContainer, lViewFirstChildTNode, result);\n                }\n            }\n        }\n        const tNodeType = tNode.type;\n        if (tNodeType & 8 /* TNodeType.ElementContainer */) {\n            collectNativeNodes(tView, lView, tNode.child, result);\n        }\n        else if (tNodeType & 32 /* TNodeType.Icu */) {\n            const nextRNode = icuContainerIterate(tNode, lView);\n            let rNode;\n            while (rNode = nextRNode()) {\n                result.push(rNode);\n            }\n        }\n        else if (tNodeType & 16 /* TNodeType.Projection */) {\n            const nodesInSlot = getProjectionNodes(lView, tNode);\n            if (Array.isArray(nodesInSlot)) {\n                result.push(...nodesInSlot);\n            }\n            else {\n                const parentView = getLViewParent(lView[DECLARATION_COMPONENT_VIEW]);\n                ngDevMode && assertParentView(parentView);\n                collectNativeNodes(parentView[TVIEW], parentView, nodesInSlot, result, true);\n            }\n        }\n        tNode = isProjection ? tNode.projectionNext : tNode.next;\n    }\n    return result;\n}\n\nclass ViewRef$1 {\n    get rootNodes() {\n        const lView = this._lView;\n        const tView = lView[TVIEW];\n        return collectNativeNodes(tView, lView, tView.firstChild, []);\n    }\n    constructor(\n    /**\n     * This represents `LView` associated with the component when ViewRef is a ChangeDetectorRef.\n     *\n     * When ViewRef is created for a dynamic component, this also represents the `LView` for the\n     * component.\n     *\n     * For a \"regular\" ViewRef created for an embedded view, this is the `LView` for the embedded\n     * view.\n     *\n     * @internal\n     */\n    _lView, \n    /**\n     * This represents the `LView` associated with the point where `ChangeDetectorRef` was\n     * requested.\n     *\n     * This may be different from `_lView` if the `_cdRefInjectingView` is an embedded view.\n     */\n    _cdRefInjectingView) {\n        this._lView = _lView;\n        this._cdRefInjectingView = _cdRefInjectingView;\n        this._appRef = null;\n        this._attachedToViewContainer = false;\n    }\n    get context() {\n        return this._lView[CONTEXT];\n    }\n    set context(value) {\n        this._lView[CONTEXT] = value;\n    }\n    get destroyed() {\n        return (this._lView[FLAGS] & 128 /* LViewFlags.Destroyed */) === 128 /* LViewFlags.Destroyed */;\n    }\n    destroy() {\n        if (this._appRef) {\n            this._appRef.detachView(this);\n        }\n        else if (this._attachedToViewContainer) {\n            const parent = this._lView[PARENT];\n            if (isLContainer(parent)) {\n                const viewRefs = parent[VIEW_REFS];\n                const index = viewRefs ? viewRefs.indexOf(this) : -1;\n                if (index > -1) {\n                    ngDevMode &&\n                        assertEqual(index, parent.indexOf(this._lView) - CONTAINER_HEADER_OFFSET, 'An attached view should be in the same position within its container as its ViewRef in the VIEW_REFS array.');\n                    detachView(parent, index);\n                    removeFromArray(viewRefs, index);\n                }\n            }\n            this._attachedToViewContainer = false;\n        }\n        destroyLView(this._lView[TVIEW], this._lView);\n    }\n    onDestroy(callback) {\n        storeCleanupWithContext(this._lView[TVIEW], this._lView, null, callback);\n    }\n    /**\n     * Marks a view and all of its ancestors dirty.\n     *\n     * This can be used to ensure an {@link ChangeDetectionStrategy#OnPush OnPush} component is\n     * checked when it needs to be re-rendered but the two normal triggers haven't marked it\n     * dirty (i.e. inputs haven't changed and events haven't fired in the view).\n     *\n     * <!-- TODO: Add a link to a chapter on OnPush components -->\n     *\n     * @usageNotes\n     * ### Example\n     *\n     * ```typescript\n     * @Component({\n     *   selector: 'app-root',\n     *   template: `Number of ticks: {{numberOfTicks}}`\n     *   changeDetection: ChangeDetectionStrategy.OnPush,\n     * })\n     * class AppComponent {\n     *   numberOfTicks = 0;\n     *\n     *   constructor(private ref: ChangeDetectorRef) {\n     *     setInterval(() => {\n     *       this.numberOfTicks++;\n     *       // the following is required, otherwise the view will not be updated\n     *       this.ref.markForCheck();\n     *     }, 1000);\n     *   }\n     * }\n     * ```\n     */\n    markForCheck() {\n        markViewDirty(this._cdRefInjectingView || this._lView);\n    }\n    /**\n     * Detaches the view from the change detection tree.\n     *\n     * Detached views will not be checked during change detection runs until they are\n     * re-attached, even if they are dirty. `detach` can be used in combination with\n     * {@link ChangeDetectorRef#detectChanges detectChanges} to implement local change\n     * detection checks.\n     *\n     * <!-- TODO: Add a link to a chapter on detach/reattach/local digest -->\n     * <!-- TODO: Add a live demo once ref.detectChanges is merged into master -->\n     *\n     * @usageNotes\n     * ### Example\n     *\n     * The following example defines a component with a large list of readonly data.\n     * Imagine the data changes constantly, many times per second. For performance reasons,\n     * we want to check and update the list every five seconds. We can do that by detaching\n     * the component's change detector and doing a local check every five seconds.\n     *\n     * ```typescript\n     * class DataProvider {\n     *   // in a real application the returned data will be different every time\n     *   get data() {\n     *     return [1,2,3,4,5];\n     *   }\n     * }\n     *\n     * @Component({\n     *   selector: 'giant-list',\n     *   template: `\n     *     <li *ngFor=\"let d of dataProvider.data\">Data {{d}}</li>\n     *   `,\n     * })\n     * class GiantList {\n     *   constructor(private ref: ChangeDetectorRef, private dataProvider: DataProvider) {\n     *     ref.detach();\n     *     setInterval(() => {\n     *       this.ref.detectChanges();\n     *     }, 5000);\n     *   }\n     * }\n     *\n     * @Component({\n     *   selector: 'app',\n     *   providers: [DataProvider],\n     *   template: `\n     *     <giant-list><giant-list>\n     *   `,\n     * })\n     * class App {\n     * }\n     * ```\n     */\n    detach() {\n        this._lView[FLAGS] &= ~64 /* LViewFlags.Attached */;\n    }\n    /**\n     * Re-attaches a view to the change detection tree.\n     *\n     * This can be used to re-attach views that were previously detached from the tree\n     * using {@link ChangeDetectorRef#detach detach}. Views are attached to the tree by default.\n     *\n     * <!-- TODO: Add a link to a chapter on detach/reattach/local digest -->\n     *\n     * @usageNotes\n     * ### Example\n     *\n     * The following example creates a component displaying `live` data. The component will detach\n     * its change detector from the main change detector tree when the component's live property\n     * is set to false.\n     *\n     * ```typescript\n     * class DataProvider {\n     *   data = 1;\n     *\n     *   constructor() {\n     *     setInterval(() => {\n     *       this.data = this.data * 2;\n     *     }, 500);\n     *   }\n     * }\n     *\n     * @Component({\n     *   selector: 'live-data',\n     *   inputs: ['live'],\n     *   template: 'Data: {{dataProvider.data}}'\n     * })\n     * class LiveData {\n     *   constructor(private ref: ChangeDetectorRef, private dataProvider: DataProvider) {}\n     *\n     *   set live(value) {\n     *     if (value) {\n     *       this.ref.reattach();\n     *     } else {\n     *       this.ref.detach();\n     *     }\n     *   }\n     * }\n     *\n     * @Component({\n     *   selector: 'app-root',\n     *   providers: [DataProvider],\n     *   template: `\n     *     Live Update: <input type=\"checkbox\" [(ngModel)]=\"live\">\n     *     <live-data [live]=\"live\"><live-data>\n     *   `,\n     * })\n     * class AppComponent {\n     *   live = true;\n     * }\n     * ```\n     */\n    reattach() {\n        this._lView[FLAGS] |= 64 /* LViewFlags.Attached */;\n    }\n    /**\n     * Checks the view and its children.\n     *\n     * This can also be used in combination with {@link ChangeDetectorRef#detach detach} to implement\n     * local change detection checks.\n     *\n     * <!-- TODO: Add a link to a chapter on detach/reattach/local digest -->\n     * <!-- TODO: Add a live demo once ref.detectChanges is merged into master -->\n     *\n     * @usageNotes\n     * ### Example\n     *\n     * The following example defines a component with a large list of readonly data.\n     * Imagine, the data changes constantly, many times per second. For performance reasons,\n     * we want to check and update the list every five seconds.\n     *\n     * We can do that by detaching the component's change detector and doing a local change detection\n     * check every five seconds.\n     *\n     * See {@link ChangeDetectorRef#detach detach} for more information.\n     */\n    detectChanges() {\n        detectChangesInternal(this._lView[TVIEW], this._lView, this.context);\n    }\n    /**\n     * Checks the change detector and its children, and throws if any changes are detected.\n     *\n     * This is used in development mode to verify that running change detection doesn't\n     * introduce other changes.\n     */\n    checkNoChanges() {\n        if (ngDevMode) {\n            checkNoChangesInternal(this._lView[TVIEW], this._lView, this.context);\n        }\n    }\n    attachToViewContainerRef() {\n        if (this._appRef) {\n            throw new RuntimeError(902 /* RuntimeErrorCode.VIEW_ALREADY_ATTACHED */, ngDevMode && 'This view is already attached directly to the ApplicationRef!');\n        }\n        this._attachedToViewContainer = true;\n    }\n    detachFromAppRef() {\n        this._appRef = null;\n        renderDetachView(this._lView[TVIEW], this._lView);\n    }\n    attachToAppRef(appRef) {\n        if (this._attachedToViewContainer) {\n            throw new RuntimeError(902 /* RuntimeErrorCode.VIEW_ALREADY_ATTACHED */, ngDevMode && 'This view is already attached to a ViewContainer!');\n        }\n        this._appRef = appRef;\n    }\n}\n/** @internal */\nclass RootViewRef extends ViewRef$1 {\n    constructor(_view) {\n        super(_view);\n        this._view = _view;\n    }\n    detectChanges() {\n        const lView = this._view;\n        const tView = lView[TVIEW];\n        const context = lView[CONTEXT];\n        detectChangesInternal(tView, lView, context, false);\n    }\n    checkNoChanges() {\n        if (ngDevMode) {\n            const lView = this._view;\n            const tView = lView[TVIEW];\n            const context = lView[CONTEXT];\n            checkNoChangesInternal(tView, lView, context, false);\n        }\n    }\n    get context() {\n        return null;\n    }\n}\n\nclass ComponentFactoryResolver extends ComponentFactoryResolver$1 {\n    /**\n     * @param ngModule The NgModuleRef to which all resolved factories are bound.\n     */\n    constructor(ngModule) {\n        super();\n        this.ngModule = ngModule;\n    }\n    resolveComponentFactory(component) {\n        ngDevMode && assertComponentType(component);\n        const componentDef = getComponentDef(component);\n        return new ComponentFactory(componentDef, this.ngModule);\n    }\n}\nfunction toRefArray(map) {\n    const array = [];\n    for (let nonMinified in map) {\n        if (map.hasOwnProperty(nonMinified)) {\n            const minified = map[nonMinified];\n            array.push({ propName: minified, templateName: nonMinified });\n        }\n    }\n    return array;\n}\nfunction getNamespace(elementName) {\n    const name = elementName.toLowerCase();\n    return name === 'svg' ? SVG_NAMESPACE : (name === 'math' ? MATH_ML_NAMESPACE : null);\n}\n/**\n * Injector that looks up a value using a specific injector, before falling back to the module\n * injector. Used primarily when creating components or embedded views dynamically.\n */\nclass ChainedInjector {\n    constructor(injector, parentInjector) {\n        this.injector = injector;\n        this.parentInjector = parentInjector;\n    }\n    get(token, notFoundValue, flags) {\n        flags = convertToBitFlags(flags);\n        const value = this.injector.get(token, NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR, flags);\n        if (value !== NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR ||\n            notFoundValue === NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR) {\n            // Return the value from the root element injector when\n            // - it provides it\n            //   (value !== NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR)\n            // - the module injector should not be checked\n            //   (notFoundValue === NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR)\n            return value;\n        }\n        return this.parentInjector.get(token, notFoundValue, flags);\n    }\n}\n/**\n * ComponentFactory interface implementation.\n */\nclass ComponentFactory extends ComponentFactory$1 {\n    get inputs() {\n        return toRefArray(this.componentDef.inputs);\n    }\n    get outputs() {\n        return toRefArray(this.componentDef.outputs);\n    }\n    /**\n     * @param componentDef The component definition.\n     * @param ngModule The NgModuleRef to which the factory is bound.\n     */\n    constructor(componentDef, ngModule) {\n        super();\n        this.componentDef = componentDef;\n        this.ngModule = ngModule;\n        this.componentType = componentDef.type;\n        this.selector = stringifyCSSSelectorList(componentDef.selectors);\n        this.ngContentSelectors =\n            componentDef.ngContentSelectors ? componentDef.ngContentSelectors : [];\n        this.isBoundToModule = !!ngModule;\n    }\n    create(injector, projectableNodes, rootSelectorOrNode, environmentInjector) {\n        environmentInjector = environmentInjector || this.ngModule;\n        let realEnvironmentInjector = environmentInjector instanceof EnvironmentInjector ?\n            environmentInjector :\n            environmentInjector?.injector;\n        if (realEnvironmentInjector && this.componentDef.getStandaloneInjector !== null) {\n            realEnvironmentInjector = this.componentDef.getStandaloneInjector(realEnvironmentInjector) ||\n                realEnvironmentInjector;\n        }\n        const rootViewInjector = realEnvironmentInjector ? new ChainedInjector(injector, realEnvironmentInjector) : injector;\n        const rendererFactory = rootViewInjector.get(RendererFactory2, null);\n        if (rendererFactory === null) {\n            throw new RuntimeError(407 /* RuntimeErrorCode.RENDERER_NOT_FOUND */, ngDevMode &&\n                'Angular was not able to inject a renderer (RendererFactory2). ' +\n                    'Likely this is due to a broken DI hierarchy. ' +\n                    'Make sure that any injector used to create this component has a correct parent.');\n        }\n        const sanitizer = rootViewInjector.get(Sanitizer, null);\n        const hostRenderer = rendererFactory.createRenderer(null, this.componentDef);\n        // Determine a tag name used for creating host elements when this component is created\n        // dynamically. Default to 'div' if this component did not specify any tag name in its selector.\n        const elementName = this.componentDef.selectors[0][0] || 'div';\n        const hostRNode = rootSelectorOrNode ?\n            locateHostElement(hostRenderer, rootSelectorOrNode, this.componentDef.encapsulation) :\n            createElementNode(hostRenderer, elementName, getNamespace(elementName));\n        const rootFlags = this.componentDef.onPush ? 32 /* LViewFlags.Dirty */ | 256 /* LViewFlags.IsRoot */ :\n            16 /* LViewFlags.CheckAlways */ | 256 /* LViewFlags.IsRoot */;\n        // Create the root view. Uses empty TView and ContentTemplate.\n        const rootTView = createTView(0 /* TViewType.Root */, null, null, 1, 0, null, null, null, null, null);\n        const rootLView = createLView(null, rootTView, null, rootFlags, null, null, rendererFactory, hostRenderer, sanitizer, rootViewInjector, null);\n        // rootView is the parent when bootstrapping\n        // TODO(misko): it looks like we are entering view here but we don't really need to as\n        // `renderView` does that. However as the code is written it is needed because\n        // `createRootComponentView` and `createRootComponent` both read global state. Fixing those\n        // issues would allow us to drop this.\n        enterView(rootLView);\n        let component;\n        let tElementNode;\n        try {\n            const rootComponentDef = this.componentDef;\n            let rootDirectives;\n            let hostDirectiveDefs = null;\n            if (rootComponentDef.findHostDirectiveDefs) {\n                rootDirectives = [];\n                hostDirectiveDefs = new Map();\n                rootComponentDef.findHostDirectiveDefs(rootComponentDef, rootDirectives, hostDirectiveDefs);\n                rootDirectives.push(rootComponentDef);\n            }\n            else {\n                rootDirectives = [rootComponentDef];\n            }\n            const hostTNode = createRootComponentTNode(rootLView, hostRNode);\n            const componentView = createRootComponentView(hostTNode, hostRNode, rootComponentDef, rootDirectives, rootLView, rendererFactory, hostRenderer);\n            tElementNode = getTNode(rootTView, HEADER_OFFSET);\n            // TODO(crisbeto): in practice `hostRNode` should always be defined, but there are some tests\n            // where the renderer is mocked out and `undefined` is returned. We should update the tests so\n            // that this check can be removed.\n            if (hostRNode) {\n                setRootNodeAttributes(hostRenderer, rootComponentDef, hostRNode, rootSelectorOrNode);\n            }\n            if (projectableNodes !== undefined) {\n                projectNodes(tElementNode, this.ngContentSelectors, projectableNodes);\n            }\n            // TODO: should LifecycleHooksFeature and other host features be generated by the compiler and\n            // executed here?\n            // Angular 5 reference: https://stackblitz.com/edit/lifecycle-hooks-vcref\n            component = createRootComponent(componentView, rootComponentDef, rootDirectives, hostDirectiveDefs, rootLView, [LifecycleHooksFeature]);\n            renderView(rootTView, rootLView, null);\n        }\n        finally {\n            leaveView();\n        }\n        return new ComponentRef(this.componentType, component, createElementRef(tElementNode, rootLView), rootLView, tElementNode);\n    }\n}\n/**\n * Represents an instance of a Component created via a {@link ComponentFactory}.\n *\n * `ComponentRef` provides access to the Component Instance as well other objects related to this\n * Component Instance and allows you to destroy the Component Instance via the {@link #destroy}\n * method.\n *\n */\nclass ComponentRef extends ComponentRef$1 {\n    constructor(componentType, instance, location, _rootLView, _tNode) {\n        super();\n        this.location = location;\n        this._rootLView = _rootLView;\n        this._tNode = _tNode;\n        this.instance = instance;\n        this.hostView = this.changeDetectorRef = new RootViewRef(_rootLView);\n        this.componentType = componentType;\n    }\n    setInput(name, value) {\n        const inputData = this._tNode.inputs;\n        let dataValue;\n        if (inputData !== null && (dataValue = inputData[name])) {\n            const lView = this._rootLView;\n            setInputsForProperty(lView[TVIEW], lView, dataValue, name, value);\n            const childComponentLView = getComponentLViewByIndex(this._tNode.index, lView);\n            markViewDirty(childComponentLView);\n        }\n        else {\n            if (ngDevMode) {\n                const cmpNameForError = stringifyForError(this.componentType);\n                let message = `Can't set value of the '${name}' input on the '${cmpNameForError}' component. `;\n                message += `Make sure that the '${name}' property is annotated with @Input() or a mapped @Input('${name}') exists.`;\n                reportUnknownPropertyError(message);\n            }\n        }\n    }\n    get injector() {\n        return new NodeInjector(this._tNode, this._rootLView);\n    }\n    destroy() {\n        this.hostView.destroy();\n    }\n    onDestroy(callback) {\n        this.hostView.onDestroy(callback);\n    }\n}\n// TODO: A hack to not pull in the NullInjector from @angular/core.\nconst NULL_INJECTOR = {\n    get: (token, notFoundValue) => {\n        throwProviderNotFoundError(token, 'NullInjector');\n    }\n};\n/** Creates a TNode that can be used to instantiate a root component. */\nfunction createRootComponentTNode(lView, rNode) {\n    const tView = lView[TVIEW];\n    const index = HEADER_OFFSET;\n    ngDevMode && assertIndexInRange(lView, index);\n    lView[index] = rNode;\n    // '#host' is added here as we don't know the real host DOM name (we don't want to read it) and at\n    // the same time we want to communicate the debug `TNode` that this is a special `TNode`\n    // representing a host element.\n    return getOrCreateTNode(tView, index, 2 /* TNodeType.Element */, '#host', null);\n}\n/**\n * Creates the root component view and the root component node.\n *\n * @param rNode Render host element.\n * @param rootComponentDef ComponentDef\n * @param rootView The parent view where the host node is stored\n * @param rendererFactory Factory to be used for creating child renderers.\n * @param hostRenderer The current renderer\n * @param sanitizer The sanitizer, if provided\n *\n * @returns Component view created\n */\nfunction createRootComponentView(tNode, rNode, rootComponentDef, rootDirectives, rootView, rendererFactory, hostRenderer, sanitizer) {\n    const tView = rootView[TVIEW];\n    applyRootComponentStyling(rootDirectives, tNode, rNode, hostRenderer);\n    const viewRenderer = rendererFactory.createRenderer(rNode, rootComponentDef);\n    const componentView = createLView(rootView, getOrCreateComponentTView(rootComponentDef), null, rootComponentDef.onPush ? 32 /* LViewFlags.Dirty */ : 16 /* LViewFlags.CheckAlways */, rootView[tNode.index], tNode, rendererFactory, viewRenderer, sanitizer || null, null, null);\n    if (tView.firstCreatePass) {\n        markAsComponentHost(tView, tNode, rootDirectives.length - 1);\n    }\n    addToViewTree(rootView, componentView);\n    // Store component view at node index, with node as the HOST\n    return rootView[tNode.index] = componentView;\n}\n/** Sets up the styling information on a root component. */\nfunction applyRootComponentStyling(rootDirectives, tNode, rNode, hostRenderer) {\n    for (const def of rootDirectives) {\n        tNode.mergedAttrs = mergeHostAttrs(tNode.mergedAttrs, def.hostAttrs);\n    }\n    if (tNode.mergedAttrs !== null) {\n        computeStaticStyling(tNode, tNode.mergedAttrs, true);\n        if (rNode !== null) {\n            setupStaticAttributes(hostRenderer, rNode, tNode);\n        }\n    }\n}\n/**\n * Creates a root component and sets it up with features and host bindings.Shared by\n * renderComponent() and ViewContainerRef.createComponent().\n */\nfunction createRootComponent(componentView, rootComponentDef, rootDirectives, hostDirectiveDefs, rootLView, hostFeatures) {\n    const rootTNode = getCurrentTNode();\n    ngDevMode && assertDefined(rootTNode, 'tNode should have been already created');\n    const tView = rootLView[TVIEW];\n    const native = getNativeByTNode(rootTNode, rootLView);\n    initializeDirectives(tView, rootLView, rootTNode, rootDirectives, null, hostDirectiveDefs);\n    for (let i = 0; i < rootDirectives.length; i++) {\n        const directiveIndex = rootTNode.directiveStart + i;\n        const directiveInstance = getNodeInjectable(rootLView, tView, directiveIndex, rootTNode);\n        attachPatchData(directiveInstance, rootLView);\n    }\n    invokeDirectivesHostBindings(tView, rootLView, rootTNode);\n    if (native) {\n        attachPatchData(native, rootLView);\n    }\n    // We're guaranteed for the `componentOffset` to be positive here\n    // since a root component always matches a component def.\n    ngDevMode &&\n        assertGreaterThan(rootTNode.componentOffset, -1, 'componentOffset must be great than -1');\n    const component = getNodeInjectable(rootLView, tView, rootTNode.directiveStart + rootTNode.componentOffset, rootTNode);\n    componentView[CONTEXT] = rootLView[CONTEXT] = component;\n    if (hostFeatures !== null) {\n        for (const feature of hostFeatures) {\n            feature(component, rootComponentDef);\n        }\n    }\n    // We want to generate an empty QueryList for root content queries for backwards\n    // compatibility with ViewEngine.\n    executeContentQueries(tView, rootTNode, componentView);\n    return component;\n}\n/** Sets the static attributes on a root component. */\nfunction setRootNodeAttributes(hostRenderer, componentDef, hostRNode, rootSelectorOrNode) {\n    if (rootSelectorOrNode) {\n        setUpAttributes(hostRenderer, hostRNode, ['ng-version', VERSION.full]);\n    }\n    else {\n        // If host element is created as a part of this function call (i.e. `rootSelectorOrNode`\n        // is not defined), also apply attributes and classes extracted from component selector.\n        // Extract attributes and classes from the first selector only to match VE behavior.\n        const { attrs, classes } = extractAttrsAndClassesFromSelector(componentDef.selectors[0]);\n        if (attrs) {\n            setUpAttributes(hostRenderer, hostRNode, attrs);\n        }\n        if (classes && classes.length > 0) {\n            writeDirectClass(hostRenderer, hostRNode, classes.join(' '));\n        }\n    }\n}\n/** Projects the `projectableNodes` that were specified when creating a root component. */\nfunction projectNodes(tNode, ngContentSelectors, projectableNodes) {\n    const projection = tNode.projection = [];\n    for (let i = 0; i < ngContentSelectors.length; i++) {\n        const nodesforSlot = projectableNodes[i];\n        // Projectable nodes can be passed as array of arrays or an array of iterables (ngUpgrade\n        // case). Here we do normalize passed data structure to be an array of arrays to avoid\n        // complex checks down the line.\n        // We also normalize the length of the passed in projectable nodes (to match the number of\n        // <ng-container> slots defined by a component).\n        projection.push(nodesforSlot != null ? Array.from(nodesforSlot) : null);\n    }\n}\n/**\n * Used to enable lifecycle hooks on the root component.\n *\n * Include this feature when calling `renderComponent` if the root component\n * you are rendering has lifecycle hooks defined. Otherwise, the hooks won't\n * be called properly.\n *\n * Example:\n *\n * ```\n * renderComponent(AppComponent, {hostFeatures: [LifecycleHooksFeature]});\n * ```\n */\nfunction LifecycleHooksFeature() {\n    const tNode = getCurrentTNode();\n    ngDevMode && assertDefined(tNode, 'TNode is required');\n    registerPostOrderHooks(getLView()[TVIEW], tNode);\n}\n\nfunction getSuperType(type) {\n    return Object.getPrototypeOf(type.prototype).constructor;\n}\n/**\n * Merges the definition from a super class to a sub class.\n * @param definition The definition that is a SubClass of another directive of component\n *\n * @codeGenApi\n */\nfunction ɵɵInheritDefinitionFeature(definition) {\n    let superType = getSuperType(definition.type);\n    let shouldInheritFields = true;\n    const inheritanceChain = [definition];\n    while (superType) {\n        let superDef = undefined;\n        if (isComponentDef(definition)) {\n            // Don't use getComponentDef/getDirectiveDef. This logic relies on inheritance.\n            superDef = superType.ɵcmp || superType.ɵdir;\n        }\n        else {\n            if (superType.ɵcmp) {\n                throw new RuntimeError(903 /* RuntimeErrorCode.INVALID_INHERITANCE */, ngDevMode &&\n                    `Directives cannot inherit Components. Directive ${stringifyForError(definition.type)} is attempting to extend component ${stringifyForError(superType)}`);\n            }\n            // Don't use getComponentDef/getDirectiveDef. This logic relies on inheritance.\n            superDef = superType.ɵdir;\n        }\n        if (superDef) {\n            if (shouldInheritFields) {\n                inheritanceChain.push(superDef);\n                // Some fields in the definition may be empty, if there were no values to put in them that\n                // would've justified object creation. Unwrap them if necessary.\n                const writeableDef = definition;\n                writeableDef.inputs = maybeUnwrapEmpty(definition.inputs);\n                writeableDef.declaredInputs = maybeUnwrapEmpty(definition.declaredInputs);\n                writeableDef.outputs = maybeUnwrapEmpty(definition.outputs);\n                // Merge hostBindings\n                const superHostBindings = superDef.hostBindings;\n                superHostBindings && inheritHostBindings(definition, superHostBindings);\n                // Merge queries\n                const superViewQuery = superDef.viewQuery;\n                const superContentQueries = superDef.contentQueries;\n                superViewQuery && inheritViewQuery(definition, superViewQuery);\n                superContentQueries && inheritContentQueries(definition, superContentQueries);\n                // Merge inputs and outputs\n                fillProperties(definition.inputs, superDef.inputs);\n                fillProperties(definition.declaredInputs, superDef.declaredInputs);\n                fillProperties(definition.outputs, superDef.outputs);\n                // Merge animations metadata.\n                // If `superDef` is a Component, the `data` field is present (defaults to an empty object).\n                if (isComponentDef(superDef) && superDef.data.animation) {\n                    // If super def is a Component, the `definition` is also a Component, since Directives can\n                    // not inherit Components (we throw an error above and cannot reach this code).\n                    const defData = definition.data;\n                    defData.animation = (defData.animation || []).concat(superDef.data.animation);\n                }\n            }\n            // Run parent features\n            const features = superDef.features;\n            if (features) {\n                for (let i = 0; i < features.length; i++) {\n                    const feature = features[i];\n                    if (feature && feature.ngInherit) {\n                        feature(definition);\n                    }\n                    // If `InheritDefinitionFeature` is a part of the current `superDef`, it means that this\n                    // def already has all the necessary information inherited from its super class(es), so we\n                    // can stop merging fields from super classes. However we need to iterate through the\n                    // prototype chain to look for classes that might contain other \"features\" (like\n                    // NgOnChanges), which we should invoke for the original `definition`. We set the\n                    // `shouldInheritFields` flag to indicate that, essentially skipping fields inheritance\n                    // logic and only invoking functions from the \"features\" list.\n                    if (feature === ɵɵInheritDefinitionFeature) {\n                        shouldInheritFields = false;\n                    }\n                }\n            }\n        }\n        superType = Object.getPrototypeOf(superType);\n    }\n    mergeHostAttrsAcrossInheritance(inheritanceChain);\n}\n/**\n * Merge the `hostAttrs` and `hostVars` from the inherited parent to the base class.\n *\n * @param inheritanceChain A list of `WritableDefs` starting at the top most type and listing\n * sub-types in order. For each type take the `hostAttrs` and `hostVars` and merge it with the child\n * type.\n */\nfunction mergeHostAttrsAcrossInheritance(inheritanceChain) {\n    let hostVars = 0;\n    let hostAttrs = null;\n    // We process the inheritance order from the base to the leaves here.\n    for (let i = inheritanceChain.length - 1; i >= 0; i--) {\n        const def = inheritanceChain[i];\n        // For each `hostVars`, we need to add the superclass amount.\n        def.hostVars = (hostVars += def.hostVars);\n        // for each `hostAttrs` we need to merge it with superclass.\n        def.hostAttrs =\n            mergeHostAttrs(def.hostAttrs, hostAttrs = mergeHostAttrs(hostAttrs, def.hostAttrs));\n    }\n}\nfunction maybeUnwrapEmpty(value) {\n    if (value === EMPTY_OBJ) {\n        return {};\n    }\n    else if (value === EMPTY_ARRAY) {\n        return [];\n    }\n    else {\n        return value;\n    }\n}\nfunction inheritViewQuery(definition, superViewQuery) {\n    const prevViewQuery = definition.viewQuery;\n    if (prevViewQuery) {\n        definition.viewQuery = (rf, ctx) => {\n            superViewQuery(rf, ctx);\n            prevViewQuery(rf, ctx);\n        };\n    }\n    else {\n        definition.viewQuery = superViewQuery;\n    }\n}\nfunction inheritContentQueries(definition, superContentQueries) {\n    const prevContentQueries = definition.contentQueries;\n    if (prevContentQueries) {\n        definition.contentQueries = (rf, ctx, directiveIndex) => {\n            superContentQueries(rf, ctx, directiveIndex);\n            prevContentQueries(rf, ctx, directiveIndex);\n        };\n    }\n    else {\n        definition.contentQueries = superContentQueries;\n    }\n}\nfunction inheritHostBindings(definition, superHostBindings) {\n    const prevHostBindings = definition.hostBindings;\n    if (prevHostBindings) {\n        definition.hostBindings = (rf, ctx) => {\n            superHostBindings(rf, ctx);\n            prevHostBindings(rf, ctx);\n        };\n    }\n    else {\n        definition.hostBindings = superHostBindings;\n    }\n}\n\n/**\n * Fields which exist on either directive or component definitions, and need to be copied from\n * parent to child classes by the `ɵɵCopyDefinitionFeature`.\n */\nconst COPY_DIRECTIVE_FIELDS = [\n    // The child class should use the providers of its parent.\n    'providersResolver',\n    // Not listed here are any fields which are handled by the `ɵɵInheritDefinitionFeature`, such\n    // as inputs, outputs, and host binding functions.\n];\n/**\n * Fields which exist only on component definitions, and need to be copied from parent to child\n * classes by the `ɵɵCopyDefinitionFeature`.\n *\n * The type here allows any field of `ComponentDef` which is not also a property of `DirectiveDef`,\n * since those should go in `COPY_DIRECTIVE_FIELDS` above.\n */\nconst COPY_COMPONENT_FIELDS = [\n    // The child class should use the template function of its parent, including all template\n    // semantics.\n    'template',\n    'decls',\n    'consts',\n    'vars',\n    'onPush',\n    'ngContentSelectors',\n    // The child class should use the CSS styles of its parent, including all styling semantics.\n    'styles',\n    'encapsulation',\n    // The child class should be checked by the runtime in the same way as its parent.\n    'schemas',\n];\n/**\n * Copies the fields not handled by the `ɵɵInheritDefinitionFeature` from the supertype of a\n * definition.\n *\n * This exists primarily to support ngcc migration of an existing View Engine pattern, where an\n * entire decorator is inherited from a parent to a child class. When ngcc detects this case, it\n * generates a skeleton definition on the child class, and applies this feature.\n *\n * The `ɵɵCopyDefinitionFeature` then copies any needed fields from the parent class' definition,\n * including things like the component template function.\n *\n * @param definition The definition of a child class which inherits from a parent class with its\n * own definition.\n *\n * @codeGenApi\n */\nfunction ɵɵCopyDefinitionFeature(definition) {\n    let superType = getSuperType(definition.type);\n    let superDef = undefined;\n    if (isComponentDef(definition)) {\n        // Don't use getComponentDef/getDirectiveDef. This logic relies on inheritance.\n        superDef = superType.ɵcmp;\n    }\n    else {\n        // Don't use getComponentDef/getDirectiveDef. This logic relies on inheritance.\n        superDef = superType.ɵdir;\n    }\n    // Needed because `definition` fields are readonly.\n    const defAny = definition;\n    // Copy over any fields that apply to either directives or components.\n    for (const field of COPY_DIRECTIVE_FIELDS) {\n        defAny[field] = superDef[field];\n    }\n    if (isComponentDef(superDef)) {\n        // Copy over any component-specific fields.\n        for (const field of COPY_COMPONENT_FIELDS) {\n            defAny[field] = superDef[field];\n        }\n    }\n}\n\n/**\n * This feature adds the host directives behavior to a directive definition by patching a\n * function onto it. The expectation is that the runtime will invoke the function during\n * directive matching.\n *\n * For example:\n * ```ts\n * class ComponentWithHostDirective {\n *   static ɵcmp = defineComponent({\n *    type: ComponentWithHostDirective,\n *    features: [ɵɵHostDirectivesFeature([\n *      SimpleHostDirective,\n *      {directive: AdvancedHostDirective, inputs: ['foo: alias'], outputs: ['bar']},\n *    ])]\n *  });\n * }\n * ```\n *\n * @codeGenApi\n */\nfunction ɵɵHostDirectivesFeature(rawHostDirectives) {\n    return (definition) => {\n        definition.findHostDirectiveDefs = findHostDirectiveDefs;\n        definition.hostDirectives =\n            (Array.isArray(rawHostDirectives) ? rawHostDirectives : rawHostDirectives()).map(dir => {\n                return typeof dir === 'function' ?\n                    { directive: resolveForwardRef(dir), inputs: EMPTY_OBJ, outputs: EMPTY_OBJ } :\n                    {\n                        directive: resolveForwardRef(dir.directive),\n                        inputs: bindingArrayToMap(dir.inputs),\n                        outputs: bindingArrayToMap(dir.outputs)\n                    };\n            });\n    };\n}\nfunction findHostDirectiveDefs(currentDef, matchedDefs, hostDirectiveDefs) {\n    if (currentDef.hostDirectives !== null) {\n        for (const hostDirectiveConfig of currentDef.hostDirectives) {\n            const hostDirectiveDef = getDirectiveDef(hostDirectiveConfig.directive);\n            if (typeof ngDevMode === 'undefined' || ngDevMode) {\n                validateHostDirective(hostDirectiveConfig, hostDirectiveDef, matchedDefs);\n            }\n            // We need to patch the `declaredInputs` so that\n            // `ngOnChanges` can map the properties correctly.\n            patchDeclaredInputs(hostDirectiveDef.declaredInputs, hostDirectiveConfig.inputs);\n            // Host directives execute before the host so that its host bindings can be overwritten.\n            findHostDirectiveDefs(hostDirectiveDef, matchedDefs, hostDirectiveDefs);\n            hostDirectiveDefs.set(hostDirectiveDef, hostDirectiveConfig);\n            matchedDefs.push(hostDirectiveDef);\n        }\n    }\n}\n/**\n * Converts an array in the form of `['publicName', 'alias', 'otherPublicName', 'otherAlias']` into\n * a map in the form of `{publicName: 'alias', otherPublicName: 'otherAlias'}`.\n */\nfunction bindingArrayToMap(bindings) {\n    if (bindings === undefined || bindings.length === 0) {\n        return EMPTY_OBJ;\n    }\n    const result = {};\n    for (let i = 0; i < bindings.length; i += 2) {\n        result[bindings[i]] = bindings[i + 1];\n    }\n    return result;\n}\n/**\n * `ngOnChanges` has some leftover legacy ViewEngine behavior where the keys inside the\n * `SimpleChanges` event refer to the *declared* name of the input, not its public name or its\n * minified name. E.g. in `@Input('alias') foo: string`, the name in the `SimpleChanges` object\n * will always be `foo`, and not `alias` or the minified name of `foo` in apps using property\n * minification.\n *\n * This is achieved through the `DirectiveDef.declaredInputs` map that is constructed when the\n * definition is declared. When a property is written to the directive instance, the\n * `NgOnChangesFeature` will try to remap the property name being written to using the\n * `declaredInputs`.\n *\n * Since the host directive input remapping happens during directive matching, `declaredInputs`\n * won't contain the new alias that the input is available under. This function addresses the\n * issue by patching the host directive aliases to the `declaredInputs`. There is *not* a risk of\n * this patching accidentally introducing new inputs to the host directive, because `declaredInputs`\n * is used *only* by the `NgOnChangesFeature` when determining what name is used in the\n * `SimpleChanges` object which won't be reached if an input doesn't exist.\n */\nfunction patchDeclaredInputs(declaredInputs, exposedInputs) {\n    for (const publicName in exposedInputs) {\n        if (exposedInputs.hasOwnProperty(publicName)) {\n            const remappedPublicName = exposedInputs[publicName];\n            const privateName = declaredInputs[publicName];\n            // We *technically* shouldn't be able to hit this case because we can't have multiple\n            // inputs on the same property and we have validations against conflicting aliases in\n            // `validateMappings`. If we somehow did, it would lead to `ngOnChanges` being invoked\n            // with the wrong name so we have a non-user-friendly assertion here just in case.\n            if ((typeof ngDevMode === 'undefined' || ngDevMode) &&\n                declaredInputs.hasOwnProperty(remappedPublicName)) {\n                assertEqual(declaredInputs[remappedPublicName], declaredInputs[publicName], `Conflicting host directive input alias ${publicName}.`);\n            }\n            declaredInputs[remappedPublicName] = privateName;\n        }\n    }\n}\n/**\n * Verifies that the host directive has been configured correctly.\n * @param hostDirectiveConfig Host directive configuration object.\n * @param directiveDef Directive definition of the host directive.\n * @param matchedDefs Directives that have been matched so far.\n */\nfunction validateHostDirective(hostDirectiveConfig, directiveDef, matchedDefs) {\n    const type = hostDirectiveConfig.directive;\n    if (directiveDef === null) {\n        if (getComponentDef(type) !== null) {\n            throw new RuntimeError(310 /* RuntimeErrorCode.HOST_DIRECTIVE_COMPONENT */, `Host directive ${type.name} cannot be a component.`);\n        }\n        throw new RuntimeError(307 /* RuntimeErrorCode.HOST_DIRECTIVE_UNRESOLVABLE */, `Could not resolve metadata for host directive ${type.name}. ` +\n            `Make sure that the ${type.name} class is annotated with an @Directive decorator.`);\n    }\n    if (!directiveDef.standalone) {\n        throw new RuntimeError(308 /* RuntimeErrorCode.HOST_DIRECTIVE_NOT_STANDALONE */, `Host directive ${directiveDef.type.name} must be standalone.`);\n    }\n    if (matchedDefs.indexOf(directiveDef) > -1) {\n        throw new RuntimeError(309 /* RuntimeErrorCode.DUPLICATE_DIRECTITVE */, `Directive ${directiveDef.type.name} matches multiple times on the same element. ` +\n            `Directives can only match an element once.`);\n    }\n    validateMappings('input', directiveDef, hostDirectiveConfig.inputs);\n    validateMappings('output', directiveDef, hostDirectiveConfig.outputs);\n}\n/**\n * Checks that the host directive inputs/outputs configuration is valid.\n * @param bindingType Kind of binding that is being validated. Used in the error message.\n * @param def Definition of the host directive that is being validated against.\n * @param hostDirectiveBindings Host directive mapping object that shold be validated.\n */\nfunction validateMappings(bindingType, def, hostDirectiveBindings) {\n    const className = def.type.name;\n    const bindings = bindingType === 'input' ? def.inputs : def.outputs;\n    for (const publicName in hostDirectiveBindings) {\n        if (hostDirectiveBindings.hasOwnProperty(publicName)) {\n            if (!bindings.hasOwnProperty(publicName)) {\n                throw new RuntimeError(311 /* RuntimeErrorCode.HOST_DIRECTIVE_UNDEFINED_BINDING */, `Directive ${className} does not have an ${bindingType} with a public name of ${publicName}.`);\n            }\n            const remappedPublicName = hostDirectiveBindings[publicName];\n            if (bindings.hasOwnProperty(remappedPublicName) &&\n                bindings[remappedPublicName] !== publicName) {\n                throw new RuntimeError(312 /* RuntimeErrorCode.HOST_DIRECTIVE_CONFLICTING_ALIAS */, `Cannot alias ${bindingType} ${publicName} of host directive ${className} to ${remappedPublicName}, because it already has a different ${bindingType} with the same public name.`);\n            }\n        }\n    }\n}\n\nfunction isIterable(obj) {\n    return obj !== null && typeof obj === 'object' && obj[Symbol.iterator] !== undefined;\n}\nfunction isListLikeIterable(obj) {\n    if (!isJsObject(obj))\n        return false;\n    return Array.isArray(obj) ||\n        (!(obj instanceof Map) && // JS Map are iterables but return entries as [k, v]\n            Symbol.iterator in obj); // JS Iterable have a Symbol.iterator prop\n}\nfunction areIterablesEqual(a, b, comparator) {\n    const iterator1 = a[Symbol.iterator]();\n    const iterator2 = b[Symbol.iterator]();\n    while (true) {\n        const item1 = iterator1.next();\n        const item2 = iterator2.next();\n        if (item1.done && item2.done)\n            return true;\n        if (item1.done || item2.done)\n            return false;\n        if (!comparator(item1.value, item2.value))\n            return false;\n    }\n}\nfunction iterateListLike(obj, fn) {\n    if (Array.isArray(obj)) {\n        for (let i = 0; i < obj.length; i++) {\n            fn(obj[i]);\n        }\n    }\n    else {\n        const iterator = obj[Symbol.iterator]();\n        let item;\n        while (!((item = iterator.next()).done)) {\n            fn(item.value);\n        }\n    }\n}\nfunction isJsObject(o) {\n    return o !== null && (typeof o === 'function' || typeof o === 'object');\n}\n\nfunction devModeEqual(a, b) {\n    const isListLikeIterableA = isListLikeIterable(a);\n    const isListLikeIterableB = isListLikeIterable(b);\n    if (isListLikeIterableA && isListLikeIterableB) {\n        return areIterablesEqual(a, b, devModeEqual);\n    }\n    else {\n        const isAObject = a && (typeof a === 'object' || typeof a === 'function');\n        const isBObject = b && (typeof b === 'object' || typeof b === 'function');\n        if (!isListLikeIterableA && isAObject && !isListLikeIterableB && isBObject) {\n            return true;\n        }\n        else {\n            return Object.is(a, b);\n        }\n    }\n}\n\n// TODO(misko): consider inlining\n/** Updates binding and returns the value. */\nfunction updateBinding(lView, bindingIndex, value) {\n    return lView[bindingIndex] = value;\n}\n/** Gets the current binding value. */\nfunction getBinding(lView, bindingIndex) {\n    ngDevMode && assertIndexInRange(lView, bindingIndex);\n    ngDevMode &&\n        assertNotSame(lView[bindingIndex], NO_CHANGE, 'Stored value should never be NO_CHANGE.');\n    return lView[bindingIndex];\n}\n/**\n * Updates binding if changed, then returns whether it was updated.\n *\n * This function also checks the `CheckNoChangesMode` and throws if changes are made.\n * Some changes (Objects/iterables) during `CheckNoChangesMode` are exempt to comply with VE\n * behavior.\n *\n * @param lView current `LView`\n * @param bindingIndex The binding in the `LView` to check\n * @param value New value to check against `lView[bindingIndex]`\n * @returns `true` if the bindings has changed. (Throws if binding has changed during\n *          `CheckNoChangesMode`)\n */\nfunction bindingUpdated(lView, bindingIndex, value) {\n    ngDevMode && assertNotSame(value, NO_CHANGE, 'Incoming value should never be NO_CHANGE.');\n    ngDevMode &&\n        assertLessThan(bindingIndex, lView.length, `Slot should have been initialized to NO_CHANGE`);\n    const oldValue = lView[bindingIndex];\n    if (Object.is(oldValue, value)) {\n        return false;\n    }\n    else {\n        if (ngDevMode && isInCheckNoChangesMode()) {\n            // View engine didn't report undefined values as changed on the first checkNoChanges pass\n            // (before the change detection was run).\n            const oldValueToCompare = oldValue !== NO_CHANGE ? oldValue : undefined;\n            if (!devModeEqual(oldValueToCompare, value)) {\n                const details = getExpressionChangedErrorDetails(lView, bindingIndex, oldValueToCompare, value);\n                throwErrorIfNoChangesMode(oldValue === NO_CHANGE, details.oldValue, details.newValue, details.propName);\n            }\n            // There was a change, but the `devModeEqual` decided that the change is exempt from an error.\n            // For this reason we exit as if no change. The early exit is needed to prevent the changed\n            // value to be written into `LView` (If we would write the new value that we would not see it\n            // as change on next CD.)\n            return false;\n        }\n        lView[bindingIndex] = value;\n        return true;\n    }\n}\n/** Updates 2 bindings if changed, then returns whether either was updated. */\nfunction bindingUpdated2(lView, bindingIndex, exp1, exp2) {\n    const different = bindingUpdated(lView, bindingIndex, exp1);\n    return bindingUpdated(lView, bindingIndex + 1, exp2) || different;\n}\n/** Updates 3 bindings if changed, then returns whether any was updated. */\nfunction bindingUpdated3(lView, bindingIndex, exp1, exp2, exp3) {\n    const different = bindingUpdated2(lView, bindingIndex, exp1, exp2);\n    return bindingUpdated(lView, bindingIndex + 2, exp3) || different;\n}\n/** Updates 4 bindings if changed, then returns whether any was updated. */\nfunction bindingUpdated4(lView, bindingIndex, exp1, exp2, exp3, exp4) {\n    const different = bindingUpdated2(lView, bindingIndex, exp1, exp2);\n    return bindingUpdated2(lView, bindingIndex + 2, exp3, exp4) || different;\n}\n\n/**\n * Updates the value of or removes a bound attribute on an Element.\n *\n * Used in the case of `[attr.title]=\"value\"`\n *\n * @param name name The name of the attribute.\n * @param value value The attribute is removed when value is `null` or `undefined`.\n *                  Otherwise the attribute value is set to the stringified value.\n * @param sanitizer An optional function used to sanitize the value.\n * @param namespace Optional namespace to use when setting the attribute.\n *\n * @codeGenApi\n */\nfunction ɵɵattribute(name, value, sanitizer, namespace) {\n    const lView = getLView();\n    const bindingIndex = nextBindingIndex();\n    if (bindingUpdated(lView, bindingIndex, value)) {\n        const tView = getTView();\n        const tNode = getSelectedTNode();\n        elementAttributeInternal(tNode, lView, name, value, sanitizer, namespace);\n        ngDevMode && storePropertyBindingMetadata(tView.data, tNode, 'attr.' + name, bindingIndex);\n    }\n    return ɵɵattribute;\n}\n\n/**\n * Create interpolation bindings with a variable number of expressions.\n *\n * If there are 1 to 8 expressions `interpolation1()` to `interpolation8()` should be used instead.\n * Those are faster because there is no need to create an array of expressions and iterate over it.\n *\n * `values`:\n * - has static text at even indexes,\n * - has evaluated expressions at odd indexes.\n *\n * Returns the concatenated string when any of the arguments changes, `NO_CHANGE` otherwise.\n */\nfunction interpolationV(lView, values) {\n    ngDevMode && assertLessThan(2, values.length, 'should have at least 3 values');\n    ngDevMode && assertEqual(values.length % 2, 1, 'should have an odd number of values');\n    let isBindingUpdated = false;\n    let bindingIndex = getBindingIndex();\n    for (let i = 1; i < values.length; i += 2) {\n        // Check if bindings (odd indexes) have changed\n        isBindingUpdated = bindingUpdated(lView, bindingIndex++, values[i]) || isBindingUpdated;\n    }\n    setBindingIndex(bindingIndex);\n    if (!isBindingUpdated) {\n        return NO_CHANGE;\n    }\n    // Build the updated content\n    let content = values[0];\n    for (let i = 1; i < values.length; i += 2) {\n        content += renderStringify(values[i]) + values[i + 1];\n    }\n    return content;\n}\n/**\n * Creates an interpolation binding with 1 expression.\n *\n * @param prefix static value used for concatenation only.\n * @param v0 value checked for change.\n * @param suffix static value used for concatenation only.\n */\nfunction interpolation1(lView, prefix, v0, suffix) {\n    const different = bindingUpdated(lView, nextBindingIndex(), v0);\n    return different ? prefix + renderStringify(v0) + suffix : NO_CHANGE;\n}\n/**\n * Creates an interpolation binding with 2 expressions.\n */\nfunction interpolation2(lView, prefix, v0, i0, v1, suffix) {\n    const bindingIndex = getBindingIndex();\n    const different = bindingUpdated2(lView, bindingIndex, v0, v1);\n    incrementBindingIndex(2);\n    return different ? prefix + renderStringify(v0) + i0 + renderStringify(v1) + suffix : NO_CHANGE;\n}\n/**\n * Creates an interpolation binding with 3 expressions.\n */\nfunction interpolation3(lView, prefix, v0, i0, v1, i1, v2, suffix) {\n    const bindingIndex = getBindingIndex();\n    const different = bindingUpdated3(lView, bindingIndex, v0, v1, v2);\n    incrementBindingIndex(3);\n    return different ?\n        prefix + renderStringify(v0) + i0 + renderStringify(v1) + i1 + renderStringify(v2) + suffix :\n        NO_CHANGE;\n}\n/**\n * Create an interpolation binding with 4 expressions.\n */\nfunction interpolation4(lView, prefix, v0, i0, v1, i1, v2, i2, v3, suffix) {\n    const bindingIndex = getBindingIndex();\n    const different = bindingUpdated4(lView, bindingIndex, v0, v1, v2, v3);\n    incrementBindingIndex(4);\n    return different ? prefix + renderStringify(v0) + i0 + renderStringify(v1) + i1 +\n        renderStringify(v2) + i2 + renderStringify(v3) + suffix :\n        NO_CHANGE;\n}\n/**\n * Creates an interpolation binding with 5 expressions.\n */\nfunction interpolation5(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix) {\n    const bindingIndex = getBindingIndex();\n    let different = bindingUpdated4(lView, bindingIndex, v0, v1, v2, v3);\n    different = bindingUpdated(lView, bindingIndex + 4, v4) || different;\n    incrementBindingIndex(5);\n    return different ? prefix + renderStringify(v0) + i0 + renderStringify(v1) + i1 +\n        renderStringify(v2) + i2 + renderStringify(v3) + i3 + renderStringify(v4) + suffix :\n        NO_CHANGE;\n}\n/**\n * Creates an interpolation binding with 6 expressions.\n */\nfunction interpolation6(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix) {\n    const bindingIndex = getBindingIndex();\n    let different = bindingUpdated4(lView, bindingIndex, v0, v1, v2, v3);\n    different = bindingUpdated2(lView, bindingIndex + 4, v4, v5) || different;\n    incrementBindingIndex(6);\n    return different ?\n        prefix + renderStringify(v0) + i0 + renderStringify(v1) + i1 + renderStringify(v2) + i2 +\n            renderStringify(v3) + i3 + renderStringify(v4) + i4 + renderStringify(v5) + suffix :\n        NO_CHANGE;\n}\n/**\n * Creates an interpolation binding with 7 expressions.\n */\nfunction interpolation7(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix) {\n    const bindingIndex = getBindingIndex();\n    let different = bindingUpdated4(lView, bindingIndex, v0, v1, v2, v3);\n    different = bindingUpdated3(lView, bindingIndex + 4, v4, v5, v6) || different;\n    incrementBindingIndex(7);\n    return different ? prefix + renderStringify(v0) + i0 + renderStringify(v1) + i1 +\n        renderStringify(v2) + i2 + renderStringify(v3) + i3 + renderStringify(v4) + i4 +\n        renderStringify(v5) + i5 + renderStringify(v6) + suffix :\n        NO_CHANGE;\n}\n/**\n * Creates an interpolation binding with 8 expressions.\n */\nfunction interpolation8(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix) {\n    const bindingIndex = getBindingIndex();\n    let different = bindingUpdated4(lView, bindingIndex, v0, v1, v2, v3);\n    different = bindingUpdated4(lView, bindingIndex + 4, v4, v5, v6, v7) || different;\n    incrementBindingIndex(8);\n    return different ? prefix + renderStringify(v0) + i0 + renderStringify(v1) + i1 +\n        renderStringify(v2) + i2 + renderStringify(v3) + i3 + renderStringify(v4) + i4 +\n        renderStringify(v5) + i5 + renderStringify(v6) + i6 + renderStringify(v7) + suffix :\n        NO_CHANGE;\n}\n\n/**\n *\n * Update an interpolated attribute on an element with single bound value surrounded by text.\n *\n * Used when the value passed to a property has 1 interpolated value in it:\n *\n * ```html\n * <div attr.title=\"prefix{{v0}}suffix\"></div>\n * ```\n *\n * Its compiled representation is::\n *\n * ```ts\n * ɵɵattributeInterpolate1('title', 'prefix', v0, 'suffix');\n * ```\n *\n * @param attrName The name of the attribute to update\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @param sanitizer An optional sanitizer function\n * @returns itself, so that it may be chained.\n * @codeGenApi\n */\nfunction ɵɵattributeInterpolate1(attrName, prefix, v0, suffix, sanitizer, namespace) {\n    const lView = getLView();\n    const interpolatedValue = interpolation1(lView, prefix, v0, suffix);\n    if (interpolatedValue !== NO_CHANGE) {\n        const tNode = getSelectedTNode();\n        elementAttributeInternal(tNode, lView, attrName, interpolatedValue, sanitizer, namespace);\n        ngDevMode &&\n            storePropertyBindingMetadata(getTView().data, tNode, 'attr.' + attrName, getBindingIndex() - 1, prefix, suffix);\n    }\n    return ɵɵattributeInterpolate1;\n}\n/**\n *\n * Update an interpolated attribute on an element with 2 bound values surrounded by text.\n *\n * Used when the value passed to a property has 2 interpolated values in it:\n *\n * ```html\n * <div attr.title=\"prefix{{v0}}-{{v1}}suffix\"></div>\n * ```\n *\n * Its compiled representation is::\n *\n * ```ts\n * ɵɵattributeInterpolate2('title', 'prefix', v0, '-', v1, 'suffix');\n * ```\n *\n * @param attrName The name of the attribute to update\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param i0 Static value used for concatenation only.\n * @param v1 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @param sanitizer An optional sanitizer function\n * @returns itself, so that it may be chained.\n * @codeGenApi\n */\nfunction ɵɵattributeInterpolate2(attrName, prefix, v0, i0, v1, suffix, sanitizer, namespace) {\n    const lView = getLView();\n    const interpolatedValue = interpolation2(lView, prefix, v0, i0, v1, suffix);\n    if (interpolatedValue !== NO_CHANGE) {\n        const tNode = getSelectedTNode();\n        elementAttributeInternal(tNode, lView, attrName, interpolatedValue, sanitizer, namespace);\n        ngDevMode &&\n            storePropertyBindingMetadata(getTView().data, tNode, 'attr.' + attrName, getBindingIndex() - 2, prefix, i0, suffix);\n    }\n    return ɵɵattributeInterpolate2;\n}\n/**\n *\n * Update an interpolated attribute on an element with 3 bound values surrounded by text.\n *\n * Used when the value passed to a property has 3 interpolated values in it:\n *\n * ```html\n * <div attr.title=\"prefix{{v0}}-{{v1}}-{{v2}}suffix\"></div>\n * ```\n *\n * Its compiled representation is::\n *\n * ```ts\n * ɵɵattributeInterpolate3(\n * 'title', 'prefix', v0, '-', v1, '-', v2, 'suffix');\n * ```\n *\n * @param attrName The name of the attribute to update\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param i0 Static value used for concatenation only.\n * @param v1 Value checked for change.\n * @param i1 Static value used for concatenation only.\n * @param v2 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @param sanitizer An optional sanitizer function\n * @returns itself, so that it may be chained.\n * @codeGenApi\n */\nfunction ɵɵattributeInterpolate3(attrName, prefix, v0, i0, v1, i1, v2, suffix, sanitizer, namespace) {\n    const lView = getLView();\n    const interpolatedValue = interpolation3(lView, prefix, v0, i0, v1, i1, v2, suffix);\n    if (interpolatedValue !== NO_CHANGE) {\n        const tNode = getSelectedTNode();\n        elementAttributeInternal(tNode, lView, attrName, interpolatedValue, sanitizer, namespace);\n        ngDevMode &&\n            storePropertyBindingMetadata(getTView().data, tNode, 'attr.' + attrName, getBindingIndex() - 3, prefix, i0, i1, suffix);\n    }\n    return ɵɵattributeInterpolate3;\n}\n/**\n *\n * Update an interpolated attribute on an element with 4 bound values surrounded by text.\n *\n * Used when the value passed to a property has 4 interpolated values in it:\n *\n * ```html\n * <div attr.title=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}suffix\"></div>\n * ```\n *\n * Its compiled representation is::\n *\n * ```ts\n * ɵɵattributeInterpolate4(\n * 'title', 'prefix', v0, '-', v1, '-', v2, '-', v3, 'suffix');\n * ```\n *\n * @param attrName The name of the attribute to update\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param i0 Static value used for concatenation only.\n * @param v1 Value checked for change.\n * @param i1 Static value used for concatenation only.\n * @param v2 Value checked for change.\n * @param i2 Static value used for concatenation only.\n * @param v3 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @param sanitizer An optional sanitizer function\n * @returns itself, so that it may be chained.\n * @codeGenApi\n */\nfunction ɵɵattributeInterpolate4(attrName, prefix, v0, i0, v1, i1, v2, i2, v3, suffix, sanitizer, namespace) {\n    const lView = getLView();\n    const interpolatedValue = interpolation4(lView, prefix, v0, i0, v1, i1, v2, i2, v3, suffix);\n    if (interpolatedValue !== NO_CHANGE) {\n        const tNode = getSelectedTNode();\n        elementAttributeInternal(tNode, lView, attrName, interpolatedValue, sanitizer, namespace);\n        ngDevMode &&\n            storePropertyBindingMetadata(getTView().data, tNode, 'attr.' + attrName, getBindingIndex() - 4, prefix, i0, i1, i2, suffix);\n    }\n    return ɵɵattributeInterpolate4;\n}\n/**\n *\n * Update an interpolated attribute on an element with 5 bound values surrounded by text.\n *\n * Used when the value passed to a property has 5 interpolated values in it:\n *\n * ```html\n * <div attr.title=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}suffix\"></div>\n * ```\n *\n * Its compiled representation is::\n *\n * ```ts\n * ɵɵattributeInterpolate5(\n * 'title', 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, 'suffix');\n * ```\n *\n * @param attrName The name of the attribute to update\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param i0 Static value used for concatenation only.\n * @param v1 Value checked for change.\n * @param i1 Static value used for concatenation only.\n * @param v2 Value checked for change.\n * @param i2 Static value used for concatenation only.\n * @param v3 Value checked for change.\n * @param i3 Static value used for concatenation only.\n * @param v4 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @param sanitizer An optional sanitizer function\n * @returns itself, so that it may be chained.\n * @codeGenApi\n */\nfunction ɵɵattributeInterpolate5(attrName, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix, sanitizer, namespace) {\n    const lView = getLView();\n    const interpolatedValue = interpolation5(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix);\n    if (interpolatedValue !== NO_CHANGE) {\n        const tNode = getSelectedTNode();\n        elementAttributeInternal(tNode, lView, attrName, interpolatedValue, sanitizer, namespace);\n        ngDevMode &&\n            storePropertyBindingMetadata(getTView().data, tNode, 'attr.' + attrName, getBindingIndex() - 5, prefix, i0, i1, i2, i3, suffix);\n    }\n    return ɵɵattributeInterpolate5;\n}\n/**\n *\n * Update an interpolated attribute on an element with 6 bound values surrounded by text.\n *\n * Used when the value passed to a property has 6 interpolated values in it:\n *\n * ```html\n * <div attr.title=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}suffix\"></div>\n * ```\n *\n * Its compiled representation is::\n *\n * ```ts\n * ɵɵattributeInterpolate6(\n *    'title', 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, 'suffix');\n * ```\n *\n * @param attrName The name of the attribute to update\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param i0 Static value used for concatenation only.\n * @param v1 Value checked for change.\n * @param i1 Static value used for concatenation only.\n * @param v2 Value checked for change.\n * @param i2 Static value used for concatenation only.\n * @param v3 Value checked for change.\n * @param i3 Static value used for concatenation only.\n * @param v4 Value checked for change.\n * @param i4 Static value used for concatenation only.\n * @param v5 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @param sanitizer An optional sanitizer function\n * @returns itself, so that it may be chained.\n * @codeGenApi\n */\nfunction ɵɵattributeInterpolate6(attrName, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix, sanitizer, namespace) {\n    const lView = getLView();\n    const interpolatedValue = interpolation6(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix);\n    if (interpolatedValue !== NO_CHANGE) {\n        const tNode = getSelectedTNode();\n        elementAttributeInternal(tNode, lView, attrName, interpolatedValue, sanitizer, namespace);\n        ngDevMode &&\n            storePropertyBindingMetadata(getTView().data, tNode, 'attr.' + attrName, getBindingIndex() - 6, prefix, i0, i1, i2, i3, i4, suffix);\n    }\n    return ɵɵattributeInterpolate6;\n}\n/**\n *\n * Update an interpolated attribute on an element with 7 bound values surrounded by text.\n *\n * Used when the value passed to a property has 7 interpolated values in it:\n *\n * ```html\n * <div attr.title=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}suffix\"></div>\n * ```\n *\n * Its compiled representation is::\n *\n * ```ts\n * ɵɵattributeInterpolate7(\n *    'title', 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, 'suffix');\n * ```\n *\n * @param attrName The name of the attribute to update\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param i0 Static value used for concatenation only.\n * @param v1 Value checked for change.\n * @param i1 Static value used for concatenation only.\n * @param v2 Value checked for change.\n * @param i2 Static value used for concatenation only.\n * @param v3 Value checked for change.\n * @param i3 Static value used for concatenation only.\n * @param v4 Value checked for change.\n * @param i4 Static value used for concatenation only.\n * @param v5 Value checked for change.\n * @param i5 Static value used for concatenation only.\n * @param v6 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @param sanitizer An optional sanitizer function\n * @returns itself, so that it may be chained.\n * @codeGenApi\n */\nfunction ɵɵattributeInterpolate7(attrName, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix, sanitizer, namespace) {\n    const lView = getLView();\n    const interpolatedValue = interpolation7(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix);\n    if (interpolatedValue !== NO_CHANGE) {\n        const tNode = getSelectedTNode();\n        elementAttributeInternal(tNode, lView, attrName, interpolatedValue, sanitizer, namespace);\n        ngDevMode &&\n            storePropertyBindingMetadata(getTView().data, tNode, 'attr.' + attrName, getBindingIndex() - 7, prefix, i0, i1, i2, i3, i4, i5, suffix);\n    }\n    return ɵɵattributeInterpolate7;\n}\n/**\n *\n * Update an interpolated attribute on an element with 8 bound values surrounded by text.\n *\n * Used when the value passed to a property has 8 interpolated values in it:\n *\n * ```html\n * <div attr.title=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}-{{v7}}suffix\"></div>\n * ```\n *\n * Its compiled representation is::\n *\n * ```ts\n * ɵɵattributeInterpolate8(\n *  'title', 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, '-', v7, 'suffix');\n * ```\n *\n * @param attrName The name of the attribute to update\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param i0 Static value used for concatenation only.\n * @param v1 Value checked for change.\n * @param i1 Static value used for concatenation only.\n * @param v2 Value checked for change.\n * @param i2 Static value used for concatenation only.\n * @param v3 Value checked for change.\n * @param i3 Static value used for concatenation only.\n * @param v4 Value checked for change.\n * @param i4 Static value used for concatenation only.\n * @param v5 Value checked for change.\n * @param i5 Static value used for concatenation only.\n * @param v6 Value checked for change.\n * @param i6 Static value used for concatenation only.\n * @param v7 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @param sanitizer An optional sanitizer function\n * @returns itself, so that it may be chained.\n * @codeGenApi\n */\nfunction ɵɵattributeInterpolate8(attrName, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix, sanitizer, namespace) {\n    const lView = getLView();\n    const interpolatedValue = interpolation8(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix);\n    if (interpolatedValue !== NO_CHANGE) {\n        const tNode = getSelectedTNode();\n        elementAttributeInternal(tNode, lView, attrName, interpolatedValue, sanitizer, namespace);\n        ngDevMode &&\n            storePropertyBindingMetadata(getTView().data, tNode, 'attr.' + attrName, getBindingIndex() - 8, prefix, i0, i1, i2, i3, i4, i5, i6, suffix);\n    }\n    return ɵɵattributeInterpolate8;\n}\n/**\n * Update an interpolated attribute on an element with 9 or more bound values surrounded by text.\n *\n * Used when the number of interpolated values exceeds 8.\n *\n * ```html\n * <div\n *  title=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}-{{v7}}-{{v8}}-{{v9}}suffix\"></div>\n * ```\n *\n * Its compiled representation is::\n *\n * ```ts\n * ɵɵattributeInterpolateV(\n *  'title', ['prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, '-', v7, '-', v9,\n *  'suffix']);\n * ```\n *\n * @param attrName The name of the attribute to update.\n * @param values The collection of values and the strings in-between those values, beginning with\n * a string prefix and ending with a string suffix.\n * (e.g. `['prefix', value0, '-', value1, '-', value2, ..., value99, 'suffix']`)\n * @param sanitizer An optional sanitizer function\n * @returns itself, so that it may be chained.\n * @codeGenApi\n */\nfunction ɵɵattributeInterpolateV(attrName, values, sanitizer, namespace) {\n    const lView = getLView();\n    const interpolated = interpolationV(lView, values);\n    if (interpolated !== NO_CHANGE) {\n        const tNode = getSelectedTNode();\n        elementAttributeInternal(tNode, lView, attrName, interpolated, sanitizer, namespace);\n        if (ngDevMode) {\n            const interpolationInBetween = [values[0]]; // prefix\n            for (let i = 2; i < values.length; i += 2) {\n                interpolationInBetween.push(values[i]);\n            }\n            storePropertyBindingMetadata(getTView().data, tNode, 'attr.' + attrName, getBindingIndex() - interpolationInBetween.length + 1, ...interpolationInBetween);\n        }\n    }\n    return ɵɵattributeInterpolateV;\n}\n\n/**\n * Synchronously perform change detection on a component (and possibly its sub-components).\n *\n * This function triggers change detection in a synchronous way on a component.\n *\n * @param component The component which the change detection should be performed on.\n */\nfunction detectChanges(component) {\n    const view = getComponentViewByInstance(component);\n    detectChangesInternal(view[TVIEW], view, component);\n}\n\nfunction templateFirstCreatePass(index, tView, lView, templateFn, decls, vars, tagName, attrsIndex, localRefsIndex) {\n    ngDevMode && assertFirstCreatePass(tView);\n    ngDevMode && ngDevMode.firstCreatePass++;\n    const tViewConsts = tView.consts;\n    // TODO(pk): refactor getOrCreateTNode to have the \"create\" only version\n    const tNode = getOrCreateTNode(tView, index, 4 /* TNodeType.Container */, tagName || null, getConstant(tViewConsts, attrsIndex));\n    resolveDirectives(tView, lView, tNode, getConstant(tViewConsts, localRefsIndex));\n    registerPostOrderHooks(tView, tNode);\n    const embeddedTView = tNode.tView = createTView(2 /* TViewType.Embedded */, tNode, templateFn, decls, vars, tView.directiveRegistry, tView.pipeRegistry, null, tView.schemas, tViewConsts);\n    if (tView.queries !== null) {\n        tView.queries.template(tView, tNode);\n        embeddedTView.queries = tView.queries.embeddedTView(tNode);\n    }\n    return tNode;\n}\n/**\n * Creates an LContainer for an ng-template (dynamically-inserted view), e.g.\n *\n * <ng-template #foo>\n *    <div></div>\n * </ng-template>\n *\n * @param index The index of the container in the data array\n * @param templateFn Inline template\n * @param decls The number of nodes, local refs, and pipes for this template\n * @param vars The number of bindings for this template\n * @param tagName The name of the container element, if applicable\n * @param attrsIndex Index of template attributes in the `consts` array.\n * @param localRefs Index of the local references in the `consts` array.\n * @param localRefExtractor A function which extracts local-refs values from the template.\n *        Defaults to the current element associated with the local-ref.\n *\n * @codeGenApi\n */\nfunction ɵɵtemplate(index, templateFn, decls, vars, tagName, attrsIndex, localRefsIndex, localRefExtractor) {\n    const lView = getLView();\n    const tView = getTView();\n    const adjustedIndex = index + HEADER_OFFSET;\n    const tNode = tView.firstCreatePass ? templateFirstCreatePass(adjustedIndex, tView, lView, templateFn, decls, vars, tagName, attrsIndex, localRefsIndex) :\n        tView.data[adjustedIndex];\n    setCurrentTNode(tNode, false);\n    const comment = lView[RENDERER].createComment(ngDevMode ? 'container' : '');\n    appendChild(tView, lView, comment, tNode);\n    attachPatchData(comment, lView);\n    addToViewTree(lView, lView[adjustedIndex] = createLContainer(comment, lView, comment, tNode));\n    if (isDirectiveHost(tNode)) {\n        createDirectivesInstances(tView, lView, tNode);\n    }\n    if (localRefsIndex != null) {\n        saveResolvedLocalsInData(lView, tNode, localRefExtractor);\n    }\n}\n\n/** Store a value in the `data` at a given `index`. */\nfunction store(tView, lView, index, value) {\n    // We don't store any static data for local variables, so the first time\n    // we see the template, we should store as null to avoid a sparse array\n    if (index >= tView.data.length) {\n        tView.data[index] = null;\n        tView.blueprint[index] = null;\n    }\n    lView[index] = value;\n}\n/**\n * Retrieves a local reference from the current contextViewData.\n *\n * If the reference to retrieve is in a parent view, this instruction is used in conjunction\n * with a nextContext() call, which walks up the tree and updates the contextViewData instance.\n *\n * @param index The index of the local ref in contextViewData.\n *\n * @codeGenApi\n */\nfunction ɵɵreference(index) {\n    const contextLView = getContextLView();\n    return load(contextLView, HEADER_OFFSET + index);\n}\n\n/**\n * Update a property on a selected element.\n *\n * Operates on the element selected by index via the {@link select} instruction.\n *\n * If the property name also exists as an input property on one of the element's directives,\n * the component property will be set instead of the element property. This check must\n * be conducted at runtime so child components that add new `@Inputs` don't have to be re-compiled\n *\n * @param propName Name of property. Because it is going to DOM, this is not subject to\n *        renaming as part of minification.\n * @param value New value to write.\n * @param sanitizer An optional function used to sanitize the value.\n * @returns This function returns itself so that it may be chained\n * (e.g. `property('name', ctx.name)('title', ctx.title)`)\n *\n * @codeGenApi\n */\nfunction ɵɵproperty(propName, value, sanitizer) {\n    const lView = getLView();\n    const bindingIndex = nextBindingIndex();\n    if (bindingUpdated(lView, bindingIndex, value)) {\n        const tView = getTView();\n        const tNode = getSelectedTNode();\n        elementPropertyInternal(tView, tNode, lView, propName, value, lView[RENDERER], sanitizer, false);\n        ngDevMode && storePropertyBindingMetadata(tView.data, tNode, propName, bindingIndex);\n    }\n    return ɵɵproperty;\n}\n/**\n * Given `<div style=\"...\" my-dir>` and `MyDir` with `@Input('style')` we need to write to\n * directive input.\n */\nfunction setDirectiveInputsWhichShadowsStyling(tView, tNode, lView, value, isClassBased) {\n    const inputs = tNode.inputs;\n    const property = isClassBased ? 'class' : 'style';\n    // We support both 'class' and `className` hence the fallback.\n    setInputsForProperty(tView, lView, inputs[property], property, value);\n}\n\nfunction elementStartFirstCreatePass(index, tView, lView, name, attrsIndex, localRefsIndex) {\n    ngDevMode && assertFirstCreatePass(tView);\n    ngDevMode && ngDevMode.firstCreatePass++;\n    const tViewConsts = tView.consts;\n    const attrs = getConstant(tViewConsts, attrsIndex);\n    const tNode = getOrCreateTNode(tView, index, 2 /* TNodeType.Element */, name, attrs);\n    resolveDirectives(tView, lView, tNode, getConstant(tViewConsts, localRefsIndex));\n    if (tNode.attrs !== null) {\n        computeStaticStyling(tNode, tNode.attrs, false);\n    }\n    if (tNode.mergedAttrs !== null) {\n        computeStaticStyling(tNode, tNode.mergedAttrs, true);\n    }\n    if (tView.queries !== null) {\n        tView.queries.elementStart(tView, tNode);\n    }\n    return tNode;\n}\n/**\n * Create DOM element. The instruction must later be followed by `elementEnd()` call.\n *\n * @param index Index of the element in the LView array\n * @param name Name of the DOM Node\n * @param attrsIndex Index of the element's attributes in the `consts` array.\n * @param localRefsIndex Index of the element's local references in the `consts` array.\n * @returns This function returns itself so that it may be chained.\n *\n * Attributes and localRefs are passed as an array of strings where elements with an even index\n * hold an attribute name and elements with an odd index hold an attribute value, ex.:\n * ['id', 'warning5', 'class', 'alert']\n *\n * @codeGenApi\n */\nfunction ɵɵelementStart(index, name, attrsIndex, localRefsIndex) {\n    const lView = getLView();\n    const tView = getTView();\n    const adjustedIndex = HEADER_OFFSET + index;\n    ngDevMode &&\n        assertEqual(getBindingIndex(), tView.bindingStartIndex, 'elements should be created before any bindings');\n    ngDevMode && assertIndexInRange(lView, adjustedIndex);\n    const renderer = lView[RENDERER];\n    const tNode = tView.firstCreatePass ?\n        elementStartFirstCreatePass(adjustedIndex, tView, lView, name, attrsIndex, localRefsIndex) :\n        tView.data[adjustedIndex];\n    const native = lView[adjustedIndex] = createElementNode(renderer, name, getNamespace$1());\n    const hasDirectives = isDirectiveHost(tNode);\n    if (ngDevMode && tView.firstCreatePass) {\n        validateElementIsKnown(native, lView, tNode.value, tView.schemas, hasDirectives);\n    }\n    setCurrentTNode(tNode, true);\n    setupStaticAttributes(renderer, native, tNode);\n    if ((tNode.flags & 32 /* TNodeFlags.isDetached */) !== 32 /* TNodeFlags.isDetached */) {\n        // In the i18n case, the translation may have removed this element, so only add it if it is not\n        // detached. See `TNodeType.Placeholder` and `LFrame.inI18n` for more context.\n        appendChild(tView, lView, native, tNode);\n    }\n    // any immediate children of a component or template container must be pre-emptively\n    // monkey-patched with the component view data so that the element can be inspected\n    // later on using any element discovery utility methods (see `element_discovery.ts`)\n    if (getElementDepthCount() === 0) {\n        attachPatchData(native, lView);\n    }\n    increaseElementDepthCount();\n    if (hasDirectives) {\n        createDirectivesInstances(tView, lView, tNode);\n        executeContentQueries(tView, tNode, lView);\n    }\n    if (localRefsIndex !== null) {\n        saveResolvedLocalsInData(lView, tNode);\n    }\n    return ɵɵelementStart;\n}\n/**\n * Mark the end of the element.\n * @returns This function returns itself so that it may be chained.\n *\n * @codeGenApi\n */\nfunction ɵɵelementEnd() {\n    let currentTNode = getCurrentTNode();\n    ngDevMode && assertDefined(currentTNode, 'No parent node to close.');\n    if (isCurrentTNodeParent()) {\n        setCurrentTNodeAsNotParent();\n    }\n    else {\n        ngDevMode && assertHasParent(getCurrentTNode());\n        currentTNode = currentTNode.parent;\n        setCurrentTNode(currentTNode, false);\n    }\n    const tNode = currentTNode;\n    ngDevMode && assertTNodeType(tNode, 3 /* TNodeType.AnyRNode */);\n    decreaseElementDepthCount();\n    const tView = getTView();\n    if (tView.firstCreatePass) {\n        registerPostOrderHooks(tView, currentTNode);\n        if (isContentQueryHost(currentTNode)) {\n            tView.queries.elementEnd(currentTNode);\n        }\n    }\n    if (tNode.classesWithoutHost != null && hasClassInput(tNode)) {\n        setDirectiveInputsWhichShadowsStyling(tView, tNode, getLView(), tNode.classesWithoutHost, true);\n    }\n    if (tNode.stylesWithoutHost != null && hasStyleInput(tNode)) {\n        setDirectiveInputsWhichShadowsStyling(tView, tNode, getLView(), tNode.stylesWithoutHost, false);\n    }\n    return ɵɵelementEnd;\n}\n/**\n * Creates an empty element using {@link elementStart} and {@link elementEnd}\n *\n * @param index Index of the element in the data array\n * @param name Name of the DOM Node\n * @param attrsIndex Index of the element's attributes in the `consts` array.\n * @param localRefsIndex Index of the element's local references in the `consts` array.\n * @returns This function returns itself so that it may be chained.\n *\n * @codeGenApi\n */\nfunction ɵɵelement(index, name, attrsIndex, localRefsIndex) {\n    ɵɵelementStart(index, name, attrsIndex, localRefsIndex);\n    ɵɵelementEnd();\n    return ɵɵelement;\n}\n\nfunction elementContainerStartFirstCreatePass(index, tView, lView, attrsIndex, localRefsIndex) {\n    ngDevMode && ngDevMode.firstCreatePass++;\n    const tViewConsts = tView.consts;\n    const attrs = getConstant(tViewConsts, attrsIndex);\n    const tNode = getOrCreateTNode(tView, index, 8 /* TNodeType.ElementContainer */, 'ng-container', attrs);\n    // While ng-container doesn't necessarily support styling, we use the style context to identify\n    // and execute directives on the ng-container.\n    if (attrs !== null) {\n        computeStaticStyling(tNode, attrs, true);\n    }\n    const localRefs = getConstant(tViewConsts, localRefsIndex);\n    resolveDirectives(tView, lView, tNode, localRefs);\n    if (tView.queries !== null) {\n        tView.queries.elementStart(tView, tNode);\n    }\n    return tNode;\n}\n/**\n * Creates a logical container for other nodes (<ng-container>) backed by a comment node in the DOM.\n * The instruction must later be followed by `elementContainerEnd()` call.\n *\n * @param index Index of the element in the LView array\n * @param attrsIndex Index of the container attributes in the `consts` array.\n * @param localRefsIndex Index of the container's local references in the `consts` array.\n * @returns This function returns itself so that it may be chained.\n *\n * Even if this instruction accepts a set of attributes no actual attribute values are propagated to\n * the DOM (as a comment node can't have attributes). Attributes are here only for directive\n * matching purposes and setting initial inputs of directives.\n *\n * @codeGenApi\n */\nfunction ɵɵelementContainerStart(index, attrsIndex, localRefsIndex) {\n    const lView = getLView();\n    const tView = getTView();\n    const adjustedIndex = index + HEADER_OFFSET;\n    ngDevMode && assertIndexInRange(lView, adjustedIndex);\n    ngDevMode &&\n        assertEqual(getBindingIndex(), tView.bindingStartIndex, 'element containers should be created before any bindings');\n    const tNode = tView.firstCreatePass ?\n        elementContainerStartFirstCreatePass(adjustedIndex, tView, lView, attrsIndex, localRefsIndex) :\n        tView.data[adjustedIndex];\n    setCurrentTNode(tNode, true);\n    ngDevMode && ngDevMode.rendererCreateComment++;\n    const native = lView[adjustedIndex] =\n        lView[RENDERER].createComment(ngDevMode ? 'ng-container' : '');\n    appendChild(tView, lView, native, tNode);\n    attachPatchData(native, lView);\n    if (isDirectiveHost(tNode)) {\n        createDirectivesInstances(tView, lView, tNode);\n        executeContentQueries(tView, tNode, lView);\n    }\n    if (localRefsIndex != null) {\n        saveResolvedLocalsInData(lView, tNode);\n    }\n    return ɵɵelementContainerStart;\n}\n/**\n * Mark the end of the <ng-container>.\n * @returns This function returns itself so that it may be chained.\n *\n * @codeGenApi\n */\nfunction ɵɵelementContainerEnd() {\n    let currentTNode = getCurrentTNode();\n    const tView = getTView();\n    if (isCurrentTNodeParent()) {\n        setCurrentTNodeAsNotParent();\n    }\n    else {\n        ngDevMode && assertHasParent(currentTNode);\n        currentTNode = currentTNode.parent;\n        setCurrentTNode(currentTNode, false);\n    }\n    ngDevMode && assertTNodeType(currentTNode, 8 /* TNodeType.ElementContainer */);\n    if (tView.firstCreatePass) {\n        registerPostOrderHooks(tView, currentTNode);\n        if (isContentQueryHost(currentTNode)) {\n            tView.queries.elementEnd(currentTNode);\n        }\n    }\n    return ɵɵelementContainerEnd;\n}\n/**\n * Creates an empty logical container using {@link elementContainerStart}\n * and {@link elementContainerEnd}\n *\n * @param index Index of the element in the LView array\n * @param attrsIndex Index of the container attributes in the `consts` array.\n * @param localRefsIndex Index of the container's local references in the `consts` array.\n * @returns This function returns itself so that it may be chained.\n *\n * @codeGenApi\n */\nfunction ɵɵelementContainer(index, attrsIndex, localRefsIndex) {\n    ɵɵelementContainerStart(index, attrsIndex, localRefsIndex);\n    ɵɵelementContainerEnd();\n    return ɵɵelementContainer;\n}\n\n/**\n * Returns the current OpaqueViewState instance.\n *\n * Used in conjunction with the restoreView() instruction to save a snapshot\n * of the current view and restore it when listeners are invoked. This allows\n * walking the declaration view tree in listeners to get vars from parent views.\n *\n * @codeGenApi\n */\nfunction ɵɵgetCurrentView() {\n    return getLView();\n}\n\n/**\n * Determine if the argument is shaped like a Promise\n */\nfunction isPromise(obj) {\n    // allow any Promise/A+ compliant thenable.\n    // It's up to the caller to ensure that obj.then conforms to the spec\n    return !!obj && typeof obj.then === 'function';\n}\n/**\n * Determine if the argument is a Subscribable\n */\nfunction isSubscribable(obj) {\n    return !!obj && typeof obj.subscribe === 'function';\n}\n/**\n * Determine if the argument is an Observable\n *\n * Strictly this tests that the `obj` is `Subscribable`, since `Observable`\n * types need additional methods, such as `lift()`. But it is adequate for our\n * needs since within the Angular framework code we only ever need to use the\n * `subscribe()` method, and RxJS has mechanisms to wrap `Subscribable` objects\n * into `Observable` as needed.\n */\nconst isObservable = isSubscribable;\n\n/**\n * Adds an event listener to the current node.\n *\n * If an output exists on one of the node's directives, it also subscribes to the output\n * and saves the subscription for later cleanup.\n *\n * @param eventName Name of the event\n * @param listenerFn The function to be called when event emits\n * @param useCapture Whether or not to use capture in event listener - this argument is a reminder\n *     from the Renderer3 infrastructure and should be removed from the instruction arguments\n * @param eventTargetResolver Function that returns global target information in case this listener\n * should be attached to a global object like window, document or body\n *\n * @codeGenApi\n */\nfunction ɵɵlistener(eventName, listenerFn, useCapture, eventTargetResolver) {\n    const lView = getLView();\n    const tView = getTView();\n    const tNode = getCurrentTNode();\n    listenerInternal(tView, lView, lView[RENDERER], tNode, eventName, listenerFn, eventTargetResolver);\n    return ɵɵlistener;\n}\n/**\n * Registers a synthetic host listener (e.g. `(@foo.start)`) on a component or directive.\n *\n * This instruction is for compatibility purposes and is designed to ensure that a\n * synthetic host listener (e.g. `@HostListener('@foo.start')`) properly gets rendered\n * in the component's renderer. Normally all host listeners are evaluated with the\n * parent component's renderer, but, in the case of animation @triggers, they need\n * to be evaluated with the sub component's renderer (because that's where the\n * animation triggers are defined).\n *\n * Do not use this instruction as a replacement for `listener`. This instruction\n * only exists to ensure compatibility with the ViewEngine's host binding behavior.\n *\n * @param eventName Name of the event\n * @param listenerFn The function to be called when event emits\n * @param useCapture Whether or not to use capture in event listener\n * @param eventTargetResolver Function that returns global target information in case this listener\n * should be attached to a global object like window, document or body\n *\n * @codeGenApi\n */\nfunction ɵɵsyntheticHostListener(eventName, listenerFn) {\n    const tNode = getCurrentTNode();\n    const lView = getLView();\n    const tView = getTView();\n    const currentDef = getCurrentDirectiveDef(tView.data);\n    const renderer = loadComponentRenderer(currentDef, tNode, lView);\n    listenerInternal(tView, lView, renderer, tNode, eventName, listenerFn);\n    return ɵɵsyntheticHostListener;\n}\n/**\n * A utility function that checks if a given element has already an event handler registered for an\n * event with a specified name. The TView.cleanup data structure is used to find out which events\n * are registered for a given element.\n */\nfunction findExistingListener(tView, lView, eventName, tNodeIdx) {\n    const tCleanup = tView.cleanup;\n    if (tCleanup != null) {\n        for (let i = 0; i < tCleanup.length - 1; i += 2) {\n            const cleanupEventName = tCleanup[i];\n            if (cleanupEventName === eventName && tCleanup[i + 1] === tNodeIdx) {\n                // We have found a matching event name on the same node but it might not have been\n                // registered yet, so we must explicitly verify entries in the LView cleanup data\n                // structures.\n                const lCleanup = lView[CLEANUP];\n                const listenerIdxInLCleanup = tCleanup[i + 2];\n                return lCleanup.length > listenerIdxInLCleanup ? lCleanup[listenerIdxInLCleanup] : null;\n            }\n            // TView.cleanup can have a mix of 4-elements entries (for event handler cleanups) or\n            // 2-element entries (for directive and queries destroy hooks). As such we can encounter\n            // blocks of 4 or 2 items in the tView.cleanup and this is why we iterate over 2 elements\n            // first and jump another 2 elements if we detect listeners cleanup (4 elements). Also check\n            // documentation of TView.cleanup for more details of this data structure layout.\n            if (typeof cleanupEventName === 'string') {\n                i += 2;\n            }\n        }\n    }\n    return null;\n}\nfunction listenerInternal(tView, lView, renderer, tNode, eventName, listenerFn, eventTargetResolver) {\n    const isTNodeDirectiveHost = isDirectiveHost(tNode);\n    const firstCreatePass = tView.firstCreatePass;\n    const tCleanup = firstCreatePass && getOrCreateTViewCleanup(tView);\n    const context = lView[CONTEXT];\n    // When the ɵɵlistener instruction was generated and is executed we know that there is either a\n    // native listener or a directive output on this element. As such we we know that we will have to\n    // register a listener and store its cleanup function on LView.\n    const lCleanup = getOrCreateLViewCleanup(lView);\n    ngDevMode && assertTNodeType(tNode, 3 /* TNodeType.AnyRNode */ | 12 /* TNodeType.AnyContainer */);\n    let processOutputs = true;\n    // Adding a native event listener is applicable when:\n    // - The corresponding TNode represents a DOM element.\n    // - The event target has a resolver (usually resulting in a global object,\n    //   such as `window` or `document`).\n    if ((tNode.type & 3 /* TNodeType.AnyRNode */) || eventTargetResolver) {\n        const native = getNativeByTNode(tNode, lView);\n        const target = eventTargetResolver ? eventTargetResolver(native) : native;\n        const lCleanupIndex = lCleanup.length;\n        const idxOrTargetGetter = eventTargetResolver ?\n            (_lView) => eventTargetResolver(unwrapRNode(_lView[tNode.index])) :\n            tNode.index;\n        // In order to match current behavior, native DOM event listeners must be added for all\n        // events (including outputs).\n        // There might be cases where multiple directives on the same element try to register an event\n        // handler function for the same event. In this situation we want to avoid registration of\n        // several native listeners as each registration would be intercepted by NgZone and\n        // trigger change detection. This would mean that a single user action would result in several\n        // change detections being invoked. To avoid this situation we want to have only one call to\n        // native handler registration (for the same element and same type of event).\n        //\n        // In order to have just one native event handler in presence of multiple handler functions,\n        // we just register a first handler function as a native event listener and then chain\n        // (coalesce) other handler functions on top of the first native handler function.\n        let existingListener = null;\n        // Please note that the coalescing described here doesn't happen for events specifying an\n        // alternative target (ex. (document:click)) - this is to keep backward compatibility with the\n        // view engine.\n        // Also, we don't have to search for existing listeners is there are no directives\n        // matching on a given node as we can't register multiple event handlers for the same event in\n        // a template (this would mean having duplicate attributes).\n        if (!eventTargetResolver && isTNodeDirectiveHost) {\n            existingListener = findExistingListener(tView, lView, eventName, tNode.index);\n        }\n        if (existingListener !== null) {\n            // Attach a new listener to coalesced listeners list, maintaining the order in which\n            // listeners are registered. For performance reasons, we keep a reference to the last\n            // listener in that list (in `__ngLastListenerFn__` field), so we can avoid going through\n            // the entire set each time we need to add a new listener.\n            const lastListenerFn = existingListener.__ngLastListenerFn__ || existingListener;\n            lastListenerFn.__ngNextListenerFn__ = listenerFn;\n            existingListener.__ngLastListenerFn__ = listenerFn;\n            processOutputs = false;\n        }\n        else {\n            listenerFn = wrapListener(tNode, lView, context, listenerFn, false /** preventDefault */);\n            const cleanupFn = renderer.listen(target, eventName, listenerFn);\n            ngDevMode && ngDevMode.rendererAddEventListener++;\n            lCleanup.push(listenerFn, cleanupFn);\n            tCleanup && tCleanup.push(eventName, idxOrTargetGetter, lCleanupIndex, lCleanupIndex + 1);\n        }\n    }\n    else {\n        // Even if there is no native listener to add, we still need to wrap the listener so that OnPush\n        // ancestors are marked dirty when an event occurs.\n        listenerFn = wrapListener(tNode, lView, context, listenerFn, false /** preventDefault */);\n    }\n    // subscribe to directive outputs\n    const outputs = tNode.outputs;\n    let props;\n    if (processOutputs && outputs !== null && (props = outputs[eventName])) {\n        const propsLength = props.length;\n        if (propsLength) {\n            for (let i = 0; i < propsLength; i += 2) {\n                const index = props[i];\n                ngDevMode && assertIndexInRange(lView, index);\n                const minifiedName = props[i + 1];\n                const directiveInstance = lView[index];\n                const output = directiveInstance[minifiedName];\n                if (ngDevMode && !isObservable(output)) {\n                    throw new Error(`@Output ${minifiedName} not initialized in '${directiveInstance.constructor.name}'.`);\n                }\n                const subscription = output.subscribe(listenerFn);\n                const idx = lCleanup.length;\n                lCleanup.push(listenerFn, subscription);\n                tCleanup && tCleanup.push(eventName, tNode.index, idx, -(idx + 1));\n            }\n        }\n    }\n}\nfunction executeListenerWithErrorHandling(lView, context, listenerFn, e) {\n    try {\n        profiler(6 /* ProfilerEvent.OutputStart */, context, listenerFn);\n        // Only explicitly returning false from a listener should preventDefault\n        return listenerFn(e) !== false;\n    }\n    catch (error) {\n        handleError(lView, error);\n        return false;\n    }\n    finally {\n        profiler(7 /* ProfilerEvent.OutputEnd */, context, listenerFn);\n    }\n}\n/**\n * Wraps an event listener with a function that marks ancestors dirty and prevents default behavior,\n * if applicable.\n *\n * @param tNode The TNode associated with this listener\n * @param lView The LView that contains this listener\n * @param listenerFn The listener function to call\n * @param wrapWithPreventDefault Whether or not to prevent default behavior\n * (the procedural renderer does this already, so in those cases, we should skip)\n */\nfunction wrapListener(tNode, lView, context, listenerFn, wrapWithPreventDefault) {\n    // Note: we are performing most of the work in the listener function itself\n    // to optimize listener registration.\n    return function wrapListenerIn_markDirtyAndPreventDefault(e) {\n        // Ivy uses `Function` as a special token that allows us to unwrap the function\n        // so that it can be invoked programmatically by `DebugNode.triggerEventHandler`.\n        if (e === Function) {\n            return listenerFn;\n        }\n        // In order to be backwards compatible with View Engine, events on component host nodes\n        // must also mark the component view itself dirty (i.e. the view that it owns).\n        const startView = tNode.componentOffset > -1 ? getComponentLViewByIndex(tNode.index, lView) : lView;\n        markViewDirty(startView);\n        let result = executeListenerWithErrorHandling(lView, context, listenerFn, e);\n        // A just-invoked listener function might have coalesced listeners so we need to check for\n        // their presence and invoke as needed.\n        let nextListenerFn = wrapListenerIn_markDirtyAndPreventDefault.__ngNextListenerFn__;\n        while (nextListenerFn) {\n            // We should prevent default if any of the listeners explicitly return false\n            result = executeListenerWithErrorHandling(lView, context, nextListenerFn, e) && result;\n            nextListenerFn = nextListenerFn.__ngNextListenerFn__;\n        }\n        if (wrapWithPreventDefault && result === false) {\n            e.preventDefault();\n            // Necessary for legacy browsers that don't support preventDefault (e.g. IE)\n            e.returnValue = false;\n        }\n        return result;\n    };\n}\n\n/**\n * Retrieves a context at the level specified and saves it as the global, contextViewData.\n * Will get the next level up if level is not specified.\n *\n * This is used to save contexts of parent views so they can be bound in embedded views, or\n * in conjunction with reference() to bind a ref from a parent view.\n *\n * @param level The relative level of the view from which to grab context compared to contextVewData\n * @returns context\n *\n * @codeGenApi\n */\nfunction ɵɵnextContext(level = 1) {\n    return nextContextImpl(level);\n}\n\n/**\n * Checks a given node against matching projection slots and returns the\n * determined slot index. Returns \"null\" if no slot matched the given node.\n *\n * This function takes into account the parsed ngProjectAs selector from the\n * node's attributes. If present, it will check whether the ngProjectAs selector\n * matches any of the projection slot selectors.\n */\nfunction matchingProjectionSlotIndex(tNode, projectionSlots) {\n    let wildcardNgContentIndex = null;\n    const ngProjectAsAttrVal = getProjectAsAttrValue(tNode);\n    for (let i = 0; i < projectionSlots.length; i++) {\n        const slotValue = projectionSlots[i];\n        // The last wildcard projection slot should match all nodes which aren't matching\n        // any selector. This is necessary to be backwards compatible with view engine.\n        if (slotValue === '*') {\n            wildcardNgContentIndex = i;\n            continue;\n        }\n        // If we ran into an `ngProjectAs` attribute, we should match its parsed selector\n        // to the list of selectors, otherwise we fall back to matching against the node.\n        if (ngProjectAsAttrVal === null ?\n            isNodeMatchingSelectorList(tNode, slotValue, /* isProjectionMode */ true) :\n            isSelectorInSelectorList(ngProjectAsAttrVal, slotValue)) {\n            return i; // first matching selector \"captures\" a given node\n        }\n    }\n    return wildcardNgContentIndex;\n}\n/**\n * Instruction to distribute projectable nodes among <ng-content> occurrences in a given template.\n * It takes all the selectors from the entire component's template and decides where\n * each projected node belongs (it re-distributes nodes among \"buckets\" where each \"bucket\" is\n * backed by a selector).\n *\n * This function requires CSS selectors to be provided in 2 forms: parsed (by a compiler) and text,\n * un-parsed form.\n *\n * The parsed form is needed for efficient matching of a node against a given CSS selector.\n * The un-parsed, textual form is needed for support of the ngProjectAs attribute.\n *\n * Having a CSS selector in 2 different formats is not ideal, but alternatives have even more\n * drawbacks:\n * - having only a textual form would require runtime parsing of CSS selectors;\n * - we can't have only a parsed as we can't re-construct textual form from it (as entered by a\n * template author).\n *\n * @param projectionSlots? A collection of projection slots. A projection slot can be based\n *        on a parsed CSS selectors or set to the wildcard selector (\"*\") in order to match\n *        all nodes which do not match any selector. If not specified, a single wildcard\n *        selector projection slot will be defined.\n *\n * @codeGenApi\n */\nfunction ɵɵprojectionDef(projectionSlots) {\n    const componentNode = getLView()[DECLARATION_COMPONENT_VIEW][T_HOST];\n    if (!componentNode.projection) {\n        // If no explicit projection slots are defined, fall back to a single\n        // projection slot with the wildcard selector.\n        const numProjectionSlots = projectionSlots ? projectionSlots.length : 1;\n        const projectionHeads = componentNode.projection =\n            newArray(numProjectionSlots, null);\n        const tails = projectionHeads.slice();\n        let componentChild = componentNode.child;\n        while (componentChild !== null) {\n            const slotIndex = projectionSlots ? matchingProjectionSlotIndex(componentChild, projectionSlots) : 0;\n            if (slotIndex !== null) {\n                if (tails[slotIndex]) {\n                    tails[slotIndex].projectionNext = componentChild;\n                }\n                else {\n                    projectionHeads[slotIndex] = componentChild;\n                }\n                tails[slotIndex] = componentChild;\n            }\n            componentChild = componentChild.next;\n        }\n    }\n}\n/**\n * Inserts previously re-distributed projected nodes. This instruction must be preceded by a call\n * to the projectionDef instruction.\n *\n * @param nodeIndex\n * @param selectorIndex:\n *        - 0 when the selector is `*` (or unspecified as this is the default value),\n *        - 1 based index of the selector from the {@link projectionDef}\n *\n * @codeGenApi\n */\nfunction ɵɵprojection(nodeIndex, selectorIndex = 0, attrs) {\n    const lView = getLView();\n    const tView = getTView();\n    const tProjectionNode = getOrCreateTNode(tView, HEADER_OFFSET + nodeIndex, 16 /* TNodeType.Projection */, null, attrs || null);\n    // We can't use viewData[HOST_NODE] because projection nodes can be nested in embedded views.\n    if (tProjectionNode.projection === null)\n        tProjectionNode.projection = selectorIndex;\n    // `<ng-content>` has no content\n    setCurrentTNodeAsNotParent();\n    if ((tProjectionNode.flags & 32 /* TNodeFlags.isDetached */) !== 32 /* TNodeFlags.isDetached */) {\n        // re-distribution of projectable nodes is stored on a component's view level\n        applyProjection(tView, lView, tProjectionNode);\n    }\n}\n\n/**\n *\n * Update an interpolated property on an element with a lone bound value\n *\n * Used when the value passed to a property has 1 interpolated value in it, an no additional text\n * surrounds that interpolated value:\n *\n * ```html\n * <div title=\"{{v0}}\"></div>\n * ```\n *\n * Its compiled representation is::\n *\n * ```ts\n * ɵɵpropertyInterpolate('title', v0);\n * ```\n *\n * If the property name also exists as an input property on one of the element's directives,\n * the component property will be set instead of the element property. This check must\n * be conducted at runtime so child components that add new `@Inputs` don't have to be re-compiled.\n *\n * @param propName The name of the property to update\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @param sanitizer An optional sanitizer function\n * @returns itself, so that it may be chained.\n * @codeGenApi\n */\nfunction ɵɵpropertyInterpolate(propName, v0, sanitizer) {\n    ɵɵpropertyInterpolate1(propName, '', v0, '', sanitizer);\n    return ɵɵpropertyInterpolate;\n}\n/**\n *\n * Update an interpolated property on an element with single bound value surrounded by text.\n *\n * Used when the value passed to a property has 1 interpolated value in it:\n *\n * ```html\n * <div title=\"prefix{{v0}}suffix\"></div>\n * ```\n *\n * Its compiled representation is::\n *\n * ```ts\n * ɵɵpropertyInterpolate1('title', 'prefix', v0, 'suffix');\n * ```\n *\n * If the property name also exists as an input property on one of the element's directives,\n * the component property will be set instead of the element property. This check must\n * be conducted at runtime so child components that add new `@Inputs` don't have to be re-compiled.\n *\n * @param propName The name of the property to update\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @param sanitizer An optional sanitizer function\n * @returns itself, so that it may be chained.\n * @codeGenApi\n */\nfunction ɵɵpropertyInterpolate1(propName, prefix, v0, suffix, sanitizer) {\n    const lView = getLView();\n    const interpolatedValue = interpolation1(lView, prefix, v0, suffix);\n    if (interpolatedValue !== NO_CHANGE) {\n        const tView = getTView();\n        const tNode = getSelectedTNode();\n        elementPropertyInternal(tView, tNode, lView, propName, interpolatedValue, lView[RENDERER], sanitizer, false);\n        ngDevMode &&\n            storePropertyBindingMetadata(tView.data, tNode, propName, getBindingIndex() - 1, prefix, suffix);\n    }\n    return ɵɵpropertyInterpolate1;\n}\n/**\n *\n * Update an interpolated property on an element with 2 bound values surrounded by text.\n *\n * Used when the value passed to a property has 2 interpolated values in it:\n *\n * ```html\n * <div title=\"prefix{{v0}}-{{v1}}suffix\"></div>\n * ```\n *\n * Its compiled representation is::\n *\n * ```ts\n * ɵɵpropertyInterpolate2('title', 'prefix', v0, '-', v1, 'suffix');\n * ```\n *\n * If the property name also exists as an input property on one of the element's directives,\n * the component property will be set instead of the element property. This check must\n * be conducted at runtime so child components that add new `@Inputs` don't have to be re-compiled.\n *\n * @param propName The name of the property to update\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param i0 Static value used for concatenation only.\n * @param v1 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @param sanitizer An optional sanitizer function\n * @returns itself, so that it may be chained.\n * @codeGenApi\n */\nfunction ɵɵpropertyInterpolate2(propName, prefix, v0, i0, v1, suffix, sanitizer) {\n    const lView = getLView();\n    const interpolatedValue = interpolation2(lView, prefix, v0, i0, v1, suffix);\n    if (interpolatedValue !== NO_CHANGE) {\n        const tView = getTView();\n        const tNode = getSelectedTNode();\n        elementPropertyInternal(tView, tNode, lView, propName, interpolatedValue, lView[RENDERER], sanitizer, false);\n        ngDevMode &&\n            storePropertyBindingMetadata(tView.data, tNode, propName, getBindingIndex() - 2, prefix, i0, suffix);\n    }\n    return ɵɵpropertyInterpolate2;\n}\n/**\n *\n * Update an interpolated property on an element with 3 bound values surrounded by text.\n *\n * Used when the value passed to a property has 3 interpolated values in it:\n *\n * ```html\n * <div title=\"prefix{{v0}}-{{v1}}-{{v2}}suffix\"></div>\n * ```\n *\n * Its compiled representation is::\n *\n * ```ts\n * ɵɵpropertyInterpolate3(\n * 'title', 'prefix', v0, '-', v1, '-', v2, 'suffix');\n * ```\n *\n * If the property name also exists as an input property on one of the element's directives,\n * the component property will be set instead of the element property. This check must\n * be conducted at runtime so child components that add new `@Inputs` don't have to be re-compiled.\n *\n * @param propName The name of the property to update\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param i0 Static value used for concatenation only.\n * @param v1 Value checked for change.\n * @param i1 Static value used for concatenation only.\n * @param v2 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @param sanitizer An optional sanitizer function\n * @returns itself, so that it may be chained.\n * @codeGenApi\n */\nfunction ɵɵpropertyInterpolate3(propName, prefix, v0, i0, v1, i1, v2, suffix, sanitizer) {\n    const lView = getLView();\n    const interpolatedValue = interpolation3(lView, prefix, v0, i0, v1, i1, v2, suffix);\n    if (interpolatedValue !== NO_CHANGE) {\n        const tView = getTView();\n        const tNode = getSelectedTNode();\n        elementPropertyInternal(tView, tNode, lView, propName, interpolatedValue, lView[RENDERER], sanitizer, false);\n        ngDevMode &&\n            storePropertyBindingMetadata(tView.data, tNode, propName, getBindingIndex() - 3, prefix, i0, i1, suffix);\n    }\n    return ɵɵpropertyInterpolate3;\n}\n/**\n *\n * Update an interpolated property on an element with 4 bound values surrounded by text.\n *\n * Used when the value passed to a property has 4 interpolated values in it:\n *\n * ```html\n * <div title=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}suffix\"></div>\n * ```\n *\n * Its compiled representation is::\n *\n * ```ts\n * ɵɵpropertyInterpolate4(\n * 'title', 'prefix', v0, '-', v1, '-', v2, '-', v3, 'suffix');\n * ```\n *\n * If the property name also exists as an input property on one of the element's directives,\n * the component property will be set instead of the element property. This check must\n * be conducted at runtime so child components that add new `@Inputs` don't have to be re-compiled.\n *\n * @param propName The name of the property to update\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param i0 Static value used for concatenation only.\n * @param v1 Value checked for change.\n * @param i1 Static value used for concatenation only.\n * @param v2 Value checked for change.\n * @param i2 Static value used for concatenation only.\n * @param v3 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @param sanitizer An optional sanitizer function\n * @returns itself, so that it may be chained.\n * @codeGenApi\n */\nfunction ɵɵpropertyInterpolate4(propName, prefix, v0, i0, v1, i1, v2, i2, v3, suffix, sanitizer) {\n    const lView = getLView();\n    const interpolatedValue = interpolation4(lView, prefix, v0, i0, v1, i1, v2, i2, v3, suffix);\n    if (interpolatedValue !== NO_CHANGE) {\n        const tView = getTView();\n        const tNode = getSelectedTNode();\n        elementPropertyInternal(tView, tNode, lView, propName, interpolatedValue, lView[RENDERER], sanitizer, false);\n        ngDevMode &&\n            storePropertyBindingMetadata(tView.data, tNode, propName, getBindingIndex() - 4, prefix, i0, i1, i2, suffix);\n    }\n    return ɵɵpropertyInterpolate4;\n}\n/**\n *\n * Update an interpolated property on an element with 5 bound values surrounded by text.\n *\n * Used when the value passed to a property has 5 interpolated values in it:\n *\n * ```html\n * <div title=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}suffix\"></div>\n * ```\n *\n * Its compiled representation is::\n *\n * ```ts\n * ɵɵpropertyInterpolate5(\n * 'title', 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, 'suffix');\n * ```\n *\n * If the property name also exists as an input property on one of the element's directives,\n * the component property will be set instead of the element property. This check must\n * be conducted at runtime so child components that add new `@Inputs` don't have to be re-compiled.\n *\n * @param propName The name of the property to update\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param i0 Static value used for concatenation only.\n * @param v1 Value checked for change.\n * @param i1 Static value used for concatenation only.\n * @param v2 Value checked for change.\n * @param i2 Static value used for concatenation only.\n * @param v3 Value checked for change.\n * @param i3 Static value used for concatenation only.\n * @param v4 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @param sanitizer An optional sanitizer function\n * @returns itself, so that it may be chained.\n * @codeGenApi\n */\nfunction ɵɵpropertyInterpolate5(propName, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix, sanitizer) {\n    const lView = getLView();\n    const interpolatedValue = interpolation5(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix);\n    if (interpolatedValue !== NO_CHANGE) {\n        const tView = getTView();\n        const tNode = getSelectedTNode();\n        elementPropertyInternal(tView, tNode, lView, propName, interpolatedValue, lView[RENDERER], sanitizer, false);\n        ngDevMode &&\n            storePropertyBindingMetadata(tView.data, tNode, propName, getBindingIndex() - 5, prefix, i0, i1, i2, i3, suffix);\n    }\n    return ɵɵpropertyInterpolate5;\n}\n/**\n *\n * Update an interpolated property on an element with 6 bound values surrounded by text.\n *\n * Used when the value passed to a property has 6 interpolated values in it:\n *\n * ```html\n * <div title=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}suffix\"></div>\n * ```\n *\n * Its compiled representation is::\n *\n * ```ts\n * ɵɵpropertyInterpolate6(\n *    'title', 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, 'suffix');\n * ```\n *\n * If the property name also exists as an input property on one of the element's directives,\n * the component property will be set instead of the element property. This check must\n * be conducted at runtime so child components that add new `@Inputs` don't have to be re-compiled.\n *\n * @param propName The name of the property to update\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param i0 Static value used for concatenation only.\n * @param v1 Value checked for change.\n * @param i1 Static value used for concatenation only.\n * @param v2 Value checked for change.\n * @param i2 Static value used for concatenation only.\n * @param v3 Value checked for change.\n * @param i3 Static value used for concatenation only.\n * @param v4 Value checked for change.\n * @param i4 Static value used for concatenation only.\n * @param v5 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @param sanitizer An optional sanitizer function\n * @returns itself, so that it may be chained.\n * @codeGenApi\n */\nfunction ɵɵpropertyInterpolate6(propName, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix, sanitizer) {\n    const lView = getLView();\n    const interpolatedValue = interpolation6(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix);\n    if (interpolatedValue !== NO_CHANGE) {\n        const tView = getTView();\n        const tNode = getSelectedTNode();\n        elementPropertyInternal(tView, tNode, lView, propName, interpolatedValue, lView[RENDERER], sanitizer, false);\n        ngDevMode &&\n            storePropertyBindingMetadata(tView.data, tNode, propName, getBindingIndex() - 6, prefix, i0, i1, i2, i3, i4, suffix);\n    }\n    return ɵɵpropertyInterpolate6;\n}\n/**\n *\n * Update an interpolated property on an element with 7 bound values surrounded by text.\n *\n * Used when the value passed to a property has 7 interpolated values in it:\n *\n * ```html\n * <div title=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}suffix\"></div>\n * ```\n *\n * Its compiled representation is::\n *\n * ```ts\n * ɵɵpropertyInterpolate7(\n *    'title', 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, 'suffix');\n * ```\n *\n * If the property name also exists as an input property on one of the element's directives,\n * the component property will be set instead of the element property. This check must\n * be conducted at runtime so child components that add new `@Inputs` don't have to be re-compiled.\n *\n * @param propName The name of the property to update\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param i0 Static value used for concatenation only.\n * @param v1 Value checked for change.\n * @param i1 Static value used for concatenation only.\n * @param v2 Value checked for change.\n * @param i2 Static value used for concatenation only.\n * @param v3 Value checked for change.\n * @param i3 Static value used for concatenation only.\n * @param v4 Value checked for change.\n * @param i4 Static value used for concatenation only.\n * @param v5 Value checked for change.\n * @param i5 Static value used for concatenation only.\n * @param v6 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @param sanitizer An optional sanitizer function\n * @returns itself, so that it may be chained.\n * @codeGenApi\n */\nfunction ɵɵpropertyInterpolate7(propName, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix, sanitizer) {\n    const lView = getLView();\n    const interpolatedValue = interpolation7(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix);\n    if (interpolatedValue !== NO_CHANGE) {\n        const tView = getTView();\n        const tNode = getSelectedTNode();\n        elementPropertyInternal(tView, tNode, lView, propName, interpolatedValue, lView[RENDERER], sanitizer, false);\n        ngDevMode &&\n            storePropertyBindingMetadata(tView.data, tNode, propName, getBindingIndex() - 7, prefix, i0, i1, i2, i3, i4, i5, suffix);\n    }\n    return ɵɵpropertyInterpolate7;\n}\n/**\n *\n * Update an interpolated property on an element with 8 bound values surrounded by text.\n *\n * Used when the value passed to a property has 8 interpolated values in it:\n *\n * ```html\n * <div title=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}-{{v7}}suffix\"></div>\n * ```\n *\n * Its compiled representation is::\n *\n * ```ts\n * ɵɵpropertyInterpolate8(\n *  'title', 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, '-', v7, 'suffix');\n * ```\n *\n * If the property name also exists as an input property on one of the element's directives,\n * the component property will be set instead of the element property. This check must\n * be conducted at runtime so child components that add new `@Inputs` don't have to be re-compiled.\n *\n * @param propName The name of the property to update\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param i0 Static value used for concatenation only.\n * @param v1 Value checked for change.\n * @param i1 Static value used for concatenation only.\n * @param v2 Value checked for change.\n * @param i2 Static value used for concatenation only.\n * @param v3 Value checked for change.\n * @param i3 Static value used for concatenation only.\n * @param v4 Value checked for change.\n * @param i4 Static value used for concatenation only.\n * @param v5 Value checked for change.\n * @param i5 Static value used for concatenation only.\n * @param v6 Value checked for change.\n * @param i6 Static value used for concatenation only.\n * @param v7 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @param sanitizer An optional sanitizer function\n * @returns itself, so that it may be chained.\n * @codeGenApi\n */\nfunction ɵɵpropertyInterpolate8(propName, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix, sanitizer) {\n    const lView = getLView();\n    const interpolatedValue = interpolation8(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix);\n    if (interpolatedValue !== NO_CHANGE) {\n        const tView = getTView();\n        const tNode = getSelectedTNode();\n        elementPropertyInternal(tView, tNode, lView, propName, interpolatedValue, lView[RENDERER], sanitizer, false);\n        ngDevMode &&\n            storePropertyBindingMetadata(tView.data, tNode, propName, getBindingIndex() - 8, prefix, i0, i1, i2, i3, i4, i5, i6, suffix);\n    }\n    return ɵɵpropertyInterpolate8;\n}\n/**\n * Update an interpolated property on an element with 9 or more bound values surrounded by text.\n *\n * Used when the number of interpolated values exceeds 8.\n *\n * ```html\n * <div\n *  title=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}-{{v7}}-{{v8}}-{{v9}}suffix\"></div>\n * ```\n *\n * Its compiled representation is::\n *\n * ```ts\n * ɵɵpropertyInterpolateV(\n *  'title', ['prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, '-', v7, '-', v9,\n *  'suffix']);\n * ```\n *\n * If the property name also exists as an input property on one of the element's directives,\n * the component property will be set instead of the element property. This check must\n * be conducted at runtime so child components that add new `@Inputs` don't have to be re-compiled.\n *\n * @param propName The name of the property to update.\n * @param values The collection of values and the strings in between those values, beginning with a\n * string prefix and ending with a string suffix.\n * (e.g. `['prefix', value0, '-', value1, '-', value2, ..., value99, 'suffix']`)\n * @param sanitizer An optional sanitizer function\n * @returns itself, so that it may be chained.\n * @codeGenApi\n */\nfunction ɵɵpropertyInterpolateV(propName, values, sanitizer) {\n    const lView = getLView();\n    const interpolatedValue = interpolationV(lView, values);\n    if (interpolatedValue !== NO_CHANGE) {\n        const tView = getTView();\n        const tNode = getSelectedTNode();\n        elementPropertyInternal(tView, tNode, lView, propName, interpolatedValue, lView[RENDERER], sanitizer, false);\n        if (ngDevMode) {\n            const interpolationInBetween = [values[0]]; // prefix\n            for (let i = 2; i < values.length; i += 2) {\n                interpolationInBetween.push(values[i]);\n            }\n            storePropertyBindingMetadata(tView.data, tNode, propName, getBindingIndex() - interpolationInBetween.length + 1, ...interpolationInBetween);\n        }\n    }\n    return ɵɵpropertyInterpolateV;\n}\n\nfunction toTStylingRange(prev, next) {\n    ngDevMode && assertNumberInRange(prev, 0, 32767 /* StylingRange.UNSIGNED_MASK */);\n    ngDevMode && assertNumberInRange(next, 0, 32767 /* StylingRange.UNSIGNED_MASK */);\n    return (prev << 17 /* StylingRange.PREV_SHIFT */ | next << 2 /* StylingRange.NEXT_SHIFT */);\n}\nfunction getTStylingRangePrev(tStylingRange) {\n    ngDevMode && assertNumber(tStylingRange, 'expected number');\n    return (tStylingRange >> 17 /* StylingRange.PREV_SHIFT */) & 32767 /* StylingRange.UNSIGNED_MASK */;\n}\nfunction getTStylingRangePrevDuplicate(tStylingRange) {\n    ngDevMode && assertNumber(tStylingRange, 'expected number');\n    return (tStylingRange & 2 /* StylingRange.PREV_DUPLICATE */) ==\n        2 /* StylingRange.PREV_DUPLICATE */;\n}\nfunction setTStylingRangePrev(tStylingRange, previous) {\n    ngDevMode && assertNumber(tStylingRange, 'expected number');\n    ngDevMode && assertNumberInRange(previous, 0, 32767 /* StylingRange.UNSIGNED_MASK */);\n    return ((tStylingRange & ~4294836224 /* StylingRange.PREV_MASK */) |\n        (previous << 17 /* StylingRange.PREV_SHIFT */));\n}\nfunction setTStylingRangePrevDuplicate(tStylingRange) {\n    ngDevMode && assertNumber(tStylingRange, 'expected number');\n    return (tStylingRange | 2 /* StylingRange.PREV_DUPLICATE */);\n}\nfunction getTStylingRangeNext(tStylingRange) {\n    ngDevMode && assertNumber(tStylingRange, 'expected number');\n    return (tStylingRange & 131068 /* StylingRange.NEXT_MASK */) >> 2 /* StylingRange.NEXT_SHIFT */;\n}\nfunction setTStylingRangeNext(tStylingRange, next) {\n    ngDevMode && assertNumber(tStylingRange, 'expected number');\n    ngDevMode && assertNumberInRange(next, 0, 32767 /* StylingRange.UNSIGNED_MASK */);\n    return ((tStylingRange & ~131068 /* StylingRange.NEXT_MASK */) | //\n        next << 2 /* StylingRange.NEXT_SHIFT */);\n}\nfunction getTStylingRangeNextDuplicate(tStylingRange) {\n    ngDevMode && assertNumber(tStylingRange, 'expected number');\n    return (tStylingRange & 1 /* StylingRange.NEXT_DUPLICATE */) ===\n        1 /* StylingRange.NEXT_DUPLICATE */;\n}\nfunction setTStylingRangeNextDuplicate(tStylingRange) {\n    ngDevMode && assertNumber(tStylingRange, 'expected number');\n    return (tStylingRange | 1 /* StylingRange.NEXT_DUPLICATE */);\n}\nfunction getTStylingRangeTail(tStylingRange) {\n    ngDevMode && assertNumber(tStylingRange, 'expected number');\n    const next = getTStylingRangeNext(tStylingRange);\n    return next === 0 ? getTStylingRangePrev(tStylingRange) : next;\n}\n\n/**\n * NOTE: The word `styling` is used interchangeably as style or class styling.\n *\n * This file contains code to link styling instructions together so that they can be replayed in\n * priority order. The file exists because Ivy styling instruction execution order does not match\n * that of the priority order. The purpose of this code is to create a linked list so that the\n * instructions can be traversed in priority order when computing the styles.\n *\n * Assume we are dealing with the following code:\n * ```\n * @Component({\n *   template: `\n *     <my-cmp [style]=\" {color: '#001'} \"\n *             [style.color]=\" #002 \"\n *             dir-style-color-1\n *             dir-style-color-2> `\n * })\n * class ExampleComponent {\n *   static ngComp = ... {\n *     ...\n *     // Compiler ensures that `ɵɵstyleProp` is after `ɵɵstyleMap`\n *     ɵɵstyleMap({color: '#001'});\n *     ɵɵstyleProp('color', '#002');\n *     ...\n *   }\n * }\n *\n * @Directive({\n *   selector: `[dir-style-color-1]',\n * })\n * class Style1Directive {\n *   @HostBinding('style') style = {color: '#005'};\n *   @HostBinding('style.color') color = '#006';\n *\n *   static ngDir = ... {\n *     ...\n *     // Compiler ensures that `ɵɵstyleProp` is after `ɵɵstyleMap`\n *     ɵɵstyleMap({color: '#005'});\n *     ɵɵstyleProp('color', '#006');\n *     ...\n *   }\n * }\n *\n * @Directive({\n *   selector: `[dir-style-color-2]',\n * })\n * class Style2Directive {\n *   @HostBinding('style') style = {color: '#007'};\n *   @HostBinding('style.color') color = '#008';\n *\n *   static ngDir = ... {\n *     ...\n *     // Compiler ensures that `ɵɵstyleProp` is after `ɵɵstyleMap`\n *     ɵɵstyleMap({color: '#007'});\n *     ɵɵstyleProp('color', '#008');\n *     ...\n *   }\n * }\n *\n * @Directive({\n *   selector: `my-cmp',\n * })\n * class MyComponent {\n *   @HostBinding('style') style = {color: '#003'};\n *   @HostBinding('style.color') color = '#004';\n *\n *   static ngComp = ... {\n *     ...\n *     // Compiler ensures that `ɵɵstyleProp` is after `ɵɵstyleMap`\n *     ɵɵstyleMap({color: '#003'});\n *     ɵɵstyleProp('color', '#004');\n *     ...\n *   }\n * }\n * ```\n *\n * The Order of instruction execution is:\n *\n * NOTE: the comment binding location is for illustrative purposes only.\n *\n * ```\n * // Template: (ExampleComponent)\n *     ɵɵstyleMap({color: '#001'});   // Binding index: 10\n *     ɵɵstyleProp('color', '#002');  // Binding index: 12\n * // MyComponent\n *     ɵɵstyleMap({color: '#003'});   // Binding index: 20\n *     ɵɵstyleProp('color', '#004');  // Binding index: 22\n * // Style1Directive\n *     ɵɵstyleMap({color: '#005'});   // Binding index: 24\n *     ɵɵstyleProp('color', '#006');  // Binding index: 26\n * // Style2Directive\n *     ɵɵstyleMap({color: '#007'});   // Binding index: 28\n *     ɵɵstyleProp('color', '#008');  // Binding index: 30\n * ```\n *\n * The correct priority order of concatenation is:\n *\n * ```\n * // MyComponent\n *     ɵɵstyleMap({color: '#003'});   // Binding index: 20\n *     ɵɵstyleProp('color', '#004');  // Binding index: 22\n * // Style1Directive\n *     ɵɵstyleMap({color: '#005'});   // Binding index: 24\n *     ɵɵstyleProp('color', '#006');  // Binding index: 26\n * // Style2Directive\n *     ɵɵstyleMap({color: '#007'});   // Binding index: 28\n *     ɵɵstyleProp('color', '#008');  // Binding index: 30\n * // Template: (ExampleComponent)\n *     ɵɵstyleMap({color: '#001'});   // Binding index: 10\n *     ɵɵstyleProp('color', '#002');  // Binding index: 12\n * ```\n *\n * What color should be rendered?\n *\n * Once the items are correctly sorted in the list, the answer is simply the last item in the\n * concatenation list which is `#002`.\n *\n * To do so we keep a linked list of all of the bindings which pertain to this element.\n * Notice that the bindings are inserted in the order of execution, but the `TView.data` allows\n * us to traverse them in the order of priority.\n *\n * |Idx|`TView.data`|`LView`          | Notes\n * |---|------------|-----------------|--------------\n * |...|            |                 |\n * |10 |`null`      |`{color: '#001'}`| `ɵɵstyleMap('color', {color: '#001'})`\n * |11 |`30 | 12`   | ...             |\n * |12 |`color`     |`'#002'`         | `ɵɵstyleProp('color', '#002')`\n * |13 |`10 | 0`    | ...             |\n * |...|            |                 |\n * |20 |`null`      |`{color: '#003'}`| `ɵɵstyleMap('color', {color: '#003'})`\n * |21 |`0 | 22`    | ...             |\n * |22 |`color`     |`'#004'`         | `ɵɵstyleProp('color', '#004')`\n * |23 |`20 | 24`   | ...             |\n * |24 |`null`      |`{color: '#005'}`| `ɵɵstyleMap('color', {color: '#005'})`\n * |25 |`22 | 26`   | ...             |\n * |26 |`color`     |`'#006'`         | `ɵɵstyleProp('color', '#006')`\n * |27 |`24 | 28`   | ...             |\n * |28 |`null`      |`{color: '#007'}`| `ɵɵstyleMap('color', {color: '#007'})`\n * |29 |`26 | 30`   | ...             |\n * |30 |`color`     |`'#008'`         | `ɵɵstyleProp('color', '#008')`\n * |31 |`28 | 10`   | ...             |\n *\n * The above data structure allows us to re-concatenate the styling no matter which data binding\n * changes.\n *\n * NOTE: in addition to keeping track of next/previous index the `TView.data` also stores prev/next\n * duplicate bit. The duplicate bit if true says there either is a binding with the same name or\n * there is a map (which may contain the name). This information is useful in knowing if other\n * styles with higher priority need to be searched for overwrites.\n *\n * NOTE: See `should support example in 'tnode_linked_list.ts' documentation` in\n * `tnode_linked_list_spec.ts` for working example.\n */\nlet __unused_const_as_closure_does_not_like_standalone_comment_blocks__;\n/**\n * Insert new `tStyleValue` at `TData` and link existing style bindings such that we maintain linked\n * list of styles and compute the duplicate flag.\n *\n * Note: this function is executed during `firstUpdatePass` only to populate the `TView.data`.\n *\n * The function works by keeping track of `tStylingRange` which contains two pointers pointing to\n * the head/tail of the template portion of the styles.\n *  - if `isHost === false` (we are template) then insertion is at tail of `TStylingRange`\n *  - if `isHost === true` (we are host binding) then insertion is at head of `TStylingRange`\n *\n * @param tData The `TData` to insert into.\n * @param tNode `TNode` associated with the styling element.\n * @param tStylingKey See `TStylingKey`.\n * @param index location of where `tStyleValue` should be stored (and linked into list.)\n * @param isHostBinding `true` if the insertion is for a `hostBinding`. (insertion is in front of\n *               template.)\n * @param isClassBinding True if the associated `tStylingKey` as a `class` styling.\n *                       `tNode.classBindings` should be used (or `tNode.styleBindings` otherwise.)\n */\nfunction insertTStylingBinding(tData, tNode, tStylingKeyWithStatic, index, isHostBinding, isClassBinding) {\n    ngDevMode && assertFirstUpdatePass(getTView());\n    let tBindings = isClassBinding ? tNode.classBindings : tNode.styleBindings;\n    let tmplHead = getTStylingRangePrev(tBindings);\n    let tmplTail = getTStylingRangeNext(tBindings);\n    tData[index] = tStylingKeyWithStatic;\n    let isKeyDuplicateOfStatic = false;\n    let tStylingKey;\n    if (Array.isArray(tStylingKeyWithStatic)) {\n        // We are case when the `TStylingKey` contains static fields as well.\n        const staticKeyValueArray = tStylingKeyWithStatic;\n        tStylingKey = staticKeyValueArray[1]; // unwrap.\n        // We need to check if our key is present in the static so that we can mark it as duplicate.\n        if (tStylingKey === null ||\n            keyValueArrayIndexOf(staticKeyValueArray, tStylingKey) > 0) {\n            // tStylingKey is present in the statics, need to mark it as duplicate.\n            isKeyDuplicateOfStatic = true;\n        }\n    }\n    else {\n        tStylingKey = tStylingKeyWithStatic;\n    }\n    if (isHostBinding) {\n        // We are inserting host bindings\n        // If we don't have template bindings then `tail` is 0.\n        const hasTemplateBindings = tmplTail !== 0;\n        // This is important to know because that means that the `head` can't point to the first\n        // template bindings (there are none.) Instead the head points to the tail of the template.\n        if (hasTemplateBindings) {\n            // template head's \"prev\" will point to last host binding or to 0 if no host bindings yet\n            const previousNode = getTStylingRangePrev(tData[tmplHead + 1]);\n            tData[index + 1] = toTStylingRange(previousNode, tmplHead);\n            // if a host binding has already been registered, we need to update the next of that host\n            // binding to point to this one\n            if (previousNode !== 0) {\n                // We need to update the template-tail value to point to us.\n                tData[previousNode + 1] =\n                    setTStylingRangeNext(tData[previousNode + 1], index);\n            }\n            // The \"previous\" of the template binding head should point to this host binding\n            tData[tmplHead + 1] = setTStylingRangePrev(tData[tmplHead + 1], index);\n        }\n        else {\n            tData[index + 1] = toTStylingRange(tmplHead, 0);\n            // if a host binding has already been registered, we need to update the next of that host\n            // binding to point to this one\n            if (tmplHead !== 0) {\n                // We need to update the template-tail value to point to us.\n                tData[tmplHead + 1] = setTStylingRangeNext(tData[tmplHead + 1], index);\n            }\n            // if we don't have template, the head points to template-tail, and needs to be advanced.\n            tmplHead = index;\n        }\n    }\n    else {\n        // We are inserting in template section.\n        // We need to set this binding's \"previous\" to the current template tail\n        tData[index + 1] = toTStylingRange(tmplTail, 0);\n        ngDevMode &&\n            assertEqual(tmplHead !== 0 && tmplTail === 0, false, 'Adding template bindings after hostBindings is not allowed.');\n        if (tmplHead === 0) {\n            tmplHead = index;\n        }\n        else {\n            // We need to update the previous value \"next\" to point to this binding\n            tData[tmplTail + 1] = setTStylingRangeNext(tData[tmplTail + 1], index);\n        }\n        tmplTail = index;\n    }\n    // Now we need to update / compute the duplicates.\n    // Starting with our location search towards head (least priority)\n    if (isKeyDuplicateOfStatic) {\n        tData[index + 1] = setTStylingRangePrevDuplicate(tData[index + 1]);\n    }\n    markDuplicates(tData, tStylingKey, index, true, isClassBinding);\n    markDuplicates(tData, tStylingKey, index, false, isClassBinding);\n    markDuplicateOfResidualStyling(tNode, tStylingKey, tData, index, isClassBinding);\n    tBindings = toTStylingRange(tmplHead, tmplTail);\n    if (isClassBinding) {\n        tNode.classBindings = tBindings;\n    }\n    else {\n        tNode.styleBindings = tBindings;\n    }\n}\n/**\n * Look into the residual styling to see if the current `tStylingKey` is duplicate of residual.\n *\n * @param tNode `TNode` where the residual is stored.\n * @param tStylingKey `TStylingKey` to store.\n * @param tData `TData` associated with the current `LView`.\n * @param index location of where `tStyleValue` should be stored (and linked into list.)\n * @param isClassBinding True if the associated `tStylingKey` as a `class` styling.\n *                       `tNode.classBindings` should be used (or `tNode.styleBindings` otherwise.)\n */\nfunction markDuplicateOfResidualStyling(tNode, tStylingKey, tData, index, isClassBinding) {\n    const residual = isClassBinding ? tNode.residualClasses : tNode.residualStyles;\n    if (residual != null /* or undefined */ && typeof tStylingKey == 'string' &&\n        keyValueArrayIndexOf(residual, tStylingKey) >= 0) {\n        // We have duplicate in the residual so mark ourselves as duplicate.\n        tData[index + 1] = setTStylingRangeNextDuplicate(tData[index + 1]);\n    }\n}\n/**\n * Marks `TStyleValue`s as duplicates if another style binding in the list has the same\n * `TStyleValue`.\n *\n * NOTE: this function is intended to be called twice once with `isPrevDir` set to `true` and once\n * with it set to `false` to search both the previous as well as next items in the list.\n *\n * No duplicate case\n * ```\n *   [style.color]\n *   [style.width.px] <<- index\n *   [style.height.px]\n * ```\n *\n * In the above case adding `[style.width.px]` to the existing `[style.color]` produces no\n * duplicates because `width` is not found in any other part of the linked list.\n *\n * Duplicate case\n * ```\n *   [style.color]\n *   [style.width.em]\n *   [style.width.px] <<- index\n * ```\n * In the above case adding `[style.width.px]` will produce a duplicate with `[style.width.em]`\n * because `width` is found in the chain.\n *\n * Map case 1\n * ```\n *   [style.width.px]\n *   [style.color]\n *   [style]  <<- index\n * ```\n * In the above case adding `[style]` will produce a duplicate with any other bindings because\n * `[style]` is a Map and as such is fully dynamic and could produce `color` or `width`.\n *\n * Map case 2\n * ```\n *   [style]\n *   [style.width.px]\n *   [style.color]  <<- index\n * ```\n * In the above case adding `[style.color]` will produce a duplicate because there is already a\n * `[style]` binding which is a Map and as such is fully dynamic and could produce `color` or\n * `width`.\n *\n * NOTE: Once `[style]` (Map) is added into the system all things are mapped as duplicates.\n * NOTE: We use `style` as example, but same logic is applied to `class`es as well.\n *\n * @param tData `TData` where the linked list is stored.\n * @param tStylingKey `TStylingKeyPrimitive` which contains the value to compare to other keys in\n *        the linked list.\n * @param index Starting location in the linked list to search from\n * @param isPrevDir Direction.\n *        - `true` for previous (lower priority);\n *        - `false` for next (higher priority).\n */\nfunction markDuplicates(tData, tStylingKey, index, isPrevDir, isClassBinding) {\n    const tStylingAtIndex = tData[index + 1];\n    const isMap = tStylingKey === null;\n    let cursor = isPrevDir ? getTStylingRangePrev(tStylingAtIndex) : getTStylingRangeNext(tStylingAtIndex);\n    let foundDuplicate = false;\n    // We keep iterating as long as we have a cursor\n    // AND either:\n    // - we found what we are looking for, OR\n    // - we are a map in which case we have to continue searching even after we find what we were\n    //   looking for since we are a wild card and everything needs to be flipped to duplicate.\n    while (cursor !== 0 && (foundDuplicate === false || isMap)) {\n        ngDevMode && assertIndexInRange(tData, cursor);\n        const tStylingValueAtCursor = tData[cursor];\n        const tStyleRangeAtCursor = tData[cursor + 1];\n        if (isStylingMatch(tStylingValueAtCursor, tStylingKey)) {\n            foundDuplicate = true;\n            tData[cursor + 1] = isPrevDir ? setTStylingRangeNextDuplicate(tStyleRangeAtCursor) :\n                setTStylingRangePrevDuplicate(tStyleRangeAtCursor);\n        }\n        cursor = isPrevDir ? getTStylingRangePrev(tStyleRangeAtCursor) :\n            getTStylingRangeNext(tStyleRangeAtCursor);\n    }\n    if (foundDuplicate) {\n        // if we found a duplicate, than mark ourselves.\n        tData[index + 1] = isPrevDir ? setTStylingRangePrevDuplicate(tStylingAtIndex) :\n            setTStylingRangeNextDuplicate(tStylingAtIndex);\n    }\n}\n/**\n * Determines if two `TStylingKey`s are a match.\n *\n * When computing whether a binding contains a duplicate, we need to compare if the instruction\n * `TStylingKey` has a match.\n *\n * Here are examples of `TStylingKey`s which match given `tStylingKeyCursor` is:\n * - `color`\n *    - `color`    // Match another color\n *    - `null`     // That means that `tStylingKey` is a `classMap`/`styleMap` instruction\n *    - `['', 'color', 'other', true]` // wrapped `color` so match\n *    - `['', null, 'other', true]`       // wrapped `null` so match\n *    - `['', 'width', 'color', 'value']` // wrapped static value contains a match on `'color'`\n * - `null`       // `tStylingKeyCursor` always match as it is `classMap`/`styleMap` instruction\n *\n * @param tStylingKeyCursor\n * @param tStylingKey\n */\nfunction isStylingMatch(tStylingKeyCursor, tStylingKey) {\n    ngDevMode &&\n        assertNotEqual(Array.isArray(tStylingKey), true, 'Expected that \\'tStylingKey\\' has been unwrapped');\n    if (tStylingKeyCursor === null || // If the cursor is `null` it means that we have map at that\n        // location so we must assume that we have a match.\n        tStylingKey == null || // If `tStylingKey` is `null` then it is a map therefor assume that it\n        // contains a match.\n        (Array.isArray(tStylingKeyCursor) ? tStylingKeyCursor[1] : tStylingKeyCursor) ===\n            tStylingKey // If the keys match explicitly than we are a match.\n    ) {\n        return true;\n    }\n    else if (Array.isArray(tStylingKeyCursor) && typeof tStylingKey === 'string') {\n        // if we did not find a match, but `tStylingKeyCursor` is `KeyValueArray` that means cursor has\n        // statics and we need to check those as well.\n        return keyValueArrayIndexOf(tStylingKeyCursor, tStylingKey) >=\n            0; // see if we are matching the key\n    }\n    return false;\n}\n\n// Global state of the parser. (This makes parser non-reentrant, but that is not an issue)\nconst parserState = {\n    textEnd: 0,\n    key: 0,\n    keyEnd: 0,\n    value: 0,\n    valueEnd: 0,\n};\n/**\n * Retrieves the last parsed `key` of style.\n * @param text the text to substring the key from.\n */\nfunction getLastParsedKey(text) {\n    return text.substring(parserState.key, parserState.keyEnd);\n}\n/**\n * Retrieves the last parsed `value` of style.\n * @param text the text to substring the key from.\n */\nfunction getLastParsedValue(text) {\n    return text.substring(parserState.value, parserState.valueEnd);\n}\n/**\n * Initializes `className` string for parsing and parses the first token.\n *\n * This function is intended to be used in this format:\n * ```\n * for (let i = parseClassName(text); i >= 0; i = parseClassNameNext(text, i)) {\n *   const key = getLastParsedKey();\n *   ...\n * }\n * ```\n * @param text `className` to parse\n * @returns index where the next invocation of `parseClassNameNext` should resume.\n */\nfunction parseClassName(text) {\n    resetParserState(text);\n    return parseClassNameNext(text, consumeWhitespace(text, 0, parserState.textEnd));\n}\n/**\n * Parses next `className` token.\n *\n * This function is intended to be used in this format:\n * ```\n * for (let i = parseClassName(text); i >= 0; i = parseClassNameNext(text, i)) {\n *   const key = getLastParsedKey();\n *   ...\n * }\n * ```\n *\n * @param text `className` to parse\n * @param index where the parsing should resume.\n * @returns index where the next invocation of `parseClassNameNext` should resume.\n */\nfunction parseClassNameNext(text, index) {\n    const end = parserState.textEnd;\n    if (end === index) {\n        return -1;\n    }\n    index = parserState.keyEnd = consumeClassToken(text, parserState.key = index, end);\n    return consumeWhitespace(text, index, end);\n}\n/**\n * Initializes `cssText` string for parsing and parses the first key/values.\n *\n * This function is intended to be used in this format:\n * ```\n * for (let i = parseStyle(text); i >= 0; i = parseStyleNext(text, i))) {\n *   const key = getLastParsedKey();\n *   const value = getLastParsedValue();\n *   ...\n * }\n * ```\n * @param text `cssText` to parse\n * @returns index where the next invocation of `parseStyleNext` should resume.\n */\nfunction parseStyle(text) {\n    resetParserState(text);\n    return parseStyleNext(text, consumeWhitespace(text, 0, parserState.textEnd));\n}\n/**\n * Parses the next `cssText` key/values.\n *\n * This function is intended to be used in this format:\n * ```\n * for (let i = parseStyle(text); i >= 0; i = parseStyleNext(text, i))) {\n *   const key = getLastParsedKey();\n *   const value = getLastParsedValue();\n *   ...\n * }\n *\n * @param text `cssText` to parse\n * @param index where the parsing should resume.\n * @returns index where the next invocation of `parseStyleNext` should resume.\n */\nfunction parseStyleNext(text, startIndex) {\n    const end = parserState.textEnd;\n    let index = parserState.key = consumeWhitespace(text, startIndex, end);\n    if (end === index) {\n        // we reached an end so just quit\n        return -1;\n    }\n    index = parserState.keyEnd = consumeStyleKey(text, index, end);\n    index = consumeSeparator(text, index, end, 58 /* CharCode.COLON */);\n    index = parserState.value = consumeWhitespace(text, index, end);\n    index = parserState.valueEnd = consumeStyleValue(text, index, end);\n    return consumeSeparator(text, index, end, 59 /* CharCode.SEMI_COLON */);\n}\n/**\n * Reset the global state of the styling parser.\n * @param text The styling text to parse.\n */\nfunction resetParserState(text) {\n    parserState.key = 0;\n    parserState.keyEnd = 0;\n    parserState.value = 0;\n    parserState.valueEnd = 0;\n    parserState.textEnd = text.length;\n}\n/**\n * Returns index of next non-whitespace character.\n *\n * @param text Text to scan\n * @param startIndex Starting index of character where the scan should start.\n * @param endIndex Ending index of character where the scan should end.\n * @returns Index of next non-whitespace character (May be the same as `start` if no whitespace at\n *          that location.)\n */\nfunction consumeWhitespace(text, startIndex, endIndex) {\n    while (startIndex < endIndex && text.charCodeAt(startIndex) <= 32 /* CharCode.SPACE */) {\n        startIndex++;\n    }\n    return startIndex;\n}\n/**\n * Returns index of last char in class token.\n *\n * @param text Text to scan\n * @param startIndex Starting index of character where the scan should start.\n * @param endIndex Ending index of character where the scan should end.\n * @returns Index after last char in class token.\n */\nfunction consumeClassToken(text, startIndex, endIndex) {\n    while (startIndex < endIndex && text.charCodeAt(startIndex) > 32 /* CharCode.SPACE */) {\n        startIndex++;\n    }\n    return startIndex;\n}\n/**\n * Consumes all of the characters belonging to style key and token.\n *\n * @param text Text to scan\n * @param startIndex Starting index of character where the scan should start.\n * @param endIndex Ending index of character where the scan should end.\n * @returns Index after last style key character.\n */\nfunction consumeStyleKey(text, startIndex, endIndex) {\n    let ch;\n    while (startIndex < endIndex &&\n        ((ch = text.charCodeAt(startIndex)) === 45 /* CharCode.DASH */ || ch === 95 /* CharCode.UNDERSCORE */ ||\n            ((ch & -33 /* CharCode.UPPER_CASE */) >= 65 /* CharCode.A */ && (ch & -33 /* CharCode.UPPER_CASE */) <= 90 /* CharCode.Z */) ||\n            (ch >= 48 /* CharCode.ZERO */ && ch <= 57 /* CharCode.NINE */))) {\n        startIndex++;\n    }\n    return startIndex;\n}\n/**\n * Consumes all whitespace and the separator `:` after the style key.\n *\n * @param text Text to scan\n * @param startIndex Starting index of character where the scan should start.\n * @param endIndex Ending index of character where the scan should end.\n * @returns Index after separator and surrounding whitespace.\n */\nfunction consumeSeparator(text, startIndex, endIndex, separator) {\n    startIndex = consumeWhitespace(text, startIndex, endIndex);\n    if (startIndex < endIndex) {\n        if (ngDevMode && text.charCodeAt(startIndex) !== separator) {\n            malformedStyleError(text, String.fromCharCode(separator), startIndex);\n        }\n        startIndex++;\n    }\n    return startIndex;\n}\n/**\n * Consumes style value honoring `url()` and `\"\"` text.\n *\n * @param text Text to scan\n * @param startIndex Starting index of character where the scan should start.\n * @param endIndex Ending index of character where the scan should end.\n * @returns Index after last style value character.\n */\nfunction consumeStyleValue(text, startIndex, endIndex) {\n    let ch1 = -1; // 1st previous character\n    let ch2 = -1; // 2nd previous character\n    let ch3 = -1; // 3rd previous character\n    let i = startIndex;\n    let lastChIndex = i;\n    while (i < endIndex) {\n        const ch = text.charCodeAt(i++);\n        if (ch === 59 /* CharCode.SEMI_COLON */) {\n            return lastChIndex;\n        }\n        else if (ch === 34 /* CharCode.DOUBLE_QUOTE */ || ch === 39 /* CharCode.SINGLE_QUOTE */) {\n            lastChIndex = i = consumeQuotedText(text, ch, i, endIndex);\n        }\n        else if (startIndex ===\n            i - 4 && // We have seen only 4 characters so far \"URL(\" (Ignore \"foo_URL()\")\n            ch3 === 85 /* CharCode.U */ &&\n            ch2 === 82 /* CharCode.R */ && ch1 === 76 /* CharCode.L */ && ch === 40 /* CharCode.OPEN_PAREN */) {\n            lastChIndex = i = consumeQuotedText(text, 41 /* CharCode.CLOSE_PAREN */, i, endIndex);\n        }\n        else if (ch > 32 /* CharCode.SPACE */) {\n            // if we have a non-whitespace character then capture its location\n            lastChIndex = i;\n        }\n        ch3 = ch2;\n        ch2 = ch1;\n        ch1 = ch & -33 /* CharCode.UPPER_CASE */;\n    }\n    return lastChIndex;\n}\n/**\n * Consumes all of the quoted characters.\n *\n * @param text Text to scan\n * @param quoteCharCode CharCode of either `\"` or `'` quote or `)` for `url(...)`.\n * @param startIndex Starting index of character where the scan should start.\n * @param endIndex Ending index of character where the scan should end.\n * @returns Index after quoted characters.\n */\nfunction consumeQuotedText(text, quoteCharCode, startIndex, endIndex) {\n    let ch1 = -1; // 1st previous character\n    let index = startIndex;\n    while (index < endIndex) {\n        const ch = text.charCodeAt(index++);\n        if (ch == quoteCharCode && ch1 !== 92 /* CharCode.BACK_SLASH */) {\n            return index;\n        }\n        if (ch == 92 /* CharCode.BACK_SLASH */ && ch1 === 92 /* CharCode.BACK_SLASH */) {\n            // two back slashes cancel each other out. For example `\"\\\\\"` should properly end the\n            // quotation. (It should not assume that the last `\"` is escaped.)\n            ch1 = 0;\n        }\n        else {\n            ch1 = ch;\n        }\n    }\n    throw ngDevMode ? malformedStyleError(text, String.fromCharCode(quoteCharCode), endIndex) :\n        new Error();\n}\nfunction malformedStyleError(text, expecting, index) {\n    ngDevMode && assertEqual(typeof text === 'string', true, 'String expected here');\n    throw throwError(`Malformed style at location ${index} in string '` + text.substring(0, index) + '[>>' +\n        text.substring(index, index + 1) + '<<]' + text.slice(index + 1) +\n        `'. Expecting '${expecting}'.`);\n}\n\n/**\n * Update a style binding on an element with the provided value.\n *\n * If the style value is falsy then it will be removed from the element\n * (or assigned a different value depending if there are any styles placed\n * on the element with `styleMap` or any static styles that are\n * present from when the element was created with `styling`).\n *\n * Note that the styling element is updated as part of `stylingApply`.\n *\n * @param prop A valid CSS property.\n * @param value New value to write (`null` or an empty string to remove).\n * @param suffix Optional suffix. Used with scalar values to add unit such as `px`.\n *\n * Note that this will apply the provided style value to the host element if this function is called\n * within a host binding function.\n *\n * @codeGenApi\n */\nfunction ɵɵstyleProp(prop, value, suffix) {\n    checkStylingProperty(prop, value, suffix, false);\n    return ɵɵstyleProp;\n}\n/**\n * Update a class binding on an element with the provided value.\n *\n * This instruction is meant to handle the `[class.foo]=\"exp\"` case and,\n * therefore, the class binding itself must already be allocated using\n * `styling` within the creation block.\n *\n * @param prop A valid CSS class (only one).\n * @param value A true/false value which will turn the class on or off.\n *\n * Note that this will apply the provided class value to the host element if this function\n * is called within a host binding function.\n *\n * @codeGenApi\n */\nfunction ɵɵclassProp(className, value) {\n    checkStylingProperty(className, value, null, true);\n    return ɵɵclassProp;\n}\n/**\n * Update style bindings using an object literal on an element.\n *\n * This instruction is meant to apply styling via the `[style]=\"exp\"` template bindings.\n * When styles are applied to the element they will then be updated with respect to\n * any styles/classes set via `styleProp`. If any styles are set to falsy\n * then they will be removed from the element.\n *\n * Note that the styling instruction will not be applied until `stylingApply` is called.\n *\n * @param styles A key/value style map of the styles that will be applied to the given element.\n *        Any missing styles (that have already been applied to the element beforehand) will be\n *        removed (unset) from the element's styling.\n *\n * Note that this will apply the provided styleMap value to the host element if this function\n * is called within a host binding.\n *\n * @codeGenApi\n */\nfunction ɵɵstyleMap(styles) {\n    checkStylingMap(styleKeyValueArraySet, styleStringParser, styles, false);\n}\n/**\n * Parse text as style and add values to KeyValueArray.\n *\n * This code is pulled out to a separate function so that it can be tree shaken away if it is not\n * needed. It is only referenced from `ɵɵstyleMap`.\n *\n * @param keyValueArray KeyValueArray to add parsed values to.\n * @param text text to parse.\n */\nfunction styleStringParser(keyValueArray, text) {\n    for (let i = parseStyle(text); i >= 0; i = parseStyleNext(text, i)) {\n        styleKeyValueArraySet(keyValueArray, getLastParsedKey(text), getLastParsedValue(text));\n    }\n}\n/**\n * Update class bindings using an object literal or class-string on an element.\n *\n * This instruction is meant to apply styling via the `[class]=\"exp\"` template bindings.\n * When classes are applied to the element they will then be updated with\n * respect to any styles/classes set via `classProp`. If any\n * classes are set to falsy then they will be removed from the element.\n *\n * Note that the styling instruction will not be applied until `stylingApply` is called.\n * Note that this will the provided classMap value to the host element if this function is called\n * within a host binding.\n *\n * @param classes A key/value map or string of CSS classes that will be added to the\n *        given element. Any missing classes (that have already been applied to the element\n *        beforehand) will be removed (unset) from the element's list of CSS classes.\n *\n * @codeGenApi\n */\nfunction ɵɵclassMap(classes) {\n    checkStylingMap(classKeyValueArraySet, classStringParser, classes, true);\n}\n/**\n * Parse text as class and add values to KeyValueArray.\n *\n * This code is pulled out to a separate function so that it can be tree shaken away if it is not\n * needed. It is only referenced from `ɵɵclassMap`.\n *\n * @param keyValueArray KeyValueArray to add parsed values to.\n * @param text text to parse.\n */\nfunction classStringParser(keyValueArray, text) {\n    for (let i = parseClassName(text); i >= 0; i = parseClassNameNext(text, i)) {\n        keyValueArraySet(keyValueArray, getLastParsedKey(text), true);\n    }\n}\n/**\n * Common code between `ɵɵclassProp` and `ɵɵstyleProp`.\n *\n * @param prop property name.\n * @param value binding value.\n * @param suffix suffix for the property (e.g. `em` or `px`)\n * @param isClassBased `true` if `class` change (`false` if `style`)\n */\nfunction checkStylingProperty(prop, value, suffix, isClassBased) {\n    const lView = getLView();\n    const tView = getTView();\n    // Styling instructions use 2 slots per binding.\n    // 1. one for the value / TStylingKey\n    // 2. one for the intermittent-value / TStylingRange\n    const bindingIndex = incrementBindingIndex(2);\n    if (tView.firstUpdatePass) {\n        stylingFirstUpdatePass(tView, prop, bindingIndex, isClassBased);\n    }\n    if (value !== NO_CHANGE && bindingUpdated(lView, bindingIndex, value)) {\n        const tNode = tView.data[getSelectedIndex()];\n        updateStyling(tView, tNode, lView, lView[RENDERER], prop, lView[bindingIndex + 1] = normalizeSuffix(value, suffix), isClassBased, bindingIndex);\n    }\n}\n/**\n * Common code between `ɵɵclassMap` and `ɵɵstyleMap`.\n *\n * @param keyValueArraySet (See `keyValueArraySet` in \"util/array_utils\") Gets passed in as a\n *        function so that `style` can be processed. This is done for tree shaking purposes.\n * @param stringParser Parser used to parse `value` if `string`. (Passed in as `style` and `class`\n *        have different parsers.)\n * @param value bound value from application\n * @param isClassBased `true` if `class` change (`false` if `style`)\n */\nfunction checkStylingMap(keyValueArraySet, stringParser, value, isClassBased) {\n    const tView = getTView();\n    const bindingIndex = incrementBindingIndex(2);\n    if (tView.firstUpdatePass) {\n        stylingFirstUpdatePass(tView, null, bindingIndex, isClassBased);\n    }\n    const lView = getLView();\n    if (value !== NO_CHANGE && bindingUpdated(lView, bindingIndex, value)) {\n        // `getSelectedIndex()` should be here (rather than in instruction) so that it is guarded by the\n        // if so as not to read unnecessarily.\n        const tNode = tView.data[getSelectedIndex()];\n        if (hasStylingInputShadow(tNode, isClassBased) && !isInHostBindings(tView, bindingIndex)) {\n            if (ngDevMode) {\n                // verify that if we are shadowing then `TData` is appropriately marked so that we skip\n                // processing this binding in styling resolution.\n                const tStylingKey = tView.data[bindingIndex];\n                assertEqual(Array.isArray(tStylingKey) ? tStylingKey[1] : tStylingKey, false, 'Styling linked list shadow input should be marked as \\'false\\'');\n            }\n            // VE does not concatenate the static portion like we are doing here.\n            // Instead VE just ignores the static completely if dynamic binding is present.\n            // Because of locality we have already set the static portion because we don't know if there\n            // is a dynamic portion until later. If we would ignore the static portion it would look like\n            // the binding has removed it. This would confuse `[ngStyle]`/`[ngClass]` to do the wrong\n            // thing as it would think that the static portion was removed. For this reason we\n            // concatenate it so that `[ngStyle]`/`[ngClass]`  can continue to work on changed.\n            let staticPrefix = isClassBased ? tNode.classesWithoutHost : tNode.stylesWithoutHost;\n            ngDevMode && isClassBased === false && staticPrefix !== null &&\n                assertEqual(staticPrefix.endsWith(';'), true, 'Expecting static portion to end with \\';\\'');\n            if (staticPrefix !== null) {\n                // We want to make sure that falsy values of `value` become empty strings.\n                value = concatStringsWithSpace(staticPrefix, value ? value : '');\n            }\n            // Given `<div [style] my-dir>` such that `my-dir` has `@Input('style')`.\n            // This takes over the `[style]` binding. (Same for `[class]`)\n            setDirectiveInputsWhichShadowsStyling(tView, tNode, lView, value, isClassBased);\n        }\n        else {\n            updateStylingMap(tView, tNode, lView, lView[RENDERER], lView[bindingIndex + 1], lView[bindingIndex + 1] = toStylingKeyValueArray(keyValueArraySet, stringParser, value), isClassBased, bindingIndex);\n        }\n    }\n}\n/**\n * Determines when the binding is in `hostBindings` section\n *\n * @param tView Current `TView`\n * @param bindingIndex index of binding which we would like if it is in `hostBindings`\n */\nfunction isInHostBindings(tView, bindingIndex) {\n    // All host bindings are placed after the expando section.\n    return bindingIndex >= tView.expandoStartIndex;\n}\n/**\n * Collects the necessary information to insert the binding into a linked list of style bindings\n * using `insertTStylingBinding`.\n *\n * @param tView `TView` where the binding linked list will be stored.\n * @param tStylingKey Property/key of the binding.\n * @param bindingIndex Index of binding associated with the `prop`\n * @param isClassBased `true` if `class` change (`false` if `style`)\n */\nfunction stylingFirstUpdatePass(tView, tStylingKey, bindingIndex, isClassBased) {\n    ngDevMode && assertFirstUpdatePass(tView);\n    const tData = tView.data;\n    if (tData[bindingIndex + 1] === null) {\n        // The above check is necessary because we don't clear first update pass until first successful\n        // (no exception) template execution. This prevents the styling instruction from double adding\n        // itself to the list.\n        // `getSelectedIndex()` should be here (rather than in instruction) so that it is guarded by the\n        // if so as not to read unnecessarily.\n        const tNode = tData[getSelectedIndex()];\n        ngDevMode && assertDefined(tNode, 'TNode expected');\n        const isHostBindings = isInHostBindings(tView, bindingIndex);\n        if (hasStylingInputShadow(tNode, isClassBased) && tStylingKey === null && !isHostBindings) {\n            // `tStylingKey === null` implies that we are either `[style]` or `[class]` binding.\n            // If there is a directive which uses `@Input('style')` or `@Input('class')` than\n            // we need to neutralize this binding since that directive is shadowing it.\n            // We turn this into a noop by setting the key to `false`\n            tStylingKey = false;\n        }\n        tStylingKey = wrapInStaticStylingKey(tData, tNode, tStylingKey, isClassBased);\n        insertTStylingBinding(tData, tNode, tStylingKey, bindingIndex, isHostBindings, isClassBased);\n    }\n}\n/**\n * Adds static styling information to the binding if applicable.\n *\n * The linked list of styles not only stores the list and keys, but also stores static styling\n * information on some of the keys. This function determines if the key should contain the styling\n * information and computes it.\n *\n * See `TStylingStatic` for more details.\n *\n * @param tData `TData` where the linked list is stored.\n * @param tNode `TNode` for which the styling is being computed.\n * @param stylingKey `TStylingKeyPrimitive` which may need to be wrapped into `TStylingKey`\n * @param isClassBased `true` if `class` (`false` if `style`)\n */\nfunction wrapInStaticStylingKey(tData, tNode, stylingKey, isClassBased) {\n    const hostDirectiveDef = getCurrentDirectiveDef(tData);\n    let residual = isClassBased ? tNode.residualClasses : tNode.residualStyles;\n    if (hostDirectiveDef === null) {\n        // We are in template node.\n        // If template node already had styling instruction then it has already collected the static\n        // styling and there is no need to collect them again. We know that we are the first styling\n        // instruction because the `TNode.*Bindings` points to 0 (nothing has been inserted yet).\n        const isFirstStylingInstructionInTemplate = (isClassBased ? tNode.classBindings : tNode.styleBindings) === 0;\n        if (isFirstStylingInstructionInTemplate) {\n            // It would be nice to be able to get the statics from `mergeAttrs`, however, at this point\n            // they are already merged and it would not be possible to figure which property belongs where\n            // in the priority.\n            stylingKey = collectStylingFromDirectives(null, tData, tNode, stylingKey, isClassBased);\n            stylingKey = collectStylingFromTAttrs(stylingKey, tNode.attrs, isClassBased);\n            // We know that if we have styling binding in template we can't have residual.\n            residual = null;\n        }\n    }\n    else {\n        // We are in host binding node and there was no binding instruction in template node.\n        // This means that we need to compute the residual.\n        const directiveStylingLast = tNode.directiveStylingLast;\n        const isFirstStylingInstructionInHostBinding = directiveStylingLast === -1 || tData[directiveStylingLast] !== hostDirectiveDef;\n        if (isFirstStylingInstructionInHostBinding) {\n            stylingKey =\n                collectStylingFromDirectives(hostDirectiveDef, tData, tNode, stylingKey, isClassBased);\n            if (residual === null) {\n                // - If `null` than either:\n                //    - Template styling instruction already ran and it has consumed the static\n                //      styling into its `TStylingKey` and so there is no need to update residual. Instead\n                //      we need to update the `TStylingKey` associated with the first template node\n                //      instruction. OR\n                //    - Some other styling instruction ran and determined that there are no residuals\n                let templateStylingKey = getTemplateHeadTStylingKey(tData, tNode, isClassBased);\n                if (templateStylingKey !== undefined && Array.isArray(templateStylingKey)) {\n                    // Only recompute if `templateStylingKey` had static values. (If no static value found\n                    // then there is nothing to do since this operation can only produce less static keys, not\n                    // more.)\n                    templateStylingKey = collectStylingFromDirectives(null, tData, tNode, templateStylingKey[1] /* unwrap previous statics */, isClassBased);\n                    templateStylingKey =\n                        collectStylingFromTAttrs(templateStylingKey, tNode.attrs, isClassBased);\n                    setTemplateHeadTStylingKey(tData, tNode, isClassBased, templateStylingKey);\n                }\n            }\n            else {\n                // We only need to recompute residual if it is not `null`.\n                // - If existing residual (implies there was no template styling). This means that some of\n                //   the statics may have moved from the residual to the `stylingKey` and so we have to\n                //   recompute.\n                // - If `undefined` this is the first time we are running.\n                residual = collectResidual(tData, tNode, isClassBased);\n            }\n        }\n    }\n    if (residual !== undefined) {\n        isClassBased ? (tNode.residualClasses = residual) : (tNode.residualStyles = residual);\n    }\n    return stylingKey;\n}\n/**\n * Retrieve the `TStylingKey` for the template styling instruction.\n *\n * This is needed since `hostBinding` styling instructions are inserted after the template\n * instruction. While the template instruction needs to update the residual in `TNode` the\n * `hostBinding` instructions need to update the `TStylingKey` of the template instruction because\n * the template instruction is downstream from the `hostBindings` instructions.\n *\n * @param tData `TData` where the linked list is stored.\n * @param tNode `TNode` for which the styling is being computed.\n * @param isClassBased `true` if `class` (`false` if `style`)\n * @return `TStylingKey` if found or `undefined` if not found.\n */\nfunction getTemplateHeadTStylingKey(tData, tNode, isClassBased) {\n    const bindings = isClassBased ? tNode.classBindings : tNode.styleBindings;\n    if (getTStylingRangeNext(bindings) === 0) {\n        // There does not seem to be a styling instruction in the `template`.\n        return undefined;\n    }\n    return tData[getTStylingRangePrev(bindings)];\n}\n/**\n * Update the `TStylingKey` of the first template instruction in `TNode`.\n *\n * Logically `hostBindings` styling instructions are of lower priority than that of the template.\n * However, they execute after the template styling instructions. This means that they get inserted\n * in front of the template styling instructions.\n *\n * If we have a template styling instruction and a new `hostBindings` styling instruction is\n * executed it means that it may need to steal static fields from the template instruction. This\n * method allows us to update the first template instruction `TStylingKey` with a new value.\n *\n * Assume:\n * ```\n * <div my-dir style=\"color: red\" [style.color]=\"tmplExp\"></div>\n *\n * @Directive({\n *   host: {\n *     'style': 'width: 100px',\n *     '[style.color]': 'dirExp',\n *   }\n * })\n * class MyDir {}\n * ```\n *\n * when `[style.color]=\"tmplExp\"` executes it creates this data structure.\n * ```\n *  ['', 'color', 'color', 'red', 'width', '100px'],\n * ```\n *\n * The reason for this is that the template instruction does not know if there are styling\n * instructions and must assume that there are none and must collect all of the static styling.\n * (both\n * `color' and 'width`)\n *\n * When `'[style.color]': 'dirExp',` executes we need to insert a new data into the linked list.\n * ```\n *  ['', 'color', 'width', '100px'],  // newly inserted\n *  ['', 'color', 'color', 'red', 'width', '100px'], // this is wrong\n * ```\n *\n * Notice that the template statics is now wrong as it incorrectly contains `width` so we need to\n * update it like so:\n * ```\n *  ['', 'color', 'width', '100px'],\n *  ['', 'color', 'color', 'red'],    // UPDATE\n * ```\n *\n * @param tData `TData` where the linked list is stored.\n * @param tNode `TNode` for which the styling is being computed.\n * @param isClassBased `true` if `class` (`false` if `style`)\n * @param tStylingKey New `TStylingKey` which is replacing the old one.\n */\nfunction setTemplateHeadTStylingKey(tData, tNode, isClassBased, tStylingKey) {\n    const bindings = isClassBased ? tNode.classBindings : tNode.styleBindings;\n    ngDevMode &&\n        assertNotEqual(getTStylingRangeNext(bindings), 0, 'Expecting to have at least one template styling binding.');\n    tData[getTStylingRangePrev(bindings)] = tStylingKey;\n}\n/**\n * Collect all static values after the current `TNode.directiveStylingLast` index.\n *\n * Collect the remaining styling information which has not yet been collected by an existing\n * styling instruction.\n *\n * @param tData `TData` where the `DirectiveDefs` are stored.\n * @param tNode `TNode` which contains the directive range.\n * @param isClassBased `true` if `class` (`false` if `style`)\n */\nfunction collectResidual(tData, tNode, isClassBased) {\n    let residual = undefined;\n    const directiveEnd = tNode.directiveEnd;\n    ngDevMode &&\n        assertNotEqual(tNode.directiveStylingLast, -1, 'By the time this function gets called at least one hostBindings-node styling instruction must have executed.');\n    // We add `1 + tNode.directiveStart` because we need to skip the current directive (as we are\n    // collecting things after the last `hostBindings` directive which had a styling instruction.)\n    for (let i = 1 + tNode.directiveStylingLast; i < directiveEnd; i++) {\n        const attrs = tData[i].hostAttrs;\n        residual = collectStylingFromTAttrs(residual, attrs, isClassBased);\n    }\n    return collectStylingFromTAttrs(residual, tNode.attrs, isClassBased);\n}\n/**\n * Collect the static styling information with lower priority than `hostDirectiveDef`.\n *\n * (This is opposite of residual styling.)\n *\n * @param hostDirectiveDef `DirectiveDef` for which we want to collect lower priority static\n *        styling. (Or `null` if template styling)\n * @param tData `TData` where the linked list is stored.\n * @param tNode `TNode` for which the styling is being computed.\n * @param stylingKey Existing `TStylingKey` to update or wrap.\n * @param isClassBased `true` if `class` (`false` if `style`)\n */\nfunction collectStylingFromDirectives(hostDirectiveDef, tData, tNode, stylingKey, isClassBased) {\n    // We need to loop because there can be directives which have `hostAttrs` but don't have\n    // `hostBindings` so this loop catches up to the current directive..\n    let currentDirective = null;\n    const directiveEnd = tNode.directiveEnd;\n    let directiveStylingLast = tNode.directiveStylingLast;\n    if (directiveStylingLast === -1) {\n        directiveStylingLast = tNode.directiveStart;\n    }\n    else {\n        directiveStylingLast++;\n    }\n    while (directiveStylingLast < directiveEnd) {\n        currentDirective = tData[directiveStylingLast];\n        ngDevMode && assertDefined(currentDirective, 'expected to be defined');\n        stylingKey = collectStylingFromTAttrs(stylingKey, currentDirective.hostAttrs, isClassBased);\n        if (currentDirective === hostDirectiveDef)\n            break;\n        directiveStylingLast++;\n    }\n    if (hostDirectiveDef !== null) {\n        // we only advance the styling cursor if we are collecting data from host bindings.\n        // Template executes before host bindings and so if we would update the index,\n        // host bindings would not get their statics.\n        tNode.directiveStylingLast = directiveStylingLast;\n    }\n    return stylingKey;\n}\n/**\n * Convert `TAttrs` into `TStylingStatic`.\n *\n * @param stylingKey existing `TStylingKey` to update or wrap.\n * @param attrs `TAttributes` to process.\n * @param isClassBased `true` if `class` (`false` if `style`)\n */\nfunction collectStylingFromTAttrs(stylingKey, attrs, isClassBased) {\n    const desiredMarker = isClassBased ? 1 /* AttributeMarker.Classes */ : 2 /* AttributeMarker.Styles */;\n    let currentMarker = -1 /* AttributeMarker.ImplicitAttributes */;\n    if (attrs !== null) {\n        for (let i = 0; i < attrs.length; i++) {\n            const item = attrs[i];\n            if (typeof item === 'number') {\n                currentMarker = item;\n            }\n            else {\n                if (currentMarker === desiredMarker) {\n                    if (!Array.isArray(stylingKey)) {\n                        stylingKey = stylingKey === undefined ? [] : ['', stylingKey];\n                    }\n                    keyValueArraySet(stylingKey, item, isClassBased ? true : attrs[++i]);\n                }\n            }\n        }\n    }\n    return stylingKey === undefined ? null : stylingKey;\n}\n/**\n * Convert user input to `KeyValueArray`.\n *\n * This function takes user input which could be `string`, Object literal, or iterable and converts\n * it into a consistent representation. The output of this is `KeyValueArray` (which is an array\n * where\n * even indexes contain keys and odd indexes contain values for those keys).\n *\n * The advantage of converting to `KeyValueArray` is that we can perform diff in an input\n * independent\n * way.\n * (ie we can compare `foo bar` to `['bar', 'baz'] and determine a set of changes which need to be\n * applied)\n *\n * The fact that `KeyValueArray` is sorted is very important because it allows us to compute the\n * difference in linear fashion without the need to allocate any additional data.\n *\n * For example if we kept this as a `Map` we would have to iterate over previous `Map` to determine\n * which values need to be deleted, over the new `Map` to determine additions, and we would have to\n * keep additional `Map` to keep track of duplicates or items which have not yet been visited.\n *\n * @param keyValueArraySet (See `keyValueArraySet` in \"util/array_utils\") Gets passed in as a\n *        function so that `style` can be processed. This is done\n *        for tree shaking purposes.\n * @param stringParser The parser is passed in so that it will be tree shakable. See\n *        `styleStringParser` and `classStringParser`\n * @param value The value to parse/convert to `KeyValueArray`\n */\nfunction toStylingKeyValueArray(keyValueArraySet, stringParser, value) {\n    if (value == null /*|| value === undefined */ || value === '')\n        return EMPTY_ARRAY;\n    const styleKeyValueArray = [];\n    const unwrappedValue = unwrapSafeValue(value);\n    if (Array.isArray(unwrappedValue)) {\n        for (let i = 0; i < unwrappedValue.length; i++) {\n            keyValueArraySet(styleKeyValueArray, unwrappedValue[i], true);\n        }\n    }\n    else if (typeof unwrappedValue === 'object') {\n        for (const key in unwrappedValue) {\n            if (unwrappedValue.hasOwnProperty(key)) {\n                keyValueArraySet(styleKeyValueArray, key, unwrappedValue[key]);\n            }\n        }\n    }\n    else if (typeof unwrappedValue === 'string') {\n        stringParser(styleKeyValueArray, unwrappedValue);\n    }\n    else {\n        ngDevMode &&\n            throwError('Unsupported styling type ' + typeof unwrappedValue + ': ' + unwrappedValue);\n    }\n    return styleKeyValueArray;\n}\n/**\n * Set a `value` for a `key`.\n *\n * See: `keyValueArraySet` for details\n *\n * @param keyValueArray KeyValueArray to add to.\n * @param key Style key to add.\n * @param value The value to set.\n */\nfunction styleKeyValueArraySet(keyValueArray, key, value) {\n    keyValueArraySet(keyValueArray, key, unwrapSafeValue(value));\n}\n/**\n * Class-binding-specific function for setting the `value` for a `key`.\n *\n * See: `keyValueArraySet` for details\n *\n * @param keyValueArray KeyValueArray to add to.\n * @param key Style key to add.\n * @param value The value to set.\n */\nfunction classKeyValueArraySet(keyValueArray, key, value) {\n    // We use `classList.add` to eventually add the CSS classes to the DOM node. Any value passed into\n    // `add` is stringified and added to the `class` attribute, e.g. even null, undefined or numbers\n    // will be added. Stringify the key here so that our internal data structure matches the value in\n    // the DOM. The only exceptions are empty strings and strings that contain spaces for which\n    // the browser throws an error. We ignore such values, because the error is somewhat cryptic.\n    const stringKey = String(key);\n    if (stringKey !== '' && !stringKey.includes(' ')) {\n        keyValueArraySet(keyValueArray, stringKey, value);\n    }\n}\n/**\n * Update map based styling.\n *\n * Map based styling could be anything which contains more than one binding. For example `string`,\n * or object literal. Dealing with all of these types would complicate the logic so\n * instead this function expects that the complex input is first converted into normalized\n * `KeyValueArray`. The advantage of normalization is that we get the values sorted, which makes it\n * very cheap to compute deltas between the previous and current value.\n *\n * @param tView Associated `TView.data` contains the linked list of binding priorities.\n * @param tNode `TNode` where the binding is located.\n * @param lView `LView` contains the values associated with other styling binding at this `TNode`.\n * @param renderer Renderer to use if any updates.\n * @param oldKeyValueArray Previous value represented as `KeyValueArray`\n * @param newKeyValueArray Current value represented as `KeyValueArray`\n * @param isClassBased `true` if `class` (`false` if `style`)\n * @param bindingIndex Binding index of the binding.\n */\nfunction updateStylingMap(tView, tNode, lView, renderer, oldKeyValueArray, newKeyValueArray, isClassBased, bindingIndex) {\n    if (oldKeyValueArray === NO_CHANGE) {\n        // On first execution the oldKeyValueArray is NO_CHANGE => treat it as empty KeyValueArray.\n        oldKeyValueArray = EMPTY_ARRAY;\n    }\n    let oldIndex = 0;\n    let newIndex = 0;\n    let oldKey = 0 < oldKeyValueArray.length ? oldKeyValueArray[0] : null;\n    let newKey = 0 < newKeyValueArray.length ? newKeyValueArray[0] : null;\n    while (oldKey !== null || newKey !== null) {\n        ngDevMode && assertLessThan(oldIndex, 999, 'Are we stuck in infinite loop?');\n        ngDevMode && assertLessThan(newIndex, 999, 'Are we stuck in infinite loop?');\n        const oldValue = oldIndex < oldKeyValueArray.length ? oldKeyValueArray[oldIndex + 1] : undefined;\n        const newValue = newIndex < newKeyValueArray.length ? newKeyValueArray[newIndex + 1] : undefined;\n        let setKey = null;\n        let setValue = undefined;\n        if (oldKey === newKey) {\n            // UPDATE: Keys are equal => new value is overwriting old value.\n            oldIndex += 2;\n            newIndex += 2;\n            if (oldValue !== newValue) {\n                setKey = newKey;\n                setValue = newValue;\n            }\n        }\n        else if (newKey === null || oldKey !== null && oldKey < newKey) {\n            // DELETE: oldKey key is missing or we did not find the oldKey in the newValue\n            // (because the keyValueArray is sorted and `newKey` is found later alphabetically).\n            // `\"background\" < \"color\"` so we need to delete `\"background\"` because it is not found in the\n            // new array.\n            oldIndex += 2;\n            setKey = oldKey;\n        }\n        else {\n            // CREATE: newKey's is earlier alphabetically than oldKey's (or no oldKey) => we have new key.\n            // `\"color\" > \"background\"` so we need to add `color` because it is in new array but not in\n            // old array.\n            ngDevMode && assertDefined(newKey, 'Expecting to have a valid key');\n            newIndex += 2;\n            setKey = newKey;\n            setValue = newValue;\n        }\n        if (setKey !== null) {\n            updateStyling(tView, tNode, lView, renderer, setKey, setValue, isClassBased, bindingIndex);\n        }\n        oldKey = oldIndex < oldKeyValueArray.length ? oldKeyValueArray[oldIndex] : null;\n        newKey = newIndex < newKeyValueArray.length ? newKeyValueArray[newIndex] : null;\n    }\n}\n/**\n * Update a simple (property name) styling.\n *\n * This function takes `prop` and updates the DOM to that value. The function takes the binding\n * value as well as binding priority into consideration to determine which value should be written\n * to DOM. (For example it may be determined that there is a higher priority overwrite which blocks\n * the DOM write, or if the value goes to `undefined` a lower priority overwrite may be consulted.)\n *\n * @param tView Associated `TView.data` contains the linked list of binding priorities.\n * @param tNode `TNode` where the binding is located.\n * @param lView `LView` contains the values associated with other styling binding at this `TNode`.\n * @param renderer Renderer to use if any updates.\n * @param prop Either style property name or a class name.\n * @param value Either style value for `prop` or `true`/`false` if `prop` is class.\n * @param isClassBased `true` if `class` (`false` if `style`)\n * @param bindingIndex Binding index of the binding.\n */\nfunction updateStyling(tView, tNode, lView, renderer, prop, value, isClassBased, bindingIndex) {\n    if (!(tNode.type & 3 /* TNodeType.AnyRNode */)) {\n        // It is possible to have styling on non-elements (such as ng-container).\n        // This is rare, but it does happen. In such a case, just ignore the binding.\n        return;\n    }\n    const tData = tView.data;\n    const tRange = tData[bindingIndex + 1];\n    const higherPriorityValue = getTStylingRangeNextDuplicate(tRange) ?\n        findStylingValue(tData, tNode, lView, prop, getTStylingRangeNext(tRange), isClassBased) :\n        undefined;\n    if (!isStylingValuePresent(higherPriorityValue)) {\n        // We don't have a next duplicate, or we did not find a duplicate value.\n        if (!isStylingValuePresent(value)) {\n            // We should delete current value or restore to lower priority value.\n            if (getTStylingRangePrevDuplicate(tRange)) {\n                // We have a possible prev duplicate, let's retrieve it.\n                value = findStylingValue(tData, null, lView, prop, bindingIndex, isClassBased);\n            }\n        }\n        const rNode = getNativeByIndex(getSelectedIndex(), lView);\n        applyStyling(renderer, isClassBased, rNode, prop, value);\n    }\n}\n/**\n * Search for styling value with higher priority which is overwriting current value, or a\n * value of lower priority to which we should fall back if the value is `undefined`.\n *\n * When value is being applied at a location, related values need to be consulted.\n * - If there is a higher priority binding, we should be using that one instead.\n *   For example `<div  [style]=\"{color:exp1}\" [style.color]=\"exp2\">` change to `exp1`\n *   requires that we check `exp2` to see if it is set to value other than `undefined`.\n * - If there is a lower priority binding and we are changing to `undefined`\n *   For example `<div  [style]=\"{color:exp1}\" [style.color]=\"exp2\">` change to `exp2` to\n *   `undefined` requires that we check `exp1` (and static values) and use that as new value.\n *\n * NOTE: The styling stores two values.\n * 1. The raw value which came from the application is stored at `index + 0` location. (This value\n *    is used for dirty checking).\n * 2. The normalized value is stored at `index + 1`.\n *\n * @param tData `TData` used for traversing the priority.\n * @param tNode `TNode` to use for resolving static styling. Also controls search direction.\n *   - `TNode` search next and quit as soon as `isStylingValuePresent(value)` is true.\n *      If no value found consult `tNode.residualStyle`/`tNode.residualClass` for default value.\n *   - `null` search prev and go all the way to end. Return last value where\n *     `isStylingValuePresent(value)` is true.\n * @param lView `LView` used for retrieving the actual values.\n * @param prop Property which we are interested in.\n * @param index Starting index in the linked list of styling bindings where the search should start.\n * @param isClassBased `true` if `class` (`false` if `style`)\n */\nfunction findStylingValue(tData, tNode, lView, prop, index, isClassBased) {\n    // `TNode` to use for resolving static styling. Also controls search direction.\n    //   - `TNode` search next and quit as soon as `isStylingValuePresent(value)` is true.\n    //      If no value found consult `tNode.residualStyle`/`tNode.residualClass` for default value.\n    //   - `null` search prev and go all the way to end. Return last value where\n    //     `isStylingValuePresent(value)` is true.\n    const isPrevDirection = tNode === null;\n    let value = undefined;\n    while (index > 0) {\n        const rawKey = tData[index];\n        const containsStatics = Array.isArray(rawKey);\n        // Unwrap the key if we contain static values.\n        const key = containsStatics ? rawKey[1] : rawKey;\n        const isStylingMap = key === null;\n        let valueAtLViewIndex = lView[index + 1];\n        if (valueAtLViewIndex === NO_CHANGE) {\n            // In firstUpdatePass the styling instructions create a linked list of styling.\n            // On subsequent passes it is possible for a styling instruction to try to read a binding\n            // which\n            // has not yet executed. In that case we will find `NO_CHANGE` and we should assume that\n            // we have `undefined` (or empty array in case of styling-map instruction) instead. This\n            // allows the resolution to apply the value (which may later be overwritten when the\n            // binding actually executes.)\n            valueAtLViewIndex = isStylingMap ? EMPTY_ARRAY : undefined;\n        }\n        let currentValue = isStylingMap ? keyValueArrayGet(valueAtLViewIndex, prop) :\n            (key === prop ? valueAtLViewIndex : undefined);\n        if (containsStatics && !isStylingValuePresent(currentValue)) {\n            currentValue = keyValueArrayGet(rawKey, prop);\n        }\n        if (isStylingValuePresent(currentValue)) {\n            value = currentValue;\n            if (isPrevDirection) {\n                return value;\n            }\n        }\n        const tRange = tData[index + 1];\n        index = isPrevDirection ? getTStylingRangePrev(tRange) : getTStylingRangeNext(tRange);\n    }\n    if (tNode !== null) {\n        // in case where we are going in next direction AND we did not find anything, we need to\n        // consult residual styling\n        let residual = isClassBased ? tNode.residualClasses : tNode.residualStyles;\n        if (residual != null /** OR residual !=== undefined */) {\n            value = keyValueArrayGet(residual, prop);\n        }\n    }\n    return value;\n}\n/**\n * Determines if the binding value should be used (or if the value is 'undefined' and hence priority\n * resolution should be used.)\n *\n * @param value Binding style value.\n */\nfunction isStylingValuePresent(value) {\n    // Currently only `undefined` value is considered non-binding. That is `undefined` says I don't\n    // have an opinion as to what this binding should be and you should consult other bindings by\n    // priority to determine the valid value.\n    // This is extracted into a single function so that we have a single place to control this.\n    return value !== undefined;\n}\n/**\n * Normalizes and/or adds a suffix to the value.\n *\n * If value is `null`/`undefined` no suffix is added\n * @param value\n * @param suffix\n */\nfunction normalizeSuffix(value, suffix) {\n    if (value == null || value === '') {\n        // do nothing\n        // Do not add the suffix if the value is going to be empty.\n        // As it produce invalid CSS, which the browsers will automatically omit but Domino will not.\n        // Example: `\"left\": \"px;\"` instead of `\"left\": \"\"`.\n    }\n    else if (typeof suffix === 'string') {\n        value = value + suffix;\n    }\n    else if (typeof value === 'object') {\n        value = stringify(unwrapSafeValue(value));\n    }\n    return value;\n}\n/**\n * Tests if the `TNode` has input shadow.\n *\n * An input shadow is when a directive steals (shadows) the input by using `@Input('style')` or\n * `@Input('class')` as input.\n *\n * @param tNode `TNode` which we would like to see if it has shadow.\n * @param isClassBased `true` if `class` (`false` if `style`)\n */\nfunction hasStylingInputShadow(tNode, isClassBased) {\n    return (tNode.flags & (isClassBased ? 8 /* TNodeFlags.hasClassInput */ : 16 /* TNodeFlags.hasStyleInput */)) !== 0;\n}\n\n/**\n * Create static text node\n *\n * @param index Index of the node in the data array\n * @param value Static string value to write.\n *\n * @codeGenApi\n */\nfunction ɵɵtext(index, value = '') {\n    const lView = getLView();\n    const tView = getTView();\n    const adjustedIndex = index + HEADER_OFFSET;\n    ngDevMode &&\n        assertEqual(getBindingIndex(), tView.bindingStartIndex, 'text nodes should be created before any bindings');\n    ngDevMode && assertIndexInRange(lView, adjustedIndex);\n    const tNode = tView.firstCreatePass ?\n        getOrCreateTNode(tView, adjustedIndex, 1 /* TNodeType.Text */, value, null) :\n        tView.data[adjustedIndex];\n    const textNative = lView[adjustedIndex] = createTextNode(lView[RENDERER], value);\n    appendChild(tView, lView, textNative, tNode);\n    // Text nodes are self closing.\n    setCurrentTNode(tNode, false);\n}\n\n/**\n *\n * Update text content with a lone bound value\n *\n * Used when a text node has 1 interpolated value in it, an no additional text\n * surrounds that interpolated value:\n *\n * ```html\n * <div>{{v0}}</div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵtextInterpolate(v0);\n * ```\n * @returns itself, so that it may be chained.\n * @see textInterpolateV\n * @codeGenApi\n */\nfunction ɵɵtextInterpolate(v0) {\n    ɵɵtextInterpolate1('', v0, '');\n    return ɵɵtextInterpolate;\n}\n/**\n *\n * Update text content with single bound value surrounded by other text.\n *\n * Used when a text node has 1 interpolated value in it:\n *\n * ```html\n * <div>prefix{{v0}}suffix</div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵtextInterpolate1('prefix', v0, 'suffix');\n * ```\n * @returns itself, so that it may be chained.\n * @see textInterpolateV\n * @codeGenApi\n */\nfunction ɵɵtextInterpolate1(prefix, v0, suffix) {\n    const lView = getLView();\n    const interpolated = interpolation1(lView, prefix, v0, suffix);\n    if (interpolated !== NO_CHANGE) {\n        textBindingInternal(lView, getSelectedIndex(), interpolated);\n    }\n    return ɵɵtextInterpolate1;\n}\n/**\n *\n * Update text content with 2 bound values surrounded by other text.\n *\n * Used when a text node has 2 interpolated values in it:\n *\n * ```html\n * <div>prefix{{v0}}-{{v1}}suffix</div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵtextInterpolate2('prefix', v0, '-', v1, 'suffix');\n * ```\n * @returns itself, so that it may be chained.\n * @see textInterpolateV\n * @codeGenApi\n */\nfunction ɵɵtextInterpolate2(prefix, v0, i0, v1, suffix) {\n    const lView = getLView();\n    const interpolated = interpolation2(lView, prefix, v0, i0, v1, suffix);\n    if (interpolated !== NO_CHANGE) {\n        textBindingInternal(lView, getSelectedIndex(), interpolated);\n    }\n    return ɵɵtextInterpolate2;\n}\n/**\n *\n * Update text content with 3 bound values surrounded by other text.\n *\n * Used when a text node has 3 interpolated values in it:\n *\n * ```html\n * <div>prefix{{v0}}-{{v1}}-{{v2}}suffix</div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵtextInterpolate3(\n * 'prefix', v0, '-', v1, '-', v2, 'suffix');\n * ```\n * @returns itself, so that it may be chained.\n * @see textInterpolateV\n * @codeGenApi\n */\nfunction ɵɵtextInterpolate3(prefix, v0, i0, v1, i1, v2, suffix) {\n    const lView = getLView();\n    const interpolated = interpolation3(lView, prefix, v0, i0, v1, i1, v2, suffix);\n    if (interpolated !== NO_CHANGE) {\n        textBindingInternal(lView, getSelectedIndex(), interpolated);\n    }\n    return ɵɵtextInterpolate3;\n}\n/**\n *\n * Update text content with 4 bound values surrounded by other text.\n *\n * Used when a text node has 4 interpolated values in it:\n *\n * ```html\n * <div>prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}suffix</div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵtextInterpolate4(\n * 'prefix', v0, '-', v1, '-', v2, '-', v3, 'suffix');\n * ```\n * @returns itself, so that it may be chained.\n * @see ɵɵtextInterpolateV\n * @codeGenApi\n */\nfunction ɵɵtextInterpolate4(prefix, v0, i0, v1, i1, v2, i2, v3, suffix) {\n    const lView = getLView();\n    const interpolated = interpolation4(lView, prefix, v0, i0, v1, i1, v2, i2, v3, suffix);\n    if (interpolated !== NO_CHANGE) {\n        textBindingInternal(lView, getSelectedIndex(), interpolated);\n    }\n    return ɵɵtextInterpolate4;\n}\n/**\n *\n * Update text content with 5 bound values surrounded by other text.\n *\n * Used when a text node has 5 interpolated values in it:\n *\n * ```html\n * <div>prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}suffix</div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵtextInterpolate5(\n * 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, 'suffix');\n * ```\n * @returns itself, so that it may be chained.\n * @see textInterpolateV\n * @codeGenApi\n */\nfunction ɵɵtextInterpolate5(prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix) {\n    const lView = getLView();\n    const interpolated = interpolation5(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix);\n    if (interpolated !== NO_CHANGE) {\n        textBindingInternal(lView, getSelectedIndex(), interpolated);\n    }\n    return ɵɵtextInterpolate5;\n}\n/**\n *\n * Update text content with 6 bound values surrounded by other text.\n *\n * Used when a text node has 6 interpolated values in it:\n *\n * ```html\n * <div>prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}suffix</div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵtextInterpolate6(\n *    'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, 'suffix');\n * ```\n *\n * @param i4 Static value used for concatenation only.\n * @param v5 Value checked for change. @returns itself, so that it may be chained.\n * @see textInterpolateV\n * @codeGenApi\n */\nfunction ɵɵtextInterpolate6(prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix) {\n    const lView = getLView();\n    const interpolated = interpolation6(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix);\n    if (interpolated !== NO_CHANGE) {\n        textBindingInternal(lView, getSelectedIndex(), interpolated);\n    }\n    return ɵɵtextInterpolate6;\n}\n/**\n *\n * Update text content with 7 bound values surrounded by other text.\n *\n * Used when a text node has 7 interpolated values in it:\n *\n * ```html\n * <div>prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}suffix</div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵtextInterpolate7(\n *    'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, 'suffix');\n * ```\n * @returns itself, so that it may be chained.\n * @see textInterpolateV\n * @codeGenApi\n */\nfunction ɵɵtextInterpolate7(prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix) {\n    const lView = getLView();\n    const interpolated = interpolation7(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix);\n    if (interpolated !== NO_CHANGE) {\n        textBindingInternal(lView, getSelectedIndex(), interpolated);\n    }\n    return ɵɵtextInterpolate7;\n}\n/**\n *\n * Update text content with 8 bound values surrounded by other text.\n *\n * Used when a text node has 8 interpolated values in it:\n *\n * ```html\n * <div>prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}-{{v7}}suffix</div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵtextInterpolate8(\n *  'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, '-', v7, 'suffix');\n * ```\n * @returns itself, so that it may be chained.\n * @see textInterpolateV\n * @codeGenApi\n */\nfunction ɵɵtextInterpolate8(prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix) {\n    const lView = getLView();\n    const interpolated = interpolation8(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix);\n    if (interpolated !== NO_CHANGE) {\n        textBindingInternal(lView, getSelectedIndex(), interpolated);\n    }\n    return ɵɵtextInterpolate8;\n}\n/**\n * Update text content with 9 or more bound values other surrounded by text.\n *\n * Used when the number of interpolated values exceeds 8.\n *\n * ```html\n * <div>prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}-{{v7}}-{{v8}}-{{v9}}suffix</div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵtextInterpolateV(\n *  ['prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, '-', v7, '-', v9,\n *  'suffix']);\n * ```\n *.\n * @param values The collection of values and the strings in between those values, beginning with\n * a string prefix and ending with a string suffix.\n * (e.g. `['prefix', value0, '-', value1, '-', value2, ..., value99, 'suffix']`)\n *\n * @returns itself, so that it may be chained.\n * @codeGenApi\n */\nfunction ɵɵtextInterpolateV(values) {\n    const lView = getLView();\n    const interpolated = interpolationV(lView, values);\n    if (interpolated !== NO_CHANGE) {\n        textBindingInternal(lView, getSelectedIndex(), interpolated);\n    }\n    return ɵɵtextInterpolateV;\n}\n\n/**\n *\n * Update an interpolated class on an element with single bound value surrounded by text.\n *\n * Used when the value passed to a property has 1 interpolated value in it:\n *\n * ```html\n * <div class=\"prefix{{v0}}suffix\"></div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵclassMapInterpolate1('prefix', v0, 'suffix');\n * ```\n *\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @codeGenApi\n */\nfunction ɵɵclassMapInterpolate1(prefix, v0, suffix) {\n    const lView = getLView();\n    const interpolatedValue = interpolation1(lView, prefix, v0, suffix);\n    checkStylingMap(keyValueArraySet, classStringParser, interpolatedValue, true);\n}\n/**\n *\n * Update an interpolated class on an element with 2 bound values surrounded by text.\n *\n * Used when the value passed to a property has 2 interpolated values in it:\n *\n * ```html\n * <div class=\"prefix{{v0}}-{{v1}}suffix\"></div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵclassMapInterpolate2('prefix', v0, '-', v1, 'suffix');\n * ```\n *\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param i0 Static value used for concatenation only.\n * @param v1 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @codeGenApi\n */\nfunction ɵɵclassMapInterpolate2(prefix, v0, i0, v1, suffix) {\n    const lView = getLView();\n    const interpolatedValue = interpolation2(lView, prefix, v0, i0, v1, suffix);\n    checkStylingMap(keyValueArraySet, classStringParser, interpolatedValue, true);\n}\n/**\n *\n * Update an interpolated class on an element with 3 bound values surrounded by text.\n *\n * Used when the value passed to a property has 3 interpolated values in it:\n *\n * ```html\n * <div class=\"prefix{{v0}}-{{v1}}-{{v2}}suffix\"></div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵclassMapInterpolate3(\n * 'prefix', v0, '-', v1, '-', v2, 'suffix');\n * ```\n *\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param i0 Static value used for concatenation only.\n * @param v1 Value checked for change.\n * @param i1 Static value used for concatenation only.\n * @param v2 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @codeGenApi\n */\nfunction ɵɵclassMapInterpolate3(prefix, v0, i0, v1, i1, v2, suffix) {\n    const lView = getLView();\n    const interpolatedValue = interpolation3(lView, prefix, v0, i0, v1, i1, v2, suffix);\n    checkStylingMap(keyValueArraySet, classStringParser, interpolatedValue, true);\n}\n/**\n *\n * Update an interpolated class on an element with 4 bound values surrounded by text.\n *\n * Used when the value passed to a property has 4 interpolated values in it:\n *\n * ```html\n * <div class=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}suffix\"></div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵclassMapInterpolate4(\n * 'prefix', v0, '-', v1, '-', v2, '-', v3, 'suffix');\n * ```\n *\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param i0 Static value used for concatenation only.\n * @param v1 Value checked for change.\n * @param i1 Static value used for concatenation only.\n * @param v2 Value checked for change.\n * @param i2 Static value used for concatenation only.\n * @param v3 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @codeGenApi\n */\nfunction ɵɵclassMapInterpolate4(prefix, v0, i0, v1, i1, v2, i2, v3, suffix) {\n    const lView = getLView();\n    const interpolatedValue = interpolation4(lView, prefix, v0, i0, v1, i1, v2, i2, v3, suffix);\n    checkStylingMap(keyValueArraySet, classStringParser, interpolatedValue, true);\n}\n/**\n *\n * Update an interpolated class on an element with 5 bound values surrounded by text.\n *\n * Used when the value passed to a property has 5 interpolated values in it:\n *\n * ```html\n * <div class=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}suffix\"></div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵclassMapInterpolate5(\n * 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, 'suffix');\n * ```\n *\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param i0 Static value used for concatenation only.\n * @param v1 Value checked for change.\n * @param i1 Static value used for concatenation only.\n * @param v2 Value checked for change.\n * @param i2 Static value used for concatenation only.\n * @param v3 Value checked for change.\n * @param i3 Static value used for concatenation only.\n * @param v4 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @codeGenApi\n */\nfunction ɵɵclassMapInterpolate5(prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix) {\n    const lView = getLView();\n    const interpolatedValue = interpolation5(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix);\n    checkStylingMap(keyValueArraySet, classStringParser, interpolatedValue, true);\n}\n/**\n *\n * Update an interpolated class on an element with 6 bound values surrounded by text.\n *\n * Used when the value passed to a property has 6 interpolated values in it:\n *\n * ```html\n * <div class=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}suffix\"></div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵclassMapInterpolate6(\n *    'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, 'suffix');\n * ```\n *\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param i0 Static value used for concatenation only.\n * @param v1 Value checked for change.\n * @param i1 Static value used for concatenation only.\n * @param v2 Value checked for change.\n * @param i2 Static value used for concatenation only.\n * @param v3 Value checked for change.\n * @param i3 Static value used for concatenation only.\n * @param v4 Value checked for change.\n * @param i4 Static value used for concatenation only.\n * @param v5 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @codeGenApi\n */\nfunction ɵɵclassMapInterpolate6(prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix) {\n    const lView = getLView();\n    const interpolatedValue = interpolation6(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix);\n    checkStylingMap(keyValueArraySet, classStringParser, interpolatedValue, true);\n}\n/**\n *\n * Update an interpolated class on an element with 7 bound values surrounded by text.\n *\n * Used when the value passed to a property has 7 interpolated values in it:\n *\n * ```html\n * <div class=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}suffix\"></div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵclassMapInterpolate7(\n *    'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, 'suffix');\n * ```\n *\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param i0 Static value used for concatenation only.\n * @param v1 Value checked for change.\n * @param i1 Static value used for concatenation only.\n * @param v2 Value checked for change.\n * @param i2 Static value used for concatenation only.\n * @param v3 Value checked for change.\n * @param i3 Static value used for concatenation only.\n * @param v4 Value checked for change.\n * @param i4 Static value used for concatenation only.\n * @param v5 Value checked for change.\n * @param i5 Static value used for concatenation only.\n * @param v6 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @codeGenApi\n */\nfunction ɵɵclassMapInterpolate7(prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix) {\n    const lView = getLView();\n    const interpolatedValue = interpolation7(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix);\n    checkStylingMap(keyValueArraySet, classStringParser, interpolatedValue, true);\n}\n/**\n *\n * Update an interpolated class on an element with 8 bound values surrounded by text.\n *\n * Used when the value passed to a property has 8 interpolated values in it:\n *\n * ```html\n * <div class=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}-{{v7}}suffix\"></div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵclassMapInterpolate8(\n *  'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, '-', v7, 'suffix');\n * ```\n *\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param i0 Static value used for concatenation only.\n * @param v1 Value checked for change.\n * @param i1 Static value used for concatenation only.\n * @param v2 Value checked for change.\n * @param i2 Static value used for concatenation only.\n * @param v3 Value checked for change.\n * @param i3 Static value used for concatenation only.\n * @param v4 Value checked for change.\n * @param i4 Static value used for concatenation only.\n * @param v5 Value checked for change.\n * @param i5 Static value used for concatenation only.\n * @param v6 Value checked for change.\n * @param i6 Static value used for concatenation only.\n * @param v7 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @codeGenApi\n */\nfunction ɵɵclassMapInterpolate8(prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix) {\n    const lView = getLView();\n    const interpolatedValue = interpolation8(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix);\n    checkStylingMap(keyValueArraySet, classStringParser, interpolatedValue, true);\n}\n/**\n * Update an interpolated class on an element with 9 or more bound values surrounded by text.\n *\n * Used when the number of interpolated values exceeds 8.\n *\n * ```html\n * <div\n *  class=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}-{{v7}}-{{v8}}-{{v9}}suffix\"></div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵclassMapInterpolateV(\n *  ['prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, '-', v7, '-', v9,\n *  'suffix']);\n * ```\n *.\n * @param values The collection of values and the strings in-between those values, beginning with\n * a string prefix and ending with a string suffix.\n * (e.g. `['prefix', value0, '-', value1, '-', value2, ..., value99, 'suffix']`)\n * @codeGenApi\n */\nfunction ɵɵclassMapInterpolateV(values) {\n    const lView = getLView();\n    const interpolatedValue = interpolationV(lView, values);\n    checkStylingMap(keyValueArraySet, classStringParser, interpolatedValue, true);\n}\n\n/**\n *\n * Update an interpolated style on an element with single bound value surrounded by text.\n *\n * Used when the value passed to a property has 1 interpolated value in it:\n *\n * ```html\n * <div style=\"key: {{v0}}suffix\"></div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵstyleMapInterpolate1('key: ', v0, 'suffix');\n * ```\n *\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @codeGenApi\n */\nfunction ɵɵstyleMapInterpolate1(prefix, v0, suffix) {\n    const lView = getLView();\n    const interpolatedValue = interpolation1(lView, prefix, v0, suffix);\n    ɵɵstyleMap(interpolatedValue);\n}\n/**\n *\n * Update an interpolated style on an element with 2 bound values surrounded by text.\n *\n * Used when the value passed to a property has 2 interpolated values in it:\n *\n * ```html\n * <div style=\"key: {{v0}}; key1: {{v1}}suffix\"></div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵstyleMapInterpolate2('key: ', v0, '; key1: ', v1, 'suffix');\n * ```\n *\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param i0 Static value used for concatenation only.\n * @param v1 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @codeGenApi\n */\nfunction ɵɵstyleMapInterpolate2(prefix, v0, i0, v1, suffix) {\n    const lView = getLView();\n    const interpolatedValue = interpolation2(lView, prefix, v0, i0, v1, suffix);\n    ɵɵstyleMap(interpolatedValue);\n}\n/**\n *\n * Update an interpolated style on an element with 3 bound values surrounded by text.\n *\n * Used when the value passed to a property has 3 interpolated values in it:\n *\n * ```html\n * <div style=\"key: {{v0}}; key2: {{v1}}; key2: {{v2}}suffix\"></div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵstyleMapInterpolate3(\n *     'key: ', v0, '; key1: ', v1, '; key2: ', v2, 'suffix');\n * ```\n *\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param i0 Static value used for concatenation only.\n * @param v1 Value checked for change.\n * @param i1 Static value used for concatenation only.\n * @param v2 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @codeGenApi\n */\nfunction ɵɵstyleMapInterpolate3(prefix, v0, i0, v1, i1, v2, suffix) {\n    const lView = getLView();\n    const interpolatedValue = interpolation3(lView, prefix, v0, i0, v1, i1, v2, suffix);\n    ɵɵstyleMap(interpolatedValue);\n}\n/**\n *\n * Update an interpolated style on an element with 4 bound values surrounded by text.\n *\n * Used when the value passed to a property has 4 interpolated values in it:\n *\n * ```html\n * <div style=\"key: {{v0}}; key1: {{v1}}; key2: {{v2}}; key3: {{v3}}suffix\"></div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵstyleMapInterpolate4(\n *     'key: ', v0, '; key1: ', v1, '; key2: ', v2, '; key3: ', v3, 'suffix');\n * ```\n *\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param i0 Static value used for concatenation only.\n * @param v1 Value checked for change.\n * @param i1 Static value used for concatenation only.\n * @param v2 Value checked for change.\n * @param i2 Static value used for concatenation only.\n * @param v3 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @codeGenApi\n */\nfunction ɵɵstyleMapInterpolate4(prefix, v0, i0, v1, i1, v2, i2, v3, suffix) {\n    const lView = getLView();\n    const interpolatedValue = interpolation4(lView, prefix, v0, i0, v1, i1, v2, i2, v3, suffix);\n    ɵɵstyleMap(interpolatedValue);\n}\n/**\n *\n * Update an interpolated style on an element with 5 bound values surrounded by text.\n *\n * Used when the value passed to a property has 5 interpolated values in it:\n *\n * ```html\n * <div style=\"key: {{v0}}; key1: {{v1}}; key2: {{v2}}; key3: {{v3}}; key4: {{v4}}suffix\"></div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵstyleMapInterpolate5(\n *     'key: ', v0, '; key1: ', v1, '; key2: ', v2, '; key3: ', v3, '; key4: ', v4, 'suffix');\n * ```\n *\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param i0 Static value used for concatenation only.\n * @param v1 Value checked for change.\n * @param i1 Static value used for concatenation only.\n * @param v2 Value checked for change.\n * @param i2 Static value used for concatenation only.\n * @param v3 Value checked for change.\n * @param i3 Static value used for concatenation only.\n * @param v4 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @codeGenApi\n */\nfunction ɵɵstyleMapInterpolate5(prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix) {\n    const lView = getLView();\n    const interpolatedValue = interpolation5(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix);\n    ɵɵstyleMap(interpolatedValue);\n}\n/**\n *\n * Update an interpolated style on an element with 6 bound values surrounded by text.\n *\n * Used when the value passed to a property has 6 interpolated values in it:\n *\n * ```html\n * <div style=\"key: {{v0}}; key1: {{v1}}; key2: {{v2}}; key3: {{v3}}; key4: {{v4}};\n *             key5: {{v5}}suffix\"></div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵstyleMapInterpolate6(\n *    'key: ', v0, '; key1: ', v1, '; key2: ', v2, '; key3: ', v3, '; key4: ', v4, '; key5: ', v5,\n *    'suffix');\n * ```\n *\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param i0 Static value used for concatenation only.\n * @param v1 Value checked for change.\n * @param i1 Static value used for concatenation only.\n * @param v2 Value checked for change.\n * @param i2 Static value used for concatenation only.\n * @param v3 Value checked for change.\n * @param i3 Static value used for concatenation only.\n * @param v4 Value checked for change.\n * @param i4 Static value used for concatenation only.\n * @param v5 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @codeGenApi\n */\nfunction ɵɵstyleMapInterpolate6(prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix) {\n    const lView = getLView();\n    const interpolatedValue = interpolation6(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix);\n    ɵɵstyleMap(interpolatedValue);\n}\n/**\n *\n * Update an interpolated style on an element with 7 bound values surrounded by text.\n *\n * Used when the value passed to a property has 7 interpolated values in it:\n *\n * ```html\n * <div style=\"key: {{v0}}; key1: {{v1}}; key2: {{v2}}; key3: {{v3}}; key4: {{v4}}; key5: {{v5}};\n *             key6: {{v6}}suffix\"></div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵstyleMapInterpolate7(\n *    'key: ', v0, '; key1: ', v1, '; key2: ', v2, '; key3: ', v3, '; key4: ', v4, '; key5: ', v5,\n *    '; key6: ', v6, 'suffix');\n * ```\n *\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param i0 Static value used for concatenation only.\n * @param v1 Value checked for change.\n * @param i1 Static value used for concatenation only.\n * @param v2 Value checked for change.\n * @param i2 Static value used for concatenation only.\n * @param v3 Value checked for change.\n * @param i3 Static value used for concatenation only.\n * @param v4 Value checked for change.\n * @param i4 Static value used for concatenation only.\n * @param v5 Value checked for change.\n * @param i5 Static value used for concatenation only.\n * @param v6 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @codeGenApi\n */\nfunction ɵɵstyleMapInterpolate7(prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix) {\n    const lView = getLView();\n    const interpolatedValue = interpolation7(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix);\n    ɵɵstyleMap(interpolatedValue);\n}\n/**\n *\n * Update an interpolated style on an element with 8 bound values surrounded by text.\n *\n * Used when the value passed to a property has 8 interpolated values in it:\n *\n * ```html\n * <div style=\"key: {{v0}}; key1: {{v1}}; key2: {{v2}}; key3: {{v3}}; key4: {{v4}}; key5: {{v5}};\n *             key6: {{v6}}; key7: {{v7}}suffix\"></div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵstyleMapInterpolate8(\n *    'key: ', v0, '; key1: ', v1, '; key2: ', v2, '; key3: ', v3, '; key4: ', v4, '; key5: ', v5,\n *    '; key6: ', v6, '; key7: ', v7, 'suffix');\n * ```\n *\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param i0 Static value used for concatenation only.\n * @param v1 Value checked for change.\n * @param i1 Static value used for concatenation only.\n * @param v2 Value checked for change.\n * @param i2 Static value used for concatenation only.\n * @param v3 Value checked for change.\n * @param i3 Static value used for concatenation only.\n * @param v4 Value checked for change.\n * @param i4 Static value used for concatenation only.\n * @param v5 Value checked for change.\n * @param i5 Static value used for concatenation only.\n * @param v6 Value checked for change.\n * @param i6 Static value used for concatenation only.\n * @param v7 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @codeGenApi\n */\nfunction ɵɵstyleMapInterpolate8(prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix) {\n    const lView = getLView();\n    const interpolatedValue = interpolation8(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix);\n    ɵɵstyleMap(interpolatedValue);\n}\n/**\n * Update an interpolated style on an element with 9 or more bound values surrounded by text.\n *\n * Used when the number of interpolated values exceeds 8.\n *\n * ```html\n * <div\n *  class=\"key: {{v0}}; key1: {{v1}}; key2: {{v2}}; key3: {{v3}}; key4: {{v4}}; key5: {{v5}};\n *         key6: {{v6}}; key7: {{v7}}; key8: {{v8}}; key9: {{v9}}suffix\"></div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵstyleMapInterpolateV(\n *    ['key: ', v0, '; key1: ', v1, '; key2: ', v2, '; key3: ', v3, '; key4: ', v4, '; key5: ', v5,\n *     '; key6: ', v6, '; key7: ', v7, '; key8: ', v8, '; key9: ', v9, 'suffix']);\n * ```\n *.\n * @param values The collection of values and the strings in-between those values, beginning with\n * a string prefix and ending with a string suffix.\n * (e.g. `['prefix', value0, '; key2: ', value1, '; key2: ', value2, ..., value99, 'suffix']`)\n * @codeGenApi\n */\nfunction ɵɵstyleMapInterpolateV(values) {\n    const lView = getLView();\n    const interpolatedValue = interpolationV(lView, values);\n    ɵɵstyleMap(interpolatedValue);\n}\n\n/**\n *\n * Update an interpolated style property on an element with single bound value surrounded by text.\n *\n * Used when the value passed to a property has 1 interpolated value in it:\n *\n * ```html\n * <div style.color=\"prefix{{v0}}suffix\"></div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵstylePropInterpolate1(0, 'prefix', v0, 'suffix');\n * ```\n *\n * @param styleIndex Index of style to update. This index value refers to the\n *        index of the style in the style bindings array that was passed into\n *        `styling`.\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @param valueSuffix Optional suffix. Used with scalar values to add unit such as `px`.\n * @returns itself, so that it may be chained.\n * @codeGenApi\n */\nfunction ɵɵstylePropInterpolate1(prop, prefix, v0, suffix, valueSuffix) {\n    const lView = getLView();\n    const interpolatedValue = interpolation1(lView, prefix, v0, suffix);\n    checkStylingProperty(prop, interpolatedValue, valueSuffix, false);\n    return ɵɵstylePropInterpolate1;\n}\n/**\n *\n * Update an interpolated style property on an element with 2 bound values surrounded by text.\n *\n * Used when the value passed to a property has 2 interpolated values in it:\n *\n * ```html\n * <div style.color=\"prefix{{v0}}-{{v1}}suffix\"></div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵstylePropInterpolate2(0, 'prefix', v0, '-', v1, 'suffix');\n * ```\n *\n * @param styleIndex Index of style to update. This index value refers to the\n *        index of the style in the style bindings array that was passed into\n *        `styling`.\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param i0 Static value used for concatenation only.\n * @param v1 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @param valueSuffix Optional suffix. Used with scalar values to add unit such as `px`.\n * @returns itself, so that it may be chained.\n * @codeGenApi\n */\nfunction ɵɵstylePropInterpolate2(prop, prefix, v0, i0, v1, suffix, valueSuffix) {\n    const lView = getLView();\n    const interpolatedValue = interpolation2(lView, prefix, v0, i0, v1, suffix);\n    checkStylingProperty(prop, interpolatedValue, valueSuffix, false);\n    return ɵɵstylePropInterpolate2;\n}\n/**\n *\n * Update an interpolated style property on an element with 3 bound values surrounded by text.\n *\n * Used when the value passed to a property has 3 interpolated values in it:\n *\n * ```html\n * <div style.color=\"prefix{{v0}}-{{v1}}-{{v2}}suffix\"></div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵstylePropInterpolate3(0, 'prefix', v0, '-', v1, '-', v2, 'suffix');\n * ```\n *\n * @param styleIndex Index of style to update. This index value refers to the\n *        index of the style in the style bindings array that was passed into\n *        `styling`.\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param i0 Static value used for concatenation only.\n * @param v1 Value checked for change.\n * @param i1 Static value used for concatenation only.\n * @param v2 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @param valueSuffix Optional suffix. Used with scalar values to add unit such as `px`.\n * @returns itself, so that it may be chained.\n * @codeGenApi\n */\nfunction ɵɵstylePropInterpolate3(prop, prefix, v0, i0, v1, i1, v2, suffix, valueSuffix) {\n    const lView = getLView();\n    const interpolatedValue = interpolation3(lView, prefix, v0, i0, v1, i1, v2, suffix);\n    checkStylingProperty(prop, interpolatedValue, valueSuffix, false);\n    return ɵɵstylePropInterpolate3;\n}\n/**\n *\n * Update an interpolated style property on an element with 4 bound values surrounded by text.\n *\n * Used when the value passed to a property has 4 interpolated values in it:\n *\n * ```html\n * <div style.color=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}suffix\"></div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵstylePropInterpolate4(0, 'prefix', v0, '-', v1, '-', v2, '-', v3, 'suffix');\n * ```\n *\n * @param styleIndex Index of style to update. This index value refers to the\n *        index of the style in the style bindings array that was passed into\n *        `styling`.\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param i0 Static value used for concatenation only.\n * @param v1 Value checked for change.\n * @param i1 Static value used for concatenation only.\n * @param v2 Value checked for change.\n * @param i2 Static value used for concatenation only.\n * @param v3 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @param valueSuffix Optional suffix. Used with scalar values to add unit such as `px`.\n * @returns itself, so that it may be chained.\n * @codeGenApi\n */\nfunction ɵɵstylePropInterpolate4(prop, prefix, v0, i0, v1, i1, v2, i2, v3, suffix, valueSuffix) {\n    const lView = getLView();\n    const interpolatedValue = interpolation4(lView, prefix, v0, i0, v1, i1, v2, i2, v3, suffix);\n    checkStylingProperty(prop, interpolatedValue, valueSuffix, false);\n    return ɵɵstylePropInterpolate4;\n}\n/**\n *\n * Update an interpolated style property on an element with 5 bound values surrounded by text.\n *\n * Used when the value passed to a property has 5 interpolated values in it:\n *\n * ```html\n * <div style.color=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}suffix\"></div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵstylePropInterpolate5(0, 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, 'suffix');\n * ```\n *\n * @param styleIndex Index of style to update. This index value refers to the\n *        index of the style in the style bindings array that was passed into\n *        `styling`.\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param i0 Static value used for concatenation only.\n * @param v1 Value checked for change.\n * @param i1 Static value used for concatenation only.\n * @param v2 Value checked for change.\n * @param i2 Static value used for concatenation only.\n * @param v3 Value checked for change.\n * @param i3 Static value used for concatenation only.\n * @param v4 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @param valueSuffix Optional suffix. Used with scalar values to add unit such as `px`.\n * @returns itself, so that it may be chained.\n * @codeGenApi\n */\nfunction ɵɵstylePropInterpolate5(prop, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix, valueSuffix) {\n    const lView = getLView();\n    const interpolatedValue = interpolation5(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix);\n    checkStylingProperty(prop, interpolatedValue, valueSuffix, false);\n    return ɵɵstylePropInterpolate5;\n}\n/**\n *\n * Update an interpolated style property on an element with 6 bound values surrounded by text.\n *\n * Used when the value passed to a property has 6 interpolated values in it:\n *\n * ```html\n * <div style.color=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}suffix\"></div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵstylePropInterpolate6(0, 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, 'suffix');\n * ```\n *\n * @param styleIndex Index of style to update. This index value refers to the\n *        index of the style in the style bindings array that was passed into\n *        `styling`.\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param i0 Static value used for concatenation only.\n * @param v1 Value checked for change.\n * @param i1 Static value used for concatenation only.\n * @param v2 Value checked for change.\n * @param i2 Static value used for concatenation only.\n * @param v3 Value checked for change.\n * @param i3 Static value used for concatenation only.\n * @param v4 Value checked for change.\n * @param i4 Static value used for concatenation only.\n * @param v5 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @param valueSuffix Optional suffix. Used with scalar values to add unit such as `px`.\n * @returns itself, so that it may be chained.\n * @codeGenApi\n */\nfunction ɵɵstylePropInterpolate6(prop, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix, valueSuffix) {\n    const lView = getLView();\n    const interpolatedValue = interpolation6(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix);\n    checkStylingProperty(prop, interpolatedValue, valueSuffix, false);\n    return ɵɵstylePropInterpolate6;\n}\n/**\n *\n * Update an interpolated style property on an element with 7 bound values surrounded by text.\n *\n * Used when the value passed to a property has 7 interpolated values in it:\n *\n * ```html\n * <div style.color=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}suffix\"></div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵstylePropInterpolate7(\n *    0, 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, 'suffix');\n * ```\n *\n * @param styleIndex Index of style to update. This index value refers to the\n *        index of the style in the style bindings array that was passed into\n *        `styling`.\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param i0 Static value used for concatenation only.\n * @param v1 Value checked for change.\n * @param i1 Static value used for concatenation only.\n * @param v2 Value checked for change.\n * @param i2 Static value used for concatenation only.\n * @param v3 Value checked for change.\n * @param i3 Static value used for concatenation only.\n * @param v4 Value checked for change.\n * @param i4 Static value used for concatenation only.\n * @param v5 Value checked for change.\n * @param i5 Static value used for concatenation only.\n * @param v6 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @param valueSuffix Optional suffix. Used with scalar values to add unit such as `px`.\n * @returns itself, so that it may be chained.\n * @codeGenApi\n */\nfunction ɵɵstylePropInterpolate7(prop, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix, valueSuffix) {\n    const lView = getLView();\n    const interpolatedValue = interpolation7(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix);\n    checkStylingProperty(prop, interpolatedValue, valueSuffix, false);\n    return ɵɵstylePropInterpolate7;\n}\n/**\n *\n * Update an interpolated style property on an element with 8 bound values surrounded by text.\n *\n * Used when the value passed to a property has 8 interpolated values in it:\n *\n * ```html\n * <div style.color=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}-{{v7}}suffix\"></div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵstylePropInterpolate8(0, 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6,\n * '-', v7, 'suffix');\n * ```\n *\n * @param styleIndex Index of style to update. This index value refers to the\n *        index of the style in the style bindings array that was passed into\n *        `styling`.\n * @param prefix Static value used for concatenation only.\n * @param v0 Value checked for change.\n * @param i0 Static value used for concatenation only.\n * @param v1 Value checked for change.\n * @param i1 Static value used for concatenation only.\n * @param v2 Value checked for change.\n * @param i2 Static value used for concatenation only.\n * @param v3 Value checked for change.\n * @param i3 Static value used for concatenation only.\n * @param v4 Value checked for change.\n * @param i4 Static value used for concatenation only.\n * @param v5 Value checked for change.\n * @param i5 Static value used for concatenation only.\n * @param v6 Value checked for change.\n * @param i6 Static value used for concatenation only.\n * @param v7 Value checked for change.\n * @param suffix Static value used for concatenation only.\n * @param valueSuffix Optional suffix. Used with scalar values to add unit such as `px`.\n * @returns itself, so that it may be chained.\n * @codeGenApi\n */\nfunction ɵɵstylePropInterpolate8(prop, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix, valueSuffix) {\n    const lView = getLView();\n    const interpolatedValue = interpolation8(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix);\n    checkStylingProperty(prop, interpolatedValue, valueSuffix, false);\n    return ɵɵstylePropInterpolate8;\n}\n/**\n * Update an interpolated style property on an element with 9 or more bound values surrounded by\n * text.\n *\n * Used when the number of interpolated values exceeds 8.\n *\n * ```html\n * <div\n *  style.color=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}-{{v7}}-{{v8}}-{{v9}}suffix\">\n * </div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵstylePropInterpolateV(\n *  0, ['prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, '-', v7, '-', v9,\n *  'suffix']);\n * ```\n *\n * @param styleIndex Index of style to update. This index value refers to the\n *        index of the style in the style bindings array that was passed into\n *        `styling`..\n * @param values The collection of values and the strings in-between those values, beginning with\n * a string prefix and ending with a string suffix.\n * (e.g. `['prefix', value0, '-', value1, '-', value2, ..., value99, 'suffix']`)\n * @param valueSuffix Optional suffix. Used with scalar values to add unit such as `px`.\n * @returns itself, so that it may be chained.\n * @codeGenApi\n */\nfunction ɵɵstylePropInterpolateV(prop, values, valueSuffix) {\n    const lView = getLView();\n    const interpolatedValue = interpolationV(lView, values);\n    checkStylingProperty(prop, interpolatedValue, valueSuffix, false);\n    return ɵɵstylePropInterpolateV;\n}\n\n/**\n * Update a property on a host element. Only applies to native node properties, not inputs.\n *\n * Operates on the element selected by index via the {@link select} instruction.\n *\n * @param propName Name of property. Because it is going to DOM, this is not subject to\n *        renaming as part of minification.\n * @param value New value to write.\n * @param sanitizer An optional function used to sanitize the value.\n * @returns This function returns itself so that it may be chained\n * (e.g. `property('name', ctx.name)('title', ctx.title)`)\n *\n * @codeGenApi\n */\nfunction ɵɵhostProperty(propName, value, sanitizer) {\n    const lView = getLView();\n    const bindingIndex = nextBindingIndex();\n    if (bindingUpdated(lView, bindingIndex, value)) {\n        const tView = getTView();\n        const tNode = getSelectedTNode();\n        elementPropertyInternal(tView, tNode, lView, propName, value, lView[RENDERER], sanitizer, true);\n        ngDevMode && storePropertyBindingMetadata(tView.data, tNode, propName, bindingIndex);\n    }\n    return ɵɵhostProperty;\n}\n/**\n * Updates a synthetic host binding (e.g. `[@foo]`) on a component or directive.\n *\n * This instruction is for compatibility purposes and is designed to ensure that a\n * synthetic host binding (e.g. `@HostBinding('@foo')`) properly gets rendered in\n * the component's renderer. Normally all host bindings are evaluated with the parent\n * component's renderer, but, in the case of animation @triggers, they need to be\n * evaluated with the sub component's renderer (because that's where the animation\n * triggers are defined).\n *\n * Do not use this instruction as a replacement for `elementProperty`. This instruction\n * only exists to ensure compatibility with the ViewEngine's host binding behavior.\n *\n * @param index The index of the element to update in the data array\n * @param propName Name of property. Because it is going to DOM, this is not subject to\n *        renaming as part of minification.\n * @param value New value to write.\n * @param sanitizer An optional function used to sanitize the value.\n *\n * @codeGenApi\n */\nfunction ɵɵsyntheticHostProperty(propName, value, sanitizer) {\n    const lView = getLView();\n    const bindingIndex = nextBindingIndex();\n    if (bindingUpdated(lView, bindingIndex, value)) {\n        const tView = getTView();\n        const tNode = getSelectedTNode();\n        const currentDef = getCurrentDirectiveDef(tView.data);\n        const renderer = loadComponentRenderer(currentDef, tNode, lView);\n        elementPropertyInternal(tView, tNode, lView, propName, value, renderer, sanitizer, true);\n        ngDevMode && storePropertyBindingMetadata(tView.data, tNode, propName, bindingIndex);\n    }\n    return ɵɵsyntheticHostProperty;\n}\n\n/**\n * NOTE: changes to the `ngI18nClosureMode` name must be synced with `compiler-cli/src/tooling.ts`.\n */\nif (typeof ngI18nClosureMode === 'undefined') {\n    // These property accesses can be ignored because ngI18nClosureMode will be set to false\n    // when optimizing code and the whole if statement will be dropped.\n    // Make sure to refer to ngI18nClosureMode as ['ngI18nClosureMode'] for closure.\n    // NOTE: we need to have it in IIFE so that the tree-shaker is happy.\n    (function () {\n        // tslint:disable-next-line:no-toplevel-property-access\n        _global['ngI18nClosureMode'] =\n            // TODO(FW-1250): validate that this actually, you know, works.\n            // tslint:disable-next-line:no-toplevel-property-access\n            typeof goog !== 'undefined' && typeof goog.getMsg === 'function';\n    })();\n}\n\n// THIS CODE IS GENERATED - DO NOT MODIFY.\nconst u = undefined;\nfunction plural(val) {\n    const n = val, i = Math.floor(Math.abs(val)), v = val.toString().replace(/^[^.]*\\.?/, '').length;\n    if (i === 1 && v === 0)\n        return 1;\n    return 5;\n}\nvar localeEn = [\"en\", [[\"a\", \"p\"], [\"AM\", \"PM\"], u], [[\"AM\", \"PM\"], u, u], [[\"S\", \"M\", \"T\", \"W\", \"T\", \"F\", \"S\"], [\"Sun\", \"Mon\", \"Tue\", \"Wed\", \"Thu\", \"Fri\", \"Sat\"], [\"Sunday\", \"Monday\", \"Tuesday\", \"Wednesday\", \"Thursday\", \"Friday\", \"Saturday\"], [\"Su\", \"Mo\", \"Tu\", \"We\", \"Th\", \"Fr\", \"Sa\"]], u, [[\"J\", \"F\", \"M\", \"A\", \"M\", \"J\", \"J\", \"A\", \"S\", \"O\", \"N\", \"D\"], [\"Jan\", \"Feb\", \"Mar\", \"Apr\", \"May\", \"Jun\", \"Jul\", \"Aug\", \"Sep\", \"Oct\", \"Nov\", \"Dec\"], [\"January\", \"February\", \"March\", \"April\", \"May\", \"June\", \"July\", \"August\", \"September\", \"October\", \"November\", \"December\"]], u, [[\"B\", \"A\"], [\"BC\", \"AD\"], [\"Before Christ\", \"Anno Domini\"]], 0, [6, 0], [\"M/d/yy\", \"MMM d, y\", \"MMMM d, y\", \"EEEE, MMMM d, y\"], [\"h:mm a\", \"h:mm:ss a\", \"h:mm:ss a z\", \"h:mm:ss a zzzz\"], [\"{1}, {0}\", u, \"{1} 'at' {0}\", u], [\".\", \",\", \";\", \"%\", \"+\", \"-\", \"E\", \"×\", \"‰\", \"∞\", \"NaN\", \":\"], [\"#,##0.###\", \"#,##0%\", \"¤#,##0.00\", \"#E0\"], \"USD\", \"$\", \"US Dollar\", {}, \"ltr\", plural];\n\n/**\n * This const is used to store the locale data registered with `registerLocaleData`\n */\nlet LOCALE_DATA = {};\n/**\n * Register locale data to be used internally by Angular. See the\n * [\"I18n guide\"](guide/i18n-common-format-data-locale) to know how to import additional locale\n * data.\n *\n * The signature `registerLocaleData(data: any, extraData?: any)` is deprecated since v5.1\n */\nfunction registerLocaleData(data, localeId, extraData) {\n    if (typeof localeId !== 'string') {\n        extraData = localeId;\n        localeId = data[LocaleDataIndex.LocaleId];\n    }\n    localeId = localeId.toLowerCase().replace(/_/g, '-');\n    LOCALE_DATA[localeId] = data;\n    if (extraData) {\n        LOCALE_DATA[localeId][LocaleDataIndex.ExtraData] = extraData;\n    }\n}\n/**\n * Finds the locale data for a given locale.\n *\n * @param locale The locale code.\n * @returns The locale data.\n * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)\n */\nfunction findLocaleData(locale) {\n    const normalizedLocale = normalizeLocale(locale);\n    let match = getLocaleData(normalizedLocale);\n    if (match) {\n        return match;\n    }\n    // let's try to find a parent locale\n    const parentLocale = normalizedLocale.split('-')[0];\n    match = getLocaleData(parentLocale);\n    if (match) {\n        return match;\n    }\n    if (parentLocale === 'en') {\n        return localeEn;\n    }\n    throw new RuntimeError(701 /* RuntimeErrorCode.MISSING_LOCALE_DATA */, ngDevMode && `Missing locale data for the locale \"${locale}\".`);\n}\n/**\n * Retrieves the default currency code for the given locale.\n *\n * The default is defined as the first currency which is still in use.\n *\n * @param locale The code of the locale whose currency code we want.\n * @returns The code of the default currency for the given locale.\n *\n */\nfunction getLocaleCurrencyCode(locale) {\n    const data = findLocaleData(locale);\n    return data[LocaleDataIndex.CurrencyCode] || null;\n}\n/**\n * Retrieves the plural function used by ICU expressions to determine the plural case to use\n * for a given locale.\n * @param locale A locale code for the locale format rules to use.\n * @returns The plural function for the locale.\n * @see `NgPlural`\n * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)\n */\nfunction getLocalePluralCase(locale) {\n    const data = findLocaleData(locale);\n    return data[LocaleDataIndex.PluralCase];\n}\n/**\n * Helper function to get the given `normalizedLocale` from `LOCALE_DATA`\n * or from the global `ng.common.locale`.\n */\nfunction getLocaleData(normalizedLocale) {\n    if (!(normalizedLocale in LOCALE_DATA)) {\n        LOCALE_DATA[normalizedLocale] = _global.ng && _global.ng.common && _global.ng.common.locales &&\n            _global.ng.common.locales[normalizedLocale];\n    }\n    return LOCALE_DATA[normalizedLocale];\n}\n/**\n * Helper function to remove all the locale data from `LOCALE_DATA`.\n */\nfunction unregisterAllLocaleData() {\n    LOCALE_DATA = {};\n}\n/**\n * Index of each type of locale data from the locale data array\n */\nvar LocaleDataIndex;\n(function (LocaleDataIndex) {\n    LocaleDataIndex[LocaleDataIndex[\"LocaleId\"] = 0] = \"LocaleId\";\n    LocaleDataIndex[LocaleDataIndex[\"DayPeriodsFormat\"] = 1] = \"DayPeriodsFormat\";\n    LocaleDataIndex[LocaleDataIndex[\"DayPeriodsStandalone\"] = 2] = \"DayPeriodsStandalone\";\n    LocaleDataIndex[LocaleDataIndex[\"DaysFormat\"] = 3] = \"DaysFormat\";\n    LocaleDataIndex[LocaleDataIndex[\"DaysStandalone\"] = 4] = \"DaysStandalone\";\n    LocaleDataIndex[LocaleDataIndex[\"MonthsFormat\"] = 5] = \"MonthsFormat\";\n    LocaleDataIndex[LocaleDataIndex[\"MonthsStandalone\"] = 6] = \"MonthsStandalone\";\n    LocaleDataIndex[LocaleDataIndex[\"Eras\"] = 7] = \"Eras\";\n    LocaleDataIndex[LocaleDataIndex[\"FirstDayOfWeek\"] = 8] = \"FirstDayOfWeek\";\n    LocaleDataIndex[LocaleDataIndex[\"WeekendRange\"] = 9] = \"WeekendRange\";\n    LocaleDataIndex[LocaleDataIndex[\"DateFormat\"] = 10] = \"DateFormat\";\n    LocaleDataIndex[LocaleDataIndex[\"TimeFormat\"] = 11] = \"TimeFormat\";\n    LocaleDataIndex[LocaleDataIndex[\"DateTimeFormat\"] = 12] = \"DateTimeFormat\";\n    LocaleDataIndex[LocaleDataIndex[\"NumberSymbols\"] = 13] = \"NumberSymbols\";\n    LocaleDataIndex[LocaleDataIndex[\"NumberFormats\"] = 14] = \"NumberFormats\";\n    LocaleDataIndex[LocaleDataIndex[\"CurrencyCode\"] = 15] = \"CurrencyCode\";\n    LocaleDataIndex[LocaleDataIndex[\"CurrencySymbol\"] = 16] = \"CurrencySymbol\";\n    LocaleDataIndex[LocaleDataIndex[\"CurrencyName\"] = 17] = \"CurrencyName\";\n    LocaleDataIndex[LocaleDataIndex[\"Currencies\"] = 18] = \"Currencies\";\n    LocaleDataIndex[LocaleDataIndex[\"Directionality\"] = 19] = \"Directionality\";\n    LocaleDataIndex[LocaleDataIndex[\"PluralCase\"] = 20] = \"PluralCase\";\n    LocaleDataIndex[LocaleDataIndex[\"ExtraData\"] = 21] = \"ExtraData\";\n})(LocaleDataIndex || (LocaleDataIndex = {}));\n/**\n * Returns the canonical form of a locale name - lowercase with `_` replaced with `-`.\n */\nfunction normalizeLocale(locale) {\n    return locale.toLowerCase().replace(/_/g, '-');\n}\n\nconst pluralMapping = ['zero', 'one', 'two', 'few', 'many'];\n/**\n * Returns the plural case based on the locale\n */\nfunction getPluralCase(value, locale) {\n    const plural = getLocalePluralCase(locale)(parseInt(value, 10));\n    const result = pluralMapping[plural];\n    return (result !== undefined) ? result : 'other';\n}\n/**\n * The locale id that the application is using by default (for translations and ICU expressions).\n */\nconst DEFAULT_LOCALE_ID = 'en-US';\n/**\n * USD currency code that the application uses by default for CurrencyPipe when no\n * DEFAULT_CURRENCY_CODE is provided.\n */\nconst USD_CURRENCY_CODE = 'USD';\n\n/**\n * Marks that the next string is an element name.\n *\n * See `I18nMutateOpCodes` documentation.\n */\nconst ELEMENT_MARKER = {\n    marker: 'element'\n};\n/**\n * Marks that the next string is comment text need for ICU.\n *\n * See `I18nMutateOpCodes` documentation.\n */\nconst ICU_MARKER = {\n    marker: 'ICU'\n};\n/**\n * See `I18nCreateOpCodes`\n */\nvar I18nCreateOpCode;\n(function (I18nCreateOpCode) {\n    /**\n     * Number of bits to shift index so that it can be combined with the `APPEND_EAGERLY` and\n     * `COMMENT`.\n     */\n    I18nCreateOpCode[I18nCreateOpCode[\"SHIFT\"] = 2] = \"SHIFT\";\n    /**\n     * Should the node be appended to parent immediately after creation.\n     */\n    I18nCreateOpCode[I18nCreateOpCode[\"APPEND_EAGERLY\"] = 1] = \"APPEND_EAGERLY\";\n    /**\n     * If set the node should be comment (rather than a text) node.\n     */\n    I18nCreateOpCode[I18nCreateOpCode[\"COMMENT\"] = 2] = \"COMMENT\";\n})(I18nCreateOpCode || (I18nCreateOpCode = {}));\n// Note: This hack is necessary so we don't erroneously get a circular dependency\n// failure based on types.\nconst unusedValueExportToPlacateAjd = 1;\n\n/**\n * The locale id that the application is currently using (for translations and ICU expressions).\n * This is the ivy version of `LOCALE_ID` that was defined as an injection token for the view engine\n * but is now defined as a global value.\n */\nlet LOCALE_ID$1 = DEFAULT_LOCALE_ID;\n/**\n * Sets the locale id that will be used for translations and ICU expressions.\n * This is the ivy version of `LOCALE_ID` that was defined as an injection token for the view engine\n * but is now defined as a global value.\n *\n * @param localeId\n */\nfunction setLocaleId(localeId) {\n    assertDefined(localeId, `Expected localeId to be defined`);\n    if (typeof localeId === 'string') {\n        LOCALE_ID$1 = localeId.toLowerCase().replace(/_/g, '-');\n    }\n}\n/**\n * Gets the locale id that will be used for translations and ICU expressions.\n * This is the ivy version of `LOCALE_ID` that was defined as an injection token for the view engine\n * but is now defined as a global value.\n */\nfunction getLocaleId() {\n    return LOCALE_ID$1;\n}\n\n/**\n * Find a node in front of which `currentTNode` should be inserted (takes i18n into account).\n *\n * This method determines the `RNode` in front of which we should insert the `currentRNode`. This\n * takes `TNode.insertBeforeIndex` into account.\n *\n * @param parentTNode parent `TNode`\n * @param currentTNode current `TNode` (The node which we would like to insert into the DOM)\n * @param lView current `LView`\n */\nfunction getInsertInFrontOfRNodeWithI18n(parentTNode, currentTNode, lView) {\n    const tNodeInsertBeforeIndex = currentTNode.insertBeforeIndex;\n    const insertBeforeIndex = Array.isArray(tNodeInsertBeforeIndex) ? tNodeInsertBeforeIndex[0] : tNodeInsertBeforeIndex;\n    if (insertBeforeIndex === null) {\n        return getInsertInFrontOfRNodeWithNoI18n(parentTNode, currentTNode, lView);\n    }\n    else {\n        ngDevMode && assertIndexInRange(lView, insertBeforeIndex);\n        return unwrapRNode(lView[insertBeforeIndex]);\n    }\n}\n/**\n * Process `TNode.insertBeforeIndex` by adding i18n text nodes.\n *\n * See `TNode.insertBeforeIndex`\n */\nfunction processI18nInsertBefore(renderer, childTNode, lView, childRNode, parentRElement) {\n    const tNodeInsertBeforeIndex = childTNode.insertBeforeIndex;\n    if (Array.isArray(tNodeInsertBeforeIndex)) {\n        // An array indicates that there are i18n nodes that need to be added as children of this\n        // `childRNode`. These i18n nodes were created before this `childRNode` was available and so\n        // only now can be added. The first element of the array is the normal index where we should\n        // insert the `childRNode`. Additional elements are the extra nodes to be added as children of\n        // `childRNode`.\n        ngDevMode && assertDomNode(childRNode);\n        let i18nParent = childRNode;\n        let anchorRNode = null;\n        if (!(childTNode.type & 3 /* TNodeType.AnyRNode */)) {\n            anchorRNode = i18nParent;\n            i18nParent = parentRElement;\n        }\n        if (i18nParent !== null && childTNode.componentOffset === -1) {\n            for (let i = 1; i < tNodeInsertBeforeIndex.length; i++) {\n                // No need to `unwrapRNode` because all of the indexes point to i18n text nodes.\n                // see `assertDomNode` below.\n                const i18nChild = lView[tNodeInsertBeforeIndex[i]];\n                nativeInsertBefore(renderer, i18nParent, i18nChild, anchorRNode, false);\n            }\n        }\n    }\n}\n\n/**\n * Add `tNode` to `previousTNodes` list and update relevant `TNode`s in `previousTNodes` list\n * `tNode.insertBeforeIndex`.\n *\n * Things to keep in mind:\n * 1. All i18n text nodes are encoded as `TNodeType.Element` and are created eagerly by the\n *    `ɵɵi18nStart` instruction.\n * 2. All `TNodeType.Placeholder` `TNodes` are elements which will be created later by\n *    `ɵɵelementStart` instruction.\n * 3. `ɵɵelementStart` instruction will create `TNode`s in the ascending `TNode.index` order. (So a\n *    smaller index `TNode` is guaranteed to be created before a larger one)\n *\n * We use the above three invariants to determine `TNode.insertBeforeIndex`.\n *\n * In an ideal world `TNode.insertBeforeIndex` would always be `TNode.next.index`. However,\n * this will not work because `TNode.next.index` may be larger than `TNode.index` which means that\n * the next node is not yet created and therefore we can't insert in front of it.\n *\n * Rule1: `TNode.insertBeforeIndex = null` if `TNode.next === null` (Initial condition, as we don't\n *        know if there will be further `TNode`s inserted after.)\n * Rule2: If `previousTNode` is created after the `tNode` being inserted, then\n *        `previousTNode.insertBeforeNode = tNode.index` (So when a new `tNode` is added we check\n *        previous to see if we can update its `insertBeforeTNode`)\n *\n * See `TNode.insertBeforeIndex` for more context.\n *\n * @param previousTNodes A list of previous TNodes so that we can easily traverse `TNode`s in\n *     reverse order. (If `TNode` would have `previous` this would not be necessary.)\n * @param newTNode A TNode to add to the `previousTNodes` list.\n */\nfunction addTNodeAndUpdateInsertBeforeIndex(previousTNodes, newTNode) {\n    // Start with Rule1\n    ngDevMode &&\n        assertEqual(newTNode.insertBeforeIndex, null, 'We expect that insertBeforeIndex is not set');\n    previousTNodes.push(newTNode);\n    if (previousTNodes.length > 1) {\n        for (let i = previousTNodes.length - 2; i >= 0; i--) {\n            const existingTNode = previousTNodes[i];\n            // Text nodes are created eagerly and so they don't need their `indexBeforeIndex` updated.\n            // It is safe to ignore them.\n            if (!isI18nText(existingTNode)) {\n                if (isNewTNodeCreatedBefore(existingTNode, newTNode) &&\n                    getInsertBeforeIndex(existingTNode) === null) {\n                    // If it was created before us in time, (and it does not yet have `insertBeforeIndex`)\n                    // then add the `insertBeforeIndex`.\n                    setInsertBeforeIndex(existingTNode, newTNode.index);\n                }\n            }\n        }\n    }\n}\nfunction isI18nText(tNode) {\n    return !(tNode.type & 64 /* TNodeType.Placeholder */);\n}\nfunction isNewTNodeCreatedBefore(existingTNode, newTNode) {\n    return isI18nText(newTNode) || existingTNode.index > newTNode.index;\n}\nfunction getInsertBeforeIndex(tNode) {\n    const index = tNode.insertBeforeIndex;\n    return Array.isArray(index) ? index[0] : index;\n}\nfunction setInsertBeforeIndex(tNode, value) {\n    const index = tNode.insertBeforeIndex;\n    if (Array.isArray(index)) {\n        // Array is stored if we have to insert child nodes. See `TNode.insertBeforeIndex`\n        index[0] = value;\n    }\n    else {\n        setI18nHandling(getInsertInFrontOfRNodeWithI18n, processI18nInsertBefore);\n        tNode.insertBeforeIndex = value;\n    }\n}\n\n/**\n * Retrieve `TIcu` at a given `index`.\n *\n * The `TIcu` can be stored either directly (if it is nested ICU) OR\n * it is stored inside tho `TIcuContainer` if it is top level ICU.\n *\n * The reason for this is that the top level ICU need a `TNode` so that they are part of the render\n * tree, but nested ICU's have no TNode, because we don't know ahead of time if the nested ICU is\n * expressed (parent ICU may have selected a case which does not contain it.)\n *\n * @param tView Current `TView`.\n * @param index Index where the value should be read from.\n */\nfunction getTIcu(tView, index) {\n    const value = tView.data[index];\n    if (value === null || typeof value === 'string')\n        return null;\n    if (ngDevMode &&\n        !(value.hasOwnProperty('tView') || value.hasOwnProperty('currentCaseLViewIndex'))) {\n        throwError('We expect to get \\'null\\'|\\'TIcu\\'|\\'TIcuContainer\\', but got: ' + value);\n    }\n    // Here the `value.hasOwnProperty('currentCaseLViewIndex')` is a polymorphic read as it can be\n    // either TIcu or TIcuContainerNode. This is not ideal, but we still think it is OK because it\n    // will be just two cases which fits into the browser inline cache (inline cache can take up to\n    // 4)\n    const tIcu = value.hasOwnProperty('currentCaseLViewIndex') ? value :\n        value.value;\n    ngDevMode && assertTIcu(tIcu);\n    return tIcu;\n}\n/**\n * Store `TIcu` at a give `index`.\n *\n * The `TIcu` can be stored either directly (if it is nested ICU) OR\n * it is stored inside tho `TIcuContainer` if it is top level ICU.\n *\n * The reason for this is that the top level ICU need a `TNode` so that they are part of the render\n * tree, but nested ICU's have no TNode, because we don't know ahead of time if the nested ICU is\n * expressed (parent ICU may have selected a case which does not contain it.)\n *\n * @param tView Current `TView`.\n * @param index Index where the value should be stored at in `Tview.data`\n * @param tIcu The TIcu to store.\n */\nfunction setTIcu(tView, index, tIcu) {\n    const tNode = tView.data[index];\n    ngDevMode &&\n        assertEqual(tNode === null || tNode.hasOwnProperty('tView'), true, 'We expect to get \\'null\\'|\\'TIcuContainer\\'');\n    if (tNode === null) {\n        tView.data[index] = tIcu;\n    }\n    else {\n        ngDevMode && assertTNodeType(tNode, 32 /* TNodeType.Icu */);\n        tNode.value = tIcu;\n    }\n}\n/**\n * Set `TNode.insertBeforeIndex` taking the `Array` into account.\n *\n * See `TNode.insertBeforeIndex`\n */\nfunction setTNodeInsertBeforeIndex(tNode, index) {\n    ngDevMode && assertTNode(tNode);\n    let insertBeforeIndex = tNode.insertBeforeIndex;\n    if (insertBeforeIndex === null) {\n        setI18nHandling(getInsertInFrontOfRNodeWithI18n, processI18nInsertBefore);\n        insertBeforeIndex = tNode.insertBeforeIndex =\n            [null /* may be updated to number later */, index];\n    }\n    else {\n        assertEqual(Array.isArray(insertBeforeIndex), true, 'Expecting array here');\n        insertBeforeIndex.push(index);\n    }\n}\n/**\n * Create `TNode.type=TNodeType.Placeholder` node.\n *\n * See `TNodeType.Placeholder` for more information.\n */\nfunction createTNodePlaceholder(tView, previousTNodes, index) {\n    const tNode = createTNodeAtIndex(tView, index, 64 /* TNodeType.Placeholder */, null, null);\n    addTNodeAndUpdateInsertBeforeIndex(previousTNodes, tNode);\n    return tNode;\n}\n/**\n * Returns current ICU case.\n *\n * ICU cases are stored as index into the `TIcu.cases`.\n * At times it is necessary to communicate that the ICU case just switched and that next ICU update\n * should update all bindings regardless of the mask. In such a case the we store negative numbers\n * for cases which have just been switched. This function removes the negative flag.\n */\nfunction getCurrentICUCaseIndex(tIcu, lView) {\n    const currentCase = lView[tIcu.currentCaseLViewIndex];\n    return currentCase === null ? currentCase : (currentCase < 0 ? ~currentCase : currentCase);\n}\nfunction getParentFromIcuCreateOpCode(mergedCode) {\n    return mergedCode >>> 17 /* IcuCreateOpCode.SHIFT_PARENT */;\n}\nfunction getRefFromIcuCreateOpCode(mergedCode) {\n    return (mergedCode & 131070 /* IcuCreateOpCode.MASK_REF */) >>> 1 /* IcuCreateOpCode.SHIFT_REF */;\n}\nfunction getInstructionFromIcuCreateOpCode(mergedCode) {\n    return mergedCode & 1 /* IcuCreateOpCode.MASK_INSTRUCTION */;\n}\nfunction icuCreateOpCode(opCode, parentIdx, refIdx) {\n    ngDevMode && assertGreaterThanOrEqual(parentIdx, 0, 'Missing parent index');\n    ngDevMode && assertGreaterThan(refIdx, 0, 'Missing ref index');\n    return opCode | parentIdx << 17 /* IcuCreateOpCode.SHIFT_PARENT */ | refIdx << 1 /* IcuCreateOpCode.SHIFT_REF */;\n}\n\n/**\n * Keep track of which input bindings in `ɵɵi18nExp` have changed.\n *\n * This is used to efficiently update expressions in i18n only when the corresponding input has\n * changed.\n *\n * 1) Each bit represents which of the `ɵɵi18nExp` has changed.\n * 2) There are 32 bits allowed in JS.\n * 3) Bit 32 is special as it is shared for all changes past 32. (In other words if you have more\n * than 32 `ɵɵi18nExp` then all changes past 32nd `ɵɵi18nExp` will be mapped to same bit. This means\n * that we may end up changing more than we need to. But i18n expressions with 32 bindings is rare\n * so in practice it should not be an issue.)\n */\nlet changeMask = 0b0;\n/**\n * Keeps track of which bit needs to be updated in `changeMask`\n *\n * This value gets incremented on every call to `ɵɵi18nExp`\n */\nlet changeMaskCounter = 0;\n/**\n * Keep track of which input bindings in `ɵɵi18nExp` have changed.\n *\n * `setMaskBit` gets invoked by each call to `ɵɵi18nExp`.\n *\n * @param hasChange did `ɵɵi18nExp` detect a change.\n */\nfunction setMaskBit(hasChange) {\n    if (hasChange) {\n        changeMask = changeMask | (1 << Math.min(changeMaskCounter, 31));\n    }\n    changeMaskCounter++;\n}\nfunction applyI18n(tView, lView, index) {\n    if (changeMaskCounter > 0) {\n        ngDevMode && assertDefined(tView, `tView should be defined`);\n        const tI18n = tView.data[index];\n        // When `index` points to an `ɵɵi18nAttributes` then we have an array otherwise `TI18n`\n        const updateOpCodes = Array.isArray(tI18n) ? tI18n : tI18n.update;\n        const bindingsStartIndex = getBindingIndex() - changeMaskCounter - 1;\n        applyUpdateOpCodes(tView, lView, updateOpCodes, bindingsStartIndex, changeMask);\n    }\n    // Reset changeMask & maskBit to default for the next update cycle\n    changeMask = 0b0;\n    changeMaskCounter = 0;\n}\n/**\n * Apply `I18nCreateOpCodes` op-codes as stored in `TI18n.create`.\n *\n * Creates text (and comment) nodes which are internationalized.\n *\n * @param lView Current lView\n * @param createOpCodes Set of op-codes to apply\n * @param parentRNode Parent node (so that direct children can be added eagerly) or `null` if it is\n *     a root node.\n * @param insertInFrontOf DOM node that should be used as an anchor.\n */\nfunction applyCreateOpCodes(lView, createOpCodes, parentRNode, insertInFrontOf) {\n    const renderer = lView[RENDERER];\n    for (let i = 0; i < createOpCodes.length; i++) {\n        const opCode = createOpCodes[i++];\n        const text = createOpCodes[i];\n        const isComment = (opCode & I18nCreateOpCode.COMMENT) === I18nCreateOpCode.COMMENT;\n        const appendNow = (opCode & I18nCreateOpCode.APPEND_EAGERLY) === I18nCreateOpCode.APPEND_EAGERLY;\n        const index = opCode >>> I18nCreateOpCode.SHIFT;\n        let rNode = lView[index];\n        if (rNode === null) {\n            // We only create new DOM nodes if they don't already exist: If ICU switches case back to a\n            // case which was already instantiated, no need to create new DOM nodes.\n            rNode = lView[index] =\n                isComment ? renderer.createComment(text) : createTextNode(renderer, text);\n        }\n        if (appendNow && parentRNode !== null) {\n            nativeInsertBefore(renderer, parentRNode, rNode, insertInFrontOf, false);\n        }\n    }\n}\n/**\n * Apply `I18nMutateOpCodes` OpCodes.\n *\n * @param tView Current `TView`\n * @param mutableOpCodes Mutable OpCodes to process\n * @param lView Current `LView`\n * @param anchorRNode place where the i18n node should be inserted.\n */\nfunction applyMutableOpCodes(tView, mutableOpCodes, lView, anchorRNode) {\n    ngDevMode && assertDomNode(anchorRNode);\n    const renderer = lView[RENDERER];\n    // `rootIdx` represents the node into which all inserts happen.\n    let rootIdx = null;\n    // `rootRNode` represents the real node into which we insert. This can be different from\n    // `lView[rootIdx]` if we have projection.\n    //  - null we don't have a parent (as can be the case in when we are inserting into a root of\n    //    LView which has no parent.)\n    //  - `RElement` The element representing the root after taking projection into account.\n    let rootRNode;\n    for (let i = 0; i < mutableOpCodes.length; i++) {\n        const opCode = mutableOpCodes[i];\n        if (typeof opCode == 'string') {\n            const textNodeIndex = mutableOpCodes[++i];\n            if (lView[textNodeIndex] === null) {\n                ngDevMode && ngDevMode.rendererCreateTextNode++;\n                ngDevMode && assertIndexInRange(lView, textNodeIndex);\n                lView[textNodeIndex] = createTextNode(renderer, opCode);\n            }\n        }\n        else if (typeof opCode == 'number') {\n            switch (opCode & 1 /* IcuCreateOpCode.MASK_INSTRUCTION */) {\n                case 0 /* IcuCreateOpCode.AppendChild */:\n                    const parentIdx = getParentFromIcuCreateOpCode(opCode);\n                    if (rootIdx === null) {\n                        // The first operation should save the `rootIdx` because the first operation\n                        // must insert into the root. (Only subsequent operations can insert into a dynamic\n                        // parent)\n                        rootIdx = parentIdx;\n                        rootRNode = nativeParentNode(renderer, anchorRNode);\n                    }\n                    let insertInFrontOf;\n                    let parentRNode;\n                    if (parentIdx === rootIdx) {\n                        insertInFrontOf = anchorRNode;\n                        parentRNode = rootRNode;\n                    }\n                    else {\n                        insertInFrontOf = null;\n                        parentRNode = unwrapRNode(lView[parentIdx]);\n                    }\n                    // FIXME(misko): Refactor with `processI18nText`\n                    if (parentRNode !== null) {\n                        // This can happen if the `LView` we are adding to is not attached to a parent `LView`.\n                        // In such a case there is no \"root\" we can attach to. This is fine, as we still need to\n                        // create the elements. When the `LView` gets later added to a parent these \"root\" nodes\n                        // get picked up and added.\n                        ngDevMode && assertDomNode(parentRNode);\n                        const refIdx = getRefFromIcuCreateOpCode(opCode);\n                        ngDevMode && assertGreaterThan(refIdx, HEADER_OFFSET, 'Missing ref');\n                        // `unwrapRNode` is not needed here as all of these point to RNodes as part of the i18n\n                        // which can't have components.\n                        const child = lView[refIdx];\n                        ngDevMode && assertDomNode(child);\n                        nativeInsertBefore(renderer, parentRNode, child, insertInFrontOf, false);\n                        const tIcu = getTIcu(tView, refIdx);\n                        if (tIcu !== null && typeof tIcu === 'object') {\n                            // If we just added a comment node which has ICU then that ICU may have already been\n                            // rendered and therefore we need to re-add it here.\n                            ngDevMode && assertTIcu(tIcu);\n                            const caseIndex = getCurrentICUCaseIndex(tIcu, lView);\n                            if (caseIndex !== null) {\n                                applyMutableOpCodes(tView, tIcu.create[caseIndex], lView, lView[tIcu.anchorIdx]);\n                            }\n                        }\n                    }\n                    break;\n                case 1 /* IcuCreateOpCode.Attr */:\n                    const elementNodeIndex = opCode >>> 1 /* IcuCreateOpCode.SHIFT_REF */;\n                    const attrName = mutableOpCodes[++i];\n                    const attrValue = mutableOpCodes[++i];\n                    // This code is used for ICU expressions only, since we don't support\n                    // directives/components in ICUs, we don't need to worry about inputs here\n                    setElementAttribute(renderer, getNativeByIndex(elementNodeIndex, lView), null, null, attrName, attrValue, null);\n                    break;\n                default:\n                    if (ngDevMode) {\n                        throw new RuntimeError(700 /* RuntimeErrorCode.INVALID_I18N_STRUCTURE */, `Unable to determine the type of mutate operation for \"${opCode}\"`);\n                    }\n            }\n        }\n        else {\n            switch (opCode) {\n                case ICU_MARKER:\n                    const commentValue = mutableOpCodes[++i];\n                    const commentNodeIndex = mutableOpCodes[++i];\n                    if (lView[commentNodeIndex] === null) {\n                        ngDevMode &&\n                            assertEqual(typeof commentValue, 'string', `Expected \"${commentValue}\" to be a comment node value`);\n                        ngDevMode && ngDevMode.rendererCreateComment++;\n                        ngDevMode && assertIndexInExpandoRange(lView, commentNodeIndex);\n                        const commentRNode = lView[commentNodeIndex] =\n                            createCommentNode(renderer, commentValue);\n                        // FIXME(misko): Attaching patch data is only needed for the root (Also add tests)\n                        attachPatchData(commentRNode, lView);\n                    }\n                    break;\n                case ELEMENT_MARKER:\n                    const tagName = mutableOpCodes[++i];\n                    const elementNodeIndex = mutableOpCodes[++i];\n                    if (lView[elementNodeIndex] === null) {\n                        ngDevMode &&\n                            assertEqual(typeof tagName, 'string', `Expected \"${tagName}\" to be an element node tag name`);\n                        ngDevMode && ngDevMode.rendererCreateElement++;\n                        ngDevMode && assertIndexInExpandoRange(lView, elementNodeIndex);\n                        const elementRNode = lView[elementNodeIndex] =\n                            createElementNode(renderer, tagName, null);\n                        // FIXME(misko): Attaching patch data is only needed for the root (Also add tests)\n                        attachPatchData(elementRNode, lView);\n                    }\n                    break;\n                default:\n                    ngDevMode &&\n                        throwError(`Unable to determine the type of mutate operation for \"${opCode}\"`);\n            }\n        }\n    }\n}\n/**\n * Apply `I18nUpdateOpCodes` OpCodes\n *\n * @param tView Current `TView`\n * @param lView Current `LView`\n * @param updateOpCodes OpCodes to process\n * @param bindingsStartIndex Location of the first `ɵɵi18nApply`\n * @param changeMask Each bit corresponds to a `ɵɵi18nExp` (Counting backwards from\n *     `bindingsStartIndex`)\n */\nfunction applyUpdateOpCodes(tView, lView, updateOpCodes, bindingsStartIndex, changeMask) {\n    for (let i = 0; i < updateOpCodes.length; i++) {\n        // bit code to check if we should apply the next update\n        const checkBit = updateOpCodes[i];\n        // Number of opCodes to skip until next set of update codes\n        const skipCodes = updateOpCodes[++i];\n        if (checkBit & changeMask) {\n            // The value has been updated since last checked\n            let value = '';\n            for (let j = i + 1; j <= (i + skipCodes); j++) {\n                const opCode = updateOpCodes[j];\n                if (typeof opCode == 'string') {\n                    value += opCode;\n                }\n                else if (typeof opCode == 'number') {\n                    if (opCode < 0) {\n                        // Negative opCode represent `i18nExp` values offset.\n                        value += renderStringify(lView[bindingsStartIndex - opCode]);\n                    }\n                    else {\n                        const nodeIndex = (opCode >>> 2 /* I18nUpdateOpCode.SHIFT_REF */);\n                        switch (opCode & 3 /* I18nUpdateOpCode.MASK_OPCODE */) {\n                            case 1 /* I18nUpdateOpCode.Attr */:\n                                const propName = updateOpCodes[++j];\n                                const sanitizeFn = updateOpCodes[++j];\n                                const tNodeOrTagName = tView.data[nodeIndex];\n                                ngDevMode && assertDefined(tNodeOrTagName, 'Experting TNode or string');\n                                if (typeof tNodeOrTagName === 'string') {\n                                    // IF we don't have a `TNode`, then we are an element in ICU (as ICU content does\n                                    // not have TNode), in which case we know that there are no directives, and hence\n                                    // we use attribute setting.\n                                    setElementAttribute(lView[RENDERER], lView[nodeIndex], null, tNodeOrTagName, propName, value, sanitizeFn);\n                                }\n                                else {\n                                    elementPropertyInternal(tView, tNodeOrTagName, lView, propName, value, lView[RENDERER], sanitizeFn, false);\n                                }\n                                break;\n                            case 0 /* I18nUpdateOpCode.Text */:\n                                const rText = lView[nodeIndex];\n                                rText !== null && updateTextNode(lView[RENDERER], rText, value);\n                                break;\n                            case 2 /* I18nUpdateOpCode.IcuSwitch */:\n                                applyIcuSwitchCase(tView, getTIcu(tView, nodeIndex), lView, value);\n                                break;\n                            case 3 /* I18nUpdateOpCode.IcuUpdate */:\n                                applyIcuUpdateCase(tView, getTIcu(tView, nodeIndex), bindingsStartIndex, lView);\n                                break;\n                        }\n                    }\n                }\n            }\n        }\n        else {\n            const opCode = updateOpCodes[i + 1];\n            if (opCode > 0 && (opCode & 3 /* I18nUpdateOpCode.MASK_OPCODE */) === 3 /* I18nUpdateOpCode.IcuUpdate */) {\n                // Special case for the `icuUpdateCase`. It could be that the mask did not match, but\n                // we still need to execute `icuUpdateCase` because the case has changed recently due to\n                // previous `icuSwitchCase` instruction. (`icuSwitchCase` and `icuUpdateCase` always come in\n                // pairs.)\n                const nodeIndex = (opCode >>> 2 /* I18nUpdateOpCode.SHIFT_REF */);\n                const tIcu = getTIcu(tView, nodeIndex);\n                const currentIndex = lView[tIcu.currentCaseLViewIndex];\n                if (currentIndex < 0) {\n                    applyIcuUpdateCase(tView, tIcu, bindingsStartIndex, lView);\n                }\n            }\n        }\n        i += skipCodes;\n    }\n}\n/**\n * Apply OpCodes associated with updating an existing ICU.\n *\n * @param tView Current `TView`\n * @param tIcu Current `TIcu`\n * @param bindingsStartIndex Location of the first `ɵɵi18nApply`\n * @param lView Current `LView`\n */\nfunction applyIcuUpdateCase(tView, tIcu, bindingsStartIndex, lView) {\n    ngDevMode && assertIndexInRange(lView, tIcu.currentCaseLViewIndex);\n    let activeCaseIndex = lView[tIcu.currentCaseLViewIndex];\n    if (activeCaseIndex !== null) {\n        let mask = changeMask;\n        if (activeCaseIndex < 0) {\n            // Clear the flag.\n            // Negative number means that the ICU was freshly created and we need to force the update.\n            activeCaseIndex = lView[tIcu.currentCaseLViewIndex] = ~activeCaseIndex;\n            // -1 is same as all bits on, which simulates creation since it marks all bits dirty\n            mask = -1;\n        }\n        applyUpdateOpCodes(tView, lView, tIcu.update[activeCaseIndex], bindingsStartIndex, mask);\n    }\n}\n/**\n * Apply OpCodes associated with switching a case on ICU.\n *\n * This involves tearing down existing case and than building up a new case.\n *\n * @param tView Current `TView`\n * @param tIcu Current `TIcu`\n * @param lView Current `LView`\n * @param value Value of the case to update to.\n */\nfunction applyIcuSwitchCase(tView, tIcu, lView, value) {\n    // Rebuild a new case for this ICU\n    const caseIndex = getCaseIndex(tIcu, value);\n    let activeCaseIndex = getCurrentICUCaseIndex(tIcu, lView);\n    if (activeCaseIndex !== caseIndex) {\n        applyIcuSwitchCaseRemove(tView, tIcu, lView);\n        lView[tIcu.currentCaseLViewIndex] = caseIndex === null ? null : ~caseIndex;\n        if (caseIndex !== null) {\n            // Add the nodes for the new case\n            const anchorRNode = lView[tIcu.anchorIdx];\n            if (anchorRNode) {\n                ngDevMode && assertDomNode(anchorRNode);\n                applyMutableOpCodes(tView, tIcu.create[caseIndex], lView, anchorRNode);\n            }\n        }\n    }\n}\n/**\n * Apply OpCodes associated with tearing ICU case.\n *\n * This involves tearing down existing case and than building up a new case.\n *\n * @param tView Current `TView`\n * @param tIcu Current `TIcu`\n * @param lView Current `LView`\n */\nfunction applyIcuSwitchCaseRemove(tView, tIcu, lView) {\n    let activeCaseIndex = getCurrentICUCaseIndex(tIcu, lView);\n    if (activeCaseIndex !== null) {\n        const removeCodes = tIcu.remove[activeCaseIndex];\n        for (let i = 0; i < removeCodes.length; i++) {\n            const nodeOrIcuIndex = removeCodes[i];\n            if (nodeOrIcuIndex > 0) {\n                // Positive numbers are `RNode`s.\n                const rNode = getNativeByIndex(nodeOrIcuIndex, lView);\n                rNode !== null && nativeRemoveNode(lView[RENDERER], rNode);\n            }\n            else {\n                // Negative numbers are ICUs\n                applyIcuSwitchCaseRemove(tView, getTIcu(tView, ~nodeOrIcuIndex), lView);\n            }\n        }\n    }\n}\n/**\n * Returns the index of the current case of an ICU expression depending on the main binding value\n *\n * @param icuExpression\n * @param bindingValue The value of the main binding used by this ICU expression\n */\nfunction getCaseIndex(icuExpression, bindingValue) {\n    let index = icuExpression.cases.indexOf(bindingValue);\n    if (index === -1) {\n        switch (icuExpression.type) {\n            case 1 /* IcuType.plural */: {\n                const resolvedCase = getPluralCase(bindingValue, getLocaleId());\n                index = icuExpression.cases.indexOf(resolvedCase);\n                if (index === -1 && resolvedCase !== 'other') {\n                    index = icuExpression.cases.indexOf('other');\n                }\n                break;\n            }\n            case 0 /* IcuType.select */: {\n                index = icuExpression.cases.indexOf('other');\n                break;\n            }\n        }\n    }\n    return index === -1 ? null : index;\n}\n\nfunction loadIcuContainerVisitor() {\n    const _stack = [];\n    let _index = -1;\n    let _lView;\n    let _removes;\n    /**\n     * Retrieves a set of root nodes from `TIcu.remove`. Used by `TNodeType.ICUContainer`\n     * to determine which root belong to the ICU.\n     *\n     * Example of usage.\n     * ```\n     * const nextRNode = icuContainerIteratorStart(tIcuContainerNode, lView);\n     * let rNode: RNode|null;\n     * while(rNode = nextRNode()) {\n     *   console.log(rNode);\n     * }\n     * ```\n     *\n     * @param tIcuContainerNode Current `TIcuContainerNode`\n     * @param lView `LView` where the `RNode`s should be looked up.\n     */\n    function icuContainerIteratorStart(tIcuContainerNode, lView) {\n        _lView = lView;\n        while (_stack.length)\n            _stack.pop();\n        ngDevMode && assertTNodeForLView(tIcuContainerNode, lView);\n        enterIcu(tIcuContainerNode.value, lView);\n        return icuContainerIteratorNext;\n    }\n    function enterIcu(tIcu, lView) {\n        _index = 0;\n        const currentCase = getCurrentICUCaseIndex(tIcu, lView);\n        if (currentCase !== null) {\n            ngDevMode && assertNumberInRange(currentCase, 0, tIcu.cases.length - 1);\n            _removes = tIcu.remove[currentCase];\n        }\n        else {\n            _removes = EMPTY_ARRAY;\n        }\n    }\n    function icuContainerIteratorNext() {\n        if (_index < _removes.length) {\n            const removeOpCode = _removes[_index++];\n            ngDevMode && assertNumber(removeOpCode, 'Expecting OpCode number');\n            if (removeOpCode > 0) {\n                const rNode = _lView[removeOpCode];\n                ngDevMode && assertDomNode(rNode);\n                return rNode;\n            }\n            else {\n                _stack.push(_index, _removes);\n                // ICUs are represented by negative indices\n                const tIcuIndex = ~removeOpCode;\n                const tIcu = _lView[TVIEW].data[tIcuIndex];\n                ngDevMode && assertTIcu(tIcu);\n                enterIcu(tIcu, _lView);\n                return icuContainerIteratorNext();\n            }\n        }\n        else {\n            if (_stack.length === 0) {\n                return null;\n            }\n            else {\n                _removes = _stack.pop();\n                _index = _stack.pop();\n                return icuContainerIteratorNext();\n            }\n        }\n    }\n    return icuContainerIteratorStart;\n}\n\n/**\n * Converts `I18nCreateOpCodes` array into a human readable format.\n *\n * This function is attached to the `I18nCreateOpCodes.debug` property if `ngDevMode` is enabled.\n * This function provides a human readable view of the opcodes. This is useful when debugging the\n * application as well as writing more readable tests.\n *\n * @param this `I18nCreateOpCodes` if attached as a method.\n * @param opcodes `I18nCreateOpCodes` if invoked as a function.\n */\nfunction i18nCreateOpCodesToString(opcodes) {\n    const createOpCodes = opcodes || (Array.isArray(this) ? this : []);\n    let lines = [];\n    for (let i = 0; i < createOpCodes.length; i++) {\n        const opCode = createOpCodes[i++];\n        const text = createOpCodes[i];\n        const isComment = (opCode & I18nCreateOpCode.COMMENT) === I18nCreateOpCode.COMMENT;\n        const appendNow = (opCode & I18nCreateOpCode.APPEND_EAGERLY) === I18nCreateOpCode.APPEND_EAGERLY;\n        const index = opCode >>> I18nCreateOpCode.SHIFT;\n        lines.push(`lView[${index}] = document.${isComment ? 'createComment' : 'createText'}(${JSON.stringify(text)});`);\n        if (appendNow) {\n            lines.push(`parent.appendChild(lView[${index}]);`);\n        }\n    }\n    return lines;\n}\n/**\n * Converts `I18nUpdateOpCodes` array into a human readable format.\n *\n * This function is attached to the `I18nUpdateOpCodes.debug` property if `ngDevMode` is enabled.\n * This function provides a human readable view of the opcodes. This is useful when debugging the\n * application as well as writing more readable tests.\n *\n * @param this `I18nUpdateOpCodes` if attached as a method.\n * @param opcodes `I18nUpdateOpCodes` if invoked as a function.\n */\nfunction i18nUpdateOpCodesToString(opcodes) {\n    const parser = new OpCodeParser(opcodes || (Array.isArray(this) ? this : []));\n    let lines = [];\n    function consumeOpCode(value) {\n        const ref = value >>> 2 /* I18nUpdateOpCode.SHIFT_REF */;\n        const opCode = value & 3 /* I18nUpdateOpCode.MASK_OPCODE */;\n        switch (opCode) {\n            case 0 /* I18nUpdateOpCode.Text */:\n                return `(lView[${ref}] as Text).textContent = $$$`;\n            case 1 /* I18nUpdateOpCode.Attr */:\n                const attrName = parser.consumeString();\n                const sanitizationFn = parser.consumeFunction();\n                const value = sanitizationFn ? `(${sanitizationFn})($$$)` : '$$$';\n                return `(lView[${ref}] as Element).setAttribute('${attrName}', ${value})`;\n            case 2 /* I18nUpdateOpCode.IcuSwitch */:\n                return `icuSwitchCase(${ref}, $$$)`;\n            case 3 /* I18nUpdateOpCode.IcuUpdate */:\n                return `icuUpdateCase(${ref})`;\n        }\n        throw new Error('unexpected OpCode');\n    }\n    while (parser.hasMore()) {\n        let mask = parser.consumeNumber();\n        let size = parser.consumeNumber();\n        const end = parser.i + size;\n        const statements = [];\n        let statement = '';\n        while (parser.i < end) {\n            let value = parser.consumeNumberOrString();\n            if (typeof value === 'string') {\n                statement += value;\n            }\n            else if (value < 0) {\n                // Negative numbers are ref indexes\n                // Here `i` refers to current binding index. It is to signify that the value is relative,\n                // rather than absolute.\n                statement += '${lView[i' + value + ']}';\n            }\n            else {\n                // Positive numbers are operations.\n                const opCodeText = consumeOpCode(value);\n                statements.push(opCodeText.replace('$$$', '`' + statement + '`') + ';');\n                statement = '';\n            }\n        }\n        lines.push(`if (mask & 0b${mask.toString(2)}) { ${statements.join(' ')} }`);\n    }\n    return lines;\n}\n/**\n * Converts `I18nCreateOpCodes` array into a human readable format.\n *\n * This function is attached to the `I18nCreateOpCodes.debug` if `ngDevMode` is enabled. This\n * function provides a human readable view of the opcodes. This is useful when debugging the\n * application as well as writing more readable tests.\n *\n * @param this `I18nCreateOpCodes` if attached as a method.\n * @param opcodes `I18nCreateOpCodes` if invoked as a function.\n */\nfunction icuCreateOpCodesToString(opcodes) {\n    const parser = new OpCodeParser(opcodes || (Array.isArray(this) ? this : []));\n    let lines = [];\n    function consumeOpCode(opCode) {\n        const parent = getParentFromIcuCreateOpCode(opCode);\n        const ref = getRefFromIcuCreateOpCode(opCode);\n        switch (getInstructionFromIcuCreateOpCode(opCode)) {\n            case 0 /* IcuCreateOpCode.AppendChild */:\n                return `(lView[${parent}] as Element).appendChild(lView[${lastRef}])`;\n            case 1 /* IcuCreateOpCode.Attr */:\n                return `(lView[${ref}] as Element).setAttribute(\"${parser.consumeString()}\", \"${parser.consumeString()}\")`;\n        }\n        throw new Error('Unexpected OpCode: ' + getInstructionFromIcuCreateOpCode(opCode));\n    }\n    let lastRef = -1;\n    while (parser.hasMore()) {\n        let value = parser.consumeNumberStringOrMarker();\n        if (value === ICU_MARKER) {\n            const text = parser.consumeString();\n            lastRef = parser.consumeNumber();\n            lines.push(`lView[${lastRef}] = document.createComment(\"${text}\")`);\n        }\n        else if (value === ELEMENT_MARKER) {\n            const text = parser.consumeString();\n            lastRef = parser.consumeNumber();\n            lines.push(`lView[${lastRef}] = document.createElement(\"${text}\")`);\n        }\n        else if (typeof value === 'string') {\n            lastRef = parser.consumeNumber();\n            lines.push(`lView[${lastRef}] = document.createTextNode(\"${value}\")`);\n        }\n        else if (typeof value === 'number') {\n            const line = consumeOpCode(value);\n            line && lines.push(line);\n        }\n        else {\n            throw new Error('Unexpected value');\n        }\n    }\n    return lines;\n}\n/**\n * Converts `I18nRemoveOpCodes` array into a human readable format.\n *\n * This function is attached to the `I18nRemoveOpCodes.debug` if `ngDevMode` is enabled. This\n * function provides a human readable view of the opcodes. This is useful when debugging the\n * application as well as writing more readable tests.\n *\n * @param this `I18nRemoveOpCodes` if attached as a method.\n * @param opcodes `I18nRemoveOpCodes` if invoked as a function.\n */\nfunction i18nRemoveOpCodesToString(opcodes) {\n    const removeCodes = opcodes || (Array.isArray(this) ? this : []);\n    let lines = [];\n    for (let i = 0; i < removeCodes.length; i++) {\n        const nodeOrIcuIndex = removeCodes[i];\n        if (nodeOrIcuIndex > 0) {\n            // Positive numbers are `RNode`s.\n            lines.push(`remove(lView[${nodeOrIcuIndex}])`);\n        }\n        else {\n            // Negative numbers are ICUs\n            lines.push(`removeNestedICU(${~nodeOrIcuIndex})`);\n        }\n    }\n    return lines;\n}\nclass OpCodeParser {\n    constructor(codes) {\n        this.i = 0;\n        this.codes = codes;\n    }\n    hasMore() {\n        return this.i < this.codes.length;\n    }\n    consumeNumber() {\n        let value = this.codes[this.i++];\n        assertNumber(value, 'expecting number in OpCode');\n        return value;\n    }\n    consumeString() {\n        let value = this.codes[this.i++];\n        assertString(value, 'expecting string in OpCode');\n        return value;\n    }\n    consumeFunction() {\n        let value = this.codes[this.i++];\n        if (value === null || typeof value === 'function') {\n            return value;\n        }\n        throw new Error('expecting function in OpCode');\n    }\n    consumeNumberOrString() {\n        let value = this.codes[this.i++];\n        if (typeof value === 'string') {\n            return value;\n        }\n        assertNumber(value, 'expecting number or string in OpCode');\n        return value;\n    }\n    consumeNumberStringOrMarker() {\n        let value = this.codes[this.i++];\n        if (typeof value === 'string' || typeof value === 'number' || value == ICU_MARKER ||\n            value == ELEMENT_MARKER) {\n            return value;\n        }\n        assertNumber(value, 'expecting number, string, ICU_MARKER or ELEMENT_MARKER in OpCode');\n        return value;\n    }\n}\n\nconst BINDING_REGEXP = /�(\\d+):?\\d*�/gi;\nconst ICU_REGEXP = /({\\s*�\\d+:?\\d*�\\s*,\\s*\\S{6}\\s*,[\\s\\S]*})/gi;\nconst NESTED_ICU = /�(\\d+)�/;\nconst ICU_BLOCK_REGEXP = /^\\s*(�\\d+:?\\d*�)\\s*,\\s*(select|plural)\\s*,/;\nconst MARKER = `�`;\nconst SUBTEMPLATE_REGEXP = /�\\/?\\*(\\d+:\\d+)�/gi;\nconst PH_REGEXP = /�(\\/?[#*]\\d+):?\\d*�/gi;\n/**\n * Angular Dart introduced &ngsp; as a placeholder for non-removable space, see:\n * https://github.com/dart-lang/angular/blob/0bb611387d29d65b5af7f9d2515ab571fd3fbee4/_tests/test/compiler/preserve_whitespace_test.dart#L25-L32\n * In Angular Dart &ngsp; is converted to the 0xE500 PUA (Private Use Areas) unicode character\n * and later on replaced by a space. We are re-implementing the same idea here, since translations\n * might contain this special character.\n */\nconst NGSP_UNICODE_REGEXP = /\\uE500/g;\nfunction replaceNgsp(value) {\n    return value.replace(NGSP_UNICODE_REGEXP, ' ');\n}\n/**\n * Patch a `debug` property getter on top of the existing object.\n *\n * NOTE: always call this method with `ngDevMode && attachDebugObject(...)`\n *\n * @param obj Object to patch\n * @param debugGetter Getter returning a value to patch\n */\nfunction attachDebugGetter(obj, debugGetter) {\n    if (ngDevMode) {\n        Object.defineProperty(obj, 'debug', { get: debugGetter, enumerable: false });\n    }\n    else {\n        throw new Error('This method should be guarded with `ngDevMode` so that it can be tree shaken in production!');\n    }\n}\n/**\n * Create dynamic nodes from i18n translation block.\n *\n * - Text nodes are created synchronously\n * - TNodes are linked into tree lazily\n *\n * @param tView Current `TView`\n * @parentTNodeIndex index to the parent TNode of this i18n block\n * @param lView Current `LView`\n * @param index Index of `ɵɵi18nStart` instruction.\n * @param message Message to translate.\n * @param subTemplateIndex Index into the sub template of message translation. (ie in case of\n *     `ngIf`) (-1 otherwise)\n */\nfunction i18nStartFirstCreatePass(tView, parentTNodeIndex, lView, index, message, subTemplateIndex) {\n    const rootTNode = getCurrentParentTNode();\n    const createOpCodes = [];\n    const updateOpCodes = [];\n    const existingTNodeStack = [[]];\n    if (ngDevMode) {\n        attachDebugGetter(createOpCodes, i18nCreateOpCodesToString);\n        attachDebugGetter(updateOpCodes, i18nUpdateOpCodesToString);\n    }\n    message = getTranslationForTemplate(message, subTemplateIndex);\n    const msgParts = replaceNgsp(message).split(PH_REGEXP);\n    for (let i = 0; i < msgParts.length; i++) {\n        let value = msgParts[i];\n        if ((i & 1) === 0) {\n            // Even indexes are text (including bindings & ICU expressions)\n            const parts = i18nParseTextIntoPartsAndICU(value);\n            for (let j = 0; j < parts.length; j++) {\n                let part = parts[j];\n                if ((j & 1) === 0) {\n                    // `j` is odd therefore `part` is string\n                    const text = part;\n                    ngDevMode && assertString(text, 'Parsed ICU part should be string');\n                    if (text !== '') {\n                        i18nStartFirstCreatePassProcessTextNode(tView, rootTNode, existingTNodeStack[0], createOpCodes, updateOpCodes, lView, text);\n                    }\n                }\n                else {\n                    // `j` is Even therefor `part` is an `ICUExpression`\n                    const icuExpression = part;\n                    // Verify that ICU expression has the right shape. Translations might contain invalid\n                    // constructions (while original messages were correct), so ICU parsing at runtime may\n                    // not succeed (thus `icuExpression` remains a string).\n                    // Note: we intentionally retain the error here by not using `ngDevMode`, because\n                    // the value can change based on the locale and users aren't guaranteed to hit\n                    // an invalid string while they're developing.\n                    if (typeof icuExpression !== 'object') {\n                        throw new Error(`Unable to parse ICU expression in \"${message}\" message.`);\n                    }\n                    const icuContainerTNode = createTNodeAndAddOpCode(tView, rootTNode, existingTNodeStack[0], lView, createOpCodes, ngDevMode ? `ICU ${index}:${icuExpression.mainBinding}` : '', true);\n                    const icuNodeIndex = icuContainerTNode.index;\n                    ngDevMode &&\n                        assertGreaterThanOrEqual(icuNodeIndex, HEADER_OFFSET, 'Index must be in absolute LView offset');\n                    icuStart(tView, lView, updateOpCodes, parentTNodeIndex, icuExpression, icuNodeIndex);\n                }\n            }\n        }\n        else {\n            // Odd indexes are placeholders (elements and sub-templates)\n            // At this point value is something like: '/#1:2' (originally coming from '�/#1:2�')\n            const isClosing = value.charCodeAt(0) === 47 /* CharCode.SLASH */;\n            const type = value.charCodeAt(isClosing ? 1 : 0);\n            ngDevMode && assertOneOf(type, 42 /* CharCode.STAR */, 35 /* CharCode.HASH */);\n            const index = HEADER_OFFSET + Number.parseInt(value.substring((isClosing ? 2 : 1)));\n            if (isClosing) {\n                existingTNodeStack.shift();\n                setCurrentTNode(getCurrentParentTNode(), false);\n            }\n            else {\n                const tNode = createTNodePlaceholder(tView, existingTNodeStack[0], index);\n                existingTNodeStack.unshift([]);\n                setCurrentTNode(tNode, true);\n            }\n        }\n    }\n    tView.data[index] = {\n        create: createOpCodes,\n        update: updateOpCodes,\n    };\n}\n/**\n * Allocate space in i18n Range add create OpCode instruction to create a text or comment node.\n *\n * @param tView Current `TView` needed to allocate space in i18n range.\n * @param rootTNode Root `TNode` of the i18n block. This node determines if the new TNode will be\n *     added as part of the `i18nStart` instruction or as part of the `TNode.insertBeforeIndex`.\n * @param existingTNodes internal state for `addTNodeAndUpdateInsertBeforeIndex`.\n * @param lView Current `LView` needed to allocate space in i18n range.\n * @param createOpCodes Array storing `I18nCreateOpCodes` where new opCodes will be added.\n * @param text Text to be added when the `Text` or `Comment` node will be created.\n * @param isICU true if a `Comment` node for ICU (instead of `Text`) node should be created.\n */\nfunction createTNodeAndAddOpCode(tView, rootTNode, existingTNodes, lView, createOpCodes, text, isICU) {\n    const i18nNodeIdx = allocExpando(tView, lView, 1, null);\n    let opCode = i18nNodeIdx << I18nCreateOpCode.SHIFT;\n    let parentTNode = getCurrentParentTNode();\n    if (rootTNode === parentTNode) {\n        // FIXME(misko): A null `parentTNode` should represent when we fall of the `LView` boundary.\n        // (there is no parent), but in some circumstances (because we are inconsistent about how we set\n        // `previousOrParentTNode`) it could point to `rootTNode` So this is a work around.\n        parentTNode = null;\n    }\n    if (parentTNode === null) {\n        // If we don't have a parent that means that we can eagerly add nodes.\n        // If we have a parent than these nodes can't be added now (as the parent has not been created\n        // yet) and instead the `parentTNode` is responsible for adding it. See\n        // `TNode.insertBeforeIndex`\n        opCode |= I18nCreateOpCode.APPEND_EAGERLY;\n    }\n    if (isICU) {\n        opCode |= I18nCreateOpCode.COMMENT;\n        ensureIcuContainerVisitorLoaded(loadIcuContainerVisitor);\n    }\n    createOpCodes.push(opCode, text === null ? '' : text);\n    // We store `{{?}}` so that when looking at debug `TNodeType.template` we can see where the\n    // bindings are.\n    const tNode = createTNodeAtIndex(tView, i18nNodeIdx, isICU ? 32 /* TNodeType.Icu */ : 1 /* TNodeType.Text */, text === null ? (ngDevMode ? '{{?}}' : '') : text, null);\n    addTNodeAndUpdateInsertBeforeIndex(existingTNodes, tNode);\n    const tNodeIdx = tNode.index;\n    setCurrentTNode(tNode, false /* Text nodes are self closing */);\n    if (parentTNode !== null && rootTNode !== parentTNode) {\n        // We are a child of deeper node (rather than a direct child of `i18nStart` instruction.)\n        // We have to make sure to add ourselves to the parent.\n        setTNodeInsertBeforeIndex(parentTNode, tNodeIdx);\n    }\n    return tNode;\n}\n/**\n * Processes text node in i18n block.\n *\n * Text nodes can have:\n * - Create instruction in `createOpCodes` for creating the text node.\n * - Allocate spec for text node in i18n range of `LView`\n * - If contains binding:\n *    - bindings => allocate space in i18n range of `LView` to store the binding value.\n *    - populate `updateOpCodes` with update instructions.\n *\n * @param tView Current `TView`\n * @param rootTNode Root `TNode` of the i18n block. This node determines if the new TNode will\n *     be added as part of the `i18nStart` instruction or as part of the\n *     `TNode.insertBeforeIndex`.\n * @param existingTNodes internal state for `addTNodeAndUpdateInsertBeforeIndex`.\n * @param createOpCodes Location where the creation OpCodes will be stored.\n * @param lView Current `LView`\n * @param text The translated text (which may contain binding)\n */\nfunction i18nStartFirstCreatePassProcessTextNode(tView, rootTNode, existingTNodes, createOpCodes, updateOpCodes, lView, text) {\n    const hasBinding = text.match(BINDING_REGEXP);\n    const tNode = createTNodeAndAddOpCode(tView, rootTNode, existingTNodes, lView, createOpCodes, hasBinding ? null : text, false);\n    if (hasBinding) {\n        generateBindingUpdateOpCodes(updateOpCodes, text, tNode.index, null, 0, null);\n    }\n}\n/**\n * See `i18nAttributes` above.\n */\nfunction i18nAttributesFirstPass(tView, index, values) {\n    const previousElement = getCurrentTNode();\n    const previousElementIndex = previousElement.index;\n    const updateOpCodes = [];\n    if (ngDevMode) {\n        attachDebugGetter(updateOpCodes, i18nUpdateOpCodesToString);\n    }\n    if (tView.firstCreatePass && tView.data[index] === null) {\n        for (let i = 0; i < values.length; i += 2) {\n            const attrName = values[i];\n            const message = values[i + 1];\n            if (message !== '') {\n                // Check if attribute value contains an ICU and throw an error if that's the case.\n                // ICUs in element attributes are not supported.\n                // Note: we intentionally retain the error here by not using `ngDevMode`, because\n                // the `value` can change based on the locale and users aren't guaranteed to hit\n                // an invalid string while they're developing.\n                if (ICU_REGEXP.test(message)) {\n                    throw new Error(`ICU expressions are not supported in attributes. Message: \"${message}\".`);\n                }\n                // i18n attributes that hit this code path are guaranteed to have bindings, because\n                // the compiler treats static i18n attributes as regular attribute bindings.\n                // Since this may not be the first i18n attribute on this element we need to pass in how\n                // many previous bindings there have already been.\n                generateBindingUpdateOpCodes(updateOpCodes, message, previousElementIndex, attrName, countBindings(updateOpCodes), null);\n            }\n        }\n        tView.data[index] = updateOpCodes;\n    }\n}\n/**\n * Generate the OpCodes to update the bindings of a string.\n *\n * @param updateOpCodes Place where the update opcodes will be stored.\n * @param str The string containing the bindings.\n * @param destinationNode Index of the destination node which will receive the binding.\n * @param attrName Name of the attribute, if the string belongs to an attribute.\n * @param sanitizeFn Sanitization function used to sanitize the string after update, if necessary.\n * @param bindingStart The lView index of the next expression that can be bound via an opCode.\n * @returns The mask value for these bindings\n */\nfunction generateBindingUpdateOpCodes(updateOpCodes, str, destinationNode, attrName, bindingStart, sanitizeFn) {\n    ngDevMode &&\n        assertGreaterThanOrEqual(destinationNode, HEADER_OFFSET, 'Index must be in absolute LView offset');\n    const maskIndex = updateOpCodes.length; // Location of mask\n    const sizeIndex = maskIndex + 1; // location of size for skipping\n    updateOpCodes.push(null, null); // Alloc space for mask and size\n    const startIndex = maskIndex + 2; // location of first allocation.\n    if (ngDevMode) {\n        attachDebugGetter(updateOpCodes, i18nUpdateOpCodesToString);\n    }\n    const textParts = str.split(BINDING_REGEXP);\n    let mask = 0;\n    for (let j = 0; j < textParts.length; j++) {\n        const textValue = textParts[j];\n        if (j & 1) {\n            // Odd indexes are bindings\n            const bindingIndex = bindingStart + parseInt(textValue, 10);\n            updateOpCodes.push(-1 - bindingIndex);\n            mask = mask | toMaskBit(bindingIndex);\n        }\n        else if (textValue !== '') {\n            // Even indexes are text\n            updateOpCodes.push(textValue);\n        }\n    }\n    updateOpCodes.push(destinationNode << 2 /* I18nUpdateOpCode.SHIFT_REF */ |\n        (attrName ? 1 /* I18nUpdateOpCode.Attr */ : 0 /* I18nUpdateOpCode.Text */));\n    if (attrName) {\n        updateOpCodes.push(attrName, sanitizeFn);\n    }\n    updateOpCodes[maskIndex] = mask;\n    updateOpCodes[sizeIndex] = updateOpCodes.length - startIndex;\n    return mask;\n}\n/**\n * Count the number of bindings in the given `opCodes`.\n *\n * It could be possible to speed this up, by passing the number of bindings found back from\n * `generateBindingUpdateOpCodes()` to `i18nAttributesFirstPass()` but this would then require more\n * complexity in the code and/or transient objects to be created.\n *\n * Since this function is only called once when the template is instantiated, is trivial in the\n * first instance (since `opCodes` will be an empty array), and it is not common for elements to\n * contain multiple i18n bound attributes, it seems like this is a reasonable compromise.\n */\nfunction countBindings(opCodes) {\n    let count = 0;\n    for (let i = 0; i < opCodes.length; i++) {\n        const opCode = opCodes[i];\n        // Bindings are negative numbers.\n        if (typeof opCode === 'number' && opCode < 0) {\n            count++;\n        }\n    }\n    return count;\n}\n/**\n * Convert binding index to mask bit.\n *\n * Each index represents a single bit on the bit-mask. Because bit-mask only has 32 bits, we make\n * the 32nd bit share all masks for all bindings higher than 32. Since it is extremely rare to\n * have more than 32 bindings this will be hit very rarely. The downside of hitting this corner\n * case is that we will execute binding code more often than necessary. (penalty of performance)\n */\nfunction toMaskBit(bindingIndex) {\n    return 1 << Math.min(bindingIndex, 31);\n}\nfunction isRootTemplateMessage(subTemplateIndex) {\n    return subTemplateIndex === -1;\n}\n/**\n * Removes everything inside the sub-templates of a message.\n */\nfunction removeInnerTemplateTranslation(message) {\n    let match;\n    let res = '';\n    let index = 0;\n    let inTemplate = false;\n    let tagMatched;\n    while ((match = SUBTEMPLATE_REGEXP.exec(message)) !== null) {\n        if (!inTemplate) {\n            res += message.substring(index, match.index + match[0].length);\n            tagMatched = match[1];\n            inTemplate = true;\n        }\n        else {\n            if (match[0] === `${MARKER}/*${tagMatched}${MARKER}`) {\n                index = match.index;\n                inTemplate = false;\n            }\n        }\n    }\n    ngDevMode &&\n        assertEqual(inTemplate, false, `Tag mismatch: unable to find the end of the sub-template in the translation \"${message}\"`);\n    res += message.slice(index);\n    return res;\n}\n/**\n * Extracts a part of a message and removes the rest.\n *\n * This method is used for extracting a part of the message associated with a template. A\n * translated message can span multiple templates.\n *\n * Example:\n * ```\n * <div i18n>Translate <span *ngIf>me</span>!</div>\n * ```\n *\n * @param message The message to crop\n * @param subTemplateIndex Index of the sub-template to extract. If undefined it returns the\n * external template and removes all sub-templates.\n */\nfunction getTranslationForTemplate(message, subTemplateIndex) {\n    if (isRootTemplateMessage(subTemplateIndex)) {\n        // We want the root template message, ignore all sub-templates\n        return removeInnerTemplateTranslation(message);\n    }\n    else {\n        // We want a specific sub-template\n        const start = message.indexOf(`:${subTemplateIndex}${MARKER}`) + 2 + subTemplateIndex.toString().length;\n        const end = message.search(new RegExp(`${MARKER}\\\\/\\\\*\\\\d+:${subTemplateIndex}${MARKER}`));\n        return removeInnerTemplateTranslation(message.substring(start, end));\n    }\n}\n/**\n * Generate the OpCodes for ICU expressions.\n *\n * @param icuExpression\n * @param index Index where the anchor is stored and an optional `TIcuContainerNode`\n *   - `lView[anchorIdx]` points to a `Comment` node representing the anchor for the ICU.\n *   - `tView.data[anchorIdx]` points to the `TIcuContainerNode` if ICU is root (`null` otherwise)\n */\nfunction icuStart(tView, lView, updateOpCodes, parentIdx, icuExpression, anchorIdx) {\n    ngDevMode && assertDefined(icuExpression, 'ICU expression must be defined');\n    let bindingMask = 0;\n    const tIcu = {\n        type: icuExpression.type,\n        currentCaseLViewIndex: allocExpando(tView, lView, 1, null),\n        anchorIdx,\n        cases: [],\n        create: [],\n        remove: [],\n        update: []\n    };\n    addUpdateIcuSwitch(updateOpCodes, icuExpression, anchorIdx);\n    setTIcu(tView, anchorIdx, tIcu);\n    const values = icuExpression.values;\n    for (let i = 0; i < values.length; i++) {\n        // Each value is an array of strings & other ICU expressions\n        const valueArr = values[i];\n        const nestedIcus = [];\n        for (let j = 0; j < valueArr.length; j++) {\n            const value = valueArr[j];\n            if (typeof value !== 'string') {\n                // It is an nested ICU expression\n                const icuIndex = nestedIcus.push(value) - 1;\n                // Replace nested ICU expression by a comment node\n                valueArr[j] = `<!--�${icuIndex}�-->`;\n            }\n        }\n        bindingMask = parseIcuCase(tView, tIcu, lView, updateOpCodes, parentIdx, icuExpression.cases[i], valueArr.join(''), nestedIcus) |\n            bindingMask;\n    }\n    if (bindingMask) {\n        addUpdateIcuUpdate(updateOpCodes, bindingMask, anchorIdx);\n    }\n}\n/**\n * Parses text containing an ICU expression and produces a JSON object for it.\n * Original code from closure library, modified for Angular.\n *\n * @param pattern Text containing an ICU expression that needs to be parsed.\n *\n */\nfunction parseICUBlock(pattern) {\n    const cases = [];\n    const values = [];\n    let icuType = 1 /* IcuType.plural */;\n    let mainBinding = 0;\n    pattern = pattern.replace(ICU_BLOCK_REGEXP, function (str, binding, type) {\n        if (type === 'select') {\n            icuType = 0 /* IcuType.select */;\n        }\n        else {\n            icuType = 1 /* IcuType.plural */;\n        }\n        mainBinding = parseInt(binding.slice(1), 10);\n        return '';\n    });\n    const parts = i18nParseTextIntoPartsAndICU(pattern);\n    // Looking for (key block)+ sequence. One of the keys has to be \"other\".\n    for (let pos = 0; pos < parts.length;) {\n        let key = parts[pos++].trim();\n        if (icuType === 1 /* IcuType.plural */) {\n            // Key can be \"=x\", we just want \"x\"\n            key = key.replace(/\\s*(?:=)?(\\w+)\\s*/, '$1');\n        }\n        if (key.length) {\n            cases.push(key);\n        }\n        const blocks = i18nParseTextIntoPartsAndICU(parts[pos++]);\n        if (cases.length > values.length) {\n            values.push(blocks);\n        }\n    }\n    // TODO(ocombe): support ICU expressions in attributes, see #21615\n    return { type: icuType, mainBinding: mainBinding, cases, values };\n}\n/**\n * Breaks pattern into strings and top level {...} blocks.\n * Can be used to break a message into text and ICU expressions, or to break an ICU expression\n * into keys and cases. Original code from closure library, modified for Angular.\n *\n * @param pattern (sub)Pattern to be broken.\n * @returns An `Array<string|IcuExpression>` where:\n *   - odd positions: `string` => text between ICU expressions\n *   - even positions: `ICUExpression` => ICU expression parsed into `ICUExpression` record.\n */\nfunction i18nParseTextIntoPartsAndICU(pattern) {\n    if (!pattern) {\n        return [];\n    }\n    let prevPos = 0;\n    const braceStack = [];\n    const results = [];\n    const braces = /[{}]/g;\n    // lastIndex doesn't get set to 0 so we have to.\n    braces.lastIndex = 0;\n    let match;\n    while (match = braces.exec(pattern)) {\n        const pos = match.index;\n        if (match[0] == '}') {\n            braceStack.pop();\n            if (braceStack.length == 0) {\n                // End of the block.\n                const block = pattern.substring(prevPos, pos);\n                if (ICU_BLOCK_REGEXP.test(block)) {\n                    results.push(parseICUBlock(block));\n                }\n                else {\n                    results.push(block);\n                }\n                prevPos = pos + 1;\n            }\n        }\n        else {\n            if (braceStack.length == 0) {\n                const substring = pattern.substring(prevPos, pos);\n                results.push(substring);\n                prevPos = pos + 1;\n            }\n            braceStack.push('{');\n        }\n    }\n    const substring = pattern.substring(prevPos);\n    results.push(substring);\n    return results;\n}\n/**\n * Parses a node, its children and its siblings, and generates the mutate & update OpCodes.\n *\n */\nfunction parseIcuCase(tView, tIcu, lView, updateOpCodes, parentIdx, caseName, unsafeCaseHtml, nestedIcus) {\n    const create = [];\n    const remove = [];\n    const update = [];\n    if (ngDevMode) {\n        attachDebugGetter(create, icuCreateOpCodesToString);\n        attachDebugGetter(remove, i18nRemoveOpCodesToString);\n        attachDebugGetter(update, i18nUpdateOpCodesToString);\n    }\n    tIcu.cases.push(caseName);\n    tIcu.create.push(create);\n    tIcu.remove.push(remove);\n    tIcu.update.push(update);\n    const inertBodyHelper = getInertBodyHelper(getDocument());\n    const inertBodyElement = inertBodyHelper.getInertBodyElement(unsafeCaseHtml);\n    ngDevMode && assertDefined(inertBodyElement, 'Unable to generate inert body element');\n    const inertRootNode = getTemplateContent(inertBodyElement) || inertBodyElement;\n    if (inertRootNode) {\n        return walkIcuTree(tView, tIcu, lView, updateOpCodes, create, remove, update, inertRootNode, parentIdx, nestedIcus, 0);\n    }\n    else {\n        return 0;\n    }\n}\nfunction walkIcuTree(tView, tIcu, lView, sharedUpdateOpCodes, create, remove, update, parentNode, parentIdx, nestedIcus, depth) {\n    let bindingMask = 0;\n    let currentNode = parentNode.firstChild;\n    while (currentNode) {\n        const newIndex = allocExpando(tView, lView, 1, null);\n        switch (currentNode.nodeType) {\n            case Node.ELEMENT_NODE:\n                const element = currentNode;\n                const tagName = element.tagName.toLowerCase();\n                if (VALID_ELEMENTS.hasOwnProperty(tagName)) {\n                    addCreateNodeAndAppend(create, ELEMENT_MARKER, tagName, parentIdx, newIndex);\n                    tView.data[newIndex] = tagName;\n                    const elAttrs = element.attributes;\n                    for (let i = 0; i < elAttrs.length; i++) {\n                        const attr = elAttrs.item(i);\n                        const lowerAttrName = attr.name.toLowerCase();\n                        const hasBinding = !!attr.value.match(BINDING_REGEXP);\n                        // we assume the input string is safe, unless it's using a binding\n                        if (hasBinding) {\n                            if (VALID_ATTRS.hasOwnProperty(lowerAttrName)) {\n                                if (URI_ATTRS[lowerAttrName]) {\n                                    generateBindingUpdateOpCodes(update, attr.value, newIndex, attr.name, 0, _sanitizeUrl);\n                                }\n                                else {\n                                    generateBindingUpdateOpCodes(update, attr.value, newIndex, attr.name, 0, null);\n                                }\n                            }\n                            else {\n                                ngDevMode &&\n                                    console.warn(`WARNING: ignoring unsafe attribute value ` +\n                                        `${lowerAttrName} on element ${tagName} ` +\n                                        `(see ${XSS_SECURITY_URL})`);\n                            }\n                        }\n                        else {\n                            addCreateAttribute(create, newIndex, attr);\n                        }\n                    }\n                    // Parse the children of this node (if any)\n                    bindingMask = walkIcuTree(tView, tIcu, lView, sharedUpdateOpCodes, create, remove, update, currentNode, newIndex, nestedIcus, depth + 1) |\n                        bindingMask;\n                    addRemoveNode(remove, newIndex, depth);\n                }\n                break;\n            case Node.TEXT_NODE:\n                const value = currentNode.textContent || '';\n                const hasBinding = value.match(BINDING_REGEXP);\n                addCreateNodeAndAppend(create, null, hasBinding ? '' : value, parentIdx, newIndex);\n                addRemoveNode(remove, newIndex, depth);\n                if (hasBinding) {\n                    bindingMask =\n                        generateBindingUpdateOpCodes(update, value, newIndex, null, 0, null) | bindingMask;\n                }\n                break;\n            case Node.COMMENT_NODE:\n                // Check if the comment node is a placeholder for a nested ICU\n                const isNestedIcu = NESTED_ICU.exec(currentNode.textContent || '');\n                if (isNestedIcu) {\n                    const nestedIcuIndex = parseInt(isNestedIcu[1], 10);\n                    const icuExpression = nestedIcus[nestedIcuIndex];\n                    // Create the comment node that will anchor the ICU expression\n                    addCreateNodeAndAppend(create, ICU_MARKER, ngDevMode ? `nested ICU ${nestedIcuIndex}` : '', parentIdx, newIndex);\n                    icuStart(tView, lView, sharedUpdateOpCodes, parentIdx, icuExpression, newIndex);\n                    addRemoveNestedIcu(remove, newIndex, depth);\n                }\n                break;\n        }\n        currentNode = currentNode.nextSibling;\n    }\n    return bindingMask;\n}\nfunction addRemoveNode(remove, index, depth) {\n    if (depth === 0) {\n        remove.push(index);\n    }\n}\nfunction addRemoveNestedIcu(remove, index, depth) {\n    if (depth === 0) {\n        remove.push(~index); // remove ICU at `index`\n        remove.push(index); // remove ICU comment at `index`\n    }\n}\nfunction addUpdateIcuSwitch(update, icuExpression, index) {\n    update.push(toMaskBit(icuExpression.mainBinding), 2, -1 - icuExpression.mainBinding, index << 2 /* I18nUpdateOpCode.SHIFT_REF */ | 2 /* I18nUpdateOpCode.IcuSwitch */);\n}\nfunction addUpdateIcuUpdate(update, bindingMask, index) {\n    update.push(bindingMask, 1, index << 2 /* I18nUpdateOpCode.SHIFT_REF */ | 3 /* I18nUpdateOpCode.IcuUpdate */);\n}\nfunction addCreateNodeAndAppend(create, marker, text, appendToParentIdx, createAtIdx) {\n    if (marker !== null) {\n        create.push(marker);\n    }\n    create.push(text, createAtIdx, icuCreateOpCode(0 /* IcuCreateOpCode.AppendChild */, appendToParentIdx, createAtIdx));\n}\nfunction addCreateAttribute(create, newIndex, attr) {\n    create.push(newIndex << 1 /* IcuCreateOpCode.SHIFT_REF */ | 1 /* IcuCreateOpCode.Attr */, attr.name, attr.value);\n}\n\n// i18nPostprocess consts\nconst ROOT_TEMPLATE_ID = 0;\nconst PP_MULTI_VALUE_PLACEHOLDERS_REGEXP = /\\[(�.+?�?)\\]/;\nconst PP_PLACEHOLDERS_REGEXP = /\\[(�.+?�?)\\]|(�\\/?\\*\\d+:\\d+�)/g;\nconst PP_ICU_VARS_REGEXP = /({\\s*)(VAR_(PLURAL|SELECT)(_\\d+)?)(\\s*,)/g;\nconst PP_ICU_PLACEHOLDERS_REGEXP = /{([A-Z0-9_]+)}/g;\nconst PP_ICUS_REGEXP = /�I18N_EXP_(ICU(_\\d+)?)�/g;\nconst PP_CLOSE_TEMPLATE_REGEXP = /\\/\\*/;\nconst PP_TEMPLATE_ID_REGEXP = /\\d+\\:(\\d+)/;\n/**\n * Handles message string post-processing for internationalization.\n *\n * Handles message string post-processing by transforming it from intermediate\n * format (that might contain some markers that we need to replace) to the final\n * form, consumable by i18nStart instruction. Post processing steps include:\n *\n * 1. Resolve all multi-value cases (like [�*1:1��#2:1�|�#4:1�|�5�])\n * 2. Replace all ICU vars (like \"VAR_PLURAL\")\n * 3. Replace all placeholders used inside ICUs in a form of {PLACEHOLDER}\n * 4. Replace all ICU references with corresponding values (like �ICU_EXP_ICU_1�)\n *    in case multiple ICUs have the same placeholder name\n *\n * @param message Raw translation string for post processing\n * @param replacements Set of replacements that should be applied\n *\n * @returns Transformed string that can be consumed by i18nStart instruction\n *\n * @codeGenApi\n */\nfunction i18nPostprocess(message, replacements = {}) {\n    /**\n     * Step 1: resolve all multi-value placeholders like [�#5�|�*1:1��#2:1�|�#4:1�]\n     *\n     * Note: due to the way we process nested templates (BFS), multi-value placeholders are typically\n     * grouped by templates, for example: [�#5�|�#6�|�#1:1�|�#3:2�] where �#5� and �#6� belong to root\n     * template, �#1:1� belong to nested template with index 1 and �#1:2� - nested template with index\n     * 3. However in real templates the order might be different: i.e. �#1:1� and/or �#3:2� may go in\n     * front of �#6�. The post processing step restores the right order by keeping track of the\n     * template id stack and looks for placeholders that belong to the currently active template.\n     */\n    let result = message;\n    if (PP_MULTI_VALUE_PLACEHOLDERS_REGEXP.test(message)) {\n        const matches = {};\n        const templateIdsStack = [ROOT_TEMPLATE_ID];\n        result = result.replace(PP_PLACEHOLDERS_REGEXP, (m, phs, tmpl) => {\n            const content = phs || tmpl;\n            const placeholders = matches[content] || [];\n            if (!placeholders.length) {\n                content.split('|').forEach((placeholder) => {\n                    const match = placeholder.match(PP_TEMPLATE_ID_REGEXP);\n                    const templateId = match ? parseInt(match[1], 10) : ROOT_TEMPLATE_ID;\n                    const isCloseTemplateTag = PP_CLOSE_TEMPLATE_REGEXP.test(placeholder);\n                    placeholders.push([templateId, isCloseTemplateTag, placeholder]);\n                });\n                matches[content] = placeholders;\n            }\n            if (!placeholders.length) {\n                throw new Error(`i18n postprocess: unmatched placeholder - ${content}`);\n            }\n            const currentTemplateId = templateIdsStack[templateIdsStack.length - 1];\n            let idx = 0;\n            // find placeholder index that matches current template id\n            for (let i = 0; i < placeholders.length; i++) {\n                if (placeholders[i][0] === currentTemplateId) {\n                    idx = i;\n                    break;\n                }\n            }\n            // update template id stack based on the current tag extracted\n            const [templateId, isCloseTemplateTag, placeholder] = placeholders[idx];\n            if (isCloseTemplateTag) {\n                templateIdsStack.pop();\n            }\n            else if (currentTemplateId !== templateId) {\n                templateIdsStack.push(templateId);\n            }\n            // remove processed tag from the list\n            placeholders.splice(idx, 1);\n            return placeholder;\n        });\n    }\n    // return current result if no replacements specified\n    if (!Object.keys(replacements).length) {\n        return result;\n    }\n    /**\n     * Step 2: replace all ICU vars (like \"VAR_PLURAL\")\n     */\n    result = result.replace(PP_ICU_VARS_REGEXP, (match, start, key, _type, _idx, end) => {\n        return replacements.hasOwnProperty(key) ? `${start}${replacements[key]}${end}` : match;\n    });\n    /**\n     * Step 3: replace all placeholders used inside ICUs in a form of {PLACEHOLDER}\n     */\n    result = result.replace(PP_ICU_PLACEHOLDERS_REGEXP, (match, key) => {\n        return replacements.hasOwnProperty(key) ? replacements[key] : match;\n    });\n    /**\n     * Step 4: replace all ICU references with corresponding values (like �ICU_EXP_ICU_1�) in case\n     * multiple ICUs have the same placeholder name\n     */\n    result = result.replace(PP_ICUS_REGEXP, (match, key) => {\n        if (replacements.hasOwnProperty(key)) {\n            const list = replacements[key];\n            if (!list.length) {\n                throw new Error(`i18n postprocess: unmatched ICU - ${match} with key: ${key}`);\n            }\n            return list.shift();\n        }\n        return match;\n    });\n    return result;\n}\n\n/**\n * Marks a block of text as translatable.\n *\n * The instructions `i18nStart` and `i18nEnd` mark the translation block in the template.\n * The translation `message` is the value which is locale specific. The translation string may\n * contain placeholders which associate inner elements and sub-templates within the translation.\n *\n * The translation `message` placeholders are:\n * - `�{index}(:{block})�`: *Binding Placeholder*: Marks a location where an expression will be\n *   interpolated into. The placeholder `index` points to the expression binding index. An optional\n *   `block` that matches the sub-template in which it was declared.\n * - `�#{index}(:{block})�`/`�/#{index}(:{block})�`: *Element Placeholder*:  Marks the beginning\n *   and end of DOM element that were embedded in the original translation block. The placeholder\n *   `index` points to the element index in the template instructions set. An optional `block` that\n *   matches the sub-template in which it was declared.\n * - `�*{index}:{block}�`/`�/*{index}:{block}�`: *Sub-template Placeholder*: Sub-templates must be\n *   split up and translated separately in each angular template function. The `index` points to the\n *   `template` instruction index. A `block` that matches the sub-template in which it was declared.\n *\n * @param index A unique index of the translation in the static block.\n * @param messageIndex An index of the translation message from the `def.consts` array.\n * @param subTemplateIndex Optional sub-template index in the `message`.\n *\n * @codeGenApi\n */\nfunction ɵɵi18nStart(index, messageIndex, subTemplateIndex = -1) {\n    const tView = getTView();\n    const lView = getLView();\n    const adjustedIndex = HEADER_OFFSET + index;\n    ngDevMode && assertDefined(tView, `tView should be defined`);\n    const message = getConstant(tView.consts, messageIndex);\n    const parentTNode = getCurrentParentTNode();\n    if (tView.firstCreatePass) {\n        i18nStartFirstCreatePass(tView, parentTNode === null ? 0 : parentTNode.index, lView, adjustedIndex, message, subTemplateIndex);\n    }\n    const tI18n = tView.data[adjustedIndex];\n    const sameViewParentTNode = parentTNode === lView[T_HOST] ? null : parentTNode;\n    const parentRNode = getClosestRElement(tView, sameViewParentTNode, lView);\n    // If `parentTNode` is an `ElementContainer` than it has `<!--ng-container--->`.\n    // When we do inserts we have to make sure to insert in front of `<!--ng-container--->`.\n    const insertInFrontOf = parentTNode && (parentTNode.type & 8 /* TNodeType.ElementContainer */) ?\n        lView[parentTNode.index] :\n        null;\n    applyCreateOpCodes(lView, tI18n.create, parentRNode, insertInFrontOf);\n    setInI18nBlock(true);\n}\n/**\n * Translates a translation block marked by `i18nStart` and `i18nEnd`. It inserts the text/ICU nodes\n * into the render tree, moves the placeholder nodes and removes the deleted nodes.\n *\n * @codeGenApi\n */\nfunction ɵɵi18nEnd() {\n    setInI18nBlock(false);\n}\n/**\n *\n * Use this instruction to create a translation block that doesn't contain any placeholder.\n * It calls both {@link i18nStart} and {@link i18nEnd} in one instruction.\n *\n * The translation `message` is the value which is locale specific. The translation string may\n * contain placeholders which associate inner elements and sub-templates within the translation.\n *\n * The translation `message` placeholders are:\n * - `�{index}(:{block})�`: *Binding Placeholder*: Marks a location where an expression will be\n *   interpolated into. The placeholder `index` points to the expression binding index. An optional\n *   `block` that matches the sub-template in which it was declared.\n * - `�#{index}(:{block})�`/`�/#{index}(:{block})�`: *Element Placeholder*:  Marks the beginning\n *   and end of DOM element that were embedded in the original translation block. The placeholder\n *   `index` points to the element index in the template instructions set. An optional `block` that\n *   matches the sub-template in which it was declared.\n * - `�*{index}:{block}�`/`�/*{index}:{block}�`: *Sub-template Placeholder*: Sub-templates must be\n *   split up and translated separately in each angular template function. The `index` points to the\n *   `template` instruction index. A `block` that matches the sub-template in which it was declared.\n *\n * @param index A unique index of the translation in the static block.\n * @param messageIndex An index of the translation message from the `def.consts` array.\n * @param subTemplateIndex Optional sub-template index in the `message`.\n *\n * @codeGenApi\n */\nfunction ɵɵi18n(index, messageIndex, subTemplateIndex) {\n    ɵɵi18nStart(index, messageIndex, subTemplateIndex);\n    ɵɵi18nEnd();\n}\n/**\n * Marks a list of attributes as translatable.\n *\n * @param index A unique index in the static block\n * @param values\n *\n * @codeGenApi\n */\nfunction ɵɵi18nAttributes(index, attrsIndex) {\n    const tView = getTView();\n    ngDevMode && assertDefined(tView, `tView should be defined`);\n    const attrs = getConstant(tView.consts, attrsIndex);\n    i18nAttributesFirstPass(tView, index + HEADER_OFFSET, attrs);\n}\n/**\n * Stores the values of the bindings during each update cycle in order to determine if we need to\n * update the translated nodes.\n *\n * @param value The binding's value\n * @returns This function returns itself so that it may be chained\n * (e.g. `i18nExp(ctx.name)(ctx.title)`)\n *\n * @codeGenApi\n */\nfunction ɵɵi18nExp(value) {\n    const lView = getLView();\n    setMaskBit(bindingUpdated(lView, nextBindingIndex(), value));\n    return ɵɵi18nExp;\n}\n/**\n * Updates a translation block or an i18n attribute when the bindings have changed.\n *\n * @param index Index of either {@link i18nStart} (translation block) or {@link i18nAttributes}\n * (i18n attribute) on which it should update the content.\n *\n * @codeGenApi\n */\nfunction ɵɵi18nApply(index) {\n    applyI18n(getTView(), getLView(), index + HEADER_OFFSET);\n}\n/**\n * Handles message string post-processing for internationalization.\n *\n * Handles message string post-processing by transforming it from intermediate\n * format (that might contain some markers that we need to replace) to the final\n * form, consumable by i18nStart instruction. Post processing steps include:\n *\n * 1. Resolve all multi-value cases (like [�*1:1��#2:1�|�#4:1�|�5�])\n * 2. Replace all ICU vars (like \"VAR_PLURAL\")\n * 3. Replace all placeholders used inside ICUs in a form of {PLACEHOLDER}\n * 4. Replace all ICU references with corresponding values (like �ICU_EXP_ICU_1�)\n *    in case multiple ICUs have the same placeholder name\n *\n * @param message Raw translation string for post processing\n * @param replacements Set of replacements that should be applied\n *\n * @returns Transformed string that can be consumed by i18nStart instruction\n *\n * @codeGenApi\n */\nfunction ɵɵi18nPostprocess(message, replacements = {}) {\n    return i18nPostprocess(message, replacements);\n}\n\n/*\n * This file re-exports all symbols contained in this directory.\n *\n * Why is this file not `index.ts`?\n *\n * There seems to be an inconsistent path resolution of an `index.ts` file\n * when only the parent directory is referenced. This could be due to the\n * node module resolution configuration differing from rollup and/or typescript.\n *\n * With commit\n * https://github.com/angular/angular/commit/d5e3f2c64bd13ce83e7c70788b7fc514ca4a9918\n * the `instructions.ts` file was moved to `instructions/instructions.ts` and an\n * `index.ts` file was used to re-export everything. Having had file names that were\n * importing from `instructions' directly (not the from the sub file or the `index.ts`\n * file) caused strange CI issues. `index.ts` had to be renamed to `all.ts` for this\n * to work.\n *\n * Jira Issue = FW-1184\n */\n\n/**\n * Resolves the providers which are defined in the DirectiveDef.\n *\n * When inserting the tokens and the factories in their respective arrays, we can assume that\n * this method is called first for the component (if any), and then for other directives on the same\n * node.\n * As a consequence,the providers are always processed in that order:\n * 1) The view providers of the component\n * 2) The providers of the component\n * 3) The providers of the other directives\n * This matches the structure of the injectables arrays of a view (for each node).\n * So the tokens and the factories can be pushed at the end of the arrays, except\n * in one case for multi providers.\n *\n * @param def the directive definition\n * @param providers: Array of `providers`.\n * @param viewProviders: Array of `viewProviders`.\n */\nfunction providersResolver(def, providers, viewProviders) {\n    const tView = getTView();\n    if (tView.firstCreatePass) {\n        const isComponent = isComponentDef(def);\n        // The list of view providers is processed first, and the flags are updated\n        resolveProvider(viewProviders, tView.data, tView.blueprint, isComponent, true);\n        // Then, the list of providers is processed, and the flags are updated\n        resolveProvider(providers, tView.data, tView.blueprint, isComponent, false);\n    }\n}\n/**\n * Resolves a provider and publishes it to the DI system.\n */\nfunction resolveProvider(provider, tInjectables, lInjectablesBlueprint, isComponent, isViewProvider) {\n    provider = resolveForwardRef(provider);\n    if (Array.isArray(provider)) {\n        // Recursively call `resolveProvider`\n        // Recursion is OK in this case because this code will not be in hot-path once we implement\n        // cloning of the initial state.\n        for (let i = 0; i < provider.length; i++) {\n            resolveProvider(provider[i], tInjectables, lInjectablesBlueprint, isComponent, isViewProvider);\n        }\n    }\n    else {\n        const tView = getTView();\n        const lView = getLView();\n        let token = isTypeProvider(provider) ? provider : resolveForwardRef(provider.provide);\n        let providerFactory = providerToFactory(provider);\n        const tNode = getCurrentTNode();\n        const beginIndex = tNode.providerIndexes & 1048575 /* TNodeProviderIndexes.ProvidersStartIndexMask */;\n        const endIndex = tNode.directiveStart;\n        const cptViewProvidersCount = tNode.providerIndexes >> 20 /* TNodeProviderIndexes.CptViewProvidersCountShift */;\n        if (isTypeProvider(provider) || !provider.multi) {\n            // Single provider case: the factory is created and pushed immediately\n            const factory = new NodeInjectorFactory(providerFactory, isViewProvider, ɵɵdirectiveInject);\n            const existingFactoryIndex = indexOf(token, tInjectables, isViewProvider ? beginIndex : beginIndex + cptViewProvidersCount, endIndex);\n            if (existingFactoryIndex === -1) {\n                diPublicInInjector(getOrCreateNodeInjectorForNode(tNode, lView), tView, token);\n                registerDestroyHooksIfSupported(tView, provider, tInjectables.length);\n                tInjectables.push(token);\n                tNode.directiveStart++;\n                tNode.directiveEnd++;\n                if (isViewProvider) {\n                    tNode.providerIndexes += 1048576 /* TNodeProviderIndexes.CptViewProvidersCountShifter */;\n                }\n                lInjectablesBlueprint.push(factory);\n                lView.push(factory);\n            }\n            else {\n                lInjectablesBlueprint[existingFactoryIndex] = factory;\n                lView[existingFactoryIndex] = factory;\n            }\n        }\n        else {\n            // Multi provider case:\n            // We create a multi factory which is going to aggregate all the values.\n            // Since the output of such a factory depends on content or view injection,\n            // we create two of them, which are linked together.\n            //\n            // The first one (for view providers) is always in the first block of the injectables array,\n            // and the second one (for providers) is always in the second block.\n            // This is important because view providers have higher priority. When a multi token\n            // is being looked up, the view providers should be found first.\n            // Note that it is not possible to have a multi factory in the third block (directive block).\n            //\n            // The algorithm to process multi providers is as follows:\n            // 1) If the multi provider comes from the `viewProviders` of the component:\n            //   a) If the special view providers factory doesn't exist, it is created and pushed.\n            //   b) Else, the multi provider is added to the existing multi factory.\n            // 2) If the multi provider comes from the `providers` of the component or of another\n            // directive:\n            //   a) If the multi factory doesn't exist, it is created and provider pushed into it.\n            //      It is also linked to the multi factory for view providers, if it exists.\n            //   b) Else, the multi provider is added to the existing multi factory.\n            const existingProvidersFactoryIndex = indexOf(token, tInjectables, beginIndex + cptViewProvidersCount, endIndex);\n            const existingViewProvidersFactoryIndex = indexOf(token, tInjectables, beginIndex, beginIndex + cptViewProvidersCount);\n            const doesProvidersFactoryExist = existingProvidersFactoryIndex >= 0 &&\n                lInjectablesBlueprint[existingProvidersFactoryIndex];\n            const doesViewProvidersFactoryExist = existingViewProvidersFactoryIndex >= 0 &&\n                lInjectablesBlueprint[existingViewProvidersFactoryIndex];\n            if (isViewProvider && !doesViewProvidersFactoryExist ||\n                !isViewProvider && !doesProvidersFactoryExist) {\n                // Cases 1.a and 2.a\n                diPublicInInjector(getOrCreateNodeInjectorForNode(tNode, lView), tView, token);\n                const factory = multiFactory(isViewProvider ? multiViewProvidersFactoryResolver : multiProvidersFactoryResolver, lInjectablesBlueprint.length, isViewProvider, isComponent, providerFactory);\n                if (!isViewProvider && doesViewProvidersFactoryExist) {\n                    lInjectablesBlueprint[existingViewProvidersFactoryIndex].providerFactory = factory;\n                }\n                registerDestroyHooksIfSupported(tView, provider, tInjectables.length, 0);\n                tInjectables.push(token);\n                tNode.directiveStart++;\n                tNode.directiveEnd++;\n                if (isViewProvider) {\n                    tNode.providerIndexes += 1048576 /* TNodeProviderIndexes.CptViewProvidersCountShifter */;\n                }\n                lInjectablesBlueprint.push(factory);\n                lView.push(factory);\n            }\n            else {\n                // Cases 1.b and 2.b\n                const indexInFactory = multiFactoryAdd(lInjectablesBlueprint[isViewProvider ? existingViewProvidersFactoryIndex :\n                    existingProvidersFactoryIndex], providerFactory, !isViewProvider && isComponent);\n                registerDestroyHooksIfSupported(tView, provider, existingProvidersFactoryIndex > -1 ? existingProvidersFactoryIndex :\n                    existingViewProvidersFactoryIndex, indexInFactory);\n            }\n            if (!isViewProvider && isComponent && doesViewProvidersFactoryExist) {\n                lInjectablesBlueprint[existingViewProvidersFactoryIndex].componentProviders++;\n            }\n        }\n    }\n}\n/**\n * Registers the `ngOnDestroy` hook of a provider, if the provider supports destroy hooks.\n * @param tView `TView` in which to register the hook.\n * @param provider Provider whose hook should be registered.\n * @param contextIndex Index under which to find the context for the hook when it's being invoked.\n * @param indexInFactory Only required for `multi` providers. Index of the provider in the multi\n * provider factory.\n */\nfunction registerDestroyHooksIfSupported(tView, provider, contextIndex, indexInFactory) {\n    const providerIsTypeProvider = isTypeProvider(provider);\n    const providerIsClassProvider = isClassProvider(provider);\n    if (providerIsTypeProvider || providerIsClassProvider) {\n        // Resolve forward references as `useClass` can hold a forward reference.\n        const classToken = providerIsClassProvider ? resolveForwardRef(provider.useClass) : provider;\n        const prototype = classToken.prototype;\n        const ngOnDestroy = prototype.ngOnDestroy;\n        if (ngOnDestroy) {\n            const hooks = tView.destroyHooks || (tView.destroyHooks = []);\n            if (!providerIsTypeProvider && provider.multi) {\n                ngDevMode &&\n                    assertDefined(indexInFactory, 'indexInFactory when registering multi factory destroy hook');\n                const existingCallbacksIndex = hooks.indexOf(contextIndex);\n                if (existingCallbacksIndex === -1) {\n                    hooks.push(contextIndex, [indexInFactory, ngOnDestroy]);\n                }\n                else {\n                    hooks[existingCallbacksIndex + 1].push(indexInFactory, ngOnDestroy);\n                }\n            }\n            else {\n                hooks.push(contextIndex, ngOnDestroy);\n            }\n        }\n    }\n}\n/**\n * Add a factory in a multi factory.\n * @returns Index at which the factory was inserted.\n */\nfunction multiFactoryAdd(multiFactory, factory, isComponentProvider) {\n    if (isComponentProvider) {\n        multiFactory.componentProviders++;\n    }\n    return multiFactory.multi.push(factory) - 1;\n}\n/**\n * Returns the index of item in the array, but only in the begin to end range.\n */\nfunction indexOf(item, arr, begin, end) {\n    for (let i = begin; i < end; i++) {\n        if (arr[i] === item)\n            return i;\n    }\n    return -1;\n}\n/**\n * Use this with `multi` `providers`.\n */\nfunction multiProvidersFactoryResolver(_, tData, lData, tNode) {\n    return multiResolve(this.multi, []);\n}\n/**\n * Use this with `multi` `viewProviders`.\n *\n * This factory knows how to concatenate itself with the existing `multi` `providers`.\n */\nfunction multiViewProvidersFactoryResolver(_, tData, lView, tNode) {\n    const factories = this.multi;\n    let result;\n    if (this.providerFactory) {\n        const componentCount = this.providerFactory.componentProviders;\n        const multiProviders = getNodeInjectable(lView, lView[TVIEW], this.providerFactory.index, tNode);\n        // Copy the section of the array which contains `multi` `providers` from the component\n        result = multiProviders.slice(0, componentCount);\n        // Insert the `viewProvider` instances.\n        multiResolve(factories, result);\n        // Copy the section of the array which contains `multi` `providers` from other directives\n        for (let i = componentCount; i < multiProviders.length; i++) {\n            result.push(multiProviders[i]);\n        }\n    }\n    else {\n        result = [];\n        // Insert the `viewProvider` instances.\n        multiResolve(factories, result);\n    }\n    return result;\n}\n/**\n * Maps an array of factories into an array of values.\n */\nfunction multiResolve(factories, result) {\n    for (let i = 0; i < factories.length; i++) {\n        const factory = factories[i];\n        result.push(factory());\n    }\n    return result;\n}\n/**\n * Creates a multi factory.\n */\nfunction multiFactory(factoryFn, index, isViewProvider, isComponent, f) {\n    const factory = new NodeInjectorFactory(factoryFn, isViewProvider, ɵɵdirectiveInject);\n    factory.multi = [];\n    factory.index = index;\n    factory.componentProviders = 0;\n    multiFactoryAdd(factory, f, isComponent && !isViewProvider);\n    return factory;\n}\n\n/**\n * This feature resolves the providers of a directive (or component),\n * and publish them into the DI system, making it visible to others for injection.\n *\n * For example:\n * ```ts\n * class ComponentWithProviders {\n *   constructor(private greeter: GreeterDE) {}\n *\n *   static ɵcmp = defineComponent({\n *     type: ComponentWithProviders,\n *     selectors: [['component-with-providers']],\n *    factory: () => new ComponentWithProviders(directiveInject(GreeterDE as any)),\n *    decls: 1,\n *    vars: 1,\n *    template: function(fs: RenderFlags, ctx: ComponentWithProviders) {\n *      if (fs & RenderFlags.Create) {\n *        ɵɵtext(0);\n *      }\n *      if (fs & RenderFlags.Update) {\n *        ɵɵtextInterpolate(ctx.greeter.greet());\n *      }\n *    },\n *    features: [ɵɵProvidersFeature([GreeterDE])]\n *  });\n * }\n * ```\n *\n * @param definition\n *\n * @codeGenApi\n */\nfunction ɵɵProvidersFeature(providers, viewProviders = []) {\n    return (definition) => {\n        definition.providersResolver =\n            (def, processProvidersFn) => {\n                return providersResolver(def, //\n                processProvidersFn ? processProvidersFn(providers) : providers, //\n                viewProviders);\n            };\n    };\n}\n\n/**\n * Represents an instance of an `NgModule` created by an `NgModuleFactory`.\n * Provides access to the `NgModule` instance and related objects.\n *\n * @publicApi\n */\nclass NgModuleRef$1 {\n}\n/**\n * @publicApi\n *\n * @deprecated\n * This class was mostly used as a part of ViewEngine-based JIT API and is no longer needed in Ivy\n * JIT mode. See [JIT API changes due to ViewEngine deprecation](guide/deprecations#jit-api-changes)\n * for additional context. Angular provides APIs that accept NgModule classes directly (such as\n * [PlatformRef.bootstrapModule](api/core/PlatformRef#bootstrapModule) and\n * [createNgModule](api/core/createNgModule)), consider switching to those APIs instead of\n * using factory-based ones.\n */\nclass NgModuleFactory$1 {\n}\n\n/**\n * Returns a new NgModuleRef instance based on the NgModule class and parent injector provided.\n *\n * @param ngModule NgModule class.\n * @param parentInjector Optional injector instance to use as a parent for the module injector. If\n *     not provided, `NullInjector` will be used instead.\n * @returns NgModuleRef that represents an NgModule instance.\n *\n * @publicApi\n */\nfunction createNgModule(ngModule, parentInjector) {\n    return new NgModuleRef(ngModule, parentInjector ?? null);\n}\n/**\n * The `createNgModule` function alias for backwards-compatibility.\n * Please avoid using it directly and use `createNgModule` instead.\n *\n * @deprecated Use `createNgModule` instead.\n */\nconst createNgModuleRef = createNgModule;\nclass NgModuleRef extends NgModuleRef$1 {\n    constructor(ngModuleType, _parent) {\n        super();\n        this._parent = _parent;\n        // tslint:disable-next-line:require-internal-with-underscore\n        this._bootstrapComponents = [];\n        this.destroyCbs = [];\n        // When bootstrapping a module we have a dependency graph that looks like this:\n        // ApplicationRef -> ComponentFactoryResolver -> NgModuleRef. The problem is that if the\n        // module being resolved tries to inject the ComponentFactoryResolver, it'll create a\n        // circular dependency which will result in a runtime error, because the injector doesn't\n        // exist yet. We work around the issue by creating the ComponentFactoryResolver ourselves\n        // and providing it, rather than letting the injector resolve it.\n        this.componentFactoryResolver = new ComponentFactoryResolver(this);\n        const ngModuleDef = getNgModuleDef(ngModuleType);\n        ngDevMode &&\n            assertDefined(ngModuleDef, `NgModule '${stringify(ngModuleType)}' is not a subtype of 'NgModuleType'.`);\n        this._bootstrapComponents = maybeUnwrapFn(ngModuleDef.bootstrap);\n        this._r3Injector = createInjectorWithoutInjectorInstances(ngModuleType, _parent, [\n            { provide: NgModuleRef$1, useValue: this }, {\n                provide: ComponentFactoryResolver$1,\n                useValue: this.componentFactoryResolver\n            }\n        ], stringify(ngModuleType), new Set(['environment']));\n        // We need to resolve the injector types separately from the injector creation, because\n        // the module might be trying to use this ref in its constructor for DI which will cause a\n        // circular error that will eventually error out, because the injector isn't created yet.\n        this._r3Injector.resolveInjectorInitializers();\n        this.instance = this._r3Injector.get(ngModuleType);\n    }\n    get injector() {\n        return this._r3Injector;\n    }\n    destroy() {\n        ngDevMode && assertDefined(this.destroyCbs, 'NgModule already destroyed');\n        const injector = this._r3Injector;\n        !injector.destroyed && injector.destroy();\n        this.destroyCbs.forEach(fn => fn());\n        this.destroyCbs = null;\n    }\n    onDestroy(callback) {\n        ngDevMode && assertDefined(this.destroyCbs, 'NgModule already destroyed');\n        this.destroyCbs.push(callback);\n    }\n}\nclass NgModuleFactory extends NgModuleFactory$1 {\n    constructor(moduleType) {\n        super();\n        this.moduleType = moduleType;\n    }\n    create(parentInjector) {\n        return new NgModuleRef(this.moduleType, parentInjector);\n    }\n}\nclass EnvironmentNgModuleRefAdapter extends NgModuleRef$1 {\n    constructor(providers, parent, source) {\n        super();\n        this.componentFactoryResolver = new ComponentFactoryResolver(this);\n        this.instance = null;\n        const injector = new R3Injector([\n            ...providers,\n            { provide: NgModuleRef$1, useValue: this },\n            { provide: ComponentFactoryResolver$1, useValue: this.componentFactoryResolver },\n        ], parent || getNullInjector(), source, new Set(['environment']));\n        this.injector = injector;\n        injector.resolveInjectorInitializers();\n    }\n    destroy() {\n        this.injector.destroy();\n    }\n    onDestroy(callback) {\n        this.injector.onDestroy(callback);\n    }\n}\n/**\n * Create a new environment injector.\n *\n * Learn more about environment injectors in\n * [this guide](guide/standalone-components#environment-injectors).\n *\n * @param providers An array of providers.\n * @param parent A parent environment injector.\n * @param debugName An optional name for this injector instance, which will be used in error\n *     messages.\n *\n * @publicApi\n */\nfunction createEnvironmentInjector(providers, parent, debugName = null) {\n    const adapter = new EnvironmentNgModuleRefAdapter(providers, parent, debugName);\n    return adapter.injector;\n}\n\n/**\n * A service used by the framework to create instances of standalone injectors. Those injectors are\n * created on demand in case of dynamic component instantiation and contain ambient providers\n * collected from the imports graph rooted at a given standalone component.\n */\nclass StandaloneService {\n    constructor(_injector) {\n        this._injector = _injector;\n        this.cachedInjectors = new Map();\n    }\n    getOrCreateStandaloneInjector(componentDef) {\n        if (!componentDef.standalone) {\n            return null;\n        }\n        if (!this.cachedInjectors.has(componentDef.id)) {\n            const providers = internalImportProvidersFrom(false, componentDef.type);\n            const standaloneInjector = providers.length > 0 ?\n                createEnvironmentInjector([providers], this._injector, `Standalone[${componentDef.type.name}]`) :\n                null;\n            this.cachedInjectors.set(componentDef.id, standaloneInjector);\n        }\n        return this.cachedInjectors.get(componentDef.id);\n    }\n    ngOnDestroy() {\n        try {\n            for (const injector of this.cachedInjectors.values()) {\n                if (injector !== null) {\n                    injector.destroy();\n                }\n            }\n        }\n        finally {\n            this.cachedInjectors.clear();\n        }\n    }\n}\n/** @nocollapse */\nStandaloneService.ɵprov = ɵɵdefineInjectable({\n    token: StandaloneService,\n    providedIn: 'environment',\n    factory: () => new StandaloneService(ɵɵinject(EnvironmentInjector)),\n});\n/**\n * A feature that acts as a setup code for the {@link StandaloneService}.\n *\n * The most important responsibility of this feature is to expose the \"getStandaloneInjector\"\n * function (an entry points to a standalone injector creation) on a component definition object. We\n * go through the features infrastructure to make sure that the standalone injector creation logic\n * is tree-shakable and not included in applications that don't use standalone components.\n *\n * @codeGenApi\n */\nfunction ɵɵStandaloneFeature(definition) {\n    definition.getStandaloneInjector = (parentInjector) => {\n        return parentInjector.get(StandaloneService).getOrCreateStandaloneInjector(definition);\n    };\n}\n\n/**\n * Retrieves the component instance associated with a given DOM element.\n *\n * @usageNotes\n * Given the following DOM structure:\n *\n * ```html\n * <app-root>\n *   <div>\n *     <child-comp></child-comp>\n *   </div>\n * </app-root>\n * ```\n *\n * Calling `getComponent` on `<child-comp>` will return the instance of `ChildComponent`\n * associated with this DOM element.\n *\n * Calling the function on `<app-root>` will return the `MyApp` instance.\n *\n *\n * @param element DOM element from which the component should be retrieved.\n * @returns Component instance associated with the element or `null` if there\n *    is no component associated with it.\n *\n * @publicApi\n * @globalApi ng\n */\nfunction getComponent(element) {\n    ngDevMode && assertDomElement(element);\n    const context = getLContext(element);\n    if (context === null)\n        return null;\n    if (context.component === undefined) {\n        const lView = context.lView;\n        if (lView === null) {\n            return null;\n        }\n        context.component = getComponentAtNodeIndex(context.nodeIndex, lView);\n    }\n    return context.component;\n}\n/**\n * If inside an embedded view (e.g. `*ngIf` or `*ngFor`), retrieves the context of the embedded\n * view that the element is part of. Otherwise retrieves the instance of the component whose view\n * owns the element (in this case, the result is the same as calling `getOwningComponent`).\n *\n * @param element Element for which to get the surrounding component instance.\n * @returns Instance of the component that is around the element or null if the element isn't\n *    inside any component.\n *\n * @publicApi\n * @globalApi ng\n */\nfunction getContext(element) {\n    assertDomElement(element);\n    const context = getLContext(element);\n    const lView = context ? context.lView : null;\n    return lView === null ? null : lView[CONTEXT];\n}\n/**\n * Retrieves the component instance whose view contains the DOM element.\n *\n * For example, if `<child-comp>` is used in the template of `<app-comp>`\n * (i.e. a `ViewChild` of `<app-comp>`), calling `getOwningComponent` on `<child-comp>`\n * would return `<app-comp>`.\n *\n * @param elementOrDir DOM element, component or directive instance\n *    for which to retrieve the root components.\n * @returns Component instance whose view owns the DOM element or null if the element is not\n *    part of a component view.\n *\n * @publicApi\n * @globalApi ng\n */\nfunction getOwningComponent(elementOrDir) {\n    const context = getLContext(elementOrDir);\n    let lView = context ? context.lView : null;\n    if (lView === null)\n        return null;\n    let parent;\n    while (lView[TVIEW].type === 2 /* TViewType.Embedded */ && (parent = getLViewParent(lView))) {\n        lView = parent;\n    }\n    return lView[FLAGS] & 256 /* LViewFlags.IsRoot */ ? null : lView[CONTEXT];\n}\n/**\n * Retrieves all root components associated with a DOM element, directive or component instance.\n * Root components are those which have been bootstrapped by Angular.\n *\n * @param elementOrDir DOM element, component or directive instance\n *    for which to retrieve the root components.\n * @returns Root components associated with the target object.\n *\n * @publicApi\n * @globalApi ng\n */\nfunction getRootComponents(elementOrDir) {\n    const lView = readPatchedLView(elementOrDir);\n    return lView !== null ? [getRootContext(lView)] : [];\n}\n/**\n * Retrieves an `Injector` associated with an element, component or directive instance.\n *\n * @param elementOrDir DOM element, component or directive instance for which to\n *    retrieve the injector.\n * @returns Injector associated with the element, component or directive instance.\n *\n * @publicApi\n * @globalApi ng\n */\nfunction getInjector(elementOrDir) {\n    const context = getLContext(elementOrDir);\n    const lView = context ? context.lView : null;\n    if (lView === null)\n        return Injector.NULL;\n    const tNode = lView[TVIEW].data[context.nodeIndex];\n    return new NodeInjector(tNode, lView);\n}\n/**\n * Retrieve a set of injection tokens at a given DOM node.\n *\n * @param element Element for which the injection tokens should be retrieved.\n */\nfunction getInjectionTokens(element) {\n    const context = getLContext(element);\n    const lView = context ? context.lView : null;\n    if (lView === null)\n        return [];\n    const tView = lView[TVIEW];\n    const tNode = tView.data[context.nodeIndex];\n    const providerTokens = [];\n    const startIndex = tNode.providerIndexes & 1048575 /* TNodeProviderIndexes.ProvidersStartIndexMask */;\n    const endIndex = tNode.directiveEnd;\n    for (let i = startIndex; i < endIndex; i++) {\n        let value = tView.data[i];\n        if (isDirectiveDefHack(value)) {\n            // The fact that we sometimes store Type and sometimes DirectiveDef in this location is a\n            // design flaw.  We should always store same type so that we can be monomorphic. The issue\n            // is that for Components/Directives we store the def instead the type. The correct behavior\n            // is that we should always be storing injectable type in this location.\n            value = value.type;\n        }\n        providerTokens.push(value);\n    }\n    return providerTokens;\n}\n/**\n * Retrieves directive instances associated with a given DOM node. Does not include\n * component instances.\n *\n * @usageNotes\n * Given the following DOM structure:\n *\n * ```html\n * <app-root>\n *   <button my-button></button>\n *   <my-comp></my-comp>\n * </app-root>\n * ```\n *\n * Calling `getDirectives` on `<button>` will return an array with an instance of the `MyButton`\n * directive that is associated with the DOM node.\n *\n * Calling `getDirectives` on `<my-comp>` will return an empty array.\n *\n * @param node DOM node for which to get the directives.\n * @returns Array of directives associated with the node.\n *\n * @publicApi\n * @globalApi ng\n */\nfunction getDirectives(node) {\n    // Skip text nodes because we can't have directives associated with them.\n    if (node instanceof Text) {\n        return [];\n    }\n    const context = getLContext(node);\n    const lView = context ? context.lView : null;\n    if (lView === null) {\n        return [];\n    }\n    const tView = lView[TVIEW];\n    const nodeIndex = context.nodeIndex;\n    if (!tView?.data[nodeIndex]) {\n        return [];\n    }\n    if (context.directives === undefined) {\n        context.directives = getDirectivesAtNodeIndex(nodeIndex, lView);\n    }\n    // The `directives` in this case are a named array called `LComponentView`. Clone the\n    // result so we don't expose an internal data structure in the user's console.\n    return context.directives === null ? [] : [...context.directives];\n}\n/**\n * Returns the debug (partial) metadata for a particular directive or component instance.\n * The function accepts an instance of a directive or component and returns the corresponding\n * metadata.\n *\n * @param directiveOrComponentInstance Instance of a directive or component\n * @returns metadata of the passed directive or component\n *\n * @publicApi\n * @globalApi ng\n */\nfunction getDirectiveMetadata$1(directiveOrComponentInstance) {\n    const { constructor } = directiveOrComponentInstance;\n    if (!constructor) {\n        throw new Error('Unable to find the instance constructor');\n    }\n    // In case a component inherits from a directive, we may have component and directive metadata\n    // To ensure we don't get the metadata of the directive, we want to call `getComponentDef` first.\n    const componentDef = getComponentDef(constructor);\n    if (componentDef) {\n        return {\n            inputs: componentDef.inputs,\n            outputs: componentDef.outputs,\n            encapsulation: componentDef.encapsulation,\n            changeDetection: componentDef.onPush ? ChangeDetectionStrategy.OnPush :\n                ChangeDetectionStrategy.Default\n        };\n    }\n    const directiveDef = getDirectiveDef(constructor);\n    if (directiveDef) {\n        return { inputs: directiveDef.inputs, outputs: directiveDef.outputs };\n    }\n    return null;\n}\n/**\n * Retrieve map of local references.\n *\n * The references are retrieved as a map of local reference name to element or directive instance.\n *\n * @param target DOM element, component or directive instance for which to retrieve\n *    the local references.\n */\nfunction getLocalRefs(target) {\n    const context = getLContext(target);\n    if (context === null)\n        return {};\n    if (context.localRefs === undefined) {\n        const lView = context.lView;\n        if (lView === null) {\n            return {};\n        }\n        context.localRefs = discoverLocalRefs(lView, context.nodeIndex);\n    }\n    return context.localRefs || {};\n}\n/**\n * Retrieves the host element of a component or directive instance.\n * The host element is the DOM element that matched the selector of the directive.\n *\n * @param componentOrDirective Component or directive instance for which the host\n *     element should be retrieved.\n * @returns Host element of the target.\n *\n * @publicApi\n * @globalApi ng\n */\nfunction getHostElement(componentOrDirective) {\n    return getLContext(componentOrDirective).native;\n}\n/**\n * Retrieves the rendered text for a given component.\n *\n * This function retrieves the host element of a component and\n * and then returns the `textContent` for that element. This implies\n * that the text returned will include re-projected content of\n * the component as well.\n *\n * @param component The component to return the content text for.\n */\nfunction getRenderedText(component) {\n    const hostElement = getHostElement(component);\n    return hostElement.textContent || '';\n}\n/**\n * Retrieves a list of event listeners associated with a DOM element. The list does include host\n * listeners, but it does not include event listeners defined outside of the Angular context\n * (e.g. through `addEventListener`).\n *\n * @usageNotes\n * Given the following DOM structure:\n *\n * ```html\n * <app-root>\n *   <div (click)=\"doSomething()\"></div>\n * </app-root>\n * ```\n *\n * Calling `getListeners` on `<div>` will return an object that looks as follows:\n *\n * ```ts\n * {\n *   name: 'click',\n *   element: <div>,\n *   callback: () => doSomething(),\n *   useCapture: false\n * }\n * ```\n *\n * @param element Element for which the DOM listeners should be retrieved.\n * @returns Array of event listeners on the DOM element.\n *\n * @publicApi\n * @globalApi ng\n */\nfunction getListeners(element) {\n    ngDevMode && assertDomElement(element);\n    const lContext = getLContext(element);\n    const lView = lContext === null ? null : lContext.lView;\n    if (lView === null)\n        return [];\n    const tView = lView[TVIEW];\n    const lCleanup = lView[CLEANUP];\n    const tCleanup = tView.cleanup;\n    const listeners = [];\n    if (tCleanup && lCleanup) {\n        for (let i = 0; i < tCleanup.length;) {\n            const firstParam = tCleanup[i++];\n            const secondParam = tCleanup[i++];\n            if (typeof firstParam === 'string') {\n                const name = firstParam;\n                const listenerElement = unwrapRNode(lView[secondParam]);\n                const callback = lCleanup[tCleanup[i++]];\n                const useCaptureOrIndx = tCleanup[i++];\n                // if useCaptureOrIndx is boolean then report it as is.\n                // if useCaptureOrIndx is positive number then it in unsubscribe method\n                // if useCaptureOrIndx is negative number then it is a Subscription\n                const type = (typeof useCaptureOrIndx === 'boolean' || useCaptureOrIndx >= 0) ? 'dom' : 'output';\n                const useCapture = typeof useCaptureOrIndx === 'boolean' ? useCaptureOrIndx : false;\n                if (element == listenerElement) {\n                    listeners.push({ element, name, callback, useCapture, type });\n                }\n            }\n        }\n    }\n    listeners.sort(sortListeners);\n    return listeners;\n}\nfunction sortListeners(a, b) {\n    if (a.name == b.name)\n        return 0;\n    return a.name < b.name ? -1 : 1;\n}\n/**\n * This function should not exist because it is megamorphic and only mostly correct.\n *\n * See call site for more info.\n */\nfunction isDirectiveDefHack(obj) {\n    return obj.type !== undefined && obj.declaredInputs !== undefined &&\n        obj.findHostDirectiveDefs !== undefined;\n}\n/**\n * Retrieve the component `LView` from component/element.\n *\n * NOTE: `LView` is a private and should not be leaked outside.\n *       Don't export this method to `ng.*` on window.\n *\n * @param target DOM element or component instance for which to retrieve the LView.\n */\nfunction getComponentLView(target) {\n    const lContext = getLContext(target);\n    const nodeIndx = lContext.nodeIndex;\n    const lView = lContext.lView;\n    ngDevMode && assertLView(lView);\n    const componentLView = lView[nodeIndx];\n    ngDevMode && assertLView(componentLView);\n    return componentLView;\n}\n/** Asserts that a value is a DOM Element. */\nfunction assertDomElement(value) {\n    if (typeof Element !== 'undefined' && !(value instanceof Element)) {\n        throw new Error('Expecting instance of DOM Element');\n    }\n}\n\n/**\n * Adds decorator, constructor, and property metadata to a given type via static metadata fields\n * on the type.\n *\n * These metadata fields can later be read with Angular's `ReflectionCapabilities` API.\n *\n * Calls to `setClassMetadata` can be guarded by ngDevMode, resulting in the metadata assignments\n * being tree-shaken away during production builds.\n */\nfunction setClassMetadata(type, decorators, ctorParameters, propDecorators) {\n    return noSideEffects(() => {\n        const clazz = type;\n        if (decorators !== null) {\n            if (clazz.hasOwnProperty('decorators') && clazz.decorators !== undefined) {\n                clazz.decorators.push(...decorators);\n            }\n            else {\n                clazz.decorators = decorators;\n            }\n        }\n        if (ctorParameters !== null) {\n            // Rather than merging, clobber the existing parameters. If other projects exist which\n            // use tsickle-style annotations and reflect over them in the same way, this could\n            // cause issues, but that is vanishingly unlikely.\n            clazz.ctorParameters = ctorParameters;\n        }\n        if (propDecorators !== null) {\n            // The property decorator objects are merged as it is possible different fields have\n            // different decorator types. Decorators on individual fields are not merged, as it's\n            // also incredibly unlikely that a field will be decorated both with an Angular\n            // decorator and a non-Angular decorator that's also been downleveled.\n            if (clazz.hasOwnProperty('propDecorators') && clazz.propDecorators !== undefined) {\n                clazz.propDecorators = { ...clazz.propDecorators, ...propDecorators };\n            }\n            else {\n                clazz.propDecorators = propDecorators;\n            }\n        }\n    });\n}\n\n/**\n * Bindings for pure functions are stored after regular bindings.\n *\n * |-------decls------|---------vars---------|                 |----- hostVars (dir1) ------|\n * ------------------------------------------------------------------------------------------\n * | nodes/refs/pipes | bindings | fn slots  | injector | dir1 | host bindings | host slots |\n * ------------------------------------------------------------------------------------------\n *                    ^                      ^\n *      TView.bindingStartIndex      TView.expandoStartIndex\n *\n * Pure function instructions are given an offset from the binding root. Adding the offset to the\n * binding root gives the first index where the bindings are stored. In component views, the binding\n * root is the bindingStartIndex. In host bindings, the binding root is the expandoStartIndex +\n * any directive instances + any hostVars in directives evaluated before it.\n *\n * See VIEW_DATA.md for more information about host binding resolution.\n */\n/**\n * If the value hasn't been saved, calls the pure function to store and return the\n * value. If it has been saved, returns the saved value.\n *\n * @param slotOffset the offset from binding root to the reserved slot\n * @param pureFn Function that returns a value\n * @param thisArg Optional calling context of pureFn\n * @returns value\n *\n * @codeGenApi\n */\nfunction ɵɵpureFunction0(slotOffset, pureFn, thisArg) {\n    const bindingIndex = getBindingRoot() + slotOffset;\n    const lView = getLView();\n    return lView[bindingIndex] === NO_CHANGE ?\n        updateBinding(lView, bindingIndex, thisArg ? pureFn.call(thisArg) : pureFn()) :\n        getBinding(lView, bindingIndex);\n}\n/**\n * If the value of the provided exp has changed, calls the pure function to return\n * an updated value. Or if the value has not changed, returns cached value.\n *\n * @param slotOffset the offset from binding root to the reserved slot\n * @param pureFn Function that returns an updated value\n * @param exp Updated expression value\n * @param thisArg Optional calling context of pureFn\n * @returns Updated or cached value\n *\n * @codeGenApi\n */\nfunction ɵɵpureFunction1(slotOffset, pureFn, exp, thisArg) {\n    return pureFunction1Internal(getLView(), getBindingRoot(), slotOffset, pureFn, exp, thisArg);\n}\n/**\n * If the value of any provided exp has changed, calls the pure function to return\n * an updated value. Or if no values have changed, returns cached value.\n *\n * @param slotOffset the offset from binding root to the reserved slot\n * @param pureFn\n * @param exp1\n * @param exp2\n * @param thisArg Optional calling context of pureFn\n * @returns Updated or cached value\n *\n * @codeGenApi\n */\nfunction ɵɵpureFunction2(slotOffset, pureFn, exp1, exp2, thisArg) {\n    return pureFunction2Internal(getLView(), getBindingRoot(), slotOffset, pureFn, exp1, exp2, thisArg);\n}\n/**\n * If the value of any provided exp has changed, calls the pure function to return\n * an updated value. Or if no values have changed, returns cached value.\n *\n * @param slotOffset the offset from binding root to the reserved slot\n * @param pureFn\n * @param exp1\n * @param exp2\n * @param exp3\n * @param thisArg Optional calling context of pureFn\n * @returns Updated or cached value\n *\n * @codeGenApi\n */\nfunction ɵɵpureFunction3(slotOffset, pureFn, exp1, exp2, exp3, thisArg) {\n    return pureFunction3Internal(getLView(), getBindingRoot(), slotOffset, pureFn, exp1, exp2, exp3, thisArg);\n}\n/**\n * If the value of any provided exp has changed, calls the pure function to return\n * an updated value. Or if no values have changed, returns cached value.\n *\n * @param slotOffset the offset from binding root to the reserved slot\n * @param pureFn\n * @param exp1\n * @param exp2\n * @param exp3\n * @param exp4\n * @param thisArg Optional calling context of pureFn\n * @returns Updated or cached value\n *\n * @codeGenApi\n */\nfunction ɵɵpureFunction4(slotOffset, pureFn, exp1, exp2, exp3, exp4, thisArg) {\n    return pureFunction4Internal(getLView(), getBindingRoot(), slotOffset, pureFn, exp1, exp2, exp3, exp4, thisArg);\n}\n/**\n * If the value of any provided exp has changed, calls the pure function to return\n * an updated value. Or if no values have changed, returns cached value.\n *\n * @param slotOffset the offset from binding root to the reserved slot\n * @param pureFn\n * @param exp1\n * @param exp2\n * @param exp3\n * @param exp4\n * @param exp5\n * @param thisArg Optional calling context of pureFn\n * @returns Updated or cached value\n *\n * @codeGenApi\n */\nfunction ɵɵpureFunction5(slotOffset, pureFn, exp1, exp2, exp3, exp4, exp5, thisArg) {\n    const bindingIndex = getBindingRoot() + slotOffset;\n    const lView = getLView();\n    const different = bindingUpdated4(lView, bindingIndex, exp1, exp2, exp3, exp4);\n    return bindingUpdated(lView, bindingIndex + 4, exp5) || different ?\n        updateBinding(lView, bindingIndex + 5, thisArg ? pureFn.call(thisArg, exp1, exp2, exp3, exp4, exp5) :\n            pureFn(exp1, exp2, exp3, exp4, exp5)) :\n        getBinding(lView, bindingIndex + 5);\n}\n/**\n * If the value of any provided exp has changed, calls the pure function to return\n * an updated value. Or if no values have changed, returns cached value.\n *\n * @param slotOffset the offset from binding root to the reserved slot\n * @param pureFn\n * @param exp1\n * @param exp2\n * @param exp3\n * @param exp4\n * @param exp5\n * @param exp6\n * @param thisArg Optional calling context of pureFn\n * @returns Updated or cached value\n *\n * @codeGenApi\n */\nfunction ɵɵpureFunction6(slotOffset, pureFn, exp1, exp2, exp3, exp4, exp5, exp6, thisArg) {\n    const bindingIndex = getBindingRoot() + slotOffset;\n    const lView = getLView();\n    const different = bindingUpdated4(lView, bindingIndex, exp1, exp2, exp3, exp4);\n    return bindingUpdated2(lView, bindingIndex + 4, exp5, exp6) || different ?\n        updateBinding(lView, bindingIndex + 6, thisArg ? pureFn.call(thisArg, exp1, exp2, exp3, exp4, exp5, exp6) :\n            pureFn(exp1, exp2, exp3, exp4, exp5, exp6)) :\n        getBinding(lView, bindingIndex + 6);\n}\n/**\n * If the value of any provided exp has changed, calls the pure function to return\n * an updated value. Or if no values have changed, returns cached value.\n *\n * @param slotOffset the offset from binding root to the reserved slot\n * @param pureFn\n * @param exp1\n * @param exp2\n * @param exp3\n * @param exp4\n * @param exp5\n * @param exp6\n * @param exp7\n * @param thisArg Optional calling context of pureFn\n * @returns Updated or cached value\n *\n * @codeGenApi\n */\nfunction ɵɵpureFunction7(slotOffset, pureFn, exp1, exp2, exp3, exp4, exp5, exp6, exp7, thisArg) {\n    const bindingIndex = getBindingRoot() + slotOffset;\n    const lView = getLView();\n    let different = bindingUpdated4(lView, bindingIndex, exp1, exp2, exp3, exp4);\n    return bindingUpdated3(lView, bindingIndex + 4, exp5, exp6, exp7) || different ?\n        updateBinding(lView, bindingIndex + 7, thisArg ? pureFn.call(thisArg, exp1, exp2, exp3, exp4, exp5, exp6, exp7) :\n            pureFn(exp1, exp2, exp3, exp4, exp5, exp6, exp7)) :\n        getBinding(lView, bindingIndex + 7);\n}\n/**\n * If the value of any provided exp has changed, calls the pure function to return\n * an updated value. Or if no values have changed, returns cached value.\n *\n * @param slotOffset the offset from binding root to the reserved slot\n * @param pureFn\n * @param exp1\n * @param exp2\n * @param exp3\n * @param exp4\n * @param exp5\n * @param exp6\n * @param exp7\n * @param exp8\n * @param thisArg Optional calling context of pureFn\n * @returns Updated or cached value\n *\n * @codeGenApi\n */\nfunction ɵɵpureFunction8(slotOffset, pureFn, exp1, exp2, exp3, exp4, exp5, exp6, exp7, exp8, thisArg) {\n    const bindingIndex = getBindingRoot() + slotOffset;\n    const lView = getLView();\n    const different = bindingUpdated4(lView, bindingIndex, exp1, exp2, exp3, exp4);\n    return bindingUpdated4(lView, bindingIndex + 4, exp5, exp6, exp7, exp8) || different ?\n        updateBinding(lView, bindingIndex + 8, thisArg ? pureFn.call(thisArg, exp1, exp2, exp3, exp4, exp5, exp6, exp7, exp8) :\n            pureFn(exp1, exp2, exp3, exp4, exp5, exp6, exp7, exp8)) :\n        getBinding(lView, bindingIndex + 8);\n}\n/**\n * pureFunction instruction that can support any number of bindings.\n *\n * If the value of any provided exp has changed, calls the pure function to return\n * an updated value. Or if no values have changed, returns cached value.\n *\n * @param slotOffset the offset from binding root to the reserved slot\n * @param pureFn A pure function that takes binding values and builds an object or array\n * containing those values.\n * @param exps An array of binding values\n * @param thisArg Optional calling context of pureFn\n * @returns Updated or cached value\n *\n * @codeGenApi\n */\nfunction ɵɵpureFunctionV(slotOffset, pureFn, exps, thisArg) {\n    return pureFunctionVInternal(getLView(), getBindingRoot(), slotOffset, pureFn, exps, thisArg);\n}\n/**\n * Results of a pure function invocation are stored in LView in a dedicated slot that is initialized\n * to NO_CHANGE. In rare situations a pure pipe might throw an exception on the very first\n * invocation and not produce any valid results. In this case LView would keep holding the NO_CHANGE\n * value. The NO_CHANGE is not something that we can use in expressions / bindings thus we convert\n * it to `undefined`.\n */\nfunction getPureFunctionReturnValue(lView, returnValueIndex) {\n    ngDevMode && assertIndexInRange(lView, returnValueIndex);\n    const lastReturnValue = lView[returnValueIndex];\n    return lastReturnValue === NO_CHANGE ? undefined : lastReturnValue;\n}\n/**\n * If the value of the provided exp has changed, calls the pure function to return\n * an updated value. Or if the value has not changed, returns cached value.\n *\n * @param lView LView in which the function is being executed.\n * @param bindingRoot Binding root index.\n * @param slotOffset the offset from binding root to the reserved slot\n * @param pureFn Function that returns an updated value\n * @param exp Updated expression value\n * @param thisArg Optional calling context of pureFn\n * @returns Updated or cached value\n */\nfunction pureFunction1Internal(lView, bindingRoot, slotOffset, pureFn, exp, thisArg) {\n    const bindingIndex = bindingRoot + slotOffset;\n    return bindingUpdated(lView, bindingIndex, exp) ?\n        updateBinding(lView, bindingIndex + 1, thisArg ? pureFn.call(thisArg, exp) : pureFn(exp)) :\n        getPureFunctionReturnValue(lView, bindingIndex + 1);\n}\n/**\n * If the value of any provided exp has changed, calls the pure function to return\n * an updated value. Or if no values have changed, returns cached value.\n *\n * @param lView LView in which the function is being executed.\n * @param bindingRoot Binding root index.\n * @param slotOffset the offset from binding root to the reserved slot\n * @param pureFn\n * @param exp1\n * @param exp2\n * @param thisArg Optional calling context of pureFn\n * @returns Updated or cached value\n */\nfunction pureFunction2Internal(lView, bindingRoot, slotOffset, pureFn, exp1, exp2, thisArg) {\n    const bindingIndex = bindingRoot + slotOffset;\n    return bindingUpdated2(lView, bindingIndex, exp1, exp2) ?\n        updateBinding(lView, bindingIndex + 2, thisArg ? pureFn.call(thisArg, exp1, exp2) : pureFn(exp1, exp2)) :\n        getPureFunctionReturnValue(lView, bindingIndex + 2);\n}\n/**\n * If the value of any provided exp has changed, calls the pure function to return\n * an updated value. Or if no values have changed, returns cached value.\n *\n * @param lView LView in which the function is being executed.\n * @param bindingRoot Binding root index.\n * @param slotOffset the offset from binding root to the reserved slot\n * @param pureFn\n * @param exp1\n * @param exp2\n * @param exp3\n * @param thisArg Optional calling context of pureFn\n * @returns Updated or cached value\n */\nfunction pureFunction3Internal(lView, bindingRoot, slotOffset, pureFn, exp1, exp2, exp3, thisArg) {\n    const bindingIndex = bindingRoot + slotOffset;\n    return bindingUpdated3(lView, bindingIndex, exp1, exp2, exp3) ?\n        updateBinding(lView, bindingIndex + 3, thisArg ? pureFn.call(thisArg, exp1, exp2, exp3) : pureFn(exp1, exp2, exp3)) :\n        getPureFunctionReturnValue(lView, bindingIndex + 3);\n}\n/**\n * If the value of any provided exp has changed, calls the pure function to return\n * an updated value. Or if no values have changed, returns cached value.\n *\n * @param lView LView in which the function is being executed.\n * @param bindingRoot Binding root index.\n * @param slotOffset the offset from binding root to the reserved slot\n * @param pureFn\n * @param exp1\n * @param exp2\n * @param exp3\n * @param exp4\n * @param thisArg Optional calling context of pureFn\n * @returns Updated or cached value\n *\n */\nfunction pureFunction4Internal(lView, bindingRoot, slotOffset, pureFn, exp1, exp2, exp3, exp4, thisArg) {\n    const bindingIndex = bindingRoot + slotOffset;\n    return bindingUpdated4(lView, bindingIndex, exp1, exp2, exp3, exp4) ?\n        updateBinding(lView, bindingIndex + 4, thisArg ? pureFn.call(thisArg, exp1, exp2, exp3, exp4) : pureFn(exp1, exp2, exp3, exp4)) :\n        getPureFunctionReturnValue(lView, bindingIndex + 4);\n}\n/**\n * pureFunction instruction that can support any number of bindings.\n *\n * If the value of any provided exp has changed, calls the pure function to return\n * an updated value. Or if no values have changed, returns cached value.\n *\n * @param lView LView in which the function is being executed.\n * @param bindingRoot Binding root index.\n * @param slotOffset the offset from binding root to the reserved slot\n * @param pureFn A pure function that takes binding values and builds an object or array\n * containing those values.\n * @param exps An array of binding values\n * @param thisArg Optional calling context of pureFn\n * @returns Updated or cached value\n */\nfunction pureFunctionVInternal(lView, bindingRoot, slotOffset, pureFn, exps, thisArg) {\n    let bindingIndex = bindingRoot + slotOffset;\n    let different = false;\n    for (let i = 0; i < exps.length; i++) {\n        bindingUpdated(lView, bindingIndex++, exps[i]) && (different = true);\n    }\n    return different ? updateBinding(lView, bindingIndex, pureFn.apply(thisArg, exps)) :\n        getPureFunctionReturnValue(lView, bindingIndex);\n}\n\n/**\n * Create a pipe.\n *\n * @param index Pipe index where the pipe will be stored.\n * @param pipeName The name of the pipe\n * @returns T the instance of the pipe.\n *\n * @codeGenApi\n */\nfunction ɵɵpipe(index, pipeName) {\n    const tView = getTView();\n    let pipeDef;\n    const adjustedIndex = index + HEADER_OFFSET;\n    if (tView.firstCreatePass) {\n        // The `getPipeDef` throws if a pipe with a given name is not found\n        // (so we use non-null assertion below).\n        pipeDef = getPipeDef(pipeName, tView.pipeRegistry);\n        tView.data[adjustedIndex] = pipeDef;\n        if (pipeDef.onDestroy) {\n            (tView.destroyHooks ?? (tView.destroyHooks = [])).push(adjustedIndex, pipeDef.onDestroy);\n        }\n    }\n    else {\n        pipeDef = tView.data[adjustedIndex];\n    }\n    const pipeFactory = pipeDef.factory || (pipeDef.factory = getFactoryDef(pipeDef.type, true));\n    const previousInjectImplementation = setInjectImplementation(ɵɵdirectiveInject);\n    try {\n        // DI for pipes is supposed to behave like directives when placed on a component\n        // host node, which means that we have to disable access to `viewProviders`.\n        const previousIncludeViewProviders = setIncludeViewProviders(false);\n        const pipeInstance = pipeFactory();\n        setIncludeViewProviders(previousIncludeViewProviders);\n        store(tView, getLView(), adjustedIndex, pipeInstance);\n        return pipeInstance;\n    }\n    finally {\n        // we have to restore the injector implementation in finally, just in case the creation of the\n        // pipe throws an error.\n        setInjectImplementation(previousInjectImplementation);\n    }\n}\n/**\n * Searches the pipe registry for a pipe with the given name. If one is found,\n * returns the pipe. Otherwise, an error is thrown because the pipe cannot be resolved.\n *\n * @param name Name of pipe to resolve\n * @param registry Full list of available pipes\n * @returns Matching PipeDef\n */\nfunction getPipeDef(name, registry) {\n    if (registry) {\n        for (let i = registry.length - 1; i >= 0; i--) {\n            const pipeDef = registry[i];\n            if (name === pipeDef.name) {\n                return pipeDef;\n            }\n        }\n    }\n    if (ngDevMode) {\n        throw new RuntimeError(-302 /* RuntimeErrorCode.PIPE_NOT_FOUND */, getPipeNotFoundErrorMessage(name));\n    }\n}\n/**\n * Generates a helpful error message for the user when a pipe is not found.\n *\n * @param name Name of the missing pipe\n * @returns The error message\n */\nfunction getPipeNotFoundErrorMessage(name) {\n    const lView = getLView();\n    const declarationLView = lView[DECLARATION_COMPONENT_VIEW];\n    const context = declarationLView[CONTEXT];\n    const hostIsStandalone = isHostComponentStandalone(lView);\n    const componentInfoMessage = context ? ` in the '${context.constructor.name}' component` : '';\n    const verifyMessage = `Verify that it is ${hostIsStandalone ? 'included in the \\'@Component.imports\\' of this component' :\n        'declared or imported in this module'}`;\n    const errorMessage = `The pipe '${name}' could not be found${componentInfoMessage}. ${verifyMessage}`;\n    return errorMessage;\n}\n/**\n * Invokes a pipe with 1 arguments.\n *\n * This instruction acts as a guard to {@link PipeTransform#transform} invoking\n * the pipe only when an input to the pipe changes.\n *\n * @param index Pipe index where the pipe was stored on creation.\n * @param slotOffset the offset in the reserved slot space\n * @param v1 1st argument to {@link PipeTransform#transform}.\n *\n * @codeGenApi\n */\nfunction ɵɵpipeBind1(index, slotOffset, v1) {\n    const adjustedIndex = index + HEADER_OFFSET;\n    const lView = getLView();\n    const pipeInstance = load(lView, adjustedIndex);\n    return isPure(lView, adjustedIndex) ?\n        pureFunction1Internal(lView, getBindingRoot(), slotOffset, pipeInstance.transform, v1, pipeInstance) :\n        pipeInstance.transform(v1);\n}\n/**\n * Invokes a pipe with 2 arguments.\n *\n * This instruction acts as a guard to {@link PipeTransform#transform} invoking\n * the pipe only when an input to the pipe changes.\n *\n * @param index Pipe index where the pipe was stored on creation.\n * @param slotOffset the offset in the reserved slot space\n * @param v1 1st argument to {@link PipeTransform#transform}.\n * @param v2 2nd argument to {@link PipeTransform#transform}.\n *\n * @codeGenApi\n */\nfunction ɵɵpipeBind2(index, slotOffset, v1, v2) {\n    const adjustedIndex = index + HEADER_OFFSET;\n    const lView = getLView();\n    const pipeInstance = load(lView, adjustedIndex);\n    return isPure(lView, adjustedIndex) ?\n        pureFunction2Internal(lView, getBindingRoot(), slotOffset, pipeInstance.transform, v1, v2, pipeInstance) :\n        pipeInstance.transform(v1, v2);\n}\n/**\n * Invokes a pipe with 3 arguments.\n *\n * This instruction acts as a guard to {@link PipeTransform#transform} invoking\n * the pipe only when an input to the pipe changes.\n *\n * @param index Pipe index where the pipe was stored on creation.\n * @param slotOffset the offset in the reserved slot space\n * @param v1 1st argument to {@link PipeTransform#transform}.\n * @param v2 2nd argument to {@link PipeTransform#transform}.\n * @param v3 4rd argument to {@link PipeTransform#transform}.\n *\n * @codeGenApi\n */\nfunction ɵɵpipeBind3(index, slotOffset, v1, v2, v3) {\n    const adjustedIndex = index + HEADER_OFFSET;\n    const lView = getLView();\n    const pipeInstance = load(lView, adjustedIndex);\n    return isPure(lView, adjustedIndex) ?\n        pureFunction3Internal(lView, getBindingRoot(), slotOffset, pipeInstance.transform, v1, v2, v3, pipeInstance) :\n        pipeInstance.transform(v1, v2, v3);\n}\n/**\n * Invokes a pipe with 4 arguments.\n *\n * This instruction acts as a guard to {@link PipeTransform#transform} invoking\n * the pipe only when an input to the pipe changes.\n *\n * @param index Pipe index where the pipe was stored on creation.\n * @param slotOffset the offset in the reserved slot space\n * @param v1 1st argument to {@link PipeTransform#transform}.\n * @param v2 2nd argument to {@link PipeTransform#transform}.\n * @param v3 3rd argument to {@link PipeTransform#transform}.\n * @param v4 4th argument to {@link PipeTransform#transform}.\n *\n * @codeGenApi\n */\nfunction ɵɵpipeBind4(index, slotOffset, v1, v2, v3, v4) {\n    const adjustedIndex = index + HEADER_OFFSET;\n    const lView = getLView();\n    const pipeInstance = load(lView, adjustedIndex);\n    return isPure(lView, adjustedIndex) ? pureFunction4Internal(lView, getBindingRoot(), slotOffset, pipeInstance.transform, v1, v2, v3, v4, pipeInstance) :\n        pipeInstance.transform(v1, v2, v3, v4);\n}\n/**\n * Invokes a pipe with variable number of arguments.\n *\n * This instruction acts as a guard to {@link PipeTransform#transform} invoking\n * the pipe only when an input to the pipe changes.\n *\n * @param index Pipe index where the pipe was stored on creation.\n * @param slotOffset the offset in the reserved slot space\n * @param values Array of arguments to pass to {@link PipeTransform#transform} method.\n *\n * @codeGenApi\n */\nfunction ɵɵpipeBindV(index, slotOffset, values) {\n    const adjustedIndex = index + HEADER_OFFSET;\n    const lView = getLView();\n    const pipeInstance = load(lView, adjustedIndex);\n    return isPure(lView, adjustedIndex) ?\n        pureFunctionVInternal(lView, getBindingRoot(), slotOffset, pipeInstance.transform, values, pipeInstance) :\n        pipeInstance.transform.apply(pipeInstance, values);\n}\nfunction isPure(lView, index) {\n    return lView[TVIEW].data[index].pure;\n}\n\n/// <reference types=\"rxjs\" />\nclass EventEmitter_ extends Subject {\n    constructor(isAsync = false) {\n        super();\n        this.__isAsync = isAsync;\n    }\n    emit(value) {\n        super.next(value);\n    }\n    subscribe(observerOrNext, error, complete) {\n        let nextFn = observerOrNext;\n        let errorFn = error || (() => null);\n        let completeFn = complete;\n        if (observerOrNext && typeof observerOrNext === 'object') {\n            const observer = observerOrNext;\n            nextFn = observer.next?.bind(observer);\n            errorFn = observer.error?.bind(observer);\n            completeFn = observer.complete?.bind(observer);\n        }\n        if (this.__isAsync) {\n            errorFn = _wrapInTimeout(errorFn);\n            if (nextFn) {\n                nextFn = _wrapInTimeout(nextFn);\n            }\n            if (completeFn) {\n                completeFn = _wrapInTimeout(completeFn);\n            }\n        }\n        const sink = super.subscribe({ next: nextFn, error: errorFn, complete: completeFn });\n        if (observerOrNext instanceof Subscription) {\n            observerOrNext.add(sink);\n        }\n        return sink;\n    }\n}\nfunction _wrapInTimeout(fn) {\n    return (value) => {\n        setTimeout(fn, undefined, value);\n    };\n}\n/**\n * @publicApi\n */\nconst EventEmitter = EventEmitter_;\n\nfunction symbolIterator() {\n    // @ts-expect-error accessing a private member\n    return this._results[Symbol.iterator]();\n}\n/**\n * An unmodifiable list of items that Angular keeps up to date when the state\n * of the application changes.\n *\n * The type of object that {@link ViewChildren}, {@link ContentChildren}, and {@link QueryList}\n * provide.\n *\n * Implements an iterable interface, therefore it can be used in both ES6\n * javascript `for (var i of items)` loops as well as in Angular templates with\n * `*ngFor=\"let i of myList\"`.\n *\n * Changes can be observed by subscribing to the changes `Observable`.\n *\n * NOTE: In the future this class will implement an `Observable` interface.\n *\n * @usageNotes\n * ### Example\n * ```typescript\n * @Component({...})\n * class Container {\n *   @ViewChildren(Item) items:QueryList<Item>;\n * }\n * ```\n *\n * @publicApi\n */\nclass QueryList {\n    /**\n     * Returns `Observable` of `QueryList` notifying the subscriber of changes.\n     */\n    get changes() {\n        return this._changes || (this._changes = new EventEmitter());\n    }\n    /**\n     * @param emitDistinctChangesOnly Whether `QueryList.changes` should fire only when actual change\n     *     has occurred. Or if it should fire when query is recomputed. (recomputing could resolve in\n     *     the same result)\n     */\n    constructor(_emitDistinctChangesOnly = false) {\n        this._emitDistinctChangesOnly = _emitDistinctChangesOnly;\n        this.dirty = true;\n        this._results = [];\n        this._changesDetected = false;\n        this._changes = null;\n        this.length = 0;\n        this.first = undefined;\n        this.last = undefined;\n        // This function should be declared on the prototype, but doing so there will cause the class\n        // declaration to have side-effects and become not tree-shakable. For this reason we do it in\n        // the constructor.\n        // [Symbol.iterator](): Iterator<T> { ... }\n        const proto = QueryList.prototype;\n        if (!proto[Symbol.iterator])\n            proto[Symbol.iterator] = symbolIterator;\n    }\n    /**\n     * Returns the QueryList entry at `index`.\n     */\n    get(index) {\n        return this._results[index];\n    }\n    /**\n     * See\n     * [Array.map](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map)\n     */\n    map(fn) {\n        return this._results.map(fn);\n    }\n    /**\n     * See\n     * [Array.filter](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/filter)\n     */\n    filter(fn) {\n        return this._results.filter(fn);\n    }\n    /**\n     * See\n     * [Array.find](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find)\n     */\n    find(fn) {\n        return this._results.find(fn);\n    }\n    /**\n     * See\n     * [Array.reduce](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/reduce)\n     */\n    reduce(fn, init) {\n        return this._results.reduce(fn, init);\n    }\n    /**\n     * See\n     * [Array.forEach](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/forEach)\n     */\n    forEach(fn) {\n        this._results.forEach(fn);\n    }\n    /**\n     * See\n     * [Array.some](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/some)\n     */\n    some(fn) {\n        return this._results.some(fn);\n    }\n    /**\n     * Returns a copy of the internal results list as an Array.\n     */\n    toArray() {\n        return this._results.slice();\n    }\n    toString() {\n        return this._results.toString();\n    }\n    /**\n     * Updates the stored data of the query list, and resets the `dirty` flag to `false`, so that\n     * on change detection, it will not notify of changes to the queries, unless a new change\n     * occurs.\n     *\n     * @param resultsTree The query results to store\n     * @param identityAccessor Optional function for extracting stable object identity from a value\n     *    in the array. This function is executed for each element of the query result list while\n     *    comparing current query list with the new one (provided as a first argument of the `reset`\n     *    function) to detect if the lists are different. If the function is not provided, elements\n     *    are compared as is (without any pre-processing).\n     */\n    reset(resultsTree, identityAccessor) {\n        // Cast to `QueryListInternal` so that we can mutate fields which are readonly for the usage of\n        // QueryList (but not for QueryList itself.)\n        const self = this;\n        self.dirty = false;\n        const newResultFlat = flatten(resultsTree);\n        if (this._changesDetected = !arrayEquals(self._results, newResultFlat, identityAccessor)) {\n            self._results = newResultFlat;\n            self.length = newResultFlat.length;\n            self.last = newResultFlat[this.length - 1];\n            self.first = newResultFlat[0];\n        }\n    }\n    /**\n     * Triggers a change event by emitting on the `changes` {@link EventEmitter}.\n     */\n    notifyOnChanges() {\n        if (this._changes && (this._changesDetected || !this._emitDistinctChangesOnly))\n            this._changes.emit(this);\n    }\n    /** internal */\n    setDirty() {\n        this.dirty = true;\n    }\n    /** internal */\n    destroy() {\n        this.changes.complete();\n        this.changes.unsubscribe();\n    }\n}\nSymbol.iterator;\n\n/**\n * Represents an embedded template that can be used to instantiate embedded views.\n * To instantiate embedded views based on a template, use the `ViewContainerRef`\n * method `createEmbeddedView()`.\n *\n * Access a `TemplateRef` instance by placing a directive on an `<ng-template>`\n * element (or directive prefixed with `*`). The `TemplateRef` for the embedded view\n * is injected into the constructor of the directive,\n * using the `TemplateRef` token.\n *\n * You can also use a `Query` to find a `TemplateRef` associated with\n * a component or a directive.\n *\n * @see `ViewContainerRef`\n * @see [Navigate the Component Tree with DI](guide/dependency-injection-navtree)\n *\n * @publicApi\n */\nclass TemplateRef {\n}\n/**\n * @internal\n * @nocollapse\n */\nTemplateRef.__NG_ELEMENT_ID__ = injectTemplateRef;\nconst ViewEngineTemplateRef = TemplateRef;\n// TODO(alxhub): combine interface and implementation. Currently this is challenging since something\n// in g3 depends on them being separate.\nconst R3TemplateRef = class TemplateRef extends ViewEngineTemplateRef {\n    constructor(_declarationLView, _declarationTContainer, elementRef) {\n        super();\n        this._declarationLView = _declarationLView;\n        this._declarationTContainer = _declarationTContainer;\n        this.elementRef = elementRef;\n    }\n    createEmbeddedView(context, injector) {\n        const embeddedTView = this._declarationTContainer.tView;\n        const embeddedLView = createLView(this._declarationLView, embeddedTView, context, 16 /* LViewFlags.CheckAlways */, null, embeddedTView.declTNode, null, null, null, null, injector || null);\n        const declarationLContainer = this._declarationLView[this._declarationTContainer.index];\n        ngDevMode && assertLContainer(declarationLContainer);\n        embeddedLView[DECLARATION_LCONTAINER] = declarationLContainer;\n        const declarationViewLQueries = this._declarationLView[QUERIES];\n        if (declarationViewLQueries !== null) {\n            embeddedLView[QUERIES] = declarationViewLQueries.createEmbeddedView(embeddedTView);\n        }\n        renderView(embeddedTView, embeddedLView, context);\n        return new ViewRef$1(embeddedLView);\n    }\n};\n/**\n * Creates a TemplateRef given a node.\n *\n * @returns The TemplateRef instance to use\n */\nfunction injectTemplateRef() {\n    return createTemplateRef(getCurrentTNode(), getLView());\n}\n/**\n * Creates a TemplateRef and stores it on the injector.\n *\n * @param hostTNode The node on which a TemplateRef is requested\n * @param hostLView The `LView` to which the node belongs\n * @returns The TemplateRef instance or null if we can't create a TemplateRef on a given node type\n */\nfunction createTemplateRef(hostTNode, hostLView) {\n    if (hostTNode.type & 4 /* TNodeType.Container */) {\n        ngDevMode && assertDefined(hostTNode.tView, 'TView must be allocated');\n        return new R3TemplateRef(hostLView, hostTNode, createElementRef(hostTNode, hostLView));\n    }\n    return null;\n}\n\n/**\n * Represents a container where one or more views can be attached to a component.\n *\n * Can contain *host views* (created by instantiating a\n * component with the `createComponent()` method), and *embedded views*\n * (created by instantiating a `TemplateRef` with the `createEmbeddedView()` method).\n *\n * A view container instance can contain other view containers,\n * creating a [view hierarchy](guide/glossary#view-hierarchy).\n *\n * @see `ComponentRef`\n * @see `EmbeddedViewRef`\n *\n * @publicApi\n */\nclass ViewContainerRef {\n}\n/**\n * @internal\n * @nocollapse\n */\nViewContainerRef.__NG_ELEMENT_ID__ = injectViewContainerRef;\n/**\n * Creates a ViewContainerRef and stores it on the injector. Or, if the ViewContainerRef\n * already exists, retrieves the existing ViewContainerRef.\n *\n * @returns The ViewContainerRef instance to use\n */\nfunction injectViewContainerRef() {\n    const previousTNode = getCurrentTNode();\n    return createContainerRef(previousTNode, getLView());\n}\nconst VE_ViewContainerRef = ViewContainerRef;\n// TODO(alxhub): cleaning up this indirection triggers a subtle bug in Closure in g3. Once the fix\n// for that lands, this can be cleaned up.\nconst R3ViewContainerRef = class ViewContainerRef extends VE_ViewContainerRef {\n    constructor(_lContainer, _hostTNode, _hostLView) {\n        super();\n        this._lContainer = _lContainer;\n        this._hostTNode = _hostTNode;\n        this._hostLView = _hostLView;\n    }\n    get element() {\n        return createElementRef(this._hostTNode, this._hostLView);\n    }\n    get injector() {\n        return new NodeInjector(this._hostTNode, this._hostLView);\n    }\n    /** @deprecated No replacement */\n    get parentInjector() {\n        const parentLocation = getParentInjectorLocation(this._hostTNode, this._hostLView);\n        if (hasParentInjector(parentLocation)) {\n            const parentView = getParentInjectorView(parentLocation, this._hostLView);\n            const injectorIndex = getParentInjectorIndex(parentLocation);\n            ngDevMode && assertNodeInjector(parentView, injectorIndex);\n            const parentTNode = parentView[TVIEW].data[injectorIndex + 8 /* NodeInjectorOffset.TNODE */];\n            return new NodeInjector(parentTNode, parentView);\n        }\n        else {\n            return new NodeInjector(null, this._hostLView);\n        }\n    }\n    clear() {\n        while (this.length > 0) {\n            this.remove(this.length - 1);\n        }\n    }\n    get(index) {\n        const viewRefs = getViewRefs(this._lContainer);\n        return viewRefs !== null && viewRefs[index] || null;\n    }\n    get length() {\n        return this._lContainer.length - CONTAINER_HEADER_OFFSET;\n    }\n    createEmbeddedView(templateRef, context, indexOrOptions) {\n        let index;\n        let injector;\n        if (typeof indexOrOptions === 'number') {\n            index = indexOrOptions;\n        }\n        else if (indexOrOptions != null) {\n            index = indexOrOptions.index;\n            injector = indexOrOptions.injector;\n        }\n        const viewRef = templateRef.createEmbeddedView(context || {}, injector);\n        this.insert(viewRef, index);\n        return viewRef;\n    }\n    createComponent(componentFactoryOrType, indexOrOptions, injector, projectableNodes, environmentInjector) {\n        const isComponentFactory = componentFactoryOrType && !isType(componentFactoryOrType);\n        let index;\n        // This function supports 2 signatures and we need to handle options correctly for both:\n        //   1. When first argument is a Component type. This signature also requires extra\n        //      options to be provided as as object (more ergonomic option).\n        //   2. First argument is a Component factory. In this case extra options are represented as\n        //      positional arguments. This signature is less ergonomic and will be deprecated.\n        if (isComponentFactory) {\n            if (ngDevMode) {\n                assertEqual(typeof indexOrOptions !== 'object', true, 'It looks like Component factory was provided as the first argument ' +\n                    'and an options object as the second argument. This combination of arguments ' +\n                    'is incompatible. You can either change the first argument to provide Component ' +\n                    'type or change the second argument to be a number (representing an index at ' +\n                    'which to insert the new component\\'s host view into this container)');\n            }\n            index = indexOrOptions;\n        }\n        else {\n            if (ngDevMode) {\n                assertDefined(getComponentDef(componentFactoryOrType), `Provided Component class doesn't contain Component definition. ` +\n                    `Please check whether provided class has @Component decorator.`);\n                assertEqual(typeof indexOrOptions !== 'number', true, 'It looks like Component type was provided as the first argument ' +\n                    'and a number (representing an index at which to insert the new component\\'s ' +\n                    'host view into this container as the second argument. This combination of arguments ' +\n                    'is incompatible. Please use an object as the second argument instead.');\n            }\n            const options = (indexOrOptions || {});\n            if (ngDevMode && options.environmentInjector && options.ngModuleRef) {\n                throwError(`Cannot pass both environmentInjector and ngModuleRef options to createComponent().`);\n            }\n            index = options.index;\n            injector = options.injector;\n            projectableNodes = options.projectableNodes;\n            environmentInjector = options.environmentInjector || options.ngModuleRef;\n        }\n        const componentFactory = isComponentFactory ?\n            componentFactoryOrType :\n            new ComponentFactory(getComponentDef(componentFactoryOrType));\n        const contextInjector = injector || this.parentInjector;\n        // If an `NgModuleRef` is not provided explicitly, try retrieving it from the DI tree.\n        if (!environmentInjector && componentFactory.ngModule == null) {\n            // For the `ComponentFactory` case, entering this logic is very unlikely, since we expect that\n            // an instance of a `ComponentFactory`, resolved via `ComponentFactoryResolver` would have an\n            // `ngModule` field. This is possible in some test scenarios and potentially in some JIT-based\n            // use-cases. For the `ComponentFactory` case we preserve backwards-compatibility and try\n            // using a provided injector first, then fall back to the parent injector of this\n            // `ViewContainerRef` instance.\n            //\n            // For the factory-less case, it's critical to establish a connection with the module\n            // injector tree (by retrieving an instance of an `NgModuleRef` and accessing its injector),\n            // so that a component can use DI tokens provided in MgModules. For this reason, we can not\n            // rely on the provided injector, since it might be detached from the DI tree (for example, if\n            // it was created via `Injector.create` without specifying a parent injector, or if an\n            // injector is retrieved from an `NgModuleRef` created via `createNgModule` using an\n            // NgModule outside of a module tree). Instead, we always use `ViewContainerRef`'s parent\n            // injector, which is normally connected to the DI tree, which includes module injector\n            // subtree.\n            const _injector = isComponentFactory ? contextInjector : this.parentInjector;\n            // DO NOT REFACTOR. The code here used to have a `injector.get(NgModuleRef, null) ||\n            // undefined` expression which seems to cause internal google apps to fail. This is documented\n            // in the following internal bug issue: go/b/142967802\n            const result = _injector.get(EnvironmentInjector, null);\n            if (result) {\n                environmentInjector = result;\n            }\n        }\n        const componentRef = componentFactory.create(contextInjector, projectableNodes, undefined, environmentInjector);\n        this.insert(componentRef.hostView, index);\n        return componentRef;\n    }\n    insert(viewRef, index) {\n        const lView = viewRef._lView;\n        const tView = lView[TVIEW];\n        if (ngDevMode && viewRef.destroyed) {\n            throw new Error('Cannot insert a destroyed View in a ViewContainer!');\n        }\n        if (viewAttachedToContainer(lView)) {\n            // If view is already attached, detach it first so we clean up references appropriately.\n            const prevIdx = this.indexOf(viewRef);\n            // A view might be attached either to this or a different container. The `prevIdx` for\n            // those cases will be:\n            // equal to -1 for views attached to this ViewContainerRef\n            // >= 0 for views attached to a different ViewContainerRef\n            if (prevIdx !== -1) {\n                this.detach(prevIdx);\n            }\n            else {\n                const prevLContainer = lView[PARENT];\n                ngDevMode &&\n                    assertEqual(isLContainer(prevLContainer), true, 'An attached view should have its PARENT point to a container.');\n                // We need to re-create a R3ViewContainerRef instance since those are not stored on\n                // LView (nor anywhere else).\n                const prevVCRef = new R3ViewContainerRef(prevLContainer, prevLContainer[T_HOST], prevLContainer[PARENT]);\n                prevVCRef.detach(prevVCRef.indexOf(viewRef));\n            }\n        }\n        // Logical operation of adding `LView` to `LContainer`\n        const adjustedIdx = this._adjustIndex(index);\n        const lContainer = this._lContainer;\n        insertView(tView, lView, lContainer, adjustedIdx);\n        // Physical operation of adding the DOM nodes.\n        const beforeNode = getBeforeNodeForView(adjustedIdx, lContainer);\n        const renderer = lView[RENDERER];\n        const parentRNode = nativeParentNode(renderer, lContainer[NATIVE]);\n        if (parentRNode !== null) {\n            addViewToContainer(tView, lContainer[T_HOST], renderer, lView, parentRNode, beforeNode);\n        }\n        viewRef.attachToViewContainerRef();\n        addToArray(getOrCreateViewRefs(lContainer), adjustedIdx, viewRef);\n        return viewRef;\n    }\n    move(viewRef, newIndex) {\n        if (ngDevMode && viewRef.destroyed) {\n            throw new Error('Cannot move a destroyed View in a ViewContainer!');\n        }\n        return this.insert(viewRef, newIndex);\n    }\n    indexOf(viewRef) {\n        const viewRefsArr = getViewRefs(this._lContainer);\n        return viewRefsArr !== null ? viewRefsArr.indexOf(viewRef) : -1;\n    }\n    remove(index) {\n        const adjustedIdx = this._adjustIndex(index, -1);\n        const detachedView = detachView(this._lContainer, adjustedIdx);\n        if (detachedView) {\n            // Before destroying the view, remove it from the container's array of `ViewRef`s.\n            // This ensures the view container length is updated before calling\n            // `destroyLView`, which could recursively call view container methods that\n            // rely on an accurate container length.\n            // (e.g. a method on this view container being called by a child directive's OnDestroy\n            // lifecycle hook)\n            removeFromArray(getOrCreateViewRefs(this._lContainer), adjustedIdx);\n            destroyLView(detachedView[TVIEW], detachedView);\n        }\n    }\n    detach(index) {\n        const adjustedIdx = this._adjustIndex(index, -1);\n        const view = detachView(this._lContainer, adjustedIdx);\n        const wasDetached = view && removeFromArray(getOrCreateViewRefs(this._lContainer), adjustedIdx) != null;\n        return wasDetached ? new ViewRef$1(view) : null;\n    }\n    _adjustIndex(index, shift = 0) {\n        if (index == null) {\n            return this.length + shift;\n        }\n        if (ngDevMode) {\n            assertGreaterThan(index, -1, `ViewRef index must be positive, got ${index}`);\n            // +1 because it's legal to insert at the end.\n            assertLessThan(index, this.length + 1 + shift, 'index');\n        }\n        return index;\n    }\n};\nfunction getViewRefs(lContainer) {\n    return lContainer[VIEW_REFS];\n}\nfunction getOrCreateViewRefs(lContainer) {\n    return (lContainer[VIEW_REFS] || (lContainer[VIEW_REFS] = []));\n}\n/**\n * Creates a ViewContainerRef and stores it on the injector.\n *\n * @param ViewContainerRefToken The ViewContainerRef type\n * @param ElementRefToken The ElementRef type\n * @param hostTNode The node that is requesting a ViewContainerRef\n * @param hostLView The view to which the node belongs\n * @returns The ViewContainerRef instance to use\n */\nfunction createContainerRef(hostTNode, hostLView) {\n    ngDevMode && assertTNodeType(hostTNode, 12 /* TNodeType.AnyContainer */ | 3 /* TNodeType.AnyRNode */);\n    let lContainer;\n    const slotValue = hostLView[hostTNode.index];\n    if (isLContainer(slotValue)) {\n        // If the host is a container, we don't need to create a new LContainer\n        lContainer = slotValue;\n    }\n    else {\n        let commentNode;\n        // If the host is an element container, the native host element is guaranteed to be a\n        // comment and we can reuse that comment as anchor element for the new LContainer.\n        // The comment node in question is already part of the DOM structure so we don't need to append\n        // it again.\n        if (hostTNode.type & 8 /* TNodeType.ElementContainer */) {\n            commentNode = unwrapRNode(slotValue);\n        }\n        else {\n            // If the host is a regular element, we have to insert a comment node manually which will\n            // be used as an anchor when inserting elements. In this specific case we use low-level DOM\n            // manipulation to insert it.\n            const renderer = hostLView[RENDERER];\n            ngDevMode && ngDevMode.rendererCreateComment++;\n            commentNode = renderer.createComment(ngDevMode ? 'container' : '');\n            const hostNative = getNativeByTNode(hostTNode, hostLView);\n            const parentOfHostNative = nativeParentNode(renderer, hostNative);\n            nativeInsertBefore(renderer, parentOfHostNative, commentNode, nativeNextSibling(renderer, hostNative), false);\n        }\n        hostLView[hostTNode.index] = lContainer =\n            createLContainer(slotValue, hostLView, commentNode, hostTNode);\n        addToViewTree(hostLView, lContainer);\n    }\n    return new R3ViewContainerRef(lContainer, hostTNode, hostLView);\n}\n\nclass LQuery_ {\n    constructor(queryList) {\n        this.queryList = queryList;\n        this.matches = null;\n    }\n    clone() {\n        return new LQuery_(this.queryList);\n    }\n    setDirty() {\n        this.queryList.setDirty();\n    }\n}\nclass LQueries_ {\n    constructor(queries = []) {\n        this.queries = queries;\n    }\n    createEmbeddedView(tView) {\n        const tQueries = tView.queries;\n        if (tQueries !== null) {\n            const noOfInheritedQueries = tView.contentQueries !== null ? tView.contentQueries[0] : tQueries.length;\n            const viewLQueries = [];\n            // An embedded view has queries propagated from a declaration view at the beginning of the\n            // TQueries collection and up until a first content query declared in the embedded view. Only\n            // propagated LQueries are created at this point (LQuery corresponding to declared content\n            // queries will be instantiated from the content query instructions for each directive).\n            for (let i = 0; i < noOfInheritedQueries; i++) {\n                const tQuery = tQueries.getByIndex(i);\n                const parentLQuery = this.queries[tQuery.indexInDeclarationView];\n                viewLQueries.push(parentLQuery.clone());\n            }\n            return new LQueries_(viewLQueries);\n        }\n        return null;\n    }\n    insertView(tView) {\n        this.dirtyQueriesWithMatches(tView);\n    }\n    detachView(tView) {\n        this.dirtyQueriesWithMatches(tView);\n    }\n    dirtyQueriesWithMatches(tView) {\n        for (let i = 0; i < this.queries.length; i++) {\n            if (getTQuery(tView, i).matches !== null) {\n                this.queries[i].setDirty();\n            }\n        }\n    }\n}\nclass TQueryMetadata_ {\n    constructor(predicate, flags, read = null) {\n        this.predicate = predicate;\n        this.flags = flags;\n        this.read = read;\n    }\n}\nclass TQueries_ {\n    constructor(queries = []) {\n        this.queries = queries;\n    }\n    elementStart(tView, tNode) {\n        ngDevMode &&\n            assertFirstCreatePass(tView, 'Queries should collect results on the first template pass only');\n        for (let i = 0; i < this.queries.length; i++) {\n            this.queries[i].elementStart(tView, tNode);\n        }\n    }\n    elementEnd(tNode) {\n        for (let i = 0; i < this.queries.length; i++) {\n            this.queries[i].elementEnd(tNode);\n        }\n    }\n    embeddedTView(tNode) {\n        let queriesForTemplateRef = null;\n        for (let i = 0; i < this.length; i++) {\n            const childQueryIndex = queriesForTemplateRef !== null ? queriesForTemplateRef.length : 0;\n            const tqueryClone = this.getByIndex(i).embeddedTView(tNode, childQueryIndex);\n            if (tqueryClone) {\n                tqueryClone.indexInDeclarationView = i;\n                if (queriesForTemplateRef !== null) {\n                    queriesForTemplateRef.push(tqueryClone);\n                }\n                else {\n                    queriesForTemplateRef = [tqueryClone];\n                }\n            }\n        }\n        return queriesForTemplateRef !== null ? new TQueries_(queriesForTemplateRef) : null;\n    }\n    template(tView, tNode) {\n        ngDevMode &&\n            assertFirstCreatePass(tView, 'Queries should collect results on the first template pass only');\n        for (let i = 0; i < this.queries.length; i++) {\n            this.queries[i].template(tView, tNode);\n        }\n    }\n    getByIndex(index) {\n        ngDevMode && assertIndexInRange(this.queries, index);\n        return this.queries[index];\n    }\n    get length() {\n        return this.queries.length;\n    }\n    track(tquery) {\n        this.queries.push(tquery);\n    }\n}\nclass TQuery_ {\n    constructor(metadata, nodeIndex = -1) {\n        this.metadata = metadata;\n        this.matches = null;\n        this.indexInDeclarationView = -1;\n        this.crossesNgTemplate = false;\n        /**\n         * A flag indicating if a given query still applies to nodes it is crossing. We use this flag\n         * (alongside with _declarationNodeIndex) to know when to stop applying content queries to\n         * elements in a template.\n         */\n        this._appliesToNextNode = true;\n        this._declarationNodeIndex = nodeIndex;\n    }\n    elementStart(tView, tNode) {\n        if (this.isApplyingToNode(tNode)) {\n            this.matchTNode(tView, tNode);\n        }\n    }\n    elementEnd(tNode) {\n        if (this._declarationNodeIndex === tNode.index) {\n            this._appliesToNextNode = false;\n        }\n    }\n    template(tView, tNode) {\n        this.elementStart(tView, tNode);\n    }\n    embeddedTView(tNode, childQueryIndex) {\n        if (this.isApplyingToNode(tNode)) {\n            this.crossesNgTemplate = true;\n            // A marker indicating a `<ng-template>` element (a placeholder for query results from\n            // embedded views created based on this `<ng-template>`).\n            this.addMatch(-tNode.index, childQueryIndex);\n            return new TQuery_(this.metadata);\n        }\n        return null;\n    }\n    isApplyingToNode(tNode) {\n        if (this._appliesToNextNode &&\n            (this.metadata.flags & 1 /* QueryFlags.descendants */) !== 1 /* QueryFlags.descendants */) {\n            const declarationNodeIdx = this._declarationNodeIndex;\n            let parent = tNode.parent;\n            // Determine if a given TNode is a \"direct\" child of a node on which a content query was\n            // declared (only direct children of query's host node can match with the descendants: false\n            // option). There are 3 main use-case / conditions to consider here:\n            // - <needs-target><i #target></i></needs-target>: here <i #target> parent node is a query\n            // host node;\n            // - <needs-target><ng-template [ngIf]=\"true\"><i #target></i></ng-template></needs-target>:\n            // here <i #target> parent node is null;\n            // - <needs-target><ng-container><i #target></i></ng-container></needs-target>: here we need\n            // to go past `<ng-container>` to determine <i #target> parent node (but we shouldn't traverse\n            // up past the query's host node!).\n            while (parent !== null && (parent.type & 8 /* TNodeType.ElementContainer */) &&\n                parent.index !== declarationNodeIdx) {\n                parent = parent.parent;\n            }\n            return declarationNodeIdx === (parent !== null ? parent.index : -1);\n        }\n        return this._appliesToNextNode;\n    }\n    matchTNode(tView, tNode) {\n        const predicate = this.metadata.predicate;\n        if (Array.isArray(predicate)) {\n            for (let i = 0; i < predicate.length; i++) {\n                const name = predicate[i];\n                this.matchTNodeWithReadOption(tView, tNode, getIdxOfMatchingSelector(tNode, name));\n                // Also try matching the name to a provider since strings can be used as DI tokens too.\n                this.matchTNodeWithReadOption(tView, tNode, locateDirectiveOrProvider(tNode, tView, name, false, false));\n            }\n        }\n        else {\n            if (predicate === TemplateRef) {\n                if (tNode.type & 4 /* TNodeType.Container */) {\n                    this.matchTNodeWithReadOption(tView, tNode, -1);\n                }\n            }\n            else {\n                this.matchTNodeWithReadOption(tView, tNode, locateDirectiveOrProvider(tNode, tView, predicate, false, false));\n            }\n        }\n    }\n    matchTNodeWithReadOption(tView, tNode, nodeMatchIdx) {\n        if (nodeMatchIdx !== null) {\n            const read = this.metadata.read;\n            if (read !== null) {\n                if (read === ElementRef || read === ViewContainerRef ||\n                    read === TemplateRef && (tNode.type & 4 /* TNodeType.Container */)) {\n                    this.addMatch(tNode.index, -2);\n                }\n                else {\n                    const directiveOrProviderIdx = locateDirectiveOrProvider(tNode, tView, read, false, false);\n                    if (directiveOrProviderIdx !== null) {\n                        this.addMatch(tNode.index, directiveOrProviderIdx);\n                    }\n                }\n            }\n            else {\n                this.addMatch(tNode.index, nodeMatchIdx);\n            }\n        }\n    }\n    addMatch(tNodeIdx, matchIdx) {\n        if (this.matches === null) {\n            this.matches = [tNodeIdx, matchIdx];\n        }\n        else {\n            this.matches.push(tNodeIdx, matchIdx);\n        }\n    }\n}\n/**\n * Iterates over local names for a given node and returns directive index\n * (or -1 if a local name points to an element).\n *\n * @param tNode static data of a node to check\n * @param selector selector to match\n * @returns directive index, -1 or null if a selector didn't match any of the local names\n */\nfunction getIdxOfMatchingSelector(tNode, selector) {\n    const localNames = tNode.localNames;\n    if (localNames !== null) {\n        for (let i = 0; i < localNames.length; i += 2) {\n            if (localNames[i] === selector) {\n                return localNames[i + 1];\n            }\n        }\n    }\n    return null;\n}\nfunction createResultByTNodeType(tNode, currentView) {\n    if (tNode.type & (3 /* TNodeType.AnyRNode */ | 8 /* TNodeType.ElementContainer */)) {\n        return createElementRef(tNode, currentView);\n    }\n    else if (tNode.type & 4 /* TNodeType.Container */) {\n        return createTemplateRef(tNode, currentView);\n    }\n    return null;\n}\nfunction createResultForNode(lView, tNode, matchingIdx, read) {\n    if (matchingIdx === -1) {\n        // if read token and / or strategy is not specified, detect it using appropriate tNode type\n        return createResultByTNodeType(tNode, lView);\n    }\n    else if (matchingIdx === -2) {\n        // read a special token from a node injector\n        return createSpecialToken(lView, tNode, read);\n    }\n    else {\n        // read a token\n        return getNodeInjectable(lView, lView[TVIEW], matchingIdx, tNode);\n    }\n}\nfunction createSpecialToken(lView, tNode, read) {\n    if (read === ElementRef) {\n        return createElementRef(tNode, lView);\n    }\n    else if (read === TemplateRef) {\n        return createTemplateRef(tNode, lView);\n    }\n    else if (read === ViewContainerRef) {\n        ngDevMode && assertTNodeType(tNode, 3 /* TNodeType.AnyRNode */ | 12 /* TNodeType.AnyContainer */);\n        return createContainerRef(tNode, lView);\n    }\n    else {\n        ngDevMode &&\n            throwError(`Special token to read should be one of ElementRef, TemplateRef or ViewContainerRef but got ${stringify(read)}.`);\n    }\n}\n/**\n * A helper function that creates query results for a given view. This function is meant to do the\n * processing once and only once for a given view instance (a set of results for a given view\n * doesn't change).\n */\nfunction materializeViewResults(tView, lView, tQuery, queryIndex) {\n    const lQuery = lView[QUERIES].queries[queryIndex];\n    if (lQuery.matches === null) {\n        const tViewData = tView.data;\n        const tQueryMatches = tQuery.matches;\n        const result = [];\n        for (let i = 0; i < tQueryMatches.length; i += 2) {\n            const matchedNodeIdx = tQueryMatches[i];\n            if (matchedNodeIdx < 0) {\n                // we at the <ng-template> marker which might have results in views created based on this\n                // <ng-template> - those results will be in separate views though, so here we just leave\n                // null as a placeholder\n                result.push(null);\n            }\n            else {\n                ngDevMode && assertIndexInRange(tViewData, matchedNodeIdx);\n                const tNode = tViewData[matchedNodeIdx];\n                result.push(createResultForNode(lView, tNode, tQueryMatches[i + 1], tQuery.metadata.read));\n            }\n        }\n        lQuery.matches = result;\n    }\n    return lQuery.matches;\n}\n/**\n * A helper function that collects (already materialized) query results from a tree of views,\n * starting with a provided LView.\n */\nfunction collectQueryResults(tView, lView, queryIndex, result) {\n    const tQuery = tView.queries.getByIndex(queryIndex);\n    const tQueryMatches = tQuery.matches;\n    if (tQueryMatches !== null) {\n        const lViewResults = materializeViewResults(tView, lView, tQuery, queryIndex);\n        for (let i = 0; i < tQueryMatches.length; i += 2) {\n            const tNodeIdx = tQueryMatches[i];\n            if (tNodeIdx > 0) {\n                result.push(lViewResults[i / 2]);\n            }\n            else {\n                const childQueryIndex = tQueryMatches[i + 1];\n                const declarationLContainer = lView[-tNodeIdx];\n                ngDevMode && assertLContainer(declarationLContainer);\n                // collect matches for views inserted in this container\n                for (let i = CONTAINER_HEADER_OFFSET; i < declarationLContainer.length; i++) {\n                    const embeddedLView = declarationLContainer[i];\n                    if (embeddedLView[DECLARATION_LCONTAINER] === embeddedLView[PARENT]) {\n                        collectQueryResults(embeddedLView[TVIEW], embeddedLView, childQueryIndex, result);\n                    }\n                }\n                // collect matches for views created from this declaration container and inserted into\n                // different containers\n                if (declarationLContainer[MOVED_VIEWS] !== null) {\n                    const embeddedLViews = declarationLContainer[MOVED_VIEWS];\n                    for (let i = 0; i < embeddedLViews.length; i++) {\n                        const embeddedLView = embeddedLViews[i];\n                        collectQueryResults(embeddedLView[TVIEW], embeddedLView, childQueryIndex, result);\n                    }\n                }\n            }\n        }\n    }\n    return result;\n}\n/**\n * Refreshes a query by combining matches from all active views and removing matches from deleted\n * views.\n *\n * @returns `true` if a query got dirty during change detection or if this is a static query\n * resolving in creation mode, `false` otherwise.\n *\n * @codeGenApi\n */\nfunction ɵɵqueryRefresh(queryList) {\n    const lView = getLView();\n    const tView = getTView();\n    const queryIndex = getCurrentQueryIndex();\n    setCurrentQueryIndex(queryIndex + 1);\n    const tQuery = getTQuery(tView, queryIndex);\n    if (queryList.dirty &&\n        (isCreationMode(lView) ===\n            ((tQuery.metadata.flags & 2 /* QueryFlags.isStatic */) === 2 /* QueryFlags.isStatic */))) {\n        if (tQuery.matches === null) {\n            queryList.reset([]);\n        }\n        else {\n            const result = tQuery.crossesNgTemplate ?\n                collectQueryResults(tView, lView, queryIndex, []) :\n                materializeViewResults(tView, lView, tQuery, queryIndex);\n            queryList.reset(result, unwrapElementRef);\n            queryList.notifyOnChanges();\n        }\n        return true;\n    }\n    return false;\n}\n/**\n * Creates new QueryList, stores the reference in LView and returns QueryList.\n *\n * @param predicate The type for which the query will search\n * @param flags Flags associated with the query\n * @param read What to save in the query\n *\n * @codeGenApi\n */\nfunction ɵɵviewQuery(predicate, flags, read) {\n    ngDevMode && assertNumber(flags, 'Expecting flags');\n    const tView = getTView();\n    if (tView.firstCreatePass) {\n        createTQuery(tView, new TQueryMetadata_(predicate, flags, read), -1);\n        if ((flags & 2 /* QueryFlags.isStatic */) === 2 /* QueryFlags.isStatic */) {\n            tView.staticViewQueries = true;\n        }\n    }\n    createLQuery(tView, getLView(), flags);\n}\n/**\n * Registers a QueryList, associated with a content query, for later refresh (part of a view\n * refresh).\n *\n * @param directiveIndex Current directive index\n * @param predicate The type for which the query will search\n * @param flags Flags associated with the query\n * @param read What to save in the query\n * @returns QueryList<T>\n *\n * @codeGenApi\n */\nfunction ɵɵcontentQuery(directiveIndex, predicate, flags, read) {\n    ngDevMode && assertNumber(flags, 'Expecting flags');\n    const tView = getTView();\n    if (tView.firstCreatePass) {\n        const tNode = getCurrentTNode();\n        createTQuery(tView, new TQueryMetadata_(predicate, flags, read), tNode.index);\n        saveContentQueryAndDirectiveIndex(tView, directiveIndex);\n        if ((flags & 2 /* QueryFlags.isStatic */) === 2 /* QueryFlags.isStatic */) {\n            tView.staticContentQueries = true;\n        }\n    }\n    createLQuery(tView, getLView(), flags);\n}\n/**\n * Loads a QueryList corresponding to the current view or content query.\n *\n * @codeGenApi\n */\nfunction ɵɵloadQuery() {\n    return loadQueryInternal(getLView(), getCurrentQueryIndex());\n}\nfunction loadQueryInternal(lView, queryIndex) {\n    ngDevMode &&\n        assertDefined(lView[QUERIES], 'LQueries should be defined when trying to load a query');\n    ngDevMode && assertIndexInRange(lView[QUERIES].queries, queryIndex);\n    return lView[QUERIES].queries[queryIndex].queryList;\n}\nfunction createLQuery(tView, lView, flags) {\n    const queryList = new QueryList((flags & 4 /* QueryFlags.emitDistinctChangesOnly */) === 4 /* QueryFlags.emitDistinctChangesOnly */);\n    storeCleanupWithContext(tView, lView, queryList, queryList.destroy);\n    if (lView[QUERIES] === null)\n        lView[QUERIES] = new LQueries_();\n    lView[QUERIES].queries.push(new LQuery_(queryList));\n}\nfunction createTQuery(tView, metadata, nodeIndex) {\n    if (tView.queries === null)\n        tView.queries = new TQueries_();\n    tView.queries.track(new TQuery_(metadata, nodeIndex));\n}\nfunction saveContentQueryAndDirectiveIndex(tView, directiveIndex) {\n    const tViewContentQueries = tView.contentQueries || (tView.contentQueries = []);\n    const lastSavedDirectiveIndex = tViewContentQueries.length ? tViewContentQueries[tViewContentQueries.length - 1] : -1;\n    if (directiveIndex !== lastSavedDirectiveIndex) {\n        tViewContentQueries.push(tView.queries.length - 1, directiveIndex);\n    }\n}\nfunction getTQuery(tView, index) {\n    ngDevMode && assertDefined(tView.queries, 'TQueries must be defined to retrieve a TQuery');\n    return tView.queries.getByIndex(index);\n}\n\n/**\n * Retrieves `TemplateRef` instance from `Injector` when a local reference is placed on the\n * `<ng-template>` element.\n *\n * @codeGenApi\n */\nfunction ɵɵtemplateRefExtractor(tNode, lView) {\n    return createTemplateRef(tNode, lView);\n}\n\n/**\n * A mapping of the @angular/core API surface used in generated expressions to the actual symbols.\n *\n * This should be kept up to date with the public exports of @angular/core.\n */\nconst angularCoreEnv = (() => ({\n    'ɵɵattribute': ɵɵattribute,\n    'ɵɵattributeInterpolate1': ɵɵattributeInterpolate1,\n    'ɵɵattributeInterpolate2': ɵɵattributeInterpolate2,\n    'ɵɵattributeInterpolate3': ɵɵattributeInterpolate3,\n    'ɵɵattributeInterpolate4': ɵɵattributeInterpolate4,\n    'ɵɵattributeInterpolate5': ɵɵattributeInterpolate5,\n    'ɵɵattributeInterpolate6': ɵɵattributeInterpolate6,\n    'ɵɵattributeInterpolate7': ɵɵattributeInterpolate7,\n    'ɵɵattributeInterpolate8': ɵɵattributeInterpolate8,\n    'ɵɵattributeInterpolateV': ɵɵattributeInterpolateV,\n    'ɵɵdefineComponent': ɵɵdefineComponent,\n    'ɵɵdefineDirective': ɵɵdefineDirective,\n    'ɵɵdefineInjectable': ɵɵdefineInjectable,\n    'ɵɵdefineInjector': ɵɵdefineInjector,\n    'ɵɵdefineNgModule': ɵɵdefineNgModule,\n    'ɵɵdefinePipe': ɵɵdefinePipe,\n    'ɵɵdirectiveInject': ɵɵdirectiveInject,\n    'ɵɵgetInheritedFactory': ɵɵgetInheritedFactory,\n    'ɵɵinject': ɵɵinject,\n    'ɵɵinjectAttribute': ɵɵinjectAttribute,\n    'ɵɵinvalidFactory': ɵɵinvalidFactory,\n    'ɵɵinvalidFactoryDep': ɵɵinvalidFactoryDep,\n    'ɵɵtemplateRefExtractor': ɵɵtemplateRefExtractor,\n    'ɵɵresetView': ɵɵresetView,\n    'ɵɵHostDirectivesFeature': ɵɵHostDirectivesFeature,\n    'ɵɵNgOnChangesFeature': ɵɵNgOnChangesFeature,\n    'ɵɵProvidersFeature': ɵɵProvidersFeature,\n    'ɵɵCopyDefinitionFeature': ɵɵCopyDefinitionFeature,\n    'ɵɵInheritDefinitionFeature': ɵɵInheritDefinitionFeature,\n    'ɵɵStandaloneFeature': ɵɵStandaloneFeature,\n    'ɵɵnextContext': ɵɵnextContext,\n    'ɵɵnamespaceHTML': ɵɵnamespaceHTML,\n    'ɵɵnamespaceMathML': ɵɵnamespaceMathML,\n    'ɵɵnamespaceSVG': ɵɵnamespaceSVG,\n    'ɵɵenableBindings': ɵɵenableBindings,\n    'ɵɵdisableBindings': ɵɵdisableBindings,\n    'ɵɵelementStart': ɵɵelementStart,\n    'ɵɵelementEnd': ɵɵelementEnd,\n    'ɵɵelement': ɵɵelement,\n    'ɵɵelementContainerStart': ɵɵelementContainerStart,\n    'ɵɵelementContainerEnd': ɵɵelementContainerEnd,\n    'ɵɵelementContainer': ɵɵelementContainer,\n    'ɵɵpureFunction0': ɵɵpureFunction0,\n    'ɵɵpureFunction1': ɵɵpureFunction1,\n    'ɵɵpureFunction2': ɵɵpureFunction2,\n    'ɵɵpureFunction3': ɵɵpureFunction3,\n    'ɵɵpureFunction4': ɵɵpureFunction4,\n    'ɵɵpureFunction5': ɵɵpureFunction5,\n    'ɵɵpureFunction6': ɵɵpureFunction6,\n    'ɵɵpureFunction7': ɵɵpureFunction7,\n    'ɵɵpureFunction8': ɵɵpureFunction8,\n    'ɵɵpureFunctionV': ɵɵpureFunctionV,\n    'ɵɵgetCurrentView': ɵɵgetCurrentView,\n    'ɵɵrestoreView': ɵɵrestoreView,\n    'ɵɵlistener': ɵɵlistener,\n    'ɵɵprojection': ɵɵprojection,\n    'ɵɵsyntheticHostProperty': ɵɵsyntheticHostProperty,\n    'ɵɵsyntheticHostListener': ɵɵsyntheticHostListener,\n    'ɵɵpipeBind1': ɵɵpipeBind1,\n    'ɵɵpipeBind2': ɵɵpipeBind2,\n    'ɵɵpipeBind3': ɵɵpipeBind3,\n    'ɵɵpipeBind4': ɵɵpipeBind4,\n    'ɵɵpipeBindV': ɵɵpipeBindV,\n    'ɵɵprojectionDef': ɵɵprojectionDef,\n    'ɵɵhostProperty': ɵɵhostProperty,\n    'ɵɵproperty': ɵɵproperty,\n    'ɵɵpropertyInterpolate': ɵɵpropertyInterpolate,\n    'ɵɵpropertyInterpolate1': ɵɵpropertyInterpolate1,\n    'ɵɵpropertyInterpolate2': ɵɵpropertyInterpolate2,\n    'ɵɵpropertyInterpolate3': ɵɵpropertyInterpolate3,\n    'ɵɵpropertyInterpolate4': ɵɵpropertyInterpolate4,\n    'ɵɵpropertyInterpolate5': ɵɵpropertyInterpolate5,\n    'ɵɵpropertyInterpolate6': ɵɵpropertyInterpolate6,\n    'ɵɵpropertyInterpolate7': ɵɵpropertyInterpolate7,\n    'ɵɵpropertyInterpolate8': ɵɵpropertyInterpolate8,\n    'ɵɵpropertyInterpolateV': ɵɵpropertyInterpolateV,\n    'ɵɵpipe': ɵɵpipe,\n    'ɵɵqueryRefresh': ɵɵqueryRefresh,\n    'ɵɵviewQuery': ɵɵviewQuery,\n    'ɵɵloadQuery': ɵɵloadQuery,\n    'ɵɵcontentQuery': ɵɵcontentQuery,\n    'ɵɵreference': ɵɵreference,\n    'ɵɵclassMap': ɵɵclassMap,\n    'ɵɵclassMapInterpolate1': ɵɵclassMapInterpolate1,\n    'ɵɵclassMapInterpolate2': ɵɵclassMapInterpolate2,\n    'ɵɵclassMapInterpolate3': ɵɵclassMapInterpolate3,\n    'ɵɵclassMapInterpolate4': ɵɵclassMapInterpolate4,\n    'ɵɵclassMapInterpolate5': ɵɵclassMapInterpolate5,\n    'ɵɵclassMapInterpolate6': ɵɵclassMapInterpolate6,\n    'ɵɵclassMapInterpolate7': ɵɵclassMapInterpolate7,\n    'ɵɵclassMapInterpolate8': ɵɵclassMapInterpolate8,\n    'ɵɵclassMapInterpolateV': ɵɵclassMapInterpolateV,\n    'ɵɵstyleMap': ɵɵstyleMap,\n    'ɵɵstyleMapInterpolate1': ɵɵstyleMapInterpolate1,\n    'ɵɵstyleMapInterpolate2': ɵɵstyleMapInterpolate2,\n    'ɵɵstyleMapInterpolate3': ɵɵstyleMapInterpolate3,\n    'ɵɵstyleMapInterpolate4': ɵɵstyleMapInterpolate4,\n    'ɵɵstyleMapInterpolate5': ɵɵstyleMapInterpolate5,\n    'ɵɵstyleMapInterpolate6': ɵɵstyleMapInterpolate6,\n    'ɵɵstyleMapInterpolate7': ɵɵstyleMapInterpolate7,\n    'ɵɵstyleMapInterpolate8': ɵɵstyleMapInterpolate8,\n    'ɵɵstyleMapInterpolateV': ɵɵstyleMapInterpolateV,\n    'ɵɵstyleProp': ɵɵstyleProp,\n    'ɵɵstylePropInterpolate1': ɵɵstylePropInterpolate1,\n    'ɵɵstylePropInterpolate2': ɵɵstylePropInterpolate2,\n    'ɵɵstylePropInterpolate3': ɵɵstylePropInterpolate3,\n    'ɵɵstylePropInterpolate4': ɵɵstylePropInterpolate4,\n    'ɵɵstylePropInterpolate5': ɵɵstylePropInterpolate5,\n    'ɵɵstylePropInterpolate6': ɵɵstylePropInterpolate6,\n    'ɵɵstylePropInterpolate7': ɵɵstylePropInterpolate7,\n    'ɵɵstylePropInterpolate8': ɵɵstylePropInterpolate8,\n    'ɵɵstylePropInterpolateV': ɵɵstylePropInterpolateV,\n    'ɵɵclassProp': ɵɵclassProp,\n    'ɵɵadvance': ɵɵadvance,\n    'ɵɵtemplate': ɵɵtemplate,\n    'ɵɵtext': ɵɵtext,\n    'ɵɵtextInterpolate': ɵɵtextInterpolate,\n    'ɵɵtextInterpolate1': ɵɵtextInterpolate1,\n    'ɵɵtextInterpolate2': ɵɵtextInterpolate2,\n    'ɵɵtextInterpolate3': ɵɵtextInterpolate3,\n    'ɵɵtextInterpolate4': ɵɵtextInterpolate4,\n    'ɵɵtextInterpolate5': ɵɵtextInterpolate5,\n    'ɵɵtextInterpolate6': ɵɵtextInterpolate6,\n    'ɵɵtextInterpolate7': ɵɵtextInterpolate7,\n    'ɵɵtextInterpolate8': ɵɵtextInterpolate8,\n    'ɵɵtextInterpolateV': ɵɵtextInterpolateV,\n    'ɵɵi18n': ɵɵi18n,\n    'ɵɵi18nAttributes': ɵɵi18nAttributes,\n    'ɵɵi18nExp': ɵɵi18nExp,\n    'ɵɵi18nStart': ɵɵi18nStart,\n    'ɵɵi18nEnd': ɵɵi18nEnd,\n    'ɵɵi18nApply': ɵɵi18nApply,\n    'ɵɵi18nPostprocess': ɵɵi18nPostprocess,\n    'ɵɵresolveWindow': ɵɵresolveWindow,\n    'ɵɵresolveDocument': ɵɵresolveDocument,\n    'ɵɵresolveBody': ɵɵresolveBody,\n    'ɵɵsetComponentScope': ɵɵsetComponentScope,\n    'ɵɵsetNgModuleScope': ɵɵsetNgModuleScope,\n    'ɵɵregisterNgModuleType': registerNgModuleType,\n    'ɵɵsanitizeHtml': ɵɵsanitizeHtml,\n    'ɵɵsanitizeStyle': ɵɵsanitizeStyle,\n    'ɵɵsanitizeResourceUrl': ɵɵsanitizeResourceUrl,\n    'ɵɵsanitizeScript': ɵɵsanitizeScript,\n    'ɵɵsanitizeUrl': ɵɵsanitizeUrl,\n    'ɵɵsanitizeUrlOrResourceUrl': ɵɵsanitizeUrlOrResourceUrl,\n    'ɵɵtrustConstantHtml': ɵɵtrustConstantHtml,\n    'ɵɵtrustConstantResourceUrl': ɵɵtrustConstantResourceUrl,\n    'ɵɵvalidateIframeAttribute': ɵɵvalidateIframeAttribute,\n    'forwardRef': forwardRef,\n    'resolveForwardRef': resolveForwardRef,\n}))();\n\nlet jitOptions = null;\nfunction setJitOptions(options) {\n    if (jitOptions !== null) {\n        if (options.defaultEncapsulation !== jitOptions.defaultEncapsulation) {\n            ngDevMode &&\n                console.error('Provided value for `defaultEncapsulation` can not be changed once it has been set.');\n            return;\n        }\n        if (options.preserveWhitespaces !== jitOptions.preserveWhitespaces) {\n            ngDevMode &&\n                console.error('Provided value for `preserveWhitespaces` can not be changed once it has been set.');\n            return;\n        }\n    }\n    jitOptions = options;\n}\nfunction getJitOptions() {\n    return jitOptions;\n}\nfunction resetJitOptions() {\n    jitOptions = null;\n}\n\nfunction patchModuleCompilation() {\n    // Does nothing, but exists as a target for patching.\n}\n\nfunction isModuleWithProviders(value) {\n    return value.ngModule !== undefined;\n}\nfunction isNgModule(value) {\n    return !!getNgModuleDef(value);\n}\n\nconst moduleQueue = [];\n/**\n * Enqueues moduleDef to be checked later to see if scope can be set on its\n * component declarations.\n */\nfunction enqueueModuleForDelayedScoping(moduleType, ngModule) {\n    moduleQueue.push({ moduleType, ngModule });\n}\nlet flushingModuleQueue = false;\n/**\n * Loops over queued module definitions, if a given module definition has all of its\n * declarations resolved, it dequeues that module definition and sets the scope on\n * its declarations.\n */\nfunction flushModuleScopingQueueAsMuchAsPossible() {\n    if (!flushingModuleQueue) {\n        flushingModuleQueue = true;\n        try {\n            for (let i = moduleQueue.length - 1; i >= 0; i--) {\n                const { moduleType, ngModule } = moduleQueue[i];\n                if (ngModule.declarations && ngModule.declarations.every(isResolvedDeclaration)) {\n                    // dequeue\n                    moduleQueue.splice(i, 1);\n                    setScopeOnDeclaredComponents(moduleType, ngModule);\n                }\n            }\n        }\n        finally {\n            flushingModuleQueue = false;\n        }\n    }\n}\n/**\n * Returns truthy if a declaration has resolved. If the declaration happens to be\n * an array of declarations, it will recurse to check each declaration in that array\n * (which may also be arrays).\n */\nfunction isResolvedDeclaration(declaration) {\n    if (Array.isArray(declaration)) {\n        return declaration.every(isResolvedDeclaration);\n    }\n    return !!resolveForwardRef(declaration);\n}\n/**\n * Compiles a module in JIT mode.\n *\n * This function automatically gets called when a class has a `@NgModule` decorator.\n */\nfunction compileNgModule(moduleType, ngModule = {}) {\n    patchModuleCompilation();\n    compileNgModuleDefs(moduleType, ngModule);\n    if (ngModule.id !== undefined) {\n        registerNgModuleType(moduleType, ngModule.id);\n    }\n    // Because we don't know if all declarations have resolved yet at the moment the\n    // NgModule decorator is executing, we're enqueueing the setting of module scope\n    // on its declarations to be run at a later time when all declarations for the module,\n    // including forward refs, have resolved.\n    enqueueModuleForDelayedScoping(moduleType, ngModule);\n}\n/**\n * Compiles and adds the `ɵmod`, `ɵfac` and `ɵinj` properties to the module class.\n *\n * It's possible to compile a module via this API which will allow duplicate declarations in its\n * root.\n */\nfunction compileNgModuleDefs(moduleType, ngModule, allowDuplicateDeclarationsInRoot = false) {\n    ngDevMode && assertDefined(moduleType, 'Required value moduleType');\n    ngDevMode && assertDefined(ngModule, 'Required value ngModule');\n    const declarations = flatten(ngModule.declarations || EMPTY_ARRAY);\n    let ngModuleDef = null;\n    Object.defineProperty(moduleType, NG_MOD_DEF, {\n        configurable: true,\n        get: () => {\n            if (ngModuleDef === null) {\n                if (ngDevMode && ngModule.imports && ngModule.imports.indexOf(moduleType) > -1) {\n                    // We need to assert this immediately, because allowing it to continue will cause it to\n                    // go into an infinite loop before we've reached the point where we throw all the errors.\n                    throw new Error(`'${stringifyForError(moduleType)}' module can't import itself`);\n                }\n                const compiler = getCompilerFacade({ usage: 0 /* JitCompilerUsage.Decorator */, kind: 'NgModule', type: moduleType });\n                ngModuleDef = compiler.compileNgModule(angularCoreEnv, `ng:///${moduleType.name}/ɵmod.js`, {\n                    type: moduleType,\n                    bootstrap: flatten(ngModule.bootstrap || EMPTY_ARRAY).map(resolveForwardRef),\n                    declarations: declarations.map(resolveForwardRef),\n                    imports: flatten(ngModule.imports || EMPTY_ARRAY)\n                        .map(resolveForwardRef)\n                        .map(expandModuleWithProviders),\n                    exports: flatten(ngModule.exports || EMPTY_ARRAY)\n                        .map(resolveForwardRef)\n                        .map(expandModuleWithProviders),\n                    schemas: ngModule.schemas ? flatten(ngModule.schemas) : null,\n                    id: ngModule.id || null,\n                });\n                // Set `schemas` on ngModuleDef to an empty array in JIT mode to indicate that runtime\n                // should verify that there are no unknown elements in a template. In AOT mode, that check\n                // happens at compile time and `schemas` information is not present on Component and Module\n                // defs after compilation (so the check doesn't happen the second time at runtime).\n                if (!ngModuleDef.schemas) {\n                    ngModuleDef.schemas = [];\n                }\n            }\n            return ngModuleDef;\n        }\n    });\n    let ngFactoryDef = null;\n    Object.defineProperty(moduleType, NG_FACTORY_DEF, {\n        get: () => {\n            if (ngFactoryDef === null) {\n                const compiler = getCompilerFacade({ usage: 0 /* JitCompilerUsage.Decorator */, kind: 'NgModule', type: moduleType });\n                ngFactoryDef = compiler.compileFactory(angularCoreEnv, `ng:///${moduleType.name}/ɵfac.js`, {\n                    name: moduleType.name,\n                    type: moduleType,\n                    deps: reflectDependencies(moduleType),\n                    target: compiler.FactoryTarget.NgModule,\n                    typeArgumentCount: 0,\n                });\n            }\n            return ngFactoryDef;\n        },\n        // Make the property configurable in dev mode to allow overriding in tests\n        configurable: !!ngDevMode,\n    });\n    let ngInjectorDef = null;\n    Object.defineProperty(moduleType, NG_INJ_DEF, {\n        get: () => {\n            if (ngInjectorDef === null) {\n                ngDevMode && verifySemanticsOfNgModuleDef(moduleType, allowDuplicateDeclarationsInRoot);\n                const meta = {\n                    name: moduleType.name,\n                    type: moduleType,\n                    providers: ngModule.providers || EMPTY_ARRAY,\n                    imports: [\n                        (ngModule.imports || EMPTY_ARRAY).map(resolveForwardRef),\n                        (ngModule.exports || EMPTY_ARRAY).map(resolveForwardRef),\n                    ],\n                };\n                const compiler = getCompilerFacade({ usage: 0 /* JitCompilerUsage.Decorator */, kind: 'NgModule', type: moduleType });\n                ngInjectorDef =\n                    compiler.compileInjector(angularCoreEnv, `ng:///${moduleType.name}/ɵinj.js`, meta);\n            }\n            return ngInjectorDef;\n        },\n        // Make the property configurable in dev mode to allow overriding in tests\n        configurable: !!ngDevMode,\n    });\n}\nfunction generateStandaloneInDeclarationsError(type, location) {\n    const prefix = `Unexpected \"${stringifyForError(type)}\" found in the \"declarations\" array of the`;\n    const suffix = `\"${stringifyForError(type)}\" is marked as standalone and can't be declared ` +\n        'in any NgModule - did you intend to import it instead (by adding it to the \"imports\" array)?';\n    return `${prefix} ${location}, ${suffix}`;\n}\nfunction verifySemanticsOfNgModuleDef(moduleType, allowDuplicateDeclarationsInRoot, importingModule) {\n    if (verifiedNgModule.get(moduleType))\n        return;\n    // skip verifications of standalone components, directives, and pipes\n    if (isStandalone(moduleType))\n        return;\n    verifiedNgModule.set(moduleType, true);\n    moduleType = resolveForwardRef(moduleType);\n    let ngModuleDef;\n    if (importingModule) {\n        ngModuleDef = getNgModuleDef(moduleType);\n        if (!ngModuleDef) {\n            throw new Error(`Unexpected value '${moduleType.name}' imported by the module '${importingModule.name}'. Please add an @NgModule annotation.`);\n        }\n    }\n    else {\n        ngModuleDef = getNgModuleDef(moduleType, true);\n    }\n    const errors = [];\n    const declarations = maybeUnwrapFn(ngModuleDef.declarations);\n    const imports = maybeUnwrapFn(ngModuleDef.imports);\n    flatten(imports).map(unwrapModuleWithProvidersImports).forEach(modOrStandaloneCmpt => {\n        verifySemanticsOfNgModuleImport(modOrStandaloneCmpt, moduleType);\n        verifySemanticsOfNgModuleDef(modOrStandaloneCmpt, false, moduleType);\n    });\n    const exports = maybeUnwrapFn(ngModuleDef.exports);\n    declarations.forEach(verifyDeclarationsHaveDefinitions);\n    declarations.forEach(verifyDirectivesHaveSelector);\n    declarations.forEach((declarationType) => verifyNotStandalone(declarationType, moduleType));\n    const combinedDeclarations = [\n        ...declarations.map(resolveForwardRef),\n        ...flatten(imports.map(computeCombinedExports)).map(resolveForwardRef),\n    ];\n    exports.forEach(verifyExportsAreDeclaredOrReExported);\n    declarations.forEach(decl => verifyDeclarationIsUnique(decl, allowDuplicateDeclarationsInRoot));\n    declarations.forEach(verifyComponentEntryComponentsIsPartOfNgModule);\n    const ngModule = getAnnotation(moduleType, 'NgModule');\n    if (ngModule) {\n        ngModule.imports &&\n            flatten(ngModule.imports).map(unwrapModuleWithProvidersImports).forEach(mod => {\n                verifySemanticsOfNgModuleImport(mod, moduleType);\n                verifySemanticsOfNgModuleDef(mod, false, moduleType);\n            });\n        ngModule.bootstrap && deepForEach(ngModule.bootstrap, verifyCorrectBootstrapType);\n        ngModule.bootstrap && deepForEach(ngModule.bootstrap, verifyComponentIsPartOfNgModule);\n        ngModule.entryComponents &&\n            deepForEach(ngModule.entryComponents, verifyComponentIsPartOfNgModule);\n    }\n    // Throw Error if any errors were detected.\n    if (errors.length) {\n        throw new Error(errors.join('\\n'));\n    }\n    ////////////////////////////////////////////////////////////////////////////////////////////////\n    function verifyDeclarationsHaveDefinitions(type) {\n        type = resolveForwardRef(type);\n        const def = getComponentDef(type) || getDirectiveDef(type) || getPipeDef$1(type);\n        if (!def) {\n            errors.push(`Unexpected value '${stringifyForError(type)}' declared by the module '${stringifyForError(moduleType)}'. Please add a @Pipe/@Directive/@Component annotation.`);\n        }\n    }\n    function verifyDirectivesHaveSelector(type) {\n        type = resolveForwardRef(type);\n        const def = getDirectiveDef(type);\n        if (!getComponentDef(type) && def && def.selectors.length == 0) {\n            errors.push(`Directive ${stringifyForError(type)} has no selector, please add it!`);\n        }\n    }\n    function verifyNotStandalone(type, moduleType) {\n        type = resolveForwardRef(type);\n        const def = getComponentDef(type) || getDirectiveDef(type) || getPipeDef$1(type);\n        if (def?.standalone) {\n            const location = `\"${stringifyForError(moduleType)}\" NgModule`;\n            errors.push(generateStandaloneInDeclarationsError(type, location));\n        }\n    }\n    function verifyExportsAreDeclaredOrReExported(type) {\n        type = resolveForwardRef(type);\n        const kind = getComponentDef(type) && 'component' || getDirectiveDef(type) && 'directive' ||\n            getPipeDef$1(type) && 'pipe';\n        if (kind) {\n            // only checked if we are declared as Component, Directive, or Pipe\n            // Modules don't need to be declared or imported.\n            if (combinedDeclarations.lastIndexOf(type) === -1) {\n                // We are exporting something which we don't explicitly declare or import.\n                errors.push(`Can't export ${kind} ${stringifyForError(type)} from ${stringifyForError(moduleType)} as it was neither declared nor imported!`);\n            }\n        }\n    }\n    function verifyDeclarationIsUnique(type, suppressErrors) {\n        type = resolveForwardRef(type);\n        const existingModule = ownerNgModule.get(type);\n        if (existingModule && existingModule !== moduleType) {\n            if (!suppressErrors) {\n                const modules = [existingModule, moduleType].map(stringifyForError).sort();\n                errors.push(`Type ${stringifyForError(type)} is part of the declarations of 2 modules: ${modules[0]} and ${modules[1]}! ` +\n                    `Please consider moving ${stringifyForError(type)} to a higher module that imports ${modules[0]} and ${modules[1]}. ` +\n                    `You can also create a new NgModule that exports and includes ${stringifyForError(type)} then import that NgModule in ${modules[0]} and ${modules[1]}.`);\n            }\n        }\n        else {\n            // Mark type as having owner.\n            ownerNgModule.set(type, moduleType);\n        }\n    }\n    function verifyComponentIsPartOfNgModule(type) {\n        type = resolveForwardRef(type);\n        const existingModule = ownerNgModule.get(type);\n        if (!existingModule && !isStandalone(type)) {\n            errors.push(`Component ${stringifyForError(type)} is not part of any NgModule or the module has not been imported into your module.`);\n        }\n    }\n    function verifyCorrectBootstrapType(type) {\n        type = resolveForwardRef(type);\n        if (!getComponentDef(type)) {\n            errors.push(`${stringifyForError(type)} cannot be used as an entry component.`);\n        }\n        if (isStandalone(type)) {\n            // Note: this error should be the same as the\n            // `NGMODULE_BOOTSTRAP_IS_STANDALONE` one in AOT compiler.\n            errors.push(`The \\`${stringifyForError(type)}\\` class is a standalone component, which can ` +\n                `not be used in the \\`@NgModule.bootstrap\\` array. Use the \\`bootstrapApplication\\` ` +\n                `function for bootstrap instead.`);\n        }\n    }\n    function verifyComponentEntryComponentsIsPartOfNgModule(type) {\n        type = resolveForwardRef(type);\n        if (getComponentDef(type)) {\n            // We know we are component\n            const component = getAnnotation(type, 'Component');\n            if (component && component.entryComponents) {\n                deepForEach(component.entryComponents, verifyComponentIsPartOfNgModule);\n            }\n        }\n    }\n    function verifySemanticsOfNgModuleImport(type, importingModule) {\n        type = resolveForwardRef(type);\n        const directiveDef = getComponentDef(type) || getDirectiveDef(type);\n        if (directiveDef !== null && !directiveDef.standalone) {\n            throw new Error(`Unexpected directive '${type.name}' imported by the module '${importingModule.name}'. Please add an @NgModule annotation.`);\n        }\n        const pipeDef = getPipeDef$1(type);\n        if (pipeDef !== null && !pipeDef.standalone) {\n            throw new Error(`Unexpected pipe '${type.name}' imported by the module '${importingModule.name}'. Please add an @NgModule annotation.`);\n        }\n    }\n}\nfunction unwrapModuleWithProvidersImports(typeOrWithProviders) {\n    typeOrWithProviders = resolveForwardRef(typeOrWithProviders);\n    return typeOrWithProviders.ngModule || typeOrWithProviders;\n}\nfunction getAnnotation(type, name) {\n    let annotation = null;\n    collect(type.__annotations__);\n    collect(type.decorators);\n    return annotation;\n    function collect(annotations) {\n        if (annotations) {\n            annotations.forEach(readAnnotation);\n        }\n    }\n    function readAnnotation(decorator) {\n        if (!annotation) {\n            const proto = Object.getPrototypeOf(decorator);\n            if (proto.ngMetadataName == name) {\n                annotation = decorator;\n            }\n            else if (decorator.type) {\n                const proto = Object.getPrototypeOf(decorator.type);\n                if (proto.ngMetadataName == name) {\n                    annotation = decorator.args[0];\n                }\n            }\n        }\n    }\n}\n/**\n * Keep track of compiled components. This is needed because in tests we often want to compile the\n * same component with more than one NgModule. This would cause an error unless we reset which\n * NgModule the component belongs to. We keep the list of compiled components here so that the\n * TestBed can reset it later.\n */\nlet ownerNgModule = new WeakMap();\nlet verifiedNgModule = new WeakMap();\nfunction resetCompiledComponents() {\n    ownerNgModule = new WeakMap();\n    verifiedNgModule = new WeakMap();\n    moduleQueue.length = 0;\n}\n/**\n * Computes the combined declarations of explicit declarations, as well as declarations inherited by\n * traversing the exports of imported modules.\n * @param type\n */\nfunction computeCombinedExports(type) {\n    type = resolveForwardRef(type);\n    const ngModuleDef = getNgModuleDef(type);\n    // a standalone component, directive or pipe\n    if (ngModuleDef === null) {\n        return [type];\n    }\n    return [...flatten(maybeUnwrapFn(ngModuleDef.exports).map((type) => {\n            const ngModuleDef = getNgModuleDef(type);\n            if (ngModuleDef) {\n                verifySemanticsOfNgModuleDef(type, false);\n                return computeCombinedExports(type);\n            }\n            else {\n                return type;\n            }\n        }))];\n}\n/**\n * Some declared components may be compiled asynchronously, and thus may not have their\n * ɵcmp set yet. If this is the case, then a reference to the module is written into\n * the `ngSelectorScope` property of the declared type.\n */\nfunction setScopeOnDeclaredComponents(moduleType, ngModule) {\n    const declarations = flatten(ngModule.declarations || EMPTY_ARRAY);\n    const transitiveScopes = transitiveScopesFor(moduleType);\n    declarations.forEach(declaration => {\n        declaration = resolveForwardRef(declaration);\n        if (declaration.hasOwnProperty(NG_COMP_DEF)) {\n            // A `ɵcmp` field exists - go ahead and patch the component directly.\n            const component = declaration;\n            const componentDef = getComponentDef(component);\n            patchComponentDefWithScope(componentDef, transitiveScopes);\n        }\n        else if (!declaration.hasOwnProperty(NG_DIR_DEF) && !declaration.hasOwnProperty(NG_PIPE_DEF)) {\n            // Set `ngSelectorScope` for future reference when the component compilation finishes.\n            declaration.ngSelectorScope = moduleType;\n        }\n    });\n}\n/**\n * Patch the definition of a component with directives and pipes from the compilation scope of\n * a given module.\n */\nfunction patchComponentDefWithScope(componentDef, transitiveScopes) {\n    componentDef.directiveDefs = () => Array.from(transitiveScopes.compilation.directives)\n        .map(dir => dir.hasOwnProperty(NG_COMP_DEF) ? getComponentDef(dir) : getDirectiveDef(dir))\n        .filter(def => !!def);\n    componentDef.pipeDefs = () => Array.from(transitiveScopes.compilation.pipes).map(pipe => getPipeDef$1(pipe));\n    componentDef.schemas = transitiveScopes.schemas;\n    // Since we avoid Components/Directives/Pipes recompiling in case there are no overrides, we\n    // may face a problem where previously compiled defs available to a given Component/Directive\n    // are cached in TView and may become stale (in case any of these defs gets recompiled). In\n    // order to avoid this problem, we force fresh TView to be created.\n    componentDef.tView = null;\n}\n/**\n * Compute the pair of transitive scopes (compilation scope and exported scope) for a given type\n * (either a NgModule or a standalone component / directive / pipe).\n */\nfunction transitiveScopesFor(type) {\n    if (isNgModule(type)) {\n        return transitiveScopesForNgModule(type);\n    }\n    else if (isStandalone(type)) {\n        const directiveDef = getComponentDef(type) || getDirectiveDef(type);\n        if (directiveDef !== null) {\n            return {\n                schemas: null,\n                compilation: {\n                    directives: new Set(),\n                    pipes: new Set(),\n                },\n                exported: {\n                    directives: new Set([type]),\n                    pipes: new Set(),\n                },\n            };\n        }\n        const pipeDef = getPipeDef$1(type);\n        if (pipeDef !== null) {\n            return {\n                schemas: null,\n                compilation: {\n                    directives: new Set(),\n                    pipes: new Set(),\n                },\n                exported: {\n                    directives: new Set(),\n                    pipes: new Set([type]),\n                },\n            };\n        }\n    }\n    // TODO: change the error message to be more user-facing and take standalone into account\n    throw new Error(`${type.name} does not have a module def (ɵmod property)`);\n}\n/**\n * Compute the pair of transitive scopes (compilation scope and exported scope) for a given module.\n *\n * This operation is memoized and the result is cached on the module's definition. This function can\n * be called on modules with components that have not fully compiled yet, but the result should not\n * be used until they have.\n *\n * @param moduleType module that transitive scope should be calculated for.\n */\nfunction transitiveScopesForNgModule(moduleType) {\n    const def = getNgModuleDef(moduleType, true);\n    if (def.transitiveCompileScopes !== null) {\n        return def.transitiveCompileScopes;\n    }\n    const scopes = {\n        schemas: def.schemas || null,\n        compilation: {\n            directives: new Set(),\n            pipes: new Set(),\n        },\n        exported: {\n            directives: new Set(),\n            pipes: new Set(),\n        },\n    };\n    maybeUnwrapFn(def.imports).forEach((imported) => {\n        // When this module imports another, the imported module's exported directives and pipes are\n        // added to the compilation scope of this module.\n        const importedScope = transitiveScopesFor(imported);\n        importedScope.exported.directives.forEach(entry => scopes.compilation.directives.add(entry));\n        importedScope.exported.pipes.forEach(entry => scopes.compilation.pipes.add(entry));\n    });\n    maybeUnwrapFn(def.declarations).forEach(declared => {\n        const declaredWithDefs = declared;\n        if (getPipeDef$1(declaredWithDefs)) {\n            scopes.compilation.pipes.add(declared);\n        }\n        else {\n            // Either declared has a ɵcmp or ɵdir, or it's a component which hasn't\n            // had its template compiled yet. In either case, it gets added to the compilation's\n            // directives.\n            scopes.compilation.directives.add(declared);\n        }\n    });\n    maybeUnwrapFn(def.exports).forEach((exported) => {\n        const exportedType = exported;\n        // Either the type is a module, a pipe, or a component/directive (which may not have a\n        // ɵcmp as it might be compiled asynchronously).\n        if (isNgModule(exportedType)) {\n            // When this module exports another, the exported module's exported directives and pipes are\n            // added to both the compilation and exported scopes of this module.\n            const exportedScope = transitiveScopesFor(exportedType);\n            exportedScope.exported.directives.forEach(entry => {\n                scopes.compilation.directives.add(entry);\n                scopes.exported.directives.add(entry);\n            });\n            exportedScope.exported.pipes.forEach(entry => {\n                scopes.compilation.pipes.add(entry);\n                scopes.exported.pipes.add(entry);\n            });\n        }\n        else if (getPipeDef$1(exportedType)) {\n            scopes.exported.pipes.add(exportedType);\n        }\n        else {\n            scopes.exported.directives.add(exportedType);\n        }\n    });\n    def.transitiveCompileScopes = scopes;\n    return scopes;\n}\nfunction expandModuleWithProviders(value) {\n    if (isModuleWithProviders(value)) {\n        return value.ngModule;\n    }\n    return value;\n}\n\n/**\n * Keep track of the compilation depth to avoid reentrancy issues during JIT compilation. This\n * matters in the following scenario:\n *\n * Consider a component 'A' that extends component 'B', both declared in module 'M'. During\n * the compilation of 'A' the definition of 'B' is requested to capture the inheritance chain,\n * potentially triggering compilation of 'B'. If this nested compilation were to trigger\n * `flushModuleScopingQueueAsMuchAsPossible` it may happen that module 'M' is still pending in the\n * queue, resulting in 'A' and 'B' to be patched with the NgModule scope. As the compilation of\n * 'A' is still in progress, this would introduce a circular dependency on its compilation. To avoid\n * this issue, the module scope queue is only flushed for compilations at the depth 0, to ensure\n * all compilations have finished.\n */\nlet compilationDepth = 0;\n/**\n * Compile an Angular component according to its decorator metadata, and patch the resulting\n * component def (ɵcmp) onto the component type.\n *\n * Compilation may be asynchronous (due to the need to resolve URLs for the component template or\n * other resources, for example). In the event that compilation is not immediate, `compileComponent`\n * will enqueue resource resolution into a global queue and will fail to return the `ɵcmp`\n * until the global queue has been resolved with a call to `resolveComponentResources`.\n */\nfunction compileComponent(type, metadata) {\n    // Initialize ngDevMode. This must be the first statement in compileComponent.\n    // See the `initNgDevMode` docstring for more information.\n    (typeof ngDevMode === 'undefined' || ngDevMode) && initNgDevMode();\n    let ngComponentDef = null;\n    // Metadata may have resources which need to be resolved.\n    maybeQueueResolutionOfComponentResources(type, metadata);\n    // Note that we're using the same function as `Directive`, because that's only subset of metadata\n    // that we need to create the ngFactoryDef. We're avoiding using the component metadata\n    // because we'd have to resolve the asynchronous templates.\n    addDirectiveFactoryDef(type, metadata);\n    Object.defineProperty(type, NG_COMP_DEF, {\n        get: () => {\n            if (ngComponentDef === null) {\n                const compiler = getCompilerFacade({ usage: 0 /* JitCompilerUsage.Decorator */, kind: 'component', type: type });\n                if (componentNeedsResolution(metadata)) {\n                    const error = [`Component '${type.name}' is not resolved:`];\n                    if (metadata.templateUrl) {\n                        error.push(` - templateUrl: ${metadata.templateUrl}`);\n                    }\n                    if (metadata.styleUrls && metadata.styleUrls.length) {\n                        error.push(` - styleUrls: ${JSON.stringify(metadata.styleUrls)}`);\n                    }\n                    error.push(`Did you run and wait for 'resolveComponentResources()'?`);\n                    throw new Error(error.join('\\n'));\n                }\n                // This const was called `jitOptions` previously but had to be renamed to `options` because\n                // of a bug with Terser that caused optimized JIT builds to throw a `ReferenceError`.\n                // This bug was investigated in https://github.com/angular/angular-cli/issues/17264.\n                // We should not rename it back until https://github.com/terser/terser/issues/615 is fixed.\n                const options = getJitOptions();\n                let preserveWhitespaces = metadata.preserveWhitespaces;\n                if (preserveWhitespaces === undefined) {\n                    if (options !== null && options.preserveWhitespaces !== undefined) {\n                        preserveWhitespaces = options.preserveWhitespaces;\n                    }\n                    else {\n                        preserveWhitespaces = false;\n                    }\n                }\n                let encapsulation = metadata.encapsulation;\n                if (encapsulation === undefined) {\n                    if (options !== null && options.defaultEncapsulation !== undefined) {\n                        encapsulation = options.defaultEncapsulation;\n                    }\n                    else {\n                        encapsulation = ViewEncapsulation$1.Emulated;\n                    }\n                }\n                const templateUrl = metadata.templateUrl || `ng:///${type.name}/template.html`;\n                const meta = {\n                    ...directiveMetadata(type, metadata),\n                    typeSourceSpan: compiler.createParseSourceSpan('Component', type.name, templateUrl),\n                    template: metadata.template || '',\n                    preserveWhitespaces,\n                    styles: metadata.styles || EMPTY_ARRAY,\n                    animations: metadata.animations,\n                    // JIT components are always compiled against an empty set of `declarations`. Instead, the\n                    // `directiveDefs` and `pipeDefs` are updated at a later point:\n                    //  * for NgModule-based components, they're set when the NgModule which declares the\n                    //    component resolves in the module scoping queue\n                    //  * for standalone components, they're set just below, after `compileComponent`.\n                    declarations: [],\n                    changeDetection: metadata.changeDetection,\n                    encapsulation,\n                    interpolation: metadata.interpolation,\n                    viewProviders: metadata.viewProviders || null,\n                };\n                compilationDepth++;\n                try {\n                    if (meta.usesInheritance) {\n                        addDirectiveDefToUndecoratedParents(type);\n                    }\n                    ngComponentDef =\n                        compiler.compileComponent(angularCoreEnv, templateUrl, meta);\n                    if (metadata.standalone) {\n                        // Patch the component definition for standalone components with `directiveDefs` and\n                        // `pipeDefs` functions which lazily compute the directives/pipes available in the\n                        // standalone component. Also set `dependencies` to the lazily resolved list of imports.\n                        const imports = flatten(metadata.imports || EMPTY_ARRAY);\n                        const { directiveDefs, pipeDefs } = getStandaloneDefFunctions(type, imports);\n                        ngComponentDef.directiveDefs = directiveDefs;\n                        ngComponentDef.pipeDefs = pipeDefs;\n                        ngComponentDef.dependencies = () => imports.map(resolveForwardRef);\n                    }\n                }\n                finally {\n                    // Ensure that the compilation depth is decremented even when the compilation failed.\n                    compilationDepth--;\n                }\n                if (compilationDepth === 0) {\n                    // When NgModule decorator executed, we enqueued the module definition such that\n                    // it would only dequeue and add itself as module scope to all of its declarations,\n                    // but only if  if all of its declarations had resolved. This call runs the check\n                    // to see if any modules that are in the queue can be dequeued and add scope to\n                    // their declarations.\n                    flushModuleScopingQueueAsMuchAsPossible();\n                }\n                // If component compilation is async, then the @NgModule annotation which declares the\n                // component may execute and set an ngSelectorScope property on the component type. This\n                // allows the component to patch itself with directiveDefs from the module after it\n                // finishes compiling.\n                if (hasSelectorScope(type)) {\n                    const scopes = transitiveScopesFor(type.ngSelectorScope);\n                    patchComponentDefWithScope(ngComponentDef, scopes);\n                }\n                if (metadata.schemas) {\n                    if (metadata.standalone) {\n                        ngComponentDef.schemas = metadata.schemas;\n                    }\n                    else {\n                        throw new Error(`The 'schemas' was specified for the ${stringifyForError(type)} but is only valid on a component that is standalone.`);\n                    }\n                }\n                else if (metadata.standalone) {\n                    ngComponentDef.schemas = [];\n                }\n            }\n            return ngComponentDef;\n        },\n        // Make the property configurable in dev mode to allow overriding in tests\n        configurable: !!ngDevMode,\n    });\n}\nfunction getDependencyTypeForError(type) {\n    if (getComponentDef(type))\n        return 'component';\n    if (getDirectiveDef(type))\n        return 'directive';\n    if (getPipeDef$1(type))\n        return 'pipe';\n    return 'type';\n}\nfunction verifyStandaloneImport(depType, importingType) {\n    if (isForwardRef(depType)) {\n        depType = resolveForwardRef(depType);\n        if (!depType) {\n            throw new Error(`Expected forwardRef function, imported from \"${stringifyForError(importingType)}\", to return a standalone entity or NgModule but got \"${stringifyForError(depType) || depType}\".`);\n        }\n    }\n    if (getNgModuleDef(depType) == null) {\n        const def = getComponentDef(depType) || getDirectiveDef(depType) || getPipeDef$1(depType);\n        if (def != null) {\n            // if a component, directive or pipe is imported make sure that it is standalone\n            if (!def.standalone) {\n                throw new Error(`The \"${stringifyForError(depType)}\" ${getDependencyTypeForError(depType)}, imported from \"${stringifyForError(importingType)}\", is not standalone. Did you forget to add the standalone: true flag?`);\n            }\n        }\n        else {\n            // it can be either a module with provider or an unknown (not annotated) type\n            if (isModuleWithProviders(depType)) {\n                throw new Error(`A module with providers was imported from \"${stringifyForError(importingType)}\". Modules with providers are not supported in standalone components imports.`);\n            }\n            else {\n                throw new Error(`The \"${stringifyForError(depType)}\" type, imported from \"${stringifyForError(importingType)}\", must be a standalone component / directive / pipe or an NgModule. Did you forget to add the required @Component / @Directive / @Pipe or @NgModule annotation?`);\n            }\n        }\n    }\n}\n/**\n * Build memoized `directiveDefs` and `pipeDefs` functions for the component definition of a\n * standalone component, which process `imports` and filter out directives and pipes. The use of\n * memoized functions here allows for the delayed resolution of any `forwardRef`s present in the\n * component's `imports`.\n */\nfunction getStandaloneDefFunctions(type, imports) {\n    let cachedDirectiveDefs = null;\n    let cachedPipeDefs = null;\n    const directiveDefs = () => {\n        if (cachedDirectiveDefs === null) {\n            // Standalone components are always able to self-reference, so include the component's own\n            // definition in its `directiveDefs`.\n            cachedDirectiveDefs = [getComponentDef(type)];\n            const seen = new Set();\n            for (const rawDep of imports) {\n                ngDevMode && verifyStandaloneImport(rawDep, type);\n                const dep = resolveForwardRef(rawDep);\n                if (seen.has(dep)) {\n                    continue;\n                }\n                seen.add(dep);\n                if (!!getNgModuleDef(dep)) {\n                    const scope = transitiveScopesFor(dep);\n                    for (const dir of scope.exported.directives) {\n                        const def = getComponentDef(dir) || getDirectiveDef(dir);\n                        if (def && !seen.has(dir)) {\n                            seen.add(dir);\n                            cachedDirectiveDefs.push(def);\n                        }\n                    }\n                }\n                else {\n                    const def = getComponentDef(dep) || getDirectiveDef(dep);\n                    if (def) {\n                        cachedDirectiveDefs.push(def);\n                    }\n                }\n            }\n        }\n        return cachedDirectiveDefs;\n    };\n    const pipeDefs = () => {\n        if (cachedPipeDefs === null) {\n            cachedPipeDefs = [];\n            const seen = new Set();\n            for (const rawDep of imports) {\n                const dep = resolveForwardRef(rawDep);\n                if (seen.has(dep)) {\n                    continue;\n                }\n                seen.add(dep);\n                if (!!getNgModuleDef(dep)) {\n                    const scope = transitiveScopesFor(dep);\n                    for (const pipe of scope.exported.pipes) {\n                        const def = getPipeDef$1(pipe);\n                        if (def && !seen.has(pipe)) {\n                            seen.add(pipe);\n                            cachedPipeDefs.push(def);\n                        }\n                    }\n                }\n                else {\n                    const def = getPipeDef$1(dep);\n                    if (def) {\n                        cachedPipeDefs.push(def);\n                    }\n                }\n            }\n        }\n        return cachedPipeDefs;\n    };\n    return {\n        directiveDefs,\n        pipeDefs,\n    };\n}\nfunction hasSelectorScope(component) {\n    return component.ngSelectorScope !== undefined;\n}\n/**\n * Compile an Angular directive according to its decorator metadata, and patch the resulting\n * directive def onto the component type.\n *\n * In the event that compilation is not immediate, `compileDirective` will return a `Promise` which\n * will resolve when compilation completes and the directive becomes usable.\n */\nfunction compileDirective(type, directive) {\n    let ngDirectiveDef = null;\n    addDirectiveFactoryDef(type, directive || {});\n    Object.defineProperty(type, NG_DIR_DEF, {\n        get: () => {\n            if (ngDirectiveDef === null) {\n                // `directive` can be null in the case of abstract directives as a base class\n                // that use `@Directive()` with no selector. In that case, pass empty object to the\n                // `directiveMetadata` function instead of null.\n                const meta = getDirectiveMetadata(type, directive || {});\n                const compiler = getCompilerFacade({ usage: 0 /* JitCompilerUsage.Decorator */, kind: 'directive', type });\n                ngDirectiveDef =\n                    compiler.compileDirective(angularCoreEnv, meta.sourceMapUrl, meta.metadata);\n            }\n            return ngDirectiveDef;\n        },\n        // Make the property configurable in dev mode to allow overriding in tests\n        configurable: !!ngDevMode,\n    });\n}\nfunction getDirectiveMetadata(type, metadata) {\n    const name = type && type.name;\n    const sourceMapUrl = `ng:///${name}/ɵdir.js`;\n    const compiler = getCompilerFacade({ usage: 0 /* JitCompilerUsage.Decorator */, kind: 'directive', type });\n    const facade = directiveMetadata(type, metadata);\n    facade.typeSourceSpan = compiler.createParseSourceSpan('Directive', name, sourceMapUrl);\n    if (facade.usesInheritance) {\n        addDirectiveDefToUndecoratedParents(type);\n    }\n    return { metadata: facade, sourceMapUrl };\n}\nfunction addDirectiveFactoryDef(type, metadata) {\n    let ngFactoryDef = null;\n    Object.defineProperty(type, NG_FACTORY_DEF, {\n        get: () => {\n            if (ngFactoryDef === null) {\n                const meta = getDirectiveMetadata(type, metadata);\n                const compiler = getCompilerFacade({ usage: 0 /* JitCompilerUsage.Decorator */, kind: 'directive', type });\n                ngFactoryDef = compiler.compileFactory(angularCoreEnv, `ng:///${type.name}/ɵfac.js`, {\n                    name: meta.metadata.name,\n                    type: meta.metadata.type,\n                    typeArgumentCount: 0,\n                    deps: reflectDependencies(type),\n                    target: compiler.FactoryTarget.Directive\n                });\n            }\n            return ngFactoryDef;\n        },\n        // Make the property configurable in dev mode to allow overriding in tests\n        configurable: !!ngDevMode,\n    });\n}\nfunction extendsDirectlyFromObject(type) {\n    return Object.getPrototypeOf(type.prototype) === Object.prototype;\n}\n/**\n * Extract the `R3DirectiveMetadata` for a particular directive (either a `Directive` or a\n * `Component`).\n */\nfunction directiveMetadata(type, metadata) {\n    // Reflect inputs and outputs.\n    const reflect = getReflect();\n    const propMetadata = reflect.ownPropMetadata(type);\n    return {\n        name: type.name,\n        type: type,\n        selector: metadata.selector !== undefined ? metadata.selector : null,\n        host: metadata.host || EMPTY_OBJ,\n        propMetadata: propMetadata,\n        inputs: metadata.inputs || EMPTY_ARRAY,\n        outputs: metadata.outputs || EMPTY_ARRAY,\n        queries: extractQueriesMetadata(type, propMetadata, isContentQuery),\n        lifecycle: { usesOnChanges: reflect.hasLifecycleHook(type, 'ngOnChanges') },\n        typeSourceSpan: null,\n        usesInheritance: !extendsDirectlyFromObject(type),\n        exportAs: extractExportAs(metadata.exportAs),\n        providers: metadata.providers || null,\n        viewQueries: extractQueriesMetadata(type, propMetadata, isViewQuery),\n        isStandalone: !!metadata.standalone,\n        hostDirectives: metadata.hostDirectives?.map(directive => typeof directive === 'function' ? { directive } : directive) ||\n            null\n    };\n}\n/**\n * Adds a directive definition to all parent classes of a type that don't have an Angular decorator.\n */\nfunction addDirectiveDefToUndecoratedParents(type) {\n    const objPrototype = Object.prototype;\n    let parent = Object.getPrototypeOf(type.prototype).constructor;\n    // Go up the prototype until we hit `Object`.\n    while (parent && parent !== objPrototype) {\n        // Since inheritance works if the class was annotated already, we only need to add\n        // the def if there are no annotations and the def hasn't been created already.\n        if (!getDirectiveDef(parent) && !getComponentDef(parent) &&\n            shouldAddAbstractDirective(parent)) {\n            compileDirective(parent, null);\n        }\n        parent = Object.getPrototypeOf(parent);\n    }\n}\nfunction convertToR3QueryPredicate(selector) {\n    return typeof selector === 'string' ? splitByComma(selector) : resolveForwardRef(selector);\n}\nfunction convertToR3QueryMetadata(propertyName, ann) {\n    return {\n        propertyName: propertyName,\n        predicate: convertToR3QueryPredicate(ann.selector),\n        descendants: ann.descendants,\n        first: ann.first,\n        read: ann.read ? ann.read : null,\n        static: !!ann.static,\n        emitDistinctChangesOnly: !!ann.emitDistinctChangesOnly,\n    };\n}\nfunction extractQueriesMetadata(type, propMetadata, isQueryAnn) {\n    const queriesMeta = [];\n    for (const field in propMetadata) {\n        if (propMetadata.hasOwnProperty(field)) {\n            const annotations = propMetadata[field];\n            annotations.forEach(ann => {\n                if (isQueryAnn(ann)) {\n                    if (!ann.selector) {\n                        throw new Error(`Can't construct a query for the property \"${field}\" of ` +\n                            `\"${stringifyForError(type)}\" since the query selector wasn't defined.`);\n                    }\n                    if (annotations.some(isInputAnnotation)) {\n                        throw new Error(`Cannot combine @Input decorators with query decorators`);\n                    }\n                    queriesMeta.push(convertToR3QueryMetadata(field, ann));\n                }\n            });\n        }\n    }\n    return queriesMeta;\n}\nfunction extractExportAs(exportAs) {\n    return exportAs === undefined ? null : splitByComma(exportAs);\n}\nfunction isContentQuery(value) {\n    const name = value.ngMetadataName;\n    return name === 'ContentChild' || name === 'ContentChildren';\n}\nfunction isViewQuery(value) {\n    const name = value.ngMetadataName;\n    return name === 'ViewChild' || name === 'ViewChildren';\n}\nfunction isInputAnnotation(value) {\n    return value.ngMetadataName === 'Input';\n}\nfunction splitByComma(value) {\n    return value.split(',').map(piece => piece.trim());\n}\nconst LIFECYCLE_HOOKS = [\n    'ngOnChanges', 'ngOnInit', 'ngOnDestroy', 'ngDoCheck', 'ngAfterViewInit', 'ngAfterViewChecked',\n    'ngAfterContentInit', 'ngAfterContentChecked'\n];\nfunction shouldAddAbstractDirective(type) {\n    const reflect = getReflect();\n    if (LIFECYCLE_HOOKS.some(hookName => reflect.hasLifecycleHook(type, hookName))) {\n        return true;\n    }\n    const propMetadata = reflect.propMetadata(type);\n    for (const field in propMetadata) {\n        const annotations = propMetadata[field];\n        for (let i = 0; i < annotations.length; i++) {\n            const current = annotations[i];\n            const metadataName = current.ngMetadataName;\n            if (isInputAnnotation(current) || isContentQuery(current) || isViewQuery(current) ||\n                metadataName === 'Output' || metadataName === 'HostBinding' ||\n                metadataName === 'HostListener') {\n                return true;\n            }\n        }\n    }\n    return false;\n}\n\nfunction compilePipe(type, meta) {\n    let ngPipeDef = null;\n    let ngFactoryDef = null;\n    Object.defineProperty(type, NG_FACTORY_DEF, {\n        get: () => {\n            if (ngFactoryDef === null) {\n                const metadata = getPipeMetadata(type, meta);\n                const compiler = getCompilerFacade({ usage: 0 /* JitCompilerUsage.Decorator */, kind: 'pipe', type: metadata.type });\n                ngFactoryDef = compiler.compileFactory(angularCoreEnv, `ng:///${metadata.name}/ɵfac.js`, {\n                    name: metadata.name,\n                    type: metadata.type,\n                    typeArgumentCount: 0,\n                    deps: reflectDependencies(type),\n                    target: compiler.FactoryTarget.Pipe\n                });\n            }\n            return ngFactoryDef;\n        },\n        // Make the property configurable in dev mode to allow overriding in tests\n        configurable: !!ngDevMode,\n    });\n    Object.defineProperty(type, NG_PIPE_DEF, {\n        get: () => {\n            if (ngPipeDef === null) {\n                const metadata = getPipeMetadata(type, meta);\n                const compiler = getCompilerFacade({ usage: 0 /* JitCompilerUsage.Decorator */, kind: 'pipe', type: metadata.type });\n                ngPipeDef =\n                    compiler.compilePipe(angularCoreEnv, `ng:///${metadata.name}/ɵpipe.js`, metadata);\n            }\n            return ngPipeDef;\n        },\n        // Make the property configurable in dev mode to allow overriding in tests\n        configurable: !!ngDevMode,\n    });\n}\nfunction getPipeMetadata(type, meta) {\n    return {\n        type: type,\n        name: type.name,\n        pipeName: meta.name,\n        pure: meta.pure !== undefined ? meta.pure : true,\n        isStandalone: !!meta.standalone,\n    };\n}\n\n/**\n * Type of the Directive metadata.\n *\n * @publicApi\n */\nconst Directive = makeDecorator('Directive', (dir = {}) => dir, undefined, undefined, (type, meta) => compileDirective(type, meta));\n/**\n * Component decorator and metadata.\n *\n * @Annotation\n * @publicApi\n */\nconst Component = makeDecorator('Component', (c = {}) => ({ changeDetection: ChangeDetectionStrategy.Default, ...c }), Directive, undefined, (type, meta) => compileComponent(type, meta));\n/**\n * @Annotation\n * @publicApi\n */\nconst Pipe = makeDecorator('Pipe', (p) => ({ pure: true, ...p }), undefined, undefined, (type, meta) => compilePipe(type, meta));\n/**\n * @Annotation\n * @publicApi\n */\nconst Input = makePropDecorator('Input', (bindingPropertyName) => ({ bindingPropertyName }));\n/**\n * @Annotation\n * @publicApi\n */\nconst Output = makePropDecorator('Output', (bindingPropertyName) => ({ bindingPropertyName }));\n/**\n * @Annotation\n * @publicApi\n */\nconst HostBinding = makePropDecorator('HostBinding', (hostPropertyName) => ({ hostPropertyName }));\n/**\n * Decorator that binds a DOM event to a host listener and supplies configuration metadata.\n * Angular invokes the supplied handler method when the host element emits the specified event,\n * and updates the bound element with the result.\n *\n * If the handler method returns false, applies `preventDefault` on the bound element.\n *\n * @usageNotes\n *\n * The following example declares a directive\n * that attaches a click listener to a button and counts clicks.\n *\n * ```ts\n * @Directive({selector: 'button[counting]'})\n * class CountClicks {\n *   numberOfClicks = 0;\n *\n *   @HostListener('click', ['$event.target'])\n *   onClick(btn) {\n *     console.log('button', btn, 'number of clicks:', this.numberOfClicks++);\n *   }\n * }\n *\n * @Component({\n *   selector: 'app',\n *   template: '<button counting>Increment</button>',\n * })\n * class App {}\n *\n * ```\n *\n * The following example registers another DOM event handler that listens for `Enter` key-press\n * events on the global `window`.\n * ``` ts\n * import { HostListener, Component } from \"@angular/core\";\n *\n * @Component({\n *   selector: 'app',\n *   template: `<h1>Hello, you have pressed enter {{counter}} number of times!</h1> Press enter key\n * to increment the counter.\n *   <button (click)=\"resetCounter()\">Reset Counter</button>`\n * })\n * class AppComponent {\n *   counter = 0;\n *   @HostListener('window:keydown.enter', ['$event'])\n *   handleKeyDown(event: KeyboardEvent) {\n *     this.counter++;\n *   }\n *   resetCounter() {\n *     this.counter = 0;\n *   }\n * }\n * ```\n * The list of valid key names for `keydown` and `keyup` events\n * can be found here:\n * https://www.w3.org/TR/DOM-Level-3-Events-key/#named-key-attribute-values\n *\n * Note that keys can also be combined, e.g. `@HostListener('keydown.shift.a')`.\n *\n * The global target names that can be used to prefix an event name are\n * `document:`, `window:` and `body:`.\n *\n * @Annotation\n * @publicApi\n */\nconst HostListener = makePropDecorator('HostListener', (eventName, args) => ({ eventName, args }));\n\n/**\n * @Annotation\n * @publicApi\n */\nconst NgModule = makeDecorator('NgModule', (ngModule) => ngModule, undefined, undefined, \n/**\n * Decorator that marks the following class as an NgModule, and supplies\n * configuration metadata for it.\n *\n * * The `declarations` and `entryComponents` options configure the compiler\n * with information about what belongs to the NgModule.\n * * The `providers` options configures the NgModule's injector to provide\n * dependencies the NgModule members.\n * * The `imports` and `exports` options bring in members from other modules, and make\n * this module's members available to others.\n */\n(type, meta) => compileNgModule(type, meta));\n\n/**\n * This indirection is needed to free up Component, etc symbols in the public API\n * to be used by the decorator versions of these annotations.\n */\n\nfunction noop(...args) {\n    // Do nothing.\n}\n\n/*\n * This file exists to support compilation of @angular/core in Ivy mode.\n *\n * When the Angular compiler processes a compilation unit, it normally writes imports to\n * @angular/core. When compiling the core package itself this strategy isn't usable. Instead, the\n * compiler writes imports to this file.\n *\n * Only a subset of such imports are supported - core is not allowed to declare components or pipes.\n * A check in ngtsc's `R3SymbolsImportRewriter` validates this condition. The rewriter is only used\n * when compiling @angular/core and is responsible for translating an external name (prefixed with\n * ɵ) to the internal symbol name as exported below.\n *\n * The below symbols are used for @Injectable and @NgModule compilation.\n */\n/**\n * The existence of this constant (in this particular file) informs the Angular compiler that the\n * current program is actually @angular/core, which needs to be compiled specially.\n */\nconst ITS_JUST_ANGULAR = true;\n\n/**\n * A [DI token](guide/glossary#di-token \"DI token definition\") that you can use to provide\n * one or more initialization functions.\n *\n * The provided functions are injected at application startup and executed during\n * app initialization. If any of these functions returns a Promise or an Observable, initialization\n * does not complete until the Promise is resolved or the Observable is completed.\n *\n * You can, for example, create a factory function that loads language data\n * or an external configuration, and provide that function to the `APP_INITIALIZER` token.\n * The function is executed during the application bootstrap process,\n * and the needed data is available on startup.\n *\n * @see `ApplicationInitStatus`\n *\n * @usageNotes\n *\n * The following example illustrates how to configure a multi-provider using `APP_INITIALIZER` token\n * and a function returning a promise.\n *\n * ```\n *  function initializeApp(): Promise<any> {\n *    return new Promise((resolve, reject) => {\n *      // Do some asynchronous stuff\n *      resolve();\n *    });\n *  }\n *\n *  @NgModule({\n *   imports: [BrowserModule],\n *   declarations: [AppComponent],\n *   bootstrap: [AppComponent],\n *   providers: [{\n *     provide: APP_INITIALIZER,\n *     useFactory: () => initializeApp,\n *     multi: true\n *    }]\n *   })\n *  export class AppModule {}\n * ```\n *\n * It's also possible to configure a multi-provider using `APP_INITIALIZER` token and a function\n * returning an observable, see an example below. Note: the `HttpClient` in this example is used for\n * demo purposes to illustrate how the factory function can work with other providers available\n * through DI.\n *\n * ```\n *  function initializeAppFactory(httpClient: HttpClient): () => Observable<any> {\n *   return () => httpClient.get(\"https://someUrl.com/api/user\")\n *     .pipe(\n *        tap(user => { ... })\n *     );\n *  }\n *\n *  @NgModule({\n *    imports: [BrowserModule, HttpClientModule],\n *    declarations: [AppComponent],\n *    bootstrap: [AppComponent],\n *    providers: [{\n *      provide: APP_INITIALIZER,\n *      useFactory: initializeAppFactory,\n *      deps: [HttpClient],\n *      multi: true\n *    }]\n *  })\n *  export class AppModule {}\n * ```\n *\n * @publicApi\n */\nconst APP_INITIALIZER = new InjectionToken('Application Initializer');\n/**\n * A class that reflects the state of running {@link APP_INITIALIZER} functions.\n *\n * @publicApi\n */\nclass ApplicationInitStatus {\n    constructor(appInits) {\n        this.appInits = appInits;\n        this.resolve = noop;\n        this.reject = noop;\n        this.initialized = false;\n        this.done = false;\n        // TODO: Throw RuntimeErrorCode.INVALID_MULTI_PROVIDER if appInits is not an array\n        this.donePromise = new Promise((res, rej) => {\n            this.resolve = res;\n            this.reject = rej;\n        });\n    }\n    /** @internal */\n    runInitializers() {\n        if (this.initialized) {\n            return;\n        }\n        const asyncInitPromises = [];\n        const complete = () => {\n            this.done = true;\n            this.resolve();\n        };\n        if (this.appInits) {\n            for (let i = 0; i < this.appInits.length; i++) {\n                const initResult = this.appInits[i]();\n                if (isPromise(initResult)) {\n                    asyncInitPromises.push(initResult);\n                }\n                else if (isObservable(initResult)) {\n                    const observableAsPromise = new Promise((resolve, reject) => {\n                        initResult.subscribe({ complete: resolve, error: reject });\n                    });\n                    asyncInitPromises.push(observableAsPromise);\n                }\n            }\n        }\n        Promise.all(asyncInitPromises)\n            .then(() => {\n            complete();\n        })\n            .catch(e => {\n            this.reject(e);\n        });\n        if (asyncInitPromises.length === 0) {\n            complete();\n        }\n        this.initialized = true;\n    }\n}\nApplicationInitStatus.ɵfac = function ApplicationInitStatus_Factory(t) { return new (t || ApplicationInitStatus)(ɵɵinject(APP_INITIALIZER, 8)); };\nApplicationInitStatus.ɵprov = /*@__PURE__*/ ɵɵdefineInjectable({ token: ApplicationInitStatus, factory: ApplicationInitStatus.ɵfac, providedIn: 'root' });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && setClassMetadata(ApplicationInitStatus, [{\n        type: Injectable,\n        args: [{ providedIn: 'root' }]\n    }], function () { return [{ type: undefined, decorators: [{\n                type: Inject,\n                args: [APP_INITIALIZER]\n            }, {\n                type: Optional\n            }] }]; }, null); })();\n\n/**\n * A [DI token](guide/glossary#di-token \"DI token definition\") representing a unique string ID, used\n * primarily for prefixing application attributes and CSS styles when\n * {@link ViewEncapsulation#Emulated ViewEncapsulation.Emulated} is being used.\n *\n * BY default, the value is randomly generated and assigned to the application by Angular.\n * To provide a custom ID value, use a DI provider <!-- TODO: provider --> to configure\n * the root {@link Injector} that uses this token.\n *\n * @publicApi\n */\nconst APP_ID = new InjectionToken('AppId', {\n    providedIn: 'root',\n    factory: _appIdRandomProviderFactory,\n});\nfunction _appIdRandomProviderFactory() {\n    return `${_randomChar()}${_randomChar()}${_randomChar()}`;\n}\n/**\n * Providers that generate a random `APP_ID_TOKEN`.\n * @publicApi\n */\nconst APP_ID_RANDOM_PROVIDER = {\n    provide: APP_ID,\n    useFactory: _appIdRandomProviderFactory,\n    deps: [],\n};\nfunction _randomChar() {\n    return String.fromCharCode(97 + Math.floor(Math.random() * 25));\n}\n/**\n * A function that is executed when a platform is initialized.\n * @publicApi\n */\nconst PLATFORM_INITIALIZER = new InjectionToken('Platform Initializer');\n/**\n * A token that indicates an opaque platform ID.\n * @publicApi\n */\nconst PLATFORM_ID = new InjectionToken('Platform ID', {\n    providedIn: 'platform',\n    factory: () => 'unknown', // set a default platform name, when none set explicitly\n});\n/**\n * A [DI token](guide/glossary#di-token \"DI token definition\") that indicates the root directory of\n * the application\n * @publicApi\n */\nconst PACKAGE_ROOT_URL = new InjectionToken('Application Packages Root URL');\n// We keep this token here, rather than the animations package, so that modules that only care\n// about which animations module is loaded (e.g. the CDK) can retrieve it without having to\n// include extra dependencies. See #44970 for more context.\n/**\n * A [DI token](guide/glossary#di-token \"DI token definition\") that indicates which animations\n * module has been loaded.\n * @publicApi\n */\nconst ANIMATION_MODULE_TYPE = new InjectionToken('AnimationModuleType');\n\nclass Console {\n    log(message) {\n        // tslint:disable-next-line:no-console\n        console.log(message);\n    }\n    // Note: for reporting errors use `DOM.logError()` as it is platform specific\n    warn(message) {\n        // tslint:disable-next-line:no-console\n        console.warn(message);\n    }\n}\nConsole.ɵfac = function Console_Factory(t) { return new (t || Console)(); };\nConsole.ɵprov = /*@__PURE__*/ ɵɵdefineInjectable({ token: Console, factory: Console.ɵfac, providedIn: 'platform' });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && setClassMetadata(Console, [{\n        type: Injectable,\n        args: [{ providedIn: 'platform' }]\n    }], null, null); })();\n\n/**\n * Work out the locale from the potential global properties.\n *\n * * Closure Compiler: use `goog.LOCALE`.\n * * Ivy enabled: use `$localize.locale`\n */\nfunction getGlobalLocale() {\n    if (typeof ngI18nClosureMode !== 'undefined' && ngI18nClosureMode &&\n        typeof goog !== 'undefined' && goog.LOCALE !== 'en') {\n        // * The default `goog.LOCALE` value is `en`, while Angular used `en-US`.\n        // * In order to preserve backwards compatibility, we use Angular default value over\n        //   Closure Compiler's one.\n        return goog.LOCALE;\n    }\n    else {\n        // KEEP `typeof $localize !== 'undefined' && $localize.locale` IN SYNC WITH THE LOCALIZE\n        // COMPILE-TIME INLINER.\n        //\n        // * During compile time inlining of translations the expression will be replaced\n        //   with a string literal that is the current locale. Other forms of this expression are not\n        //   guaranteed to be replaced.\n        //\n        // * During runtime translation evaluation, the developer is required to set `$localize.locale`\n        //   if required, or just to provide their own `LOCALE_ID` provider.\n        return (typeof $localize !== 'undefined' && $localize.locale) || DEFAULT_LOCALE_ID;\n    }\n}\n/**\n * Provide this token to set the locale of your application.\n * It is used for i18n extraction, by i18n pipes (DatePipe, I18nPluralPipe, CurrencyPipe,\n * DecimalPipe and PercentPipe) and by ICU expressions.\n *\n * See the [i18n guide](guide/i18n-common-locale-id) for more information.\n *\n * @usageNotes\n * ### Example\n *\n * ```typescript\n * import { LOCALE_ID } from '@angular/core';\n * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\n * import { AppModule } from './app/app.module';\n *\n * platformBrowserDynamic().bootstrapModule(AppModule, {\n *   providers: [{provide: LOCALE_ID, useValue: 'en-US' }]\n * });\n * ```\n *\n * @publicApi\n */\nconst LOCALE_ID = new InjectionToken('LocaleId', {\n    providedIn: 'root',\n    factory: () => inject(LOCALE_ID, InjectFlags.Optional | InjectFlags.SkipSelf) || getGlobalLocale(),\n});\n/**\n * Provide this token to set the default currency code your application uses for\n * CurrencyPipe when there is no currency code passed into it. This is only used by\n * CurrencyPipe and has no relation to locale currency. Defaults to USD if not configured.\n *\n * See the [i18n guide](guide/i18n-common-locale-id) for more information.\n *\n * <div class=\"alert is-helpful\">\n *\n * **Deprecation notice:**\n *\n * The default currency code is currently always `USD` but this is deprecated from v9.\n *\n * **In v10 the default currency code will be taken from the current locale.**\n *\n * If you need the previous behavior then set it by creating a `DEFAULT_CURRENCY_CODE` provider in\n * your application `NgModule`:\n *\n * ```ts\n * {provide: DEFAULT_CURRENCY_CODE, useValue: 'USD'}\n * ```\n *\n * </div>\n *\n * @usageNotes\n * ### Example\n *\n * ```typescript\n * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\n * import { AppModule } from './app/app.module';\n *\n * platformBrowserDynamic().bootstrapModule(AppModule, {\n *   providers: [{provide: DEFAULT_CURRENCY_CODE, useValue: 'EUR' }]\n * });\n * ```\n *\n * @publicApi\n */\nconst DEFAULT_CURRENCY_CODE = new InjectionToken('DefaultCurrencyCode', {\n    providedIn: 'root',\n    factory: () => USD_CURRENCY_CODE,\n});\n/**\n * Use this token at bootstrap to provide the content of your translation file (`xtb`,\n * `xlf` or `xlf2`) when you want to translate your application in another language.\n *\n * See the [i18n guide](guide/i18n-common-merge) for more information.\n *\n * @usageNotes\n * ### Example\n *\n * ```typescript\n * import { TRANSLATIONS } from '@angular/core';\n * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\n * import { AppModule } from './app/app.module';\n *\n * // content of your translation file\n * const translations = '....';\n *\n * platformBrowserDynamic().bootstrapModule(AppModule, {\n *   providers: [{provide: TRANSLATIONS, useValue: translations }]\n * });\n * ```\n *\n * @publicApi\n */\nconst TRANSLATIONS = new InjectionToken('Translations');\n/**\n * Provide this token at bootstrap to set the format of your {@link TRANSLATIONS}: `xtb`,\n * `xlf` or `xlf2`.\n *\n * See the [i18n guide](guide/i18n-common-merge) for more information.\n *\n * @usageNotes\n * ### Example\n *\n * ```typescript\n * import { TRANSLATIONS_FORMAT } from '@angular/core';\n * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\n * import { AppModule } from './app/app.module';\n *\n * platformBrowserDynamic().bootstrapModule(AppModule, {\n *   providers: [{provide: TRANSLATIONS_FORMAT, useValue: 'xlf' }]\n * });\n * ```\n *\n * @publicApi\n */\nconst TRANSLATIONS_FORMAT = new InjectionToken('TranslationsFormat');\n/**\n * Use this enum at bootstrap as an option of `bootstrapModule` to define the strategy\n * that the compiler should use in case of missing translations:\n * - Error: throw if you have missing translations.\n * - Warning (default): show a warning in the console and/or shell.\n * - Ignore: do nothing.\n *\n * See the [i18n guide](guide/i18n-common-merge#report-missing-translations) for more information.\n *\n * @usageNotes\n * ### Example\n * ```typescript\n * import { MissingTranslationStrategy } from '@angular/core';\n * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\n * import { AppModule } from './app/app.module';\n *\n * platformBrowserDynamic().bootstrapModule(AppModule, {\n *   missingTranslation: MissingTranslationStrategy.Error\n * });\n * ```\n *\n * @publicApi\n */\nvar MissingTranslationStrategy;\n(function (MissingTranslationStrategy) {\n    MissingTranslationStrategy[MissingTranslationStrategy[\"Error\"] = 0] = \"Error\";\n    MissingTranslationStrategy[MissingTranslationStrategy[\"Warning\"] = 1] = \"Warning\";\n    MissingTranslationStrategy[MissingTranslationStrategy[\"Ignore\"] = 2] = \"Ignore\";\n})(MissingTranslationStrategy || (MissingTranslationStrategy = {}));\n\n/**\n * Combination of NgModuleFactory and ComponentFactories.\n *\n * @publicApi\n *\n * @deprecated\n * Ivy JIT mode doesn't require accessing this symbol.\n * See [JIT API changes due to ViewEngine deprecation](guide/deprecations#jit-api-changes) for\n * additional context.\n */\nclass ModuleWithComponentFactories {\n    constructor(ngModuleFactory, componentFactories) {\n        this.ngModuleFactory = ngModuleFactory;\n        this.componentFactories = componentFactories;\n    }\n}\n/**\n * Low-level service for running the angular compiler during runtime\n * to create {@link ComponentFactory}s, which\n * can later be used to create and render a Component instance.\n *\n * Each `@NgModule` provides an own `Compiler` to its injector,\n * that will use the directives/pipes of the ng module for compilation\n * of components.\n *\n * @publicApi\n *\n * @deprecated\n * Ivy JIT mode doesn't require accessing this symbol.\n * See [JIT API changes due to ViewEngine deprecation](guide/deprecations#jit-api-changes) for\n * additional context.\n */\nclass Compiler {\n    /**\n     * Compiles the given NgModule and all of its components. All templates of the components listed\n     * in `entryComponents` have to be inlined.\n     */\n    compileModuleSync(moduleType) {\n        return new NgModuleFactory(moduleType);\n    }\n    /**\n     * Compiles the given NgModule and all of its components\n     */\n    compileModuleAsync(moduleType) {\n        return Promise.resolve(this.compileModuleSync(moduleType));\n    }\n    /**\n     * Same as {@link #compileModuleSync} but also creates ComponentFactories for all components.\n     */\n    compileModuleAndAllComponentsSync(moduleType) {\n        const ngModuleFactory = this.compileModuleSync(moduleType);\n        const moduleDef = getNgModuleDef(moduleType);\n        const componentFactories = maybeUnwrapFn(moduleDef.declarations)\n            .reduce((factories, declaration) => {\n            const componentDef = getComponentDef(declaration);\n            componentDef && factories.push(new ComponentFactory(componentDef));\n            return factories;\n        }, []);\n        return new ModuleWithComponentFactories(ngModuleFactory, componentFactories);\n    }\n    /**\n     * Same as {@link #compileModuleAsync} but also creates ComponentFactories for all components.\n     */\n    compileModuleAndAllComponentsAsync(moduleType) {\n        return Promise.resolve(this.compileModuleAndAllComponentsSync(moduleType));\n    }\n    /**\n     * Clears all caches.\n     */\n    clearCache() { }\n    /**\n     * Clears the cache for the given component/ngModule.\n     */\n    clearCacheFor(type) { }\n    /**\n     * Returns the id for a given NgModule, if one is defined and known to the compiler.\n     */\n    getModuleId(moduleType) {\n        return undefined;\n    }\n}\nCompiler.ɵfac = function Compiler_Factory(t) { return new (t || Compiler)(); };\nCompiler.ɵprov = /*@__PURE__*/ ɵɵdefineInjectable({ token: Compiler, factory: Compiler.ɵfac, providedIn: 'root' });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && setClassMetadata(Compiler, [{\n        type: Injectable,\n        args: [{ providedIn: 'root' }]\n    }], null, null); })();\n/**\n * Token to provide CompilerOptions in the platform injector.\n *\n * @publicApi\n */\nconst COMPILER_OPTIONS = new InjectionToken('compilerOptions');\n/**\n * A factory for creating a Compiler\n *\n * @publicApi\n *\n * @deprecated\n * Ivy JIT mode doesn't require accessing this symbol.\n * See [JIT API changes due to ViewEngine deprecation](guide/deprecations#jit-api-changes) for\n * additional context.\n */\nclass CompilerFactory {\n}\n\n/**\n * Marks a component for check (in case of OnPush components) and synchronously\n * performs change detection on the application this component belongs to.\n *\n * @param component Component to {@link ChangeDetectorRef#markForCheck mark for check}.\n *\n * @publicApi\n * @globalApi ng\n */\nfunction applyChanges(component) {\n    ngDevMode && assertDefined(component, 'component');\n    markViewDirty(getComponentViewByInstance(component));\n    getRootComponents(component).forEach(rootComponent => detectChanges(rootComponent));\n}\n\n/**\n * This file introduces series of globally accessible debug tools\n * to allow for the Angular debugging story to function.\n *\n * To see this in action run the following command:\n *\n *   bazel run //packages/core/test/bundling/todo:devserver\n *\n *  Then load `localhost:5432` and start using the console tools.\n */\n/**\n * This value reflects the property on the window where the dev\n * tools are patched (window.ng).\n * */\nconst GLOBAL_PUBLISH_EXPANDO_KEY = 'ng';\nlet _published = false;\n/**\n * Publishes a collection of default debug tools onto`window.ng`.\n *\n * These functions are available globally when Angular is in development\n * mode and are automatically stripped away from prod mode is on.\n */\nfunction publishDefaultGlobalUtils$1() {\n    if (!_published) {\n        _published = true;\n        /**\n         * Warning: this function is *INTERNAL* and should not be relied upon in application's code.\n         * The contract of the function might be changed in any release and/or the function can be\n         * removed completely.\n         */\n        publishGlobalUtil('ɵsetProfiler', setProfiler);\n        publishGlobalUtil('getDirectiveMetadata', getDirectiveMetadata$1);\n        publishGlobalUtil('getComponent', getComponent);\n        publishGlobalUtil('getContext', getContext);\n        publishGlobalUtil('getListeners', getListeners);\n        publishGlobalUtil('getOwningComponent', getOwningComponent);\n        publishGlobalUtil('getHostElement', getHostElement);\n        publishGlobalUtil('getInjector', getInjector);\n        publishGlobalUtil('getRootComponents', getRootComponents);\n        publishGlobalUtil('getDirectives', getDirectives);\n        publishGlobalUtil('applyChanges', applyChanges);\n    }\n}\n/**\n * Publishes the given function to `window.ng` so that it can be\n * used from the browser console when an application is not in production.\n */\nfunction publishGlobalUtil(name, fn) {\n    if (typeof COMPILED === 'undefined' || !COMPILED) {\n        // Note: we can't export `ng` when using closure enhanced optimization as:\n        // - closure declares globals itself for minified names, which sometimes clobber our `ng` global\n        // - we can't declare a closure extern as the namespace `ng` is already used within Google\n        //   for typings for AngularJS (via `goog.provide('ng....')`).\n        const w = _global;\n        ngDevMode && assertDefined(fn, 'function not defined');\n        if (w) {\n            let container = w[GLOBAL_PUBLISH_EXPANDO_KEY];\n            if (!container) {\n                container = w[GLOBAL_PUBLISH_EXPANDO_KEY] = {};\n            }\n            container[name] = fn;\n        }\n    }\n}\n\nconst promise = (() => Promise.resolve(0))();\nfunction scheduleMicroTask(fn) {\n    if (typeof Zone === 'undefined') {\n        // use promise to schedule microTask instead of use Zone\n        promise.then(() => {\n            fn && fn.apply(null, null);\n        });\n    }\n    else {\n        Zone.current.scheduleMicroTask('scheduleMicrotask', fn);\n    }\n}\n\nfunction getNativeRequestAnimationFrame() {\n    let nativeRequestAnimationFrame = _global['requestAnimationFrame'];\n    let nativeCancelAnimationFrame = _global['cancelAnimationFrame'];\n    if (typeof Zone !== 'undefined' && nativeRequestAnimationFrame && nativeCancelAnimationFrame) {\n        // use unpatched version of requestAnimationFrame(native delegate) if possible\n        // to avoid another Change detection\n        const unpatchedRequestAnimationFrame = nativeRequestAnimationFrame[Zone.__symbol__('OriginalDelegate')];\n        if (unpatchedRequestAnimationFrame) {\n            nativeRequestAnimationFrame = unpatchedRequestAnimationFrame;\n        }\n        const unpatchedCancelAnimationFrame = nativeCancelAnimationFrame[Zone.__symbol__('OriginalDelegate')];\n        if (unpatchedCancelAnimationFrame) {\n            nativeCancelAnimationFrame = unpatchedCancelAnimationFrame;\n        }\n    }\n    return { nativeRequestAnimationFrame, nativeCancelAnimationFrame };\n}\n\nclass AsyncStackTaggingZoneSpec {\n    constructor(namePrefix, consoleAsyncStackTaggingImpl = console) {\n        this.name = 'asyncStackTagging for ' + namePrefix;\n        this.createTask = consoleAsyncStackTaggingImpl?.createTask ?? (() => null);\n    }\n    onScheduleTask(delegate, _current, target, task) {\n        task.consoleTask = this.createTask(`Zone - ${task.source || task.type}`);\n        return delegate.scheduleTask(target, task);\n    }\n    onInvokeTask(delegate, _currentZone, targetZone, task, applyThis, applyArgs) {\n        let ret;\n        if (task.consoleTask) {\n            ret = task.consoleTask.run(() => delegate.invokeTask(targetZone, task, applyThis, applyArgs));\n        }\n        else {\n            ret = delegate.invokeTask(targetZone, task, applyThis, applyArgs);\n        }\n        return ret;\n    }\n}\n\n/**\n * An injectable service for executing work inside or outside of the Angular zone.\n *\n * The most common use of this service is to optimize performance when starting a work consisting of\n * one or more asynchronous tasks that don't require UI updates or error handling to be handled by\n * Angular. Such tasks can be kicked off via {@link #runOutsideAngular} and if needed, these tasks\n * can reenter the Angular zone via {@link #run}.\n *\n * <!-- TODO: add/fix links to:\n *   - docs explaining zones and the use of zones in Angular and change-detection\n *   - link to runOutsideAngular/run (throughout this file!)\n *   -->\n *\n * @usageNotes\n * ### Example\n *\n * ```\n * import {Component, NgZone} from '@angular/core';\n * import {NgIf} from '@angular/common';\n *\n * @Component({\n *   selector: 'ng-zone-demo',\n *   template: `\n *     <h2>Demo: NgZone</h2>\n *\n *     <p>Progress: {{progress}}%</p>\n *     <p *ngIf=\"progress >= 100\">Done processing {{label}} of Angular zone!</p>\n *\n *     <button (click)=\"processWithinAngularZone()\">Process within Angular zone</button>\n *     <button (click)=\"processOutsideOfAngularZone()\">Process outside of Angular zone</button>\n *   `,\n * })\n * export class NgZoneDemo {\n *   progress: number = 0;\n *   label: string;\n *\n *   constructor(private _ngZone: NgZone) {}\n *\n *   // Loop inside the Angular zone\n *   // so the UI DOES refresh after each setTimeout cycle\n *   processWithinAngularZone() {\n *     this.label = 'inside';\n *     this.progress = 0;\n *     this._increaseProgress(() => console.log('Inside Done!'));\n *   }\n *\n *   // Loop outside of the Angular zone\n *   // so the UI DOES NOT refresh after each setTimeout cycle\n *   processOutsideOfAngularZone() {\n *     this.label = 'outside';\n *     this.progress = 0;\n *     this._ngZone.runOutsideAngular(() => {\n *       this._increaseProgress(() => {\n *         // reenter the Angular zone and display done\n *         this._ngZone.run(() => { console.log('Outside Done!'); });\n *       });\n *     });\n *   }\n *\n *   _increaseProgress(doneCallback: () => void) {\n *     this.progress += 1;\n *     console.log(`Current progress: ${this.progress}%`);\n *\n *     if (this.progress < 100) {\n *       window.setTimeout(() => this._increaseProgress(doneCallback), 10);\n *     } else {\n *       doneCallback();\n *     }\n *   }\n * }\n * ```\n *\n * @publicApi\n */\nclass NgZone {\n    constructor({ enableLongStackTrace = false, shouldCoalesceEventChangeDetection = false, shouldCoalesceRunChangeDetection = false }) {\n        this.hasPendingMacrotasks = false;\n        this.hasPendingMicrotasks = false;\n        /**\n         * Whether there are no outstanding microtasks or macrotasks.\n         */\n        this.isStable = true;\n        /**\n         * Notifies when code enters Angular Zone. This gets fired first on VM Turn.\n         */\n        this.onUnstable = new EventEmitter(false);\n        /**\n         * Notifies when there is no more microtasks enqueued in the current VM Turn.\n         * This is a hint for Angular to do change detection, which may enqueue more microtasks.\n         * For this reason this event can fire multiple times per VM Turn.\n         */\n        this.onMicrotaskEmpty = new EventEmitter(false);\n        /**\n         * Notifies when the last `onMicrotaskEmpty` has run and there are no more microtasks, which\n         * implies we are about to relinquish VM turn.\n         * This event gets called just once.\n         */\n        this.onStable = new EventEmitter(false);\n        /**\n         * Notifies that an error has been delivered.\n         */\n        this.onError = new EventEmitter(false);\n        if (typeof Zone == 'undefined') {\n            throw new RuntimeError(908 /* RuntimeErrorCode.MISSING_ZONEJS */, ngDevMode && `In this configuration Angular requires Zone.js`);\n        }\n        Zone.assertZonePatched();\n        const self = this;\n        self._nesting = 0;\n        self._outer = self._inner = Zone.current;\n        // AsyncStackTaggingZoneSpec provides `linked stack traces` to show\n        // where the async operation is scheduled. For more details, refer\n        // to this article, https://developer.chrome.com/blog/devtools-better-angular-debugging/\n        // And we only import this AsyncStackTaggingZoneSpec in development mode,\n        // in the production mode, the AsyncStackTaggingZoneSpec will be tree shaken away.\n        if (ngDevMode) {\n            self._inner = self._inner.fork(new AsyncStackTaggingZoneSpec('Angular'));\n        }\n        if (Zone['TaskTrackingZoneSpec']) {\n            self._inner = self._inner.fork(new Zone['TaskTrackingZoneSpec']);\n        }\n        if (enableLongStackTrace && Zone['longStackTraceZoneSpec']) {\n            self._inner = self._inner.fork(Zone['longStackTraceZoneSpec']);\n        }\n        // if shouldCoalesceRunChangeDetection is true, all tasks including event tasks will be\n        // coalesced, so shouldCoalesceEventChangeDetection option is not necessary and can be skipped.\n        self.shouldCoalesceEventChangeDetection =\n            !shouldCoalesceRunChangeDetection && shouldCoalesceEventChangeDetection;\n        self.shouldCoalesceRunChangeDetection = shouldCoalesceRunChangeDetection;\n        self.lastRequestAnimationFrameId = -1;\n        self.nativeRequestAnimationFrame = getNativeRequestAnimationFrame().nativeRequestAnimationFrame;\n        forkInnerZoneWithAngularBehavior(self);\n    }\n    static isInAngularZone() {\n        // Zone needs to be checked, because this method might be called even when NoopNgZone is used.\n        return typeof Zone !== 'undefined' && Zone.current.get('isAngularZone') === true;\n    }\n    static assertInAngularZone() {\n        if (!NgZone.isInAngularZone()) {\n            throw new RuntimeError(909 /* RuntimeErrorCode.UNEXPECTED_ZONE_STATE */, ngDevMode && 'Expected to be in Angular Zone, but it is not!');\n        }\n    }\n    static assertNotInAngularZone() {\n        if (NgZone.isInAngularZone()) {\n            throw new RuntimeError(909 /* RuntimeErrorCode.UNEXPECTED_ZONE_STATE */, ngDevMode && 'Expected to not be in Angular Zone, but it is!');\n        }\n    }\n    /**\n     * Executes the `fn` function synchronously within the Angular zone and returns value returned by\n     * the function.\n     *\n     * Running functions via `run` allows you to reenter Angular zone from a task that was executed\n     * outside of the Angular zone (typically started via {@link #runOutsideAngular}).\n     *\n     * Any future tasks or microtasks scheduled from within this function will continue executing from\n     * within the Angular zone.\n     *\n     * If a synchronous error happens it will be rethrown and not reported via `onError`.\n     */\n    run(fn, applyThis, applyArgs) {\n        return this._inner.run(fn, applyThis, applyArgs);\n    }\n    /**\n     * Executes the `fn` function synchronously within the Angular zone as a task and returns value\n     * returned by the function.\n     *\n     * Running functions via `run` allows you to reenter Angular zone from a task that was executed\n     * outside of the Angular zone (typically started via {@link #runOutsideAngular}).\n     *\n     * Any future tasks or microtasks scheduled from within this function will continue executing from\n     * within the Angular zone.\n     *\n     * If a synchronous error happens it will be rethrown and not reported via `onError`.\n     */\n    runTask(fn, applyThis, applyArgs, name) {\n        const zone = this._inner;\n        const task = zone.scheduleEventTask('NgZoneEvent: ' + name, fn, EMPTY_PAYLOAD, noop, noop);\n        try {\n            return zone.runTask(task, applyThis, applyArgs);\n        }\n        finally {\n            zone.cancelTask(task);\n        }\n    }\n    /**\n     * Same as `run`, except that synchronous errors are caught and forwarded via `onError` and not\n     * rethrown.\n     */\n    runGuarded(fn, applyThis, applyArgs) {\n        return this._inner.runGuarded(fn, applyThis, applyArgs);\n    }\n    /**\n     * Executes the `fn` function synchronously in Angular's parent zone and returns value returned by\n     * the function.\n     *\n     * Running functions via {@link #runOutsideAngular} allows you to escape Angular's zone and do\n     * work that\n     * doesn't trigger Angular change-detection or is subject to Angular's error handling.\n     *\n     * Any future tasks or microtasks scheduled from within this function will continue executing from\n     * outside of the Angular zone.\n     *\n     * Use {@link #run} to reenter the Angular zone and do work that updates the application model.\n     */\n    runOutsideAngular(fn) {\n        return this._outer.run(fn);\n    }\n}\nconst EMPTY_PAYLOAD = {};\nfunction checkStable(zone) {\n    // TODO: @JiaLiPassion, should check zone.isCheckStableRunning to prevent\n    // re-entry. The case is:\n    //\n    // @Component({...})\n    // export class AppComponent {\n    // constructor(private ngZone: NgZone) {\n    //   this.ngZone.onStable.subscribe(() => {\n    //     this.ngZone.run(() => console.log('stable'););\n    //   });\n    // }\n    //\n    // The onStable subscriber run another function inside ngZone\n    // which causes `checkStable()` re-entry.\n    // But this fix causes some issues in g3, so this fix will be\n    // launched in another PR.\n    if (zone._nesting == 0 && !zone.hasPendingMicrotasks && !zone.isStable) {\n        try {\n            zone._nesting++;\n            zone.onMicrotaskEmpty.emit(null);\n        }\n        finally {\n            zone._nesting--;\n            if (!zone.hasPendingMicrotasks) {\n                try {\n                    zone.runOutsideAngular(() => zone.onStable.emit(null));\n                }\n                finally {\n                    zone.isStable = true;\n                }\n            }\n        }\n    }\n}\nfunction delayChangeDetectionForEvents(zone) {\n    /**\n     * We also need to check _nesting here\n     * Consider the following case with shouldCoalesceRunChangeDetection = true\n     *\n     * ngZone.run(() => {});\n     * ngZone.run(() => {});\n     *\n     * We want the two `ngZone.run()` only trigger one change detection\n     * when shouldCoalesceRunChangeDetection is true.\n     * And because in this case, change detection run in async way(requestAnimationFrame),\n     * so we also need to check the _nesting here to prevent multiple\n     * change detections.\n     */\n    if (zone.isCheckStableRunning || zone.lastRequestAnimationFrameId !== -1) {\n        return;\n    }\n    zone.lastRequestAnimationFrameId = zone.nativeRequestAnimationFrame.call(_global, () => {\n        // This is a work around for https://github.com/angular/angular/issues/36839.\n        // The core issue is that when event coalescing is enabled it is possible for microtasks\n        // to get flushed too early (As is the case with `Promise.then`) between the\n        // coalescing eventTasks.\n        //\n        // To workaround this we schedule a \"fake\" eventTask before we process the\n        // coalescing eventTasks. The benefit of this is that the \"fake\" container eventTask\n        //  will prevent the microtasks queue from getting drained in between the coalescing\n        // eventTask execution.\n        if (!zone.fakeTopEventTask) {\n            zone.fakeTopEventTask = Zone.root.scheduleEventTask('fakeTopEventTask', () => {\n                zone.lastRequestAnimationFrameId = -1;\n                updateMicroTaskStatus(zone);\n                zone.isCheckStableRunning = true;\n                checkStable(zone);\n                zone.isCheckStableRunning = false;\n            }, undefined, () => { }, () => { });\n        }\n        zone.fakeTopEventTask.invoke();\n    });\n    updateMicroTaskStatus(zone);\n}\nfunction forkInnerZoneWithAngularBehavior(zone) {\n    const delayChangeDetectionForEventsDelegate = () => {\n        delayChangeDetectionForEvents(zone);\n    };\n    zone._inner = zone._inner.fork({\n        name: 'angular',\n        properties: { 'isAngularZone': true },\n        onInvokeTask: (delegate, current, target, task, applyThis, applyArgs) => {\n            try {\n                onEnter(zone);\n                return delegate.invokeTask(target, task, applyThis, applyArgs);\n            }\n            finally {\n                if ((zone.shouldCoalesceEventChangeDetection && task.type === 'eventTask') ||\n                    zone.shouldCoalesceRunChangeDetection) {\n                    delayChangeDetectionForEventsDelegate();\n                }\n                onLeave(zone);\n            }\n        },\n        onInvoke: (delegate, current, target, callback, applyThis, applyArgs, source) => {\n            try {\n                onEnter(zone);\n                return delegate.invoke(target, callback, applyThis, applyArgs, source);\n            }\n            finally {\n                if (zone.shouldCoalesceRunChangeDetection) {\n                    delayChangeDetectionForEventsDelegate();\n                }\n                onLeave(zone);\n            }\n        },\n        onHasTask: (delegate, current, target, hasTaskState) => {\n            delegate.hasTask(target, hasTaskState);\n            if (current === target) {\n                // We are only interested in hasTask events which originate from our zone\n                // (A child hasTask event is not interesting to us)\n                if (hasTaskState.change == 'microTask') {\n                    zone._hasPendingMicrotasks = hasTaskState.microTask;\n                    updateMicroTaskStatus(zone);\n                    checkStable(zone);\n                }\n                else if (hasTaskState.change == 'macroTask') {\n                    zone.hasPendingMacrotasks = hasTaskState.macroTask;\n                }\n            }\n        },\n        onHandleError: (delegate, current, target, error) => {\n            delegate.handleError(target, error);\n            zone.runOutsideAngular(() => zone.onError.emit(error));\n            return false;\n        }\n    });\n}\nfunction updateMicroTaskStatus(zone) {\n    if (zone._hasPendingMicrotasks ||\n        ((zone.shouldCoalesceEventChangeDetection || zone.shouldCoalesceRunChangeDetection) &&\n            zone.lastRequestAnimationFrameId !== -1)) {\n        zone.hasPendingMicrotasks = true;\n    }\n    else {\n        zone.hasPendingMicrotasks = false;\n    }\n}\nfunction onEnter(zone) {\n    zone._nesting++;\n    if (zone.isStable) {\n        zone.isStable = false;\n        zone.onUnstable.emit(null);\n    }\n}\nfunction onLeave(zone) {\n    zone._nesting--;\n    checkStable(zone);\n}\n/**\n * Provides a noop implementation of `NgZone` which does nothing. This zone requires explicit calls\n * to framework to perform rendering.\n */\nclass NoopNgZone {\n    constructor() {\n        this.hasPendingMicrotasks = false;\n        this.hasPendingMacrotasks = false;\n        this.isStable = true;\n        this.onUnstable = new EventEmitter();\n        this.onMicrotaskEmpty = new EventEmitter();\n        this.onStable = new EventEmitter();\n        this.onError = new EventEmitter();\n    }\n    run(fn, applyThis, applyArgs) {\n        return fn.apply(applyThis, applyArgs);\n    }\n    runGuarded(fn, applyThis, applyArgs) {\n        return fn.apply(applyThis, applyArgs);\n    }\n    runOutsideAngular(fn) {\n        return fn();\n    }\n    runTask(fn, applyThis, applyArgs, name) {\n        return fn.apply(applyThis, applyArgs);\n    }\n}\n\n/**\n * Internal injection token that can used to access an instance of a Testability class.\n *\n * This token acts as a bridge between the core bootstrap code and the `Testability` class. This is\n * needed to ensure that there are no direct references to the `Testability` class, so it can be\n * tree-shaken away (if not referenced). For the environments/setups when the `Testability` class\n * should be available, this token is used to add a provider that references the `Testability`\n * class. Otherwise, only this token is retained in a bundle, but the `Testability` class is not.\n */\nconst TESTABILITY = new InjectionToken('');\n/**\n * Internal injection token to retrieve Testability getter class instance.\n */\nconst TESTABILITY_GETTER = new InjectionToken('');\n/**\n * The Testability service provides testing hooks that can be accessed from\n * the browser.\n *\n * Angular applications bootstrapped using an NgModule (via `@NgModule.bootstrap` field) will also\n * instantiate Testability by default (in both development and production modes).\n *\n * For applications bootstrapped using the `bootstrapApplication` function, Testability is not\n * included by default. You can include it into your applications by getting the list of necessary\n * providers using the `provideProtractorTestingSupport()` function and adding them into the\n * `options.providers` array. Example:\n *\n * ```typescript\n * import {provideProtractorTestingSupport} from '@angular/platform-browser';\n *\n * await bootstrapApplication(RootComponent, providers: [provideProtractorTestingSupport()]);\n * ```\n *\n * @publicApi\n */\nclass Testability {\n    constructor(_ngZone, registry, testabilityGetter) {\n        this._ngZone = _ngZone;\n        this.registry = registry;\n        this._pendingCount = 0;\n        this._isZoneStable = true;\n        /**\n         * Whether any work was done since the last 'whenStable' callback. This is\n         * useful to detect if this could have potentially destabilized another\n         * component while it is stabilizing.\n         * @internal\n         */\n        this._didWork = false;\n        this._callbacks = [];\n        this.taskTrackingZone = null;\n        // If there was no Testability logic registered in the global scope\n        // before, register the current testability getter as a global one.\n        if (!_testabilityGetter) {\n            setTestabilityGetter(testabilityGetter);\n            testabilityGetter.addToWindow(registry);\n        }\n        this._watchAngularEvents();\n        _ngZone.run(() => {\n            this.taskTrackingZone =\n                typeof Zone == 'undefined' ? null : Zone.current.get('TaskTrackingZone');\n        });\n    }\n    _watchAngularEvents() {\n        this._ngZone.onUnstable.subscribe({\n            next: () => {\n                this._didWork = true;\n                this._isZoneStable = false;\n            }\n        });\n        this._ngZone.runOutsideAngular(() => {\n            this._ngZone.onStable.subscribe({\n                next: () => {\n                    NgZone.assertNotInAngularZone();\n                    scheduleMicroTask(() => {\n                        this._isZoneStable = true;\n                        this._runCallbacksIfReady();\n                    });\n                }\n            });\n        });\n    }\n    /**\n     * Increases the number of pending request\n     * @deprecated pending requests are now tracked with zones.\n     */\n    increasePendingRequestCount() {\n        this._pendingCount += 1;\n        this._didWork = true;\n        return this._pendingCount;\n    }\n    /**\n     * Decreases the number of pending request\n     * @deprecated pending requests are now tracked with zones\n     */\n    decreasePendingRequestCount() {\n        this._pendingCount -= 1;\n        if (this._pendingCount < 0) {\n            throw new Error('pending async requests below zero');\n        }\n        this._runCallbacksIfReady();\n        return this._pendingCount;\n    }\n    /**\n     * Whether an associated application is stable\n     */\n    isStable() {\n        return this._isZoneStable && this._pendingCount === 0 && !this._ngZone.hasPendingMacrotasks;\n    }\n    _runCallbacksIfReady() {\n        if (this.isStable()) {\n            // Schedules the call backs in a new frame so that it is always async.\n            scheduleMicroTask(() => {\n                while (this._callbacks.length !== 0) {\n                    let cb = this._callbacks.pop();\n                    clearTimeout(cb.timeoutId);\n                    cb.doneCb(this._didWork);\n                }\n                this._didWork = false;\n            });\n        }\n        else {\n            // Still not stable, send updates.\n            let pending = this.getPendingTasks();\n            this._callbacks = this._callbacks.filter((cb) => {\n                if (cb.updateCb && cb.updateCb(pending)) {\n                    clearTimeout(cb.timeoutId);\n                    return false;\n                }\n                return true;\n            });\n            this._didWork = true;\n        }\n    }\n    getPendingTasks() {\n        if (!this.taskTrackingZone) {\n            return [];\n        }\n        // Copy the tasks data so that we don't leak tasks.\n        return this.taskTrackingZone.macroTasks.map((t) => {\n            return {\n                source: t.source,\n                // From TaskTrackingZone:\n                // https://github.com/angular/zone.js/blob/master/lib/zone-spec/task-tracking.ts#L40\n                creationLocation: t.creationLocation,\n                data: t.data\n            };\n        });\n    }\n    addCallback(cb, timeout, updateCb) {\n        let timeoutId = -1;\n        if (timeout && timeout > 0) {\n            timeoutId = setTimeout(() => {\n                this._callbacks = this._callbacks.filter((cb) => cb.timeoutId !== timeoutId);\n                cb(this._didWork, this.getPendingTasks());\n            }, timeout);\n        }\n        this._callbacks.push({ doneCb: cb, timeoutId: timeoutId, updateCb: updateCb });\n    }\n    /**\n     * Wait for the application to be stable with a timeout. If the timeout is reached before that\n     * happens, the callback receives a list of the macro tasks that were pending, otherwise null.\n     *\n     * @param doneCb The callback to invoke when Angular is stable or the timeout expires\n     *    whichever comes first.\n     * @param timeout Optional. The maximum time to wait for Angular to become stable. If not\n     *    specified, whenStable() will wait forever.\n     * @param updateCb Optional. If specified, this callback will be invoked whenever the set of\n     *    pending macrotasks changes. If this callback returns true doneCb will not be invoked\n     *    and no further updates will be issued.\n     */\n    whenStable(doneCb, timeout, updateCb) {\n        if (updateCb && !this.taskTrackingZone) {\n            throw new Error('Task tracking zone is required when passing an update callback to ' +\n                'whenStable(). Is \"zone.js/plugins/task-tracking\" loaded?');\n        }\n        // These arguments are 'Function' above to keep the public API simple.\n        this.addCallback(doneCb, timeout, updateCb);\n        this._runCallbacksIfReady();\n    }\n    /**\n     * Get the number of pending requests\n     * @deprecated pending requests are now tracked with zones\n     */\n    getPendingRequestCount() {\n        return this._pendingCount;\n    }\n    /**\n     * Registers an application with a testability hook so that it can be tracked.\n     * @param token token of application, root element\n     *\n     * @internal\n     */\n    registerApplication(token) {\n        this.registry.registerApplication(token, this);\n    }\n    /**\n     * Unregisters an application.\n     * @param token token of application, root element\n     *\n     * @internal\n     */\n    unregisterApplication(token) {\n        this.registry.unregisterApplication(token);\n    }\n    /**\n     * Find providers by name\n     * @param using The root element to search from\n     * @param provider The name of binding variable\n     * @param exactMatch Whether using exactMatch\n     */\n    findProviders(using, provider, exactMatch) {\n        // TODO(juliemr): implement.\n        return [];\n    }\n}\nTestability.ɵfac = function Testability_Factory(t) { return new (t || Testability)(ɵɵinject(NgZone), ɵɵinject(TestabilityRegistry), ɵɵinject(TESTABILITY_GETTER)); };\nTestability.ɵprov = /*@__PURE__*/ ɵɵdefineInjectable({ token: Testability, factory: Testability.ɵfac });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && setClassMetadata(Testability, [{\n        type: Injectable\n    }], function () { return [{ type: NgZone }, { type: TestabilityRegistry }, { type: undefined, decorators: [{\n                type: Inject,\n                args: [TESTABILITY_GETTER]\n            }] }]; }, null); })();\n/**\n * A global registry of {@link Testability} instances for specific elements.\n * @publicApi\n */\nclass TestabilityRegistry {\n    constructor() {\n        /** @internal */\n        this._applications = new Map();\n    }\n    /**\n     * Registers an application with a testability hook so that it can be tracked\n     * @param token token of application, root element\n     * @param testability Testability hook\n     */\n    registerApplication(token, testability) {\n        this._applications.set(token, testability);\n    }\n    /**\n     * Unregisters an application.\n     * @param token token of application, root element\n     */\n    unregisterApplication(token) {\n        this._applications.delete(token);\n    }\n    /**\n     * Unregisters all applications\n     */\n    unregisterAllApplications() {\n        this._applications.clear();\n    }\n    /**\n     * Get a testability hook associated with the application\n     * @param elem root element\n     */\n    getTestability(elem) {\n        return this._applications.get(elem) || null;\n    }\n    /**\n     * Get all registered testabilities\n     */\n    getAllTestabilities() {\n        return Array.from(this._applications.values());\n    }\n    /**\n     * Get all registered applications(root elements)\n     */\n    getAllRootElements() {\n        return Array.from(this._applications.keys());\n    }\n    /**\n     * Find testability of a node in the Tree\n     * @param elem node\n     * @param findInAncestors whether finding testability in ancestors if testability was not found in\n     * current node\n     */\n    findTestabilityInTree(elem, findInAncestors = true) {\n        return _testabilityGetter?.findTestabilityInTree(this, elem, findInAncestors) ?? null;\n    }\n}\nTestabilityRegistry.ɵfac = function TestabilityRegistry_Factory(t) { return new (t || TestabilityRegistry)(); };\nTestabilityRegistry.ɵprov = /*@__PURE__*/ ɵɵdefineInjectable({ token: TestabilityRegistry, factory: TestabilityRegistry.ɵfac, providedIn: 'platform' });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && setClassMetadata(TestabilityRegistry, [{\n        type: Injectable,\n        args: [{ providedIn: 'platform' }]\n    }], null, null); })();\n/**\n * Set the {@link GetTestability} implementation used by the Angular testing framework.\n * @publicApi\n */\nfunction setTestabilityGetter(getter) {\n    _testabilityGetter = getter;\n}\nlet _testabilityGetter;\n\nconst NG_DEV_MODE = typeof ngDevMode === 'undefined' || ngDevMode;\nlet _platformInjector = null;\n/**\n * Internal token to indicate whether having multiple bootstrapped platform should be allowed (only\n * one bootstrapped platform is allowed by default). This token helps to support SSR scenarios.\n */\nconst ALLOW_MULTIPLE_PLATFORMS = new InjectionToken('AllowMultipleToken');\n/**\n * Internal token that allows to register extra callbacks that should be invoked during the\n * `PlatformRef.destroy` operation. This token is needed to avoid a direct reference to the\n * `PlatformRef` class (i.e. register the callback via `PlatformRef.onDestroy`), thus making the\n * entire class tree-shakeable.\n */\nconst PLATFORM_DESTROY_LISTENERS = new InjectionToken('PlatformDestroyListeners');\n/**\n * A [DI token](guide/glossary#di-token \"DI token definition\") that provides a set of callbacks to\n * be called for every component that is bootstrapped.\n *\n * Each callback must take a `ComponentRef` instance and return nothing.\n *\n * `(componentRef: ComponentRef) => void`\n *\n * @publicApi\n */\nconst APP_BOOTSTRAP_LISTENER = new InjectionToken('appBootstrapListener');\nfunction compileNgModuleFactory(injector, options, moduleType) {\n    ngDevMode && assertNgModuleType(moduleType);\n    const moduleFactory = new NgModuleFactory(moduleType);\n    // All of the logic below is irrelevant for AOT-compiled code.\n    if (typeof ngJitMode !== 'undefined' && !ngJitMode) {\n        return Promise.resolve(moduleFactory);\n    }\n    const compilerOptions = injector.get(COMPILER_OPTIONS, []).concat(options);\n    // Configure the compiler to use the provided options. This call may fail when multiple modules\n    // are bootstrapped with incompatible options, as a component can only be compiled according to\n    // a single set of options.\n    setJitOptions({\n        defaultEncapsulation: _lastDefined(compilerOptions.map(opts => opts.defaultEncapsulation)),\n        preserveWhitespaces: _lastDefined(compilerOptions.map(opts => opts.preserveWhitespaces)),\n    });\n    if (isComponentResourceResolutionQueueEmpty()) {\n        return Promise.resolve(moduleFactory);\n    }\n    const compilerProviders = _mergeArrays(compilerOptions.map(o => o.providers));\n    // In case there are no compiler providers, we just return the module factory as\n    // there won't be any resource loader. This can happen with Ivy, because AOT compiled\n    // modules can be still passed through \"bootstrapModule\". In that case we shouldn't\n    // unnecessarily require the JIT compiler.\n    if (compilerProviders.length === 0) {\n        return Promise.resolve(moduleFactory);\n    }\n    const compiler = getCompilerFacade({\n        usage: 0 /* JitCompilerUsage.Decorator */,\n        kind: 'NgModule',\n        type: moduleType,\n    });\n    const compilerInjector = Injector.create({ providers: compilerProviders });\n    const resourceLoader = compilerInjector.get(compiler.ResourceLoader);\n    // The resource loader can also return a string while the \"resolveComponentResources\"\n    // always expects a promise. Therefore we need to wrap the returned value in a promise.\n    return resolveComponentResources(url => Promise.resolve(resourceLoader.get(url)))\n        .then(() => moduleFactory);\n}\nfunction publishDefaultGlobalUtils() {\n    ngDevMode && publishDefaultGlobalUtils$1();\n}\nfunction isBoundToModule(cf) {\n    return cf.isBoundToModule;\n}\n/**\n * A token for third-party components that can register themselves with NgProbe.\n *\n * @publicApi\n */\nclass NgProbeToken {\n    constructor(name, token) {\n        this.name = name;\n        this.token = token;\n    }\n}\n/**\n * Creates a platform.\n * Platforms must be created on launch using this function.\n *\n * @publicApi\n */\nfunction createPlatform(injector) {\n    if (_platformInjector && !_platformInjector.get(ALLOW_MULTIPLE_PLATFORMS, false)) {\n        throw new RuntimeError(400 /* RuntimeErrorCode.MULTIPLE_PLATFORMS */, ngDevMode &&\n            'There can be only one platform. Destroy the previous one to create a new one.');\n    }\n    publishDefaultGlobalUtils();\n    _platformInjector = injector;\n    const platform = injector.get(PlatformRef);\n    runPlatformInitializers(injector);\n    return platform;\n}\n/**\n * The goal of this function is to bootstrap a platform injector,\n * but avoid referencing `PlatformRef` class.\n * This function is needed for bootstrapping a Standalone Component.\n */\nfunction createOrReusePlatformInjector(providers = []) {\n    // If a platform injector already exists, it means that the platform\n    // is already bootstrapped and no additional actions are required.\n    if (_platformInjector)\n        return _platformInjector;\n    // Otherwise, setup a new platform injector and run platform initializers.\n    const injector = createPlatformInjector(providers);\n    _platformInjector = injector;\n    publishDefaultGlobalUtils();\n    runPlatformInitializers(injector);\n    return injector;\n}\nfunction runPlatformInitializers(injector) {\n    const inits = injector.get(PLATFORM_INITIALIZER, null);\n    if (inits) {\n        inits.forEach((init) => init());\n    }\n}\n/**\n * Internal create application API that implements the core application creation logic and optional\n * bootstrap logic.\n *\n * Platforms (such as `platform-browser`) may require different set of application and platform\n * providers for an application to function correctly. As a result, platforms may use this function\n * internally and supply the necessary providers during the bootstrap, while exposing\n * platform-specific APIs as a part of their public API.\n *\n * @returns A promise that returns an `ApplicationRef` instance once resolved.\n */\nfunction internalCreateApplication(config) {\n    const { rootComponent, appProviders, platformProviders } = config;\n    if (NG_DEV_MODE && rootComponent !== undefined) {\n        assertStandaloneComponentType(rootComponent);\n    }\n    const platformInjector = createOrReusePlatformInjector(platformProviders);\n    const ngZone = getNgZone('zone.js', getNgZoneOptions());\n    return ngZone.run(() => {\n        // Create root application injector based on a set of providers configured at the platform\n        // bootstrap level as well as providers passed to the bootstrap call by a user.\n        const allAppProviders = [\n            { provide: NgZone, useValue: ngZone },\n            ...(appProviders || []), //\n        ];\n        const envInjector = createEnvironmentInjector(allAppProviders, platformInjector, 'Environment Injector');\n        const exceptionHandler = envInjector.get(ErrorHandler, null);\n        if (NG_DEV_MODE && !exceptionHandler) {\n            throw new RuntimeError(402 /* RuntimeErrorCode.ERROR_HANDLER_NOT_FOUND */, 'No `ErrorHandler` found in the Dependency Injection tree.');\n        }\n        let onErrorSubscription;\n        ngZone.runOutsideAngular(() => {\n            onErrorSubscription = ngZone.onError.subscribe({\n                next: (error) => {\n                    exceptionHandler.handleError(error);\n                }\n            });\n        });\n        // If the whole platform is destroyed, invoke the `destroy` method\n        // for all bootstrapped applications as well.\n        const destroyListener = () => envInjector.destroy();\n        const onPlatformDestroyListeners = platformInjector.get(PLATFORM_DESTROY_LISTENERS);\n        onPlatformDestroyListeners.add(destroyListener);\n        envInjector.onDestroy(() => {\n            onErrorSubscription.unsubscribe();\n            onPlatformDestroyListeners.delete(destroyListener);\n        });\n        return _callAndReportToErrorHandler(exceptionHandler, ngZone, () => {\n            const initStatus = envInjector.get(ApplicationInitStatus);\n            initStatus.runInitializers();\n            return initStatus.donePromise.then(() => {\n                const localeId = envInjector.get(LOCALE_ID, DEFAULT_LOCALE_ID);\n                setLocaleId(localeId || DEFAULT_LOCALE_ID);\n                const appRef = envInjector.get(ApplicationRef);\n                if (rootComponent !== undefined) {\n                    appRef.bootstrap(rootComponent);\n                }\n                return appRef;\n            });\n        });\n    });\n}\n/**\n * Creates a factory for a platform. Can be used to provide or override `Providers` specific to\n * your application's runtime needs, such as `PLATFORM_INITIALIZER` and `PLATFORM_ID`.\n * @param parentPlatformFactory Another platform factory to modify. Allows you to compose factories\n * to build up configurations that might be required by different libraries or parts of the\n * application.\n * @param name Identifies the new platform factory.\n * @param providers A set of dependency providers for platforms created with the new factory.\n *\n * @publicApi\n */\nfunction createPlatformFactory(parentPlatformFactory, name, providers = []) {\n    const desc = `Platform: ${name}`;\n    const marker = new InjectionToken(desc);\n    return (extraProviders = []) => {\n        let platform = getPlatform();\n        if (!platform || platform.injector.get(ALLOW_MULTIPLE_PLATFORMS, false)) {\n            const platformProviders = [\n                ...providers,\n                ...extraProviders,\n                { provide: marker, useValue: true }\n            ];\n            if (parentPlatformFactory) {\n                parentPlatformFactory(platformProviders);\n            }\n            else {\n                createPlatform(createPlatformInjector(platformProviders, desc));\n            }\n        }\n        return assertPlatform(marker);\n    };\n}\n/**\n * Checks that there is currently a platform that contains the given token as a provider.\n *\n * @publicApi\n */\nfunction assertPlatform(requiredToken) {\n    const platform = getPlatform();\n    if (!platform) {\n        throw new RuntimeError(401 /* RuntimeErrorCode.PLATFORM_NOT_FOUND */, ngDevMode && 'No platform exists!');\n    }\n    if ((typeof ngDevMode === 'undefined' || ngDevMode) &&\n        !platform.injector.get(requiredToken, null)) {\n        throw new RuntimeError(400 /* RuntimeErrorCode.MULTIPLE_PLATFORMS */, 'A platform with a different configuration has been created. Please destroy it first.');\n    }\n    return platform;\n}\n/**\n * Helper function to create an instance of a platform injector (that maintains the 'platform'\n * scope).\n */\nfunction createPlatformInjector(providers = [], name) {\n    return Injector.create({\n        name,\n        providers: [\n            { provide: INJECTOR_SCOPE, useValue: 'platform' },\n            { provide: PLATFORM_DESTROY_LISTENERS, useValue: new Set([() => _platformInjector = null]) },\n            ...providers\n        ],\n    });\n}\n/**\n * Destroys the current Angular platform and all Angular applications on the page.\n * Destroys all modules and listeners registered with the platform.\n *\n * @publicApi\n */\nfunction destroyPlatform() {\n    getPlatform()?.destroy();\n}\n/**\n * Returns the current platform.\n *\n * @publicApi\n */\nfunction getPlatform() {\n    return _platformInjector?.get(PlatformRef) ?? null;\n}\n/**\n * The Angular platform is the entry point for Angular on a web page.\n * Each page has exactly one platform. Services (such as reflection) which are common\n * to every Angular application running on the page are bound in its scope.\n * A page's platform is initialized implicitly when a platform is created using a platform\n * factory such as `PlatformBrowser`, or explicitly by calling the `createPlatform()` function.\n *\n * @publicApi\n */\nclass PlatformRef {\n    /** @internal */\n    constructor(_injector) {\n        this._injector = _injector;\n        this._modules = [];\n        this._destroyListeners = [];\n        this._destroyed = false;\n    }\n    /**\n     * Creates an instance of an `@NgModule` for the given platform.\n     *\n     * @deprecated Passing NgModule factories as the `PlatformRef.bootstrapModuleFactory` function\n     *     argument is deprecated. Use the `PlatformRef.bootstrapModule` API instead.\n     */\n    bootstrapModuleFactory(moduleFactory, options) {\n        // Note: We need to create the NgZone _before_ we instantiate the module,\n        // as instantiating the module creates some providers eagerly.\n        // So we create a mini parent injector that just contains the new NgZone and\n        // pass that as parent to the NgModuleFactory.\n        const ngZone = getNgZone(options?.ngZone, getNgZoneOptions(options));\n        const providers = [{ provide: NgZone, useValue: ngZone }];\n        // Note: Create ngZoneInjector within ngZone.run so that all of the instantiated services are\n        // created within the Angular zone\n        // Do not try to replace ngZone.run with ApplicationRef#run because ApplicationRef would then be\n        // created outside of the Angular zone.\n        return ngZone.run(() => {\n            const ngZoneInjector = Injector.create({ providers: providers, parent: this.injector, name: moduleFactory.moduleType.name });\n            const moduleRef = moduleFactory.create(ngZoneInjector);\n            const exceptionHandler = moduleRef.injector.get(ErrorHandler, null);\n            if (!exceptionHandler) {\n                throw new RuntimeError(402 /* RuntimeErrorCode.ERROR_HANDLER_NOT_FOUND */, ngDevMode && 'No ErrorHandler. Is platform module (BrowserModule) included?');\n            }\n            ngZone.runOutsideAngular(() => {\n                const subscription = ngZone.onError.subscribe({\n                    next: (error) => {\n                        exceptionHandler.handleError(error);\n                    }\n                });\n                moduleRef.onDestroy(() => {\n                    remove(this._modules, moduleRef);\n                    subscription.unsubscribe();\n                });\n            });\n            return _callAndReportToErrorHandler(exceptionHandler, ngZone, () => {\n                const initStatus = moduleRef.injector.get(ApplicationInitStatus);\n                initStatus.runInitializers();\n                return initStatus.donePromise.then(() => {\n                    // If the `LOCALE_ID` provider is defined at bootstrap then we set the value for ivy\n                    const localeId = moduleRef.injector.get(LOCALE_ID, DEFAULT_LOCALE_ID);\n                    setLocaleId(localeId || DEFAULT_LOCALE_ID);\n                    this._moduleDoBootstrap(moduleRef);\n                    return moduleRef;\n                });\n            });\n        });\n    }\n    /**\n     * Creates an instance of an `@NgModule` for a given platform.\n     *\n     * @usageNotes\n     * ### Simple Example\n     *\n     * ```typescript\n     * @NgModule({\n     *   imports: [BrowserModule]\n     * })\n     * class MyModule {}\n     *\n     * let moduleRef = platformBrowser().bootstrapModule(MyModule);\n     * ```\n     *\n     */\n    bootstrapModule(moduleType, compilerOptions = []) {\n        const options = optionsReducer({}, compilerOptions);\n        return compileNgModuleFactory(this.injector, options, moduleType)\n            .then(moduleFactory => this.bootstrapModuleFactory(moduleFactory, options));\n    }\n    _moduleDoBootstrap(moduleRef) {\n        const appRef = moduleRef.injector.get(ApplicationRef);\n        if (moduleRef._bootstrapComponents.length > 0) {\n            moduleRef._bootstrapComponents.forEach(f => appRef.bootstrap(f));\n        }\n        else if (moduleRef.instance.ngDoBootstrap) {\n            moduleRef.instance.ngDoBootstrap(appRef);\n        }\n        else {\n            throw new RuntimeError(-403 /* RuntimeErrorCode.BOOTSTRAP_COMPONENTS_NOT_FOUND */, ngDevMode &&\n                `The module ${stringify(moduleRef.instance.constructor)} was bootstrapped, ` +\n                    `but it does not declare \"@NgModule.bootstrap\" components nor a \"ngDoBootstrap\" method. ` +\n                    `Please define one of these.`);\n        }\n        this._modules.push(moduleRef);\n    }\n    /**\n     * Registers a listener to be called when the platform is destroyed.\n     */\n    onDestroy(callback) {\n        this._destroyListeners.push(callback);\n    }\n    /**\n     * Retrieves the platform {@link Injector}, which is the parent injector for\n     * every Angular application on the page and provides singleton providers.\n     */\n    get injector() {\n        return this._injector;\n    }\n    /**\n     * Destroys the current Angular platform and all Angular applications on the page.\n     * Destroys all modules and listeners registered with the platform.\n     */\n    destroy() {\n        if (this._destroyed) {\n            throw new RuntimeError(404 /* RuntimeErrorCode.PLATFORM_ALREADY_DESTROYED */, ngDevMode && 'The platform has already been destroyed!');\n        }\n        this._modules.slice().forEach(module => module.destroy());\n        this._destroyListeners.forEach(listener => listener());\n        const destroyListeners = this._injector.get(PLATFORM_DESTROY_LISTENERS, null);\n        if (destroyListeners) {\n            destroyListeners.forEach(listener => listener());\n            destroyListeners.clear();\n        }\n        this._destroyed = true;\n    }\n    /**\n     * Indicates whether this instance was destroyed.\n     */\n    get destroyed() {\n        return this._destroyed;\n    }\n}\nPlatformRef.ɵfac = function PlatformRef_Factory(t) { return new (t || PlatformRef)(ɵɵinject(Injector)); };\nPlatformRef.ɵprov = /*@__PURE__*/ ɵɵdefineInjectable({ token: PlatformRef, factory: PlatformRef.ɵfac, providedIn: 'platform' });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && setClassMetadata(PlatformRef, [{\n        type: Injectable,\n        args: [{ providedIn: 'platform' }]\n    }], function () { return [{ type: Injector }]; }, null); })();\n// Transforms a set of `BootstrapOptions` (supported by the NgModule-based bootstrap APIs) ->\n// `NgZoneOptions` that are recognized by the NgZone constructor. Passing no options will result in\n// a set of default options returned.\nfunction getNgZoneOptions(options) {\n    return {\n        enableLongStackTrace: typeof ngDevMode === 'undefined' ? false : !!ngDevMode,\n        shouldCoalesceEventChangeDetection: !!(options && options.ngZoneEventCoalescing) || false,\n        shouldCoalesceRunChangeDetection: !!(options && options.ngZoneRunCoalescing) || false,\n    };\n}\nfunction getNgZone(ngZoneToUse, options) {\n    let ngZone;\n    if (ngZoneToUse === 'noop') {\n        ngZone = new NoopNgZone();\n    }\n    else {\n        ngZone = (ngZoneToUse === 'zone.js' ? undefined : ngZoneToUse) || new NgZone(options);\n    }\n    return ngZone;\n}\nfunction _callAndReportToErrorHandler(errorHandler, ngZone, callback) {\n    try {\n        const result = callback();\n        if (isPromise(result)) {\n            return result.catch((e) => {\n                ngZone.runOutsideAngular(() => errorHandler.handleError(e));\n                // rethrow as the exception handler might not do it\n                throw e;\n            });\n        }\n        return result;\n    }\n    catch (e) {\n        ngZone.runOutsideAngular(() => errorHandler.handleError(e));\n        // rethrow as the exception handler might not do it\n        throw e;\n    }\n}\nfunction optionsReducer(dst, objs) {\n    if (Array.isArray(objs)) {\n        dst = objs.reduce(optionsReducer, dst);\n    }\n    else {\n        dst = { ...dst, ...objs };\n    }\n    return dst;\n}\n/**\n * A reference to an Angular application running on a page.\n *\n * @usageNotes\n *\n * {@a is-stable-examples}\n * ### isStable examples and caveats\n *\n * Note two important points about `isStable`, demonstrated in the examples below:\n * - the application will never be stable if you start any kind\n * of recurrent asynchronous task when the application starts\n * (for example for a polling process, started with a `setInterval`, a `setTimeout`\n * or using RxJS operators like `interval`);\n * - the `isStable` Observable runs outside of the Angular zone.\n *\n * Let's imagine that you start a recurrent task\n * (here incrementing a counter, using RxJS `interval`),\n * and at the same time subscribe to `isStable`.\n *\n * ```\n * constructor(appRef: ApplicationRef) {\n *   appRef.isStable.pipe(\n *      filter(stable => stable)\n *   ).subscribe(() => console.log('App is stable now');\n *   interval(1000).subscribe(counter => console.log(counter));\n * }\n * ```\n * In this example, `isStable` will never emit `true`,\n * and the trace \"App is stable now\" will never get logged.\n *\n * If you want to execute something when the app is stable,\n * you have to wait for the application to be stable\n * before starting your polling process.\n *\n * ```\n * constructor(appRef: ApplicationRef) {\n *   appRef.isStable.pipe(\n *     first(stable => stable),\n *     tap(stable => console.log('App is stable now')),\n *     switchMap(() => interval(1000))\n *   ).subscribe(counter => console.log(counter));\n * }\n * ```\n * In this example, the trace \"App is stable now\" will be logged\n * and then the counter starts incrementing every second.\n *\n * Note also that this Observable runs outside of the Angular zone,\n * which means that the code in the subscription\n * to this Observable will not trigger the change detection.\n *\n * Let's imagine that instead of logging the counter value,\n * you update a field of your component\n * and display it in its template.\n *\n * ```\n * constructor(appRef: ApplicationRef) {\n *   appRef.isStable.pipe(\n *     first(stable => stable),\n *     switchMap(() => interval(1000))\n *   ).subscribe(counter => this.value = counter);\n * }\n * ```\n * As the `isStable` Observable runs outside the zone,\n * the `value` field will be updated properly,\n * but the template will not be refreshed!\n *\n * You'll have to manually trigger the change detection to update the template.\n *\n * ```\n * constructor(appRef: ApplicationRef, cd: ChangeDetectorRef) {\n *   appRef.isStable.pipe(\n *     first(stable => stable),\n *     switchMap(() => interval(1000))\n *   ).subscribe(counter => {\n *     this.value = counter;\n *     cd.detectChanges();\n *   });\n * }\n * ```\n *\n * Or make the subscription callback run inside the zone.\n *\n * ```\n * constructor(appRef: ApplicationRef, zone: NgZone) {\n *   appRef.isStable.pipe(\n *     first(stable => stable),\n *     switchMap(() => interval(1000))\n *   ).subscribe(counter => zone.run(() => this.value = counter));\n * }\n * ```\n *\n * @publicApi\n */\nclass ApplicationRef {\n    /**\n     * Indicates whether this instance was destroyed.\n     */\n    get destroyed() {\n        return this._destroyed;\n    }\n    /**\n     * The `EnvironmentInjector` used to create this application.\n     */\n    get injector() {\n        return this._injector;\n    }\n    /** @internal */\n    constructor(_zone, _injector, _exceptionHandler) {\n        this._zone = _zone;\n        this._injector = _injector;\n        this._exceptionHandler = _exceptionHandler;\n        /** @internal */\n        this._bootstrapListeners = [];\n        this._views = [];\n        this._runningTick = false;\n        this._stable = true;\n        this._destroyed = false;\n        this._destroyListeners = [];\n        /**\n         * Get a list of component types registered to this application.\n         * This list is populated even before the component is created.\n         */\n        this.componentTypes = [];\n        /**\n         * Get a list of components registered to this application.\n         */\n        this.components = [];\n        this._onMicrotaskEmptySubscription = this._zone.onMicrotaskEmpty.subscribe({\n            next: () => {\n                this._zone.run(() => {\n                    this.tick();\n                });\n            }\n        });\n        const isCurrentlyStable = new Observable((observer) => {\n            this._stable = this._zone.isStable && !this._zone.hasPendingMacrotasks &&\n                !this._zone.hasPendingMicrotasks;\n            this._zone.runOutsideAngular(() => {\n                observer.next(this._stable);\n                observer.complete();\n            });\n        });\n        const isStable = new Observable((observer) => {\n            // Create the subscription to onStable outside the Angular Zone so that\n            // the callback is run outside the Angular Zone.\n            let stableSub;\n            this._zone.runOutsideAngular(() => {\n                stableSub = this._zone.onStable.subscribe(() => {\n                    NgZone.assertNotInAngularZone();\n                    // Check whether there are no pending macro/micro tasks in the next tick\n                    // to allow for NgZone to update the state.\n                    scheduleMicroTask(() => {\n                        if (!this._stable && !this._zone.hasPendingMacrotasks &&\n                            !this._zone.hasPendingMicrotasks) {\n                            this._stable = true;\n                            observer.next(true);\n                        }\n                    });\n                });\n            });\n            const unstableSub = this._zone.onUnstable.subscribe(() => {\n                NgZone.assertInAngularZone();\n                if (this._stable) {\n                    this._stable = false;\n                    this._zone.runOutsideAngular(() => {\n                        observer.next(false);\n                    });\n                }\n            });\n            return () => {\n                stableSub.unsubscribe();\n                unstableSub.unsubscribe();\n            };\n        });\n        this.isStable =\n            merge$1(isCurrentlyStable, isStable.pipe(share()));\n    }\n    /**\n     * Bootstrap a component onto the element identified by its selector or, optionally, to a\n     * specified element.\n     *\n     * @usageNotes\n     * ### Bootstrap process\n     *\n     * When bootstrapping a component, Angular mounts it onto a target DOM element\n     * and kicks off automatic change detection. The target DOM element can be\n     * provided using the `rootSelectorOrNode` argument.\n     *\n     * If the target DOM element is not provided, Angular tries to find one on a page\n     * using the `selector` of the component that is being bootstrapped\n     * (first matched element is used).\n     *\n     * ### Example\n     *\n     * Generally, we define the component to bootstrap in the `bootstrap` array of `NgModule`,\n     * but it requires us to know the component while writing the application code.\n     *\n     * Imagine a situation where we have to wait for an API call to decide about the component to\n     * bootstrap. We can use the `ngDoBootstrap` hook of the `NgModule` and call this method to\n     * dynamically bootstrap a component.\n     *\n     * {@example core/ts/platform/platform.ts region='componentSelector'}\n     *\n     * Optionally, a component can be mounted onto a DOM element that does not match the\n     * selector of the bootstrapped component.\n     *\n     * In the following example, we are providing a CSS selector to match the target element.\n     *\n     * {@example core/ts/platform/platform.ts region='cssSelector'}\n     *\n     * While in this example, we are providing reference to a DOM node.\n     *\n     * {@example core/ts/platform/platform.ts region='domNode'}\n     */\n    bootstrap(componentOrFactory, rootSelectorOrNode) {\n        NG_DEV_MODE && this.warnIfDestroyed();\n        const isComponentFactory = componentOrFactory instanceof ComponentFactory$1;\n        const initStatus = this._injector.get(ApplicationInitStatus);\n        if (!initStatus.done) {\n            const standalone = !isComponentFactory && isStandalone(componentOrFactory);\n            const errorMessage = 'Cannot bootstrap as there are still asynchronous initializers running.' +\n                (standalone ? '' :\n                    ' Bootstrap components in the `ngDoBootstrap` method of the root module.');\n            throw new RuntimeError(405 /* RuntimeErrorCode.ASYNC_INITIALIZERS_STILL_RUNNING */, NG_DEV_MODE && errorMessage);\n        }\n        let componentFactory;\n        if (isComponentFactory) {\n            componentFactory = componentOrFactory;\n        }\n        else {\n            const resolver = this._injector.get(ComponentFactoryResolver$1);\n            componentFactory = resolver.resolveComponentFactory(componentOrFactory);\n        }\n        this.componentTypes.push(componentFactory.componentType);\n        // Create a factory associated with the current module if it's not bound to some other\n        const ngModule = isBoundToModule(componentFactory) ? undefined : this._injector.get(NgModuleRef$1);\n        const selectorOrNode = rootSelectorOrNode || componentFactory.selector;\n        const compRef = componentFactory.create(Injector.NULL, [], selectorOrNode, ngModule);\n        const nativeElement = compRef.location.nativeElement;\n        const testability = compRef.injector.get(TESTABILITY, null);\n        testability?.registerApplication(nativeElement);\n        compRef.onDestroy(() => {\n            this.detachView(compRef.hostView);\n            remove(this.components, compRef);\n            testability?.unregisterApplication(nativeElement);\n        });\n        this._loadComponent(compRef);\n        if (typeof ngDevMode === 'undefined' || ngDevMode) {\n            const _console = this._injector.get(Console);\n            _console.log(`Angular is running in development mode. Call enableProdMode() to enable production mode.`);\n        }\n        return compRef;\n    }\n    /**\n     * Invoke this method to explicitly process change detection and its side-effects.\n     *\n     * In development mode, `tick()` also performs a second change detection cycle to ensure that no\n     * further changes are detected. If additional changes are picked up during this second cycle,\n     * bindings in the app have side-effects that cannot be resolved in a single change detection\n     * pass.\n     * In this case, Angular throws an error, since an Angular application can only have one change\n     * detection pass during which all change detection must complete.\n     */\n    tick() {\n        NG_DEV_MODE && this.warnIfDestroyed();\n        if (this._runningTick) {\n            throw new RuntimeError(101 /* RuntimeErrorCode.RECURSIVE_APPLICATION_REF_TICK */, ngDevMode && 'ApplicationRef.tick is called recursively');\n        }\n        try {\n            this._runningTick = true;\n            for (let view of this._views) {\n                view.detectChanges();\n            }\n            if (typeof ngDevMode === 'undefined' || ngDevMode) {\n                for (let view of this._views) {\n                    view.checkNoChanges();\n                }\n            }\n        }\n        catch (e) {\n            // Attention: Don't rethrow as it could cancel subscriptions to Observables!\n            this._zone.runOutsideAngular(() => this._exceptionHandler.handleError(e));\n        }\n        finally {\n            this._runningTick = false;\n        }\n    }\n    /**\n     * Attaches a view so that it will be dirty checked.\n     * The view will be automatically detached when it is destroyed.\n     * This will throw if the view is already attached to a ViewContainer.\n     */\n    attachView(viewRef) {\n        NG_DEV_MODE && this.warnIfDestroyed();\n        const view = viewRef;\n        this._views.push(view);\n        view.attachToAppRef(this);\n    }\n    /**\n     * Detaches a view from dirty checking again.\n     */\n    detachView(viewRef) {\n        NG_DEV_MODE && this.warnIfDestroyed();\n        const view = viewRef;\n        remove(this._views, view);\n        view.detachFromAppRef();\n    }\n    _loadComponent(componentRef) {\n        this.attachView(componentRef.hostView);\n        this.tick();\n        this.components.push(componentRef);\n        // Get the listeners lazily to prevent DI cycles.\n        const listeners = this._injector.get(APP_BOOTSTRAP_LISTENER, []);\n        if (ngDevMode && !Array.isArray(listeners)) {\n            throw new RuntimeError(-209 /* RuntimeErrorCode.INVALID_MULTI_PROVIDER */, 'Unexpected type of the `APP_BOOTSTRAP_LISTENER` token value ' +\n                `(expected an array, but got ${typeof listeners}). ` +\n                'Please check that the `APP_BOOTSTRAP_LISTENER` token is configured as a ' +\n                '`multi: true` provider.');\n        }\n        listeners.push(...this._bootstrapListeners);\n        listeners.forEach((listener) => listener(componentRef));\n    }\n    /** @internal */\n    ngOnDestroy() {\n        if (this._destroyed)\n            return;\n        try {\n            // Call all the lifecycle hooks.\n            this._destroyListeners.forEach(listener => listener());\n            // Destroy all registered views.\n            this._views.slice().forEach((view) => view.destroy());\n            this._onMicrotaskEmptySubscription.unsubscribe();\n        }\n        finally {\n            // Indicate that this instance is destroyed.\n            this._destroyed = true;\n            // Release all references.\n            this._views = [];\n            this._bootstrapListeners = [];\n            this._destroyListeners = [];\n        }\n    }\n    /**\n     * Registers a listener to be called when an instance is destroyed.\n     *\n     * @param callback A callback function to add as a listener.\n     * @returns A function which unregisters a listener.\n     *\n     * @internal\n     */\n    onDestroy(callback) {\n        NG_DEV_MODE && this.warnIfDestroyed();\n        this._destroyListeners.push(callback);\n        return () => remove(this._destroyListeners, callback);\n    }\n    /**\n     * Destroys an Angular application represented by this `ApplicationRef`. Calling this function\n     * will destroy the associated environment injectors as well as all the bootstrapped components\n     * with their views.\n     */\n    destroy() {\n        if (this._destroyed) {\n            throw new RuntimeError(406 /* RuntimeErrorCode.APPLICATION_REF_ALREADY_DESTROYED */, ngDevMode && 'This instance of the `ApplicationRef` has already been destroyed.');\n        }\n        const injector = this._injector;\n        // Check that this injector instance supports destroy operation.\n        if (injector.destroy && !injector.destroyed) {\n            // Destroying an underlying injector will trigger the `ngOnDestroy` lifecycle\n            // hook, which invokes the remaining cleanup actions.\n            injector.destroy();\n        }\n    }\n    /**\n     * Returns the number of attached views.\n     */\n    get viewCount() {\n        return this._views.length;\n    }\n    warnIfDestroyed() {\n        if (NG_DEV_MODE && this._destroyed) {\n            console.warn(formatRuntimeError(406 /* RuntimeErrorCode.APPLICATION_REF_ALREADY_DESTROYED */, 'This instance of the `ApplicationRef` has already been destroyed.'));\n        }\n    }\n}\nApplicationRef.ɵfac = function ApplicationRef_Factory(t) { return new (t || ApplicationRef)(ɵɵinject(NgZone), ɵɵinject(EnvironmentInjector), ɵɵinject(ErrorHandler)); };\nApplicationRef.ɵprov = /*@__PURE__*/ ɵɵdefineInjectable({ token: ApplicationRef, factory: ApplicationRef.ɵfac, providedIn: 'root' });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && setClassMetadata(ApplicationRef, [{\n        type: Injectable,\n        args: [{ providedIn: 'root' }]\n    }], function () { return [{ type: NgZone }, { type: EnvironmentInjector }, { type: ErrorHandler }]; }, null); })();\nfunction remove(list, el) {\n    const index = list.indexOf(el);\n    if (index > -1) {\n        list.splice(index, 1);\n    }\n}\nfunction _lastDefined(args) {\n    for (let i = args.length - 1; i >= 0; i--) {\n        if (args[i] !== undefined) {\n            return args[i];\n        }\n    }\n    return undefined;\n}\nfunction _mergeArrays(parts) {\n    const result = [];\n    parts.forEach((part) => part && result.push(...part));\n    return result;\n}\n\n/**\n * Returns whether Angular is in development mode.\n *\n * By default, this is true, unless `enableProdMode` is invoked prior to calling this method or the\n * application is built using the Angular CLI with the `optimization` option.\n * @see {@link cli/build ng build}\n *\n * @publicApi\n */\nfunction isDevMode() {\n    return typeof ngDevMode === 'undefined' || !!ngDevMode;\n}\n/**\n * Disable Angular's development mode, which turns off assertions and other\n * checks within the framework.\n *\n * One important assertion this disables verifies that a change detection pass\n * does not result in additional changes to any bindings (also known as\n * unidirectional data flow).\n *\n * Using this method is discouraged as the Angular CLI will set production mode when using the\n * `optimization` option.\n * @see {@link cli/build ng build}\n *\n * @publicApi\n */\nfunction enableProdMode() {\n    // The below check is there so when ngDevMode is set via terser\n    // `global['ngDevMode'] = false;` is also dropped.\n    if (typeof ngDevMode === 'undefined' || ngDevMode) {\n        _global['ngDevMode'] = false;\n    }\n}\n\n// Public API for Zone\n\n// Public API for render\n\n/**\n * Returns the NgModuleFactory with the given id (specified using [@NgModule.id\n * field](api/core/NgModule#id)), if it exists and has been loaded. Factories for NgModules that do\n * not specify an `id` cannot be retrieved. Throws if an NgModule cannot be found.\n * @publicApi\n * @deprecated Use `getNgModuleById` instead.\n */\nfunction getModuleFactory(id) {\n    const type = getRegisteredNgModuleType(id);\n    if (!type)\n        throw noModuleError(id);\n    return new NgModuleFactory(type);\n}\n/**\n * Returns the NgModule class with the given id (specified using [@NgModule.id\n * field](api/core/NgModule#id)), if it exists and has been loaded. Classes for NgModules that do\n * not specify an `id` cannot be retrieved. Throws if an NgModule cannot be found.\n * @publicApi\n */\nfunction getNgModuleById(id) {\n    const type = getRegisteredNgModuleType(id);\n    if (!type)\n        throw noModuleError(id);\n    return type;\n}\nfunction noModuleError(id) {\n    return new Error(`No module with ID ${id} loaded`);\n}\n\n/**\n * Base class that provides change detection functionality.\n * A change-detection tree collects all views that are to be checked for changes.\n * Use the methods to add and remove views from the tree, initiate change-detection,\n * and explicitly mark views as _dirty_, meaning that they have changed and need to be re-rendered.\n *\n * @see [Using change detection hooks](guide/lifecycle-hooks#using-change-detection-hooks)\n * @see [Defining custom change detection](guide/lifecycle-hooks#defining-custom-change-detection)\n *\n * @usageNotes\n *\n * The following examples demonstrate how to modify default change-detection behavior\n * to perform explicit detection when needed.\n *\n * ### Use `markForCheck()` with `CheckOnce` strategy\n *\n * The following example sets the `OnPush` change-detection strategy for a component\n * (`CheckOnce`, rather than the default `CheckAlways`), then forces a second check\n * after an interval. See [live demo](https://plnkr.co/edit/GC512b?p=preview).\n *\n * <code-example path=\"core/ts/change_detect/change-detection.ts\"\n * region=\"mark-for-check\"></code-example>\n *\n * ### Detach change detector to limit how often check occurs\n *\n * The following example defines a component with a large list of read-only data\n * that is expected to change constantly, many times per second.\n * To improve performance, we want to check and update the list\n * less often than the changes actually occur. To do that, we detach\n * the component's change detector and perform an explicit local check every five seconds.\n *\n * <code-example path=\"core/ts/change_detect/change-detection.ts\" region=\"detach\"></code-example>\n *\n *\n * ### Reattaching a detached component\n *\n * The following example creates a component displaying live data.\n * The component detaches its change detector from the main change detector tree\n * when the `live` property is set to false, and reattaches it when the property\n * becomes true.\n *\n * <code-example path=\"core/ts/change_detect/change-detection.ts\" region=\"reattach\"></code-example>\n *\n * @publicApi\n */\nclass ChangeDetectorRef {\n}\n/**\n * @internal\n * @nocollapse\n */\nChangeDetectorRef.__NG_ELEMENT_ID__ = injectChangeDetectorRef;\n/** Returns a ChangeDetectorRef (a.k.a. a ViewRef) */\nfunction injectChangeDetectorRef(flags) {\n    return createViewRef(getCurrentTNode(), getLView(), (flags & 16 /* InternalInjectFlags.ForPipe */) === 16 /* InternalInjectFlags.ForPipe */);\n}\n/**\n * Creates a ViewRef and stores it on the injector as ChangeDetectorRef (public alias).\n *\n * @param tNode The node that is requesting a ChangeDetectorRef\n * @param lView The view to which the node belongs\n * @param isPipe Whether the view is being injected into a pipe.\n * @returns The ChangeDetectorRef to use\n */\nfunction createViewRef(tNode, lView, isPipe) {\n    if (isComponentHost(tNode) && !isPipe) {\n        // The LView represents the location where the component is declared.\n        // Instead we want the LView for the component View and so we need to look it up.\n        const componentView = getComponentLViewByIndex(tNode.index, lView); // look down\n        return new ViewRef$1(componentView, componentView);\n    }\n    else if (tNode.type & (3 /* TNodeType.AnyRNode */ | 12 /* TNodeType.AnyContainer */ | 32 /* TNodeType.Icu */)) {\n        // The LView represents the location where the injection is requested from.\n        // We need to locate the containing LView (in case where the `lView` is an embedded view)\n        const hostComponentView = lView[DECLARATION_COMPONENT_VIEW]; // look up\n        return new ViewRef$1(hostComponentView, lView);\n    }\n    return null;\n}\n\n/**\n * Represents an Angular [view](guide/glossary#view \"Definition\").\n *\n * @see {@link ChangeDetectorRef#usage-notes Change detection usage}\n *\n * @publicApi\n */\nclass ViewRef extends ChangeDetectorRef {\n}\n/**\n * Represents an Angular [view](guide/glossary#view) in a view container.\n * An [embedded view](guide/glossary#view-hierarchy) can be referenced from a component\n * other than the hosting component whose template defines it, or it can be defined\n * independently by a `TemplateRef`.\n *\n * Properties of elements in a view can change, but the structure (number and order) of elements in\n * a view cannot. Change the structure of elements by inserting, moving, or\n * removing nested views in a view container.\n *\n * @see `ViewContainerRef`\n *\n * @usageNotes\n *\n * The following template breaks down into two separate `TemplateRef` instances,\n * an outer one and an inner one.\n *\n * ```\n * Count: {{items.length}}\n * <ul>\n *   <li *ngFor=\"let  item of items\">{{item}}</li>\n * </ul>\n * ```\n *\n * This is the outer `TemplateRef`:\n *\n * ```\n * Count: {{items.length}}\n * <ul>\n *   <ng-template ngFor let-item [ngForOf]=\"items\"></ng-template>\n * </ul>\n * ```\n *\n * This is the inner `TemplateRef`:\n *\n * ```\n *   <li>{{item}}</li>\n * ```\n *\n * The outer and inner `TemplateRef` instances are assembled into views as follows:\n *\n * ```\n * <!-- ViewRef: outer-0 -->\n * Count: 2\n * <ul>\n *   <ng-template view-container-ref></ng-template>\n *   <!-- ViewRef: inner-1 --><li>first</li><!-- /ViewRef: inner-1 -->\n *   <!-- ViewRef: inner-2 --><li>second</li><!-- /ViewRef: inner-2 -->\n * </ul>\n * <!-- /ViewRef: outer-0 -->\n * ```\n * @publicApi\n */\nclass EmbeddedViewRef extends ViewRef {\n}\n\n// Public API for compiler\n\n// This file exists for easily patching NgModuleFactoryLoader in g3\nvar ng_module_factory_loader_impl = {};\n\n/**\n * @publicApi\n */\nclass DebugEventListener {\n    constructor(name, callback) {\n        this.name = name;\n        this.callback = callback;\n    }\n}\n/**\n * @publicApi\n */\nfunction asNativeElements(debugEls) {\n    return debugEls.map((el) => el.nativeElement);\n}\n/**\n * @publicApi\n */\nclass DebugNode {\n    constructor(nativeNode) {\n        this.nativeNode = nativeNode;\n    }\n    /**\n     * The `DebugElement` parent. Will be `null` if this is the root element.\n     */\n    get parent() {\n        const parent = this.nativeNode.parentNode;\n        return parent ? new DebugElement(parent) : null;\n    }\n    /**\n     * The host dependency injector. For example, the root element's component instance injector.\n     */\n    get injector() {\n        return getInjector(this.nativeNode);\n    }\n    /**\n     * The element's own component instance, if it has one.\n     */\n    get componentInstance() {\n        const nativeElement = this.nativeNode;\n        return nativeElement &&\n            (getComponent(nativeElement) || getOwningComponent(nativeElement));\n    }\n    /**\n     * An object that provides parent context for this element. Often an ancestor component instance\n     * that governs this element.\n     *\n     * When an element is repeated within *ngFor, the context is an `NgForOf` whose `$implicit`\n     * property is the value of the row instance value. For example, the `hero` in `*ngFor=\"let hero\n     * of heroes\"`.\n     */\n    get context() {\n        return getComponent(this.nativeNode) || getContext(this.nativeNode);\n    }\n    /**\n     * The callbacks attached to the component's @Output properties and/or the element's event\n     * properties.\n     */\n    get listeners() {\n        return getListeners(this.nativeNode).filter(listener => listener.type === 'dom');\n    }\n    /**\n     * Dictionary of objects associated with template local variables (e.g. #foo), keyed by the local\n     * variable name.\n     */\n    get references() {\n        return getLocalRefs(this.nativeNode);\n    }\n    /**\n     * This component's injector lookup tokens. Includes the component itself plus the tokens that the\n     * component lists in its providers metadata.\n     */\n    get providerTokens() {\n        return getInjectionTokens(this.nativeNode);\n    }\n}\n/**\n * @publicApi\n *\n * @see [Component testing scenarios](guide/testing-components-scenarios)\n * @see [Basics of testing components](guide/testing-components-basics)\n * @see [Testing utility APIs](guide/testing-utility-apis)\n */\nclass DebugElement extends DebugNode {\n    constructor(nativeNode) {\n        ngDevMode && assertDomNode(nativeNode);\n        super(nativeNode);\n    }\n    /**\n     * The underlying DOM element at the root of the component.\n     */\n    get nativeElement() {\n        return this.nativeNode.nodeType == Node.ELEMENT_NODE ? this.nativeNode : null;\n    }\n    /**\n     * The element tag name, if it is an element.\n     */\n    get name() {\n        const context = getLContext(this.nativeNode);\n        const lView = context ? context.lView : null;\n        if (lView !== null) {\n            const tData = lView[TVIEW].data;\n            const tNode = tData[context.nodeIndex];\n            return tNode.value;\n        }\n        else {\n            return this.nativeNode.nodeName;\n        }\n    }\n    /**\n     *  Gets a map of property names to property values for an element.\n     *\n     *  This map includes:\n     *  - Regular property bindings (e.g. `[id]=\"id\"`)\n     *  - Host property bindings (e.g. `host: { '[id]': \"id\" }`)\n     *  - Interpolated property bindings (e.g. `id=\"{{ value }}\")\n     *\n     *  It does not include:\n     *  - input property bindings (e.g. `[myCustomInput]=\"value\"`)\n     *  - attribute bindings (e.g. `[attr.role]=\"menu\"`)\n     */\n    get properties() {\n        const context = getLContext(this.nativeNode);\n        const lView = context ? context.lView : null;\n        if (lView === null) {\n            return {};\n        }\n        const tData = lView[TVIEW].data;\n        const tNode = tData[context.nodeIndex];\n        const properties = {};\n        // Collect properties from the DOM.\n        copyDomProperties(this.nativeElement, properties);\n        // Collect properties from the bindings. This is needed for animation renderer which has\n        // synthetic properties which don't get reflected into the DOM.\n        collectPropertyBindings(properties, tNode, lView, tData);\n        return properties;\n    }\n    /**\n     *  A map of attribute names to attribute values for an element.\n     */\n    get attributes() {\n        const attributes = {};\n        const element = this.nativeElement;\n        if (!element) {\n            return attributes;\n        }\n        const context = getLContext(element);\n        const lView = context ? context.lView : null;\n        if (lView === null) {\n            return {};\n        }\n        const tNodeAttrs = lView[TVIEW].data[context.nodeIndex].attrs;\n        const lowercaseTNodeAttrs = [];\n        // For debug nodes we take the element's attribute directly from the DOM since it allows us\n        // to account for ones that weren't set via bindings (e.g. ViewEngine keeps track of the ones\n        // that are set through `Renderer2`). The problem is that the browser will lowercase all names,\n        // however since we have the attributes already on the TNode, we can preserve the case by going\n        // through them once, adding them to the `attributes` map and putting their lower-cased name\n        // into an array. Afterwards when we're going through the native DOM attributes, we can check\n        // whether we haven't run into an attribute already through the TNode.\n        if (tNodeAttrs) {\n            let i = 0;\n            while (i < tNodeAttrs.length) {\n                const attrName = tNodeAttrs[i];\n                // Stop as soon as we hit a marker. We only care about the regular attributes. Everything\n                // else will be handled below when we read the final attributes off the DOM.\n                if (typeof attrName !== 'string')\n                    break;\n                const attrValue = tNodeAttrs[i + 1];\n                attributes[attrName] = attrValue;\n                lowercaseTNodeAttrs.push(attrName.toLowerCase());\n                i += 2;\n            }\n        }\n        for (const attr of element.attributes) {\n            // Make sure that we don't assign the same attribute both in its\n            // case-sensitive form and the lower-cased one from the browser.\n            if (!lowercaseTNodeAttrs.includes(attr.name)) {\n                attributes[attr.name] = attr.value;\n            }\n        }\n        return attributes;\n    }\n    /**\n     * The inline styles of the DOM element.\n     *\n     * Will be `null` if there is no `style` property on the underlying DOM element.\n     *\n     * @see [ElementCSSInlineStyle](https://developer.mozilla.org/en-US/docs/Web/API/ElementCSSInlineStyle/style)\n     */\n    get styles() {\n        if (this.nativeElement && this.nativeElement.style) {\n            return this.nativeElement.style;\n        }\n        return {};\n    }\n    /**\n     * A map containing the class names on the element as keys.\n     *\n     * This map is derived from the `className` property of the DOM element.\n     *\n     * Note: The values of this object will always be `true`. The class key will not appear in the KV\n     * object if it does not exist on the element.\n     *\n     * @see [Element.className](https://developer.mozilla.org/en-US/docs/Web/API/Element/className)\n     */\n    get classes() {\n        const result = {};\n        const element = this.nativeElement;\n        // SVG elements return an `SVGAnimatedString` instead of a plain string for the `className`.\n        const className = element.className;\n        const classes = typeof className !== 'string' ? className.baseVal.split(' ') : className.split(' ');\n        classes.forEach((value) => result[value] = true);\n        return result;\n    }\n    /**\n     * The `childNodes` of the DOM element as a `DebugNode` array.\n     *\n     * @see [Node.childNodes](https://developer.mozilla.org/en-US/docs/Web/API/Node/childNodes)\n     */\n    get childNodes() {\n        const childNodes = this.nativeNode.childNodes;\n        const children = [];\n        for (let i = 0; i < childNodes.length; i++) {\n            const element = childNodes[i];\n            children.push(getDebugNode(element));\n        }\n        return children;\n    }\n    /**\n     * The immediate `DebugElement` children. Walk the tree by descending through `children`.\n     */\n    get children() {\n        const nativeElement = this.nativeElement;\n        if (!nativeElement)\n            return [];\n        const childNodes = nativeElement.children;\n        const children = [];\n        for (let i = 0; i < childNodes.length; i++) {\n            const element = childNodes[i];\n            children.push(getDebugNode(element));\n        }\n        return children;\n    }\n    /**\n     * @returns the first `DebugElement` that matches the predicate at any depth in the subtree.\n     */\n    query(predicate) {\n        const results = this.queryAll(predicate);\n        return results[0] || null;\n    }\n    /**\n     * @returns All `DebugElement` matches for the predicate at any depth in the subtree.\n     */\n    queryAll(predicate) {\n        const matches = [];\n        _queryAll(this, predicate, matches, true);\n        return matches;\n    }\n    /**\n     * @returns All `DebugNode` matches for the predicate at any depth in the subtree.\n     */\n    queryAllNodes(predicate) {\n        const matches = [];\n        _queryAll(this, predicate, matches, false);\n        return matches;\n    }\n    /**\n     * Triggers the event by its name if there is a corresponding listener in the element's\n     * `listeners` collection.\n     *\n     * If the event lacks a listener or there's some other problem, consider\n     * calling `nativeElement.dispatchEvent(eventObject)`.\n     *\n     * @param eventName The name of the event to trigger\n     * @param eventObj The _event object_ expected by the handler\n     *\n     * @see [Testing components scenarios](guide/testing-components-scenarios#trigger-event-handler)\n     */\n    triggerEventHandler(eventName, eventObj) {\n        const node = this.nativeNode;\n        const invokedListeners = [];\n        this.listeners.forEach(listener => {\n            if (listener.name === eventName) {\n                const callback = listener.callback;\n                callback.call(node, eventObj);\n                invokedListeners.push(callback);\n            }\n        });\n        // We need to check whether `eventListeners` exists, because it's something\n        // that Zone.js only adds to `EventTarget` in browser environments.\n        if (typeof node.eventListeners === 'function') {\n            // Note that in Ivy we wrap event listeners with a call to `event.preventDefault` in some\n            // cases. We use '__ngUnwrap__' as a special token that gives us access to the actual event\n            // listener.\n            node.eventListeners(eventName).forEach((listener) => {\n                // In order to ensure that we can detect the special __ngUnwrap__ token described above, we\n                // use `toString` on the listener and see if it contains the token. We use this approach to\n                // ensure that it still worked with compiled code since it cannot remove or rename string\n                // literals. We also considered using a special function name (i.e. if(listener.name ===\n                // special)) but that was more cumbersome and we were also concerned the compiled code could\n                // strip the name, turning the condition in to (\"\" === \"\") and always returning true.\n                if (listener.toString().indexOf('__ngUnwrap__') !== -1) {\n                    const unwrappedListener = listener('__ngUnwrap__');\n                    return invokedListeners.indexOf(unwrappedListener) === -1 &&\n                        unwrappedListener.call(node, eventObj);\n                }\n            });\n        }\n    }\n}\nfunction copyDomProperties(element, properties) {\n    if (element) {\n        // Skip own properties (as those are patched)\n        let obj = Object.getPrototypeOf(element);\n        const NodePrototype = Node.prototype;\n        while (obj !== null && obj !== NodePrototype) {\n            const descriptors = Object.getOwnPropertyDescriptors(obj);\n            for (let key in descriptors) {\n                if (!key.startsWith('__') && !key.startsWith('on')) {\n                    // don't include properties starting with `__` and `on`.\n                    // `__` are patched values which should not be included.\n                    // `on` are listeners which also should not be included.\n                    const value = element[key];\n                    if (isPrimitiveValue(value)) {\n                        properties[key] = value;\n                    }\n                }\n            }\n            obj = Object.getPrototypeOf(obj);\n        }\n    }\n}\nfunction isPrimitiveValue(value) {\n    return typeof value === 'string' || typeof value === 'boolean' || typeof value === 'number' ||\n        value === null;\n}\nfunction _queryAll(parentElement, predicate, matches, elementsOnly) {\n    const context = getLContext(parentElement.nativeNode);\n    const lView = context ? context.lView : null;\n    if (lView !== null) {\n        const parentTNode = lView[TVIEW].data[context.nodeIndex];\n        _queryNodeChildren(parentTNode, lView, predicate, matches, elementsOnly, parentElement.nativeNode);\n    }\n    else {\n        // If the context is null, then `parentElement` was either created with Renderer2 or native DOM\n        // APIs.\n        _queryNativeNodeDescendants(parentElement.nativeNode, predicate, matches, elementsOnly);\n    }\n}\n/**\n * Recursively match the current TNode against the predicate, and goes on with the next ones.\n *\n * @param tNode the current TNode\n * @param lView the LView of this TNode\n * @param predicate the predicate to match\n * @param matches the list of positive matches\n * @param elementsOnly whether only elements should be searched\n * @param rootNativeNode the root native node on which predicate should not be matched\n */\nfunction _queryNodeChildren(tNode, lView, predicate, matches, elementsOnly, rootNativeNode) {\n    ngDevMode && assertTNodeForLView(tNode, lView);\n    const nativeNode = getNativeByTNodeOrNull(tNode, lView);\n    // For each type of TNode, specific logic is executed.\n    if (tNode.type & (3 /* TNodeType.AnyRNode */ | 8 /* TNodeType.ElementContainer */)) {\n        // Case 1: the TNode is an element\n        // The native node has to be checked.\n        _addQueryMatch(nativeNode, predicate, matches, elementsOnly, rootNativeNode);\n        if (isComponentHost(tNode)) {\n            // If the element is the host of a component, then all nodes in its view have to be processed.\n            // Note: the component's content (tNode.child) will be processed from the insertion points.\n            const componentView = getComponentLViewByIndex(tNode.index, lView);\n            if (componentView && componentView[TVIEW].firstChild) {\n                _queryNodeChildren(componentView[TVIEW].firstChild, componentView, predicate, matches, elementsOnly, rootNativeNode);\n            }\n        }\n        else {\n            if (tNode.child) {\n                // Otherwise, its children have to be processed.\n                _queryNodeChildren(tNode.child, lView, predicate, matches, elementsOnly, rootNativeNode);\n            }\n            // We also have to query the DOM directly in order to catch elements inserted through\n            // Renderer2. Note that this is __not__ optimal, because we're walking similar trees multiple\n            // times. ViewEngine could do it more efficiently, because all the insertions go through\n            // Renderer2, however that's not the case in Ivy. This approach is being used because:\n            // 1. Matching the ViewEngine behavior would mean potentially introducing a dependency\n            //    from `Renderer2` to Ivy which could bring Ivy code into ViewEngine.\n            // 2. It allows us to capture nodes that were inserted directly via the DOM.\n            nativeNode && _queryNativeNodeDescendants(nativeNode, predicate, matches, elementsOnly);\n        }\n        // In all cases, if a dynamic container exists for this node, each view inside it has to be\n        // processed.\n        const nodeOrContainer = lView[tNode.index];\n        if (isLContainer(nodeOrContainer)) {\n            _queryNodeChildrenInContainer(nodeOrContainer, predicate, matches, elementsOnly, rootNativeNode);\n        }\n    }\n    else if (tNode.type & 4 /* TNodeType.Container */) {\n        // Case 2: the TNode is a container\n        // The native node has to be checked.\n        const lContainer = lView[tNode.index];\n        _addQueryMatch(lContainer[NATIVE], predicate, matches, elementsOnly, rootNativeNode);\n        // Each view inside the container has to be processed.\n        _queryNodeChildrenInContainer(lContainer, predicate, matches, elementsOnly, rootNativeNode);\n    }\n    else if (tNode.type & 16 /* TNodeType.Projection */) {\n        // Case 3: the TNode is a projection insertion point (i.e. a <ng-content>).\n        // The nodes projected at this location all need to be processed.\n        const componentView = lView[DECLARATION_COMPONENT_VIEW];\n        const componentHost = componentView[T_HOST];\n        const head = componentHost.projection[tNode.projection];\n        if (Array.isArray(head)) {\n            for (let nativeNode of head) {\n                _addQueryMatch(nativeNode, predicate, matches, elementsOnly, rootNativeNode);\n            }\n        }\n        else if (head) {\n            const nextLView = componentView[PARENT];\n            const nextTNode = nextLView[TVIEW].data[head.index];\n            _queryNodeChildren(nextTNode, nextLView, predicate, matches, elementsOnly, rootNativeNode);\n        }\n    }\n    else if (tNode.child) {\n        // Case 4: the TNode is a view.\n        _queryNodeChildren(tNode.child, lView, predicate, matches, elementsOnly, rootNativeNode);\n    }\n    // We don't want to go to the next sibling of the root node.\n    if (rootNativeNode !== nativeNode) {\n        // To determine the next node to be processed, we need to use the next or the projectionNext\n        // link, depending on whether the current node has been projected.\n        const nextTNode = (tNode.flags & 2 /* TNodeFlags.isProjected */) ? tNode.projectionNext : tNode.next;\n        if (nextTNode) {\n            _queryNodeChildren(nextTNode, lView, predicate, matches, elementsOnly, rootNativeNode);\n        }\n    }\n}\n/**\n * Process all TNodes in a given container.\n *\n * @param lContainer the container to be processed\n * @param predicate the predicate to match\n * @param matches the list of positive matches\n * @param elementsOnly whether only elements should be searched\n * @param rootNativeNode the root native node on which predicate should not be matched\n */\nfunction _queryNodeChildrenInContainer(lContainer, predicate, matches, elementsOnly, rootNativeNode) {\n    for (let i = CONTAINER_HEADER_OFFSET; i < lContainer.length; i++) {\n        const childView = lContainer[i];\n        const firstChild = childView[TVIEW].firstChild;\n        if (firstChild) {\n            _queryNodeChildren(firstChild, childView, predicate, matches, elementsOnly, rootNativeNode);\n        }\n    }\n}\n/**\n * Match the current native node against the predicate.\n *\n * @param nativeNode the current native node\n * @param predicate the predicate to match\n * @param matches the list of positive matches\n * @param elementsOnly whether only elements should be searched\n * @param rootNativeNode the root native node on which predicate should not be matched\n */\nfunction _addQueryMatch(nativeNode, predicate, matches, elementsOnly, rootNativeNode) {\n    if (rootNativeNode !== nativeNode) {\n        const debugNode = getDebugNode(nativeNode);\n        if (!debugNode) {\n            return;\n        }\n        // Type of the \"predicate and \"matches\" array are set based on the value of\n        // the \"elementsOnly\" parameter. TypeScript is not able to properly infer these\n        // types with generics, so we manually cast the parameters accordingly.\n        if (elementsOnly && (debugNode instanceof DebugElement) && predicate(debugNode) &&\n            matches.indexOf(debugNode) === -1) {\n            matches.push(debugNode);\n        }\n        else if (!elementsOnly && predicate(debugNode) &&\n            matches.indexOf(debugNode) === -1) {\n            matches.push(debugNode);\n        }\n    }\n}\n/**\n * Match all the descendants of a DOM node against a predicate.\n *\n * @param nativeNode the current native node\n * @param predicate the predicate to match\n * @param matches the list where matches are stored\n * @param elementsOnly whether only elements should be searched\n */\nfunction _queryNativeNodeDescendants(parentNode, predicate, matches, elementsOnly) {\n    const nodes = parentNode.childNodes;\n    const length = nodes.length;\n    for (let i = 0; i < length; i++) {\n        const node = nodes[i];\n        const debugNode = getDebugNode(node);\n        if (debugNode) {\n            if (elementsOnly && (debugNode instanceof DebugElement) && predicate(debugNode) &&\n                matches.indexOf(debugNode) === -1) {\n                matches.push(debugNode);\n            }\n            else if (!elementsOnly && predicate(debugNode) &&\n                matches.indexOf(debugNode) === -1) {\n                matches.push(debugNode);\n            }\n            _queryNativeNodeDescendants(node, predicate, matches, elementsOnly);\n        }\n    }\n}\n/**\n * Iterates through the property bindings for a given node and generates\n * a map of property names to values. This map only contains property bindings\n * defined in templates, not in host bindings.\n */\nfunction collectPropertyBindings(properties, tNode, lView, tData) {\n    let bindingIndexes = tNode.propertyBindings;\n    if (bindingIndexes !== null) {\n        for (let i = 0; i < bindingIndexes.length; i++) {\n            const bindingIndex = bindingIndexes[i];\n            const propMetadata = tData[bindingIndex];\n            const metadataParts = propMetadata.split(INTERPOLATION_DELIMITER);\n            const propertyName = metadataParts[0];\n            if (metadataParts.length > 1) {\n                let value = metadataParts[1];\n                for (let j = 1; j < metadataParts.length - 1; j++) {\n                    value += renderStringify(lView[bindingIndex + j - 1]) + metadataParts[j + 1];\n                }\n                properties[propertyName] = value;\n            }\n            else {\n                properties[propertyName] = lView[bindingIndex];\n            }\n        }\n    }\n}\n// Need to keep the nodes in a global Map so that multiple angular apps are supported.\nconst _nativeNodeToDebugNode = new Map();\nconst NG_DEBUG_PROPERTY = '__ng_debug__';\n/**\n * @publicApi\n */\nfunction getDebugNode(nativeNode) {\n    if (nativeNode instanceof Node) {\n        if (!(nativeNode.hasOwnProperty(NG_DEBUG_PROPERTY))) {\n            nativeNode[NG_DEBUG_PROPERTY] = nativeNode.nodeType == Node.ELEMENT_NODE ?\n                new DebugElement(nativeNode) :\n                new DebugNode(nativeNode);\n        }\n        return nativeNode[NG_DEBUG_PROPERTY];\n    }\n    return null;\n}\n// TODO: cleanup all references to this function and remove it.\nfunction getDebugNodeR2(_nativeNode) {\n    return null;\n}\nfunction getAllDebugNodes() {\n    return Array.from(_nativeNodeToDebugNode.values());\n}\nfunction indexDebugNode(node) {\n    _nativeNodeToDebugNode.set(node.nativeNode, node);\n}\nfunction removeDebugNodeFromIndex(node) {\n    _nativeNodeToDebugNode.delete(node.nativeNode);\n}\n\nclass DefaultIterableDifferFactory {\n    constructor() { }\n    supports(obj) {\n        return isListLikeIterable(obj);\n    }\n    create(trackByFn) {\n        return new DefaultIterableDiffer(trackByFn);\n    }\n}\nconst trackByIdentity = (index, item) => item;\n/**\n * @deprecated v4.0.0 - Should not be part of public API.\n * @publicApi\n */\nclass DefaultIterableDiffer {\n    constructor(trackByFn) {\n        this.length = 0;\n        // Keeps track of the used records at any point in time (during & across `_check()` calls)\n        this._linkedRecords = null;\n        // Keeps track of the removed records at any point in time during `_check()` calls.\n        this._unlinkedRecords = null;\n        this._previousItHead = null;\n        this._itHead = null;\n        this._itTail = null;\n        this._additionsHead = null;\n        this._additionsTail = null;\n        this._movesHead = null;\n        this._movesTail = null;\n        this._removalsHead = null;\n        this._removalsTail = null;\n        // Keeps track of records where custom track by is the same, but item identity has changed\n        this._identityChangesHead = null;\n        this._identityChangesTail = null;\n        this._trackByFn = trackByFn || trackByIdentity;\n    }\n    forEachItem(fn) {\n        let record;\n        for (record = this._itHead; record !== null; record = record._next) {\n            fn(record);\n        }\n    }\n    forEachOperation(fn) {\n        let nextIt = this._itHead;\n        let nextRemove = this._removalsHead;\n        let addRemoveOffset = 0;\n        let moveOffsets = null;\n        while (nextIt || nextRemove) {\n            // Figure out which is the next record to process\n            // Order: remove, add, move\n            const record = !nextRemove ||\n                nextIt &&\n                    nextIt.currentIndex <\n                        getPreviousIndex(nextRemove, addRemoveOffset, moveOffsets) ?\n                nextIt :\n                nextRemove;\n            const adjPreviousIndex = getPreviousIndex(record, addRemoveOffset, moveOffsets);\n            const currentIndex = record.currentIndex;\n            // consume the item, and adjust the addRemoveOffset and update moveDistance if necessary\n            if (record === nextRemove) {\n                addRemoveOffset--;\n                nextRemove = nextRemove._nextRemoved;\n            }\n            else {\n                nextIt = nextIt._next;\n                if (record.previousIndex == null) {\n                    addRemoveOffset++;\n                }\n                else {\n                    // INVARIANT:  currentIndex < previousIndex\n                    if (!moveOffsets)\n                        moveOffsets = [];\n                    const localMovePreviousIndex = adjPreviousIndex - addRemoveOffset;\n                    const localCurrentIndex = currentIndex - addRemoveOffset;\n                    if (localMovePreviousIndex != localCurrentIndex) {\n                        for (let i = 0; i < localMovePreviousIndex; i++) {\n                            const offset = i < moveOffsets.length ? moveOffsets[i] : (moveOffsets[i] = 0);\n                            const index = offset + i;\n                            if (localCurrentIndex <= index && index < localMovePreviousIndex) {\n                                moveOffsets[i] = offset + 1;\n                            }\n                        }\n                        const previousIndex = record.previousIndex;\n                        moveOffsets[previousIndex] = localCurrentIndex - localMovePreviousIndex;\n                    }\n                }\n            }\n            if (adjPreviousIndex !== currentIndex) {\n                fn(record, adjPreviousIndex, currentIndex);\n            }\n        }\n    }\n    forEachPreviousItem(fn) {\n        let record;\n        for (record = this._previousItHead; record !== null; record = record._nextPrevious) {\n            fn(record);\n        }\n    }\n    forEachAddedItem(fn) {\n        let record;\n        for (record = this._additionsHead; record !== null; record = record._nextAdded) {\n            fn(record);\n        }\n    }\n    forEachMovedItem(fn) {\n        let record;\n        for (record = this._movesHead; record !== null; record = record._nextMoved) {\n            fn(record);\n        }\n    }\n    forEachRemovedItem(fn) {\n        let record;\n        for (record = this._removalsHead; record !== null; record = record._nextRemoved) {\n            fn(record);\n        }\n    }\n    forEachIdentityChange(fn) {\n        let record;\n        for (record = this._identityChangesHead; record !== null; record = record._nextIdentityChange) {\n            fn(record);\n        }\n    }\n    diff(collection) {\n        if (collection == null)\n            collection = [];\n        if (!isListLikeIterable(collection)) {\n            throw new RuntimeError(900 /* RuntimeErrorCode.INVALID_DIFFER_INPUT */, ngDevMode &&\n                `Error trying to diff '${stringify(collection)}'. Only arrays and iterables are allowed`);\n        }\n        if (this.check(collection)) {\n            return this;\n        }\n        else {\n            return null;\n        }\n    }\n    onDestroy() { }\n    check(collection) {\n        this._reset();\n        let record = this._itHead;\n        let mayBeDirty = false;\n        let index;\n        let item;\n        let itemTrackBy;\n        if (Array.isArray(collection)) {\n            this.length = collection.length;\n            for (let index = 0; index < this.length; index++) {\n                item = collection[index];\n                itemTrackBy = this._trackByFn(index, item);\n                if (record === null || !Object.is(record.trackById, itemTrackBy)) {\n                    record = this._mismatch(record, item, itemTrackBy, index);\n                    mayBeDirty = true;\n                }\n                else {\n                    if (mayBeDirty) {\n                        // TODO(misko): can we limit this to duplicates only?\n                        record = this._verifyReinsertion(record, item, itemTrackBy, index);\n                    }\n                    if (!Object.is(record.item, item))\n                        this._addIdentityChange(record, item);\n                }\n                record = record._next;\n            }\n        }\n        else {\n            index = 0;\n            iterateListLike(collection, (item) => {\n                itemTrackBy = this._trackByFn(index, item);\n                if (record === null || !Object.is(record.trackById, itemTrackBy)) {\n                    record = this._mismatch(record, item, itemTrackBy, index);\n                    mayBeDirty = true;\n                }\n                else {\n                    if (mayBeDirty) {\n                        // TODO(misko): can we limit this to duplicates only?\n                        record = this._verifyReinsertion(record, item, itemTrackBy, index);\n                    }\n                    if (!Object.is(record.item, item))\n                        this._addIdentityChange(record, item);\n                }\n                record = record._next;\n                index++;\n            });\n            this.length = index;\n        }\n        this._truncate(record);\n        this.collection = collection;\n        return this.isDirty;\n    }\n    /* CollectionChanges is considered dirty if it has any additions, moves, removals, or identity\n     * changes.\n     */\n    get isDirty() {\n        return this._additionsHead !== null || this._movesHead !== null ||\n            this._removalsHead !== null || this._identityChangesHead !== null;\n    }\n    /**\n     * Reset the state of the change objects to show no changes. This means set previousKey to\n     * currentKey, and clear all of the queues (additions, moves, removals).\n     * Set the previousIndexes of moved and added items to their currentIndexes\n     * Reset the list of additions, moves and removals\n     *\n     * @internal\n     */\n    _reset() {\n        if (this.isDirty) {\n            let record;\n            for (record = this._previousItHead = this._itHead; record !== null; record = record._next) {\n                record._nextPrevious = record._next;\n            }\n            for (record = this._additionsHead; record !== null; record = record._nextAdded) {\n                record.previousIndex = record.currentIndex;\n            }\n            this._additionsHead = this._additionsTail = null;\n            for (record = this._movesHead; record !== null; record = record._nextMoved) {\n                record.previousIndex = record.currentIndex;\n            }\n            this._movesHead = this._movesTail = null;\n            this._removalsHead = this._removalsTail = null;\n            this._identityChangesHead = this._identityChangesTail = null;\n            // TODO(vicb): when assert gets supported\n            // assert(!this.isDirty);\n        }\n    }\n    /**\n     * This is the core function which handles differences between collections.\n     *\n     * - `record` is the record which we saw at this position last time. If null then it is a new\n     *   item.\n     * - `item` is the current item in the collection\n     * - `index` is the position of the item in the collection\n     *\n     * @internal\n     */\n    _mismatch(record, item, itemTrackBy, index) {\n        // The previous record after which we will append the current one.\n        let previousRecord;\n        if (record === null) {\n            previousRecord = this._itTail;\n        }\n        else {\n            previousRecord = record._prev;\n            // Remove the record from the collection since we know it does not match the item.\n            this._remove(record);\n        }\n        // See if we have evicted the item, which used to be at some anterior position of _itHead list.\n        record = this._unlinkedRecords === null ? null : this._unlinkedRecords.get(itemTrackBy, null);\n        if (record !== null) {\n            // It is an item which we have evicted earlier: reinsert it back into the list.\n            // But first we need to check if identity changed, so we can update in view if necessary.\n            if (!Object.is(record.item, item))\n                this._addIdentityChange(record, item);\n            this._reinsertAfter(record, previousRecord, index);\n        }\n        else {\n            // Attempt to see if the item is at some posterior position of _itHead list.\n            record = this._linkedRecords === null ? null : this._linkedRecords.get(itemTrackBy, index);\n            if (record !== null) {\n                // We have the item in _itHead at/after `index` position. We need to move it forward in the\n                // collection.\n                // But first we need to check if identity changed, so we can update in view if necessary.\n                if (!Object.is(record.item, item))\n                    this._addIdentityChange(record, item);\n                this._moveAfter(record, previousRecord, index);\n            }\n            else {\n                // It is a new item: add it.\n                record =\n                    this._addAfter(new IterableChangeRecord_(item, itemTrackBy), previousRecord, index);\n            }\n        }\n        return record;\n    }\n    /**\n     * This check is only needed if an array contains duplicates. (Short circuit of nothing dirty)\n     *\n     * Use case: `[a, a]` => `[b, a, a]`\n     *\n     * If we did not have this check then the insertion of `b` would:\n     *   1) evict first `a`\n     *   2) insert `b` at `0` index.\n     *   3) leave `a` at index `1` as is. <-- this is wrong!\n     *   3) reinsert `a` at index 2. <-- this is wrong!\n     *\n     * The correct behavior is:\n     *   1) evict first `a`\n     *   2) insert `b` at `0` index.\n     *   3) reinsert `a` at index 1.\n     *   3) move `a` at from `1` to `2`.\n     *\n     *\n     * Double check that we have not evicted a duplicate item. We need to check if the item type may\n     * have already been removed:\n     * The insertion of b will evict the first 'a'. If we don't reinsert it now it will be reinserted\n     * at the end. Which will show up as the two 'a's switching position. This is incorrect, since a\n     * better way to think of it is as insert of 'b' rather then switch 'a' with 'b' and then add 'a'\n     * at the end.\n     *\n     * @internal\n     */\n    _verifyReinsertion(record, item, itemTrackBy, index) {\n        let reinsertRecord = this._unlinkedRecords === null ? null : this._unlinkedRecords.get(itemTrackBy, null);\n        if (reinsertRecord !== null) {\n            record = this._reinsertAfter(reinsertRecord, record._prev, index);\n        }\n        else if (record.currentIndex != index) {\n            record.currentIndex = index;\n            this._addToMoves(record, index);\n        }\n        return record;\n    }\n    /**\n     * Get rid of any excess {@link IterableChangeRecord_}s from the previous collection\n     *\n     * - `record` The first excess {@link IterableChangeRecord_}.\n     *\n     * @internal\n     */\n    _truncate(record) {\n        // Anything after that needs to be removed;\n        while (record !== null) {\n            const nextRecord = record._next;\n            this._addToRemovals(this._unlink(record));\n            record = nextRecord;\n        }\n        if (this._unlinkedRecords !== null) {\n            this._unlinkedRecords.clear();\n        }\n        if (this._additionsTail !== null) {\n            this._additionsTail._nextAdded = null;\n        }\n        if (this._movesTail !== null) {\n            this._movesTail._nextMoved = null;\n        }\n        if (this._itTail !== null) {\n            this._itTail._next = null;\n        }\n        if (this._removalsTail !== null) {\n            this._removalsTail._nextRemoved = null;\n        }\n        if (this._identityChangesTail !== null) {\n            this._identityChangesTail._nextIdentityChange = null;\n        }\n    }\n    /** @internal */\n    _reinsertAfter(record, prevRecord, index) {\n        if (this._unlinkedRecords !== null) {\n            this._unlinkedRecords.remove(record);\n        }\n        const prev = record._prevRemoved;\n        const next = record._nextRemoved;\n        if (prev === null) {\n            this._removalsHead = next;\n        }\n        else {\n            prev._nextRemoved = next;\n        }\n        if (next === null) {\n            this._removalsTail = prev;\n        }\n        else {\n            next._prevRemoved = prev;\n        }\n        this._insertAfter(record, prevRecord, index);\n        this._addToMoves(record, index);\n        return record;\n    }\n    /** @internal */\n    _moveAfter(record, prevRecord, index) {\n        this._unlink(record);\n        this._insertAfter(record, prevRecord, index);\n        this._addToMoves(record, index);\n        return record;\n    }\n    /** @internal */\n    _addAfter(record, prevRecord, index) {\n        this._insertAfter(record, prevRecord, index);\n        if (this._additionsTail === null) {\n            // TODO(vicb):\n            // assert(this._additionsHead === null);\n            this._additionsTail = this._additionsHead = record;\n        }\n        else {\n            // TODO(vicb):\n            // assert(_additionsTail._nextAdded === null);\n            // assert(record._nextAdded === null);\n            this._additionsTail = this._additionsTail._nextAdded = record;\n        }\n        return record;\n    }\n    /** @internal */\n    _insertAfter(record, prevRecord, index) {\n        // TODO(vicb):\n        // assert(record != prevRecord);\n        // assert(record._next === null);\n        // assert(record._prev === null);\n        const next = prevRecord === null ? this._itHead : prevRecord._next;\n        // TODO(vicb):\n        // assert(next != record);\n        // assert(prevRecord != record);\n        record._next = next;\n        record._prev = prevRecord;\n        if (next === null) {\n            this._itTail = record;\n        }\n        else {\n            next._prev = record;\n        }\n        if (prevRecord === null) {\n            this._itHead = record;\n        }\n        else {\n            prevRecord._next = record;\n        }\n        if (this._linkedRecords === null) {\n            this._linkedRecords = new _DuplicateMap();\n        }\n        this._linkedRecords.put(record);\n        record.currentIndex = index;\n        return record;\n    }\n    /** @internal */\n    _remove(record) {\n        return this._addToRemovals(this._unlink(record));\n    }\n    /** @internal */\n    _unlink(record) {\n        if (this._linkedRecords !== null) {\n            this._linkedRecords.remove(record);\n        }\n        const prev = record._prev;\n        const next = record._next;\n        // TODO(vicb):\n        // assert((record._prev = null) === null);\n        // assert((record._next = null) === null);\n        if (prev === null) {\n            this._itHead = next;\n        }\n        else {\n            prev._next = next;\n        }\n        if (next === null) {\n            this._itTail = prev;\n        }\n        else {\n            next._prev = prev;\n        }\n        return record;\n    }\n    /** @internal */\n    _addToMoves(record, toIndex) {\n        // TODO(vicb):\n        // assert(record._nextMoved === null);\n        if (record.previousIndex === toIndex) {\n            return record;\n        }\n        if (this._movesTail === null) {\n            // TODO(vicb):\n            // assert(_movesHead === null);\n            this._movesTail = this._movesHead = record;\n        }\n        else {\n            // TODO(vicb):\n            // assert(_movesTail._nextMoved === null);\n            this._movesTail = this._movesTail._nextMoved = record;\n        }\n        return record;\n    }\n    _addToRemovals(record) {\n        if (this._unlinkedRecords === null) {\n            this._unlinkedRecords = new _DuplicateMap();\n        }\n        this._unlinkedRecords.put(record);\n        record.currentIndex = null;\n        record._nextRemoved = null;\n        if (this._removalsTail === null) {\n            // TODO(vicb):\n            // assert(_removalsHead === null);\n            this._removalsTail = this._removalsHead = record;\n            record._prevRemoved = null;\n        }\n        else {\n            // TODO(vicb):\n            // assert(_removalsTail._nextRemoved === null);\n            // assert(record._nextRemoved === null);\n            record._prevRemoved = this._removalsTail;\n            this._removalsTail = this._removalsTail._nextRemoved = record;\n        }\n        return record;\n    }\n    /** @internal */\n    _addIdentityChange(record, item) {\n        record.item = item;\n        if (this._identityChangesTail === null) {\n            this._identityChangesTail = this._identityChangesHead = record;\n        }\n        else {\n            this._identityChangesTail = this._identityChangesTail._nextIdentityChange = record;\n        }\n        return record;\n    }\n}\nclass IterableChangeRecord_ {\n    constructor(item, trackById) {\n        this.item = item;\n        this.trackById = trackById;\n        this.currentIndex = null;\n        this.previousIndex = null;\n        /** @internal */\n        this._nextPrevious = null;\n        /** @internal */\n        this._prev = null;\n        /** @internal */\n        this._next = null;\n        /** @internal */\n        this._prevDup = null;\n        /** @internal */\n        this._nextDup = null;\n        /** @internal */\n        this._prevRemoved = null;\n        /** @internal */\n        this._nextRemoved = null;\n        /** @internal */\n        this._nextAdded = null;\n        /** @internal */\n        this._nextMoved = null;\n        /** @internal */\n        this._nextIdentityChange = null;\n    }\n}\n// A linked list of IterableChangeRecords with the same IterableChangeRecord_.item\nclass _DuplicateItemRecordList {\n    constructor() {\n        /** @internal */\n        this._head = null;\n        /** @internal */\n        this._tail = null;\n    }\n    /**\n     * Append the record to the list of duplicates.\n     *\n     * Note: by design all records in the list of duplicates hold the same value in record.item.\n     */\n    add(record) {\n        if (this._head === null) {\n            this._head = this._tail = record;\n            record._nextDup = null;\n            record._prevDup = null;\n        }\n        else {\n            // TODO(vicb):\n            // assert(record.item ==  _head.item ||\n            //       record.item is num && record.item.isNaN && _head.item is num && _head.item.isNaN);\n            this._tail._nextDup = record;\n            record._prevDup = this._tail;\n            record._nextDup = null;\n            this._tail = record;\n        }\n    }\n    // Returns a IterableChangeRecord_ having IterableChangeRecord_.trackById == trackById and\n    // IterableChangeRecord_.currentIndex >= atOrAfterIndex\n    get(trackById, atOrAfterIndex) {\n        let record;\n        for (record = this._head; record !== null; record = record._nextDup) {\n            if ((atOrAfterIndex === null || atOrAfterIndex <= record.currentIndex) &&\n                Object.is(record.trackById, trackById)) {\n                return record;\n            }\n        }\n        return null;\n    }\n    /**\n     * Remove one {@link IterableChangeRecord_} from the list of duplicates.\n     *\n     * Returns whether the list of duplicates is empty.\n     */\n    remove(record) {\n        // TODO(vicb):\n        // assert(() {\n        //  // verify that the record being removed is in the list.\n        //  for (IterableChangeRecord_ cursor = _head; cursor != null; cursor = cursor._nextDup) {\n        //    if (identical(cursor, record)) return true;\n        //  }\n        //  return false;\n        //});\n        const prev = record._prevDup;\n        const next = record._nextDup;\n        if (prev === null) {\n            this._head = next;\n        }\n        else {\n            prev._nextDup = next;\n        }\n        if (next === null) {\n            this._tail = prev;\n        }\n        else {\n            next._prevDup = prev;\n        }\n        return this._head === null;\n    }\n}\nclass _DuplicateMap {\n    constructor() {\n        this.map = new Map();\n    }\n    put(record) {\n        const key = record.trackById;\n        let duplicates = this.map.get(key);\n        if (!duplicates) {\n            duplicates = new _DuplicateItemRecordList();\n            this.map.set(key, duplicates);\n        }\n        duplicates.add(record);\n    }\n    /**\n     * Retrieve the `value` using key. Because the IterableChangeRecord_ value may be one which we\n     * have already iterated over, we use the `atOrAfterIndex` to pretend it is not there.\n     *\n     * Use case: `[a, b, c, a, a]` if we are at index `3` which is the second `a` then asking if we\n     * have any more `a`s needs to return the second `a`.\n     */\n    get(trackById, atOrAfterIndex) {\n        const key = trackById;\n        const recordList = this.map.get(key);\n        return recordList ? recordList.get(trackById, atOrAfterIndex) : null;\n    }\n    /**\n     * Removes a {@link IterableChangeRecord_} from the list of duplicates.\n     *\n     * The list of duplicates also is removed from the map if it gets empty.\n     */\n    remove(record) {\n        const key = record.trackById;\n        const recordList = this.map.get(key);\n        // Remove the list of duplicates when it gets empty\n        if (recordList.remove(record)) {\n            this.map.delete(key);\n        }\n        return record;\n    }\n    get isEmpty() {\n        return this.map.size === 0;\n    }\n    clear() {\n        this.map.clear();\n    }\n}\nfunction getPreviousIndex(item, addRemoveOffset, moveOffsets) {\n    const previousIndex = item.previousIndex;\n    if (previousIndex === null)\n        return previousIndex;\n    let moveOffset = 0;\n    if (moveOffsets && previousIndex < moveOffsets.length) {\n        moveOffset = moveOffsets[previousIndex];\n    }\n    return previousIndex + addRemoveOffset + moveOffset;\n}\n\nclass DefaultKeyValueDifferFactory {\n    constructor() { }\n    supports(obj) {\n        return obj instanceof Map || isJsObject(obj);\n    }\n    create() {\n        return new DefaultKeyValueDiffer();\n    }\n}\nclass DefaultKeyValueDiffer {\n    constructor() {\n        this._records = new Map();\n        this._mapHead = null;\n        // _appendAfter is used in the check loop\n        this._appendAfter = null;\n        this._previousMapHead = null;\n        this._changesHead = null;\n        this._changesTail = null;\n        this._additionsHead = null;\n        this._additionsTail = null;\n        this._removalsHead = null;\n        this._removalsTail = null;\n    }\n    get isDirty() {\n        return this._additionsHead !== null || this._changesHead !== null ||\n            this._removalsHead !== null;\n    }\n    forEachItem(fn) {\n        let record;\n        for (record = this._mapHead; record !== null; record = record._next) {\n            fn(record);\n        }\n    }\n    forEachPreviousItem(fn) {\n        let record;\n        for (record = this._previousMapHead; record !== null; record = record._nextPrevious) {\n            fn(record);\n        }\n    }\n    forEachChangedItem(fn) {\n        let record;\n        for (record = this._changesHead; record !== null; record = record._nextChanged) {\n            fn(record);\n        }\n    }\n    forEachAddedItem(fn) {\n        let record;\n        for (record = this._additionsHead; record !== null; record = record._nextAdded) {\n            fn(record);\n        }\n    }\n    forEachRemovedItem(fn) {\n        let record;\n        for (record = this._removalsHead; record !== null; record = record._nextRemoved) {\n            fn(record);\n        }\n    }\n    diff(map) {\n        if (!map) {\n            map = new Map();\n        }\n        else if (!(map instanceof Map || isJsObject(map))) {\n            throw new RuntimeError(900 /* RuntimeErrorCode.INVALID_DIFFER_INPUT */, ngDevMode &&\n                `Error trying to diff '${stringify(map)}'. Only maps and objects are allowed`);\n        }\n        return this.check(map) ? this : null;\n    }\n    onDestroy() { }\n    /**\n     * Check the current state of the map vs the previous.\n     * The algorithm is optimised for when the keys do no change.\n     */\n    check(map) {\n        this._reset();\n        let insertBefore = this._mapHead;\n        this._appendAfter = null;\n        this._forEach(map, (value, key) => {\n            if (insertBefore && insertBefore.key === key) {\n                this._maybeAddToChanges(insertBefore, value);\n                this._appendAfter = insertBefore;\n                insertBefore = insertBefore._next;\n            }\n            else {\n                const record = this._getOrCreateRecordForKey(key, value);\n                insertBefore = this._insertBeforeOrAppend(insertBefore, record);\n            }\n        });\n        // Items remaining at the end of the list have been deleted\n        if (insertBefore) {\n            if (insertBefore._prev) {\n                insertBefore._prev._next = null;\n            }\n            this._removalsHead = insertBefore;\n            for (let record = insertBefore; record !== null; record = record._nextRemoved) {\n                if (record === this._mapHead) {\n                    this._mapHead = null;\n                }\n                this._records.delete(record.key);\n                record._nextRemoved = record._next;\n                record.previousValue = record.currentValue;\n                record.currentValue = null;\n                record._prev = null;\n                record._next = null;\n            }\n        }\n        // Make sure tails have no next records from previous runs\n        if (this._changesTail)\n            this._changesTail._nextChanged = null;\n        if (this._additionsTail)\n            this._additionsTail._nextAdded = null;\n        return this.isDirty;\n    }\n    /**\n     * Inserts a record before `before` or append at the end of the list when `before` is null.\n     *\n     * Notes:\n     * - This method appends at `this._appendAfter`,\n     * - This method updates `this._appendAfter`,\n     * - The return value is the new value for the insertion pointer.\n     */\n    _insertBeforeOrAppend(before, record) {\n        if (before) {\n            const prev = before._prev;\n            record._next = before;\n            record._prev = prev;\n            before._prev = record;\n            if (prev) {\n                prev._next = record;\n            }\n            if (before === this._mapHead) {\n                this._mapHead = record;\n            }\n            this._appendAfter = before;\n            return before;\n        }\n        if (this._appendAfter) {\n            this._appendAfter._next = record;\n            record._prev = this._appendAfter;\n        }\n        else {\n            this._mapHead = record;\n        }\n        this._appendAfter = record;\n        return null;\n    }\n    _getOrCreateRecordForKey(key, value) {\n        if (this._records.has(key)) {\n            const record = this._records.get(key);\n            this._maybeAddToChanges(record, value);\n            const prev = record._prev;\n            const next = record._next;\n            if (prev) {\n                prev._next = next;\n            }\n            if (next) {\n                next._prev = prev;\n            }\n            record._next = null;\n            record._prev = null;\n            return record;\n        }\n        const record = new KeyValueChangeRecord_(key);\n        this._records.set(key, record);\n        record.currentValue = value;\n        this._addToAdditions(record);\n        return record;\n    }\n    /** @internal */\n    _reset() {\n        if (this.isDirty) {\n            let record;\n            // let `_previousMapHead` contain the state of the map before the changes\n            this._previousMapHead = this._mapHead;\n            for (record = this._previousMapHead; record !== null; record = record._next) {\n                record._nextPrevious = record._next;\n            }\n            // Update `record.previousValue` with the value of the item before the changes\n            // We need to update all changed items (that's those which have been added and changed)\n            for (record = this._changesHead; record !== null; record = record._nextChanged) {\n                record.previousValue = record.currentValue;\n            }\n            for (record = this._additionsHead; record != null; record = record._nextAdded) {\n                record.previousValue = record.currentValue;\n            }\n            this._changesHead = this._changesTail = null;\n            this._additionsHead = this._additionsTail = null;\n            this._removalsHead = null;\n        }\n    }\n    // Add the record or a given key to the list of changes only when the value has actually changed\n    _maybeAddToChanges(record, newValue) {\n        if (!Object.is(newValue, record.currentValue)) {\n            record.previousValue = record.currentValue;\n            record.currentValue = newValue;\n            this._addToChanges(record);\n        }\n    }\n    _addToAdditions(record) {\n        if (this._additionsHead === null) {\n            this._additionsHead = this._additionsTail = record;\n        }\n        else {\n            this._additionsTail._nextAdded = record;\n            this._additionsTail = record;\n        }\n    }\n    _addToChanges(record) {\n        if (this._changesHead === null) {\n            this._changesHead = this._changesTail = record;\n        }\n        else {\n            this._changesTail._nextChanged = record;\n            this._changesTail = record;\n        }\n    }\n    /** @internal */\n    _forEach(obj, fn) {\n        if (obj instanceof Map) {\n            obj.forEach(fn);\n        }\n        else {\n            Object.keys(obj).forEach(k => fn(obj[k], k));\n        }\n    }\n}\nclass KeyValueChangeRecord_ {\n    constructor(key) {\n        this.key = key;\n        this.previousValue = null;\n        this.currentValue = null;\n        /** @internal */\n        this._nextPrevious = null;\n        /** @internal */\n        this._next = null;\n        /** @internal */\n        this._prev = null;\n        /** @internal */\n        this._nextAdded = null;\n        /** @internal */\n        this._nextRemoved = null;\n        /** @internal */\n        this._nextChanged = null;\n    }\n}\n\nfunction defaultIterableDiffersFactory() {\n    return new IterableDiffers([new DefaultIterableDifferFactory()]);\n}\n/**\n * A repository of different iterable diffing strategies used by NgFor, NgClass, and others.\n *\n * @publicApi\n */\nclass IterableDiffers {\n    constructor(factories) {\n        this.factories = factories;\n    }\n    static create(factories, parent) {\n        if (parent != null) {\n            const copied = parent.factories.slice();\n            factories = factories.concat(copied);\n        }\n        return new IterableDiffers(factories);\n    }\n    /**\n     * Takes an array of {@link IterableDifferFactory} and returns a provider used to extend the\n     * inherited {@link IterableDiffers} instance with the provided factories and return a new\n     * {@link IterableDiffers} instance.\n     *\n     * @usageNotes\n     * ### Example\n     *\n     * The following example shows how to extend an existing list of factories,\n     * which will only be applied to the injector for this component and its children.\n     * This step is all that's required to make a new {@link IterableDiffer} available.\n     *\n     * ```\n     * @Component({\n     *   viewProviders: [\n     *     IterableDiffers.extend([new ImmutableListDiffer()])\n     *   ]\n     * })\n     * ```\n     */\n    static extend(factories) {\n        return {\n            provide: IterableDiffers,\n            useFactory: (parent) => {\n                // if parent is null, it means that we are in the root injector and we have just overridden\n                // the default injection mechanism for IterableDiffers, in such a case just assume\n                // `defaultIterableDiffersFactory`.\n                return IterableDiffers.create(factories, parent || defaultIterableDiffersFactory());\n            },\n            // Dependency technically isn't optional, but we can provide a better error message this way.\n            deps: [[IterableDiffers, new SkipSelf(), new Optional()]]\n        };\n    }\n    find(iterable) {\n        const factory = this.factories.find(f => f.supports(iterable));\n        if (factory != null) {\n            return factory;\n        }\n        else {\n            throw new RuntimeError(901 /* RuntimeErrorCode.NO_SUPPORTING_DIFFER_FACTORY */, ngDevMode &&\n                `Cannot find a differ supporting object '${iterable}' of type '${getTypeNameForDebugging(iterable)}'`);\n        }\n    }\n}\n/** @nocollapse */\nIterableDiffers.ɵprov = ɵɵdefineInjectable({ token: IterableDiffers, providedIn: 'root', factory: defaultIterableDiffersFactory });\nfunction getTypeNameForDebugging(type) {\n    return type['name'] || typeof type;\n}\n\nfunction defaultKeyValueDiffersFactory() {\n    return new KeyValueDiffers([new DefaultKeyValueDifferFactory()]);\n}\n/**\n * A repository of different Map diffing strategies used by NgClass, NgStyle, and others.\n *\n * @publicApi\n */\nclass KeyValueDiffers {\n    constructor(factories) {\n        this.factories = factories;\n    }\n    static create(factories, parent) {\n        if (parent) {\n            const copied = parent.factories.slice();\n            factories = factories.concat(copied);\n        }\n        return new KeyValueDiffers(factories);\n    }\n    /**\n     * Takes an array of {@link KeyValueDifferFactory} and returns a provider used to extend the\n     * inherited {@link KeyValueDiffers} instance with the provided factories and return a new\n     * {@link KeyValueDiffers} instance.\n     *\n     * @usageNotes\n     * ### Example\n     *\n     * The following example shows how to extend an existing list of factories,\n     * which will only be applied to the injector for this component and its children.\n     * This step is all that's required to make a new {@link KeyValueDiffer} available.\n     *\n     * ```\n     * @Component({\n     *   viewProviders: [\n     *     KeyValueDiffers.extend([new ImmutableMapDiffer()])\n     *   ]\n     * })\n     * ```\n     */\n    static extend(factories) {\n        return {\n            provide: KeyValueDiffers,\n            useFactory: (parent) => {\n                // if parent is null, it means that we are in the root injector and we have just overridden\n                // the default injection mechanism for KeyValueDiffers, in such a case just assume\n                // `defaultKeyValueDiffersFactory`.\n                return KeyValueDiffers.create(factories, parent || defaultKeyValueDiffersFactory());\n            },\n            // Dependency technically isn't optional, but we can provide a better error message this way.\n            deps: [[KeyValueDiffers, new SkipSelf(), new Optional()]]\n        };\n    }\n    find(kv) {\n        const factory = this.factories.find(f => f.supports(kv));\n        if (factory) {\n            return factory;\n        }\n        throw new RuntimeError(901 /* RuntimeErrorCode.NO_SUPPORTING_DIFFER_FACTORY */, ngDevMode && `Cannot find a differ supporting object '${kv}'`);\n    }\n}\n/** @nocollapse */\nKeyValueDiffers.ɵprov = ɵɵdefineInjectable({ token: KeyValueDiffers, providedIn: 'root', factory: defaultKeyValueDiffersFactory });\n\n/**\n * Structural diffing for `Object`s and `Map`s.\n */\nconst keyValDiff = [new DefaultKeyValueDifferFactory()];\n/**\n * Structural diffing for `Iterable` types such as `Array`s.\n */\nconst iterableDiff = [new DefaultIterableDifferFactory()];\nconst defaultIterableDiffers = new IterableDiffers(iterableDiff);\nconst defaultKeyValueDiffers = new KeyValueDiffers(keyValDiff);\n\n/**\n * @module\n * @description\n * Change detection enables data binding in Angular.\n */\n\n/**\n * This platform has to be included in any other platform\n *\n * @publicApi\n */\nconst platformCore = createPlatformFactory(null, 'core', []);\n\n/**\n * Re-exported by `BrowserModule`, which is included automatically in the root\n * `AppModule` when you create a new app with the CLI `new` command. Eagerly injects\n * `ApplicationRef` to instantiate it.\n *\n * @publicApi\n */\nclass ApplicationModule {\n    // Inject ApplicationRef to make it eager...\n    constructor(appRef) { }\n}\nApplicationModule.ɵfac = function ApplicationModule_Factory(t) { return new (t || ApplicationModule)(ɵɵinject(ApplicationRef)); };\nApplicationModule.ɵmod = /*@__PURE__*/ ɵɵdefineNgModule({ type: ApplicationModule });\nApplicationModule.ɵinj = /*@__PURE__*/ ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && setClassMetadata(ApplicationModule, [{\n        type: NgModule\n    }], function () { return [{ type: ApplicationRef }]; }, null); })();\n\n/** Coerces a value (typically a string) to a boolean. */\nfunction coerceToBoolean(value) {\n    return typeof value === 'boolean' ? value : (value != null && value !== 'false');\n}\n\n/**\n * Compiles a partial directive declaration object into a full directive definition object.\n *\n * @codeGenApi\n */\nfunction ɵɵngDeclareDirective(decl) {\n    const compiler = getCompilerFacade({ usage: 1 /* JitCompilerUsage.PartialDeclaration */, kind: 'directive', type: decl.type });\n    return compiler.compileDirectiveDeclaration(angularCoreEnv, `ng:///${decl.type.name}/ɵfac.js`, decl);\n}\n/**\n * Evaluates the class metadata declaration.\n *\n * @codeGenApi\n */\nfunction ɵɵngDeclareClassMetadata(decl) {\n    setClassMetadata(decl.type, decl.decorators, decl.ctorParameters ?? null, decl.propDecorators ?? null);\n}\n/**\n * Compiles a partial component declaration object into a full component definition object.\n *\n * @codeGenApi\n */\nfunction ɵɵngDeclareComponent(decl) {\n    const compiler = getCompilerFacade({ usage: 1 /* JitCompilerUsage.PartialDeclaration */, kind: 'component', type: decl.type });\n    return compiler.compileComponentDeclaration(angularCoreEnv, `ng:///${decl.type.name}/ɵcmp.js`, decl);\n}\n/**\n * Compiles a partial pipe declaration object into a full pipe definition object.\n *\n * @codeGenApi\n */\nfunction ɵɵngDeclareFactory(decl) {\n    const compiler = getCompilerFacade({\n        usage: 1 /* JitCompilerUsage.PartialDeclaration */,\n        kind: getFactoryKind(decl.target),\n        type: decl.type\n    });\n    return compiler.compileFactoryDeclaration(angularCoreEnv, `ng:///${decl.type.name}/ɵfac.js`, decl);\n}\nfunction getFactoryKind(target) {\n    switch (target) {\n        case FactoryTarget.Directive:\n            return 'directive';\n        case FactoryTarget.Component:\n            return 'component';\n        case FactoryTarget.Injectable:\n            return 'injectable';\n        case FactoryTarget.Pipe:\n            return 'pipe';\n        case FactoryTarget.NgModule:\n            return 'NgModule';\n    }\n}\n/**\n * Compiles a partial injectable declaration object into a full injectable definition object.\n *\n * @codeGenApi\n */\nfunction ɵɵngDeclareInjectable(decl) {\n    const compiler = getCompilerFacade({ usage: 1 /* JitCompilerUsage.PartialDeclaration */, kind: 'injectable', type: decl.type });\n    return compiler.compileInjectableDeclaration(angularCoreEnv, `ng:///${decl.type.name}/ɵprov.js`, decl);\n}\n/**\n * Compiles a partial injector declaration object into a full injector definition object.\n *\n * @codeGenApi\n */\nfunction ɵɵngDeclareInjector(decl) {\n    const compiler = getCompilerFacade({ usage: 1 /* JitCompilerUsage.PartialDeclaration */, kind: 'NgModule', type: decl.type });\n    return compiler.compileInjectorDeclaration(angularCoreEnv, `ng:///${decl.type.name}/ɵinj.js`, decl);\n}\n/**\n * Compiles a partial NgModule declaration object into a full NgModule definition object.\n *\n * @codeGenApi\n */\nfunction ɵɵngDeclareNgModule(decl) {\n    const compiler = getCompilerFacade({ usage: 1 /* JitCompilerUsage.PartialDeclaration */, kind: 'NgModule', type: decl.type });\n    return compiler.compileNgModuleDeclaration(angularCoreEnv, `ng:///${decl.type.name}/ɵmod.js`, decl);\n}\n/**\n * Compiles a partial pipe declaration object into a full pipe definition object.\n *\n * @codeGenApi\n */\nfunction ɵɵngDeclarePipe(decl) {\n    const compiler = getCompilerFacade({ usage: 1 /* JitCompilerUsage.PartialDeclaration */, kind: 'pipe', type: decl.type });\n    return compiler.compilePipeDeclaration(angularCoreEnv, `ng:///${decl.type.name}/ɵpipe.js`, decl);\n}\n\n// clang-format off\n// clang-format on\n\n/**\n * Creates a `ComponentRef` instance based on provided component type and a set of options.\n *\n * @usageNotes\n *\n * The example below demonstrates how the `createComponent` function can be used\n * to create an instance of a ComponentRef dynamically and attach it to an ApplicationRef,\n * so that it gets included into change detection cycles.\n *\n * Note: the example uses standalone components, but the function can also be used for\n * non-standalone components (declared in an NgModule) as well.\n *\n * ```typescript\n * @Component({\n *   standalone: true,\n *   template: `Hello {{ name }}!`\n * })\n * class HelloComponent {\n *   name = 'Angular';\n * }\n *\n * @Component({\n *   standalone: true,\n *   template: `<div id=\"hello-component-host\"></div>`\n * })\n * class RootComponent {}\n *\n * // Bootstrap an application.\n * const applicationRef = await bootstrapApplication(RootComponent);\n *\n * // Locate a DOM node that would be used as a host.\n * const host = document.getElementById('hello-component-host');\n *\n * // Get an `EnvironmentInjector` instance from the `ApplicationRef`.\n * const environmentInjector = applicationRef.injector;\n *\n * // We can now create a `ComponentRef` instance.\n * const componentRef = createComponent(HelloComponent, {host, environmentInjector});\n *\n * // Last step is to register the newly created ref using the `ApplicationRef` instance\n * // to include the component view into change detection cycles.\n * applicationRef.attachView(componentRef.hostView);\n * ```\n *\n * @param component Component class reference.\n * @param options Set of options to use:\n *  * `environmentInjector`: An `EnvironmentInjector` instance to be used for the component, see\n * additional info about it at https://angular.io/guide/standalone-components#environment-injectors.\n *  * `hostElement` (optional): A DOM node that should act as a host node for the component. If not\n * provided, Angular creates one based on the tag name used in the component selector (and falls\n * back to using `div` if selector doesn't have tag name info).\n *  * `elementInjector` (optional): An `ElementInjector` instance, see additional info about it at\n * https://angular.io/guide/hierarchical-dependency-injection#elementinjector.\n *  * `projectableNodes` (optional): A list of DOM nodes that should be projected through\n *                      [`<ng-content>`](api/core/ng-content) of the new component instance.\n * @returns ComponentRef instance that represents a given Component.\n *\n * @publicApi\n */\nfunction createComponent(component, options) {\n    ngDevMode && assertComponentDef(component);\n    const componentDef = getComponentDef(component);\n    const elementInjector = options.elementInjector || getNullInjector();\n    const factory = new ComponentFactory(componentDef);\n    return factory.create(elementInjector, options.projectableNodes, options.hostElement, options.environmentInjector);\n}\n/**\n * Creates an object that allows to retrieve component metadata.\n *\n * @usageNotes\n *\n * The example below demonstrates how to use the function and how the fields\n * of the returned object map to the component metadata.\n *\n * ```typescript\n * @Component({\n *   standalone: true,\n *   selector: 'foo-component',\n *   template: `\n *     <ng-content></ng-content>\n *     <ng-content select=\"content-selector-a\"></ng-content>\n *   `,\n * })\n * class FooComponent {\n *   @Input('inputName') inputPropName: string;\n *   @Output('outputName') outputPropName = new EventEmitter<void>();\n * }\n *\n * const mirror = reflectComponentType(FooComponent);\n * expect(mirror.type).toBe(FooComponent);\n * expect(mirror.selector).toBe('foo-component');\n * expect(mirror.isStandalone).toBe(true);\n * expect(mirror.inputs).toEqual([{propName: 'inputName', templateName: 'inputPropName'}]);\n * expect(mirror.outputs).toEqual([{propName: 'outputName', templateName: 'outputPropName'}]);\n * expect(mirror.ngContentSelectors).toEqual([\n *   '*',                 // first `<ng-content>` in a template, the selector defaults to `*`\n *   'content-selector-a' // second `<ng-content>` in a template\n * ]);\n * ```\n *\n * @param component Component class reference.\n * @returns An object that allows to retrieve component metadata.\n *\n * @publicApi\n */\nfunction reflectComponentType(component) {\n    const componentDef = getComponentDef(component);\n    if (!componentDef)\n        return null;\n    const factory = new ComponentFactory(componentDef);\n    return {\n        get selector() {\n            return factory.selector;\n        },\n        get type() {\n            return factory.componentType;\n        },\n        get inputs() {\n            return factory.inputs;\n        },\n        get outputs() {\n            return factory.outputs;\n        },\n        get ngContentSelectors() {\n            return factory.ngContentSelectors;\n        },\n        get isStandalone() {\n            return componentDef.standalone;\n        },\n    };\n}\n\n/**\n * @module\n * @description\n * Entry point from which you should import all public core APIs.\n */\nif (typeof ngDevMode !== 'undefined' && ngDevMode) {\n    // This helper is to give a reasonable error message to people upgrading to v9 that have not yet\n    // installed `@angular/localize` in their app.\n    // tslint:disable-next-line: no-toplevel-property-access\n    _global.$localize = _global.$localize || function () {\n        throw new Error('It looks like your application or one of its dependencies is using i18n.\\n' +\n            'Angular 9 introduced a global `$localize()` function that needs to be loaded.\\n' +\n            'Please run `ng add @angular/localize` from the Angular CLI.\\n' +\n            '(For non-CLI projects, add `import \\'@angular/localize/init\\';` to your `polyfills.ts` file.\\n' +\n            'For server-side rendering applications add the import to your `main.server.ts` file.)');\n    };\n}\n\n/**\n * @module\n * @description\n * Entry point for all public APIs of this package.\n */\n// This file only reexports content of the `src` folder. Keep it that way.\n\n/* This file is not used to build this module. It is only used during editing\n * by the TypeScript language service and during build for verification. `ngc`\n * replaces this file with production index.ts when it rewrites private symbol\n * names.\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { ANALYZE_FOR_ENTRY_COMPONENTS, ANIMATION_MODULE_TYPE, APP_BOOTSTRAP_LISTENER, APP_ID, APP_INITIALIZER, ApplicationInitStatus, ApplicationModule, ApplicationRef, Attribute, COMPILER_OPTIONS, CUSTOM_ELEMENTS_SCHEMA, ChangeDetectionStrategy, ChangeDetectorRef, Compiler, CompilerFactory, Component, ComponentFactory$1 as ComponentFactory, ComponentFactoryResolver$1 as ComponentFactoryResolver, ComponentRef$1 as ComponentRef, ContentChild, ContentChildren, DEFAULT_CURRENCY_CODE, DebugElement, DebugEventListener, DebugNode, DefaultIterableDiffer, Directive, ENVIRONMENT_INITIALIZER, ElementRef, EmbeddedViewRef, EnvironmentInjector, ErrorHandler, EventEmitter, Host, HostBinding, HostListener, INJECTOR, Inject, InjectFlags, Injectable, InjectionToken, Injector, Input, IterableDiffers, KeyValueDiffers, LOCALE_ID, MissingTranslationStrategy, ModuleWithComponentFactories, NO_ERRORS_SCHEMA, NgModule, NgModuleFactory$1 as NgModuleFactory, NgModuleRef$1 as NgModuleRef, NgProbeToken, NgZone, Optional, Output, PACKAGE_ROOT_URL, PLATFORM_ID, PLATFORM_INITIALIZER, Pipe, PlatformRef, Query, QueryList, ReflectiveInjector, ReflectiveKey, Renderer2, RendererFactory2, RendererStyleFlags2, ResolvedReflectiveFactory, Sanitizer, SecurityContext, Self, SimpleChange, SkipSelf, TRANSLATIONS, TRANSLATIONS_FORMAT, TemplateRef, Testability, TestabilityRegistry, Type, VERSION, Version, ViewChild, ViewChildren, ViewContainerRef, ViewEncapsulation$1 as ViewEncapsulation, ViewRef, asNativeElements, assertPlatform, createComponent, createEnvironmentInjector, createNgModule, createNgModuleRef, createPlatform, createPlatformFactory, defineInjectable, destroyPlatform, enableProdMode, forwardRef, getDebugNode, getModuleFactory, getNgModuleById, getPlatform, importProvidersFrom, inject, isDevMode, isStandalone, makeEnvironmentProviders, platformCore, reflectComponentType, resolveForwardRef, setTestabilityGetter, ALLOW_MULTIPLE_PLATFORMS as ɵALLOW_MULTIPLE_PLATFORMS, APP_ID_RANDOM_PROVIDER as ɵAPP_ID_RANDOM_PROVIDER, ComponentFactory$1 as ɵComponentFactory, Console as ɵConsole, DEFAULT_LOCALE_ID as ɵDEFAULT_LOCALE_ID, INJECTOR_SCOPE as ɵINJECTOR_SCOPE, LContext as ɵLContext, LifecycleHooksFeature as ɵLifecycleHooksFeature, LocaleDataIndex as ɵLocaleDataIndex, NG_COMP_DEF as ɵNG_COMP_DEF, NG_DIR_DEF as ɵNG_DIR_DEF, NG_ELEMENT_ID as ɵNG_ELEMENT_ID, NG_INJ_DEF as ɵNG_INJ_DEF, NG_MOD_DEF as ɵNG_MOD_DEF, NG_PIPE_DEF as ɵNG_PIPE_DEF, NG_PROV_DEF as ɵNG_PROV_DEF, NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR as ɵNOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR, NO_CHANGE as ɵNO_CHANGE, NgModuleFactory as ɵNgModuleFactory, NoopNgZone as ɵNoopNgZone, ReflectionCapabilities as ɵReflectionCapabilities, ComponentFactory as ɵRender3ComponentFactory, ComponentRef as ɵRender3ComponentRef, NgModuleRef as ɵRender3NgModuleRef, RuntimeError as ɵRuntimeError, TESTABILITY as ɵTESTABILITY, TESTABILITY_GETTER as ɵTESTABILITY_GETTER, ViewRef$1 as ɵViewRef, XSS_SECURITY_URL as ɵXSS_SECURITY_URL, _sanitizeHtml as ɵ_sanitizeHtml, _sanitizeUrl as ɵ_sanitizeUrl, allowSanitizationBypassAndThrow as ɵallowSanitizationBypassAndThrow, bypassSanitizationTrustHtml as ɵbypassSanitizationTrustHtml, bypassSanitizationTrustResourceUrl as ɵbypassSanitizationTrustResourceUrl, bypassSanitizationTrustScript as ɵbypassSanitizationTrustScript, bypassSanitizationTrustStyle as ɵbypassSanitizationTrustStyle, bypassSanitizationTrustUrl as ɵbypassSanitizationTrustUrl, clearResolutionOfComponentResourcesQueue as ɵclearResolutionOfComponentResourcesQueue, coerceToBoolean as ɵcoerceToBoolean, compileComponent as ɵcompileComponent, compileDirective as ɵcompileDirective, compileNgModule as ɵcompileNgModule, compileNgModuleDefs as ɵcompileNgModuleDefs, compileNgModuleFactory as ɵcompileNgModuleFactory, compilePipe as ɵcompilePipe, convertToBitFlags as ɵconvertToBitFlags, createInjector as ɵcreateInjector, defaultIterableDiffers as ɵdefaultIterableDiffers, defaultKeyValueDiffers as ɵdefaultKeyValueDiffers, detectChanges as ɵdetectChanges, devModeEqual as ɵdevModeEqual, findLocaleData as ɵfindLocaleData, flushModuleScopingQueueAsMuchAsPossible as ɵflushModuleScopingQueueAsMuchAsPossible, formatRuntimeError as ɵformatRuntimeError, getDebugNode as ɵgetDebugNode, getDebugNodeR2 as ɵgetDebugNodeR2, getDirectives as ɵgetDirectives, getHostElement as ɵgetHostElement, getInjectableDef as ɵgetInjectableDef, getLContext as ɵgetLContext, getLocaleCurrencyCode as ɵgetLocaleCurrencyCode, getLocalePluralCase as ɵgetLocalePluralCase, getSanitizationBypassType as ɵgetSanitizationBypassType, ɵgetUnknownElementStrictMode, ɵgetUnknownPropertyStrictMode, _global as ɵglobal, injectChangeDetectorRef as ɵinjectChangeDetectorRef, internalCreateApplication as ɵinternalCreateApplication, isBoundToModule as ɵisBoundToModule, isEnvironmentProviders as ɵisEnvironmentProviders, isInjectable as ɵisInjectable, isNgModule as ɵisNgModule, isObservable as ɵisObservable, isPromise as ɵisPromise, isSubscribable as ɵisSubscribable, makeDecorator as ɵmakeDecorator, noSideEffects as ɵnoSideEffects, patchComponentDefWithScope as ɵpatchComponentDefWithScope, publishDefaultGlobalUtils$1 as ɵpublishDefaultGlobalUtils, publishGlobalUtil as ɵpublishGlobalUtil, registerLocaleData as ɵregisterLocaleData, resetCompiledComponents as ɵresetCompiledComponents, resetJitOptions as ɵresetJitOptions, resolveComponentResources as ɵresolveComponentResources, setAllowDuplicateNgModuleIdsForTest as ɵsetAllowDuplicateNgModuleIdsForTest, setClassMetadata as ɵsetClassMetadata, setCurrentInjector as ɵsetCurrentInjector, setDocument as ɵsetDocument, setLocaleId as ɵsetLocaleId, ɵsetUnknownElementStrictMode, ɵsetUnknownPropertyStrictMode, store as ɵstore, stringify as ɵstringify, transitiveScopesFor as ɵtransitiveScopesFor, unregisterAllLocaleData as ɵunregisterLocaleData, unwrapSafeValue as ɵunwrapSafeValue, ɵɵCopyDefinitionFeature, FactoryTarget as ɵɵFactoryTarget, ɵɵHostDirectivesFeature, ɵɵInheritDefinitionFeature, ɵɵNgOnChangesFeature, ɵɵProvidersFeature, ɵɵStandaloneFeature, ɵɵadvance, ɵɵattribute, ɵɵattributeInterpolate1, ɵɵattributeInterpolate2, ɵɵattributeInterpolate3, ɵɵattributeInterpolate4, ɵɵattributeInterpolate5, ɵɵattributeInterpolate6, ɵɵattributeInterpolate7, ɵɵattributeInterpolate8, ɵɵattributeInterpolateV, ɵɵclassMap, ɵɵclassMapInterpolate1, ɵɵclassMapInterpolate2, ɵɵclassMapInterpolate3, ɵɵclassMapInterpolate4, ɵɵclassMapInterpolate5, ɵɵclassMapInterpolate6, ɵɵclassMapInterpolate7, ɵɵclassMapInterpolate8, ɵɵclassMapInterpolateV, ɵɵclassProp, ɵɵcontentQuery, ɵɵdefineComponent, ɵɵdefineDirective, ɵɵdefineInjectable, ɵɵdefineInjector, ɵɵdefineNgModule, ɵɵdefinePipe, ɵɵdirectiveInject, ɵɵdisableBindings, ɵɵelement, ɵɵelementContainer, ɵɵelementContainerEnd, ɵɵelementContainerStart, ɵɵelementEnd, ɵɵelementStart, ɵɵenableBindings, ɵɵgetCurrentView, ɵɵgetInheritedFactory, ɵɵhostProperty, ɵɵi18n, ɵɵi18nApply, ɵɵi18nAttributes, ɵɵi18nEnd, ɵɵi18nExp, ɵɵi18nPostprocess, ɵɵi18nStart, ɵɵinject, ɵɵinjectAttribute, ɵɵinvalidFactory, ɵɵinvalidFactoryDep, ɵɵlistener, ɵɵloadQuery, ɵɵnamespaceHTML, ɵɵnamespaceMathML, ɵɵnamespaceSVG, ɵɵnextContext, ɵɵngDeclareClassMetadata, ɵɵngDeclareComponent, ɵɵngDeclareDirective, ɵɵngDeclareFactory, ɵɵngDeclareInjectable, ɵɵngDeclareInjector, ɵɵngDeclareNgModule, ɵɵngDeclarePipe, ɵɵpipe, ɵɵpipeBind1, ɵɵpipeBind2, ɵɵpipeBind3, ɵɵpipeBind4, ɵɵpipeBindV, ɵɵprojection, ɵɵprojectionDef, ɵɵproperty, ɵɵpropertyInterpolate, ɵɵpropertyInterpolate1, ɵɵpropertyInterpolate2, ɵɵpropertyInterpolate3, ɵɵpropertyInterpolate4, ɵɵpropertyInterpolate5, ɵɵpropertyInterpolate6, ɵɵpropertyInterpolate7, ɵɵpropertyInterpolate8, ɵɵpropertyInterpolateV, ɵɵpureFunction0, ɵɵpureFunction1, ɵɵpureFunction2, ɵɵpureFunction3, ɵɵpureFunction4, ɵɵpureFunction5, ɵɵpureFunction6, ɵɵpureFunction7, ɵɵpureFunction8, ɵɵpureFunctionV, ɵɵqueryRefresh, ɵɵreference, registerNgModuleType as ɵɵregisterNgModuleType, ɵɵresetView, ɵɵresolveBody, ɵɵresolveDocument, ɵɵresolveWindow, ɵɵrestoreView, ɵɵsanitizeHtml, ɵɵsanitizeResourceUrl, ɵɵsanitizeScript, ɵɵsanitizeStyle, ɵɵsanitizeUrl, ɵɵsanitizeUrlOrResourceUrl, ɵɵsetComponentScope, ɵɵsetNgModuleScope, ɵɵstyleMap, ɵɵstyleMapInterpolate1, ɵɵstyleMapInterpolate2, ɵɵstyleMapInterpolate3, ɵɵstyleMapInterpolate4, ɵɵstyleMapInterpolate5, ɵɵstyleMapInterpolate6, ɵɵstyleMapInterpolate7, ɵɵstyleMapInterpolate8, ɵɵstyleMapInterpolateV, ɵɵstyleProp, ɵɵstylePropInterpolate1, ɵɵstylePropInterpolate2, ɵɵstylePropInterpolate3, ɵɵstylePropInterpolate4, ɵɵstylePropInterpolate5, ɵɵstylePropInterpolate6, ɵɵstylePropInterpolate7, ɵɵstylePropInterpolate8, ɵɵstylePropInterpolateV, ɵɵsyntheticHostListener, ɵɵsyntheticHostProperty, ɵɵtemplate, ɵɵtemplateRefExtractor, ɵɵtext, ɵɵtextInterpolate, ɵɵtextInterpolate1, ɵɵtextInterpolate2, ɵɵtextInterpolate3, ɵɵtextInterpolate4, ɵɵtextInterpolate5, ɵɵtextInterpolate6, ɵɵtextInterpolate7, ɵɵtextInterpolate8, ɵɵtextInterpolateV, ɵɵtrustConstantHtml, ɵɵtrustConstantResourceUrl, ɵɵvalidateIframeAttribute, ɵɵviewQuery };\n","/**\n * @license Angular v15.2.10\n * (c) 2010-2022 Google LLC. https://angular.io/\n * License: MIT\n */\n\nimport * as i0 from '@angular/core';\nimport { Directive, InjectionToken, forwardRef, Optional, Inject, ɵisPromise, ɵisObservable, ɵRuntimeError, Self, EventEmitter, Input, Host, SkipSelf, ɵcoerceToBoolean, ChangeDetectorRef, Output, NgModule, Injectable, inject, Version } from '@angular/core';\nimport { ɵgetDOM } from '@angular/common';\nimport { from, forkJoin } from 'rxjs';\nimport { map } from 'rxjs/operators';\n\n/**\n * Base class for all ControlValueAccessor classes defined in Forms package.\n * Contains common logic and utility functions.\n *\n * Note: this is an *internal-only* class and should not be extended or used directly in\n * applications code.\n */\nclass BaseControlValueAccessor {\n    constructor(_renderer, _elementRef) {\n        this._renderer = _renderer;\n        this._elementRef = _elementRef;\n        /**\n         * The registered callback function called when a change or input event occurs on the input\n         * element.\n         * @nodoc\n         */\n        this.onChange = (_) => { };\n        /**\n         * The registered callback function called when a blur event occurs on the input element.\n         * @nodoc\n         */\n        this.onTouched = () => { };\n    }\n    /**\n     * Helper method that sets a property on a target element using the current Renderer\n     * implementation.\n     * @nodoc\n     */\n    setProperty(key, value) {\n        this._renderer.setProperty(this._elementRef.nativeElement, key, value);\n    }\n    /**\n     * Registers a function called when the control is touched.\n     * @nodoc\n     */\n    registerOnTouched(fn) {\n        this.onTouched = fn;\n    }\n    /**\n     * Registers a function called when the control value changes.\n     * @nodoc\n     */\n    registerOnChange(fn) {\n        this.onChange = fn;\n    }\n    /**\n     * Sets the \"disabled\" property on the range input element.\n     * @nodoc\n     */\n    setDisabledState(isDisabled) {\n        this.setProperty('disabled', isDisabled);\n    }\n}\nBaseControlValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: BaseControlValueAccessor, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });\nBaseControlValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.2.10\", type: BaseControlValueAccessor, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: BaseControlValueAccessor, decorators: [{\n            type: Directive\n        }], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; } });\n/**\n * Base class for all built-in ControlValueAccessor classes (except DefaultValueAccessor, which is\n * used in case no other CVAs can be found). We use this class to distinguish between default CVA,\n * built-in CVAs and custom CVAs, so that Forms logic can recognize built-in CVAs and treat custom\n * ones with higher priority (when both built-in and custom CVAs are present).\n *\n * Note: this is an *internal-only* class and should not be extended or used directly in\n * applications code.\n */\nclass BuiltInControlValueAccessor extends BaseControlValueAccessor {\n}\nBuiltInControlValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: BuiltInControlValueAccessor, deps: null, target: i0.ɵɵFactoryTarget.Directive });\nBuiltInControlValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.2.10\", type: BuiltInControlValueAccessor, usesInheritance: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: BuiltInControlValueAccessor, decorators: [{\n            type: Directive\n        }] });\n/**\n * Used to provide a `ControlValueAccessor` for form controls.\n *\n * See `DefaultValueAccessor` for how to implement one.\n *\n * @publicApi\n */\nconst NG_VALUE_ACCESSOR = new InjectionToken('NgValueAccessor');\n\nconst CHECKBOX_VALUE_ACCESSOR = {\n    provide: NG_VALUE_ACCESSOR,\n    useExisting: forwardRef(() => CheckboxControlValueAccessor),\n    multi: true,\n};\n/**\n * @description\n * A `ControlValueAccessor` for writing a value and listening to changes on a checkbox input\n * element.\n *\n * @usageNotes\n *\n * ### Using a checkbox with a reactive form.\n *\n * The following example shows how to use a checkbox with a reactive form.\n *\n * ```ts\n * const rememberLoginControl = new FormControl();\n * ```\n *\n * ```\n * <input type=\"checkbox\" [formControl]=\"rememberLoginControl\">\n * ```\n *\n * @ngModule ReactiveFormsModule\n * @ngModule FormsModule\n * @publicApi\n */\nclass CheckboxControlValueAccessor extends BuiltInControlValueAccessor {\n    /**\n     * Sets the \"checked\" property on the input element.\n     * @nodoc\n     */\n    writeValue(value) {\n        this.setProperty('checked', value);\n    }\n}\nCheckboxControlValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: CheckboxControlValueAccessor, deps: null, target: i0.ɵɵFactoryTarget.Directive });\nCheckboxControlValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.2.10\", type: CheckboxControlValueAccessor, selector: \"input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]\", host: { listeners: { \"change\": \"onChange($event.target.checked)\", \"blur\": \"onTouched()\" } }, providers: [CHECKBOX_VALUE_ACCESSOR], usesInheritance: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: CheckboxControlValueAccessor, decorators: [{\n            type: Directive,\n            args: [{\n                    selector: 'input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]',\n                    host: { '(change)': 'onChange($event.target.checked)', '(blur)': 'onTouched()' },\n                    providers: [CHECKBOX_VALUE_ACCESSOR]\n                }]\n        }] });\n\nconst DEFAULT_VALUE_ACCESSOR = {\n    provide: NG_VALUE_ACCESSOR,\n    useExisting: forwardRef(() => DefaultValueAccessor),\n    multi: true\n};\n/**\n * We must check whether the agent is Android because composition events\n * behave differently between iOS and Android.\n */\nfunction _isAndroid() {\n    const userAgent = ɵgetDOM() ? ɵgetDOM().getUserAgent() : '';\n    return /android (\\d+)/.test(userAgent.toLowerCase());\n}\n/**\n * @description\n * Provide this token to control if form directives buffer IME input until\n * the \"compositionend\" event occurs.\n * @publicApi\n */\nconst COMPOSITION_BUFFER_MODE = new InjectionToken('CompositionEventMode');\n/**\n * The default `ControlValueAccessor` for writing a value and listening to changes on input\n * elements. The accessor is used by the `FormControlDirective`, `FormControlName`, and\n * `NgModel` directives.\n *\n * {@searchKeywords ngDefaultControl}\n *\n * @usageNotes\n *\n * ### Using the default value accessor\n *\n * The following example shows how to use an input element that activates the default value accessor\n * (in this case, a text field).\n *\n * ```ts\n * const firstNameControl = new FormControl();\n * ```\n *\n * ```\n * <input type=\"text\" [formControl]=\"firstNameControl\">\n * ```\n *\n * This value accessor is used by default for `<input type=\"text\">` and `<textarea>` elements, but\n * you could also use it for custom components that have similar behavior and do not require special\n * processing. In order to attach the default value accessor to a custom element, add the\n * `ngDefaultControl` attribute as shown below.\n *\n * ```\n * <custom-input-component ngDefaultControl [(ngModel)]=\"value\"></custom-input-component>\n * ```\n *\n * @ngModule ReactiveFormsModule\n * @ngModule FormsModule\n * @publicApi\n */\nclass DefaultValueAccessor extends BaseControlValueAccessor {\n    constructor(renderer, elementRef, _compositionMode) {\n        super(renderer, elementRef);\n        this._compositionMode = _compositionMode;\n        /** Whether the user is creating a composition string (IME events). */\n        this._composing = false;\n        if (this._compositionMode == null) {\n            this._compositionMode = !_isAndroid();\n        }\n    }\n    /**\n     * Sets the \"value\" property on the input element.\n     * @nodoc\n     */\n    writeValue(value) {\n        const normalizedValue = value == null ? '' : value;\n        this.setProperty('value', normalizedValue);\n    }\n    /** @internal */\n    _handleInput(value) {\n        if (!this._compositionMode || (this._compositionMode && !this._composing)) {\n            this.onChange(value);\n        }\n    }\n    /** @internal */\n    _compositionStart() {\n        this._composing = true;\n    }\n    /** @internal */\n    _compositionEnd(value) {\n        this._composing = false;\n        this._compositionMode && this.onChange(value);\n    }\n}\nDefaultValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: DefaultValueAccessor, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: COMPOSITION_BUFFER_MODE, optional: true }], target: i0.ɵɵFactoryTarget.Directive });\nDefaultValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.2.10\", type: DefaultValueAccessor, selector: \"input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]\", host: { listeners: { \"input\": \"$any(this)._handleInput($event.target.value)\", \"blur\": \"onTouched()\", \"compositionstart\": \"$any(this)._compositionStart()\", \"compositionend\": \"$any(this)._compositionEnd($event.target.value)\" } }, providers: [DEFAULT_VALUE_ACCESSOR], usesInheritance: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: DefaultValueAccessor, decorators: [{\n            type: Directive,\n            args: [{\n                    selector: 'input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]',\n                    // TODO: vsavkin replace the above selector with the one below it once\n                    // https://github.com/angular/angular/issues/3011 is implemented\n                    // selector: '[ngModel],[formControl],[formControlName]',\n                    host: {\n                        '(input)': '$any(this)._handleInput($event.target.value)',\n                        '(blur)': 'onTouched()',\n                        '(compositionstart)': '$any(this)._compositionStart()',\n                        '(compositionend)': '$any(this)._compositionEnd($event.target.value)'\n                    },\n                    providers: [DEFAULT_VALUE_ACCESSOR]\n                }]\n        }], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }, { type: undefined, decorators: [{\n                    type: Optional\n                }, {\n                    type: Inject,\n                    args: [COMPOSITION_BUFFER_MODE]\n                }] }]; } });\n\nconst NG_DEV_MODE$1 = typeof ngDevMode === 'undefined' || !!ngDevMode;\nfunction isEmptyInputValue(value) {\n    /**\n     * Check if the object is a string or array before evaluating the length attribute.\n     * This avoids falsely rejecting objects that contain a custom length attribute.\n     * For example, the object {id: 1, length: 0, width: 0} should not be returned as empty.\n     */\n    return value == null ||\n        ((typeof value === 'string' || Array.isArray(value)) && value.length === 0);\n}\nfunction hasValidLength(value) {\n    // non-strict comparison is intentional, to check for both `null` and `undefined` values\n    return value != null && typeof value.length === 'number';\n}\n/**\n * @description\n * An `InjectionToken` for registering additional synchronous validators used with\n * `AbstractControl`s.\n *\n * @see `NG_ASYNC_VALIDATORS`\n *\n * @usageNotes\n *\n * ### Providing a custom validator\n *\n * The following example registers a custom validator directive. Adding the validator to the\n * existing collection of validators requires the `multi: true` option.\n *\n * ```typescript\n * @Directive({\n *   selector: '[customValidator]',\n *   providers: [{provide: NG_VALIDATORS, useExisting: CustomValidatorDirective, multi: true}]\n * })\n * class CustomValidatorDirective implements Validator {\n *   validate(control: AbstractControl): ValidationErrors | null {\n *     return { 'custom': true };\n *   }\n * }\n * ```\n *\n * @publicApi\n */\nconst NG_VALIDATORS = new InjectionToken('NgValidators');\n/**\n * @description\n * An `InjectionToken` for registering additional asynchronous validators used with\n * `AbstractControl`s.\n *\n * @see `NG_VALIDATORS`\n *\n * @usageNotes\n *\n * ### Provide a custom async validator directive\n *\n * The following example implements the `AsyncValidator` interface to create an\n * async validator directive with a custom error key.\n *\n * ```typescript\n * @Directive({\n *   selector: '[customAsyncValidator]',\n *   providers: [{provide: NG_ASYNC_VALIDATORS, useExisting: CustomAsyncValidatorDirective, multi:\n * true}]\n * })\n * class CustomAsyncValidatorDirective implements AsyncValidator {\n *   validate(control: AbstractControl): Promise<ValidationErrors|null> {\n *     return Promise.resolve({'custom': true});\n *   }\n * }\n * ```\n *\n * @publicApi\n */\nconst NG_ASYNC_VALIDATORS = new InjectionToken('NgAsyncValidators');\n/**\n * A regular expression that matches valid e-mail addresses.\n *\n * At a high level, this regexp matches e-mail addresses of the format `local-part@tld`, where:\n * - `local-part` consists of one or more of the allowed characters (alphanumeric and some\n *   punctuation symbols).\n * - `local-part` cannot begin or end with a period (`.`).\n * - `local-part` cannot be longer than 64 characters.\n * - `tld` consists of one or more `labels` separated by periods (`.`). For example `localhost` or\n *   `foo.com`.\n * - A `label` consists of one or more of the allowed characters (alphanumeric, dashes (`-`) and\n *   periods (`.`)).\n * - A `label` cannot begin or end with a dash (`-`) or a period (`.`).\n * - A `label` cannot be longer than 63 characters.\n * - The whole address cannot be longer than 254 characters.\n *\n * ## Implementation background\n *\n * This regexp was ported over from AngularJS (see there for git history):\n * https://github.com/angular/angular.js/blob/c133ef836/src/ng/directive/input.js#L27\n * It is based on the\n * [WHATWG version](https://html.spec.whatwg.org/multipage/input.html#valid-e-mail-address) with\n * some enhancements to incorporate more RFC rules (such as rules related to domain names and the\n * lengths of different parts of the address). The main differences from the WHATWG version are:\n *   - Disallow `local-part` to begin or end with a period (`.`).\n *   - Disallow `local-part` length to exceed 64 characters.\n *   - Disallow total address length to exceed 254 characters.\n *\n * See [this commit](https://github.com/angular/angular.js/commit/f3f5cf72e) for more details.\n */\nconst EMAIL_REGEXP = /^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;\n/**\n * @description\n * Provides a set of built-in validators that can be used by form controls.\n *\n * A validator is a function that processes a `FormControl` or collection of\n * controls and returns an error map or null. A null map means that validation has passed.\n *\n * @see [Form Validation](/guide/form-validation)\n *\n * @publicApi\n */\nclass Validators {\n    /**\n     * @description\n     * Validator that requires the control's value to be greater than or equal to the provided number.\n     *\n     * @usageNotes\n     *\n     * ### Validate against a minimum of 3\n     *\n     * ```typescript\n     * const control = new FormControl(2, Validators.min(3));\n     *\n     * console.log(control.errors); // {min: {min: 3, actual: 2}}\n     * ```\n     *\n     * @returns A validator function that returns an error map with the\n     * `min` property if the validation check fails, otherwise `null`.\n     *\n     * @see `updateValueAndValidity()`\n     *\n     */\n    static min(min) {\n        return minValidator(min);\n    }\n    /**\n     * @description\n     * Validator that requires the control's value to be less than or equal to the provided number.\n     *\n     * @usageNotes\n     *\n     * ### Validate against a maximum of 15\n     *\n     * ```typescript\n     * const control = new FormControl(16, Validators.max(15));\n     *\n     * console.log(control.errors); // {max: {max: 15, actual: 16}}\n     * ```\n     *\n     * @returns A validator function that returns an error map with the\n     * `max` property if the validation check fails, otherwise `null`.\n     *\n     * @see `updateValueAndValidity()`\n     *\n     */\n    static max(max) {\n        return maxValidator(max);\n    }\n    /**\n     * @description\n     * Validator that requires the control have a non-empty value.\n     *\n     * @usageNotes\n     *\n     * ### Validate that the field is non-empty\n     *\n     * ```typescript\n     * const control = new FormControl('', Validators.required);\n     *\n     * console.log(control.errors); // {required: true}\n     * ```\n     *\n     * @returns An error map with the `required` property\n     * if the validation check fails, otherwise `null`.\n     *\n     * @see `updateValueAndValidity()`\n     *\n     */\n    static required(control) {\n        return requiredValidator(control);\n    }\n    /**\n     * @description\n     * Validator that requires the control's value be true. This validator is commonly\n     * used for required checkboxes.\n     *\n     * @usageNotes\n     *\n     * ### Validate that the field value is true\n     *\n     * ```typescript\n     * const control = new FormControl('some value', Validators.requiredTrue);\n     *\n     * console.log(control.errors); // {required: true}\n     * ```\n     *\n     * @returns An error map that contains the `required` property\n     * set to `true` if the validation check fails, otherwise `null`.\n     *\n     * @see `updateValueAndValidity()`\n     *\n     */\n    static requiredTrue(control) {\n        return requiredTrueValidator(control);\n    }\n    /**\n     * @description\n     * Validator that requires the control's value pass an email validation test.\n     *\n     * Tests the value using a [regular\n     * expression](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions)\n     * pattern suitable for common use cases. The pattern is based on the definition of a valid email\n     * address in the [WHATWG HTML\n     * specification](https://html.spec.whatwg.org/multipage/input.html#valid-e-mail-address) with\n     * some enhancements to incorporate more RFC rules (such as rules related to domain names and the\n     * lengths of different parts of the address).\n     *\n     * The differences from the WHATWG version include:\n     * - Disallow `local-part` (the part before the `@` symbol) to begin or end with a period (`.`).\n     * - Disallow `local-part` to be longer than 64 characters.\n     * - Disallow the whole address to be longer than 254 characters.\n     *\n     * If this pattern does not satisfy your business needs, you can use `Validators.pattern()` to\n     * validate the value against a different pattern.\n     *\n     * @usageNotes\n     *\n     * ### Validate that the field matches a valid email pattern\n     *\n     * ```typescript\n     * const control = new FormControl('bad@', Validators.email);\n     *\n     * console.log(control.errors); // {email: true}\n     * ```\n     *\n     * @returns An error map with the `email` property\n     * if the validation check fails, otherwise `null`.\n     *\n     * @see `updateValueAndValidity()`\n     *\n     */\n    static email(control) {\n        return emailValidator(control);\n    }\n    /**\n     * @description\n     * Validator that requires the length of the control's value to be greater than or equal\n     * to the provided minimum length. This validator is also provided by default if you use the\n     * the HTML5 `minlength` attribute. Note that the `minLength` validator is intended to be used\n     * only for types that have a numeric `length` property, such as strings or arrays. The\n     * `minLength` validator logic is also not invoked for values when their `length` property is 0\n     * (for example in case of an empty string or an empty array), to support optional controls. You\n     * can use the standard `required` validator if empty values should not be considered valid.\n     *\n     * @usageNotes\n     *\n     * ### Validate that the field has a minimum of 3 characters\n     *\n     * ```typescript\n     * const control = new FormControl('ng', Validators.minLength(3));\n     *\n     * console.log(control.errors); // {minlength: {requiredLength: 3, actualLength: 2}}\n     * ```\n     *\n     * ```html\n     * <input minlength=\"5\">\n     * ```\n     *\n     * @returns A validator function that returns an error map with the\n     * `minlength` property if the validation check fails, otherwise `null`.\n     *\n     * @see `updateValueAndValidity()`\n     *\n     */\n    static minLength(minLength) {\n        return minLengthValidator(minLength);\n    }\n    /**\n     * @description\n     * Validator that requires the length of the control's value to be less than or equal\n     * to the provided maximum length. This validator is also provided by default if you use the\n     * the HTML5 `maxlength` attribute. Note that the `maxLength` validator is intended to be used\n     * only for types that have a numeric `length` property, such as strings or arrays.\n     *\n     * @usageNotes\n     *\n     * ### Validate that the field has maximum of 5 characters\n     *\n     * ```typescript\n     * const control = new FormControl('Angular', Validators.maxLength(5));\n     *\n     * console.log(control.errors); // {maxlength: {requiredLength: 5, actualLength: 7}}\n     * ```\n     *\n     * ```html\n     * <input maxlength=\"5\">\n     * ```\n     *\n     * @returns A validator function that returns an error map with the\n     * `maxlength` property if the validation check fails, otherwise `null`.\n     *\n     * @see `updateValueAndValidity()`\n     *\n     */\n    static maxLength(maxLength) {\n        return maxLengthValidator(maxLength);\n    }\n    /**\n     * @description\n     * Validator that requires the control's value to match a regex pattern. This validator is also\n     * provided by default if you use the HTML5 `pattern` attribute.\n     *\n     * @usageNotes\n     *\n     * ### Validate that the field only contains letters or spaces\n     *\n     * ```typescript\n     * const control = new FormControl('1', Validators.pattern('[a-zA-Z ]*'));\n     *\n     * console.log(control.errors); // {pattern: {requiredPattern: '^[a-zA-Z ]*$', actualValue: '1'}}\n     * ```\n     *\n     * ```html\n     * <input pattern=\"[a-zA-Z ]*\">\n     * ```\n     *\n     * ### Pattern matching with the global or sticky flag\n     *\n     * `RegExp` objects created with the `g` or `y` flags that are passed into `Validators.pattern`\n     * can produce different results on the same input when validations are run consecutively. This is\n     * due to how the behavior of `RegExp.prototype.test` is\n     * specified in [ECMA-262](https://tc39.es/ecma262/#sec-regexpbuiltinexec)\n     * (`RegExp` preserves the index of the last match when the global or sticky flag is used).\n     * Due to this behavior, it is recommended that when using\n     * `Validators.pattern` you **do not** pass in a `RegExp` object with either the global or sticky\n     * flag enabled.\n     *\n     * ```typescript\n     * // Not recommended (since the `g` flag is used)\n     * const controlOne = new FormControl('1', Validators.pattern(/foo/g));\n     *\n     * // Good\n     * const controlTwo = new FormControl('1', Validators.pattern(/foo/));\n     * ```\n     *\n     * @param pattern A regular expression to be used as is to test the values, or a string.\n     * If a string is passed, the `^` character is prepended and the `$` character is\n     * appended to the provided string (if not already present), and the resulting regular\n     * expression is used to test the values.\n     *\n     * @returns A validator function that returns an error map with the\n     * `pattern` property if the validation check fails, otherwise `null`.\n     *\n     * @see `updateValueAndValidity()`\n     *\n     */\n    static pattern(pattern) {\n        return patternValidator(pattern);\n    }\n    /**\n     * @description\n     * Validator that performs no operation.\n     *\n     * @see `updateValueAndValidity()`\n     *\n     */\n    static nullValidator(control) {\n        return nullValidator(control);\n    }\n    static compose(validators) {\n        return compose(validators);\n    }\n    /**\n     * @description\n     * Compose multiple async validators into a single function that returns the union\n     * of the individual error objects for the provided control.\n     *\n     * @returns A validator function that returns an error map with the\n     * merged error objects of the async validators if the validation check fails, otherwise `null`.\n     *\n     * @see `updateValueAndValidity()`\n     *\n     */\n    static composeAsync(validators) {\n        return composeAsync(validators);\n    }\n}\n/**\n * Validator that requires the control's value to be greater than or equal to the provided number.\n * See `Validators.min` for additional information.\n */\nfunction minValidator(min) {\n    return (control) => {\n        if (isEmptyInputValue(control.value) || isEmptyInputValue(min)) {\n            return null; // don't validate empty values to allow optional controls\n        }\n        const value = parseFloat(control.value);\n        // Controls with NaN values after parsing should be treated as not having a\n        // minimum, per the HTML forms spec: https://www.w3.org/TR/html5/forms.html#attr-input-min\n        return !isNaN(value) && value < min ? { 'min': { 'min': min, 'actual': control.value } } : null;\n    };\n}\n/**\n * Validator that requires the control's value to be less than or equal to the provided number.\n * See `Validators.max` for additional information.\n */\nfunction maxValidator(max) {\n    return (control) => {\n        if (isEmptyInputValue(control.value) || isEmptyInputValue(max)) {\n            return null; // don't validate empty values to allow optional controls\n        }\n        const value = parseFloat(control.value);\n        // Controls with NaN values after parsing should be treated as not having a\n        // maximum, per the HTML forms spec: https://www.w3.org/TR/html5/forms.html#attr-input-max\n        return !isNaN(value) && value > max ? { 'max': { 'max': max, 'actual': control.value } } : null;\n    };\n}\n/**\n * Validator that requires the control have a non-empty value.\n * See `Validators.required` for additional information.\n */\nfunction requiredValidator(control) {\n    return isEmptyInputValue(control.value) ? { 'required': true } : null;\n}\n/**\n * Validator that requires the control's value be true. This validator is commonly\n * used for required checkboxes.\n * See `Validators.requiredTrue` for additional information.\n */\nfunction requiredTrueValidator(control) {\n    return control.value === true ? null : { 'required': true };\n}\n/**\n * Validator that requires the control's value pass an email validation test.\n * See `Validators.email` for additional information.\n */\nfunction emailValidator(control) {\n    if (isEmptyInputValue(control.value)) {\n        return null; // don't validate empty values to allow optional controls\n    }\n    return EMAIL_REGEXP.test(control.value) ? null : { 'email': true };\n}\n/**\n * Validator that requires the length of the control's value to be greater than or equal\n * to the provided minimum length. See `Validators.minLength` for additional information.\n */\nfunction minLengthValidator(minLength) {\n    return (control) => {\n        if (isEmptyInputValue(control.value) || !hasValidLength(control.value)) {\n            // don't validate empty values to allow optional controls\n            // don't validate values without `length` property\n            return null;\n        }\n        return control.value.length < minLength ?\n            { 'minlength': { 'requiredLength': minLength, 'actualLength': control.value.length } } :\n            null;\n    };\n}\n/**\n * Validator that requires the length of the control's value to be less than or equal\n * to the provided maximum length. See `Validators.maxLength` for additional information.\n */\nfunction maxLengthValidator(maxLength) {\n    return (control) => {\n        return hasValidLength(control.value) && control.value.length > maxLength ?\n            { 'maxlength': { 'requiredLength': maxLength, 'actualLength': control.value.length } } :\n            null;\n    };\n}\n/**\n * Validator that requires the control's value to match a regex pattern.\n * See `Validators.pattern` for additional information.\n */\nfunction patternValidator(pattern) {\n    if (!pattern)\n        return nullValidator;\n    let regex;\n    let regexStr;\n    if (typeof pattern === 'string') {\n        regexStr = '';\n        if (pattern.charAt(0) !== '^')\n            regexStr += '^';\n        regexStr += pattern;\n        if (pattern.charAt(pattern.length - 1) !== '$')\n            regexStr += '$';\n        regex = new RegExp(regexStr);\n    }\n    else {\n        regexStr = pattern.toString();\n        regex = pattern;\n    }\n    return (control) => {\n        if (isEmptyInputValue(control.value)) {\n            return null; // don't validate empty values to allow optional controls\n        }\n        const value = control.value;\n        return regex.test(value) ? null :\n            { 'pattern': { 'requiredPattern': regexStr, 'actualValue': value } };\n    };\n}\n/**\n * Function that has `ValidatorFn` shape, but performs no operation.\n */\nfunction nullValidator(control) {\n    return null;\n}\nfunction isPresent(o) {\n    return o != null;\n}\nfunction toObservable(value) {\n    const obs = ɵisPromise(value) ? from(value) : value;\n    if (NG_DEV_MODE$1 && !(ɵisObservable(obs))) {\n        let errorMessage = `Expected async validator to return Promise or Observable.`;\n        // A synchronous validator will return object or null.\n        if (typeof value === 'object') {\n            errorMessage +=\n                ' Are you using a synchronous validator where an async validator is expected?';\n        }\n        throw new ɵRuntimeError(-1101 /* RuntimeErrorCode.WRONG_VALIDATOR_RETURN_TYPE */, errorMessage);\n    }\n    return obs;\n}\nfunction mergeErrors(arrayOfErrors) {\n    let res = {};\n    arrayOfErrors.forEach((errors) => {\n        res = errors != null ? { ...res, ...errors } : res;\n    });\n    return Object.keys(res).length === 0 ? null : res;\n}\nfunction executeValidators(control, validators) {\n    return validators.map(validator => validator(control));\n}\nfunction isValidatorFn(validator) {\n    return !validator.validate;\n}\n/**\n * Given the list of validators that may contain both functions as well as classes, return the list\n * of validator functions (convert validator classes into validator functions). This is needed to\n * have consistent structure in validators list before composing them.\n *\n * @param validators The set of validators that may contain validators both in plain function form\n *     as well as represented as a validator class.\n */\nfunction normalizeValidators(validators) {\n    return validators.map(validator => {\n        return isValidatorFn(validator) ?\n            validator :\n            ((c) => validator.validate(c));\n    });\n}\n/**\n * Merges synchronous validators into a single validator function.\n * See `Validators.compose` for additional information.\n */\nfunction compose(validators) {\n    if (!validators)\n        return null;\n    const presentValidators = validators.filter(isPresent);\n    if (presentValidators.length == 0)\n        return null;\n    return function (control) {\n        return mergeErrors(executeValidators(control, presentValidators));\n    };\n}\n/**\n * Accepts a list of validators of different possible shapes (`Validator` and `ValidatorFn`),\n * normalizes the list (converts everything to `ValidatorFn`) and merges them into a single\n * validator function.\n */\nfunction composeValidators(validators) {\n    return validators != null ? compose(normalizeValidators(validators)) : null;\n}\n/**\n * Merges asynchronous validators into a single validator function.\n * See `Validators.composeAsync` for additional information.\n */\nfunction composeAsync(validators) {\n    if (!validators)\n        return null;\n    const presentValidators = validators.filter(isPresent);\n    if (presentValidators.length == 0)\n        return null;\n    return function (control) {\n        const observables = executeValidators(control, presentValidators).map(toObservable);\n        return forkJoin(observables).pipe(map(mergeErrors));\n    };\n}\n/**\n * Accepts a list of async validators of different possible shapes (`AsyncValidator` and\n * `AsyncValidatorFn`), normalizes the list (converts everything to `AsyncValidatorFn`) and merges\n * them into a single validator function.\n */\nfunction composeAsyncValidators(validators) {\n    return validators != null ? composeAsync(normalizeValidators(validators)) :\n        null;\n}\n/**\n * Merges raw control validators with a given directive validator and returns the combined list of\n * validators as an array.\n */\nfunction mergeValidators(controlValidators, dirValidator) {\n    if (controlValidators === null)\n        return [dirValidator];\n    return Array.isArray(controlValidators) ? [...controlValidators, dirValidator] :\n        [controlValidators, dirValidator];\n}\n/**\n * Retrieves the list of raw synchronous validators attached to a given control.\n */\nfunction getControlValidators(control) {\n    return control._rawValidators;\n}\n/**\n * Retrieves the list of raw asynchronous validators attached to a given control.\n */\nfunction getControlAsyncValidators(control) {\n    return control._rawAsyncValidators;\n}\n/**\n * Accepts a singleton validator, an array, or null, and returns an array type with the provided\n * validators.\n *\n * @param validators A validator, validators, or null.\n * @returns A validators array.\n */\nfunction makeValidatorsArray(validators) {\n    if (!validators)\n        return [];\n    return Array.isArray(validators) ? validators : [validators];\n}\n/**\n * Determines whether a validator or validators array has a given validator.\n *\n * @param validators The validator or validators to compare against.\n * @param validator The validator to check.\n * @returns Whether the validator is present.\n */\nfunction hasValidator(validators, validator) {\n    return Array.isArray(validators) ? validators.includes(validator) : validators === validator;\n}\n/**\n * Combines two arrays of validators into one. If duplicates are provided, only one will be added.\n *\n * @param validators The new validators.\n * @param currentValidators The base array of current validators.\n * @returns An array of validators.\n */\nfunction addValidators(validators, currentValidators) {\n    const current = makeValidatorsArray(currentValidators);\n    const validatorsToAdd = makeValidatorsArray(validators);\n    validatorsToAdd.forEach((v) => {\n        // Note: if there are duplicate entries in the new validators array,\n        // only the first one would be added to the current list of validators.\n        // Duplicate ones would be ignored since `hasValidator` would detect\n        // the presence of a validator function and we update the current list in place.\n        if (!hasValidator(current, v)) {\n            current.push(v);\n        }\n    });\n    return current;\n}\nfunction removeValidators(validators, currentValidators) {\n    return makeValidatorsArray(currentValidators).filter(v => !hasValidator(validators, v));\n}\n\n/**\n * @description\n * Base class for control directives.\n *\n * This class is only used internally in the `ReactiveFormsModule` and the `FormsModule`.\n *\n * @publicApi\n */\nclass AbstractControlDirective {\n    constructor() {\n        /**\n         * Set of synchronous validators as they were provided while calling `setValidators` function.\n         * @internal\n         */\n        this._rawValidators = [];\n        /**\n         * Set of asynchronous validators as they were provided while calling `setAsyncValidators`\n         * function.\n         * @internal\n         */\n        this._rawAsyncValidators = [];\n        /*\n         * The set of callbacks to be invoked when directive instance is being destroyed.\n         */\n        this._onDestroyCallbacks = [];\n    }\n    /**\n     * @description\n     * Reports the value of the control if it is present, otherwise null.\n     */\n    get value() {\n        return this.control ? this.control.value : null;\n    }\n    /**\n     * @description\n     * Reports whether the control is valid. A control is considered valid if no\n     * validation errors exist with the current value.\n     * If the control is not present, null is returned.\n     */\n    get valid() {\n        return this.control ? this.control.valid : null;\n    }\n    /**\n     * @description\n     * Reports whether the control is invalid, meaning that an error exists in the input value.\n     * If the control is not present, null is returned.\n     */\n    get invalid() {\n        return this.control ? this.control.invalid : null;\n    }\n    /**\n     * @description\n     * Reports whether a control is pending, meaning that that async validation is occurring and\n     * errors are not yet available for the input value. If the control is not present, null is\n     * returned.\n     */\n    get pending() {\n        return this.control ? this.control.pending : null;\n    }\n    /**\n     * @description\n     * Reports whether the control is disabled, meaning that the control is disabled\n     * in the UI and is exempt from validation checks and excluded from aggregate\n     * values of ancestor controls. If the control is not present, null is returned.\n     */\n    get disabled() {\n        return this.control ? this.control.disabled : null;\n    }\n    /**\n     * @description\n     * Reports whether the control is enabled, meaning that the control is included in ancestor\n     * calculations of validity or value. If the control is not present, null is returned.\n     */\n    get enabled() {\n        return this.control ? this.control.enabled : null;\n    }\n    /**\n     * @description\n     * Reports the control's validation errors. If the control is not present, null is returned.\n     */\n    get errors() {\n        return this.control ? this.control.errors : null;\n    }\n    /**\n     * @description\n     * Reports whether the control is pristine, meaning that the user has not yet changed\n     * the value in the UI. If the control is not present, null is returned.\n     */\n    get pristine() {\n        return this.control ? this.control.pristine : null;\n    }\n    /**\n     * @description\n     * Reports whether the control is dirty, meaning that the user has changed\n     * the value in the UI. If the control is not present, null is returned.\n     */\n    get dirty() {\n        return this.control ? this.control.dirty : null;\n    }\n    /**\n     * @description\n     * Reports whether the control is touched, meaning that the user has triggered\n     * a `blur` event on it. If the control is not present, null is returned.\n     */\n    get touched() {\n        return this.control ? this.control.touched : null;\n    }\n    /**\n     * @description\n     * Reports the validation status of the control. Possible values include:\n     * 'VALID', 'INVALID', 'DISABLED', and 'PENDING'.\n     * If the control is not present, null is returned.\n     */\n    get status() {\n        return this.control ? this.control.status : null;\n    }\n    /**\n     * @description\n     * Reports whether the control is untouched, meaning that the user has not yet triggered\n     * a `blur` event on it. If the control is not present, null is returned.\n     */\n    get untouched() {\n        return this.control ? this.control.untouched : null;\n    }\n    /**\n     * @description\n     * Returns a multicasting observable that emits a validation status whenever it is\n     * calculated for the control. If the control is not present, null is returned.\n     */\n    get statusChanges() {\n        return this.control ? this.control.statusChanges : null;\n    }\n    /**\n     * @description\n     * Returns a multicasting observable of value changes for the control that emits every time the\n     * value of the control changes in the UI or programmatically.\n     * If the control is not present, null is returned.\n     */\n    get valueChanges() {\n        return this.control ? this.control.valueChanges : null;\n    }\n    /**\n     * @description\n     * Returns an array that represents the path from the top-level form to this control.\n     * Each index is the string name of the control on that level.\n     */\n    get path() {\n        return null;\n    }\n    /**\n     * Sets synchronous validators for this directive.\n     * @internal\n     */\n    _setValidators(validators) {\n        this._rawValidators = validators || [];\n        this._composedValidatorFn = composeValidators(this._rawValidators);\n    }\n    /**\n     * Sets asynchronous validators for this directive.\n     * @internal\n     */\n    _setAsyncValidators(validators) {\n        this._rawAsyncValidators = validators || [];\n        this._composedAsyncValidatorFn = composeAsyncValidators(this._rawAsyncValidators);\n    }\n    /**\n     * @description\n     * Synchronous validator function composed of all the synchronous validators registered with this\n     * directive.\n     */\n    get validator() {\n        return this._composedValidatorFn || null;\n    }\n    /**\n     * @description\n     * Asynchronous validator function composed of all the asynchronous validators registered with\n     * this directive.\n     */\n    get asyncValidator() {\n        return this._composedAsyncValidatorFn || null;\n    }\n    /**\n     * Internal function to register callbacks that should be invoked\n     * when directive instance is being destroyed.\n     * @internal\n     */\n    _registerOnDestroy(fn) {\n        this._onDestroyCallbacks.push(fn);\n    }\n    /**\n     * Internal function to invoke all registered \"on destroy\" callbacks.\n     * Note: calling this function also clears the list of callbacks.\n     * @internal\n     */\n    _invokeOnDestroyCallbacks() {\n        this._onDestroyCallbacks.forEach(fn => fn());\n        this._onDestroyCallbacks = [];\n    }\n    /**\n     * @description\n     * Resets the control with the provided value if the control is present.\n     */\n    reset(value = undefined) {\n        if (this.control)\n            this.control.reset(value);\n    }\n    /**\n     * @description\n     * Reports whether the control with the given path has the error specified.\n     *\n     * @param errorCode The code of the error to check\n     * @param path A list of control names that designates how to move from the current control\n     * to the control that should be queried for errors.\n     *\n     * @usageNotes\n     * For example, for the following `FormGroup`:\n     *\n     * ```\n     * form = new FormGroup({\n     *   address: new FormGroup({ street: new FormControl() })\n     * });\n     * ```\n     *\n     * The path to the 'street' control from the root form would be 'address' -> 'street'.\n     *\n     * It can be provided to this method in one of two formats:\n     *\n     * 1. An array of string control names, e.g. `['address', 'street']`\n     * 1. A period-delimited list of control names in one string, e.g. `'address.street'`\n     *\n     * If no path is given, this method checks for the error on the current control.\n     *\n     * @returns whether the given error is present in the control at the given path.\n     *\n     * If the control is not present, false is returned.\n     */\n    hasError(errorCode, path) {\n        return this.control ? this.control.hasError(errorCode, path) : false;\n    }\n    /**\n     * @description\n     * Reports error data for the control with the given path.\n     *\n     * @param errorCode The code of the error to check\n     * @param path A list of control names that designates how to move from the current control\n     * to the control that should be queried for errors.\n     *\n     * @usageNotes\n     * For example, for the following `FormGroup`:\n     *\n     * ```\n     * form = new FormGroup({\n     *   address: new FormGroup({ street: new FormControl() })\n     * });\n     * ```\n     *\n     * The path to the 'street' control from the root form would be 'address' -> 'street'.\n     *\n     * It can be provided to this method in one of two formats:\n     *\n     * 1. An array of string control names, e.g. `['address', 'street']`\n     * 1. A period-delimited list of control names in one string, e.g. `'address.street'`\n     *\n     * @returns error data for that particular error. If the control or error is not present,\n     * null is returned.\n     */\n    getError(errorCode, path) {\n        return this.control ? this.control.getError(errorCode, path) : null;\n    }\n}\n\n/**\n * @description\n * A base class for directives that contain multiple registered instances of `NgControl`.\n * Only used by the forms module.\n *\n * @publicApi\n */\nclass ControlContainer extends AbstractControlDirective {\n    /**\n     * @description\n     * The top-level form directive for the control.\n     */\n    get formDirective() {\n        return null;\n    }\n    /**\n     * @description\n     * The path to this group.\n     */\n    get path() {\n        return null;\n    }\n}\n\n/**\n * @description\n * A base class that all `FormControl`-based directives extend. It binds a `FormControl`\n * object to a DOM element.\n *\n * @publicApi\n */\nclass NgControl extends AbstractControlDirective {\n    constructor() {\n        super(...arguments);\n        /**\n         * @description\n         * The parent form for the control.\n         *\n         * @internal\n         */\n        this._parent = null;\n        /**\n         * @description\n         * The name for the control\n         */\n        this.name = null;\n        /**\n         * @description\n         * The value accessor for the control\n         */\n        this.valueAccessor = null;\n    }\n}\n\n// DO NOT REFACTOR!\n// Each status is represented by a separate function to make sure that\n// advanced Closure Compiler optimizations related to property renaming\n// can work correctly.\nclass AbstractControlStatus {\n    constructor(cd) {\n        this._cd = cd;\n    }\n    get isTouched() {\n        return !!this._cd?.control?.touched;\n    }\n    get isUntouched() {\n        return !!this._cd?.control?.untouched;\n    }\n    get isPristine() {\n        return !!this._cd?.control?.pristine;\n    }\n    get isDirty() {\n        return !!this._cd?.control?.dirty;\n    }\n    get isValid() {\n        return !!this._cd?.control?.valid;\n    }\n    get isInvalid() {\n        return !!this._cd?.control?.invalid;\n    }\n    get isPending() {\n        return !!this._cd?.control?.pending;\n    }\n    get isSubmitted() {\n        // We check for the `submitted` field from `NgForm` and `FormGroupDirective` classes, but\n        // we avoid instanceof checks to prevent non-tree-shakable references to those types.\n        return !!this._cd?.submitted;\n    }\n}\nconst ngControlStatusHost = {\n    '[class.ng-untouched]': 'isUntouched',\n    '[class.ng-touched]': 'isTouched',\n    '[class.ng-pristine]': 'isPristine',\n    '[class.ng-dirty]': 'isDirty',\n    '[class.ng-valid]': 'isValid',\n    '[class.ng-invalid]': 'isInvalid',\n    '[class.ng-pending]': 'isPending',\n};\nconst ngGroupStatusHost = {\n    ...ngControlStatusHost,\n    '[class.ng-submitted]': 'isSubmitted',\n};\n/**\n * @description\n * Directive automatically applied to Angular form controls that sets CSS classes\n * based on control status.\n *\n * @usageNotes\n *\n * ### CSS classes applied\n *\n * The following classes are applied as the properties become true:\n *\n * * ng-valid\n * * ng-invalid\n * * ng-pending\n * * ng-pristine\n * * ng-dirty\n * * ng-untouched\n * * ng-touched\n *\n * @ngModule ReactiveFormsModule\n * @ngModule FormsModule\n * @publicApi\n */\nclass NgControlStatus extends AbstractControlStatus {\n    constructor(cd) {\n        super(cd);\n    }\n}\nNgControlStatus.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: NgControlStatus, deps: [{ token: NgControl, self: true }], target: i0.ɵɵFactoryTarget.Directive });\nNgControlStatus.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.2.10\", type: NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\", host: { properties: { \"class.ng-untouched\": \"isUntouched\", \"class.ng-touched\": \"isTouched\", \"class.ng-pristine\": \"isPristine\", \"class.ng-dirty\": \"isDirty\", \"class.ng-valid\": \"isValid\", \"class.ng-invalid\": \"isInvalid\", \"class.ng-pending\": \"isPending\" } }, usesInheritance: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: NgControlStatus, decorators: [{\n            type: Directive,\n            args: [{ selector: '[formControlName],[ngModel],[formControl]', host: ngControlStatusHost }]\n        }], ctorParameters: function () { return [{ type: NgControl, decorators: [{\n                    type: Self\n                }] }]; } });\n/**\n * @description\n * Directive automatically applied to Angular form groups that sets CSS classes\n * based on control status (valid/invalid/dirty/etc). On groups, this includes the additional\n * class ng-submitted.\n *\n * @see `NgControlStatus`\n *\n * @ngModule ReactiveFormsModule\n * @ngModule FormsModule\n * @publicApi\n */\nclass NgControlStatusGroup extends AbstractControlStatus {\n    constructor(cd) {\n        super(cd);\n    }\n}\nNgControlStatusGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: NgControlStatusGroup, deps: [{ token: ControlContainer, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Directive });\nNgControlStatusGroup.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.2.10\", type: NgControlStatusGroup, selector: \"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]\", host: { properties: { \"class.ng-untouched\": \"isUntouched\", \"class.ng-touched\": \"isTouched\", \"class.ng-pristine\": \"isPristine\", \"class.ng-dirty\": \"isDirty\", \"class.ng-valid\": \"isValid\", \"class.ng-invalid\": \"isInvalid\", \"class.ng-pending\": \"isPending\", \"class.ng-submitted\": \"isSubmitted\" } }, usesInheritance: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: NgControlStatusGroup, decorators: [{\n            type: Directive,\n            args: [{\n                    selector: '[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]',\n                    host: ngGroupStatusHost\n                }]\n        }], ctorParameters: function () { return [{ type: ControlContainer, decorators: [{\n                    type: Optional\n                }, {\n                    type: Self\n                }] }]; } });\n\nconst formControlNameExample = `\n  <div [formGroup]=\"myGroup\">\n    <input formControlName=\"firstName\">\n  </div>\n\n  In your class:\n\n  this.myGroup = new FormGroup({\n      firstName: new FormControl()\n  });`;\nconst formGroupNameExample = `\n  <div [formGroup]=\"myGroup\">\n      <div formGroupName=\"person\">\n        <input formControlName=\"firstName\">\n      </div>\n  </div>\n\n  In your class:\n\n  this.myGroup = new FormGroup({\n      person: new FormGroup({ firstName: new FormControl() })\n  });`;\nconst formArrayNameExample = `\n  <div [formGroup]=\"myGroup\">\n    <div formArrayName=\"cities\">\n      <div *ngFor=\"let city of cityArray.controls; index as i\">\n        <input [formControlName]=\"i\">\n      </div>\n    </div>\n  </div>\n\n  In your class:\n\n  this.cityArray = new FormArray([new FormControl('SF')]);\n  this.myGroup = new FormGroup({\n    cities: this.cityArray\n  });`;\nconst ngModelGroupExample = `\n  <form>\n      <div ngModelGroup=\"person\">\n        <input [(ngModel)]=\"person.name\" name=\"firstName\">\n      </div>\n  </form>`;\nconst ngModelWithFormGroupExample = `\n  <div [formGroup]=\"myGroup\">\n      <input formControlName=\"firstName\">\n      <input [(ngModel)]=\"showMoreControls\" [ngModelOptions]=\"{standalone: true}\">\n  </div>\n`;\n\nfunction controlParentException() {\n    return new ɵRuntimeError(1050 /* RuntimeErrorCode.FORM_CONTROL_NAME_MISSING_PARENT */, `formControlName must be used with a parent formGroup directive.  You'll want to add a formGroup\n      directive and pass it an existing FormGroup instance (you can create one in your class).\n\n    Example:\n\n    ${formControlNameExample}`);\n}\nfunction ngModelGroupException() {\n    return new ɵRuntimeError(1051 /* RuntimeErrorCode.FORM_CONTROL_NAME_INSIDE_MODEL_GROUP */, `formControlName cannot be used with an ngModelGroup parent. It is only compatible with parents\n      that also have a \"form\" prefix: formGroupName, formArrayName, or formGroup.\n\n      Option 1:  Update the parent to be formGroupName (reactive form strategy)\n\n      ${formGroupNameExample}\n\n      Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n      ${ngModelGroupExample}`);\n}\nfunction missingFormException() {\n    return new ɵRuntimeError(1052 /* RuntimeErrorCode.FORM_GROUP_MISSING_INSTANCE */, `formGroup expects a FormGroup instance. Please pass one in.\n\n      Example:\n\n      ${formControlNameExample}`);\n}\nfunction groupParentException() {\n    return new ɵRuntimeError(1053 /* RuntimeErrorCode.FORM_GROUP_NAME_MISSING_PARENT */, `formGroupName must be used with a parent formGroup directive.  You'll want to add a formGroup\n    directive and pass it an existing FormGroup instance (you can create one in your class).\n\n    Example:\n\n    ${formGroupNameExample}`);\n}\nfunction arrayParentException() {\n    return new ɵRuntimeError(1054 /* RuntimeErrorCode.FORM_ARRAY_NAME_MISSING_PARENT */, `formArrayName must be used with a parent formGroup directive.  You'll want to add a formGroup\n      directive and pass it an existing FormGroup instance (you can create one in your class).\n\n      Example:\n\n      ${formArrayNameExample}`);\n}\nconst disabledAttrWarning = `\n  It looks like you're using the disabled attribute with a reactive form directive. If you set disabled to true\n  when you set up this control in your component class, the disabled attribute will actually be set in the DOM for\n  you. We recommend using this approach to avoid 'changed after checked' errors.\n\n  Example:\n  // Specify the \\`disabled\\` property at control creation time:\n  form = new FormGroup({\n    first: new FormControl({value: 'Nancy', disabled: true}, Validators.required),\n    last: new FormControl('Drew', Validators.required)\n  });\n\n  // Controls can also be enabled/disabled after creation:\n  form.get('first')?.enable();\n  form.get('last')?.disable();\n`;\nconst asyncValidatorsDroppedWithOptsWarning = `\n  It looks like you're constructing using a FormControl with both an options argument and an\n  async validators argument. Mixing these arguments will cause your async validators to be dropped.\n  You should either put all your validators in the options object, or in separate validators\n  arguments. For example:\n\n  // Using validators arguments\n  fc = new FormControl(42, Validators.required, myAsyncValidator);\n\n  // Using AbstractControlOptions\n  fc = new FormControl(42, {validators: Validators.required, asyncValidators: myAV});\n\n  // Do NOT mix them: async validators will be dropped!\n  fc = new FormControl(42, {validators: Validators.required}, /* Oops! */ myAsyncValidator);\n`;\nfunction ngModelWarning(directiveName) {\n    return `\n  It looks like you're using ngModel on the same form field as ${directiveName}.\n  Support for using the ngModel input property and ngModelChange event with\n  reactive form directives has been deprecated in Angular v6 and will be removed\n  in a future version of Angular.\n\n  For more information on this, see our API docs here:\n  https://angular.io/api/forms/${directiveName === 'formControl' ? 'FormControlDirective' : 'FormControlName'}#use-with-ngmodel\n  `;\n}\nfunction describeKey(isFormGroup, key) {\n    return isFormGroup ? `with name: '${key}'` : `at index: ${key}`;\n}\nfunction noControlsError(isFormGroup) {\n    return `\n    There are no form controls registered with this ${isFormGroup ? 'group' : 'array'} yet. If you're using ngModel,\n    you may want to check next tick (e.g. use setTimeout).\n  `;\n}\nfunction missingControlError(isFormGroup, key) {\n    return `Cannot find form control ${describeKey(isFormGroup, key)}`;\n}\nfunction missingControlValueError(isFormGroup, key) {\n    return `Must supply a value for form control ${describeKey(isFormGroup, key)}`;\n}\n\nconst NG_DEV_MODE = typeof ngDevMode === 'undefined' || !!ngDevMode;\n/**\n * Reports that a control is valid, meaning that no errors exist in the input value.\n *\n * @see `status`\n */\nconst VALID = 'VALID';\n/**\n * Reports that a control is invalid, meaning that an error exists in the input value.\n *\n * @see `status`\n */\nconst INVALID = 'INVALID';\n/**\n * Reports that a control is pending, meaning that that async validation is occurring and\n * errors are not yet available for the input value.\n *\n * @see `markAsPending`\n * @see `status`\n */\nconst PENDING = 'PENDING';\n/**\n * Reports that a control is disabled, meaning that the control is exempt from ancestor\n * calculations of validity or value.\n *\n * @see `markAsDisabled`\n * @see `status`\n */\nconst DISABLED = 'DISABLED';\n/**\n * Gets validators from either an options object or given validators.\n */\nfunction pickValidators(validatorOrOpts) {\n    return (isOptionsObj(validatorOrOpts) ? validatorOrOpts.validators : validatorOrOpts) || null;\n}\n/**\n * Creates validator function by combining provided validators.\n */\nfunction coerceToValidator(validator) {\n    return Array.isArray(validator) ? composeValidators(validator) : validator || null;\n}\n/**\n * Gets async validators from either an options object or given validators.\n */\nfunction pickAsyncValidators(asyncValidator, validatorOrOpts) {\n    if (typeof ngDevMode === 'undefined' || ngDevMode) {\n        if (isOptionsObj(validatorOrOpts) && asyncValidator) {\n            console.warn(asyncValidatorsDroppedWithOptsWarning);\n        }\n    }\n    return (isOptionsObj(validatorOrOpts) ? validatorOrOpts.asyncValidators : asyncValidator) || null;\n}\n/**\n * Creates async validator function by combining provided async validators.\n */\nfunction coerceToAsyncValidator(asyncValidator) {\n    return Array.isArray(asyncValidator) ? composeAsyncValidators(asyncValidator) :\n        asyncValidator || null;\n}\nfunction isOptionsObj(validatorOrOpts) {\n    return validatorOrOpts != null && !Array.isArray(validatorOrOpts) &&\n        typeof validatorOrOpts === 'object';\n}\nfunction assertControlPresent(parent, isGroup, key) {\n    const controls = parent.controls;\n    const collection = isGroup ? Object.keys(controls) : controls;\n    if (!collection.length) {\n        throw new ɵRuntimeError(1000 /* RuntimeErrorCode.NO_CONTROLS */, NG_DEV_MODE ? noControlsError(isGroup) : '');\n    }\n    if (!controls[key]) {\n        throw new ɵRuntimeError(1001 /* RuntimeErrorCode.MISSING_CONTROL */, NG_DEV_MODE ? missingControlError(isGroup, key) : '');\n    }\n}\nfunction assertAllValuesPresent(control, isGroup, value) {\n    control._forEachChild((_, key) => {\n        if (value[key] === undefined) {\n            throw new ɵRuntimeError(1002 /* RuntimeErrorCode.MISSING_CONTROL_VALUE */, NG_DEV_MODE ? missingControlValueError(isGroup, key) : '');\n        }\n    });\n}\n// clang-format on\n/**\n * This is the base class for `FormControl`, `FormGroup`, and `FormArray`.\n *\n * It provides some of the shared behavior that all controls and groups of controls have, like\n * running validators, calculating status, and resetting state. It also defines the properties\n * that are shared between all sub-classes, like `value`, `valid`, and `dirty`. It shouldn't be\n * instantiated directly.\n *\n * The first type parameter TValue represents the value type of the control (`control.value`).\n * The optional type parameter TRawValue  represents the raw value type (`control.getRawValue()`).\n *\n * @see [Forms Guide](/guide/forms)\n * @see [Reactive Forms Guide](/guide/reactive-forms)\n * @see [Dynamic Forms Guide](/guide/dynamic-form)\n *\n * @publicApi\n */\nclass AbstractControl {\n    /**\n     * Initialize the AbstractControl instance.\n     *\n     * @param validators The function or array of functions that is used to determine the validity of\n     *     this control synchronously.\n     * @param asyncValidators The function or array of functions that is used to determine validity of\n     *     this control asynchronously.\n     */\n    constructor(validators, asyncValidators) {\n        /** @internal */\n        this._pendingDirty = false;\n        /**\n         * Indicates that a control has its own pending asynchronous validation in progress.\n         *\n         * @internal\n         */\n        this._hasOwnPendingAsyncValidator = false;\n        /** @internal */\n        this._pendingTouched = false;\n        /** @internal */\n        this._onCollectionChange = () => { };\n        this._parent = null;\n        /**\n         * A control is `pristine` if the user has not yet changed\n         * the value in the UI.\n         *\n         * @returns True if the user has not yet changed the value in the UI; compare `dirty`.\n         * Programmatic changes to a control's value do not mark it dirty.\n         */\n        this.pristine = true;\n        /**\n         * True if the control is marked as `touched`.\n         *\n         * A control is marked `touched` once the user has triggered\n         * a `blur` event on it.\n         */\n        this.touched = false;\n        /** @internal */\n        this._onDisabledChange = [];\n        this._assignValidators(validators);\n        this._assignAsyncValidators(asyncValidators);\n    }\n    /**\n     * Returns the function that is used to determine the validity of this control synchronously.\n     * If multiple validators have been added, this will be a single composed function.\n     * See `Validators.compose()` for additional information.\n     */\n    get validator() {\n        return this._composedValidatorFn;\n    }\n    set validator(validatorFn) {\n        this._rawValidators = this._composedValidatorFn = validatorFn;\n    }\n    /**\n     * Returns the function that is used to determine the validity of this control asynchronously.\n     * If multiple validators have been added, this will be a single composed function.\n     * See `Validators.compose()` for additional information.\n     */\n    get asyncValidator() {\n        return this._composedAsyncValidatorFn;\n    }\n    set asyncValidator(asyncValidatorFn) {\n        this._rawAsyncValidators = this._composedAsyncValidatorFn = asyncValidatorFn;\n    }\n    /**\n     * The parent control.\n     */\n    get parent() {\n        return this._parent;\n    }\n    /**\n     * A control is `valid` when its `status` is `VALID`.\n     *\n     * @see {@link AbstractControl.status}\n     *\n     * @returns True if the control has passed all of its validation tests,\n     * false otherwise.\n     */\n    get valid() {\n        return this.status === VALID;\n    }\n    /**\n     * A control is `invalid` when its `status` is `INVALID`.\n     *\n     * @see {@link AbstractControl.status}\n     *\n     * @returns True if this control has failed one or more of its validation checks,\n     * false otherwise.\n     */\n    get invalid() {\n        return this.status === INVALID;\n    }\n    /**\n     * A control is `pending` when its `status` is `PENDING`.\n     *\n     * @see {@link AbstractControl.status}\n     *\n     * @returns True if this control is in the process of conducting a validation check,\n     * false otherwise.\n     */\n    get pending() {\n        return this.status == PENDING;\n    }\n    /**\n     * A control is `disabled` when its `status` is `DISABLED`.\n     *\n     * Disabled controls are exempt from validation checks and\n     * are not included in the aggregate value of their ancestor\n     * controls.\n     *\n     * @see {@link AbstractControl.status}\n     *\n     * @returns True if the control is disabled, false otherwise.\n     */\n    get disabled() {\n        return this.status === DISABLED;\n    }\n    /**\n     * A control is `enabled` as long as its `status` is not `DISABLED`.\n     *\n     * @returns True if the control has any status other than 'DISABLED',\n     * false if the status is 'DISABLED'.\n     *\n     * @see {@link AbstractControl.status}\n     *\n     */\n    get enabled() {\n        return this.status !== DISABLED;\n    }\n    /**\n     * A control is `dirty` if the user has changed the value\n     * in the UI.\n     *\n     * @returns True if the user has changed the value of this control in the UI; compare `pristine`.\n     * Programmatic changes to a control's value do not mark it dirty.\n     */\n    get dirty() {\n        return !this.pristine;\n    }\n    /**\n     * True if the control has not been marked as touched\n     *\n     * A control is `untouched` if the user has not yet triggered\n     * a `blur` event on it.\n     */\n    get untouched() {\n        return !this.touched;\n    }\n    /**\n     * Reports the update strategy of the `AbstractControl` (meaning\n     * the event on which the control updates itself).\n     * Possible values: `'change'` | `'blur'` | `'submit'`\n     * Default value: `'change'`\n     */\n    get updateOn() {\n        return this._updateOn ? this._updateOn : (this.parent ? this.parent.updateOn : 'change');\n    }\n    /**\n     * Sets the synchronous validators that are active on this control.  Calling\n     * this overwrites any existing synchronous validators.\n     *\n     * When you add or remove a validator at run time, you must call\n     * `updateValueAndValidity()` for the new validation to take effect.\n     *\n     * If you want to add a new validator without affecting existing ones, consider\n     * using `addValidators()` method instead.\n     */\n    setValidators(validators) {\n        this._assignValidators(validators);\n    }\n    /**\n     * Sets the asynchronous validators that are active on this control. Calling this\n     * overwrites any existing asynchronous validators.\n     *\n     * When you add or remove a validator at run time, you must call\n     * `updateValueAndValidity()` for the new validation to take effect.\n     *\n     * If you want to add a new validator without affecting existing ones, consider\n     * using `addAsyncValidators()` method instead.\n     */\n    setAsyncValidators(validators) {\n        this._assignAsyncValidators(validators);\n    }\n    /**\n     * Add a synchronous validator or validators to this control, without affecting other validators.\n     *\n     * When you add or remove a validator at run time, you must call\n     * `updateValueAndValidity()` for the new validation to take effect.\n     *\n     * Adding a validator that already exists will have no effect. If duplicate validator functions\n     * are present in the `validators` array, only the first instance would be added to a form\n     * control.\n     *\n     * @param validators The new validator function or functions to add to this control.\n     */\n    addValidators(validators) {\n        this.setValidators(addValidators(validators, this._rawValidators));\n    }\n    /**\n     * Add an asynchronous validator or validators to this control, without affecting other\n     * validators.\n     *\n     * When you add or remove a validator at run time, you must call\n     * `updateValueAndValidity()` for the new validation to take effect.\n     *\n     * Adding a validator that already exists will have no effect.\n     *\n     * @param validators The new asynchronous validator function or functions to add to this control.\n     */\n    addAsyncValidators(validators) {\n        this.setAsyncValidators(addValidators(validators, this._rawAsyncValidators));\n    }\n    /**\n     * Remove a synchronous validator from this control, without affecting other validators.\n     * Validators are compared by function reference; you must pass a reference to the exact same\n     * validator function as the one that was originally set. If a provided validator is not found,\n     * it is ignored.\n     *\n     * @usageNotes\n     *\n     * ### Reference to a ValidatorFn\n     *\n     * ```\n     * // Reference to the RequiredValidator\n     * const ctrl = new FormControl<string | null>('', Validators.required);\n     * ctrl.removeValidators(Validators.required);\n     *\n     * // Reference to anonymous function inside MinValidator\n     * const minValidator = Validators.min(3);\n     * const ctrl = new FormControl<string | null>('', minValidator);\n     * expect(ctrl.hasValidator(minValidator)).toEqual(true)\n     * expect(ctrl.hasValidator(Validators.min(3))).toEqual(false)\n     *\n     * ctrl.removeValidators(minValidator);\n     * ```\n     *\n     * When you add or remove a validator at run time, you must call\n     * `updateValueAndValidity()` for the new validation to take effect.\n     *\n     * @param validators The validator or validators to remove.\n     */\n    removeValidators(validators) {\n        this.setValidators(removeValidators(validators, this._rawValidators));\n    }\n    /**\n     * Remove an asynchronous validator from this control, without affecting other validators.\n     * Validators are compared by function reference; you must pass a reference to the exact same\n     * validator function as the one that was originally set. If a provided validator is not found, it\n     * is ignored.\n     *\n     * When you add or remove a validator at run time, you must call\n     * `updateValueAndValidity()` for the new validation to take effect.\n     *\n     * @param validators The asynchronous validator or validators to remove.\n     */\n    removeAsyncValidators(validators) {\n        this.setAsyncValidators(removeValidators(validators, this._rawAsyncValidators));\n    }\n    /**\n     * Check whether a synchronous validator function is present on this control. The provided\n     * validator must be a reference to the exact same function that was provided.\n     *\n     * @usageNotes\n     *\n     * ### Reference to a ValidatorFn\n     *\n     * ```\n     * // Reference to the RequiredValidator\n     * const ctrl = new FormControl<number | null>(0, Validators.required);\n     * expect(ctrl.hasValidator(Validators.required)).toEqual(true)\n     *\n     * // Reference to anonymous function inside MinValidator\n     * const minValidator = Validators.min(3);\n     * const ctrl = new FormControl<number | null>(0, minValidator);\n     * expect(ctrl.hasValidator(minValidator)).toEqual(true)\n     * expect(ctrl.hasValidator(Validators.min(3))).toEqual(false)\n     * ```\n     *\n     * @param validator The validator to check for presence. Compared by function reference.\n     * @returns Whether the provided validator was found on this control.\n     */\n    hasValidator(validator) {\n        return hasValidator(this._rawValidators, validator);\n    }\n    /**\n     * Check whether an asynchronous validator function is present on this control. The provided\n     * validator must be a reference to the exact same function that was provided.\n     *\n     * @param validator The asynchronous validator to check for presence. Compared by function\n     *     reference.\n     * @returns Whether the provided asynchronous validator was found on this control.\n     */\n    hasAsyncValidator(validator) {\n        return hasValidator(this._rawAsyncValidators, validator);\n    }\n    /**\n     * Empties out the synchronous validator list.\n     *\n     * When you add or remove a validator at run time, you must call\n     * `updateValueAndValidity()` for the new validation to take effect.\n     *\n     */\n    clearValidators() {\n        this.validator = null;\n    }\n    /**\n     * Empties out the async validator list.\n     *\n     * When you add or remove a validator at run time, you must call\n     * `updateValueAndValidity()` for the new validation to take effect.\n     *\n     */\n    clearAsyncValidators() {\n        this.asyncValidator = null;\n    }\n    /**\n     * Marks the control as `touched`. A control is touched by focus and\n     * blur events that do not change the value.\n     *\n     * @see `markAsUntouched()`\n     * @see `markAsDirty()`\n     * @see `markAsPristine()`\n     *\n     * @param opts Configuration options that determine how the control propagates changes\n     * and emits events after marking is applied.\n     * * `onlySelf`: When true, mark only this control. When false or not supplied,\n     * marks all direct ancestors. Default is false.\n     */\n    markAsTouched(opts = {}) {\n        this.touched = true;\n        if (this._parent && !opts.onlySelf) {\n            this._parent.markAsTouched(opts);\n        }\n    }\n    /**\n     * Marks the control and all its descendant controls as `touched`.\n     * @see `markAsTouched()`\n     */\n    markAllAsTouched() {\n        this.markAsTouched({ onlySelf: true });\n        this._forEachChild((control) => control.markAllAsTouched());\n    }\n    /**\n     * Marks the control as `untouched`.\n     *\n     * If the control has any children, also marks all children as `untouched`\n     * and recalculates the `touched` status of all parent controls.\n     *\n     * @see `markAsTouched()`\n     * @see `markAsDirty()`\n     * @see `markAsPristine()`\n     *\n     * @param opts Configuration options that determine how the control propagates changes\n     * and emits events after the marking is applied.\n     * * `onlySelf`: When true, mark only this control. When false or not supplied,\n     * marks all direct ancestors. Default is false.\n     */\n    markAsUntouched(opts = {}) {\n        this.touched = false;\n        this._pendingTouched = false;\n        this._forEachChild((control) => {\n            control.markAsUntouched({ onlySelf: true });\n        });\n        if (this._parent && !opts.onlySelf) {\n            this._parent._updateTouched(opts);\n        }\n    }\n    /**\n     * Marks the control as `dirty`. A control becomes dirty when\n     * the control's value is changed through the UI; compare `markAsTouched`.\n     *\n     * @see `markAsTouched()`\n     * @see `markAsUntouched()`\n     * @see `markAsPristine()`\n     *\n     * @param opts Configuration options that determine how the control propagates changes\n     * and emits events after marking is applied.\n     * * `onlySelf`: When true, mark only this control. When false or not supplied,\n     * marks all direct ancestors. Default is false.\n     */\n    markAsDirty(opts = {}) {\n        this.pristine = false;\n        if (this._parent && !opts.onlySelf) {\n            this._parent.markAsDirty(opts);\n        }\n    }\n    /**\n     * Marks the control as `pristine`.\n     *\n     * If the control has any children, marks all children as `pristine`,\n     * and recalculates the `pristine` status of all parent\n     * controls.\n     *\n     * @see `markAsTouched()`\n     * @see `markAsUntouched()`\n     * @see `markAsDirty()`\n     *\n     * @param opts Configuration options that determine how the control emits events after\n     * marking is applied.\n     * * `onlySelf`: When true, mark only this control. When false or not supplied,\n     * marks all direct ancestors. Default is false.\n     */\n    markAsPristine(opts = {}) {\n        this.pristine = true;\n        this._pendingDirty = false;\n        this._forEachChild((control) => {\n            control.markAsPristine({ onlySelf: true });\n        });\n        if (this._parent && !opts.onlySelf) {\n            this._parent._updatePristine(opts);\n        }\n    }\n    /**\n     * Marks the control as `pending`.\n     *\n     * A control is pending while the control performs async validation.\n     *\n     * @see {@link AbstractControl.status}\n     *\n     * @param opts Configuration options that determine how the control propagates changes and\n     * emits events after marking is applied.\n     * * `onlySelf`: When true, mark only this control. When false or not supplied,\n     * marks all direct ancestors. Default is false.\n     * * `emitEvent`: When true or not supplied (the default), the `statusChanges`\n     * observable emits an event with the latest status the control is marked pending.\n     * When false, no events are emitted.\n     *\n     */\n    markAsPending(opts = {}) {\n        this.status = PENDING;\n        if (opts.emitEvent !== false) {\n            this.statusChanges.emit(this.status);\n        }\n        if (this._parent && !opts.onlySelf) {\n            this._parent.markAsPending(opts);\n        }\n    }\n    /**\n     * Disables the control. This means the control is exempt from validation checks and\n     * excluded from the aggregate value of any parent. Its status is `DISABLED`.\n     *\n     * If the control has children, all children are also disabled.\n     *\n     * @see {@link AbstractControl.status}\n     *\n     * @param opts Configuration options that determine how the control propagates\n     * changes and emits events after the control is disabled.\n     * * `onlySelf`: When true, mark only this control. When false or not supplied,\n     * marks all direct ancestors. Default is false.\n     * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and\n     * `valueChanges`\n     * observables emit events with the latest status and value when the control is disabled.\n     * When false, no events are emitted.\n     */\n    disable(opts = {}) {\n        // If parent has been marked artificially dirty we don't want to re-calculate the\n        // parent's dirtiness based on the children.\n        const skipPristineCheck = this._parentMarkedDirty(opts.onlySelf);\n        this.status = DISABLED;\n        this.errors = null;\n        this._forEachChild((control) => {\n            control.disable({ ...opts, onlySelf: true });\n        });\n        this._updateValue();\n        if (opts.emitEvent !== false) {\n            this.valueChanges.emit(this.value);\n            this.statusChanges.emit(this.status);\n        }\n        this._updateAncestors({ ...opts, skipPristineCheck });\n        this._onDisabledChange.forEach((changeFn) => changeFn(true));\n    }\n    /**\n     * Enables the control. This means the control is included in validation checks and\n     * the aggregate value of its parent. Its status recalculates based on its value and\n     * its validators.\n     *\n     * By default, if the control has children, all children are enabled.\n     *\n     * @see {@link AbstractControl.status}\n     *\n     * @param opts Configure options that control how the control propagates changes and\n     * emits events when marked as untouched\n     * * `onlySelf`: When true, mark only this control. When false or not supplied,\n     * marks all direct ancestors. Default is false.\n     * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and\n     * `valueChanges`\n     * observables emit events with the latest status and value when the control is enabled.\n     * When false, no events are emitted.\n     */\n    enable(opts = {}) {\n        // If parent has been marked artificially dirty we don't want to re-calculate the\n        // parent's dirtiness based on the children.\n        const skipPristineCheck = this._parentMarkedDirty(opts.onlySelf);\n        this.status = VALID;\n        this._forEachChild((control) => {\n            control.enable({ ...opts, onlySelf: true });\n        });\n        this.updateValueAndValidity({ onlySelf: true, emitEvent: opts.emitEvent });\n        this._updateAncestors({ ...opts, skipPristineCheck });\n        this._onDisabledChange.forEach((changeFn) => changeFn(false));\n    }\n    _updateAncestors(opts) {\n        if (this._parent && !opts.onlySelf) {\n            this._parent.updateValueAndValidity(opts);\n            if (!opts.skipPristineCheck) {\n                this._parent._updatePristine();\n            }\n            this._parent._updateTouched();\n        }\n    }\n    /**\n     * Sets the parent of the control\n     *\n     * @param parent The new parent.\n     */\n    setParent(parent) {\n        this._parent = parent;\n    }\n    /**\n     * The raw value of this control. For most control implementations, the raw value will include\n     * disabled children.\n     */\n    getRawValue() {\n        return this.value;\n    }\n    /**\n     * Recalculates the value and validation status of the control.\n     *\n     * By default, it also updates the value and validity of its ancestors.\n     *\n     * @param opts Configuration options determine how the control propagates changes and emits events\n     * after updates and validity checks are applied.\n     * * `onlySelf`: When true, only update this control. When false or not supplied,\n     * update all direct ancestors. Default is false.\n     * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and\n     * `valueChanges`\n     * observables emit events with the latest status and value when the control is updated.\n     * When false, no events are emitted.\n     */\n    updateValueAndValidity(opts = {}) {\n        this._setInitialStatus();\n        this._updateValue();\n        if (this.enabled) {\n            this._cancelExistingSubscription();\n            this.errors = this._runValidator();\n            this.status = this._calculateStatus();\n            if (this.status === VALID || this.status === PENDING) {\n                this._runAsyncValidator(opts.emitEvent);\n            }\n        }\n        if (opts.emitEvent !== false) {\n            this.valueChanges.emit(this.value);\n            this.statusChanges.emit(this.status);\n        }\n        if (this._parent && !opts.onlySelf) {\n            this._parent.updateValueAndValidity(opts);\n        }\n    }\n    /** @internal */\n    _updateTreeValidity(opts = { emitEvent: true }) {\n        this._forEachChild((ctrl) => ctrl._updateTreeValidity(opts));\n        this.updateValueAndValidity({ onlySelf: true, emitEvent: opts.emitEvent });\n    }\n    _setInitialStatus() {\n        this.status = this._allControlsDisabled() ? DISABLED : VALID;\n    }\n    _runValidator() {\n        return this.validator ? this.validator(this) : null;\n    }\n    _runAsyncValidator(emitEvent) {\n        if (this.asyncValidator) {\n            this.status = PENDING;\n            this._hasOwnPendingAsyncValidator = true;\n            const obs = toObservable(this.asyncValidator(this));\n            this._asyncValidationSubscription = obs.subscribe((errors) => {\n                this._hasOwnPendingAsyncValidator = false;\n                // This will trigger the recalculation of the validation status, which depends on\n                // the state of the asynchronous validation (whether it is in progress or not). So, it is\n                // necessary that we have updated the `_hasOwnPendingAsyncValidator` boolean flag first.\n                this.setErrors(errors, { emitEvent });\n            });\n        }\n    }\n    _cancelExistingSubscription() {\n        if (this._asyncValidationSubscription) {\n            this._asyncValidationSubscription.unsubscribe();\n            this._hasOwnPendingAsyncValidator = false;\n        }\n    }\n    /**\n     * Sets errors on a form control when running validations manually, rather than automatically.\n     *\n     * Calling `setErrors` also updates the validity of the parent control.\n     *\n     * @param opts Configuration options that determine how the control propagates\n     * changes and emits events after the control errors are set.\n     * * `emitEvent`: When true or not supplied (the default), the `statusChanges`\n     * observable emits an event after the errors are set.\n     *\n     * @usageNotes\n     *\n     * ### Manually set the errors for a control\n     *\n     * ```\n     * const login = new FormControl('someLogin');\n     * login.setErrors({\n     *   notUnique: true\n     * });\n     *\n     * expect(login.valid).toEqual(false);\n     * expect(login.errors).toEqual({ notUnique: true });\n     *\n     * login.setValue('someOtherLogin');\n     *\n     * expect(login.valid).toEqual(true);\n     * ```\n     */\n    setErrors(errors, opts = {}) {\n        this.errors = errors;\n        this._updateControlsErrors(opts.emitEvent !== false);\n    }\n    /**\n     * Retrieves a child control given the control's name or path.\n     *\n     * @param path A dot-delimited string or array of string/number values that define the path to the\n     * control. If a string is provided, passing it as a string literal will result in improved type\n     * information. Likewise, if an array is provided, passing it `as const` will cause improved type\n     * information to be available.\n     *\n     * @usageNotes\n     * ### Retrieve a nested control\n     *\n     * For example, to get a `name` control nested within a `person` sub-group:\n     *\n     * * `this.form.get('person.name');`\n     *\n     * -OR-\n     *\n     * * `this.form.get(['person', 'name'] as const);` // `as const` gives improved typings\n     *\n     * ### Retrieve a control in a FormArray\n     *\n     * When accessing an element inside a FormArray, you can use an element index.\n     * For example, to get a `price` control from the first element in an `items` array you can use:\n     *\n     * * `this.form.get('items.0.price');`\n     *\n     * -OR-\n     *\n     * * `this.form.get(['items', 0, 'price']);`\n     */\n    get(path) {\n        let currPath = path;\n        if (currPath == null)\n            return null;\n        if (!Array.isArray(currPath))\n            currPath = currPath.split('.');\n        if (currPath.length === 0)\n            return null;\n        return currPath.reduce((control, name) => control && control._find(name), this);\n    }\n    /**\n     * @description\n     * Reports error data for the control with the given path.\n     *\n     * @param errorCode The code of the error to check\n     * @param path A list of control names that designates how to move from the current control\n     * to the control that should be queried for errors.\n     *\n     * @usageNotes\n     * For example, for the following `FormGroup`:\n     *\n     * ```\n     * form = new FormGroup({\n     *   address: new FormGroup({ street: new FormControl() })\n     * });\n     * ```\n     *\n     * The path to the 'street' control from the root form would be 'address' -> 'street'.\n     *\n     * It can be provided to this method in one of two formats:\n     *\n     * 1. An array of string control names, e.g. `['address', 'street']`\n     * 1. A period-delimited list of control names in one string, e.g. `'address.street'`\n     *\n     * @returns error data for that particular error. If the control or error is not present,\n     * null is returned.\n     */\n    getError(errorCode, path) {\n        const control = path ? this.get(path) : this;\n        return control && control.errors ? control.errors[errorCode] : null;\n    }\n    /**\n     * @description\n     * Reports whether the control with the given path has the error specified.\n     *\n     * @param errorCode The code of the error to check\n     * @param path A list of control names that designates how to move from the current control\n     * to the control that should be queried for errors.\n     *\n     * @usageNotes\n     * For example, for the following `FormGroup`:\n     *\n     * ```\n     * form = new FormGroup({\n     *   address: new FormGroup({ street: new FormControl() })\n     * });\n     * ```\n     *\n     * The path to the 'street' control from the root form would be 'address' -> 'street'.\n     *\n     * It can be provided to this method in one of two formats:\n     *\n     * 1. An array of string control names, e.g. `['address', 'street']`\n     * 1. A period-delimited list of control names in one string, e.g. `'address.street'`\n     *\n     * If no path is given, this method checks for the error on the current control.\n     *\n     * @returns whether the given error is present in the control at the given path.\n     *\n     * If the control is not present, false is returned.\n     */\n    hasError(errorCode, path) {\n        return !!this.getError(errorCode, path);\n    }\n    /**\n     * Retrieves the top-level ancestor of this control.\n     */\n    get root() {\n        let x = this;\n        while (x._parent) {\n            x = x._parent;\n        }\n        return x;\n    }\n    /** @internal */\n    _updateControlsErrors(emitEvent) {\n        this.status = this._calculateStatus();\n        if (emitEvent) {\n            this.statusChanges.emit(this.status);\n        }\n        if (this._parent) {\n            this._parent._updateControlsErrors(emitEvent);\n        }\n    }\n    /** @internal */\n    _initObservables() {\n        this.valueChanges = new EventEmitter();\n        this.statusChanges = new EventEmitter();\n    }\n    _calculateStatus() {\n        if (this._allControlsDisabled())\n            return DISABLED;\n        if (this.errors)\n            return INVALID;\n        if (this._hasOwnPendingAsyncValidator || this._anyControlsHaveStatus(PENDING))\n            return PENDING;\n        if (this._anyControlsHaveStatus(INVALID))\n            return INVALID;\n        return VALID;\n    }\n    /** @internal */\n    _anyControlsHaveStatus(status) {\n        return this._anyControls((control) => control.status === status);\n    }\n    /** @internal */\n    _anyControlsDirty() {\n        return this._anyControls((control) => control.dirty);\n    }\n    /** @internal */\n    _anyControlsTouched() {\n        return this._anyControls((control) => control.touched);\n    }\n    /** @internal */\n    _updatePristine(opts = {}) {\n        this.pristine = !this._anyControlsDirty();\n        if (this._parent && !opts.onlySelf) {\n            this._parent._updatePristine(opts);\n        }\n    }\n    /** @internal */\n    _updateTouched(opts = {}) {\n        this.touched = this._anyControlsTouched();\n        if (this._parent && !opts.onlySelf) {\n            this._parent._updateTouched(opts);\n        }\n    }\n    /** @internal */\n    _registerOnCollectionChange(fn) {\n        this._onCollectionChange = fn;\n    }\n    /** @internal */\n    _setUpdateStrategy(opts) {\n        if (isOptionsObj(opts) && opts.updateOn != null) {\n            this._updateOn = opts.updateOn;\n        }\n    }\n    /**\n     * Check to see if parent has been marked artificially dirty.\n     *\n     * @internal\n     */\n    _parentMarkedDirty(onlySelf) {\n        const parentDirty = this._parent && this._parent.dirty;\n        return !onlySelf && !!parentDirty && !this._parent._anyControlsDirty();\n    }\n    /** @internal */\n    _find(name) {\n        return null;\n    }\n    /**\n     * Internal implementation of the `setValidators` method. Needs to be separated out into a\n     * different method, because it is called in the constructor and it can break cases where\n     * a control is extended.\n     */\n    _assignValidators(validators) {\n        this._rawValidators = Array.isArray(validators) ? validators.slice() : validators;\n        this._composedValidatorFn = coerceToValidator(this._rawValidators);\n    }\n    /**\n     * Internal implementation of the `setAsyncValidators` method. Needs to be separated out into a\n     * different method, because it is called in the constructor and it can break cases where\n     * a control is extended.\n     */\n    _assignAsyncValidators(validators) {\n        this._rawAsyncValidators = Array.isArray(validators) ? validators.slice() : validators;\n        this._composedAsyncValidatorFn = coerceToAsyncValidator(this._rawAsyncValidators);\n    }\n}\n\n/**\n * Tracks the value and validity state of a group of `FormControl` instances.\n *\n * A `FormGroup` aggregates the values of each child `FormControl` into one object,\n * with each control name as the key.  It calculates its status by reducing the status values\n * of its children. For example, if one of the controls in a group is invalid, the entire\n * group becomes invalid.\n *\n * `FormGroup` is one of the four fundamental building blocks used to define forms in Angular,\n * along with `FormControl`, `FormArray`, and `FormRecord`.\n *\n * When instantiating a `FormGroup`, pass in a collection of child controls as the first\n * argument. The key for each child registers the name for the control.\n *\n * `FormGroup` is intended for use cases where the keys are known ahead of time.\n * If you need to dynamically add and remove controls, use {@link FormRecord} instead.\n *\n * `FormGroup` accepts an optional type parameter `TControl`, which is an object type with inner\n * control types as values.\n *\n * @usageNotes\n *\n * ### Create a form group with 2 controls\n *\n * ```\n * const form = new FormGroup({\n *   first: new FormControl('Nancy', Validators.minLength(2)),\n *   last: new FormControl('Drew'),\n * });\n *\n * console.log(form.value);   // {first: 'Nancy', last; 'Drew'}\n * console.log(form.status);  // 'VALID'\n * ```\n *\n * ### The type argument, and optional controls\n *\n * `FormGroup` accepts one generic argument, which is an object containing its inner controls.\n * This type will usually be inferred automatically, but you can always specify it explicitly if you\n * wish.\n *\n * If you have controls that are optional (i.e. they can be removed, you can use the `?` in the\n * type):\n *\n * ```\n * const form = new FormGroup<{\n *   first: FormControl<string|null>,\n *   middle?: FormControl<string|null>, // Middle name is optional.\n *   last: FormControl<string|null>,\n * }>({\n *   first: new FormControl('Nancy'),\n *   last: new FormControl('Drew'),\n * });\n * ```\n *\n * ### Create a form group with a group-level validator\n *\n * You include group-level validators as the second arg, or group-level async\n * validators as the third arg. These come in handy when you want to perform validation\n * that considers the value of more than one child control.\n *\n * ```\n * const form = new FormGroup({\n *   password: new FormControl('', Validators.minLength(2)),\n *   passwordConfirm: new FormControl('', Validators.minLength(2)),\n * }, passwordMatchValidator);\n *\n *\n * function passwordMatchValidator(g: FormGroup) {\n *    return g.get('password').value === g.get('passwordConfirm').value\n *       ? null : {'mismatch': true};\n * }\n * ```\n *\n * Like `FormControl` instances, you choose to pass in\n * validators and async validators as part of an options object.\n *\n * ```\n * const form = new FormGroup({\n *   password: new FormControl('')\n *   passwordConfirm: new FormControl('')\n * }, { validators: passwordMatchValidator, asyncValidators: otherValidator });\n * ```\n *\n * ### Set the updateOn property for all controls in a form group\n *\n * The options object is used to set a default value for each child\n * control's `updateOn` property. If you set `updateOn` to `'blur'` at the\n * group level, all child controls default to 'blur', unless the child\n * has explicitly specified a different `updateOn` value.\n *\n * ```ts\n * const c = new FormGroup({\n *   one: new FormControl()\n * }, { updateOn: 'blur' });\n * ```\n *\n * ### Using a FormGroup with optional controls\n *\n * It is possible to have optional controls in a FormGroup. An optional control can be removed later\n * using `removeControl`, and can be omitted when calling `reset`. Optional controls must be\n * declared optional in the group's type.\n *\n * ```ts\n * const c = new FormGroup<{one?: FormControl<string>}>({\n *   one: new FormControl('')\n * });\n * ```\n *\n * Notice that `c.value.one` has type `string|null|undefined`. This is because calling `c.reset({})`\n * without providing the optional key `one` will cause it to become `null`.\n *\n * @publicApi\n */\nclass FormGroup extends AbstractControl {\n    /**\n     * Creates a new `FormGroup` instance.\n     *\n     * @param controls A collection of child controls. The key for each child is the name\n     * under which it is registered.\n     *\n     * @param validatorOrOpts A synchronous validator function, or an array of\n     * such functions, or an `AbstractControlOptions` object that contains validation functions\n     * and a validation trigger.\n     *\n     * @param asyncValidator A single async validator or array of async validator functions\n     *\n     */\n    constructor(controls, validatorOrOpts, asyncValidator) {\n        super(pickValidators(validatorOrOpts), pickAsyncValidators(asyncValidator, validatorOrOpts));\n        this.controls = controls;\n        this._initObservables();\n        this._setUpdateStrategy(validatorOrOpts);\n        this._setUpControls();\n        this.updateValueAndValidity({\n            onlySelf: true,\n            // If `asyncValidator` is present, it will trigger control status change from `PENDING` to\n            // `VALID` or `INVALID`. The status should be broadcasted via the `statusChanges` observable,\n            // so we set `emitEvent` to `true` to allow that during the control creation process.\n            emitEvent: !!this.asyncValidator\n        });\n    }\n    registerControl(name, control) {\n        if (this.controls[name])\n            return this.controls[name];\n        this.controls[name] = control;\n        control.setParent(this);\n        control._registerOnCollectionChange(this._onCollectionChange);\n        return control;\n    }\n    addControl(name, control, options = {}) {\n        this.registerControl(name, control);\n        this.updateValueAndValidity({ emitEvent: options.emitEvent });\n        this._onCollectionChange();\n    }\n    /**\n     * Remove a control from this group. In a strongly-typed group, required controls cannot be\n     * removed.\n     *\n     * This method also updates the value and validity of the control.\n     *\n     * @param name The control name to remove from the collection\n     * @param options Specifies whether this FormGroup instance should emit events after a\n     *     control is removed.\n     * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and\n     * `valueChanges` observables emit events with the latest status and value when the control is\n     * removed. When false, no events are emitted.\n     */\n    removeControl(name, options = {}) {\n        if (this.controls[name])\n            this.controls[name]._registerOnCollectionChange(() => { });\n        delete (this.controls[name]);\n        this.updateValueAndValidity({ emitEvent: options.emitEvent });\n        this._onCollectionChange();\n    }\n    setControl(name, control, options = {}) {\n        if (this.controls[name])\n            this.controls[name]._registerOnCollectionChange(() => { });\n        delete (this.controls[name]);\n        if (control)\n            this.registerControl(name, control);\n        this.updateValueAndValidity({ emitEvent: options.emitEvent });\n        this._onCollectionChange();\n    }\n    contains(controlName) {\n        return this.controls.hasOwnProperty(controlName) && this.controls[controlName].enabled;\n    }\n    /**\n     * Sets the value of the `FormGroup`. It accepts an object that matches\n     * the structure of the group, with control names as keys.\n     *\n     * @usageNotes\n     * ### Set the complete value for the form group\n     *\n     * ```\n     * const form = new FormGroup({\n     *   first: new FormControl(),\n     *   last: new FormControl()\n     * });\n     *\n     * console.log(form.value);   // {first: null, last: null}\n     *\n     * form.setValue({first: 'Nancy', last: 'Drew'});\n     * console.log(form.value);   // {first: 'Nancy', last: 'Drew'}\n     * ```\n     *\n     * @throws When strict checks fail, such as setting the value of a control\n     * that doesn't exist or if you exclude a value of a control that does exist.\n     *\n     * @param value The new value for the control that matches the structure of the group.\n     * @param options Configuration options that determine how the control propagates changes\n     * and emits events after the value changes.\n     * The configuration options are passed to the {@link AbstractControl#updateValueAndValidity\n     * updateValueAndValidity} method.\n     *\n     * * `onlySelf`: When true, each change only affects this control, and not its parent. Default is\n     * false.\n     * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and\n     * `valueChanges`\n     * observables emit events with the latest status and value when the control value is updated.\n     * When false, no events are emitted.\n     */\n    setValue(value, options = {}) {\n        assertAllValuesPresent(this, true, value);\n        Object.keys(value).forEach(name => {\n            assertControlPresent(this, true, name);\n            this.controls[name].setValue(value[name], { onlySelf: true, emitEvent: options.emitEvent });\n        });\n        this.updateValueAndValidity(options);\n    }\n    /**\n     * Patches the value of the `FormGroup`. It accepts an object with control\n     * names as keys, and does its best to match the values to the correct controls\n     * in the group.\n     *\n     * It accepts both super-sets and sub-sets of the group without throwing an error.\n     *\n     * @usageNotes\n     * ### Patch the value for a form group\n     *\n     * ```\n     * const form = new FormGroup({\n     *    first: new FormControl(),\n     *    last: new FormControl()\n     * });\n     * console.log(form.value);   // {first: null, last: null}\n     *\n     * form.patchValue({first: 'Nancy'});\n     * console.log(form.value);   // {first: 'Nancy', last: null}\n     * ```\n     *\n     * @param value The object that matches the structure of the group.\n     * @param options Configuration options that determine how the control propagates changes and\n     * emits events after the value is patched.\n     * * `onlySelf`: When true, each change only affects this control and not its parent. Default is\n     * true.\n     * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and\n     * `valueChanges` observables emit events with the latest status and value when the control value\n     * is updated. When false, no events are emitted. The configuration options are passed to\n     * the {@link AbstractControl#updateValueAndValidity updateValueAndValidity} method.\n     */\n    patchValue(value, options = {}) {\n        // Even though the `value` argument type doesn't allow `null` and `undefined` values, the\n        // `patchValue` can be called recursively and inner data structures might have these values, so\n        // we just ignore such cases when a field containing FormGroup instance receives `null` or\n        // `undefined` as a value.\n        if (value == null /* both `null` and `undefined` */)\n            return;\n        Object.keys(value).forEach(name => {\n            // The compiler cannot see through the uninstantiated conditional type of `this.controls`, so\n            // `as any` is required.\n            const control = this.controls[name];\n            if (control) {\n                control.patchValue(\n                /* Guaranteed to be present, due to the outer forEach. */ value[name], { onlySelf: true, emitEvent: options.emitEvent });\n            }\n        });\n        this.updateValueAndValidity(options);\n    }\n    /**\n     * Resets the `FormGroup`, marks all descendants `pristine` and `untouched` and sets\n     * the value of all descendants to their default values, or null if no defaults were provided.\n     *\n     * You reset to a specific form state by passing in a map of states\n     * that matches the structure of your form, with control names as keys. The state\n     * is a standalone value or a form state object with both a value and a disabled\n     * status.\n     *\n     * @param value Resets the control with an initial value,\n     * or an object that defines the initial value and disabled state.\n     *\n     * @param options Configuration options that determine how the control propagates changes\n     * and emits events when the group is reset.\n     * * `onlySelf`: When true, each change only affects this control, and not its parent. Default is\n     * false.\n     * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and\n     * `valueChanges`\n     * observables emit events with the latest status and value when the control is reset.\n     * When false, no events are emitted.\n     * The configuration options are passed to the {@link AbstractControl#updateValueAndValidity\n     * updateValueAndValidity} method.\n     *\n     * @usageNotes\n     *\n     * ### Reset the form group values\n     *\n     * ```ts\n     * const form = new FormGroup({\n     *   first: new FormControl('first name'),\n     *   last: new FormControl('last name')\n     * });\n     *\n     * console.log(form.value);  // {first: 'first name', last: 'last name'}\n     *\n     * form.reset({ first: 'name', last: 'last name' });\n     *\n     * console.log(form.value);  // {first: 'name', last: 'last name'}\n     * ```\n     *\n     * ### Reset the form group values and disabled status\n     *\n     * ```\n     * const form = new FormGroup({\n     *   first: new FormControl('first name'),\n     *   last: new FormControl('last name')\n     * });\n     *\n     * form.reset({\n     *   first: {value: 'name', disabled: true},\n     *   last: 'last'\n     * });\n     *\n     * console.log(form.value);  // {last: 'last'}\n     * console.log(form.get('first').status);  // 'DISABLED'\n     * ```\n     */\n    reset(value = {}, options = {}) {\n        this._forEachChild((control, name) => {\n            control.reset(value[name], { onlySelf: true, emitEvent: options.emitEvent });\n        });\n        this._updatePristine(options);\n        this._updateTouched(options);\n        this.updateValueAndValidity(options);\n    }\n    /**\n     * The aggregate value of the `FormGroup`, including any disabled controls.\n     *\n     * Retrieves all values regardless of disabled status.\n     */\n    getRawValue() {\n        return this._reduceChildren({}, (acc, control, name) => {\n            acc[name] = control.getRawValue();\n            return acc;\n        });\n    }\n    /** @internal */\n    _syncPendingControls() {\n        let subtreeUpdated = this._reduceChildren(false, (updated, child) => {\n            return child._syncPendingControls() ? true : updated;\n        });\n        if (subtreeUpdated)\n            this.updateValueAndValidity({ onlySelf: true });\n        return subtreeUpdated;\n    }\n    /** @internal */\n    _forEachChild(cb) {\n        Object.keys(this.controls).forEach(key => {\n            // The list of controls can change (for ex. controls might be removed) while the loop\n            // is running (as a result of invoking Forms API in `valueChanges` subscription), so we\n            // have to null check before invoking the callback.\n            const control = this.controls[key];\n            control && cb(control, key);\n        });\n    }\n    /** @internal */\n    _setUpControls() {\n        this._forEachChild((control) => {\n            control.setParent(this);\n            control._registerOnCollectionChange(this._onCollectionChange);\n        });\n    }\n    /** @internal */\n    _updateValue() {\n        this.value = this._reduceValue();\n    }\n    /** @internal */\n    _anyControls(condition) {\n        for (const [controlName, control] of Object.entries(this.controls)) {\n            if (this.contains(controlName) && condition(control)) {\n                return true;\n            }\n        }\n        return false;\n    }\n    /** @internal */\n    _reduceValue() {\n        let acc = {};\n        return this._reduceChildren(acc, (acc, control, name) => {\n            if (control.enabled || this.disabled) {\n                acc[name] = control.value;\n            }\n            return acc;\n        });\n    }\n    /** @internal */\n    _reduceChildren(initValue, fn) {\n        let res = initValue;\n        this._forEachChild((control, name) => {\n            res = fn(res, control, name);\n        });\n        return res;\n    }\n    /** @internal */\n    _allControlsDisabled() {\n        for (const controlName of Object.keys(this.controls)) {\n            if (this.controls[controlName].enabled) {\n                return false;\n            }\n        }\n        return Object.keys(this.controls).length > 0 || this.disabled;\n    }\n    /** @internal */\n    _find(name) {\n        return this.controls.hasOwnProperty(name) ?\n            this.controls[name] :\n            null;\n    }\n}\nconst UntypedFormGroup = FormGroup;\n/**\n * @description\n * Asserts that the given control is an instance of `FormGroup`\n *\n * @publicApi\n */\nconst isFormGroup = (control) => control instanceof FormGroup;\n/**\n * Tracks the value and validity state of a collection of `FormControl` instances, each of which has\n * the same value type.\n *\n * `FormRecord` is very similar to {@link FormGroup}, except it can be used with a dynamic keys,\n * with controls added and removed as needed.\n *\n * `FormRecord` accepts one generic argument, which describes the type of the controls it contains.\n *\n * @usageNotes\n *\n * ```\n * let numbers = new FormRecord({bill: new FormControl('415-123-456')});\n * numbers.addControl('bob', new FormControl('415-234-567'));\n * numbers.removeControl('bill');\n * ```\n *\n * @publicApi\n */\nclass FormRecord extends FormGroup {\n}\n/**\n * @description\n * Asserts that the given control is an instance of `FormRecord`\n *\n * @publicApi\n */\nconst isFormRecord = (control) => control instanceof FormRecord;\n\n/**\n * Token to provide to allow SetDisabledState to always be called when a CVA is added, regardless of\n * whether the control is disabled or enabled.\n *\n * @see `FormsModule.withConfig`\n */\nconst CALL_SET_DISABLED_STATE = new InjectionToken('CallSetDisabledState', { providedIn: 'root', factory: () => setDisabledStateDefault });\n/**\n * Whether to use the fixed setDisabledState behavior by default.\n */\nconst setDisabledStateDefault = 'always';\nfunction controlPath(name, parent) {\n    return [...parent.path, name];\n}\n/**\n * Links a Form control and a Form directive by setting up callbacks (such as `onChange`) on both\n * instances. This function is typically invoked when form directive is being initialized.\n *\n * @param control Form control instance that should be linked.\n * @param dir Directive that should be linked with a given control.\n */\nfunction setUpControl(control, dir, callSetDisabledState = setDisabledStateDefault) {\n    if (typeof ngDevMode === 'undefined' || ngDevMode) {\n        if (!control)\n            _throwError(dir, 'Cannot find control with');\n        if (!dir.valueAccessor)\n            _throwMissingValueAccessorError(dir);\n    }\n    setUpValidators(control, dir);\n    dir.valueAccessor.writeValue(control.value);\n    // The legacy behavior only calls the CVA's `setDisabledState` if the control is disabled.\n    // If the `callSetDisabledState` option is set to `always`, then this bug is fixed and\n    // the method is always called.\n    if (control.disabled || callSetDisabledState === 'always') {\n        dir.valueAccessor.setDisabledState?.(control.disabled);\n    }\n    setUpViewChangePipeline(control, dir);\n    setUpModelChangePipeline(control, dir);\n    setUpBlurPipeline(control, dir);\n    setUpDisabledChangeHandler(control, dir);\n}\n/**\n * Reverts configuration performed by the `setUpControl` control function.\n * Effectively disconnects form control with a given form directive.\n * This function is typically invoked when corresponding form directive is being destroyed.\n *\n * @param control Form control which should be cleaned up.\n * @param dir Directive that should be disconnected from a given control.\n * @param validateControlPresenceOnChange Flag that indicates whether onChange handler should\n *     contain asserts to verify that it's not called once directive is destroyed. We need this flag\n *     to avoid potentially breaking changes caused by better control cleanup introduced in #39235.\n */\nfunction cleanUpControl(control, dir, validateControlPresenceOnChange = true) {\n    const noop = () => {\n        if (validateControlPresenceOnChange && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n            _noControlError(dir);\n        }\n    };\n    // The `valueAccessor` field is typically defined on FromControl and FormControlName directive\n    // instances and there is a logic in `selectValueAccessor` function that throws if it's not the\n    // case. We still check the presence of `valueAccessor` before invoking its methods to make sure\n    // that cleanup works correctly if app code or tests are setup to ignore the error thrown from\n    // `selectValueAccessor`. See https://github.com/angular/angular/issues/40521.\n    if (dir.valueAccessor) {\n        dir.valueAccessor.registerOnChange(noop);\n        dir.valueAccessor.registerOnTouched(noop);\n    }\n    cleanUpValidators(control, dir);\n    if (control) {\n        dir._invokeOnDestroyCallbacks();\n        control._registerOnCollectionChange(() => { });\n    }\n}\nfunction registerOnValidatorChange(validators, onChange) {\n    validators.forEach((validator) => {\n        if (validator.registerOnValidatorChange)\n            validator.registerOnValidatorChange(onChange);\n    });\n}\n/**\n * Sets up disabled change handler function on a given form control if ControlValueAccessor\n * associated with a given directive instance supports the `setDisabledState` call.\n *\n * @param control Form control where disabled change handler should be setup.\n * @param dir Corresponding directive instance associated with this control.\n */\nfunction setUpDisabledChangeHandler(control, dir) {\n    if (dir.valueAccessor.setDisabledState) {\n        const onDisabledChange = (isDisabled) => {\n            dir.valueAccessor.setDisabledState(isDisabled);\n        };\n        control.registerOnDisabledChange(onDisabledChange);\n        // Register a callback function to cleanup disabled change handler\n        // from a control instance when a directive is destroyed.\n        dir._registerOnDestroy(() => {\n            control._unregisterOnDisabledChange(onDisabledChange);\n        });\n    }\n}\n/**\n * Sets up sync and async directive validators on provided form control.\n * This function merges validators from the directive into the validators of the control.\n *\n * @param control Form control where directive validators should be setup.\n * @param dir Directive instance that contains validators to be setup.\n */\nfunction setUpValidators(control, dir) {\n    const validators = getControlValidators(control);\n    if (dir.validator !== null) {\n        control.setValidators(mergeValidators(validators, dir.validator));\n    }\n    else if (typeof validators === 'function') {\n        // If sync validators are represented by a single validator function, we force the\n        // `Validators.compose` call to happen by executing the `setValidators` function with\n        // an array that contains that function. We need this to avoid possible discrepancies in\n        // validators behavior, so sync validators are always processed by the `Validators.compose`.\n        // Note: we should consider moving this logic inside the `setValidators` function itself, so we\n        // have consistent behavior on AbstractControl API level. The same applies to the async\n        // validators logic below.\n        control.setValidators([validators]);\n    }\n    const asyncValidators = getControlAsyncValidators(control);\n    if (dir.asyncValidator !== null) {\n        control.setAsyncValidators(mergeValidators(asyncValidators, dir.asyncValidator));\n    }\n    else if (typeof asyncValidators === 'function') {\n        control.setAsyncValidators([asyncValidators]);\n    }\n    // Re-run validation when validator binding changes, e.g. minlength=3 -> minlength=4\n    const onValidatorChange = () => control.updateValueAndValidity();\n    registerOnValidatorChange(dir._rawValidators, onValidatorChange);\n    registerOnValidatorChange(dir._rawAsyncValidators, onValidatorChange);\n}\n/**\n * Cleans up sync and async directive validators on provided form control.\n * This function reverts the setup performed by the `setUpValidators` function, i.e.\n * removes directive-specific validators from a given control instance.\n *\n * @param control Form control from where directive validators should be removed.\n * @param dir Directive instance that contains validators to be removed.\n * @returns true if a control was updated as a result of this action.\n */\nfunction cleanUpValidators(control, dir) {\n    let isControlUpdated = false;\n    if (control !== null) {\n        if (dir.validator !== null) {\n            const validators = getControlValidators(control);\n            if (Array.isArray(validators) && validators.length > 0) {\n                // Filter out directive validator function.\n                const updatedValidators = validators.filter((validator) => validator !== dir.validator);\n                if (updatedValidators.length !== validators.length) {\n                    isControlUpdated = true;\n                    control.setValidators(updatedValidators);\n                }\n            }\n        }\n        if (dir.asyncValidator !== null) {\n            const asyncValidators = getControlAsyncValidators(control);\n            if (Array.isArray(asyncValidators) && asyncValidators.length > 0) {\n                // Filter out directive async validator function.\n                const updatedAsyncValidators = asyncValidators.filter((asyncValidator) => asyncValidator !== dir.asyncValidator);\n                if (updatedAsyncValidators.length !== asyncValidators.length) {\n                    isControlUpdated = true;\n                    control.setAsyncValidators(updatedAsyncValidators);\n                }\n            }\n        }\n    }\n    // Clear onValidatorChange callbacks by providing a noop function.\n    const noop = () => { };\n    registerOnValidatorChange(dir._rawValidators, noop);\n    registerOnValidatorChange(dir._rawAsyncValidators, noop);\n    return isControlUpdated;\n}\nfunction setUpViewChangePipeline(control, dir) {\n    dir.valueAccessor.registerOnChange((newValue) => {\n        control._pendingValue = newValue;\n        control._pendingChange = true;\n        control._pendingDirty = true;\n        if (control.updateOn === 'change')\n            updateControl(control, dir);\n    });\n}\nfunction setUpBlurPipeline(control, dir) {\n    dir.valueAccessor.registerOnTouched(() => {\n        control._pendingTouched = true;\n        if (control.updateOn === 'blur' && control._pendingChange)\n            updateControl(control, dir);\n        if (control.updateOn !== 'submit')\n            control.markAsTouched();\n    });\n}\nfunction updateControl(control, dir) {\n    if (control._pendingDirty)\n        control.markAsDirty();\n    control.setValue(control._pendingValue, { emitModelToViewChange: false });\n    dir.viewToModelUpdate(control._pendingValue);\n    control._pendingChange = false;\n}\nfunction setUpModelChangePipeline(control, dir) {\n    const onChange = (newValue, emitModelEvent) => {\n        // control -> view\n        dir.valueAccessor.writeValue(newValue);\n        // control -> ngModel\n        if (emitModelEvent)\n            dir.viewToModelUpdate(newValue);\n    };\n    control.registerOnChange(onChange);\n    // Register a callback function to cleanup onChange handler\n    // from a control instance when a directive is destroyed.\n    dir._registerOnDestroy(() => {\n        control._unregisterOnChange(onChange);\n    });\n}\n/**\n * Links a FormGroup or FormArray instance and corresponding Form directive by setting up validators\n * present in the view.\n *\n * @param control FormGroup or FormArray instance that should be linked.\n * @param dir Directive that provides view validators.\n */\nfunction setUpFormContainer(control, dir) {\n    if (control == null && (typeof ngDevMode === 'undefined' || ngDevMode))\n        _throwError(dir, 'Cannot find control with');\n    setUpValidators(control, dir);\n}\n/**\n * Reverts the setup performed by the `setUpFormContainer` function.\n *\n * @param control FormGroup or FormArray instance that should be cleaned up.\n * @param dir Directive that provided view validators.\n * @returns true if a control was updated as a result of this action.\n */\nfunction cleanUpFormContainer(control, dir) {\n    return cleanUpValidators(control, dir);\n}\nfunction _noControlError(dir) {\n    return _throwError(dir, 'There is no FormControl instance attached to form control element with');\n}\nfunction _throwError(dir, message) {\n    const messageEnd = _describeControlLocation(dir);\n    throw new Error(`${message} ${messageEnd}`);\n}\nfunction _describeControlLocation(dir) {\n    const path = dir.path;\n    if (path && path.length > 1)\n        return `path: '${path.join(' -> ')}'`;\n    if (path?.[0])\n        return `name: '${path}'`;\n    return 'unspecified name attribute';\n}\nfunction _throwMissingValueAccessorError(dir) {\n    const loc = _describeControlLocation(dir);\n    throw new ɵRuntimeError(-1203 /* RuntimeErrorCode.NG_MISSING_VALUE_ACCESSOR */, `No value accessor for form control ${loc}.`);\n}\nfunction _throwInvalidValueAccessorError(dir) {\n    const loc = _describeControlLocation(dir);\n    throw new ɵRuntimeError(1200 /* RuntimeErrorCode.NG_VALUE_ACCESSOR_NOT_PROVIDED */, `Value accessor was not provided as an array for form control with ${loc}. ` +\n        `Check that the \\`NG_VALUE_ACCESSOR\\` token is configured as a \\`multi: true\\` provider.`);\n}\nfunction isPropertyUpdated(changes, viewModel) {\n    if (!changes.hasOwnProperty('model'))\n        return false;\n    const change = changes['model'];\n    if (change.isFirstChange())\n        return true;\n    return !Object.is(viewModel, change.currentValue);\n}\nfunction isBuiltInAccessor(valueAccessor) {\n    // Check if a given value accessor is an instance of a class that directly extends\n    // `BuiltInControlValueAccessor` one.\n    return Object.getPrototypeOf(valueAccessor.constructor) === BuiltInControlValueAccessor;\n}\nfunction syncPendingControls(form, directives) {\n    form._syncPendingControls();\n    directives.forEach((dir) => {\n        const control = dir.control;\n        if (control.updateOn === 'submit' && control._pendingChange) {\n            dir.viewToModelUpdate(control._pendingValue);\n            control._pendingChange = false;\n        }\n    });\n}\n// TODO: vsavkin remove it once https://github.com/angular/angular/issues/3011 is implemented\nfunction selectValueAccessor(dir, valueAccessors) {\n    if (!valueAccessors)\n        return null;\n    if (!Array.isArray(valueAccessors) && (typeof ngDevMode === 'undefined' || ngDevMode))\n        _throwInvalidValueAccessorError(dir);\n    let defaultAccessor = undefined;\n    let builtinAccessor = undefined;\n    let customAccessor = undefined;\n    valueAccessors.forEach((v) => {\n        if (v.constructor === DefaultValueAccessor) {\n            defaultAccessor = v;\n        }\n        else if (isBuiltInAccessor(v)) {\n            if (builtinAccessor && (typeof ngDevMode === 'undefined' || ngDevMode))\n                _throwError(dir, 'More than one built-in value accessor matches form control with');\n            builtinAccessor = v;\n        }\n        else {\n            if (customAccessor && (typeof ngDevMode === 'undefined' || ngDevMode))\n                _throwError(dir, 'More than one custom value accessor matches form control with');\n            customAccessor = v;\n        }\n    });\n    if (customAccessor)\n        return customAccessor;\n    if (builtinAccessor)\n        return builtinAccessor;\n    if (defaultAccessor)\n        return defaultAccessor;\n    if (typeof ngDevMode === 'undefined' || ngDevMode) {\n        _throwError(dir, 'No valid value accessor for form control with');\n    }\n    return null;\n}\nfunction removeListItem$1(list, el) {\n    const index = list.indexOf(el);\n    if (index > -1)\n        list.splice(index, 1);\n}\n// TODO(kara): remove after deprecation period\nfunction _ngModelWarning(name, type, instance, warningConfig) {\n    if (warningConfig === 'never')\n        return;\n    if (((warningConfig === null || warningConfig === 'once') && !type._ngModelWarningSentOnce) ||\n        (warningConfig === 'always' && !instance._ngModelWarningSent)) {\n        console.warn(ngModelWarning(name));\n        type._ngModelWarningSentOnce = true;\n        instance._ngModelWarningSent = true;\n    }\n}\n\nconst formDirectiveProvider$1 = {\n    provide: ControlContainer,\n    useExisting: forwardRef(() => NgForm)\n};\nconst resolvedPromise$1 = (() => Promise.resolve())();\n/**\n * @description\n * Creates a top-level `FormGroup` instance and binds it to a form\n * to track aggregate form value and validation status.\n *\n * As soon as you import the `FormsModule`, this directive becomes active by default on\n * all `<form>` tags.  You don't need to add a special selector.\n *\n * You optionally export the directive into a local template variable using `ngForm` as the key\n * (ex: `#myForm=\"ngForm\"`). This is optional, but useful.  Many properties from the underlying\n * `FormGroup` instance are duplicated on the directive itself, so a reference to it\n * gives you access to the aggregate value and validity status of the form, as well as\n * user interaction properties like `dirty` and `touched`.\n *\n * To register child controls with the form, use `NgModel` with a `name`\n * attribute. You may use `NgModelGroup` to create sub-groups within the form.\n *\n * If necessary, listen to the directive's `ngSubmit` event to be notified when the user has\n * triggered a form submission. The `ngSubmit` event emits the original form\n * submission event.\n *\n * In template driven forms, all `<form>` tags are automatically tagged as `NgForm`.\n * To import the `FormsModule` but skip its usage in some forms,\n * for example, to use native HTML5 validation, add the `ngNoForm` and the `<form>`\n * tags won't create an `NgForm` directive. In reactive forms, using `ngNoForm` is\n * unnecessary because the `<form>` tags are inert. In that case, you would\n * refrain from using the `formGroup` directive.\n *\n * @usageNotes\n *\n * ### Listening for form submission\n *\n * The following example shows how to capture the form values from the \"ngSubmit\" event.\n *\n * {@example forms/ts/simpleForm/simple_form_example.ts region='Component'}\n *\n * ### Setting the update options\n *\n * The following example shows you how to change the \"updateOn\" option from its default using\n * ngFormOptions.\n *\n * ```html\n * <form [ngFormOptions]=\"{updateOn: 'blur'}\">\n *    <input name=\"one\" ngModel>  <!-- this ngModel will update on blur -->\n * </form>\n * ```\n *\n * ### Native DOM validation UI\n *\n * In order to prevent the native DOM form validation UI from interfering with Angular's form\n * validation, Angular automatically adds the `novalidate` attribute on any `<form>` whenever\n * `FormModule` or `ReactiveFormModule` are imported into the application.\n * If you want to explicitly enable native DOM validation UI with Angular forms, you can add the\n * `ngNativeValidate` attribute to the `<form>` element:\n *\n * ```html\n * <form ngNativeValidate>\n *   ...\n * </form>\n * ```\n *\n * @ngModule FormsModule\n * @publicApi\n */\nclass NgForm extends ControlContainer {\n    constructor(validators, asyncValidators, callSetDisabledState) {\n        super();\n        this.callSetDisabledState = callSetDisabledState;\n        /**\n         * @description\n         * Returns whether the form submission has been triggered.\n         */\n        this.submitted = false;\n        this._directives = new Set();\n        /**\n         * @description\n         * Event emitter for the \"ngSubmit\" event\n         */\n        this.ngSubmit = new EventEmitter();\n        this.form =\n            new FormGroup({}, composeValidators(validators), composeAsyncValidators(asyncValidators));\n    }\n    /** @nodoc */\n    ngAfterViewInit() {\n        this._setUpdateStrategy();\n    }\n    /**\n     * @description\n     * The directive instance.\n     */\n    get formDirective() {\n        return this;\n    }\n    /**\n     * @description\n     * The internal `FormGroup` instance.\n     */\n    get control() {\n        return this.form;\n    }\n    /**\n     * @description\n     * Returns an array representing the path to this group. Because this directive\n     * always lives at the top level of a form, it is always an empty array.\n     */\n    get path() {\n        return [];\n    }\n    /**\n     * @description\n     * Returns a map of the controls in this group.\n     */\n    get controls() {\n        return this.form.controls;\n    }\n    /**\n     * @description\n     * Method that sets up the control directive in this group, re-calculates its value\n     * and validity, and adds the instance to the internal list of directives.\n     *\n     * @param dir The `NgModel` directive instance.\n     */\n    addControl(dir) {\n        resolvedPromise$1.then(() => {\n            const container = this._findContainer(dir.path);\n            dir.control =\n                container.registerControl(dir.name, dir.control);\n            setUpControl(dir.control, dir, this.callSetDisabledState);\n            dir.control.updateValueAndValidity({ emitEvent: false });\n            this._directives.add(dir);\n        });\n    }\n    /**\n     * @description\n     * Retrieves the `FormControl` instance from the provided `NgModel` directive.\n     *\n     * @param dir The `NgModel` directive instance.\n     */\n    getControl(dir) {\n        return this.form.get(dir.path);\n    }\n    /**\n     * @description\n     * Removes the `NgModel` instance from the internal list of directives\n     *\n     * @param dir The `NgModel` directive instance.\n     */\n    removeControl(dir) {\n        resolvedPromise$1.then(() => {\n            const container = this._findContainer(dir.path);\n            if (container) {\n                container.removeControl(dir.name);\n            }\n            this._directives.delete(dir);\n        });\n    }\n    /**\n     * @description\n     * Adds a new `NgModelGroup` directive instance to the form.\n     *\n     * @param dir The `NgModelGroup` directive instance.\n     */\n    addFormGroup(dir) {\n        resolvedPromise$1.then(() => {\n            const container = this._findContainer(dir.path);\n            const group = new FormGroup({});\n            setUpFormContainer(group, dir);\n            container.registerControl(dir.name, group);\n            group.updateValueAndValidity({ emitEvent: false });\n        });\n    }\n    /**\n     * @description\n     * Removes the `NgModelGroup` directive instance from the form.\n     *\n     * @param dir The `NgModelGroup` directive instance.\n     */\n    removeFormGroup(dir) {\n        resolvedPromise$1.then(() => {\n            const container = this._findContainer(dir.path);\n            if (container) {\n                container.removeControl(dir.name);\n            }\n        });\n    }\n    /**\n     * @description\n     * Retrieves the `FormGroup` for a provided `NgModelGroup` directive instance\n     *\n     * @param dir The `NgModelGroup` directive instance.\n     */\n    getFormGroup(dir) {\n        return this.form.get(dir.path);\n    }\n    /**\n     * Sets the new value for the provided `NgControl` directive.\n     *\n     * @param dir The `NgControl` directive instance.\n     * @param value The new value for the directive's control.\n     */\n    updateModel(dir, value) {\n        resolvedPromise$1.then(() => {\n            const ctrl = this.form.get(dir.path);\n            ctrl.setValue(value);\n        });\n    }\n    /**\n     * @description\n     * Sets the value for this `FormGroup`.\n     *\n     * @param value The new value\n     */\n    setValue(value) {\n        this.control.setValue(value);\n    }\n    /**\n     * @description\n     * Method called when the \"submit\" event is triggered on the form.\n     * Triggers the `ngSubmit` emitter to emit the \"submit\" event as its payload.\n     *\n     * @param $event The \"submit\" event object\n     */\n    onSubmit($event) {\n        this.submitted = true;\n        syncPendingControls(this.form, this._directives);\n        this.ngSubmit.emit($event);\n        // Forms with `method=\"dialog\"` have some special behavior\n        // that won't reload the page and that shouldn't be prevented.\n        return $event?.target?.method === 'dialog';\n    }\n    /**\n     * @description\n     * Method called when the \"reset\" event is triggered on the form.\n     */\n    onReset() {\n        this.resetForm();\n    }\n    /**\n     * @description\n     * Resets the form to an initial value and resets its submitted status.\n     *\n     * @param value The new value for the form.\n     */\n    resetForm(value = undefined) {\n        this.form.reset(value);\n        this.submitted = false;\n    }\n    _setUpdateStrategy() {\n        if (this.options && this.options.updateOn != null) {\n            this.form._updateOn = this.options.updateOn;\n        }\n    }\n    _findContainer(path) {\n        path.pop();\n        return path.length ? this.form.get(path) : this.form;\n    }\n}\nNgForm.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: NgForm, deps: [{ token: NG_VALIDATORS, optional: true, self: true }, { token: NG_ASYNC_VALIDATORS, optional: true, self: true }, { token: CALL_SET_DISABLED_STATE, optional: true }], target: i0.ɵɵFactoryTarget.Directive });\nNgForm.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.2.10\", type: NgForm, selector: \"form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]\", inputs: { options: [\"ngFormOptions\", \"options\"] }, outputs: { ngSubmit: \"ngSubmit\" }, host: { listeners: { \"submit\": \"onSubmit($event)\", \"reset\": \"onReset()\" } }, providers: [formDirectiveProvider$1], exportAs: [\"ngForm\"], usesInheritance: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: NgForm, decorators: [{\n            type: Directive,\n            args: [{\n                    selector: 'form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]',\n                    providers: [formDirectiveProvider$1],\n                    host: { '(submit)': 'onSubmit($event)', '(reset)': 'onReset()' },\n                    outputs: ['ngSubmit'],\n                    exportAs: 'ngForm'\n                }]\n        }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n                    type: Optional\n                }, {\n                    type: Self\n                }, {\n                    type: Inject,\n                    args: [NG_VALIDATORS]\n                }] }, { type: undefined, decorators: [{\n                    type: Optional\n                }, {\n                    type: Self\n                }, {\n                    type: Inject,\n                    args: [NG_ASYNC_VALIDATORS]\n                }] }, { type: undefined, decorators: [{\n                    type: Optional\n                }, {\n                    type: Inject,\n                    args: [CALL_SET_DISABLED_STATE]\n                }] }]; }, propDecorators: { options: [{\n                type: Input,\n                args: ['ngFormOptions']\n            }] } });\n\nfunction removeListItem(list, el) {\n    const index = list.indexOf(el);\n    if (index > -1)\n        list.splice(index, 1);\n}\n\nfunction isFormControlState(formState) {\n    return typeof formState === 'object' && formState !== null &&\n        Object.keys(formState).length === 2 && 'value' in formState && 'disabled' in formState;\n}\nconst FormControl = (class FormControl extends AbstractControl {\n    constructor(\n    // formState and defaultValue will only be null if T is nullable\n    formState = null, validatorOrOpts, asyncValidator) {\n        super(pickValidators(validatorOrOpts), pickAsyncValidators(asyncValidator, validatorOrOpts));\n        /** @publicApi */\n        this.defaultValue = null;\n        /** @internal */\n        this._onChange = [];\n        /** @internal */\n        this._pendingChange = false;\n        this._applyFormState(formState);\n        this._setUpdateStrategy(validatorOrOpts);\n        this._initObservables();\n        this.updateValueAndValidity({\n            onlySelf: true,\n            // If `asyncValidator` is present, it will trigger control status change from `PENDING` to\n            // `VALID` or `INVALID`.\n            // The status should be broadcasted via the `statusChanges` observable, so we set\n            // `emitEvent` to `true` to allow that during the control creation process.\n            emitEvent: !!this.asyncValidator\n        });\n        if (isOptionsObj(validatorOrOpts) &&\n            (validatorOrOpts.nonNullable || validatorOrOpts.initialValueIsDefault)) {\n            if (isFormControlState(formState)) {\n                this.defaultValue = formState.value;\n            }\n            else {\n                this.defaultValue = formState;\n            }\n        }\n    }\n    setValue(value, options = {}) {\n        this.value = this._pendingValue = value;\n        if (this._onChange.length && options.emitModelToViewChange !== false) {\n            this._onChange.forEach((changeFn) => changeFn(this.value, options.emitViewToModelChange !== false));\n        }\n        this.updateValueAndValidity(options);\n    }\n    patchValue(value, options = {}) {\n        this.setValue(value, options);\n    }\n    reset(formState = this.defaultValue, options = {}) {\n        this._applyFormState(formState);\n        this.markAsPristine(options);\n        this.markAsUntouched(options);\n        this.setValue(this.value, options);\n        this._pendingChange = false;\n    }\n    /**  @internal */\n    _updateValue() { }\n    /**  @internal */\n    _anyControls(condition) {\n        return false;\n    }\n    /**  @internal */\n    _allControlsDisabled() {\n        return this.disabled;\n    }\n    registerOnChange(fn) {\n        this._onChange.push(fn);\n    }\n    /** @internal */\n    _unregisterOnChange(fn) {\n        removeListItem(this._onChange, fn);\n    }\n    registerOnDisabledChange(fn) {\n        this._onDisabledChange.push(fn);\n    }\n    /** @internal */\n    _unregisterOnDisabledChange(fn) {\n        removeListItem(this._onDisabledChange, fn);\n    }\n    /** @internal */\n    _forEachChild(cb) { }\n    /** @internal */\n    _syncPendingControls() {\n        if (this.updateOn === 'submit') {\n            if (this._pendingDirty)\n                this.markAsDirty();\n            if (this._pendingTouched)\n                this.markAsTouched();\n            if (this._pendingChange) {\n                this.setValue(this._pendingValue, { onlySelf: true, emitModelToViewChange: false });\n                return true;\n            }\n        }\n        return false;\n    }\n    _applyFormState(formState) {\n        if (isFormControlState(formState)) {\n            this.value = this._pendingValue = formState.value;\n            formState.disabled ? this.disable({ onlySelf: true, emitEvent: false }) :\n                this.enable({ onlySelf: true, emitEvent: false });\n        }\n        else {\n            this.value = this._pendingValue = formState;\n        }\n    }\n});\nconst UntypedFormControl = FormControl;\n/**\n * @description\n * Asserts that the given control is an instance of `FormControl`\n *\n * @publicApi\n */\nconst isFormControl = (control) => control instanceof FormControl;\n\n/**\n * @description\n * A base class for code shared between the `NgModelGroup` and `FormGroupName` directives.\n *\n * @publicApi\n */\nclass AbstractFormGroupDirective extends ControlContainer {\n    /** @nodoc */\n    ngOnInit() {\n        this._checkParentType();\n        // Register the group with its parent group.\n        this.formDirective.addFormGroup(this);\n    }\n    /** @nodoc */\n    ngOnDestroy() {\n        if (this.formDirective) {\n            // Remove the group from its parent group.\n            this.formDirective.removeFormGroup(this);\n        }\n    }\n    /**\n     * @description\n     * The `FormGroup` bound to this directive.\n     */\n    get control() {\n        return this.formDirective.getFormGroup(this);\n    }\n    /**\n     * @description\n     * The path to this group from the top-level directive.\n     */\n    get path() {\n        return controlPath(this.name == null ? this.name : this.name.toString(), this._parent);\n    }\n    /**\n     * @description\n     * The top-level directive for this group if present, otherwise null.\n     */\n    get formDirective() {\n        return this._parent ? this._parent.formDirective : null;\n    }\n    /** @internal */\n    _checkParentType() { }\n}\nAbstractFormGroupDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: AbstractFormGroupDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });\nAbstractFormGroupDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.2.10\", type: AbstractFormGroupDirective, usesInheritance: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: AbstractFormGroupDirective, decorators: [{\n            type: Directive\n        }] });\n\nfunction modelParentException() {\n    return new ɵRuntimeError(1350 /* RuntimeErrorCode.NGMODEL_IN_FORM_GROUP */, `\n    ngModel cannot be used to register form controls with a parent formGroup directive.  Try using\n    formGroup's partner directive \"formControlName\" instead.  Example:\n\n    ${formControlNameExample}\n\n    Or, if you'd like to avoid registering this form control, indicate that it's standalone in ngModelOptions:\n\n    Example:\n\n    ${ngModelWithFormGroupExample}`);\n}\nfunction formGroupNameException() {\n    return new ɵRuntimeError(1351 /* RuntimeErrorCode.NGMODEL_IN_FORM_GROUP_NAME */, `\n    ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive.\n\n    Option 1: Use formControlName instead of ngModel (reactive strategy):\n\n    ${formGroupNameExample}\n\n    Option 2:  Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n    ${ngModelGroupExample}`);\n}\nfunction missingNameException() {\n    return new ɵRuntimeError(1352 /* RuntimeErrorCode.NGMODEL_WITHOUT_NAME */, `If ngModel is used within a form tag, either the name attribute must be set or the form\n    control must be defined as 'standalone' in ngModelOptions.\n\n    Example 1: <input [(ngModel)]=\"person.firstName\" name=\"first\">\n    Example 2: <input [(ngModel)]=\"person.firstName\" [ngModelOptions]=\"{standalone: true}\">`);\n}\nfunction modelGroupParentException() {\n    return new ɵRuntimeError(1353 /* RuntimeErrorCode.NGMODELGROUP_IN_FORM_GROUP */, `\n    ngModelGroup cannot be used with a parent formGroup directive.\n\n    Option 1: Use formGroupName instead of ngModelGroup (reactive strategy):\n\n    ${formGroupNameExample}\n\n    Option 2:  Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n    ${ngModelGroupExample}`);\n}\n\nconst modelGroupProvider = {\n    provide: ControlContainer,\n    useExisting: forwardRef(() => NgModelGroup)\n};\n/**\n * @description\n * Creates and binds a `FormGroup` instance to a DOM element.\n *\n * This directive can only be used as a child of `NgForm` (within `<form>` tags).\n *\n * Use this directive to validate a sub-group of your form separately from the\n * rest of your form, or if some values in your domain model make more sense\n * to consume together in a nested object.\n *\n * Provide a name for the sub-group and it will become the key\n * for the sub-group in the form's full value. If you need direct access, export the directive into\n * a local template variable using `ngModelGroup` (ex: `#myGroup=\"ngModelGroup\"`).\n *\n * @usageNotes\n *\n * ### Consuming controls in a grouping\n *\n * The following example shows you how to combine controls together in a sub-group\n * of the form.\n *\n * {@example forms/ts/ngModelGroup/ng_model_group_example.ts region='Component'}\n *\n * @ngModule FormsModule\n * @publicApi\n */\nclass NgModelGroup extends AbstractFormGroupDirective {\n    constructor(parent, validators, asyncValidators) {\n        super();\n        this._parent = parent;\n        this._setValidators(validators);\n        this._setAsyncValidators(asyncValidators);\n    }\n    /** @internal */\n    _checkParentType() {\n        if (!(this._parent instanceof NgModelGroup) && !(this._parent instanceof NgForm) &&\n            (typeof ngDevMode === 'undefined' || ngDevMode)) {\n            throw modelGroupParentException();\n        }\n    }\n}\nNgModelGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: NgModelGroup, deps: [{ token: ControlContainer, host: true, skipSelf: true }, { token: NG_VALIDATORS, optional: true, self: true }, { token: NG_ASYNC_VALIDATORS, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Directive });\nNgModelGroup.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.2.10\", type: NgModelGroup, selector: \"[ngModelGroup]\", inputs: { name: [\"ngModelGroup\", \"name\"] }, providers: [modelGroupProvider], exportAs: [\"ngModelGroup\"], usesInheritance: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: NgModelGroup, decorators: [{\n            type: Directive,\n            args: [{ selector: '[ngModelGroup]', providers: [modelGroupProvider], exportAs: 'ngModelGroup' }]\n        }], ctorParameters: function () { return [{ type: ControlContainer, decorators: [{\n                    type: Host\n                }, {\n                    type: SkipSelf\n                }] }, { type: undefined, decorators: [{\n                    type: Optional\n                }, {\n                    type: Self\n                }, {\n                    type: Inject,\n                    args: [NG_VALIDATORS]\n                }] }, { type: undefined, decorators: [{\n                    type: Optional\n                }, {\n                    type: Self\n                }, {\n                    type: Inject,\n                    args: [NG_ASYNC_VALIDATORS]\n                }] }]; }, propDecorators: { name: [{\n                type: Input,\n                args: ['ngModelGroup']\n            }] } });\n\nconst formControlBinding$1 = {\n    provide: NgControl,\n    useExisting: forwardRef(() => NgModel)\n};\n/**\n * `ngModel` forces an additional change detection run when its inputs change:\n * E.g.:\n * ```\n * <div>{{myModel.valid}}</div>\n * <input [(ngModel)]=\"myValue\" #myModel=\"ngModel\">\n * ```\n * I.e. `ngModel` can export itself on the element and then be used in the template.\n * Normally, this would result in expressions before the `input` that use the exported directive\n * to have an old value as they have been\n * dirty checked before. As this is a very common case for `ngModel`, we added this second change\n * detection run.\n *\n * Notes:\n * - this is just one extra run no matter how many `ngModel`s have been changed.\n * - this is a general problem when using `exportAs` for directives!\n */\nconst resolvedPromise = (() => Promise.resolve())();\n/**\n * @description\n * Creates a `FormControl` instance from a domain model and binds it\n * to a form control element.\n *\n * The `FormControl` instance tracks the value, user interaction, and\n * validation status of the control and keeps the view synced with the model. If used\n * within a parent form, the directive also registers itself with the form as a child\n * control.\n *\n * This directive is used by itself or as part of a larger form. Use the\n * `ngModel` selector to activate it.\n *\n * It accepts a domain model as an optional `Input`. If you have a one-way binding\n * to `ngModel` with `[]` syntax, changing the domain model's value in the component\n * class sets the value in the view. If you have a two-way binding with `[()]` syntax\n * (also known as 'banana-in-a-box syntax'), the value in the UI always syncs back to\n * the domain model in your class.\n *\n * To inspect the properties of the associated `FormControl` (like the validity state),\n * export the directive into a local template variable using `ngModel` as the key (ex:\n * `#myVar=\"ngModel\"`). You can then access the control using the directive's `control` property.\n * However, the most commonly used properties (like `valid` and `dirty`) also exist on the control\n * for direct access. See a full list of properties directly available in\n * `AbstractControlDirective`.\n *\n * @see `RadioControlValueAccessor`\n * @see `SelectControlValueAccessor`\n *\n * @usageNotes\n *\n * ### Using ngModel on a standalone control\n *\n * The following examples show a simple standalone control using `ngModel`:\n *\n * {@example forms/ts/simpleNgModel/simple_ng_model_example.ts region='Component'}\n *\n * When using the `ngModel` within `<form>` tags, you'll also need to supply a `name` attribute\n * so that the control can be registered with the parent form under that name.\n *\n * In the context of a parent form, it's often unnecessary to include one-way or two-way binding,\n * as the parent form syncs the value for you. You access its properties by exporting it into a\n * local template variable using `ngForm` such as (`#f=\"ngForm\"`). Use the variable where\n * needed on form submission.\n *\n * If you do need to populate initial values into your form, using a one-way binding for\n * `ngModel` tends to be sufficient as long as you use the exported form's value rather\n * than the domain model's value on submit.\n *\n * ### Using ngModel within a form\n *\n * The following example shows controls using `ngModel` within a form:\n *\n * {@example forms/ts/simpleForm/simple_form_example.ts region='Component'}\n *\n * ### Using a standalone ngModel within a group\n *\n * The following example shows you how to use a standalone ngModel control\n * within a form. This controls the display of the form, but doesn't contain form data.\n *\n * ```html\n * <form>\n *   <input name=\"login\" ngModel placeholder=\"Login\">\n *   <input type=\"checkbox\" ngModel [ngModelOptions]=\"{standalone: true}\"> Show more options?\n * </form>\n * <!-- form value: {login: ''} -->\n * ```\n *\n * ### Setting the ngModel `name` attribute through options\n *\n * The following example shows you an alternate way to set the name attribute. Here,\n * an attribute identified as name is used within a custom form control component. To still be able\n * to specify the NgModel's name, you must specify it using the `ngModelOptions` input instead.\n *\n * ```html\n * <form>\n *   <my-custom-form-control name=\"Nancy\" ngModel [ngModelOptions]=\"{name: 'user'}\">\n *   </my-custom-form-control>\n * </form>\n * <!-- form value: {user: ''} -->\n * ```\n *\n * @ngModule FormsModule\n * @publicApi\n */\nclass NgModel extends NgControl {\n    constructor(parent, validators, asyncValidators, valueAccessors, _changeDetectorRef, callSetDisabledState) {\n        super();\n        this._changeDetectorRef = _changeDetectorRef;\n        this.callSetDisabledState = callSetDisabledState;\n        this.control = new FormControl();\n        /** @internal */\n        this._registered = false;\n        /**\n         * @description\n         * Event emitter for producing the `ngModelChange` event after\n         * the view model updates.\n         */\n        this.update = new EventEmitter();\n        this._parent = parent;\n        this._setValidators(validators);\n        this._setAsyncValidators(asyncValidators);\n        this.valueAccessor = selectValueAccessor(this, valueAccessors);\n    }\n    /** @nodoc */\n    ngOnChanges(changes) {\n        this._checkForErrors();\n        if (!this._registered || 'name' in changes) {\n            if (this._registered) {\n                this._checkName();\n                if (this.formDirective) {\n                    // We can't call `formDirective.removeControl(this)`, because the `name` has already been\n                    // changed. We also can't reset the name temporarily since the logic in `removeControl`\n                    // is inside a promise and it won't run immediately. We work around it by giving it an\n                    // object with the same shape instead.\n                    const oldName = changes['name'].previousValue;\n                    this.formDirective.removeControl({ name: oldName, path: this._getPath(oldName) });\n                }\n            }\n            this._setUpControl();\n        }\n        if ('isDisabled' in changes) {\n            this._updateDisabled(changes);\n        }\n        if (isPropertyUpdated(changes, this.viewModel)) {\n            this._updateValue(this.model);\n            this.viewModel = this.model;\n        }\n    }\n    /** @nodoc */\n    ngOnDestroy() {\n        this.formDirective && this.formDirective.removeControl(this);\n    }\n    /**\n     * @description\n     * Returns an array that represents the path from the top-level form to this control.\n     * Each index is the string name of the control on that level.\n     */\n    get path() {\n        return this._getPath(this.name);\n    }\n    /**\n     * @description\n     * The top-level directive for this control if present, otherwise null.\n     */\n    get formDirective() {\n        return this._parent ? this._parent.formDirective : null;\n    }\n    /**\n     * @description\n     * Sets the new value for the view model and emits an `ngModelChange` event.\n     *\n     * @param newValue The new value emitted by `ngModelChange`.\n     */\n    viewToModelUpdate(newValue) {\n        this.viewModel = newValue;\n        this.update.emit(newValue);\n    }\n    _setUpControl() {\n        this._setUpdateStrategy();\n        this._isStandalone() ? this._setUpStandalone() : this.formDirective.addControl(this);\n        this._registered = true;\n    }\n    _setUpdateStrategy() {\n        if (this.options && this.options.updateOn != null) {\n            this.control._updateOn = this.options.updateOn;\n        }\n    }\n    _isStandalone() {\n        return !this._parent || !!(this.options && this.options.standalone);\n    }\n    _setUpStandalone() {\n        setUpControl(this.control, this, this.callSetDisabledState);\n        this.control.updateValueAndValidity({ emitEvent: false });\n    }\n    _checkForErrors() {\n        if (!this._isStandalone()) {\n            this._checkParentType();\n        }\n        this._checkName();\n    }\n    _checkParentType() {\n        if (typeof ngDevMode === 'undefined' || ngDevMode) {\n            if (!(this._parent instanceof NgModelGroup) &&\n                this._parent instanceof AbstractFormGroupDirective) {\n                throw formGroupNameException();\n            }\n            else if (!(this._parent instanceof NgModelGroup) && !(this._parent instanceof NgForm)) {\n                throw modelParentException();\n            }\n        }\n    }\n    _checkName() {\n        if (this.options && this.options.name)\n            this.name = this.options.name;\n        if (!this._isStandalone() && !this.name && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n            throw missingNameException();\n        }\n    }\n    _updateValue(value) {\n        resolvedPromise.then(() => {\n            this.control.setValue(value, { emitViewToModelChange: false });\n            this._changeDetectorRef?.markForCheck();\n        });\n    }\n    _updateDisabled(changes) {\n        const disabledValue = changes['isDisabled'].currentValue;\n        // checking for 0 to avoid breaking change\n        const isDisabled = disabledValue !== 0 && ɵcoerceToBoolean(disabledValue);\n        resolvedPromise.then(() => {\n            if (isDisabled && !this.control.disabled) {\n                this.control.disable();\n            }\n            else if (!isDisabled && this.control.disabled) {\n                this.control.enable();\n            }\n            this._changeDetectorRef?.markForCheck();\n        });\n    }\n    _getPath(controlName) {\n        return this._parent ? controlPath(controlName, this._parent) : [controlName];\n    }\n}\nNgModel.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: NgModel, deps: [{ token: ControlContainer, host: true, optional: true }, { token: NG_VALIDATORS, optional: true, self: true }, { token: NG_ASYNC_VALIDATORS, optional: true, self: true }, { token: NG_VALUE_ACCESSOR, optional: true, self: true }, { token: ChangeDetectorRef, optional: true }, { token: CALL_SET_DISABLED_STATE, optional: true }], target: i0.ɵɵFactoryTarget.Directive });\nNgModel.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.2.10\", type: NgModel, selector: \"[ngModel]:not([formControlName]):not([formControl])\", inputs: { name: \"name\", isDisabled: [\"disabled\", \"isDisabled\"], model: [\"ngModel\", \"model\"], options: [\"ngModelOptions\", \"options\"] }, outputs: { update: \"ngModelChange\" }, providers: [formControlBinding$1], exportAs: [\"ngModel\"], usesInheritance: true, usesOnChanges: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: NgModel, decorators: [{\n            type: Directive,\n            args: [{\n                    selector: '[ngModel]:not([formControlName]):not([formControl])',\n                    providers: [formControlBinding$1],\n                    exportAs: 'ngModel'\n                }]\n        }], ctorParameters: function () { return [{ type: ControlContainer, decorators: [{\n                    type: Optional\n                }, {\n                    type: Host\n                }] }, { type: undefined, decorators: [{\n                    type: Optional\n                }, {\n                    type: Self\n                }, {\n                    type: Inject,\n                    args: [NG_VALIDATORS]\n                }] }, { type: undefined, decorators: [{\n                    type: Optional\n                }, {\n                    type: Self\n                }, {\n                    type: Inject,\n                    args: [NG_ASYNC_VALIDATORS]\n                }] }, { type: undefined, decorators: [{\n                    type: Optional\n                }, {\n                    type: Self\n                }, {\n                    type: Inject,\n                    args: [NG_VALUE_ACCESSOR]\n                }] }, { type: i0.ChangeDetectorRef, decorators: [{\n                    type: Optional\n                }, {\n                    type: Inject,\n                    args: [ChangeDetectorRef]\n                }] }, { type: undefined, decorators: [{\n                    type: Optional\n                }, {\n                    type: Inject,\n                    args: [CALL_SET_DISABLED_STATE]\n                }] }]; }, propDecorators: { name: [{\n                type: Input\n            }], isDisabled: [{\n                type: Input,\n                args: ['disabled']\n            }], model: [{\n                type: Input,\n                args: ['ngModel']\n            }], options: [{\n                type: Input,\n                args: ['ngModelOptions']\n            }], update: [{\n                type: Output,\n                args: ['ngModelChange']\n            }] } });\n\n/**\n * @description\n *\n * Adds `novalidate` attribute to all forms by default.\n *\n * `novalidate` is used to disable browser's native form validation.\n *\n * If you want to use native validation with Angular forms, just add `ngNativeValidate` attribute:\n *\n * ```\n * <form ngNativeValidate></form>\n * ```\n *\n * @publicApi\n * @ngModule ReactiveFormsModule\n * @ngModule FormsModule\n */\nclass ɵNgNoValidate {\n}\nɵNgNoValidate.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: ɵNgNoValidate, deps: [], target: i0.ɵɵFactoryTarget.Directive });\nɵNgNoValidate.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.2.10\", type: ɵNgNoValidate, selector: \"form:not([ngNoForm]):not([ngNativeValidate])\", host: { attributes: { \"novalidate\": \"\" } }, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: ɵNgNoValidate, decorators: [{\n            type: Directive,\n            args: [{\n                    selector: 'form:not([ngNoForm]):not([ngNativeValidate])',\n                    host: { 'novalidate': '' },\n                }]\n        }] });\n\nconst NUMBER_VALUE_ACCESSOR = {\n    provide: NG_VALUE_ACCESSOR,\n    useExisting: forwardRef(() => NumberValueAccessor),\n    multi: true\n};\n/**\n * @description\n * The `ControlValueAccessor` for writing a number value and listening to number input changes.\n * The value accessor is used by the `FormControlDirective`, `FormControlName`, and `NgModel`\n * directives.\n *\n * @usageNotes\n *\n * ### Using a number input with a reactive form.\n *\n * The following example shows how to use a number input with a reactive form.\n *\n * ```ts\n * const totalCountControl = new FormControl();\n * ```\n *\n * ```\n * <input type=\"number\" [formControl]=\"totalCountControl\">\n * ```\n *\n * @ngModule ReactiveFormsModule\n * @ngModule FormsModule\n * @publicApi\n */\nclass NumberValueAccessor extends BuiltInControlValueAccessor {\n    /**\n     * Sets the \"value\" property on the input element.\n     * @nodoc\n     */\n    writeValue(value) {\n        // The value needs to be normalized for IE9, otherwise it is set to 'null' when null\n        const normalizedValue = value == null ? '' : value;\n        this.setProperty('value', normalizedValue);\n    }\n    /**\n     * Registers a function called when the control value changes.\n     * @nodoc\n     */\n    registerOnChange(fn) {\n        this.onChange = (value) => {\n            fn(value == '' ? null : parseFloat(value));\n        };\n    }\n}\nNumberValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: NumberValueAccessor, deps: null, target: i0.ɵɵFactoryTarget.Directive });\nNumberValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.2.10\", type: NumberValueAccessor, selector: \"input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]\", host: { listeners: { \"input\": \"onChange($event.target.value)\", \"blur\": \"onTouched()\" } }, providers: [NUMBER_VALUE_ACCESSOR], usesInheritance: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: NumberValueAccessor, decorators: [{\n            type: Directive,\n            args: [{\n                    selector: 'input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]',\n                    host: { '(input)': 'onChange($event.target.value)', '(blur)': 'onTouched()' },\n                    providers: [NUMBER_VALUE_ACCESSOR]\n                }]\n        }] });\n\nconst RADIO_VALUE_ACCESSOR = {\n    provide: NG_VALUE_ACCESSOR,\n    useExisting: forwardRef(() => RadioControlValueAccessor),\n    multi: true\n};\nfunction throwNameError() {\n    throw new ɵRuntimeError(1202 /* RuntimeErrorCode.NAME_AND_FORM_CONTROL_NAME_MUST_MATCH */, `\n      If you define both a name and a formControlName attribute on your radio button, their values\n      must match. Ex: <input type=\"radio\" formControlName=\"food\" name=\"food\">\n    `);\n}\n/**\n * Internal-only NgModule that works as a host for the `RadioControlRegistry` tree-shakable\n * provider. Note: the `InternalFormsSharedModule` can not be used here directly, since it's\n * declared *after* the `RadioControlRegistry` class and the `providedIn` doesn't support\n * `forwardRef` logic.\n */\nclass RadioControlRegistryModule {\n}\nRadioControlRegistryModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: RadioControlRegistryModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\nRadioControlRegistryModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"15.2.10\", ngImport: i0, type: RadioControlRegistryModule });\nRadioControlRegistryModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: RadioControlRegistryModule });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: RadioControlRegistryModule, decorators: [{\n            type: NgModule\n        }] });\n/**\n * @description\n * Class used by Angular to track radio buttons. For internal use only.\n */\nclass RadioControlRegistry {\n    constructor() {\n        this._accessors = [];\n    }\n    /**\n     * @description\n     * Adds a control to the internal registry. For internal use only.\n     */\n    add(control, accessor) {\n        this._accessors.push([control, accessor]);\n    }\n    /**\n     * @description\n     * Removes a control from the internal registry. For internal use only.\n     */\n    remove(accessor) {\n        for (let i = this._accessors.length - 1; i >= 0; --i) {\n            if (this._accessors[i][1] === accessor) {\n                this._accessors.splice(i, 1);\n                return;\n            }\n        }\n    }\n    /**\n     * @description\n     * Selects a radio button. For internal use only.\n     */\n    select(accessor) {\n        this._accessors.forEach((c) => {\n            if (this._isSameGroup(c, accessor) && c[1] !== accessor) {\n                c[1].fireUncheck(accessor.value);\n            }\n        });\n    }\n    _isSameGroup(controlPair, accessor) {\n        if (!controlPair[0].control)\n            return false;\n        return controlPair[0]._parent === accessor._control._parent &&\n            controlPair[1].name === accessor.name;\n    }\n}\nRadioControlRegistry.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: RadioControlRegistry, deps: [], target: i0.ɵɵFactoryTarget.Injectable });\nRadioControlRegistry.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: RadioControlRegistry, providedIn: RadioControlRegistryModule });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: RadioControlRegistry, decorators: [{\n            type: Injectable,\n            args: [{ providedIn: RadioControlRegistryModule }]\n        }] });\n/**\n * @description\n * The `ControlValueAccessor` for writing radio control values and listening to radio control\n * changes. The value accessor is used by the `FormControlDirective`, `FormControlName`, and\n * `NgModel` directives.\n *\n * @usageNotes\n *\n * ### Using radio buttons with reactive form directives\n *\n * The follow example shows how to use radio buttons in a reactive form. When using radio buttons in\n * a reactive form, radio buttons in the same group should have the same `formControlName`.\n * Providing a `name` attribute is optional.\n *\n * {@example forms/ts/reactiveRadioButtons/reactive_radio_button_example.ts region='Reactive'}\n *\n * @ngModule ReactiveFormsModule\n * @ngModule FormsModule\n * @publicApi\n */\nclass RadioControlValueAccessor extends BuiltInControlValueAccessor {\n    constructor(renderer, elementRef, _registry, _injector) {\n        super(renderer, elementRef);\n        this._registry = _registry;\n        this._injector = _injector;\n        this.setDisabledStateFired = false;\n        /**\n         * The registered callback function called when a change event occurs on the input element.\n         * Note: we declare `onChange` here (also used as host listener) as a function with no arguments\n         * to override the `onChange` function (which expects 1 argument) in the parent\n         * `BaseControlValueAccessor` class.\n         * @nodoc\n         */\n        this.onChange = () => { };\n        this.callSetDisabledState = inject(CALL_SET_DISABLED_STATE, { optional: true }) ?? setDisabledStateDefault;\n    }\n    /** @nodoc */\n    ngOnInit() {\n        this._control = this._injector.get(NgControl);\n        this._checkName();\n        this._registry.add(this._control, this);\n    }\n    /** @nodoc */\n    ngOnDestroy() {\n        this._registry.remove(this);\n    }\n    /**\n     * Sets the \"checked\" property value on the radio input element.\n     * @nodoc\n     */\n    writeValue(value) {\n        this._state = value === this.value;\n        this.setProperty('checked', this._state);\n    }\n    /**\n     * Registers a function called when the control value changes.\n     * @nodoc\n     */\n    registerOnChange(fn) {\n        this._fn = fn;\n        this.onChange = () => {\n            fn(this.value);\n            this._registry.select(this);\n        };\n    }\n    /** @nodoc */\n    setDisabledState(isDisabled) {\n        /**\n         * `setDisabledState` is supposed to be called whenever the disabled state of a control changes,\n         * including upon control creation. However, a longstanding bug caused the method to not fire\n         * when an *enabled* control was attached. This bug was fixed in v15 in #47576.\n         *\n         * This had a side effect: previously, it was possible to instantiate a reactive form control\n         * with `[attr.disabled]=true`, even though the the corresponding control was enabled in the\n         * model. This resulted in a mismatch between the model and the DOM. Now, because\n         * `setDisabledState` is always called, the value in the DOM will be immediately overwritten\n         * with the \"correct\" enabled value.\n         *\n         * However, the fix also created an exceptional case: radio buttons. Because Reactive Forms\n         * models the entire group of radio buttons as a single `FormControl`, there is no way to\n         * control the disabled state for individual radios, so they can no longer be configured as\n         * disabled. Thus, we keep the old behavior for radio buttons, so that `[attr.disabled]`\n         * continues to work. Specifically, we drop the first call to `setDisabledState` if `disabled`\n         * is `false`, and we are not in legacy mode.\n         */\n        if (this.setDisabledStateFired || isDisabled ||\n            this.callSetDisabledState === 'whenDisabledForLegacyCode') {\n            this.setProperty('disabled', isDisabled);\n        }\n        this.setDisabledStateFired = true;\n    }\n    /**\n     * Sets the \"value\" on the radio input element and unchecks it.\n     *\n     * @param value\n     */\n    fireUncheck(value) {\n        this.writeValue(value);\n    }\n    _checkName() {\n        if (this.name && this.formControlName && this.name !== this.formControlName &&\n            (typeof ngDevMode === 'undefined' || ngDevMode)) {\n            throwNameError();\n        }\n        if (!this.name && this.formControlName)\n            this.name = this.formControlName;\n    }\n}\nRadioControlValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: RadioControlValueAccessor, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: RadioControlRegistry }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Directive });\nRadioControlValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.2.10\", type: RadioControlValueAccessor, selector: \"input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]\", inputs: { name: \"name\", formControlName: \"formControlName\", value: \"value\" }, host: { listeners: { \"change\": \"onChange()\", \"blur\": \"onTouched()\" } }, providers: [RADIO_VALUE_ACCESSOR], usesInheritance: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: RadioControlValueAccessor, decorators: [{\n            type: Directive,\n            args: [{\n                    selector: 'input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]',\n                    host: { '(change)': 'onChange()', '(blur)': 'onTouched()' },\n                    providers: [RADIO_VALUE_ACCESSOR]\n                }]\n        }], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }, { type: RadioControlRegistry }, { type: i0.Injector }]; }, propDecorators: { name: [{\n                type: Input\n            }], formControlName: [{\n                type: Input\n            }], value: [{\n                type: Input\n            }] } });\n\nconst RANGE_VALUE_ACCESSOR = {\n    provide: NG_VALUE_ACCESSOR,\n    useExisting: forwardRef(() => RangeValueAccessor),\n    multi: true\n};\n/**\n * @description\n * The `ControlValueAccessor` for writing a range value and listening to range input changes.\n * The value accessor is used by the `FormControlDirective`, `FormControlName`, and  `NgModel`\n * directives.\n *\n * @usageNotes\n *\n * ### Using a range input with a reactive form\n *\n * The following example shows how to use a range input with a reactive form.\n *\n * ```ts\n * const ageControl = new FormControl();\n * ```\n *\n * ```\n * <input type=\"range\" [formControl]=\"ageControl\">\n * ```\n *\n * @ngModule ReactiveFormsModule\n * @ngModule FormsModule\n * @publicApi\n */\nclass RangeValueAccessor extends BuiltInControlValueAccessor {\n    /**\n     * Sets the \"value\" property on the input element.\n     * @nodoc\n     */\n    writeValue(value) {\n        this.setProperty('value', parseFloat(value));\n    }\n    /**\n     * Registers a function called when the control value changes.\n     * @nodoc\n     */\n    registerOnChange(fn) {\n        this.onChange = (value) => {\n            fn(value == '' ? null : parseFloat(value));\n        };\n    }\n}\nRangeValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: RangeValueAccessor, deps: null, target: i0.ɵɵFactoryTarget.Directive });\nRangeValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.2.10\", type: RangeValueAccessor, selector: \"input[type=range][formControlName],input[type=range][formControl],input[type=range][ngModel]\", host: { listeners: { \"change\": \"onChange($event.target.value)\", \"input\": \"onChange($event.target.value)\", \"blur\": \"onTouched()\" } }, providers: [RANGE_VALUE_ACCESSOR], usesInheritance: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: RangeValueAccessor, decorators: [{\n            type: Directive,\n            args: [{\n                    selector: 'input[type=range][formControlName],input[type=range][formControl],input[type=range][ngModel]',\n                    host: {\n                        '(change)': 'onChange($event.target.value)',\n                        '(input)': 'onChange($event.target.value)',\n                        '(blur)': 'onTouched()'\n                    },\n                    providers: [RANGE_VALUE_ACCESSOR]\n                }]\n        }] });\n\n/**\n * Token to provide to turn off the ngModel warning on formControl and formControlName.\n */\nconst NG_MODEL_WITH_FORM_CONTROL_WARNING = new InjectionToken('NgModelWithFormControlWarning');\nconst formControlBinding = {\n    provide: NgControl,\n    useExisting: forwardRef(() => FormControlDirective)\n};\n/**\n * @description\n * Synchronizes a standalone `FormControl` instance to a form control element.\n *\n * Note that support for using the `ngModel` input property and `ngModelChange` event with reactive\n * form directives was deprecated in Angular v6 and is scheduled for removal in\n * a future version of Angular.\n * For details, see [Deprecated features](guide/deprecations#ngmodel-with-reactive-forms).\n *\n * @see [Reactive Forms Guide](guide/reactive-forms)\n * @see `FormControl`\n * @see `AbstractControl`\n *\n * @usageNotes\n *\n * The following example shows how to register a standalone control and set its value.\n *\n * {@example forms/ts/simpleFormControl/simple_form_control_example.ts region='Component'}\n *\n * @ngModule ReactiveFormsModule\n * @publicApi\n */\nclass FormControlDirective extends NgControl {\n    /**\n     * @description\n     * Triggers a warning in dev mode that this input should not be used with reactive forms.\n     */\n    set isDisabled(isDisabled) {\n        if (typeof ngDevMode === 'undefined' || ngDevMode) {\n            console.warn(disabledAttrWarning);\n        }\n    }\n    constructor(validators, asyncValidators, valueAccessors, _ngModelWarningConfig, callSetDisabledState) {\n        super();\n        this._ngModelWarningConfig = _ngModelWarningConfig;\n        this.callSetDisabledState = callSetDisabledState;\n        /** @deprecated as of v6 */\n        this.update = new EventEmitter();\n        /**\n         * @description\n         * Instance property used to track whether an ngModel warning has been sent out for this\n         * particular `FormControlDirective` instance. Used to support warning config of \"always\".\n         *\n         * @internal\n         */\n        this._ngModelWarningSent = false;\n        this._setValidators(validators);\n        this._setAsyncValidators(asyncValidators);\n        this.valueAccessor = selectValueAccessor(this, valueAccessors);\n    }\n    /** @nodoc */\n    ngOnChanges(changes) {\n        if (this._isControlChanged(changes)) {\n            const previousForm = changes['form'].previousValue;\n            if (previousForm) {\n                cleanUpControl(previousForm, this, /* validateControlPresenceOnChange */ false);\n            }\n            setUpControl(this.form, this, this.callSetDisabledState);\n            this.form.updateValueAndValidity({ emitEvent: false });\n        }\n        if (isPropertyUpdated(changes, this.viewModel)) {\n            if (typeof ngDevMode === 'undefined' || ngDevMode) {\n                _ngModelWarning('formControl', FormControlDirective, this, this._ngModelWarningConfig);\n            }\n            this.form.setValue(this.model);\n            this.viewModel = this.model;\n        }\n    }\n    /** @nodoc */\n    ngOnDestroy() {\n        if (this.form) {\n            cleanUpControl(this.form, this, /* validateControlPresenceOnChange */ false);\n        }\n    }\n    /**\n     * @description\n     * Returns an array that represents the path from the top-level form to this control.\n     * Each index is the string name of the control on that level.\n     */\n    get path() {\n        return [];\n    }\n    /**\n     * @description\n     * The `FormControl` bound to this directive.\n     */\n    get control() {\n        return this.form;\n    }\n    /**\n     * @description\n     * Sets the new value for the view model and emits an `ngModelChange` event.\n     *\n     * @param newValue The new value for the view model.\n     */\n    viewToModelUpdate(newValue) {\n        this.viewModel = newValue;\n        this.update.emit(newValue);\n    }\n    _isControlChanged(changes) {\n        return changes.hasOwnProperty('form');\n    }\n}\n/**\n * @description\n * Static property used to track whether any ngModel warnings have been sent across\n * all instances of FormControlDirective. Used to support warning config of \"once\".\n *\n * @internal\n */\nFormControlDirective._ngModelWarningSentOnce = false;\nFormControlDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: FormControlDirective, deps: [{ token: NG_VALIDATORS, optional: true, self: true }, { token: NG_ASYNC_VALIDATORS, optional: true, self: true }, { token: NG_VALUE_ACCESSOR, optional: true, self: true }, { token: NG_MODEL_WITH_FORM_CONTROL_WARNING, optional: true }, { token: CALL_SET_DISABLED_STATE, optional: true }], target: i0.ɵɵFactoryTarget.Directive });\nFormControlDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.2.10\", type: FormControlDirective, selector: \"[formControl]\", inputs: { form: [\"formControl\", \"form\"], isDisabled: [\"disabled\", \"isDisabled\"], model: [\"ngModel\", \"model\"] }, outputs: { update: \"ngModelChange\" }, providers: [formControlBinding], exportAs: [\"ngForm\"], usesInheritance: true, usesOnChanges: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: FormControlDirective, decorators: [{\n            type: Directive,\n            args: [{ selector: '[formControl]', providers: [formControlBinding], exportAs: 'ngForm' }]\n        }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n                    type: Optional\n                }, {\n                    type: Self\n                }, {\n                    type: Inject,\n                    args: [NG_VALIDATORS]\n                }] }, { type: undefined, decorators: [{\n                    type: Optional\n                }, {\n                    type: Self\n                }, {\n                    type: Inject,\n                    args: [NG_ASYNC_VALIDATORS]\n                }] }, { type: undefined, decorators: [{\n                    type: Optional\n                }, {\n                    type: Self\n                }, {\n                    type: Inject,\n                    args: [NG_VALUE_ACCESSOR]\n                }] }, { type: undefined, decorators: [{\n                    type: Optional\n                }, {\n                    type: Inject,\n                    args: [NG_MODEL_WITH_FORM_CONTROL_WARNING]\n                }] }, { type: undefined, decorators: [{\n                    type: Optional\n                }, {\n                    type: Inject,\n                    args: [CALL_SET_DISABLED_STATE]\n                }] }]; }, propDecorators: { form: [{\n                type: Input,\n                args: ['formControl']\n            }], isDisabled: [{\n                type: Input,\n                args: ['disabled']\n            }], model: [{\n                type: Input,\n                args: ['ngModel']\n            }], update: [{\n                type: Output,\n                args: ['ngModelChange']\n            }] } });\n\nconst formDirectiveProvider = {\n    provide: ControlContainer,\n    useExisting: forwardRef(() => FormGroupDirective)\n};\n/**\n * @description\n *\n * Binds an existing `FormGroup` or `FormRecord` to a DOM element.\n *\n * This directive accepts an existing `FormGroup` instance. It will then use this\n * `FormGroup` instance to match any child `FormControl`, `FormGroup`/`FormRecord`,\n * and `FormArray` instances to child `FormControlName`, `FormGroupName`,\n * and `FormArrayName` directives.\n *\n * @see [Reactive Forms Guide](guide/reactive-forms)\n * @see `AbstractControl`\n *\n * @usageNotes\n * ### Register Form Group\n *\n * The following example registers a `FormGroup` with first name and last name controls,\n * and listens for the *ngSubmit* event when the button is clicked.\n *\n * {@example forms/ts/simpleFormGroup/simple_form_group_example.ts region='Component'}\n *\n * @ngModule ReactiveFormsModule\n * @publicApi\n */\nclass FormGroupDirective extends ControlContainer {\n    constructor(validators, asyncValidators, callSetDisabledState) {\n        super();\n        this.callSetDisabledState = callSetDisabledState;\n        /**\n         * @description\n         * Reports whether the form submission has been triggered.\n         */\n        this.submitted = false;\n        /**\n         * Callback that should be invoked when controls in FormGroup or FormArray collection change\n         * (added or removed). This callback triggers corresponding DOM updates.\n         */\n        this._onCollectionChange = () => this._updateDomValue();\n        /**\n         * @description\n         * Tracks the list of added `FormControlName` instances\n         */\n        this.directives = [];\n        /**\n         * @description\n         * Tracks the `FormGroup` bound to this directive.\n         */\n        this.form = null;\n        /**\n         * @description\n         * Emits an event when the form submission has been triggered.\n         */\n        this.ngSubmit = new EventEmitter();\n        this._setValidators(validators);\n        this._setAsyncValidators(asyncValidators);\n    }\n    /** @nodoc */\n    ngOnChanges(changes) {\n        this._checkFormPresent();\n        if (changes.hasOwnProperty('form')) {\n            this._updateValidators();\n            this._updateDomValue();\n            this._updateRegistrations();\n            this._oldForm = this.form;\n        }\n    }\n    /** @nodoc */\n    ngOnDestroy() {\n        if (this.form) {\n            cleanUpValidators(this.form, this);\n            // Currently the `onCollectionChange` callback is rewritten each time the\n            // `_registerOnCollectionChange` function is invoked. The implication is that cleanup should\n            // happen *only* when the `onCollectionChange` callback was set by this directive instance.\n            // Otherwise it might cause overriding a callback of some other directive instances. We should\n            // consider updating this logic later to make it similar to how `onChange` callbacks are\n            // handled, see https://github.com/angular/angular/issues/39732 for additional info.\n            if (this.form._onCollectionChange === this._onCollectionChange) {\n                this.form._registerOnCollectionChange(() => { });\n            }\n        }\n    }\n    /**\n     * @description\n     * Returns this directive's instance.\n     */\n    get formDirective() {\n        return this;\n    }\n    /**\n     * @description\n     * Returns the `FormGroup` bound to this directive.\n     */\n    get control() {\n        return this.form;\n    }\n    /**\n     * @description\n     * Returns an array representing the path to this group. Because this directive\n     * always lives at the top level of a form, it always an empty array.\n     */\n    get path() {\n        return [];\n    }\n    /**\n     * @description\n     * Method that sets up the control directive in this group, re-calculates its value\n     * and validity, and adds the instance to the internal list of directives.\n     *\n     * @param dir The `FormControlName` directive instance.\n     */\n    addControl(dir) {\n        const ctrl = this.form.get(dir.path);\n        setUpControl(ctrl, dir, this.callSetDisabledState);\n        ctrl.updateValueAndValidity({ emitEvent: false });\n        this.directives.push(dir);\n        return ctrl;\n    }\n    /**\n     * @description\n     * Retrieves the `FormControl` instance from the provided `FormControlName` directive\n     *\n     * @param dir The `FormControlName` directive instance.\n     */\n    getControl(dir) {\n        return this.form.get(dir.path);\n    }\n    /**\n     * @description\n     * Removes the `FormControlName` instance from the internal list of directives\n     *\n     * @param dir The `FormControlName` directive instance.\n     */\n    removeControl(dir) {\n        cleanUpControl(dir.control || null, dir, /* validateControlPresenceOnChange */ false);\n        removeListItem$1(this.directives, dir);\n    }\n    /**\n     * Adds a new `FormGroupName` directive instance to the form.\n     *\n     * @param dir The `FormGroupName` directive instance.\n     */\n    addFormGroup(dir) {\n        this._setUpFormContainer(dir);\n    }\n    /**\n     * Performs the necessary cleanup when a `FormGroupName` directive instance is removed from the\n     * view.\n     *\n     * @param dir The `FormGroupName` directive instance.\n     */\n    removeFormGroup(dir) {\n        this._cleanUpFormContainer(dir);\n    }\n    /**\n     * @description\n     * Retrieves the `FormGroup` for a provided `FormGroupName` directive instance\n     *\n     * @param dir The `FormGroupName` directive instance.\n     */\n    getFormGroup(dir) {\n        return this.form.get(dir.path);\n    }\n    /**\n     * Performs the necessary setup when a `FormArrayName` directive instance is added to the view.\n     *\n     * @param dir The `FormArrayName` directive instance.\n     */\n    addFormArray(dir) {\n        this._setUpFormContainer(dir);\n    }\n    /**\n     * Performs the necessary cleanup when a `FormArrayName` directive instance is removed from the\n     * view.\n     *\n     * @param dir The `FormArrayName` directive instance.\n     */\n    removeFormArray(dir) {\n        this._cleanUpFormContainer(dir);\n    }\n    /**\n     * @description\n     * Retrieves the `FormArray` for a provided `FormArrayName` directive instance.\n     *\n     * @param dir The `FormArrayName` directive instance.\n     */\n    getFormArray(dir) {\n        return this.form.get(dir.path);\n    }\n    /**\n     * Sets the new value for the provided `FormControlName` directive.\n     *\n     * @param dir The `FormControlName` directive instance.\n     * @param value The new value for the directive's control.\n     */\n    updateModel(dir, value) {\n        const ctrl = this.form.get(dir.path);\n        ctrl.setValue(value);\n    }\n    /**\n     * @description\n     * Method called with the \"submit\" event is triggered on the form.\n     * Triggers the `ngSubmit` emitter to emit the \"submit\" event as its payload.\n     *\n     * @param $event The \"submit\" event object\n     */\n    onSubmit($event) {\n        this.submitted = true;\n        syncPendingControls(this.form, this.directives);\n        this.ngSubmit.emit($event);\n        // Forms with `method=\"dialog\"` have some special behavior that won't reload the page and that\n        // shouldn't be prevented. Note that we need to null check the `event` and the `target`, because\n        // some internal apps call this method directly with the wrong arguments.\n        return $event?.target?.method === 'dialog';\n    }\n    /**\n     * @description\n     * Method called when the \"reset\" event is triggered on the form.\n     */\n    onReset() {\n        this.resetForm();\n    }\n    /**\n     * @description\n     * Resets the form to an initial value and resets its submitted status.\n     *\n     * @param value The new value for the form.\n     */\n    resetForm(value = undefined) {\n        this.form.reset(value);\n        this.submitted = false;\n    }\n    /** @internal */\n    _updateDomValue() {\n        this.directives.forEach(dir => {\n            const oldCtrl = dir.control;\n            const newCtrl = this.form.get(dir.path);\n            if (oldCtrl !== newCtrl) {\n                // Note: the value of the `dir.control` may not be defined, for example when it's a first\n                // `FormControl` that is added to a `FormGroup` instance (via `addControl` call).\n                cleanUpControl(oldCtrl || null, dir);\n                // Check whether new control at the same location inside the corresponding `FormGroup` is an\n                // instance of `FormControl` and perform control setup only if that's the case.\n                // Note: we don't need to clear the list of directives (`this.directives`) here, it would be\n                // taken care of in the `removeControl` method invoked when corresponding `formControlName`\n                // directive instance is being removed (invoked from `FormControlName.ngOnDestroy`).\n                if (isFormControl(newCtrl)) {\n                    setUpControl(newCtrl, dir, this.callSetDisabledState);\n                    dir.control = newCtrl;\n                }\n            }\n        });\n        this.form._updateTreeValidity({ emitEvent: false });\n    }\n    _setUpFormContainer(dir) {\n        const ctrl = this.form.get(dir.path);\n        setUpFormContainer(ctrl, dir);\n        // NOTE: this operation looks unnecessary in case no new validators were added in\n        // `setUpFormContainer` call. Consider updating this code to match the logic in\n        // `_cleanUpFormContainer` function.\n        ctrl.updateValueAndValidity({ emitEvent: false });\n    }\n    _cleanUpFormContainer(dir) {\n        if (this.form) {\n            const ctrl = this.form.get(dir.path);\n            if (ctrl) {\n                const isControlUpdated = cleanUpFormContainer(ctrl, dir);\n                if (isControlUpdated) {\n                    // Run validity check only in case a control was updated (i.e. view validators were\n                    // removed) as removing view validators might cause validity to change.\n                    ctrl.updateValueAndValidity({ emitEvent: false });\n                }\n            }\n        }\n    }\n    _updateRegistrations() {\n        this.form._registerOnCollectionChange(this._onCollectionChange);\n        if (this._oldForm) {\n            this._oldForm._registerOnCollectionChange(() => { });\n        }\n    }\n    _updateValidators() {\n        setUpValidators(this.form, this);\n        if (this._oldForm) {\n            cleanUpValidators(this._oldForm, this);\n        }\n    }\n    _checkFormPresent() {\n        if (!this.form && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n            throw missingFormException();\n        }\n    }\n}\nFormGroupDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: FormGroupDirective, deps: [{ token: NG_VALIDATORS, optional: true, self: true }, { token: NG_ASYNC_VALIDATORS, optional: true, self: true }, { token: CALL_SET_DISABLED_STATE, optional: true }], target: i0.ɵɵFactoryTarget.Directive });\nFormGroupDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.2.10\", type: FormGroupDirective, selector: \"[formGroup]\", inputs: { form: [\"formGroup\", \"form\"] }, outputs: { ngSubmit: \"ngSubmit\" }, host: { listeners: { \"submit\": \"onSubmit($event)\", \"reset\": \"onReset()\" } }, providers: [formDirectiveProvider], exportAs: [\"ngForm\"], usesInheritance: true, usesOnChanges: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: FormGroupDirective, decorators: [{\n            type: Directive,\n            args: [{\n                    selector: '[formGroup]',\n                    providers: [formDirectiveProvider],\n                    host: { '(submit)': 'onSubmit($event)', '(reset)': 'onReset()' },\n                    exportAs: 'ngForm'\n                }]\n        }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n                    type: Optional\n                }, {\n                    type: Self\n                }, {\n                    type: Inject,\n                    args: [NG_VALIDATORS]\n                }] }, { type: undefined, decorators: [{\n                    type: Optional\n                }, {\n                    type: Self\n                }, {\n                    type: Inject,\n                    args: [NG_ASYNC_VALIDATORS]\n                }] }, { type: undefined, decorators: [{\n                    type: Optional\n                }, {\n                    type: Inject,\n                    args: [CALL_SET_DISABLED_STATE]\n                }] }]; }, propDecorators: { form: [{\n                type: Input,\n                args: ['formGroup']\n            }], ngSubmit: [{\n                type: Output\n            }] } });\n\nconst formGroupNameProvider = {\n    provide: ControlContainer,\n    useExisting: forwardRef(() => FormGroupName)\n};\n/**\n * @description\n *\n * Syncs a nested `FormGroup` or `FormRecord` to a DOM element.\n *\n * This directive can only be used with a parent `FormGroupDirective`.\n *\n * It accepts the string name of the nested `FormGroup` or `FormRecord` to link, and\n * looks for a `FormGroup` or `FormRecord` registered with that name in the parent\n * `FormGroup` instance you passed into `FormGroupDirective`.\n *\n * Use nested form groups to validate a sub-group of a\n * form separately from the rest or to group the values of certain\n * controls into their own nested object.\n *\n * @see [Reactive Forms Guide](guide/reactive-forms)\n *\n * @usageNotes\n *\n * ### Access the group by name\n *\n * The following example uses the `AbstractControl.get` method to access the\n * associated `FormGroup`\n *\n * ```ts\n *   this.form.get('name');\n * ```\n *\n * ### Access individual controls in the group\n *\n * The following example uses the `AbstractControl.get` method to access\n * individual controls within the group using dot syntax.\n *\n * ```ts\n *   this.form.get('name.first');\n * ```\n *\n * ### Register a nested `FormGroup`.\n *\n * The following example registers a nested *name* `FormGroup` within an existing `FormGroup`,\n * and provides methods to retrieve the nested `FormGroup` and individual controls.\n *\n * {@example forms/ts/nestedFormGroup/nested_form_group_example.ts region='Component'}\n *\n * @ngModule ReactiveFormsModule\n * @publicApi\n */\nclass FormGroupName extends AbstractFormGroupDirective {\n    constructor(parent, validators, asyncValidators) {\n        super();\n        this._parent = parent;\n        this._setValidators(validators);\n        this._setAsyncValidators(asyncValidators);\n    }\n    /** @internal */\n    _checkParentType() {\n        if (_hasInvalidParent(this._parent) && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n            throw groupParentException();\n        }\n    }\n}\nFormGroupName.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: FormGroupName, deps: [{ token: ControlContainer, host: true, optional: true, skipSelf: true }, { token: NG_VALIDATORS, optional: true, self: true }, { token: NG_ASYNC_VALIDATORS, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Directive });\nFormGroupName.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.2.10\", type: FormGroupName, selector: \"[formGroupName]\", inputs: { name: [\"formGroupName\", \"name\"] }, providers: [formGroupNameProvider], usesInheritance: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: FormGroupName, decorators: [{\n            type: Directive,\n            args: [{ selector: '[formGroupName]', providers: [formGroupNameProvider] }]\n        }], ctorParameters: function () { return [{ type: ControlContainer, decorators: [{\n                    type: Optional\n                }, {\n                    type: Host\n                }, {\n                    type: SkipSelf\n                }] }, { type: undefined, decorators: [{\n                    type: Optional\n                }, {\n                    type: Self\n                }, {\n                    type: Inject,\n                    args: [NG_VALIDATORS]\n                }] }, { type: undefined, decorators: [{\n                    type: Optional\n                }, {\n                    type: Self\n                }, {\n                    type: Inject,\n                    args: [NG_ASYNC_VALIDATORS]\n                }] }]; }, propDecorators: { name: [{\n                type: Input,\n                args: ['formGroupName']\n            }] } });\nconst formArrayNameProvider = {\n    provide: ControlContainer,\n    useExisting: forwardRef(() => FormArrayName)\n};\n/**\n * @description\n *\n * Syncs a nested `FormArray` to a DOM element.\n *\n * This directive is designed to be used with a parent `FormGroupDirective` (selector:\n * `[formGroup]`).\n *\n * It accepts the string name of the nested `FormArray` you want to link, and\n * will look for a `FormArray` registered with that name in the parent\n * `FormGroup` instance you passed into `FormGroupDirective`.\n *\n * @see [Reactive Forms Guide](guide/reactive-forms)\n * @see `AbstractControl`\n *\n * @usageNotes\n *\n * ### Example\n *\n * {@example forms/ts/nestedFormArray/nested_form_array_example.ts region='Component'}\n *\n * @ngModule ReactiveFormsModule\n * @publicApi\n */\nclass FormArrayName extends ControlContainer {\n    constructor(parent, validators, asyncValidators) {\n        super();\n        this._parent = parent;\n        this._setValidators(validators);\n        this._setAsyncValidators(asyncValidators);\n    }\n    /**\n     * A lifecycle method called when the directive's inputs are initialized. For internal use only.\n     * @throws If the directive does not have a valid parent.\n     * @nodoc\n     */\n    ngOnInit() {\n        this._checkParentType();\n        this.formDirective.addFormArray(this);\n    }\n    /**\n     * A lifecycle method called before the directive's instance is destroyed. For internal use only.\n     * @nodoc\n     */\n    ngOnDestroy() {\n        if (this.formDirective) {\n            this.formDirective.removeFormArray(this);\n        }\n    }\n    /**\n     * @description\n     * The `FormArray` bound to this directive.\n     */\n    get control() {\n        return this.formDirective.getFormArray(this);\n    }\n    /**\n     * @description\n     * The top-level directive for this group if present, otherwise null.\n     */\n    get formDirective() {\n        return this._parent ? this._parent.formDirective : null;\n    }\n    /**\n     * @description\n     * Returns an array that represents the path from the top-level form to this control.\n     * Each index is the string name of the control on that level.\n     */\n    get path() {\n        return controlPath(this.name == null ? this.name : this.name.toString(), this._parent);\n    }\n    _checkParentType() {\n        if (_hasInvalidParent(this._parent) && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n            throw arrayParentException();\n        }\n    }\n}\nFormArrayName.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: FormArrayName, deps: [{ token: ControlContainer, host: true, optional: true, skipSelf: true }, { token: NG_VALIDATORS, optional: true, self: true }, { token: NG_ASYNC_VALIDATORS, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Directive });\nFormArrayName.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.2.10\", type: FormArrayName, selector: \"[formArrayName]\", inputs: { name: [\"formArrayName\", \"name\"] }, providers: [formArrayNameProvider], usesInheritance: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: FormArrayName, decorators: [{\n            type: Directive,\n            args: [{ selector: '[formArrayName]', providers: [formArrayNameProvider] }]\n        }], ctorParameters: function () { return [{ type: ControlContainer, decorators: [{\n                    type: Optional\n                }, {\n                    type: Host\n                }, {\n                    type: SkipSelf\n                }] }, { type: undefined, decorators: [{\n                    type: Optional\n                }, {\n                    type: Self\n                }, {\n                    type: Inject,\n                    args: [NG_VALIDATORS]\n                }] }, { type: undefined, decorators: [{\n                    type: Optional\n                }, {\n                    type: Self\n                }, {\n                    type: Inject,\n                    args: [NG_ASYNC_VALIDATORS]\n                }] }]; }, propDecorators: { name: [{\n                type: Input,\n                args: ['formArrayName']\n            }] } });\nfunction _hasInvalidParent(parent) {\n    return !(parent instanceof FormGroupName) && !(parent instanceof FormGroupDirective) &&\n        !(parent instanceof FormArrayName);\n}\n\nconst controlNameBinding = {\n    provide: NgControl,\n    useExisting: forwardRef(() => FormControlName)\n};\n/**\n * @description\n * Syncs a `FormControl` in an existing `FormGroup` to a form control\n * element by name.\n *\n * @see [Reactive Forms Guide](guide/reactive-forms)\n * @see `FormControl`\n * @see `AbstractControl`\n *\n * @usageNotes\n *\n * ### Register `FormControl` within a group\n *\n * The following example shows how to register multiple form controls within a form group\n * and set their value.\n *\n * {@example forms/ts/simpleFormGroup/simple_form_group_example.ts region='Component'}\n *\n * To see `formControlName` examples with different form control types, see:\n *\n * * Radio buttons: `RadioControlValueAccessor`\n * * Selects: `SelectControlValueAccessor`\n *\n * ### Use with ngModel is deprecated\n *\n * Support for using the `ngModel` input property and `ngModelChange` event with reactive\n * form directives has been deprecated in Angular v6 and is scheduled for removal in\n * a future version of Angular.\n *\n * For details, see [Deprecated features](guide/deprecations#ngmodel-with-reactive-forms).\n *\n * @ngModule ReactiveFormsModule\n * @publicApi\n */\nclass FormControlName extends NgControl {\n    /**\n     * @description\n     * Triggers a warning in dev mode that this input should not be used with reactive forms.\n     */\n    set isDisabled(isDisabled) {\n        if (typeof ngDevMode === 'undefined' || ngDevMode) {\n            console.warn(disabledAttrWarning);\n        }\n    }\n    constructor(parent, validators, asyncValidators, valueAccessors, _ngModelWarningConfig) {\n        super();\n        this._ngModelWarningConfig = _ngModelWarningConfig;\n        this._added = false;\n        /** @deprecated as of v6 */\n        this.update = new EventEmitter();\n        /**\n         * @description\n         * Instance property used to track whether an ngModel warning has been sent out for this\n         * particular FormControlName instance. Used to support warning config of \"always\".\n         *\n         * @internal\n         */\n        this._ngModelWarningSent = false;\n        this._parent = parent;\n        this._setValidators(validators);\n        this._setAsyncValidators(asyncValidators);\n        this.valueAccessor = selectValueAccessor(this, valueAccessors);\n    }\n    /** @nodoc */\n    ngOnChanges(changes) {\n        if (!this._added)\n            this._setUpControl();\n        if (isPropertyUpdated(changes, this.viewModel)) {\n            if (typeof ngDevMode === 'undefined' || ngDevMode) {\n                _ngModelWarning('formControlName', FormControlName, this, this._ngModelWarningConfig);\n            }\n            this.viewModel = this.model;\n            this.formDirective.updateModel(this, this.model);\n        }\n    }\n    /** @nodoc */\n    ngOnDestroy() {\n        if (this.formDirective) {\n            this.formDirective.removeControl(this);\n        }\n    }\n    /**\n     * @description\n     * Sets the new value for the view model and emits an `ngModelChange` event.\n     *\n     * @param newValue The new value for the view model.\n     */\n    viewToModelUpdate(newValue) {\n        this.viewModel = newValue;\n        this.update.emit(newValue);\n    }\n    /**\n     * @description\n     * Returns an array that represents the path from the top-level form to this control.\n     * Each index is the string name of the control on that level.\n     */\n    get path() {\n        return controlPath(this.name == null ? this.name : this.name.toString(), this._parent);\n    }\n    /**\n     * @description\n     * The top-level directive for this group if present, otherwise null.\n     */\n    get formDirective() {\n        return this._parent ? this._parent.formDirective : null;\n    }\n    _checkParentType() {\n        if (typeof ngDevMode === 'undefined' || ngDevMode) {\n            if (!(this._parent instanceof FormGroupName) &&\n                this._parent instanceof AbstractFormGroupDirective) {\n                throw ngModelGroupException();\n            }\n            else if (!(this._parent instanceof FormGroupName) &&\n                !(this._parent instanceof FormGroupDirective) &&\n                !(this._parent instanceof FormArrayName)) {\n                throw controlParentException();\n            }\n        }\n    }\n    _setUpControl() {\n        this._checkParentType();\n        this.control = this.formDirective.addControl(this);\n        this._added = true;\n    }\n}\n/**\n * @description\n * Static property used to track whether any ngModel warnings have been sent across\n * all instances of FormControlName. Used to support warning config of \"once\".\n *\n * @internal\n */\nFormControlName._ngModelWarningSentOnce = false;\nFormControlName.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: FormControlName, deps: [{ token: ControlContainer, host: true, optional: true, skipSelf: true }, { token: NG_VALIDATORS, optional: true, self: true }, { token: NG_ASYNC_VALIDATORS, optional: true, self: true }, { token: NG_VALUE_ACCESSOR, optional: true, self: true }, { token: NG_MODEL_WITH_FORM_CONTROL_WARNING, optional: true }], target: i0.ɵɵFactoryTarget.Directive });\nFormControlName.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.2.10\", type: FormControlName, selector: \"[formControlName]\", inputs: { name: [\"formControlName\", \"name\"], isDisabled: [\"disabled\", \"isDisabled\"], model: [\"ngModel\", \"model\"] }, outputs: { update: \"ngModelChange\" }, providers: [controlNameBinding], usesInheritance: true, usesOnChanges: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: FormControlName, decorators: [{\n            type: Directive,\n            args: [{ selector: '[formControlName]', providers: [controlNameBinding] }]\n        }], ctorParameters: function () { return [{ type: ControlContainer, decorators: [{\n                    type: Optional\n                }, {\n                    type: Host\n                }, {\n                    type: SkipSelf\n                }] }, { type: undefined, decorators: [{\n                    type: Optional\n                }, {\n                    type: Self\n                }, {\n                    type: Inject,\n                    args: [NG_VALIDATORS]\n                }] }, { type: undefined, decorators: [{\n                    type: Optional\n                }, {\n                    type: Self\n                }, {\n                    type: Inject,\n                    args: [NG_ASYNC_VALIDATORS]\n                }] }, { type: undefined, decorators: [{\n                    type: Optional\n                }, {\n                    type: Self\n                }, {\n                    type: Inject,\n                    args: [NG_VALUE_ACCESSOR]\n                }] }, { type: undefined, decorators: [{\n                    type: Optional\n                }, {\n                    type: Inject,\n                    args: [NG_MODEL_WITH_FORM_CONTROL_WARNING]\n                }] }]; }, propDecorators: { name: [{\n                type: Input,\n                args: ['formControlName']\n            }], isDisabled: [{\n                type: Input,\n                args: ['disabled']\n            }], model: [{\n                type: Input,\n                args: ['ngModel']\n            }], update: [{\n                type: Output,\n                args: ['ngModelChange']\n            }] } });\n\nconst SELECT_VALUE_ACCESSOR = {\n    provide: NG_VALUE_ACCESSOR,\n    useExisting: forwardRef(() => SelectControlValueAccessor),\n    multi: true\n};\nfunction _buildValueString$1(id, value) {\n    if (id == null)\n        return `${value}`;\n    if (value && typeof value === 'object')\n        value = 'Object';\n    return `${id}: ${value}`.slice(0, 50);\n}\nfunction _extractId$1(valueString) {\n    return valueString.split(':')[0];\n}\n/**\n * @description\n * The `ControlValueAccessor` for writing select control values and listening to select control\n * changes. The value accessor is used by the `FormControlDirective`, `FormControlName`, and\n * `NgModel` directives.\n *\n * @usageNotes\n *\n * ### Using select controls in a reactive form\n *\n * The following examples show how to use a select control in a reactive form.\n *\n * {@example forms/ts/reactiveSelectControl/reactive_select_control_example.ts region='Component'}\n *\n * ### Using select controls in a template-driven form\n *\n * To use a select in a template-driven form, simply add an `ngModel` and a `name`\n * attribute to the main `<select>` tag.\n *\n * {@example forms/ts/selectControl/select_control_example.ts region='Component'}\n *\n * ### Customizing option selection\n *\n * Angular uses object identity to select option. It's possible for the identities of items\n * to change while the data does not. This can happen, for example, if the items are produced\n * from an RPC to the server, and that RPC is re-run. Even if the data hasn't changed, the\n * second response will produce objects with different identities.\n *\n * To customize the default option comparison algorithm, `<select>` supports `compareWith` input.\n * `compareWith` takes a **function** which has two arguments: `option1` and `option2`.\n * If `compareWith` is given, Angular selects option by the return value of the function.\n *\n * ```ts\n * const selectedCountriesControl = new FormControl();\n * ```\n *\n * ```\n * <select [compareWith]=\"compareFn\"  [formControl]=\"selectedCountriesControl\">\n *     <option *ngFor=\"let country of countries\" [ngValue]=\"country\">\n *         {{country.name}}\n *     </option>\n * </select>\n *\n * compareFn(c1: Country, c2: Country): boolean {\n *     return c1 && c2 ? c1.id === c2.id : c1 === c2;\n * }\n * ```\n *\n * **Note:** We listen to the 'change' event because 'input' events aren't fired\n * for selects in IE, see:\n * https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/input_event#browser_compatibility\n *\n * @ngModule ReactiveFormsModule\n * @ngModule FormsModule\n * @publicApi\n */\nclass SelectControlValueAccessor extends BuiltInControlValueAccessor {\n    constructor() {\n        super(...arguments);\n        /** @internal */\n        this._optionMap = new Map();\n        /** @internal */\n        this._idCounter = 0;\n        this._compareWith = Object.is;\n    }\n    /**\n     * @description\n     * Tracks the option comparison algorithm for tracking identities when\n     * checking for changes.\n     */\n    set compareWith(fn) {\n        if (typeof fn !== 'function' && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n            throw new ɵRuntimeError(1201 /* RuntimeErrorCode.COMPAREWITH_NOT_A_FN */, `compareWith must be a function, but received ${JSON.stringify(fn)}`);\n        }\n        this._compareWith = fn;\n    }\n    /**\n     * Sets the \"value\" property on the select element.\n     * @nodoc\n     */\n    writeValue(value) {\n        this.value = value;\n        const id = this._getOptionId(value);\n        const valueString = _buildValueString$1(id, value);\n        this.setProperty('value', valueString);\n    }\n    /**\n     * Registers a function called when the control value changes.\n     * @nodoc\n     */\n    registerOnChange(fn) {\n        this.onChange = (valueString) => {\n            this.value = this._getOptionValue(valueString);\n            fn(this.value);\n        };\n    }\n    /** @internal */\n    _registerOption() {\n        return (this._idCounter++).toString();\n    }\n    /** @internal */\n    _getOptionId(value) {\n        for (const id of Array.from(this._optionMap.keys())) {\n            if (this._compareWith(this._optionMap.get(id), value))\n                return id;\n        }\n        return null;\n    }\n    /** @internal */\n    _getOptionValue(valueString) {\n        const id = _extractId$1(valueString);\n        return this._optionMap.has(id) ? this._optionMap.get(id) : valueString;\n    }\n}\nSelectControlValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: SelectControlValueAccessor, deps: null, target: i0.ɵɵFactoryTarget.Directive });\nSelectControlValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.2.10\", type: SelectControlValueAccessor, selector: \"select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]\", inputs: { compareWith: \"compareWith\" }, host: { listeners: { \"change\": \"onChange($event.target.value)\", \"blur\": \"onTouched()\" } }, providers: [SELECT_VALUE_ACCESSOR], usesInheritance: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: SelectControlValueAccessor, decorators: [{\n            type: Directive,\n            args: [{\n                    selector: 'select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]',\n                    host: { '(change)': 'onChange($event.target.value)', '(blur)': 'onTouched()' },\n                    providers: [SELECT_VALUE_ACCESSOR]\n                }]\n        }], propDecorators: { compareWith: [{\n                type: Input\n            }] } });\n/**\n * @description\n * Marks `<option>` as dynamic, so Angular can be notified when options change.\n *\n * @see `SelectControlValueAccessor`\n *\n * @ngModule ReactiveFormsModule\n * @ngModule FormsModule\n * @publicApi\n */\nclass NgSelectOption {\n    constructor(_element, _renderer, _select) {\n        this._element = _element;\n        this._renderer = _renderer;\n        this._select = _select;\n        if (this._select)\n            this.id = this._select._registerOption();\n    }\n    /**\n     * @description\n     * Tracks the value bound to the option element. Unlike the value binding,\n     * ngValue supports binding to objects.\n     */\n    set ngValue(value) {\n        if (this._select == null)\n            return;\n        this._select._optionMap.set(this.id, value);\n        this._setElementValue(_buildValueString$1(this.id, value));\n        this._select.writeValue(this._select.value);\n    }\n    /**\n     * @description\n     * Tracks simple string values bound to the option element.\n     * For objects, use the `ngValue` input binding.\n     */\n    set value(value) {\n        this._setElementValue(value);\n        if (this._select)\n            this._select.writeValue(this._select.value);\n    }\n    /** @internal */\n    _setElementValue(value) {\n        this._renderer.setProperty(this._element.nativeElement, 'value', value);\n    }\n    /** @nodoc */\n    ngOnDestroy() {\n        if (this._select) {\n            this._select._optionMap.delete(this.id);\n            this._select.writeValue(this._select.value);\n        }\n    }\n}\nNgSelectOption.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: NgSelectOption, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: SelectControlValueAccessor, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive });\nNgSelectOption.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.2.10\", type: NgSelectOption, selector: \"option\", inputs: { ngValue: \"ngValue\", value: \"value\" }, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: NgSelectOption, decorators: [{\n            type: Directive,\n            args: [{ selector: 'option' }]\n        }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: SelectControlValueAccessor, decorators: [{\n                    type: Optional\n                }, {\n                    type: Host\n                }] }]; }, propDecorators: { ngValue: [{\n                type: Input,\n                args: ['ngValue']\n            }], value: [{\n                type: Input,\n                args: ['value']\n            }] } });\n\nconst SELECT_MULTIPLE_VALUE_ACCESSOR = {\n    provide: NG_VALUE_ACCESSOR,\n    useExisting: forwardRef(() => SelectMultipleControlValueAccessor),\n    multi: true\n};\nfunction _buildValueString(id, value) {\n    if (id == null)\n        return `${value}`;\n    if (typeof value === 'string')\n        value = `'${value}'`;\n    if (value && typeof value === 'object')\n        value = 'Object';\n    return `${id}: ${value}`.slice(0, 50);\n}\nfunction _extractId(valueString) {\n    return valueString.split(':')[0];\n}\n/** Mock interface for HTMLCollection */\nclass HTMLCollection {\n}\n/**\n * @description\n * The `ControlValueAccessor` for writing multi-select control values and listening to multi-select\n * control changes. The value accessor is used by the `FormControlDirective`, `FormControlName`, and\n * `NgModel` directives.\n *\n * @see `SelectControlValueAccessor`\n *\n * @usageNotes\n *\n * ### Using a multi-select control\n *\n * The follow example shows you how to use a multi-select control with a reactive form.\n *\n * ```ts\n * const countryControl = new FormControl();\n * ```\n *\n * ```\n * <select multiple name=\"countries\" [formControl]=\"countryControl\">\n *   <option *ngFor=\"let country of countries\" [ngValue]=\"country\">\n *     {{ country.name }}\n *   </option>\n * </select>\n * ```\n *\n * ### Customizing option selection\n *\n * To customize the default option comparison algorithm, `<select>` supports `compareWith` input.\n * See the `SelectControlValueAccessor` for usage.\n *\n * @ngModule ReactiveFormsModule\n * @ngModule FormsModule\n * @publicApi\n */\nclass SelectMultipleControlValueAccessor extends BuiltInControlValueAccessor {\n    constructor() {\n        super(...arguments);\n        /** @internal */\n        this._optionMap = new Map();\n        /** @internal */\n        this._idCounter = 0;\n        this._compareWith = Object.is;\n    }\n    /**\n     * @description\n     * Tracks the option comparison algorithm for tracking identities when\n     * checking for changes.\n     */\n    set compareWith(fn) {\n        if (typeof fn !== 'function' && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n            throw new ɵRuntimeError(1201 /* RuntimeErrorCode.COMPAREWITH_NOT_A_FN */, `compareWith must be a function, but received ${JSON.stringify(fn)}`);\n        }\n        this._compareWith = fn;\n    }\n    /**\n     * Sets the \"value\" property on one or of more of the select's options.\n     * @nodoc\n     */\n    writeValue(value) {\n        this.value = value;\n        let optionSelectedStateSetter;\n        if (Array.isArray(value)) {\n            // convert values to ids\n            const ids = value.map((v) => this._getOptionId(v));\n            optionSelectedStateSetter = (opt, o) => {\n                opt._setSelected(ids.indexOf(o.toString()) > -1);\n            };\n        }\n        else {\n            optionSelectedStateSetter = (opt, o) => {\n                opt._setSelected(false);\n            };\n        }\n        this._optionMap.forEach(optionSelectedStateSetter);\n    }\n    /**\n     * Registers a function called when the control value changes\n     * and writes an array of the selected options.\n     * @nodoc\n     */\n    registerOnChange(fn) {\n        this.onChange = (element) => {\n            const selected = [];\n            const selectedOptions = element.selectedOptions;\n            if (selectedOptions !== undefined) {\n                const options = selectedOptions;\n                for (let i = 0; i < options.length; i++) {\n                    const opt = options[i];\n                    const val = this._getOptionValue(opt.value);\n                    selected.push(val);\n                }\n            }\n            // Degrade to use `options` when `selectedOptions` property is not available.\n            // Note: the `selectedOptions` is available in all supported browsers, but the Domino lib\n            // doesn't have it currently, see https://github.com/fgnass/domino/issues/177.\n            else {\n                const options = element.options;\n                for (let i = 0; i < options.length; i++) {\n                    const opt = options[i];\n                    if (opt.selected) {\n                        const val = this._getOptionValue(opt.value);\n                        selected.push(val);\n                    }\n                }\n            }\n            this.value = selected;\n            fn(selected);\n        };\n    }\n    /** @internal */\n    _registerOption(value) {\n        const id = (this._idCounter++).toString();\n        this._optionMap.set(id, value);\n        return id;\n    }\n    /** @internal */\n    _getOptionId(value) {\n        for (const id of Array.from(this._optionMap.keys())) {\n            if (this._compareWith(this._optionMap.get(id)._value, value))\n                return id;\n        }\n        return null;\n    }\n    /** @internal */\n    _getOptionValue(valueString) {\n        const id = _extractId(valueString);\n        return this._optionMap.has(id) ? this._optionMap.get(id)._value : valueString;\n    }\n}\nSelectMultipleControlValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: SelectMultipleControlValueAccessor, deps: null, target: i0.ɵɵFactoryTarget.Directive });\nSelectMultipleControlValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.2.10\", type: SelectMultipleControlValueAccessor, selector: \"select[multiple][formControlName],select[multiple][formControl],select[multiple][ngModel]\", inputs: { compareWith: \"compareWith\" }, host: { listeners: { \"change\": \"onChange($event.target)\", \"blur\": \"onTouched()\" } }, providers: [SELECT_MULTIPLE_VALUE_ACCESSOR], usesInheritance: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: SelectMultipleControlValueAccessor, decorators: [{\n            type: Directive,\n            args: [{\n                    selector: 'select[multiple][formControlName],select[multiple][formControl],select[multiple][ngModel]',\n                    host: { '(change)': 'onChange($event.target)', '(blur)': 'onTouched()' },\n                    providers: [SELECT_MULTIPLE_VALUE_ACCESSOR]\n                }]\n        }], propDecorators: { compareWith: [{\n                type: Input\n            }] } });\n/**\n * @description\n * Marks `<option>` as dynamic, so Angular can be notified when options change.\n *\n * @see `SelectMultipleControlValueAccessor`\n *\n * @ngModule ReactiveFormsModule\n * @ngModule FormsModule\n * @publicApi\n */\nclass ɵNgSelectMultipleOption {\n    constructor(_element, _renderer, _select) {\n        this._element = _element;\n        this._renderer = _renderer;\n        this._select = _select;\n        if (this._select) {\n            this.id = this._select._registerOption(this);\n        }\n    }\n    /**\n     * @description\n     * Tracks the value bound to the option element. Unlike the value binding,\n     * ngValue supports binding to objects.\n     */\n    set ngValue(value) {\n        if (this._select == null)\n            return;\n        this._value = value;\n        this._setElementValue(_buildValueString(this.id, value));\n        this._select.writeValue(this._select.value);\n    }\n    /**\n     * @description\n     * Tracks simple string values bound to the option element.\n     * For objects, use the `ngValue` input binding.\n     */\n    set value(value) {\n        if (this._select) {\n            this._value = value;\n            this._setElementValue(_buildValueString(this.id, value));\n            this._select.writeValue(this._select.value);\n        }\n        else {\n            this._setElementValue(value);\n        }\n    }\n    /** @internal */\n    _setElementValue(value) {\n        this._renderer.setProperty(this._element.nativeElement, 'value', value);\n    }\n    /** @internal */\n    _setSelected(selected) {\n        this._renderer.setProperty(this._element.nativeElement, 'selected', selected);\n    }\n    /** @nodoc */\n    ngOnDestroy() {\n        if (this._select) {\n            this._select._optionMap.delete(this.id);\n            this._select.writeValue(this._select.value);\n        }\n    }\n}\nɵNgSelectMultipleOption.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: ɵNgSelectMultipleOption, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: SelectMultipleControlValueAccessor, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive });\nɵNgSelectMultipleOption.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.2.10\", type: ɵNgSelectMultipleOption, selector: \"option\", inputs: { ngValue: \"ngValue\", value: \"value\" }, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: ɵNgSelectMultipleOption, decorators: [{\n            type: Directive,\n            args: [{ selector: 'option' }]\n        }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: SelectMultipleControlValueAccessor, decorators: [{\n                    type: Optional\n                }, {\n                    type: Host\n                }] }]; }, propDecorators: { ngValue: [{\n                type: Input,\n                args: ['ngValue']\n            }], value: [{\n                type: Input,\n                args: ['value']\n            }] } });\n\n/**\n * Method that updates string to integer if not already a number\n *\n * @param value The value to convert to integer.\n * @returns value of parameter converted to number or integer.\n */\nfunction toInteger(value) {\n    return typeof value === 'number' ? value : parseInt(value, 10);\n}\n/**\n * Method that ensures that provided value is a float (and converts it to float if needed).\n *\n * @param value The value to convert to float.\n * @returns value of parameter converted to number or float.\n */\nfunction toFloat(value) {\n    return typeof value === 'number' ? value : parseFloat(value);\n}\n/**\n * A base class for Validator-based Directives. The class contains common logic shared across such\n * Directives.\n *\n * For internal use only, this class is not intended for use outside of the Forms package.\n */\nclass AbstractValidatorDirective {\n    constructor() {\n        this._validator = nullValidator;\n    }\n    /** @nodoc */\n    ngOnChanges(changes) {\n        if (this.inputName in changes) {\n            const input = this.normalizeInput(changes[this.inputName].currentValue);\n            this._enabled = this.enabled(input);\n            this._validator = this._enabled ? this.createValidator(input) : nullValidator;\n            if (this._onChange) {\n                this._onChange();\n            }\n        }\n    }\n    /** @nodoc */\n    validate(control) {\n        return this._validator(control);\n    }\n    /** @nodoc */\n    registerOnValidatorChange(fn) {\n        this._onChange = fn;\n    }\n    /**\n     * @description\n     * Determines whether this validator should be active or not based on an input.\n     * Base class implementation checks whether an input is defined (if the value is different from\n     * `null` and `undefined`). Validator classes that extend this base class can override this\n     * function with the logic specific to a particular validator directive.\n     */\n    enabled(input) {\n        return input != null /* both `null` and `undefined` */;\n    }\n}\nAbstractValidatorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: AbstractValidatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });\nAbstractValidatorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.2.10\", type: AbstractValidatorDirective, usesOnChanges: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: AbstractValidatorDirective, decorators: [{\n            type: Directive\n        }] });\n/**\n * @description\n * Provider which adds `MaxValidator` to the `NG_VALIDATORS` multi-provider list.\n */\nconst MAX_VALIDATOR = {\n    provide: NG_VALIDATORS,\n    useExisting: forwardRef(() => MaxValidator),\n    multi: true\n};\n/**\n * A directive which installs the {@link MaxValidator} for any `formControlName`,\n * `formControl`, or control with `ngModel` that also has a `max` attribute.\n *\n * @see [Form Validation](guide/form-validation)\n *\n * @usageNotes\n *\n * ### Adding a max validator\n *\n * The following example shows how to add a max validator to an input attached to an\n * ngModel binding.\n *\n * ```html\n * <input type=\"number\" ngModel max=\"4\">\n * ```\n *\n * @ngModule ReactiveFormsModule\n * @ngModule FormsModule\n * @publicApi\n */\nclass MaxValidator extends AbstractValidatorDirective {\n    constructor() {\n        super(...arguments);\n        /** @internal */\n        this.inputName = 'max';\n        /** @internal */\n        this.normalizeInput = (input) => toFloat(input);\n        /** @internal */\n        this.createValidator = (max) => maxValidator(max);\n    }\n}\nMaxValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: MaxValidator, deps: null, target: i0.ɵɵFactoryTarget.Directive });\nMaxValidator.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.2.10\", type: MaxValidator, selector: \"input[type=number][max][formControlName],input[type=number][max][formControl],input[type=number][max][ngModel]\", inputs: { max: \"max\" }, host: { properties: { \"attr.max\": \"_enabled ? max : null\" } }, providers: [MAX_VALIDATOR], usesInheritance: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: MaxValidator, decorators: [{\n            type: Directive,\n            args: [{\n                    selector: 'input[type=number][max][formControlName],input[type=number][max][formControl],input[type=number][max][ngModel]',\n                    providers: [MAX_VALIDATOR],\n                    host: { '[attr.max]': '_enabled ? max : null' }\n                }]\n        }], propDecorators: { max: [{\n                type: Input\n            }] } });\n/**\n * @description\n * Provider which adds `MinValidator` to the `NG_VALIDATORS` multi-provider list.\n */\nconst MIN_VALIDATOR = {\n    provide: NG_VALIDATORS,\n    useExisting: forwardRef(() => MinValidator),\n    multi: true\n};\n/**\n * A directive which installs the {@link MinValidator} for any `formControlName`,\n * `formControl`, or control with `ngModel` that also has a `min` attribute.\n *\n * @see [Form Validation](guide/form-validation)\n *\n * @usageNotes\n *\n * ### Adding a min validator\n *\n * The following example shows how to add a min validator to an input attached to an\n * ngModel binding.\n *\n * ```html\n * <input type=\"number\" ngModel min=\"4\">\n * ```\n *\n * @ngModule ReactiveFormsModule\n * @ngModule FormsModule\n * @publicApi\n */\nclass MinValidator extends AbstractValidatorDirective {\n    constructor() {\n        super(...arguments);\n        /** @internal */\n        this.inputName = 'min';\n        /** @internal */\n        this.normalizeInput = (input) => toFloat(input);\n        /** @internal */\n        this.createValidator = (min) => minValidator(min);\n    }\n}\nMinValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: MinValidator, deps: null, target: i0.ɵɵFactoryTarget.Directive });\nMinValidator.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.2.10\", type: MinValidator, selector: \"input[type=number][min][formControlName],input[type=number][min][formControl],input[type=number][min][ngModel]\", inputs: { min: \"min\" }, host: { properties: { \"attr.min\": \"_enabled ? min : null\" } }, providers: [MIN_VALIDATOR], usesInheritance: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: MinValidator, decorators: [{\n            type: Directive,\n            args: [{\n                    selector: 'input[type=number][min][formControlName],input[type=number][min][formControl],input[type=number][min][ngModel]',\n                    providers: [MIN_VALIDATOR],\n                    host: { '[attr.min]': '_enabled ? min : null' }\n                }]\n        }], propDecorators: { min: [{\n                type: Input\n            }] } });\n/**\n * @description\n * Provider which adds `RequiredValidator` to the `NG_VALIDATORS` multi-provider list.\n */\nconst REQUIRED_VALIDATOR = {\n    provide: NG_VALIDATORS,\n    useExisting: forwardRef(() => RequiredValidator),\n    multi: true\n};\n/**\n * @description\n * Provider which adds `CheckboxRequiredValidator` to the `NG_VALIDATORS` multi-provider list.\n */\nconst CHECKBOX_REQUIRED_VALIDATOR = {\n    provide: NG_VALIDATORS,\n    useExisting: forwardRef(() => CheckboxRequiredValidator),\n    multi: true\n};\n/**\n * @description\n * A directive that adds the `required` validator to any controls marked with the\n * `required` attribute. The directive is provided with the `NG_VALIDATORS` multi-provider list.\n *\n * @see [Form Validation](guide/form-validation)\n *\n * @usageNotes\n *\n * ### Adding a required validator using template-driven forms\n *\n * ```\n * <input name=\"fullName\" ngModel required>\n * ```\n *\n * @ngModule FormsModule\n * @ngModule ReactiveFormsModule\n * @publicApi\n */\nclass RequiredValidator extends AbstractValidatorDirective {\n    constructor() {\n        super(...arguments);\n        /** @internal */\n        this.inputName = 'required';\n        /** @internal */\n        this.normalizeInput = ɵcoerceToBoolean;\n        /** @internal */\n        this.createValidator = (input) => requiredValidator;\n    }\n    /** @nodoc */\n    enabled(input) {\n        return input;\n    }\n}\nRequiredValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: RequiredValidator, deps: null, target: i0.ɵɵFactoryTarget.Directive });\nRequiredValidator.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.2.10\", type: RequiredValidator, selector: \":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]\", inputs: { required: \"required\" }, host: { properties: { \"attr.required\": \"_enabled ? \\\"\\\" : null\" } }, providers: [REQUIRED_VALIDATOR], usesInheritance: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: RequiredValidator, decorators: [{\n            type: Directive,\n            args: [{\n                    selector: ':not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]',\n                    providers: [REQUIRED_VALIDATOR],\n                    host: { '[attr.required]': '_enabled ? \"\" : null' }\n                }]\n        }], propDecorators: { required: [{\n                type: Input\n            }] } });\n/**\n * A Directive that adds the `required` validator to checkbox controls marked with the\n * `required` attribute. The directive is provided with the `NG_VALIDATORS` multi-provider list.\n *\n * @see [Form Validation](guide/form-validation)\n *\n * @usageNotes\n *\n * ### Adding a required checkbox validator using template-driven forms\n *\n * The following example shows how to add a checkbox required validator to an input attached to an\n * ngModel binding.\n *\n * ```\n * <input type=\"checkbox\" name=\"active\" ngModel required>\n * ```\n *\n * @publicApi\n * @ngModule FormsModule\n * @ngModule ReactiveFormsModule\n */\nclass CheckboxRequiredValidator extends RequiredValidator {\n    constructor() {\n        super(...arguments);\n        /** @internal */\n        this.createValidator = (input) => requiredTrueValidator;\n    }\n}\nCheckboxRequiredValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: CheckboxRequiredValidator, deps: null, target: i0.ɵɵFactoryTarget.Directive });\nCheckboxRequiredValidator.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.2.10\", type: CheckboxRequiredValidator, selector: \"input[type=checkbox][required][formControlName],input[type=checkbox][required][formControl],input[type=checkbox][required][ngModel]\", host: { properties: { \"attr.required\": \"_enabled ? \\\"\\\" : null\" } }, providers: [CHECKBOX_REQUIRED_VALIDATOR], usesInheritance: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: CheckboxRequiredValidator, decorators: [{\n            type: Directive,\n            args: [{\n                    selector: 'input[type=checkbox][required][formControlName],input[type=checkbox][required][formControl],input[type=checkbox][required][ngModel]',\n                    providers: [CHECKBOX_REQUIRED_VALIDATOR],\n                    host: { '[attr.required]': '_enabled ? \"\" : null' }\n                }]\n        }] });\n/**\n * @description\n * Provider which adds `EmailValidator` to the `NG_VALIDATORS` multi-provider list.\n */\nconst EMAIL_VALIDATOR = {\n    provide: NG_VALIDATORS,\n    useExisting: forwardRef(() => EmailValidator),\n    multi: true\n};\n/**\n * A directive that adds the `email` validator to controls marked with the\n * `email` attribute. The directive is provided with the `NG_VALIDATORS` multi-provider list.\n *\n * The email validation is based on the WHATWG HTML specification with some enhancements to\n * incorporate more RFC rules. More information can be found on the [Validators.email\n * page](api/forms/Validators#email).\n *\n * @see [Form Validation](guide/form-validation)\n *\n * @usageNotes\n *\n * ### Adding an email validator\n *\n * The following example shows how to add an email validator to an input attached to an ngModel\n * binding.\n *\n * ```\n * <input type=\"email\" name=\"email\" ngModel email>\n * <input type=\"email\" name=\"email\" ngModel email=\"true\">\n * <input type=\"email\" name=\"email\" ngModel [email]=\"true\">\n * ```\n *\n * @publicApi\n * @ngModule FormsModule\n * @ngModule ReactiveFormsModule\n */\nclass EmailValidator extends AbstractValidatorDirective {\n    constructor() {\n        super(...arguments);\n        /** @internal */\n        this.inputName = 'email';\n        /** @internal */\n        this.normalizeInput = ɵcoerceToBoolean;\n        /** @internal */\n        this.createValidator = (input) => emailValidator;\n    }\n    /** @nodoc */\n    enabled(input) {\n        return input;\n    }\n}\nEmailValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: EmailValidator, deps: null, target: i0.ɵɵFactoryTarget.Directive });\nEmailValidator.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.2.10\", type: EmailValidator, selector: \"[email][formControlName],[email][formControl],[email][ngModel]\", inputs: { email: \"email\" }, providers: [EMAIL_VALIDATOR], usesInheritance: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: EmailValidator, decorators: [{\n            type: Directive,\n            args: [{\n                    selector: '[email][formControlName],[email][formControl],[email][ngModel]',\n                    providers: [EMAIL_VALIDATOR]\n                }]\n        }], propDecorators: { email: [{\n                type: Input\n            }] } });\n/**\n * @description\n * Provider which adds `MinLengthValidator` to the `NG_VALIDATORS` multi-provider list.\n */\nconst MIN_LENGTH_VALIDATOR = {\n    provide: NG_VALIDATORS,\n    useExisting: forwardRef(() => MinLengthValidator),\n    multi: true\n};\n/**\n * A directive that adds minimum length validation to controls marked with the\n * `minlength` attribute. The directive is provided with the `NG_VALIDATORS` multi-provider list.\n *\n * @see [Form Validation](guide/form-validation)\n *\n * @usageNotes\n *\n * ### Adding a minimum length validator\n *\n * The following example shows how to add a minimum length validator to an input attached to an\n * ngModel binding.\n *\n * ```html\n * <input name=\"firstName\" ngModel minlength=\"4\">\n * ```\n *\n * @ngModule ReactiveFormsModule\n * @ngModule FormsModule\n * @publicApi\n */\nclass MinLengthValidator extends AbstractValidatorDirective {\n    constructor() {\n        super(...arguments);\n        /** @internal */\n        this.inputName = 'minlength';\n        /** @internal */\n        this.normalizeInput = (input) => toInteger(input);\n        /** @internal */\n        this.createValidator = (minlength) => minLengthValidator(minlength);\n    }\n}\nMinLengthValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: MinLengthValidator, deps: null, target: i0.ɵɵFactoryTarget.Directive });\nMinLengthValidator.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.2.10\", type: MinLengthValidator, selector: \"[minlength][formControlName],[minlength][formControl],[minlength][ngModel]\", inputs: { minlength: \"minlength\" }, host: { properties: { \"attr.minlength\": \"_enabled ? minlength : null\" } }, providers: [MIN_LENGTH_VALIDATOR], usesInheritance: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: MinLengthValidator, decorators: [{\n            type: Directive,\n            args: [{\n                    selector: '[minlength][formControlName],[minlength][formControl],[minlength][ngModel]',\n                    providers: [MIN_LENGTH_VALIDATOR],\n                    host: { '[attr.minlength]': '_enabled ? minlength : null' }\n                }]\n        }], propDecorators: { minlength: [{\n                type: Input\n            }] } });\n/**\n * @description\n * Provider which adds `MaxLengthValidator` to the `NG_VALIDATORS` multi-provider list.\n */\nconst MAX_LENGTH_VALIDATOR = {\n    provide: NG_VALIDATORS,\n    useExisting: forwardRef(() => MaxLengthValidator),\n    multi: true\n};\n/**\n * A directive that adds max length validation to controls marked with the\n * `maxlength` attribute. The directive is provided with the `NG_VALIDATORS` multi-provider list.\n *\n * @see [Form Validation](guide/form-validation)\n *\n * @usageNotes\n *\n * ### Adding a maximum length validator\n *\n * The following example shows how to add a maximum length validator to an input attached to an\n * ngModel binding.\n *\n * ```html\n * <input name=\"firstName\" ngModel maxlength=\"25\">\n * ```\n *\n * @ngModule ReactiveFormsModule\n * @ngModule FormsModule\n * @publicApi\n */\nclass MaxLengthValidator extends AbstractValidatorDirective {\n    constructor() {\n        super(...arguments);\n        /** @internal */\n        this.inputName = 'maxlength';\n        /** @internal */\n        this.normalizeInput = (input) => toInteger(input);\n        /** @internal */\n        this.createValidator = (maxlength) => maxLengthValidator(maxlength);\n    }\n}\nMaxLengthValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: MaxLengthValidator, deps: null, target: i0.ɵɵFactoryTarget.Directive });\nMaxLengthValidator.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.2.10\", type: MaxLengthValidator, selector: \"[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]\", inputs: { maxlength: \"maxlength\" }, host: { properties: { \"attr.maxlength\": \"_enabled ? maxlength : null\" } }, providers: [MAX_LENGTH_VALIDATOR], usesInheritance: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: MaxLengthValidator, decorators: [{\n            type: Directive,\n            args: [{\n                    selector: '[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]',\n                    providers: [MAX_LENGTH_VALIDATOR],\n                    host: { '[attr.maxlength]': '_enabled ? maxlength : null' }\n                }]\n        }], propDecorators: { maxlength: [{\n                type: Input\n            }] } });\n/**\n * @description\n * Provider which adds `PatternValidator` to the `NG_VALIDATORS` multi-provider list.\n */\nconst PATTERN_VALIDATOR = {\n    provide: NG_VALIDATORS,\n    useExisting: forwardRef(() => PatternValidator),\n    multi: true\n};\n/**\n * @description\n * A directive that adds regex pattern validation to controls marked with the\n * `pattern` attribute. The regex must match the entire control value.\n * The directive is provided with the `NG_VALIDATORS` multi-provider list.\n *\n * @see [Form Validation](guide/form-validation)\n *\n * @usageNotes\n *\n * ### Adding a pattern validator\n *\n * The following example shows how to add a pattern validator to an input attached to an\n * ngModel binding.\n *\n * ```html\n * <input name=\"firstName\" ngModel pattern=\"[a-zA-Z ]*\">\n * ```\n *\n * @ngModule ReactiveFormsModule\n * @ngModule FormsModule\n * @publicApi\n */\nclass PatternValidator extends AbstractValidatorDirective {\n    constructor() {\n        super(...arguments);\n        /** @internal */\n        this.inputName = 'pattern';\n        /** @internal */\n        this.normalizeInput = (input) => input;\n        /** @internal */\n        this.createValidator = (input) => patternValidator(input);\n    }\n}\nPatternValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: PatternValidator, deps: null, target: i0.ɵɵFactoryTarget.Directive });\nPatternValidator.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.2.10\", type: PatternValidator, selector: \"[pattern][formControlName],[pattern][formControl],[pattern][ngModel]\", inputs: { pattern: \"pattern\" }, host: { properties: { \"attr.pattern\": \"_enabled ? pattern : null\" } }, providers: [PATTERN_VALIDATOR], usesInheritance: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: PatternValidator, decorators: [{\n            type: Directive,\n            args: [{\n                    selector: '[pattern][formControlName],[pattern][formControl],[pattern][ngModel]',\n                    providers: [PATTERN_VALIDATOR],\n                    host: { '[attr.pattern]': '_enabled ? pattern : null' }\n                }]\n        }], propDecorators: { pattern: [{\n                type: Input\n            }] } });\n\nconst SHARED_FORM_DIRECTIVES = [\n    ɵNgNoValidate,\n    NgSelectOption,\n    ɵNgSelectMultipleOption,\n    DefaultValueAccessor,\n    NumberValueAccessor,\n    RangeValueAccessor,\n    CheckboxControlValueAccessor,\n    SelectControlValueAccessor,\n    SelectMultipleControlValueAccessor,\n    RadioControlValueAccessor,\n    NgControlStatus,\n    NgControlStatusGroup,\n    RequiredValidator,\n    MinLengthValidator,\n    MaxLengthValidator,\n    PatternValidator,\n    CheckboxRequiredValidator,\n    EmailValidator,\n    MinValidator,\n    MaxValidator,\n];\nconst TEMPLATE_DRIVEN_DIRECTIVES = [NgModel, NgModelGroup, NgForm];\nconst REACTIVE_DRIVEN_DIRECTIVES = [FormControlDirective, FormGroupDirective, FormControlName, FormGroupName, FormArrayName];\n/**\n * Internal module used for sharing directives between FormsModule and ReactiveFormsModule\n */\nclass ɵInternalFormsSharedModule {\n}\nɵInternalFormsSharedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: ɵInternalFormsSharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\nɵInternalFormsSharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"15.2.10\", ngImport: i0, type: ɵInternalFormsSharedModule, declarations: [ɵNgNoValidate,\n        NgSelectOption,\n        ɵNgSelectMultipleOption,\n        DefaultValueAccessor,\n        NumberValueAccessor,\n        RangeValueAccessor,\n        CheckboxControlValueAccessor,\n        SelectControlValueAccessor,\n        SelectMultipleControlValueAccessor,\n        RadioControlValueAccessor,\n        NgControlStatus,\n        NgControlStatusGroup,\n        RequiredValidator,\n        MinLengthValidator,\n        MaxLengthValidator,\n        PatternValidator,\n        CheckboxRequiredValidator,\n        EmailValidator,\n        MinValidator,\n        MaxValidator], imports: [RadioControlRegistryModule], exports: [ɵNgNoValidate,\n        NgSelectOption,\n        ɵNgSelectMultipleOption,\n        DefaultValueAccessor,\n        NumberValueAccessor,\n        RangeValueAccessor,\n        CheckboxControlValueAccessor,\n        SelectControlValueAccessor,\n        SelectMultipleControlValueAccessor,\n        RadioControlValueAccessor,\n        NgControlStatus,\n        NgControlStatusGroup,\n        RequiredValidator,\n        MinLengthValidator,\n        MaxLengthValidator,\n        PatternValidator,\n        CheckboxRequiredValidator,\n        EmailValidator,\n        MinValidator,\n        MaxValidator] });\nɵInternalFormsSharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: ɵInternalFormsSharedModule, imports: [RadioControlRegistryModule] });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: ɵInternalFormsSharedModule, decorators: [{\n            type: NgModule,\n            args: [{\n                    declarations: SHARED_FORM_DIRECTIVES,\n                    imports: [RadioControlRegistryModule],\n                    exports: SHARED_FORM_DIRECTIVES,\n                }]\n        }] });\n\n/**\n * Tracks the value and validity state of an array of `FormControl`,\n * `FormGroup` or `FormArray` instances.\n *\n * A `FormArray` aggregates the values of each child `FormControl` into an array.\n * It calculates its status by reducing the status values of its children. For example, if one of\n * the controls in a `FormArray` is invalid, the entire array becomes invalid.\n *\n * `FormArray` accepts one generic argument, which is the type of the controls inside.\n * If you need a heterogenous array, use {@link UntypedFormArray}.\n *\n * `FormArray` is one of the four fundamental building blocks used to define forms in Angular,\n * along with `FormControl`, `FormGroup`, and `FormRecord`.\n *\n * @usageNotes\n *\n * ### Create an array of form controls\n *\n * ```\n * const arr = new FormArray([\n *   new FormControl('Nancy', Validators.minLength(2)),\n *   new FormControl('Drew'),\n * ]);\n *\n * console.log(arr.value);   // ['Nancy', 'Drew']\n * console.log(arr.status);  // 'VALID'\n * ```\n *\n * ### Create a form array with array-level validators\n *\n * You include array-level validators and async validators. These come in handy\n * when you want to perform validation that considers the value of more than one child\n * control.\n *\n * The two types of validators are passed in separately as the second and third arg\n * respectively, or together as part of an options object.\n *\n * ```\n * const arr = new FormArray([\n *   new FormControl('Nancy'),\n *   new FormControl('Drew')\n * ], {validators: myValidator, asyncValidators: myAsyncValidator});\n * ```\n *\n * ### Set the updateOn property for all controls in a form array\n *\n * The options object is used to set a default value for each child\n * control's `updateOn` property. If you set `updateOn` to `'blur'` at the\n * array level, all child controls default to 'blur', unless the child\n * has explicitly specified a different `updateOn` value.\n *\n * ```ts\n * const arr = new FormArray([\n *    new FormControl()\n * ], {updateOn: 'blur'});\n * ```\n *\n * ### Adding or removing controls from a form array\n *\n * To change the controls in the array, use the `push`, `insert`, `removeAt` or `clear` methods\n * in `FormArray` itself. These methods ensure the controls are properly tracked in the\n * form's hierarchy. Do not modify the array of `AbstractControl`s used to instantiate\n * the `FormArray` directly, as that result in strange and unexpected behavior such\n * as broken change detection.\n *\n * @publicApi\n */\nclass FormArray extends AbstractControl {\n    /**\n     * Creates a new `FormArray` instance.\n     *\n     * @param controls An array of child controls. Each child control is given an index\n     * where it is registered.\n     *\n     * @param validatorOrOpts A synchronous validator function, or an array of\n     * such functions, or an `AbstractControlOptions` object that contains validation functions\n     * and a validation trigger.\n     *\n     * @param asyncValidator A single async validator or array of async validator functions\n     *\n     */\n    constructor(controls, validatorOrOpts, asyncValidator) {\n        super(pickValidators(validatorOrOpts), pickAsyncValidators(asyncValidator, validatorOrOpts));\n        this.controls = controls;\n        this._initObservables();\n        this._setUpdateStrategy(validatorOrOpts);\n        this._setUpControls();\n        this.updateValueAndValidity({\n            onlySelf: true,\n            // If `asyncValidator` is present, it will trigger control status change from `PENDING` to\n            // `VALID` or `INVALID`.\n            // The status should be broadcasted via the `statusChanges` observable, so we set `emitEvent`\n            // to `true` to allow that during the control creation process.\n            emitEvent: !!this.asyncValidator\n        });\n    }\n    /**\n     * Get the `AbstractControl` at the given `index` in the array.\n     *\n     * @param index Index in the array to retrieve the control. If `index` is negative, it will wrap\n     *     around from the back, and if index is greatly negative (less than `-length`), the result is\n     * undefined. This behavior is the same as `Array.at(index)`.\n     */\n    at(index) {\n        return this.controls[this._adjustIndex(index)];\n    }\n    /**\n     * Insert a new `AbstractControl` at the end of the array.\n     *\n     * @param control Form control to be inserted\n     * @param options Specifies whether this FormArray instance should emit events after a new\n     *     control is added.\n     * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and\n     * `valueChanges` observables emit events with the latest status and value when the control is\n     * inserted. When false, no events are emitted.\n     */\n    push(control, options = {}) {\n        this.controls.push(control);\n        this._registerControl(control);\n        this.updateValueAndValidity({ emitEvent: options.emitEvent });\n        this._onCollectionChange();\n    }\n    /**\n     * Insert a new `AbstractControl` at the given `index` in the array.\n     *\n     * @param index Index in the array to insert the control. If `index` is negative, wraps around\n     *     from the back. If `index` is greatly negative (less than `-length`), prepends to the array.\n     * This behavior is the same as `Array.splice(index, 0, control)`.\n     * @param control Form control to be inserted\n     * @param options Specifies whether this FormArray instance should emit events after a new\n     *     control is inserted.\n     * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and\n     * `valueChanges` observables emit events with the latest status and value when the control is\n     * inserted. When false, no events are emitted.\n     */\n    insert(index, control, options = {}) {\n        this.controls.splice(index, 0, control);\n        this._registerControl(control);\n        this.updateValueAndValidity({ emitEvent: options.emitEvent });\n    }\n    /**\n     * Remove the control at the given `index` in the array.\n     *\n     * @param index Index in the array to remove the control.  If `index` is negative, wraps around\n     *     from the back. If `index` is greatly negative (less than `-length`), removes the first\n     *     element. This behavior is the same as `Array.splice(index, 1)`.\n     * @param options Specifies whether this FormArray instance should emit events after a\n     *     control is removed.\n     * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and\n     * `valueChanges` observables emit events with the latest status and value when the control is\n     * removed. When false, no events are emitted.\n     */\n    removeAt(index, options = {}) {\n        // Adjust the index, then clamp it at no less than 0 to prevent undesired underflows.\n        let adjustedIndex = this._adjustIndex(index);\n        if (adjustedIndex < 0)\n            adjustedIndex = 0;\n        if (this.controls[adjustedIndex])\n            this.controls[adjustedIndex]._registerOnCollectionChange(() => { });\n        this.controls.splice(adjustedIndex, 1);\n        this.updateValueAndValidity({ emitEvent: options.emitEvent });\n    }\n    /**\n     * Replace an existing control.\n     *\n     * @param index Index in the array to replace the control. If `index` is negative, wraps around\n     *     from the back. If `index` is greatly negative (less than `-length`), replaces the first\n     *     element. This behavior is the same as `Array.splice(index, 1, control)`.\n     * @param control The `AbstractControl` control to replace the existing control\n     * @param options Specifies whether this FormArray instance should emit events after an\n     *     existing control is replaced with a new one.\n     * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and\n     * `valueChanges` observables emit events with the latest status and value when the control is\n     * replaced with a new one. When false, no events are emitted.\n     */\n    setControl(index, control, options = {}) {\n        // Adjust the index, then clamp it at no less than 0 to prevent undesired underflows.\n        let adjustedIndex = this._adjustIndex(index);\n        if (adjustedIndex < 0)\n            adjustedIndex = 0;\n        if (this.controls[adjustedIndex])\n            this.controls[adjustedIndex]._registerOnCollectionChange(() => { });\n        this.controls.splice(adjustedIndex, 1);\n        if (control) {\n            this.controls.splice(adjustedIndex, 0, control);\n            this._registerControl(control);\n        }\n        this.updateValueAndValidity({ emitEvent: options.emitEvent });\n        this._onCollectionChange();\n    }\n    /**\n     * Length of the control array.\n     */\n    get length() {\n        return this.controls.length;\n    }\n    /**\n     * Sets the value of the `FormArray`. It accepts an array that matches\n     * the structure of the control.\n     *\n     * This method performs strict checks, and throws an error if you try\n     * to set the value of a control that doesn't exist or if you exclude the\n     * value of a control.\n     *\n     * @usageNotes\n     * ### Set the values for the controls in the form array\n     *\n     * ```\n     * const arr = new FormArray([\n     *   new FormControl(),\n     *   new FormControl()\n     * ]);\n     * console.log(arr.value);   // [null, null]\n     *\n     * arr.setValue(['Nancy', 'Drew']);\n     * console.log(arr.value);   // ['Nancy', 'Drew']\n     * ```\n     *\n     * @param value Array of values for the controls\n     * @param options Configure options that determine how the control propagates changes and\n     * emits events after the value changes\n     *\n     * * `onlySelf`: When true, each change only affects this control, and not its parent. Default\n     * is false.\n     * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and\n     * `valueChanges`\n     * observables emit events with the latest status and value when the control value is updated.\n     * When false, no events are emitted.\n     * The configuration options are passed to the {@link AbstractControl#updateValueAndValidity\n     * updateValueAndValidity} method.\n     */\n    setValue(value, options = {}) {\n        assertAllValuesPresent(this, false, value);\n        value.forEach((newValue, index) => {\n            assertControlPresent(this, false, index);\n            this.at(index).setValue(newValue, { onlySelf: true, emitEvent: options.emitEvent });\n        });\n        this.updateValueAndValidity(options);\n    }\n    /**\n     * Patches the value of the `FormArray`. It accepts an array that matches the\n     * structure of the control, and does its best to match the values to the correct\n     * controls in the group.\n     *\n     * It accepts both super-sets and sub-sets of the array without throwing an error.\n     *\n     * @usageNotes\n     * ### Patch the values for controls in a form array\n     *\n     * ```\n     * const arr = new FormArray([\n     *    new FormControl(),\n     *    new FormControl()\n     * ]);\n     * console.log(arr.value);   // [null, null]\n     *\n     * arr.patchValue(['Nancy']);\n     * console.log(arr.value);   // ['Nancy', null]\n     * ```\n     *\n     * @param value Array of latest values for the controls\n     * @param options Configure options that determine how the control propagates changes and\n     * emits events after the value changes\n     *\n     * * `onlySelf`: When true, each change only affects this control, and not its parent. Default\n     * is false.\n     * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and\n     * `valueChanges` observables emit events with the latest status and value when the control\n     * value is updated. When false, no events are emitted. The configuration options are passed to\n     * the {@link AbstractControl#updateValueAndValidity updateValueAndValidity} method.\n     */\n    patchValue(value, options = {}) {\n        // Even though the `value` argument type doesn't allow `null` and `undefined` values, the\n        // `patchValue` can be called recursively and inner data structures might have these values,\n        // so we just ignore such cases when a field containing FormArray instance receives `null` or\n        // `undefined` as a value.\n        if (value == null /* both `null` and `undefined` */)\n            return;\n        value.forEach((newValue, index) => {\n            if (this.at(index)) {\n                this.at(index).patchValue(newValue, { onlySelf: true, emitEvent: options.emitEvent });\n            }\n        });\n        this.updateValueAndValidity(options);\n    }\n    /**\n     * Resets the `FormArray` and all descendants are marked `pristine` and `untouched`, and the\n     * value of all descendants to null or null maps.\n     *\n     * You reset to a specific form state by passing in an array of states\n     * that matches the structure of the control. The state is a standalone value\n     * or a form state object with both a value and a disabled status.\n     *\n     * @usageNotes\n     * ### Reset the values in a form array\n     *\n     * ```ts\n     * const arr = new FormArray([\n     *    new FormControl(),\n     *    new FormControl()\n     * ]);\n     * arr.reset(['name', 'last name']);\n     *\n     * console.log(arr.value);  // ['name', 'last name']\n     * ```\n     *\n     * ### Reset the values in a form array and the disabled status for the first control\n     *\n     * ```\n     * arr.reset([\n     *   {value: 'name', disabled: true},\n     *   'last'\n     * ]);\n     *\n     * console.log(arr.value);  // ['last']\n     * console.log(arr.at(0).status);  // 'DISABLED'\n     * ```\n     *\n     * @param value Array of values for the controls\n     * @param options Configure options that determine how the control propagates changes and\n     * emits events after the value changes\n     *\n     * * `onlySelf`: When true, each change only affects this control, and not its parent. Default\n     * is false.\n     * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and\n     * `valueChanges`\n     * observables emit events with the latest status and value when the control is reset.\n     * When false, no events are emitted.\n     * The configuration options are passed to the {@link AbstractControl#updateValueAndValidity\n     * updateValueAndValidity} method.\n     */\n    reset(value = [], options = {}) {\n        this._forEachChild((control, index) => {\n            control.reset(value[index], { onlySelf: true, emitEvent: options.emitEvent });\n        });\n        this._updatePristine(options);\n        this._updateTouched(options);\n        this.updateValueAndValidity(options);\n    }\n    /**\n     * The aggregate value of the array, including any disabled controls.\n     *\n     * Reports all values regardless of disabled status.\n     */\n    getRawValue() {\n        return this.controls.map((control) => control.getRawValue());\n    }\n    /**\n     * Remove all controls in the `FormArray`.\n     *\n     * @param options Specifies whether this FormArray instance should emit events after all\n     *     controls are removed.\n     * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and\n     * `valueChanges` observables emit events with the latest status and value when all controls\n     * in this FormArray instance are removed. When false, no events are emitted.\n     *\n     * @usageNotes\n     * ### Remove all elements from a FormArray\n     *\n     * ```ts\n     * const arr = new FormArray([\n     *    new FormControl(),\n     *    new FormControl()\n     * ]);\n     * console.log(arr.length);  // 2\n     *\n     * arr.clear();\n     * console.log(arr.length);  // 0\n     * ```\n     *\n     * It's a simpler and more efficient alternative to removing all elements one by one:\n     *\n     * ```ts\n     * const arr = new FormArray([\n     *    new FormControl(),\n     *    new FormControl()\n     * ]);\n     *\n     * while (arr.length) {\n     *    arr.removeAt(0);\n     * }\n     * ```\n     */\n    clear(options = {}) {\n        if (this.controls.length < 1)\n            return;\n        this._forEachChild((control) => control._registerOnCollectionChange(() => { }));\n        this.controls.splice(0);\n        this.updateValueAndValidity({ emitEvent: options.emitEvent });\n    }\n    /**\n     * Adjusts a negative index by summing it with the length of the array. For very negative\n     * indices, the result may remain negative.\n     * @internal\n     */\n    _adjustIndex(index) {\n        return index < 0 ? index + this.length : index;\n    }\n    /** @internal */\n    _syncPendingControls() {\n        let subtreeUpdated = this.controls.reduce((updated, child) => {\n            return child._syncPendingControls() ? true : updated;\n        }, false);\n        if (subtreeUpdated)\n            this.updateValueAndValidity({ onlySelf: true });\n        return subtreeUpdated;\n    }\n    /** @internal */\n    _forEachChild(cb) {\n        this.controls.forEach((control, index) => {\n            cb(control, index);\n        });\n    }\n    /** @internal */\n    _updateValue() {\n        this.value =\n            this.controls.filter((control) => control.enabled || this.disabled)\n                .map((control) => control.value);\n    }\n    /** @internal */\n    _anyControls(condition) {\n        return this.controls.some((control) => control.enabled && condition(control));\n    }\n    /** @internal */\n    _setUpControls() {\n        this._forEachChild((control) => this._registerControl(control));\n    }\n    /** @internal */\n    _allControlsDisabled() {\n        for (const control of this.controls) {\n            if (control.enabled)\n                return false;\n        }\n        return this.controls.length > 0 || this.disabled;\n    }\n    _registerControl(control) {\n        control.setParent(this);\n        control._registerOnCollectionChange(this._onCollectionChange);\n    }\n    /** @internal */\n    _find(name) {\n        return this.at(name) ?? null;\n    }\n}\nconst UntypedFormArray = FormArray;\n/**\n * @description\n * Asserts that the given control is an instance of `FormArray`\n *\n * @publicApi\n */\nconst isFormArray = (control) => control instanceof FormArray;\n\nfunction isAbstractControlOptions(options) {\n    return !!options &&\n        (options.asyncValidators !== undefined ||\n            options.validators !== undefined ||\n            options.updateOn !== undefined);\n}\n// clang-format on\n/**\n * @description\n * Creates an `AbstractControl` from a user-specified configuration.\n *\n * The `FormBuilder` provides syntactic sugar that shortens creating instances of a\n * `FormControl`, `FormGroup`, or `FormArray`. It reduces the amount of boilerplate needed to\n * build complex forms.\n *\n * @see [Reactive Forms Guide](guide/reactive-forms)\n *\n * @publicApi\n */\nclass FormBuilder {\n    constructor() {\n        this.useNonNullable = false;\n    }\n    /**\n     * @description\n     * Returns a FormBuilder in which automatically constructed `FormControl` elements\n     * have `{nonNullable: true}` and are non-nullable.\n     *\n     * **Constructing non-nullable controls**\n     *\n     * When constructing a control, it will be non-nullable, and will reset to its initial value.\n     *\n     * ```ts\n     * let nnfb = new FormBuilder().nonNullable;\n     * let name = nnfb.control('Alex'); // FormControl<string>\n     * name.reset();\n     * console.log(name); // 'Alex'\n     * ```\n     *\n     * **Constructing non-nullable groups or arrays**\n     *\n     * When constructing a group or array, all automatically created inner controls will be\n     * non-nullable, and will reset to their initial values.\n     *\n     * ```ts\n     * let nnfb = new FormBuilder().nonNullable;\n     * let name = nnfb.group({who: 'Alex'}); // FormGroup<{who: FormControl<string>}>\n     * name.reset();\n     * console.log(name); // {who: 'Alex'}\n     * ```\n     * **Constructing *nullable* fields on groups or arrays**\n     *\n     * It is still possible to have a nullable field. In particular, any `FormControl` which is\n     * *already* constructed will not be altered. For example:\n     *\n     * ```ts\n     * let nnfb = new FormBuilder().nonNullable;\n     * // FormGroup<{who: FormControl<string|null>}>\n     * let name = nnfb.group({who: new FormControl('Alex')});\n     * name.reset(); console.log(name); // {who: null}\n     * ```\n     *\n     * Because the inner control is constructed explicitly by the caller, the builder has\n     * no control over how it is created, and cannot exclude the `null`.\n     */\n    get nonNullable() {\n        const nnfb = new FormBuilder();\n        nnfb.useNonNullable = true;\n        return nnfb;\n    }\n    group(controls, options = null) {\n        const reducedControls = this._reduceControls(controls);\n        let newOptions = {};\n        if (isAbstractControlOptions(options)) {\n            // `options` are `AbstractControlOptions`\n            newOptions = options;\n        }\n        else if (options !== null) {\n            // `options` are legacy form group options\n            newOptions.validators = options.validator;\n            newOptions.asyncValidators = options.asyncValidator;\n        }\n        return new FormGroup(reducedControls, newOptions);\n    }\n    /**\n     * @description\n     * Constructs a new `FormRecord` instance. Accepts a single generic argument, which is an object\n     * containing all the keys and corresponding inner control types.\n     *\n     * @param controls A collection of child controls. The key for each child is the name\n     * under which it is registered.\n     *\n     * @param options Configuration options object for the `FormRecord`. The object should have the\n     * `AbstractControlOptions` type and might contain the following fields:\n     * * `validators`: A synchronous validator function, or an array of validator functions.\n     * * `asyncValidators`: A single async validator or array of async validator functions.\n     * * `updateOn`: The event upon which the control should be updated (options: 'change' | 'blur'\n     * | submit').\n     */\n    record(controls, options = null) {\n        const reducedControls = this._reduceControls(controls);\n        // Cast to `any` because the inferred types are not as specific as Element.\n        return new FormRecord(reducedControls, options);\n    }\n    /**\n     * @description\n     * Constructs a new `FormControl` with the given state, validators and options. Sets\n     * `{nonNullable: true}` in the options to get a non-nullable control. Otherwise, the\n     * control will be nullable. Accepts a single generic argument, which is the type  of the\n     * control's value.\n     *\n     * @param formState Initializes the control with an initial state value, or\n     * with an object that contains both a value and a disabled status.\n     *\n     * @param validatorOrOpts A synchronous validator function, or an array of\n     * such functions, or a `FormControlOptions` object that contains\n     * validation functions and a validation trigger.\n     *\n     * @param asyncValidator A single async validator or array of async validator\n     * functions.\n     *\n     * @usageNotes\n     *\n     * ### Initialize a control as disabled\n     *\n     * The following example returns a control with an initial value in a disabled state.\n     *\n     * <code-example path=\"forms/ts/formBuilder/form_builder_example.ts\" region=\"disabled-control\">\n     * </code-example>\n     */\n    control(formState, validatorOrOpts, asyncValidator) {\n        let newOptions = {};\n        if (!this.useNonNullable) {\n            return new FormControl(formState, validatorOrOpts, asyncValidator);\n        }\n        if (isAbstractControlOptions(validatorOrOpts)) {\n            // If the second argument is options, then they are copied.\n            newOptions = validatorOrOpts;\n        }\n        else {\n            // If the other arguments are validators, they are copied into an options object.\n            newOptions.validators = validatorOrOpts;\n            newOptions.asyncValidators = asyncValidator;\n        }\n        return new FormControl(formState, { ...newOptions, nonNullable: true });\n    }\n    /**\n     * Constructs a new `FormArray` from the given array of configurations,\n     * validators and options. Accepts a single generic argument, which is the type of each control\n     * inside the array.\n     *\n     * @param controls An array of child controls or control configs. Each child control is given an\n     *     index when it is registered.\n     *\n     * @param validatorOrOpts A synchronous validator function, or an array of such functions, or an\n     *     `AbstractControlOptions` object that contains\n     * validation functions and a validation trigger.\n     *\n     * @param asyncValidator A single async validator or array of async validator functions.\n     */\n    array(controls, validatorOrOpts, asyncValidator) {\n        const createdControls = controls.map(c => this._createControl(c));\n        // Cast to `any` because the inferred types are not as specific as Element.\n        return new FormArray(createdControls, validatorOrOpts, asyncValidator);\n    }\n    /** @internal */\n    _reduceControls(controls) {\n        const createdControls = {};\n        Object.keys(controls).forEach(controlName => {\n            createdControls[controlName] = this._createControl(controls[controlName]);\n        });\n        return createdControls;\n    }\n    /** @internal */\n    _createControl(controls) {\n        if (controls instanceof FormControl) {\n            return controls;\n        }\n        else if (controls instanceof AbstractControl) { // A control; just return it\n            return controls;\n        }\n        else if (Array.isArray(controls)) { // ControlConfig Tuple\n            const value = controls[0];\n            const validator = controls.length > 1 ? controls[1] : null;\n            const asyncValidator = controls.length > 2 ? controls[2] : null;\n            return this.control(value, validator, asyncValidator);\n        }\n        else { // T or FormControlState<T>\n            return this.control(controls);\n        }\n    }\n}\nFormBuilder.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: FormBuilder, deps: [], target: i0.ɵɵFactoryTarget.Injectable });\nFormBuilder.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: FormBuilder, providedIn: 'root' });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: FormBuilder, decorators: [{\n            type: Injectable,\n            args: [{ providedIn: 'root' }]\n        }] });\n/**\n * @description\n * `NonNullableFormBuilder` is similar to {@link FormBuilder}, but automatically constructed\n * {@link FormControl} elements have `{nonNullable: true}` and are non-nullable.\n *\n * @publicApi\n */\nclass NonNullableFormBuilder {\n}\nNonNullableFormBuilder.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: NonNullableFormBuilder, deps: [], target: i0.ɵɵFactoryTarget.Injectable });\nNonNullableFormBuilder.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: NonNullableFormBuilder, providedIn: 'root', useFactory: () => inject(FormBuilder).nonNullable });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: NonNullableFormBuilder, decorators: [{\n            type: Injectable,\n            args: [{\n                    providedIn: 'root',\n                    useFactory: () => inject(FormBuilder).nonNullable,\n                }]\n        }] });\n/**\n * UntypedFormBuilder is the same as `FormBuilder`, but it provides untyped controls.\n */\nclass UntypedFormBuilder extends FormBuilder {\n    group(controlsConfig, options = null) {\n        return super.group(controlsConfig, options);\n    }\n    /**\n     * Like `FormBuilder#control`, except the resulting control is untyped.\n     */\n    control(formState, validatorOrOpts, asyncValidator) {\n        return super.control(formState, validatorOrOpts, asyncValidator);\n    }\n    /**\n     * Like `FormBuilder#array`, except the resulting array is untyped.\n     */\n    array(controlsConfig, validatorOrOpts, asyncValidator) {\n        return super.array(controlsConfig, validatorOrOpts, asyncValidator);\n    }\n}\nUntypedFormBuilder.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: UntypedFormBuilder, deps: null, target: i0.ɵɵFactoryTarget.Injectable });\nUntypedFormBuilder.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: UntypedFormBuilder, providedIn: 'root' });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: UntypedFormBuilder, decorators: [{\n            type: Injectable,\n            args: [{ providedIn: 'root' }]\n        }] });\n\n/**\n * @module\n * @description\n * Entry point for all public APIs of the forms package.\n */\n/**\n * @publicApi\n */\nconst VERSION = new Version('15.2.10');\n\n/**\n * Exports the required providers and directives for template-driven forms,\n * making them available for import by NgModules that import this module.\n *\n * Providers associated with this module:\n * * `RadioControlRegistry`\n *\n * @see [Forms Overview](/guide/forms-overview)\n * @see [Template-driven Forms Guide](/guide/forms)\n *\n * @publicApi\n */\nclass FormsModule {\n    /**\n     * @description\n     * Provides options for configuring the forms module.\n     *\n     * @param opts An object of configuration options\n     * * `callSetDisabledState` Configures whether to `always` call `setDisabledState`, which is more\n     * correct, or to only call it `whenDisabled`, which is the legacy behavior.\n     */\n    static withConfig(opts) {\n        return {\n            ngModule: FormsModule,\n            providers: [{\n                    provide: CALL_SET_DISABLED_STATE,\n                    useValue: opts.callSetDisabledState ?? setDisabledStateDefault\n                }]\n        };\n    }\n}\nFormsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: FormsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\nFormsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"15.2.10\", ngImport: i0, type: FormsModule, declarations: [NgModel, NgModelGroup, NgForm], exports: [ɵInternalFormsSharedModule, NgModel, NgModelGroup, NgForm] });\nFormsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: FormsModule, imports: [ɵInternalFormsSharedModule] });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: FormsModule, decorators: [{\n            type: NgModule,\n            args: [{\n                    declarations: TEMPLATE_DRIVEN_DIRECTIVES,\n                    exports: [ɵInternalFormsSharedModule, TEMPLATE_DRIVEN_DIRECTIVES]\n                }]\n        }] });\n/**\n * Exports the required infrastructure and directives for reactive forms,\n * making them available for import by NgModules that import this module.\n *\n * Providers associated with this module:\n * * `FormBuilder`\n * * `RadioControlRegistry`\n *\n * @see [Forms Overview](guide/forms-overview)\n * @see [Reactive Forms Guide](guide/reactive-forms)\n *\n * @publicApi\n */\nclass ReactiveFormsModule {\n    /**\n     * @description\n     * Provides options for configuring the reactive forms module.\n     *\n     * @param opts An object of configuration options\n     * * `warnOnNgModelWithFormControl` Configures when to emit a warning when an `ngModel`\n     * binding is used with reactive form directives.\n     * * `callSetDisabledState` Configures whether to `always` call `setDisabledState`, which is more\n     * correct, or to only call it `whenDisabled`, which is the legacy behavior.\n     */\n    static withConfig(opts) {\n        return {\n            ngModule: ReactiveFormsModule,\n            providers: [\n                {\n                    provide: NG_MODEL_WITH_FORM_CONTROL_WARNING,\n                    useValue: opts.warnOnNgModelWithFormControl ?? 'always'\n                },\n                {\n                    provide: CALL_SET_DISABLED_STATE,\n                    useValue: opts.callSetDisabledState ?? setDisabledStateDefault\n                }\n            ]\n        };\n    }\n}\nReactiveFormsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: ReactiveFormsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\nReactiveFormsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"15.2.10\", ngImport: i0, type: ReactiveFormsModule, declarations: [FormControlDirective, FormGroupDirective, FormControlName, FormGroupName, FormArrayName], exports: [ɵInternalFormsSharedModule, FormControlDirective, FormGroupDirective, FormControlName, FormGroupName, FormArrayName] });\nReactiveFormsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: ReactiveFormsModule, imports: [ɵInternalFormsSharedModule] });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: ReactiveFormsModule, decorators: [{\n            type: NgModule,\n            args: [{\n                    declarations: [REACTIVE_DRIVEN_DIRECTIVES],\n                    exports: [ɵInternalFormsSharedModule, REACTIVE_DRIVEN_DIRECTIVES]\n                }]\n        }] });\n\n/**\n * @module\n * @description\n * This module is used for handling user input, by defining and building a `FormGroup` that\n * consists of `FormControl` objects, and mapping them onto the DOM. `FormControl`\n * objects can then be used to read information from the form DOM elements.\n *\n * Forms providers are not included in default providers; you must import these providers\n * explicitly.\n */\n\n/**\n * @module\n * @description\n * Entry point for all public APIs of this package.\n */\n// This file only reexports content of the `src` folder. Keep it that way.\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 { AbstractControl, AbstractControlDirective, AbstractFormGroupDirective, COMPOSITION_BUFFER_MODE, CheckboxControlValueAccessor, CheckboxRequiredValidator, ControlContainer, DefaultValueAccessor, EmailValidator, FormArray, FormArrayName, FormBuilder, FormControl, FormControlDirective, FormControlName, FormGroup, FormGroupDirective, FormGroupName, FormRecord, FormsModule, MaxLengthValidator, MaxValidator, MinLengthValidator, MinValidator, NG_ASYNC_VALIDATORS, NG_VALIDATORS, NG_VALUE_ACCESSOR, NgControl, NgControlStatus, NgControlStatusGroup, NgForm, NgModel, NgModelGroup, NgSelectOption, NonNullableFormBuilder, NumberValueAccessor, PatternValidator, RadioControlValueAccessor, RangeValueAccessor, ReactiveFormsModule, RequiredValidator, SelectControlValueAccessor, SelectMultipleControlValueAccessor, UntypedFormArray, UntypedFormBuilder, UntypedFormControl, UntypedFormGroup, VERSION, Validators, isFormArray, isFormControl, isFormGroup, isFormRecord, ɵInternalFormsSharedModule, ɵNgNoValidate, ɵNgSelectMultipleOption };\n","/**\n * @license Angular v15.2.10\n * (c) 2010-2022 Google LLC. https://angular.io/\n * License: MIT\n */\n\nimport { ɵDomAdapter, ɵsetRootDomAdapter, ɵparseCookieValue, ɵgetDOM, DOCUMENT, ɵPLATFORM_BROWSER_ID, XhrFactory, CommonModule } from '@angular/common';\nexport { ɵgetDOM } from '@angular/common';\nimport * as i0 from '@angular/core';\nimport { InjectionToken, ApplicationInitStatus, APP_INITIALIZER, Injector, ɵglobal, Injectable, Inject, ViewEncapsulation, APP_ID, RendererStyleFlags2, ɵinternalCreateApplication, ErrorHandler, ɵsetDocument, PLATFORM_ID, PLATFORM_INITIALIZER, createPlatformFactory, platformCore, ɵTESTABILITY_GETTER, ɵTESTABILITY, Testability, NgZone, TestabilityRegistry, ɵINJECTOR_SCOPE, RendererFactory2, ApplicationModule, NgModule, Optional, SkipSelf, ɵɵinject, ApplicationRef, inject, ɵConsole, forwardRef, ɵXSS_SECURITY_URL, SecurityContext, ɵallowSanitizationBypassAndThrow, ɵunwrapSafeValue, ɵ_sanitizeUrl, ɵ_sanitizeHtml, ɵbypassSanitizationTrustHtml, ɵbypassSanitizationTrustStyle, ɵbypassSanitizationTrustScript, ɵbypassSanitizationTrustUrl, ɵbypassSanitizationTrustResourceUrl, Version } from '@angular/core';\n\n/**\n * Provides DOM operations in any browser environment.\n *\n * @security Tread carefully! Interacting with the DOM directly is dangerous and\n * can introduce XSS risks.\n */\nclass GenericBrowserDomAdapter extends ɵDomAdapter {\n    constructor() {\n        super(...arguments);\n        this.supportsDOMEvents = true;\n    }\n}\n\n/**\n * A `DomAdapter` powered by full browser DOM APIs.\n *\n * @security Tread carefully! Interacting with the DOM directly is dangerous and\n * can introduce XSS risks.\n */\n/* tslint:disable:requireParameterType no-console */\nclass BrowserDomAdapter extends GenericBrowserDomAdapter {\n    static makeCurrent() {\n        ɵsetRootDomAdapter(new BrowserDomAdapter());\n    }\n    onAndCancel(el, evt, listener) {\n        el.addEventListener(evt, listener, false);\n        // Needed to follow Dart's subscription semantic, until fix of\n        // https://code.google.com/p/dart/issues/detail?id=17406\n        return () => {\n            el.removeEventListener(evt, listener, false);\n        };\n    }\n    dispatchEvent(el, evt) {\n        el.dispatchEvent(evt);\n    }\n    remove(node) {\n        if (node.parentNode) {\n            node.parentNode.removeChild(node);\n        }\n    }\n    createElement(tagName, doc) {\n        doc = doc || this.getDefaultDocument();\n        return doc.createElement(tagName);\n    }\n    createHtmlDocument() {\n        return document.implementation.createHTMLDocument('fakeTitle');\n    }\n    getDefaultDocument() {\n        return document;\n    }\n    isElementNode(node) {\n        return node.nodeType === Node.ELEMENT_NODE;\n    }\n    isShadowRoot(node) {\n        return node instanceof DocumentFragment;\n    }\n    /** @deprecated No longer being used in Ivy code. To be removed in version 14. */\n    getGlobalEventTarget(doc, target) {\n        if (target === 'window') {\n            return window;\n        }\n        if (target === 'document') {\n            return doc;\n        }\n        if (target === 'body') {\n            return doc.body;\n        }\n        return null;\n    }\n    getBaseHref(doc) {\n        const href = getBaseElementHref();\n        return href == null ? null : relativePath(href);\n    }\n    resetBaseElement() {\n        baseElement = null;\n    }\n    getUserAgent() {\n        return window.navigator.userAgent;\n    }\n    getCookie(name) {\n        return ɵparseCookieValue(document.cookie, name);\n    }\n}\nlet baseElement = null;\nfunction getBaseElementHref() {\n    baseElement = baseElement || document.querySelector('base');\n    return baseElement ? baseElement.getAttribute('href') : null;\n}\n// based on urlUtils.js in AngularJS 1\nlet urlParsingNode;\nfunction relativePath(url) {\n    urlParsingNode = urlParsingNode || document.createElement('a');\n    urlParsingNode.setAttribute('href', url);\n    const pathName = urlParsingNode.pathname;\n    return pathName.charAt(0) === '/' ? pathName : `/${pathName}`;\n}\n\n/**\n * An id that identifies a particular application being bootstrapped, that should\n * match across the client/server boundary.\n */\nconst TRANSITION_ID = new InjectionToken('TRANSITION_ID');\nfunction appInitializerFactory(transitionId, document, injector) {\n    return () => {\n        // Wait for all application initializers to be completed before removing the styles set by\n        // the server.\n        injector.get(ApplicationInitStatus).donePromise.then(() => {\n            const dom = ɵgetDOM();\n            const styles = document.querySelectorAll(`style[ng-transition=\"${transitionId}\"]`);\n            for (let i = 0; i < styles.length; i++) {\n                dom.remove(styles[i]);\n            }\n        });\n    };\n}\nconst SERVER_TRANSITION_PROVIDERS = [\n    {\n        provide: APP_INITIALIZER,\n        useFactory: appInitializerFactory,\n        deps: [TRANSITION_ID, DOCUMENT, Injector],\n        multi: true\n    },\n];\n\nclass BrowserGetTestability {\n    addToWindow(registry) {\n        ɵglobal['getAngularTestability'] = (elem, findInAncestors = true) => {\n            const testability = registry.findTestabilityInTree(elem, findInAncestors);\n            if (testability == null) {\n                throw new Error('Could not find testability for element.');\n            }\n            return testability;\n        };\n        ɵglobal['getAllAngularTestabilities'] = () => registry.getAllTestabilities();\n        ɵglobal['getAllAngularRootElements'] = () => registry.getAllRootElements();\n        const whenAllStable = (callback /** TODO #9100 */) => {\n            const testabilities = ɵglobal['getAllAngularTestabilities']();\n            let count = testabilities.length;\n            let didWork = false;\n            const decrement = function (didWork_ /** TODO #9100 */) {\n                didWork = didWork || didWork_;\n                count--;\n                if (count == 0) {\n                    callback(didWork);\n                }\n            };\n            testabilities.forEach(function (testability /** TODO #9100 */) {\n                testability.whenStable(decrement);\n            });\n        };\n        if (!ɵglobal['frameworkStabilizers']) {\n            ɵglobal['frameworkStabilizers'] = [];\n        }\n        ɵglobal['frameworkStabilizers'].push(whenAllStable);\n    }\n    findTestabilityInTree(registry, elem, findInAncestors) {\n        if (elem == null) {\n            return null;\n        }\n        const t = registry.getTestability(elem);\n        if (t != null) {\n            return t;\n        }\n        else if (!findInAncestors) {\n            return null;\n        }\n        if (ɵgetDOM().isShadowRoot(elem)) {\n            return this.findTestabilityInTree(registry, elem.host, true);\n        }\n        return this.findTestabilityInTree(registry, elem.parentElement, true);\n    }\n}\n\n/**\n * A factory for `HttpXhrBackend` that uses the `XMLHttpRequest` browser API.\n */\nclass BrowserXhr {\n    build() {\n        return new XMLHttpRequest();\n    }\n}\nBrowserXhr.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: BrowserXhr, deps: [], target: i0.ɵɵFactoryTarget.Injectable });\nBrowserXhr.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: BrowserXhr });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: BrowserXhr, decorators: [{\n            type: Injectable\n        }] });\n\n/**\n * The injection token for the event-manager plug-in service.\n *\n * @publicApi\n */\nconst EVENT_MANAGER_PLUGINS = new InjectionToken('EventManagerPlugins');\n/**\n * An injectable service that provides event management for Angular\n * through a browser plug-in.\n *\n * @publicApi\n */\nclass EventManager {\n    /**\n     * Initializes an instance of the event-manager service.\n     */\n    constructor(plugins, _zone) {\n        this._zone = _zone;\n        this._eventNameToPlugin = new Map();\n        plugins.forEach((plugin) => {\n            plugin.manager = this;\n        });\n        this._plugins = plugins.slice().reverse();\n    }\n    /**\n     * Registers a handler for a specific element and event.\n     *\n     * @param element The HTML element to receive event notifications.\n     * @param eventName The name of the event to listen for.\n     * @param handler A function to call when the notification occurs. Receives the\n     * event object as an argument.\n     * @returns  A callback function that can be used to remove the handler.\n     */\n    addEventListener(element, eventName, handler) {\n        const plugin = this._findPluginFor(eventName);\n        return plugin.addEventListener(element, eventName, handler);\n    }\n    /**\n     * Registers a global handler for an event in a target view.\n     *\n     * @param target A target for global event notifications. One of \"window\", \"document\", or \"body\".\n     * @param eventName The name of the event to listen for.\n     * @param handler A function to call when the notification occurs. Receives the\n     * event object as an argument.\n     * @returns A callback function that can be used to remove the handler.\n     * @deprecated No longer being used in Ivy code. To be removed in version 14.\n     */\n    addGlobalEventListener(target, eventName, handler) {\n        const plugin = this._findPluginFor(eventName);\n        return plugin.addGlobalEventListener(target, eventName, handler);\n    }\n    /**\n     * Retrieves the compilation zone in which event listeners are registered.\n     */\n    getZone() {\n        return this._zone;\n    }\n    /** @internal */\n    _findPluginFor(eventName) {\n        const plugin = this._eventNameToPlugin.get(eventName);\n        if (plugin) {\n            return plugin;\n        }\n        const plugins = this._plugins;\n        for (let i = 0; i < plugins.length; i++) {\n            const plugin = plugins[i];\n            if (plugin.supports(eventName)) {\n                this._eventNameToPlugin.set(eventName, plugin);\n                return plugin;\n            }\n        }\n        throw new Error(`No event manager plugin found for event ${eventName}`);\n    }\n}\nEventManager.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: EventManager, deps: [{ token: EVENT_MANAGER_PLUGINS }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });\nEventManager.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: EventManager });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: EventManager, decorators: [{\n            type: Injectable\n        }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n                    type: Inject,\n                    args: [EVENT_MANAGER_PLUGINS]\n                }] }, { type: i0.NgZone }]; } });\nclass EventManagerPlugin {\n    constructor(_doc) {\n        this._doc = _doc;\n    }\n    addGlobalEventListener(element, eventName, handler) {\n        const target = ɵgetDOM().getGlobalEventTarget(this._doc, element);\n        if (!target) {\n            throw new Error(`Unsupported event target ${target} for event ${eventName}`);\n        }\n        return this.addEventListener(target, eventName, handler);\n    }\n}\n\nclass SharedStylesHost {\n    constructor() {\n        this.usageCount = new Map();\n    }\n    addStyles(styles) {\n        for (const style of styles) {\n            const usageCount = this.changeUsageCount(style, 1);\n            if (usageCount === 1) {\n                this.onStyleAdded(style);\n            }\n        }\n    }\n    removeStyles(styles) {\n        for (const style of styles) {\n            const usageCount = this.changeUsageCount(style, -1);\n            if (usageCount === 0) {\n                this.onStyleRemoved(style);\n            }\n        }\n    }\n    onStyleRemoved(style) { }\n    onStyleAdded(style) { }\n    getAllStyles() {\n        return this.usageCount.keys();\n    }\n    changeUsageCount(style, delta) {\n        const map = this.usageCount;\n        let usage = map.get(style) ?? 0;\n        usage += delta;\n        if (usage > 0) {\n            map.set(style, usage);\n        }\n        else {\n            map.delete(style);\n        }\n        return usage;\n    }\n    ngOnDestroy() {\n        for (const style of this.getAllStyles()) {\n            this.onStyleRemoved(style);\n        }\n        this.usageCount.clear();\n    }\n}\nSharedStylesHost.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: SharedStylesHost, deps: [], target: i0.ɵɵFactoryTarget.Injectable });\nSharedStylesHost.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: SharedStylesHost });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: SharedStylesHost, decorators: [{\n            type: Injectable\n        }] });\nclass DomSharedStylesHost extends SharedStylesHost {\n    constructor(doc) {\n        super();\n        this.doc = doc;\n        // Maps all registered host nodes to a list of style nodes that have been added to the host node.\n        this.styleRef = new Map();\n        this.hostNodes = new Set();\n        this.resetHostNodes();\n    }\n    onStyleAdded(style) {\n        for (const host of this.hostNodes) {\n            this.addStyleToHost(host, style);\n        }\n    }\n    onStyleRemoved(style) {\n        const styleRef = this.styleRef;\n        const styleElements = styleRef.get(style);\n        styleElements?.forEach(e => e.remove());\n        styleRef.delete(style);\n    }\n    ngOnDestroy() {\n        super.ngOnDestroy();\n        this.styleRef.clear();\n        this.resetHostNodes();\n    }\n    addHost(hostNode) {\n        this.hostNodes.add(hostNode);\n        for (const style of this.getAllStyles()) {\n            this.addStyleToHost(hostNode, style);\n        }\n    }\n    removeHost(hostNode) {\n        this.hostNodes.delete(hostNode);\n    }\n    addStyleToHost(host, style) {\n        const styleEl = this.doc.createElement('style');\n        styleEl.textContent = style;\n        host.appendChild(styleEl);\n        const styleElRef = this.styleRef.get(style);\n        if (styleElRef) {\n            styleElRef.push(styleEl);\n        }\n        else {\n            this.styleRef.set(style, [styleEl]);\n        }\n    }\n    resetHostNodes() {\n        const hostNodes = this.hostNodes;\n        hostNodes.clear();\n        // Re-add the head element back since this is the default host.\n        hostNodes.add(this.doc.head);\n    }\n}\nDomSharedStylesHost.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: DomSharedStylesHost, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });\nDomSharedStylesHost.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: DomSharedStylesHost });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: DomSharedStylesHost, decorators: [{\n            type: Injectable\n        }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n                    type: Inject,\n                    args: [DOCUMENT]\n                }] }]; } });\n\nconst NAMESPACE_URIS = {\n    'svg': 'http://www.w3.org/2000/svg',\n    'xhtml': 'http://www.w3.org/1999/xhtml',\n    'xlink': 'http://www.w3.org/1999/xlink',\n    'xml': 'http://www.w3.org/XML/1998/namespace',\n    'xmlns': 'http://www.w3.org/2000/xmlns/',\n    'math': 'http://www.w3.org/1998/MathML/',\n};\nconst COMPONENT_REGEX = /%COMP%/g;\nconst NG_DEV_MODE$1 = typeof ngDevMode === 'undefined' || !!ngDevMode;\nconst COMPONENT_VARIABLE = '%COMP%';\nconst HOST_ATTR = `_nghost-${COMPONENT_VARIABLE}`;\nconst CONTENT_ATTR = `_ngcontent-${COMPONENT_VARIABLE}`;\n/**\n * The default value for the `REMOVE_STYLES_ON_COMPONENT_DESTROY` DI token.\n */\nconst REMOVE_STYLES_ON_COMPONENT_DESTROY_DEFAULT = false;\n/**\n * A [DI token](guide/glossary#di-token \"DI token definition\") that indicates whether styles\n * of destroyed components should be removed from DOM.\n *\n * By default, the value is set to `false`. This will be changed in the next major version.\n * @publicApi\n */\nconst REMOVE_STYLES_ON_COMPONENT_DESTROY = new InjectionToken('RemoveStylesOnCompDestory', {\n    providedIn: 'root',\n    factory: () => REMOVE_STYLES_ON_COMPONENT_DESTROY_DEFAULT,\n});\nfunction shimContentAttribute(componentShortId) {\n    return CONTENT_ATTR.replace(COMPONENT_REGEX, componentShortId);\n}\nfunction shimHostAttribute(componentShortId) {\n    return HOST_ATTR.replace(COMPONENT_REGEX, componentShortId);\n}\nfunction flattenStyles(compId, styles) {\n    // Cannot use `Infinity` as depth as `infinity` is not a number literal in TypeScript.\n    // See: https://github.com/microsoft/TypeScript/issues/32277\n    return styles.flat(100).map(s => s.replace(COMPONENT_REGEX, compId));\n}\nfunction decoratePreventDefault(eventHandler) {\n    // `DebugNode.triggerEventHandler` needs to know if the listener was created with\n    // decoratePreventDefault or is a listener added outside the Angular context so it can handle the\n    // two differently. In the first case, the special '__ngUnwrap__' token is passed to the unwrap\n    // the listener (see below).\n    return (event) => {\n        // Ivy uses '__ngUnwrap__' as a special token that allows us to unwrap the function\n        // so that it can be invoked programmatically by `DebugNode.triggerEventHandler`. The debug_node\n        // can inspect the listener toString contents for the existence of this special token. Because\n        // the token is a string literal, it is ensured to not be modified by compiled code.\n        if (event === '__ngUnwrap__') {\n            return eventHandler;\n        }\n        const allowDefaultBehavior = eventHandler(event);\n        if (allowDefaultBehavior === false) {\n            // TODO(tbosch): move preventDefault into event plugins...\n            event.preventDefault();\n            event.returnValue = false;\n        }\n        return undefined;\n    };\n}\nclass DomRendererFactory2 {\n    constructor(eventManager, sharedStylesHost, appId, removeStylesOnCompDestory) {\n        this.eventManager = eventManager;\n        this.sharedStylesHost = sharedStylesHost;\n        this.appId = appId;\n        this.removeStylesOnCompDestory = removeStylesOnCompDestory;\n        this.rendererByCompId = new Map();\n        this.defaultRenderer = new DefaultDomRenderer2(eventManager);\n    }\n    createRenderer(element, type) {\n        if (!element || !type) {\n            return this.defaultRenderer;\n        }\n        const renderer = this.getOrCreateRenderer(element, type);\n        // Renderers have different logic due to different encapsulation behaviours.\n        // Ex: for emulated, an attribute is added to the element.\n        if (renderer instanceof EmulatedEncapsulationDomRenderer2) {\n            renderer.applyToHost(element);\n        }\n        else if (renderer instanceof NoneEncapsulationDomRenderer) {\n            renderer.applyStyles();\n        }\n        return renderer;\n    }\n    getOrCreateRenderer(element, type) {\n        const rendererByCompId = this.rendererByCompId;\n        let renderer = rendererByCompId.get(type.id);\n        if (!renderer) {\n            const eventManager = this.eventManager;\n            const sharedStylesHost = this.sharedStylesHost;\n            const removeStylesOnCompDestory = this.removeStylesOnCompDestory;\n            switch (type.encapsulation) {\n                case ViewEncapsulation.Emulated:\n                    renderer = new EmulatedEncapsulationDomRenderer2(eventManager, sharedStylesHost, type, this.appId, removeStylesOnCompDestory);\n                    break;\n                case ViewEncapsulation.ShadowDom:\n                    return new ShadowDomRenderer(eventManager, sharedStylesHost, element, type);\n                default:\n                    renderer = new NoneEncapsulationDomRenderer(eventManager, sharedStylesHost, type, removeStylesOnCompDestory);\n                    break;\n            }\n            renderer.onDestroy = () => rendererByCompId.delete(type.id);\n            rendererByCompId.set(type.id, renderer);\n        }\n        return renderer;\n    }\n    ngOnDestroy() {\n        this.rendererByCompId.clear();\n    }\n    begin() { }\n    end() { }\n}\nDomRendererFactory2.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: DomRendererFactory2, deps: [{ token: EventManager }, { token: DomSharedStylesHost }, { token: APP_ID }, { token: REMOVE_STYLES_ON_COMPONENT_DESTROY }], target: i0.ɵɵFactoryTarget.Injectable });\nDomRendererFactory2.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: DomRendererFactory2 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: DomRendererFactory2, decorators: [{\n            type: Injectable\n        }], ctorParameters: function () { return [{ type: EventManager }, { type: DomSharedStylesHost }, { type: undefined, decorators: [{\n                    type: Inject,\n                    args: [APP_ID]\n                }] }, { type: undefined, decorators: [{\n                    type: Inject,\n                    args: [REMOVE_STYLES_ON_COMPONENT_DESTROY]\n                }] }]; } });\nclass DefaultDomRenderer2 {\n    constructor(eventManager) {\n        this.eventManager = eventManager;\n        this.data = Object.create(null);\n        this.destroyNode = null;\n    }\n    destroy() { }\n    createElement(name, namespace) {\n        if (namespace) {\n            // TODO: `|| namespace` was added in\n            // https://github.com/angular/angular/commit/2b9cc8503d48173492c29f5a271b61126104fbdb to\n            // support how Ivy passed around the namespace URI rather than short name at the time. It did\n            // not, however extend the support to other parts of the system (setAttribute, setAttribute,\n            // and the ServerRenderer). We should decide what exactly the semantics for dealing with\n            // namespaces should be and make it consistent.\n            // Related issues:\n            // https://github.com/angular/angular/issues/44028\n            // https://github.com/angular/angular/issues/44883\n            return document.createElementNS(NAMESPACE_URIS[namespace] || namespace, name);\n        }\n        return document.createElement(name);\n    }\n    createComment(value) {\n        return document.createComment(value);\n    }\n    createText(value) {\n        return document.createTextNode(value);\n    }\n    appendChild(parent, newChild) {\n        const targetParent = isTemplateNode(parent) ? parent.content : parent;\n        targetParent.appendChild(newChild);\n    }\n    insertBefore(parent, newChild, refChild) {\n        if (parent) {\n            const targetParent = isTemplateNode(parent) ? parent.content : parent;\n            targetParent.insertBefore(newChild, refChild);\n        }\n    }\n    removeChild(parent, oldChild) {\n        if (parent) {\n            parent.removeChild(oldChild);\n        }\n    }\n    selectRootElement(selectorOrNode, preserveContent) {\n        let el = typeof selectorOrNode === 'string' ? document.querySelector(selectorOrNode) :\n            selectorOrNode;\n        if (!el) {\n            throw new Error(`The selector \"${selectorOrNode}\" did not match any elements`);\n        }\n        if (!preserveContent) {\n            el.textContent = '';\n        }\n        return el;\n    }\n    parentNode(node) {\n        return node.parentNode;\n    }\n    nextSibling(node) {\n        return node.nextSibling;\n    }\n    setAttribute(el, name, value, namespace) {\n        if (namespace) {\n            name = namespace + ':' + name;\n            const namespaceUri = NAMESPACE_URIS[namespace];\n            if (namespaceUri) {\n                el.setAttributeNS(namespaceUri, name, value);\n            }\n            else {\n                el.setAttribute(name, value);\n            }\n        }\n        else {\n            el.setAttribute(name, value);\n        }\n    }\n    removeAttribute(el, name, namespace) {\n        if (namespace) {\n            const namespaceUri = NAMESPACE_URIS[namespace];\n            if (namespaceUri) {\n                el.removeAttributeNS(namespaceUri, name);\n            }\n            else {\n                el.removeAttribute(`${namespace}:${name}`);\n            }\n        }\n        else {\n            el.removeAttribute(name);\n        }\n    }\n    addClass(el, name) {\n        el.classList.add(name);\n    }\n    removeClass(el, name) {\n        el.classList.remove(name);\n    }\n    setStyle(el, style, value, flags) {\n        if (flags & (RendererStyleFlags2.DashCase | RendererStyleFlags2.Important)) {\n            el.style.setProperty(style, value, flags & RendererStyleFlags2.Important ? 'important' : '');\n        }\n        else {\n            el.style[style] = value;\n        }\n    }\n    removeStyle(el, style, flags) {\n        if (flags & RendererStyleFlags2.DashCase) {\n            // removeProperty has no effect when used on camelCased properties.\n            el.style.removeProperty(style);\n        }\n        else {\n            el.style[style] = '';\n        }\n    }\n    setProperty(el, name, value) {\n        NG_DEV_MODE$1 && checkNoSyntheticProp(name, 'property');\n        el[name] = value;\n    }\n    setValue(node, value) {\n        node.nodeValue = value;\n    }\n    listen(target, event, callback) {\n        NG_DEV_MODE$1 && checkNoSyntheticProp(event, 'listener');\n        if (typeof target === 'string') {\n            return this.eventManager.addGlobalEventListener(target, event, decoratePreventDefault(callback));\n        }\n        return this.eventManager.addEventListener(target, event, decoratePreventDefault(callback));\n    }\n}\nconst AT_CHARCODE = (() => '@'.charCodeAt(0))();\nfunction checkNoSyntheticProp(name, nameKind) {\n    if (name.charCodeAt(0) === AT_CHARCODE) {\n        throw new Error(`Unexpected synthetic ${nameKind} ${name} found. Please make sure that:\n  - Either \\`BrowserAnimationsModule\\` or \\`NoopAnimationsModule\\` are imported in your application.\n  - There is corresponding configuration for the animation named \\`${name}\\` defined in the \\`animations\\` field of the \\`@Component\\` decorator (see https://angular.io/api/core/Component#animations).`);\n    }\n}\nfunction isTemplateNode(node) {\n    return node.tagName === 'TEMPLATE' && node.content !== undefined;\n}\nclass ShadowDomRenderer extends DefaultDomRenderer2 {\n    constructor(eventManager, sharedStylesHost, hostEl, component) {\n        super(eventManager);\n        this.sharedStylesHost = sharedStylesHost;\n        this.hostEl = hostEl;\n        this.shadowRoot = hostEl.attachShadow({ mode: 'open' });\n        this.sharedStylesHost.addHost(this.shadowRoot);\n        const styles = flattenStyles(component.id, component.styles);\n        for (const style of styles) {\n            const styleEl = document.createElement('style');\n            styleEl.textContent = style;\n            this.shadowRoot.appendChild(styleEl);\n        }\n    }\n    nodeOrShadowRoot(node) {\n        return node === this.hostEl ? this.shadowRoot : node;\n    }\n    appendChild(parent, newChild) {\n        return super.appendChild(this.nodeOrShadowRoot(parent), newChild);\n    }\n    insertBefore(parent, newChild, refChild) {\n        return super.insertBefore(this.nodeOrShadowRoot(parent), newChild, refChild);\n    }\n    removeChild(parent, oldChild) {\n        return super.removeChild(this.nodeOrShadowRoot(parent), oldChild);\n    }\n    parentNode(node) {\n        return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(node)));\n    }\n    destroy() {\n        this.sharedStylesHost.removeHost(this.shadowRoot);\n    }\n}\nclass NoneEncapsulationDomRenderer extends DefaultDomRenderer2 {\n    constructor(eventManager, sharedStylesHost, component, removeStylesOnCompDestory, compId = component.id) {\n        super(eventManager);\n        this.sharedStylesHost = sharedStylesHost;\n        this.removeStylesOnCompDestory = removeStylesOnCompDestory;\n        this.rendererUsageCount = 0;\n        this.styles = flattenStyles(compId, component.styles);\n    }\n    applyStyles() {\n        this.sharedStylesHost.addStyles(this.styles);\n        this.rendererUsageCount++;\n    }\n    destroy() {\n        if (!this.removeStylesOnCompDestory) {\n            return;\n        }\n        this.sharedStylesHost.removeStyles(this.styles);\n        this.rendererUsageCount--;\n        if (this.rendererUsageCount === 0) {\n            this.onDestroy?.();\n        }\n    }\n}\nclass EmulatedEncapsulationDomRenderer2 extends NoneEncapsulationDomRenderer {\n    constructor(eventManager, sharedStylesHost, component, appId, removeStylesOnCompDestory) {\n        const compId = appId + '-' + component.id;\n        super(eventManager, sharedStylesHost, component, removeStylesOnCompDestory, compId);\n        this.contentAttr = shimContentAttribute(compId);\n        this.hostAttr = shimHostAttribute(compId);\n    }\n    applyToHost(element) {\n        this.applyStyles();\n        this.setAttribute(element, this.hostAttr, '');\n    }\n    createElement(parent, name) {\n        const el = super.createElement(parent, name);\n        super.setAttribute(el, this.contentAttr, '');\n        return el;\n    }\n}\n\nclass DomEventsPlugin extends EventManagerPlugin {\n    constructor(doc) {\n        super(doc);\n    }\n    // This plugin should come last in the list of plugins, because it accepts all\n    // events.\n    supports(eventName) {\n        return true;\n    }\n    addEventListener(element, eventName, handler) {\n        element.addEventListener(eventName, handler, false);\n        return () => this.removeEventListener(element, eventName, handler);\n    }\n    removeEventListener(target, eventName, callback) {\n        return target.removeEventListener(eventName, callback);\n    }\n}\nDomEventsPlugin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: DomEventsPlugin, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });\nDomEventsPlugin.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: DomEventsPlugin });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: DomEventsPlugin, decorators: [{\n            type: Injectable\n        }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n                    type: Inject,\n                    args: [DOCUMENT]\n                }] }]; } });\n\n/**\n * Defines supported modifiers for key events.\n */\nconst MODIFIER_KEYS = ['alt', 'control', 'meta', 'shift'];\n// The following values are here for cross-browser compatibility and to match the W3C standard\n// cf https://www.w3.org/TR/DOM-Level-3-Events-key/\nconst _keyMap = {\n    '\\b': 'Backspace',\n    '\\t': 'Tab',\n    '\\x7F': 'Delete',\n    '\\x1B': 'Escape',\n    'Del': 'Delete',\n    'Esc': 'Escape',\n    'Left': 'ArrowLeft',\n    'Right': 'ArrowRight',\n    'Up': 'ArrowUp',\n    'Down': 'ArrowDown',\n    'Menu': 'ContextMenu',\n    'Scroll': 'ScrollLock',\n    'Win': 'OS'\n};\n/**\n * Retrieves modifiers from key-event objects.\n */\nconst MODIFIER_KEY_GETTERS = {\n    'alt': (event) => event.altKey,\n    'control': (event) => event.ctrlKey,\n    'meta': (event) => event.metaKey,\n    'shift': (event) => event.shiftKey\n};\n/**\n * @publicApi\n * A browser plug-in that provides support for handling of key events in Angular.\n */\nclass KeyEventsPlugin extends EventManagerPlugin {\n    /**\n     * Initializes an instance of the browser plug-in.\n     * @param doc The document in which key events will be detected.\n     */\n    constructor(doc) {\n        super(doc);\n    }\n    /**\n     * Reports whether a named key event is supported.\n     * @param eventName The event name to query.\n     * @return True if the named key event is supported.\n     */\n    supports(eventName) {\n        return KeyEventsPlugin.parseEventName(eventName) != null;\n    }\n    /**\n     * Registers a handler for a specific element and key event.\n     * @param element The HTML element to receive event notifications.\n     * @param eventName The name of the key event to listen for.\n     * @param handler A function to call when the notification occurs. Receives the\n     * event object as an argument.\n     * @returns The key event that was registered.\n     */\n    addEventListener(element, eventName, handler) {\n        const parsedEvent = KeyEventsPlugin.parseEventName(eventName);\n        const outsideHandler = KeyEventsPlugin.eventCallback(parsedEvent['fullKey'], handler, this.manager.getZone());\n        return this.manager.getZone().runOutsideAngular(() => {\n            return ɵgetDOM().onAndCancel(element, parsedEvent['domEventName'], outsideHandler);\n        });\n    }\n    /**\n     * Parses the user provided full keyboard event definition and normalizes it for\n     * later internal use. It ensures the string is all lowercase, converts special\n     * characters to a standard spelling, and orders all the values consistently.\n     *\n     * @param eventName The name of the key event to listen for.\n     * @returns an object with the full, normalized string, and the dom event name\n     * or null in the case when the event doesn't match a keyboard event.\n     */\n    static parseEventName(eventName) {\n        const parts = eventName.toLowerCase().split('.');\n        const domEventName = parts.shift();\n        if ((parts.length === 0) || !(domEventName === 'keydown' || domEventName === 'keyup')) {\n            return null;\n        }\n        const key = KeyEventsPlugin._normalizeKey(parts.pop());\n        let fullKey = '';\n        let codeIX = parts.indexOf('code');\n        if (codeIX > -1) {\n            parts.splice(codeIX, 1);\n            fullKey = 'code.';\n        }\n        MODIFIER_KEYS.forEach(modifierName => {\n            const index = parts.indexOf(modifierName);\n            if (index > -1) {\n                parts.splice(index, 1);\n                fullKey += modifierName + '.';\n            }\n        });\n        fullKey += key;\n        if (parts.length != 0 || key.length === 0) {\n            // returning null instead of throwing to let another plugin process the event\n            return null;\n        }\n        // NOTE: Please don't rewrite this as so, as it will break JSCompiler property renaming.\n        //       The code must remain in the `result['domEventName']` form.\n        // return {domEventName, fullKey};\n        const result = {};\n        result['domEventName'] = domEventName;\n        result['fullKey'] = fullKey;\n        return result;\n    }\n    /**\n     * Determines whether the actual keys pressed match the configured key code string.\n     * The `fullKeyCode` event is normalized in the `parseEventName` method when the\n     * event is attached to the DOM during the `addEventListener` call. This is unseen\n     * by the end user and is normalized for internal consistency and parsing.\n     *\n     * @param event The keyboard event.\n     * @param fullKeyCode The normalized user defined expected key event string\n     * @returns boolean.\n     */\n    static matchEventFullKeyCode(event, fullKeyCode) {\n        let keycode = _keyMap[event.key] || event.key;\n        let key = '';\n        if (fullKeyCode.indexOf('code.') > -1) {\n            keycode = event.code;\n            key = 'code.';\n        }\n        // the keycode could be unidentified so we have to check here\n        if (keycode == null || !keycode)\n            return false;\n        keycode = keycode.toLowerCase();\n        if (keycode === ' ') {\n            keycode = 'space'; // for readability\n        }\n        else if (keycode === '.') {\n            keycode = 'dot'; // because '.' is used as a separator in event names\n        }\n        MODIFIER_KEYS.forEach(modifierName => {\n            if (modifierName !== keycode) {\n                const modifierGetter = MODIFIER_KEY_GETTERS[modifierName];\n                if (modifierGetter(event)) {\n                    key += modifierName + '.';\n                }\n            }\n        });\n        key += keycode;\n        return key === fullKeyCode;\n    }\n    /**\n     * Configures a handler callback for a key event.\n     * @param fullKey The event name that combines all simultaneous keystrokes.\n     * @param handler The function that responds to the key event.\n     * @param zone The zone in which the event occurred.\n     * @returns A callback function.\n     */\n    static eventCallback(fullKey, handler, zone) {\n        return (event) => {\n            if (KeyEventsPlugin.matchEventFullKeyCode(event, fullKey)) {\n                zone.runGuarded(() => handler(event));\n            }\n        };\n    }\n    /** @internal */\n    static _normalizeKey(keyName) {\n        // TODO: switch to a Map if the mapping grows too much\n        switch (keyName) {\n            case 'esc':\n                return 'escape';\n            default:\n                return keyName;\n        }\n    }\n}\nKeyEventsPlugin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: KeyEventsPlugin, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });\nKeyEventsPlugin.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: KeyEventsPlugin });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: KeyEventsPlugin, decorators: [{\n            type: Injectable\n        }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n                    type: Inject,\n                    args: [DOCUMENT]\n                }] }]; } });\n\nconst NG_DEV_MODE = typeof ngDevMode === 'undefined' || !!ngDevMode;\n/**\n * Bootstraps an instance of an Angular application and renders a standalone component as the\n * application's root component. More information about standalone components can be found in [this\n * guide](guide/standalone-components).\n *\n * @usageNotes\n * The root component passed into this function *must* be a standalone one (should have the\n * `standalone: true` flag in the `@Component` decorator config).\n *\n * ```typescript\n * @Component({\n *   standalone: true,\n *   template: 'Hello world!'\n * })\n * class RootComponent {}\n *\n * const appRef: ApplicationRef = await bootstrapApplication(RootComponent);\n * ```\n *\n * You can add the list of providers that should be available in the application injector by\n * specifying the `providers` field in an object passed as the second argument:\n *\n * ```typescript\n * await bootstrapApplication(RootComponent, {\n *   providers: [\n *     {provide: BACKEND_URL, useValue: 'https://yourdomain.com/api'}\n *   ]\n * });\n * ```\n *\n * The `importProvidersFrom` helper method can be used to collect all providers from any\n * existing NgModule (and transitively from all NgModules that it imports):\n *\n * ```typescript\n * await bootstrapApplication(RootComponent, {\n *   providers: [\n *     importProvidersFrom(SomeNgModule)\n *   ]\n * });\n * ```\n *\n * Note: the `bootstrapApplication` method doesn't include [Testability](api/core/Testability) by\n * default. You can add [Testability](api/core/Testability) by getting the list of necessary\n * providers using `provideProtractorTestingSupport()` function and adding them into the `providers`\n * array, for example:\n *\n * ```typescript\n * import {provideProtractorTestingSupport} from '@angular/platform-browser';\n *\n * await bootstrapApplication(RootComponent, {providers: [provideProtractorTestingSupport()]});\n * ```\n *\n * @param rootComponent A reference to a standalone component that should be rendered.\n * @param options Extra configuration for the bootstrap operation, see `ApplicationConfig` for\n *     additional info.\n * @returns A promise that returns an `ApplicationRef` instance once resolved.\n *\n * @publicApi\n */\nfunction bootstrapApplication(rootComponent, options) {\n    return ɵinternalCreateApplication({ rootComponent, ...createProvidersConfig(options) });\n}\n/**\n * Create an instance of an Angular application without bootstrapping any components. This is useful\n * for the situation where one wants to decouple application environment creation (a platform and\n * associated injectors) from rendering components on a screen. Components can be subsequently\n * bootstrapped on the returned `ApplicationRef`.\n *\n * @param options Extra configuration for the application environment, see `ApplicationConfig` for\n *     additional info.\n * @returns A promise that returns an `ApplicationRef` instance once resolved.\n *\n * @publicApi\n */\nfunction createApplication(options) {\n    return ɵinternalCreateApplication(createProvidersConfig(options));\n}\nfunction createProvidersConfig(options) {\n    return {\n        appProviders: [\n            ...BROWSER_MODULE_PROVIDERS,\n            ...(options?.providers ?? []),\n        ],\n        platformProviders: INTERNAL_BROWSER_PLATFORM_PROVIDERS\n    };\n}\n/**\n * Returns a set of providers required to setup [Testability](api/core/Testability) for an\n * application bootstrapped using the `bootstrapApplication` function. The set of providers is\n * needed to support testing an application with Protractor (which relies on the Testability APIs\n * to be present).\n *\n * @returns An array of providers required to setup Testability for an application and make it\n *     available for testing using Protractor.\n *\n * @publicApi\n */\nfunction provideProtractorTestingSupport() {\n    // Return a copy to prevent changes to the original array in case any in-place\n    // alterations are performed to the `provideProtractorTestingSupport` call results in app code.\n    return [...TESTABILITY_PROVIDERS];\n}\nfunction initDomAdapter() {\n    BrowserDomAdapter.makeCurrent();\n}\nfunction errorHandler() {\n    return new ErrorHandler();\n}\nfunction _document() {\n    // Tell ivy about the global document\n    ɵsetDocument(document);\n    return document;\n}\nconst INTERNAL_BROWSER_PLATFORM_PROVIDERS = [\n    { provide: PLATFORM_ID, useValue: ɵPLATFORM_BROWSER_ID },\n    { provide: PLATFORM_INITIALIZER, useValue: initDomAdapter, multi: true },\n    { provide: DOCUMENT, useFactory: _document, deps: [] },\n];\n/**\n * A factory function that returns a `PlatformRef` instance associated with browser service\n * providers.\n *\n * @publicApi\n */\nconst platformBrowser = createPlatformFactory(platformCore, 'browser', INTERNAL_BROWSER_PLATFORM_PROVIDERS);\n/**\n * Internal marker to signal whether providers from the `BrowserModule` are already present in DI.\n * This is needed to avoid loading `BrowserModule` providers twice. We can't rely on the\n * `BrowserModule` presence itself, since the standalone-based bootstrap just imports\n * `BrowserModule` providers without referencing the module itself.\n */\nconst BROWSER_MODULE_PROVIDERS_MARKER = new InjectionToken(NG_DEV_MODE ? 'BrowserModule Providers Marker' : '');\nconst TESTABILITY_PROVIDERS = [\n    {\n        provide: ɵTESTABILITY_GETTER,\n        useClass: BrowserGetTestability,\n        deps: [],\n    },\n    {\n        provide: ɵTESTABILITY,\n        useClass: Testability,\n        deps: [NgZone, TestabilityRegistry, ɵTESTABILITY_GETTER]\n    },\n    {\n        provide: Testability,\n        useClass: Testability,\n        deps: [NgZone, TestabilityRegistry, ɵTESTABILITY_GETTER]\n    }\n];\nconst BROWSER_MODULE_PROVIDERS = [\n    { provide: ɵINJECTOR_SCOPE, useValue: 'root' },\n    { provide: ErrorHandler, useFactory: errorHandler, deps: [] }, {\n        provide: EVENT_MANAGER_PLUGINS,\n        useClass: DomEventsPlugin,\n        multi: true,\n        deps: [DOCUMENT, NgZone, PLATFORM_ID]\n    },\n    { provide: EVENT_MANAGER_PLUGINS, useClass: KeyEventsPlugin, multi: true, deps: [DOCUMENT] }, {\n        provide: DomRendererFactory2,\n        useClass: DomRendererFactory2,\n        deps: [EventManager, DomSharedStylesHost, APP_ID, REMOVE_STYLES_ON_COMPONENT_DESTROY]\n    },\n    { provide: RendererFactory2, useExisting: DomRendererFactory2 },\n    { provide: SharedStylesHost, useExisting: DomSharedStylesHost },\n    { provide: DomSharedStylesHost, useClass: DomSharedStylesHost, deps: [DOCUMENT] },\n    { provide: EventManager, useClass: EventManager, deps: [EVENT_MANAGER_PLUGINS, NgZone] },\n    { provide: XhrFactory, useClass: BrowserXhr, deps: [] },\n    NG_DEV_MODE ? { provide: BROWSER_MODULE_PROVIDERS_MARKER, useValue: true } : []\n];\n/**\n * Exports required infrastructure for all Angular apps.\n * Included by default in all Angular apps created with the CLI\n * `new` command.\n * Re-exports `CommonModule` and `ApplicationModule`, making their\n * exports and providers available to all apps.\n *\n * @publicApi\n */\nclass BrowserModule {\n    constructor(providersAlreadyPresent) {\n        if (NG_DEV_MODE && providersAlreadyPresent) {\n            throw new Error(`Providers from the \\`BrowserModule\\` have already been loaded. If you need access ` +\n                `to common directives such as NgIf and NgFor, import the \\`CommonModule\\` instead.`);\n        }\n    }\n    /**\n     * Configures a browser-based app to transition from a server-rendered app, if\n     * one is present on the page.\n     *\n     * @param params An object containing an identifier for the app to transition.\n     * The ID must match between the client and server versions of the app.\n     * @returns The reconfigured `BrowserModule` to import into the app's root `AppModule`.\n     */\n    static withServerTransition(params) {\n        return {\n            ngModule: BrowserModule,\n            providers: [\n                { provide: APP_ID, useValue: params.appId },\n                { provide: TRANSITION_ID, useExisting: APP_ID },\n                SERVER_TRANSITION_PROVIDERS,\n            ],\n        };\n    }\n}\nBrowserModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: BrowserModule, deps: [{ token: BROWSER_MODULE_PROVIDERS_MARKER, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.NgModule });\nBrowserModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"15.2.10\", ngImport: i0, type: BrowserModule, exports: [CommonModule, ApplicationModule] });\nBrowserModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: BrowserModule, providers: [\n        ...BROWSER_MODULE_PROVIDERS,\n        ...TESTABILITY_PROVIDERS\n    ], imports: [CommonModule, ApplicationModule] });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: BrowserModule, decorators: [{\n            type: NgModule,\n            args: [{\n                    providers: [\n                        ...BROWSER_MODULE_PROVIDERS,\n                        ...TESTABILITY_PROVIDERS\n                    ],\n                    exports: [CommonModule, ApplicationModule],\n                }]\n        }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n                    type: Optional\n                }, {\n                    type: SkipSelf\n                }, {\n                    type: Inject,\n                    args: [BROWSER_MODULE_PROVIDERS_MARKER]\n                }] }]; } });\n\n/**\n * Factory to create a `Meta` service instance for the current DOM document.\n */\nfunction createMeta() {\n    return new Meta(ɵɵinject(DOCUMENT));\n}\n/**\n * A service for managing HTML `<meta>` tags.\n *\n * Properties of the `MetaDefinition` object match the attributes of the\n * HTML `<meta>` tag. These tags define document metadata that is important for\n * things like configuring a Content Security Policy, defining browser compatibility\n * and security settings, setting HTTP Headers, defining rich content for social sharing,\n * and Search Engine Optimization (SEO).\n *\n * To identify specific `<meta>` tags in a document, use an attribute selection\n * string in the format `\"tag_attribute='value string'\"`.\n * For example, an `attrSelector` value of `\"name='description'\"` matches a tag\n * whose `name` attribute has the value `\"description\"`.\n * Selectors are used with the `querySelector()` Document method,\n * in the format `meta[{attrSelector}]`.\n *\n * @see [HTML meta tag](https://developer.mozilla.org/docs/Web/HTML/Element/meta)\n * @see [Document.querySelector()](https://developer.mozilla.org/docs/Web/API/Document/querySelector)\n *\n *\n * @publicApi\n */\nclass Meta {\n    constructor(_doc) {\n        this._doc = _doc;\n        this._dom = ɵgetDOM();\n    }\n    /**\n     * Retrieves or creates a specific `<meta>` tag element in the current HTML document.\n     * In searching for an existing tag, Angular attempts to match the `name` or `property` attribute\n     * values in the provided tag definition, and verifies that all other attribute values are equal.\n     * If an existing element is found, it is returned and is not modified in any way.\n     * @param tag The definition of a `<meta>` element to match or create.\n     * @param forceCreation True to create a new element without checking whether one already exists.\n     * @returns The existing element with the same attributes and values if found,\n     * the new element if no match is found, or `null` if the tag parameter is not defined.\n     */\n    addTag(tag, forceCreation = false) {\n        if (!tag)\n            return null;\n        return this._getOrCreateElement(tag, forceCreation);\n    }\n    /**\n     * Retrieves or creates a set of `<meta>` tag elements in the current HTML document.\n     * In searching for an existing tag, Angular attempts to match the `name` or `property` attribute\n     * values in the provided tag definition, and verifies that all other attribute values are equal.\n     * @param tags An array of tag definitions to match or create.\n     * @param forceCreation True to create new elements without checking whether they already exist.\n     * @returns The matching elements if found, or the new elements.\n     */\n    addTags(tags, forceCreation = false) {\n        if (!tags)\n            return [];\n        return tags.reduce((result, tag) => {\n            if (tag) {\n                result.push(this._getOrCreateElement(tag, forceCreation));\n            }\n            return result;\n        }, []);\n    }\n    /**\n     * Retrieves a `<meta>` tag element in the current HTML document.\n     * @param attrSelector The tag attribute and value to match against, in the format\n     * `\"tag_attribute='value string'\"`.\n     * @returns The matching element, if any.\n     */\n    getTag(attrSelector) {\n        if (!attrSelector)\n            return null;\n        return this._doc.querySelector(`meta[${attrSelector}]`) || null;\n    }\n    /**\n     * Retrieves a set of `<meta>` tag elements in the current HTML document.\n     * @param attrSelector The tag attribute and value to match against, in the format\n     * `\"tag_attribute='value string'\"`.\n     * @returns The matching elements, if any.\n     */\n    getTags(attrSelector) {\n        if (!attrSelector)\n            return [];\n        const list /*NodeList*/ = this._doc.querySelectorAll(`meta[${attrSelector}]`);\n        return list ? [].slice.call(list) : [];\n    }\n    /**\n     * Modifies an existing `<meta>` tag element in the current HTML document.\n     * @param tag The tag description with which to replace the existing tag content.\n     * @param selector A tag attribute and value to match against, to identify\n     * an existing tag. A string in the format `\"tag_attribute=`value string`\"`.\n     * If not supplied, matches a tag with the same `name` or `property` attribute value as the\n     * replacement tag.\n     * @return The modified element.\n     */\n    updateTag(tag, selector) {\n        if (!tag)\n            return null;\n        selector = selector || this._parseSelector(tag);\n        const meta = this.getTag(selector);\n        if (meta) {\n            return this._setMetaElementAttributes(tag, meta);\n        }\n        return this._getOrCreateElement(tag, true);\n    }\n    /**\n     * Removes an existing `<meta>` tag element from the current HTML document.\n     * @param attrSelector A tag attribute and value to match against, to identify\n     * an existing tag. A string in the format `\"tag_attribute=`value string`\"`.\n     */\n    removeTag(attrSelector) {\n        this.removeTagElement(this.getTag(attrSelector));\n    }\n    /**\n     * Removes an existing `<meta>` tag element from the current HTML document.\n     * @param meta The tag definition to match against to identify an existing tag.\n     */\n    removeTagElement(meta) {\n        if (meta) {\n            this._dom.remove(meta);\n        }\n    }\n    _getOrCreateElement(meta, forceCreation = false) {\n        if (!forceCreation) {\n            const selector = this._parseSelector(meta);\n            // It's allowed to have multiple elements with the same name so it's not enough to\n            // just check that element with the same name already present on the page. We also need to\n            // check if element has tag attributes\n            const elem = this.getTags(selector).filter(elem => this._containsAttributes(meta, elem))[0];\n            if (elem !== undefined)\n                return elem;\n        }\n        const element = this._dom.createElement('meta');\n        this._setMetaElementAttributes(meta, element);\n        const head = this._doc.getElementsByTagName('head')[0];\n        head.appendChild(element);\n        return element;\n    }\n    _setMetaElementAttributes(tag, el) {\n        Object.keys(tag).forEach((prop) => el.setAttribute(this._getMetaKeyMap(prop), tag[prop]));\n        return el;\n    }\n    _parseSelector(tag) {\n        const attr = tag.name ? 'name' : 'property';\n        return `${attr}=\"${tag[attr]}\"`;\n    }\n    _containsAttributes(tag, elem) {\n        return Object.keys(tag).every((key) => elem.getAttribute(this._getMetaKeyMap(key)) === tag[key]);\n    }\n    _getMetaKeyMap(prop) {\n        return META_KEYS_MAP[prop] || prop;\n    }\n}\nMeta.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: Meta, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });\nMeta.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: Meta, providedIn: 'root', useFactory: createMeta, deps: [] });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: Meta, decorators: [{\n            type: Injectable,\n            args: [{ providedIn: 'root', useFactory: createMeta, deps: [] }]\n        }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n                    type: Inject,\n                    args: [DOCUMENT]\n                }] }]; } });\n/**\n * Mapping for MetaDefinition properties with their correct meta attribute names\n */\nconst META_KEYS_MAP = {\n    httpEquiv: 'http-equiv'\n};\n\n/**\n * Factory to create Title service.\n */\nfunction createTitle() {\n    return new Title(ɵɵinject(DOCUMENT));\n}\n/**\n * A service that can be used to get and set the title of a current HTML document.\n *\n * Since an Angular application can't be bootstrapped on the entire HTML document (`<html>` tag)\n * it is not possible to bind to the `text` property of the `HTMLTitleElement` elements\n * (representing the `<title>` tag). Instead, this service can be used to set and get the current\n * title value.\n *\n * @publicApi\n */\nclass Title {\n    constructor(_doc) {\n        this._doc = _doc;\n    }\n    /**\n     * Get the title of the current HTML document.\n     */\n    getTitle() {\n        return this._doc.title;\n    }\n    /**\n     * Set the title of the current HTML document.\n     * @param newTitle\n     */\n    setTitle(newTitle) {\n        this._doc.title = newTitle || '';\n    }\n}\nTitle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: Title, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });\nTitle.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: Title, providedIn: 'root', useFactory: createTitle, deps: [] });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: Title, decorators: [{\n            type: Injectable,\n            args: [{ providedIn: 'root', useFactory: createTitle, deps: [] }]\n        }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n                    type: Inject,\n                    args: [DOCUMENT]\n                }] }]; } });\n\n/**\n * Exports the value under a given `name` in the global property `ng`. For example `ng.probe` if\n * `name` is `'probe'`.\n * @param name Name under which it will be exported. Keep in mind this will be a property of the\n * global `ng` object.\n * @param value The value to export.\n */\nfunction exportNgVar(name, value) {\n    if (typeof COMPILED === 'undefined' || !COMPILED) {\n        // Note: we can't export `ng` when using closure enhanced optimization as:\n        // - closure declares globals itself for minified names, which sometimes clobber our `ng` global\n        // - we can't declare a closure extern as the namespace `ng` is already used within Google\n        //   for typings for angularJS (via `goog.provide('ng....')`).\n        const ng = ɵglobal['ng'] = ɵglobal['ng'] || {};\n        ng[name] = value;\n    }\n}\n\nconst win = typeof window !== 'undefined' && window || {};\n\nclass ChangeDetectionPerfRecord {\n    constructor(msPerTick, numTicks) {\n        this.msPerTick = msPerTick;\n        this.numTicks = numTicks;\n    }\n}\n/**\n * Entry point for all Angular profiling-related debug tools. This object\n * corresponds to the `ng.profiler` in the dev console.\n */\nclass AngularProfiler {\n    constructor(ref) {\n        this.appRef = ref.injector.get(ApplicationRef);\n    }\n    // tslint:disable:no-console\n    /**\n     * Exercises change detection in a loop and then prints the average amount of\n     * time in milliseconds how long a single round of change detection takes for\n     * the current state of the UI. It runs a minimum of 5 rounds for a minimum\n     * of 500 milliseconds.\n     *\n     * Optionally, a user may pass a `config` parameter containing a map of\n     * options. Supported options are:\n     *\n     * `record` (boolean) - causes the profiler to record a CPU profile while\n     * it exercises the change detector. Example:\n     *\n     * ```\n     * ng.profiler.timeChangeDetection({record: true})\n     * ```\n     */\n    timeChangeDetection(config) {\n        const record = config && config['record'];\n        const profileName = 'Change Detection';\n        // Profiler is not available in Android browsers without dev tools opened\n        const isProfilerAvailable = win.console.profile != null;\n        if (record && isProfilerAvailable) {\n            win.console.profile(profileName);\n        }\n        const start = performanceNow();\n        let numTicks = 0;\n        while (numTicks < 5 || (performanceNow() - start) < 500) {\n            this.appRef.tick();\n            numTicks++;\n        }\n        const end = performanceNow();\n        if (record && isProfilerAvailable) {\n            win.console.profileEnd(profileName);\n        }\n        const msPerTick = (end - start) / numTicks;\n        win.console.log(`ran ${numTicks} change detection cycles`);\n        win.console.log(`${msPerTick.toFixed(2)} ms per check`);\n        return new ChangeDetectionPerfRecord(msPerTick, numTicks);\n    }\n}\nfunction performanceNow() {\n    return win.performance && win.performance.now ? win.performance.now() :\n        new Date().getTime();\n}\n\nconst PROFILER_GLOBAL_NAME = 'profiler';\n/**\n * Enabled Angular debug tools that are accessible via your browser's\n * developer console.\n *\n * Usage:\n *\n * 1. Open developer console (e.g. in Chrome Ctrl + Shift + j)\n * 1. Type `ng.` (usually the console will show auto-complete suggestion)\n * 1. Try the change detection profiler `ng.profiler.timeChangeDetection()`\n *    then hit Enter.\n *\n * @publicApi\n */\nfunction enableDebugTools(ref) {\n    exportNgVar(PROFILER_GLOBAL_NAME, new AngularProfiler(ref));\n    return ref;\n}\n/**\n * Disables Angular tools.\n *\n * @publicApi\n */\nfunction disableDebugTools() {\n    exportNgVar(PROFILER_GLOBAL_NAME, null);\n}\n\nfunction escapeHtml(text) {\n    const escapedText = {\n        '&': '&a;',\n        '\"': '&q;',\n        '\\'': '&s;',\n        '<': '&l;',\n        '>': '&g;',\n    };\n    return text.replace(/[&\"'<>]/g, s => escapedText[s]);\n}\nfunction unescapeHtml(text) {\n    const unescapedText = {\n        '&a;': '&',\n        '&q;': '\"',\n        '&s;': '\\'',\n        '&l;': '<',\n        '&g;': '>',\n    };\n    return text.replace(/&[^;]+;/g, s => unescapedText[s]);\n}\n/**\n * Create a `StateKey<T>` that can be used to store value of type T with `TransferState`.\n *\n * Example:\n *\n * ```\n * const COUNTER_KEY = makeStateKey<number>('counter');\n * let value = 10;\n *\n * transferState.set(COUNTER_KEY, value);\n * ```\n *\n * @publicApi\n */\nfunction makeStateKey(key) {\n    return key;\n}\n/**\n * A key value store that is transferred from the application on the server side to the application\n * on the client side.\n *\n * The `TransferState` is available as an injectable token.\n * On the client, just inject this token using DI and use it, it will be lazily initialized.\n * On the server it's already included if `renderApplication` function is used. Otherwise, import\n * the `ServerTransferStateModule` module to make the `TransferState` available.\n *\n * The values in the store are serialized/deserialized using JSON.stringify/JSON.parse. So only\n * boolean, number, string, null and non-class objects will be serialized and deserialized in a\n * non-lossy manner.\n *\n * @publicApi\n */\nclass TransferState {\n    constructor() {\n        this.store = {};\n        this.onSerializeCallbacks = {};\n        this.store = retrieveTransferredState(inject(DOCUMENT), inject(APP_ID));\n    }\n    /**\n     * Get the value corresponding to a key. Return `defaultValue` if key is not found.\n     */\n    get(key, defaultValue) {\n        return this.store[key] !== undefined ? this.store[key] : defaultValue;\n    }\n    /**\n     * Set the value corresponding to a key.\n     */\n    set(key, value) {\n        this.store[key] = value;\n    }\n    /**\n     * Remove a key from the store.\n     */\n    remove(key) {\n        delete this.store[key];\n    }\n    /**\n     * Test whether a key exists in the store.\n     */\n    hasKey(key) {\n        return this.store.hasOwnProperty(key);\n    }\n    /**\n     * Indicates whether the state is empty.\n     */\n    get isEmpty() {\n        return Object.keys(this.store).length === 0;\n    }\n    /**\n     * Register a callback to provide the value for a key when `toJson` is called.\n     */\n    onSerialize(key, callback) {\n        this.onSerializeCallbacks[key] = callback;\n    }\n    /**\n     * Serialize the current state of the store to JSON.\n     */\n    toJson() {\n        // Call the onSerialize callbacks and put those values into the store.\n        for (const key in this.onSerializeCallbacks) {\n            if (this.onSerializeCallbacks.hasOwnProperty(key)) {\n                try {\n                    this.store[key] = this.onSerializeCallbacks[key]();\n                }\n                catch (e) {\n                    console.warn('Exception in onSerialize callback: ', e);\n                }\n            }\n        }\n        return JSON.stringify(this.store);\n    }\n}\nTransferState.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: TransferState, deps: [], target: i0.ɵɵFactoryTarget.Injectable });\nTransferState.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: TransferState, providedIn: 'root' });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: TransferState, decorators: [{\n            type: Injectable,\n            args: [{ providedIn: 'root' }]\n        }], ctorParameters: function () { return []; } });\nfunction retrieveTransferredState(doc, appId) {\n    // Locate the script tag with the JSON data transferred from the server.\n    // The id of the script tag is set to the Angular appId + 'state'.\n    const script = doc.getElementById(appId + '-state');\n    let initialState = {};\n    if (script && script.textContent) {\n        try {\n            // Avoid using any here as it triggers lint errors in google3 (any is not allowed).\n            initialState = JSON.parse(unescapeHtml(script.textContent));\n        }\n        catch (e) {\n            console.warn('Exception while restoring TransferState for app ' + appId, e);\n        }\n    }\n    return initialState;\n}\n/**\n * NgModule to install on the client side while using the `TransferState` to transfer state from\n * server to client.\n *\n * @publicApi\n * @deprecated no longer needed, you can inject the `TransferState` in an app without providing\n *     this module.\n */\nclass BrowserTransferStateModule {\n}\nBrowserTransferStateModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: BrowserTransferStateModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\nBrowserTransferStateModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"15.2.10\", ngImport: i0, type: BrowserTransferStateModule });\nBrowserTransferStateModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: BrowserTransferStateModule });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: BrowserTransferStateModule, decorators: [{\n            type: NgModule,\n            args: [{}]\n        }] });\n\n/**\n * Predicates for use with {@link DebugElement}'s query functions.\n *\n * @publicApi\n */\nclass By {\n    /**\n     * Match all nodes.\n     *\n     * @usageNotes\n     * ### Example\n     *\n     * {@example platform-browser/dom/debug/ts/by/by.ts region='by_all'}\n     */\n    static all() {\n        return () => true;\n    }\n    /**\n     * Match elements by the given CSS selector.\n     *\n     * @usageNotes\n     * ### Example\n     *\n     * {@example platform-browser/dom/debug/ts/by/by.ts region='by_css'}\n     */\n    static css(selector) {\n        return (debugElement) => {\n            return debugElement.nativeElement != null ?\n                elementMatches(debugElement.nativeElement, selector) :\n                false;\n        };\n    }\n    /**\n     * Match nodes that have the given directive present.\n     *\n     * @usageNotes\n     * ### Example\n     *\n     * {@example platform-browser/dom/debug/ts/by/by.ts region='by_directive'}\n     */\n    static directive(type) {\n        return (debugNode) => debugNode.providerTokens.indexOf(type) !== -1;\n    }\n}\nfunction elementMatches(n, selector) {\n    if (ɵgetDOM().isElementNode(n)) {\n        return n.matches && n.matches(selector) ||\n            n.msMatchesSelector && n.msMatchesSelector(selector) ||\n            n.webkitMatchesSelector && n.webkitMatchesSelector(selector);\n    }\n    return false;\n}\n\n/**\n * Supported HammerJS recognizer event names.\n */\nconst EVENT_NAMES = {\n    // pan\n    'pan': true,\n    'panstart': true,\n    'panmove': true,\n    'panend': true,\n    'pancancel': true,\n    'panleft': true,\n    'panright': true,\n    'panup': true,\n    'pandown': true,\n    // pinch\n    'pinch': true,\n    'pinchstart': true,\n    'pinchmove': true,\n    'pinchend': true,\n    'pinchcancel': true,\n    'pinchin': true,\n    'pinchout': true,\n    // press\n    'press': true,\n    'pressup': true,\n    // rotate\n    'rotate': true,\n    'rotatestart': true,\n    'rotatemove': true,\n    'rotateend': true,\n    'rotatecancel': true,\n    // swipe\n    'swipe': true,\n    'swipeleft': true,\n    'swiperight': true,\n    'swipeup': true,\n    'swipedown': true,\n    // tap\n    'tap': true,\n    'doubletap': true\n};\n/**\n * DI token for providing [HammerJS](https://hammerjs.github.io/) support to Angular.\n * @see `HammerGestureConfig`\n *\n * @ngModule HammerModule\n * @publicApi\n */\nconst HAMMER_GESTURE_CONFIG = new InjectionToken('HammerGestureConfig');\n/**\n * Injection token used to provide a {@link HammerLoader} to Angular.\n *\n * @publicApi\n */\nconst HAMMER_LOADER = new InjectionToken('HammerLoader');\n/**\n * An injectable [HammerJS Manager](https://hammerjs.github.io/api/#hammermanager)\n * for gesture recognition. Configures specific event recognition.\n * @publicApi\n */\nclass HammerGestureConfig {\n    constructor() {\n        /**\n         * A set of supported event names for gestures to be used in Angular.\n         * Angular supports all built-in recognizers, as listed in\n         * [HammerJS documentation](https://hammerjs.github.io/).\n         */\n        this.events = [];\n        /**\n         * Maps gesture event names to a set of configuration options\n         * that specify overrides to the default values for specific properties.\n         *\n         * The key is a supported event name to be configured,\n         * and the options object contains a set of properties, with override values\n         * to be applied to the named recognizer event.\n         * For example, to disable recognition of the rotate event, specify\n         *  `{\"rotate\": {\"enable\": false}}`.\n         *\n         * Properties that are not present take the HammerJS default values.\n         * For information about which properties are supported for which events,\n         * and their allowed and default values, see\n         * [HammerJS documentation](https://hammerjs.github.io/).\n         *\n         */\n        this.overrides = {};\n    }\n    /**\n     * Creates a [HammerJS Manager](https://hammerjs.github.io/api/#hammermanager)\n     * and attaches it to a given HTML element.\n     * @param element The element that will recognize gestures.\n     * @returns A HammerJS event-manager object.\n     */\n    buildHammer(element) {\n        const mc = new Hammer(element, this.options);\n        mc.get('pinch').set({ enable: true });\n        mc.get('rotate').set({ enable: true });\n        for (const eventName in this.overrides) {\n            mc.get(eventName).set(this.overrides[eventName]);\n        }\n        return mc;\n    }\n}\nHammerGestureConfig.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: HammerGestureConfig, deps: [], target: i0.ɵɵFactoryTarget.Injectable });\nHammerGestureConfig.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: HammerGestureConfig });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: HammerGestureConfig, decorators: [{\n            type: Injectable\n        }] });\n/**\n * Event plugin that adds Hammer support to an application.\n *\n * @ngModule HammerModule\n */\nclass HammerGesturesPlugin extends EventManagerPlugin {\n    constructor(doc, _config, console, loader) {\n        super(doc);\n        this._config = _config;\n        this.console = console;\n        this.loader = loader;\n        this._loaderPromise = null;\n    }\n    supports(eventName) {\n        if (!EVENT_NAMES.hasOwnProperty(eventName.toLowerCase()) && !this.isCustomEvent(eventName)) {\n            return false;\n        }\n        if (!window.Hammer && !this.loader) {\n            if (typeof ngDevMode === 'undefined' || ngDevMode) {\n                this.console.warn(`The \"${eventName}\" event cannot be bound because Hammer.JS is not ` +\n                    `loaded and no custom loader has been specified.`);\n            }\n            return false;\n        }\n        return true;\n    }\n    addEventListener(element, eventName, handler) {\n        const zone = this.manager.getZone();\n        eventName = eventName.toLowerCase();\n        // If Hammer is not present but a loader is specified, we defer adding the event listener\n        // until Hammer is loaded.\n        if (!window.Hammer && this.loader) {\n            this._loaderPromise = this._loaderPromise || zone.runOutsideAngular(() => this.loader());\n            // This `addEventListener` method returns a function to remove the added listener.\n            // Until Hammer is loaded, the returned function needs to *cancel* the registration rather\n            // than remove anything.\n            let cancelRegistration = false;\n            let deregister = () => {\n                cancelRegistration = true;\n            };\n            zone.runOutsideAngular(() => this._loaderPromise\n                .then(() => {\n                // If Hammer isn't actually loaded when the custom loader resolves, give up.\n                if (!window.Hammer) {\n                    if (typeof ngDevMode === 'undefined' || ngDevMode) {\n                        this.console.warn(`The custom HAMMER_LOADER completed, but Hammer.JS is not present.`);\n                    }\n                    deregister = () => { };\n                    return;\n                }\n                if (!cancelRegistration) {\n                    // Now that Hammer is loaded and the listener is being loaded for real,\n                    // the deregistration function changes from canceling registration to\n                    // removal.\n                    deregister = this.addEventListener(element, eventName, handler);\n                }\n            })\n                .catch(() => {\n                if (typeof ngDevMode === 'undefined' || ngDevMode) {\n                    this.console.warn(`The \"${eventName}\" event cannot be bound because the custom ` +\n                        `Hammer.JS loader failed.`);\n                }\n                deregister = () => { };\n            }));\n            // Return a function that *executes* `deregister` (and not `deregister` itself) so that we\n            // can change the behavior of `deregister` once the listener is added. Using a closure in\n            // this way allows us to avoid any additional data structures to track listener removal.\n            return () => {\n                deregister();\n            };\n        }\n        return zone.runOutsideAngular(() => {\n            // Creating the manager bind events, must be done outside of angular\n            const mc = this._config.buildHammer(element);\n            const callback = function (eventObj) {\n                zone.runGuarded(function () {\n                    handler(eventObj);\n                });\n            };\n            mc.on(eventName, callback);\n            return () => {\n                mc.off(eventName, callback);\n                // destroy mc to prevent memory leak\n                if (typeof mc.destroy === 'function') {\n                    mc.destroy();\n                }\n            };\n        });\n    }\n    isCustomEvent(eventName) {\n        return this._config.events.indexOf(eventName) > -1;\n    }\n}\nHammerGesturesPlugin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: HammerGesturesPlugin, deps: [{ token: DOCUMENT }, { token: HAMMER_GESTURE_CONFIG }, { token: i0.ɵConsole }, { token: HAMMER_LOADER, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });\nHammerGesturesPlugin.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: HammerGesturesPlugin });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: HammerGesturesPlugin, decorators: [{\n            type: Injectable\n        }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n                    type: Inject,\n                    args: [DOCUMENT]\n                }] }, { type: HammerGestureConfig, decorators: [{\n                    type: Inject,\n                    args: [HAMMER_GESTURE_CONFIG]\n                }] }, { type: i0.ɵConsole }, { type: undefined, decorators: [{\n                    type: Optional\n                }, {\n                    type: Inject,\n                    args: [HAMMER_LOADER]\n                }] }]; } });\n/**\n * Adds support for HammerJS.\n *\n * Import this module at the root of your application so that Angular can work with\n * HammerJS to detect gesture events.\n *\n * Note that applications still need to include the HammerJS script itself. This module\n * simply sets up the coordination layer between HammerJS and Angular's EventManager.\n *\n * @publicApi\n */\nclass HammerModule {\n}\nHammerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: HammerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\nHammerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"15.2.10\", ngImport: i0, type: HammerModule });\nHammerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: HammerModule, providers: [\n        {\n            provide: EVENT_MANAGER_PLUGINS,\n            useClass: HammerGesturesPlugin,\n            multi: true,\n            deps: [DOCUMENT, HAMMER_GESTURE_CONFIG, ɵConsole, [new Optional(), HAMMER_LOADER]]\n        },\n        { provide: HAMMER_GESTURE_CONFIG, useClass: HammerGestureConfig, deps: [] },\n    ] });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: HammerModule, decorators: [{\n            type: NgModule,\n            args: [{\n                    providers: [\n                        {\n                            provide: EVENT_MANAGER_PLUGINS,\n                            useClass: HammerGesturesPlugin,\n                            multi: true,\n                            deps: [DOCUMENT, HAMMER_GESTURE_CONFIG, ɵConsole, [new Optional(), HAMMER_LOADER]]\n                        },\n                        { provide: HAMMER_GESTURE_CONFIG, useClass: HammerGestureConfig, deps: [] },\n                    ]\n                }]\n        }] });\n\n/**\n * DomSanitizer helps preventing Cross Site Scripting Security bugs (XSS) by sanitizing\n * values to be safe to use in the different DOM contexts.\n *\n * For example, when binding a URL in an `<a [href]=\"someValue\">` hyperlink, `someValue` will be\n * sanitized so that an attacker cannot inject e.g. a `javascript:` URL that would execute code on\n * the website.\n *\n * In specific situations, it might be necessary to disable sanitization, for example if the\n * application genuinely needs to produce a `javascript:` style link with a dynamic value in it.\n * Users can bypass security by constructing a value with one of the `bypassSecurityTrust...`\n * methods, and then binding to that value from the template.\n *\n * These situations should be very rare, and extraordinary care must be taken to avoid creating a\n * Cross Site Scripting (XSS) security bug!\n *\n * When using `bypassSecurityTrust...`, make sure to call the method as early as possible and as\n * close as possible to the source of the value, to make it easy to verify no security bug is\n * created by its use.\n *\n * It is not required (and not recommended) to bypass security if the value is safe, e.g. a URL that\n * does not start with a suspicious protocol, or an HTML snippet that does not contain dangerous\n * code. The sanitizer leaves safe values intact.\n *\n * @security Calling any of the `bypassSecurityTrust...` APIs disables Angular's built-in\n * sanitization for the value passed in. Carefully check and audit all values and code paths going\n * into this call. Make sure any user data is appropriately escaped for this security context.\n * For more detail, see the [Security Guide](https://g.co/ng/security).\n *\n * @publicApi\n */\nclass DomSanitizer {\n}\nDomSanitizer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: DomSanitizer, deps: [], target: i0.ɵɵFactoryTarget.Injectable });\nDomSanitizer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: DomSanitizer, providedIn: 'root', useExisting: i0.forwardRef(function () { return DomSanitizerImpl; }) });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: DomSanitizer, decorators: [{\n            type: Injectable,\n            args: [{ providedIn: 'root', useExisting: forwardRef(() => DomSanitizerImpl) }]\n        }] });\nfunction domSanitizerImplFactory(injector) {\n    return new DomSanitizerImpl(injector.get(DOCUMENT));\n}\nclass DomSanitizerImpl extends DomSanitizer {\n    constructor(_doc) {\n        super();\n        this._doc = _doc;\n    }\n    sanitize(ctx, value) {\n        if (value == null)\n            return null;\n        switch (ctx) {\n            case SecurityContext.NONE:\n                return value;\n            case SecurityContext.HTML:\n                if (ɵallowSanitizationBypassAndThrow(value, \"HTML\" /* BypassType.Html */)) {\n                    return ɵunwrapSafeValue(value);\n                }\n                return ɵ_sanitizeHtml(this._doc, String(value)).toString();\n            case SecurityContext.STYLE:\n                if (ɵallowSanitizationBypassAndThrow(value, \"Style\" /* BypassType.Style */)) {\n                    return ɵunwrapSafeValue(value);\n                }\n                return value;\n            case SecurityContext.SCRIPT:\n                if (ɵallowSanitizationBypassAndThrow(value, \"Script\" /* BypassType.Script */)) {\n                    return ɵunwrapSafeValue(value);\n                }\n                throw new Error('unsafe value used in a script context');\n            case SecurityContext.URL:\n                if (ɵallowSanitizationBypassAndThrow(value, \"URL\" /* BypassType.Url */)) {\n                    return ɵunwrapSafeValue(value);\n                }\n                return ɵ_sanitizeUrl(String(value));\n            case SecurityContext.RESOURCE_URL:\n                if (ɵallowSanitizationBypassAndThrow(value, \"ResourceURL\" /* BypassType.ResourceUrl */)) {\n                    return ɵunwrapSafeValue(value);\n                }\n                throw new Error(`unsafe value used in a resource URL context (see ${ɵXSS_SECURITY_URL})`);\n            default:\n                throw new Error(`Unexpected SecurityContext ${ctx} (see ${ɵXSS_SECURITY_URL})`);\n        }\n    }\n    bypassSecurityTrustHtml(value) {\n        return ɵbypassSanitizationTrustHtml(value);\n    }\n    bypassSecurityTrustStyle(value) {\n        return ɵbypassSanitizationTrustStyle(value);\n    }\n    bypassSecurityTrustScript(value) {\n        return ɵbypassSanitizationTrustScript(value);\n    }\n    bypassSecurityTrustUrl(value) {\n        return ɵbypassSanitizationTrustUrl(value);\n    }\n    bypassSecurityTrustResourceUrl(value) {\n        return ɵbypassSanitizationTrustResourceUrl(value);\n    }\n}\nDomSanitizerImpl.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: DomSanitizerImpl, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });\nDomSanitizerImpl.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: DomSanitizerImpl, providedIn: 'root', useFactory: domSanitizerImplFactory, deps: [{ token: Injector }] });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: DomSanitizerImpl, decorators: [{\n            type: Injectable,\n            args: [{ providedIn: 'root', useFactory: domSanitizerImplFactory, deps: [Injector] }]\n        }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n                    type: Inject,\n                    args: [DOCUMENT]\n                }] }]; } });\n\n/**\n * @module\n * @description\n * Entry point for all public APIs of the platform-browser package.\n */\n/**\n * @publicApi\n */\nconst VERSION = new Version('15.2.10');\n\n/**\n * @module\n * @description\n * Entry point for all public APIs of this package.\n */\n// This file only reexports content of the `src` folder. Keep it that way.\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 { BrowserModule, BrowserTransferStateModule, By, DomSanitizer, EVENT_MANAGER_PLUGINS, EventManager, HAMMER_GESTURE_CONFIG, HAMMER_LOADER, HammerGestureConfig, HammerModule, Meta, REMOVE_STYLES_ON_COMPONENT_DESTROY, Title, TransferState, VERSION, bootstrapApplication, createApplication, disableDebugTools, enableDebugTools, makeStateKey, platformBrowser, provideProtractorTestingSupport, BrowserDomAdapter as ɵBrowserDomAdapter, BrowserGetTestability as ɵBrowserGetTestability, DomEventsPlugin as ɵDomEventsPlugin, DomRendererFactory2 as ɵDomRendererFactory2, DomSanitizerImpl as ɵDomSanitizerImpl, DomSharedStylesHost as ɵDomSharedStylesHost, HammerGesturesPlugin as ɵHammerGesturesPlugin, INTERNAL_BROWSER_PLATFORM_PROVIDERS as ɵINTERNAL_BROWSER_PLATFORM_PROVIDERS, KeyEventsPlugin as ɵKeyEventsPlugin, NAMESPACE_URIS as ɵNAMESPACE_URIS, SharedStylesHost as ɵSharedStylesHost, TRANSITION_ID as ɵTRANSITION_ID, escapeHtml as ɵescapeHtml, flattenStyles as ɵflattenStyles, initDomAdapter as ɵinitDomAdapter, shimContentAttribute as ɵshimContentAttribute, shimHostAttribute as ɵshimHostAttribute };\n","/**\n * @license Angular v15.2.10\n * (c) 2010-2022 Google LLC. https://angular.io/\n * License: MIT\n */\n\nimport * as i0 from '@angular/core';\nimport { ɵisObservable, ɵisPromise, ɵRuntimeError, Injectable, EventEmitter, inject, ViewContainerRef, ChangeDetectorRef, EnvironmentInjector, Directive, Input, Output, Component, createEnvironmentInjector, ɵisNgModule, isStandalone, ComponentFactoryResolver, ɵisInjectable, InjectionToken, Compiler, InjectFlags, NgModuleFactory, ɵConsole, NgZone, ɵcoerceToBoolean, ɵɵsanitizeUrlOrResourceUrl, Attribute, HostBinding, HostListener, Optional, ContentChildren, makeEnvironmentProviders, APP_BOOTSTRAP_LISTENER, ENVIRONMENT_INITIALIZER, Injector, ApplicationRef, APP_INITIALIZER, NgProbeToken, SkipSelf, NgModule, Inject, Version } from '@angular/core';\nimport { from, of, BehaviorSubject, EmptyError, combineLatest, concat, defer, pipe, throwError, Observable, EMPTY, ConnectableObservable, Subject } from 'rxjs';\nimport * as i3 from '@angular/common';\nimport { Location, ViewportScroller, LOCATION_INITIALIZED, LocationStrategy, HashLocationStrategy, PathLocationStrategy } from '@angular/common';\nimport { map, switchMap, take, startWith, filter, mergeMap, first, concatMap, tap, catchError, scan, last as last$1, takeWhile, defaultIfEmpty, takeLast, mapTo, finalize, refCount, mergeAll } from 'rxjs/operators';\nimport * as i1 from '@angular/platform-browser';\n\n/**\n * The primary routing outlet.\n *\n * @publicApi\n */\nconst PRIMARY_OUTLET = 'primary';\n/**\n * A private symbol used to store the value of `Route.title` inside the `Route.data` if it is a\n * static string or `Route.resolve` if anything else. This allows us to reuse the existing route\n * data/resolvers to support the title feature without new instrumentation in the `Router` pipeline.\n */\nconst RouteTitleKey = Symbol('RouteTitle');\nclass ParamsAsMap {\n    constructor(params) {\n        this.params = params || {};\n    }\n    has(name) {\n        return Object.prototype.hasOwnProperty.call(this.params, name);\n    }\n    get(name) {\n        if (this.has(name)) {\n            const v = this.params[name];\n            return Array.isArray(v) ? v[0] : v;\n        }\n        return null;\n    }\n    getAll(name) {\n        if (this.has(name)) {\n            const v = this.params[name];\n            return Array.isArray(v) ? v : [v];\n        }\n        return [];\n    }\n    get keys() {\n        return Object.keys(this.params);\n    }\n}\n/**\n * Converts a `Params` instance to a `ParamMap`.\n * @param params The instance to convert.\n * @returns The new map instance.\n *\n * @publicApi\n */\nfunction convertToParamMap(params) {\n    return new ParamsAsMap(params);\n}\n/**\n * Matches the route configuration (`route`) against the actual URL (`segments`).\n *\n * When no matcher is defined on a `Route`, this is the matcher used by the Router by default.\n *\n * @param segments The remaining unmatched segments in the current navigation\n * @param segmentGroup The current segment group being matched\n * @param route The `Route` to match against.\n *\n * @see UrlMatchResult\n * @see Route\n *\n * @returns The resulting match information or `null` if the `route` should not match.\n * @publicApi\n */\nfunction defaultUrlMatcher(segments, segmentGroup, route) {\n    const parts = route.path.split('/');\n    if (parts.length > segments.length) {\n        // The actual URL is shorter than the config, no match\n        return null;\n    }\n    if (route.pathMatch === 'full' &&\n        (segmentGroup.hasChildren() || parts.length < segments.length)) {\n        // The config is longer than the actual URL but we are looking for a full match, return null\n        return null;\n    }\n    const posParams = {};\n    // Check each config part against the actual URL\n    for (let index = 0; index < parts.length; index++) {\n        const part = parts[index];\n        const segment = segments[index];\n        const isParameter = part.startsWith(':');\n        if (isParameter) {\n            posParams[part.substring(1)] = segment;\n        }\n        else if (part !== segment.path) {\n            // The actual URL part does not match the config, no match\n            return null;\n        }\n    }\n    return { consumed: segments.slice(0, parts.length), posParams };\n}\n\nfunction shallowEqualArrays(a, b) {\n    if (a.length !== b.length)\n        return false;\n    for (let i = 0; i < a.length; ++i) {\n        if (!shallowEqual(a[i], b[i]))\n            return false;\n    }\n    return true;\n}\nfunction shallowEqual(a, b) {\n    // While `undefined` should never be possible, it would sometimes be the case in IE 11\n    // and pre-chromium Edge. The check below accounts for this edge case.\n    const k1 = a ? Object.keys(a) : undefined;\n    const k2 = b ? Object.keys(b) : undefined;\n    if (!k1 || !k2 || k1.length != k2.length) {\n        return false;\n    }\n    let key;\n    for (let i = 0; i < k1.length; i++) {\n        key = k1[i];\n        if (!equalArraysOrString(a[key], b[key])) {\n            return false;\n        }\n    }\n    return true;\n}\n/**\n * Test equality for arrays of strings or a string.\n */\nfunction equalArraysOrString(a, b) {\n    if (Array.isArray(a) && Array.isArray(b)) {\n        if (a.length !== b.length)\n            return false;\n        const aSorted = [...a].sort();\n        const bSorted = [...b].sort();\n        return aSorted.every((val, index) => bSorted[index] === val);\n    }\n    else {\n        return a === b;\n    }\n}\n/**\n * Flattens single-level nested arrays.\n */\nfunction flatten(arr) {\n    return Array.prototype.concat.apply([], arr);\n}\n/**\n * Return the last element of an array.\n */\nfunction last(a) {\n    return a.length > 0 ? a[a.length - 1] : null;\n}\n/**\n * Verifys all booleans in an array are `true`.\n */\nfunction and(bools) {\n    return !bools.some(v => !v);\n}\nfunction forEach(map, callback) {\n    for (const prop in map) {\n        if (map.hasOwnProperty(prop)) {\n            callback(map[prop], prop);\n        }\n    }\n}\nfunction wrapIntoObservable(value) {\n    if (ɵisObservable(value)) {\n        return value;\n    }\n    if (ɵisPromise(value)) {\n        // Use `Promise.resolve()` to wrap promise-like instances.\n        // Required ie when a Resolver returns a AngularJS `$q` promise to correctly trigger the\n        // change detection.\n        return from(Promise.resolve(value));\n    }\n    return of(value);\n}\n\nconst NG_DEV_MODE$b = typeof ngDevMode === 'undefined' || ngDevMode;\nconst pathCompareMap = {\n    'exact': equalSegmentGroups,\n    'subset': containsSegmentGroup,\n};\nconst paramCompareMap = {\n    'exact': equalParams,\n    'subset': containsParams,\n    'ignored': () => true,\n};\nfunction containsTree(container, containee, options) {\n    return pathCompareMap[options.paths](container.root, containee.root, options.matrixParams) &&\n        paramCompareMap[options.queryParams](container.queryParams, containee.queryParams) &&\n        !(options.fragment === 'exact' && container.fragment !== containee.fragment);\n}\nfunction equalParams(container, containee) {\n    // TODO: This does not handle array params correctly.\n    return shallowEqual(container, containee);\n}\nfunction equalSegmentGroups(container, containee, matrixParams) {\n    if (!equalPath(container.segments, containee.segments))\n        return false;\n    if (!matrixParamsMatch(container.segments, containee.segments, matrixParams)) {\n        return false;\n    }\n    if (container.numberOfChildren !== containee.numberOfChildren)\n        return false;\n    for (const c in containee.children) {\n        if (!container.children[c])\n            return false;\n        if (!equalSegmentGroups(container.children[c], containee.children[c], matrixParams))\n            return false;\n    }\n    return true;\n}\nfunction containsParams(container, containee) {\n    return Object.keys(containee).length <= Object.keys(container).length &&\n        Object.keys(containee).every(key => equalArraysOrString(container[key], containee[key]));\n}\nfunction containsSegmentGroup(container, containee, matrixParams) {\n    return containsSegmentGroupHelper(container, containee, containee.segments, matrixParams);\n}\nfunction containsSegmentGroupHelper(container, containee, containeePaths, matrixParams) {\n    if (container.segments.length > containeePaths.length) {\n        const current = container.segments.slice(0, containeePaths.length);\n        if (!equalPath(current, containeePaths))\n            return false;\n        if (containee.hasChildren())\n            return false;\n        if (!matrixParamsMatch(current, containeePaths, matrixParams))\n            return false;\n        return true;\n    }\n    else if (container.segments.length === containeePaths.length) {\n        if (!equalPath(container.segments, containeePaths))\n            return false;\n        if (!matrixParamsMatch(container.segments, containeePaths, matrixParams))\n            return false;\n        for (const c in containee.children) {\n            if (!container.children[c])\n                return false;\n            if (!containsSegmentGroup(container.children[c], containee.children[c], matrixParams)) {\n                return false;\n            }\n        }\n        return true;\n    }\n    else {\n        const current = containeePaths.slice(0, container.segments.length);\n        const next = containeePaths.slice(container.segments.length);\n        if (!equalPath(container.segments, current))\n            return false;\n        if (!matrixParamsMatch(container.segments, current, matrixParams))\n            return false;\n        if (!container.children[PRIMARY_OUTLET])\n            return false;\n        return containsSegmentGroupHelper(container.children[PRIMARY_OUTLET], containee, next, matrixParams);\n    }\n}\nfunction matrixParamsMatch(containerPaths, containeePaths, options) {\n    return containeePaths.every((containeeSegment, i) => {\n        return paramCompareMap[options](containerPaths[i].parameters, containeeSegment.parameters);\n    });\n}\n/**\n * @description\n *\n * Represents the parsed URL.\n *\n * Since a router state is a tree, and the URL is nothing but a serialized state, the URL is a\n * serialized tree.\n * UrlTree is a data structure that provides a lot of affordances in dealing with URLs\n *\n * @usageNotes\n * ### Example\n *\n * ```\n * @Component({templateUrl:'template.html'})\n * class MyComponent {\n *   constructor(router: Router) {\n *     const tree: UrlTree =\n *       router.parseUrl('/team/33/(user/victor//support:help)?debug=true#fragment');\n *     const f = tree.fragment; // return 'fragment'\n *     const q = tree.queryParams; // returns {debug: 'true'}\n *     const g: UrlSegmentGroup = tree.root.children[PRIMARY_OUTLET];\n *     const s: UrlSegment[] = g.segments; // returns 2 segments 'team' and '33'\n *     g.children[PRIMARY_OUTLET].segments; // returns 2 segments 'user' and 'victor'\n *     g.children['support'].segments; // return 1 segment 'help'\n *   }\n * }\n * ```\n *\n * @publicApi\n */\nclass UrlTree {\n    constructor(\n    /** The root segment group of the URL tree */\n    root = new UrlSegmentGroup([], {}), \n    /** The query params of the URL */\n    queryParams = {}, \n    /** The fragment of the URL */\n    fragment = null) {\n        this.root = root;\n        this.queryParams = queryParams;\n        this.fragment = fragment;\n        if (NG_DEV_MODE$b) {\n            if (root.segments.length > 0) {\n                throw new ɵRuntimeError(4015 /* RuntimeErrorCode.INVALID_ROOT_URL_SEGMENT */, 'The root `UrlSegmentGroup` should not contain `segments`. ' +\n                    'Instead, these segments belong in the `children` so they can be associated with a named outlet.');\n            }\n        }\n    }\n    get queryParamMap() {\n        if (!this._queryParamMap) {\n            this._queryParamMap = convertToParamMap(this.queryParams);\n        }\n        return this._queryParamMap;\n    }\n    /** @docsNotRequired */\n    toString() {\n        return DEFAULT_SERIALIZER.serialize(this);\n    }\n}\n/**\n * @description\n *\n * Represents the parsed URL segment group.\n *\n * See `UrlTree` for more information.\n *\n * @publicApi\n */\nclass UrlSegmentGroup {\n    constructor(\n    /** The URL segments of this group. See `UrlSegment` for more information */\n    segments, \n    /** The list of children of this group */\n    children) {\n        this.segments = segments;\n        this.children = children;\n        /** The parent node in the url tree */\n        this.parent = null;\n        forEach(children, (v, k) => v.parent = this);\n    }\n    /** Whether the segment has child segments */\n    hasChildren() {\n        return this.numberOfChildren > 0;\n    }\n    /** Number of child segments */\n    get numberOfChildren() {\n        return Object.keys(this.children).length;\n    }\n    /** @docsNotRequired */\n    toString() {\n        return serializePaths(this);\n    }\n}\n/**\n * @description\n *\n * Represents a single URL segment.\n *\n * A UrlSegment is a part of a URL between the two slashes. It contains a path and the matrix\n * parameters associated with the segment.\n *\n * @usageNotes\n * ### Example\n *\n * ```\n * @Component({templateUrl:'template.html'})\n * class MyComponent {\n *   constructor(router: Router) {\n *     const tree: UrlTree = router.parseUrl('/team;id=33');\n *     const g: UrlSegmentGroup = tree.root.children[PRIMARY_OUTLET];\n *     const s: UrlSegment[] = g.segments;\n *     s[0].path; // returns 'team'\n *     s[0].parameters; // returns {id: 33}\n *   }\n * }\n * ```\n *\n * @publicApi\n */\nclass UrlSegment {\n    constructor(\n    /** The path part of a URL segment */\n    path, \n    /** The matrix parameters associated with a segment */\n    parameters) {\n        this.path = path;\n        this.parameters = parameters;\n    }\n    get parameterMap() {\n        if (!this._parameterMap) {\n            this._parameterMap = convertToParamMap(this.parameters);\n        }\n        return this._parameterMap;\n    }\n    /** @docsNotRequired */\n    toString() {\n        return serializePath(this);\n    }\n}\nfunction equalSegments(as, bs) {\n    return equalPath(as, bs) && as.every((a, i) => shallowEqual(a.parameters, bs[i].parameters));\n}\nfunction equalPath(as, bs) {\n    if (as.length !== bs.length)\n        return false;\n    return as.every((a, i) => a.path === bs[i].path);\n}\nfunction mapChildrenIntoArray(segment, fn) {\n    let res = [];\n    forEach(segment.children, (child, childOutlet) => {\n        if (childOutlet === PRIMARY_OUTLET) {\n            res = res.concat(fn(child, childOutlet));\n        }\n    });\n    forEach(segment.children, (child, childOutlet) => {\n        if (childOutlet !== PRIMARY_OUTLET) {\n            res = res.concat(fn(child, childOutlet));\n        }\n    });\n    return res;\n}\n/**\n * @description\n *\n * Serializes and deserializes a URL string into a URL tree.\n *\n * The url serialization strategy is customizable. You can\n * make all URLs case insensitive by providing a custom UrlSerializer.\n *\n * See `DefaultUrlSerializer` for an example of a URL serializer.\n *\n * @publicApi\n */\nclass UrlSerializer {\n}\nUrlSerializer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: UrlSerializer, deps: [], target: i0.ɵɵFactoryTarget.Injectable });\nUrlSerializer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: UrlSerializer, providedIn: 'root', useFactory: () => new DefaultUrlSerializer() });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: UrlSerializer, decorators: [{\n            type: Injectable,\n            args: [{ providedIn: 'root', useFactory: () => new DefaultUrlSerializer() }]\n        }] });\n/**\n * @description\n *\n * A default implementation of the `UrlSerializer`.\n *\n * Example URLs:\n *\n * ```\n * /inbox/33(popup:compose)\n * /inbox/33;open=true/messages/44\n * ```\n *\n * DefaultUrlSerializer uses parentheses to serialize secondary segments (e.g., popup:compose), the\n * colon syntax to specify the outlet, and the ';parameter=value' syntax (e.g., open=true) to\n * specify route specific parameters.\n *\n * @publicApi\n */\nclass DefaultUrlSerializer {\n    /** Parses a url into a `UrlTree` */\n    parse(url) {\n        const p = new UrlParser(url);\n        return new UrlTree(p.parseRootSegment(), p.parseQueryParams(), p.parseFragment());\n    }\n    /** Converts a `UrlTree` into a url */\n    serialize(tree) {\n        const segment = `/${serializeSegment(tree.root, true)}`;\n        const query = serializeQueryParams(tree.queryParams);\n        const fragment = typeof tree.fragment === `string` ? `#${encodeUriFragment(tree.fragment)}` : '';\n        return `${segment}${query}${fragment}`;\n    }\n}\nconst DEFAULT_SERIALIZER = new DefaultUrlSerializer();\nfunction serializePaths(segment) {\n    return segment.segments.map(p => serializePath(p)).join('/');\n}\nfunction serializeSegment(segment, root) {\n    if (!segment.hasChildren()) {\n        return serializePaths(segment);\n    }\n    if (root) {\n        const primary = segment.children[PRIMARY_OUTLET] ?\n            serializeSegment(segment.children[PRIMARY_OUTLET], false) :\n            '';\n        const children = [];\n        forEach(segment.children, (v, k) => {\n            if (k !== PRIMARY_OUTLET) {\n                children.push(`${k}:${serializeSegment(v, false)}`);\n            }\n        });\n        return children.length > 0 ? `${primary}(${children.join('//')})` : primary;\n    }\n    else {\n        const children = mapChildrenIntoArray(segment, (v, k) => {\n            if (k === PRIMARY_OUTLET) {\n                return [serializeSegment(segment.children[PRIMARY_OUTLET], false)];\n            }\n            return [`${k}:${serializeSegment(v, false)}`];\n        });\n        // use no parenthesis if the only child is a primary outlet route\n        if (Object.keys(segment.children).length === 1 && segment.children[PRIMARY_OUTLET] != null) {\n            return `${serializePaths(segment)}/${children[0]}`;\n        }\n        return `${serializePaths(segment)}/(${children.join('//')})`;\n    }\n}\n/**\n * Encodes a URI string with the default encoding. This function will only ever be called from\n * `encodeUriQuery` or `encodeUriSegment` as it's the base set of encodings to be used. We need\n * a custom encoding because encodeURIComponent is too aggressive and encodes stuff that doesn't\n * have to be encoded per https://url.spec.whatwg.org.\n */\nfunction encodeUriString(s) {\n    return encodeURIComponent(s)\n        .replace(/%40/g, '@')\n        .replace(/%3A/gi, ':')\n        .replace(/%24/g, '$')\n        .replace(/%2C/gi, ',');\n}\n/**\n * This function should be used to encode both keys and values in a query string key/value. In\n * the following URL, you need to call encodeUriQuery on \"k\" and \"v\":\n *\n * http://www.site.org/html;mk=mv?k=v#f\n */\nfunction encodeUriQuery(s) {\n    return encodeUriString(s).replace(/%3B/gi, ';');\n}\n/**\n * This function should be used to encode a URL fragment. In the following URL, you need to call\n * encodeUriFragment on \"f\":\n *\n * http://www.site.org/html;mk=mv?k=v#f\n */\nfunction encodeUriFragment(s) {\n    return encodeURI(s);\n}\n/**\n * This function should be run on any URI segment as well as the key and value in a key/value\n * pair for matrix params. In the following URL, you need to call encodeUriSegment on \"html\",\n * \"mk\", and \"mv\":\n *\n * http://www.site.org/html;mk=mv?k=v#f\n */\nfunction encodeUriSegment(s) {\n    return encodeUriString(s).replace(/\\(/g, '%28').replace(/\\)/g, '%29').replace(/%26/gi, '&');\n}\nfunction decode(s) {\n    return decodeURIComponent(s);\n}\n// Query keys/values should have the \"+\" replaced first, as \"+\" in a query string is \" \".\n// decodeURIComponent function will not decode \"+\" as a space.\nfunction decodeQuery(s) {\n    return decode(s.replace(/\\+/g, '%20'));\n}\nfunction serializePath(path) {\n    return `${encodeUriSegment(path.path)}${serializeMatrixParams(path.parameters)}`;\n}\nfunction serializeMatrixParams(params) {\n    return Object.keys(params)\n        .map(key => `;${encodeUriSegment(key)}=${encodeUriSegment(params[key])}`)\n        .join('');\n}\nfunction serializeQueryParams(params) {\n    const strParams = Object.keys(params)\n        .map((name) => {\n        const value = params[name];\n        return Array.isArray(value) ?\n            value.map(v => `${encodeUriQuery(name)}=${encodeUriQuery(v)}`).join('&') :\n            `${encodeUriQuery(name)}=${encodeUriQuery(value)}`;\n    })\n        .filter(s => !!s);\n    return strParams.length ? `?${strParams.join('&')}` : '';\n}\nconst SEGMENT_RE = /^[^\\/()?;=#]+/;\nfunction matchSegments(str) {\n    const match = str.match(SEGMENT_RE);\n    return match ? match[0] : '';\n}\nconst QUERY_PARAM_RE = /^[^=?&#]+/;\n// Return the name of the query param at the start of the string or an empty string\nfunction matchQueryParams(str) {\n    const match = str.match(QUERY_PARAM_RE);\n    return match ? match[0] : '';\n}\nconst QUERY_PARAM_VALUE_RE = /^[^&#]+/;\n// Return the value of the query param at the start of the string or an empty string\nfunction matchUrlQueryParamValue(str) {\n    const match = str.match(QUERY_PARAM_VALUE_RE);\n    return match ? match[0] : '';\n}\nclass UrlParser {\n    constructor(url) {\n        this.url = url;\n        this.remaining = url;\n    }\n    parseRootSegment() {\n        this.consumeOptional('/');\n        if (this.remaining === '' || this.peekStartsWith('?') || this.peekStartsWith('#')) {\n            return new UrlSegmentGroup([], {});\n        }\n        // The root segment group never has segments\n        return new UrlSegmentGroup([], this.parseChildren());\n    }\n    parseQueryParams() {\n        const params = {};\n        if (this.consumeOptional('?')) {\n            do {\n                this.parseQueryParam(params);\n            } while (this.consumeOptional('&'));\n        }\n        return params;\n    }\n    parseFragment() {\n        return this.consumeOptional('#') ? decodeURIComponent(this.remaining) : null;\n    }\n    parseChildren() {\n        if (this.remaining === '') {\n            return {};\n        }\n        this.consumeOptional('/');\n        const segments = [];\n        if (!this.peekStartsWith('(')) {\n            segments.push(this.parseSegment());\n        }\n        while (this.peekStartsWith('/') && !this.peekStartsWith('//') && !this.peekStartsWith('/(')) {\n            this.capture('/');\n            segments.push(this.parseSegment());\n        }\n        let children = {};\n        if (this.peekStartsWith('/(')) {\n            this.capture('/');\n            children = this.parseParens(true);\n        }\n        let res = {};\n        if (this.peekStartsWith('(')) {\n            res = this.parseParens(false);\n        }\n        if (segments.length > 0 || Object.keys(children).length > 0) {\n            res[PRIMARY_OUTLET] = new UrlSegmentGroup(segments, children);\n        }\n        return res;\n    }\n    // parse a segment with its matrix parameters\n    // ie `name;k1=v1;k2`\n    parseSegment() {\n        const path = matchSegments(this.remaining);\n        if (path === '' && this.peekStartsWith(';')) {\n            throw new ɵRuntimeError(4009 /* RuntimeErrorCode.EMPTY_PATH_WITH_PARAMS */, NG_DEV_MODE$b && `Empty path url segment cannot have parameters: '${this.remaining}'.`);\n        }\n        this.capture(path);\n        return new UrlSegment(decode(path), this.parseMatrixParams());\n    }\n    parseMatrixParams() {\n        const params = {};\n        while (this.consumeOptional(';')) {\n            this.parseParam(params);\n        }\n        return params;\n    }\n    parseParam(params) {\n        const key = matchSegments(this.remaining);\n        if (!key) {\n            return;\n        }\n        this.capture(key);\n        let value = '';\n        if (this.consumeOptional('=')) {\n            const valueMatch = matchSegments(this.remaining);\n            if (valueMatch) {\n                value = valueMatch;\n                this.capture(value);\n            }\n        }\n        params[decode(key)] = decode(value);\n    }\n    // Parse a single query parameter `name[=value]`\n    parseQueryParam(params) {\n        const key = matchQueryParams(this.remaining);\n        if (!key) {\n            return;\n        }\n        this.capture(key);\n        let value = '';\n        if (this.consumeOptional('=')) {\n            const valueMatch = matchUrlQueryParamValue(this.remaining);\n            if (valueMatch) {\n                value = valueMatch;\n                this.capture(value);\n            }\n        }\n        const decodedKey = decodeQuery(key);\n        const decodedVal = decodeQuery(value);\n        if (params.hasOwnProperty(decodedKey)) {\n            // Append to existing values\n            let currentVal = params[decodedKey];\n            if (!Array.isArray(currentVal)) {\n                currentVal = [currentVal];\n                params[decodedKey] = currentVal;\n            }\n            currentVal.push(decodedVal);\n        }\n        else {\n            // Create a new value\n            params[decodedKey] = decodedVal;\n        }\n    }\n    // parse `(a/b//outlet_name:c/d)`\n    parseParens(allowPrimary) {\n        const segments = {};\n        this.capture('(');\n        while (!this.consumeOptional(')') && this.remaining.length > 0) {\n            const path = matchSegments(this.remaining);\n            const next = this.remaining[path.length];\n            // if is is not one of these characters, then the segment was unescaped\n            // or the group was not closed\n            if (next !== '/' && next !== ')' && next !== ';') {\n                throw new ɵRuntimeError(4010 /* RuntimeErrorCode.UNPARSABLE_URL */, NG_DEV_MODE$b && `Cannot parse url '${this.url}'`);\n            }\n            let outletName = undefined;\n            if (path.indexOf(':') > -1) {\n                outletName = path.slice(0, path.indexOf(':'));\n                this.capture(outletName);\n                this.capture(':');\n            }\n            else if (allowPrimary) {\n                outletName = PRIMARY_OUTLET;\n            }\n            const children = this.parseChildren();\n            segments[outletName] = Object.keys(children).length === 1 ? children[PRIMARY_OUTLET] :\n                new UrlSegmentGroup([], children);\n            this.consumeOptional('//');\n        }\n        return segments;\n    }\n    peekStartsWith(str) {\n        return this.remaining.startsWith(str);\n    }\n    // Consumes the prefix when it is present and returns whether it has been consumed\n    consumeOptional(str) {\n        if (this.peekStartsWith(str)) {\n            this.remaining = this.remaining.substring(str.length);\n            return true;\n        }\n        return false;\n    }\n    capture(str) {\n        if (!this.consumeOptional(str)) {\n            throw new ɵRuntimeError(4011 /* RuntimeErrorCode.UNEXPECTED_VALUE_IN_URL */, NG_DEV_MODE$b && `Expected \"${str}\".`);\n        }\n    }\n}\nfunction createRoot(rootCandidate) {\n    return rootCandidate.segments.length > 0 ?\n        new UrlSegmentGroup([], { [PRIMARY_OUTLET]: rootCandidate }) :\n        rootCandidate;\n}\n/**\n * Recursively merges primary segment children into their parents and also drops empty children\n * (those which have no segments and no children themselves). The latter prevents serializing a\n * group into something like `/a(aux:)`, where `aux` is an empty child segment.\n */\nfunction squashSegmentGroup(segmentGroup) {\n    const newChildren = {};\n    for (const childOutlet of Object.keys(segmentGroup.children)) {\n        const child = segmentGroup.children[childOutlet];\n        const childCandidate = squashSegmentGroup(child);\n        // don't add empty children\n        if (childCandidate.segments.length > 0 || childCandidate.hasChildren()) {\n            newChildren[childOutlet] = childCandidate;\n        }\n    }\n    const s = new UrlSegmentGroup(segmentGroup.segments, newChildren);\n    return mergeTrivialChildren(s);\n}\n/**\n * When possible, merges the primary outlet child into the parent `UrlSegmentGroup`.\n *\n * When a segment group has only one child which is a primary outlet, merges that child into the\n * parent. That is, the child segment group's segments are merged into the `s` and the child's\n * children become the children of `s`. Think of this like a 'squash', merging the child segment\n * group into the parent.\n */\nfunction mergeTrivialChildren(s) {\n    if (s.numberOfChildren === 1 && s.children[PRIMARY_OUTLET]) {\n        const c = s.children[PRIMARY_OUTLET];\n        return new UrlSegmentGroup(s.segments.concat(c.segments), c.children);\n    }\n    return s;\n}\nfunction isUrlTree(v) {\n    return v instanceof UrlTree;\n}\n\nconst NG_DEV_MODE$a = typeof ngDevMode === 'undefined' || ngDevMode;\n/**\n * Creates a `UrlTree` relative to an `ActivatedRouteSnapshot`.\n *\n * @publicApi\n *\n *\n * @param relativeTo The `ActivatedRouteSnapshot` to apply the commands to\n * @param commands An array of URL fragments with which to construct the new URL tree.\n * If the path is static, can be the literal URL string. For a dynamic path, pass an array of path\n * segments, followed by the parameters for each segment.\n * The fragments are applied to the one provided in the `relativeTo` parameter.\n * @param queryParams The query parameters for the `UrlTree`. `null` if the `UrlTree` does not have\n *     any query parameters.\n * @param fragment The fragment for the `UrlTree`. `null` if the `UrlTree` does not have a fragment.\n *\n * @usageNotes\n *\n * ```\n * // create /team/33/user/11\n * createUrlTreeFromSnapshot(snapshot, ['/team', 33, 'user', 11]);\n *\n * // create /team/33;expand=true/user/11\n * createUrlTreeFromSnapshot(snapshot, ['/team', 33, {expand: true}, 'user', 11]);\n *\n * // you can collapse static segments like this (this works only with the first passed-in value):\n * createUrlTreeFromSnapshot(snapshot, ['/team/33/user', userId]);\n *\n * // If the first segment can contain slashes, and you do not want the router to split it,\n * // you can do the following:\n * createUrlTreeFromSnapshot(snapshot, [{segmentPath: '/one/two'}]);\n *\n * // create /team/33/(user/11//right:chat)\n * createUrlTreeFromSnapshot(snapshot, ['/team', 33, {outlets: {primary: 'user/11', right:\n * 'chat'}}], null, null);\n *\n * // remove the right secondary node\n * createUrlTreeFromSnapshot(snapshot, ['/team', 33, {outlets: {primary: 'user/11', right: null}}]);\n *\n * // For the examples below, assume the current URL is for the `/team/33/user/11` and the\n * `ActivatedRouteSnapshot` points to `user/11`:\n *\n * // navigate to /team/33/user/11/details\n * createUrlTreeFromSnapshot(snapshot, ['details']);\n *\n * // navigate to /team/33/user/22\n * createUrlTreeFromSnapshot(snapshot, ['../22']);\n *\n * // navigate to /team/44/user/22\n * createUrlTreeFromSnapshot(snapshot, ['../../team/44/user/22']);\n * ```\n */\nfunction createUrlTreeFromSnapshot(relativeTo, commands, queryParams = null, fragment = null) {\n    const relativeToUrlSegmentGroup = createSegmentGroupFromRoute(relativeTo);\n    return createUrlTreeFromSegmentGroup(relativeToUrlSegmentGroup, commands, queryParams, fragment);\n}\nfunction createSegmentGroupFromRoute(route) {\n    let targetGroup;\n    function createSegmentGroupFromRouteRecursive(currentRoute) {\n        const childOutlets = {};\n        for (const childSnapshot of currentRoute.children) {\n            const root = createSegmentGroupFromRouteRecursive(childSnapshot);\n            childOutlets[childSnapshot.outlet] = root;\n        }\n        const segmentGroup = new UrlSegmentGroup(currentRoute.url, childOutlets);\n        if (currentRoute === route) {\n            targetGroup = segmentGroup;\n        }\n        return segmentGroup;\n    }\n    const rootCandidate = createSegmentGroupFromRouteRecursive(route.root);\n    const rootSegmentGroup = createRoot(rootCandidate);\n    return targetGroup ?? rootSegmentGroup;\n}\nfunction createUrlTreeFromSegmentGroup(relativeTo, commands, queryParams, fragment) {\n    let root = relativeTo;\n    while (root.parent) {\n        root = root.parent;\n    }\n    // There are no commands so the `UrlTree` goes to the same path as the one created from the\n    // `UrlSegmentGroup`. All we need to do is update the `queryParams` and `fragment` without\n    // applying any other logic.\n    if (commands.length === 0) {\n        return tree(root, root, root, queryParams, fragment);\n    }\n    const nav = computeNavigation(commands);\n    if (nav.toRoot()) {\n        return tree(root, root, new UrlSegmentGroup([], {}), queryParams, fragment);\n    }\n    const position = findStartingPositionForTargetGroup(nav, root, relativeTo);\n    const newSegmentGroup = position.processChildren ?\n        updateSegmentGroupChildren(position.segmentGroup, position.index, nav.commands) :\n        updateSegmentGroup(position.segmentGroup, position.index, nav.commands);\n    return tree(root, position.segmentGroup, newSegmentGroup, queryParams, fragment);\n}\nfunction createUrlTree(route, urlTree, commands, queryParams, fragment) {\n    if (commands.length === 0) {\n        return tree(urlTree.root, urlTree.root, urlTree.root, queryParams, fragment);\n    }\n    const nav = computeNavigation(commands);\n    if (nav.toRoot()) {\n        return tree(urlTree.root, urlTree.root, new UrlSegmentGroup([], {}), queryParams, fragment);\n    }\n    function createTreeUsingPathIndex(lastPathIndex) {\n        const startingPosition = findStartingPosition(nav, urlTree, route.snapshot?._urlSegment, lastPathIndex);\n        const segmentGroup = startingPosition.processChildren ?\n            updateSegmentGroupChildren(startingPosition.segmentGroup, startingPosition.index, nav.commands) :\n            updateSegmentGroup(startingPosition.segmentGroup, startingPosition.index, nav.commands);\n        return tree(urlTree.root, startingPosition.segmentGroup, segmentGroup, queryParams, fragment);\n    }\n    // Note: The types should disallow `snapshot` from being `undefined` but due to test mocks, this\n    // may be the case. Since we try to access it at an earlier point before the refactor to add the\n    // warning for `relativeLinkResolution: 'legacy'`, this may cause failures in tests where it\n    // didn't before.\n    const result = createTreeUsingPathIndex(route.snapshot?._lastPathIndex);\n    return result;\n}\nfunction isMatrixParams(command) {\n    return typeof command === 'object' && command != null && !command.outlets && !command.segmentPath;\n}\n/**\n * Determines if a given command has an `outlets` map. When we encounter a command\n * with an outlets k/v map, we need to apply each outlet individually to the existing segment.\n */\nfunction isCommandWithOutlets(command) {\n    return typeof command === 'object' && command != null && command.outlets;\n}\nfunction tree(oldRoot, oldSegmentGroup, newSegmentGroup, queryParams, fragment) {\n    let qp = {};\n    if (queryParams) {\n        forEach(queryParams, (value, name) => {\n            qp[name] = Array.isArray(value) ? value.map((v) => `${v}`) : `${value}`;\n        });\n    }\n    let rootCandidate;\n    if (oldRoot === oldSegmentGroup) {\n        rootCandidate = newSegmentGroup;\n    }\n    else {\n        rootCandidate = replaceSegment(oldRoot, oldSegmentGroup, newSegmentGroup);\n    }\n    const newRoot = createRoot(squashSegmentGroup(rootCandidate));\n    return new UrlTree(newRoot, qp, fragment);\n}\n/**\n * Replaces the `oldSegment` which is located in some child of the `current` with the `newSegment`.\n * This also has the effect of creating new `UrlSegmentGroup` copies to update references. This\n * shouldn't be necessary but the fallback logic for an invalid ActivatedRoute in the creation uses\n * the Router's current url tree. If we don't create new segment groups, we end up modifying that\n * value.\n */\nfunction replaceSegment(current, oldSegment, newSegment) {\n    const children = {};\n    forEach(current.children, (c, outletName) => {\n        if (c === oldSegment) {\n            children[outletName] = newSegment;\n        }\n        else {\n            children[outletName] = replaceSegment(c, oldSegment, newSegment);\n        }\n    });\n    return new UrlSegmentGroup(current.segments, children);\n}\nclass Navigation {\n    constructor(isAbsolute, numberOfDoubleDots, commands) {\n        this.isAbsolute = isAbsolute;\n        this.numberOfDoubleDots = numberOfDoubleDots;\n        this.commands = commands;\n        if (isAbsolute && commands.length > 0 && isMatrixParams(commands[0])) {\n            throw new ɵRuntimeError(4003 /* RuntimeErrorCode.ROOT_SEGMENT_MATRIX_PARAMS */, NG_DEV_MODE$a && 'Root segment cannot have matrix parameters');\n        }\n        const cmdWithOutlet = commands.find(isCommandWithOutlets);\n        if (cmdWithOutlet && cmdWithOutlet !== last(commands)) {\n            throw new ɵRuntimeError(4004 /* RuntimeErrorCode.MISPLACED_OUTLETS_COMMAND */, NG_DEV_MODE$a && '{outlets:{}} has to be the last command');\n        }\n    }\n    toRoot() {\n        return this.isAbsolute && this.commands.length === 1 && this.commands[0] == '/';\n    }\n}\n/** Transforms commands to a normalized `Navigation` */\nfunction computeNavigation(commands) {\n    if ((typeof commands[0] === 'string') && commands.length === 1 && commands[0] === '/') {\n        return new Navigation(true, 0, commands);\n    }\n    let numberOfDoubleDots = 0;\n    let isAbsolute = false;\n    const res = commands.reduce((res, cmd, cmdIdx) => {\n        if (typeof cmd === 'object' && cmd != null) {\n            if (cmd.outlets) {\n                const outlets = {};\n                forEach(cmd.outlets, (commands, name) => {\n                    outlets[name] = typeof commands === 'string' ? commands.split('/') : commands;\n                });\n                return [...res, { outlets }];\n            }\n            if (cmd.segmentPath) {\n                return [...res, cmd.segmentPath];\n            }\n        }\n        if (!(typeof cmd === 'string')) {\n            return [...res, cmd];\n        }\n        if (cmdIdx === 0) {\n            cmd.split('/').forEach((urlPart, partIndex) => {\n                if (partIndex == 0 && urlPart === '.') {\n                    // skip './a'\n                }\n                else if (partIndex == 0 && urlPart === '') { //  '/a'\n                    isAbsolute = true;\n                }\n                else if (urlPart === '..') { //  '../a'\n                    numberOfDoubleDots++;\n                }\n                else if (urlPart != '') {\n                    res.push(urlPart);\n                }\n            });\n            return res;\n        }\n        return [...res, cmd];\n    }, []);\n    return new Navigation(isAbsolute, numberOfDoubleDots, res);\n}\nclass Position {\n    constructor(segmentGroup, processChildren, index) {\n        this.segmentGroup = segmentGroup;\n        this.processChildren = processChildren;\n        this.index = index;\n    }\n}\nfunction findStartingPositionForTargetGroup(nav, root, target) {\n    if (nav.isAbsolute) {\n        return new Position(root, true, 0);\n    }\n    if (!target) {\n        // `NaN` is used only to maintain backwards compatibility with incorrectly mocked\n        // `ActivatedRouteSnapshot` in tests. In prior versions of this code, the position here was\n        // determined based on an internal property that was rarely mocked, resulting in `NaN`. In\n        // reality, this code path should _never_ be touched since `target` is not allowed to be falsey.\n        return new Position(root, false, NaN);\n    }\n    if (target.parent === null) {\n        return new Position(target, true, 0);\n    }\n    const modifier = isMatrixParams(nav.commands[0]) ? 0 : 1;\n    const index = target.segments.length - 1 + modifier;\n    return createPositionApplyingDoubleDots(target, index, nav.numberOfDoubleDots);\n}\nfunction findStartingPosition(nav, tree, segmentGroup, lastPathIndex) {\n    if (nav.isAbsolute) {\n        return new Position(tree.root, true, 0);\n    }\n    if (lastPathIndex === -1) {\n        // Pathless ActivatedRoute has _lastPathIndex === -1 but should not process children\n        // see issue #26224, #13011, #35687\n        // However, if the ActivatedRoute is the root we should process children like above.\n        const processChildren = segmentGroup === tree.root;\n        return new Position(segmentGroup, processChildren, 0);\n    }\n    const modifier = isMatrixParams(nav.commands[0]) ? 0 : 1;\n    const index = lastPathIndex + modifier;\n    return createPositionApplyingDoubleDots(segmentGroup, index, nav.numberOfDoubleDots);\n}\nfunction createPositionApplyingDoubleDots(group, index, numberOfDoubleDots) {\n    let g = group;\n    let ci = index;\n    let dd = numberOfDoubleDots;\n    while (dd > ci) {\n        dd -= ci;\n        g = g.parent;\n        if (!g) {\n            throw new ɵRuntimeError(4005 /* RuntimeErrorCode.INVALID_DOUBLE_DOTS */, NG_DEV_MODE$a && 'Invalid number of \\'../\\'');\n        }\n        ci = g.segments.length;\n    }\n    return new Position(g, false, ci - dd);\n}\nfunction getOutlets(commands) {\n    if (isCommandWithOutlets(commands[0])) {\n        return commands[0].outlets;\n    }\n    return { [PRIMARY_OUTLET]: commands };\n}\nfunction updateSegmentGroup(segmentGroup, startIndex, commands) {\n    if (!segmentGroup) {\n        segmentGroup = new UrlSegmentGroup([], {});\n    }\n    if (segmentGroup.segments.length === 0 && segmentGroup.hasChildren()) {\n        return updateSegmentGroupChildren(segmentGroup, startIndex, commands);\n    }\n    const m = prefixedWith(segmentGroup, startIndex, commands);\n    const slicedCommands = commands.slice(m.commandIndex);\n    if (m.match && m.pathIndex < segmentGroup.segments.length) {\n        const g = new UrlSegmentGroup(segmentGroup.segments.slice(0, m.pathIndex), {});\n        g.children[PRIMARY_OUTLET] =\n            new UrlSegmentGroup(segmentGroup.segments.slice(m.pathIndex), segmentGroup.children);\n        return updateSegmentGroupChildren(g, 0, slicedCommands);\n    }\n    else if (m.match && slicedCommands.length === 0) {\n        return new UrlSegmentGroup(segmentGroup.segments, {});\n    }\n    else if (m.match && !segmentGroup.hasChildren()) {\n        return createNewSegmentGroup(segmentGroup, startIndex, commands);\n    }\n    else if (m.match) {\n        return updateSegmentGroupChildren(segmentGroup, 0, slicedCommands);\n    }\n    else {\n        return createNewSegmentGroup(segmentGroup, startIndex, commands);\n    }\n}\nfunction updateSegmentGroupChildren(segmentGroup, startIndex, commands) {\n    if (commands.length === 0) {\n        return new UrlSegmentGroup(segmentGroup.segments, {});\n    }\n    else {\n        const outlets = getOutlets(commands);\n        const children = {};\n        // If the set of commands does not apply anything to the primary outlet and the child segment is\n        // an empty path primary segment on its own, we want to apply the commands to the empty child\n        // path rather than here. The outcome is that the empty primary child is effectively removed\n        // from the final output UrlTree. Imagine the following config:\n        //\n        // {path: '', children: [{path: '**', outlet: 'popup'}]}.\n        //\n        // Navigation to /(popup:a) will activate the child outlet correctly Given a follow-up\n        // navigation with commands\n        // ['/', {outlets: {'popup': 'b'}}], we _would not_ want to apply the outlet commands to the\n        // root segment because that would result in\n        // //(popup:a)(popup:b) since the outlet command got applied one level above where it appears in\n        // the `ActivatedRoute` rather than updating the existing one.\n        //\n        // Because empty paths do not appear in the URL segments and the fact that the segments used in\n        // the output `UrlTree` are squashed to eliminate these empty paths where possible\n        // https://github.com/angular/angular/blob/13f10de40e25c6900ca55bd83b36bd533dacfa9e/packages/router/src/url_tree.ts#L755\n        // it can be hard to determine what is the right thing to do when applying commands to a\n        // `UrlSegmentGroup` that is created from an \"unsquashed\"/expanded `ActivatedRoute` tree.\n        // This code effectively \"squashes\" empty path primary routes when they have no siblings on\n        // the same level of the tree.\n        if (!outlets[PRIMARY_OUTLET] && segmentGroup.children[PRIMARY_OUTLET] &&\n            segmentGroup.numberOfChildren === 1 &&\n            segmentGroup.children[PRIMARY_OUTLET].segments.length === 0) {\n            const childrenOfEmptyChild = updateSegmentGroupChildren(segmentGroup.children[PRIMARY_OUTLET], startIndex, commands);\n            return new UrlSegmentGroup(segmentGroup.segments, childrenOfEmptyChild.children);\n        }\n        forEach(outlets, (commands, outlet) => {\n            if (typeof commands === 'string') {\n                commands = [commands];\n            }\n            if (commands !== null) {\n                children[outlet] = updateSegmentGroup(segmentGroup.children[outlet], startIndex, commands);\n            }\n        });\n        forEach(segmentGroup.children, (child, childOutlet) => {\n            if (outlets[childOutlet] === undefined) {\n                children[childOutlet] = child;\n            }\n        });\n        return new UrlSegmentGroup(segmentGroup.segments, children);\n    }\n}\nfunction prefixedWith(segmentGroup, startIndex, commands) {\n    let currentCommandIndex = 0;\n    let currentPathIndex = startIndex;\n    const noMatch = { match: false, pathIndex: 0, commandIndex: 0 };\n    while (currentPathIndex < segmentGroup.segments.length) {\n        if (currentCommandIndex >= commands.length)\n            return noMatch;\n        const path = segmentGroup.segments[currentPathIndex];\n        const command = commands[currentCommandIndex];\n        // Do not try to consume command as part of the prefixing if it has outlets because it can\n        // contain outlets other than the one being processed. Consuming the outlets command would\n        // result in other outlets being ignored.\n        if (isCommandWithOutlets(command)) {\n            break;\n        }\n        const curr = `${command}`;\n        const next = currentCommandIndex < commands.length - 1 ? commands[currentCommandIndex + 1] : null;\n        if (currentPathIndex > 0 && curr === undefined)\n            break;\n        if (curr && next && (typeof next === 'object') && next.outlets === undefined) {\n            if (!compare(curr, next, path))\n                return noMatch;\n            currentCommandIndex += 2;\n        }\n        else {\n            if (!compare(curr, {}, path))\n                return noMatch;\n            currentCommandIndex++;\n        }\n        currentPathIndex++;\n    }\n    return { match: true, pathIndex: currentPathIndex, commandIndex: currentCommandIndex };\n}\nfunction createNewSegmentGroup(segmentGroup, startIndex, commands) {\n    const paths = segmentGroup.segments.slice(0, startIndex);\n    let i = 0;\n    while (i < commands.length) {\n        const command = commands[i];\n        if (isCommandWithOutlets(command)) {\n            const children = createNewSegmentChildren(command.outlets);\n            return new UrlSegmentGroup(paths, children);\n        }\n        // if we start with an object literal, we need to reuse the path part from the segment\n        if (i === 0 && isMatrixParams(commands[0])) {\n            const p = segmentGroup.segments[startIndex];\n            paths.push(new UrlSegment(p.path, stringify(commands[0])));\n            i++;\n            continue;\n        }\n        const curr = isCommandWithOutlets(command) ? command.outlets[PRIMARY_OUTLET] : `${command}`;\n        const next = (i < commands.length - 1) ? commands[i + 1] : null;\n        if (curr && next && isMatrixParams(next)) {\n            paths.push(new UrlSegment(curr, stringify(next)));\n            i += 2;\n        }\n        else {\n            paths.push(new UrlSegment(curr, {}));\n            i++;\n        }\n    }\n    return new UrlSegmentGroup(paths, {});\n}\nfunction createNewSegmentChildren(outlets) {\n    const children = {};\n    forEach(outlets, (commands, outlet) => {\n        if (typeof commands === 'string') {\n            commands = [commands];\n        }\n        if (commands !== null) {\n            children[outlet] = createNewSegmentGroup(new UrlSegmentGroup([], {}), 0, commands);\n        }\n    });\n    return children;\n}\nfunction stringify(params) {\n    const res = {};\n    forEach(params, (v, k) => res[k] = `${v}`);\n    return res;\n}\nfunction compare(path, params, segment) {\n    return path == segment.path && shallowEqual(params, segment.parameters);\n}\n\nconst IMPERATIVE_NAVIGATION = 'imperative';\n/**\n * Base for events the router goes through, as opposed to events tied to a specific\n * route. Fired one time for any given navigation.\n *\n * The following code shows how a class subscribes to router events.\n *\n * ```ts\n * import {Event, RouterEvent, Router} from '@angular/router';\n *\n * class MyService {\n *   constructor(public router: Router) {\n *     router.events.pipe(\n *        filter((e: Event): e is RouterEvent => e instanceof RouterEvent)\n *     ).subscribe((e: RouterEvent) => {\n *       // Do something\n *     });\n *   }\n * }\n * ```\n *\n * @see `Event`\n * @see [Router events summary](guide/router-reference#router-events)\n * @publicApi\n */\nclass RouterEvent {\n    constructor(\n    /** A unique ID that the router assigns to every router navigation. */\n    id, \n    /** The URL that is the destination for this navigation. */\n    url) {\n        this.id = id;\n        this.url = url;\n    }\n}\n/**\n * An event triggered when a navigation starts.\n *\n * @publicApi\n */\nclass NavigationStart extends RouterEvent {\n    constructor(\n    /** @docsNotRequired */\n    id, \n    /** @docsNotRequired */\n    url, \n    /** @docsNotRequired */\n    navigationTrigger = 'imperative', \n    /** @docsNotRequired */\n    restoredState = null) {\n        super(id, url);\n        this.type = 0 /* EventType.NavigationStart */;\n        this.navigationTrigger = navigationTrigger;\n        this.restoredState = restoredState;\n    }\n    /** @docsNotRequired */\n    toString() {\n        return `NavigationStart(id: ${this.id}, url: '${this.url}')`;\n    }\n}\n/**\n * An event triggered when a navigation ends successfully.\n *\n * @see `NavigationStart`\n * @see `NavigationCancel`\n * @see `NavigationError`\n *\n * @publicApi\n */\nclass NavigationEnd extends RouterEvent {\n    constructor(\n    /** @docsNotRequired */\n    id, \n    /** @docsNotRequired */\n    url, \n    /** @docsNotRequired */\n    urlAfterRedirects) {\n        super(id, url);\n        this.urlAfterRedirects = urlAfterRedirects;\n        this.type = 1 /* EventType.NavigationEnd */;\n    }\n    /** @docsNotRequired */\n    toString() {\n        return `NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`;\n    }\n}\n/**\n * An event triggered when a navigation is canceled, directly or indirectly.\n * This can happen for several reasons including when a route guard\n * returns `false` or initiates a redirect by returning a `UrlTree`.\n *\n * @see `NavigationStart`\n * @see `NavigationEnd`\n * @see `NavigationError`\n *\n * @publicApi\n */\nclass NavigationCancel extends RouterEvent {\n    constructor(\n    /** @docsNotRequired */\n    id, \n    /** @docsNotRequired */\n    url, \n    /**\n     * A description of why the navigation was cancelled. For debug purposes only. Use `code`\n     * instead for a stable cancellation reason that can be used in production.\n     */\n    reason, \n    /**\n     * A code to indicate why the navigation was canceled. This cancellation code is stable for\n     * the reason and can be relied on whereas the `reason` string could change and should not be\n     * used in production.\n     */\n    code) {\n        super(id, url);\n        this.reason = reason;\n        this.code = code;\n        this.type = 2 /* EventType.NavigationCancel */;\n    }\n    /** @docsNotRequired */\n    toString() {\n        return `NavigationCancel(id: ${this.id}, url: '${this.url}')`;\n    }\n}\n/**\n * An event triggered when a navigation is skipped.\n * This can happen for a couple reasons including onSameUrlHandling\n * is set to `ignore` and the navigation URL is not different than the\n * current state.\n *\n * @publicApi\n */\nclass NavigationSkipped extends RouterEvent {\n    constructor(\n    /** @docsNotRequired */\n    id, \n    /** @docsNotRequired */\n    url, \n    /**\n     * A description of why the navigation was skipped. For debug purposes only. Use `code`\n     * instead for a stable skipped reason that can be used in production.\n     */\n    reason, \n    /**\n     * A code to indicate why the navigation was skipped. This code is stable for\n     * the reason and can be relied on whereas the `reason` string could change and should not be\n     * used in production.\n     */\n    code) {\n        super(id, url);\n        this.reason = reason;\n        this.code = code;\n        this.type = 16 /* EventType.NavigationSkipped */;\n    }\n}\n/**\n * An event triggered when a navigation fails due to an unexpected error.\n *\n * @see `NavigationStart`\n * @see `NavigationEnd`\n * @see `NavigationCancel`\n *\n * @publicApi\n */\nclass NavigationError extends RouterEvent {\n    constructor(\n    /** @docsNotRequired */\n    id, \n    /** @docsNotRequired */\n    url, \n    /** @docsNotRequired */\n    error, \n    /**\n     * The target of the navigation when the error occurred.\n     *\n     * Note that this can be `undefined` because an error could have occurred before the\n     * `RouterStateSnapshot` was created for the navigation.\n     */\n    target) {\n        super(id, url);\n        this.error = error;\n        this.target = target;\n        this.type = 3 /* EventType.NavigationError */;\n    }\n    /** @docsNotRequired */\n    toString() {\n        return `NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`;\n    }\n}\n/**\n * An event triggered when routes are recognized.\n *\n * @publicApi\n */\nclass RoutesRecognized extends RouterEvent {\n    constructor(\n    /** @docsNotRequired */\n    id, \n    /** @docsNotRequired */\n    url, \n    /** @docsNotRequired */\n    urlAfterRedirects, \n    /** @docsNotRequired */\n    state) {\n        super(id, url);\n        this.urlAfterRedirects = urlAfterRedirects;\n        this.state = state;\n        this.type = 4 /* EventType.RoutesRecognized */;\n    }\n    /** @docsNotRequired */\n    toString() {\n        return `RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`;\n    }\n}\n/**\n * An event triggered at the start of the Guard phase of routing.\n *\n * @see `GuardsCheckEnd`\n *\n * @publicApi\n */\nclass GuardsCheckStart extends RouterEvent {\n    constructor(\n    /** @docsNotRequired */\n    id, \n    /** @docsNotRequired */\n    url, \n    /** @docsNotRequired */\n    urlAfterRedirects, \n    /** @docsNotRequired */\n    state) {\n        super(id, url);\n        this.urlAfterRedirects = urlAfterRedirects;\n        this.state = state;\n        this.type = 7 /* EventType.GuardsCheckStart */;\n    }\n    toString() {\n        return `GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`;\n    }\n}\n/**\n * An event triggered at the end of the Guard phase of routing.\n *\n * @see `GuardsCheckStart`\n *\n * @publicApi\n */\nclass GuardsCheckEnd extends RouterEvent {\n    constructor(\n    /** @docsNotRequired */\n    id, \n    /** @docsNotRequired */\n    url, \n    /** @docsNotRequired */\n    urlAfterRedirects, \n    /** @docsNotRequired */\n    state, \n    /** @docsNotRequired */\n    shouldActivate) {\n        super(id, url);\n        this.urlAfterRedirects = urlAfterRedirects;\n        this.state = state;\n        this.shouldActivate = shouldActivate;\n        this.type = 8 /* EventType.GuardsCheckEnd */;\n    }\n    toString() {\n        return `GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`;\n    }\n}\n/**\n * An event triggered at the start of the Resolve phase of routing.\n *\n * Runs in the \"resolve\" phase whether or not there is anything to resolve.\n * In future, may change to only run when there are things to be resolved.\n *\n * @see `ResolveEnd`\n *\n * @publicApi\n */\nclass ResolveStart extends RouterEvent {\n    constructor(\n    /** @docsNotRequired */\n    id, \n    /** @docsNotRequired */\n    url, \n    /** @docsNotRequired */\n    urlAfterRedirects, \n    /** @docsNotRequired */\n    state) {\n        super(id, url);\n        this.urlAfterRedirects = urlAfterRedirects;\n        this.state = state;\n        this.type = 5 /* EventType.ResolveStart */;\n    }\n    toString() {\n        return `ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`;\n    }\n}\n/**\n * An event triggered at the end of the Resolve phase of routing.\n * @see `ResolveStart`.\n *\n * @publicApi\n */\nclass ResolveEnd extends RouterEvent {\n    constructor(\n    /** @docsNotRequired */\n    id, \n    /** @docsNotRequired */\n    url, \n    /** @docsNotRequired */\n    urlAfterRedirects, \n    /** @docsNotRequired */\n    state) {\n        super(id, url);\n        this.urlAfterRedirects = urlAfterRedirects;\n        this.state = state;\n        this.type = 6 /* EventType.ResolveEnd */;\n    }\n    toString() {\n        return `ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`;\n    }\n}\n/**\n * An event triggered before lazy loading a route configuration.\n *\n * @see `RouteConfigLoadEnd`\n *\n * @publicApi\n */\nclass RouteConfigLoadStart {\n    constructor(\n    /** @docsNotRequired */\n    route) {\n        this.route = route;\n        this.type = 9 /* EventType.RouteConfigLoadStart */;\n    }\n    toString() {\n        return `RouteConfigLoadStart(path: ${this.route.path})`;\n    }\n}\n/**\n * An event triggered when a route has been lazy loaded.\n *\n * @see `RouteConfigLoadStart`\n *\n * @publicApi\n */\nclass RouteConfigLoadEnd {\n    constructor(\n    /** @docsNotRequired */\n    route) {\n        this.route = route;\n        this.type = 10 /* EventType.RouteConfigLoadEnd */;\n    }\n    toString() {\n        return `RouteConfigLoadEnd(path: ${this.route.path})`;\n    }\n}\n/**\n * An event triggered at the start of the child-activation\n * part of the Resolve phase of routing.\n * @see  `ChildActivationEnd`\n * @see `ResolveStart`\n *\n * @publicApi\n */\nclass ChildActivationStart {\n    constructor(\n    /** @docsNotRequired */\n    snapshot) {\n        this.snapshot = snapshot;\n        this.type = 11 /* EventType.ChildActivationStart */;\n    }\n    toString() {\n        const path = this.snapshot.routeConfig && this.snapshot.routeConfig.path || '';\n        return `ChildActivationStart(path: '${path}')`;\n    }\n}\n/**\n * An event triggered at the end of the child-activation part\n * of the Resolve phase of routing.\n * @see `ChildActivationStart`\n * @see `ResolveStart`\n * @publicApi\n */\nclass ChildActivationEnd {\n    constructor(\n    /** @docsNotRequired */\n    snapshot) {\n        this.snapshot = snapshot;\n        this.type = 12 /* EventType.ChildActivationEnd */;\n    }\n    toString() {\n        const path = this.snapshot.routeConfig && this.snapshot.routeConfig.path || '';\n        return `ChildActivationEnd(path: '${path}')`;\n    }\n}\n/**\n * An event triggered at the start of the activation part\n * of the Resolve phase of routing.\n * @see `ActivationEnd`\n * @see `ResolveStart`\n *\n * @publicApi\n */\nclass ActivationStart {\n    constructor(\n    /** @docsNotRequired */\n    snapshot) {\n        this.snapshot = snapshot;\n        this.type = 13 /* EventType.ActivationStart */;\n    }\n    toString() {\n        const path = this.snapshot.routeConfig && this.snapshot.routeConfig.path || '';\n        return `ActivationStart(path: '${path}')`;\n    }\n}\n/**\n * An event triggered at the end of the activation part\n * of the Resolve phase of routing.\n * @see `ActivationStart`\n * @see `ResolveStart`\n *\n * @publicApi\n */\nclass ActivationEnd {\n    constructor(\n    /** @docsNotRequired */\n    snapshot) {\n        this.snapshot = snapshot;\n        this.type = 14 /* EventType.ActivationEnd */;\n    }\n    toString() {\n        const path = this.snapshot.routeConfig && this.snapshot.routeConfig.path || '';\n        return `ActivationEnd(path: '${path}')`;\n    }\n}\n/**\n * An event triggered by scrolling.\n *\n * @publicApi\n */\nclass Scroll {\n    constructor(\n    /** @docsNotRequired */\n    routerEvent, \n    /** @docsNotRequired */\n    position, \n    /** @docsNotRequired */\n    anchor) {\n        this.routerEvent = routerEvent;\n        this.position = position;\n        this.anchor = anchor;\n        this.type = 15 /* EventType.Scroll */;\n    }\n    toString() {\n        const pos = this.position ? `${this.position[0]}, ${this.position[1]}` : null;\n        return `Scroll(anchor: '${this.anchor}', position: '${pos}')`;\n    }\n}\nfunction stringifyEvent(routerEvent) {\n    if (!('type' in routerEvent)) {\n        return `Unknown Router Event: ${routerEvent.constructor.name}`;\n    }\n    switch (routerEvent.type) {\n        case 14 /* EventType.ActivationEnd */:\n            return `ActivationEnd(path: '${routerEvent.snapshot.routeConfig?.path || ''}')`;\n        case 13 /* EventType.ActivationStart */:\n            return `ActivationStart(path: '${routerEvent.snapshot.routeConfig?.path || ''}')`;\n        case 12 /* EventType.ChildActivationEnd */:\n            return `ChildActivationEnd(path: '${routerEvent.snapshot.routeConfig?.path || ''}')`;\n        case 11 /* EventType.ChildActivationStart */:\n            return `ChildActivationStart(path: '${routerEvent.snapshot.routeConfig?.path || ''}')`;\n        case 8 /* EventType.GuardsCheckEnd */:\n            return `GuardsCheckEnd(id: ${routerEvent.id}, url: '${routerEvent.url}', urlAfterRedirects: '${routerEvent.urlAfterRedirects}', state: ${routerEvent.state}, shouldActivate: ${routerEvent.shouldActivate})`;\n        case 7 /* EventType.GuardsCheckStart */:\n            return `GuardsCheckStart(id: ${routerEvent.id}, url: '${routerEvent.url}', urlAfterRedirects: '${routerEvent.urlAfterRedirects}', state: ${routerEvent.state})`;\n        case 2 /* EventType.NavigationCancel */:\n            return `NavigationCancel(id: ${routerEvent.id}, url: '${routerEvent.url}')`;\n        case 16 /* EventType.NavigationSkipped */:\n            return `NavigationSkipped(id: ${routerEvent.id}, url: '${routerEvent.url}')`;\n        case 1 /* EventType.NavigationEnd */:\n            return `NavigationEnd(id: ${routerEvent.id}, url: '${routerEvent.url}', urlAfterRedirects: '${routerEvent.urlAfterRedirects}')`;\n        case 3 /* EventType.NavigationError */:\n            return `NavigationError(id: ${routerEvent.id}, url: '${routerEvent.url}', error: ${routerEvent.error})`;\n        case 0 /* EventType.NavigationStart */:\n            return `NavigationStart(id: ${routerEvent.id}, url: '${routerEvent.url}')`;\n        case 6 /* EventType.ResolveEnd */:\n            return `ResolveEnd(id: ${routerEvent.id}, url: '${routerEvent.url}', urlAfterRedirects: '${routerEvent.urlAfterRedirects}', state: ${routerEvent.state})`;\n        case 5 /* EventType.ResolveStart */:\n            return `ResolveStart(id: ${routerEvent.id}, url: '${routerEvent.url}', urlAfterRedirects: '${routerEvent.urlAfterRedirects}', state: ${routerEvent.state})`;\n        case 10 /* EventType.RouteConfigLoadEnd */:\n            return `RouteConfigLoadEnd(path: ${routerEvent.route.path})`;\n        case 9 /* EventType.RouteConfigLoadStart */:\n            return `RouteConfigLoadStart(path: ${routerEvent.route.path})`;\n        case 4 /* EventType.RoutesRecognized */:\n            return `RoutesRecognized(id: ${routerEvent.id}, url: '${routerEvent.url}', urlAfterRedirects: '${routerEvent.urlAfterRedirects}', state: ${routerEvent.state})`;\n        case 15 /* EventType.Scroll */:\n            const pos = routerEvent.position ? `${routerEvent.position[0]}, ${routerEvent.position[1]}` : null;\n            return `Scroll(anchor: '${routerEvent.anchor}', position: '${pos}')`;\n    }\n}\n\nconst NG_DEV_MODE$9 = typeof ngDevMode === 'undefined' || ngDevMode;\nclass LegacyCreateUrlTree {\n    createUrlTree(relativeTo, currentState, currentUrlTree, commands, queryParams, fragment) {\n        const a = relativeTo || currentState.root;\n        const tree = createUrlTree(a, currentUrlTree, commands, queryParams, fragment);\n        if (NG_DEV_MODE$9) {\n            const treeFromSnapshotStrategy = new CreateUrlTreeUsingSnapshot().createUrlTree(relativeTo, currentState, currentUrlTree, commands, queryParams, fragment);\n            if (treeFromSnapshotStrategy.toString() !== tree.toString()) {\n                let warningString = `The navigation to ${tree.toString()} will instead go to ${treeFromSnapshotStrategy.toString()} in an upcoming version of Angular.`;\n                if (!!relativeTo) {\n                    warningString += ' `relativeTo` might need to be removed from the `UrlCreationOptions`.';\n                }\n                tree._warnIfUsedForNavigation = warningString;\n            }\n        }\n        return tree;\n    }\n}\nLegacyCreateUrlTree.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: LegacyCreateUrlTree, deps: [], target: i0.ɵɵFactoryTarget.Injectable });\nLegacyCreateUrlTree.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: LegacyCreateUrlTree });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: LegacyCreateUrlTree, decorators: [{\n            type: Injectable\n        }] });\nclass CreateUrlTreeUsingSnapshot {\n    createUrlTree(relativeTo, currentState, currentUrlTree, commands, queryParams, fragment) {\n        let relativeToUrlSegmentGroup;\n        try {\n            const relativeToSnapshot = relativeTo ? relativeTo.snapshot : currentState.snapshot.root;\n            relativeToUrlSegmentGroup = createSegmentGroupFromRoute(relativeToSnapshot);\n        }\n        catch (e) {\n            // This is strictly for backwards compatibility with tests that create\n            // invalid `ActivatedRoute` mocks.\n            // Note: the difference between having this fallback for invalid `ActivatedRoute` setups and\n            // just throwing is ~500 test failures. Fixing all of those tests by hand is not feasible at\n            // the moment.\n            if (typeof commands[0] !== 'string' || !commands[0].startsWith('/')) {\n                // Navigations that were absolute in the old way of creating UrlTrees\n                // would still work because they wouldn't attempt to match the\n                // segments in the `ActivatedRoute` to the `currentUrlTree` but\n                // instead just replace the root segment with the navigation result.\n                // Non-absolute navigations would fail to apply the commands because\n                // the logic could not find the segment to replace (so they'd act like there were no\n                // commands).\n                commands = [];\n            }\n            relativeToUrlSegmentGroup = currentUrlTree.root;\n        }\n        return createUrlTreeFromSegmentGroup(relativeToUrlSegmentGroup, commands, queryParams, fragment);\n    }\n}\nCreateUrlTreeUsingSnapshot.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: CreateUrlTreeUsingSnapshot, deps: [], target: i0.ɵɵFactoryTarget.Injectable });\nCreateUrlTreeUsingSnapshot.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: CreateUrlTreeUsingSnapshot });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: CreateUrlTreeUsingSnapshot, decorators: [{\n            type: Injectable\n        }] });\nclass CreateUrlTreeStrategy {\n}\nCreateUrlTreeStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: CreateUrlTreeStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });\nCreateUrlTreeStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: CreateUrlTreeStrategy, providedIn: 'root', useClass: LegacyCreateUrlTree });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: CreateUrlTreeStrategy, decorators: [{\n            type: Injectable,\n            args: [{ providedIn: 'root', useClass: LegacyCreateUrlTree }]\n        }] });\n\nclass Tree {\n    constructor(root) {\n        this._root = root;\n    }\n    get root() {\n        return this._root.value;\n    }\n    /**\n     * @internal\n     */\n    parent(t) {\n        const p = this.pathFromRoot(t);\n        return p.length > 1 ? p[p.length - 2] : null;\n    }\n    /**\n     * @internal\n     */\n    children(t) {\n        const n = findNode(t, this._root);\n        return n ? n.children.map(t => t.value) : [];\n    }\n    /**\n     * @internal\n     */\n    firstChild(t) {\n        const n = findNode(t, this._root);\n        return n && n.children.length > 0 ? n.children[0].value : null;\n    }\n    /**\n     * @internal\n     */\n    siblings(t) {\n        const p = findPath(t, this._root);\n        if (p.length < 2)\n            return [];\n        const c = p[p.length - 2].children.map(c => c.value);\n        return c.filter(cc => cc !== t);\n    }\n    /**\n     * @internal\n     */\n    pathFromRoot(t) {\n        return findPath(t, this._root).map(s => s.value);\n    }\n}\n// DFS for the node matching the value\nfunction findNode(value, node) {\n    if (value === node.value)\n        return node;\n    for (const child of node.children) {\n        const node = findNode(value, child);\n        if (node)\n            return node;\n    }\n    return null;\n}\n// Return the path to the node with the given value using DFS\nfunction findPath(value, node) {\n    if (value === node.value)\n        return [node];\n    for (const child of node.children) {\n        const path = findPath(value, child);\n        if (path.length) {\n            path.unshift(node);\n            return path;\n        }\n    }\n    return [];\n}\nclass TreeNode {\n    constructor(value, children) {\n        this.value = value;\n        this.children = children;\n    }\n    toString() {\n        return `TreeNode(${this.value})`;\n    }\n}\n// Return the list of T indexed by outlet name\nfunction nodeChildrenAsMap(node) {\n    const map = {};\n    if (node) {\n        node.children.forEach(child => map[child.value.outlet] = child);\n    }\n    return map;\n}\n\n/**\n * Represents the state of the router as a tree of activated routes.\n *\n * @usageNotes\n *\n * Every node in the route tree is an `ActivatedRoute` instance\n * that knows about the \"consumed\" URL segments, the extracted parameters,\n * and the resolved data.\n * Use the `ActivatedRoute` properties to traverse the tree from any node.\n *\n * The following fragment shows how a component gets the root node\n * of the current state to establish its own route tree:\n *\n * ```\n * @Component({templateUrl:'template.html'})\n * class MyComponent {\n *   constructor(router: Router) {\n *     const state: RouterState = router.routerState;\n *     const root: ActivatedRoute = state.root;\n *     const child = root.firstChild;\n *     const id: Observable<string> = child.params.map(p => p.id);\n *     //...\n *   }\n * }\n * ```\n *\n * @see `ActivatedRoute`\n * @see [Getting route information](guide/router#getting-route-information)\n *\n * @publicApi\n */\nclass RouterState extends Tree {\n    /** @internal */\n    constructor(root, \n    /** The current snapshot of the router state */\n    snapshot) {\n        super(root);\n        this.snapshot = snapshot;\n        setRouterState(this, root);\n    }\n    toString() {\n        return this.snapshot.toString();\n    }\n}\nfunction createEmptyState(urlTree, rootComponent) {\n    const snapshot = createEmptyStateSnapshot(urlTree, rootComponent);\n    const emptyUrl = new BehaviorSubject([new UrlSegment('', {})]);\n    const emptyParams = new BehaviorSubject({});\n    const emptyData = new BehaviorSubject({});\n    const emptyQueryParams = new BehaviorSubject({});\n    const fragment = new BehaviorSubject('');\n    const activated = new ActivatedRoute(emptyUrl, emptyParams, emptyQueryParams, fragment, emptyData, PRIMARY_OUTLET, rootComponent, snapshot.root);\n    activated.snapshot = snapshot.root;\n    return new RouterState(new TreeNode(activated, []), snapshot);\n}\nfunction createEmptyStateSnapshot(urlTree, rootComponent) {\n    const emptyParams = {};\n    const emptyData = {};\n    const emptyQueryParams = {};\n    const fragment = '';\n    const activated = new ActivatedRouteSnapshot([], emptyParams, emptyQueryParams, fragment, emptyData, PRIMARY_OUTLET, rootComponent, null, urlTree.root, -1, {});\n    return new RouterStateSnapshot('', new TreeNode(activated, []));\n}\n/**\n * Provides access to information about a route associated with a component\n * that is loaded in an outlet.\n * Use to traverse the `RouterState` tree and extract information from nodes.\n *\n * The following example shows how to construct a component using information from a\n * currently activated route.\n *\n * Note: the observables in this class only emit when the current and previous values differ based\n * on shallow equality. For example, changing deeply nested properties in resolved `data` will not\n * cause the `ActivatedRoute.data` `Observable` to emit a new value.\n *\n * {@example router/activated-route/module.ts region=\"activated-route\"\n *     header=\"activated-route.component.ts\"}\n *\n * @see [Getting route information](guide/router#getting-route-information)\n *\n * @publicApi\n */\nclass ActivatedRoute {\n    /** @internal */\n    constructor(\n    /** An observable of the URL segments matched by this route. */\n    url, \n    /** An observable of the matrix parameters scoped to this route. */\n    params, \n    /** An observable of the query parameters shared by all the routes. */\n    queryParams, \n    /** An observable of the URL fragment shared by all the routes. */\n    fragment, \n    /** An observable of the static and resolved data of this route. */\n    data, \n    /** The outlet name of the route, a constant. */\n    outlet, \n    /** The component of the route, a constant. */\n    component, futureSnapshot) {\n        this.url = url;\n        this.params = params;\n        this.queryParams = queryParams;\n        this.fragment = fragment;\n        this.data = data;\n        this.outlet = outlet;\n        this.component = component;\n        /** An Observable of the resolved route title */\n        this.title = this.data?.pipe(map((d) => d[RouteTitleKey])) ?? of(undefined);\n        this._futureSnapshot = futureSnapshot;\n    }\n    /** The configuration used to match this route. */\n    get routeConfig() {\n        return this._futureSnapshot.routeConfig;\n    }\n    /** The root of the router state. */\n    get root() {\n        return this._routerState.root;\n    }\n    /** The parent of this route in the router state tree. */\n    get parent() {\n        return this._routerState.parent(this);\n    }\n    /** The first child of this route in the router state tree. */\n    get firstChild() {\n        return this._routerState.firstChild(this);\n    }\n    /** The children of this route in the router state tree. */\n    get children() {\n        return this._routerState.children(this);\n    }\n    /** The path from the root of the router state tree to this route. */\n    get pathFromRoot() {\n        return this._routerState.pathFromRoot(this);\n    }\n    /**\n     * An Observable that contains a map of the required and optional parameters\n     * specific to the route.\n     * The map supports retrieving single and multiple values from the same parameter.\n     */\n    get paramMap() {\n        if (!this._paramMap) {\n            this._paramMap = this.params.pipe(map((p) => convertToParamMap(p)));\n        }\n        return this._paramMap;\n    }\n    /**\n     * An Observable that contains a map of the query parameters available to all routes.\n     * The map supports retrieving single and multiple values from the query parameter.\n     */\n    get queryParamMap() {\n        if (!this._queryParamMap) {\n            this._queryParamMap =\n                this.queryParams.pipe(map((p) => convertToParamMap(p)));\n        }\n        return this._queryParamMap;\n    }\n    toString() {\n        return this.snapshot ? this.snapshot.toString() : `Future(${this._futureSnapshot})`;\n    }\n}\n/**\n * Returns the inherited params, data, and resolve for a given route.\n * By default, this only inherits values up to the nearest path-less or component-less route.\n * @internal\n */\nfunction inheritedParamsDataResolve(route, paramsInheritanceStrategy = 'emptyOnly') {\n    const pathFromRoot = route.pathFromRoot;\n    let inheritingStartingFrom = 0;\n    if (paramsInheritanceStrategy !== 'always') {\n        inheritingStartingFrom = pathFromRoot.length - 1;\n        while (inheritingStartingFrom >= 1) {\n            const current = pathFromRoot[inheritingStartingFrom];\n            const parent = pathFromRoot[inheritingStartingFrom - 1];\n            // current route is an empty path => inherits its parent's params and data\n            if (current.routeConfig && current.routeConfig.path === '') {\n                inheritingStartingFrom--;\n                // parent is componentless => current route should inherit its params and data\n            }\n            else if (!parent.component) {\n                inheritingStartingFrom--;\n            }\n            else {\n                break;\n            }\n        }\n    }\n    return flattenInherited(pathFromRoot.slice(inheritingStartingFrom));\n}\n/** @internal */\nfunction flattenInherited(pathFromRoot) {\n    return pathFromRoot.reduce((res, curr) => {\n        const params = { ...res.params, ...curr.params };\n        const data = { ...res.data, ...curr.data };\n        const resolve = { ...curr.data, ...res.resolve, ...curr.routeConfig?.data, ...curr._resolvedData };\n        return { params, data, resolve };\n    }, { params: {}, data: {}, resolve: {} });\n}\n/**\n * @description\n *\n * Contains the information about a route associated with a component loaded in an\n * outlet at a particular moment in time. ActivatedRouteSnapshot can also be used to\n * traverse the router state tree.\n *\n * The following example initializes a component with route information extracted\n * from the snapshot of the root node at the time of creation.\n *\n * ```\n * @Component({templateUrl:'./my-component.html'})\n * class MyComponent {\n *   constructor(route: ActivatedRoute) {\n *     const id: string = route.snapshot.params.id;\n *     const url: string = route.snapshot.url.join('');\n *     const user = route.snapshot.data.user;\n *   }\n * }\n * ```\n *\n * @publicApi\n */\nclass ActivatedRouteSnapshot {\n    /** The resolved route title */\n    get title() {\n        // Note: This _must_ be a getter because the data is mutated in the resolvers. Title will not be\n        // available at the time of class instantiation.\n        return this.data?.[RouteTitleKey];\n    }\n    /** @internal */\n    constructor(\n    /** The URL segments matched by this route */\n    url, \n    /**\n     *  The matrix parameters scoped to this route.\n     *\n     *  You can compute all params (or data) in the router state or to get params outside\n     *  of an activated component by traversing the `RouterState` tree as in the following\n     *  example:\n     *  ```\n     *  collectRouteParams(router: Router) {\n     *    let params = {};\n     *    let stack: ActivatedRouteSnapshot[] = [router.routerState.snapshot.root];\n     *    while (stack.length > 0) {\n     *      const route = stack.pop()!;\n     *      params = {...params, ...route.params};\n     *      stack.push(...route.children);\n     *    }\n     *    return params;\n     *  }\n     *  ```\n     */\n    params, \n    /** The query parameters shared by all the routes */\n    queryParams, \n    /** The URL fragment shared by all the routes */\n    fragment, \n    /** The static and resolved data of this route */\n    data, \n    /** The outlet name of the route */\n    outlet, \n    /** The component of the route */\n    component, routeConfig, urlSegment, lastPathIndex, resolve) {\n        this.url = url;\n        this.params = params;\n        this.queryParams = queryParams;\n        this.fragment = fragment;\n        this.data = data;\n        this.outlet = outlet;\n        this.component = component;\n        this.routeConfig = routeConfig;\n        this._urlSegment = urlSegment;\n        this._lastPathIndex = lastPathIndex;\n        this._resolve = resolve;\n    }\n    /** The root of the router state */\n    get root() {\n        return this._routerState.root;\n    }\n    /** The parent of this route in the router state tree */\n    get parent() {\n        return this._routerState.parent(this);\n    }\n    /** The first child of this route in the router state tree */\n    get firstChild() {\n        return this._routerState.firstChild(this);\n    }\n    /** The children of this route in the router state tree */\n    get children() {\n        return this._routerState.children(this);\n    }\n    /** The path from the root of the router state tree to this route */\n    get pathFromRoot() {\n        return this._routerState.pathFromRoot(this);\n    }\n    get paramMap() {\n        if (!this._paramMap) {\n            this._paramMap = convertToParamMap(this.params);\n        }\n        return this._paramMap;\n    }\n    get queryParamMap() {\n        if (!this._queryParamMap) {\n            this._queryParamMap = convertToParamMap(this.queryParams);\n        }\n        return this._queryParamMap;\n    }\n    toString() {\n        const url = this.url.map(segment => segment.toString()).join('/');\n        const matched = this.routeConfig ? this.routeConfig.path : '';\n        return `Route(url:'${url}', path:'${matched}')`;\n    }\n}\n/**\n * @description\n *\n * Represents the state of the router at a moment in time.\n *\n * This is a tree of activated route snapshots. Every node in this tree knows about\n * the \"consumed\" URL segments, the extracted parameters, and the resolved data.\n *\n * The following example shows how a component is initialized with information\n * from the snapshot of the root node's state at the time of creation.\n *\n * ```\n * @Component({templateUrl:'template.html'})\n * class MyComponent {\n *   constructor(router: Router) {\n *     const state: RouterState = router.routerState;\n *     const snapshot: RouterStateSnapshot = state.snapshot;\n *     const root: ActivatedRouteSnapshot = snapshot.root;\n *     const child = root.firstChild;\n *     const id: Observable<string> = child.params.map(p => p.id);\n *     //...\n *   }\n * }\n * ```\n *\n * @publicApi\n */\nclass RouterStateSnapshot extends Tree {\n    /** @internal */\n    constructor(\n    /** The url from which this snapshot was created */\n    url, root) {\n        super(root);\n        this.url = url;\n        setRouterState(this, root);\n    }\n    toString() {\n        return serializeNode(this._root);\n    }\n}\nfunction setRouterState(state, node) {\n    node.value._routerState = state;\n    node.children.forEach(c => setRouterState(state, c));\n}\nfunction serializeNode(node) {\n    const c = node.children.length > 0 ? ` { ${node.children.map(serializeNode).join(', ')} } ` : '';\n    return `${node.value}${c}`;\n}\n/**\n * The expectation is that the activate route is created with the right set of parameters.\n * So we push new values into the observables only when they are not the initial values.\n * And we detect that by checking if the snapshot field is set.\n */\nfunction advanceActivatedRoute(route) {\n    if (route.snapshot) {\n        const currentSnapshot = route.snapshot;\n        const nextSnapshot = route._futureSnapshot;\n        route.snapshot = nextSnapshot;\n        if (!shallowEqual(currentSnapshot.queryParams, nextSnapshot.queryParams)) {\n            route.queryParams.next(nextSnapshot.queryParams);\n        }\n        if (currentSnapshot.fragment !== nextSnapshot.fragment) {\n            route.fragment.next(nextSnapshot.fragment);\n        }\n        if (!shallowEqual(currentSnapshot.params, nextSnapshot.params)) {\n            route.params.next(nextSnapshot.params);\n        }\n        if (!shallowEqualArrays(currentSnapshot.url, nextSnapshot.url)) {\n            route.url.next(nextSnapshot.url);\n        }\n        if (!shallowEqual(currentSnapshot.data, nextSnapshot.data)) {\n            route.data.next(nextSnapshot.data);\n        }\n    }\n    else {\n        route.snapshot = route._futureSnapshot;\n        // this is for resolved data\n        route.data.next(route._futureSnapshot.data);\n    }\n}\nfunction equalParamsAndUrlSegments(a, b) {\n    const equalUrlParams = shallowEqual(a.params, b.params) && equalSegments(a.url, b.url);\n    const parentsMismatch = !a.parent !== !b.parent;\n    return equalUrlParams && !parentsMismatch &&\n        (!a.parent || equalParamsAndUrlSegments(a.parent, b.parent));\n}\n\nfunction createRouterState(routeReuseStrategy, curr, prevState) {\n    const root = createNode(routeReuseStrategy, curr._root, prevState ? prevState._root : undefined);\n    return new RouterState(root, curr);\n}\nfunction createNode(routeReuseStrategy, curr, prevState) {\n    // reuse an activated route that is currently displayed on the screen\n    if (prevState && routeReuseStrategy.shouldReuseRoute(curr.value, prevState.value.snapshot)) {\n        const value = prevState.value;\n        value._futureSnapshot = curr.value;\n        const children = createOrReuseChildren(routeReuseStrategy, curr, prevState);\n        return new TreeNode(value, children);\n    }\n    else {\n        if (routeReuseStrategy.shouldAttach(curr.value)) {\n            // retrieve an activated route that is used to be displayed, but is not currently displayed\n            const detachedRouteHandle = routeReuseStrategy.retrieve(curr.value);\n            if (detachedRouteHandle !== null) {\n                const tree = detachedRouteHandle.route;\n                tree.value._futureSnapshot = curr.value;\n                tree.children = curr.children.map(c => createNode(routeReuseStrategy, c));\n                return tree;\n            }\n        }\n        const value = createActivatedRoute(curr.value);\n        const children = curr.children.map(c => createNode(routeReuseStrategy, c));\n        return new TreeNode(value, children);\n    }\n}\nfunction createOrReuseChildren(routeReuseStrategy, curr, prevState) {\n    return curr.children.map(child => {\n        for (const p of prevState.children) {\n            if (routeReuseStrategy.shouldReuseRoute(child.value, p.value.snapshot)) {\n                return createNode(routeReuseStrategy, child, p);\n            }\n        }\n        return createNode(routeReuseStrategy, child);\n    });\n}\nfunction createActivatedRoute(c) {\n    return new ActivatedRoute(new BehaviorSubject(c.url), new BehaviorSubject(c.params), new BehaviorSubject(c.queryParams), new BehaviorSubject(c.fragment), new BehaviorSubject(c.data), c.outlet, c.component, c);\n}\n\nconst NAVIGATION_CANCELING_ERROR = 'ngNavigationCancelingError';\nfunction redirectingNavigationError(urlSerializer, redirect) {\n    const { redirectTo, navigationBehaviorOptions } = isUrlTree(redirect) ? { redirectTo: redirect, navigationBehaviorOptions: undefined } : redirect;\n    const error = navigationCancelingError(ngDevMode && `Redirecting to \"${urlSerializer.serialize(redirectTo)}\"`, 0 /* NavigationCancellationCode.Redirect */, redirect);\n    error.url = redirectTo;\n    error.navigationBehaviorOptions = navigationBehaviorOptions;\n    return error;\n}\nfunction navigationCancelingError(message, code, redirectUrl) {\n    const error = new Error('NavigationCancelingError: ' + (message || ''));\n    error[NAVIGATION_CANCELING_ERROR] = true;\n    error.cancellationCode = code;\n    if (redirectUrl) {\n        error.url = redirectUrl;\n    }\n    return error;\n}\nfunction isRedirectingNavigationCancelingError$1(error) {\n    return isNavigationCancelingError$1(error) && isUrlTree(error.url);\n}\nfunction isNavigationCancelingError$1(error) {\n    return error && error[NAVIGATION_CANCELING_ERROR];\n}\n\n/**\n * Store contextual information about a `RouterOutlet`\n *\n * @publicApi\n */\nclass OutletContext {\n    constructor() {\n        this.outlet = null;\n        this.route = null;\n        /**\n         * @deprecated Passing a resolver to retrieve a component factory is not required and is\n         *     deprecated since v14.\n         */\n        this.resolver = null;\n        this.injector = null;\n        this.children = new ChildrenOutletContexts();\n        this.attachRef = null;\n    }\n}\n/**\n * Store contextual information about the children (= nested) `RouterOutlet`\n *\n * @publicApi\n */\nclass ChildrenOutletContexts {\n    constructor() {\n        // contexts for child outlets, by name.\n        this.contexts = new Map();\n    }\n    /** Called when a `RouterOutlet` directive is instantiated */\n    onChildOutletCreated(childName, outlet) {\n        const context = this.getOrCreateContext(childName);\n        context.outlet = outlet;\n        this.contexts.set(childName, context);\n    }\n    /**\n     * Called when a `RouterOutlet` directive is destroyed.\n     * We need to keep the context as the outlet could be destroyed inside a NgIf and might be\n     * re-created later.\n     */\n    onChildOutletDestroyed(childName) {\n        const context = this.getContext(childName);\n        if (context) {\n            context.outlet = null;\n            context.attachRef = null;\n        }\n    }\n    /**\n     * Called when the corresponding route is deactivated during navigation.\n     * Because the component get destroyed, all children outlet are destroyed.\n     */\n    onOutletDeactivated() {\n        const contexts = this.contexts;\n        this.contexts = new Map();\n        return contexts;\n    }\n    onOutletReAttached(contexts) {\n        this.contexts = contexts;\n    }\n    getOrCreateContext(childName) {\n        let context = this.getContext(childName);\n        if (!context) {\n            context = new OutletContext();\n            this.contexts.set(childName, context);\n        }\n        return context;\n    }\n    getContext(childName) {\n        return this.contexts.get(childName) || null;\n    }\n}\nChildrenOutletContexts.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: ChildrenOutletContexts, deps: [], target: i0.ɵɵFactoryTarget.Injectable });\nChildrenOutletContexts.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: ChildrenOutletContexts, providedIn: 'root' });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: ChildrenOutletContexts, decorators: [{\n            type: Injectable,\n            args: [{ providedIn: 'root' }]\n        }] });\n\nconst NG_DEV_MODE$8 = typeof ngDevMode === 'undefined' || ngDevMode;\n/**\n * @description\n *\n * Acts as a placeholder that Angular dynamically fills based on the current router state.\n *\n * Each outlet can have a unique name, determined by the optional `name` attribute.\n * The name cannot be set or changed dynamically. If not set, default value is \"primary\".\n *\n * ```\n * <router-outlet></router-outlet>\n * <router-outlet name='left'></router-outlet>\n * <router-outlet name='right'></router-outlet>\n * ```\n *\n * Named outlets can be the targets of secondary routes.\n * The `Route` object for a secondary route has an `outlet` property to identify the target outlet:\n *\n * `{path: <base-path>, component: <component>, outlet: <target_outlet_name>}`\n *\n * Using named outlets and secondary routes, you can target multiple outlets in\n * the same `RouterLink` directive.\n *\n * The router keeps track of separate branches in a navigation tree for each named outlet and\n * generates a representation of that tree in the URL.\n * The URL for a secondary route uses the following syntax to specify both the primary and secondary\n * routes at the same time:\n *\n * `http://base-path/primary-route-path(outlet-name:route-path)`\n *\n * A router outlet emits an activate event when a new component is instantiated,\n * deactivate event when a component is destroyed.\n * An attached event emits when the `RouteReuseStrategy` instructs the outlet to reattach the\n * subtree, and the detached event emits when the `RouteReuseStrategy` instructs the outlet to\n * detach the subtree.\n *\n * ```\n * <router-outlet\n *   (activate)='onActivate($event)'\n *   (deactivate)='onDeactivate($event)'\n *   (attach)='onAttach($event)'\n *   (detach)='onDetach($event)'></router-outlet>\n * ```\n *\n * @see [Routing tutorial](guide/router-tutorial-toh#named-outlets \"Example of a named\n * outlet and secondary route configuration\").\n * @see `RouterLink`\n * @see `Route`\n * @ngModule RouterModule\n *\n * @publicApi\n */\nclass RouterOutlet {\n    constructor() {\n        this.activated = null;\n        this._activatedRoute = null;\n        /**\n         * The name of the outlet\n         *\n         * @see [named outlets](guide/router-tutorial-toh#displaying-multiple-routes-in-named-outlets)\n         */\n        this.name = PRIMARY_OUTLET;\n        this.activateEvents = new EventEmitter();\n        this.deactivateEvents = new EventEmitter();\n        /**\n         * Emits an attached component instance when the `RouteReuseStrategy` instructs to re-attach a\n         * previously detached subtree.\n         **/\n        this.attachEvents = new EventEmitter();\n        /**\n         * Emits a detached component instance when the `RouteReuseStrategy` instructs to detach the\n         * subtree.\n         */\n        this.detachEvents = new EventEmitter();\n        this.parentContexts = inject(ChildrenOutletContexts);\n        this.location = inject(ViewContainerRef);\n        this.changeDetector = inject(ChangeDetectorRef);\n        this.environmentInjector = inject(EnvironmentInjector);\n    }\n    /** @nodoc */\n    ngOnChanges(changes) {\n        if (changes['name']) {\n            const { firstChange, previousValue } = changes['name'];\n            if (firstChange) {\n                // The first change is handled by ngOnInit. Because ngOnChanges doesn't get called when no\n                // input is set at all, we need to centrally handle the first change there.\n                return;\n            }\n            // unregister with the old name\n            if (this.isTrackedInParentContexts(previousValue)) {\n                this.deactivate();\n                this.parentContexts.onChildOutletDestroyed(previousValue);\n            }\n            // register the new name\n            this.initializeOutletWithName();\n        }\n    }\n    /** @nodoc */\n    ngOnDestroy() {\n        // Ensure that the registered outlet is this one before removing it on the context.\n        if (this.isTrackedInParentContexts(this.name)) {\n            this.parentContexts.onChildOutletDestroyed(this.name);\n        }\n    }\n    isTrackedInParentContexts(outletName) {\n        return this.parentContexts.getContext(outletName)?.outlet === this;\n    }\n    /** @nodoc */\n    ngOnInit() {\n        this.initializeOutletWithName();\n    }\n    initializeOutletWithName() {\n        this.parentContexts.onChildOutletCreated(this.name, this);\n        if (this.activated) {\n            return;\n        }\n        // If the outlet was not instantiated at the time the route got activated we need to populate\n        // the outlet when it is initialized (ie inside a NgIf)\n        const context = this.parentContexts.getContext(this.name);\n        if (context?.route) {\n            if (context.attachRef) {\n                // `attachRef` is populated when there is an existing component to mount\n                this.attach(context.attachRef, context.route);\n            }\n            else {\n                // otherwise the component defined in the configuration is created\n                this.activateWith(context.route, context.injector);\n            }\n        }\n    }\n    get isActivated() {\n        return !!this.activated;\n    }\n    /**\n     * @returns The currently activated component instance.\n     * @throws An error if the outlet is not activated.\n     */\n    get component() {\n        if (!this.activated)\n            throw new ɵRuntimeError(4012 /* RuntimeErrorCode.OUTLET_NOT_ACTIVATED */, NG_DEV_MODE$8 && 'Outlet is not activated');\n        return this.activated.instance;\n    }\n    get activatedRoute() {\n        if (!this.activated)\n            throw new ɵRuntimeError(4012 /* RuntimeErrorCode.OUTLET_NOT_ACTIVATED */, NG_DEV_MODE$8 && 'Outlet is not activated');\n        return this._activatedRoute;\n    }\n    get activatedRouteData() {\n        if (this._activatedRoute) {\n            return this._activatedRoute.snapshot.data;\n        }\n        return {};\n    }\n    /**\n     * Called when the `RouteReuseStrategy` instructs to detach the subtree\n     */\n    detach() {\n        if (!this.activated)\n            throw new ɵRuntimeError(4012 /* RuntimeErrorCode.OUTLET_NOT_ACTIVATED */, NG_DEV_MODE$8 && 'Outlet is not activated');\n        this.location.detach();\n        const cmp = this.activated;\n        this.activated = null;\n        this._activatedRoute = null;\n        this.detachEvents.emit(cmp.instance);\n        return cmp;\n    }\n    /**\n     * Called when the `RouteReuseStrategy` instructs to re-attach a previously detached subtree\n     */\n    attach(ref, activatedRoute) {\n        this.activated = ref;\n        this._activatedRoute = activatedRoute;\n        this.location.insert(ref.hostView);\n        this.attachEvents.emit(ref.instance);\n    }\n    deactivate() {\n        if (this.activated) {\n            const c = this.component;\n            this.activated.destroy();\n            this.activated = null;\n            this._activatedRoute = null;\n            this.deactivateEvents.emit(c);\n        }\n    }\n    activateWith(activatedRoute, resolverOrInjector) {\n        if (this.isActivated) {\n            throw new ɵRuntimeError(4013 /* RuntimeErrorCode.OUTLET_ALREADY_ACTIVATED */, NG_DEV_MODE$8 && 'Cannot activate an already activated outlet');\n        }\n        this._activatedRoute = activatedRoute;\n        const location = this.location;\n        const snapshot = activatedRoute.snapshot;\n        const component = snapshot.component;\n        const childContexts = this.parentContexts.getOrCreateContext(this.name).children;\n        const injector = new OutletInjector(activatedRoute, childContexts, location.injector);\n        if (resolverOrInjector && isComponentFactoryResolver(resolverOrInjector)) {\n            const factory = resolverOrInjector.resolveComponentFactory(component);\n            this.activated = location.createComponent(factory, location.length, injector);\n        }\n        else {\n            const environmentInjector = resolverOrInjector ?? this.environmentInjector;\n            this.activated = location.createComponent(component, { index: location.length, injector, environmentInjector });\n        }\n        // Calling `markForCheck` to make sure we will run the change detection when the\n        // `RouterOutlet` is inside a `ChangeDetectionStrategy.OnPush` component.\n        this.changeDetector.markForCheck();\n        this.activateEvents.emit(this.activated.instance);\n    }\n}\nRouterOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: RouterOutlet, deps: [], target: i0.ɵɵFactoryTarget.Directive });\nRouterOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.2.10\", type: RouterOutlet, isStandalone: true, selector: \"router-outlet\", inputs: { name: \"name\" }, outputs: { activateEvents: \"activate\", deactivateEvents: \"deactivate\", attachEvents: \"attach\", detachEvents: \"detach\" }, exportAs: [\"outlet\"], usesOnChanges: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: RouterOutlet, decorators: [{\n            type: Directive,\n            args: [{\n                    selector: 'router-outlet',\n                    exportAs: 'outlet',\n                    standalone: true,\n                }]\n        }], propDecorators: { name: [{\n                type: Input\n            }], activateEvents: [{\n                type: Output,\n                args: ['activate']\n            }], deactivateEvents: [{\n                type: Output,\n                args: ['deactivate']\n            }], attachEvents: [{\n                type: Output,\n                args: ['attach']\n            }], detachEvents: [{\n                type: Output,\n                args: ['detach']\n            }] } });\nclass OutletInjector {\n    constructor(route, childContexts, parent) {\n        this.route = route;\n        this.childContexts = childContexts;\n        this.parent = parent;\n    }\n    get(token, notFoundValue) {\n        if (token === ActivatedRoute) {\n            return this.route;\n        }\n        if (token === ChildrenOutletContexts) {\n            return this.childContexts;\n        }\n        return this.parent.get(token, notFoundValue);\n    }\n}\nfunction isComponentFactoryResolver(item) {\n    return !!item.resolveComponentFactory;\n}\n\n/**\n * This component is used internally within the router to be a placeholder when an empty\n * router-outlet is needed. For example, with a config such as:\n *\n * `{path: 'parent', outlet: 'nav', children: [...]}`\n *\n * In order to render, there needs to be a component on this config, which will default\n * to this `EmptyOutletComponent`.\n */\nclass ɵEmptyOutletComponent {\n}\nɵEmptyOutletComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: ɵEmptyOutletComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });\nɵEmptyOutletComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"15.2.10\", type: ɵEmptyOutletComponent, isStandalone: true, selector: \"ng-component\", ngImport: i0, template: `<router-outlet></router-outlet>`, isInline: true, dependencies: [{ kind: \"directive\", type: RouterOutlet, selector: \"router-outlet\", inputs: [\"name\"], outputs: [\"activate\", \"deactivate\", \"attach\", \"detach\"], exportAs: [\"outlet\"] }] });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: ɵEmptyOutletComponent, decorators: [{\n            type: Component,\n            args: [{\n                    template: `<router-outlet></router-outlet>`,\n                    imports: [RouterOutlet],\n                    standalone: true,\n                }]\n        }] });\n\n/**\n * Creates an `EnvironmentInjector` if the `Route` has providers and one does not already exist\n * and returns the injector. Otherwise, if the `Route` does not have `providers`, returns the\n * `currentInjector`.\n *\n * @param route The route that might have providers\n * @param currentInjector The parent injector of the `Route`\n */\nfunction getOrCreateRouteInjectorIfNeeded(route, currentInjector) {\n    if (route.providers && !route._injector) {\n        route._injector =\n            createEnvironmentInjector(route.providers, currentInjector, `Route: ${route.path}`);\n    }\n    return route._injector ?? currentInjector;\n}\nfunction getLoadedRoutes(route) {\n    return route._loadedRoutes;\n}\nfunction getLoadedInjector(route) {\n    return route._loadedInjector;\n}\nfunction getLoadedComponent(route) {\n    return route._loadedComponent;\n}\nfunction getProvidersInjector(route) {\n    return route._injector;\n}\nfunction validateConfig(config, parentPath = '', requireStandaloneComponents = false) {\n    // forEach doesn't iterate undefined values\n    for (let i = 0; i < config.length; i++) {\n        const route = config[i];\n        const fullPath = getFullPath(parentPath, route);\n        validateNode(route, fullPath, requireStandaloneComponents);\n    }\n}\nfunction assertStandalone(fullPath, component) {\n    if (component && ɵisNgModule(component)) {\n        throw new ɵRuntimeError(4014 /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */, `Invalid configuration of route '${fullPath}'. You are using 'loadComponent' with a module, ` +\n            `but it must be used with standalone components. Use 'loadChildren' instead.`);\n    }\n    else if (component && !isStandalone(component)) {\n        throw new ɵRuntimeError(4014 /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */, `Invalid configuration of route '${fullPath}'. The component must be standalone.`);\n    }\n}\nfunction validateNode(route, fullPath, requireStandaloneComponents) {\n    if (typeof ngDevMode === 'undefined' || ngDevMode) {\n        if (!route) {\n            throw new ɵRuntimeError(4014 /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */, `\n      Invalid configuration of route '${fullPath}': Encountered undefined route.\n      The reason might be an extra comma.\n\n      Example:\n      const routes: Routes = [\n        { path: '', redirectTo: '/dashboard', pathMatch: 'full' },\n        { path: 'dashboard',  component: DashboardComponent },, << two commas\n        { path: 'detail/:id', component: HeroDetailComponent }\n      ];\n    `);\n        }\n        if (Array.isArray(route)) {\n            throw new ɵRuntimeError(4014 /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */, `Invalid configuration of route '${fullPath}': Array cannot be specified`);\n        }\n        if (!route.redirectTo && !route.component && !route.loadComponent && !route.children &&\n            !route.loadChildren && (route.outlet && route.outlet !== PRIMARY_OUTLET)) {\n            throw new ɵRuntimeError(4014 /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */, `Invalid configuration of route '${fullPath}': a componentless route without children or loadChildren cannot have a named outlet set`);\n        }\n        if (route.redirectTo && route.children) {\n            throw new ɵRuntimeError(4014 /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */, `Invalid configuration of route '${fullPath}': redirectTo and children cannot be used together`);\n        }\n        if (route.redirectTo && route.loadChildren) {\n            throw new ɵRuntimeError(4014 /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */, `Invalid configuration of route '${fullPath}': redirectTo and loadChildren cannot be used together`);\n        }\n        if (route.children && route.loadChildren) {\n            throw new ɵRuntimeError(4014 /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */, `Invalid configuration of route '${fullPath}': children and loadChildren cannot be used together`);\n        }\n        if (route.redirectTo && (route.component || route.loadComponent)) {\n            throw new ɵRuntimeError(4014 /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */, `Invalid configuration of route '${fullPath}': redirectTo and component/loadComponent cannot be used together`);\n        }\n        if (route.component && route.loadComponent) {\n            throw new ɵRuntimeError(4014 /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */, `Invalid configuration of route '${fullPath}': component and loadComponent cannot be used together`);\n        }\n        if (route.redirectTo && route.canActivate) {\n            throw new ɵRuntimeError(4014 /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */, `Invalid configuration of route '${fullPath}': redirectTo and canActivate cannot be used together. Redirects happen before activation ` +\n                `so canActivate will never be executed.`);\n        }\n        if (route.path && route.matcher) {\n            throw new ɵRuntimeError(4014 /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */, `Invalid configuration of route '${fullPath}': path and matcher cannot be used together`);\n        }\n        if (route.redirectTo === void 0 && !route.component && !route.loadComponent &&\n            !route.children && !route.loadChildren) {\n            throw new ɵRuntimeError(4014 /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */, `Invalid configuration of route '${fullPath}'. One of the following must be provided: component, loadComponent, redirectTo, children or loadChildren`);\n        }\n        if (route.path === void 0 && route.matcher === void 0) {\n            throw new ɵRuntimeError(4014 /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */, `Invalid configuration of route '${fullPath}': routes must have either a path or a matcher specified`);\n        }\n        if (typeof route.path === 'string' && route.path.charAt(0) === '/') {\n            throw new ɵRuntimeError(4014 /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */, `Invalid configuration of route '${fullPath}': path cannot start with a slash`);\n        }\n        if (route.path === '' && route.redirectTo !== void 0 && route.pathMatch === void 0) {\n            const exp = `The default value of 'pathMatch' is 'prefix', but often the intent is to use 'full'.`;\n            throw new ɵRuntimeError(4014 /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */, `Invalid configuration of route '{path: \"${fullPath}\", redirectTo: \"${route.redirectTo}\"}': please provide 'pathMatch'. ${exp}`);\n        }\n        if (requireStandaloneComponents) {\n            assertStandalone(fullPath, route.component);\n        }\n    }\n    if (route.children) {\n        validateConfig(route.children, fullPath, requireStandaloneComponents);\n    }\n}\nfunction getFullPath(parentPath, currentRoute) {\n    if (!currentRoute) {\n        return parentPath;\n    }\n    if (!parentPath && !currentRoute.path) {\n        return '';\n    }\n    else if (parentPath && !currentRoute.path) {\n        return `${parentPath}/`;\n    }\n    else if (!parentPath && currentRoute.path) {\n        return currentRoute.path;\n    }\n    else {\n        return `${parentPath}/${currentRoute.path}`;\n    }\n}\n/**\n * Makes a copy of the config and adds any default required properties.\n */\nfunction standardizeConfig(r) {\n    const children = r.children && r.children.map(standardizeConfig);\n    const c = children ? { ...r, children } : { ...r };\n    if ((!c.component && !c.loadComponent) && (children || c.loadChildren) &&\n        (c.outlet && c.outlet !== PRIMARY_OUTLET)) {\n        c.component = ɵEmptyOutletComponent;\n    }\n    return c;\n}\n/** Returns the `route.outlet` or PRIMARY_OUTLET if none exists. */\nfunction getOutlet(route) {\n    return route.outlet || PRIMARY_OUTLET;\n}\n/**\n * Sorts the `routes` such that the ones with an outlet matching `outletName` come first.\n * The order of the configs is otherwise preserved.\n */\nfunction sortByMatchingOutlets(routes, outletName) {\n    const sortedConfig = routes.filter(r => getOutlet(r) === outletName);\n    sortedConfig.push(...routes.filter(r => getOutlet(r) !== outletName));\n    return sortedConfig;\n}\n/**\n * Gets the first injector in the snapshot's parent tree.\n *\n * If the `Route` has a static list of providers, the returned injector will be the one created from\n * those. If it does not exist, the returned injector may come from the parents, which may be from a\n * loaded config or their static providers.\n *\n * Returns `null` if there is neither this nor any parents have a stored injector.\n *\n * Generally used for retrieving the injector to use for getting tokens for guards/resolvers and\n * also used for getting the correct injector to use for creating components.\n */\nfunction getClosestRouteInjector(snapshot) {\n    if (!snapshot)\n        return null;\n    // If the current route has its own injector, which is created from the static providers on the\n    // route itself, we should use that. Otherwise, we start at the parent since we do not want to\n    // include the lazy loaded injector from this route.\n    if (snapshot.routeConfig?._injector) {\n        return snapshot.routeConfig._injector;\n    }\n    for (let s = snapshot.parent; s; s = s.parent) {\n        const route = s.routeConfig;\n        // Note that the order here is important. `_loadedInjector` stored on the route with\n        // `loadChildren: () => NgModule` so it applies to child routes with priority. The `_injector`\n        // is created from the static providers on that parent route, so it applies to the children as\n        // well, but only if there is no lazy loaded NgModuleRef injector.\n        if (route?._loadedInjector)\n            return route._loadedInjector;\n        if (route?._injector)\n            return route._injector;\n    }\n    return null;\n}\n\nconst activateRoutes = (rootContexts, routeReuseStrategy, forwardEvent) => map(t => {\n    new ActivateRoutes(routeReuseStrategy, t.targetRouterState, t.currentRouterState, forwardEvent)\n        .activate(rootContexts);\n    return t;\n});\nclass ActivateRoutes {\n    constructor(routeReuseStrategy, futureState, currState, forwardEvent) {\n        this.routeReuseStrategy = routeReuseStrategy;\n        this.futureState = futureState;\n        this.currState = currState;\n        this.forwardEvent = forwardEvent;\n    }\n    activate(parentContexts) {\n        const futureRoot = this.futureState._root;\n        const currRoot = this.currState ? this.currState._root : null;\n        this.deactivateChildRoutes(futureRoot, currRoot, parentContexts);\n        advanceActivatedRoute(this.futureState.root);\n        this.activateChildRoutes(futureRoot, currRoot, parentContexts);\n    }\n    // De-activate the child route that are not re-used for the future state\n    deactivateChildRoutes(futureNode, currNode, contexts) {\n        const children = nodeChildrenAsMap(currNode);\n        // Recurse on the routes active in the future state to de-activate deeper children\n        futureNode.children.forEach(futureChild => {\n            const childOutletName = futureChild.value.outlet;\n            this.deactivateRoutes(futureChild, children[childOutletName], contexts);\n            delete children[childOutletName];\n        });\n        // De-activate the routes that will not be re-used\n        forEach(children, (v, childName) => {\n            this.deactivateRouteAndItsChildren(v, contexts);\n        });\n    }\n    deactivateRoutes(futureNode, currNode, parentContext) {\n        const future = futureNode.value;\n        const curr = currNode ? currNode.value : null;\n        if (future === curr) {\n            // Reusing the node, check to see if the children need to be de-activated\n            if (future.component) {\n                // If we have a normal route, we need to go through an outlet.\n                const context = parentContext.getContext(future.outlet);\n                if (context) {\n                    this.deactivateChildRoutes(futureNode, currNode, context.children);\n                }\n            }\n            else {\n                // if we have a componentless route, we recurse but keep the same outlet map.\n                this.deactivateChildRoutes(futureNode, currNode, parentContext);\n            }\n        }\n        else {\n            if (curr) {\n                // Deactivate the current route which will not be re-used\n                this.deactivateRouteAndItsChildren(currNode, parentContext);\n            }\n        }\n    }\n    deactivateRouteAndItsChildren(route, parentContexts) {\n        // If there is no component, the Route is never attached to an outlet (because there is no\n        // component to attach).\n        if (route.value.component && this.routeReuseStrategy.shouldDetach(route.value.snapshot)) {\n            this.detachAndStoreRouteSubtree(route, parentContexts);\n        }\n        else {\n            this.deactivateRouteAndOutlet(route, parentContexts);\n        }\n    }\n    detachAndStoreRouteSubtree(route, parentContexts) {\n        const context = parentContexts.getContext(route.value.outlet);\n        const contexts = context && route.value.component ? context.children : parentContexts;\n        const children = nodeChildrenAsMap(route);\n        for (const childOutlet of Object.keys(children)) {\n            this.deactivateRouteAndItsChildren(children[childOutlet], contexts);\n        }\n        if (context && context.outlet) {\n            const componentRef = context.outlet.detach();\n            const contexts = context.children.onOutletDeactivated();\n            this.routeReuseStrategy.store(route.value.snapshot, { componentRef, route, contexts });\n        }\n    }\n    deactivateRouteAndOutlet(route, parentContexts) {\n        const context = parentContexts.getContext(route.value.outlet);\n        // The context could be `null` if we are on a componentless route but there may still be\n        // children that need deactivating.\n        const contexts = context && route.value.component ? context.children : parentContexts;\n        const children = nodeChildrenAsMap(route);\n        for (const childOutlet of Object.keys(children)) {\n            this.deactivateRouteAndItsChildren(children[childOutlet], contexts);\n        }\n        if (context) {\n            if (context.outlet) {\n                // Destroy the component\n                context.outlet.deactivate();\n                // Destroy the contexts for all the outlets that were in the component\n                context.children.onOutletDeactivated();\n            }\n            // Clear the information about the attached component on the context but keep the reference to\n            // the outlet. Clear even if outlet was not yet activated to avoid activating later with old\n            // info\n            context.attachRef = null;\n            context.resolver = null;\n            context.route = null;\n        }\n    }\n    activateChildRoutes(futureNode, currNode, contexts) {\n        const children = nodeChildrenAsMap(currNode);\n        futureNode.children.forEach(c => {\n            this.activateRoutes(c, children[c.value.outlet], contexts);\n            this.forwardEvent(new ActivationEnd(c.value.snapshot));\n        });\n        if (futureNode.children.length) {\n            this.forwardEvent(new ChildActivationEnd(futureNode.value.snapshot));\n        }\n    }\n    activateRoutes(futureNode, currNode, parentContexts) {\n        const future = futureNode.value;\n        const curr = currNode ? currNode.value : null;\n        advanceActivatedRoute(future);\n        // reusing the node\n        if (future === curr) {\n            if (future.component) {\n                // If we have a normal route, we need to go through an outlet.\n                const context = parentContexts.getOrCreateContext(future.outlet);\n                this.activateChildRoutes(futureNode, currNode, context.children);\n            }\n            else {\n                // if we have a componentless route, we recurse but keep the same outlet map.\n                this.activateChildRoutes(futureNode, currNode, parentContexts);\n            }\n        }\n        else {\n            if (future.component) {\n                // if we have a normal route, we need to place the component into the outlet and recurse.\n                const context = parentContexts.getOrCreateContext(future.outlet);\n                if (this.routeReuseStrategy.shouldAttach(future.snapshot)) {\n                    const stored = this.routeReuseStrategy.retrieve(future.snapshot);\n                    this.routeReuseStrategy.store(future.snapshot, null);\n                    context.children.onOutletReAttached(stored.contexts);\n                    context.attachRef = stored.componentRef;\n                    context.route = stored.route.value;\n                    if (context.outlet) {\n                        // Attach right away when the outlet has already been instantiated\n                        // Otherwise attach from `RouterOutlet.ngOnInit` when it is instantiated\n                        context.outlet.attach(stored.componentRef, stored.route.value);\n                    }\n                    advanceActivatedRoute(stored.route.value);\n                    this.activateChildRoutes(futureNode, null, context.children);\n                }\n                else {\n                    const injector = getClosestRouteInjector(future.snapshot);\n                    const cmpFactoryResolver = injector?.get(ComponentFactoryResolver) ?? null;\n                    context.attachRef = null;\n                    context.route = future;\n                    context.resolver = cmpFactoryResolver;\n                    context.injector = injector;\n                    if (context.outlet) {\n                        // Activate the outlet when it has already been instantiated\n                        // Otherwise it will get activated from its `ngOnInit` when instantiated\n                        context.outlet.activateWith(future, context.injector);\n                    }\n                    this.activateChildRoutes(futureNode, null, context.children);\n                }\n            }\n            else {\n                // if we have a componentless route, we recurse but keep the same outlet map.\n                this.activateChildRoutes(futureNode, null, parentContexts);\n            }\n        }\n    }\n}\n\nclass CanActivate {\n    constructor(path) {\n        this.path = path;\n        this.route = this.path[this.path.length - 1];\n    }\n}\nclass CanDeactivate {\n    constructor(component, route) {\n        this.component = component;\n        this.route = route;\n    }\n}\nfunction getAllRouteGuards(future, curr, parentContexts) {\n    const futureRoot = future._root;\n    const currRoot = curr ? curr._root : null;\n    return getChildRouteGuards(futureRoot, currRoot, parentContexts, [futureRoot.value]);\n}\nfunction getCanActivateChild(p) {\n    const canActivateChild = p.routeConfig ? p.routeConfig.canActivateChild : null;\n    if (!canActivateChild || canActivateChild.length === 0)\n        return null;\n    return { node: p, guards: canActivateChild };\n}\nfunction getTokenOrFunctionIdentity(tokenOrFunction, injector) {\n    const NOT_FOUND = Symbol();\n    const result = injector.get(tokenOrFunction, NOT_FOUND);\n    if (result === NOT_FOUND) {\n        if (typeof tokenOrFunction === 'function' && !ɵisInjectable(tokenOrFunction)) {\n            // We think the token is just a function so return it as-is\n            return tokenOrFunction;\n        }\n        else {\n            // This will throw the not found error\n            return injector.get(tokenOrFunction);\n        }\n    }\n    return result;\n}\nfunction getChildRouteGuards(futureNode, currNode, contexts, futurePath, checks = {\n    canDeactivateChecks: [],\n    canActivateChecks: []\n}) {\n    const prevChildren = nodeChildrenAsMap(currNode);\n    // Process the children of the future route\n    futureNode.children.forEach(c => {\n        getRouteGuards(c, prevChildren[c.value.outlet], contexts, futurePath.concat([c.value]), checks);\n        delete prevChildren[c.value.outlet];\n    });\n    // Process any children left from the current route (not active for the future route)\n    forEach(prevChildren, (v, k) => deactivateRouteAndItsChildren(v, contexts.getContext(k), checks));\n    return checks;\n}\nfunction getRouteGuards(futureNode, currNode, parentContexts, futurePath, checks = {\n    canDeactivateChecks: [],\n    canActivateChecks: []\n}) {\n    const future = futureNode.value;\n    const curr = currNode ? currNode.value : null;\n    const context = parentContexts ? parentContexts.getContext(futureNode.value.outlet) : null;\n    // reusing the node\n    if (curr && future.routeConfig === curr.routeConfig) {\n        const shouldRun = shouldRunGuardsAndResolvers(curr, future, future.routeConfig.runGuardsAndResolvers);\n        if (shouldRun) {\n            checks.canActivateChecks.push(new CanActivate(futurePath));\n        }\n        else {\n            // we need to set the data\n            future.data = curr.data;\n            future._resolvedData = curr._resolvedData;\n        }\n        // If we have a component, we need to go through an outlet.\n        if (future.component) {\n            getChildRouteGuards(futureNode, currNode, context ? context.children : null, futurePath, checks);\n            // if we have a componentless route, we recurse but keep the same outlet map.\n        }\n        else {\n            getChildRouteGuards(futureNode, currNode, parentContexts, futurePath, checks);\n        }\n        if (shouldRun && context && context.outlet && context.outlet.isActivated) {\n            checks.canDeactivateChecks.push(new CanDeactivate(context.outlet.component, curr));\n        }\n    }\n    else {\n        if (curr) {\n            deactivateRouteAndItsChildren(currNode, context, checks);\n        }\n        checks.canActivateChecks.push(new CanActivate(futurePath));\n        // If we have a component, we need to go through an outlet.\n        if (future.component) {\n            getChildRouteGuards(futureNode, null, context ? context.children : null, futurePath, checks);\n            // if we have a componentless route, we recurse but keep the same outlet map.\n        }\n        else {\n            getChildRouteGuards(futureNode, null, parentContexts, futurePath, checks);\n        }\n    }\n    return checks;\n}\nfunction shouldRunGuardsAndResolvers(curr, future, mode) {\n    if (typeof mode === 'function') {\n        return mode(curr, future);\n    }\n    switch (mode) {\n        case 'pathParamsChange':\n            return !equalPath(curr.url, future.url);\n        case 'pathParamsOrQueryParamsChange':\n            return !equalPath(curr.url, future.url) ||\n                !shallowEqual(curr.queryParams, future.queryParams);\n        case 'always':\n            return true;\n        case 'paramsOrQueryParamsChange':\n            return !equalParamsAndUrlSegments(curr, future) ||\n                !shallowEqual(curr.queryParams, future.queryParams);\n        case 'paramsChange':\n        default:\n            return !equalParamsAndUrlSegments(curr, future);\n    }\n}\nfunction deactivateRouteAndItsChildren(route, context, checks) {\n    const children = nodeChildrenAsMap(route);\n    const r = route.value;\n    forEach(children, (node, childName) => {\n        if (!r.component) {\n            deactivateRouteAndItsChildren(node, context, checks);\n        }\n        else if (context) {\n            deactivateRouteAndItsChildren(node, context.children.getContext(childName), checks);\n        }\n        else {\n            deactivateRouteAndItsChildren(node, null, checks);\n        }\n    });\n    if (!r.component) {\n        checks.canDeactivateChecks.push(new CanDeactivate(null, r));\n    }\n    else if (context && context.outlet && context.outlet.isActivated) {\n        checks.canDeactivateChecks.push(new CanDeactivate(context.outlet.component, r));\n    }\n    else {\n        checks.canDeactivateChecks.push(new CanDeactivate(null, r));\n    }\n}\n\n/**\n * Simple function check, but generic so type inference will flow. Example:\n *\n * function product(a: number, b: number) {\n *   return a * b;\n * }\n *\n * if (isFunction<product>(fn)) {\n *   return fn(1, 2);\n * } else {\n *   throw \"Must provide the `product` function\";\n * }\n */\nfunction isFunction(v) {\n    return typeof v === 'function';\n}\nfunction isBoolean(v) {\n    return typeof v === 'boolean';\n}\nfunction isCanLoad(guard) {\n    return guard && isFunction(guard.canLoad);\n}\nfunction isCanActivate(guard) {\n    return guard && isFunction(guard.canActivate);\n}\nfunction isCanActivateChild(guard) {\n    return guard && isFunction(guard.canActivateChild);\n}\nfunction isCanDeactivate(guard) {\n    return guard && isFunction(guard.canDeactivate);\n}\nfunction isCanMatch(guard) {\n    return guard && isFunction(guard.canMatch);\n}\nfunction isRedirectingNavigationCancelingError(error) {\n    return isNavigationCancelingError(error) && isUrlTree(error.url);\n}\nfunction isNavigationCancelingError(error) {\n    return error && error[NAVIGATION_CANCELING_ERROR];\n}\nfunction isEmptyError(e) {\n    return e instanceof EmptyError || e?.name === 'EmptyError';\n}\n\nconst INITIAL_VALUE = Symbol('INITIAL_VALUE');\nfunction prioritizedGuardValue() {\n    return switchMap(obs => {\n        return combineLatest(obs.map(o => o.pipe(take(1), startWith(INITIAL_VALUE))))\n            .pipe(map((results) => {\n            for (const result of results) {\n                if (result === true) {\n                    // If result is true, check the next one\n                    continue;\n                }\n                else if (result === INITIAL_VALUE) {\n                    // If guard has not finished, we need to stop processing.\n                    return INITIAL_VALUE;\n                }\n                else if (result === false || result instanceof UrlTree) {\n                    // Result finished and was not true. Return the result.\n                    // Note that we only allow false/UrlTree. Other values are considered invalid and\n                    // ignored.\n                    return result;\n                }\n            }\n            // Everything resolved to true. Return true.\n            return true;\n        }), filter((item) => item !== INITIAL_VALUE), take(1));\n    });\n}\n\nfunction checkGuards(injector, forwardEvent) {\n    return mergeMap(t => {\n        const { targetSnapshot, currentSnapshot, guards: { canActivateChecks, canDeactivateChecks } } = t;\n        if (canDeactivateChecks.length === 0 && canActivateChecks.length === 0) {\n            return of({ ...t, guardsResult: true });\n        }\n        return runCanDeactivateChecks(canDeactivateChecks, targetSnapshot, currentSnapshot, injector)\n            .pipe(mergeMap(canDeactivate => {\n            return canDeactivate && isBoolean(canDeactivate) ?\n                runCanActivateChecks(targetSnapshot, canActivateChecks, injector, forwardEvent) :\n                of(canDeactivate);\n        }), map(guardsResult => ({ ...t, guardsResult })));\n    });\n}\nfunction runCanDeactivateChecks(checks, futureRSS, currRSS, injector) {\n    return from(checks).pipe(mergeMap(check => runCanDeactivate(check.component, check.route, currRSS, futureRSS, injector)), first(result => {\n        return result !== true;\n    }, true));\n}\nfunction runCanActivateChecks(futureSnapshot, checks, injector, forwardEvent) {\n    return from(checks).pipe(concatMap((check) => {\n        return concat(fireChildActivationStart(check.route.parent, forwardEvent), fireActivationStart(check.route, forwardEvent), runCanActivateChild(futureSnapshot, check.path, injector), runCanActivate(futureSnapshot, check.route, injector));\n    }), first(result => {\n        return result !== true;\n    }, true));\n}\n/**\n * This should fire off `ActivationStart` events for each route being activated at this\n * level.\n * In other words, if you're activating `a` and `b` below, `path` will contain the\n * `ActivatedRouteSnapshot`s for both and we will fire `ActivationStart` for both. Always\n * return\n * `true` so checks continue to run.\n */\nfunction fireActivationStart(snapshot, forwardEvent) {\n    if (snapshot !== null && forwardEvent) {\n        forwardEvent(new ActivationStart(snapshot));\n    }\n    return of(true);\n}\n/**\n * This should fire off `ChildActivationStart` events for each route being activated at this\n * level.\n * In other words, if you're activating `a` and `b` below, `path` will contain the\n * `ActivatedRouteSnapshot`s for both and we will fire `ChildActivationStart` for both. Always\n * return\n * `true` so checks continue to run.\n */\nfunction fireChildActivationStart(snapshot, forwardEvent) {\n    if (snapshot !== null && forwardEvent) {\n        forwardEvent(new ChildActivationStart(snapshot));\n    }\n    return of(true);\n}\nfunction runCanActivate(futureRSS, futureARS, injector) {\n    const canActivate = futureARS.routeConfig ? futureARS.routeConfig.canActivate : null;\n    if (!canActivate || canActivate.length === 0)\n        return of(true);\n    const canActivateObservables = canActivate.map((canActivate) => {\n        return defer(() => {\n            const closestInjector = getClosestRouteInjector(futureARS) ?? injector;\n            const guard = getTokenOrFunctionIdentity(canActivate, closestInjector);\n            const guardVal = isCanActivate(guard) ?\n                guard.canActivate(futureARS, futureRSS) :\n                closestInjector.runInContext(() => guard(futureARS, futureRSS));\n            return wrapIntoObservable(guardVal).pipe(first());\n        });\n    });\n    return of(canActivateObservables).pipe(prioritizedGuardValue());\n}\nfunction runCanActivateChild(futureRSS, path, injector) {\n    const futureARS = path[path.length - 1];\n    const canActivateChildGuards = path.slice(0, path.length - 1)\n        .reverse()\n        .map(p => getCanActivateChild(p))\n        .filter(_ => _ !== null);\n    const canActivateChildGuardsMapped = canActivateChildGuards.map((d) => {\n        return defer(() => {\n            const guardsMapped = d.guards.map((canActivateChild) => {\n                const closestInjector = getClosestRouteInjector(d.node) ?? injector;\n                const guard = getTokenOrFunctionIdentity(canActivateChild, closestInjector);\n                const guardVal = isCanActivateChild(guard) ?\n                    guard.canActivateChild(futureARS, futureRSS) :\n                    closestInjector.runInContext(() => guard(futureARS, futureRSS));\n                return wrapIntoObservable(guardVal).pipe(first());\n            });\n            return of(guardsMapped).pipe(prioritizedGuardValue());\n        });\n    });\n    return of(canActivateChildGuardsMapped).pipe(prioritizedGuardValue());\n}\nfunction runCanDeactivate(component, currARS, currRSS, futureRSS, injector) {\n    const canDeactivate = currARS && currARS.routeConfig ? currARS.routeConfig.canDeactivate : null;\n    if (!canDeactivate || canDeactivate.length === 0)\n        return of(true);\n    const canDeactivateObservables = canDeactivate.map((c) => {\n        const closestInjector = getClosestRouteInjector(currARS) ?? injector;\n        const guard = getTokenOrFunctionIdentity(c, closestInjector);\n        const guardVal = isCanDeactivate(guard) ?\n            guard.canDeactivate(component, currARS, currRSS, futureRSS) :\n            closestInjector.runInContext(() => guard(component, currARS, currRSS, futureRSS));\n        return wrapIntoObservable(guardVal).pipe(first());\n    });\n    return of(canDeactivateObservables).pipe(prioritizedGuardValue());\n}\nfunction runCanLoadGuards(injector, route, segments, urlSerializer) {\n    const canLoad = route.canLoad;\n    if (canLoad === undefined || canLoad.length === 0) {\n        return of(true);\n    }\n    const canLoadObservables = canLoad.map((injectionToken) => {\n        const guard = getTokenOrFunctionIdentity(injectionToken, injector);\n        const guardVal = isCanLoad(guard) ?\n            guard.canLoad(route, segments) :\n            injector.runInContext(() => guard(route, segments));\n        return wrapIntoObservable(guardVal);\n    });\n    return of(canLoadObservables)\n        .pipe(prioritizedGuardValue(), redirectIfUrlTree(urlSerializer));\n}\nfunction redirectIfUrlTree(urlSerializer) {\n    return pipe(tap((result) => {\n        if (!isUrlTree(result))\n            return;\n        throw redirectingNavigationError(urlSerializer, result);\n    }), map(result => result === true));\n}\nfunction runCanMatchGuards(injector, route, segments, urlSerializer) {\n    const canMatch = route.canMatch;\n    if (!canMatch || canMatch.length === 0)\n        return of(true);\n    const canMatchObservables = canMatch.map(injectionToken => {\n        const guard = getTokenOrFunctionIdentity(injectionToken, injector);\n        const guardVal = isCanMatch(guard) ?\n            guard.canMatch(route, segments) :\n            injector.runInContext(() => guard(route, segments));\n        return wrapIntoObservable(guardVal);\n    });\n    return of(canMatchObservables)\n        .pipe(prioritizedGuardValue(), redirectIfUrlTree(urlSerializer));\n}\n\nconst noMatch$1 = {\n    matched: false,\n    consumedSegments: [],\n    remainingSegments: [],\n    parameters: {},\n    positionalParamSegments: {}\n};\nfunction matchWithChecks(segmentGroup, route, segments, injector, urlSerializer) {\n    const result = match(segmentGroup, route, segments);\n    if (!result.matched) {\n        return of(result);\n    }\n    // Only create the Route's `EnvironmentInjector` if it matches the attempted\n    // navigation\n    injector = getOrCreateRouteInjectorIfNeeded(route, injector);\n    return runCanMatchGuards(injector, route, segments, urlSerializer)\n        .pipe(map((v) => v === true ? result : { ...noMatch$1 }));\n}\nfunction match(segmentGroup, route, segments) {\n    if (route.path === '') {\n        if (route.pathMatch === 'full' && (segmentGroup.hasChildren() || segments.length > 0)) {\n            return { ...noMatch$1 };\n        }\n        return {\n            matched: true,\n            consumedSegments: [],\n            remainingSegments: segments,\n            parameters: {},\n            positionalParamSegments: {}\n        };\n    }\n    const matcher = route.matcher || defaultUrlMatcher;\n    const res = matcher(segments, segmentGroup, route);\n    if (!res)\n        return { ...noMatch$1 };\n    const posParams = {};\n    forEach(res.posParams, (v, k) => {\n        posParams[k] = v.path;\n    });\n    const parameters = res.consumed.length > 0 ?\n        { ...posParams, ...res.consumed[res.consumed.length - 1].parameters } :\n        posParams;\n    return {\n        matched: true,\n        consumedSegments: res.consumed,\n        remainingSegments: segments.slice(res.consumed.length),\n        // TODO(atscott): investigate combining parameters and positionalParamSegments\n        parameters,\n        positionalParamSegments: res.posParams ?? {}\n    };\n}\nfunction split(segmentGroup, consumedSegments, slicedSegments, config) {\n    if (slicedSegments.length > 0 &&\n        containsEmptyPathMatchesWithNamedOutlets(segmentGroup, slicedSegments, config)) {\n        const s = new UrlSegmentGroup(consumedSegments, createChildrenForEmptyPaths(segmentGroup, consumedSegments, config, new UrlSegmentGroup(slicedSegments, segmentGroup.children)));\n        s._sourceSegment = segmentGroup;\n        s._segmentIndexShift = consumedSegments.length;\n        return { segmentGroup: s, slicedSegments: [] };\n    }\n    if (slicedSegments.length === 0 &&\n        containsEmptyPathMatches(segmentGroup, slicedSegments, config)) {\n        const s = new UrlSegmentGroup(segmentGroup.segments, addEmptyPathsToChildrenIfNeeded(segmentGroup, consumedSegments, slicedSegments, config, segmentGroup.children));\n        s._sourceSegment = segmentGroup;\n        s._segmentIndexShift = consumedSegments.length;\n        return { segmentGroup: s, slicedSegments };\n    }\n    const s = new UrlSegmentGroup(segmentGroup.segments, segmentGroup.children);\n    s._sourceSegment = segmentGroup;\n    s._segmentIndexShift = consumedSegments.length;\n    return { segmentGroup: s, slicedSegments };\n}\nfunction addEmptyPathsToChildrenIfNeeded(segmentGroup, consumedSegments, slicedSegments, routes, children) {\n    const res = {};\n    for (const r of routes) {\n        if (emptyPathMatch(segmentGroup, slicedSegments, r) && !children[getOutlet(r)]) {\n            const s = new UrlSegmentGroup([], {});\n            s._sourceSegment = segmentGroup;\n            s._segmentIndexShift = consumedSegments.length;\n            res[getOutlet(r)] = s;\n        }\n    }\n    return { ...children, ...res };\n}\nfunction createChildrenForEmptyPaths(segmentGroup, consumedSegments, routes, primarySegment) {\n    const res = {};\n    res[PRIMARY_OUTLET] = primarySegment;\n    primarySegment._sourceSegment = segmentGroup;\n    primarySegment._segmentIndexShift = consumedSegments.length;\n    for (const r of routes) {\n        if (r.path === '' && getOutlet(r) !== PRIMARY_OUTLET) {\n            const s = new UrlSegmentGroup([], {});\n            s._sourceSegment = segmentGroup;\n            s._segmentIndexShift = consumedSegments.length;\n            res[getOutlet(r)] = s;\n        }\n    }\n    return res;\n}\nfunction containsEmptyPathMatchesWithNamedOutlets(segmentGroup, slicedSegments, routes) {\n    return routes.some(r => emptyPathMatch(segmentGroup, slicedSegments, r) && getOutlet(r) !== PRIMARY_OUTLET);\n}\nfunction containsEmptyPathMatches(segmentGroup, slicedSegments, routes) {\n    return routes.some(r => emptyPathMatch(segmentGroup, slicedSegments, r));\n}\nfunction emptyPathMatch(segmentGroup, slicedSegments, r) {\n    if ((segmentGroup.hasChildren() || slicedSegments.length > 0) && r.pathMatch === 'full') {\n        return false;\n    }\n    return r.path === '';\n}\n/**\n * Determines if `route` is a path match for the `rawSegment`, `segments`, and `outlet` without\n * verifying that its children are a full match for the remainder of the `rawSegment` children as\n * well.\n */\nfunction isImmediateMatch(route, rawSegment, segments, outlet) {\n    // We allow matches to empty paths when the outlets differ so we can match a url like `/(b:b)` to\n    // a config like\n    // * `{path: '', children: [{path: 'b', outlet: 'b'}]}`\n    // or even\n    // * `{path: '', outlet: 'a', children: [{path: 'b', outlet: 'b'}]`\n    //\n    // The exception here is when the segment outlet is for the primary outlet. This would\n    // result in a match inside the named outlet because all children there are written as primary\n    // outlets. So we need to prevent child named outlet matches in a url like `/b` in a config like\n    // * `{path: '', outlet: 'x' children: [{path: 'b'}]}`\n    // This should only match if the url is `/(x:b)`.\n    if (getOutlet(route) !== outlet &&\n        (outlet === PRIMARY_OUTLET || !emptyPathMatch(rawSegment, segments, route))) {\n        return false;\n    }\n    if (route.path === '**') {\n        return true;\n    }\n    return match(rawSegment, route, segments).matched;\n}\nfunction noLeftoversInUrl(segmentGroup, segments, outlet) {\n    return segments.length === 0 && !segmentGroup.children[outlet];\n}\n\nconst NG_DEV_MODE$7 = typeof ngDevMode === 'undefined' || ngDevMode;\nclass NoMatch$1 {\n    constructor(segmentGroup) {\n        this.segmentGroup = segmentGroup || null;\n    }\n}\nclass AbsoluteRedirect {\n    constructor(urlTree) {\n        this.urlTree = urlTree;\n    }\n}\nfunction noMatch(segmentGroup) {\n    return throwError(new NoMatch$1(segmentGroup));\n}\nfunction absoluteRedirect(newTree) {\n    return throwError(new AbsoluteRedirect(newTree));\n}\nfunction namedOutletsRedirect(redirectTo) {\n    return throwError(new ɵRuntimeError(4000 /* RuntimeErrorCode.NAMED_OUTLET_REDIRECT */, NG_DEV_MODE$7 &&\n        `Only absolute redirects can have named outlets. redirectTo: '${redirectTo}'`));\n}\nfunction canLoadFails(route) {\n    return throwError(navigationCancelingError(NG_DEV_MODE$7 &&\n        `Cannot load children because the guard of the route \"path: '${route.path}'\" returned false`, 3 /* NavigationCancellationCode.GuardRejected */));\n}\n/**\n * Returns the `UrlTree` with the redirection applied.\n *\n * Lazy modules are loaded along the way.\n */\nfunction applyRedirects$1(injector, configLoader, urlSerializer, urlTree, config) {\n    return new ApplyRedirects(injector, configLoader, urlSerializer, urlTree, config).apply();\n}\nclass ApplyRedirects {\n    constructor(injector, configLoader, urlSerializer, urlTree, config) {\n        this.injector = injector;\n        this.configLoader = configLoader;\n        this.urlSerializer = urlSerializer;\n        this.urlTree = urlTree;\n        this.config = config;\n        this.allowRedirects = true;\n    }\n    apply() {\n        const splitGroup = split(this.urlTree.root, [], [], this.config).segmentGroup;\n        // TODO(atscott): creating a new segment removes the _sourceSegment _segmentIndexShift, which is\n        // only necessary to prevent failures in tests which assert exact object matches. The `split` is\n        // now shared between `applyRedirects` and `recognize` but only the `recognize` step needs these\n        // properties. Before the implementations were merged, the `applyRedirects` would not assign\n        // them. We should be able to remove this logic as a \"breaking change\" but should do some more\n        // investigation into the failures first.\n        const rootSegmentGroup = new UrlSegmentGroup(splitGroup.segments, splitGroup.children);\n        const expanded$ = this.expandSegmentGroup(this.injector, this.config, rootSegmentGroup, PRIMARY_OUTLET);\n        const urlTrees$ = expanded$.pipe(map((rootSegmentGroup) => {\n            return this.createUrlTree(squashSegmentGroup(rootSegmentGroup), this.urlTree.queryParams, this.urlTree.fragment);\n        }));\n        return urlTrees$.pipe(catchError((e) => {\n            if (e instanceof AbsoluteRedirect) {\n                // After an absolute redirect we do not apply any more redirects!\n                // If this implementation changes, update the documentation note in `redirectTo`.\n                this.allowRedirects = false;\n                // we need to run matching, so we can fetch all lazy-loaded modules\n                return this.match(e.urlTree);\n            }\n            if (e instanceof NoMatch$1) {\n                throw this.noMatchError(e);\n            }\n            throw e;\n        }));\n    }\n    match(tree) {\n        const expanded$ = this.expandSegmentGroup(this.injector, this.config, tree.root, PRIMARY_OUTLET);\n        const mapped$ = expanded$.pipe(map((rootSegmentGroup) => {\n            return this.createUrlTree(squashSegmentGroup(rootSegmentGroup), tree.queryParams, tree.fragment);\n        }));\n        return mapped$.pipe(catchError((e) => {\n            if (e instanceof NoMatch$1) {\n                throw this.noMatchError(e);\n            }\n            throw e;\n        }));\n    }\n    noMatchError(e) {\n        return new ɵRuntimeError(4002 /* RuntimeErrorCode.NO_MATCH */, NG_DEV_MODE$7 && `Cannot match any routes. URL Segment: '${e.segmentGroup}'`);\n    }\n    createUrlTree(rootCandidate, queryParams, fragment) {\n        const root = createRoot(rootCandidate);\n        return new UrlTree(root, queryParams, fragment);\n    }\n    expandSegmentGroup(injector, routes, segmentGroup, outlet) {\n        if (segmentGroup.segments.length === 0 && segmentGroup.hasChildren()) {\n            return this.expandChildren(injector, routes, segmentGroup)\n                .pipe(map((children) => new UrlSegmentGroup([], children)));\n        }\n        return this.expandSegment(injector, segmentGroup, routes, segmentGroup.segments, outlet, true);\n    }\n    // Recursively expand segment groups for all the child outlets\n    expandChildren(injector, routes, segmentGroup) {\n        // Expand outlets one at a time, starting with the primary outlet. We need to do it this way\n        // because an absolute redirect from the primary outlet takes precedence.\n        const childOutlets = [];\n        for (const child of Object.keys(segmentGroup.children)) {\n            if (child === 'primary') {\n                childOutlets.unshift(child);\n            }\n            else {\n                childOutlets.push(child);\n            }\n        }\n        return from(childOutlets)\n            .pipe(concatMap(childOutlet => {\n            const child = segmentGroup.children[childOutlet];\n            // Sort the routes so routes with outlets that match the segment appear\n            // first, followed by routes for other outlets, which might match if they have an\n            // empty path.\n            const sortedRoutes = sortByMatchingOutlets(routes, childOutlet);\n            return this.expandSegmentGroup(injector, sortedRoutes, child, childOutlet)\n                .pipe(map(s => ({ segment: s, outlet: childOutlet })));\n        }), scan((children, expandedChild) => {\n            children[expandedChild.outlet] = expandedChild.segment;\n            return children;\n        }, {}), last$1());\n    }\n    expandSegment(injector, segmentGroup, routes, segments, outlet, allowRedirects) {\n        return from(routes).pipe(concatMap(r => {\n            const expanded$ = this.expandSegmentAgainstRoute(injector, segmentGroup, routes, r, segments, outlet, allowRedirects);\n            return expanded$.pipe(catchError((e) => {\n                if (e instanceof NoMatch$1) {\n                    return of(null);\n                }\n                throw e;\n            }));\n        }), first((s) => !!s), catchError((e, _) => {\n            if (isEmptyError(e)) {\n                if (noLeftoversInUrl(segmentGroup, segments, outlet)) {\n                    return of(new UrlSegmentGroup([], {}));\n                }\n                return noMatch(segmentGroup);\n            }\n            throw e;\n        }));\n    }\n    expandSegmentAgainstRoute(injector, segmentGroup, routes, route, paths, outlet, allowRedirects) {\n        if (!isImmediateMatch(route, segmentGroup, paths, outlet)) {\n            return noMatch(segmentGroup);\n        }\n        if (route.redirectTo === undefined) {\n            return this.matchSegmentAgainstRoute(injector, segmentGroup, route, paths, outlet);\n        }\n        if (allowRedirects && this.allowRedirects) {\n            return this.expandSegmentAgainstRouteUsingRedirect(injector, segmentGroup, routes, route, paths, outlet);\n        }\n        return noMatch(segmentGroup);\n    }\n    expandSegmentAgainstRouteUsingRedirect(injector, segmentGroup, routes, route, segments, outlet) {\n        if (route.path === '**') {\n            return this.expandWildCardWithParamsAgainstRouteUsingRedirect(injector, routes, route, outlet);\n        }\n        return this.expandRegularSegmentAgainstRouteUsingRedirect(injector, segmentGroup, routes, route, segments, outlet);\n    }\n    expandWildCardWithParamsAgainstRouteUsingRedirect(injector, routes, route, outlet) {\n        const newTree = this.applyRedirectCommands([], route.redirectTo, {});\n        if (route.redirectTo.startsWith('/')) {\n            return absoluteRedirect(newTree);\n        }\n        return this.lineralizeSegments(route, newTree).pipe(mergeMap((newSegments) => {\n            const group = new UrlSegmentGroup(newSegments, {});\n            return this.expandSegment(injector, group, routes, newSegments, outlet, false);\n        }));\n    }\n    expandRegularSegmentAgainstRouteUsingRedirect(injector, segmentGroup, routes, route, segments, outlet) {\n        const { matched, consumedSegments, remainingSegments, positionalParamSegments } = match(segmentGroup, route, segments);\n        if (!matched)\n            return noMatch(segmentGroup);\n        const newTree = this.applyRedirectCommands(consumedSegments, route.redirectTo, positionalParamSegments);\n        if (route.redirectTo.startsWith('/')) {\n            return absoluteRedirect(newTree);\n        }\n        return this.lineralizeSegments(route, newTree).pipe(mergeMap((newSegments) => {\n            return this.expandSegment(injector, segmentGroup, routes, newSegments.concat(remainingSegments), outlet, false);\n        }));\n    }\n    matchSegmentAgainstRoute(injector, rawSegmentGroup, route, segments, outlet) {\n        if (route.path === '**') {\n            // Only create the Route's `EnvironmentInjector` if it matches the attempted navigation\n            injector = getOrCreateRouteInjectorIfNeeded(route, injector);\n            if (route.loadChildren) {\n                const loaded$ = route._loadedRoutes ?\n                    of({ routes: route._loadedRoutes, injector: route._loadedInjector }) :\n                    this.configLoader.loadChildren(injector, route);\n                return loaded$.pipe(map((cfg) => {\n                    route._loadedRoutes = cfg.routes;\n                    route._loadedInjector = cfg.injector;\n                    return new UrlSegmentGroup(segments, {});\n                }));\n            }\n            return of(new UrlSegmentGroup(segments, {}));\n        }\n        return matchWithChecks(rawSegmentGroup, route, segments, injector, this.urlSerializer)\n            .pipe(switchMap(({ matched, consumedSegments, remainingSegments }) => {\n            if (!matched)\n                return noMatch(rawSegmentGroup);\n            // If the route has an injector created from providers, we should start using that.\n            injector = route._injector ?? injector;\n            const childConfig$ = this.getChildConfig(injector, route, segments);\n            return childConfig$.pipe(mergeMap((routerConfig) => {\n                const childInjector = routerConfig.injector ?? injector;\n                const childConfig = routerConfig.routes;\n                const { segmentGroup: splitSegmentGroup, slicedSegments } = split(rawSegmentGroup, consumedSegments, remainingSegments, childConfig);\n                // See comment on the other call to `split` about why this is necessary.\n                const segmentGroup = new UrlSegmentGroup(splitSegmentGroup.segments, splitSegmentGroup.children);\n                if (slicedSegments.length === 0 && segmentGroup.hasChildren()) {\n                    const expanded$ = this.expandChildren(childInjector, childConfig, segmentGroup);\n                    return expanded$.pipe(map((children) => new UrlSegmentGroup(consumedSegments, children)));\n                }\n                if (childConfig.length === 0 && slicedSegments.length === 0) {\n                    return of(new UrlSegmentGroup(consumedSegments, {}));\n                }\n                const matchedOnOutlet = getOutlet(route) === outlet;\n                const expanded$ = this.expandSegment(childInjector, segmentGroup, childConfig, slicedSegments, matchedOnOutlet ? PRIMARY_OUTLET : outlet, true);\n                return expanded$.pipe(map((cs) => new UrlSegmentGroup(consumedSegments.concat(cs.segments), cs.children)));\n            }));\n        }));\n    }\n    getChildConfig(injector, route, segments) {\n        if (route.children) {\n            // The children belong to the same module\n            return of({ routes: route.children, injector });\n        }\n        if (route.loadChildren) {\n            // lazy children belong to the loaded module\n            if (route._loadedRoutes !== undefined) {\n                return of({ routes: route._loadedRoutes, injector: route._loadedInjector });\n            }\n            return runCanLoadGuards(injector, route, segments, this.urlSerializer)\n                .pipe(mergeMap((shouldLoadResult) => {\n                if (shouldLoadResult) {\n                    return this.configLoader.loadChildren(injector, route)\n                        .pipe(tap((cfg) => {\n                        route._loadedRoutes = cfg.routes;\n                        route._loadedInjector = cfg.injector;\n                    }));\n                }\n                return canLoadFails(route);\n            }));\n        }\n        return of({ routes: [], injector });\n    }\n    lineralizeSegments(route, urlTree) {\n        let res = [];\n        let c = urlTree.root;\n        while (true) {\n            res = res.concat(c.segments);\n            if (c.numberOfChildren === 0) {\n                return of(res);\n            }\n            if (c.numberOfChildren > 1 || !c.children[PRIMARY_OUTLET]) {\n                return namedOutletsRedirect(route.redirectTo);\n            }\n            c = c.children[PRIMARY_OUTLET];\n        }\n    }\n    applyRedirectCommands(segments, redirectTo, posParams) {\n        return this.applyRedirectCreateUrlTree(redirectTo, this.urlSerializer.parse(redirectTo), segments, posParams);\n    }\n    applyRedirectCreateUrlTree(redirectTo, urlTree, segments, posParams) {\n        const newRoot = this.createSegmentGroup(redirectTo, urlTree.root, segments, posParams);\n        return new UrlTree(newRoot, this.createQueryParams(urlTree.queryParams, this.urlTree.queryParams), urlTree.fragment);\n    }\n    createQueryParams(redirectToParams, actualParams) {\n        const res = {};\n        forEach(redirectToParams, (v, k) => {\n            const copySourceValue = typeof v === 'string' && v.startsWith(':');\n            if (copySourceValue) {\n                const sourceName = v.substring(1);\n                res[k] = actualParams[sourceName];\n            }\n            else {\n                res[k] = v;\n            }\n        });\n        return res;\n    }\n    createSegmentGroup(redirectTo, group, segments, posParams) {\n        const updatedSegments = this.createSegments(redirectTo, group.segments, segments, posParams);\n        let children = {};\n        forEach(group.children, (child, name) => {\n            children[name] = this.createSegmentGroup(redirectTo, child, segments, posParams);\n        });\n        return new UrlSegmentGroup(updatedSegments, children);\n    }\n    createSegments(redirectTo, redirectToSegments, actualSegments, posParams) {\n        return redirectToSegments.map(s => s.path.startsWith(':') ? this.findPosParam(redirectTo, s, posParams) :\n            this.findOrReturn(s, actualSegments));\n    }\n    findPosParam(redirectTo, redirectToUrlSegment, posParams) {\n        const pos = posParams[redirectToUrlSegment.path.substring(1)];\n        if (!pos)\n            throw new ɵRuntimeError(4001 /* RuntimeErrorCode.MISSING_REDIRECT */, NG_DEV_MODE$7 &&\n                `Cannot redirect to '${redirectTo}'. Cannot find '${redirectToUrlSegment.path}'.`);\n        return pos;\n    }\n    findOrReturn(redirectToUrlSegment, actualSegments) {\n        let idx = 0;\n        for (const s of actualSegments) {\n            if (s.path === redirectToUrlSegment.path) {\n                actualSegments.splice(idx);\n                return s;\n            }\n            idx++;\n        }\n        return redirectToUrlSegment;\n    }\n}\n\nfunction applyRedirects(environmentInjector, configLoader, urlSerializer, config) {\n    return switchMap(t => applyRedirects$1(environmentInjector, configLoader, urlSerializer, t.extractedUrl, config)\n        .pipe(map(urlAfterRedirects => ({ ...t, urlAfterRedirects }))));\n}\n\nconst NG_DEV_MODE$6 = typeof ngDevMode === 'undefined' || !!ngDevMode;\nclass NoMatch {\n}\nfunction newObservableError(e) {\n    // TODO(atscott): This pattern is used throughout the router code and can be `throwError` instead.\n    return new Observable((obs) => obs.error(e));\n}\nfunction recognize$1(injector, rootComponentType, config, urlTree, url, urlSerializer, paramsInheritanceStrategy = 'emptyOnly') {\n    return new Recognizer(injector, rootComponentType, config, urlTree, url, paramsInheritanceStrategy, urlSerializer)\n        .recognize()\n        .pipe(switchMap(result => {\n        if (result === null) {\n            return newObservableError(new NoMatch());\n        }\n        else {\n            return of(result);\n        }\n    }));\n}\nclass Recognizer {\n    constructor(injector, rootComponentType, config, urlTree, url, paramsInheritanceStrategy, urlSerializer) {\n        this.injector = injector;\n        this.rootComponentType = rootComponentType;\n        this.config = config;\n        this.urlTree = urlTree;\n        this.url = url;\n        this.paramsInheritanceStrategy = paramsInheritanceStrategy;\n        this.urlSerializer = urlSerializer;\n    }\n    recognize() {\n        const rootSegmentGroup = split(this.urlTree.root, [], [], this.config.filter(c => c.redirectTo === undefined))\n            .segmentGroup;\n        return this.processSegmentGroup(this.injector, this.config, rootSegmentGroup, PRIMARY_OUTLET)\n            .pipe(map(children => {\n            if (children === null) {\n                return null;\n            }\n            // Use Object.freeze to prevent readers of the Router state from modifying it outside of a\n            // navigation, resulting in the router being out of sync with the browser.\n            const root = new ActivatedRouteSnapshot([], Object.freeze({}), Object.freeze({ ...this.urlTree.queryParams }), this.urlTree.fragment, {}, PRIMARY_OUTLET, this.rootComponentType, null, this.urlTree.root, -1, {});\n            const rootNode = new TreeNode(root, children);\n            const routeState = new RouterStateSnapshot(this.url, rootNode);\n            this.inheritParamsAndData(routeState._root);\n            return routeState;\n        }));\n    }\n    inheritParamsAndData(routeNode) {\n        const route = routeNode.value;\n        const i = inheritedParamsDataResolve(route, this.paramsInheritanceStrategy);\n        route.params = Object.freeze(i.params);\n        route.data = Object.freeze(i.data);\n        routeNode.children.forEach(n => this.inheritParamsAndData(n));\n    }\n    processSegmentGroup(injector, config, segmentGroup, outlet) {\n        if (segmentGroup.segments.length === 0 && segmentGroup.hasChildren()) {\n            return this.processChildren(injector, config, segmentGroup);\n        }\n        return this.processSegment(injector, config, segmentGroup, segmentGroup.segments, outlet);\n    }\n    /**\n     * Matches every child outlet in the `segmentGroup` to a `Route` in the config. Returns `null` if\n     * we cannot find a match for _any_ of the children.\n     *\n     * @param config - The `Routes` to match against\n     * @param segmentGroup - The `UrlSegmentGroup` whose children need to be matched against the\n     *     config.\n     */\n    processChildren(injector, config, segmentGroup) {\n        return from(Object.keys(segmentGroup.children))\n            .pipe(concatMap(childOutlet => {\n            const child = segmentGroup.children[childOutlet];\n            // Sort the config so that routes with outlets that match the one being activated\n            // appear first, followed by routes for other outlets, which might match if they have\n            // an empty path.\n            const sortedConfig = sortByMatchingOutlets(config, childOutlet);\n            return this.processSegmentGroup(injector, sortedConfig, child, childOutlet);\n        }), scan((children, outletChildren) => {\n            if (!children || !outletChildren)\n                return null;\n            children.push(...outletChildren);\n            return children;\n        }), takeWhile(children => children !== null), defaultIfEmpty(null), last$1(), map(children => {\n            if (children === null)\n                return null;\n            // Because we may have matched two outlets to the same empty path segment, we can have\n            // multiple activated results for the same outlet. We should merge the children of\n            // these results so the final return value is only one `TreeNode` per outlet.\n            const mergedChildren = mergeEmptyPathMatches(children);\n            if (NG_DEV_MODE$6) {\n                // This should really never happen - we are only taking the first match for each\n                // outlet and merge the empty path matches.\n                checkOutletNameUniqueness(mergedChildren);\n            }\n            sortActivatedRouteSnapshots(mergedChildren);\n            return mergedChildren;\n        }));\n    }\n    processSegment(injector, routes, segmentGroup, segments, outlet) {\n        return from(routes).pipe(concatMap(r => {\n            return this.processSegmentAgainstRoute(r._injector ?? injector, r, segmentGroup, segments, outlet);\n        }), first((x) => !!x), catchError(e => {\n            if (isEmptyError(e)) {\n                if (noLeftoversInUrl(segmentGroup, segments, outlet)) {\n                    return of([]);\n                }\n                return of(null);\n            }\n            throw e;\n        }));\n    }\n    processSegmentAgainstRoute(injector, route, rawSegment, segments, outlet) {\n        if (route.redirectTo || !isImmediateMatch(route, rawSegment, segments, outlet))\n            return of(null);\n        let matchResult;\n        if (route.path === '**') {\n            const params = segments.length > 0 ? last(segments).parameters : {};\n            const pathIndexShift = getPathIndexShift(rawSegment) + segments.length;\n            const snapshot = new ActivatedRouteSnapshot(segments, params, Object.freeze({ ...this.urlTree.queryParams }), this.urlTree.fragment, getData(route), getOutlet(route), route.component ?? route._loadedComponent ?? null, route, getSourceSegmentGroup(rawSegment), pathIndexShift, getResolve(route));\n            matchResult = of({\n                snapshot,\n                consumedSegments: [],\n                remainingSegments: [],\n            });\n        }\n        else {\n            matchResult =\n                matchWithChecks(rawSegment, route, segments, injector, this.urlSerializer)\n                    .pipe(map(({ matched, consumedSegments, remainingSegments, parameters }) => {\n                    if (!matched) {\n                        return null;\n                    }\n                    const pathIndexShift = getPathIndexShift(rawSegment) + consumedSegments.length;\n                    const snapshot = new ActivatedRouteSnapshot(consumedSegments, parameters, Object.freeze({ ...this.urlTree.queryParams }), this.urlTree.fragment, getData(route), getOutlet(route), route.component ?? route._loadedComponent ?? null, route, getSourceSegmentGroup(rawSegment), pathIndexShift, getResolve(route));\n                    return { snapshot, consumedSegments, remainingSegments };\n                }));\n        }\n        return matchResult.pipe(switchMap((result) => {\n            if (result === null) {\n                return of(null);\n            }\n            const { snapshot, consumedSegments, remainingSegments } = result;\n            // If the route has an injector created from providers, we should start using that.\n            injector = route._injector ?? injector;\n            const childInjector = route._loadedInjector ?? injector;\n            const childConfig = getChildConfig(route);\n            const { segmentGroup, slicedSegments } = split(rawSegment, consumedSegments, remainingSegments, \n            // Filter out routes with redirectTo because we are trying to create activated route\n            // snapshots and don't handle redirects here. That should have been done in\n            // `applyRedirects`.\n            childConfig.filter(c => c.redirectTo === undefined));\n            if (slicedSegments.length === 0 && segmentGroup.hasChildren()) {\n                return this.processChildren(childInjector, childConfig, segmentGroup).pipe(map(children => {\n                    if (children === null) {\n                        return null;\n                    }\n                    return [new TreeNode(snapshot, children)];\n                }));\n            }\n            if (childConfig.length === 0 && slicedSegments.length === 0) {\n                return of([new TreeNode(snapshot, [])]);\n            }\n            const matchedOnOutlet = getOutlet(route) === outlet;\n            // If we matched a config due to empty path match on a different outlet, we need to\n            // continue passing the current outlet for the segment rather than switch to PRIMARY.\n            // Note that we switch to primary when we have a match because outlet configs look like\n            // this: {path: 'a', outlet: 'a', children: [\n            //  {path: 'b', component: B},\n            //  {path: 'c', component: C},\n            // ]}\n            // Notice that the children of the named outlet are configured with the primary outlet\n            return this\n                .processSegment(childInjector, childConfig, segmentGroup, slicedSegments, matchedOnOutlet ? PRIMARY_OUTLET : outlet)\n                .pipe(map(children => {\n                if (children === null) {\n                    return null;\n                }\n                return [new TreeNode(snapshot, children)];\n            }));\n        }));\n    }\n}\nfunction sortActivatedRouteSnapshots(nodes) {\n    nodes.sort((a, b) => {\n        if (a.value.outlet === PRIMARY_OUTLET)\n            return -1;\n        if (b.value.outlet === PRIMARY_OUTLET)\n            return 1;\n        return a.value.outlet.localeCompare(b.value.outlet);\n    });\n}\nfunction getChildConfig(route) {\n    if (route.children) {\n        return route.children;\n    }\n    if (route.loadChildren) {\n        return route._loadedRoutes;\n    }\n    return [];\n}\nfunction hasEmptyPathConfig(node) {\n    const config = node.value.routeConfig;\n    return config && config.path === '' && config.redirectTo === undefined;\n}\n/**\n * Finds `TreeNode`s with matching empty path route configs and merges them into `TreeNode` with\n * the children from each duplicate. This is necessary because different outlets can match a\n * single empty path route config and the results need to then be merged.\n */\nfunction mergeEmptyPathMatches(nodes) {\n    const result = [];\n    // The set of nodes which contain children that were merged from two duplicate empty path nodes.\n    const mergedNodes = new Set();\n    for (const node of nodes) {\n        if (!hasEmptyPathConfig(node)) {\n            result.push(node);\n            continue;\n        }\n        const duplicateEmptyPathNode = result.find(resultNode => node.value.routeConfig === resultNode.value.routeConfig);\n        if (duplicateEmptyPathNode !== undefined) {\n            duplicateEmptyPathNode.children.push(...node.children);\n            mergedNodes.add(duplicateEmptyPathNode);\n        }\n        else {\n            result.push(node);\n        }\n    }\n    // For each node which has children from multiple sources, we need to recompute a new `TreeNode`\n    // by also merging those children. This is necessary when there are multiple empty path configs\n    // in a row. Put another way: whenever we combine children of two nodes, we need to also check\n    // if any of those children can be combined into a single node as well.\n    for (const mergedNode of mergedNodes) {\n        const mergedChildren = mergeEmptyPathMatches(mergedNode.children);\n        result.push(new TreeNode(mergedNode.value, mergedChildren));\n    }\n    return result.filter(n => !mergedNodes.has(n));\n}\nfunction checkOutletNameUniqueness(nodes) {\n    const names = {};\n    nodes.forEach(n => {\n        const routeWithSameOutletName = names[n.value.outlet];\n        if (routeWithSameOutletName) {\n            const p = routeWithSameOutletName.url.map(s => s.toString()).join('/');\n            const c = n.value.url.map(s => s.toString()).join('/');\n            throw new ɵRuntimeError(4006 /* RuntimeErrorCode.TWO_SEGMENTS_WITH_SAME_OUTLET */, NG_DEV_MODE$6 && `Two segments cannot have the same outlet name: '${p}' and '${c}'.`);\n        }\n        names[n.value.outlet] = n.value;\n    });\n}\nfunction getSourceSegmentGroup(segmentGroup) {\n    let s = segmentGroup;\n    while (s._sourceSegment) {\n        s = s._sourceSegment;\n    }\n    return s;\n}\nfunction getPathIndexShift(segmentGroup) {\n    let s = segmentGroup;\n    let res = s._segmentIndexShift ?? 0;\n    while (s._sourceSegment) {\n        s = s._sourceSegment;\n        res += s._segmentIndexShift ?? 0;\n    }\n    return res - 1;\n}\nfunction getCorrectedPathIndexShift(segmentGroup) {\n    let s = segmentGroup;\n    let res = s._segmentIndexShiftCorrected ?? s._segmentIndexShift ?? 0;\n    while (s._sourceSegment) {\n        s = s._sourceSegment;\n        res += s._segmentIndexShiftCorrected ?? s._segmentIndexShift ?? 0;\n    }\n    return res - 1;\n}\nfunction getData(route) {\n    return route.data || {};\n}\nfunction getResolve(route) {\n    return route.resolve || {};\n}\n\nfunction recognize(injector, rootComponentType, config, serializer, paramsInheritanceStrategy) {\n    return mergeMap(t => recognize$1(injector, rootComponentType, config, t.urlAfterRedirects, serializer.serialize(t.urlAfterRedirects), serializer, paramsInheritanceStrategy)\n        .pipe(map(targetSnapshot => ({ ...t, targetSnapshot }))));\n}\n\nfunction resolveData(paramsInheritanceStrategy, injector) {\n    return mergeMap(t => {\n        const { targetSnapshot, guards: { canActivateChecks } } = t;\n        if (!canActivateChecks.length) {\n            return of(t);\n        }\n        let canActivateChecksResolved = 0;\n        return from(canActivateChecks)\n            .pipe(concatMap(check => runResolve(check.route, targetSnapshot, paramsInheritanceStrategy, injector)), tap(() => canActivateChecksResolved++), takeLast(1), mergeMap(_ => canActivateChecksResolved === canActivateChecks.length ? of(t) : EMPTY));\n    });\n}\nfunction runResolve(futureARS, futureRSS, paramsInheritanceStrategy, injector) {\n    const config = futureARS.routeConfig;\n    const resolve = futureARS._resolve;\n    if (config?.title !== undefined && !hasStaticTitle(config)) {\n        resolve[RouteTitleKey] = config.title;\n    }\n    return resolveNode(resolve, futureARS, futureRSS, injector).pipe(map((resolvedData) => {\n        futureARS._resolvedData = resolvedData;\n        futureARS.data = inheritedParamsDataResolve(futureARS, paramsInheritanceStrategy).resolve;\n        if (config && hasStaticTitle(config)) {\n            futureARS.data[RouteTitleKey] = config.title;\n        }\n        return null;\n    }));\n}\nfunction resolveNode(resolve, futureARS, futureRSS, injector) {\n    const keys = getDataKeys(resolve);\n    if (keys.length === 0) {\n        return of({});\n    }\n    const data = {};\n    return from(keys).pipe(mergeMap(key => getResolver(resolve[key], futureARS, futureRSS, injector)\n        .pipe(first(), tap((value) => {\n        data[key] = value;\n    }))), takeLast(1), mapTo(data), catchError((e) => isEmptyError(e) ? EMPTY : throwError(e)));\n}\nfunction getDataKeys(obj) {\n    return [...Object.keys(obj), ...Object.getOwnPropertySymbols(obj)];\n}\nfunction getResolver(injectionToken, futureARS, futureRSS, injector) {\n    const closestInjector = getClosestRouteInjector(futureARS) ?? injector;\n    const resolver = getTokenOrFunctionIdentity(injectionToken, closestInjector);\n    const resolverValue = resolver.resolve ?\n        resolver.resolve(futureARS, futureRSS) :\n        closestInjector.runInContext(() => resolver(futureARS, futureRSS));\n    return wrapIntoObservable(resolverValue);\n}\nfunction hasStaticTitle(config) {\n    return typeof config.title === 'string' || config.title === null;\n}\n\n/**\n * Perform a side effect through a switchMap for every emission on the source Observable,\n * but return an Observable that is identical to the source. It's essentially the same as\n * the `tap` operator, but if the side effectful `next` function returns an ObservableInput,\n * it will wait before continuing with the original value.\n */\nfunction switchTap(next) {\n    return switchMap(v => {\n        const nextResult = next(v);\n        if (nextResult) {\n            return from(nextResult).pipe(map(() => v));\n        }\n        return of(v);\n    });\n}\n\nconst NG_DEV_MODE$5 = typeof ngDevMode === 'undefined' || !!ngDevMode;\n/**\n * The [DI token](guide/glossary/#di-token) for a router configuration.\n *\n * `ROUTES` is a low level API for router configuration via dependency injection.\n *\n * We recommend that in almost all cases to use higher level APIs such as `RouterModule.forRoot()`,\n * `provideRouter`, or `Router.resetConfig()`.\n *\n * @publicApi\n */\nconst ROUTES = new InjectionToken('ROUTES');\nclass RouterConfigLoader {\n    constructor() {\n        this.componentLoaders = new WeakMap();\n        this.childrenLoaders = new WeakMap();\n        this.compiler = inject(Compiler);\n    }\n    loadComponent(route) {\n        if (this.componentLoaders.get(route)) {\n            return this.componentLoaders.get(route);\n        }\n        else if (route._loadedComponent) {\n            return of(route._loadedComponent);\n        }\n        if (this.onLoadStartListener) {\n            this.onLoadStartListener(route);\n        }\n        const loadRunner = wrapIntoObservable(route.loadComponent())\n            .pipe(map(maybeUnwrapDefaultExport), tap(component => {\n            if (this.onLoadEndListener) {\n                this.onLoadEndListener(route);\n            }\n            NG_DEV_MODE$5 && assertStandalone(route.path ?? '', component);\n            route._loadedComponent = component;\n        }), finalize(() => {\n            this.componentLoaders.delete(route);\n        }));\n        // Use custom ConnectableObservable as share in runners pipe increasing the bundle size too much\n        const loader = new ConnectableObservable(loadRunner, () => new Subject()).pipe(refCount());\n        this.componentLoaders.set(route, loader);\n        return loader;\n    }\n    loadChildren(parentInjector, route) {\n        if (this.childrenLoaders.get(route)) {\n            return this.childrenLoaders.get(route);\n        }\n        else if (route._loadedRoutes) {\n            return of({ routes: route._loadedRoutes, injector: route._loadedInjector });\n        }\n        if (this.onLoadStartListener) {\n            this.onLoadStartListener(route);\n        }\n        const moduleFactoryOrRoutes$ = this.loadModuleFactoryOrRoutes(route.loadChildren);\n        const loadRunner = moduleFactoryOrRoutes$.pipe(map((factoryOrRoutes) => {\n            if (this.onLoadEndListener) {\n                this.onLoadEndListener(route);\n            }\n            // This injector comes from the `NgModuleRef` when lazy loading an `NgModule`. There is no\n            // injector associated with lazy loading a `Route` array.\n            let injector;\n            let rawRoutes;\n            let requireStandaloneComponents = false;\n            if (Array.isArray(factoryOrRoutes)) {\n                rawRoutes = factoryOrRoutes;\n                requireStandaloneComponents = true;\n            }\n            else {\n                injector = factoryOrRoutes.create(parentInjector).injector;\n                // When loading a module that doesn't provide `RouterModule.forChild()` preloader\n                // will get stuck in an infinite loop. The child module's Injector will look to\n                // its parent `Injector` when it doesn't find any ROUTES so it will return routes\n                // for it's parent module instead.\n                rawRoutes = flatten(injector.get(ROUTES, [], InjectFlags.Self | InjectFlags.Optional));\n            }\n            const routes = rawRoutes.map(standardizeConfig);\n            NG_DEV_MODE$5 && validateConfig(routes, route.path, requireStandaloneComponents);\n            return { routes, injector };\n        }), finalize(() => {\n            this.childrenLoaders.delete(route);\n        }));\n        // Use custom ConnectableObservable as share in runners pipe increasing the bundle size too much\n        const loader = new ConnectableObservable(loadRunner, () => new Subject())\n            .pipe(refCount());\n        this.childrenLoaders.set(route, loader);\n        return loader;\n    }\n    loadModuleFactoryOrRoutes(loadChildren) {\n        return wrapIntoObservable(loadChildren())\n            .pipe(map(maybeUnwrapDefaultExport), mergeMap((t) => {\n            if (t instanceof NgModuleFactory || Array.isArray(t)) {\n                return of(t);\n            }\n            else {\n                return from(this.compiler.compileModuleAsync(t));\n            }\n        }));\n    }\n}\nRouterConfigLoader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: RouterConfigLoader, deps: [], target: i0.ɵɵFactoryTarget.Injectable });\nRouterConfigLoader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: RouterConfigLoader, providedIn: 'root' });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: RouterConfigLoader, decorators: [{\n            type: Injectable,\n            args: [{ providedIn: 'root' }]\n        }] });\nfunction isWrappedDefaultExport(value) {\n    // We use `in` here with a string key `'default'`, because we expect `DefaultExport` objects to be\n    // dynamically imported ES modules with a spec-mandated `default` key. Thus we don't expect that\n    // `default` will be a renamed property.\n    return value && typeof value === 'object' && 'default' in value;\n}\nfunction maybeUnwrapDefaultExport(input) {\n    // As per `isWrappedDefaultExport`, the `default` key here is generated by the browser and not\n    // subject to property renaming, so we reference it with bracket access.\n    return isWrappedDefaultExport(input) ? input['default'] : input;\n}\n\nconst NG_DEV_MODE$4 = typeof ngDevMode === 'undefined' || !!ngDevMode;\nclass NavigationTransitions {\n    get hasRequestedNavigation() {\n        return this.navigationId !== 0;\n    }\n    constructor() {\n        this.currentNavigation = null;\n        this.lastSuccessfulNavigation = null;\n        this.events = new Subject();\n        this.configLoader = inject(RouterConfigLoader);\n        this.environmentInjector = inject(EnvironmentInjector);\n        this.urlSerializer = inject(UrlSerializer);\n        this.rootContexts = inject(ChildrenOutletContexts);\n        this.navigationId = 0;\n        /**\n         * Hook that enables you to pause navigation after the preactivation phase.\n         * Used by `RouterModule`.\n         *\n         * @internal\n         */\n        this.afterPreactivation = () => of(void 0);\n        /** @internal */\n        this.rootComponentType = null;\n        const onLoadStart = (r) => this.events.next(new RouteConfigLoadStart(r));\n        const onLoadEnd = (r) => this.events.next(new RouteConfigLoadEnd(r));\n        this.configLoader.onLoadEndListener = onLoadEnd;\n        this.configLoader.onLoadStartListener = onLoadStart;\n    }\n    complete() {\n        this.transitions?.complete();\n    }\n    handleNavigationRequest(request) {\n        const id = ++this.navigationId;\n        this.transitions?.next({ ...this.transitions.value, ...request, id });\n    }\n    setupNavigations(router) {\n        this.transitions = new BehaviorSubject({\n            id: 0,\n            targetPageId: 0,\n            currentUrlTree: router.currentUrlTree,\n            currentRawUrl: router.currentUrlTree,\n            extractedUrl: router.urlHandlingStrategy.extract(router.currentUrlTree),\n            urlAfterRedirects: router.urlHandlingStrategy.extract(router.currentUrlTree),\n            rawUrl: router.currentUrlTree,\n            extras: {},\n            resolve: null,\n            reject: null,\n            promise: Promise.resolve(true),\n            source: IMPERATIVE_NAVIGATION,\n            restoredState: null,\n            currentSnapshot: router.routerState.snapshot,\n            targetSnapshot: null,\n            currentRouterState: router.routerState,\n            targetRouterState: null,\n            guards: { canActivateChecks: [], canDeactivateChecks: [] },\n            guardsResult: null,\n        });\n        return this.transitions.pipe(filter(t => t.id !== 0), \n        // Extract URL\n        map(t => ({ ...t, extractedUrl: router.urlHandlingStrategy.extract(t.rawUrl) })), \n        // Using switchMap so we cancel executing navigations when a new one comes in\n        switchMap(overallTransitionState => {\n            let completed = false;\n            let errored = false;\n            return of(overallTransitionState)\n                .pipe(\n            // Store the Navigation object\n            tap(t => {\n                this.currentNavigation = {\n                    id: t.id,\n                    initialUrl: t.rawUrl,\n                    extractedUrl: t.extractedUrl,\n                    trigger: t.source,\n                    extras: t.extras,\n                    previousNavigation: !this.lastSuccessfulNavigation ? null : {\n                        ...this.lastSuccessfulNavigation,\n                        previousNavigation: null,\n                    },\n                };\n            }), switchMap(t => {\n                const browserUrlTree = router.browserUrlTree.toString();\n                const urlTransition = !router.navigated ||\n                    t.extractedUrl.toString() !== browserUrlTree ||\n                    // Navigations which succeed or ones which fail and are cleaned up\n                    // correctly should result in `browserUrlTree` and `currentUrlTree`\n                    // matching. If this is not the case, assume something went wrong and\n                    // try processing the URL again.\n                    browserUrlTree !== router.currentUrlTree.toString();\n                const onSameUrlNavigation = t.extras.onSameUrlNavigation ?? router.onSameUrlNavigation;\n                if (!urlTransition && onSameUrlNavigation !== 'reload') {\n                    const reason = NG_DEV_MODE$4 ?\n                        `Navigation to ${t.rawUrl} was ignored because it is the same as the current Router URL.` :\n                        '';\n                    this.events.next(new NavigationSkipped(t.id, router.serializeUrl(overallTransitionState.rawUrl), reason, 0 /* NavigationSkippedCode.IgnoredSameUrlNavigation */));\n                    router.rawUrlTree = t.rawUrl;\n                    t.resolve(null);\n                    return EMPTY;\n                }\n                if (router.urlHandlingStrategy.shouldProcessUrl(t.rawUrl)) {\n                    // If the source of the navigation is from a browser event, the URL is\n                    // already updated. We already need to sync the internal state.\n                    if (isBrowserTriggeredNavigation(t.source)) {\n                        router.browserUrlTree = t.extractedUrl;\n                    }\n                    return of(t).pipe(\n                    // Fire NavigationStart event\n                    switchMap(t => {\n                        const transition = this.transitions?.getValue();\n                        this.events.next(new NavigationStart(t.id, this.urlSerializer.serialize(t.extractedUrl), t.source, t.restoredState));\n                        if (transition !== this.transitions?.getValue()) {\n                            return EMPTY;\n                        }\n                        // This delay is required to match old behavior that forced\n                        // navigation to always be async\n                        return Promise.resolve(t);\n                    }), \n                    // ApplyRedirects\n                    applyRedirects(this.environmentInjector, this.configLoader, this.urlSerializer, router.config), \n                    // Update the currentNavigation\n                    // `urlAfterRedirects` is guaranteed to be set after this point\n                    tap(t => {\n                        this.currentNavigation = {\n                            ...this.currentNavigation,\n                            finalUrl: t.urlAfterRedirects\n                        };\n                        overallTransitionState.urlAfterRedirects = t.urlAfterRedirects;\n                    }), \n                    // Recognize\n                    recognize(this.environmentInjector, this.rootComponentType, router.config, this.urlSerializer, router.paramsInheritanceStrategy), \n                    // Update URL if in `eager` update mode\n                    tap(t => {\n                        overallTransitionState.targetSnapshot = t.targetSnapshot;\n                        if (router.urlUpdateStrategy === 'eager') {\n                            if (!t.extras.skipLocationChange) {\n                                const rawUrl = router.urlHandlingStrategy.merge(t.urlAfterRedirects, t.rawUrl);\n                                router.setBrowserUrl(rawUrl, t);\n                            }\n                            router.browserUrlTree = t.urlAfterRedirects;\n                        }\n                        // Fire RoutesRecognized\n                        const routesRecognized = new RoutesRecognized(t.id, this.urlSerializer.serialize(t.extractedUrl), this.urlSerializer.serialize(t.urlAfterRedirects), t.targetSnapshot);\n                        this.events.next(routesRecognized);\n                    }));\n                }\n                else if (urlTransition &&\n                    router.urlHandlingStrategy.shouldProcessUrl(router.rawUrlTree)) {\n                    /* When the current URL shouldn't be processed, but the previous one\n                     * was, we handle this \"error condition\" by navigating to the\n                     * previously successful URL, but leaving the URL intact.*/\n                    const { id, extractedUrl, source, restoredState, extras } = t;\n                    const navStart = new NavigationStart(id, this.urlSerializer.serialize(extractedUrl), source, restoredState);\n                    this.events.next(navStart);\n                    const targetSnapshot = createEmptyState(extractedUrl, this.rootComponentType).snapshot;\n                    overallTransitionState = {\n                        ...t,\n                        targetSnapshot,\n                        urlAfterRedirects: extractedUrl,\n                        extras: { ...extras, skipLocationChange: false, replaceUrl: false },\n                    };\n                    return of(overallTransitionState);\n                }\n                else {\n                    /* When neither the current or previous URL can be processed, do\n                     * nothing other than update router's internal reference to the\n                     * current \"settled\" URL. This way the next navigation will be coming\n                     * from the current URL in the browser.\n                     */\n                    const reason = NG_DEV_MODE$4 ?\n                        `Navigation was ignored because the UrlHandlingStrategy` +\n                            ` indicated neither the current URL ${router.rawUrlTree} nor target URL ${t.rawUrl} should be processed.` :\n                        '';\n                    this.events.next(new NavigationSkipped(t.id, router.serializeUrl(overallTransitionState.extractedUrl), reason, 1 /* NavigationSkippedCode.IgnoredByUrlHandlingStrategy */));\n                    router.rawUrlTree = t.rawUrl;\n                    t.resolve(null);\n                    return EMPTY;\n                }\n            }), \n            // --- GUARDS ---\n            tap(t => {\n                const guardsStart = new GuardsCheckStart(t.id, this.urlSerializer.serialize(t.extractedUrl), this.urlSerializer.serialize(t.urlAfterRedirects), t.targetSnapshot);\n                this.events.next(guardsStart);\n            }), map(t => {\n                overallTransitionState = {\n                    ...t,\n                    guards: getAllRouteGuards(t.targetSnapshot, t.currentSnapshot, this.rootContexts)\n                };\n                return overallTransitionState;\n            }), checkGuards(this.environmentInjector, (evt) => this.events.next(evt)), tap(t => {\n                overallTransitionState.guardsResult = t.guardsResult;\n                if (isUrlTree(t.guardsResult)) {\n                    throw redirectingNavigationError(this.urlSerializer, t.guardsResult);\n                }\n                const guardsEnd = new GuardsCheckEnd(t.id, this.urlSerializer.serialize(t.extractedUrl), this.urlSerializer.serialize(t.urlAfterRedirects), t.targetSnapshot, !!t.guardsResult);\n                this.events.next(guardsEnd);\n            }), filter(t => {\n                if (!t.guardsResult) {\n                    router.restoreHistory(t);\n                    this.cancelNavigationTransition(t, '', 3 /* NavigationCancellationCode.GuardRejected */);\n                    return false;\n                }\n                return true;\n            }), \n            // --- RESOLVE ---\n            switchTap(t => {\n                if (t.guards.canActivateChecks.length) {\n                    return of(t).pipe(tap(t => {\n                        const resolveStart = new ResolveStart(t.id, this.urlSerializer.serialize(t.extractedUrl), this.urlSerializer.serialize(t.urlAfterRedirects), t.targetSnapshot);\n                        this.events.next(resolveStart);\n                    }), switchMap(t => {\n                        let dataResolved = false;\n                        return of(t).pipe(resolveData(router.paramsInheritanceStrategy, this.environmentInjector), tap({\n                            next: () => dataResolved = true,\n                            complete: () => {\n                                if (!dataResolved) {\n                                    router.restoreHistory(t);\n                                    this.cancelNavigationTransition(t, NG_DEV_MODE$4 ?\n                                        `At least one route resolver didn't emit any value.` :\n                                        '', 2 /* NavigationCancellationCode.NoDataFromResolver */);\n                                }\n                            }\n                        }));\n                    }), tap(t => {\n                        const resolveEnd = new ResolveEnd(t.id, this.urlSerializer.serialize(t.extractedUrl), this.urlSerializer.serialize(t.urlAfterRedirects), t.targetSnapshot);\n                        this.events.next(resolveEnd);\n                    }));\n                }\n                return undefined;\n            }), \n            // --- LOAD COMPONENTS ---\n            switchTap((t) => {\n                const loadComponents = (route) => {\n                    const loaders = [];\n                    if (route.routeConfig?.loadComponent &&\n                        !route.routeConfig._loadedComponent) {\n                        loaders.push(this.configLoader.loadComponent(route.routeConfig)\n                            .pipe(tap(loadedComponent => {\n                            route.component = loadedComponent;\n                        }), map(() => void 0)));\n                    }\n                    for (const child of route.children) {\n                        loaders.push(...loadComponents(child));\n                    }\n                    return loaders;\n                };\n                return combineLatest(loadComponents(t.targetSnapshot.root))\n                    .pipe(defaultIfEmpty(), take(1));\n            }), switchTap(() => this.afterPreactivation()), map((t) => {\n                const targetRouterState = createRouterState(router.routeReuseStrategy, t.targetSnapshot, t.currentRouterState);\n                overallTransitionState = { ...t, targetRouterState };\n                return (overallTransitionState);\n            }), \n            /* Once here, we are about to activate synchronously. The assumption is\n               this will succeed, and user code may read from the Router service.\n               Therefore before activation, we need to update router properties storing\n               the current URL and the RouterState, as well as updated the browser URL.\n               All this should happen *before* activating. */\n            tap((t) => {\n                router.currentUrlTree = t.urlAfterRedirects;\n                router.rawUrlTree =\n                    router.urlHandlingStrategy.merge(t.urlAfterRedirects, t.rawUrl);\n                router.routerState =\n                    t.targetRouterState;\n                if (router.urlUpdateStrategy === 'deferred') {\n                    if (!t.extras.skipLocationChange) {\n                        router.setBrowserUrl(router.rawUrlTree, t);\n                    }\n                    router.browserUrlTree = t.urlAfterRedirects;\n                }\n            }), activateRoutes(this.rootContexts, router.routeReuseStrategy, (evt) => this.events.next(evt)), \n            // Ensure that if some observable used to drive the transition doesn't\n            // complete, the navigation still finalizes This should never happen, but\n            // this is done as a safety measure to avoid surfacing this error (#49567).\n            take(1), tap({\n                next: (t) => {\n                    completed = true;\n                    this.lastSuccessfulNavigation = this.currentNavigation;\n                    router.navigated = true;\n                    this.events.next(new NavigationEnd(t.id, this.urlSerializer.serialize(t.extractedUrl), this.urlSerializer.serialize(router.currentUrlTree)));\n                    router.titleStrategy?.updateTitle(t.targetRouterState.snapshot);\n                    t.resolve(true);\n                },\n                complete: () => {\n                    completed = true;\n                }\n            }), finalize(() => {\n                /* When the navigation stream finishes either through error or success,\n                 * we set the `completed` or `errored` flag. However, there are some\n                 * situations where we could get here without either of those being set.\n                 * For instance, a redirect during NavigationStart. Therefore, this is a\n                 * catch-all to make sure the NavigationCancel event is fired when a\n                 * navigation gets cancelled but not caught by other means. */\n                if (!completed && !errored) {\n                    const cancelationReason = NG_DEV_MODE$4 ?\n                        `Navigation ID ${overallTransitionState\n                            .id} is not equal to the current navigation id ${this.navigationId}` :\n                        '';\n                    this.cancelNavigationTransition(overallTransitionState, cancelationReason, 1 /* NavigationCancellationCode.SupersededByNewNavigation */);\n                }\n                // Only clear current navigation if it is still set to the one that\n                // finalized.\n                if (this.currentNavigation?.id === overallTransitionState.id) {\n                    this.currentNavigation = null;\n                }\n            }), catchError((e) => {\n                errored = true;\n                /* This error type is issued during Redirect, and is handled as a\n                 * cancellation rather than an error. */\n                if (isNavigationCancelingError$1(e)) {\n                    if (!isRedirectingNavigationCancelingError$1(e)) {\n                        // Set property only if we're not redirecting. If we landed on a page\n                        // and redirect to `/` route, the new navigation is going to see the\n                        // `/` isn't a change from the default currentUrlTree and won't\n                        // navigate. This is only applicable with initial navigation, so\n                        // setting `navigated` only when not redirecting resolves this\n                        // scenario.\n                        router.navigated = true;\n                        router.restoreHistory(overallTransitionState, true);\n                    }\n                    const navCancel = new NavigationCancel(overallTransitionState.id, this.urlSerializer.serialize(overallTransitionState.extractedUrl), e.message, e.cancellationCode);\n                    this.events.next(navCancel);\n                    // When redirecting, we need to delay resolving the navigation\n                    // promise and push it to the redirect navigation\n                    if (!isRedirectingNavigationCancelingError$1(e)) {\n                        overallTransitionState.resolve(false);\n                    }\n                    else {\n                        const mergedTree = router.urlHandlingStrategy.merge(e.url, router.rawUrlTree);\n                        const extras = {\n                            skipLocationChange: overallTransitionState.extras.skipLocationChange,\n                            // The URL is already updated at this point if we have 'eager' URL\n                            // updates or if the navigation was triggered by the browser (back\n                            // button, URL bar, etc). We want to replace that item in history\n                            // if the navigation is rejected.\n                            replaceUrl: router.urlUpdateStrategy === 'eager' ||\n                                isBrowserTriggeredNavigation(overallTransitionState.source)\n                        };\n                        router.scheduleNavigation(mergedTree, IMPERATIVE_NAVIGATION, null, extras, {\n                            resolve: overallTransitionState.resolve,\n                            reject: overallTransitionState.reject,\n                            promise: overallTransitionState.promise\n                        });\n                    }\n                    /* All other errors should reset to the router's internal URL reference\n                     * to the pre-error state. */\n                }\n                else {\n                    router.restoreHistory(overallTransitionState, true);\n                    const navError = new NavigationError(overallTransitionState.id, this.urlSerializer.serialize(overallTransitionState.extractedUrl), e, overallTransitionState.targetSnapshot ?? undefined);\n                    this.events.next(navError);\n                    try {\n                        overallTransitionState.resolve(router.errorHandler(e));\n                    }\n                    catch (ee) {\n                        overallTransitionState.reject(ee);\n                    }\n                }\n                return EMPTY;\n            }));\n            // casting because `pipe` returns observable({}) when called with 8+ arguments\n        }));\n    }\n    cancelNavigationTransition(t, reason, code) {\n        const navCancel = new NavigationCancel(t.id, this.urlSerializer.serialize(t.extractedUrl), reason, code);\n        this.events.next(navCancel);\n        t.resolve(false);\n    }\n}\nNavigationTransitions.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: NavigationTransitions, deps: [], target: i0.ɵɵFactoryTarget.Injectable });\nNavigationTransitions.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: NavigationTransitions, providedIn: 'root' });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: NavigationTransitions, decorators: [{\n            type: Injectable,\n            args: [{ providedIn: 'root' }]\n        }], ctorParameters: function () { return []; } });\nfunction isBrowserTriggeredNavigation(source) {\n    return source !== IMPERATIVE_NAVIGATION;\n}\n\n/**\n * Provides a strategy for setting the page title after a router navigation.\n *\n * The built-in implementation traverses the router state snapshot and finds the deepest primary\n * outlet with `title` property. Given the `Routes` below, navigating to\n * `/base/child(popup:aux)` would result in the document title being set to \"child\".\n * ```\n * [\n *   {path: 'base', title: 'base', children: [\n *     {path: 'child', title: 'child'},\n *   ],\n *   {path: 'aux', outlet: 'popup', title: 'popupTitle'}\n * ]\n * ```\n *\n * This class can be used as a base class for custom title strategies. That is, you can create your\n * own class that extends the `TitleStrategy`. Note that in the above example, the `title`\n * from the named outlet is never used. However, a custom strategy might be implemented to\n * incorporate titles in named outlets.\n *\n * @publicApi\n * @see [Page title guide](guide/router#setting-the-page-title)\n */\nclass TitleStrategy {\n    /**\n     * @returns The `title` of the deepest primary route.\n     */\n    buildTitle(snapshot) {\n        let pageTitle;\n        let route = snapshot.root;\n        while (route !== undefined) {\n            pageTitle = this.getResolvedTitleForRoute(route) ?? pageTitle;\n            route = route.children.find(child => child.outlet === PRIMARY_OUTLET);\n        }\n        return pageTitle;\n    }\n    /**\n     * Given an `ActivatedRouteSnapshot`, returns the final value of the\n     * `Route.title` property, which can either be a static string or a resolved value.\n     */\n    getResolvedTitleForRoute(snapshot) {\n        return snapshot.data[RouteTitleKey];\n    }\n}\nTitleStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: TitleStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });\nTitleStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: TitleStrategy, providedIn: 'root', useFactory: () => inject(DefaultTitleStrategy) });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: TitleStrategy, decorators: [{\n            type: Injectable,\n            args: [{ providedIn: 'root', useFactory: () => inject(DefaultTitleStrategy) }]\n        }] });\n/**\n * The default `TitleStrategy` used by the router that updates the title using the `Title` service.\n */\nclass DefaultTitleStrategy extends TitleStrategy {\n    constructor(title) {\n        super();\n        this.title = title;\n    }\n    /**\n     * Sets the title of the browser to the given value.\n     *\n     * @param title The `pageTitle` from the deepest primary route.\n     */\n    updateTitle(snapshot) {\n        const title = this.buildTitle(snapshot);\n        if (title !== undefined) {\n            this.title.setTitle(title);\n        }\n    }\n}\nDefaultTitleStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: DefaultTitleStrategy, deps: [{ token: i1.Title }], target: i0.ɵɵFactoryTarget.Injectable });\nDefaultTitleStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: DefaultTitleStrategy, providedIn: 'root' });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: DefaultTitleStrategy, decorators: [{\n            type: Injectable,\n            args: [{ providedIn: 'root' }]\n        }], ctorParameters: function () { return [{ type: i1.Title }]; } });\n\n/**\n * @description\n *\n * Provides a way to customize when activated routes get reused.\n *\n * @publicApi\n */\nclass RouteReuseStrategy {\n}\nRouteReuseStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: RouteReuseStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });\nRouteReuseStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: RouteReuseStrategy, providedIn: 'root', useFactory: () => inject(DefaultRouteReuseStrategy) });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: RouteReuseStrategy, decorators: [{\n            type: Injectable,\n            args: [{ providedIn: 'root', useFactory: () => inject(DefaultRouteReuseStrategy) }]\n        }] });\n/**\n * @description\n *\n * This base route reuse strategy only reuses routes when the matched router configs are\n * identical. This prevents components from being destroyed and recreated\n * when just the route parameters, query parameters or fragment change\n * (that is, the existing component is _reused_).\n *\n * This strategy does not store any routes for later reuse.\n *\n * Angular uses this strategy by default.\n *\n *\n * It can be used as a base class for custom route reuse strategies, i.e. you can create your own\n * class that extends the `BaseRouteReuseStrategy` one.\n * @publicApi\n */\nclass BaseRouteReuseStrategy {\n    /**\n     * Whether the given route should detach for later reuse.\n     * Always returns false for `BaseRouteReuseStrategy`.\n     * */\n    shouldDetach(route) {\n        return false;\n    }\n    /**\n     * A no-op; the route is never stored since this strategy never detaches routes for later re-use.\n     */\n    store(route, detachedTree) { }\n    /** Returns `false`, meaning the route (and its subtree) is never reattached */\n    shouldAttach(route) {\n        return false;\n    }\n    /** Returns `null` because this strategy does not store routes for later re-use. */\n    retrieve(route) {\n        return null;\n    }\n    /**\n     * Determines if a route should be reused.\n     * This strategy returns `true` when the future route config and current route config are\n     * identical.\n     */\n    shouldReuseRoute(future, curr) {\n        return future.routeConfig === curr.routeConfig;\n    }\n}\nclass DefaultRouteReuseStrategy extends BaseRouteReuseStrategy {\n}\nDefaultRouteReuseStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: DefaultRouteReuseStrategy, deps: null, target: i0.ɵɵFactoryTarget.Injectable });\nDefaultRouteReuseStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: DefaultRouteReuseStrategy, providedIn: 'root' });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: DefaultRouteReuseStrategy, decorators: [{\n            type: Injectable,\n            args: [{ providedIn: 'root' }]\n        }] });\n\nconst NG_DEV_MODE$3 = typeof ngDevMode === 'undefined' || !!ngDevMode;\n/**\n * A [DI token](guide/glossary/#di-token) for the router service.\n *\n * @publicApi\n */\nconst ROUTER_CONFIGURATION = new InjectionToken(NG_DEV_MODE$3 ? 'router config' : '', {\n    providedIn: 'root',\n    factory: () => ({}),\n});\n\n/**\n * @description\n *\n * Provides a way to migrate AngularJS applications to Angular.\n *\n * @publicApi\n */\nclass UrlHandlingStrategy {\n}\nUrlHandlingStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: UrlHandlingStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });\nUrlHandlingStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: UrlHandlingStrategy, providedIn: 'root', useFactory: () => inject(DefaultUrlHandlingStrategy) });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: UrlHandlingStrategy, decorators: [{\n            type: Injectable,\n            args: [{ providedIn: 'root', useFactory: () => inject(DefaultUrlHandlingStrategy) }]\n        }] });\n/**\n * @publicApi\n */\nclass DefaultUrlHandlingStrategy {\n    shouldProcessUrl(url) {\n        return true;\n    }\n    extract(url) {\n        return url;\n    }\n    merge(newUrlPart, wholeUrl) {\n        return newUrlPart;\n    }\n}\nDefaultUrlHandlingStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: DefaultUrlHandlingStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });\nDefaultUrlHandlingStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: DefaultUrlHandlingStrategy, providedIn: 'root' });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: DefaultUrlHandlingStrategy, decorators: [{\n            type: Injectable,\n            args: [{ providedIn: 'root' }]\n        }] });\n\nconst NG_DEV_MODE$2 = typeof ngDevMode === 'undefined' || !!ngDevMode;\nfunction defaultErrorHandler(error) {\n    throw error;\n}\nfunction defaultMalformedUriErrorHandler(error, urlSerializer, url) {\n    return urlSerializer.parse('/');\n}\n/**\n * The equivalent `IsActiveMatchOptions` options for `Router.isActive` is called with `true`\n * (exact = true).\n */\nconst exactMatchOptions = {\n    paths: 'exact',\n    fragment: 'ignored',\n    matrixParams: 'ignored',\n    queryParams: 'exact'\n};\n/**\n * The equivalent `IsActiveMatchOptions` options for `Router.isActive` is called with `false`\n * (exact = false).\n */\nconst subsetMatchOptions = {\n    paths: 'subset',\n    fragment: 'ignored',\n    matrixParams: 'ignored',\n    queryParams: 'subset'\n};\n/**\n * @description\n *\n * A service that provides navigation among views and URL manipulation capabilities.\n *\n * @see `Route`.\n * @see [Routing and Navigation Guide](guide/router).\n *\n * @ngModule RouterModule\n *\n * @publicApi\n */\nclass Router {\n    // TODO(b/260747083): This should not exist and navigationId should be private in\n    // `NavigationTransitions`\n    get navigationId() {\n        return this.navigationTransitions.navigationId;\n    }\n    /**\n     * The ɵrouterPageId of whatever page is currently active in the browser history. This is\n     * important for computing the target page id for new navigations because we need to ensure each\n     * page id in the browser history is 1 more than the previous entry.\n     */\n    get browserPageId() {\n        if (this.canceledNavigationResolution !== 'computed') {\n            return undefined;\n        }\n        return this.location.getState()?.ɵrouterPageId;\n    }\n    /**\n     * An event stream for routing events.\n     */\n    get events() {\n        // TODO(atscott): This _should_ be events.asObservable(). However, this change requires internal\n        // cleanup: tests are doing `(route.events as Subject<Event>).next(...)`. This isn't\n        // allowed/supported but we still have to fix these or file bugs against the teams before making\n        // the change.\n        return this.navigationTransitions.events;\n    }\n    constructor() {\n        this.disposed = false;\n        /**\n         * The id of the currently active page in the router.\n         * Updated to the transition's target id on a successful navigation.\n         *\n         * This is used to track what page the router last activated. When an attempted navigation fails,\n         * the router can then use this to compute how to restore the state back to the previously active\n         * page.\n         */\n        this.currentPageId = 0;\n        this.console = inject(ɵConsole);\n        this.isNgZoneEnabled = false;\n        this.options = inject(ROUTER_CONFIGURATION, { optional: true }) || {};\n        /**\n         * A handler for navigation errors in this NgModule.\n         *\n         * @deprecated Subscribe to the `Router` events and watch for `NavigationError` instead.\n         *   `provideRouter` has the `withNavigationErrorHandler` feature to make this easier.\n         * @see `withNavigationErrorHandler`\n         */\n        this.errorHandler = this.options.errorHandler || defaultErrorHandler;\n        /**\n         * A handler for errors thrown by `Router.parseUrl(url)`\n         * when `url` contains an invalid character.\n         * The most common case is a `%` sign\n         * that's not encoded and is not part of a percent encoded sequence.\n         *\n         * @deprecated URI parsing errors should be handled in the `UrlSerializer`.\n         *\n         * @see `RouterModule`\n         */\n        this.malformedUriErrorHandler = this.options.malformedUriErrorHandler || defaultMalformedUriErrorHandler;\n        /**\n         * True if at least one navigation event has occurred,\n         * false otherwise.\n         */\n        this.navigated = false;\n        this.lastSuccessfulId = -1;\n        /**\n         * A strategy for extracting and merging URLs.\n         * Used for AngularJS to Angular migrations.\n         *\n         * @deprecated Configure using `providers` instead:\n         *   `{provide: UrlHandlingStrategy, useClass: MyStrategy}`.\n         */\n        this.urlHandlingStrategy = inject(UrlHandlingStrategy);\n        /**\n         * A strategy for re-using routes.\n         *\n         * @deprecated Configure using `providers` instead:\n         *   `{provide: RouteReuseStrategy, useClass: MyStrategy}`.\n         */\n        this.routeReuseStrategy = inject(RouteReuseStrategy);\n        /** Strategy used to create a UrlTree. */\n        this.urlCreationStrategy = inject(CreateUrlTreeStrategy);\n        /**\n         * A strategy for setting the title based on the `routerState`.\n         *\n         * @deprecated Configure using `providers` instead:\n         *   `{provide: TitleStrategy, useClass: MyStrategy}`.\n         */\n        this.titleStrategy = inject(TitleStrategy);\n        /**\n         * How to handle a navigation request to the current URL.\n         *\n         *\n         * @deprecated Configure this through `provideRouter` or `RouterModule.forRoot` instead.\n         * @see `withRouterConfig`\n         * @see `provideRouter`\n         * @see `RouterModule`\n         */\n        this.onSameUrlNavigation = this.options.onSameUrlNavigation || 'ignore';\n        /**\n         * How to merge parameters, data, resolved data, and title from parent to child\n         * routes. One of:\n         *\n         * - `'emptyOnly'` : Inherit parent parameters, data, and resolved data\n         * for path-less or component-less routes.\n         * - `'always'` : Inherit parent parameters, data, and resolved data\n         * for all child routes.\n         *\n         * @deprecated Configure this through `provideRouter` or `RouterModule.forRoot` instead.\n         * @see `withRouterConfig`\n         * @see `provideRouter`\n         * @see `RouterModule`\n         */\n        this.paramsInheritanceStrategy = this.options.paramsInheritanceStrategy || 'emptyOnly';\n        /**\n         * Determines when the router updates the browser URL.\n         * By default (`\"deferred\"`), updates the browser URL after navigation has finished.\n         * Set to `'eager'` to update the browser URL at the beginning of navigation.\n         * You can choose to update early so that, if navigation fails,\n         * you can show an error message with the URL that failed.\n         *\n         * @deprecated Configure this through `provideRouter` or `RouterModule.forRoot` instead.\n         * @see `withRouterConfig`\n         * @see `provideRouter`\n         * @see `RouterModule`\n         */\n        this.urlUpdateStrategy = this.options.urlUpdateStrategy || 'deferred';\n        /**\n         * Configures how the Router attempts to restore state when a navigation is cancelled.\n         *\n         * 'replace' - Always uses `location.replaceState` to set the browser state to the state of the\n         * router before the navigation started. This means that if the URL of the browser is updated\n         * _before_ the navigation is canceled, the Router will simply replace the item in history rather\n         * than trying to restore to the previous location in the session history. This happens most\n         * frequently with `urlUpdateStrategy: 'eager'` and navigations with the browser back/forward\n         * buttons.\n         *\n         * 'computed' - Will attempt to return to the same index in the session history that corresponds\n         * to the Angular route when the navigation gets cancelled. For example, if the browser back\n         * button is clicked and the navigation is cancelled, the Router will trigger a forward navigation\n         * and vice versa.\n         *\n         * Note: the 'computed' option is incompatible with any `UrlHandlingStrategy` which only\n         * handles a portion of the URL because the history restoration navigates to the previous place in\n         * the browser history rather than simply resetting a portion of the URL.\n         *\n         * The default value is `replace`.\n         *\n         * @deprecated Configure this through `provideRouter` or `RouterModule.forRoot` instead.\n         * @see `withRouterConfig`\n         * @see `provideRouter`\n         * @see `RouterModule`\n         */\n        this.canceledNavigationResolution = this.options.canceledNavigationResolution || 'replace';\n        this.config = flatten(inject(ROUTES, { optional: true }) ?? []);\n        this.navigationTransitions = inject(NavigationTransitions);\n        this.urlSerializer = inject(UrlSerializer);\n        this.location = inject(Location);\n        this.isNgZoneEnabled = inject(NgZone) instanceof NgZone && NgZone.isInAngularZone();\n        this.resetConfig(this.config);\n        this.currentUrlTree = new UrlTree();\n        this.rawUrlTree = this.currentUrlTree;\n        this.browserUrlTree = this.currentUrlTree;\n        this.routerState = createEmptyState(this.currentUrlTree, null);\n        this.navigationTransitions.setupNavigations(this).subscribe(t => {\n            this.lastSuccessfulId = t.id;\n            this.currentPageId = this.browserPageId ?? 0;\n        }, e => {\n            this.console.warn(`Unhandled Navigation Error: ${e}`);\n        });\n    }\n    /** @internal */\n    resetRootComponentType(rootComponentType) {\n        // TODO: vsavkin router 4.0 should make the root component set to null\n        // this will simplify the lifecycle of the router.\n        this.routerState.root.component = rootComponentType;\n        this.navigationTransitions.rootComponentType = rootComponentType;\n    }\n    /**\n     * Sets up the location change listener and performs the initial navigation.\n     */\n    initialNavigation() {\n        this.setUpLocationChangeListener();\n        if (!this.navigationTransitions.hasRequestedNavigation) {\n            const state = this.location.getState();\n            this.navigateToSyncWithBrowser(this.location.path(true), IMPERATIVE_NAVIGATION, state);\n        }\n    }\n    /**\n     * Sets up the location change listener. This listener detects navigations triggered from outside\n     * the Router (the browser back/forward buttons, for example) and schedules a corresponding Router\n     * navigation so that the correct events, guards, etc. are triggered.\n     */\n    setUpLocationChangeListener() {\n        // Don't need to use Zone.wrap any more, because zone.js\n        // already patch onPopState, so location change callback will\n        // run into ngZone\n        if (!this.locationSubscription) {\n            this.locationSubscription = this.location.subscribe(event => {\n                const source = event['type'] === 'popstate' ? 'popstate' : 'hashchange';\n                if (source === 'popstate') {\n                    // The `setTimeout` was added in #12160 and is likely to support Angular/AngularJS\n                    // hybrid apps.\n                    setTimeout(() => {\n                        this.navigateToSyncWithBrowser(event['url'], source, event.state);\n                    }, 0);\n                }\n            });\n        }\n    }\n    /**\n     * Schedules a router navigation to synchronize Router state with the browser state.\n     *\n     * This is done as a response to a popstate event and the initial navigation. These\n     * two scenarios represent times when the browser URL/state has been updated and\n     * the Router needs to respond to ensure its internal state matches.\n     */\n    navigateToSyncWithBrowser(url, source, state) {\n        const extras = { replaceUrl: true };\n        // TODO: restoredState should always include the entire state, regardless\n        // of navigationId. This requires a breaking change to update the type on\n        // NavigationStart’s restoredState, which currently requires navigationId\n        // to always be present. The Router used to only restore history state if\n        // a navigationId was present.\n        // The stored navigationId is used by the RouterScroller to retrieve the scroll\n        // position for the page.\n        const restoredState = state?.navigationId ? state : null;\n        // Separate to NavigationStart.restoredState, we must also restore the state to\n        // history.state and generate a new navigationId, since it will be overwritten\n        if (state) {\n            const stateCopy = { ...state };\n            delete stateCopy.navigationId;\n            delete stateCopy.ɵrouterPageId;\n            if (Object.keys(stateCopy).length !== 0) {\n                extras.state = stateCopy;\n            }\n        }\n        const urlTree = this.parseUrl(url);\n        this.scheduleNavigation(urlTree, source, restoredState, extras);\n    }\n    /** The current URL. */\n    get url() {\n        return this.serializeUrl(this.currentUrlTree);\n    }\n    /**\n     * Returns the current `Navigation` object when the router is navigating,\n     * and `null` when idle.\n     */\n    getCurrentNavigation() {\n        return this.navigationTransitions.currentNavigation;\n    }\n    /**\n     * Resets the route configuration used for navigation and generating links.\n     *\n     * @param config The route array for the new configuration.\n     *\n     * @usageNotes\n     *\n     * ```\n     * router.resetConfig([\n     *  { path: 'team/:id', component: TeamCmp, children: [\n     *    { path: 'simple', component: SimpleCmp },\n     *    { path: 'user/:name', component: UserCmp }\n     *  ]}\n     * ]);\n     * ```\n     */\n    resetConfig(config) {\n        NG_DEV_MODE$2 && validateConfig(config);\n        this.config = config.map(standardizeConfig);\n        this.navigated = false;\n        this.lastSuccessfulId = -1;\n    }\n    /** @nodoc */\n    ngOnDestroy() {\n        this.dispose();\n    }\n    /** Disposes of the router. */\n    dispose() {\n        this.navigationTransitions.complete();\n        if (this.locationSubscription) {\n            this.locationSubscription.unsubscribe();\n            this.locationSubscription = undefined;\n        }\n        this.disposed = true;\n    }\n    /**\n     * Appends URL segments to the current URL tree to create a new URL tree.\n     *\n     * @param commands An array of URL fragments with which to construct the new URL tree.\n     * If the path is static, can be the literal URL string. For a dynamic path, pass an array of path\n     * segments, followed by the parameters for each segment.\n     * The fragments are applied to the current URL tree or the one provided  in the `relativeTo`\n     * property of the options object, if supplied.\n     * @param navigationExtras Options that control the navigation strategy.\n     * @returns The new URL tree.\n     *\n     * @usageNotes\n     *\n     * ```\n     * // create /team/33/user/11\n     * router.createUrlTree(['/team', 33, 'user', 11]);\n     *\n     * // create /team/33;expand=true/user/11\n     * router.createUrlTree(['/team', 33, {expand: true}, 'user', 11]);\n     *\n     * // you can collapse static segments like this (this works only with the first passed-in value):\n     * router.createUrlTree(['/team/33/user', userId]);\n     *\n     * // If the first segment can contain slashes, and you do not want the router to split it,\n     * // you can do the following:\n     * router.createUrlTree([{segmentPath: '/one/two'}]);\n     *\n     * // create /team/33/(user/11//right:chat)\n     * router.createUrlTree(['/team', 33, {outlets: {primary: 'user/11', right: 'chat'}}]);\n     *\n     * // remove the right secondary node\n     * router.createUrlTree(['/team', 33, {outlets: {primary: 'user/11', right: null}}]);\n     *\n     * // assuming the current url is `/team/33/user/11` and the route points to `user/11`\n     *\n     * // navigate to /team/33/user/11/details\n     * router.createUrlTree(['details'], {relativeTo: route});\n     *\n     * // navigate to /team/33/user/22\n     * router.createUrlTree(['../22'], {relativeTo: route});\n     *\n     * // navigate to /team/44/user/22\n     * router.createUrlTree(['../../team/44/user/22'], {relativeTo: route});\n     *\n     * Note that a value of `null` or `undefined` for `relativeTo` indicates that the\n     * tree should be created relative to the root.\n     * ```\n     */\n    createUrlTree(commands, navigationExtras = {}) {\n        const { relativeTo, queryParams, fragment, queryParamsHandling, preserveFragment } = navigationExtras;\n        const f = preserveFragment ? this.currentUrlTree.fragment : fragment;\n        let q = null;\n        switch (queryParamsHandling) {\n            case 'merge':\n                q = { ...this.currentUrlTree.queryParams, ...queryParams };\n                break;\n            case 'preserve':\n                q = this.currentUrlTree.queryParams;\n                break;\n            default:\n                q = queryParams || null;\n        }\n        if (q !== null) {\n            q = this.removeEmptyProps(q);\n        }\n        return this.urlCreationStrategy.createUrlTree(relativeTo, this.routerState, this.currentUrlTree, commands, q, f ?? null);\n    }\n    /**\n     * Navigates to a view using an absolute route path.\n     *\n     * @param url An absolute path for a defined route. The function does not apply any delta to the\n     *     current URL.\n     * @param extras An object containing properties that modify the navigation strategy.\n     *\n     * @returns A Promise that resolves to 'true' when navigation succeeds,\n     * to 'false' when navigation fails, or is rejected on error.\n     *\n     * @usageNotes\n     *\n     * The following calls request navigation to an absolute path.\n     *\n     * ```\n     * router.navigateByUrl(\"/team/33/user/11\");\n     *\n     * // Navigate without updating the URL\n     * router.navigateByUrl(\"/team/33/user/11\", { skipLocationChange: true });\n     * ```\n     *\n     * @see [Routing and Navigation guide](guide/router)\n     *\n     */\n    navigateByUrl(url, extras = {\n        skipLocationChange: false\n    }) {\n        if (NG_DEV_MODE$2) {\n            if (this.isNgZoneEnabled && !NgZone.isInAngularZone()) {\n                this.console.warn(`Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?`);\n            }\n            if (url instanceof UrlTree && url._warnIfUsedForNavigation) {\n                this.console.warn(url._warnIfUsedForNavigation);\n            }\n        }\n        const urlTree = isUrlTree(url) ? url : this.parseUrl(url);\n        const mergedTree = this.urlHandlingStrategy.merge(urlTree, this.rawUrlTree);\n        return this.scheduleNavigation(mergedTree, IMPERATIVE_NAVIGATION, null, extras);\n    }\n    /**\n     * Navigate based on the provided array of commands and a starting point.\n     * If no starting route is provided, the navigation is absolute.\n     *\n     * @param commands An array of URL fragments with which to construct the target URL.\n     * If the path is static, can be the literal URL string. For a dynamic path, pass an array of path\n     * segments, followed by the parameters for each segment.\n     * The fragments are applied to the current URL or the one provided  in the `relativeTo` property\n     * of the options object, if supplied.\n     * @param extras An options object that determines how the URL should be constructed or\n     *     interpreted.\n     *\n     * @returns A Promise that resolves to `true` when navigation succeeds, to `false` when navigation\n     *     fails,\n     * or is rejected on error.\n     *\n     * @usageNotes\n     *\n     * The following calls request navigation to a dynamic route path relative to the current URL.\n     *\n     * ```\n     * router.navigate(['team', 33, 'user', 11], {relativeTo: route});\n     *\n     * // Navigate without updating the URL, overriding the default behavior\n     * router.navigate(['team', 33, 'user', 11], {relativeTo: route, skipLocationChange: true});\n     * ```\n     *\n     * @see [Routing and Navigation guide](guide/router)\n     *\n     */\n    navigate(commands, extras = { skipLocationChange: false }) {\n        validateCommands(commands);\n        return this.navigateByUrl(this.createUrlTree(commands, extras), extras);\n    }\n    /** Serializes a `UrlTree` into a string */\n    serializeUrl(url) {\n        return this.urlSerializer.serialize(url);\n    }\n    /** Parses a string into a `UrlTree` */\n    parseUrl(url) {\n        let urlTree;\n        try {\n            urlTree = this.urlSerializer.parse(url);\n        }\n        catch (e) {\n            urlTree = this.malformedUriErrorHandler(e, this.urlSerializer, url);\n        }\n        return urlTree;\n    }\n    isActive(url, matchOptions) {\n        let options;\n        if (matchOptions === true) {\n            options = { ...exactMatchOptions };\n        }\n        else if (matchOptions === false) {\n            options = { ...subsetMatchOptions };\n        }\n        else {\n            options = matchOptions;\n        }\n        if (isUrlTree(url)) {\n            return containsTree(this.currentUrlTree, url, options);\n        }\n        const urlTree = this.parseUrl(url);\n        return containsTree(this.currentUrlTree, urlTree, options);\n    }\n    removeEmptyProps(params) {\n        return Object.keys(params).reduce((result, key) => {\n            const value = params[key];\n            if (value !== null && value !== undefined) {\n                result[key] = value;\n            }\n            return result;\n        }, {});\n    }\n    /** @internal */\n    scheduleNavigation(rawUrl, source, restoredState, extras, priorPromise) {\n        if (this.disposed) {\n            return Promise.resolve(false);\n        }\n        let resolve;\n        let reject;\n        let promise;\n        if (priorPromise) {\n            resolve = priorPromise.resolve;\n            reject = priorPromise.reject;\n            promise = priorPromise.promise;\n        }\n        else {\n            promise = new Promise((res, rej) => {\n                resolve = res;\n                reject = rej;\n            });\n        }\n        let targetPageId;\n        if (this.canceledNavigationResolution === 'computed') {\n            // If the `ɵrouterPageId` exist in the state then `targetpageId` should have the value of\n            // `ɵrouterPageId`. This is the case for something like a page refresh where we assign the\n            // target id to the previously set value for that page.\n            if (restoredState && restoredState.ɵrouterPageId) {\n                targetPageId = restoredState.ɵrouterPageId;\n            }\n            else {\n                // Otherwise, targetPageId should be the next number in the event of a `pushState`\n                // navigation.\n                targetPageId = (this.browserPageId ?? 0) + 1;\n            }\n        }\n        else {\n            // This is unused when `canceledNavigationResolution` is not computed.\n            targetPageId = 0;\n        }\n        this.navigationTransitions.handleNavigationRequest({\n            targetPageId,\n            source,\n            restoredState,\n            currentUrlTree: this.currentUrlTree,\n            currentRawUrl: this.currentUrlTree,\n            rawUrl,\n            extras,\n            resolve,\n            reject,\n            promise,\n            currentSnapshot: this.routerState.snapshot,\n            currentRouterState: this.routerState\n        });\n        // Make sure that the error is propagated even though `processNavigations` catch\n        // handler does not rethrow\n        return promise.catch((e) => {\n            return Promise.reject(e);\n        });\n    }\n    /** @internal */\n    setBrowserUrl(url, transition) {\n        const path = this.urlSerializer.serialize(url);\n        if (this.location.isCurrentPathEqualTo(path) || !!transition.extras.replaceUrl) {\n            // replacements do not update the target page\n            const currentBrowserPageId = this.browserPageId;\n            const state = {\n                ...transition.extras.state,\n                ...this.generateNgRouterState(transition.id, currentBrowserPageId)\n            };\n            this.location.replaceState(path, '', state);\n        }\n        else {\n            const state = {\n                ...transition.extras.state,\n                ...this.generateNgRouterState(transition.id, transition.targetPageId)\n            };\n            this.location.go(path, '', state);\n        }\n    }\n    /**\n     * Performs the necessary rollback action to restore the browser URL to the\n     * state before the transition.\n     * @internal\n     */\n    restoreHistory(transition, restoringFromCaughtError = false) {\n        if (this.canceledNavigationResolution === 'computed') {\n            const currentBrowserPageId = this.browserPageId ?? this.currentPageId;\n            const targetPagePosition = this.currentPageId - currentBrowserPageId;\n            if (targetPagePosition !== 0) {\n                this.location.historyGo(targetPagePosition);\n            }\n            else if (this.currentUrlTree === this.getCurrentNavigation()?.finalUrl &&\n                targetPagePosition === 0) {\n                // We got to the activation stage (where currentUrlTree is set to the navigation's\n                // finalUrl), but we weren't moving anywhere in history (skipLocationChange or replaceUrl).\n                // We still need to reset the router state back to what it was when the navigation started.\n                this.resetState(transition);\n                // TODO(atscott): resetting the `browserUrlTree` should really be done in `resetState`.\n                // Investigate if this can be done by running TGP.\n                this.browserUrlTree = transition.currentUrlTree;\n                this.resetUrlToCurrentUrlTree();\n            }\n            else {\n                // The browser URL and router state was not updated before the navigation cancelled so\n                // there's no restoration needed.\n            }\n        }\n        else if (this.canceledNavigationResolution === 'replace') {\n            // TODO(atscott): It seems like we should _always_ reset the state here. It would be a no-op\n            // for `deferred` navigations that haven't change the internal state yet because guards\n            // reject. For 'eager' navigations, it seems like we also really should reset the state\n            // because the navigation was cancelled. Investigate if this can be done by running TGP.\n            if (restoringFromCaughtError) {\n                this.resetState(transition);\n            }\n            this.resetUrlToCurrentUrlTree();\n        }\n    }\n    resetState(t) {\n        this.routerState = t.currentRouterState;\n        this.currentUrlTree = t.currentUrlTree;\n        // Note here that we use the urlHandlingStrategy to get the reset `rawUrlTree` because it may be\n        // configured to handle only part of the navigation URL. This means we would only want to reset\n        // the part of the navigation handled by the Angular router rather than the whole URL. In\n        // addition, the URLHandlingStrategy may be configured to specifically preserve parts of the URL\n        // when merging, such as the query params so they are not lost on a refresh.\n        this.rawUrlTree = this.urlHandlingStrategy.merge(this.currentUrlTree, t.rawUrl);\n    }\n    resetUrlToCurrentUrlTree() {\n        this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree), '', this.generateNgRouterState(this.lastSuccessfulId, this.currentPageId));\n    }\n    generateNgRouterState(navigationId, routerPageId) {\n        if (this.canceledNavigationResolution === 'computed') {\n            return { navigationId, ɵrouterPageId: routerPageId };\n        }\n        return { navigationId };\n    }\n}\nRouter.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: Router, deps: [], target: i0.ɵɵFactoryTarget.Injectable });\nRouter.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: Router, providedIn: 'root' });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: Router, decorators: [{\n            type: Injectable,\n            args: [{ providedIn: 'root' }]\n        }], ctorParameters: function () { return []; } });\nfunction validateCommands(commands) {\n    for (let i = 0; i < commands.length; i++) {\n        const cmd = commands[i];\n        if (cmd == null) {\n            throw new ɵRuntimeError(4008 /* RuntimeErrorCode.NULLISH_COMMAND */, NG_DEV_MODE$2 && `The requested path contains ${cmd} segment at index ${i}`);\n        }\n    }\n}\n\n/**\n * @description\n *\n * When applied to an element in a template, makes that element a link\n * that initiates navigation to a route. Navigation opens one or more routed components\n * in one or more `<router-outlet>` locations on the page.\n *\n * Given a route configuration `[{ path: 'user/:name', component: UserCmp }]`,\n * the following creates a static link to the route:\n * `<a routerLink=\"/user/bob\">link to user component</a>`\n *\n * You can use dynamic values to generate the link.\n * For a dynamic link, pass an array of path segments,\n * followed by the params for each segment.\n * For example, `['/team', teamId, 'user', userName, {details: true}]`\n * generates a link to `/team/11/user/bob;details=true`.\n *\n * Multiple static segments can be merged into one term and combined with dynamic segments.\n * For example, `['/team/11/user', userName, {details: true}]`\n *\n * The input that you provide to the link is treated as a delta to the current URL.\n * For instance, suppose the current URL is `/user/(box//aux:team)`.\n * The link `<a [routerLink]=\"['/user/jim']\">Jim</a>` creates the URL\n * `/user/(jim//aux:team)`.\n * See {@link Router#createUrlTree createUrlTree} for more information.\n *\n * @usageNotes\n *\n * You can use absolute or relative paths in a link, set query parameters,\n * control how parameters are handled, and keep a history of navigation states.\n *\n * ### Relative link paths\n *\n * The first segment name can be prepended with `/`, `./`, or `../`.\n * * If the first segment begins with `/`, the router looks up the route from the root of the\n *   app.\n * * If the first segment begins with `./`, or doesn't begin with a slash, the router\n *   looks in the children of the current activated route.\n * * If the first segment begins with `../`, the router goes up one level in the route tree.\n *\n * ### Setting and handling query params and fragments\n *\n * The following link adds a query parameter and a fragment to the generated URL:\n *\n * ```\n * <a [routerLink]=\"['/user/bob']\" [queryParams]=\"{debug: true}\" fragment=\"education\">\n *   link to user component\n * </a>\n * ```\n * By default, the directive constructs the new URL using the given query parameters.\n * The example generates the link: `/user/bob?debug=true#education`.\n *\n * You can instruct the directive to handle query parameters differently\n * by specifying the `queryParamsHandling` option in the link.\n * Allowed values are:\n *\n *  - `'merge'`: Merge the given `queryParams` into the current query params.\n *  - `'preserve'`: Preserve the current query params.\n *\n * For example:\n *\n * ```\n * <a [routerLink]=\"['/user/bob']\" [queryParams]=\"{debug: true}\" queryParamsHandling=\"merge\">\n *   link to user component\n * </a>\n * ```\n *\n * See {@link UrlCreationOptions.queryParamsHandling UrlCreationOptions#queryParamsHandling}.\n *\n * ### Preserving navigation history\n *\n * You can provide a `state` value to be persisted to the browser's\n * [`History.state` property](https://developer.mozilla.org/en-US/docs/Web/API/History#Properties).\n * For example:\n *\n * ```\n * <a [routerLink]=\"['/user/bob']\" [state]=\"{tracingId: 123}\">\n *   link to user component\n * </a>\n * ```\n *\n * Use {@link Router.getCurrentNavigation() Router#getCurrentNavigation} to retrieve a saved\n * navigation-state value. For example, to capture the `tracingId` during the `NavigationStart`\n * event:\n *\n * ```\n * // Get NavigationStart events\n * router.events.pipe(filter(e => e instanceof NavigationStart)).subscribe(e => {\n *   const navigation = router.getCurrentNavigation();\n *   tracingService.trace({id: navigation.extras.state.tracingId});\n * });\n * ```\n *\n * @ngModule RouterModule\n *\n * @publicApi\n */\nclass RouterLink {\n    constructor(router, route, tabIndexAttribute, renderer, el, locationStrategy) {\n        this.router = router;\n        this.route = route;\n        this.tabIndexAttribute = tabIndexAttribute;\n        this.renderer = renderer;\n        this.el = el;\n        this.locationStrategy = locationStrategy;\n        this._preserveFragment = false;\n        this._skipLocationChange = false;\n        this._replaceUrl = false;\n        /**\n         * Represents an `href` attribute value applied to a host element,\n         * when a host element is `<a>`. For other tags, the value is `null`.\n         */\n        this.href = null;\n        this.commands = null;\n        /** @internal */\n        this.onChanges = new Subject();\n        const tagName = el.nativeElement.tagName?.toLowerCase();\n        this.isAnchorElement = tagName === 'a' || tagName === 'area';\n        if (this.isAnchorElement) {\n            this.subscription = router.events.subscribe((s) => {\n                if (s instanceof NavigationEnd) {\n                    this.updateHref();\n                }\n            });\n        }\n        else {\n            this.setTabIndexIfNotOnNativeEl('0');\n        }\n    }\n    /**\n     * Passed to {@link Router#createUrlTree Router#createUrlTree} as part of the\n     * `UrlCreationOptions`.\n     * @see {@link UrlCreationOptions#preserveFragment UrlCreationOptions#preserveFragment}\n     * @see {@link Router#createUrlTree Router#createUrlTree}\n     */\n    set preserveFragment(preserveFragment) {\n        this._preserveFragment = ɵcoerceToBoolean(preserveFragment);\n    }\n    get preserveFragment() {\n        return this._preserveFragment;\n    }\n    /**\n     * Passed to {@link Router#navigateByUrl Router#navigateByUrl} as part of the\n     * `NavigationBehaviorOptions`.\n     * @see {@link NavigationBehaviorOptions#skipLocationChange NavigationBehaviorOptions#skipLocationChange}\n     * @see {@link Router#navigateByUrl Router#navigateByUrl}\n     */\n    set skipLocationChange(skipLocationChange) {\n        this._skipLocationChange = ɵcoerceToBoolean(skipLocationChange);\n    }\n    get skipLocationChange() {\n        return this._skipLocationChange;\n    }\n    /**\n     * Passed to {@link Router#navigateByUrl Router#navigateByUrl} as part of the\n     * `NavigationBehaviorOptions`.\n     * @see {@link NavigationBehaviorOptions#replaceUrl NavigationBehaviorOptions#replaceUrl}\n     * @see {@link Router#navigateByUrl Router#navigateByUrl}\n     */\n    set replaceUrl(replaceUrl) {\n        this._replaceUrl = ɵcoerceToBoolean(replaceUrl);\n    }\n    get replaceUrl() {\n        return this._replaceUrl;\n    }\n    /**\n     * Modifies the tab index if there was not a tabindex attribute on the element during\n     * instantiation.\n     */\n    setTabIndexIfNotOnNativeEl(newTabIndex) {\n        if (this.tabIndexAttribute != null /* both `null` and `undefined` */ || this.isAnchorElement) {\n            return;\n        }\n        this.applyAttributeValue('tabindex', newTabIndex);\n    }\n    /** @nodoc */\n    ngOnChanges(changes) {\n        if (this.isAnchorElement) {\n            this.updateHref();\n        }\n        // This is subscribed to by `RouterLinkActive` so that it knows to update when there are changes\n        // to the RouterLinks it's tracking.\n        this.onChanges.next(this);\n    }\n    /**\n     * Commands to pass to {@link Router#createUrlTree Router#createUrlTree}.\n     *   - **array**: commands to pass to {@link Router#createUrlTree Router#createUrlTree}.\n     *   - **string**: shorthand for array of commands with just the string, i.e. `['/route']`\n     *   - **null|undefined**: effectively disables the `routerLink`\n     * @see {@link Router#createUrlTree Router#createUrlTree}\n     */\n    set routerLink(commands) {\n        if (commands != null) {\n            this.commands = Array.isArray(commands) ? commands : [commands];\n            this.setTabIndexIfNotOnNativeEl('0');\n        }\n        else {\n            this.commands = null;\n            this.setTabIndexIfNotOnNativeEl(null);\n        }\n    }\n    /** @nodoc */\n    onClick(button, ctrlKey, shiftKey, altKey, metaKey) {\n        if (this.urlTree === null) {\n            return true;\n        }\n        if (this.isAnchorElement) {\n            if (button !== 0 || ctrlKey || shiftKey || altKey || metaKey) {\n                return true;\n            }\n            if (typeof this.target === 'string' && this.target != '_self') {\n                return true;\n            }\n        }\n        const extras = {\n            skipLocationChange: this.skipLocationChange,\n            replaceUrl: this.replaceUrl,\n            state: this.state,\n        };\n        this.router.navigateByUrl(this.urlTree, extras);\n        // Return `false` for `<a>` elements to prevent default action\n        // and cancel the native behavior, since the navigation is handled\n        // by the Router.\n        return !this.isAnchorElement;\n    }\n    /** @nodoc */\n    ngOnDestroy() {\n        this.subscription?.unsubscribe();\n    }\n    updateHref() {\n        this.href = this.urlTree !== null && this.locationStrategy ?\n            this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)) :\n            null;\n        const sanitizedValue = this.href === null ?\n            null :\n            // This class represents a directive that can be added to both `<a>` elements,\n            // as well as other elements. As a result, we can't define security context at\n            // compile time. So the security context is deferred to runtime.\n            // The `ɵɵsanitizeUrlOrResourceUrl` selects the necessary sanitizer function\n            // based on the tag and property names. The logic mimics the one from\n            // `packages/compiler/src/schema/dom_security_schema.ts`, which is used at compile time.\n            //\n            // Note: we should investigate whether we can switch to using `@HostBinding('attr.href')`\n            // instead of applying a value via a renderer, after a final merge of the\n            // `RouterLinkWithHref` directive.\n            ɵɵsanitizeUrlOrResourceUrl(this.href, this.el.nativeElement.tagName.toLowerCase(), 'href');\n        this.applyAttributeValue('href', sanitizedValue);\n    }\n    applyAttributeValue(attrName, attrValue) {\n        const renderer = this.renderer;\n        const nativeElement = this.el.nativeElement;\n        if (attrValue !== null) {\n            renderer.setAttribute(nativeElement, attrName, attrValue);\n        }\n        else {\n            renderer.removeAttribute(nativeElement, attrName);\n        }\n    }\n    get urlTree() {\n        if (this.commands === null) {\n            return null;\n        }\n        return this.router.createUrlTree(this.commands, {\n            // If the `relativeTo` input is not defined, we want to use `this.route` by default.\n            // Otherwise, we should use the value provided by the user in the input.\n            relativeTo: this.relativeTo !== undefined ? this.relativeTo : this.route,\n            queryParams: this.queryParams,\n            fragment: this.fragment,\n            queryParamsHandling: this.queryParamsHandling,\n            preserveFragment: this.preserveFragment,\n        });\n    }\n}\nRouterLink.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: RouterLink, deps: [{ token: Router }, { token: ActivatedRoute }, { token: 'tabindex', attribute: true }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i3.LocationStrategy }], target: i0.ɵɵFactoryTarget.Directive });\nRouterLink.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.2.10\", type: RouterLink, isStandalone: true, selector: \"[routerLink]\", inputs: { target: \"target\", queryParams: \"queryParams\", fragment: \"fragment\", queryParamsHandling: \"queryParamsHandling\", state: \"state\", relativeTo: \"relativeTo\", preserveFragment: \"preserveFragment\", skipLocationChange: \"skipLocationChange\", replaceUrl: \"replaceUrl\", routerLink: \"routerLink\" }, host: { listeners: { \"click\": \"onClick($event.button,$event.ctrlKey,$event.shiftKey,$event.altKey,$event.metaKey)\" }, properties: { \"attr.target\": \"this.target\" } }, usesOnChanges: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: RouterLink, decorators: [{\n            type: Directive,\n            args: [{\n                    selector: '[routerLink]',\n                    standalone: true,\n                }]\n        }], ctorParameters: function () { return [{ type: Router }, { type: ActivatedRoute }, { type: undefined, decorators: [{\n                    type: Attribute,\n                    args: ['tabindex']\n                }] }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i3.LocationStrategy }]; }, propDecorators: { target: [{\n                type: HostBinding,\n                args: ['attr.target']\n            }, {\n                type: Input\n            }], queryParams: [{\n                type: Input\n            }], fragment: [{\n                type: Input\n            }], queryParamsHandling: [{\n                type: Input\n            }], state: [{\n                type: Input\n            }], relativeTo: [{\n                type: Input\n            }], preserveFragment: [{\n                type: Input\n            }], skipLocationChange: [{\n                type: Input\n            }], replaceUrl: [{\n                type: Input\n            }], routerLink: [{\n                type: Input\n            }], onClick: [{\n                type: HostListener,\n                args: ['click',\n                    ['$event.button', '$event.ctrlKey', '$event.shiftKey', '$event.altKey', '$event.metaKey']]\n            }] } });\n\n/**\n *\n * @description\n *\n * Tracks whether the linked route of an element is currently active, and allows you\n * to specify one or more CSS classes to add to the element when the linked route\n * is active.\n *\n * Use this directive to create a visual distinction for elements associated with an active route.\n * For example, the following code highlights the word \"Bob\" when the router\n * activates the associated route:\n *\n * ```\n * <a routerLink=\"/user/bob\" routerLinkActive=\"active-link\">Bob</a>\n * ```\n *\n * Whenever the URL is either '/user' or '/user/bob', the \"active-link\" class is\n * added to the anchor tag. If the URL changes, the class is removed.\n *\n * You can set more than one class using a space-separated string or an array.\n * For example:\n *\n * ```\n * <a routerLink=\"/user/bob\" routerLinkActive=\"class1 class2\">Bob</a>\n * <a routerLink=\"/user/bob\" [routerLinkActive]=\"['class1', 'class2']\">Bob</a>\n * ```\n *\n * To add the classes only when the URL matches the link exactly, add the option `exact: true`:\n *\n * ```\n * <a routerLink=\"/user/bob\" routerLinkActive=\"active-link\" [routerLinkActiveOptions]=\"{exact:\n * true}\">Bob</a>\n * ```\n *\n * To directly check the `isActive` status of the link, assign the `RouterLinkActive`\n * instance to a template variable.\n * For example, the following checks the status without assigning any CSS classes:\n *\n * ```\n * <a routerLink=\"/user/bob\" routerLinkActive #rla=\"routerLinkActive\">\n *   Bob {{ rla.isActive ? '(already open)' : ''}}\n * </a>\n * ```\n *\n * You can apply the `RouterLinkActive` directive to an ancestor of linked elements.\n * For example, the following sets the active-link class on the `<div>`  parent tag\n * when the URL is either '/user/jim' or '/user/bob'.\n *\n * ```\n * <div routerLinkActive=\"active-link\" [routerLinkActiveOptions]=\"{exact: true}\">\n *   <a routerLink=\"/user/jim\">Jim</a>\n *   <a routerLink=\"/user/bob\">Bob</a>\n * </div>\n * ```\n *\n * The `RouterLinkActive` directive can also be used to set the aria-current attribute\n * to provide an alternative distinction for active elements to visually impaired users.\n *\n * For example, the following code adds the 'active' class to the Home Page link when it is\n * indeed active and in such case also sets its aria-current attribute to 'page':\n *\n * ```\n * <a routerLink=\"/\" routerLinkActive=\"active\" ariaCurrentWhenActive=\"page\">Home Page</a>\n * ```\n *\n * @ngModule RouterModule\n *\n * @publicApi\n */\nclass RouterLinkActive {\n    get isActive() {\n        return this._isActive;\n    }\n    constructor(router, element, renderer, cdr, link) {\n        this.router = router;\n        this.element = element;\n        this.renderer = renderer;\n        this.cdr = cdr;\n        this.link = link;\n        this.classes = [];\n        this._isActive = false;\n        /**\n         * Options to configure how to determine if the router link is active.\n         *\n         * These options are passed to the `Router.isActive()` function.\n         *\n         * @see Router.isActive\n         */\n        this.routerLinkActiveOptions = { exact: false };\n        /**\n         *\n         * You can use the output `isActiveChange` to get notified each time the link becomes\n         * active or inactive.\n         *\n         * Emits:\n         * true  -> Route is active\n         * false -> Route is inactive\n         *\n         * ```\n         * <a\n         *  routerLink=\"/user/bob\"\n         *  routerLinkActive=\"active-link\"\n         *  (isActiveChange)=\"this.onRouterLinkActive($event)\">Bob</a>\n         * ```\n         */\n        this.isActiveChange = new EventEmitter();\n        this.routerEventsSubscription = router.events.subscribe((s) => {\n            if (s instanceof NavigationEnd) {\n                this.update();\n            }\n        });\n    }\n    /** @nodoc */\n    ngAfterContentInit() {\n        // `of(null)` is used to force subscribe body to execute once immediately (like `startWith`).\n        of(this.links.changes, of(null)).pipe(mergeAll()).subscribe(_ => {\n            this.update();\n            this.subscribeToEachLinkOnChanges();\n        });\n    }\n    subscribeToEachLinkOnChanges() {\n        this.linkInputChangesSubscription?.unsubscribe();\n        const allLinkChanges = [...this.links.toArray(), this.link]\n            .filter((link) => !!link)\n            .map(link => link.onChanges);\n        this.linkInputChangesSubscription = from(allLinkChanges).pipe(mergeAll()).subscribe(link => {\n            if (this._isActive !== this.isLinkActive(this.router)(link)) {\n                this.update();\n            }\n        });\n    }\n    set routerLinkActive(data) {\n        const classes = Array.isArray(data) ? data : data.split(' ');\n        this.classes = classes.filter(c => !!c);\n    }\n    /** @nodoc */\n    ngOnChanges(changes) {\n        this.update();\n    }\n    /** @nodoc */\n    ngOnDestroy() {\n        this.routerEventsSubscription.unsubscribe();\n        this.linkInputChangesSubscription?.unsubscribe();\n    }\n    update() {\n        if (!this.links || !this.router.navigated)\n            return;\n        Promise.resolve().then(() => {\n            const hasActiveLinks = this.hasActiveLinks();\n            if (this._isActive !== hasActiveLinks) {\n                this._isActive = hasActiveLinks;\n                this.cdr.markForCheck();\n                this.classes.forEach((c) => {\n                    if (hasActiveLinks) {\n                        this.renderer.addClass(this.element.nativeElement, c);\n                    }\n                    else {\n                        this.renderer.removeClass(this.element.nativeElement, c);\n                    }\n                });\n                if (hasActiveLinks && this.ariaCurrentWhenActive !== undefined) {\n                    this.renderer.setAttribute(this.element.nativeElement, 'aria-current', this.ariaCurrentWhenActive.toString());\n                }\n                else {\n                    this.renderer.removeAttribute(this.element.nativeElement, 'aria-current');\n                }\n                // Emit on isActiveChange after classes are updated\n                this.isActiveChange.emit(hasActiveLinks);\n            }\n        });\n    }\n    isLinkActive(router) {\n        const options = isActiveMatchOptions(this.routerLinkActiveOptions) ?\n            this.routerLinkActiveOptions :\n            // While the types should disallow `undefined` here, it's possible without strict inputs\n            (this.routerLinkActiveOptions.exact || false);\n        return (link) => link.urlTree ? router.isActive(link.urlTree, options) : false;\n    }\n    hasActiveLinks() {\n        const isActiveCheckFn = this.isLinkActive(this.router);\n        return this.link && isActiveCheckFn(this.link) || this.links.some(isActiveCheckFn);\n    }\n}\nRouterLinkActive.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: RouterLinkActive, deps: [{ token: Router }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: RouterLink, optional: true }], target: i0.ɵɵFactoryTarget.Directive });\nRouterLinkActive.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.2.10\", type: RouterLinkActive, isStandalone: true, selector: \"[routerLinkActive]\", inputs: { routerLinkActiveOptions: \"routerLinkActiveOptions\", ariaCurrentWhenActive: \"ariaCurrentWhenActive\", routerLinkActive: \"routerLinkActive\" }, outputs: { isActiveChange: \"isActiveChange\" }, queries: [{ propertyName: \"links\", predicate: RouterLink, descendants: true }], exportAs: [\"routerLinkActive\"], usesOnChanges: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: RouterLinkActive, decorators: [{\n            type: Directive,\n            args: [{\n                    selector: '[routerLinkActive]',\n                    exportAs: 'routerLinkActive',\n                    standalone: true,\n                }]\n        }], ctorParameters: function () { return [{ type: Router }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }, { type: RouterLink, decorators: [{\n                    type: Optional\n                }] }]; }, propDecorators: { links: [{\n                type: ContentChildren,\n                args: [RouterLink, { descendants: true }]\n            }], routerLinkActiveOptions: [{\n                type: Input\n            }], ariaCurrentWhenActive: [{\n                type: Input\n            }], isActiveChange: [{\n                type: Output\n            }], routerLinkActive: [{\n                type: Input\n            }] } });\n/**\n * Use instead of `'paths' in options` to be compatible with property renaming\n */\nfunction isActiveMatchOptions(options) {\n    return !!options.paths;\n}\n\n/**\n * @description\n *\n * Provides a preloading strategy.\n *\n * @publicApi\n */\nclass PreloadingStrategy {\n}\n/**\n * @description\n *\n * Provides a preloading strategy that preloads all modules as quickly as possible.\n *\n * ```\n * RouterModule.forRoot(ROUTES, {preloadingStrategy: PreloadAllModules})\n * ```\n *\n * @publicApi\n */\nclass PreloadAllModules {\n    preload(route, fn) {\n        return fn().pipe(catchError(() => of(null)));\n    }\n}\nPreloadAllModules.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: PreloadAllModules, deps: [], target: i0.ɵɵFactoryTarget.Injectable });\nPreloadAllModules.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: PreloadAllModules, providedIn: 'root' });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: PreloadAllModules, decorators: [{\n            type: Injectable,\n            args: [{ providedIn: 'root' }]\n        }] });\n/**\n * @description\n *\n * Provides a preloading strategy that does not preload any modules.\n *\n * This strategy is enabled by default.\n *\n * @publicApi\n */\nclass NoPreloading {\n    preload(route, fn) {\n        return of(null);\n    }\n}\nNoPreloading.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: NoPreloading, deps: [], target: i0.ɵɵFactoryTarget.Injectable });\nNoPreloading.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: NoPreloading, providedIn: 'root' });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: NoPreloading, decorators: [{\n            type: Injectable,\n            args: [{ providedIn: 'root' }]\n        }] });\n/**\n * The preloader optimistically loads all router configurations to\n * make navigations into lazily-loaded sections of the application faster.\n *\n * The preloader runs in the background. When the router bootstraps, the preloader\n * starts listening to all navigation events. After every such event, the preloader\n * will check if any configurations can be loaded lazily.\n *\n * If a route is protected by `canLoad` guards, the preloaded will not load it.\n *\n * @publicApi\n */\nclass RouterPreloader {\n    constructor(router, compiler, injector, preloadingStrategy, loader) {\n        this.router = router;\n        this.injector = injector;\n        this.preloadingStrategy = preloadingStrategy;\n        this.loader = loader;\n    }\n    setUpPreloading() {\n        this.subscription =\n            this.router.events\n                .pipe(filter((e) => e instanceof NavigationEnd), concatMap(() => this.preload()))\n                .subscribe(() => { });\n    }\n    preload() {\n        return this.processRoutes(this.injector, this.router.config);\n    }\n    /** @nodoc */\n    ngOnDestroy() {\n        if (this.subscription) {\n            this.subscription.unsubscribe();\n        }\n    }\n    processRoutes(injector, routes) {\n        const res = [];\n        for (const route of routes) {\n            if (route.providers && !route._injector) {\n                route._injector =\n                    createEnvironmentInjector(route.providers, injector, `Route: ${route.path}`);\n            }\n            const injectorForCurrentRoute = route._injector ?? injector;\n            const injectorForChildren = route._loadedInjector ?? injectorForCurrentRoute;\n            // Note that `canLoad` is only checked as a condition that prevents `loadChildren` and not\n            // `loadComponent`. `canLoad` guards only block loading of child routes by design. This\n            // happens as a consequence of needing to descend into children for route matching immediately\n            // while component loading is deferred until route activation. Because `canLoad` guards can\n            // have side effects, we cannot execute them here so we instead skip preloading altogether\n            // when present. Lastly, it remains to be decided whether `canLoad` should behave this way\n            // at all. Code splitting and lazy loading is separate from client-side authorization checks\n            // and should not be used as a security measure to prevent loading of code.\n            if ((route.loadChildren && !route._loadedRoutes && route.canLoad === undefined) ||\n                (route.loadComponent && !route._loadedComponent)) {\n                res.push(this.preloadConfig(injectorForCurrentRoute, route));\n            }\n            if (route.children || route._loadedRoutes) {\n                res.push(this.processRoutes(injectorForChildren, (route.children ?? route._loadedRoutes)));\n            }\n        }\n        return from(res).pipe(mergeAll());\n    }\n    preloadConfig(injector, route) {\n        return this.preloadingStrategy.preload(route, () => {\n            let loadedChildren$;\n            if (route.loadChildren && route.canLoad === undefined) {\n                loadedChildren$ = this.loader.loadChildren(injector, route);\n            }\n            else {\n                loadedChildren$ = of(null);\n            }\n            const recursiveLoadChildren$ = loadedChildren$.pipe(mergeMap((config) => {\n                if (config === null) {\n                    return of(void 0);\n                }\n                route._loadedRoutes = config.routes;\n                route._loadedInjector = config.injector;\n                // If the loaded config was a module, use that as the module/module injector going\n                // forward. Otherwise, continue using the current module/module injector.\n                return this.processRoutes(config.injector ?? injector, config.routes);\n            }));\n            if (route.loadComponent && !route._loadedComponent) {\n                const loadComponent$ = this.loader.loadComponent(route);\n                return from([recursiveLoadChildren$, loadComponent$]).pipe(mergeAll());\n            }\n            else {\n                return recursiveLoadChildren$;\n            }\n        });\n    }\n}\nRouterPreloader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: RouterPreloader, deps: [{ token: Router }, { token: i0.Compiler }, { token: i0.EnvironmentInjector }, { token: PreloadingStrategy }, { token: RouterConfigLoader }], target: i0.ɵɵFactoryTarget.Injectable });\nRouterPreloader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: RouterPreloader, providedIn: 'root' });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: RouterPreloader, decorators: [{\n            type: Injectable,\n            args: [{ providedIn: 'root' }]\n        }], ctorParameters: function () { return [{ type: Router }, { type: i0.Compiler }, { type: i0.EnvironmentInjector }, { type: PreloadingStrategy }, { type: RouterConfigLoader }]; } });\n\nconst ROUTER_SCROLLER = new InjectionToken('');\nclass RouterScroller {\n    /** @nodoc */\n    constructor(urlSerializer, transitions, viewportScroller, zone, options = {}) {\n        this.urlSerializer = urlSerializer;\n        this.transitions = transitions;\n        this.viewportScroller = viewportScroller;\n        this.zone = zone;\n        this.options = options;\n        this.lastId = 0;\n        this.lastSource = 'imperative';\n        this.restoredId = 0;\n        this.store = {};\n        // Default both options to 'disabled'\n        options.scrollPositionRestoration = options.scrollPositionRestoration || 'disabled';\n        options.anchorScrolling = options.anchorScrolling || 'disabled';\n    }\n    init() {\n        // we want to disable the automatic scrolling because having two places\n        // responsible for scrolling results race conditions, especially given\n        // that browser don't implement this behavior consistently\n        if (this.options.scrollPositionRestoration !== 'disabled') {\n            this.viewportScroller.setHistoryScrollRestoration('manual');\n        }\n        this.routerEventsSubscription = this.createScrollEvents();\n        this.scrollEventsSubscription = this.consumeScrollEvents();\n    }\n    createScrollEvents() {\n        return this.transitions.events.subscribe(e => {\n            if (e instanceof NavigationStart) {\n                // store the scroll position of the current stable navigations.\n                this.store[this.lastId] = this.viewportScroller.getScrollPosition();\n                this.lastSource = e.navigationTrigger;\n                this.restoredId = e.restoredState ? e.restoredState.navigationId : 0;\n            }\n            else if (e instanceof NavigationEnd) {\n                this.lastId = e.id;\n                this.scheduleScrollEvent(e, this.urlSerializer.parse(e.urlAfterRedirects).fragment);\n            }\n        });\n    }\n    consumeScrollEvents() {\n        return this.transitions.events.subscribe(e => {\n            if (!(e instanceof Scroll))\n                return;\n            // a popstate event. The pop state event will always ignore anchor scrolling.\n            if (e.position) {\n                if (this.options.scrollPositionRestoration === 'top') {\n                    this.viewportScroller.scrollToPosition([0, 0]);\n                }\n                else if (this.options.scrollPositionRestoration === 'enabled') {\n                    this.viewportScroller.scrollToPosition(e.position);\n                }\n                // imperative navigation \"forward\"\n            }\n            else {\n                if (e.anchor && this.options.anchorScrolling === 'enabled') {\n                    this.viewportScroller.scrollToAnchor(e.anchor);\n                }\n                else if (this.options.scrollPositionRestoration !== 'disabled') {\n                    this.viewportScroller.scrollToPosition([0, 0]);\n                }\n            }\n        });\n    }\n    scheduleScrollEvent(routerEvent, anchor) {\n        this.zone.runOutsideAngular(() => {\n            // The scroll event needs to be delayed until after change detection. Otherwise, we may\n            // attempt to restore the scroll position before the router outlet has fully rendered the\n            // component by executing its update block of the template function.\n            setTimeout(() => {\n                this.zone.run(() => {\n                    this.transitions.events.next(new Scroll(routerEvent, this.lastSource === 'popstate' ? this.store[this.restoredId] : null, anchor));\n                });\n            }, 0);\n        });\n    }\n    /** @nodoc */\n    ngOnDestroy() {\n        this.routerEventsSubscription?.unsubscribe();\n        this.scrollEventsSubscription?.unsubscribe();\n    }\n}\nRouterScroller.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: RouterScroller, deps: \"invalid\", target: i0.ɵɵFactoryTarget.Injectable });\nRouterScroller.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: RouterScroller });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: RouterScroller, decorators: [{\n            type: Injectable\n        }], ctorParameters: function () { return [{ type: UrlSerializer }, { type: NavigationTransitions }, { type: i3.ViewportScroller }, { type: i0.NgZone }, { type: undefined }]; } });\n\nvar NavigationResult;\n(function (NavigationResult) {\n    NavigationResult[NavigationResult[\"COMPLETE\"] = 0] = \"COMPLETE\";\n    NavigationResult[NavigationResult[\"FAILED\"] = 1] = \"FAILED\";\n    NavigationResult[NavigationResult[\"REDIRECTING\"] = 2] = \"REDIRECTING\";\n})(NavigationResult || (NavigationResult = {}));\n/**\n * Performs the given action once the router finishes its next/current navigation.\n *\n * The navigation is considered complete under the following conditions:\n * - `NavigationCancel` event emits and the code is not `NavigationCancellationCode.Redirect` or\n * `NavigationCancellationCode.SupersededByNewNavigation`. In these cases, the\n * redirecting/superseding navigation must finish.\n * - `NavigationError`, `NavigationEnd`, or `NavigationSkipped` event emits\n */\nfunction afterNextNavigation(router, action) {\n    router.events\n        .pipe(filter((e) => e instanceof NavigationEnd || e instanceof NavigationCancel ||\n        e instanceof NavigationError || e instanceof NavigationSkipped), map(e => {\n        if (e instanceof NavigationEnd || e instanceof NavigationSkipped) {\n            return NavigationResult.COMPLETE;\n        }\n        const redirecting = e instanceof NavigationCancel ?\n            (e.code === 0 /* NavigationCancellationCode.Redirect */ ||\n                e.code === 1 /* NavigationCancellationCode.SupersededByNewNavigation */) :\n            false;\n        return redirecting ? NavigationResult.REDIRECTING : NavigationResult.FAILED;\n    }), filter((result) => result !== NavigationResult.REDIRECTING), take(1))\n        .subscribe(() => {\n        action();\n    });\n}\n\nconst NG_DEV_MODE$1 = typeof ngDevMode === 'undefined' || ngDevMode;\n/**\n * Sets up providers necessary to enable `Router` functionality for the application.\n * Allows to configure a set of routes as well as extra features that should be enabled.\n *\n * @usageNotes\n *\n * Basic example of how you can add a Router to your application:\n * ```\n * const appRoutes: Routes = [];\n * bootstrapApplication(AppComponent, {\n *   providers: [provideRouter(appRoutes)]\n * });\n * ```\n *\n * You can also enable optional features in the Router by adding functions from the `RouterFeatures`\n * type:\n * ```\n * const appRoutes: Routes = [];\n * bootstrapApplication(AppComponent,\n *   {\n *     providers: [\n *       provideRouter(appRoutes,\n *         withDebugTracing(),\n *         withRouterConfig({paramsInheritanceStrategy: 'always'}))\n *     ]\n *   }\n * );\n * ```\n *\n * @see `RouterFeatures`\n *\n * @publicApi\n * @param routes A set of `Route`s to use for the application routing table.\n * @param features Optional features to configure additional router behaviors.\n * @returns A set of providers to setup a Router.\n */\nfunction provideRouter(routes, ...features) {\n    return makeEnvironmentProviders([\n        { provide: ROUTES, multi: true, useValue: routes },\n        NG_DEV_MODE$1 ? { provide: ROUTER_IS_PROVIDED, useValue: true } : [],\n        { provide: ActivatedRoute, useFactory: rootRoute, deps: [Router] },\n        { provide: APP_BOOTSTRAP_LISTENER, multi: true, useFactory: getBootstrapListener },\n        features.map(feature => feature.ɵproviders),\n    ]);\n}\nfunction rootRoute(router) {\n    return router.routerState.root;\n}\n/**\n * Helper function to create an object that represents a Router feature.\n */\nfunction routerFeature(kind, providers) {\n    return { ɵkind: kind, ɵproviders: providers };\n}\n/**\n * An Injection token used to indicate whether `provideRouter` or `RouterModule.forRoot` was ever\n * called.\n */\nconst ROUTER_IS_PROVIDED = new InjectionToken('', { providedIn: 'root', factory: () => false });\nconst routerIsProvidedDevModeCheck = {\n    provide: ENVIRONMENT_INITIALIZER,\n    multi: true,\n    useFactory() {\n        return () => {\n            if (!inject(ROUTER_IS_PROVIDED)) {\n                console.warn('`provideRoutes` was called without `provideRouter` or `RouterModule.forRoot`. ' +\n                    'This is likely a mistake.');\n            }\n        };\n    }\n};\n/**\n * Registers a [DI provider](guide/glossary#provider) for a set of routes.\n * @param routes The route configuration to provide.\n *\n * @usageNotes\n *\n * ```\n * @NgModule({\n *   providers: [provideRoutes(ROUTES)]\n * })\n * class LazyLoadedChildModule {}\n * ```\n *\n * @deprecated If necessary, provide routes using the `ROUTES` `InjectionToken`.\n * @see `ROUTES`\n * @publicApi\n */\nfunction provideRoutes(routes) {\n    return [\n        { provide: ROUTES, multi: true, useValue: routes },\n        NG_DEV_MODE$1 ? routerIsProvidedDevModeCheck : [],\n    ];\n}\n/**\n * Enables customizable scrolling behavior for router navigations.\n *\n * @usageNotes\n *\n * Basic example of how you can enable scrolling feature:\n * ```\n * const appRoutes: Routes = [];\n * bootstrapApplication(AppComponent,\n *   {\n *     providers: [\n *       provideRouter(appRoutes, withInMemoryScrolling())\n *     ]\n *   }\n * );\n * ```\n *\n * @see `provideRouter`\n * @see `ViewportScroller`\n *\n * @publicApi\n * @param options Set of configuration parameters to customize scrolling behavior, see\n *     `InMemoryScrollingOptions` for additional information.\n * @returns A set of providers for use with `provideRouter`.\n */\nfunction withInMemoryScrolling(options = {}) {\n    const providers = [{\n            provide: ROUTER_SCROLLER,\n            useFactory: () => {\n                const viewportScroller = inject(ViewportScroller);\n                const zone = inject(NgZone);\n                const transitions = inject(NavigationTransitions);\n                const urlSerializer = inject(UrlSerializer);\n                return new RouterScroller(urlSerializer, transitions, viewportScroller, zone, options);\n            },\n        }];\n    return routerFeature(4 /* RouterFeatureKind.InMemoryScrollingFeature */, providers);\n}\nfunction getBootstrapListener() {\n    const injector = inject(Injector);\n    return (bootstrappedComponentRef) => {\n        const ref = injector.get(ApplicationRef);\n        if (bootstrappedComponentRef !== ref.components[0]) {\n            return;\n        }\n        const router = injector.get(Router);\n        const bootstrapDone = injector.get(BOOTSTRAP_DONE);\n        if (injector.get(INITIAL_NAVIGATION) === 1 /* InitialNavigation.EnabledNonBlocking */) {\n            router.initialNavigation();\n        }\n        injector.get(ROUTER_PRELOADER, null, InjectFlags.Optional)?.setUpPreloading();\n        injector.get(ROUTER_SCROLLER, null, InjectFlags.Optional)?.init();\n        router.resetRootComponentType(ref.componentTypes[0]);\n        if (!bootstrapDone.closed) {\n            bootstrapDone.next();\n            bootstrapDone.complete();\n            bootstrapDone.unsubscribe();\n        }\n    };\n}\n/**\n * A subject used to indicate that the bootstrapping phase is done. When initial navigation is\n * `enabledBlocking`, the first navigation waits until bootstrapping is finished before continuing\n * to the activation phase.\n */\nconst BOOTSTRAP_DONE = new InjectionToken(NG_DEV_MODE$1 ? 'bootstrap done indicator' : '', {\n    factory: () => {\n        return new Subject();\n    }\n});\nconst INITIAL_NAVIGATION = new InjectionToken(NG_DEV_MODE$1 ? 'initial navigation' : '', { providedIn: 'root', factory: () => 1 /* InitialNavigation.EnabledNonBlocking */ });\n/**\n * Configures initial navigation to start before the root component is created.\n *\n * The bootstrap is blocked until the initial navigation is complete. This value is required for\n * [server-side rendering](guide/universal) to work.\n *\n * @usageNotes\n *\n * Basic example of how you can enable this navigation behavior:\n * ```\n * const appRoutes: Routes = [];\n * bootstrapApplication(AppComponent,\n *   {\n *     providers: [\n *       provideRouter(appRoutes, withEnabledBlockingInitialNavigation())\n *     ]\n *   }\n * );\n * ```\n *\n * @see `provideRouter`\n *\n * @publicApi\n * @returns A set of providers for use with `provideRouter`.\n */\nfunction withEnabledBlockingInitialNavigation() {\n    const providers = [\n        { provide: INITIAL_NAVIGATION, useValue: 0 /* InitialNavigation.EnabledBlocking */ },\n        {\n            provide: APP_INITIALIZER,\n            multi: true,\n            deps: [Injector],\n            useFactory: (injector) => {\n                const locationInitialized = injector.get(LOCATION_INITIALIZED, Promise.resolve());\n                return () => {\n                    return locationInitialized.then(() => {\n                        return new Promise(resolve => {\n                            const router = injector.get(Router);\n                            const bootstrapDone = injector.get(BOOTSTRAP_DONE);\n                            afterNextNavigation(router, () => {\n                                // Unblock APP_INITIALIZER in case the initial navigation was canceled or errored\n                                // without a redirect.\n                                resolve(true);\n                            });\n                            injector.get(NavigationTransitions).afterPreactivation = () => {\n                                // Unblock APP_INITIALIZER once we get to `afterPreactivation`. At this point, we\n                                // assume activation will complete successfully (even though this is not\n                                // guaranteed).\n                                resolve(true);\n                                return bootstrapDone.closed ? of(void 0) : bootstrapDone;\n                            };\n                            router.initialNavigation();\n                        });\n                    });\n                };\n            }\n        },\n    ];\n    return routerFeature(2 /* RouterFeatureKind.EnabledBlockingInitialNavigationFeature */, providers);\n}\n/**\n * Disables initial navigation.\n *\n * Use if there is a reason to have more control over when the router starts its initial navigation\n * due to some complex initialization logic.\n *\n * @usageNotes\n *\n * Basic example of how you can disable initial navigation:\n * ```\n * const appRoutes: Routes = [];\n * bootstrapApplication(AppComponent,\n *   {\n *     providers: [\n *       provideRouter(appRoutes, withDisabledInitialNavigation())\n *     ]\n *   }\n * );\n * ```\n *\n * @see `provideRouter`\n *\n * @returns A set of providers for use with `provideRouter`.\n *\n * @publicApi\n */\nfunction withDisabledInitialNavigation() {\n    const providers = [\n        {\n            provide: APP_INITIALIZER,\n            multi: true,\n            useFactory: () => {\n                const router = inject(Router);\n                return () => {\n                    router.setUpLocationChangeListener();\n                };\n            }\n        },\n        { provide: INITIAL_NAVIGATION, useValue: 2 /* InitialNavigation.Disabled */ }\n    ];\n    return routerFeature(3 /* RouterFeatureKind.DisabledInitialNavigationFeature */, providers);\n}\n/**\n * Enables logging of all internal navigation events to the console.\n * Extra logging might be useful for debugging purposes to inspect Router event sequence.\n *\n * @usageNotes\n *\n * Basic example of how you can enable debug tracing:\n * ```\n * const appRoutes: Routes = [];\n * bootstrapApplication(AppComponent,\n *   {\n *     providers: [\n *       provideRouter(appRoutes, withDebugTracing())\n *     ]\n *   }\n * );\n * ```\n *\n * @see `provideRouter`\n *\n * @returns A set of providers for use with `provideRouter`.\n *\n * @publicApi\n */\nfunction withDebugTracing() {\n    let providers = [];\n    if (NG_DEV_MODE$1) {\n        providers = [{\n                provide: ENVIRONMENT_INITIALIZER,\n                multi: true,\n                useFactory: () => {\n                    const router = inject(Router);\n                    return () => router.events.subscribe((e) => {\n                        // tslint:disable:no-console\n                        console.group?.(`Router Event: ${e.constructor.name}`);\n                        console.log(stringifyEvent(e));\n                        console.log(e);\n                        console.groupEnd?.();\n                        // tslint:enable:no-console\n                    });\n                }\n            }];\n    }\n    else {\n        providers = [];\n    }\n    return routerFeature(1 /* RouterFeatureKind.DebugTracingFeature */, providers);\n}\nconst ROUTER_PRELOADER = new InjectionToken(NG_DEV_MODE$1 ? 'router preloader' : '');\n/**\n * Allows to configure a preloading strategy to use. The strategy is configured by providing a\n * reference to a class that implements a `PreloadingStrategy`.\n *\n * @usageNotes\n *\n * Basic example of how you can configure preloading:\n * ```\n * const appRoutes: Routes = [];\n * bootstrapApplication(AppComponent,\n *   {\n *     providers: [\n *       provideRouter(appRoutes, withPreloading(PreloadAllModules))\n *     ]\n *   }\n * );\n * ```\n *\n * @see `provideRouter`\n *\n * @param preloadingStrategy A reference to a class that implements a `PreloadingStrategy` that\n *     should be used.\n * @returns A set of providers for use with `provideRouter`.\n *\n * @publicApi\n */\nfunction withPreloading(preloadingStrategy) {\n    const providers = [\n        { provide: ROUTER_PRELOADER, useExisting: RouterPreloader },\n        { provide: PreloadingStrategy, useExisting: preloadingStrategy },\n    ];\n    return routerFeature(0 /* RouterFeatureKind.PreloadingFeature */, providers);\n}\n/**\n * Allows to provide extra parameters to configure Router.\n *\n * @usageNotes\n *\n * Basic example of how you can provide extra configuration options:\n * ```\n * const appRoutes: Routes = [];\n * bootstrapApplication(AppComponent,\n *   {\n *     providers: [\n *       provideRouter(appRoutes, withRouterConfig({\n *          onSameUrlNavigation: 'reload'\n *       }))\n *     ]\n *   }\n * );\n * ```\n *\n * @see `provideRouter`\n *\n * @param options A set of parameters to configure Router, see `RouterConfigOptions` for\n *     additional information.\n * @returns A set of providers for use with `provideRouter`.\n *\n * @publicApi\n */\nfunction withRouterConfig(options) {\n    const providers = [\n        { provide: ROUTER_CONFIGURATION, useValue: options },\n    ];\n    return routerFeature(5 /* RouterFeatureKind.RouterConfigurationFeature */, providers);\n}\n/**\n * Provides the location strategy that uses the URL fragment instead of the history API.\n *\n * @usageNotes\n *\n * Basic example of how you can use the hash location option:\n * ```\n * const appRoutes: Routes = [];\n * bootstrapApplication(AppComponent,\n *   {\n *     providers: [\n *       provideRouter(appRoutes, withHashLocation())\n *     ]\n *   }\n * );\n * ```\n *\n * @see `provideRouter`\n * @see `HashLocationStrategy`\n *\n * @returns A set of providers for use with `provideRouter`.\n *\n * @publicApi\n */\nfunction withHashLocation() {\n    const providers = [\n        { provide: LocationStrategy, useClass: HashLocationStrategy },\n    ];\n    return routerFeature(5 /* RouterFeatureKind.RouterConfigurationFeature */, providers);\n}\n/**\n * Subscribes to the Router's navigation events and calls the given function when a\n * `NavigationError` happens.\n *\n * This function is run inside application's injection context so you can use the `inject` function.\n *\n * @usageNotes\n *\n * Basic example of how you can use the error handler option:\n * ```\n * const appRoutes: Routes = [];\n * bootstrapApplication(AppComponent,\n *   {\n *     providers: [\n *       provideRouter(appRoutes, withNavigationErrorHandler((e: NavigationError) =>\n * inject(MyErrorTracker).trackError(e)))\n *     ]\n *   }\n * );\n * ```\n *\n * @see `NavigationError`\n * @see `inject`\n * @see `EnvironmentInjector#runInContext`\n *\n * @returns A set of providers for use with `provideRouter`.\n *\n * @publicApi\n */\nfunction withNavigationErrorHandler(fn) {\n    const providers = [{\n            provide: ENVIRONMENT_INITIALIZER,\n            multi: true,\n            useValue: () => {\n                const injector = inject(EnvironmentInjector);\n                inject(Router).events.subscribe((e) => {\n                    if (e instanceof NavigationError) {\n                        injector.runInContext(() => fn(e));\n                    }\n                });\n            }\n        }];\n    return routerFeature(7 /* RouterFeatureKind.NavigationErrorHandlerFeature */, providers);\n}\n\nconst NG_DEV_MODE = typeof ngDevMode === 'undefined' || ngDevMode;\n/**\n * The directives defined in the `RouterModule`.\n */\nconst ROUTER_DIRECTIVES = [RouterOutlet, RouterLink, RouterLinkActive, ɵEmptyOutletComponent];\n/**\n * @docsNotRequired\n */\nconst ROUTER_FORROOT_GUARD = new InjectionToken(NG_DEV_MODE ? 'router duplicate forRoot guard' : 'ROUTER_FORROOT_GUARD');\n// TODO(atscott): All of these except `ActivatedRoute` are `providedIn: 'root'`. They are only kept\n// here to avoid a breaking change whereby the provider order matters based on where the\n// `RouterModule`/`RouterTestingModule` is imported. These can/should be removed as a \"breaking\"\n// change in a major version.\nconst ROUTER_PROVIDERS = [\n    Location,\n    { provide: UrlSerializer, useClass: DefaultUrlSerializer },\n    Router,\n    ChildrenOutletContexts,\n    { provide: ActivatedRoute, useFactory: rootRoute, deps: [Router] },\n    RouterConfigLoader,\n    // Only used to warn when `provideRoutes` is used without `RouterModule` or `provideRouter`. Can\n    // be removed when `provideRoutes` is removed.\n    NG_DEV_MODE ? { provide: ROUTER_IS_PROVIDED, useValue: true } : [],\n];\nfunction routerNgProbeToken() {\n    return new NgProbeToken('Router', Router);\n}\n/**\n * @description\n *\n * Adds directives and providers for in-app navigation among views defined in an application.\n * Use the Angular `Router` service to declaratively specify application states and manage state\n * transitions.\n *\n * You can import this NgModule multiple times, once for each lazy-loaded bundle.\n * However, only one `Router` service can be active.\n * To ensure this, there are two ways to register routes when importing this module:\n *\n * * The `forRoot()` method creates an `NgModule` that contains all the directives, the given\n * routes, and the `Router` service itself.\n * * The `forChild()` method creates an `NgModule` that contains all the directives and the given\n * routes, but does not include the `Router` service.\n *\n * @see [Routing and Navigation guide](guide/router) for an\n * overview of how the `Router` service should be used.\n *\n * @publicApi\n */\nclass RouterModule {\n    constructor(guard) { }\n    /**\n     * Creates and configures a module with all the router providers and directives.\n     * Optionally sets up an application listener to perform an initial navigation.\n     *\n     * When registering the NgModule at the root, import as follows:\n     *\n     * ```\n     * @NgModule({\n     *   imports: [RouterModule.forRoot(ROUTES)]\n     * })\n     * class MyNgModule {}\n     * ```\n     *\n     * @param routes An array of `Route` objects that define the navigation paths for the application.\n     * @param config An `ExtraOptions` configuration object that controls how navigation is performed.\n     * @return The new `NgModule`.\n     *\n     */\n    static forRoot(routes, config) {\n        return {\n            ngModule: RouterModule,\n            providers: [\n                ROUTER_PROVIDERS,\n                NG_DEV_MODE ? (config?.enableTracing ? withDebugTracing().ɵproviders : []) : [],\n                { provide: ROUTES, multi: true, useValue: routes },\n                {\n                    provide: ROUTER_FORROOT_GUARD,\n                    useFactory: provideForRootGuard,\n                    deps: [[Router, new Optional(), new SkipSelf()]]\n                },\n                { provide: ROUTER_CONFIGURATION, useValue: config ? config : {} },\n                config?.useHash ? provideHashLocationStrategy() : providePathLocationStrategy(),\n                provideRouterScroller(),\n                config?.preloadingStrategy ? withPreloading(config.preloadingStrategy).ɵproviders : [],\n                { provide: NgProbeToken, multi: true, useFactory: routerNgProbeToken },\n                config?.initialNavigation ? provideInitialNavigation(config) : [],\n                provideRouterInitializer(),\n            ],\n        };\n    }\n    /**\n     * Creates a module with all the router directives and a provider registering routes,\n     * without creating a new Router service.\n     * When registering for submodules and lazy-loaded submodules, create the NgModule as follows:\n     *\n     * ```\n     * @NgModule({\n     *   imports: [RouterModule.forChild(ROUTES)]\n     * })\n     * class MyNgModule {}\n     * ```\n     *\n     * @param routes An array of `Route` objects that define the navigation paths for the submodule.\n     * @return The new NgModule.\n     *\n     */\n    static forChild(routes) {\n        return {\n            ngModule: RouterModule,\n            providers: [{ provide: ROUTES, multi: true, useValue: routes }],\n        };\n    }\n}\nRouterModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: RouterModule, deps: [{ token: ROUTER_FORROOT_GUARD, optional: true }], target: i0.ɵɵFactoryTarget.NgModule });\nRouterModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"15.2.10\", ngImport: i0, type: RouterModule, imports: [RouterOutlet, RouterLink, RouterLinkActive, ɵEmptyOutletComponent], exports: [RouterOutlet, RouterLink, RouterLinkActive, ɵEmptyOutletComponent] });\nRouterModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: RouterModule, imports: [ɵEmptyOutletComponent] });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.2.10\", ngImport: i0, type: RouterModule, decorators: [{\n            type: NgModule,\n            args: [{\n                    imports: ROUTER_DIRECTIVES,\n                    exports: ROUTER_DIRECTIVES,\n                }]\n        }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n                    type: Optional\n                }, {\n                    type: Inject,\n                    args: [ROUTER_FORROOT_GUARD]\n                }] }]; } });\n/**\n * For internal use by `RouterModule` only. Note that this differs from `withInMemoryRouterScroller`\n * because it reads from the `ExtraOptions` which should not be used in the standalone world.\n */\nfunction provideRouterScroller() {\n    return {\n        provide: ROUTER_SCROLLER,\n        useFactory: () => {\n            const viewportScroller = inject(ViewportScroller);\n            const zone = inject(NgZone);\n            const config = inject(ROUTER_CONFIGURATION);\n            const transitions = inject(NavigationTransitions);\n            const urlSerializer = inject(UrlSerializer);\n            if (config.scrollOffset) {\n                viewportScroller.setOffset(config.scrollOffset);\n            }\n            return new RouterScroller(urlSerializer, transitions, viewportScroller, zone, config);\n        },\n    };\n}\n// Note: For internal use only with `RouterModule`. Standalone setup via `provideRouter` should\n// provide hash location directly via `{provide: LocationStrategy, useClass: HashLocationStrategy}`.\nfunction provideHashLocationStrategy() {\n    return { provide: LocationStrategy, useClass: HashLocationStrategy };\n}\n// Note: For internal use only with `RouterModule`. Standalone setup via `provideRouter` does not\n// need this at all because `PathLocationStrategy` is the default factory for `LocationStrategy`.\nfunction providePathLocationStrategy() {\n    return { provide: LocationStrategy, useClass: PathLocationStrategy };\n}\nfunction provideForRootGuard(router) {\n    if (NG_DEV_MODE && router) {\n        throw new ɵRuntimeError(4007 /* RuntimeErrorCode.FOR_ROOT_CALLED_TWICE */, `The Router was provided more than once. This can happen if 'forRoot' is used outside of the root injector.` +\n            ` Lazy loaded modules should use RouterModule.forChild() instead.`);\n    }\n    return 'guarded';\n}\n// Note: For internal use only with `RouterModule`. Standalone router setup with `provideRouter`\n// users call `withXInitialNavigation` directly.\nfunction provideInitialNavigation(config) {\n    return [\n        config.initialNavigation === 'disabled' ? withDisabledInitialNavigation().ɵproviders : [],\n        config.initialNavigation === 'enabledBlocking' ?\n            withEnabledBlockingInitialNavigation().ɵproviders :\n            [],\n    ];\n}\n// TODO(atscott): This should not be in the public API\n/**\n * A [DI token](guide/glossary/#di-token) for the router initializer that\n * is called after the app is bootstrapped.\n *\n * @publicApi\n */\nconst ROUTER_INITIALIZER = new InjectionToken(NG_DEV_MODE ? 'Router Initializer' : '');\nfunction provideRouterInitializer() {\n    return [\n        // ROUTER_INITIALIZER token should be removed. It's public API but shouldn't be. We can just\n        // have `getBootstrapListener` directly attached to APP_BOOTSTRAP_LISTENER.\n        { provide: ROUTER_INITIALIZER, useFactory: getBootstrapListener },\n        { provide: APP_BOOTSTRAP_LISTENER, multi: true, useExisting: ROUTER_INITIALIZER },\n    ];\n}\n\n/**\n * @module\n * @description\n * Entry point for all public APIs of the router package.\n */\n/**\n * @publicApi\n */\nconst VERSION = new Version('15.2.10');\n\n/**\n * @module\n * @description\n * Entry point for all public APIs of this package.\n */\n// This file only reexports content of the `src` folder. Keep it that way.\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 { ActivatedRoute, ActivatedRouteSnapshot, ActivationEnd, ActivationStart, BaseRouteReuseStrategy, ChildActivationEnd, ChildActivationStart, ChildrenOutletContexts, DefaultTitleStrategy, DefaultUrlSerializer, GuardsCheckEnd, GuardsCheckStart, NavigationCancel, NavigationEnd, NavigationError, NavigationSkipped, NavigationStart, NoPreloading, OutletContext, PRIMARY_OUTLET, PreloadAllModules, PreloadingStrategy, ROUTER_CONFIGURATION, ROUTER_INITIALIZER, ROUTES, ResolveEnd, ResolveStart, RouteConfigLoadEnd, RouteConfigLoadStart, RouteReuseStrategy, Router, RouterEvent, RouterLink, RouterLinkActive, RouterLink as RouterLinkWithHref, RouterModule, RouterOutlet, RouterPreloader, RouterState, RouterStateSnapshot, RoutesRecognized, Scroll, TitleStrategy, UrlHandlingStrategy, UrlSegment, UrlSegmentGroup, UrlSerializer, UrlTree, VERSION, convertToParamMap, createUrlTreeFromSnapshot, defaultUrlMatcher, provideRouter, provideRoutes, withDebugTracing, withDisabledInitialNavigation, withEnabledBlockingInitialNavigation, withHashLocation, withInMemoryScrolling, withNavigationErrorHandler, withPreloading, withRouterConfig, ɵEmptyOutletComponent, ROUTER_PROVIDERS as ɵROUTER_PROVIDERS, afterNextNavigation as ɵafterNextNavigation, flatten as ɵflatten, withPreloading as ɵwithPreloading };\n","import { urlAlphabet } from './url-alphabet/index.js'\nlet random = bytes => crypto.getRandomValues(new Uint8Array(bytes))\nlet customRandom = (alphabet, defaultSize, getRandom) => {\n  let mask = (2 << (Math.log(alphabet.length - 1) / Math.LN2)) - 1\n  let step = -~((1.6 * mask * defaultSize) / alphabet.length)\n  return (size = defaultSize) => {\n    let id = ''\n    while (true) {\n      let bytes = getRandom(step)\n      let j = step\n      while (j--) {\n        id += alphabet[bytes[j] & mask] || ''\n        if (id.length === size) return id\n      }\n    }\n  }\n}\nlet customAlphabet = (alphabet, size = 21) =>\n  customRandom(alphabet, size, random)\nlet nanoid = (size = 21) =>\n  crypto.getRandomValues(new Uint8Array(size)).reduce((id, byte) => {\n    byte &= 63\n    if (byte < 36) {\n      id += byte.toString(36)\n    } else if (byte < 62) {\n      id += (byte - 26).toString(36).toUpperCase()\n    } else if (byte > 62) {\n      id += '-'\n    } else {\n      id += '_'\n    }\n    return id\n  }, '')\nexport { nanoid, customAlphabet, customRandom, urlAlphabet, random }\n","function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {\n  try {\n    var info = gen[key](arg);\n    var value = info.value;\n  } catch (error) {\n    reject(error);\n    return;\n  }\n  if (info.done) {\n    resolve(value);\n  } else {\n    Promise.resolve(value).then(_next, _throw);\n  }\n}\nexport default function _asyncToGenerator(fn) {\n  return function () {\n    var self = this,\n      args = arguments;\n    return new Promise(function (resolve, reject) {\n      var gen = fn.apply(self, args);\n      function _next(value) {\n        asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"next\", value);\n      }\n      function _throw(err) {\n        asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"throw\", err);\n      }\n      _next(undefined);\n    });\n  };\n}"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435]}