PageSourceSearch

https://app.tingg.africa/top-navigation/main.js

js tingg.africa collected 2026-09-26 02:16:53 UTC 684,476 bytes, 1 lines download raw bytes

1!function(hd,X){"object"==typeof exports&&"object"==typeof module?module.exports=X():"function"==typeof define&&define.amd?define([],X):"object"==typeof exports?exports["top-nav"]=X():hd["top-nav"]=X()}(self,()=>(()=>{var e7={557:V=>{"use strict";V.exports=function(b){var x=[];return x.toString=function(){return this.map(function(M){var E="",j=typeof M[5]<"u";return M[4]&&(E+="@supports (".concat(M[4],") {")),M[2]&&(E+="@media ".concat(M[2]," {")),j&&(E+="@layer".concat(M[5].length>0?" ".concat(M[5]):""," {")),E+=b(M),j&&(E+="}"),M[2]&&(E+="}"),M[4]&&(E+="}"),E}).join("")},x.i=function(M,E,j,g,q){"string"==typeof M&&(M=[[null,M,void 0]]);var O={};if(j)for(var z=0;z<this.length;z++){var ie=this[z][0];null!=ie&&(O[ie]=!0)}for(var he=0;he<M.length;he++){var W=[].concat(M[he]);j&&O[W[0]]||(typeof q<"u"&&(typeof W[5]>"u"||(W[1]="@layer".concat(W[5].length>0?" ".concat(W[5]):""," {").concat(W[1],"}")),W[5]=q),E&&(W[2]&&(W[1]="@media ".concat(W[2]," {").concat(W[1],"}")),W[2]=E),g&&(W[4]?(W[1]="@supports (".concat(W[4],") {").concat(W[1],"}"),W[4]=g):W[4]="".concat(g)),x.push(W))}},x}},564:V=>{"use strict";V.exports=function(b){return b[1]}},762:(V,b,x)=>{var k=x(604),M=x(582);function j(O){return null==O}function q(O){(O=function g(O){var z={};for(var ie in O)z[ie]=O[ie];return z}(O||{})).whiteList=O.whiteList||k.whiteList,O.onAttr=O.onAttr||k.onAttr,O.onIgnoreAttr=O.onIgnoreAttr||k.onIgnoreAttr,O.safeAttrValue=O.safeAttrValue||k.safeAttrValue,this.options=O}x(57),q.prototype.process=function(O){if(!(O=(O=O||"").toString()))return"";var ie=this.options,he=ie.whiteList,W=ie.onAttr,_=ie.onIgnoreAttr,ee=ie.safeAttrValue;return M(O,function(lt,xt,Ae,pt,Se){var we=he[Ae],Be=!1;if(!0===we?Be=we:"function"==typeof we?Be=we(pt):we instanceof RegExp&&(Be=we.test(pt)),!0!==Be&&(Be=!1),pt=ee(Ae,pt)){var He,Ge={position:xt,sourcePosition:lt,source:Se,isWhite:Be};if(Be)return j(He=W(Ae,pt,Ge))?Ae+":"+pt:He;if(!j(He=_(Ae,pt,Ge)))return He}})},V.exports=q},604:(V,b)=>{function x(){return{"align-content":!1,"align-items":!1,"align-self":!1,"alignment-adjust":!1,"alignment-baseline":!1,all:!1,"anchor-point":!1,animation:!1,"animation-delay":!1,"animation-direction":!1,"animation-duration":!1,"animation-fill-mode":!1,"animation-iteration-count":!1,"animation-name":!1,"animation-play-state":!1,"animation-timing-function":!1,azimuth:!1,"backface-visibility":!1,background:!0,"background-attachment":!0,"background-clip":!0,"background-color":!0,"background-image":!0,"background-origin":!0,"background-position":!0,"background-repeat":!0,"background-size":!0,"baseline-shift":!1,binding:!1,bleed:!1,"bookmark-label":!1,"bookmark-level":!1,"bookmark-state":!1,border:!0,"border-bottom":!0,"border-bottom-color":!0,"border-bottom-left-radius":!0,"border-bottom-right-radius":!0,"border-bottom-style":!0,"border-bottom-width":!0,"border-collapse":!0,"border-color":!0,"border-image":!0,"border-image-outset":!0,"border-image-repeat":!0,"border-image-slice":!0,"border-image-source":!0,"border-image-width":!0,"border-left":!0,"border-left-color":!0,"border-left-style":!0,"border-left-width":!0,"border-radius":!0,"border-right":!0,"border-right-color":!0,"border-right-style":!0,"border-right-width":!0,"border-spacing":!0,"border-style":!0,"border-top":!0,"border-top-color":!0,"border-top-left-radius":!0,"border-top-right-radius":!0,"border-top-style":!0,"border-top-width":!0,"border-width":!0,bottom:!1,"box-decoration-break":!0,"box-shadow":!0,"box-sizing":!0,"box-snap":!0,"box-suppress":!0,"break-after":!0,"break-before":!0,"break-inside":!0,"caption-side":!1,chains:!1,clear:!0,clip:!1,"clip-path":!1,"clip-rule":!1,color:!0,"color-interpolation-filters":!0,"column-count":!1,"column-fill":!1,"column-gap":!1,"column-rule":!1,"column-rule-color":!1,"column-rule-style":!1,"column-rule-width":!1,"column-span":!1,"column-width":!1,columns:!1,contain:!1,content:!1,"counter-increment":!1,"counter-reset":!1,"counter-set":!1,crop:!1,cue:!1,"cue-after":!1,"cue-before":!1,cursor:!1,direction:!1,display:!0,"display-inside":!0,"display-list":!0,"display-outside":!0,"dominant-baseline":!1,elevation:!1,"empty-cells":!1,filter:!1,flex:!1,"flex-basis":!1,"flex-direction":!1,"flex-flow":!1,"flex-grow":!1,"flex-shrink":!1,"flex-wrap":!1,float:!1,"float-offset":!1,"flood-color":!1,"flood-opacity":!1,"flow-from":!1,"flow-into":!1,font:!0,"font-family":!0,"font-feature-settings":!0,"font-kerning":!0,"font-language-override":!0,"font-size":!0,"font-size-adjust":!0,"font-stretch":!0,"font-style":!0,"font-synthesis":!0,"font-variant":!0,"font-variant-alternates":!0,"font-variant-caps":!0,"font-variant-east-asian":!0,"font-variant-ligatures":!0,"font-variant-numeric":!0,"font-variant-position":!0,"font-weight":!0,grid:!1,"grid-area":!1,"grid-auto-columns":!1,"grid-auto-flow":!1,"grid-auto-rows":!1,"grid-column":!1,"grid-column-end":!1,"grid-column-start":!1,"grid-row":!1,"grid-row-end":!1,"grid-row-start":!1,"grid-template":!1,"grid-template-areas":!1,"grid-template-columns":!1,"grid-template-rows":!1,"hanging-punctuation":!1,height:!0,hyphens:!1,icon:!1,"image-orientation":!1,"image-resolution":!1,"ime-mode":!1,"initial-letters":!1,"inline-box-align":!1,"justify-content":!1,"justify-items":!1,"justify-self":!1,left:!1,"letter-spacing":!0,"lighting-color":!0,"line-box-contain":!1,"line-break":!1,"line-grid":!1,"line-height":!1,"line-snap":!1,"line-stacking":!1,"line-stacking-ruby":!1,"line-stacking-shift":!1,"line-stacking-strategy":!1,"list-style":!0,"list-style-image":!0,"list-style-position":!0,"list-style-type":!0,margin:!0,"margin-bottom":!0,"margin-left":!0,"margin-right":!0,"margin-top":!0,"marker-offset":!1,"marker-side":!1,marks:!1,mask:!1,"mask-box":!1,"mask-box-outset":!1,"mask-box-repeat":!1,"mask-box-slice"
1:!1,"mask-box-source":!1,"mask-box-width":!1,"mask-clip":!1,"mask-image":!1,"mask-origin":!1,"mask-position":!1,"mask-repeat":!1,"mask-size":!1,"mask-source-type":!1,"mask-type":!1,"max-height":!0,"max-lines":!1,"max-width":!0,"min-height":!0,"min-width":!0,"move-to":!1,"nav-down":!1,"nav-index":!1,"nav-left":!1,"nav-right":!1,"nav-up":!1,"object-fit":!1,"object-position":!1,opacity:!1,order:!1,orphans:!1,outline:!1,"outline-color":!1,"outline-offset":!1,"outline-style":!1,"outline-width":!1,overflow:!1,"overflow-wrap":!1,"overflow-x":!1,"overflow-y":!1,padding:!0,"padding-bottom":!0,"padding-left":!0,"padding-right":!0,"padding-top":!0,page:!1,"page-break-after":!1,"page-break-before":!1,"page-break-inside":!1,"page-policy":!1,pause:!1,"pause-after":!1,"pause-before":!1,perspective:!1,"perspective-origin":!1,pitch:!1,"pitch-range":!1,"play-during":!1,position:!1,"presentation-level":!1,quotes:!1,"region-fragment":!1,resize:!1,rest:!1,"rest-after":!1,"rest-before":!1,richness:!1,right:!1,rotation:!1,"rotation-point":!1,"ruby-align":!1,"ruby-merge":!1,"ruby-position":!1,"shape-image-threshold":!1,"shape-outside":!1,"shape-margin":!1,size:!1,speak:!1,"speak-as":!1,"speak-header":!1,"speak-numeral":!1,"speak-punctuation":!1,"speech-rate":!1,stress:!1,"string-set":!1,"tab-size":!1,"table-layout":!1,"text-align":!0,"text-align-last":!0,"text-combine-upright":!0,"text-decoration":!0,"text-decoration-color":!0,"text-decoration-line":!0,"text-decoration-skip":!0,"text-decoration-style":!0,"text-emphasis":!0,"text-emphasis-color":!0,"text-emphasis-position":!0,"text-emphasis-style":!0,"text-height":!0,"text-indent":!0,"text-justify":!0,"text-orientation":!0,"text-overflow":!0,"text-shadow":!0,"text-space-collapse":!0,"text-transform":!0,"text-underline-position":!0,"text-wrap":!0,top:!1,transform:!1,"transform-origin":!1,"transform-style":!1,transition:!1,"transition-delay":!1,"transition-duration":!1,"transition-property":!1,"transition-timing-function":!1,"unicode-bidi":!1,"vertical-align":!1,visibility:!1,"voice-balance":!1,"voice-duration":!1,"voice-family":!1,"voice-pitch":!1,"voice-range":!1,"voice-rate":!1,"voice-stress":!1,"voice-volume":!1,volume:!1,"white-space":!1,widows:!1,width:!0,"will-change":!1,"word-break":!0,"word-spacing":!0,"word-wrap":!0,"wrap-flow":!1,"wrap-through":!1,"writing-mode":!1,"z-index":!1}}var E=/javascript\s*\:/gim;b.whiteList={"align-content":!1,"align-items":!1,"align-self":!1,"alignment-adjust":!1,"alignment-baseline":!1,all:!1,"anchor-point":!1,animation:!1,"animation-delay":!1,"animation-direction":!1,"animation-duration":!1,"animation-fill-mode":!1,"animation-iteration-count":!1,"animation-name":!1,"animation-play-state":!1,"animation-timing-function":!1,azimuth:!1,"backface-visibility":!1,background:!0,"background-attachment":!0,"background-clip":!0,"background-color":!0,"background-image":!0,"background-origin":!0,"background-position":!0,"background-repeat":!0,"background-size":!0,"baseline-shift":!1,binding:!1,bleed:!1,"bookmark-label":!1,"bookmark-level":!1,"bookmark-state":!1,border:!0,"border-bottom":!0,"border-bottom-color":!0,"border-bottom-left-radius":!0,"border-bottom-right-radius":!0,"border-bottom-style":!0,"border-bottom-width":!0,"border-collapse":!0,"border-color":!0,"border-image":!0,"border-image-outset":!0,"border-image-repeat":!0,"border-image-slice":!0,"border-image-source":!0,"border-image-width":!0,"border-left":!0,"border-left-color":!0,"border-left-style":!0,"border-left-width":!0,"border-radius":!0,"border-right":!0,"border-right-color":!0,"border-right-style":!0,"border-right-width":!0,"border-spacing":!0,"border-style":!0,"border-top":!0,"border-top-color":!0,"border-top-left-radius":!0,"border-top-right-radius":!0,"border-top-style":!0,"border-top-width":!0,"border-width":!0,bottom:!1,"box-decoration-break":!0,"box-shadow":!0,"box-sizing":!0,"box-snap":!0,"box-suppress":!0,"break-after":!0,"break-before":!0,"break-inside":!0,"caption-side":!1,chains:!1,clear:!0,clip:!1,"clip-path":!1,"clip-rule":!1,color:!0,"color-interpolation-filters":!0,"column-count":!1,"column-fill":!1,"column-gap":!1,"column-rule":!1,"column-rule-color":!1,"column-rule-style":!1,"column-rule-width":!1,"column-span":!1,"column-width":!1,columns:!1,contain:!1,content:!1,"counter-increment":!1,"counter-reset":!1,"counter-set":!1,crop:!1,cue:!1,"cue-after":!1,"cue-before":!1,cursor:!1,direction:!1,display:!0,"display-inside":!0,"display-list":!0,"display-outside":!0,"dominant-baseline":!1,elevation:!1,"empty-cells":!1,filter:!1,flex:!1,"flex-basis":!1,"flex-direction":!1,"flex-flow":!1,"flex-grow":!1,"flex-shrink":!1,"flex-wrap":!1,float:!1,"float-offset":!1,"flood-color":!1,"flood-opacity":!1,"flow-from":!1,"flow-into":!1,font:!0,"font-family":!0,"font-feature-settings":!0,"font-kerning":!0,"font-language-override":!0,"font-size":!0,"font-size-adjust":!0,"font-stretch":!0,"font-style":!0,"font-synthesis":!0,"font-variant":!0,"font-variant-alternates":!0,"font-variant-caps":!0,"font-variant-east-asian":!0,"font-variant-ligatures":!0,"font-variant-numeric":!0,"font-variant-position":!0,"font-weight":!0,grid:!1,"grid-area":!1,"grid-auto-columns":!1,"grid-auto-flow":!1,"grid-auto-rows":!1,"grid-column":!1,"grid-column-end":!1,"grid-column-start":!1,"grid-row":!1,"grid-row-end":!1,"grid-row-start":!1,"grid-template":!1,"grid-template-areas":!1,"grid-template-columns":!1,"grid-template-rows":!1,"hanging-punctuation":!1,height:!0,hyphens:!1,icon:!1,"image-orientation":!1,"image-resolution":!1,"ime-mode":!1,"initial-letters":!1,"inline-box-align":!1,"justify-content":!1,"justify-items":!1,"justify-self":!1,left:!1,"letter-spacing":!0,"lighting-color":!0,"line-box-contain":!1,"line-break":!1,"line-grid":!1,"line-height":!1,"line-snap":!1,"line-stacking":!1,"line-stacking-ruby":!1,"line-stacking-shift":!1,"line-stacking-strategy":!1,"list-style":!0,"list-style-image":!0,"list-style-position":!0,"list-style-type":!0,margin:!0,"margin-bottom":!0,"margin-left":!0,"margin-right":!0,"margin-top":!0,"marker-offset":!1,"marker-side":!1,marks:!1,mask:!1,"mask-box":!1,"mask-box-outset":!1,"mask-box-repeat":!1,"mask-box-slice"
1:!1,"mask-box-source":!1,"mask-box-width":!1,"mask-clip":!1,"mask-image":!1,"mask-origin":!1,"mask-position":!1,"mask-repeat":!1,"mask-size":!1,"mask-source-type":!1,"mask-type":!1,"max-height":!0,"max-lines":!1,"max-width":!0,"min-height":!0,"min-width":!0,"move-to":!1,"nav-down":!1,"nav-index":!1,"nav-left":!1,"nav-right":!1,"nav-up":!1,"object-fit":!1,"object-position":!1,opacity:!1,order:!1,orphans:!1,outline:!1,"outline-color":!1,"outline-offset":!1,"outline-style":!1,"outline-width":!1,overflow:!1,"overflow-wrap":!1,"overflow-x":!1,"overflow-y":!1,padding:!0,"padding-bottom":!0,"padding-left":!0,"padding-right":!0,"padding-top":!0,page:!1,"page-break-after":!1,"page-break-before":!1,"page-break-inside":!1,"page-policy":!1,pause:!1,"pause-after":!1,"pause-before":!1,perspective:!1,"perspective-origin":!1,pitch:!1,"pitch-range":!1,"play-during":!1,position:!1,"presentation-level":!1,quotes:!1,"region-fragment":!1,resize:!1,rest:!1,"rest-after":!1,"rest-before":!1,richness:!1,right:!1,rotation:!1,"rotation-point":!1,"ruby-align":!1,"ruby-merge":!1,"ruby-position":!1,"shape-image-threshold":!1,"shape-outside":!1,"shape-margin":!1,size:!1,speak:!1,"speak-as":!1,"speak-header":!1,"speak-numeral":!1,"speak-punctuation":!1,"speech-rate":!1,stress:!1,"string-set":!1,"tab-size":!1,"table-layout":!1,"text-align":!0,"text-align-last":!0,"text-combine-upright":!0,"text-decoration":!0,"text-decoration-color":!0,"text-decoration-line":!0,"text-decoration-skip":!0,"text-decoration-style":!0,"text-emphasis":!0,"text-emphasis-color":!0,"text-emphasis-position":!0,"text-emphasis-style":!0,"text-height":!0,"text-indent":!0,"text-justify":!0,"text-orientation":!0,"text-overflow":!0,"text-shadow":!0,"text-space-collapse":!0,"text-transform":!0,"text-underline-position":!0,"text-wrap":!0,top:!1,transform:!1,"transform-origin":!1,"transform-style":!1,transition:!1,"transition-delay":!1,"transition-duration":!1,"transition-property":!1,"transition-timing-function":!1,"unicode-bidi":!1,"vertical-align":!1,visibility:!1,"voice-balance":!1,"voice-duration":!1,"voice-family":!1,"voice-pitch":!1,"voice-range":!1,"voice-rate":!1,"voice-stress":!1,"voice-volume":!1,volume:!1,"white-space":!1,widows:!1,width:!0,"will-change":!1,"word-break":!0,"word-spacing":!0,"word-wrap":!0,"wrap-flow":!1,"wrap-through":!1,"writing-mode":!1,"z-index":!1},b.getDefaultWhiteList=x,b.onAttr=function k(g,q,O){},b.onIgnoreAttr=function M(g,q,O){},b.safeAttrValue=function j(g,q){return E.test(q)?"":q}},881:(V,b,x)=>{var k=x(604),M=x(762);for(var j in(b=V.exports=function E(g,q){return new M(q).process(g)}).FilterCSS=M,k)b[j]=k[j];typeof window<"u"&&(window.filterCSS=V.exports)},582:(V,b,x)=>{var k=x(57);V.exports=function M(E,j){";"!==(E=k.trimRight(E))[E.length-1]&&(E+=";");var g=E.length,q=!1,O=0,z=0,ie="";function he(){if(!q){var ee=k.trim(E.slice(O,z)),H=ee.indexOf(":");if(-1!==H){var lt=k.trim(ee.slice(0,H)),xt=k.trim(ee.slice(H+1));if(lt){var Ae=j(O,ie.length,lt,xt,ee);Ae&&(ie+=Ae+"; ")}}}O=z+1}for(;z<g;z++){var W=E[z];if("/"===W&&"*"===E[z+1]){var _=E.indexOf("*/",z+2);if(-1===_)break;O=(z=_+1)+1,q=!1}else"("===W?q=!0:")"===W?q=!1:";"===W?q||he():"\n"===W&&he()}return k.trim(ie)}},57:V=>{V.exports={indexOf:function(b,x){var k,M;if(Array.prototype.indexOf)return b.indexOf(x);for(k=0,M=b.length;k<M;k++)if(b[k]===x)return k;return-1},forEach:function(b,x,k){var M,E;if(Array.prototype.forEach)return b.forEach(x,k);for(M=0,E=b.length;M<E;M++)x.call(k,b[M],M,b)},trim:function(b){return String.prototype.trim?b.trim():b.replace(/(^\s*)|(\s*$)/g,"")},trimRight:function(b){return String.prototype.trimRight?b.trimRight():b.replace(/(\s*$)/g,"")}}},632:V=>{V.exports=function(x,k){k||(k=[0,""]),x=String(x);var M=parseFloat(x,10);return k[0]=M,k[1]=x.match(/[\d.\-\+]*\s*(.*)/)[1]||"",k}},364:function(V,b,x){var k;V=x.nmd(V),function(){"use strict";var M={function:!0,object:!0},E=M[typeof window]&&window||this,O=M[typeof b]&&b&&M.object&&V&&!V.nodeType&&V&&"object"==typeof global&&global;O&&(O.global===O||O.window===O||O.self===O)&&(E=O);var z=Math.pow(2,53)-1,ie=/\bOpera/,W=Object.prototype,_=W.hasOwnProperty,ee=W.toString;function H(T){return(T=String(T)).charAt(0).toUpperCase()+T.slice(1)}function Ae(T){return T=He(T),/^(?:webOS|i(?:OS|P))/.test(T)?T:H(T)}function pt(T,De){for(var Ee in T)_.call(T,Ee)&&De(T[Ee],Ee,T)}function Se(T){return null==T?H(T):ee.call(T).slice(8,-1)}function Be(T){return String(T).replace(/([ -])(?!$)/g,"$1?")}function Ge(T,De){var Ee=null;return function xt(T,De){var Ee=-1,et=T?T.length:0;if("number"==typeof et&&et>-1&&et<=z)for(;++Ee<et;)De(T[Ee],Ee,T);else pt(T,De)}(T,function(et,Vr){Ee=De(Ee,et,Vr,T)}),Ee}function He(T){return String(T).replace(/^ +| +$/g,"")}var fn=function kt(T){var De=E,Ee=T&&"object"==typeof T&&"String"!=Se(T);Ee&&(De=T,T=null);var et=De.navigator||{},Vr=et.userAgent||"";T||(T=Vr);var A,Js,Ur=Ee?!!et.likeChrome:/\bChrome\b/.test(T)&&!/internal|\n/i.test(ee.toString()),te="Object",tt=Ee?te:"ScriptBridgingProxyObject",ae=Ee?te:"Environment",We=Ee&&De.java?"JavaPackage":Se(De.java),En=Ee?te:"RuntimeObject",_n=/\bJava/.test(We)&&De.java,wn=_n&&Se(De.environment)==ae,ji=_n?"a":"\u03b1",rr=_n?"b":"\u03b2",di=De.document||{},ir=De.operamini||De.opera,qs=ie.test(qs=Ee&&ir?ir["[[Class]]"]:Se(ir))?qs:ir=null,Ne=T,Me=[],ho=null,or=T==Vr,G=or&&ir&&"function"==typeof ir.version&&ir.ver
vendor: 4,416 bytes, line 1
1sion(),je=function Qc(Qt){return Ge(Qt,function(gt,Ve){return gt||RegExp("\\b"+(Ve.pattern||Be(Ve))+"\\b","i").exec(T)&&(Ve.label||Ve)})}([{label:"EdgeHTML",pattern:"Edge"},"Trident",{label:"WebKit",pattern:"AppleWebKit"},"iCab","Presto","NetFront","Tasman","KHTML","Gecko"]),U=function g1(Qt){return Ge(Qt,function(gt,Ve){return gt||RegExp("\\b"+(Ve.pattern||Be(Ve))+"\\b","i").exec(T)&&(Ve.label||Ve)})}(["Adobe AIR","Arora","Avant Browser","Breach","Camino","Electron","Epiphany","Fennec","Flock","Galeon","GreenBrowser","iCab","Iceweasel","K-Meleon","Konqueror","Lunascape","Maxthon",{label:"Microsoft Edge",pattern:"(?:Edge|Edg|EdgA|EdgiOS)"},"Midori","Nook Browser","PaleMoon","PhantomJS","Raven","Rekonq","RockMelt",{label:"Samsung Internet",pattern:"SamsungBrowser"},"SeaMonkey",{label:"Silk",pattern:"(?:Cloud9|Silk-Accelerated)"},"Sleipnir","SlimBrowser",{label:"SRWare Iron",pattern:"Iron"},"Sunrise","Swiftfox","Vivaldi","Waterfox","WebPositive",{label:"Yandex Browser",pattern:"YaBrowser"},{label:"UC Browser",pattern:"UCBrowser"},"Opera Mini",{label:"Opera Mini",pattern:"OPiOS"},"Opera",{label:"Opera",pattern:"OPR"},"Chromium","Chrome",{label:"Chrome",pattern:"(?:HeadlessChrome)"},{label:"Chrome Mobile",pattern:"(?:CriOS|CrMo)"},{label:"Firefox",pattern:"(?:Firefox|Minefield)"},{label:"Firefox for iOS",pattern:"FxiOS"},{label:"IE",pattern:"IEMobile"},{label:"IE",pattern:"MSIE"},"Safari"]),me=Ks([{label:"BlackBerry",pattern:"BB10"},"BlackBerry",{label:"Galaxy S",pattern:"GT-I9000"},{label:"Galaxy S2",pattern:"GT-I9100"},{label:"Galaxy S3",pattern:"GT-I9300"},{label:"Galaxy S4",pattern:"GT-I9500"},{label:"Galaxy S5",pattern:"SM-G900"},{label:"Galaxy S6",pattern:"SM-G920"},{label:"Galaxy S6 Edge",pattern:"SM-G925"},{label:"Galaxy S7",pattern:"SM-G930"},{label:"Galaxy S7 Edge",pattern:"SM-G935"},"Google TV","Lumia","iPad","iPod","iPhone","Kindle",{label:"Kindle Fire",pattern:"(?:Cloud9|Silk-Accelerated)"},"Nexus","Nook","PlayBook","PlayStation Vita","PlayStation","TouchPad","Transformer",{label:"Wii U",pattern:"WiiU"},"Wii","Xbox One",{label:"Xbox 360",pattern:"Xbox"},"Xoom"]),Rt=function p1(Qt){return Ge(Qt,function(gt,Ve,sr){return gt||(Ve[me]||Ve[/^[a-z]+(?: +[a-z]+\b)*/i.exec(me)]||RegExp("\\b"+Be(sr)+"(?:\\b|\\w*\\d)","i").exec(T))&&sr})}({Apple:{iPad:1,iPhone:1,iPod:1},Alcatel:{},Archos:{},Amazon:{Kindle:1,"Kindle Fire":1},Asus:{Transformer:1},"Barnes & Noble":{Nook:1},BlackBerry:{PlayBook:1},Google:{"Google TV":1,Nexus:1},HP:{TouchPad:1},HTC:{},Huawei:{},Lenovo:{},LG:{},Microsoft:{Xbox:1,"Xbox One":1},Motorola:{Xoom:1},Nintendo:{"Wii U":1,Wii:1},Nokia:{Lumia:1},Oppo:{},Samsung:{"Galaxy S":1,"Galaxy S2":1,"Galaxy S3":1,"Galaxy S4":1},Sony:{PlayStation:1,"PlayStation Vita":1},Xiaomi:{Mi:1,Redmi:1}}),Z=function m1(Qt){return Ge(Qt,function(gt,Ve){var sr=Ve.pattern||Be(Ve);return!gt&&(gt=RegExp("\\b"+sr+"(?:/[\\d.]+|[ \\w.]*)","i").exec(T))&&(gt=function lt(T,De,Ee){var et={"10.0":"10",6.4:"10 Technical Preview",6.3:"8.1",6.2:"8",6.1:"Server 2008 R2 / 7","6.0":"Server 2008 / Vista",5.2:"Server 2003 / XP 64-bit",5.1:"XP",5.01:"2000 SP1","5.0":"2000","4.0":"NT","4.90":"ME"};return De&&Ee&&/^Win/i.test(T)&&!/^Windows Phone /i.test(T)&&(et=et[/[\d.]+$/.exec(T)])&&(T="Windows "+et),T=String(T),De&&Ee&&(T=T.replace(RegExp(De,"i"),Ee)),Ae(T.replace(/ ce$/i," CE").replace(/\bhpw/i,"web").replace(/\bMacintosh\b/,"Mac OS").replace(/_PowerPC\b/i," OS").replace(/\b(OS X) [^ \d]+/i,"$1").replace(/\bMac (OS X)\b/,"$1").replace(/\/(\d)/," $1").replace(/_/g,".").replace(/(?: BePC|[ .]*fc[ \d.]+)$/i,"").replace(/\bx86\.64\b/gi,"x86_64").replace(/\b(Windows Phone) OS\b/,"$1").replace(/\b(Chrome OS \w+) [\d.]+\b/,"$1").split(" on ")[0])}(gt,sr,Ve.label||Ve)),gt})}(["Windows Phone","KaiOS","Android","CentOS",{label:"Chrome OS",pattern:"CrOS"},"Debian",{label:"DragonFly BSD",pattern:"DragonFly"},"Fedora","FreeBSD","Gentoo","Haiku","Kubuntu","Linux Mint","OpenBSD","Red Hat","SuSE","Ubuntu","Xubuntu","Cygwin","Symbian OS","hpwOS","webOS ","webOS","Tablet OS","Tizen","Linux","Mac OS X","Macintosh","Mac","Windows 98;","Windows "]);function Ks(Qt){return Ge(Qt,function(gt,Ve){var sr=Ve.pattern||Be(Ve);return!gt&&(gt=RegExp("\\b"+sr+" *\\d+[.\\w_]*","i").exec(T)||RegExp("\\b"+sr+" *\\w+-[\\w]*","i").exec(T)||RegExp("\\b"+sr+"(?:; *(?:[a-z]+[_-])?[a-z]+\\d+|[^ ();-]*)","i").exec(T))&&((gt=String(Ve.label&&!RegExp(sr,"i").test(Ve.label)?Ve.label:gt).split("/"))[1]&&
vendor: 7,478 bytes, line 1
1!/[\d.]+/.test(gt[0])&&(gt[0]+=" "+gt[1]),Ve=Ve.label||Ve,gt=Ae(gt[0].replace(RegExp(sr,"i"),Ve).replace(RegExp("; *(?:"+Ve+"[_-])?","i")," ").replace(RegExp("("+Ve+")[-_.]?(\\w)","i"),"$1 $2"))),gt})}function fi(Qt){return Ge(Qt,function(gt,Ve){return gt||(RegExp(Ve+"(?:-[\\d.]+/|(?: for [\\w-]+)?[ /-])([\\d.]+[^ ();/_-]*)","i").exec(T)||0)[1]||null})}if(je&&(je=[je]),/\bAndroid\b/.test(Z)&&!me&&(A=/\bAndroid[^;]*;(.*?)(?:Build|\) AppleWebKit)\b/i.exec(T))&&(me=He(A[1]).replace(/^[a-z]{2}-[a-z]{2};\s*/i,"")||null),Rt&&!me?me=Ks([Rt]):Rt&&me&&(me=me.replace(RegExp("^("+Be(Rt)+")[-_.\\s]","i"),Rt+" ").replace(RegExp("^("+Be(Rt)+")[-_.]?(\\w)","i"),Rt+" $2")),(A=/\bGoogle TV\b/.exec(me))&&(me=A[0]),/\bSimulator\b/i.test(T)&&(me=(me?me+" ":"")+"Simulator"),"Opera Mini"==U&&/\bOPiOS\b/.test(T)&&Me.push("running in Turbo/Uncompressed mode"),"IE"==U&&/\blike iPhone OS\b/.test(T)?(Rt=(A=kt(T.replace(/like iPhone OS/,""))).manufacturer,me=A.product):/^iP/.test(me)?(U||(U="Safari"),Z="iOS"+((A=/ OS ([\d_]+)/i.exec(T))?" "+A[1].replace(/_/g,"."):"")):"Konqueror"==U&&/^Linux\b/i.test(Z)?Z="Kubuntu":Rt&&"Google"!=Rt&&(/Chrome/.test(U)&&!/\bMobile Safari\b/i.test(T)||/\bVita\b/.test(me))||/\bAndroid\b/.test(Z)&&/^Chrome/.test(U)&&/\bVersion\//i.test(T)?(U="Android Browser",Z=/\bAndroid\b/.test(Z)?Z:"Android"):"Silk"==U?(/\bMobi/i.test(T)||(Z="Android",Me.unshift("desktop mode")),/Accelerated *= *true/i.test(T)&&Me.unshift("accelerated")):"UC Browser"==U&&/\bUCWEB\b/.test(T)?Me.push("speed mode"):"PaleMoon"==U&&(A=/\bFirefox\/([\d.]+)\b/.exec(T))?Me.push("identifying as Firefox "+A[1]):"Firefox"==U&&(A=/\b(Mobile|Tablet|TV)\b/i.exec(T))?(Z||(Z="Firefox OS"),me||(me=A[1])):!U||(A=!/\bMinefield\b/i.test(T)&&/\b(?:Firefox|Safari)\b/.exec(U))?(U&&!me&&/[\/,]|^[^(]+?\)/.test(T.slice(T.indexOf(A+"/")+8))&&(U=null),(A=me||Rt||Z)&&(me||Rt||/\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(Z))&&(U=/[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(Z)?Z:A)+" Browser")):"Electron"==U&&(A=(/\bChrome\/([\d.]+)\b/.exec(T)||0)[1])&&Me.push("Chromium "+A),G||(G=fi(["(?:Cloud9|CriOS|CrMo|Edge|Edg|EdgA|EdgiOS|FxiOS|HeadlessChrome|IEMobile|Iron|Opera ?Mini|OPiOS|OPR|Raven|SamsungBrowser|Silk(?!/[\\d.]+$)|UCBrowser|YaBrowser)","Version",Be(U),"(?:Firefox|Minefield|NetFront)"])),(A=("iCab"==je&&parseFloat(G)>3?"WebKit":/\bOpera\b/.test(U)&&(/\bOPR\b/.test(T)?"Blink":"Presto"))||/\b(?:Midori|Nook|Safari)\b/i.test(T)&&!/^(?:Trident|EdgeHTML)$/.test(je)&&"WebKit"||!je&&/\bMSIE\b/i.test(T)&&("Mac OS"==Z?"Tasman":"Trident")||"WebKit"==je&&/\bPlayStation\b(?! Vita\b)/i.test(U)&&"NetFront")&&(je=[A]),"IE"==U&&(A=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(T)||0)[1])?(U+=" Mobile",Z="Windows Phone "+(/\+$/.test(A)?A:A+".x"),Me.unshift("desktop mode")):/\bWPDesktop\b/i.test(T)?(U="IE Mobile",Z="Windows Phone 8.x",Me.unshift("desktop mode"),G||(G=(/\brv:([\d.]+)/.exec(T)||0)[1])):"IE"!=U&&"Trident"==je&&(A=/\brv:([\d.]+)/.exec(T))&&(U&&Me.push("identifying as "+U+(G?" "+G:"")),U="IE",G=A[1]),or){if(function we(T,De){var Ee=null!=T?typeof T[De]:"number";return!(/^(?:boolean|number|string|undefined)$/.test(Ee)||"object"==Ee&&!T[De])}(De,"global"))if(_n&&(Ne=(A=_n.lang.System).getProperty("os.arch"),Z=Z||A.getProperty("os.name")+" "+A.getProperty("os.version")),wn){try{G=De.require("ringo/engine").version.join("."),U="RingoJS"}catch{(A=De.system)&&A.global.system==De.system&&(U="Narwhal",Z||(Z=A[0].os||null))}U||(U="Rhino")}else"object"==typeof De.process&&!De.process.browser&&(A=De.process)&&("object"==typeof A.versions&&("string"==typeof A.versions.electron?(Me.push("Node "+A.versions.node),U="Electron",G=A.versions.electron):"string"==typeof A.versions.nw&&(Me.push("Chromium "+G,"Node "+A.versions.node),U="NW.js",G=A.versions.nw)),U||(U="Node.js",Ne=A.arch,Z=A.platform,G=(G=/[\d.]+/.exec(A.version))?G[0]:null));else Se(A=De.runtime)==tt?(U="Adobe AIR",Z=A.flash.system.Capabilities.os):Se(A=De.phantom)==En?(U="PhantomJS",G=(A=A.version||null)&&A.major+"."+A.minor+"."+A.patch):"number"==typeof di.documentMode&&(A=/\bTrident\/(\d+)/i.exec(T))?((A=+A[1]+4)!=(G=[G,di.documentMode])[1]&&(Me.push("IE "+G[1]+" mode"),je&&(je[1]=""),G[1]=A),G="IE"==U?String(G[1].toFixed(1)):G[0]):"number"==typeof di.documentMode&&/^(?:Chrome|Firefox)\b/.test(U)&&(Me.push("masking as "+U+" "+G),U="IE",G="11.0",je=["Trident"],Z="Windows");Z=Z&&Ae(Z)}if(G&&(A=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(G)||/(?:alpha|beta)(?: ?\d)?/i.exec(T+";"+(or&&et.appMinorVersion))||/\bMinefield\b/i.test(T)&&"a")&&(ho=/b/i.test(A)?"beta":"alpha",G=G.replace(RegExp(A+"\\+?$"),"")+("beta"==ho?rr:ji)+(/\d+\+?/.exec(A)||"")),"Fennec"==U||"Firefox"==U&&/\b(?:Android|Firefox OS|KaiOS)\b/.test(Z))U="Firefox Mobile";else if("Maxthon"==U&&G)G=G.replace(/\.[\d.]+/,".x");else if(/\bXbox\b/i.test(me))"Xbox 360"==me&&(Z=null),"Xbox 360"==me&&/\bIEMobile\b/.test(T)&&Me.unshift("mobile mode");else if(!/^(?:Chrome|IE|Opera)$/.test(U)&&(!U||me||/Browser|Mobi/.test(U))||"Windows CE"!=Z&&!/Mobi/i.test(T))if("IE"==U&&or)try{null===De.external&&Me.unshift("platform preview")}catch{Me.unshift("embedded")}else(/\bBlackBerry\b/.test(me)||/\bBB10\b/.test(T))&&(A=(RegExp(me.replace(/ +/g," *")+"/([.\\d]+)","i").exec(T)||0)[1]||G)?(Z=((A=[A,/BB10/.test(T)])[1]?(me=null,Rt="BlackBerry"):"Device Software")+" "+A[0],G=null):this!=pt&&"Wii"!=me&&(or&&ir||/Opera/.test(U)&&/\b(?:MSIE|Firefox)\b/i.test(T)||"Firefox"==U&&/\bOS X (?:\d+\.){2,}/.test(Z)||"IE"==U&&(Z&&!/^Win/.test(Z)&&G>5.5||/\bWindows XP\b/.test(Z)&&G>8||8==G&&!/\bTrident\b/.test(T)))&&!ie.test(A=kt.call(pt,T.replace(ie,"")+";"))&&A.name&&(A="ing as "+A.name+((A=A.version)?" "+A:""),ie.test(U)?(/\bIE\b/.test(A)&&"Mac OS"==Z&&(Z=null),A="identify"+A):(A="mask"+A,U=qs?Ae(qs.replace(/([a-z])([A-Z])/g,"$1 $2")):"Opera",/\bIE\b/.test(A)&&(Z=null),or||(G=null)),je=["Presto"],Me.push(A));else U+=" Mobile";(A=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(T)||0)[1])&&(A=[parseFloat(A.replace(/\.(\d)$/,".0$1")),A],"Safari"==U&&"+"==A[1].slice(-1)?(U="WebKit Nightly",ho="alpha",G=A[1].slice(0,-1)):(G==A[1]||G==(A[2]=(/\bSafari\/([\d.]+\+?)/i.exec(T)||0)[1]))&&(G=null),A[1]=(/\b(?:Headless)?Chrome\/([\d.]+)/i.exec(T)||0)[1],537.36==A[0]&&537.36==A[2]&&parseFloat(A[1])>=28&&"WebKit"==je&&(je=["Blink"]),or&&(Ur||A[1])?(je&&(je[1]="like Chrome"),A=A[1]||((A=A[0])<530?1:A<532?2:A<532.05?3:A<533?4:A<534.03?5:A<534.07?6:A<534.1?7:A<534.13?8:A<534.16?9:A<534.24?10:A<534.3?11:A<535.01?12:A<535.02?"13+":A<535.07?15:A<535.11?16:A<535.19?17:A<536.05?18:A<536.1?19:A<537.01?20:A<537.11?"21+":A<537.13?23:A<537.18?24:A<537.24?25:A<537.36?26:"Blink"!=je?"27":"28")):(je&&(je[1]="like Safari"),A=(A=A[0])<400?1:A<500?2:A<526?3:A<533?4:A<534?"4+":A<535?5:A<537?6:A<538?7:A<601?8:A<602?9:A<604?10:A<606?11:A<608?12:"12"),je&&(je[1]+=" "+(A+="number"==typeof A?".x":/[.+]/.test(A)?"":"+")),"Safari"==U&&(!G||parseInt(G)>45)?G=A:"Chrome"==U&&/\bHeadlessChrome/i.test(T)&&Me.unshift("headless")),"Opera"==U&&(A=/\bzbov|zvav$/.exec(Z))?(U+=" ",Me.unshift("desktop mode"),"zvav"==A?(U+="Mini",G=null):U+="Mobile",Z=Z.replace(RegExp(" *"+A+"$"),"")):"Safari"==U&&/\bChrome\b/.exec(je&&je[1])?(Me.unshift("desktop mode"),U="Chrome Mobile",G=null,/\bOS X\b/.test(Z)?(Rt="Apple",Z="iOS 4.3+"):Z=null):/\bSRWare Iron\b/.test(U)&&!G&&(G=fi("Chrome")),G&&0==G.indexOf(A=/[\d.]+$/.exec(Z))&&T.indexOf("/"+A+"-")>-1&&(Z=He(Z.replace(A,""))),Z&&-1!=Z.indexOf(U)&&!RegExp(U+" OS").test(Z)&&(Z=Z.replace(RegExp(" *"+Be(U)+" *"),"")),je&&!/\b(?:Avant|Nook)\b/.test(U)&&(/Browser|Lun
1ascape|Maxthon/.test(U)||"Safari"!=U&&/^iOS/.test(Z)&&/\bSafari\b/.test(je[1])||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|SRWare Iron|Vivaldi|Web)/.test(U)&&je[1])&&(A=je[je.length-1])&&Me.push(A),Me.length&&(Me=["("+Me.join("; ")+")"]),Rt&&me&&me.indexOf(Rt)<0&&Me.push("on "+Rt),me&&Me.push((/^on /.test(Me[Me.length-1])?"":"on ")+me),Z&&(A=/ ([\d.+]+)$/.exec(Z),Js=A&&"/"==Z.charAt(Z.length-A[0].length-1),Z={architecture:32,family:A&&!Js?Z.replace(A[0],""):Z,version:A?A[1]:null,toString:function(){var Qt=this.version;return this.family+(Qt&&!Js?" "+Qt:"")+(64==this.architecture?" 64-bit":"")}}),(A=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(Ne))&&!/\bi686\b/i.test(Ne)?(Z&&(Z.architecture=64,Z.family=Z.family.replace(RegExp(" *"+A),"")),U&&(/\bWOW64\b/i.test(T)||or&&/\w(?:86|32)$/.test(et.cpuClass||et.platform)&&!/\bWin64; x64\b/i.test(T))&&Me.unshift("32-bit")):Z&&/^OS X/.test(Z.family)&&"Chrome"==U&&parseFloat(G)>=39&&(Z.architecture=64),T||(T=null);var hn={};return hn.description=T,hn.layout=je&&je[0],hn.manufacturer=Rt,hn.name=U,hn.prerelease=ho,hn.product=me,hn.ua=T,hn.version=U&&G,hn.os=Z||{architecture:null,family:null,version:null,toString:function(){return"null"}},hn.parse=kt,hn.toString=function Ys(){return this.description||""},hn.version&&Me.unshift(G),hn.name&&Me.unshift(U),Z&&U&&!(Z==String(Z).split(" ")[0]&&(Z==U.split(" ")[0]||me))&&Me.push(me?"("+Z+")":"on "+Z),Me.length&&(hn.description=Me.join(" ")),hn}();E.platform=fn,void 0!==(k=function(){return fn}.call(b,x,b,V))&&(V.exports=k)}.call(this)},16:V=>{!function(){var b=["direction","boxSizing","width","height","overflowX","overflowY","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","borderStyle","paddingTop","paddingRight","paddingBottom","paddingLeft","fontStyle","fontVariant","fontWeight","fontStretch","fontSize","fontSizeAdjust","lineHeight","fontFamily","textAlign","textTransform","textIndent","textDecoration","letterSpacing","wordSpacing","tabSize","MozTabSize"],x=typeof window<"u",k=x&&null!=window.mozInnerScreenX;function M(E,j,g){if(!x)throw new Error("textarea-caret-position#getCaretCoordinates should only be called in a browser");var q=g&&g.debug||!1;if(q){var O=document.querySelector("#input-textarea-caret-position-mirror-div");O&&O.parentNode.removeChild(O)}var z=document.createElement("div");z.id="input-textarea-caret-position-mirror-div",document.body.appendChild(z);var ie=z.style,he=window.getComputedStyle?window.getComputedStyle(E):E.currentStyle,W="INPUT"===E.nodeName;ie.whiteSpace="pre-wrap",W||(ie.wordWrap="break-word"),ie.position="absolute",q||(ie.visibility="hidden"),b.forEach(function(H){W&&"lineHeight"===H?ie.lineHeight=he.height:ie[H]=he[H]}),k?E.scrollHeight>parseInt(he.height)&&(ie.overflowY="scroll"):ie.overflow="hidden",z.textContent=E.value.substring(0,j),W&&(z.textContent=z.textContent.replace(/\s/g,"\xa0"));var _=document.createElement("span");_.textContent=E.value.substring(j)||".",z.appendChild(_);var ee={top:_.offsetTop+parseInt(he.borderTopWidth),left:_.offsetLeft+parseInt(he.borderLeftWidth),height:parseInt(he.lineHeight)};return q?_.style.backgroundColor="#aaa":document.body.removeChild(z),ee}typeof V.exports<"u"?V.exports=M:x&&(window.getCaretCoordinates=M)}()},656:(V,b,x)=>{"use strict";var k=x(632);V.exports=g;var M=j("in",document.body);function E(q,O){var z=k(getComputedStyle(q).getPropertyValue(O));return z[0]*g(z[1],q)}function j(q,O){var z=document.createElement("div");z.style.height="128"+q,O.appendChild(z);var ie=E(z,"height")/128;return O.removeChild(z),ie}function g(q,O){if(!q)return null;switch(O=O||document.body,q=(q+""||"px").trim().toLowerCase(),(O===window||O===document)&&(O=document.body),q){case"%":return O.clientHeight/100;case"ch":case"ex":return j(q,O);case"em":return E(O,"font-size");case"rem":return E(document.body,"font-size");case"vw":return window.innerWidth/100;case"vh":return window.innerHeight/100;case"vmin":return Math.min(window.innerWidth,window.innerHeight)/100;case"vmax":return Math.max(window.innerWidth,window.innerHeight)/100;case"in":return M;case"cm":return M/2.54;case"mm":return M/25.4;case"pt":return M/72;case"pc":return M/6;case"px":return 1}var z=k(q);if(!isNaN(z[0])&&z[1]){var ie=g(z[1],O);return"number"==typeof ie?z[0]*ie:null}return null}},247:(V,b,x)=>{var k=x(881).FilterCSS,M=x(881).getDefaultWhiteList,E=x(600);var g=new k;function he(te){return te.replace(_,"&lt;").replace(ee,"&gt;")}var _=/</g,ee=/>/g,H=/"/g,lt=/&quot;/g,xt=/&#([a-zA-Z0-9]*);?/gim,Ae=/&colon;?/gim,pt=/&newline;?/gim,Se=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi,we=/e\s*x\s*p\s*r\s*e\s*s\s*s\s
1*i\s*o\s*n\s*\(.*/gi,Be=/u\s*r\s*l\s*\(.*/gi;function Ge(te){return te.replace(H,"&quot;")}function He(te){return te.replace(lt,'"')}function kt(te){return te.replace(xt,function(ae,We){return String.fromCharCode("x"===We[0]||"X"===We[0]?parseInt(We.substr(1),16):parseInt(We,10))})}function fn(te){return te.replace(Ae,":").replace(pt," ")}function T(te){for(var tt="",ae=0,We=te.length;ae<We;ae++)tt+=te.charCodeAt(ae)<32?" ":te.charAt(ae);return E.trim(tt)}function De(te){return T(te=fn(te=kt(te=He(te))))}function Ee(te){return he(te=Ge(te))}b.whiteList={a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height","loading"],ins:["datetime"],kbd:[],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]},b.getDefaultWhiteList=function j(){return{a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height","loading"],ins:["datetime"],kbd:[],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]}},b.onTag=function q(te,tt,ae){},b.onIgnoreTag=function O(te,tt,ae){},b.onTagAttr=function z(te,tt,ae){},b.onIgnoreTagAttr=function ie(te,tt,ae){},b.safeAttrValue=function W(te,tt,ae,We){if(ae=De(ae),"href"===tt||"src"===tt){if("#"===(ae=E.trim(ae)))return"#";if("http://"!==ae.substr(0,7)&&"https://"!==ae.substr(0,8)&&"mailto:"!==ae.substr(0,7)&&"tel:"!==ae.substr(0,4)&&"data:image/"!==ae.substr(0,11)&&"ftp://"!==ae.substr(0,6)&&"./"!==ae.substr(0,2)&&"../"!==ae.substr(0,3)&&"#"!==ae[0]&&"/"!==ae[0])return""}else if("background"===tt){if(Se.lastIndex=0,Se.test(ae))return""}else if("style"===tt){if(we.lastIndex=0,we.test(ae)||(Be.lastIndex=0,Be.test(ae)&&(Se.lastIndex=0,Se.test(ae))))return"";!1!==We&&(ae=(We=We||g).process(ae))}return Ee(ae)},b.escapeHtml=he,b.escapeQuote=Ge,b.unescapeQuote=He,b.escapeHtmlEntities=kt,b.escapeDangerHtml5Entities=fn,b.clearNonPrintableCharacter=T,b.friendlyAttrValue=De,b.escapeAttrValue=Ee,b.onIgnoreTagStripAll=function et(){return""},b.StripTagBody=function Vr(te,tt){"function"!=typeof tt&&(tt=function(){});var ae=!Array.isArray(te),En=[],_n=!1;return{onIgnoreTag:function(wn,ji,rr){if(function We(wn){return!!ae||-1!==E.indexOf(te,wn)}(wn)){if(rr.isClosing){return En.push([!1!==_n?_n:rr.position,rr.position+10]),_n=!1,"[/removed]"}return _n||(_n=rr.position),"[removed]"}return tt(wn,ji,rr)},remove:function(wn){var ji="",rr=0;
1return E.forEach(En,function(di){ji+=wn.slice(rr,di[0]),rr=di[1]}),ji+=wn.slice(rr)}}},b.stripCommentTag=function ui(te){for(var tt="",ae=0;ae<te.length;){var We=te.indexOf("\x3c!--",ae);if(-1===We){tt+=te.slice(ae);break}tt+=te.slice(ae,We);var En=te.indexOf("--\x3e",We);if(-1===En)break;ae=En+3}return tt},b.stripBlankChar=function Ur(te){var tt=te.split("");return(tt=tt.filter(function(ae){var We=ae.charCodeAt(0);return!(127===We||We<=31&&10!==We&&13!==We)})).join("")},b.attributeWrapSign='"',b.cssFilter=g,b.getDefaultCSSWhiteList=M},782:(V,b,x)=>{var k=x(247),M=x(151),E=x(880);function j(q,O){return new E(O).process(q)}(b=V.exports=j).filterXSS=j,b.FilterXSS=E,function(){for(var q in k)b[q]=k[q];for(var O in M)b[O]=M[O]}(),typeof window<"u"&&(window.filterXSS=V.exports),function g(){return typeof self<"u"&&typeof DedicatedWorkerGlobalScope<"u"&&self instanceof DedicatedWorkerGlobalScope}()&&(self.filterXSS=V.exports)},151:(V,b,x)=>{var k=x(600);function M(_){var H,ee=k.spaceIndex(_);return H=_.slice(1,-1===ee?-1:ee+1),"/"===(H=k.trim(H).toLowerCase()).slice(0,1)&&(H=H.slice(1)),"/"===H.slice(-1)&&(H=H.slice(0,-1)),H}function E(_){return"</"===_.slice(0,2)}var g=/[^a-zA-Z0-9\\_:.-]/gim;function O(_,ee){for(;ee<_.length;ee++){var H=_[ee];if(" "!==H)return"="===H?ee:-1}}function z(_,ee){for(;ee<_.length;ee++){var H=_[ee];if(" "!==H)return"'"===H||'"'===H?ee:-1}}function ie(_,ee){for(;ee>0;ee--){var H=_[ee];if(" "!==H)return"="===H?ee:-1}}function W(_){return function he(_){return'"'===_[0]&&'"'===_[_.length-1]||"'"===_[0]&&"'"===_[_.length-1]}(_)?_.substr(1,_.length-2):_}b.parseTag=function j(_,ee,H){"use strict";var lt="",xt=0,Ae=!1,pt=!1,Se=0,we=_.length,Be="",Ge="";e:for(Se=0;Se<we;Se++){var He=_.charAt(Se);if(!1===Ae){if("<"===He){Ae=Se;continue}}else if(!1===pt){if("<"===He){lt+=H(_.slice(xt,Se)),Ae=Se,xt=Se;continue}if(">"===He||Se===we-1){lt+=H(_.slice(xt,Ae)),Be=M(Ge=_.slice(Ae,Se+1)),lt+=ee(Ae,lt.length,Be,Ge,E(Ge)),xt=Se+1,Ae=!1;continue}if('"'===He||"'"===He)for(var kt=1,fn=_.charAt(Se-kt);""===fn.trim()||"="===fn;){if("="===fn){pt=He;continue e}fn=_.charAt(Se-++kt)}}else if(He===pt){pt=!1;continue}}return xt<we&&(lt+=H(_.substr(xt))),lt},b.parseAttr=function q(_,ee){"use strict";var H=0,lt=0,xt=[],Ae=!1,pt=_.length;function Se(kt,fn){if(!((kt=(kt=k.trim(kt)).replace(g,"").toLowerCase()).length<1)){var T=ee(kt,fn||"");T&&xt.push(T)}}for(var we=0;we<pt;we++){var He,Be=_.charAt(we);if(!1!==Ae||"="!==Be)if(!1===Ae||we!==lt){if(/\s|\n|\t/.test(Be)){if(_=_.replace(/\s|\n|\t/g," "),!1===Ae){if(-1===(He=O(_,we))){Se(k.trim(_.slice(H,we))),Ae=!1,H=we+1;continue}we=He-1;continue}if(-1===(He=ie(_,we-1))){Se(Ae,W(k.trim(_.slice(H,we)))),Ae=!1,H=we+1;continue}}}else{if(-1===(He=_.indexOf(Be,we+1)))break;Se(Ae,k.trim(_.slice(lt+1,He))),Ae=!1,H=(we=He)+1}else Ae=_.slice(H,we),lt='"'===_.charAt(H=we+1)||"'"===_.charAt(H)?H:z(_,we+1)}return H<_.length&&(!1===Ae?Se(_.slice(H)):Se(Ae,W(k.trim(_.slice(H))))),k.trim(xt.join(" "))}},600:V=>{V.exports={indexOf:function(b,x){var k,M;if(Array.prototype.indexOf)return b.indexOf(x);for(k=0,M=b.length;k<M;k++)if(b[k]===x)return k;return-1},forEach:function(b,x,k){var M,E;if(Array.prototype.forEach)return b.forEach(x,k);for(M=0,E=b.length;M<E;M++)x.call(k,b[M],M,b)},trim:function(b){return String.prototype.trim?b.trim():b.replace(/(^\s*)|(\s*$)/g,"")},spaceIndex:function(b){var k=/\s|\n|\t/.exec(b);return k?k.index:-1}}},880:(V,b,x)=>{var k=x(881).FilterCSS,M=x(247),E=x(151),j=E.parseTag,g=E.parseAttr,q=x(600);function O(_){return null==_}function W(_){(_=function ie(_){var ee={};for(var H in _)ee[H]=_[H];return ee}(_||{})).stripIgnoreTag&&(_.onIgnoreTag&&console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'),_.onIgnoreTag=M.onIgnoreTagStripAll),_.whiteList=_.whiteList||_.allowList?function he(_){var ee={};for(var H in _)Array.isArray(_[H])?ee[H.toLowerCase()]=_[H].map(function(lt){return lt.toLowerCase()}):ee[H.toLowerCase()]=_[H];return ee}(_.whiteList||_.allowList):M.whiteList,this.attributeWrapSign=!0===_.singleQuotedAttributeValue?"'":M.attributeWrapSign,_.onTag=_.onTag||M.onTag,_.onTagAttr=_.onTagAttr||M.onTagAttr,_.onIgnoreTag=_.onIgnoreTag||M.onIgnoreTag,_.onIgnoreTagAttr=_.onIgnoreTagAttr||M.onIgnoreTagAttr,_.safeAttrValue=_.safeAttrValue||M.safeAttrValue,_.escapeHtml=_.escapeHtml||M.escapeHtml,this.options=_,!1===_.css?this.cssFilter=!1:(_.css=_.css||{},this.cssFilter=new k(_.css))}W.prototype.process=function(_){if(!(_=(_=_||"").toString()))return"";var H=this.options,lt=H.whiteList,xt=H.onTag,Ae=H.onIgnoreTag,pt=H.onTagAttr,Se=H.onIgnoreTagAttr,we=H.safeAttrValue,Be=H.escapeHtml,Ge=this.attributeWrapSign,He=this.cssFilter;H.stripBlankChar&&(_=M.stripBlankChar(_)),H.allowCommentTag||(_=M.stripCommentTag(_));var kt=!1;H.stripIgnoreTagBody&&(kt=M.StripTagBody(H.stripIgnoreTagBody,Ae),Ae=kt.onIgnoreTag);var fn=j(_,function(T,De,Ee,et,Vr){var ui={sourcePosition:T,position:De,isClosing:Vr,
1isWhite:Object.prototype.hasOwnProperty.call(lt,Ee)},Ur=xt(Ee,et,ui);if(!O(Ur))return Ur;if(ui.isWhite){if(ui.isClosing)return"</"+Ee+">";var te=function z(_){var ee=q.spaceIndex(_);if(-1===ee)return{html:"",closing:"/"===_[_.length-2]};var H="/"===(_=q.trim(_.slice(ee+1,-1)))[_.length-1];return H&&(_=q.trim(_.slice(0,-1))),{html:_,closing:H}}(et),tt=lt[Ee],ae=g(te.html,function(We,En){var _n=-1!==q.indexOf(tt,We),wn=pt(Ee,We,En,_n);return O(wn)?_n?(En=we(Ee,We,En,He))?We+"="+Ge+En+Ge:We:O(wn=Se(Ee,We,En,_n))?void 0:wn:wn});return et="<"+Ee,ae&&(et+=" "+ae),te.closing&&(et+=" /"),et+">"}return O(Ur=Ae(Ee,et,ui))?Be(et):Ur},Be);return kt&&(fn=kt.remove(fn)),fn},V.exports=W},391:(V,b,x)=>{"use strict";x.d(b,{A:()=>q});var k=x(564),M=x.n(k),E=x(557),g=x.n(E)()(M());g.push([V.id,'/* .bs-datepicker */\n.bs-datepicker {\n  display: flex;\n  align-items: stretch;\n  flex-flow: row wrap;\n  background: #fff;\n  box-shadow: 0 0 10px 0 #aaa;\n  position: relative;\n  z-index: 1;\n  /* button */\n  /* .bs-datepicker-head */\n  /* .bs-datepicker-body */\n  /* .current-timedate */\n  /* .bs-datepicker-multiple */\n  /* .bs-datepicker-btns */\n  /*.bs-datepicker-custom-range */\n  /* .bs-datepicker-predefined-btns */\n  /* .bs-datepicker-buttons */\n}
1\n.bs-datepicker:after {\n  clear: both;\n  content: "";\n  display: block;\n}\n.bs-datepicker bs-day-picker {\n  float: left;\n}\n.bs-datepicker button:hover,\n.bs-datepicker button:focus,\n.bs-datepicker button:active,\n.bs-datepicker input:hover,\n.bs-datepicker input:focus,\n.bs-datepicker input:active, .bs-datepicker-btns button:hover, .bs-datepicker-btns button:focus, .bs-datepicker-btns button:active, .bs-datepicker-predefined-btns button:active, .bs-datepicker-predefined-btns button:focus {\n  outline: none;\n}\n.bs-datepicker-head {\n  min-width: 270px;\n  height: 50px;\n  padding: 10px;\n  border-radius: 3px 3px 0 0;\n  text-align: justify;\n  /* .bs-datepicker-head button */\n}\n.bs-datepicker-head:after {\n  content: "";\n  display: inline-block;\n  vertical-align: top;\n  width: 100%;\n}\n.bs-datepicker-head button {\n  display: inline-block;\n  vertical-align: top;\n  padding: 0;\n  height: 30px;\n  line-height: 30px;\n  border: 0;\n  background: transparent;\n  text-align: center;\n  cursor: pointer;
1\n  color: #fff;\n  transition: 0.3s;\n}\n.bs-datepicker-head button[disabled], .bs-datepicker-head button[disabled]:hover, .bs-datepicker-head button[disabled]:active {\n  background: rgba(221, 221, 221, 0.3);\n  color: #f5f5f5;\n  cursor: not-allowed;\n}\n.bs-datepicker-head button.previous span {\n  transform: translate(-1px, -1px);\n}\n.bs-datepicker-head button.next span {\n  transform: translate(1px, -1px);\n}\n.bs-datepicker-head button.next, .bs-datepicker-head button.previous {\n  border-radius: 50%;\n  width: 30px;\n  height: 30px;\n}\n.bs-datepicker-head button.next span, .bs-datepicker-head button.previous span {\n  font-size: 28px;\n  line-height: 1;\n  display: inline-block;\n  position: relative;\n  height: 100%;\n  width: 100%;\n  border-radius: 50%;\n}\n.bs-datepicker-head button.current {\n  border-radius: 15px;\n  max-width: 155px;\n  padding: 0 13px;\n}\n.bs-datepicker-head button:hover {\n  background-color: rgba(0, 0, 0, 0.1);\n}\n.bs-datepicker-head button:active {\n  background-color: rgba(0, 0, 0, 0.2);\n}\n.bs-datepicker-body {\n  padding: 10px;\n  border-radius: 0 0 3px 3px;\n  min-height: 232px;\n  min-width: 278px;\n  border: 1px solid #e9edf0;\n  /* .bs-datepicker-body table */\n}\n.bs-datepicker-body .days.weeks {\n  position: relative;\n  z-index: 1;\n}\n.bs-datepicker-body table {\n  width: 100%;\n  border-collapse: separate;\n  border-spacing: 0;\n  /* .bs-datepicker-body table.days */\n  /* .bs-datepicker-body table.weeks */\n}\n.bs-datepicker-body table th {\n  font-size: 13px;\n  color: #9aaec1;\n  font-weight: 400;\n  text-align: center;\n}\n.bs-datepicker-body table td {\n  color: #54708b;\n  text-align: center;\n  position: relative;\n  padding: 0;\n  /* todo: check first :not(.disabled) usage */\n}\n.bs-datepicker-body table td span {\n  display: block;\n  margin: 0 auto;\n  font-size: 13px;\n  border-radius: 50%;\n  /*z-index: 1;*/\n  -moz-user-select: none;\n  -webkit-user-select: none;\n  -ms-user-select: none;\n}\n.bs-datepicker-body table td:not(.disabled):not(.week) span:not(.disabled):not(.is-other-month) {\n  cursor: pointer;\n}\n.bs-datepicker-body table td.is-highlighted:not(.disabled):not(.selected) span,\n.bs-datepicker-body table td span.is-highlighted:not(.disabled):not(.selected) {\n  background-color: #e9edf0;\n  transition: 0s;\n}\n.bs-datepicker-body table td.is-active-other-month:not(.disabled):not(.selected) span,\n.bs-datepicker-body table td span.is-active-other-month:not(.disabled):not(.selected) {\n  background-color: #e9edf0;\n  transition: 0s;\n  cursor: pointer;\n}\n.bs-datepicker-body table td span.disabled, .bs-datepicker-body table td.disabled span {\n  color: #9aaec1;\n}\n.bs-datepicker-body table td span.selected, .bs-datepicker-body table td.selected span {\n  color: #fff;\n}\n.bs-datepicker-body table td span.selected.disabled, .bs-datepicker-body table td.selected.disabled span {\n  opacity: 0.3;\n}\n.bs-datepicker-body table td span.is-other-month, .bs-datepicker-body table td.is-other-month span {\n  color: rgba(0, 0, 0, 0.25);\n}\n.bs-datepicker-body table td.active {\n  position: relative;\n}\n.bs-datepicker-body table td.active.select-start:before {\n  left: 35%;\n}\n.bs-datepicker-body table td.active.select-end:before {\n  left: -85%;\n}\n.bs-datepicker-body table td span.active.select-start:after,\n.bs-datepicker-body table td span.active.select-end:after, .bs-datepicker-body table td.active.select-start span:after, .b
1s-datepicker-body table td.active.select-end span:after {\n  content: "";\n  display: block;\n  position: absolute;\n  z-index: -1;\n  width: 100%;\n  height: 100%;\n  transition: 0.3s;\n  top: 0;\n  border-radius: 50%;\n}\n.bs-datepicker-body table td:before,\n.bs-datepicker-body table td span:before {\n  content: "";\n  display: block;\n  position: absolute;\n  z-index: -1;\n  top: 6px;\n  bottom: 6px;\n  left: -3px;\n  right: -2px;\n  box-sizing: content-box;\n  background: transparent;\n}\n.bs-datepicker-body table td.active.select-start + td.active:before {\n  left: -20%;\n}\n.bs-datepicker-body table td:last-child.active:before {\n  border-radius: 0 3px 3px 0;\n  width: 125%;\n  left: -25%;\n}\n.bs-datepicker-body table td span[class*=select-], .bs-datepicker-body table td[class*=select-] span {\n  border-radius: 50%;\n  color: #fff;\n}\n.bs-datepicker-body table.days td.active:not(.select-start):not(.disabled):before, .bs-datepicker-body table.days td.in-range:not(.select-start):not(.disabled):before,\n.bs-datepicker-body table.days span.active:not(.select-start):not(.disabled):before,\n.bs-datepicker-body table.days span.in-range:not(.select-start):not(.disabled):before {\n  background: #e9edf0;\n}\n.bs-datepicker-body table.days span {\n  width: 32px;\n  height: 32px;\n  line-height: 32px;\n}\n.bs-datepicker-body table.days span.select-start {\n  z-index: 2;\n}\n.bs-datepicker-body table.days span.is-highlighted.in-range:before {\n  right: 3px;\n  left: 0;\n}\n.bs-datepicker-body table.days span.in-range.select-end:before {\n  right: 4px;\n  left: 0;\n}\n.bs-datepicker-body table.days td.select-start + td.select-end:before, .bs-datepicker-body table.days td.select-start + td.is-highlighted:before, .bs-datepicker-body table.days td.active + td.is-highlighted:before, .bs-datepicker-body table.days td.active + td.select-end:before, .bs-datepicker-body table.days td.in-range + td.is-highlighted:before, .bs-datepicker-body table.days td.in-range + td.select-end:before {\n  background: #e9edf0;\n  width: 100%;\n}\n.bs-datepicker-body table.weeks tr td:nth-child(2).active:before {\n  border-radius: 3px 0 0 3px;\n  left: 0;\n  width: 100%;\n}\n.bs-datepicker-body table:not(.weeks) tr td:first-child:before {\n  border-radius: 3px 0 0 3px;\n}\n.bs-datepicker-body table.years td span {\n  width: 46px;\n  height: 46px;\n  line-height: 45px;\n  margin: 0 auto;\n}\n.bs-datepicker-body table.years tr:not(:last-child) td span {\n  margin-bottom: 8px;\n}\n.bs-datepicker-body table.months td {\n  height: 52px;\n}\n.bs-datepicker-body table.months td span {\n  padding: 6px;\n  border-radius: 15px;\n}\n.bs-datepicker .current-timedate {\n  color: #54708b;\n  font-size: 15px;\n  text-align: center;\n  height: 30px;\n  line-height: 30px;\n  border-radius: 20px;\n  border: 1px solid #e9edf0;\n  margin-bottom: 10px;\n  cursor: pointer;\n  text-transform: uppercase;\n  -moz-user-select: none;\n  -webkit-user-select: none;\n  -ms-user-select: none;\n}\n.bs-datepicker .current-timedate span:not(:empty):before {\n  content: "";\n  width: 15px;\n  height: 16px;\n  display: inline-block;\n  margin-right: 4px;\n  vertical-align: text-bottom;\n  background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAQCAYAAADJViUEAAABMklEQVQoU9VTwW3CQBCcOUgBtEBKSAukAnBKME+wFCAlYIhk8sQlxFABtJAScAsuAPBEewYcxCP8ouxrPDsza61uiVN1o6RNHD4htSCmq49RfO71BvMJqBBkITRf1kmUW49nQRC9h1I5AZlBClaL8aP1fKgOOxCx8aSLs+Q19eZuNO8QmPqJRtDFguy7OAcDbJPs+/BKVPDIPrvD2ZJgWAmVe7O0rI0Vqs1seyWUXpuJoppYCa5L+U++NpNPkr5OE2oMdARsb3gykJT5ydZcL8Z9Ww60nxg2LhjON9li9OwXZzo+xLbp3nC2s9CL2RrueGyVrgwNm8HpsCzZ9EEW6kqXlo1GQe03FzP/7W8Hl0dBtu7Bf7zt6mIwvX1RvzDCm7+q3mAW0Dl/GPdUCeXrZLT9BrDrGkm4qlPvAAAAAElFTkSuQmCC);\n}\n.bs-datepicker-multiple {\n  border-radius: 4px 0 0 4px;\n}\n.bs-datepicker-multiple + .bs-datepicker-multiple {\n  margin-left: 10px;\n}\n.bs-datepicker-multiple .bs-datepicker {\n  box-shadow: none;\n  position: relative;\n}\n.bs-datepicker-multiple .bs-datepicker:not(:last-child) {\n  padding-right: 10px;\n}\n.bs-datepicker-multiple .bs-datepicker + .bs-datepicker:after {\n  
1content: "";\n  display: block;\n  width: 14px;\n  height: 10px;\n  background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAKCAYAAABrGwT5AAAA1ElEQVQoU42RsQrCUAxF77VuDu7O4oMWW//BURBBpZvgKk4uIrjoqKOTf+DopIO4uYggtFTfw3+pkQqCW1/G5J7kJiFy4m5MxUlxAzgIPHX+lzMPzupRYlYgxiR7vqsOP8YKzsTx0yxFMCUZ+q7aZzlr+OvgoWcAFyAHgat2jLWu48252DdqAihDJGSSJNUUxYmQjs3+hPQBlAh2rG2LCOPnaw3IiGDX99TRCs7ASJsNhUOA7d/LcuHvRG22FIZvsNXw1MX6VZExCilOQKEfeLXr/10+aC9Ho7arh7oAAAAASUVORK5CYII=);\n  position: absolute;\n  top: 25px;\n  left: -8px;\n}\n.bs-datepicker-multiple .bs-datepicker .left {\n  float: left;\n}\n.bs-datepicker-multiple .bs-datepicker .right {\n  float: right;\n}\n.bs-datepicker-container {\n  padding: 15px;\n}\n.bs-datepicker .bs-media-container {\n  display: flex;\n}\n@media (max-width: 768px) {\n  .bs-datepicker .bs-media-container {\n    flex-direction: column;\n  }\n}\n.bs-datepicker .bs-timepicker-in-datepicker-container {\n  display: flex;\n  justify-content: space-around;\n}\n.bs-datepicker-custom-range {\n  padding: 15px;\n  background: #eee;\n}\n.bs-datepicker-predefined-btns button {\n  width: 100%;\n  display: block;\n  height: 30px;\n  background-color: #9aaec1;\n  border-radius: 4px;\n  color: #fff;\n  border: 0;\n  margin-bottom: 10px;\n  padding: 0 18px;\n  text-align: left;\n  transition: 0.3s;\n}\n.bs-datepicker-predefined-btns button:hover {\n  background-color: #54708b;\n}\n.bs-datepicker-buttons {\n  display: flex;\n  flex-flow: row wrap;\n  justify-content: flex-end;\n  padding-top: 10px;\n  border-top: 1px solid #e9edf0;\n}\n.bs-datepicker-buttons .btn-default {\n  margin-left: 10px;\n}\n.bs-datepicker-buttons .btn-today-wrapper {\n  display: flex;\n  flex-flow: row wrap;\n}\n.bs-datepicker-buttons .clear-right,\n.bs-datepicker-buttons .today-right {\n  flex-grow: 0;\n}\n.bs-datepicker-buttons .clear-left,\n.bs-datepicker-buttons .today-left {\n  flex-grow: 1;\n}\n.bs-datepicker-buttons .clear-center,\n.bs-datepicker-buttons .today-center {\n  flex-grow: 0.5;\n}\n\n/* .bs-timepicker */\n.bs-timepicker-container {\n  padding: 10px 0;\n}\n.bs-timepicker-label {\n  color: #54708b;\n  margin-bottom: 10px;\n}\n.bs-timepicker-controls {\n  display: inline-block;\n  vertical-align: top;\n  margin-right: 10px;\n}\n.bs-timepicker-controls button {\n  width: 20px;\n  height: 20px;\n  border-radius: 50%;\n  border: 0;\n  background-color: #e9edf0;\n  color: #54708b;\n  font-size: 16px;\n  font-weight: 700;\n  vertical-align: middle;\n  line-height: 0;\n  padding: 0;\n  transition: 0.3s;\n}\n.bs-timepicker-controls button:hover {\n  background-color: #d5dadd;\n}\n.bs-timepicker-controls input {\n  width: 35px;\n  height: 25px;\n  border-radius: 13px;\n  text-align: center;\n  border: 1px solid #e9edf0;\n}\n.bs-timepicker .switch-time-format {\n  text-transform: uppercase;\n  min-width: 54px;\n  height: 25px;\n  border-radius: 20px;\n  border: 1px solid #e9edf0;\n  background: #fff;\n  color: #54708b;\n  font-size: 13px;\n}\n.bs-timepicker .switch-time-format img {\n  vertical-align: initial;\n  margin-left: 4px;\n}\n\nbs-datepicker-container,\nbs-daterangepicker-container {\n  z-index: 1080;\n}\n\n/* screen size < 1024px */\n@media (max-width: 768px) {\n  .bs-datepicker {\n    width: min-content;\n    justify-content: center;\n  }\n  .bs-datepicker-multiple {\n    display: flex;\n  }\n  .bs-datepicker-multiple + .bs-datepicker-multiple {\n    margin-top: 10px;\n    margin-left: 0;\n  }\n}\n/* theming */\n.theme-default .bs-datepicker-head {\n  background-color: #777;\n}\n.theme-default .btn-today-wrapper .btn-success, .theme-default .btn-clear-wrapper .btn-success {\n  background-color: #777;\n  border-color: #777;\n}\n.theme-default .btn-today-wrapper .btn-success:not(:disabled):not(.disabled):active:focus, .theme-default .btn-clear-wrapper .btn-success:not(:disabled):not(.disabled):active:focus {\n  box-shadow: none;\n}\n.theme-default .btn-today-wrapper .btn-success:focus, .theme-default .btn-clear-wrapper .btn-success:focus {\n  box-shadow: none;\n}\n.theme-default .btn-today-wrapper .btn-success:not(:disabled):not(.disabled):active, .theme-default .btn-clear-wrapper .btn-success:not(:disabled):not(.disabled):active {\n  background-color: #616161;\n  border-color: #616161;\n}\n.theme-default .btn-today-wrapper .btn-success:hover, .theme-default .btn-clear-wrapper .btn-success:hover {\n  background-color: #6F6E6E;\n  border-color: #6F6E6E;\n}\n.theme-default .bs-datepicker-predefined-btns button.selected {\n  background-color: #777;\n}\n.theme-default .bs-datepicker-body table td span.selected, .theme-default .bs-datepicker-body table td.selected span,\n.theme-default .bs-datepicker-body table td span[class*=select-]:after, .theme-default .bs-datepicker-body table td[class*=select-] span:after {\n  background-color: #777;\n}\n.theme-default .bs-datepicker-body table td.week span {\n  color: #777;\n}\n.theme-default .bs-datepicker-body table td.active-week span:hover {\n  
1cursor: pointer;\n  background-color: #777;\n  color: #fff;\n  opacity: 0.5;\n  transition: 0s;\n}\n\n.theme-green .bs-datepicker-head {\n  background-color: #5cb85c;\n}\n.theme-green .btn-today-wrapper .btn-success, .theme-green .btn-clear-wrapper .btn-success {\n  background-color: #5cb85c;\n  border-color: #5cb85c;\n}\n.theme-green .btn-today-wrapper .btn-success:not(:disabled):not(.disabled):active:focus, .theme-green .btn-clear-wrapper .btn-success:not(:disabled):not(.disabled):active:focus {\n  box-shadow: none;\n}\n.theme-green .btn-today-wrapper .btn-success:focus, .theme-green .btn-clear-wrapper .btn-success:focus {\n  box-shadow: none;\n}\n.theme-green .btn-today-wrapper .btn-success:not(:disabled):not(.disabled):active, .theme-green .btn-clear-wrapper .btn-success:not(:disabled):not(.disabled):active {\n  background-color: #1e7e34;\n  border-color: #1e7e34;\n}\n.theme-green .btn-today-wrapper .btn-success:hover, .theme-green .btn-clear-wrapper .btn-success:hover {\n  background-color: #218838;\n  border-color: #218838;\n}\n.theme-green .bs-datepicker-predefined-btns button.selected {\n  background-color: #5cb85c;\n}\n.theme-green .bs-datepicker-body table td span.selected, .theme-green .bs-datepicker-body table td.selected span,\n.theme-green .bs-datepicker-body table td span[class*=select-]:after, .theme-green .bs-datepicker-body table td[class*=select-] span:after {\n  background-color: #5cb85c;\n}\n.theme-green .bs-datepicker-body table td.week span {\n  color: #5cb85c;\n}\n.theme-green .bs-datepicker-body table td.active-week span:hover {\n  cursor: pointer;\n  background-color: #5cb85c;\n  color: #fff;\n  opacity: 0.5;\n  transition: 0s;\n}\n\n.theme-blue .bs-datepicker-head {\n  background-color: #5bc0de;\n}\n.theme-blue .btn-today-wrapper .btn-success, .theme-blue .btn-clear-wrapper .btn-success {\n  background-color: #5bc0de;\n  border-color: #5bc0de;\n}\n.theme-blue .btn-today-wrapper .btn-success:not(:disabled):not(.disabled):active:focus, .theme-blue .btn-clear-wrapper .btn-success:not(:disabled):not(.disabled):active:focus {\n  box-shadow: none;\n}\n.theme-blue .btn-today-wrapper .btn-success:focus, .theme-blue .btn-clear-wrapper .btn-success:focus {\n  box-shadow: none;\n}\n.theme-blue .btn-today-wrapper .btn-success:not(:disabled):not(.disabled):active, .theme-blue .btn-clear-wrapper .btn-success:not(:disabled):not(.disabled):active {\n  background-color: #2AA8CD;\n  border-color: #2AA8CD;\n}\n.theme-blue .btn-today-wrapper .btn-success:hover, .theme-blue .btn-clear-wrapper .btn-success:hover {\n  background-color: #3AB3D7;\n  border-color: #3AB3D7;\n}\n.theme-blue .bs-datepicker-predefined-btns button.selected {\n  background-color: #5bc0de;\n}\n.theme-blue .bs-datepicker-body table td span.selected, .theme-blue .bs-datepicker-body table td.selected span,\n.theme-blue .bs-datepicker-body table td span[class*=select-]:after, .theme-blue .bs-datepicker-body table td[class*=select-] span:after {\n  background-color: #5bc0de;\n}\n.theme-blue .bs-datepicker-body table td.week span {\n  color: #5bc0de;\n}\n.theme-blue .bs-datepicker-body table td.active-week span:hover {\n  cursor: pointer;\n  background-color: #5bc0de;\n  color: #fff;\n  opacity: 0.5;\n  transition: 0s;\n}\n\n.theme-dark-blue .bs-datepicker-head {\n  background-color: #337ab7;\n}\n.theme-dark-blue .btn-today-wrapper .btn-success, .theme-dark-blue .btn-clear-wrapper .btn-success {\n  background-color: #337ab7;\n  border-color: #337ab7;\n}\n.theme-dark-blue .btn-today-wrapper .btn-success:not(:disabled):not(.disabled):active:focus, .theme-dark-blue .btn-clear-wrapper .btn-success:not(:disabled):not(.disabled):active:focus {\n  box-shadow: none;\n}\n.theme-dark-blue .btn-today-wrapper .btn-success:focus, .theme-dark-blue .btn-clear-wrapper .btn-success:focus {\n  box-shadow: none;\n}\n.theme-dark-blue .btn-today-wrapper .btn-success:not(:disabled):not(.disabled):active, .theme-dark-blue .btn-clear-wrapper .btn-success:not(:disabled):not(.disabled):active {\n  background-color: #266498;\n  border-color: #266498;\n}\n.theme-dark-blue .btn-today-wrapper .btn-success:hover, .theme-dark-blue .btn-clear-wrapper .btn-success:hover {\n  background-color: #2C6FA9;\n  border-color: #2C6FA9;\n}\n.theme-dark-blue .bs-datepicker-predefined-btns button.selected {\n  background-color: #337ab7;\n}\n.theme-dark-blue .bs-datepicker-body table td span.selected, .theme-dark-blue .bs-datepicker-body table td.selected span,\n.theme-dark-blue .bs-datepicker-body table td span[class*=select-]:after, .theme-dark-blue .bs-datepicker-body table td[class*=select-] span:after {\n  background-color: #337ab7;\n}\n.theme-dark-blue .bs-datepicker-body table td.week span {\n  color: #337ab7;\n}\n.theme-dark-blue .bs-datepicker-body table td.active-week span:hover {\n  
1cursor: pointer;\n  background-color: #337ab7;\n  color: #fff;\n  opacity: 0.5;\n  transition: 0s;\n}\n\n.theme-red .bs-datepicker-head {\n  background-color: #d9534f;\n}\n.theme-red .btn-today-wrapper .btn-success, .theme-red .btn-clear-wrapper .btn-success {\n  background-color: #d9534f;\n  border-color: #d9534f;\n}\n.theme-red .btn-today-wrapper .btn-success:not(:disabled):not(.disabled):active:focus, .theme-red .btn-clear-wrapper .btn-success:not(:disabled):not(.disabled):active:focus {\n  box-shadow: none;\n}\n.theme-red .btn-today-wrapper .btn-success:focus, .theme-red .btn-clear-wrapper .btn-success:focus {\n  box-shadow: none;\n}\n.theme-red .btn-today-wrapper .btn-success:not(:disabled):not(.disabled):active, .theme-red .btn-clear-wrapper .btn-success:not(:disabled):not(.disabled):active {\n  background-color: #D23531;\n  border-color: #D23531;\n}\n.theme-red .btn-today-wrapper .btn-success:hover, .theme-red .btn-clear-wrapper .btn-success:hover {\n  background-color: #E33732;\n  border-color: #E33732;\n}\n.theme-red .bs-datepicker-predefined-btns button.selected {\n  background-color: #d9534f;\n}\n.theme-red .bs-datepicker-body table td span.selected, .theme-red .bs-datepicker-body table td.selected span,\n.theme-red .bs-datepicker-body table td span[class*=select-]:after, .theme-red .bs-datepicker-body table td[class*=select-] span:after {\n  background-color: #d9534f;\n}\n.theme-red .bs-datepicker-body table td.week span {\n  color: #d9534f;\n}\n.theme-red .bs-datepicker-body table td.active-week span:hover {\n  cursor: pointer;\n  background-color: #d9534f;\n  color: #fff;\n  opacity: 0.5;\n  transition: 0s;\n}\n\n.theme-orange .bs-datepicker-head {\n  background-color: #f0ad4e;\n}\n.theme-orange .btn-today-wrapper .btn-success, .theme-orange .btn-clear-wrapper .btn-success {\n  background-color: #f0ad4e;\n  border-color: #f0ad4e;\n}\n.theme-orange .btn-today-wrapper .btn-success:not(:disabled):not(.disabled):active:focus, .theme-orange .btn-clear-wrapper .btn-success:not(:disabled):not(.disabled):active:focus {\n  box-shadow: none;\n}\n.theme-orange .btn-today-wrapper .btn-success:focus, .theme-orange .btn-clear-wrapper .btn-success:focus {\n  box-shadow: none;\n}\n.theme-orange .btn-today-wrapper .btn-success:not(:disabled):not(.disabled):active, .theme-orange .btn-clear-wrapper .btn-success:not(:disabled):not(.disabled):active {\n  background-color: #ED9C29;\n  border-color: #ED9C29;\n}\n.theme-orange .btn-today-wrapper .btn-success:hover, .theme-orange .btn-clear-wrapper .btn-success:hover {\n  background-color: #FFAC35;\n  border-color: #FFAC35;\n}\n.theme-orange .bs-datepicker-predefined-btns button.selected {\n  background-color: #f0ad4e;\n}\n.theme-orange .bs-datepicker-body table td span.selected, .theme-orange .bs-datepicker-body table td.selected span,\n.theme-orange .bs-datepicker-body table td span[class*=select-]:after, .theme-orange .bs-datepicker-body table td[class*=select-] span:after {\n  background-color: #f0ad4e;\n}\n.theme-orange .bs-datepicker-body table td.week span {\n  color: #f0ad4e;\n}\n.theme-orange .bs-datepicker-body table td.active-week span:hover {\n  cursor: pointer;\n  background-color: #f0ad4e;\n  color: #fff;\n  opacity: 0.5;\n  transition: 0s;\n}\n',""]);const q=g},15:(V,b,x)=>{"use strict";x.d(b,{A:()=>q});var k=x(564),M=x.n(k),E=x(557),g=x.n(E)()(M());g.push([V.id,'@charset "UTF-8";\n/* Apply Fonts  */\n@font-face {\n  font-family: "averta-thin";\n  src: url(\'Averta-Thin.otf\') format("truetype"); /* chrome\xe3\u20ac\x81firefox\xe3\u20ac\x81opera\xe3\u20ac\x81Safari, Android, iOS 4.2+*/\n}\n@font-face {\n  font-family: "averta-regular";\n  src: url(\'Averta-Regular.otf\') format("truetype"); /* chrome\xe3\u20ac\x81firefox\xe3\u20ac\x81opera\xe3\u20ac\x81Safari, Android, iOS 4.2+*/\n}\n@font-face {\n  font-family: "averta-black";\n  src: url(\'Averta-Black.otf\') format("truetype"); /* chrome\xe3\u20ac\x81firefox\xe3\u20ac\x81opera\xe3\u20ac\x81Safari, Android, iOS 4.2+*/\n}\n@font-face {\n  font-family: "averta-semibold";\n  src: url(\'Averta-Semibold.otf\') format("truetype"); /* chrome\xe3\u20ac\x81firefox\xe3\u20ac\x81opera\xe3\u20ac\x81Safari, Android, iOS 4.2+*/\n}\n@font-face {\n  font-family: "averta-bold";\n  src: url(\'Averta-Bold.otf\') format("truetype"); /* chrome\xe3\u20ac\x81firefox\xe3\u20ac\x81opera\xe3\u20ac\x81Safari, Android, iOS 4.2+*/\n}\n@font-face {\n  font-family: "averta-extrabold";\n  src: url(\'Averta-ExtraBold.otf\') format("truetype"); /* chrome\xe3\u20ac\x81firefox\xe3\u20ac\x81opera\xe3\u20ac\x81Safari, Android, iOS 4.2+*/\n}',""]);const q=g},148:(V,b,x)=>{"use strict";x.d(b,{A:()=>q});var k=x(564),M=x.n(k),E=x(557),g=x.n(E)()(M());g.push([V.id,'/* You can add global styles to this file, and also import other style files */\n/**\nColors\n */\n/**\nFonts\n */\n/* Generate font-weight class */\n.weight-400 {\n  font-weight: 400 !important;\n}\n\n.weight-500 {\n  font-weight: 500 !important;\n}\n\n.weight-600 {\n  font-weight: 600 !important;\n}\n\n.weight-700 {\n  font-weight: 700 !important;\n}\n\n.weight-800 {\n  font-weight: 800 !important;\n}\n\n/* Generate tingg-gray color class for text */\n.tingg-grey-900 {\n  color: #282828 !important;\n}\n\n.tingg-grey-800 {\n  color: #424242 !important;\n}\n\n.tingg-grey-700 {\n  color: #5B5B5B !important;\n}\n\n.tingg-grey-600 {\n  color: #757575 !important;\n}\n\n.tingg-grey-500 {\n  color: #8E8E8E !important;\n}\n\n.tingg-grey-400 {\n  color: #A8A8A8 !important;\n}\n\n.tingg-grey-300 {\n  color: #C1C1C1 !important;\n}\n\n.tingg-grey-200 {\n  color: #DBDBDB !important;\n}\n\n.tingg-grey-100 {\n  color: #F4F4F4 !important;\n}\n\n/* Generate tingg-blue color class for text */\n.tingg-brand-900 {\n  color: #193367;\n}\n\n.tingg-brand-800 {\n  color: #284278;\n}\n\n.tingg-brand-700 {\n  color: #39548C;\n}\n\n.tingg-brand-600 {\n  color: #4E69A0;\n}\n\n.tingg-brand-500 {\n  color: #6781B4;\n}\n\n.tingg-brand-400 {\n  color: #829BC8;\n}\n\n.tingg-brand-300 {\n  color: #A1B6DC;\n}\n\n.tingg-brand-200 {\n  color: #C4D3F0;\n}\n\n.tingg-brand-100 {\n  color: #E4EEFF;\n}\n\n.app-v2 .btn {\n  font-size: 14px;\n}\n.app-v2 .btn-tingg {\n  min-width: 135px;\n  height: 48px;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  gap: 5px;\n  font-weight: 500;\n  font-size: 16px;\n}\n.app-v2 .btn-default {\n  background-color: transparent;\n  border-color: #193266;\n  color: #193266;\n}\n.app-v2 .btn-primary {\n  background-color: #193266 !important;\n  border-color: #193266;\n  box-shadow: none !important;\n}\n.app-v2 .btn-primary:hover {\n  background-color: #193266;\n  border-color: #193266;\n  outline: none;\n  opacity: 0.7;\n}\n.app-v2 .btn-outline-primary {\n  color: #193266 !important;\n  border-color: #193266 !important;\n}
1\n.app-v2 .btn-outline-primary:hover {\n  color: #FFFFFF !important;\n  background-color: #193266 !important;\n  border-color: #193266 !important;\n}\n.app-v2 .btn-danger {\n  background-color: #E15D3B;\n  border-color: #E15D3B;\n}\n.app-v2 .btn-default-danger {\n  background-color: transparent;\n  border-color: #E15D3B;\n  color: #E15D3B;\n}\n.app-v2 .btn-text {\n  background-color: transparent;\n  border: none;\n  min-width: auto;\n  color: #193266;\n}\n.app-v2 .btn-icon {\n  cursor: pointer;\n  width: 30px;\n  height: 30px;\n  border-radius: 50%;\n  display: flex;\n  justify-content: center;\n  align-items: center;\n}\n.app-v2 .btn-icon:hover {\n  background-color: #F1F1F1;\n}\n.app-v2 .radio-md {\n  width: 15px;\n  height: 15px;\n}\n.app-v2 .btn-tingg-header {\n  height: 40px;\n  border-radius: 6px;\n}\n.app-v2 .btn-outline-brand {\n  color: #193367 !important;\n  border-color: #193367 !important;\n  border-width: 1.5px !important;\n}\n.app-v2 .btn-outline-brand svg path {\n  stroke: #193367 !important;\n}\n.app-v2 .btn-outline-brand svg circle {\n  stroke: #193367 !important;\n}\n.app-v2 .btn-outline-brand:hover svg path {\n  fill: unset !important;\n}\n.app-v2 .btn-outline-brand:hover:not([disabled]) {\n  background: #E4EEFF !important;\n  background-color: #E4EEFF !important;\n  color: #284278 !important;\n  border-color: #284278 !important;\n}\n.app-v2 .btn-outline-brand:active {\n  background: #E4EEFF !important;\n  background-color: #E4EEFF !important;\n  color: #4E69A0 !important;\n  border-color: #4E69A0 !important;\n}\n.app-v2 .btn-brand {\n  background: #193367 !important;\n  background-color: #193367 !important;\n  border-color: #193367 !important;\n  font-family: Montserrat-SemiBold, sans-serif !important;\n  color: #FFFFFF !important;\n}\n.app-v2 .btn-brand svg path {\n  stroke: #FFFFFF;\n}\n.app-v2 .btn-brand svg circle {\n  stroke: #FFFFFF;\n}\n.app-v2 .btn-brand:hover svg path {\n  fill: unset !important;\n}\n.app-v2 .btn-brand:hover:not([disabled]) {\n  background: #284278 !important;\n  background-color: #284278 !important;\n}\n.app-v2 .btn-brand:active {\n  background: #4E69A0 !important;\n  background-color: #4E69A0 !important;\n}\n.app-v2 .btn-brand:disabled {\n  background: #F4F4F4 !important;\n  background-color: #F4F4F4 !important;\n  color: #A8A8A8 !important;\n}
1\n.app-v2 .btn-tertiary {\n  background: transparent !important;\n  background-color: transparent !important;\n  color: #193367 !important;\n}\n.app-v2 .btn-tertiary:hover {\n  color: #284278 !important;\n}\n.app-v2 .btn-tertiary:active {\n  color: #4E69A0 !important;\n}\n.app-v2 .btn-tertiary:disabled {\n  color: #A8A8A8 !important;\n}\n\n.main-section.design-v1 .btn {\n  font-size: 12px !important;\n  font-family: Montserrat, sans-serif !important;\n  font-weight: 500 !important;\n  border-radius: 6px !important;\n  transition: background-color 0.3s, color 0.3s, border-color 0.3s;\n}\n\n/**\nColors\n */\n/**\nFonts\n */\n/* Generate font-weight class */\n.weight-400 {\n  font-weight: 400 !important;\n}\n\n.weight-500 {\n  font-weight: 500 !important;\n}\n\n.weight-600 {\n  font-weight: 600 !important;\n}\n\n.weight-700 {\n  font-weight: 700 !important;\n}\n\n.weight-800 {\n  font-weight: 800 !important;\n}\n\n/* Generate tingg-gray color class for text */\n.tingg-grey-900 {\n  color: #282828 !important;\n}\n\n.tingg-grey-800 {\n  color: #424242 !important;\n}\n\n.tingg-grey-700 {\n  color: #5B5B5B !important;\n}\n\n.tingg-grey-600 {\n  color: #757575 !important;\n}\n\n.tingg-grey-500 {\n  color: #8E8E8E !important;\n}\n\n.tingg-grey-400 {\n  color: #A8A8A8 !important;\n}\n\n.tingg-grey-300 {\n  color: #C1C1C1 !important;\n}\n\n.tingg-grey-200 {\n  color: #DBDBDB !important;\n}\n\n.tingg-grey-100 {\n  color: #F4F4F4 !important;\n}\n\n/* Generate tingg-blue color class for text */\n.tingg-brand-900 {\n  color: #193367;\n}\n\n.tingg-brand-800 {\n  color: #284278;\n}\n\n.tingg-brand-700 {\n  color: #39548C;\n}\n\n.tingg-brand-600 {\n  color: #4E69A0;\n}\n\n.tingg-brand-500 {\n  color: #6781B4;\n}\n\n.tingg-brand-400 {\n  color: #829BC8;\n}\n\n.tingg-brand-300 {\n  color: #A1B6DC;\n}\n\n.tingg-brand-200 {\n  color: #C4D3F0;\n}\n\n.tingg-brand-100 {\n  color: #E4EEFF;\n}\n\n/**\nColors\n */\n/**\nFonts\n */\n/* Generate font-weight class */\n.weight-400 {\n  font-weight: 400 !important;\n}\n\n.weight-500 {\n  font-weight: 500 !important;\n}\n\n.weight-600 {\n  font-weight: 600 !important;\n}\n\n.weight-700 {\n  font-weight: 700 !important;\n}\n\n.weight-800 {\n  font-weight: 800 !important;\n}\n\n/* Generate tingg-gray color class for text */\n.tingg-grey-900 {\n  color: #282828 !important;\n}\n\n.tingg-grey-800 {\n  color: #424242 !important;\n}\n\n.tingg-grey-700 {\n  color: #5B5B5B !important;\n}\n\n.tingg-grey-600 {\n  color: #757575 !important;\n}\n\n.tingg-grey-500 {\n  color: #8E8E8E !important;\n}\n\n.tingg-grey-400 {\n  color: #A8A8A8 !important;\n}\n\n.tingg-grey-300 {\n  color: #C1C1C1 !important;\n}\n\n.tingg-grey-200 {\n  color: #DBDBDB !important;\n}\n\n.tingg-grey-100 {\n  color: #F4F4F4 !important;\n}\n\n/* Generate tingg-blue color class for text */\n.tingg-brand-900 {\n  color: #193367;\n}\n\n.tingg-brand-800 {\n  color: #284278;\n}\n\n.tingg-brand-700 {\n  color: #39548C;\n}\n\n.tingg-brand-600 {\n  color: #4E69A0;\n}\n\n.tingg-brand-500 {\n  color: #6781B4;\n}\n\n.tingg-brand-400 {\n  color: #829BC8;\n}\n\n.tingg-brand-300 {\n  color: #A1B6DC;\n}\n\n.tingg-brand-200 {\n  color: #C4D3F0;\n}\n\n.tingg-brand-100 {\n  color: #E4EEFF;\n}\n\n.app-v2 .dropdown-container svg {\n  object-fit: cover;\n  width: 24px;\n  height: 24px;\n}\n.app-v2 .dropdown-container .dropdown-btn {\n  padding: 8px 12px;\n  height: 48px;\n  background: #FFFFFF;\n  border: 1px solid #E9E9E9;\n  border-radius: 25px;\n  min-width: 150px;\n}\n.app-v2 .dropdown-container .dropdown-btn .selected-option {\n  display: flex;\n  flex-direction: row;\n  justify-content: space-between;\n  align-items: center;\n  gap: 21px;\n}\n.app-v2 .dropdown-container .dropdown-btn .selected-option .label {\n  font-weight: 500;\n  font-size: 14px;\n  line-height: 17px;\n  color: #193266;\n  margin: 0;\n}\n.app-v2 .dropdown-menu {\n  background: #FFFFFF;\n  overflow-y: auto;\n  max-height: 400px !important;\n  padding: 10px;\n  border: none;\n  box-shadow: 0 20px 55px -20px rgba(3, 17, 64, 0.25) !important;\n  border-radius: 5px;\n}\n.app-v2 .dropdown-menu a {\n  text-decoration: none;\n}\n.app-v2 .dropdown-menu .dropdown-item, .app-v2 .dropdown-menu li > a {\n  display: flex;\n  padding: 5px !important;\n  gap: 10px;\n  width: 175px !important;\n  flex-direction: row;\n  justify-content: flex-start;\n  align-items: center;
1\n  color: #242533 !important;\n  border-radius: 3px;\n}\n.app-v2 .dropdown-menu .dropdown-item a, .app-v2 .dropdown-menu li > a a {\n  color: #242533 !important;\n  width: 100%;\n}\n.app-v2 .dropdown-menu .dropdown-item:focus, .app-v2 .dropdown-menu .dropdown-item:hover, .app-v2 .dropdown-menu .dropdown-item:active, .app-v2 .dropdown-menu .dropdown-item .active, .app-v2 .dropdown-menu li > a:focus, .app-v2 .dropdown-menu li > a:hover, .app-v2 .dropdown-menu li > a:active, .app-v2 .dropdown-menu li > a .active {\n  background: rgba(0, 91, 160, 0.12) !important;\n  color: #193266 !important;\n}\n.app-v2 .dropdown-menu .dropdown-item svg, .app-v2 .dropdown-menu li > a svg {\n  object-fit: cover;\n  width: 24px;\n  height: 24px;\n}\n.app-v2 .dropdown-toggle::after {\n  content: none;\n}\n\n.main-section.design-v1 .dropdown-toggle::after {\n  content: none !important;\n}\n\nbody {\n  color: #222222;\n  font-family: Montserrat-Regular, sans-serif !important;\n}\n\n.top-nav-menu {\n  font-size: 0.85rem !important;\n}\n\n.tooltip-inner {\n  background-color: #fff !important;\n  color: #222222 !important;\n  box-shadow: 0px 0px 2px #e1e3e5, 0px 4px 8px rgba(25, 28, 31, 0.16) !important;\n}\n\n.tooltip.top .tooltip-arrow:before,\n.tooltip.top .tooltip-arrow {\n  border-top-color: #fff !important;\n}\n\n.nav-toggle {\n  display: block;\n  padding: 25px 19px;\n  width: 18px;\n  height: 2px;\n  border: 0;\n  box-sizing: content-box;\n  background-clip: content-box;\n  transition: background-color 500ms ease-in-out 250ms;\n  background-color: #6C7175;\n  outline: 0;\n  text-decoration: none;\n}\n.nav-toggle:focus, .nav-toggle:active {\n  outline: 0;\n  text-decoration: none;\n}\n.nav-toggle:before, .nav-toggle:after {\n  position: relative;\n  content: "";\n  display: block;\n  width: 18px;\n  height: 2px;\n  background-color: #6C7175;\n  transition: transform 500ms ease-in-out;\n}\n.nav-toggle:before {\n  top: -6px;\n}\n.nav-toggle:after {\n  bottom: -4px;\n}\n.nav-toggle__text {\n  display: none;\n}\n.nav-toggle--active {\n  background-color: rgba(255, 255, 255, 0);\n  transition-delay: 0s;\n}\n.nav-toggle--active:before {\n  transform: translateY(6px) rotate(-225deg);\n}\n.nav-toggle--active:after {\n  transform: translateY(-6px) rotate(225deg);\n}\n\n.brand-title {\n  text-overflow: ellipsis;\n  overflow: hidden;\n  /* word-break: break-word; */\n  /* white-space: nowrap; */\n  /* width: 100px; */\n  display: inline-block !important;\n  max-width: 170px !important;\n  margin: 0;\n}',""]);const q=g},72:V=>{"use strict";var b=[];function x(E){for(var j=-1,g=0;g<b.length;g++)if(b[g].identifier===E){j=g;break}return j}function k(E,j){for(var g={},q=[],O=0;O<E.length;O++){var z=E[O],ie=j.base?z[0]+j.base:z[0],he=g[ie]||0,W="".concat(ie," ").concat(he);g[ie]=he+1;var _=x(W),ee={css:z[1],media:z[2],sourceMap:z[3],supports:z[4],layer:z[5]};if(-1!==_)b[_].references++,b[_].updater(ee);else{var H=M(ee,j);j.byIndex=O,b.splice(O,0,{identifier:W,updater:H,references:1})}q.push(W)}return q}function M(E,j){var g=j.domAPI(j);return g.update(E),function(z){if(z){if(z.css===E.css&&z.media===E.media&&z.sourceMap===E.sourceMap&&z.supports===E.supports&&z.layer===E.layer)return;g.update(E=z)}else g.remove()}}V.exports=function(E,j){var g=k(E=E||[],j=j||{});return function(O){O=O||[];for(var z=0;z<g.length;z++){var he=x(g[z]);b[he].references--}for(var W=k(O,j),_=0;_<g.length;_++){var H=x(g[_]);0===b[H].references&&(b[H].updater(),b.splice(H,1))}g=W}}},659:V=>{"use strict";var b={};V.exports=function k(M,E){var j=function x(M){if(typeof b[M]>"u"){var E=document.querySelector(M);if(window.HTMLIFrameElement&&E instanceof window.HTMLIFrameElement)try{E=E.contentDocument.head}catch{E=null}b[M]=E}return b[M]}(M);if(!j)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");j.appendChild(E)}},540:V=>{"use strict";V.exports=function b(x){var k=document.createElement("style");return x.setAttributes(k,x.attributes),x.insert(k,x.options),k}},56:(V,b,x)=>{"use strict";V.exports=function k(M){var E=x.nc;E&&M.setAttribute("nonce",E)}},825:V=>{"use strict";
1V.exports=function k(M){if(typeof document>"u")return{update:function(){},remove:function(){}};var E=M.insertStyleElement(M);return{update:function(g){!function b(M,E,j){var g="";j.supports&&(g+="@supports (".concat(j.supports,") {")),j.media&&(g+="@media ".concat(j.media," {"));var q=typeof j.layer<"u";q&&(g+="@layer".concat(j.layer.length>0?" ".concat(j.layer):""," {")),g+=j.css,q&&(g+="}"),j.media&&(g+="}"),j.supports&&(g+="}");var O=j.sourceMap;O&&typeof btoa<"u"&&(g+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(O))))," */")),E.styleTagTransform(g,M,E.options)}(E,M,g)},remove:function(){!function x(M){if(null===M.parentNode)return!1;M.parentNode.removeChild(M)}(E)}}}},113:V=>{"use strict";V.exports=function b(x,k){if(k.styleSheet)k.styleSheet.cssText=x;else{for(;k.firstChild;)k.removeChild(k.firstChild);k.appendChild(document.createTextNode(x))}}}},hd={};function X(V){var b=hd[V];if(void 0!==b)return b.exports;var x=hd[V]={id:V,loaded:!1,exports:{}};return e7[V].call(x.exports,x,x.exports,X),x.loaded=!0,x.exports}X.n=V=>{var b=V&&V.__esModule?()=>V.default:()=>V;return X.d(b,{a:b}),b},X.d=(V,b)=>{for(var x in b)X.o(b,x)&&!X.o(V,x)&&Object.defineProperty(V,x,{enumerable:!0,get:b[x]})},X.o=(V,b)=>Object.prototype.hasOwnProperty.call(V,b),X.r=V=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(V,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(V,"__esModule",{value:!0})},X.nmd=V=>(V.paths=[],V.children||(V.children=[]),V),X.p="https://app.tingg.africa/top-navigation/",X.nc=void 0;var h1={};return(()=>{"use strict";var V=X(72),b=X.n(V),x=X(825),k=X.n(x),M=X(659),E=X.n(M),j=X(56),g=X.n(j),q=X(540),O=X.n(q),z=X(113),ie=X.n(z),he=X(391),W={};W.styleTagTransform=ie(),W.setAttributes=g(),W.insert=E().bind(null,"head"),W.domAPI=k(),W.insertStyleElement=O(),b()(he.A,W)})(),(()=>{"use strict";var V=X(72),b=X.n(V),x=X(825),k=X.n(x),M=X(659),E=X.n(M),j=X(56),g=X.n(j),q=X(540),O=X.n(q),z=X(113),ie=X.n(z),he=X(148),W={};W.styleTagTransform=ie(),W.setAttributes=g(),W.insert=E().bind(null,"head"),W.domAPI=k(),W.insertStyleElement=O(),b()(he.A,W)})(),(()=>{"use strict";var V=X(72),b=X.n(V),x=X(825),k=X.n(x),M=X(659),E=X.n(M),j=X(56),g=X.n(j),q=X(540),O=X.n(q),z=X(113),ie=X.n(z),he=X(15),W={};W.styleTagTransform=ie(),W.setAttributes=g(),W.insert=E().bind(null,"head"),W.domAPI=k(),W.insertStyleElement=O(),b()(he.A,W)})(),(()=>{"use strict";X.r(h1),X.d(h1,{bootstrap:()=>kie,mount:()=>Rie,unmount:()=>Oie});let b=null,k=1;const M=Symbol("SIGNAL");function E(e){const t=b;return b=e,t}const O={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function he(e){if((!we(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==k)){if
vendor: 5,137 bytes, line 1
1(!e.producerMustRecompute(e)&&!xt(e))return e.dirty=!1,void(e.lastCleanEpoch=k);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=k}}function H(e){return e&&(e.nextProducerIndex=0),E(e)}function xt(e){Be(e);for(let t=0;t<e.producerNode.length;t++){const n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(he(n),r!==n.version))return!0}return!1}function Ae(e){if(Be(e),we(e))for(let t=0;t<e.producerNode.length;t++)Se(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function Se(e,t){if(function Ge(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}(e),1===e.liveConsumerNode.length&&function He(e){return void 0!==e.producerNode}(e))for(let r=0;r<e.producerNode.length;r++)Se(e.producerNode[r],e.producerIndexOfThis[r]);const n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){const r=e.liveConsumerIndexOfThis[t],i=e.liveConsumerNode[t];Be(i),i.producerIndexOfThis[r]=t}}function we(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function Be(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let Vr=null;function Ne(e){return"function"==typeof e}function Me(e){const n=e(r=>{Error.call(r),r.stack=(new Error).stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}const ho=Me(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((r,i)=>`${i+1}) ${r.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=n});function or(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class G{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(const o of n)o.remove(this);else n.remove(this);const{initialTeardown:r}=this;if(Ne(r))try{r()}catch(o){t=o instanceof ho?o.errors:[o]}const{_finalizers:i}=this;if(i){this._finalizers=null;for(const o of i)try{U(o)}catch(s){t=t??[],s instanceof ho?t=[...t,...s.errors]:t.push(s)}}if(t)throw new ho(t)}}add(t){var n;if(t&&t!==this)if(this.closed)U(t);else{if(t instanceof G){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}}_hasParent(t){const{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){const{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){const{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&or(n,t)}remove(t){const{_finalizers:n}=this;n&&or(n,t),t instanceof G&&t._removeParent(this)}}G.EMPTY=(()=>{const e=new G;return e.closed=!0,e})();const Js=G.EMPTY;function je(e){return e instanceof G||e&&"closed"in e&&Ne(e.remove)&&Ne(e.add)&&Ne(e.unsubscribe)}function U(e){Ne(e)?e():e.unsubscribe()}const me={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Rt={setTimeout(e,t,...n){const{delegate:r}=Rt;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=Rt;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Z(e){Rt.setTimeout(()=>{const{onUnhandledError:t}=me;if(!t)throw e;t(e)})}function Qc(){}const p1=Ks("C",void 0,void 0);function Ks(e,t,n){return{kind:e,value:t,error:n}}let fi=null;function Ys(e){if(me.useDeprecatedSynchronousErrorHandling){const t=!fi;if(t&&(fi={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=fi;if(fi=null,n)throw r}}else e()}class Qt extends G{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,je(t)&&t.add(this)):this.destination=CD}static create(t,n,r){return new C1(t,n,r)}next(t){this.isStopped?v1(function m1(e){return Ks("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?v1(function g1(e){return Ks("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?v1(p1,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const gt=Function.prototype.bind;function Ve(e,t){return gt.call(e,t)}class sr{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){pd(r)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){pd(r)}else pd(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){pd(n)}}}class C1 extends Qt{constructor(t,n,r){let i;if(super(),Ne(t)||!t)i={next:t??void 0,error:n??void 0,complete:r??void 0};else{let o;
vendor: 4,993 bytes, line 1
1this&&me.useDeprecatedNextContext?(o=Object.create(t),o.unsubscribe=()=>this.unsubscribe(),i={next:t.next&&Ve(t.next,o),error:t.error&&Ve(t.error,o),complete:t.complete&&Ve(t.complete,o)}):i=t}this.destination=new sr(i)}}function pd(e){me.useDeprecatedSynchronousErrorHandling?function hn(e){me.useDeprecatedSynchronousErrorHandling&&fi&&(fi.errorThrown=!0,fi.error=e)}(e):Z(e)}function v1(e,t){const{onStoppedNotification:n}=me;n&&Rt.setTimeout(()=>n(e,t))}const CD={closed:!0,next:Qc,error:function mD(e){throw e},complete:Qc},y1="function"==typeof Symbol&&Symbol.observable||"@@observable";function Jo(e){return e}function t7(e){return 0===e.length?Jo:1===e.length?e[0]:function(n){return e.reduce((r,i)=>i(r),n)}}let Ft=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){const r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,i){const o=function AD(e){return e&&e instanceof Qt||function yD(e){return e&&Ne(e.next)&&Ne(e.error)&&Ne(e.complete)}(e)&&je(e)}(n)?n:new C1(n,r,i);return Ys(()=>{const{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return new(r=n7(r))((i,o)=>{const s=new C1({next:a=>{try{n(a)}catch(c){o(c),s.unsubscribe()}},error:o,complete:i});this.subscribe(s)})}_subscribe(n){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(n)}[y1](){return this}pipe(...n){return t7(n)(this)}toPromise(n){return new(n=n7(n))((r,i)=>{let o;this.subscribe(s=>o=s,s=>i(s),()=>r(o))})}}return e.create=t=>new e(t),e})();function n7(e){var t;return null!==(t=e??me.Promise)&&void 0!==t?t:Promise}const bD=Me(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Nt=(()=>{class e extends Ft{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new r7(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new bD}next(n){Ys(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){Ys(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;const{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){Ys(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return(null===(n=this.observers)||void 0===n?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){const{hasError:r,isStopped:i,observers:o}=this;return r||i?Js:(this.currentObservers=null,o.push(n),new G(()=>{this.currentObservers=null,or(o,n)}))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:i,isStopped:o}=this;r?n.error(i):o&&n.complete()}asObservable(){const n=new Ft;return n.source=this,n}}return e.create=(t,n)=>new r7(t,n),e})();class r7 extends Nt{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.next)||void 0===r||r.call(n,t)}error(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.error)||void 0===r||r.call(n,t)}complete(){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===n||n.call(t)}_subscribe(t){var n,r;return null!==(r=null===(n=this.source)||void 0===n?void 0:n.subscribe(t))&&void 0!==r?r:Js}}class _r extends Nt{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){const{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}}function i7(e){return Ne(e?.lift)}function an(e){return t=>{if(i7(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function Jt(e,t,n,r,i){return new ED(e,t,n,r,i)}class ED extends Qt{constructor(t,n,r,i,o,s){super(t),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=i?function(a){try{i(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:n}=this;super.unsubscribe(),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function ke(e,t){return an((n,r)=>{let i=0;n.subscribe(Jt(r,o=>{r.next(e.call(t,o,i++))}))})}const o7="https://g.co/ng/security#xss";
1class w extends Error{constructor(t,n){super(function Xs(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function Qi(e){return{toString:e}.toString()}const ea="__parameters__";function na(e,t,n){return Qi(()=>{const r=function A1(e){return function(...n){if(e){const r=e(...n);for(const i in r)this[i]=r[i]}}}(t);function i(...o){if(this instanceof i)return r.apply(this,o),this;const s=new i(...o);return a.annotation=s,a;function a(c,l,u){const d=c.hasOwnProperty(ea)?c[ea]:Object.defineProperty(c,ea,{value:[]})[ea];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),c}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}const bt=globalThis;function nt(e){for(let t in e)if(e[t]===nt)return t;throw Error("Could not find renamed property on target object.")}function Kt(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Kt).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function b1(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const wD=nt({__forward_ref__:nt});function E1(e){return e.__forward_ref__=E1,e.toString=function(){return Kt(this())},e}function le(e){return md(e)?e():e}function md(e){return"function"==typeof e&&e.hasOwnProperty(wD)&&e.__forward_ref__===E1}function F(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function On(e){return{providers:e.providers||[],imports:e.imports||[]}}function Cd(e){return l7(e,yd)||l7(e,u7)}function l7(e,t){return e.hasOwnProperty(t)?e[t]:null}function vd(e){return e&&(e.hasOwnProperty(_1)||e.hasOwnProperty(xD))?e[_1]:null}const yd=nt({\u0275prov:nt}),_1=nt({\u0275inj:nt}),u7=nt({ngInjectableDef:nt}),xD=nt({ngInjectorDef:nt});class Q{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=F({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function T1(e){return e&&!!e.\u0275providers}const zc=nt({\u0275cmp:nt}),M1=nt({\u0275dir:nt}),x1=nt({\u0275pipe:nt}),f7=nt({\u0275mod:nt}),zi=nt({\u0275fac:nt}),Zc=nt({__NG_ELEMENT_ID__:nt}),h7=nt({__NG_ENV_ID__:nt});function Ce(e){return"string"==typeof e?e:null==e?"":String(e)}function k1(e,t){throw new w(-201,!1)}var Re=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(Re||{});let R1;function p7(){return R1}function zn(e){const t=R1;return R1=e,t}function g7(e,t,n){const r=Cd(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&Re.Optional?null:void 0!==t?t:void k1()}const Gc={},O1="__NG_DI_FLAG__",Ad="ngTempTokenPath",PD=/\n/gm,m7="__source";let ra;function go(e){const t=ra;return ra=e,t}function HD(e,t=Re.Default){if(void 0===ra)throw new w(-203,!1);return null===ra?g7(e,void 0,t):ra.get(e,t&Re.Optional?null:void 0,t)}function B(e,t=Re.Default){return(p7()||HD)(le(e),t)}function D(e,t=Re.Default){return B(e,bd(t))}function bd(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function N1(e){const t=[];for(let n=0;n<e.length;n++){const r=le(e[n]);if(Array.isArray(r)){if(0===r.length)throw new w(900,!1);let i,o=Re.Default;for(let s=0;s<r.length;s++){const a=r[s],c=VD(a);"number"==typeof c?-1===c?i=a.token:o|=c:i=a}t.push(B(i,o))}else t.push(B(r))}return t}function Wc(e,t){return e[O1]=t,e.prototype[O1]=t,e}function VD(e){return e[O1]}const v7=Wc(na("Inject",e=>({token:e})),-1),Ed=Wc(na("Optional"),8),_d=Wc(na("SkipSelf"),4);function Ko(e,t){return e.hasOwnProperty(zi)?e[zi]:null}function ia(e,t){e.forEach(n=>Array.isArray(n)?ia(n,t):t(n))}function y7(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function wd(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function lr(e,t,n){let r=oa(e,t);return r>=0?e[1|r]=n:(r=~r,function A7(e,t,n,r){let i=e.length;if(i==t)e.push(n,r);else if(1===i)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;)e[i]=e[i-2],i--;
vendor: 4,489 bytes, line 1
1e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function P1(e,t){const n=oa(e,t);if(n>=0)return e[1|n]}function oa(e,t){return function b7(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){const o=r+(i-r>>1),s=e[o<<n];if(t===s)return o<<n;s>t?i=o:r=o+1}return~(i<<n)}(e,t,1)}const hi={},Qe=[],pi=new Q(""),E7=new Q("",-1),F1=new Q("");class Sd{get(t,n=Gc){if(n===Gc){const r=new Error(`NullInjectorError: No provider for ${Kt(t)}!`);throw r.name="NullInjectorError",r}return n}}var Dd=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Dd||{}),wr=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(wr||{}),mo=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(mo||{});function GD(e,t,n){let r=e.length;for(;;){const i=e.indexOf(t,n);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){const o=t.length;if(i+o===r||e.charCodeAt(i+o)<=32)return i}n=i+1}}function B1(e,t,n){let r=0;for(;r<n.length;){const i=n[r];if("number"==typeof i){if(0!==i)break;r++;const o=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,o)}else{const o=i,s=n[++r];w7(o)?e.setProperty(t,o,s):e.setAttribute(t,o,s),r++}}return r}function _7(e){return 3===e||4===e||6===e}function w7(e){return 64===e.charCodeAt(0)}function qc(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const i=t[r];"number"==typeof i?n=i:0===n||I7(e,n,i,null,-1===n||2===n?t[++r]:null)}}return e}function I7(e,t,n,r,i){let o=0,s=e.length;if(-1===t)s=-1;else for(;o<e.length;){const a=e[o++];if("number"==typeof a){if(a===t){s=-1;break}if(a>t){s=o-1;break}}}for(;o<e.length;){const a=e[o];if("number"==typeof a)break;if(a===n){if(null===r)return void(null!==i&&(e[o+1]=i));if(r===e[o+1])return void(e[o+2]=i)}o++,null!==r&&o++,null!==i&&o++}-1!==s&&(e.splice(s,0,t),o=s+1),e.splice(o++,0,n),null!==r&&e.splice(o++,0,r),null!==i&&e.splice(o++,0,i)}const S7="ng-template";function WD(e,t,n,r){let i=0;if(r){for(;i<t.length&&"string"==typeof t[i];i+=2)if("class"===t[i]&&-1!==GD(t[i+1].toLowerCase(),n,0))return!0}else if(H1(e))return!1;if(i=t.indexOf(1,i),i>-1){let o;for(;++i<t.length&&"string"==typeof(o=t[i]);)if(o.toLowerCase()===n)return!0}return!1}function H1(e){return 4===e.type&&e.value!==S7}function qD(e,t,n){return t===(4!==e.type||n?e.value:S7)}function JD(e,t,n){let r=4;const i=e.attrs,o=null!==i?function XD(e){for(let t=0;t<e.length;t++)if(_7(e[t]))return t;return e.length}(i):0;let s=!1;for(let a=0;a<t.length;a++){const c=t[a];if("number"!=typeof c){if(!s)if(4&r){if(r=2|1&r,""!==c&&!qD(e,c,n)||""===c&&1===t.length){if(jr(r))return!1;s=!0}}else if(8&r){if(null===i||!WD(e,i,c,n)){if(jr(r))return!1;s=!0}}else{const l=t[++a],u=KD(c,i,H1(e),n);if(-1===u){if(jr(r))return!1;s=!0;continue}if(""!==l){let d;if(d=u>o?"":i[u+1].toLowerCase(),2&r&&l!==d){if(jr(r))return!1;s=!0}}}}else{if(!s&&!jr(r)&&!jr(c))return!1;if(s&&jr(c))continue;s=!1,r=c|1&r}}return jr(r)||s}function jr(e){return!(1&e)}function KD(e,t,n,r){if(null===t)return-1;let i=0;if(r||!n){let o=!1;for(;i<t.length;){const s=t[i];if(s===e)return i;if(3===s||6===s)o=!0;else{if(1===s||2===s){let a=t[++i];for(;"string"==typeof a;)a=t[++i];continue}if(4===s)break;if(0===s){i+=4;continue}}i+=o?1:2}return-1}return function $D(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function D7(e,t,n=!1){for(let r=0;r<t.length;r++)if(JD(e,t[r],n))return!0;return!1}function eT(e,t){e:for(let n=0;n<t.length;n++){const r=t[n];if(e.length===r.length){for(let i=0;i<e.length;i++)if(e[i]!==r[i])continue e;return!0}}return!1}function T7(e,t){return e?":not("+t.trim()+")":t}function tT(e){let t=e[0],n=1,r=2,i="",o=!1;for(;n<e.length;){let s=e[n];if("string"==typeof s)if(2&r){const a=e[++n];i+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else 8&r?i+="."+s:4&r&&(i+=" "+s);else""!==i&&!jr(s)&&(t+=T7(o,i),i=""),r=s,o=o||!jr(r);n++}return""!==i&&(t+=T7(o,i)),t}function Zi(e){return Qi(()=>{const t=x7(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Dd.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||wr.Emulated,styles:e.styles||Qe,_:null,schemas:e.schemas||null,tView:null,id:""};k7(n);
vendor: 5,450 bytes, line 1
1const r=e.dependencies;return n.directiveDefs=Td(r,!1),n.pipeDefs=Td(r,!0),n.id=function aT(e){let t=0;const n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const i of n)t=Math.imul(31,t)+i.charCodeAt(0)|0;return t+=2147483648,"c"+t}(n),n})}function iT(e){return xe(e)||Yt(e)}function oT(e){return null!==e}function Gn(e){return Qi(()=>({type:e.type,bootstrap:e.bootstrap||Qe,declarations:e.declarations||Qe,imports:e.imports||Qe,exports:e.exports||Qe,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function M7(e,t){if(null==e)return hi;const n={};for(const r in e)if(e.hasOwnProperty(r)){const i=e[r];let o,s,a=mo.None;Array.isArray(i)?(a=i[0],o=i[1],s=i[2]??o):(o=i,s=i),t?(n[o]=a!==mo.None?[r,a]:r,t[o]=s):n[o]=r}return n}function zt(e){return Qi(()=>{const t=x7(e);return k7(t),t})}function Wn(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function xe(e){return e[zc]||null}function Yt(e){return e[M1]||null}function pn(e){return e[x1]||null}function In(e,t){const n=e[f7]||null;if(!n&&!0===t)throw new Error(`Type ${Kt(e)} does not have '\u0275mod' property.`);return n}function x7(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||hi,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||Qe,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:M7(e.inputs,t),outputs:M7(e.outputs),debugInfo:null}}function k7(e){e.features?.forEach(t=>t(e))}function Td(e,t){if(!e)return null;const n=t?pn:iT;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(oT)}function sa(e){return{\u0275providers:e}}function cT(...e){return{\u0275providers:V1(0,e),\u0275fromNgModule:!0}}function V1(e,...t){const n=[],r=new Set;let i;const o=s=>{n.push(s)};return ia(t,s=>{const a=s;Md(a,o,[],r)&&(i||=[],i.push(a))}),void 0!==i&&R7(i,o),n}function R7(e,t){for(let n=0;n<e.length;n++){const{ngModule:r,providers:i}=e[n];U1(i,o=>{t(o,r)})}}function Md(e,t,n,r){if(!(e=le(e)))return!1;let i=null,o=vd(e);const s=!o&&xe(e);if(o||s){if(s&&!s.standalone)return!1;i=e}else{const c=e.ngModule;if(o=vd(c),!o)return!1;i=c}const a=r.has(i);if(s){if(a)return!1;if(r.add(i),s.dependencies){const c="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const l of c)Md(l,t,n,r)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let l;r.add(i);try{ia(o.imports,u=>{Md(u,t,n,r)&&(l||=[],l.push(u))})}finally{}void 0!==l&&R7(l,t)}if(!a){const l=Ko(i)||(()=>new i);t({provide:i,useFactory:l,deps:Qe},i),t({provide:F1,useValue:i,multi:!0},i),t({provide:pi,useValue:()=>B(i),multi:!0},i)}const c=o.providers;if(null!=c&&!a){const l=e;U1(c,u=>{t(u,l)})}}}return i!==e&&void 0!==e.providers}function U1(e,t){for(let n of e)T1(n)&&(n=n.\u0275providers),Array.isArray(n)?U1(n,t):t(n)}const lT=nt({provide:String,useValue:nt});function j1(e){return null!==e&&"object"==typeof e&&lT in e}function Yo(e){return"function"==typeof e}const Q1=new Q(""),xd={},dT={};let z1;function kd(){return void 0===z1&&(z1=new Sd),z1}class Nn{}class aa extends Nn{get destroyed(){return this._destroyed}constructor(t,n,r,i){super(),this.parent=n,this.source=r,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,G1(t,s=>this.processProvider(s)),this.records.set(E7,ca(void 0,this)),i.has("environment")&&this.records.set(Nn,ca(void 0,this));const o=this.records.get(Q1);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(F1,Qe,Re.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const t=E(null);try{for(const r of this._ngOnDestroyHooks)r.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),E(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=go(this),r=zn(void 0);try{return t()}finally{go(n),zn(r)}}get(t,n=Gc,r=Re.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(h7))return t[h7](this);r=bd(r);const o=go(this),s=zn(void 0);try{if(!(r&Re.SkipSelf)){let c=this.records.get(t);if(void 0===c){const l=function mT(e){return"function"==typeof e||"object"==typeof e&&e instanceof Q}(t)&&Cd(t);c=l&&this.injectableDefInScope(l)?ca(Z1(t),xd):null,this.records.set(t,c)}if(null!=c)return this.hydrate(t,c)}return(r&Re.Self?kd():this.parent).get(t,n=r&Re.Optional&&n===Gc?null:n)}catch(a){if("NullInjectorError"===a.name){if((a[Ad]=a[Ad]||[]).unshift(Kt(t)),o)throw a;return function UD(e,t,n,r){const i=e[Ad];throw t[m7]&&i.unshift(t[m7]),e.message=function jD(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let i=Kt(t);if(Array.isArray(t))i=t.map(Kt).join(" -> ");else if("object"==typeof t){let o=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];
1o.push(s+":"+("string"==typeof a?JSON.stringify(a):Kt(a)))}i=`{${o.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(PD,"\n  ")}`}("\n"+e.message,i,n,r),e.ngTokenPath=i,e[Ad]=null,e}(a,t,"R3InjectorError",this.source)}throw a}finally{zn(s),go(o)}}resolveInjectorInitializers(){const t=E(null),n=go(this),r=zn(void 0);try{const o=this.get(pi,Qe,Re.Self);for(const s of o)s()}finally{go(n),zn(r),E(t)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(Kt(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new w(205,!1)}processProvider(t){let n=Yo(t=le(t))?t:le(t&&t.provide);const r=function hT(e){return j1(e)?ca(void 0,e.useValue):ca(L7(e),xd)}(t);if(!Yo(t)&&!0===t.multi){let i=this.records.get(n);i||(i=ca(void 0,xd,!0),i.factory=()=>N1(i.multi),this.records.set(n,i)),n=t,i.multi.push(t)}this.records.set(n,r)}hydrate(t,n){const r=E(null);try{return n.value===xd&&(n.value=dT,n.value=n.factory()),"object"==typeof n.value&&n.value&&function gT(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{E(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;const n=le(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function Z1(e){const t=Cd(e),n=null!==t?t.factory:Ko(e);if(null!==n)return n;if(e instanceof Q)throw new w(204,!1);if(e instanceof Function)return function fT(e){if(e.length>0)throw new w(204,!1);const n=function MD(e){return e&&(e[yd]||e[u7])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new w(204,!1)}
1function L7(e,t,n){let r;if(Yo(e)){const i=le(e);return Ko(i)||Z1(i)}if(j1(e))r=()=>le(e.useValue);else if(function N7(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...N1(e.deps||[]));else if(function O7(e){return!(!e||!e.useExisting)}(e))r=()=>B(le(e.useExisting));else{const i=le(e&&(e.useClass||e.provide));if(!function pT(e){return!!e.deps}(e))return Ko(i)||Z1(i);r=()=>new i(...N1(e.deps))}return r}function ca(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function G1(e,t){for(const n of e)Array.isArray(n)?G1(n,t):n&&T1(n)?G1(n.\u0275providers,t):t(n)}function gi(e,t){e instanceof aa&&e.assertNotDestroyed();const r=go(e),i=zn(void 0);try{return t()}finally{go(r),zn(i)}}function P7(){return void 0!==p7()||null!=function BD(){return ra}()}const wt=0,L=1,re=2,Zt=3,Qr=4,gn=5,Ln=6,ua=7,mt=8,Gt=9,mi=10,ue=11,Kc=12,B7=13,da=14,It=15,Xo=16,fa=17,Gi=18,ha=19,H7=20,vo=21,Od=22,Ir=23,$=25,J1=1,Ci=7,pa=9,Bt=10;var Ld=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Ld||{});function $t(e){return Array.isArray(e)&&"object"==typeof e[J1]}function Sn(e){return Array.isArray(e)&&!0===e[J1]}function K1(e){return!!(4&e.flags)}function $o(e){return e.componentOffset>-1}function Pd(e){return!(1&~e.flags)}function zr(e){return!!e.template}function Xc(e){return!!(512&e[re])}class TT{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function z7(e,t,n,r){null!==t?t.applyValueToInputSignal(t,r):e[n]=r}function yo(){return Z7}function Z7(e){return e.type.prototype.ngOnChanges&&(e.setInput=xT),MT}function MT(){const e=W7(this),t=e?.current;if(t){const n=e.previous;if(n===hi)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function xT(e,t,n,r,i){const o=this.declaredInputs[r],s=W7(e)||function kT(e,t){return e[G7]=t}(e,{previous:hi,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[o];a[o]=new TT(l&&l.currentValue,n,c===hi),z7(e,t,i,n)}yo.ngInherit=!0;const G7="__ngSimpleChanges__";function W7(e){return e[G7]||null}const vi=function(e,t,n){};function ze(e){for(;Array.isArray(e);)e=e[wt];return e}function $c(e,t){return ze(t[e])}function Pn(e,t){return ze(t[e.index])}function el(e,t){return e.data[t]}function ur(e,t){const n=t[e];return $t(n)?n:n[wt]}function tp(e){return!(128&~e[re])}function Sr(e,t){return null==t?null:e[t]}function K7(e){e[fa]=0}function Y7(e){1024&e[re]||(e[re]|=1024,tp(e)&&Bd(e))}function Fd(e){return!!(9216&e[re]||e[Ir]?.dirty)}function np(e){e[mi].changeDetectionScheduler?.notify(8),64&e[re]&&(e[re]|=1024),Fd(e)&&Bd(e)}function Bd(e){e[mi].changeDetectionScheduler?.notify(0);let t=Wi(e);for(;null!==t&&!(8192&t[re])&&(t[re]|=8192,tp(t));)t=Wi(t)}function Hd(e,t){if(!(256&~e[re]))throw new w(911,!1);null===e[vo]&&(e[vo]=[]),e[vo].push(t)}function Wi(e){const t=e[Zt];return Sn(t)?t[Zt]:t}const de={lFrame:ug(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let $7=!1;function eg(){return de.bindingsEnabled}function ts(){return null!==de.skipHydrationRootTNode}function I(){return de.lFrame.lView}function Te(){return de.lFrame.tView}function tl(e){return de.lFrame.contextLView=e,e[mt]}function nl(e){return de.lFrame.contextLView=null,e}function rt(){let e=tg();for(;null!==e&&64===e.type;)e=e.parent;return e}function tg(){return de.lFrame.currentTNode}function Zr(e,t){const n=de.lFrame;n.currentTNode=e,n.isParent=t}function op(){return de.lFrame.isParent}function sp(){de.lFrame.isParent=!1}function ig(){return $7}function og(e){$7=e}function Gr(){return de.lFrame.bindingIndex++}function Ji(e){const t=de.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function ZT(e,t){const n=de.lFrame;n.bindingIndex=n.bindingRootIndex=e,ap(t)}function ap(e){de.lFrame.currentDirectiveIndex=e}function cp(e){const t=de.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function Ud(e){de.lFrame.currentQueryIndex=e}function WT(e){const t=e[L];return 2===t.type?t.declTNode:1===t.type?e[gn]:null}function cg(e,t,n){if(n&Re.SkipSelf){let i=t,o=e;for(;!(i=i.parent,null!==i||n&Re.Host||(i=WT(o),null===i||(o=o[da],10&i.type))););if(null===i)return!1;t=i,e=o}const r=de.lFrame=lg();return r.currentTNode=t,r.lView=e,!0}function up(e){const t=lg(),n=e[L];
vendor: 6,907 bytes, line 1
1de.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function lg(){const e=de.lFrame,t=null===e?null:e.child;return null===t?ug(e):t}function ug(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function dg(){const e=de.lFrame;return de.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const fg=dg;function dp(){const e=dg();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function mn(){return de.lFrame.selectedIndex}function ns(e){de.lFrame.selectedIndex=e}function Ct(){const e=de.lFrame;return el(e.tView,e.selectedIndex)}let pg=!0;function il(){return pg}function yi(e){pg=e}function jd(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const o=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:l,ngOnDestroy:u}=o;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),l&&((e.viewHooks??=[]).push(n,l),(e.viewCheckHooks??=[]).push(n,l)),null!=u&&(e.destroyHooks??=[]).push(n,u)}}function Qd(e,t,n){gg(e,t,3,n)}function zd(e,t,n,r){(3&e[re])===n&&gg(e,t,n,r)}function fp(e,t){let n=e[re];(3&n)===t&&(n&=16383,n+=1,e[re]=n)}function gg(e,t,n,r){const o=r??-1,s=t.length-1;let a=0;for(let c=void 0!==r?65535&e[fa]:0;c<s;c++)if("number"==typeof t[c+1]){if(a=t[c],null!=r&&a>=r)break}else t[c]<0&&(e[fa]+=65536),(a<o||-1==o)&&(eM(e,n,t,c),e[fa]=(4294901760&e[fa])+c+2),c++}function mg(e,t){vi(4,e,t);const n=E(null);try{t.call(e)}finally{E(n),vi(5,e,t)}}function eM(e,t,n,r){const i=n[r]<0,o=n[r+1],a=e[i?-n[r]:n[r]];i?e[re]>>14<e[fa]>>16&&(3&e[re])===t&&(e[re]+=16384,mg(a,o)):mg(a,o)}const ga=-1;class ol{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}const pp={};class rs{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=bd(r);const i=this.injector.get(t,pp,r);return i!==pp||n===pp?i:this.parentInjector.get(t,n,r)}}function gp(e){return e!==ga}function sl(e){return 32767&e}function al(e,t){let n=function oM(e){return e>>16}(e),r=t;for(;n>0;)r=r[da],n--;return r}let mp=!0;function Zd(e){const t=mp;return mp=e,t}const vg=255,yg=5;let aM=0;const Ai={};function Gd(e,t){const n=Ag(e,t);if(-1!==n)return n;const r=t[L];r.firstCreatePass&&(e.injectorIndex=t.length,Cp(r.data,e),Cp(t,null),Cp(r.blueprint,null));const i=Wd(e,t),o=e.injectorIndex;if(gp(i)){const s=sl(i),a=al(i,t),c=a[L].data;for(let l=0;l<8;l++)t[o+l]=a[s+l]|c[s+l]}return t[o+8]=i,o}function Cp(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Ag(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Wd(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,i=t;for(;null!==i;){if(r=Dg(i),null===r)return ga;if(n++,i=i[da],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return ga}function vp(e,t,n){!function cM(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Zc)&&(r=n[Zc]),null==r&&(r=n[Zc]=aM++);const i=r&vg;t.data[e+(i>>yg)]|=1<<i}(e,t,n)}function bg(e,t,n){if(n&Re.Optional||void 0!==e)return e;k1()}function Eg(e,t,n,r){if(n&Re.Optional&&void 0===r&&(r=null),!(n&(Re.Self|Re.Host))){const i=e[Gt],o=zn(void 0);try{return i?i.get(t,r,n&Re.Optional):g7(t,r,n&Re.Optional)}finally{zn(o)}}return bg(r,0,n)}function _g(e,t,n,r=Re.Default,i){if(null!==e){if(2048&t[re]&&!(r&Re.Self)){const s=function hM(e,t,n,r,i){let o=e,s=t;for(;null!==o&&null!==s&&2048&s[re]&&!(512&s[re]);){const a=wg(o,s,n,r|Re.Self,Ai);if(a!==Ai)return a;let c=o.parent;if(!c){const l=s[H7];if(l){const u=l.get(n,Ai,r);if(u!==Ai)return u}c=Dg(s),s=s[da]}o=c}return i}(e,t,n,r,Ai);if(s!==Ai)return s}const o=wg(e,t,n,r,Ai);if(o!==Ai)return o}return Eg(t,n,r,i)}function wg(e,t,n,r,i){const o=function dM(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Zc)?e[Zc]:void 0;return"number"==typeof t?t>=0?t&vg:fM:t}(n);if("function"==typeof o){if(!cg(t,e,r))return r&Re.Host?bg(i,0,r):Eg(t,n,r,i);try{let s;if(s=o(r),null!=s||r&Re.Optional)return s;k1()}finally{fg()}}else if("number"==typeof o){let s=null,a=Ag(e,t),c=ga,l=r&Re.Host?t[It][gn]:null;for((-1===a||r&Re.SkipSelf)&&(c=-1===a?Wd(e,t):t[a+8],c!==ga&&Sg(r,!1)?(s=t[L],a=sl(c),t=al(c,t)):a=-1);-1!==a;){const u=t[L];if(Ig(o,a,u.data)){const d=uM(a,t,n,s,r,l);if(d!==Ai)return d}c=t[a+8],c!==ga&&Sg(r,t[L].data[a+8]===l)&&Ig(o,a,t)?(s=u,a=sl(c),t=al(c,t)):a=-1}}return i}function uM(e,t,n,r,i,o){const s=t[L],a=s.data[e+8],u=function qd(e,t,n,r,i){const o=e.providerIndexes,s=t.data,a=1048575&o,c=e.directiveStart,u=o>>20,f=i?a+u:e.directiveEnd;for(let h=r?a:a+u;h<f;h++){const p=s[h];if(h<c&&n===p||h>=c&&p.type===n)return h}if(i){const h=s[c];if(h&&zr(h)&&h.type===n)return c}return null}(a,s,n,null==r?$o(a)&&mp:r!=s&&!!(3&a.type),i&Re.Host&&o===a);return null!==u?is(t,s,u,a):Ai}function is(e,t,n,r){let i=e[n];const o=t.data;if(function tM(e){return e instanceof ol}(i)){const s=i;s.resolving&&function OD(e,t){throw t&&t.join(" > "),new w(-200,e)}(function Ke(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Ce(e)}(o[n]));const a=Zd(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?zn(s.injectImpl):null;cg(e,r,Re.Default);try{i=e[n]=s.factory(void 0,o,e,r),t.firstCreatePass&&n>=r.directiveStart&&function $T(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=t.type.prototype;if(r){const s=Z7(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}i&&(n.preOrderHooks??=[]).push(0-e,i),o&&((n.preOrderHooks??=[]).push(e,o),(n.preOrderCheckHooks??=[]).push(e,o))}(n,o[n],t)}finally{null!==l&&zn(l),Zd(a),s.resolving=!1,fg()}}return i}function Ig(e,t,n){return!!(n[t+(e>>yg)]&1<<e)}function Sg(e,t){return!(e&Re.Self||e&Re.Host&&t)}class en{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return _g(this._tNode,this._lView,t,bd(r),n)}}function fM(){return new en(rt(),I())}function Jd(e){return Qi(()=>{const t=e.prototype.constructor,n=t[zi]||yp(t),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const o=i[zi]||yp(i);if(o&&o!==n)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function yp(e){return md(e)?()=>{const t=yp(le(e));return t&&t()}:Ko(e)}function Dg(e){const t=e[L],n=t.type;return 2===n?t.declTNode:1===n?e[gn]:null}function Rg(e,t=null,n=null,r){const i=Og(e,t,n,r);
1return i.resolveInjectorInitializers(),i}function Og(e,t=null,n=null,r,i=new Set){const o=[n||Qe,cT(e)];return r=r||("object"==typeof e?void 0:Kt(e)),new aa(o,t||kd(),r||null,i)}class Lt{static{this.THROW_IF_NOT_FOUND=Gc}static{this.NULL=new Sd}static create(t,n){if(Array.isArray(t))return Rg({name:""},n,t,"");{const r=t.name??"";return Rg({name:r},t.parent,t.providers,r)}}static{this.\u0275prov=F({token:Lt,providedIn:"any",factory:()=>B(E7)})}static{this.__NG_ELEMENT_ID__=-1}}new Q("").__NG_ELEMENT_ID__=e=>{const t=rt();if(null===t)throw new w(204,!1);if(2&t.type)return t.value;if(e&Re.Optional)return null;throw new w(204,!1)};function bp(e){return e.ngOriginalError}const Lg=!0;let ll=(()=>{class e{static{this.__NG_ELEMENT_ID__=_M}static{this.__NG_ENV_ID__=n=>n}}return e})();class EM extends ll{constructor(t){super(),this._lView=t}onDestroy(t){return Hd(this._lView,t),()=>function rp(e,t){if(null===e[vo])return;const n=e[vo].indexOf(t);-1!==n&&e[vo].splice(n,1)}(this._lView,t)}}function _M(){return new EM(I())}let Ki=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new _r(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static{this.\u0275prov=F({token:e,providedIn:"root",factory:()=>new e})}}return e})();const qe=class wM extends Nt{constructor(t=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=t,P7()&&(this.destroyRef=D(ll,{optional:!0})??void 0,this.pendingTasks=D(Ki,{optional:!0})??void 0)}emit(t){const n=E(null);try{super.next(t)}finally{E(n)}}subscribe(t,n,r){let i=t,o=n||(()=>null),s=r;if(t&&"object"==typeof t){const c=t;i=c.next?.bind(c),o=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(o=this.wrapInTimeout(o),i&&(i=this.wrapInTimeout(i)),s&&(s=this.wrapInTimeout(s)));const a=super.subscribe({next:i,error:o,complete:s});return t instanceof G&&t.add(a),a}wrapInTimeout(t){return n=>{const r=this.pendingTasks?.add();setTimeout(()=>{t(n),void 0!==r&&this.pendingTasks?.remove(r)})}}};function Yd(...e){}function Pg(e){let t,n;function r(){e=Yd;try{void 0!==n&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(n),void 0!==t&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),"function"==typeof requestAnimationFrame&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function Fg(e){return queueMicrotask(()=>e()),()=>{e=Yd}}const Ep="isAngularZone",Xd=Ep+"_ID";let IM=0;class Oe{constructor(t){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new qe(!1),this.onMicrotaskEmpty=new qe(!1),this.onStable=new qe(!1),this.onError=new qe(!1);const{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:i=!1,scheduleInRootZone:o=Lg}=t;if(typeof Zone>"u")throw new w(908,!1);Zone.assertZonePatched();const s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!i&&r,s.shouldCoalesceRunChangeDetection=i,s.callbackScheduled=!1,s.scheduleInRootZone=o,function TM(e){const t=()=>{!function DM(e){function t(){Pg(()=>{e.callbackScheduled=!1,wp(e),e.isCheckStableRunning=!0,_p(e),e.isCheckStableRunning=!1})}e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),wp(e))}(e)},n=IM++;e._inner=e._inner.fork({name:"angular",properties:{[Ep]:!0,[Xd]:n,[Xd+n]:!0},onInvokeTask:(r,i,o,s,a,c)=>{if(function MM(e){return Vg(e,"__ignore_ng_zone__")}(c))return r.invokeTask(o,s,a,c);try{return Bg(e),r.invokeTask(o,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&t(),Hg(e)}},onInvoke:(r,i,o,s,a,c,l)=>{try{return Bg(e),r.invoke(o,s,a,c,l)}
1finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!function xM(e){return Vg(e,"__scheduler_tick__")}(c)&&t(),Hg(e)}},onHasTask:(r,i,o,s)=>{r.hasTask(o,s),i===o&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,wp(e),_p(e)):"macroTask"==s.change&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,i,o,s)=>(r.handleError(o,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}(s)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(Ep)}static assertInAngularZone(){if(!Oe.isInAngularZone())throw new w(909,!1)}static assertNotInAngularZone(){if(Oe.isInAngularZone())throw new w(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,i){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,t,SM,Yd,Yd);try{return o.runTask(s,n,r)}finally{o.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const SM={};function _p(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function wp(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&!0===e.callbackScheduled)}function Bg(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Hg(e){e._nesting--,_p(e)}class Ip{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new qe,this.onMicrotaskEmpty=new qe,this.onStable=new qe,this.onError=new qe}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,i){return t.apply(n,r)}}function Vg(e,t){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0]?.data?.[t]}class bi{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&bp(t);for(;n&&bp(n);)n=bp(n);return n||null}}const RM=new Q("",{providedIn:"root",factory:()=>{const e=D(Oe),t=D(bi);return n=>e.runOutsideAngular(()=>t.handleError(n))}});function OM(){return va(rt(),I())}function va(e,t){return new Cn(Pn(e,t))}let Cn=(()=>{class e{constructor(n){this.nativeElement=n}static{this.__NG_ELEMENT_ID__=OM}}return e})();function dl(e){return!(128&~e.flags)}const Tp=new Map;let PM=0;function Mp(e){Tp.delete(e[ha])}const $d="__ngContext__";function Dn(e,t){$t(t)?(e[$d]=t[ha],function BM(e){Tp.set(e[ha],e)}(t)):e[$d]=t}function Xg(e){return e9(e[Kc])}function $g(e){return e9(e[Qr])}function e9(e){for(;null!==e&&!Sn(e);)e=e[Qr];return e}let kp;function Ao(){if(void 0!==kp)return kp;if(typeof document<"u")return document;throw new w(210,!1)}const Aa=new Q("",{providedIn:"root",factory:()=>tx}),tx="ng",c9=new Q(""),Wr=new Q("",{providedIn:"platform",factory:()=>"unknown"}),Rp=new Q(""),l9=new Q("",{providedIn:"root",factory:()=>Ao().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let u9=()=>null;function Hp(e,t,n=!1){return u9(e,t,n)}const v9=new Q("",{providedIn:"root",factory:()=>!1});let lf,uf;function _a(e){return function zp(){if(void 0===lf&&(lf=null,bt.trustedTypes))try{lf=bt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return lf}()?.createHTML(e)||e}function Zp(){if(void 0===uf&&(uf=null,bt.trustedTypes))try{uf=bt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return uf}function b9(e){return Zp()?.createHTML(e)||e}function _9(e){return Zp()?.createScriptURL(e)||e}class ss{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${o7})`}}class gx extends ss{getTypeName(){return"HTML"}}class mx extends ss{getTypeName(){return"Style"}}class Cx extends ss{getTypeName(){return"Script"}}class vx extends ss{getTypeName(){return"URL"}}class yx extends ss{getTypeName(){return"ResourceURL"}}function dr(e){return e instanceof ss?e.changingThisBreaksApplicationSecurity:e}function Ei(e,t){const n=function Ax(e){return e instanceof ss&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${o7})`)}return n===t}class Sx{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(_a(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}}class Dx{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=_a(t),n}}const Mx=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function df(e){return(e=String(e)).match(Mx)?e:"unsafe:"+e}function Yi(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function vl(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const I9=Yi("area,br,col,hr,img,wbr"),S9=Yi("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),D9=Yi("rp,rt"),Gp=vl(I9,vl(S9,Yi("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),vl(D9,Yi("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),vl(D9,S9)),Wp=Yi("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),T9=vl(Wp,Yi("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,c
1olspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Yi("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),xx=Yi("script,style,template");class kx{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0,i=[];for(;n;)if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild)i.push(n),n=Nx(n);else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let o=Ox(n);if(o){n=o;break}n=i.pop()}return this.buf.join("")}startElement(t){const n=M9(t).toLowerCase();if(!Gp.hasOwnProperty(n))return this.sanitizedSomething=!0,!xx.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let i=0;i<r.length;i++){const o=r.item(i),s=o.name,a=s.toLowerCase();if(!T9.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=o.value;Wp[a]&&(c=df(c)),this.buf.push(" ",s,'="',k9(c),'"')}return this.buf.push(">"),!0}endElement(t){const n=M9(t).toLowerCase();Gp.hasOwnProperty(n)&&!I9.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(k9(t))}}function Ox(e){const t=e.nextSibling;if(t&&e!==t.previousSibling)throw x9(t);return t}function Nx(e){const t=e.firstChild;if(t&&function Rx(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,t))throw x9(t);return t}function M9(e){const t=e.nodeName;return"string"==typeof t?t:"FORM"}function x9(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const Lx=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Px=/([^\#-~ |!])/g;function k9(e){return e.replace(/&/g,"&amp;").replace(Lx,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Px,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let ff;function R9(e,t){let n=null;try{ff=ff||function w9(e){const t=new Dx(e);return function Tx(){try{return!!(new window.DOMParser).parseFromString(_a(""),"text/html")}catch{return!1}}()?new Sx(t):t}(e);let r=t?String(t):"";n=ff.getInertBodyElement(r);let i=5,o=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=o,o=n.innerHTML,n=ff.getInertBodyElement(r)}while(r!==o);return _a((new kx).sanitizeChildren(qp(n)||n))}finally{if(n){const r=qp(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function qp(e){return"content"in e&&function Fx(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var fr=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(fr||{});function Jp(e){const t=yl();return t?b9(t.sanitize(fr.HTML,e)||""):Ei(e,"HTML")?b9(dr(e)):R9(Ao(),Ce(e))}function Xi(e){const t=yl();return t?t.sanitize(fr.URL,e)||"":Ei(e,"URL")?dr(e):df(Ce(e))}function O9(e){const t=yl();if(t)return _9(t.sanitize(fr.RESOURCE_URL,e)||"");if(Ei(e,"ResourceURL"))return _9(dr(e));throw new w(904,!1)}function yl(){const e=I();return e&&e[mi].sanitizer}const Qx=/^>|^->|<!--|-->|--!>|<!-$/g,zx=/(<|>)/g,Zx="\u200b$1\u200b";function Xp(e){return e.ownerDocument.defaultView}function hr(e){return e instanceof Function?e():e}var bo=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(bo||{});let $p;function e3(e,t){return $p(e,t)}function Ia(e,t,n,r,i){if(null!=r){let o,s=!1;Sn(r)?o=r:$t(r)&&(s=!0,r=r[wt]);const a=ze(r);0===e&&null!==n?null==i?W9(t,n,a):as(t,n,a,i||null,!0):1===e&&null!==n?as(t,n,a,i||null,!0):2===e?function bl(e,t,n){e.removeChild(null,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=o&&function uk(e,t,n,r,i){const o=n[
1Ci];o!==ze(n)&&Ia(t,e,r,o,i);for(let a=Bt;a<n.length;a++){const c=n[a];vf(c[L],c,e,t,r,o)}}(t,e,o,n,i)}}function n3(e,t){return e.createComment(function L9(e){return e.replace(Qx,t=>t.replace(zx,Zx))}(t))}function gf(e,t,n){return e.createElement(t,n)}function z9(e,t){t[mi].changeDetectionScheduler?.notify(9),vf(e,t,t[ue],2,null,null)}function Z9(e,t){const n=e[pa],r=t[Zt];($t(r)||t[It]!==r[Zt][It])&&(e[re]|=Ld.HasTransplantedViews),null===n?e[pa]=[t]:n.push(t)}function r3(e,t){const n=e[pa],r=n.indexOf(t);n.splice(r,1)}function Al(e,t){if(e.length<=Bt)return;const n=Bt+t,r=e[n];if(r){const i=r[Xo];null!==i&&i!==e&&r3(i,r),t>0&&(e[n-1][Qr]=r[Qr]);const o=wd(e,Bt+t);!function nk(e,t){z9(e,t),t[wt]=null,t[gn]=null}(r[L],r);const s=o[Gi];null!==s&&s.detachView(o[L]),r[Zt]=null,r[Qr]=null,r[re]&=-129}return r}function mf(e,t){if(!(256&t[re])){const n=t[ue];n.destroyNode&&vf(e,t,n,3,null,null),function ik(e){let t=e[Kc];if(!t)return o3(e[L],e);for(;t;){let n=null;if($t(t))n=t[Kc];else{const r=t[Bt];r&&(n=r)}if(!n){for(;t&&!t[Qr]&&t!==e;)$t(t)&&o3(t[L],t),t=t[Zt];null===t&&(t=e),$t(t)&&o3(t[L],t),n=t&&t[Qr]}t=n}}(t)}}function o3(e,t){if(256&t[re])return;const n=E(null);try{t[re]&=-129,t[re]|=256,t[Ir]&&Ae(t[Ir]),function ak(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const i=t[n[r]];if(!(i instanceof ol)){const o=n[r+1];if(Array.isArray(o))for(let s=0;s<o.length;s+=2){const a=i[o[s]],c=o[s+1];vi(4,a,c);try{c.call(a)}finally{vi(5,a,c)}}else{vi(4,i,o);try{o.call(i)}finally{vi(5,i,o)}}}}}(e,t),function sk(e,t){const n=e.cleanup,r=t[ua];if(null!==n)for(let o=0;o<n.length-1;o+=2)if("string"==typeof n[o]){const s=n[o+3];s>=0?r[s]():r[-s].unsubscribe(),o+=2}else n[o].call(r[n[o+1]]);null!==r&&(t[ua]=null);const i=t[vo];if(null!==i){t[vo]=null;for(let o=0;o<i.length;o++)(0,i[o])()}}(e,t),1===t[L].type&&t[ue].destroy();const r=t[Xo];if(null!==r&&Sn(t[Zt])){r!==t[Zt]&&r3(r,t);const i=t[Gi];null!==i&&i.detachView(e)}Mp(t)}finally{E(n)}}function s3(e,t,n){return function G9(e,t,n){let r=t;for(;null!==r&&168&r.type;)r=(t=r).parent;if(null===r)return n[wt];{const{componentOffset:i}=r;if(i>-1){const{encapsulation:o}=e.data[r.directiveStart+i];if(o===wr.None||o===wr.Emulated)return null}return Pn(r,n)}}(e,t.parent,n)}function as(e,t,n,r,i){e.insertBefore(t,n,r,i)}function W9(e,t,n){e.appendChild(t,n)}function q9(e,t,n,r,i){null!==r?as(e,t,n,r,i):W9(e,t,n)}function a3(e,t){return e.parentNode(t)}function J9(e,t,n){return Y9(e,t,n)}let c3,Y9=function K9(e,t,n){return 40&e.type?Pn(e,n):null};function Cf(e,t,n,r){const i=s3(e,r,t),o=t[ue],a=J9(r.parent||t[gn],r,t);if(null!=i)if(Array.isArray(n))for(let c=0;c<n.length;c++)q9(o,i,n[c],a,!1);else q9(o,i,n,a,!1);void 0!==c3&&c3(o,r,t,n,i)}function cs(e,t){if(null!==t){const n=t.type;if(3&n)return Pn(t,e);if(4&n)return l3(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return cs(e,r);{const i=e[t.index];return Sn(i)?l3(-1,i):ze(i)}}if(128&n)return cs(e,t.next);if(32&n)return e3(t,e)()||ze(e[t.index]);{const r=$9(e,t);return null!==r?Array.isArray(r)?r[0]:cs(Wi(e[It]),r):cs(e,t.next)}}return null}function $9(e,t){return null!==t?e[It][gn].projection[t.projection]:null}function l3(e,t){const n=Bt+e+1;if(n<t.length){const r=t[n],i=r[L].firstChild;if(null!==i)return cs(r,i)}return t[Ci]}function u3(e,t,n,r,i,o,s){for(;null!=n;){if(128===n.type){n=n.next;continue}const a=r[n.index],c=n.type;if(s&&0===t&&(a&&Dn(ze(a),r),n.flags|=2),32&~n.flags)if(8&c)u3(e,t,n.child,r,i,o,!1),Ia(t,e,i,a,o);else if(32&c){const l=e3(n,r);let u;for(;u=l();)Ia(t,e,i,u,o);Ia(t,e,i,a,o)}else 16&c?t8(e,t,r,n,i,o):Ia(t,e,i,a,o);n=s?n.projectionNext:n.next}}function vf(e,t,n,r,i,o){u3(n,r,e.firstChild,t,i,o,!1)}function t8(e,t,n,r,i,o){const s=n[It],c=s[gn].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++)Ia(t,e,i,c[l],o);else{let l=c;const u=s[Zt];dl(r)&&(l.flags|=128),u3(e,t,l,u,i,o,!0)}}function n8(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function r8(e,t,n){const{mergedAttrs:r,classes:i,styles:o}=n;null!==r&&B1(e,t,r),null!==i&&n8(e,t,i),null!==o&&function fk(e,t,n
1){e.setAttribute(t,"style",n)}(e,t,o)}const ve={};function Ze(e=1){i8(Te(),I(),mn()+e,!1)}function i8(e,t,n,r){if(!r)if(3&~t[re]){const o=e.preOrderHooks;null!==o&&zd(t,o,0,n)}else{const o=e.preOrderCheckHooks;null!==o&&Qd(t,o,n)}ns(n)}function P(e,t=Re.Default){const n=I();return null===n?B(e,t):_g(rt(),n,le(e),t)}function d3(){throw new Error("invalid")}function o8(e,t,n,r,i,o){const s=E(null);try{let a=null;i&mo.SignalBased&&(a=t[r][M]),null!==a&&void 0!==a.transformFn&&(o=a.transformFn(o)),i&mo.HasDecoratorInputTransform&&(o=e.inputTransforms[r].call(t,o)),null!==e.setInput?e.setInput(t,a,o,n,r):z7(t,a,r,o)}finally{E(s)}}function yf(e,t,n,r,i,o,s,a,c,l,u){const d=t.blueprint.slice();return d[wt]=i,d[re]=204|r,(null!==l||e&&2048&e[re])&&(d[re]|=2048),K7(d),d[Zt]=d[da]=e,d[mt]=n,d[mi]=s||e&&e[mi],d[ue]=a||e&&e[ue],d[Gt]=c||e&&e[Gt]||null,d[gn]=o,d[ha]=function FM(){return PM++}(),d[Ln]=u,d[H7]=l,d[It]=2==t.type?e[It]:d,d}function ls(e,t,n,r,i){let o=e.data[t];if(null===o)o=function f3(e,t,n,r,i){const o=tg(),s=op(),c=e.data[t]=function Ak(e,t,n,r,i,o){let s=t?t.injectorIndex:-1,a=0;return ts()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?o:o&&o.parent,n,t,r,i);return null===e.firstChild&&(e.firstChild=c),null!==o&&(s?null==o.child&&null!==c.parent&&(o.child=c):null===o.next&&(o.next=c,c.prev=o)),c}(e,t,n,r,i),function zT(){return de.lFrame.inI18n}()&&(o.flags|=32);else if(64&o.type){o.type=n,o.value=r,o.attrs=i;const s=function rl(){const e=de.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();o.injectorIndex=null===s?-1:s.injectorIndex}return Zr(o,!0),o}function El(e,t,n,r){if(0===n)return-1;const i=t.length;for(let o=0;o<n;o++)t.push(r),e.blueprint.push(r),e.data.push(null);return i}function s8(e,t,n,r,i){const o=mn(),s=2&r;try{ns(-1),s&&t.length>$&&i8(e,t,$,!1),vi(s?2:0,i),n(r,i)}finally{ns(o),vi(s?3:1,i)}}function h3(e,t,n){if(K1(t)){const r=E(null);try{const o=t.directiveEnd;for(let s=t.directiveStart;s<o;s++){const a=e.data[s];a.contentQueries&&a.contentQueries(1,n[s],s)}}finally{E(r)}}}function p3(e,t,n){eg()&&(function Dk(e,t,n,r){const i=n.directiveStart,o=n.directiveEnd;$o(n)&&function Nk(e,t,n){const r=Pn(t,e),i=a8(n);let s=16;n.signals?s=4096:n.onPush&&(s=64);const a=Af(e,yf(e,i,null,s,r,t,null,e[mi].rendererFactory.createRenderer(r,n),null,null,null));e[t.index]=a}(t,n,e.data[i+n.componentOffset]),e.firstCreatePass||Gd(n,t),Dn(r,t);const s=n.initialInputs;for(let a=i;a<o;a++){const c=e.data[a],l=is(t,e,a,n);Dn(l,t),null!==s&&Lk(0,a-i,l,c,0,s),zr(c)&&(ur(n.index,t)[mt]=is(t,e,a,n))}}(e,t,n,Pn(n,t)),!(64&~n.flags)&&f8(e,t,n))}function g3(e,t,n=Pn){const r=t.localNames;if(null!==r){let i=t.index+1;for(let o=0;o<r.length;o+=2){const s=r[o+1],a=-1===s?n(t,e):e[s];e[i++]=a}}}function a8(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=m3(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function m3(e,t,n,r,i,o,s,a,c,l,u){const d=$+r,f=d+i,h=function pk(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:ve);return n}(d,f),p="function"==typeof l?l():l;return h[L]={type:e,blueprint:h,template:n,queries:null,viewQuery:a,declTNode:t,data:h.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:f,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof o?o():o,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:c,consts:p,incompleteFirstPass:!1,ssrId:u}}let c8=()=>null;function l8(e,t,n,r,i){for(let o in t){if(!t.hasOwnProperty(o))continue;const s=t[o];if(void 0===s)continue;r??={};let a,c=mo.None;Array.isArray(s)?(a=s[0],c=s[1]):a=s;let l=o;if(null!==i){if(!i.hasOwnProperty(o))continue;l=i[o]}0===e?u8(r,n,l,a,c):u8(r,n,l,a)}return r}function u8(e,t,n,r,i){let o;e.hasOwnProperty(n)?(o=e[n]).push(t,r):o=e[n]=[t,r],void 0!==i&&o.push(i)}function Jn(e,t,n,r,i,o,s,a){const c=Pn(t,n);let u,l=t.inputs;!a&&null!=l&&(u=l[r])?(b3(e,n,u,r,i),$o(t)&&function _k(e,t){const n=ur(t,e);16&n[re]||(n[re]|=64)}(n,t.index)):3&t.type&&(r=function Ek(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),i=null!=s?s(i,t.value||"",r):i,o.setProperty(c,r,i))}function C3(e,t,n,r){if(eg()){const i=null===r?null:{"":-1},o=function Mk(e,t){const n=e.directiveRegistry;let r=null,i=null;if(n)for(let o=0;o<n.length;o++){const s=n[o];if(D7(t,s.selectors,!1))if(r||(r=[]),zr(s))if(null!==s.findHostDirectiveDefs){const a=[];i=i||new Map,s.findHostDirectiveDefs(s,a,i),r.unshift(...a,s),v3(e,t,a.length)}else r.unshift(s),v3(e,t,0);else i=i||new Map,s.findHostDirectiveDefs?.(s,r,i),r.push(s)}return null===r?null:[r,i]}(e,n);let s,a;null===o?s=a=null:[s,a]=o,null!==s&&d8(e,t,n,s,i,a),i&&function xk(e,t,n){if(t){const r=e.localNames=[];for(let i=0;i<t.length;i+=2){const o=n[t[i+1]];if(null==o)throw new w(-301,!1);r.push(t[i],o)}}}(n,r,i)}n.mergedAttrs=qc(n.mergedAttrs,n.attrs)}function d8(e,t,n,r,i,o){for(let l=0;l<r.length;l++)vp(Gd(n,t),e,r[l].type);!function Rk(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t
1+n,e.providerIndexes=t}(n,e.data.length,r.length);for(let l=0;l<r.length;l++){const u=r[l];u.providersResolver&&u.providersResolver(u)}let s=!1,a=!1,c=El(e,t,r.length,null);for(let l=0;l<r.length;l++){const u=r[l];n.mergedAttrs=qc(n.mergedAttrs,u.hostAttrs),Ok(e,n,t,c,u),kk(c,u,i),null!==u.contentQueries&&(n.flags|=4),(null!==u.hostBindings||null!==u.hostAttrs||0!==u.hostVars)&&(n.flags|=64);const d=u.type.prototype;!s&&(d.ngOnChanges||d.ngOnInit||d.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),s=!0),!a&&(d.ngOnChanges||d.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),a=!0),c++}!function bk(e,t,n){const i=t.directiveEnd,o=e.data,s=t.attrs,a=[];let c=null,l=null;for(let u=t.directiveStart;u<i;u++){const d=o[u],f=n?n.get(d):null,p=f?f.outputs:null;c=l8(0,d.inputs,u,c,f?f.inputs:null),l=l8(1,d.outputs,u,l,p);const m=null===c||null===s||H1(t)?null:Pk(c,u,s);a.push(m)}null!==c&&(c.hasOwnProperty("class")&&(t.flags|=8),c.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=a,t.inputs=c,t.outputs=l}(e,n,o)}function f8(e,t,n){const r=n.directiveStart,i=n.directiveEnd,o=n.index,s=function GT(){return de.lFrame.currentDirectiveIndex}();try{ns(o);for(let a=r;a<i;a++){const c=e.data[a],l=t[a];ap(a),(null!==c.hostBindings||0!==c.hostVars||null!==c.hostAttrs)&&Tk(c,l)}}finally{ns(-1),ap(s)}}function Tk(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function v3(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function kk(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;zr(t)&&(n[""]=e)}}function Ok(e,t,n,r,i){e.data[r]=i;const o=i.factory||(i.factory=Ko(i.type)),s=new ol(o,zr(i),P);e.blueprint[r]=s,n[r]=s,function Ik(e,t,n,r,i){const o=i.hostBindings;if(o){let s=e.hostBindingOpCodes;null===s&&(s=e.hostBindingOpCodes=[]);const a=~t.index;(function Sk(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=a&&s.push(a),s.push(n,r,o)}}(e,t,r,El(e,n,i.hostVars,ve),i)}function _i(e,t,n,r,i,o){const s=Pn(e,t);!function y3(e,t,n,r,i,o,s){if(null==o)e.removeAttribute(t,i,n);else{const a=null==s?Ce(o):s(o,r||"",i);e.setAttribute(t,i,a,n)}}(t[ue],s,o,e.value,n,r,i)}function Lk(e,t,n,r,i,o){const s=o[t];if(null!==s)for(let a=0;a<s.length;)o8(r,n,s[a++],s[a++],s[a++],s[a++])}function Pk(e,t,n){let r=null,i=0;for(;i<n.length;){const o=n[i];if(0!==o)if(5!==o){if("number"==typeof o)break;if(e.hasOwnProperty(o)){null===r&&(r=[]);const s=e[o];for(let a=0;a<s.length;a+=3)if(s[a]===t){r.push(o,s[a+1],s[a+2],n[i+1]);break}}i+=2}else i+=2;else i+=4}return r}function h8(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function p8(e,t){const n=e.contentQueries;if(null!==n){const r=E(null);try{for(let i=0;i<n.length;i+=2){const s=n[i+1];if(-1!==s){const a=e.data[s];Ud(n[i]),a.contentQueries(2,t[s],s)}}}finally{E(r)}}}function Af(e,t){return e[Kc]?e[B7][Qr]=t:e[Kc]=t,e[B7]=t,t}function A3(e,t,n){Ud(0);const r=E(null);try{t(e,n)}finally{E(r)}}function C8(e,t,n){return(null===e||zr(e))&&(n=function ep(e){for(;Array.isArray(e);){if("object"==typeof e[J1])return e;e=e[wt]}return null}(n[t.index])),n[ue]}function bf(e,t){const n=e[Gt],r=n?n.get(bi,null):null;r&&r.handleError(t)}function b3(e,t,n,r,i){for(let o=0;o<n.length;){const s=n[o++],a=n[o++],c=n[o++];o8(e.data[s],t[s],r,a,c,i)}}function Fk(e,t){const n=ur(t,e),r=n[L];!function Bk(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n);const i=n[wt];null!==i&&null===n[Ln]&&(n[Ln]=Hp(i,n[Gt])),E3(r,n,n[mt])}function E3(e,t,n){up(t);try{const r=e.viewQuery;null!==r&&A3(1,r,n);const i=e.template;null!==i&&s8(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Gi]?.finishViewCreation(e),e.staticContentQueries&&p8(e,t),e.staticViewQueries&&A3(2,e.viewQuery,n);const o=e.components;null!==o&&function Hk(e,t){for(let n=0;n<t.length;n++)Fk(e,t[n])}(t,o)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[re]&=-5,dp()}}function Sa(e,t,n,r){const i=E(null);try{const o=t.tView,c=yf(e,o,n,4096&e[re]?4096:16,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null);c[Xo]=e[t.index];const u=e[Gi];return null!==u&&(c[Gi]=u.createEmbeddedView(o)),E3(o,c,n),c}finally{E(i)}}function us(e,t){return!t||null===t.firstChild||dl(e)}function Da(e,t,n,r=!0){const i=t[L];if(function ok(e,t,n,r){const i=Bt+r,o=n.length;r>0&&(n[i-1][Qr]=t),r<o-Bt?(t[Qr]=n[i],y7(n,Bt+r,t)):(n.push(t),t[Qr]=null),t[Zt]=n;const s=t[Xo];null!==s&&n!==s&&Z9(s,t);const a=t[Gi];null!==a&&a.insertView(e),np(t),t[re]|=128}(i,t,e,n),r){const s=l3(n,e),a=t[ue],c=a3(a,e[Ci]);null!==c&&function rk(e,t,n,r,i,o){r[wt]=i,r[gn]=t,vf(e,r,n,1,i,o)}(i,e[gn],a,t,c,s)}const o=t[Ln];null!==o&&null!==o.firstChild&&(o.firstChild=null)}function _l(e,t,n,r,i=!1){for(;null!==n;){if(128===n.type){n=i?n.projectionNext:n.next;continue}const o=t[n.index];
1null!==o&&r.push(ze(o)),Sn(o)&&y8(o,r);const s=n.type;if(8&s)_l(e,t,n.child,r);else if(32&s){const a=e3(n,t);let c;for(;c=a();)r.push(c)}else if(16&s){const a=$9(t,n);if(Array.isArray(a))r.push(...a);else{const c=Wi(t[It]);_l(c[L],c,a,r,!0)}}n=i?n.projectionNext:n.next}return r}function y8(e,t){for(let n=Bt;n<e.length;n++){const r=e[n],i=r[L].firstChild;null!==i&&_l(r[L],r,i,t)}e[Ci]!==e[wt]&&t.push(e[Ci])}let A8=[];const Qk={...O,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Bd(e.lView)},consumerOnSignalRead(){this.lView[Ir]=this}},Zk={...O,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let t=Wi(e.lView);for(;t&&!b8(t[L]);)t=Wi(t);t&&Y7(t)},consumerOnSignalRead(){this.lView[Ir]=this}};function b8(e){return 2!==e.type}const Gk=100;function Ef(e,t=!0,n=0){const r=e[mi],i=r.rendererFactory;i.begin?.();try{!function Wk(e,t){const n=ig();try{og(!0),w3(e,t);let r=0;for(;Fd(e);){if(r===Gk)throw new w(103,!1);r++,w3(e,1)}}finally{og(n)}}(e,n)}catch(s){throw t&&bf(e,s),s}finally{i.end?.(),r.inlineEffectRunner?.flush()}}function qk(e,t,n,r){const i=t[re];if(!(256&~i))return;t[mi].inlineEffectRunner?.flush(),up(t);let a=!0,c=null,l=null;b8(e)?(l=function Vk(e){return e[Ir]??function Uk(e){const t=A8.pop()??Object.create(Qk);return t.lView=e,t}(e)}(t),c=H(l)):null===function j(){return b}()?(a=!1,l=function zk(e){const t=e[Ir]??Object.create(Zk);return t.lView=e,t}(t),c=H(l)):t[Ir]&&(Ae(t[Ir]),t[Ir]=null);try{K7(t),function sg(e){return de.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&s8(e,t,n,2,r);const u=!(3&~i);if(u){const h=e.preOrderCheckHooks;null!==h&&Qd(t,h,null)}else{const h=e.preOrderHooks;null!==h&&zd(t,h,0,null),fp(t,0)}if(function Jk(e){for(let t=Xg(e);null!==t;t=$g(t)){if(!(t[re]&Ld.HasTransplantedViews))continue;const n=t[pa];for(let r=0;r<n.length;r++)Y7(n[r])}}(t),_8(t,0),null!==e.contentQueries&&p8(e,t),u){const h=e.contentCheckHooks;null!==h&&Qd(t,h)}else{const h=e.contentHooks;null!==h&&zd(t,h,1),fp(t,1)}!function hk(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const i=n[r];if(i<0)ns(~i);else{const o=i,s=n[++r],a=n[++r];ZT(s,o),a(2,t[o])}}}finally{ns(-1)}}(e,t);const d=e.components;null!==d&&I8(t,d,0);const f=e.viewQuery;if(null!==f&&A3(2,f,r),u){const h=e.viewCheckHooks;null!==h&&Qd(t,h)}else{const h=e.viewHooks;null!==h&&zd(t,h,2),fp(t,2)}if(!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[Od]){for(const h of t[Od])h();t[Od]=null}t[re]&=-73}catch(u){throw Bd(t),u}finally{null!==l&&(function lt(e,t){if(E(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(we(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)Se(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}(l,c),a&&function jk(e){e.lView[Ir]!==e&&(e.lView=null,A8.push(e))}(l)),dp()}}function _8(e,t){for(let n=Xg(e);null!==n;n=$g(n))for(let r=Bt;r<n.length;r++)w8(n[r],t)}function Kk(e,t,n){w8(ur(t,e),n)}function w8(e,t){tp(e)&&w3(e,t)}function w3(e,t){const r=e[L],i=e[re],o=e[Ir];let s=!!(0===t&&16&i);if(s||=!!(64&i&&0===t),s||=!!(1024&i),s||=!(!o?.dirty||!xt(o)),s||=!1,o&&(o.dirty=!1),e[re]&=-9217,s)qk(r,e,r.template,e[mt]);else if(8192&i){_8(e,1);const a=r.components;null!==a&&I8(e,a,1)}}function I8(e,t,n){for(let r=0;r<t.length;r++)Kk(e,t[r],n)}function wl(e,t){const n=ig()?64:1088;for(e[mi].changeDetectionScheduler?.notify(t);e;){e[re]|=n;const r=Wi(e);if(Xc(e)&&!r)return e;e=r}return null}class Il{get rootNodes(){const t=this._lView,n=t[L];return _l(n,t,n.firstChild,[])}constructor(t,n,r=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=r,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[mt]}set context(t){this._lView[mt]=t}get destroyed(){return!(256&~this._lView[re])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[Zt];if(Sn(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(Al(t,r),wd(n,r))}this._attachedToViewContainer=!1}mf(this._lView[L],this._lView)}onDestroy(t){Hd(this._lView,t)}markForCheck(){wl(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[re]&=-129}reattach(){np(this._lView),this._lView[re]|=128}detectChanges(){this._lView[re]|=1024,Ef(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new w(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const t=Xc(this._lView),n=this._lView[Xo];null!==n&&!t&&r3(n,this._lView),z9(this._lView[L],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new w(902,!1);this._appRef=t;const n=Xc(this._lView),r=this._lView[Xo];null!==r&&!n&&Z9(r,this._lView),np(this._lView)}}let qr=(()=>{class e{static{this.__NG_ELEMENT_ID__=$k}}return e})();const Yk=qr,Xk=class extends Yk{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){const i=Sa(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new Il(i)}};function $k(){return function _f(e,t){return 4&e.type?new Xk(t,e,va(e,t)):null}(rt(),I())}let G8=()=>null;function fs(e,t){return G8(e,t)}class Ma{}const Ol=new Q("",{providedIn:"root",factory:()=>!1}),W8=new Q(""),L3=new Q("");class ZR{}class q8{}
1class WR{resolveComponentFactory(t){throw function GR(e){const t=Error(`No component factory found for ${Kt(e)}.`);return t.ngComponent=e,t}(t)}}class xa{static{this.NULL=new WR}}class hs{}let wi=(()=>{class e{constructor(){this.destroyNode=null}static{this.__NG_ELEMENT_ID__=()=>function qR(){const e=I(),n=ur(rt().index,e);return($t(n)?n:e)[ue]}()}}return e})(),JR=(()=>{class e{static{this.\u0275prov=F({token:e,providedIn:"root",factory:()=>null})}}return e})();function xf(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,o=0;if(null!==t)for(let s=0;s<t.length;s++){const a=t[s];"number"==typeof a?o=a:1==o?i=b1(i,a):2==o&&(r=b1(r,a+": "+t[++s]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}class X8 extends xa{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=xe(t);return new Pl(n,this.ngModule)}}function $8(e,t){const n=[];for(const r in e){if(!e.hasOwnProperty(r))continue;const i=e[r];if(void 0===i)continue;const o=Array.isArray(i),s=o?i[0]:i;n.push(t?{propName:s,templateName:r,isSignal:!!((o?i[1]:mo.None)&mo.SignalBased)}:{propName:s,templateName:r})}return n}class Pl extends q8{get inputs(){const t=this.componentDef,n=t.inputTransforms,r=$8(t.inputs,!0);if(null!==n)for(const i of r)n.hasOwnProperty(i.propName)&&(i.transform=n[i.propName]);return r}get outputs(){return $8(this.componentDef.outputs,!1)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function nT(e){return e.map(tT).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,i){const o=E(null);try{let s=(i=i||this.ngModule)instanceof Nn?i:i?.injector;s&&null!==this.componentDef.getStandaloneInjector&&(s=this.componentDef.getStandaloneInjector(s)||s);const a=s?new rs(t,s):t,c=a.get(hs,null);if(null===c)throw new w(407,!1);const d={rendererFactory:c,sanitizer:a.get(JR,null),inlineEffectRunner:null,changeDetectionScheduler:a.get(Ma,null)},f=c.createRenderer(null,this.componentDef),h=this.componentDef.selectors[0][0]||"div",p=r?function gk(e,t,n,r){const o=r.get(v9,!1)||n===wr.ShadowDom,s=e.selectRootElement(t,o);return function mk(e){c8(e)}(s),s}(f,r,this.componentDef.encapsulation,a):gf(f,h,function XR(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(h));let m=512;this.componentDef.signals?m|=4096:this.componentDef.onPush||(m|=16);let C=null;null!==p&&(C=Hp(p,a,!0));const v=m3(0,null,null,1,0,null,null,null,null,null,null),y=yf(null,v,null,m,null,null,d,f,a,null,C);up(y);let S,N,K=null;try{const J=this.componentDef;let R,_e=null;J.findHostDirectiveDefs?(R=[],_e=new Map,J.findHostDirectiveDefs(J,R,_e),R.push(J)):R=[J];const un=function eO(e,t){const n=e[L],r=$;return e[r]=t,ls(n,r,2,"#host",null)}(y,p);K=function tO(e,t,n,r,i,o,s){const a=i[L];!function nO(e,t,n,r){for(const i of e)t.mergedAttrs=qc(t.mergedAttrs,i.hostAttrs);null!==t.mergedAttrs&&(xf(t,t.mergedAttrs,!0),null!==n&&r8(r,n,t))}(r,e,t,s);let c=null;null!==t&&(c=Hp(t,i[Gt]));const l=o.rendererFactory.createRenderer(t,n);let u=16;n.signals?u=4096:n.onPush&&(u=64);const d=yf(i,a8(n),null,u,i[e.index],e,o,l,null,null,c);return a.firstCreatePass&&v3(a,e,r.length-1),Af(i,d),i[e.index]=d}(un,p,J,R,y,d,f),N=el(v,$),p&&function iO(e,t,n,r){if(r)B1(e,n,["ng-version","18.2.13"]);else{const{attrs:i,classes:o}=function rT(e){const t=[],n=[];let r=1,i=2;for(;r<e.length;){let o=e[r];if("string"==typeof o)2===i?""!==o&&t.push(o,e[++r]):8===i&&n.push(o);else{if(!jr(i))break;i=o}r++}return{attrs:t,classes:n}}(t.selectors[0]);i&&B1(e,n,i),o&&o.length>0&&n8(e,n,o.join(" "))}}(f,J,p,r),void 0!==n&&function oO(e,t,n){const r=e.projection=[];for(let i=0;i<t.length;i++){const o=n[i];r.push(null!=o?Array.from(o):null)}}(N,this.ngContentSelectors,n),S=function rO(e,t,n,r,i,o){const s=rt(),a=i[L],c=Pn(s,i);d8(a,i,s,n,null,r);for(let u=0;u<n.length;u++)Dn(is(i,a,s.directiveStart+u,s),i);f8(a,i,s),c&&Dn(c,i);const l=is(i,a,s.directiveStart+s.componentOffset,s);if(e[mt]=i[mt]=l,null!==o)for(const u of o)u(l,t);return h3(a,s,i),l}(K,J,R,_e,y,[sO]),E3(v,y,null)}catch(J){throw null!==K&&Mp(K),Mp(y),J}finally{dp()}return new $R(this.componentType,S,va(N,y),y,N)}finally{E(o)}}}class $R extends ZR{constructor(t,n,r,i,o){super(),this.location=r,this._rootLView=i,this._tNode=o,this.previousInputValues=null,this.instance=n,this.hostView=this.changeDetectorRef=new Il(i,void 0,!1),this.componentType=t}
1setInput(t,n){const r=this._tNode.inputs;let i;if(null!==r&&(i=r[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;const o=this._rootLView;b3(o[L],o,i,t,n),this.previousInputValues.set(t,n),wl(ur(this._tNode.index,o),1)}}get injector(){return new en(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function sO(){const e=rt();jd(I()[L],e)}let gr=(()=>{class e{static{this.__NG_ELEMENT_ID__=aO}}return e})();function aO(){return function nm(e,t){let n;const r=t[e.index];return Sn(r)?n=r:(n=h8(r,t,null,e),t[e.index]=n,Af(t,n)),rm(n,t,e,r),new em(n,e,t)}(rt(),I())}const cO=gr,em=class extends cO{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return va(this._hostTNode,this._hostLView)}get injector(){return new en(this._hostTNode,this._hostLView)}get parentInjector(){const t=Wd(this._hostTNode,this._hostLView);if(gp(t)){const n=al(t,this._hostLView),r=sl(t);return new en(n[L].data[r+8],n)}return new en(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=tm(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-Bt}createEmbeddedView(t,n,r){let i,o;"number"==typeof r?i=r:null!=r&&(i=r.index,o=r.injector);const s=fs(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},o,s);return this.insertImpl(a,i,us(this._hostTNode,s)),a}createComponent(t,n,r,i,o){const s=t&&!function Jc(e){return"function"==typeof e}(t);let a;if(s)a=n;else{const p=n||{};a=p.index,r=p.injector,i=p.projectableNodes,o=p.environmentInjector||p.ngModuleRef}const c=s?t:new Pl(xe(t)),l=r||this.parentInjector;if(!o&&null==c.ngModule){const m=(s?l:this.parentInjector).get(Nn,null);m&&(o=m)}const u=xe(c.componentType??{}),d=fs(this._lContainer,u?.id??null),h=c.create(l,i,d?.firstChild??null,o);return this.insertImpl(h.hostView,a,us(this._hostTNode,d)),h}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){const i=t._lView;if(function LT(e){return Sn(e[Zt])}(i)){const a=this.indexOf(t);if(-1!==a)this.detach(a);else{const c=i[Zt],l=new em(c,c[gn],c[Zt]);l.detach(l.indexOf(t))}}const o=this._adjustIndex(n),s=this._lContainer;return Da(s,i,o,r),t.attachToViewContainerRef(),y7(B3(s),o,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=tm(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=Al(this._lContainer,n);r&&(wd(B3(this._lContainer),n),mf(r[L],r))}detach(t){const n=this._adjustIndex(t,-1),r=Al(this._lContainer,n);return r&&null!=wd(B3(this._lContainer),n)?new Il(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function tm(e){return e[8]}function B3(e){return e[8]||(e[8]=[])}let rm=function om(e,t,n,r){if(e[Ci])return;let i;i=8&n.type?ze(r):function lO(e,t){const n=e[ue],r=n.createComment(""),i=Pn(t,e);return as(n,a3(n,i),r,function ck(e,t){return e.nextSibling(t)}(n,i),!1),r}(t,n),e[Ci]=i},H3=()=>!1;const hm=new Set;function Bn(e){hm.has(e)||(hm.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function Om(e){const t=e.inputConfig,n={};for(const r in t)if(t.hasOwnProperty(r)){const i=t[r];Array.isArray(i)&&i[3]&&(n[r]=i[3])}e.inputTransforms=n}class ps{}class Nm{}class J3 extends ps{constructor(t,n,r,i=!0){super(),this.ngModuleType=t,this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new X8(this);const o=In(t);this._bootstrapComponents=hr(o.bootstrap),this._r3Injector=Og(t,n,[{provide:ps,useValue:this},{provide:xa,useValue:this.componentFactoryResolver},...r],Kt(t),new Set(["environment"])),i&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class K3 extends Nm{constructor(t){super(),this.moduleType=t}create(t){return new J3(this.moduleType,t,[])}}class Lm extends ps{constructor(t){super(),this.componentFactoryResolver=new X8(this),this.instance=null;const n=new aa([...t.providers,{provide:ps,useValue:this},{provide:xa,useValue:this.componentFactoryResolver}
1],t.parent||kd(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Of(e,t,n=null){return new Lm({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}function Ht(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Hl(e,t,n,r,i,o,s,a,c,l){const u=n+$,d=t.firstCreatePass?function ZO(e,t,n,r,i,o,s,a,c){const l=t.consts,u=ls(t,e,4,s||null,a||null);C3(t,n,u,Sr(l,c)),jd(t,u);const d=u.tView=m3(2,u,r,i,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,l,null);return null!==t.queries&&(t.queries.template(t,u),d.queries=t.queries.embeddedTView(u)),u}(u,t,e,r,i,o,s,a,c):t.data[u];Zr(d,!1);const f=Pm(t,e,d,n);il()&&Cf(t,e,f,d),Dn(f,e);const h=h8(f,e,f,d);return e[u]=h,Af(e,h),function im(e,t,n){return H3(e,t,n)}(h,d,e),Pd(d)&&p3(t,e,d),null!=c&&g3(e,d,l),d}function Tr(e,t,n,r,i,o,s,a){const c=I(),l=Te();return Hl(c,l,e,t,n,r,i,Sr(l.consts,o),s,a),Tr}let Pm=function Fm(e,t,n,r){return yi(!0),t[ue].createComment("")};var Na=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Na||{});let Qm=(()=>{class e{constructor(){this.impl=null}execute(){this.impl?.execute()}static{this.\u0275prov=F({token:e,providedIn:"root",factory:()=>new e})}}return e})();class jl{constructor(){this.ngZone=D(Oe),this.scheduler=D(Ma),this.errorHandler=D(bi,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}static{this.PHASES=[Na.EarlyRead,Na.Write,Na.MixedReadWrite,Na.Read]}execute(){this.executing=!0;for(const t of jl.PHASES)for(const n of this.sequences)if(!n.erroredOrDestroyed&&n.hooks[t])try{n.pipelinedValue=this.ngZone.runOutsideAngular(()=>n.hooks[t](n.pipelinedValue))}catch(r){n.erroredOrDestroyed=!0,this.errorHandler?.handleError(r)}this.executing=!1;for(const t of this.sequences)t.afterRun(),t.once&&(this.sequences.delete(t),t.destroy());for(const t of this.deferredRegistrations)this.sequences.add(t);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(t){this.executing?this.deferredRegistrations.add(t):(this.sequences.add(t),this.scheduler.notify(6))}unregister(t){this.executing&&this.sequences.has(t)?(t.erroredOrDestroyed=!0,t.pipelinedValue=void 0,t.once=!0):(this.sequences.delete(t),this.deferredRegistrations.delete(t))}static{this.\u0275prov=F({token:jl,providedIn:"root",factory:()=>new jl})}}class JO{constructor(t,n,r,i){this.impl=t,this.hooks=n,this.once=r,this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.()}}function Hf(e,t){!t?.injector&&function W1(e){if(!P7())throw new w(-203,!1)}();const n=t?.injector??D(Lt);return function pr(e){return"browser"===(e??D(Lt)).get(Wr)}(n)?(Bn("NgAfterNextRender"),function zm(e,t,n,r){const i=t.get(Qm);i.impl??=t.get(jl);const o=n?.phase??Na.MixedReadWrite,s=!0!==n?.manualCleanup?t.get(ll):null,a=new JO(i.impl,function YO(e,t){if(e instanceof Function){const n=[void 0,void 0,void 0,void 0];return n[t]=e,n}return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}(e,o),r,s);return i.impl.register(a),a}(e,n,t,!0)):Zm}const Zm={destroy(){}};function Mr(e,t,n,r){const i=I();return Ht(i,Gr(),t)&&(Te(),_i(Ct(),i,e,t,n,r)),Mr}function jf(e,t){return e<<17|t<<2}function Io(e){return e>>17&32767}function l0(e){return 2|e}function Cs(e){return(131068&e)>>2}function u0(e,t){return-131069&e|t<<2}function d0(e){return 1|e}function CC(e,t,n,r){const i=e[n+1],o=null===t;let s=r?Io(i):Cs(i),a=!1;for(;0!==s&&(!1===a||o);){const l=e[s+1];ON(e[s],t)&&(a=!0,e[s+1]=r?d0(l):l0(l)),s=r?Io(l):Cs(l)}a&&(e[n+1]=r?l0(i):d0(i))}function ON(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&oa(e,t)>=0}const tn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function vC(e){return e.substring(tn.key,tn.keyEnd)}function yC(e,t){const n=tn.textEnd;return n===t?-1:(t=tn.keyEnd=function FN(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,tn.key=t,n),Ja(e,t,n))}function Ja(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function ut(e,t,n){const r=I();return Ht(r,Gr(),t)&&Jn(Te(),Ct(),r,e,t,r[ue],n,!1),ut}function f0(e,t,n,r,i){const s=i?"class":"style";
vendor: 5,911 bytes, line 1
1b3(e,n,t.inputs[s],s,r)}function Ka(e,t,n){return Jr(e,t,n,!1),Ka}function zl(e,t){return Jr(e,t,null,!0),zl}function Di(e){!function Kr(e,t,n,r){const i=Te(),o=Ji(2);i.firstUpdatePass&&IC(i,null,o,r);const s=I();if(n!==ve&&Ht(s,o,n)){const a=i.data[mn()];if(MC(a,r)&&!wC(i,o)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;null!==c&&(n=b1(c,n||"")),f0(i,a,s,n,r)}else!function WN(e,t,n,r,i,o,s,a){i===ve&&(i=Qe);let c=0,l=0,u=0<i.length?i[0]:null,d=0<o.length?o[0]:null;for(;null!==u||null!==d;){const f=c<i.length?i[c+1]:void 0,h=l<o.length?o[l+1]:void 0;let m,p=null;u===d?(c+=2,l+=2,f!==h&&(p=d,m=h)):null===d||null!==u&&u<d?(c+=2,p=u):(l+=2,p=d,m=h),null!==p&&DC(e,t,n,r,p,m,s,a),u=c<i.length?i[c]:null,d=l<o.length?o[l]:null}}(i,a,s,s[ue],s[o+1],s[o+1]=function ZN(e,t,n){if(null==n||""===n)return Qe;const r=[],i=dr(n);if(Array.isArray(i))for(let o=0;o<i.length;o++)e(r,i[o],!0);else if("object"==typeof i)for(const o in i)i.hasOwnProperty(o)&&e(r,o,i[o]);else"string"==typeof i&&t(r,i);return r}(e,t,n),r,o)}}(GN,Ti,e,!0)}function Ti(e,t){for(let n=function LN(e){return function bC(e){tn.key=0,tn.keyEnd=0,tn.value=0,tn.valueEnd=0,tn.textEnd=e.length}(e),yC(e,Ja(e,0,tn.textEnd))}(t);n>=0;n=yC(t,n))lr(e,vC(t),!0)}function Jr(e,t,n,r){const i=I(),o=Te(),s=Ji(2);o.firstUpdatePass&&IC(o,e,s,r),t!==ve&&Ht(i,s,t)&&DC(o,o.data[mn()],i,i[ue],e,i[s+1]=function qN(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=Kt(dr(e)))),e}(t,n),r,s)}function wC(e,t){return t>=e.expandoStartIndex}function IC(e,t,n,r){const i=e.data;if(null===i[n+1]){const o=i[mn()],s=wC(e,n);MC(o,r)&&null===t&&!s&&(t=!1),t=function UN(e,t,n,r){const i=cp(e);let o=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(n=Zl(n=h0(null,e,t,n,r),t.attrs,r),o=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==i)if(n=h0(i,e,t,n,r),null===o){let c=function jN(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==Cs(r))return e[Io(r)]}(e,t,r);void 0!==c&&Array.isArray(c)&&(c=h0(null,e,t,c[1],r),c=Zl(c,t.attrs,r),function QN(e,t,n,r){e[Io(n?t.classBindings:t.styleBindings)]=r}(e,t,r,c))}else o=function zN(e,t,n){let r;const i=t.directiveEnd;for(let o=1+t.directiveStylingLast;o<i;o++)r=Zl(r,e[o].hostAttrs,n);return Zl(r,t.attrs,n)}(e,t,r)}return void 0!==o&&(r?t.residualClasses=o:t.residualStyles=o),n}(i,o,t,r),function kN(e,t,n,r,i,o){let s=o?t.classBindings:t.styleBindings,a=Io(s),c=Cs(s);e[r]=n;let u,l=!1;if(Array.isArray(n)?(u=n[1],(null===u||oa(n,u)>0)&&(l=!0)):u=n,i)if(0!==c){const f=Io(e[a+1]);e[r+1]=jf(f,a),0!==f&&(e[f+1]=u0(e[f+1],r)),e[a+1]=function MN(e,t){return 131071&e|t<<17}(e[a+1],r)}else e[r+1]=jf(a,0),0!==a&&(e[a+1]=u0(e[a+1],r)),a=r;else e[r+1]=jf(c,0),0===a?a=r:e[c+1]=u0(e[c+1],r),c=r;l&&(e[r+1]=l0(e[r+1])),CC(e,u,r,!0),CC(e,u,r,!1),function RN(e,t,n,r,i){const o=i?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof t&&oa(o,t)>=0&&(n[r+1]=d0(n[r+1]))}(t,u,e,r,o),s=jf(a,c),o?t.classBindings=s:t.styleBindings=s}(i,o,t,n,s,r)}}function h0(e,t,n,r,i){let o=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<s&&(o=t[a],r=Zl(r,o.hostAttrs,i),o!==e);)a++;return null!==e&&(n.directiveStylingLast=a),r}function Zl(e,t,n){const r=n?1:2;let i=-1;if(null!==t)for(let o=0;o<t.length;o++){const s=t[o];"number"==typeof s?i=s:i===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),lr(e,s,!!n||t[++o]))}return void 0===e?null:e}function GN(e,t,n){const r=String(t);""!==r&&!r.includes(" ")&&lr(e,r,n)}function DC(e,t,n,r,i,o,s,a){if(!(3&t.type))return;const c=e.data,l=c[a+1],u=function xN(e){return!(1&~e)}(l)?TC(c,t,n,i,Cs(l),s):void 0;Qf(u)||(Qf(o)||function TN(e){return!(2&~e)}(l)&&(o=TC(c,null,n,i,a,s)),function dk(e,t,n,r,i){if(t)i?e.addClass(n,r):e.removeClass(n,r);else{let o=-1===r.indexOf("-")?void 0:bo.DashCase;null==i?e.removeStyle(n,r,o):("string"==typeof i&&i.endsWith("!important")&&(i=i.slice(0,-10),o|=bo.Important),e.setStyle(n,r,i,o))}}(r,s,$c(mn(),n),i,o))}function TC(e,t,n,r,i,o){const s=null===t;let a;for(;i>0;){const c=e[i],l=Array.isArray(c),u=l?c[1]:c,d=null===u;let f=n[i+1];f===ve&&(f=d?Qe:void 0);let h=d?P1(f,r):u===r?f:void 0;if(l&&!Qf(h)&&(h=P1(c,r)),Qf(h)&&(a=h,s))return a;const p=e[i+1];i=s?Io(p):Cs(p)}if(null!==t){let c=o?t.residualClasses:t.residualStyles;null!=c&&(a=P1(c,r))}return a}function Qf(e){return void 0!==e}function MC(e,t){return!!(e.flags&(t?8:16))}function be(e,t,n,r){const i=I(),o=Te(),s=$+e,a=i[ue],c=o.firstCreatePass?function CL(e,t,n,r,i,o){const s=t.consts,c=ls(t,e,2,r,Sr(s,i));return C3(t,n,c,Sr(s,o)),null!==c.attrs&&xf(c,c.attrs,!1),null!==c.mergedAttrs&&xf(c,c.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,c),c}(s,o,i,t,n,r):o.data[s],l=OC(o,i,c,a,t,e);i[s]=l;const u=Pd(c);return Zr(c,!0),r8(a,l,c),!function Ra(e){return!(32&~e.flags)}(c)&&il()&&Cf(o,i,l,c),0===function PT(){return de.lFrame.elementDepthCount}()&&Dn(l,i),function FT(){de.lFrame.elementDepthCount++}(),u&&(p3(o,i,c),h3(o,c,i)),null!==r&&g3(i,c),be}function Pe(){let e=rt();op()?sp():(e=e.parent,Zr(e,!1));const t=e;(function HT(e){return de.skipHydrationRootTNode===e})(t)&&function QT(){de.skipHydrationRootTNode=null}(),function BT(){de.lFrame.elementDepthCount--}();const n=Te();return n.firstCreatePass&&(jd(n,e),K1(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function rM(e){return!!(8&e.flags)}(t)&&f0(n,t,I(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function iM(e){return!!(16&e.flags)}(t)&&f0(n,t,I(),t.stylesWithoutHost,!1),Pe}function St(e,t,n,r){return be(e,t,n,r),Pe(),St}let OC=(e,t,n,r,i,o)=>(yi(!0),gf(r,i,function hg(){return de.lFrame.currentNamespace}()));function Gl(e,t,n){const r=I(),i=Te(),o=e+$,s=i.firstCreatePass?function AL(e,t,n,r,i){const o=t.consts,s=Sr(o,r),a=ls(t,e,8,"ng-container",s);return null!==s&&xf(a,s,!0),C3(t,n,a,Sr(o,i)),null!==t.queries&&t.queries.elementStart(t,a),a}
1(o,i,r,t,n):i.data[o];Zr(s,!0);const a=LC(i,r,s,e);return r[o]=a,il()&&Cf(i,r,a,s),Dn(a,r),Pd(s)&&(p3(i,r,s),h3(i,s,r)),null!=n&&g3(r,s),Gl}function Wl(){let e=rt();const t=Te();return op()?sp():(e=e.parent,Zr(e,!1)),t.firstCreatePass&&(jd(t,e),K1(e)&&t.queries.elementEnd(e)),Wl}let LC=(e,t,n,r)=>(yi(!0),n3(t[ue],""));function ql(){return I()}function C0(e,t,n){const r=I();if(Ht(r,Gr(),t)){const o=Te(),s=Ct();Jn(o,s,r,e,t,C8(cp(o.data),s,r),n,!0)}return C0}const vs=void 0;var wL=["en",[["a","p"],["AM","PM"],vs],[["AM","PM"],vs,vs],[["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"]],vs,[["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"]],vs,[["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}",vs,"{1} 'at' {0}",vs],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function _L(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let Ya={};function Hn(e){const t=function IL(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=BC(t);if(n)return n;const r=t.split("-")[0];if(n=BC(r),n)return n;if("en"===r)return wL;throw new w(701,!1)}function BC(e){return e in Ya||(Ya[e]=bt.ng&&bt.ng.common&&bt.ng.common.locales&&bt.ng.common.locales[e]),Ya[e]}var vt=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(vt||{});const Zf="en-US";let HC=Zf,rv=(e,t,n)=>{};function xr(e,t,n,r){const i=I(),o=Te(),s=rt();return function A0(e,t,n,r,i,o,s){const a=Pd(r),l=e.firstCreatePass&&function m8(e){return e.cleanup??=[]}(e),u=t[mt],d=function g8(e){return e[ua]??=[]}(t);let f=!0;if(3&r.type||s){const m=Pn(r,t),C=s?s(m):m,v=d.length,y=s?N=>s(ze(N[r.index])):r.index;let S=null;if(!s&&a&&(S=function hP(e,t,n,r){const i=e.cleanup;if(null!=i)for(let o=0;o<i.length-1;o+=2){const s=i[o];if(s===n&&i[o+1]===r){const a=t[ua],c=i[o+2];return a.length>c?a[c]:null}"string"==typeof s&&(o+=2)}return null}(e,t,i,r.index)),null!==S)(S.__ngLastListenerFn__||S).__ngNextListenerFn__=o,S.__ngLastListenerFn__=o,f=!1;else{o=av(r,t,u,o),rv(m,i,o);const N=n.listen(C,i,o);d.push(o,N),l&&l.push(i,y,v,v+1)}}else o=av(r,t,u,o);const h=r.outputs;let p;if(f&&null!==h&&(p=h[i])){const m=p.length;if(m)for(let C=0;C<m;C+=2){const K=t[p[C]][p[C+1]].subscribe(o),J=d.length;d.push(o,K),l&&l.push(i,r.index,J,-(J+1))}}}(o,i,i[ue],s,e,t,r),xr}function sv(e,t,n,r){const i=E(null);try{return vi(6,t,n),!1!==n(r)}catch(o){return bf(e,o),!1}finally{vi(7,t,n),E(i)}}function av(e,t,n,r){return function i(o){if(o===Function)return r;wl(e.componentOffset>-1?ur(e.index,t):t,5);let a=sv(t,n,r,o),c=i.__ngNextListenerFn__;for(;c;)a=sv(t,n,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function cn(e=1){return function qT(e){return(de.lFrame.contextLView=function X7(e,t){for(;e>0;)t=t[da],e--;return t}(e,de.lFrame.contextLView))[mt]}(e)}function pP(e,t){let n=null;const r=function YD(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(!(1&n))return t[n+1]}return null}(e);for(let i=0;i<t.length;i++){const o=t[i];if("*"!==o){if(null===r?D7(e,o,!0):eT(r,o))return i}else n=i}return n}function b0(e){const t=I()[It][gn];if(!t.projection){const r=t.projection=function Id(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}(e?e.length:1,null),i=r.slice();let o=t.child;for(;null!==o;){if(128!==o.type){const s=e?pP(o,e):0;null!==s&&(i[s]?i[s].projectionNext=o:r[s]=o,i[s]=o)}o=o.next}}}function E0(e,t=0,n,r,i,o){const s=I(),a=Te(),c=r?e+1:null;
1null!==c&&Hl(s,a,c,r,i,o,null,n);const l=ls(a,$+e,16,null,n||null);null===l.projection&&(l.projection=t),sp();const d=!s[Ln]||ts();null===s[It][gn].projection[l.projection]&&null!==c?function gP(e,t,n){const r=$+n,i=t.data[r],o=e[r],s=fs(o,i.tView.ssrId);Da(o,Sa(e,i,void 0,{dehydratedView:s}),0,us(i,s))}(s,a,c):d&&32&~l.flags&&function lk(e,t,n){t8(t[ue],0,t,n,s3(e,n,t),J9(n.parent||t[gn],n,t))}(a,s,l)}function Dt(e,t=""){const n=I(),r=Te(),i=e+$,o=r.firstCreatePass?ls(r,i,1,t,null):r.data[i],s=Mv(r,n,o,t,e);n[i]=s,il()&&Cf(r,n,s,o),Zr(o,!1)}let Mv=(e,t,n,r,i)=>(yi(!0),function t3(e,t){return e.createText(t)}(t[ue],r));function I0(e){return Mi("",e,""),I0}function Mi(e,t,n){const r=I(),i=function Ua(e,t,n,r){return Ht(e,Gr(),n)?t+Ce(n)+r:ve}(r,e,t,n);return i!==ve&&function $i(e,t,n){const r=$c(t,e);!function Q9(e,t,n){e.setValue(t,n)}(e[ue],r,n)}(r,mn(),i),Mi}function S0(e,t,n,r,i){if(e=le(e),Array.isArray(e))for(let o=0;o<e.length;o++)S0(e[o],t,n,r,i);else{const o=Te(),s=I(),a=rt();let c=Yo(e)?e:le(e.provide);const l=L7(e),u=1048575&a.providerIndexes,d=a.directiveStart,f=a.providerIndexes>>20;if(Yo(e)||!e.multi){const h=new ol(l,i,P),p=T0(c,t,i?u:u+f,d);-1===p?(vp(Gd(a,s),o,c),D0(o,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),n.push(h),s.push(h)):(n[p]=h,s[p]=h)}else{const h=T0(c,t,u+f,d),p=T0(c,t,u,u+f),C=p>=0&&n[p];if(i&&!C||!i&&!(h>=0&&n[h])){vp(Gd(a,s),o,c);const v=function BP(e,t,n,r,i){const o=new ol(e,n,P);return o.multi=[],o.index=t,o.componentProviders=0,jv(o,i,r&&!n),o}(i?FP:PP,n.length,i,r,l);!i&&C&&(n[p].providerFactory=v),D0(o,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),n.push(v),s.push(v)}else D0(o,e,h>-1?h:p,jv(n[i?p:h],l,!i&&r));!i&&r&&C&&n[p].componentProviders++}}}function D0(e,t,n,r){const i=Yo(t),o=function uT(e){return!!e.useClass}(t);if(i||o){const c=(o?le(t.useClass):t).prototype.ngOnDestroy;if(c){const l=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){const u=l.indexOf(n);-1===u?l.push(n,[r,c]):l[u+1].push(r,c)}else l.push(n,c)}}}function jv(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function T0(e,t,n,r){for(let i=n;i<r;i++)if(t[i]===e)return i;return-1}function PP(e,t,n,r){return M0(this.multi,[])}function FP(e,t,n,r){const i=this.multi;let o;if(this.providerFactory){const s=this.providerFactory.componentProviders,a=is(n,n[L],this.providerFactory.index,r);o=a.slice(0,s),M0(i,o);for(let c=s;c<a.length;c++)o.push(a[c])}else o=[],M0(i,o);return o}function M0(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function x0(e,t=[]){return n=>{n.providersResolver=(r,i)=>function LP(e,t,n){const r=Te();if(r.firstCreatePass){const i=zr(e);S0(n,r.data,r.blueprint,i,!0),S0(t,r.data,r.blueprint,i,!1)}}(r,i?i(e):e,t)}}let HP=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const r=V1(0,n.type),i=r.length>0?Of([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,i)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static{this.\u0275prov=F({token:e,providedIn:"environment",factory:()=>new e(B(Nn))})}}return e})();function Jf(e){Bn("NgStandalone"),e.getStandaloneInjector=t=>t.get(HP).getOrCreateStandaloneInjector(e)}function Zv(e,t,n,r){return function Gv(e,t,n,r,i,o){const s=t+n;return Ht(e,s,i)?function Ii(e,t,n){return e[t]=n}(e,s+1,o?r.call(o,i):r(i)):function eu(e,t){const n=e[t];return n===ve?void 0:n}(e,s+1)}(I(),function Fn(){const e=de.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}(),e,t,n,r)}let fy=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"platform"})}}return e})();const Cy=new Q(""),th=new Q("");let B0,P0=(()=>{class e{constructor(n,r,i){this._ngZone=n,this.registry=r,this._isZ
1oneStable=!0,this._callbacks=[],this.taskTrackingZone=null,B0||(function XF(e){B0=e}(i),i.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Oe.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,i){let o=-1;r&&r>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),n()},r)),this._callbacks.push({doneCb:n,timeoutId:o,updateCb:i})}whenStable(n,r,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,i),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,i){return[]}static{this.\u0275fac=function(r){return new(r||e)(B(Oe),B(F0),B(th))}}static{this.\u0275prov=F({token:e,factory:e.\u0275fac})}}return e})(),F0=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return B0?.findTestabilityInTree(this,n,r)??null}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"platform"})}}return e})();function nh(e){return!!e&&"function"==typeof e.then}function vy(e){return!!e&&"function"==typeof e.subscribe}const H0=new Q("");let yy=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=D(H0,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const i of this.appInits){const o=i();if(nh(o))n.push(o);else if(vy(o)){const s=new Promise((a,c)=>{o.subscribe({complete:a,error:c})});n.push(s)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(i=>{this.reject(i)}),0===n.length&&r(),this.initialized=!0}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const rh=new Q("");function by(e,t){return Array.isArray(t)?t.reduce(by,e):{...e,...t}}let Cr=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=D(RM),this.afterRenderManager=D(Qm),this.zonelessEnabled=D(Ol),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new Nt,this.afterTick=new Nt,this.componentTypes=[],this.components=[],this.isStable=D(Ki).hasPendingTasks.pipe(ke(n=>!n)),this._injector=D(Nn)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:i=>{i&&r()}})}).finally(()=>{n.unsubscribe()})}get injector(){return this._injector}bootstrap(n,r){const i=n instanceof q8;if(!this._injector.get(yy).done)throw!i&&function Co(e){const t=xe(e)||Yt(e)||pn(e);return null!==t&&t.standalone}(n),new w(405,!1);let s;s=i?n:this._injector.get(xa).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const a=function $F(e){return e.isBoundToModule}(s)?void 0:this._injector.get(ps),l=s.create(Lt.NULL,[],r||s.selector,a),u=l.location.nativeElement,d=l.injector.get(Cy,null);return d?.registerApplication(u),l.onDestroy(()=>{this.detachView(l.hostView),ih(this.components,l),d?.unregisterApplication(u)}),this._loadComponent(l),l}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new w(101,!1);const n=E(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,E(n),this.afterTick.next()}}synchronize(){let n=null;
1this._injector.destroyed||(n=this._injector.get(hs,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let r=0;for(;0!==this.dirtyFlags&&r++<10;)this.synchronizeOnce(n)}synchronizeOnce(n){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,7&this.dirtyFlags){const r=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8,this.beforeRender.next(r);for(let{_lView:i,notifyErrorHandler:o}of this._views)nB(i,o,r,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),7&this.dirtyFlags)return}else n?.begin?.(),n?.end?.();8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:n})=>Fd(n))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;ih(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(rh,[]);[...this._bootstrapListeners,...r].forEach(i=>i(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>ih(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new w(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function ih(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function nB(e,t,n,r){(n||Fd(e))&&Ef(e,t,n&&!r?0:1)}class rB{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let _y=(()=>{class e{compileModuleSync(n){return new K3(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),o=hr(In(n).declarations).reduce((s,a)=>{const c=xe(a);return c&&s.push(new Pl(c)),s},[]);return new rB(r,o)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),sB=(()=>{class e{constructor(){this.zone=D(Oe),this.changeDetectionScheduler=D(Ma),this.applicationRef=D(Cr)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function V0({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new Oe({...U0(),scheduleInRootZone:n}),[{provide:Oe,useFactory:e},{provide:pi,multi:!0,useFactory:()=>{const r=D(sB,{optional:!0});return()=>r.initialize()}},{provide:pi,multi:!0,useFactory:()=>{const r=D(cB);return()=>{r.initialize()}}},!0===t?{provide:W8,useValue:!0}:[],{provide:L3,useValue:n??Lg}]}function U0(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}let cB=(()=>{class e{constructor(){this.subscription=new G,this.initialized=!1,this.zone=D(Oe),this.pendingTasks=D(Ki)}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Oe.assertNotInAngularZone(),queueMicrotask(()=>{null!==n&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}
1))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Oe.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),iu=(()=>{class e{constructor(){this.appRef=D(Cr),this.taskService=D(Ki),this.ngZone=D(Oe),this.zonelessEnabled=D(Ol),this.disableScheduling=D(W8,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new G,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Xd):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(D(L3,{optional:!0})??!1),this.cancelScheduledCallback=null,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Ip||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&5===n)return;switch(n){case 0:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 7:this.appRef.deferredDirtyFlags|=8;break;default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick())return;const r=this.useMicrotaskScheduler?Fg:Pg;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run(()=>r(()=>this.tick())):this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.disableScheduling||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Xd+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);const n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(n),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Fg(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const So=new Q("",{providedIn:"root",factory:()=>D(So,Re.Optional|Re.SkipSelf)||function lB(){return typeof $localize<"u"&&$localize.locale||Zf}()}),sh=new Q("");function ah(e){return!e.moduleRef}let My=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const i=r?.scheduleInRootZone,s=r?.ignoreChangesOutsideZone,a=[V0({ngZoneFactory:()=>function kM(e="zone.js",t){return"noop"===e?new Ip:"zone.js"===e?new Oe(t):e}(r?.ngZone,{...U0({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}),scheduleInRootZone:i}),ignoreChangesOutsideZone:s}),{provide:Ma,useExisting:iu}],c=function VO(e,t,n){return new J3(e,t,n,!1)}(n.moduleType,this.injector,a);return function Ty(e){const t=ah(e)?e.r3Injector:e.moduleRef.injector,n=t.get(Oe);return n.run(()=>{ah(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();const r=t.get(bi,null);let i;if(n.runOutsideAngular(()=>{i=n.onError.subscribe({next:o=>{r.handleError(o)}})}),ah(e)){const o=()=>t.destroy(),s=e.platformInjector.get(sh);s.add(o),t.onDestroy(()=>{i.unsubscribe(),s.delete(o)})}else{const o=()=>e.moduleRef.destroy(),s=e.platformInjector.get(sh);s.add(o),e.moduleRef.onDestroy(()=>{ih(e.allPlatformModules,e.moduleRef),i.unsubscribe(),s.delete(o)})}return function tB(e,t,n){try{const r=n();return nh(r)?r.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(r,n,()=>{const o=t.get(yy);
1return o.runInitializers(),o.donePromise.then(()=>{if(function ML(e){"string"==typeof e&&(HC=e.toLowerCase().replace(/_/g,"-"))}(t.get(So,Zf)||Zf),ah(e)){const a=t.get(Cr);return void 0!==e.rootComponent&&a.bootstrap(e.rootComponent),a}return function gB(e,t){const n=e.injector.get(Cr);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else{if(!e.instance.ngDoBootstrap)throw new w(-403,!1);e.instance.ngDoBootstrap(n)}t.push(e)}(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}({moduleRef:c,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(n,r=[]){const i=by({},r);return function oB(e,t,n){const r=new K3(n);return Promise.resolve(r)}(0,0,n).then(o=>this.bootstrapModuleFactory(o,i))}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new w(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(sh,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static{this.\u0275fac=function(r){return new(r||e)(B(Lt))}}static{this.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"platform"})}}return e})(),Do=null;const xy=new Q("");function ky(e,t,n=[]){const r=`Platform: ${t}`,i=new Q(r);return(o=[])=>{let s=Q0();if(!s||s.injector.get(xy,!1)){const a=[...n,...o,{provide:i,useValue:!0}];e?e(a):function mB(e){if(Do&&!Do.get(xy,!1))throw new w(400,!1);(function Ay(){!function Ur(e){Vr=e}(()=>{throw new w(600,!1)})})(),Do=e;const t=e.get(My);(function Oy(e){e.get(c9,null)?.forEach(n=>n())})(e)}(function Ry(e=[],t){return Lt.create({name:t,providers:[{provide:Q1,useValue:"platform"},{provide:sh,useValue:new Set([()=>Do=null])},...e]})}(a,r))}return function CB(){const t=Q0();if(!t)throw new w(401,!1);return t}()}}function Q0(){return Do?.get(My)??null}let ec=(()=>{class e{static{this.__NG_ELEMENT_ID__=yB}}return e})();function yB(e){return function AB(e,t,n){if($o(e)&&!n){const r=ur(e.index,t);return new Il(r,r)}return 175&e.type?new Il(t[It],t):null}(rt(),I(),!(16&~e))}const RB=ky(null,"core",[]);let OB=(()=>{class e{constructor(n){}static{this.\u0275fac=function(r){return new(r||e)(B(Cr))}}static{this.\u0275mod=Gn({type:e})}static{this.\u0275inj=On({})}}return e})();function Y0(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}let hA=null;function tc(){return hA}class vH{}const Pt=new Q("");let Ch=(()=>{class e{historyGo(n){throw new Error("")}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=F({token:e,factory:()=>D(pA),providedIn:"platform"})}}return e})();const yH=new Q("");let pA=(()=>{class e extends Ch{constructor(){super(),this._doc=D(Pt),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return tc().getBaseHref(this._doc)}onPopState(n){const r=tc().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){const r=tc().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,r,i){this._history.pushState(n,r,i)}replaceState(n,r,i){this._history.replaceState(n,r,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=F({token:e,factory:()=>new e,providedIn:"platform"})}}return e})();function X0(e,t){if(0==e.length)return t;if(0==t.length)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t}function gA(e){const t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)}function eo(e){return e&&"?"!==e[0]?"?"+e:e}let As=(()=>{class e{historyGo(n){throw new Error("")}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=F({token:e,factory:()=>D(mA),providedIn:"root"})}}return e})();const $0=new Q("");let mA=(()=>{class e extends As{constructor(n,r){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??D(Pt).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.on
1HashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return X0(this._baseHref,n)}path(n=!1){const r=this._platformLocation.pathname+eo(this._platformLocation.search),i=this._platformLocation.hash;return i&&n?`${r}${i}`:r}pushState(n,r,i,o){const s=this.prepareExternalUrl(i+eo(o));this._platformLocation.pushState(n,r,s)}replaceState(n,r,i,o){const s=this.prepareExternalUrl(i+eo(o));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static{this.\u0275fac=function(r){return new(r||e)(B(Ch),B($0,8))}}static{this.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),AH=(()=>{class e extends As{constructor(n,r){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],null!=r&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){const r=this._platformLocation.hash??"#";return r.length>0?r.substring(1):r}prepareExternalUrl(n){const r=X0(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,i,o){let s=this.prepareExternalUrl(i+eo(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(n,r,s)}replaceState(n,r,i,o){let s=this.prepareExternalUrl(i+eo(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static{this.\u0275fac=function(r){return new(r||e)(B(Ch),B($0,8))}}static{this.\u0275prov=F({token:e,factory:e.\u0275fac})}}return e})(),cu=(()=>{class e{constructor(n){this._subject=new qe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;const r=this._locationStrategy.getBaseHref();this._basePath=function _H(e){if(new RegExp("^(https?:)?//").test(e)){const[,n]=e.split(/\/\/[^\/]+/);return n}return e}(gA(CA(r))),this._locationStrategy.onPopState(i=>{this._subject.emit({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+eo(r))}normalize(n){return e.stripTrailingSlash(function EH(e,t){if(!e||!t.startsWith(e))return t;const n=t.substring(e.length);return""===n||["/",";","?","#"].includes(n[0])?n:t}(this._basePath,CA(n)))}prepareExternalUrl(n){return n&&"/"!==n[0]&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",i=null){this._locationStrategy.pushState(i,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+eo(r)),i)}replaceState(n,r="",i=null){this._locationStrategy.replaceState(i,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+eo(r)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{const r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(i=>i(n,r))}subscribe(n,r,i){return this._subject.subscribe({next:n,error:r,complete:i})}static{this.normalizeQueryParams=eo}static{this.joinWithSlash=X0}static{this.stripTrailingSlash=gA}static{this.\u0275fac=function(r){return new(r||e)(B(As))}}static{this.\u0275prov=F({token:e,factory:()=>function bH(){return new cu(B(As))}(),providedIn:"root"})}}return e})();function CA(e){return e.replace(/\/index.html$/,"")}var Un=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(Un||{}),dt=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(dt||{}),vr=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(vr||{});const Wt={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function yh(e,t){return Rr(Hn(e)[vt.DateFormat],t)}function Ah(e,t){return Rr(Hn(e)[vt.TimeFormat],t)}function bh(e,t){return Rr(Hn(e)[vt.DateTimeFormat],t)}function kr(e,t){const n=Hn(e),r=n[vt.NumberSymbols][t];if(typeof r>"u"){if(t===Wt.CurrencyDecimal)return n[vt.NumberSymbols][Wt.Decimal];if(t===Wt.CurrencyGroup)return n[vt.NumberSymbols][Wt.Group]}return r}function yA(e){if(!e[vt.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[vt.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Rr(e,t){for(let n=t;n>-1;n--)if(typeof e[n]<"u")return e[n];throw new Error("Locale data API: locale data undefined")}function t2(e){const[t,n]=e.split(":");return{hours:+t,minutes:+n}}const FH=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Eh={},BH=/((?:[^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]*)/;var to=function(e){return e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended",e}(to||{}),Ye=function(e){return e[e.FullYear=0]="FullYear",e[e.Month=1]="Month",e[e.Date=2]="Date",e[e.Hours=3]="Hours",e[e.Minutes=4]="Minutes",e[e.Seconds=5]="Seconds",e[e.FractionalSeconds=6]="FractionalSeconds",e[e.Day=7]="Day",e}(Ye||{}),Xe=function(e){return e[e.DayPeriods=0]="DayPeriods",e[e.Days=1]="Days",e[e.Months=2]="Months",e[e.Eras=3]="Eras",e}(Xe||{});function HH(e,t,n,r){let i=function qH(e){if(EA(e))return e;if("number"==typeof e&&!isNaN(e))return new Date(e);if("string"==typeof e){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){const[i,o=1,s=1]=e.split("-").map(a=>+a);return _h(i,o-1,s)}const n=parseFloat(e);
vendor: 10,508 bytes, line 1
1if(!isNaN(e-n))return new Date(n);let r;if(r=e.match(FH))return function JH(e){const t=new Date(0);let n=0,r=0;const i=e[8]?t.setUTCFullYear:t.setFullYear,o=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),r=Number(e[9]+e[11])),i.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));const s=Number(e[4]||0)-n,a=Number(e[5]||0)-r,c=Number(e[6]||0),l=Math.floor(1e3*parseFloat("0."+(e[7]||0)));return o.call(t,s,a,c,l),t}(r)}const t=new Date(e);if(!EA(t))throw new Error(`Unable to convert "${e}" into a date`);return t}(e);t=no(n,t)||t;let a,s=[];for(;t;){if(a=BH.exec(t),!a){s.push(t);break}{s=s.concat(a.slice(1));const u=s.pop();if(!u)break;t=u}}let c=i.getTimezoneOffset();r&&(c=bA(r,c),i=function WH(e,t,n){const r=n?-1:1,i=e.getTimezoneOffset();return function GH(e,t){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+t),e}(e,r*(bA(t,i)-i))}(i,r,!0));let l="";return s.forEach(u=>{const d=function ZH(e){if(r2[e])return r2[e];let t;switch(e){case"G":case"GG":case"GGG":t=yt(Xe.Eras,dt.Abbreviated);break;case"GGGG":t=yt(Xe.Eras,dt.Wide);break;case"GGGGG":t=yt(Xe.Eras,dt.Narrow);break;case"y":t=qt(Ye.FullYear,1,0,!1,!0);break;case"yy":t=qt(Ye.FullYear,2,0,!0,!0);break;case"yyy":t=qt(Ye.FullYear,3,0,!1,!0);break;case"yyyy":t=qt(Ye.FullYear,4,0,!1,!0);break;case"Y":t=Dh(1);break;case"YY":t=Dh(2,!0);break;case"YYY":t=Dh(3);break;case"YYYY":t=Dh(4);break;case"M":case"L":t=qt(Ye.Month,1,1);break;case"MM":case"LL":t=qt(Ye.Month,2,1);break;case"MMM":t=yt(Xe.Months,dt.Abbreviated);break;case"MMMM":t=yt(Xe.Months,dt.Wide);break;case"MMMMM":t=yt(Xe.Months,dt.Narrow);break;case"LLL":t=yt(Xe.Months,dt.Abbreviated,Un.Standalone);break;case"LLLL":t=yt(Xe.Months,dt.Wide,Un.Standalone);break;case"LLLLL":t=yt(Xe.Months,dt.Narrow,Un.Standalone);break;case"w":t=n2(1);break;case"ww":t=n2(2);break;case"W":t=n2(1,!0);break;case"d":t=qt(Ye.Date,1);break;case"dd":t=qt(Ye.Date,2);break;case"c":case"cc":t=qt(Ye.Day,1);break;case"ccc":t=yt(Xe.Days,dt.Abbreviated,Un.Standalone);break;case"cccc":t=yt(Xe.Days,dt.Wide,Un.Standalone);break;case"ccccc":t=yt(Xe.Days,dt.Narrow,Un.Standalone);break;case"cccccc":t=yt(Xe.Days,dt.Short,Un.Standalone);break;case"E":case"EE":case"EEE":t=yt(Xe.Days,dt.Abbreviated);break;case"EEEE":t=yt(Xe.Days,dt.Wide);break;case"EEEEE":t=yt(Xe.Days,dt.Narrow);break;case"EEEEEE":t=yt(Xe.Days,dt.Short);break;case"a":case"aa":case"aaa":t=yt(Xe.DayPeriods,dt.Abbreviated);break;case"aaaa":t=yt(Xe.DayPeriods,dt.Wide);break;case"aaaaa":t=yt(Xe.DayPeriods,dt.Narrow);break;case"b":case"bb":case"bbb":t=yt(Xe.DayPeriods,dt.Abbreviated,Un.Standalone,!0);break;case"bbbb":t=yt(Xe.DayPeriods,dt.Wide,Un.Standalone,!0);break;case"bbbbb":t=yt(Xe.DayPeriods,dt.Narrow,Un.Standalone,!0);break;case"B":case"BB":case"BBB":t=yt(Xe.DayPeriods,dt.Abbreviated,Un.Format,!0);break;case"BBBB":t=yt(Xe.DayPeriods,dt.Wide,Un.Format,!0);break;case"BBBBB":t=yt(Xe.DayPeriods,dt.Narrow,Un.Format,!0);break;case"h":t=qt(Ye.Hours,1,-12);break;case"hh":t=qt(Ye.Hours,2,-12);break;case"H":t=qt(Ye.Hours,1);break;case"HH":t=qt(Ye.Hours,2);break;case"m":t=qt(Ye.Minutes,1);break;case"mm":t=qt(Ye.Minutes,2);break;case"s":t=qt(Ye.Seconds,1);break;case"ss":t=qt(Ye.Seconds,2);break;case"S":t=qt(Ye.FractionalSeconds,1);break;case"SS":t=qt(Ye.FractionalSeconds,2);break;case"SSS":t=qt(Ye.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=Ih(to.Short);break;case"ZZZZZ":t=Ih(to.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=Ih(to.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=Ih(to.Long);break;default:return null}return r2[e]=t,t}(u);l+=d?d(i,n,c):"''"===u?"'":u.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),l}function _h(e,t,n){const r=new Date(0);return r.setFullYear(e,t,n),r.setHours(0,0,0),r}function no(e,t){const n=function IH(e){return Hn(e)[vt.LocaleId]}(e);if(Eh[n]??={},Eh[n][t])return Eh[n][t];let r="";switch(t){case"shortDate":r=yh(e,vr.Short);break;case"mediumDate":r=yh(e,vr.Medium);break;case"longDate":r=yh(e,vr.Long);break;case"fullDate":r=yh(e,vr.Full);break;case"shortTime":r=Ah(e,vr.Short);break;case"mediumTime":r=Ah(e,vr.Medium);break;case"longTime":r=Ah(e,vr.Long);break;case"fullTime":r=Ah(e,vr.Full);break;case"short":const i=no(e,"shortTime"),o=no(e,"shortDate");r=wh(bh(e,vr.Short),[i,o]);break;case"medium":const s=no(e,"mediumTime"),a=no(e,"mediumDate");r=wh(bh(e,vr.Medium),[s,a]);break;case"long":const c=no(e,"longTime"),l=no(e,"longDate");r=wh(bh(e,vr.Long),[c,l]);break;case"full":const u=no(e,"fullTime"),d=no(e,"fullDate");r=wh(bh(e,vr.Full),[u,d])}return r&&(Eh[n][t]=r),r}function wh(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(n,r){return null!=t&&r in t?t[r]:n})),e}function Yr(e,t,n="-",r,i){let o="";(e<0||i&&e<=0)&&(i?e=1-e:(e=-e,o=n));let s=String(e);for(;s.length<t;)s="0"+s;return r&&(s=s.slice(s.length-t)),o+s}function qt(e,t,n=0,r=!1,i=!1){return function(o,s){let a=function UH(e,t){switch(e){case Ye.FullYear:return t.getFullYear();case Ye.Month:return t.getMonth();case Ye.Date:return t.getDate();case Ye.Hours:return t.getHours();case Ye.Minutes:return t.getMinutes();case Ye.Seconds:return t.getSeconds();case Ye.FractionalSeconds:return t.getMilliseconds();case Ye.Day:return t.getDay();default:throw new Error(`Unknown DateType value "${e}".`)}}(e,o);if((n>0||a>-n)&&(a+=n),e===Ye.Hours)0===a&&-12===n&&(a=12);else if(e===Ye.FractionalSeconds)return function VH(e,t){return Yr(e,3).substring(0,t)}(a,t);const c=kr(s,Wt.MinusSign);return Yr(a,t,c,r,i)}}function yt(e,t,n=Un.Format,r=!1){return function(i,o){return function jH(e,t,n,r,i,o){switch(n){case Xe.Months:return function TH(e,t,n){const r=Hn(e),o=Rr([r[vt.MonthsFormat],r[vt.MonthsStandalone]],t);return Rr(o,n)}(t,i,r)[e.getMonth()];case Xe.Days:return function DH(e,t,n){const r=Hn(e),o=Rr([r[vt.DaysFormat],r[vt.DaysStandalone]],t);return Rr(o,n)}(t,i,r)[e.getDay()];case Xe.DayPeriods:const s=e.getHours(),a=e.getMinutes();if(o){const l=function RH(e){const t=Hn(e);return yA(t),(t[vt.ExtraData][2]||[]).map(r=>"string"==typeof r?t2(r):[t2(r[0]),t2(r[1])])}(t),u=function OH(e,t,n){const r=Hn(e);yA(r);const o=Rr([r[vt.ExtraData][0],r[vt.ExtraData][1]],t)||[];return Rr(o,n)||[]}(t,i,r),d=l.findIndex(f=>{if(Array.isArray(f)){const[h,p]=f,m=s>=h.hours&&a>=h.minutes,C=s<p.hours||s===p.hours&&a<p.minutes;if(h.hours<p.hours){if(m&&C)return!0}else if(m||C)return!0}else if(f.hours===s&&f.minutes===a)return!0;return!1});if(-1!==d)return u[d]}return function SH(e,t,n){const r=Hn(e),o=Rr([r[vt.DayPeriodsFormat],r[vt.DayPeriodsStandalone]],t);return Rr(o,n)}(t,i,r)[s<12?0:1];case Xe.Eras:return function MH(e,t){return Rr(Hn(e)[vt.Eras],t)}(t,r)[e.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${n}`)}}(i,o,e,t,n,r)}}function Ih(e){return function(t,n,r){const i=-1*r,o=kr(n,Wt.MinusSign),s=i>0?Math.floor(i/60):Math.ceil(i/60);switch(e){case to.Short:return(i>=0?"+":"")+Yr(s,2,o)+Yr(Math.abs(i%60),2,o);case to.ShortGMT:return"GMT"+(i>=0?"+":"")+Yr(s,1,o);case to.Long:return"GMT"+(i>=0?"+":"")+Yr(s,2,o)+":"+Yr(Math.abs(i%60),2,o);case to.Extended:return 0===r?"Z":(i>=0?"+":"")+Yr(s,2,o)+":"+Yr(Math.abs(i%60),2,o);default:throw new Error(`Unknown zone width "${e}"`)}}}const QH=0,Sh=4;function AA(e){const t=e.getDay(),n=0===t?-3:Sh-t;return _h(e.getFullYear(),e.getMonth(),e.getDate()+n)}function n2(e,t=!1){return function(n,r){let i;if(t){const o=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,s=n.getDate();i=1+Math.floor((s+o)/7)}else{const o=AA(n),s=function zH(e){const t=_h(e,QH,1).getDay();return _h(e,0,1+(t<=Sh?Sh:Sh+7)-t)}(o.getFullYear()),a=o.getTime()-s.getTime();i=1+Math.round(a/6048e5)}return Yr(i,e,kr(r,Wt.MinusSign))}}function Dh(e,t=!1){return function(n,r){return Yr(AA(n).getFullYear(),e,kr(r,Wt.MinusSign),t)}}const r2={};function bA(e,t){e=e.replace(/:/g,"");const n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function EA(e){return e instanceof Date&&!isNaN(e.valueOf())}function SA(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const r=n.indexOf("="),[i,o]=-1==r?[n,""]:[n.slice(0,r),n.slice(r+1)];if(i.trim()===t)return decodeURIComponent(o)}return null}const u2=/\s+/,DA=[];let TA=(()=>{class e{constructor(n,r){this._ngEl=n,this._renderer=r,this.initialClasses=DA,this.stateMap=new Map}set klass(n){this.initialClasses=null!=n?n.trim().split(u2):DA}set ngClass(n){this.rawClass="string"==typeof n?n.trim().split(u2):n}ngDoCheck(){for(const r of this.initialClasses)this._updateState(r,!0);const n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(const r of n)this._updateState(r,!0);else if(null!=n)for(const r of Object.keys(n))this._updateState(r,!!n[r]);this._applyStateDiff()}_updateState(n,r){const i=this.stateMap.get(n);void 0!==i?(i.enabled!==r&&(i.changed=!0,i.enabled=r),i.touched=!0):this.stateMap.set(n,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(const n of this.stateMap){const r=n[0],i=n[1];i.changed?(this._toggleClass(r,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),i.touched=!1}}_toggleClass(n,r){(n=n.trim()).length>0&&n.split(u2).forEach(i=>{r?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}static{this.\u0275fac=function(r){return new(r||e)(P(Cn),P(wi))}}static{this.\u0275dir=zt({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0})}}return e})(),Mh=(()=>{class e{constructor(n,r){this._viewContainer=n,this._context=new uV,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){kA("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){kA("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(n,r){return!0}static{this.\u0275fac=function(r){return new(r||e)(P(gr),P(qr))}}static{this.\u0275dir=zt({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThe
1n:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}}return e})();class uV{constructor(){this.$implicit=null,this.ngIf=null}}function kA(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${Kt(t)}'.`)}const _V=new Q(""),wV=new Q("");let OA=(()=>{class e{constructor(n,r,i){this.locale=n,this.defaultTimezone=r,this.defaultOptions=i}transform(n,r,i,o){if(null==n||""===n||n!=n)return null;try{return HH(n,r??this.defaultOptions?.dateFormat??"mediumDate",o||this.locale,i??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(s){throw function Xr(e,t){return new w(2100,!1)}()}}static{this.\u0275fac=function(r){return new(r||e)(P(So,16),P(_V,24),P(wV,24))}}static{this.\u0275pipe=Wn({name:"date",type:e,pure:!0,standalone:!0})}}return e})(),uu=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275mod=Gn({type:e})}static{this.\u0275inj=On({})}}return e})();const LA="browser";function g2(e){return e===LA}function PA(e){return"server"===e}let LV=(()=>{class e{static{this.\u0275prov=F({token:e,providedIn:"root",factory:()=>g2(D(Wr))?new PV(D(Pt),window):new BV})}}return e})();class PV{constructor(t,n){this.document=t,this.window=n,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(t){this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){const n=function FV(e,t){const n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if("function"==typeof e.createTreeWalker&&e.body&&"function"==typeof e.body.attachShadow){const r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT);let i=r.currentNode;for(;i;){const o=i.shadowRoot;if(o){const s=o.getElementById(t)||o.querySelector(`[name="${t}"]`);if(s)return s}i=r.nextNode()}}return null}(this.document,t);n&&(this.scrollToElement(n),n.focus())}setHistoryScrollRestoration(t){this.window.history.scrollRestoration=t}scrollToElement(t){const n=t.getBoundingClientRect(),r=n.left+this.window.pageXOffset,i=n.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(r-o[0],i-o[1])}}class BV{setOffset(t){}getScrollPosition(){return[0,0]}scrollToPosition(t){}scrollToAnchor(t){}setHistoryScrollRestoration(t){}}class FA{}class fU extends vH{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class y2 extends fU{static makeCurrent(){!function CH(e){hA??=e}(new y2)}onAndCancel(t,n,r){return t.addEventListener(n,r),()=>{t.removeEventListener(n,r)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.remove()}createElement(t,n){return(n=n||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return"window"===n?window:"document"===n?t:"body"===n?t.body:null}getBaseHref(t){const n=function hU(){return hu=hu||document.querySelector("base"),hu?hu.getAttribute("href"):null}();return null==n?null:function pU(e){return new URL(e,document.baseURI).pathname}(n)}resetBaseElement(){hu=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return SA(document.cookie,t)}}let hu=null,mU=(()=>{class e{build(){return new XMLHttpRequest}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=F({token:e,factory:e.\u0275fac})}}return e})();const A2=new Q("");let qA=(()=>{class e{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEac
vendor: 9,825 bytes, line 1
1h(i=>{i.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,i){return this._findPluginFor(r).addEventListener(n,r,i)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(o=>o.supports(n)),!r)throw new w(5101,!1);return this._eventNameToPlugin.set(n,r),r}static{this.\u0275fac=function(r){return new(r||e)(B(A2),B(Oe))}}static{this.\u0275prov=F({token:e,factory:e.\u0275fac})}}return e})();class JA{constructor(t){this._doc=t}}const b2="ng-app-id";let KA=(()=>{class e{constructor(n,r,i,o={}){this.doc=n,this.appId=r,this.nonce=i,this.platformId=o,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=PA(o),this.resetHostNodes()}addStyles(n){for(const r of n)1===this.changeUsageCount(r,1)&&this.onStyleAdded(r)}removeStyles(n){for(const r of n)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){const n=this.styleNodesInDOM;n&&(n.forEach(r=>r.remove()),n.clear());for(const r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(const r of this.getAllStyles())this.addStyleToHost(n,r)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(const r of this.hostNodes)this.addStyleToHost(r,n)}onStyleRemoved(n){const r=this.styleRef;r.get(n)?.elements?.forEach(i=>i.remove()),r.delete(n)}collectServerRenderedStyles(){const n=this.doc.head?.querySelectorAll(`style[${b2}="${this.appId}"]`);if(n?.length){const r=new Map;return n.forEach(i=>{null!=i.textContent&&r.set(i.textContent,i)}),r}return null}changeUsageCount(n,r){const i=this.styleRef;if(i.has(n)){const o=i.get(n);return o.usage+=r,o.usage}return i.set(n,{usage:r,elements:[]}),r}getStyleElement(n,r){const i=this.styleNodesInDOM,o=i?.get(r);if(o?.parentNode===n)return i.delete(r),o.removeAttribute(b2),o;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=r,this.platformIsServer&&s.setAttribute(b2,this.appId),n.appendChild(s),s}}addStyleToHost(n,r){const i=this.getStyleElement(n,r),o=this.styleRef,s=o.get(r)?.elements;s?s.push(i):o.set(r,{elements:[i],usage:1})}resetHostNodes(){const n=this.hostNodes;n.clear(),n.add(this.doc.head)}static{this.\u0275fac=function(r){return new(r||e)(B(Pt),B(Aa),B(l9,8),B(Wr))}}static{this.\u0275prov=F({token:e,factory:e.\u0275fac})}}return e})();const E2={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},_2=/%COMP%/g,AU=new Q("",{providedIn:"root",factory:()=>!0});function XA(e,t){return t.map(n=>n.replace(_2,e))}let w2=(()=>{class e{constructor(n,r,i,o,s,a,c,l=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=s,this.platformId=a,this.ngZone=c,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=PA(a),this.defaultRenderer=new I2(n,s,c,this.platformIsServer)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===wr.ShadowDom&&(r={...r,encapsulation:wr.Emulated});const i=this.getOrCreateRenderer(n,r);return i instanceof eb?i.applyToHost(n):i instanceof S2&&i.applyStyles(),i}getOrCreateRenderer(n,r){const i=this.rendererByCompId;let o=i.get(r.id);if(!o){const s=this.doc,a=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(r.encapsulation){case wr.Emulated:o=new eb(c,l,r,this.appId,u,s,a,d);break;case wr.ShadowDom:return new wU(c,l,n,r,s,a,this.nonce,d);default:o=new S2(c,l,r,u,s,a,d)}i.set(r.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}static{this.\u0275fac=function(r){return new(r||e)(B(qA),B(KA),B(Aa),B(AU),B(Pt),B(Wr),B(Oe),B(l9))}}static{this.\u0275prov=F({token:e,factory:e.\u0275fac})}}return e})();class I2{constructor(t,n,r,i){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=i,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(t,n){return n?this.doc.createElementNS(E2[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){($A(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&($A(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){n.remove()}selectRootElement(t,n){let r="string"==typeof t?this.doc.querySelector(t):t;if(!r)throw new w(-5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,i){if(i){n=i+":"+n;const o=E2[i];o?t.setAttributeNS(o,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const i=E2[r];i?t.removeAttributeNS(i,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,i){i&(bo.DashCase|bo.Important)?t.style.setProperty(n,r,i&bo.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&bo.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){null!=t&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r){if("string"==typeof t&&!(t=tc().getGlobalEventTarget(this.doc,t)))throw new Error(`Unsupported event target ${t} for event ${n}`);return this.eventManager.addEventListener(t,n,this.decoratePreventDefault(r))}decoratePreventDefault(t){return n=>{if("__ngUnwrap__"===n)return t;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>t(n)):t(n))&&n.preventDefault()}}}function $A(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class wU extends I2{constructor(t,n,r,i,o,s,a,c){super(t,o,s,c),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const l=XA(i.id,i.styles);for(const u of l){const d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=u,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(null,n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class S2 extends I2{constructor(t,n,r,i,o,s,a,c){super(t,o,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=i,this.styles=c?XA(c,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class eb extends S2{constructor(t,n,r,i,o,s,a,c){const l=i+"-"+r.id;super(t,n,r,o,s,a,c,l),this.contentAttr=function bU(e){return"_ngcontent-%COMP%".replace(_2,e)}(l),this.hostAttr=function EU(e){return"_nghost-%COMP%".replace(_2,e)}(l)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){const r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}}let IU=(()=>{class e extends JA{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,i){return n.addEventListener(r,i,!1),()=>this.removeEventListener(n,r,i)}removeEventListener(n,r,i){return n.removeEventListener(r,i)}static{this.\u0275fac=function(r){return new(r||e)(B(Pt))}}static{this.\u0275prov=F({token:e,factory:e.\u0275fac})}}return e})();const tb=["alt","control","meta","shift"],SU={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},DU={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let TU=(()=>{class e extends JA{constructor(n){super(n)}supports(n){return null!=e.parseEventName(n)}addEventListener(n,r,i){const o=e.parseEventName(r),s=e.eventCallback(o.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>tc().onAndCancel(n,o.domEventName,s))}static parseEventName(n){const r=n.toLowerCase().split("."),i=r.shift();if(0===r.length||"keydown"!==i&&"keyup"!==i)return null;const o=e._normalizeKey(r.pop());let s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),tb.forEach(l=>{const u=r.indexOf(l);u>-1&&(r.splice(u,1),s+=l+".")}),s+=o,0!=r.length||0===o.length)return null;const c={};return c.domEventName=i,c.fullKey=s,c}static matchEventFullKeyCode(n,r){let i=SU[n.key]||n.key,o="";return r.indexOf("code.")>-1&&(i=n.code,o="code."),!(null==i||!i)&&(i=i.toLowerCase()," "===i?i="space":"."===i&&(i="dot"),tb.forEach(s=>{s!==i&&(0,DU[s])(n)&&(o+=s+".")}),o+=i,o===r)}static eventCallback(n,r,i){return o=>{e.matchEventFullKeyCode(o,n)&&i.runGuarded(()=>r(o))}}static _normalizeKey(n){return"esc"===n?"escape":n}static{this.\u0275fac=function(r){return new(r||e)(B(Pt))}}static{this.\u0275prov=F({token:e,factory:e.\u0275fac})}}return e})();const RU=ky(RB,"browser",[{provide:Wr,useValue:LA},{provide:c9,useValue:function MU(){y2.makeCurrent()},multi:!0},{provide:Pt,useFactory:function kU(){return function ex(e){kp=e}(document),document},deps:[]}]),OU=new Q(""),ib=[{provide:th,useClass:class gU{addToWindow(t){bt.getAngularTestability=(r,i=!0)=>{const o=t.findTestabilityInTree(r,i);if(null==o)throw new w(5103,!1);return o},bt.getAllAngularTestabilities=()=>t.getAllTestabilities(),bt.getAllAngularRootElements=()=>t.getAllRootElements(),bt.frameworkStabilizers||(bt.frameworkStabilizers=[]),bt.frameworkStabilizers.push(r=>{const i=bt.getAllAngularTestabilities();let o=i.length;const s=function(){o--,0==o&&r()};
vendor: 5,081 bytes, line 1
1i.forEach(a=>{a.whenStable(s)})})}findTestabilityInTree(t,n,r){return null==n?null:t.getTestability(n)??(r?tc().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}},deps:[]},{provide:Cy,useClass:P0,deps:[Oe,F0,th]},{provide:P0,useClass:P0,deps:[Oe,F0,th]}],ob=[{provide:Q1,useValue:"root"},{provide:bi,useFactory:function xU(){return new bi},deps:[]},{provide:A2,useClass:IU,multi:!0,deps:[Pt,Oe,Wr]},{provide:A2,useClass:TU,multi:!0,deps:[Pt]},w2,KA,qA,{provide:hs,useExisting:w2},{provide:FA,useClass:mU,deps:[]},[]];let sb=(()=>{class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:Aa,useValue:n.appId}]}}static{this.\u0275fac=function(r){return new(r||e)(B(OU,12))}}static{this.\u0275mod=Gn({type:e})}static{this.\u0275inj=On({providers:[...ob,...ib],imports:[uu,OB]})}}return e})(),NU=(()=>{class e{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}static{this.\u0275fac=function(r){return new(r||e)(B(Pt))}}static{this.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),lb=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=F({token:e,factory:function(r){let i=null;return i=r?new(r||e):B(BU),i},providedIn:"root"})}}return e})(),BU=(()=>{class e extends lb{constructor(n){super(),this._doc=n}sanitize(n,r){if(null==r)return null;switch(n){case fr.NONE:return r;case fr.HTML:return Ei(r,"HTML")?dr(r):R9(this._doc,String(r)).toString();case fr.STYLE:return Ei(r,"Style")?dr(r):r;case fr.SCRIPT:if(Ei(r,"Script"))return dr(r);throw new w(5200,!1);case fr.URL:return Ei(r,"URL")?dr(r):df(String(r));case fr.RESOURCE_URL:if(Ei(r,"ResourceURL"))return dr(r);throw new w(5201,!1);default:throw new w(5202,!1)}}bypassSecurityTrustHtml(n){return function bx(e){return new gx(e)}(n)}bypassSecurityTrustStyle(n){return function Ex(e){return new mx(e)}(n)}bypassSecurityTrustScript(n){return function _x(e){return new Cx(e)}(n)}bypassSecurityTrustUrl(n){return function wx(e){return new vx(e)}(n)}bypassSecurityTrustResourceUrl(n){return function Ix(e){return new yx(e)}(n)}static{this.\u0275fac=function(r){return new(r||e)(B(Pt))}}static{this.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function To(e){return this instanceof To?(this.v=e,this):new To(e)}function hb(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,t=e[Symbol.asyncIterator];return t?t.call(e):(e=function x2(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(o){n[o]=e[o]&&function(s){return new Promise(function(a,c){!function i(o,s,a,c){Promise.resolve(c).then(function(l){o({value:l,done:a})},s)}(a,c,(s=e[o](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const R2=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function pb(e){return Ne(e?.then)}function gb(e){return Ne(e[y1])}function mb(e){return Symbol.asyncIterator&&Ne(e?.[Symbol.asyncIterator])}function Cb(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const vb=function fj(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function yb(e){return Ne(e?.[vb])}function Ab(e){return function fb(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,r=n.apply(e,t||[]),o=[];return i=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",function s(h){return function(p){return Promise.resolve(p).then(h,d)}}),i[Symbol.asyncIterator]=function(){return this},i;function a(h,p){r[h]&&(i[h]=function(m){return new Promise(function(C,v){o.push([h,m,C,v])>1||c(h,m)})},p&&(i[h]=p(i[h])))}function c(h,p){try{!function l(h){h.value instanceof To?Promise.resolve(h.value.v).then(u,d):f(o[0][2],h)}(r[h](p))}catch(m){f(o[0][3],m)}}function u(h){c("next",h)}function d(h){c("throw",h)}function f(h,p){h(p),o.shift(),o.length&&c(o[0][0],o[0][1])}}(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:r,done:i}=yield To(n.read());if(i)return yield To(void 0);yield yield To(r)}}finally{n.releaseLock()}})}function bb(e){return Ne(e?.getReader)}function Or(e){if(e instanceof Ft)return e;if(null!=e){if(gb(e))return function hj(e){return new Ft(t=>{const n=e[y1]();if(Ne(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(R2(e))return function pj(e){return new Ft(t=>{for(let n=0;n<e.length&&!t.closed;
1n++)t.next(e[n]);t.complete()})}(e);if(pb(e))return function gj(e){return new Ft(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Z)})}(e);if(mb(e))return Eb(e);if(yb(e))return function mj(e){return new Ft(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(bb(e))return function Cj(e){return Eb(Ab(e))}(e)}throw Cb(e)}function Eb(e){return new Ft(t=>{(function vj(e,t){var n,r,i,o;return function ub(e,t,n,r){return new(n||(n=Promise))(function(o,s){function a(u){try{l(r.next(u))}catch(d){s(d)}}function c(u){try{l(r.throw(u))}catch(d){s(d)}}function l(u){u.done?o(u.value):function i(o){return o instanceof n?o:new n(function(s){s(o)})}(u.value).then(a,c)}l((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=hb(e);!(r=yield n.next()).done;)if(t.next(r.value),t.closed)return}catch(s){i={error:s}}finally{try{r&&!r.done&&(o=n.return)&&(yield o.call(n))}finally{if(i)throw i.error}}t.complete()})})(e,t).catch(n=>t.error(n))})}function xi(e,t,n,r=0,i=!1){const o=t.schedule(function(){n(),i?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(o),!i)return o}function _b(e,t=0){return an((n,r)=>{n.subscribe(Jt(r,i=>xi(r,e,()=>r.next(i),t),()=>xi(r,e,()=>r.complete(),t),i=>xi(r,e,()=>r.error(i),t)))})}function wb(e,t=0){return an((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Ib(e,t){if(!e)throw new Error("Iterable cannot be null");return new Ft(n=>{xi(n,t,()=>{const r=e[Symbol.asyncIterator]();xi(n,t,()=>{r.next().then(i=>{i.done?n.complete():n.next(i.value)})},0,!0)})})}function rn(e,t){return t?function wj(e,t){if(null!=e){if(gb(e))return function yj(e,t){return Or(e).pipe(wb(t),_b(t))}(e,t);if(R2(e))return function bj(e,t){return new Ft(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(pb(e))return function Aj(e,t){return Or(e).pipe(wb(t),_b(t))}(e,t);if(mb(e))return Ib(e,t);if(yb(e))return function Ej(e,t){return new Ft(n=>{let r;return xi(n,t,()=>{r=e[vb](),xi(n,t,()=>{let i,o;try{({value:i,done:o}=r.next())}catch(s){return void n.error(s)}o?n.complete():n.next(i)},0,!0)}),()=>Ne(r?.return)&&r.return()})}(e,t);if(bb(e))return function _j(e,t){return Ib(Ab(e),t)}(e,t)}throw Cb(e)}(e,t):Or(e)}function Sb(e){return e&&Ne(e.schedule)}function O2(e){return e[e.length-1]}function pu(e){return Sb(O2(e))?e.pop():void 0}function ce(...e){return rn(e,pu(e))}const{isArray:Dj}=Array,{getPrototypeOf:Tj,prototype:Mj,keys:xj}=Object;const{isArray:Oj}=Array;function Db(e){return ke(t=>function Nj(e,t){return Oj(t)?e(...t):e(t)}(e,t))}function N2(...e){const t=pu(e),n=function Ij(e){return Ne(O2(e))?e.pop():void 0}(e),{args:r,keys:i}=function kj(e){if(1===e.length){const t=e[0];if(Dj(t))return{args:t,keys:null};if(function Rj(e){return e&&"object"==typeof e&&Tj(e)===Mj}(t)){const n=xj(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}(e);if(0===r.length)return rn([],t);const o=new Ft(function Pj(e,t,n=Jo){return r=>{Tb(t,()=>{const{length:i}=e,o=new Array(i);let s=i,a=i;for(let c=0;c<i;c++)Tb(t,()=>{const l=rn(e[c],t);let u=!1;l.subscribe(Jt(r,d=>{o[c]=d,u||(u=!0,a--),a||r.next(n(o.slice()))},()=>{--s||r.complete()}))},r)},r)}}(r,t,i?s=>function Lj(e,t){return e.reduce((n,r,i)=>(n[r]=t[i],n),{})}(i,s):Jo));return n?o.pipe(Db(n)):o}function Tb(e,t,n){e?xi(n,e,t):t()}const Nh=Me(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function vn(e,t,n=1/0){return Ne(t)?vn((r,i)=>ke((o,s)=>t(r,o,i,s))(Or(e(r,i))),n):("number"==typeof t&&(n=t),an((r,i)=>function Fj(e,t,n,r,i,o,s,a){const c=[];let l=0,u=0,d=!1;const f=()=>{d&&!c.length&&!l&&t.complete()},h=m=>l<r?p(m):c.push(m),p=m=>{o&&t.next(m),l++;let C=!1;Or(n(m,u++)).subscribe(Jt(t,v=>{i?.(v),o?h(v):t.next(v)},()=>{C=!0},void 0,()=>{if(C)try{for(l--;c.length&&l<r;){const v=c.shift();s?xi(t,s,()=>p(v)):p(v)}f()}catch(v){t.error(v)}}))};return e.subscribe(Jt(t,h,()=>{d=!0,f()})),()=>{a?.()}}(r,i,e,n)))}function ic(e=1/0){return vn(Jo,e)}function L2(...e){return function Bj(){return ic(1)}()(rn(e,pu(e)))}function Mb(e){return new Ft(t=>{Or(e()).subscribe(t)})}function Lh(e,t){const n=Ne(e)?e:()=>e,r=i=>i.error(n());return new Ft(t?i=>t.schedule(r,0,i):r)}const $r=new Ft(e=>e.complete());function P2(){return an((e,t)=>{let n=null;e._refCount++;const r=Jt(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount)return void(n=null);const i=e._connection,o=n;n=null,i&&(!o||i===o)&&i.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}class xb extends Ft{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,i7(t)&&(this.lift=t.lift)}
1_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new G;const n=this.getSubject();t.add(this.source.subscribe(Jt(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=G.EMPTY)}return t}refCount(){return P2()(this)}}function ei(e,t){return an((n,r)=>{let i=null,o=0,s=!1;const a=()=>s&&!i&&r.complete();n.subscribe(Jt(r,c=>{i?.unsubscribe();let l=0;const u=o++;Or(e(c,u)).subscribe(i=Jt(r,d=>r.next(t?t(c,d,u,l++):d),()=>{i=null,a()}))},()=>{s=!0,a()}))})}function Es(e){return e<=0?()=>$r:an((t,n)=>{let r=0;t.subscribe(Jt(n,i=>{++r<=e&&(n.next(i),e<=r&&n.complete())}))})}function ki(e,t){return an((n,r)=>{let i=0;n.subscribe(Jt(r,o=>e.call(t,o,i++)&&r.next(o)))})}function Ph(e){return an((t,n)=>{let r=!1;t.subscribe(Jt(n,i=>{r=!0,n.next(i)},()=>{r||n.next(e),n.complete()}))})}function kb(e=Uj){return an((t,n)=>{let r=!1;t.subscribe(Jt(n,i=>{r=!0,n.next(i)},()=>r?n.complete():n.error(e())))})}function Uj(){return new Nh}function Mo(e,t){const n=arguments.length>=2;return r=>r.pipe(e?ki((i,o)=>e(i,o,r)):Jo,Es(1),n?Ph(t):kb(()=>new Nh))}function oc(e,t){return Ne(t)?vn(e,t,1):vn(e,1)}function jn(e,t,n){const r=Ne(e)||t||n?{next:e,error:t,complete:n}:e;return r?an((i,o)=>{var s;null===(s=r.subscribe)||void 0===s||s.call(r);let a=!0;i.subscribe(Jt(o,c=>{var l;null===(l=r.next)||void 0===l||l.call(r,c),o.next(c)},()=>{var c;a=!1,null===(c=r.complete)||void 0===c||c.call(r),o.complete()},c=>{var l;a=!1,null===(l=r.error)||void 0===l||l.call(r,c),o.error(c)},()=>{var c,l;a&&(null===(c=r.unsubscribe)||void 0===c||c.call(r)),null===(l=r.finalize)||void 0===l||l.call(r)}))}):Jo}function sc(e){return an((t,n)=>{let o,r=null,i=!1;r=t.subscribe(Jt(n,void 0,void 0,s=>{o=Or(e(s,sc(e)(t))),r?(r.unsubscribe(),r=null,o.subscribe(n)):i=!0})),i&&(r.unsubscribe(),r=null,o.subscribe(n))})}function F2(e){return e<=0?()=>$r:an((t,n)=>{let r=[];t.subscribe(Jt(n,i=>{r.push(i),e<r.length&&r.shift()},()=>{for(const i of r)n.next(i);n.complete()},void 0,()=>{r=null}))})}function gu(e){return an((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}const Ie="primary",mu=Symbol("RouteTitle");class Wj{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const n=this.params[t];return Array.isArray(n)?n[0]:n}return null}getAll(t){if(this.has(t)){const n=this.params[t];return Array.isArray(n)?n:[n]}return[]}get keys(){return Object.keys(this.params)}}function ac(e){return new Wj(e)}function qj(e,t,n){const r=n.path.split("/");if(r.length>e.length||"full"===n.pathMatch&&(t.hasChildren()||r.length<e.length))return null;const i={};for(let o=0;o<r.length;o++){const s=r[o],a=e[o];if(":"===s[0])i[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:e.slice(0,r.length),posParams:i}}function Ri(e,t){const n=e?B2(e):void 0,r=t?B2(t):void 0;if(!n||!r||n.length!=r.length)return!1;let i;for(let o=0;o<n.length;o++)if(i=n[o],!Rb(e[i],t[i]))return!1;return!0}function B2(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}function Rb(e,t){if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;const n=[...e].sort(),r=[...t].sort();return n.every((i,o)=>r[o]===i)}return e===t}function Ob(e){return e.length>0?e[e.length-1]:null}function xo(e){return function HU(e){return!!e&&(e instanceof Ft||Ne(e.lift)&&Ne(e.subscribe))}(e)?e:nh(e)?rn(Promise.resolve(e)):ce(e)}const Kj={exact:function Pb(e,t,n){if(!ws(e.segments,t.segments)||!Fh(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(const r in t.children)if(!e.children[r]||!Pb(e.children[r],t.children[r],n))return!1;return!0},subset:Fb},Nb={exact:function Yj(e,t){return Ri(e,t)},subset:function Xj(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>Rb(e[n],t[n]))},ignored:()=>!0};
1function Lb(e,t,n){return Kj[n.paths](e.root,t.root,n.matrixParams)&&Nb[n.queryParams](e.queryParams,t.queryParams)&&!("exact"===n.fragment&&e.fragment!==t.fragment)}function Fb(e,t,n){return Bb(e,t,t.segments,n)}function Bb(e,t,n,r){if(e.segments.length>n.length){const i=e.segments.slice(0,n.length);return!(!ws(i,n)||t.hasChildren()||!Fh(i,n,r))}if(e.segments.length===n.length){if(!ws(e.segments,n)||!Fh(e.segments,n,r))return!1;for(const i in t.children)if(!e.children[i]||!Fb(e.children[i],t.children[i],r))return!1;return!0}{const i=n.slice(0,e.segments.length),o=n.slice(e.segments.length);return!!(ws(e.segments,i)&&Fh(e.segments,i,r)&&e.children[Ie])&&Bb(e.children[Ie],t,o,r)}}function Fh(e,t,n){return t.every((r,i)=>Nb[n](e[i].parameters,r.parameters))}class _s{constructor(t=new st([],{}),n={},r=null){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap??=ac(this.queryParams),this._queryParamMap}toString(){return tQ.serialize(this)}}class st{constructor(t,n){this.segments=t,this.children=n,this.parent=null,Object.values(n).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Hh(this)}}class Cu{constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap??=ac(this.parameters),this._parameterMap}toString(){return Ub(this)}}function ws(e,t){return e.length===t.length&&e.every((n,r)=>n.path===t[r].path)}let cc=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=F({token:e,factory:()=>new Bh,providedIn:"root"})}}return e})();class Bh{parse(t){const n=new fQ(t);return new _s(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){const n=`/${vu(t.root,!0)}`,r=function iQ(e){const t=Object.entries(e).map(([n,r])=>Array.isArray(r)?r.map(i=>`${Vh(n)}=${Vh(i)}`).join("&"):`${Vh(n)}=${Vh(r)}`).filter(n=>n);return t.length?`?${t.join("&")}`:""}(t.queryParams);return`${n}${r}${"string"==typeof t.fragment?`#${function nQ(e){return encodeURI(e)}(t.fragment)}`:""}`}}const tQ=new Bh;function Hh(e){return e.segments.map(t=>Ub(t)).join("/")}function vu(e,t){if(!e.hasChildren())return Hh(e);if(t){const n=e.children[Ie]?vu(e.children[Ie],!1):"",r=[];return Object.entries(e.children).forEach(([i,o])=>{i!==Ie&&r.push(`${i}:${vu(o,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}{const n=function eQ(e,t){let n=[];return Object.entries(e.children).forEach(([r,i])=>{r===Ie&&(n=n.concat(t(i,r)))}),Object.entries(e.children).forEach(([r,i])=>{r!==Ie&&(n=n.concat(t(i,r)))}),n}(e,(r,i)=>i===Ie?[vu(e.children[Ie],!1)]:[`${i}:${vu(r,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[Ie]?`${Hh(e)}/${n[0]}`:`${Hh(e)}/(${n.join("//")})`}}function Hb(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Vh(e){return Hb(e).replace(/%3B/gi,";")}function H2(e){return Hb(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Uh(e){return decodeURIComponent(e)}function Vb(e){return Uh(e.replace(/\+/g,"%20"))}function Ub(e){return`${H2(e.path)}${function rQ(e){return Object.entries(e).map(([t,n])=>`;${H2(t)}=${H2(n)}`).join("")}(e.parameters)}`}const oQ=/^[^\/()?;#]+/;function V2(e){const t=e.match(oQ);return t?t[0]:""}const sQ=/^[^\/()?;=#]+/,cQ=/^[^=?&#]+/,uQ=/^[^&#]+/;class fQ{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new st([],{}):new st([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(t.length>0||Object.keys(n).length>0)&&(r[Ie]=new st(t,n)),r}parseSegment(){const t=V2(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new w(4009,!1);return this.capture(t),new Cu(Uh(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const n=function aQ(e){const t=e.match(sQ);return t?t[0]:""}(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const i=V2(this.remaining);i&&(r=i,this.capture(r))}t[Uh(n)]=Uh(r)}parseQueryParam(t){const n=function lQ(e){const t=e.match(cQ);return t?t[0]:""}(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const s=function dQ(e){const t=e.match(uQ);return t?t[0]:""}(this.remaining);s&&(r=s,this.capture(r))}const i=Vb(n),o=Vb(r);if(t.hasOwnProperty(i)){let s=t[i];Array.isArray(s)||(s=[s],t[i]=s),s.push(o)}else t[i]=o}parseParens(t){const n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const r=V2(this.remaining),i=this.remaining[r.length];if("/"!==i&&")"!==i&&";"!==i)throw new w(4010,!1);let o;r.indexOf(":")>-1?(o=r.slice(0,r.indexOf(":")),this.capture(o),this.capture(":")):t&&(o=Ie);const s=this.parseChildren();n[o]=1===Object.keys(s).length?s[Ie]:new st([],s),this.consumeOptional("//")}return n}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new w(4011,!1)}}function jb(e){return e.segments.length>0?new st([],{[Ie]:e}):e}function Qb(e){const t={};for(const[r,i]of Object.entries(e.children)){const o=Qb(i);if(r===Ie&&0===o.segments.length&&o.hasChildren())for(const[s,a]of Object.entries(o.children))t[s]=a;else(o.segments.length>0||o.hasChildren())&&(t[r]=o)}return function hQ(e){if(1===e.numberOfChildren&&e.children[Ie]){const t=e.children[Ie];return new st(e.segments.concat(t.segments),t.children)}return e}(new st(e.segments,t))}function Is(e){return e instanceof _s}function zb(e){let t;const i=jb(function n(o){const s={};for(const c of o.children){const l=n(c);s[c.outlet]=l}const a=new st(o.url,s);return o===e&&(t=a),a}(e.root));return t??i}function Zb(e,t,n,r){let i=e;for(;i.parent;)i=i.parent;if(0===t.length)return U2(i,i,i,n,r);const o=function gQ(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new Wb(!0,0,e);let t=0,n=!1;const r=e.reduce((i,o,s)=>
1{if("object"==typeof o&&null!=o){if(o.outlets){const a={};return Object.entries(o.outlets).forEach(([c,l])=>{a[c]="string"==typeof l?l.split("/"):l}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return"string"!=typeof o?[...i,o]:0===s?(o.split("/").forEach((a,c)=>{0==c&&"."===a||(0==c&&""===a?n=!0:".."===a?t++:""!=a&&i.push(a))}),i):[...i,o]},[]);return new Wb(n,t,r)}(t);if(o.toRoot())return U2(i,i,new st([],{}),n,r);const s=function mQ(e,t,n){if(e.isAbsolute)return new Qh(t,!0,0);if(!n)return new Qh(t,!1,NaN);if(null===n.parent)return new Qh(n,!0,0);const r=jh(e.commands[0])?0:1;return function CQ(e,t,n){let r=e,i=t,o=n;for(;o>i;){if(o-=i,r=r.parent,!r)throw new w(4005,!1);i=r.segments.length}return new Qh(r,!1,i-o)}(n,n.segments.length-1+r,e.numberOfDoubleDots)}(o,i,e),a=s.processChildren?Au(s.segmentGroup,s.index,o.commands):qb(s.segmentGroup,s.index,o.commands);return U2(i,s.segmentGroup,a,n,r)}function jh(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function yu(e){return"object"==typeof e&&null!=e&&e.outlets}function U2(e,t,n,r,i){let s,o={};r&&Object.entries(r).forEach(([c,l])=>{o[c]=Array.isArray(l)?l.map(u=>`${u}`):`${l}`}),s=e===t?n:Gb(e,t,n);const a=jb(Qb(s));return new _s(a,o,i)}function Gb(e,t,n){const r={};return Object.entries(e.children).forEach(([i,o])=>{r[i]=o===t?n:Gb(o,t,n)}),new st(e.segments,r)}class Wb{constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&jh(r[0]))throw new w(4003,!1);const i=r.find(yu);if(i&&i!==Ob(r))throw new w(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Qh{constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}}function qb(e,t,n){if(e??=new st([],{}),0===e.segments.length&&e.hasChildren())return Au(e,t,n);const r=function yQ(e,t,n){let r=0,i=t;const o={match:!1,pathIndex:0,commandIndex:0};for(;i<e.segments.length;){if(r>=n.length)return o;const s=e.segments[i],a=n[r];if(yu(a))break;const c=`${a}`,l=r<n.length-1?n[r+1]:null;if(i>0&&void 0===c)break;if(c&&l&&"object"==typeof l&&void 0===l.outlets){if(!Kb(c,l,s))return o;r+=2}else{if(!Kb(c,{},s))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}(e,t,n),i=n.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){const o=new st(e.segments.slice(0,r.pathIndex),{});return o.children[Ie]=new st(e.segments.slice(r.pathIndex),e.children),Au(o,0,i)}return r.match&&0===i.length?new st(e.segments,{}):r.match&&!e.hasChildren()?j2(e,t,n):r.match?Au(e,0,i):j2(e,t,n)}function Au(e,t,n){if(0===n.length)return new st(e.segments,{});{const r=function vQ(e){return yu(e[0])?e[0].outlets:{[Ie]:e}}(n),i={};if(Object.keys(r).some(o=>o!==Ie)&&e.children[Ie]&&1===e.numberOfChildren&&0===e.children[Ie].segments.length){const o=Au(e.children[Ie],t,n);return new st(e.segments,o.children)}return Object.entries(r).forEach(([o,s])=>{"string"==typeof s&&(s=[s]),null!==s&&(i[o]=qb(e.children[o],t,s))}),Object.entries(e.children).forEach(([o,s])=>{void 0===r[o]&&(i[o]=s)}),new st(e.segments,i)}}function j2(e,t,n){const r=e.segments.slice(0,t);let i=0;for(;i<n.length;){const o=n[i];if(yu(o)){const c=AQ(o.outlets);return new st(r,c)}if(0===i&&jh(n[0])){r.push(new Cu(e.segments[t].path,Jb(n[0]))),i++;continue}const s=yu(o)?o.outlets[Ie]:`${o}`,a=i<n.length-1?n[i+1]:null;s&&a&&jh(a)?(r.push(new Cu(s,Jb(a))),i+=2):(r.push(new Cu(s,{})),i++)}return new st(r,{})}function AQ(e){const t={};return Object.entries(e).forEach(([n,r])=>{"string"==typeof r&&(r=[r]),null!==r&&(t[n]=j2(new st([],{}),0,r))}),t}function Jb(e){const t={};return Object.entries(e).forEach(([n,r])=>t[n]=`${r}`),t}function Kb(e,t,n){return e==n.path&&Ri(t,n.parameters)}const bu="imperative";var Ue=function(e){return e[e.NavigationStart=0]="NavigationStart",e[e.NavigationEnd=1]="NavigationEnd",e[e.NavigationCancel=2]="NavigationCancel",e[e.NavigationError=3]="NavigationError",e[e.RoutesRecognized=4]="RoutesRecognized",e[e.ResolveStart=5]="ResolveStart",e[e.ResolveEnd=6]="ResolveEnd",e[e.GuardsCheckStart=7]="GuardsCheckStart",e[e.GuardsCheckEnd=8]="GuardsCheckEnd",e[e.RouteConfigLoadStart=9]="RouteConfigLoadStart",e[e.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",e[e.ChildActivationStart=11]="ChildActivationStart",e[e.ChildActivationEnd=12]="ChildActivationEnd",e[e.ActivationStart=13]="ActivationStart",e[e.ActivationEnd=14]="ActivationEnd",e[e.Scroll=15]="Scroll",e[e.NavigationSkipped=16]="NavigationSkipped",e}(Ue||{});class Oi{constructor(t,n){this.id=t,this.url=n}}class Eu extends Oi{constructor(t,n,r="imperative",i=null){super(t,n),this.type=Ue.NavigationStart,this.navigationTrigger=r,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class ro extends Oi{constructor(t,n,r){super(t,n),this.urlAfterRedirects=r,this.type=Ue.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var yr=function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromRe
1solver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e}(yr||{}),zh=function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e}(zh||{});class Ss extends Oi{constructor(t,n,r,i){super(t,n),this.reason=r,this.code=i,this.type=Ue.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class lc extends Oi{constructor(t,n,r,i){super(t,n),this.reason=r,this.code=i,this.type=Ue.NavigationSkipped}}class Q2 extends Oi{constructor(t,n,r,i){super(t,n),this.error=r,this.target=i,this.type=Ue.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Yb extends Oi{constructor(t,n,r,i){super(t,n),this.urlAfterRedirects=r,this.state=i,this.type=Ue.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class bQ extends Oi{constructor(t,n,r,i){super(t,n),this.urlAfterRedirects=r,this.state=i,this.type=Ue.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class EQ extends Oi{constructor(t,n,r,i,o){super(t,n),this.urlAfterRedirects=r,this.state=i,this.shouldActivate=o,this.type=Ue.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class _Q extends Oi{constructor(t,n,r,i){super(t,n),this.urlAfterRedirects=r,this.state=i,this.type=Ue.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class wQ extends Oi{constructor(t,n,r,i){super(t,n),this.urlAfterRedirects=r,this.state=i,this.type=Ue.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class IQ{constructor(t){this.route=t,this.type=Ue.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class SQ{constructor(t){this.route=t,this.type=Ue.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class DQ{constructor(t){this.snapshot=t,this.type=Ue.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class TQ{constructor(t){this.snapshot=t,this.type=Ue.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class MQ{constructor(t){this.snapshot=t,this.type=Ue.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class xQ{constructor(t){this.snapshot=t,this.type=Ue.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Xb{constructor(t,n,r){this.routerEvent=t,this.position=n,this.anchor=r,this.type=Ue.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class z2{}class Zh{constructor(t,n){this.url=t,this.navigationBehaviorOptions=n}}function ti(e){return e.outlet||Ie}function _u(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let t=e.parent;t;t=t.parent){const n=t.routeConfig;if(n?._loadedInjector)return n._loadedInjector;if(n?._injector)return n._injector}return null}class PQ{get injector(){return _u(this.route?.snapshot)??this.rootInjector}set injector(t){}constructor(t){this.rootInjector=t,this.outlet=null,this.route=null,this.children=new wu(this.rootInjector),this.attachRef=null}}let wu=(()=>{class e{constructor(n){this.rootInjector=n,this.contexts=new Map}onChildOutletCreated(n,r){const i=this.getOrCreateContext(n);i.outlet=r,this.contexts.set(n,i)}onChildOutletDestroyed(n){const r=this.getContext(n);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){const n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let r=this.getContext(n);return r||(r=new PQ(this.rootInjector),this.contexts.set(n,r)),r}getContext(n){return this.contexts.get(n)||null}static{this.\u0275fac=function(r){return new(r||e)(B(Nn))}}static{this.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();class $b{constructor(t){this._root=t}get root(){return this._root.value}
1parent(t){const n=this.pathFromRoot(t);return n.length>1?n[n.length-2]:null}children(t){const n=Z2(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){const n=Z2(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){const n=G2(t,this._root);return n.length<2?[]:n[n.length-2].children.map(i=>i.value).filter(i=>i!==t)}pathFromRoot(t){return G2(t,this._root).map(n=>n.value)}}function Z2(e,t){if(e===t.value)return t;for(const n of t.children){const r=Z2(e,n);if(r)return r}return null}function G2(e,t){if(e===t.value)return[t];for(const n of t.children){const r=G2(e,n);if(r.length)return r.unshift(t),r}return[]}class ni{constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}}function uc(e){const t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}class eE extends $b{constructor(t,n){super(t),this.snapshot=n,W2(this,t)}toString(){return this.snapshot.toString()}}function tE(e){const t=function FQ(e){const o=new Wh([],{},{},"",{},Ie,e,null,{});return new nE("",new ni(o,[]))}(e),n=new _r([new Cu("",{})]),r=new _r({}),i=new _r({}),o=new _r({}),s=new _r(""),a=new dc(n,r,o,s,i,Ie,e,t.root);return a.snapshot=t.root,new eE(new ni(a,[]),t)}class dc{constructor(t,n,r,i,o,s,a,c){this.urlSubject=t,this.paramsSubject=n,this.queryParamsSubject=r,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(ke(l=>l[mu]))??ce(void 0),this.url=t,this.params=n,this.queryParams=r,this.fragment=i,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(ke(t=>ac(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(ke(t=>ac(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Gh(e,t,n="emptyOnly"){let r;const{routeConfig:i}=e;return r=null===t||"always"!==n&&""!==i?.path&&(t.component||t.routeConfig?.loadComponent)?{params:{...e.params},data:{...e.data},resolve:{...e.data,...e._resolvedData??{}}}:{params:{...t.params,...e.params},data:{...t.data,...e.data},resolve:{...e.data,...t.data,...i?.data,...e._resolvedData}},i&&iE(i)&&(r.resolve[mu]=i.title),r}class Wh{get title(){return this.data?.[mu]}constructor(t,n,r,i,o,s,a,c,l){this.url=t,this.params=n,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=l}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=ac(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=ac(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class nE extends $b{constructor(t,n){super(n),this.url=t,W2(this,n)}toString(){return rE(this._root)}}function W2(e,t){t.value._routerState=e,t.children.forEach(n=>W2(e,n))}function rE(e){const t=e.children.length>0?` { ${e.children.map(rE).join(", ")} } `:"";return`${e.value}${t}`}function q2(e){if(e.snapshot){const t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,Ri(t.queryParams,n.queryParams)||e.queryParamsSubject.next(n.queryParams),t.fragment!==n.fragment&&e.fragmentSubject.next(n.fragment),Ri(t.params,n.params)||e.paramsSubject.next(n.params),function Jj(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;++n)if(!Ri(e[n],t[n]))return!1;return!0}(t.url,n.url)||e.urlSubject.next(n.url),Ri(t.data,n.data)||e.dataSubject.next(n.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function J2(e,t){const n=Ri(e.params,t.params)&&function $j(e,t){return ws(e,t)&&e.every((n,r)=>Ri(n.parameters,t[r].parameters))}(e.url,t.url);return n&&!(!e.parent!=!t.parent)&&(!e.parent||J2(e.parent,t.parent))}function iE(e){return"string"==typeof e.title||null===e.title}let oE=(()=>{class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=Ie,this.activateEvents=new qe,this.deactivateEvents=new qe,this.attachEvents=new qe,this.detachEvents=new qe,this.parentContexts=D(wu),this.location=D(gr),this.changeDetector=D(ec),this.inputBinder=D(qh,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){const{firstChange:r,previousValue:i}=n.name;if(r)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new w(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new w(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new w(4012,!1);this.location.detach();const n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,r){this.activated=n,this._activatedRoute=r,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){const n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,r){if(this.isActivated)throw new w(4013,!1);this._activatedRoute=n;const i=this.location,s=n.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,c=new K2(n,a,i.injector);this.activated=i.createComponent(s,{index:i.length,injector:c,environmentInjector:r}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275dir=zt({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[yo]})}}return e})();class K2{__ngOutletInjector(t){return new K2(this.route,this.childContexts,t)}constructor(t,n,r){this.route=t,this.childContexts=n,this.parent=r}get(t,n){return t===dc?this.route:t===wu?this.childContexts:this.parent.get(t,n)}}const qh=new Q("");let sE=(()=>{class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(n){this.unsubscribeFromRouteData(n),this.subscribeToRouteData(n)}unsubscribeFromRouteData(n){this.outletDataSubscriptions.get(n)?.unsubscribe(),this.outletDataSubscriptions.delete(n)}subscribeToRouteData(n){const{activatedRoute:r}=n,i=N2([r.queryParams,r.params,r.data]).pipe(ei(([o,s,a],c)=>(a={...o,...s,...a},0===c?ce(a):Promise.resolve(a)))).subscribe(o=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==r||null===r.component)return void this.unsubscribeFromRouteData(n);const s=function mH(e){const t=xe(e);if(!t)return null;const n=new Pl(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}(r.component);if(s)for(const{templateName:a}of s.inputs)n.activatedComponentRef.setInput(a,o[a]);else this.unsubscribeFromRouteData(n)});this.outletDataSubscriptions.set(n,i)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=F({token:e,factory:e.\u0275fac})}}return e})();function Iu(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){const r=n.value;r._futureSnapshot=t.value;const i=function HQ(e,t,n){return t.children.map(r=>{for(const i of n.children)if(e.shouldReuseRoute(r.value,i.value.snapshot))return Iu(e,r,i);return Iu(e,r)})}
1(e,t,n);return new ni(r,i)}{if(e.shouldAttach(t.value)){const o=e.retrieve(t.value);if(null!==o){const s=o.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>Iu(e,a)),s}}const r=function VQ(e){return new dc(new _r(e.url),new _r(e.params),new _r(e.queryParams),new _r(e.fragment),new _r(e.data),e.outlet,e.component,e)}(t.value),i=t.children.map(o=>Iu(e,o));return new ni(r,i)}}class Y2{constructor(t,n){this.redirectTo=t,this.navigationBehaviorOptions=n}}const aE="ngNavigationCancelingError";function Jh(e,t){const{redirectTo:n,navigationBehaviorOptions:r}=Is(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,i=cE(!1,yr.Redirect);return i.url=n,i.navigationBehaviorOptions=r,i}function cE(e,t){const n=new Error(`NavigationCancelingError: ${e||""}`);return n[aE]=!0,n.cancellationCode=t,n}function lE(e){return!!e&&e[aE]}class QQ{constructor(t,n,r,i,o){this.routeReuseStrategy=t,this.futureState=n,this.currState=r,this.forwardEvent=i,this.inputBindingEnabled=o}activate(t){const n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,t),q2(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){const i=uc(n);t.children.forEach(o=>{const s=o.value.outlet;this.deactivateRoutes(o,i[s],r),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,r)})}deactivateRoutes(t,n,r){const i=t.value,o=n?n.value:null;if(i===o)if(i.component){const s=r.getContext(i.outlet);s&&this.deactivateChildRoutes(t,n,s.children)}else this.deactivateChildRoutes(t,n,r);else o&&this.deactivateRouteAndItsChildren(n,r)}deactivateRouteAndItsChildren(t,n){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,n):this.deactivateRouteAndOutlet(t,n)}detachAndStoreRouteSubtree(t,n){const r=n.getContext(t.value.outlet),i=r&&t.value.component?r.children:n,o=uc(t);for(const s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);if(r&&r.outlet){const s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,n){const r=n.getContext(t.value.outlet),i=r&&t.value.component?r.children:n,o=uc(t);for(const s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(t,n,r){const i=uc(n);t.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],r),this.forwardEvent(new xQ(o.value.snapshot))}),t.children.length&&this.forwardEvent(new TQ(t.value.snapshot))}activateRoutes(t,n,r){const i=t.value,o=n?n.value:null;if(q2(i),i===o)if(i.component){const s=r.getOrCreateContext(i.outlet);this.activateChildRoutes(t,n,s.children)}else this.activateChildRoutes(t,n,r);else if(i.component){const s=r.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){const a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),q2(a.route.value),this.activateChildRoutes(t,null,s.children)}else s.attachRef=null,s.route=i,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(t,null,s.children)}else this.activateChildRoutes(t,null,r)}}class uE{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class Kh{constructor(t,n){this.component=t,this.route=n}}function zQ(e,t,n){const r=e._root;return Su(r,t?t._root:null,n,[r.value])}function fc(e,t){const n=Symbol(),r=t.get(e,n);return r===n?"function"!=typeof e||function TD(e){return null!==Cd(e)}(e)?t.get(e):e:r}function Su(e,t,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=uc(t);return e.children.forEach(s=>{(function GQ(e,t,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=e.value,s=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){const c=function WQ(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!ws(e.url,t.url);case"pathParamsOrQueryParamsChange":return!ws(e.url,t.url)||!Ri(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!J2(e,t)||!Ri(e.queryParams,t.queryParams);default:return!J2(e,t)}}(s,o,o.routeConfig.runGuardsAndResolvers);c?i.canActivateChecks.push(new uE(r)):(o.data=s.data,o._resolvedData=s._resolvedData),Su(e,t,o.component?a?a.children:null:n,r,i),c&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new Kh(a.outlet.component,s))}else s&&Du(t,a,i),i.canActivateChecks.push(new uE(r)),Su(e,null,o.component?a?a.children:null:n,r,i)})(s,o[s.value.outlet],n,r.concat([s.value]),i),delete o[s.value.outlet]}
1),Object.entries(o).forEach(([s,a])=>Du(a,n.getContext(s),i)),i}function Du(e,t,n){const r=uc(e),i=e.value;Object.entries(r).forEach(([o,s])=>{Du(s,i.component?t?t.children.getContext(o):null:t,n)}),n.canDeactivateChecks.push(new Kh(i.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,i))}function Tu(e){return"function"==typeof e}function dE(e){return e instanceof Nh||"EmptyError"===e?.name}const Yh=Symbol("INITIAL_VALUE");function hc(){return ei(e=>N2(e.map(t=>t.pipe(Es(1),function Vj(...e){const t=pu(e);return an((n,r)=>{(t?L2(e,n,t):L2(e,n)).subscribe(r)})}(Yh)))).pipe(ke(t=>{for(const n of t)if(!0!==n){if(n===Yh)return Yh;if(!1===n||ez(n))return n}return!0}),ki(t=>t!==Yh),Es(1)))}function ez(e){return Is(e)||e instanceof Y2}function fE(e){return function vD(...e){return t7(e)}(jn(t=>{if("boolean"!=typeof t)throw Jh(0,t)}),ke(t=>!0===t))}class X2{constructor(t){this.segmentGroup=t||null}}class Xh extends Error{constructor(t){super(),this.urlTree=t}}function pc(e){return Lh(new X2(e))}class hz{constructor(t,n){this.urlSerializer=t,this.urlTree=n}lineralizeSegments(t,n){let r=[],i=n.root;for(;;){if(r=r.concat(i.segments),0===i.numberOfChildren)return ce(r);if(i.numberOfChildren>1||!i.children[Ie])return Lh(new w(4e3,!1));i=i.children[Ie]}}applyRedirectCommands(t,n,r,i,o){if("string"!=typeof n){const a=n,{queryParams:c,fragment:l,routeConfig:u,url:d,outlet:f,params:h,data:p,title:m}=i,C=gi(o,()=>a({params:h,data:p,queryParams:c,fragment:l,routeConfig:u,url:d,outlet:f,title:m}));if(C instanceof _s)throw new Xh(C);n=C}const s=this.applyRedirectCreateUrlTree(n,this.urlSerializer.parse(n),t,r);if("/"===n[0])throw new Xh(s);return s}applyRedirectCreateUrlTree(t,n,r,i){const o=this.createSegmentGroup(t,n.root,r,i);return new _s(o,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(t,n){const r={};return Object.entries(t).forEach(([i,o])=>{if("string"==typeof o&&":"===o[0]){const a=o.substring(1);r[i]=n[a]}else r[i]=o}),r}createSegmentGroup(t,n,r,i){const o=this.createSegments(t,n.segments,r,i);let s={};return Object.entries(n.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(t,c,r,i)}),new st(o,s)}createSegments(t,n,r,i){return n.map(o=>":"===o.path[0]?this.findPosParam(t,o,i):this.findOrReturn(o,r))}findPosParam(t,n,r){const i=r[n.path.substring(1)];if(!i)throw new w(4001,!1);return i}findOrReturn(t,n){let r=0;for(const i of n){if(i.path===t.path)return n.splice(r),i;r++}return t}}const $2={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function pz(e,t,n,r,i){const o=hE(e,t,n);return o.matched?(r=function kQ(e,t){return e.providers&&!e._injector&&(e._injector=Of(e.providers,t,`Route: ${e.path}`)),e._injector??t}(t,r),function uz(e,t,n,r){const i=t.canMatch;return i&&0!==i.length?ce(i.map(s=>{const a=fc(s,e);return xo(function $Q(e){return e&&Tu(e.canMatch)}(a)?a.canMatch(t,n):gi(e,()=>a(t,n)))})).pipe(hc(),fE()):ce(!0)}(r,t,n).pipe(ke(s=>!0===s?o:{...$2}))):ce(o)}function hE(e,t,n){if("**"===t.path)return function gz(e){return{matched:!0,parameters:e.length>0?Ob(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}(n);if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?{...$2}:{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};const i=(t.matcher||qj)(n,e,t);if(!i)return{...$2};const o={};Object.entries(i.posParams??{}).forEach(([a,c])=>{o[a]=c.path});const s=i.consumed.length>0?{...o,...i.consumed[i.consumed.length-1].parameters}:o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:n.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function pE(e,t,n,r){return n.length>0&&function vz(e,t,n){return n.some(r=>$h(e,t,r)&&ti(r)!==Ie)}(e,n,r)?{segmentGroup:new st(t,Cz(r,new st(n,e.children))),slicedSegments:[]}:0===n.length&&function yz(e,t,n){return n.some(r=>$h(e,t,r))}(e,n,r)?{segmentGroup:new st(e.segments,mz(e,n,r,e.children)),slicedSegments:n}:{segmentGroup:new st(e.segments,e.children),slicedSegments:n}}function mz(e,t,n,r){const i={};for(const o of n)if($h(e,t,o)&&!r[ti(o)]){const s=new st([],{});i[ti(o)]=s}return{...r,...i}}function Cz(e,t){const n={};n[Ie]=t;for(const r of e)if(""===r.path&&ti(r)!==Ie){const i=new st([],{});n[ti(r)]=i}return n}function $h(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path}class bz{}class wz{constructor(t,n,r,i,o,s,a){this.injector=t,this.configLoader=n,this.rootComponentType=r,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer
1=a,this.applyRedirects=new hz(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(t){return new w(4002,`'${t.segmentGroup}'`)}recognize(){const t=pE(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(ke(({children:n,rootSnapshot:r})=>{const i=new ni(r,n),o=new nE("",i),s=function pQ(e,t,n=null,r=null){return Zb(zb(e),t,n,r)}(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}}))}match(t){const n=new Wh([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Object.freeze({}),Ie,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,t,Ie,n).pipe(ke(r=>({children:r,rootSnapshot:n})),sc(r=>{if(r instanceof Xh)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof X2?this.noMatchError(r):r}))}processSegmentGroup(t,n,r,i,o){return 0===r.segments.length&&r.hasChildren()?this.processChildren(t,n,r,o):this.processSegment(t,n,r,r.segments,i,!0,o).pipe(ke(s=>s instanceof ni?[s]:[]))}processChildren(t,n,r,i){const o=[];for(const s of Object.keys(r.children))"primary"===s?o.unshift(s):o.push(s);return rn(o).pipe(oc(s=>{const a=r.children[s],c=function LQ(e,t){const n=e.filter(r=>ti(r)===t);return n.push(...e.filter(r=>ti(r)!==t)),n}(n,s);return this.processSegmentGroup(t,c,a,s,i)}),function Qj(e,t){return an(function jj(e,t,n,r,i){return(o,s)=>{let a=n,c=t,l=0;o.subscribe(Jt(s,u=>{const d=l++;c=a?e(c,u,d):(a=!0,u),r&&s.next(c)},i&&(()=>{a&&s.next(c),s.complete()})))}}(e,t,arguments.length>=2,!0))}((s,a)=>(s.push(...a),s)),Ph(null),function zj(e,t){const n=arguments.length>=2;return r=>r.pipe(e?ki((i,o)=>e(i,o,r)):Jo,F2(1),n?Ph(t):kb(()=>new Nh))}(),vn(s=>{if(null===s)return pc(r);const a=gE(s);return function Iz(e){e.sort((t,n)=>t.value.outlet===Ie?-1:n.value.outlet===Ie?1:t.value.outlet.localeCompare(n.value.outlet))}(a),ce(a)}))}processSegment(t,n,r,i,o,s,a){return rn(n).pipe(oc(c=>this.processSegmentAgainstRoute(c._injector??t,n,c,r,i,o,s,a).pipe(sc(l=>{if(l instanceof X2)return ce(null);throw l}))),Mo(c=>!!c),sc(c=>{if(dE(c))return function Az(e,t,n){return 0===t.length&&!e.children[n]}(r,i,o)?ce(new bz):pc(r);throw c}))}processSegmentAgainstRoute(t,n,r,i,o,s,a,c){return ti(r)===s||s!==Ie&&$h(i,o,r)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,i,r,o,s,c):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(t,i,n,r,o,s,c):pc(i):pc(i)}expandSegmentAgainstRouteUsingRedirect(t,n,r,i,o,s,a){const{matched:c,parameters:l,consumedSegments:u,positionalParamSegments:d,remainingSegments:f}=hE(n,i,o);if(!c)return pc(n);"string"==typeof i.redirectTo&&"/"===i.redirectTo[0]&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const h=new Wh(o,l,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,mE(i),ti(i),i.component??i._loadedComponent??null,i,CE(i)),p=Gh(h,a,this.paramsInheritanceStrategy);h.params=Object.freeze(p.params),h.data=Object.freeze(p.data);const m=this.applyRedirects.applyRedirectCommands(u,i.redirectTo,d,h,t);return this.applyRedirects.lineralizeSegments(i,m).pipe(vn(C=>this.processSegment(t,r,n,C.concat(f),s,!1,a)))}matchSegmentAgainstRoute(t,n,r,i,o,s){const a=pz(n,r,i,t);return"**"===r.path&&(n.children={}),a.pipe(ei(c=>c.matched?this.getChildConfig(t=r._injector??t,r,i).pipe(ei(({routes:l})=>{const u=r._loadedInjector??t,{parameters:d,consumedSegments:f,remainingSegments:h}=c,p=new Wh(f,d,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,mE(r),ti(r),r.component??r._loadedComponent??null,r,CE(r)),m=Gh(p,s,this.paramsInheritanceStrategy);p.params=Object.freeze(m.params),p.data=Object.freeze(m.data);const{segmentGroup:C,slicedSegments:v}=pE(n,f,h,l);if(0===v.length&&C.hasChildren())return this.processChildren(u,l,C,p).pipe(ke(S=>new ni(p,S)));if(0===l.length&&0===v.length)return ce(new ni(p,[]));const y=ti(r)===o;return this.processSegment(u,l,C,v,y?Ie:o,!0,p).pipe(ke(S=>new ni(p,S instanceof ni?[S]:[])))})):pc(n)))}getChildConfig(t,n,r){return n.children?ce({routes:n.children,injector:t}):n.loadChildren?void 0!==n._loadedRoutes?ce({routes:n._loadedRoutes,injector:n._loadedInjector}):function lz(e,t,n,r){const i=t.canLoad;return void 0===i||0===i.length?ce(!0):ce(i.map(s=>{const a=fc(s,e);return xo(function JQ(e){return e&&Tu(e.canLoad)}(a)?a.canLoad(t,n):gi(e,()=>a(t,n)))})).pipe(hc(),fE())}(t,n,r).pipe(vn(i=>i?this.configLoader.loadChildren(t,n).pipe(jn(o=>{n._loadedRoutes=o.routes,n._loadedInjector=o.injector})):function fz(){return Lh(cE(!1,yr.GuardRejected))}
1())):ce({routes:[],injector:t})}}function Sz(e){const t=e.value.routeConfig;return t&&""===t.path}function gE(e){const t=[],n=new Set;for(const r of e){if(!Sz(r)){t.push(r);continue}const i=t.find(o=>r.value.routeConfig===o.value.routeConfig);void 0!==i?(i.children.push(...r.children),n.add(i)):t.push(r)}for(const r of n){const i=gE(r.children);t.push(new ni(r.value,i))}return t.filter(r=>!n.has(r))}function mE(e){return e.data||{}}function CE(e){return e.resolve||{}}function vE(e){const t=e.children.map(n=>vE(n)).flat();return[e,...t]}function e4(e){return ei(t=>{const n=e(t);return n?rn(n).pipe(ke(()=>t)):ce(t)})}let yE=(()=>{class e{buildTitle(n){let r,i=n.root;for(;void 0!==i;)r=this.getResolvedTitleForRoute(i)??r,i=i.children.find(o=>o.outlet===Ie);return r}getResolvedTitleForRoute(n){return n.data[mu]}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=F({token:e,factory:()=>D(Rz),providedIn:"root"})}}return e})(),Rz=(()=>{class e extends yE{constructor(n){super(),this.title=n}updateTitle(n){const r=this.buildTitle(n);void 0!==r&&this.title.setTitle(r)}static{this.\u0275fac=function(r){return new(r||e)(B(NU))}}static{this.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const gc=new Q("",{providedIn:"root",factory:()=>({})});let AE=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=Zi({type:e,selectors:[["ng-component"]],standalone:!0,features:[Jf],decls:1,vars:0,template:function(r,i){1&r&&St(0,"router-outlet")},dependencies:[oE],encapsulation:2})}}return e})();function t4(e){const t=e.children&&e.children.map(t4),n=t?{...e,children:t}:{...e};return!n.component&&!n.loadComponent&&(t||n.loadChildren)&&n.outlet&&n.outlet!==Ie&&(n.component=AE),n}const mc=new Q("");let n4=(()=>{class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=D(_y)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return ce(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);const r=xo(n.loadComponent()).pipe(ke(bE),jn(o=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=o}),gu(()=>{this.componentLoaders.delete(n)})),i=new xb(r,()=>new Nt).pipe(P2());return this.componentLoaders.set(n,i),i}loadChildren(n,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return ce({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);const o=function Oz(e,t,n,r){return xo(e.loadChildren()).pipe(ke(bE),vn(i=>i instanceof Nm||Array.isArray(i)?ce(i):rn(t.compileModuleAsync(i))),ke(i=>{r&&r(e);let o,s,a=!1;return Array.isArray(i)?(s=i,!0):(o=i.create(n).injector,s=o.get(mc,[],{optional:!0,self:!0}).flat()),{routes:s.map(t4),injector:o}}))}(r,this.compiler,n,this.onLoadEndListener).pipe(gu(()=>{this.childrenLoaders.delete(r)})),s=new xb(o,()=>new Nt).pipe(P2());return this.childrenLoaders.set(r,s),s}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function bE(e){return function Nz(e){return e&&"object"==typeof e&&"default"in e}(e)?e.default:e}let r4=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=F({token:e,factory:()=>D(Lz),providedIn:"root"})}}return e})(),Lz=(()=>{class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,r){return n}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const EE=new Q(""),_E=new Q("");function Pz(e,t,n){const r=e.get(_E),i=e.get(Pt);return e.get(Oe).runOutsideAngular(()=>{if(!i.startViewTransition||r.skipNextTransition)return r.skipNextTransition=!1,new Promise(l=>setTimeout(l));let o;const s=new Promise(l=>{o=l}),a=i.startViewTransition(()=>(o(),function Fz(e){return new Promise(t=>{Hf({read:()=>setTimeout(t)},{injector:e})})}(e))),{onViewTransitionCreated:c}=r;return c&&gi(e,()=>c({transition:a,from:t,to:n})),s})}const wE=new Q("");let e5=(()=>{class e{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Nt,this.transitionAbortSubject=ne
1w Nt,this.configLoader=D(n4),this.environmentInjector=D(Nn),this.urlSerializer=D(cc),this.rootContexts=D(wu),this.location=D(cu),this.inputBindingEnabled=null!==D(qh,{optional:!0}),this.titleStrategy=D(yE),this.options=D(gc,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=D(r4),this.createViewTransition=D(EE,{optional:!0}),this.navigationErrorHandler=D(wE,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>ce(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=i=>this.events.next(new SQ(i)),this.configLoader.onLoadStartListener=i=>this.events.next(new IQ(i))}complete(){this.transitions?.complete()}handleNavigationRequest(n){const r=++this.navigationId;this.transitions?.next({...this.transitions.value,...n,id:r})}setupNavigations(n,r,i){return this.transitions=new _r({id:0,currentUrlTree:r,currentRawUrl:r,extractedUrl:this.urlHandlingStrategy.extract(r),urlAfterRedirects:this.urlHandlingStrategy.extract(r),rawUrl:r,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:bu,restoredState:null,currentSnapshot:i.snapshot,targetSnapshot:null,currentRouterState:i,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(ki(o=>0!==o.id),ke(o=>({...o,extractedUrl:this.urlHandlingStrategy.extract(o.rawUrl)})),ei(o=>{let s=!1,a=!1;return ce(o).pipe(ei(c=>{if(this.navigationId>o.id)return this.cancelNavigationTransition(o,"",yr.SupersededByNewNavigation),$r;this.currentTransition=o,this.currentNavigation={id:c.id,initialUrl:c.rawUrl,extractedUrl:c.extractedUrl,targetBrowserUrl:"string"==typeof c.extras.browserUrl?this.urlSerializer.parse(c.extras.browserUrl):c.extras.browserUrl,trigger:c.source,extras:c.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null};const l=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!l&&"reload"!==(c.extras.onSameUrlNavigation??n.onSameUrlNavigation)){const d="";return this.events.next(new lc(c.id,this.urlSerializer.serialize(c.rawUrl),d,zh.IgnoredSameUrlNavigation)),c.resolve(!1),$r}if(this.urlHandlingStrategy.shouldProcessUrl(c.rawUrl))return ce(c).pipe(ei(d=>{const f=this.transitions?.getValue();return this.events.next(new Eu(d.id,this.urlSerializer.serialize(d.extractedUrl),d.source,d.restoredState)),f!==this.transitions?.getValue()?$r:Promise.resolve(d)}),function Dz(e,t,n,r,i,o){return vn(s=>function Ez(e,t,n,r,i,o,s="emptyOnly"){return new wz(e,t,n,r,i,s,o).recognize()}(e,t,n,r,s.extractedUrl,i,o).pipe(ke(({state:a,tree:c})=>({...s,targetSnapshot:a,urlAfterRedirects:c}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),jn(d=>{o.targetSnapshot=d.targetSnapshot,o.urlAfterRedirects=d.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:d.urlAfterRedirects};const f=new Yb(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(f)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(c.currentRawUrl)){const{id:d,extractedUrl:f,source:h,restoredState:p,extras:m}=c,C=new Eu(d,this.urlSerializer.serialize(f),h,p);this.events.next(C);const v=tE(this.rootComponentType).snapshot;return this.currentTransition=o={...c,targetSnapshot:v,urlAfterRedirects:f,extras:{...m,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=f,ce(o)}{const d="";return this.events.next(new lc(c.id,this.urlSerializer.serialize(c.extractedUrl),d,zh.IgnoredByUrlHandlingStrategy)),c.resolve(!1),$r}}),jn(c=>{const l=new bQ(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(l)}),ke(c=>(this.currentTransition=o={...c,guards:zQ(c.targetSnapshot,c.currentSnapshot,this.rootContexts)},o)),function tz(e,t){return vn(n=>{const{targetSnapshot:r,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=n;return 0===s.length&&0===o.length?ce({...n,guardsResult:!0}):function nz(e,t,n,r){return rn(e).pipe(vn(i=>function cz(e,t,n,r,i){const o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;
1return o&&0!==o.length?ce(o.map(a=>{const c=_u(t)??i,l=fc(a,c);return xo(function XQ(e){return e&&Tu(e.canDeactivate)}(l)?l.canDeactivate(e,t,n,r):gi(c,()=>l(e,t,n,r))).pipe(Mo())})).pipe(hc()):ce(!0)}(i.component,i.route,n,t,r)),Mo(i=>!0!==i,!0))}(s,r,i,e).pipe(vn(a=>a&&function qQ(e){return"boolean"==typeof e}(a)?function rz(e,t,n,r){return rn(t).pipe(oc(i=>L2(function oz(e,t){return null!==e&&t&&t(new DQ(e)),ce(!0)}(i.route.parent,r),function iz(e,t){return null!==e&&t&&t(new MQ(e)),ce(!0)}(i.route,r),function az(e,t,n){const r=t[t.length-1],o=t.slice(0,t.length-1).reverse().map(s=>function ZQ(e){const t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(s)).filter(s=>null!==s).map(s=>Mb(()=>ce(s.guards.map(c=>{const l=_u(s.node)??n,u=fc(c,l);return xo(function YQ(e){return e&&Tu(e.canActivateChild)}(u)?u.canActivateChild(r,e):gi(l,()=>u(r,e))).pipe(Mo())})).pipe(hc())));return ce(o).pipe(hc())}(e,i.path,n),function sz(e,t,n){const r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||0===r.length)return ce(!0);const i=r.map(o=>Mb(()=>{const s=_u(t)??n,a=fc(o,s);return xo(function KQ(e){return e&&Tu(e.canActivate)}(a)?a.canActivate(t,e):gi(s,()=>a(t,e))).pipe(Mo())}));return ce(i).pipe(hc())}(e,i.route,n))),Mo(i=>!0!==i,!0))}(r,o,e,t):ce(a)),ke(a=>({...n,guardsResult:a})))})}(this.environmentInjector,c=>this.events.next(c)),jn(c=>{if(o.guardsResult=c.guardsResult,c.guardsResult&&"boolean"!=typeof c.guardsResult)throw Jh(0,c.guardsResult);const l=new EQ(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot,!!c.guardsResult);this.events.next(l)}),ki(c=>!!c.guardsResult||(this.cancelNavigationTransition(c,"",yr.GuardRejected),!1)),e4(c=>{if(c.guards.canActivateChecks.length)return ce(c).pipe(jn(l=>{const u=new _Q(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(u)}),ei(l=>{let u=!1;return ce(l).pipe(function Tz(e,t){return vn(n=>{const{targetSnapshot:r,guards:{canActivateChecks:i}}=n;if(!i.length)return ce(n);const o=new Set(i.map(c=>c.route)),s=new Set;for(const c of o)if(!s.has(c))for(const l of vE(c))s.add(l);let a=0;return rn(s).pipe(oc(c=>o.has(c)?function Mz(e,t,n,r){const i=e.routeConfig,o=e._resolve;return void 0!==i?.title&&!iE(i)&&(o[mu]=i.title),function xz(e,t,n,r){const i=B2(e);if(0===i.length)return ce({});const o={};return rn(i).pipe(vn(s=>function kz(e,t,n,r){const i=_u(t)??r,o=fc(e,i);return xo(o.resolve?o.resolve(t,n):gi(i,()=>o(t,n)))}(e[s],t,n,r).pipe(Mo(),jn(a=>{if(a instanceof Y2)throw Jh(new Bh,a);o[s]=a}))),F2(1),function Zj(e){return ke(()=>e)}(o),sc(s=>dE(s)?$r:Lh(s)))}(o,e,t,r).pipe(ke(s=>(e._resolvedData=s,e.data=Gh(e,e.parent,n).resolve,null)))}(c,r,e,t):(c.data=Gh(c,c.parent,e).resolve,ce(void 0))),jn(()=>a++),F2(1),vn(c=>a===s.size?ce(n):$r))})}(this.paramsInheritanceStrategy,this.environmentInjector),jn({next:()=>u=!0,complete:()=>{u||this.cancelNavigationTransition(l,"",yr.NoDataFromResolver)}}))}),jn(l=>{const u=new wQ(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(u)}))}),e4(c=>{const l=u=>{const d=[];u.routeConfig?.loadComponent&&!u.routeConfig._loadedComponent&&d.push(this.configLoader.loadComponent(u.routeConfig).pipe(jn(f=>{u.component=f}),ke(()=>{})));for(const f of u.children)d.push(...l(f));return d};return N2(l(c.targetSnapshot.root)).pipe(Ph(null),Es(1))}),e4(()=>this.afterPreactivation()),ei(()=>{const{currentSnapshot:c,targetSnapshot:l}=o,u=this.createViewTransition?.(this.environmentInjector,c.root,l.root);return u?rn(u).pipe(ke(()=>o)):ce(o)}),ke(c=>{const l=function BQ(e,t,n){const r=Iu(e,t._root,n?n._root:void 0);return new eE(r,t)}(n.routeReuseStrategy,c.targetSnapshot,c.currentRouterState);return this.currentTransition=o={...c,targetRouterState:l},this.currentNavigation.targetRouterState=l,o}),jn(()=>{this.events.next(new z2)}),((e,t,n,r)=>ke(i=>(new QQ(t,i.targetRouterState,i.currentRouterState,n,r).activate(e),i)))(this.rootContexts,n.routeReuseStrategy,c=>this.events.next(c),this.inputBindingEnabled),Es(1),jn({next:c=>{s=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new ro(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects))),this.titleStrategy?.updateTitle(c.targetRouterState.snapshot),c.resolve(!0)},complete:()=>{s=!0}}),function Gj(e){return an((t,n)=>{Or(e).subscribe(Jt(n,()=>n.complete(),Qc)),!n.closed&&t.subscribe(n)})}(this.transitionAbortSubject.pipe(jn(c=>{throw c}))),gu(()=>{!s&&!a&&this.cancelNavigationTransition(o,"",yr.SupersededByNewNavigation),this.currentTransition?.id===o.id&&(this.currentNavigation=null,this.currentTransition=null)}),sc(c=>{if(a=!0,lE(c))this.events.next(new Ss(o.id,this.urlSerializer.serialize(o.extractedUrl),c.message,c.cancellationCode)),function UQ(e){return lE(e)&&Is(e.url)}(c)?this.events.next(new Zh(c.url,c.navigationBehaviorOptions)):o.resolve(!1);else{const l=new Q2(o.id,this.urlSerializer.serialize(o.extractedUrl),c,o.targetSnapshot??void 0);try{const u=gi(this.environmentInjector,()=>this.navigationErrorHandler?.(l));if(u instanceof Y2){const{message:d,cancellationCode:f}=Jh(0,u);this.events.next(new Ss(o.id,this.urlSerializer.serialize(o.extractedUrl),d,f)),this.events.next(new Zh(u.redirectTo,u.navigationBehaviorOptions))}else{this.events.next(l);const d=n.errorHandler(c);o.resolve(!!d)}}catch(u){this.options.resolveNavigationPromiseOnError?o.resolve(!1):o.reject(u)}}return $r}))}))}cancelNavigationTransition(n,r,i){const o=new Ss(n.id,this.urlSerializer.serialize(n.extractedUrl),r,i);this.events.next(o),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){const n=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),r=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return n.toString()!==r?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function Bz(e){return e!==bu}let Hz=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=F({token:e,factory:()=>D(Uz),providedIn:"root"})}}return e})();class Vz{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}}let Uz=(()=>{class e extends Vz{static{this.\u0275fac=(()=>{let n;return function(i){return(n||(n=Jd(e)))(i||e)}})()}static{this.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),IE=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=F({token:e,factory:()=>D(jz),providedIn:"root"})}}return e})(),jz=(()=>{class e extends IE{constructor(){super(...arguments),this.location=D(cu),this.urlSerializer
1=D(cc),this.options=D(gc,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=D(r4),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new _s,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=tE(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(r=>{"popstate"===r.type&&n(r.url,r.state)})}handleRouterEvent(n,r){if(n instanceof Eu)this.stateMemento=this.createStateMemento();else if(n instanceof lc)this.rawUrlTree=r.initialUrl;else if(n instanceof Yb){if("eager"===this.urlUpdateStrategy&&!r.extras.skipLocationChange){const i=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl);this.setBrowserUrl(r.targetBrowserUrl??i,r)}}else n instanceof z2?(this.currentUrlTree=r.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl),this.routerState=r.targetRouterState,"deferred"===this.urlUpdateStrategy&&!r.extras.skipLocationChange&&this.setBrowserUrl(r.targetBrowserUrl??this.rawUrlTree,r)):n instanceof Ss&&(n.code===yr.GuardRejected||n.code===yr.NoDataFromResolver)?this.restoreHistory(r):n instanceof Q2?this.restoreHistory(r,!0):n instanceof ro&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,r){const i=n instanceof _s?this.urlSerializer.serialize(n):n;if(this.location.isCurrentPathEqualTo(i)||r.extras.replaceUrl){const s={...r.extras.state,...this.generateNgRouterState(r.id,this.browserPageId)};this.location.replaceState(i,"",s)}else{const o={...r.extras.state,...this.generateNgRouterState(r.id,this.browserPageId+1)};this.location.go(i,"",o)}}restoreHistory(n,r=!1){if("computed"===this.canceledNavigationResolution){const o=this.currentPageId-this.browserPageId;0!==o?this.location.historyGo(o):this.currentUrlTree===n.finalUrl&&0===o&&(this.resetState(n),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(r&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,r){return"computed"===this.canceledNavigationResolution?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}static{this.\u0275fac=(()=>{let n;return function(i){return(n||(n=Jd(e)))(i||e)}})()}static{this.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var Mu=function(e){return e[e.COMPLETE=0]="COMPLETE",e[e.FAILED=1]="FAILED",e[e.REDIRECTING=2]="REDIRECTING",e}(Mu||{});function SE(e,t){e.events.pipe(ki(n=>n instanceof ro||n instanceof Ss||n instanceof Q2||n instanceof lc),ke(n=>n instanceof ro||n instanceof lc?Mu.COMPLETE:n instanceof Ss&&(n.code===yr.Redirect||n.code===yr.SupersededByNewNavigation)?Mu.REDIRECTING:Mu.FAILED),ki(n=>n!==Mu.REDIRECTING),Es(1)).subscribe(()=>{t()})}function Qz(e){throw e}const zz={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Zz={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let ri=(()=>{class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.console=D(fy),this.stateManager=D(IE),this.options=D(gc,{optional:!0})||{},this.pendingTasks=D(Ki),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=D(e5),this.urlSerializer
1=D(cc),this.location=D(cu),this.urlHandlingStrategy=D(r4),this._events=new Nt,this.errorHandler=this.options.errorHandler||Qz,this.navigated=!1,this.routeReuseStrategy=D(Hz),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=D(mc,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!D(qh,{optional:!0}),this.eventsSubscription=new G,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const n=this.navigationTransitions.events.subscribe(r=>{try{const i=this.navigationTransitions.currentTransition,o=this.navigationTransitions.currentNavigation;if(null!==i&&null!==o)if(this.stateManager.handleRouterEvent(r,o),r instanceof Ss&&r.code!==yr.Redirect&&r.code!==yr.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof ro)this.navigated=!0;else if(r instanceof Zh){const s=r.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(r.url,i.currentRawUrl),c={browserUrl:i.extras.browserUrl,info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||"eager"===this.urlUpdateStrategy||Bz(i.source),...s};this.scheduleNavigation(a,bu,null,c,{resolve:i.resolve,reject:i.reject,promise:i.promise})}(function Wz(e){return!(e instanceof z2||e instanceof Zh)})(r)&&this._events.next(r)}catch(i){this.navigationTransitions.transitionAbortSubject.next(i)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),bu,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,r)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(n,"popstate",r)},0)})}navigateToSyncWithBrowser(n,r,i){const o={replaceUrl:!0},s=i?.navigationId?i:null;if(i){const c={...i};delete c.navigationId,delete c.\u0275routerPageId,0!==Object.keys(c).length&&(o.state=c)}const a=this.parseUrl(n);this.scheduleNavigation(a,r,s,o)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(t4),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,r={}){const{relativeTo:i,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:c}=r,l=c?this.currentUrlTree.fragment:s;let d,u=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":u={...this.currentUrlTree.queryParams,...o};break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=o||null}null!==u&&(u=this.removeEmptyProps(u));try{d=zb(i?i.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof n[0]||"/"!==n[0][0])&&(n=[]),d=this.currentUrlTree.root}return Zb(d,n,u,l??null)}navigateByUrl(n,r={skipLocationChange:!1}){const i=Is(n)?n:this.parseUrl(n),o=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(o,bu,null,r)}navigate(n,r={skipLocationChange:!1}){return function Gz(e){for(let t=0;t<e.length;t++)if(null==e[t])throw new w(4008,!1)}(n),this.navigateByUrl(this.createUrlTree(n,r),r)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch{return this.urlSerializer.parse("/")}}isActive(n,r){let i;if(i=!0===r?{...zz}:!1===r?{...Zz}:r,Is(n))return Lb(this.currentUrlTree,n,i);const o=this.parseUrl(n);return Lb(this.currentUrlTree,o,i)}removeEmptyProps(n){return Object.entries(n).reduce((r,[i,o])=>(null!=o&&(r[i]=o),r),{})}
1scheduleNavigation(n,r,i,o,s){if(this.disposed)return Promise.resolve(!1);let a,c,l;s?(a=s.resolve,c=s.reject,l=s.promise):l=new Promise((d,f)=>{a=d,c=f});const u=this.pendingTasks.add();return SE(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(u))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:o,resolve:a,reject:c,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(d=>Promise.reject(d))}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),t5=(()=>{class e{constructor(n,r,i,o,s,a){this.router=n,this.route=r,this.tabIndexAttribute=i,this.renderer=o,this.el=s,this.locationStrategy=a,this.href=null,this.onChanges=new Nt,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1,this.routerLinkInput=null;const c=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===c||"area"===c,this.isAnchorElement?this.subscription=n.events.subscribe(l=>{l instanceof ro&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(n){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",n)}ngOnChanges(n){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(n){null==n?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(this.routerLinkInput=Is(n)||Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0"))}onClick(n,r,i,o,s){const a=this.urlTree;return!!(null===a||this.isAnchorElement&&(0!==n||r||i||o||s||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(a,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const n=this.urlTree;this.href=null!==n&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(n)):null;const r=null===this.href?null:function N9(e,t,n){return function jx(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?O9:Xi}(t,n)(e)}(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",r)}applyAttributeValue(n,r){const i=this.renderer,o=this.el.nativeElement;null!==r?i.setAttribute(o,n,r):i.removeAttribute(o,n)}get urlTree(){return null===this.routerLinkInput?null:Is(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static{this.\u0275fac=function(r){return new(r||e)(P(ri),P(dc),function cl(e){return function lM(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let i=0;for(;i<r;){const o=n[i];if(_7(o))break;if(0===o)i+=2;else if("number"==typeof o)for(i++;i<r&&"string"==typeof n[i];)i++;else{if(o===t)return n[i+1];i+=2}}}return null}(rt(),e)}("tabindex"),P(wi),P(Cn),P(As))}}static{this.\u0275dir=zt({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(r,i){1&r&&xr("click",function(s){return i.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),2&r&&Mr("target",i.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",Y0],skipLocationChange:[2,"skipLocationChange","skipLocationChange",Y0],replaceUrl:[2,"replaceUrl","replaceUrl",Y0],routerLink:"routerLink"},standalone:!0,features:[Om,yo]})}}return e})();class DE{}let Kz=(()=>{class e{constructor(n,r,i,o,s){this.router=n,this.injector=i,this.preloadingStrategy=o,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(ki(n=>n instanceof ro),oc(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,r){const i=[];for(const o of r){o.providers&&!o._injector&&(o._injector=Of(o.providers,n,`Route: ${o.path}`));const s=o._injector??n,a=o._loadedInjector??s;(o.loadChildren&&!o._loadedRoutes&&void 0===o.canLoad||o.loadComponent&&!o._loadedComponent)&&i.push(this.preloadConfig(s,o)),(o.children||o._loadedRoutes)&&i.push(this.processRoutes(a,o.children??o._loadedRoutes))}return rn(i).pipe(ic())}preloadConfig(n,r){return this.preloadingStrategy.preload(r,()=>{let i;i=r.loadChildren&&void 0===r.canLoad?this.loader.loadChildren(n,r):ce(null);const o=i.pipe(vn(s=>null===s?ce(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,this.processRoutes(s.injector??n,s.routes))));
1return r.loadComponent&&!r._loadedComponent?rn([o,this.loader.loadComponent(r)]).pipe(ic()):o})}static{this.\u0275fac=function(r){return new(r||e)(B(ri),B(_y),B(Nn),B(DE),B(n4))}}static{this.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const i4=new Q("");let TE=(()=>{class e{constructor(n,r,i,o,s={}){this.urlSerializer=n,this.transitions=r,this.viewportScroller=i,this.zone=o,this.options=s,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},s.scrollPositionRestoration||="disabled",s.anchorScrolling||="disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof Eu?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof ro?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof lc&&n.code===zh.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof Xb&&(n.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(n.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,r){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Xb(n,"popstate"===this.lastSource?this.store[this.restoredId]:null,r))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static{this.\u0275fac=function(r){d3()}}static{this.\u0275prov=F({token:e,factory:e.\u0275fac})}}return e})();function Ni(e,t){return{\u0275kind:e,\u0275providers:t}}function xE(){const e=D(Lt);return t=>{const n=e.get(Cr);if(t!==n.components[0])return;const r=e.get(ri),i=e.get(kE);1===e.get(o4)&&r.initialNavigation(),e.get(RE,null,Re.Optional)?.setUpPreloading(),e.get(i4,null,Re.Optional)?.init(),r.resetRootComponentType(n.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}const kE=new Q("",{factory:()=>new Nt}),o4=new Q("",{providedIn:"root",factory:()=>1}),RE=new Q("");function eZ(e){return Ni(0,[{provide:RE,useExisting:Kz},{provide:DE,useExisting:e}])}function nZ(e){return Ni(9,[{provide:EE,useValue:Pz},{provide:_E,useValue:{skipNextTransition:!!e?.skipInitialTransition,...e}}])}const OE=new Q("ROUTER_FORROOT_GUARD"),rZ=[cu,{provide:cc,useClass:Bh},ri,wu,{provide:dc,useFactory:function ME(e){return e.routerState.root},deps:[ri]},n4,[]];let s4=(()=>{class e{constructor(n){}static forRoot(n,r){return{ngModule:e,providers:[rZ,[],{provide:mc,multi:!0,useValue:n},{provide:OE,useFactory:aZ,deps:[[ri,new Ed,new _d]]},{provide:gc,useValue:r||{}},r?.useHash?{provide:As,useClass:AH}:{provide:As,useClass:mA},{provide:i4,useFactory:()=>{const e=D(LV),t=D(Oe),n=D(gc),r=D(e5),i=D(cc);return n.scrollOffset&&e.setOffset(n.scrollOffset),new TE(i,r,e,t,n)}},r?.preloadingStrategy?eZ(r.preloadingStrategy).\u0275providers:[],r?.initialNavigation?cZ(r):[],r?.bindToComponentInputs?Ni(8,[sE,{provide:qh,useExisting:sE}]).\u0275providers:[],r?.enableViewTransitions?nZ().\u0275providers:[],[{provide:NE,useFactory:xE},{provide:rh,multi:!0,useExisting:NE}]]}}static forChild(n){return{ngModule:e,providers:[{provide:mc,multi:!0,useValue:n}]}}static{this.\u0275fac=function(r){return new(r||e)(B(OE,8))}}static{this.\u0275mod=Gn({type:e})}static{this.\u0275inj=On({})}}return e})();function aZ(e){return"guarded"}function cZ(e){return["disabled"===e.initialNavigation?Ni(3,[{provide:H0,multi:!0,useFactory:()=>{const t=D(ri);return()=>{t.setUpLocationChangeListener()}}},{provide:o4,useValue:2}]).\u0275providers:[],"enabledBlocking"===e.initialNavigation?Ni(2,[{provide:o4,useValue:0},{provide:H0,multi:!0,deps:[Lt],useFactory:t=>{const n=t.get(yH,Promise.resolve());return()=>n.then(()=>new Promise(r=>{const i=t.get(ri),o=t.get(kE);SE(i,()=>{r(!0)}),t.get(e5).afterPreactivation=()=>(r(!0),o.closed?ce(void 0):o),i.initialNavigation()}))}}]).\u0275providers:[]]}const NE=new Q("");function LE(e,t,n,r,i,o,s){try{var a=e[o](s),c=a.value}catch(l){return void n(l)}a.done?t(c):Promise.resolve(c).then(r,i)}function n5(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var o=e.apply(t,n);function s(c){LE(o,r,i,s,a,"next",c)}function a(c){LE(o,r,i,s,a,"throw",c)}s(void 0)})}}let a4=(()=>{class e extends pA{constructor(){super(...arguments),this.skipNextPopState=!1,this.source="Window.addEventListener:popstate"}pushState(n,r,i){this.skipNextPopState=!0,super.pushState(n,r,i)}replaceState(n,r,i){this.skipNextPopState=!0,super.replaceState(n,r,i)}onPopState(n){return n=Zone.current.wrap(n,this.source),super.onPopState(o=>{this.skipNextPopState&&o.singleSpa?this.skipNextPopState=!1:n(o)})}static{this.\u0275fac=(()=>{let n;return function(i){return(n||(n=Jd(e)))(i||e)}})()}static{this.\u0275prov=F({token:e,factory:e.\u0275fac})}}return e})();const gZ={NgZone:null,bootstrapFunction:null,template:null,Router:void 0,domElementGetter:void 0,updateFunction:()=>Promise.resolve(),bootstrappedNgModuleRefOrAppRef:null},ko=!1;function CZ(e){return c4.apply(this,arguments)}function c4(){return(c4=n5(function*(e){"noop"!==e.NgZone&&(e.NgZone.assertInAngularZone=()=>{},e.NgZone.assertNotInAngularZone=()=>{},e.routingEventListener=()=>{e.bootstrappedNgZone.run(()=>{})})})).apply(this,arguments)}function vZ(e,t){return l4.apply(this,arguments)}function l4(){return(l4=n5(function*(e,t){!function uZ(e,t){const n=function fZ(e,t){return(t=t?.customProps??t).domElement?()=>t.domElement:t.domElementGetter?t.domElementGetter:e.domElementGetter?e.domElementGetter:function hZ(e){return function(){const n=`single-spa-application:${e}`;let r=document.getElementById(n);return r||(r=document.createElement("div"),r.id=n,document.body.appendChild(r)),r}}(t.name)}(e,t),r=function dZ(e,t){return e(t)}(n,t);return r.innerHTML=e.template,r}(e,t);const n=e.bootstrapFunction(t);
1if(ko&&!(n instanceof Promise))throw Error(`single-spa-angular: the options.bootstrapFunction must return a promise, but instead returned a '${typeof n}' that is not a Promise`);const r=yield n;if(ko&&(!r||"function"!=typeof r.destroy))throw Error("single-spa-angular: the options.bootstrapFunction returned a promise that did not resolve with a valid Angular module or ApplicationRef. Did you call platformBrowserDynamic().bootstrapModule() correctly?");const i=r.injector.get(a4,null),o="noop"!==e.NgZone;if(ko&&o&&e.Router&&null===i)throw new Error("\n      single-spa-angular: could not retrieve extra providers from the platform injector. Did you call platformBrowserDynamic(getSingleSpaExtraProviders()).bootstrapModule()?\n    ");const s=e;if(o){const a=r.injector.get(e.NgZone);null!==i&&function AZ(e,t){if(!t.NavigationStart)return;const n=e.injector.get(t.Router),r=n.events.subscribe(i=>{if(i instanceof t.NavigationStart){const o=n.getCurrentNavigation();"imperative"!==o.trigger&&(o.extras.skipLocationChange=!0,o.extras.replaceUrl=!1)}});e.onDestroy(()=>r.unsubscribe())}(r,e),s.bootstrappedNgZone=a,window.addEventListener("single-spa:routing-event",s.routingEventListener)}return s.bootstrappedNgModuleRefOrAppRef=r,r})).apply(this,arguments)}function yZ(e){return Promise.resolve().then(()=>{e.routingEventListener&&window.removeEventListener("single-spa:routing-event",e.routingEventListener),e.bootstrappedNgModuleRefOrAppRef.destroy(),e.bootstrappedNgModuleRefOrAppRef=null})}const bZ=[{path:"**",component:(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=Zi({type:e,selectors:[["app-empty-route"]],decls:0,vars:0,template:function(r,i){},encapsulation:2})}}return e})()}];let EZ=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275mod=Gn({type:e})}static{this.\u0275inj=On({providers:[{provide:$0,useValue:"/"}],imports:[s4.forRoot(bZ),s4]})}}return e})();const _Z=new Q("JWT_OPTIONS");let PE=(()=>{class e{constructor(n=null){this.tokenGetter=n&&n.tokenGetter||function(){}}urlBase64Decode(n){let r=n.replace(/-/g,"+").replace(/_/g,"/");switch(r.length%4){case 0:break;case 2:r+="==";break;case 3:r+="=";break;default:throw new Error("Illegal base64url string!")}return this.b64DecodeUnicode(r)}b64decode(n){let i="";if((n=String(n).replace(/=+$/,"")).length%4==1)throw new Error("'atob' failed: The string to be decoded is not correctly encoded.");for(let s,a,o=0,c=0;a=n.charAt(c++);~a&&(s=o%4?64*s+a:a,o++%4)?i+=String.fromCharCode(255&s>>(-2*o&6)):0)a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(a);return i}b64DecodeUnicode(n){return decodeURIComponent(Array.prototype.map.call(this.b64decode(n),r=>"%"+("00"+r.charCodeAt(0).toString(16)).slice(-2)).join(""))}decodeToken(n=this.tokenGetter()){return n instanceof Promise?n.then(r=>this._decodeToken(r)):this._decodeToken(n)}_decodeToken(n){if(!n||""===n)return null;const r=n.split(".");if(3!==r.length)throw new Error("The inspected token doesn't appear to be a JWT. Check to make sure it has three parts and see https://jwt.io for more.");const i=this.urlBase64Decode(r[1]);if(!i)throw new Error("Cannot decode the token.");return JSON.parse(i)}getTokenExpirationDate(n=this.tokenGetter()){return n instanceof Promise?n.then(r=>this._getTokenExpirationDate(r)):this._getTokenExpirationDate(n)}_getTokenExpirationDate(n){let r;if(r=this.decodeToken(n),!r||!r.hasOwnProperty("exp"))return null;const i=new Date(0);return i.setUTCSeconds(r.exp),i}isTokenExpired(n=this.tokenGetter(),r){return n instanceof Promise?n.then(i=>this._isTokenExpired(i,r)):this._isTokenExpired(n,r)}_isTokenExpired(n,r){if(!n||""===n)return!0;const i=this.getTokenExpirationDate(n);return r=r||0,null!==i&&!(i.valueOf()>(new Date).valueOf()+1e3*r)}getAuthScheme(n,r){return"function"==typeof n?n(r):n}}return e.\u0275fac=function(n){return new(n||e)(B(_Z))},e.\u0275prov=F({token:e,factory:e.\u0275fac}),e})();function u4(...e){const t=pu(e),n=function Sj(e,t){return"number"==typeof O2(e)?e.pop():t}(e,1/0),r=e;return r.length?1===r.length?Or(r[0]):ic(n)(rn(r,t)):$r}const wZ=["addListener","removeListener"],IZ=["addEventListener","removeEventListener"],SZ=["on","off"];
1function Tn(e,t,n,r){if(Ne(n)&&(r=n,n=void 0),r)return Tn(e,t,n).pipe(Db(r));const[i,o]=function MZ(e){return Ne(e.addEventListener)&&Ne(e.removeEventListener)}(e)?IZ.map(s=>a=>e[s](t,a,n)):function DZ(e){return Ne(e.addListener)&&Ne(e.removeListener)}(e)?wZ.map(FE(e,t)):function TZ(e){return Ne(e.on)&&Ne(e.off)}(e)?SZ.map(FE(e,t)):[];if(!i&&R2(e))return vn(s=>Tn(s,t,n))(Or(e));if(!i)throw new TypeError("Invalid event target");return new Ft(s=>{const a=(...c)=>s.next(1<c.length?c:c[0]);return i(a),()=>o(a)})}function FE(e,t){return n=>r=>e[n](t,r)}function io(e){const t=X.p,n=t.endsWith("/")?"":"/";return`${t}${n}assets${e.startsWith("/")?"":"/"}${e}`}const BE={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let r5;const xZ=new Uint8Array(16);function kZ(){if(!r5&&(r5=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!r5))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r5(xZ)}const yn=[];for(let e=0;e<256;++e)yn.push((e+256).toString(16).slice(1));const VE=function RZ(e,t,n){if(BE.randomUUID&&!t&&!e)return BE.randomUUID();const r=(e=e||{}).random||(e.rng||kZ)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(let i=0;i<16;++i)t[n+i]=r[i];return t}return function HE(e,t=0){return yn[e[t+0]]+yn[e[t+1]]+yn[e[t+2]]+yn[e[t+3]]+"-"+yn[e[t+4]]+yn[e[t+5]]+"-"+yn[e[t+6]]+yn[e[t+7]]+"-"+yn[e[t+8]]+yn[e[t+9]]+"-"+yn[e[t+10]]+yn[e[t+11]]+yn[e[t+12]]+yn[e[t+13]]+yn[e[t+14]]+yn[e[t+15]]}(r)},UE=()=>jE("_ga")?jE("_ga")+"_"+VE():"rand_"+VE();function jE(e){let t=document.cookie.split(";");if(!t.length)return;let n=e+"=";for(let r of t){let i=r;for(;" "==i.charAt(0);)i=i.substring(1);if(0==i.indexOf(n))return i.substring(n.length,i.length)}return""}const Tt_env="production",Tt_httpTimeout=6e4,Tt_FLAG_URL="https://gateway.cellulant.africa:9000/client/images/countries/tiny/",Tt_sessionTimeout=3600,Tt_loginUrl="/cas/login",Tt_freshDeskSourceFile="https://wchat.freshchat.com/js/widget.js",Tt_freshDeskToken="be5882e7-136b-4697-9f7c-344bade2703f",Tt_freshDeskHost="https://wchat.freshchat.com",Tt_freshDeskTimeout=3e3,Tt_offsetSessionTimeout=1800,Tt_OATH2_PARAMS={response_type:"code",client_id:"WEB",state:UE(),nonce:UE(),scope:""},Tt_datadogConfigs={service:"ui-top-navigation",applicationId:"347c9ee9-25b2-482d-a0c9-ff46b1302657",clientToken:"pub214f4eeea3e40473e854b0efa5ef4d4c"},Tt_casApiUrl="https://accounts.tingg.africa/api/v1",Tt_casUiAPIUrl="https://customers.tingg.africa/api/v1",OZ=[{ID:1,code:"KES",countryName:"Kenya"},{ID:2,code:"UGX",countryName:"Uganda"}],d4={now:()=>(d4.delegate||Date).now(),delegate:void 0},QE=new class NZ extends Nt{constructor(t=1/0,n=1/0,r=d4){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){const{isStopped:n,_buffer:r,_infiniteTimeWindow:i,_timestampProvider:o,_windowTime:s}=this;n||(r.push(t),!i&&r.push(o.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();const n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:i}=this,o=i.slice();for(let s=0;s<o.length&&!t.closed;s+=r?1:2)t.next(o[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){const{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:i}=this,o=(i?1:2)*t;if(t<1/0&&o<r.length&&r.splice(0,r.length-o),!i){const s=n.now();let a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}}(1);let LZ=(()=>{class e{constructor({timeout:n,onTimeout:r}){this.eventHandler=()=>{},this.timeout=n,this.onTimeout=r,this.eventHandler=this.updateExpiredTime.bind(this),this.tracker(),this.startInterval()}startInterval(){this.updateExpiredTime(),this.interval=setInterval(()=>{parseInt(localStorage.getItem("_expiredTime"),10)<Date.now()&&this.onTimeout&&(this.onTimeout(),this.cleanUp())},1e3)}updateExpiredTime(){this.timeoutTracker&&clearTimeout(this.timeoutTracker),this.timeoutTracker=setTimeout(()=>{let n=(Date.now()+1e3*this.timeout).toString();localStorage.setItem("_expiredTime",n)},300)}tracker(){window.addEventListener("mousemove",this.eventHandler),window.addEventListener("scroll",this.eventHandler),window.addEventListener("keydown",this.eventHandler)}cleanUp(){clearInterval(this.interval),window.removeEventListener("mousemove",this.eventHandler),window.removeEventListener("scroll",this.eventHandler),window.removeEventListener("keydown",this.eventHandler)}static{this.\u0275fac=function(r){d3()}}static{this.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();class i5{}class o5{}class Yn{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?"string"==typeof t?this.lazyInit=()=>{this.headers=new Map,t.split("\n").forEach(n=>{const r=n.indexOf(":");if(r>0){const i=n.slice(0,r),o=i.toLowerCase(),s=n.slice(r+1).trim();this.maybeSetNormalizedName(i,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((n,r)=>{this.setHeaderEntries(r,n)}
vendor: 4,651 bytes, line 1
1)):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof Yn?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){const n=new Yn;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof Yn?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){const n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if("string"==typeof r&&(r=[r]),0===r.length)return;this.maybeSetNormalizedName(t.name,n);const i=("a"===t.op?this.headers.get(n):void 0)||[];i.push(...r),this.headers.set(n,i);break;case"d":const o=t.value;if(o){let s=this.headers.get(n);if(!s)return;s=s.filter(a=>-1===o.indexOf(a)),0===s.length?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}else this.headers.delete(n),this.normalizedNames.delete(n)}}setHeaderEntries(t,n){const r=(Array.isArray(n)?n:[n]).map(o=>o.toString()),i=t.toLowerCase();this.headers.set(i,r),this.maybeSetNormalizedName(t,i)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}}class PZ{encodeKey(t){return zE(t)}encodeValue(t){return zE(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const BZ=/%(\d[a-f0-9])/gi,HZ={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function zE(e){return encodeURIComponent(e).replace(BZ,(t,n)=>HZ[n]??t)}function s5(e){return`${e}`}class Ro{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new PZ,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function FZ(e,t){const n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(i=>{const o=i.indexOf("="),[s,a]=-1==o?[t.decodeKey(i),""]:[t.decodeKey(i.slice(0,o)),t.decodeValue(i.slice(o+1))],c=n.get(s)||[];c.push(a),n.set(s,c)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{const r=t.fromObject[n],i=Array.isArray(r)?r.map(s5):[s5(r)];this.map.set(n,i)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){const n=[];return Object.keys(t).forEach(r=>{const i=t[r];Array.isArray(i)?i.forEach(o=>{n.push({param:r,value:o,op:"a"})}):n.push({param:r,value:i,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const n=new Ro({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const n=("a"===t.op?this.map.get(t.param):void 0)||[];n.push(s5(t.value)),this.map.set(t.param,n);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let r=this.map.get(t.param)||[];const i=r.indexOf(s5(t.value));-1!==i&&r.splice(i,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class VZ{constructor(){this.map=new Map}set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}
1keys(){return this.map.keys()}}function ZE(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function GE(e){return typeof Blob<"u"&&e instanceof Blob}function WE(e){return typeof FormData<"u"&&e instanceof FormData}class xu{constructor(t,n,r,i){let o;if(this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function UZ(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||i?(this.body=void 0!==r?r:null,o=i):o=r,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),this.headers??=new Yn,this.context??=new VZ,this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=n;else{const a=n.indexOf("?");this.urlWithParams=n+(-1===a?"?":a<n.length-1?"&":"")+s}}else this.params=new Ro,this.urlWithParams=n}serializeBody(){return null===this.body?null:"string"==typeof this.body||ZE(this.body)||GE(this.body)||WE(this.body)||function jZ(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}(this.body)?this.body:this.body instanceof Ro?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||WE(this.body)?null:GE(this.body)?this.body.type||null:ZE(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Ro?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(t={}){const n=t.method||this.method,r=t.url||this.url,i=t.responseType||this.responseType,o=t.transferCache??this.transferCache,s=void 0!==t.body?t.body:this.body,a=t.withCredentials??this.withCredentials,c=t.reportProgress??this.reportProgress;let l=t.headers||this.headers,u=t.params||this.params;const d=t.context??this.context;return void 0!==t.setHeaders&&(l=Object.keys(t.setHeaders).reduce((f,h)=>f.set(h,t.setHeaders[h]),l)),t.setParams&&(u=Object.keys(t.setParams).reduce((f,h)=>f.set(h,t.setParams[h]),u)),new xu(n,r,s,{params:u,headers:l,context:d,reportProgress:c,responseType:i,withCredentials:a,transferCache:o})}}var Oo=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}(Oo||{});class f4{constructor(t,n=200,r="OK"){this.headers=t.headers||new Yn,this.status=void 0!==t.status?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class a5 extends f4{constructor(t={}){super(t),this.type=Oo.ResponseHeader}clone(t={}){return new a5({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class Ds extends f4{constructor(t={}){super(t),this.type=Oo.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new Ds({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class Cc extends f4{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function h4(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,transferCache:e.transferCache}}let p4=(()=>{class e{constructor(n){this.handler=n}request(n,r,i={}){let o;if(n instanceof xu)o=n;else{let c,l;c=i.headers instanceof Yn?i.headers:new Yn(i.headers),i.params&&(l=i.params instanceof Ro?i.params:new Ro({fromObject:i.params})),o=new xu(n,r,void 0!==i.body?i.body:null,{headers:c,context:i.context,params:l,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache})}const s=ce(o).pipe(oc(c=>this.handler.handle(c)));if(n instanceof xu||"events"===i.observe)return s;const a=s.pipe(ki(c=>c instanceof Ds));switch(i.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(ke(c=>{if(null!==c.body&&!(c.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return c.body}));case"blob":return a.pipe(ke(c=>{if(null!==c.body&&!(c.body instanceof Blob))throw new Error("Response is not a Blob.");return c.body}));case"text":return a.pipe(ke(c=>{if(null!==c.body&&"string"!=typeof c.body)throw new Error("Response is not a string.");return c.body}));default:return a.pipe(ke(c=>c.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${i.observe}}`)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:(new Ro).append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,i={}){return this.request("PATCH",n,h4(i,r))}post(n,r,i={}){return this.request("POST",n,h4(i,r))}put(n,r,i={}){return this.request("PUT",n,h4(i,r))}static{this.\u0275fac=function(r){return new(r||e)(B(i5))}}static{this.\u0275prov=F({token:e,factory:e.\u0275fac})}}return e})();const ZZ=/^\)\]\}',?\n/;function JE(e){if(e.url)return e.url;const t="X-Request-URL".toLocaleLowerCase();return e.headers.get(t)}let g4=(()=>{class e{constructor(){this.fetchImpl=D(WZ,{optional:!0})?.fetch??((...n)=>globalThis.fetch(...n)),this.ngZone=D(Oe)}handle(n){return new Ft(r=>{const i=new AbortController;return this.doRequest(n,i.signal,r).then(m4,o=>r.error(new Cc({error:o}))),()=>i.abort()})}doRequest(n,r,i){var o=this;return n5(function*(){const s=o.createRequestInit(n);let a;try{const p=o.ngZone.runOutsideAngular(()=>o.fetchImpl(n.urlWithParams,{signal:r,...s}));(function qZ(e){e.then(m4,m4)})(p),i.next({type:Oo.Sent}),a=yield p}catch(p){return void i.error(new Cc({error:p,status:p.status??0,statusText:p.statusText,url:n.urlWithParams,headers:p.headers}))}const c=new Yn(a.headers),l=a.statusText,u=JE(a)??n.urlWithParams;let d=a.status,f=null;if(n.reportProgress&&i.next(new a5({headers:c,status:d,statusText:l,url:u})),a.body){const p=a.headers.get("content-length"),m=[],C=a.body.getReader();let y,S,v=0;const N=typeof Zone<"u"&&Zone.current;yield o.ngZone.runOutsideAngular(n5(function*(){for(;;){const{done:J,value:R}=yield C.read();if(J)break;if(m.push(R),v+=R.length,n.reportProgress){S="text"===n.responseType?(S??"")+(y??=new TextDecoder).decode(R,{stream:!0}):void 0;const _e=()=>i.next({type:Oo.DownloadProgress,total:p?+p:void 0,loaded:v,partialText:S});N?N.run(_e):_e()}}}));const K=o.concatChunks(m,v);try{const J=a.headers.get("Content-Type")??"";f=o.parseBody(n,K,J)}catch(J){return void i.error(new Cc({error:J,headers:new Yn(a.headers),status:a.status,statusText:a.statusText,url:JE(a)??n.urlWithParams}))}}0===d&&(d=f?200:0),d>=200&&d<300?(i.next(new Ds({body:f,headers:c,status:d,statusText:l,url:u})),i.complete()):i.error(new Cc({error:f,headers:c,status:d,statusText:l,url:u}))})()}parseBody(n,r,i){switch(n.responseType){case"json":const o=(new TextDecoder).decode(r).replace(ZZ,"");return""===o?null:JSON.parse(o);case"text":return(new TextDecoder).decode(r);case"blob":return new Blob([r],{type:i});case"arraybuffer":return r.buffer}}createRequestInit(n){const r={},i=n.withCredentials?"include":void 0;
1if(n.headers.forEach((o,s)=>r[o]=s.join(",")),n.headers.has("Accept")||(r.Accept="application/json, text/plain, */*"),!n.headers.has("Content-Type")){const o=n.detectContentTypeHeader();null!==o&&(r["Content-Type"]=o)}return{body:n.serializeBody(),method:n.method,headers:r,credentials:i}}concatChunks(n,r){const i=new Uint8Array(r);let o=0;for(const s of n)i.set(s,o),o+=s.length;return i}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=F({token:e,factory:e.\u0275fac})}}return e})();class WZ{}function m4(){}function KE(e,t){return t(e)}function JZ(e,t){return(n,r)=>t.intercept(n,{handle:i=>e(i,r)})}const YZ=new Q(""),ku=new Q(""),YE=new Q(""),XE=new Q("",{providedIn:"root",factory:()=>!0});function XZ(){let e=null;return(t,n)=>{null===e&&(e=(D(YZ,{optional:!0})??[]).reduceRight(JZ,KE));const r=D(Ki);if(D(XE)){const o=r.add();return e(t,n).pipe(gu(()=>r.remove(o)))}return e(t,n)}}let $E=(()=>{class e extends i5{constructor(n,r){super(),this.backend=n,this.injector=r,this.chain=null,this.pendingTasks=D(Ki),this.contributeToStability=D(XE)}handle(n){if(null===this.chain){const r=Array.from(new Set([...this.injector.get(ku),...this.injector.get(YE,[])]));this.chain=r.reduceRight((i,o)=>function KZ(e,t,n){return(r,i)=>gi(n,()=>t(r,o=>e(o,i)))}(i,o,this.injector),KE)}if(this.contributeToStability){const r=this.pendingTasks.add();return this.chain(n,i=>this.backend.handle(i)).pipe(gu(()=>this.pendingTasks.remove(r)))}return this.chain(n,r=>this.backend.handle(r))}static{this.\u0275fac=function(r){return new(r||e)(B(o5),B(Nn))}}static{this.\u0275prov=F({token:e,factory:e.\u0275fac})}}return e})();const rG=/^\)\]\}',?\n/;let t_=(()=>{class e{constructor(n){this.xhrFactory=n}handle(n){if("JSONP"===n.method)throw new w(-2800,!1);const r=this.xhrFactory;return(r.\u0275loadImpl?rn(r.\u0275loadImpl()):ce(null)).pipe(ei(()=>new Ft(o=>{const s=r.build();if(s.open(n.method,n.urlWithParams),n.withCredentials&&(s.withCredentials=!0),n.headers.forEach((m,C)=>s.setRequestHeader(m,C.join(","))),n.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){const m=n.detectContentTypeHeader();null!==m&&s.setRequestHeader("Content-Type",m)}if(n.responseType){const m=n.responseType.toLowerCase();s.responseType="json"!==m?m:"text"}const a=n.serializeBody();let c=null;const l=()=>{if(null!==c)return c;const m=s.statusText||"OK",C=new Yn(s.getAllResponseHeaders()),v=function iG(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(s)||n.url;return c=new a5({headers:C,status:s.status,statusText:m,url:v}),c},u=()=>{let{headers:m,status:C,statusText:v,url:y}=l(),S=null;204!==C&&(S=typeof s.response>"u"?s.responseText:s.response),0===C&&(C=S?200:0);let N=C>=200&&C<300;if("json"===n.responseType&&"string"==typeof S){const K=S;S=S.replace(rG,"");try{S=""!==S?JSON.parse(S):null}catch(J){S=K,N&&(N=!1,S={error:J,text:S})}}N?(o.next(new Ds({body:S,headers:m,status:C,statusText:v,url:y||void 0})),o.complete()):o.error(new Cc({error:S,headers:m,status:C,statusText:v,url:y||void 0}))},d=m=>{const{url:C}=l(),v=new Cc({error:m,status:s.status||0,statusText:s.statusText||"Unknown Error",url:C||void 0});o.error(v)};let f=!1;const h=m=>{f||(o.next(l()),f=!0);let C={type:Oo.DownloadProgress,loaded:m.loaded};m.lengthComputable&&(C.total=m.total),"text"===n.responseType&&s.responseText&&(C.partialText=s.responseText),o.next(C)},p=m=>{let C={type:Oo.UploadProgress,loaded:m.loaded};m.lengthComputable&&(C.total=m.total),o.next(C)};return s.addEventListener("load",u),s.addEventListener("error",d),s.addEventListener("timeout",d),s.addEventListener("abort",d),n.reportProgress&&(s.addEventListener("progress",h),null!==a&&s.upload&&s.upload.addEventListener("progress",p)),s.send(a),o.next({type:Oo.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",u),s.removeEventListener("timeout",d),n.reportProgress&&(s.removeEventListener("progress",h),null!==a&&s.upload&&s.upload.removeEventListener("progress",p)),s.readyState!==s.DONE&&s.abort()}})))}static{this.\u0275fac=function(r){return new(r||e)(B(FA))}}static{this.\u0275prov=F({token:e,factory:e.\u0275fac})}}return e})();const C4=new Q(""),n_=new Q("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),r_=new Q("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class i_{}let aG=(()=>{class e{constructor(n,r,i){this.doc=n,this.platform=r,this.cookieName=i,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=SA(n,this.cookieName),this.lastCookieString=n),this.lastToken}static{this.\u0275fac=function(r){return new(r||e)(B(Pt),B(Wr),B(n_))}}static{this.\u0275prov=F({token:e,factory:e.\u0275fac})}}return e})();function cG(e,t){const n=e.url.toLowerCase();if(!D(C4)||"GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t(e);const r=D(i_).getToken(),i=D(r_);return null!=r&&!e.headers.has(i)&&(e=e.clone({headers:e.headers.set(i,r)})),t(e)}var No=function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e}(No||{});function Ts(e,t){return{\u0275kind:e,\u0275providers:t}}function lG(...e){const t=[p4,t_,$E,{provide:i5,useExisting:$E},{provide:o5,useFactory:()=>D(g4,{optional:!0})??D(t_)},{provide:ku,useValue:cG,multi:!0},{provide:C4,useValue:!0},{provide:i_,useClass:aG}];for(const n of e)t.push(...n.\u0275providers);return sa(t)}const o_=new Q("");class yG extends G{constructor(t,n){super()}schedule(t,n=0){return this}}const l5={setInterval(e,t,...n){const{delegate:r}=l5;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){const{delegate:t}=l5;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};
1class h_ extends yG{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=0){var r;if(this.closed)return this;this.state=t;const i=this.id,o=this.scheduler;return null!=i&&(this.id=this.recycleAsyncId(o,i,n)),this.pending=!0,this.delay=n,this.id=null!==(r=this.id)&&void 0!==r?r:this.requestAsyncId(o,this.id,n),this}requestAsyncId(t,n,r=0){return l5.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,n,r=0){if(null!=r&&this.delay===r&&!1===this.pending)return n;null!=n&&l5.clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const r=this._execute(t,n);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let i,r=!1;try{this.work(t)}catch(o){r=!0,i=o||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),i}unsubscribe(){if(!this.closed){const{id:t,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,or(r,this),null!=t&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}}class Ru{constructor(t,n=Ru.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,r){return new this.schedulerActionCtor(this,t).schedule(r,n)}}Ru.now=d4.now;class p_ extends Ru{constructor(t,n=Ru.now){super(t,n),this.actions=[],this._active=!1}flush(t){const{actions:n}=this;if(this._active)return void n.push(t);let r;this._active=!0;do{if(r=t.execute(t.state,t.delay))break}while(t=n.shift());if(this._active=!1,r){for(;t=n.shift();)t.unsubscribe();throw r}}}const g_=new p_(h_),AG=g_;function m_(e){return e instanceof Date&&!isNaN(e)}const bG=Me(e=>function(n=null){e(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=n});function _G(e){throw new bG(e)}let wG=(()=>{class e{constructor(n){this.http=n}logout(){this.stopRefreshTokenTimer();const n=new Yn({Authorization:"Bearer "+this.getToken()});return this.http.get(Tt_casApiUrl+"/logout/",{headers:n}).pipe(ke(r=>r))}getProfile(){const n=this.getToken(),r=new Yn({Authorization:"Bearer "+n});return this.http.get(Tt_casApiUrl+"/user",{headers:r}).pipe(ke(i=>i))}fetchJWT(n,r){const i={grant_type:"authorization_code",client_id:r,code:n,redirect_uri:this.getRedirectUri(),scope:""};return this.http.post(`${Tt_casApiUrl}/oauth/token`,null,{params:i}).pipe(ke(o=>o),function EG(e,t){const{first:n,each:r,with:i=_G,scheduler:o=t??g_,meta:s=null}=m_(e)?{first:e}:"number"==typeof e?{each:e}:e;if(null==n&&null==r)throw new TypeError("No timeout provided.");return an((a,c)=>{let l,u,d=null,f=0;const h=p=>{u=xi(c,o,()=>{try{l.unsubscribe(),Or(i({meta:s,lastValue:d,seen:f})).subscribe(c)}catch(m){c.error(m)}},p)};l=a.subscribe(Jt(c,p=>{u?.unsubscribe(),f++,c.next(d=p),r>0&&h(r)},void 0,void 0,()=>{u?.closed||u?.unsubscribe(),d=null})),!f&&h(null!=n?"number"==typeof n?n:+n-o.now():r)})}(Tt_httpTimeout))}get refreshTokenTimeout(){return this._refreshTokenTimeout}getToken(){const n=JSON.parse(localStorage.getItem("User"));return null!=n&&n.hasOwnProperty("access_token")?n.access_token:null}getRedirectUri(){const n=JSON.parse(localStorage.getItem("User"));return null!=n&&n.hasOwnProperty("redirectUri")?n.redirectUri:null}get sessionID(){return null!=this.userObject&&this.userObject.hasOwnProperty("sessionID")?atob(this.userObject.sessionID):null}getLoggedInUsername(){const n=JSON.parse(localStorage.getItem("User"));return null!=n&&n.hasOwnProperty("username")?n.username:null}getClientId(){const n=JSON.parse(localStorage.getItem("Oath"));return null!=n&&n.hasOwnProperty("client_id")?n.client_id:null}getCurrencyNames(){const n=JSON.parse(localStorage.getItem("User"));return null!=n?n.hasOwnProperty("countries")?n.countries:OZ:[]}getCustomer(){return null!=this.userObject&&this.userObject.hasOwnProperty("customer")?this.userObject.customer:null}get userObject(){return JSON.parse(localStorage.getItem("User")||"{}")}get userAut(){return JSON.parse(localStorage.getItem("Oath")||"{}")}refreshToken(){const n={grant_type:"refresh_token",refresh_token:this.userRefreshToken,client_id:this.getClientId()};return this.http.post(`${Tt_casApiUrl}/oauth/token`,"",{params:n}).pipe(ke(r=>{if(r){if(this.userObject){const i=JSON.parse(localStorage.getItem("User")||"{}");i.access_token=r.access_token,i.refresh_token=r.refresh_token,localStorage.setItem("User",JSON.stringify(i))}return r}}))}startRefreshTokenTimer(){const n=JSON.parse(atob(this.userObject.access_token.split(".")[1])),i=new Date(1e3*n.exp).getTime()-Date.now()-6e4;this._refreshTokenTimeout=setTimeout(()=>this.refreshToken().subscribe(),i)}stopRefreshTokenTimer(){clearTimeout(this._refreshTokenTimeout)}get userRefreshToken(){if(this.userObject)return this.userObject.refresh_token}getResellerData(n){return this.http.get(`${Tt_casUiAPIUrl}/app/customers/`+n)}static{this.\u0275fac=function(r){return new(r||e)(B(p4))}}static{this.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var fe=function(e){return e[e.State=0]="State",e[e.Transition=1]="Transition",e[e.Sequence=2]="Sequence",e[e.Group=3]="Group",e[e.Animate=4]="Animate",e[e.Keyframes=5]="Keyframes",e[e.Style=6]="Style",e[e.Trigger=7]="Trigger",e[e.Reference=8]="Reference",e[e.AnimateChild=9]="AnimateChild",e[e.AnimateRef=10]="AnimateRef",e[e.Query=11]="Query",e[e.Stagger=12]="Stagger",e}(fe||{});const oo="*";function IG(e,t){return{type:fe.Trigger,name:e,definitions:t,options:{}}}function Ou(e,t=null){return{type:fe.Animate,styles:t,timings:e}}function C_(e,t=null){return{type:fe.Sequence,steps:e,options:t}}function ii(e){return{type:fe.Style,styles:e,offset:null}}function v4(e,t,n){return{type:fe.State,name:e,styles:t,options:n}}function v_(e,t,n=null){return{type:fe.Transition,expr:e,animation:t,options:n}}let u5=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=F({token:e,factory:()=>D(DG),providedIn:"root"})}}return e})();class SG{}let DG=(()=>{class e extends u5{constructor(n,r){if(super(),this.animationModuleType=D(Rp,{optional:!0}),this._nextAnimationId=0,this._renderer=n.createRenderer(r.body,{id:"0",encapsulation:wr.None,styles:[],data:{animation:[]}}),null===this.animationModuleType&&!function kG(e){const t=e.\u0275type;return 0===t||1===t}(this._renderer))throw new w(3600,!1)}build(n){const r=this._nextAnimationId;this._nextAnimationId++;const i=Array.isArray(n)?C_(n):n;return y_(this._renderer,null,r,"register",[i]),new TG(r,this._renderer)}static{this.\u0275fac=function(r){return new(r||e)(B(hs),B(Pt))}}static{this.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();class TG extends SG{constructor(t,n){super(),this._id=t,this._renderer=n}create(t,n){return new MG(this._id,t,n||{},this._renderer)}}class MG{constructor(t,n,r,i){this.id=t,this.element=n,this._renderer=i,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",r)}_listen(t,n){return this._renderer.listen(this.element,`@@${this.id}:${t}`,n)}_command(t,...n){y_(this._renderer,this.element,this.id,t,n)}onDone(t){this._listen("done",t)}onStart(t){this._listen("start",t)}onDestroy(t){this._listen("destroy",t)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(t){this._command("setPosition",t)}getPosition(){return function xG(e){const t=e.\u0275type;return 0===t?e:1===t?e.animationRenderer:null}(this._renderer)?.engine?.players[this.id]?.getPosition()??0}}function y_(e,t,n,r,i){e.setProperty(t,`@@${n}:${r}`,i)}class Nu{constructor(t=0,n=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+n}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){const n="start"==t?this._onStartFns:this._onDoneFns;
1n.forEach(r=>r()),n.length=0}}class A_{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let n=0,r=0,i=0;const o=this.players.length;0==o?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++n==o&&this._onFinish()}),s.onDestroy(()=>{++r==o&&this._onDestroy()}),s.onStart(()=>{++i==o&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){const n=t*this.totalTime;this.players.forEach(r=>{const i=r.totalTime?Math.min(1,n/r.totalTime):1;r.setPosition(i)})}getPosition(){const t=this.players.reduce((n,r)=>null===n||r.totalTime>n.totalTime?r:n,null);return null!=t?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){const n="start"==t?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}}const b_=["toast-component",""];function RG(e,t){if(1&e){const n=ql();be(0,"button",5),xr("click",function(){return tl(n),nl(cn().remove())}),be(1,"span",6),Dt(2,"\xd7"),Pe()()}}function OG(e,t){if(1&e&&(Gl(0),Dt(1),Wl()),2&e){const n=cn(2);Ze(),Mi("[",n.duplicatesCount+1,"]")}}function NG(e,t){if(1&e&&(be(0,"div"),Dt(1),Tr(2,OG,2,1,"ng-container",4),Pe()),2&e){const n=cn();Di(n.options.titleClass),Mr("aria-label",n.title),Ze(),Mi(" ",n.title," "),Ze(),ut("ngIf",n.duplicatesCount)}}function LG(e,t){if(1&e&&St(0,"div",7),2&e){const n=cn();Di(n.options.messageClass),ut("innerHTML",n.message,Jp)}}function PG(e,t){if(1&e&&(be(0,"div",8),Dt(1),Pe()),2&e){const n=cn();Di(n.options.messageClass),Mr("aria-label",n.message),Ze(),Mi(" ",n.message," ")}}function FG(e,t){if(1&e&&(be(0,"div"),St(1,"div",9),Pe()),2&e){const n=cn();Ze(),Ka("width",n.width+"%")}}class zG{_attachedHost;component;viewContainerRef;injector;constructor(t,n){this.component=t,this.injector=n}attach(t,n){return this._attachedHost=t,t.attach(this,n)}detach(){const t=this._attachedHost;if(t)return this._attachedHost=void 0,t.detach()}get isAttached(){return null!=this._attachedHost}setAttachedHost(t){this._attachedHost=t}}class ZG{_attachedPortal;_disposeFn;attach(t,n){return this._attachedPortal=t,this.attachComponentPortal(t,n)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(t){this._disposeFn=t}}class GG{_overlayRef;componentInstance;duplicatesCount=0;_afterClosed=new Nt;_activate=new Nt;_manualClose=new Nt;_resetTimeout=new Nt;_countDuplicate=new Nt;constructor(t){this._overlayRef=t}manualClose(){this._manualClose.next(),this._manualClose.complete()}manualClosed(){return this._manualClose.asObservable()}timeoutReset(){return this._resetTimeout.asObservable()}countDuplicate(){return this._countDuplicate.asObservable()}close(){this._overlayRef.detach(),this._afterClosed.next(),this._manualClose.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete(),this._resetTimeout.complete(),this._countDuplicate.complete()}afterClosed(){return this._afterClosed.asObservable()}isInactive(){return this._activate.isStopped}activate(){this._activate.next(),this._activate.complete()}afterActivate(){return this._activate.asObservable()}
1onDuplicate(t,n){t&&this._resetTimeout.next(),n&&this._countDuplicate.next(++this.duplicatesCount)}}class d5{toastId;config;message;title;toastType;toastRef;_onTap=new Nt;_onAction=new Nt;constructor(t,n,r,i,o,s){this.toastId=t,this.config=n,this.message=r,this.title=i,this.toastType=o,this.toastRef=s,this.toastRef.afterClosed().subscribe(()=>{this._onAction.complete(),this._onTap.complete()})}triggerTap(){this._onTap.next(),this.config.tapToDismiss&&this._onTap.complete()}onTap(){return this._onTap.asObservable()}triggerAction(t){this._onAction.next(t)}onAction(){return this._onAction.asObservable()}}const __=new Q("ToastConfig");class WG extends ZG{_hostDomElement;_componentFactoryResolver;_appRef;constructor(t,n,r){super(),this._hostDomElement=t,this._componentFactoryResolver=n,this._appRef=r}attachComponentPortal(t,n){const r=this._componentFactoryResolver.resolveComponentFactory(t.component);let i;return i=r.create(t.injector),this._appRef.attachView(i.hostView),this.setDisposeFn(()=>{this._appRef.detachView(i.hostView),i.destroy()}),n?this._hostDomElement.insertBefore(this._getComponentRootNode(i),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(i)),i}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}let qG=(()=>{class e{_document=D(Pt);_containerElement;ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const n=this._document.createElement("div");n.classList.add("overlay-container"),n.setAttribute("aria-live","polite"),this._document.body.appendChild(n),this._containerElement=n}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class JG{_portalHost;constructor(t){this._portalHost=t}attach(t,n=!0){return this._portalHost.attach(t,n)}detach(){return this._portalHost.detach()}}let KG=(()=>{class e{_overlayContainer=D(qG);_componentFactoryResolver=D(xa);_appRef=D(Cr);_document=D(Pt);_paneElements=new Map;create(n,r){return this._createOverlayRef(this.getPaneElement(n,r))}getPaneElement(n="",r){return this._paneElements.get(r)||this._paneElements.set(r,{}),this._paneElements.get(r)[n]||(this._paneElements.get(r)[n]=this._createPaneElement(n,r)),this._paneElements.get(r)[n]}_createPaneElement(n,r){const i=this._document.createElement("div");return i.id="toast-container",i.classList.add(n),i.classList.add("toast-container"),r?r.getContainerElement().appendChild(i):this._overlayContainer.getContainerElement().appendChild(i),i}_createPortalHost(n){return new WG(n,this._componentFactoryResolver,this._appRef)}_createOverlayRef(n){return new JG(this._createPortalHost(n))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),f5=(()=>{class e{overlay;_injector;sanitizer;ngZone;toastrConfig;currentlyActive=0;toasts=[];overlayContainer;previousToastMessage;index=0;constructor(n,r,i,o,s){this.overlay=r,this._injector=i,this.sanitizer=o,this.ngZone=s,this.toastrConfig={...n.default,...n.config},n.config.iconClasses&&(this.toastrConfig.iconClasses={...n.default.iconClasses,...n.config.iconClasses})}show(n,r,i={},o=""){return this._preBuildNotification(o,n,r,this.applyConfig(i))}success(n,r,i={}){return this._preBuildNotification(this.toastrConfig.iconClasses.success||"",n,r,this.applyConfig(i))}error(n,r,i={}){return this._preBuildNotification(this.toastrConfig.iconClasses.error||"",n,r,this.applyConfig(i))}info(n,r,i={}){return this._preBuildNotification(this.toastrConfig.iconClasses.info||"",n,r,this.applyConfig(i))}warning(n,r,i={}){return this._preBuildNotification(this.toastrConfig.iconClasses.warning||"",n,r,this.applyConfig(i))}clear(n){for(const r of this.toasts)if(void 0!==n){if(r.toastId===n)return void r.toastRef.manualClose()}else r.toastRef.manualClose()}remove(n){const r=this._findToast(n);if(!r||(r.activeToast.toastRef.close(),this.toasts.splice(r.index,1),this.currentlyActive=this.currentlyActive-1,!this.toastrConfig.maxOpened||!this.toasts.length))return!1;if(this.currentlyActive<this.toastrConfig.maxOpened&&this.toasts[this.currentlyActive]){const i=this.toasts[this.currentlyActive].toastRef;i.isInactive()||(this.currentlyActive=this.currentlyActive+1,i.activate())}return!0}findDuplicate(n="",r="",i,o){const{includeTitleDuplicates:s}=this.toastrConfig;for(const a of this.toasts)if((!s||s&&a.title===n)&&a.message===r)return a.toastRef.onDuplicate(i,o),a;return null}applyConfig(n={}){return{...this.toastrConfig,...n}}_findToast(n){for(let r=0;r<this.toasts.length;r++)if(this.toasts[r].toastId===n)return{index:r,activeToast:this.toasts[r]};return null}_preBuildNotification(n,r,i,o){return o.onActivateTick?this.ngZone.run(()=>this._buildNotification(n,r,i,o)):this._buildNotification(n,r,i,o)}_buildNotification(n,r,i,o){if(!o.toastComponent)throw new Error("toastComponent required");const s=this.findDuplicate(i,r,this.toastrConfig.resetTimeoutOnDuplicate&&o.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&i||r)&&this.toastrConfig.preventDuplicates&&null!==s)return s;this.previousToastMessage=r;let a=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(a=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));const c=this.overlay.create(o.positionClass,this.overlayContainer);this.index=this.index+1;let l=r;r&&o.enableHtml&&(l=this.sanitizer.sanitize(fr.HTML,r));const u=new GG(c),d=new d5(this.index,o,l,i,n,u),h=Lt.create({providers:[{provide:d5,useValue:d}],parent:this._injector}),p=new zG(o.toastComponent,h),m=c.attach(p,o.newestOnTop);u.componentInstance=m.instance;const C={toastId:this.index,title:i||"",message:r||"",toastRef:u,onShown:u.afterActivate(),onHidden:u.afterClosed(),onTap:d.onTap(),onAction:d.onAction(),portal:m};return a||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{C.toastRef.activate()})),this.toasts.push(C),C}static \u0275fac=function(r){return new(r||e)(B(__),B(KG),B(Lt),B(lb),B(Oe))};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const YG={maxOpened:0,autoDismiss:!1,newestOnTop:!0,preventDuplicates:!1,countDuplicates:!1,resetTimeoutOnDuplicate:!1,includeTitleDuplicates:!1,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},closeButton:!1,disableTimeOut:!1,timeOut:5e3,extendedTimeOut:1e3,enableHtml:!1,progressBar:!1,toastClass:"ngx-toastr",positionClass:"toast-top-right",titleClass:"toast-title",messageClass:"toast-message",easing:"ease-in",easeTime:300,tapToDismiss:!0,onActivateTick:!1,progressAnimation:"decreasing",toastComponent:(()=>{class e{toastrService;toastPackage;ngZone;message;title;options;duplicatesCount;originalTimeout;width=-1;toastClasses="";state;get displayStyle(){if("inactive"===this.state.value)return"none"}timeout;intervalId;hideTime;sub;sub1;sub2;sub3;
1constructor(n,r,i){this.toastrService=n,this.toastPackage=r,this.ngZone=i,this.message=r.message,this.title=r.title,this.options=r.config,this.originalTimeout=r.config.timeOut,this.toastClasses=`${r.toastType} ${r.config.toastClass}`,this.sub=r.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=r.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=r.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=r.toastRef.countDuplicate().subscribe(o=>{this.duplicatesCount=o}),this.state={value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}}}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state={...this.state,value:"active"},!0!==this.options.disableTimeOut&&"timeOut"!==this.options.disableTimeOut&&this.options.timeOut&&(this.outsideTimeout(()=>this.remove(),this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}updateProgress(){if(0===this.width||100===this.width||!this.options.timeOut)return;const n=(new Date).getTime();this.width=(this.hideTime-n)/this.options.timeOut*100,"increasing"===this.options.progressAnimation&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state={...this.state,value:"active"},this.outsideTimeout(()=>this.remove(),this.originalTimeout),this.options.timeOut=this.originalTimeout,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10)}remove(){"removed"!==this.state.value&&(clearTimeout(this.timeout),this.state={...this.state,value:"removed"},this.outsideTimeout(()=>this.toastrService.remove(this.toastPackage.toastId),+this.toastPackage.config.easeTime))}tapToast(){"removed"!==this.state.value&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){"removed"!==this.state.value&&"extendedTimeOut"!==this.options.disableTimeOut&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)}delayedHideToast(){!0===this.options.disableTimeOut||"extendedTimeOut"===this.options.disableTimeOut||0===this.options.extendedTimeOut||"removed"===this.state.value||(this.outsideTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}outsideTimeout(n,r){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(n),r)):this.timeout=setTimeout(()=>n(),r)}outsideInterval(n,r){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(n),r)):this.intervalId=setInterval(()=>n(),r)}runInsideAngular(n){this.ngZone?this.ngZone.run(()=>n()):n()}static \u0275fac=function(r){return new(r||e)(P(f5),P(d5),P(Oe))};static \u0275cmp=Zi({type:e,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(r,i){1&r&&xr("click",function(){return i.tapToast()})("mouseenter",function(){return i.stickAround()})("mouseleave",function(){return i.delayedHideToast()}),2&r&&(C0("@flyInOut",i.state),Di(i.toastClasses),Ka("display",i.displayStyle))},standalone:!0,features:[Jf],attrs:b_,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(r,i){1&r&&Tr(0,RG,3,0,"button",0)(1,NG,3,5,"div",1)(2,LG,1,3,"div",2)(3,PG,2,4,"div",3)(4,FG,2,2,"div",4),2&r&&(ut("ngIf",i.options.closeButton),Ze(),ut("ngIf",i.title),Ze(),ut("ngIf",i.message&&i.options.enableHtml),Ze(),ut("ngIf",i.message&&!i.options.enableHtml),Ze(),ut("ngIf",i.options.progressBar))},dependencies:[Mh],encapsulation:2,data:{animation:[IG("flyInOut",[v4("inactive",ii({opacity:0}
1)),v4("active",ii({opacity:1})),v4("removed",ii({opacity:0})),v_("inactive => active",Ou("{{ easeTime }}ms {{ easing }}")),v_("active => removed",Ou("{{ easeTime }}ms {{ easing }}"))])]}})}return e})()},XG=(e={})=>sa([{provide:__,useValue:{default:YG,config:e}}]);let $G=(()=>{class e{static forRoot(n={}){return{ngModule:e,providers:[XG(n)]}}static \u0275fac=function(r){return new(r||e)};static \u0275mod=Gn({type:e});static \u0275inj=On({})}return e})(),w_=(()=>{class e{constructor(n){this.toastr=n}success(n,r){this.toastr.success(n,r)}warning(n,r){this.toastr.warning(n,r)}info(n,r){this.toastr.info(n,r)}error(n,r){this.toastr.error(n,r)}static{this.\u0275fac=function(r){return new(r||e)(B(f5))}}static{this.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),I_=(()=>{class e{constructor(){this.expired$=new Nt}startWatching(n){return this.idle$=u4(Tn(document,"mousemove"),Tn(document,"click"),Tn(document,"mousedown"),Tn(document,"keypress"),Tn(document,"DOMMouseScroll"),Tn(document,"mousewheel"),Tn(document,"touchmove"),Tn(document,"MSPointerMove"),Tn(window,"mousemove"),Tn(window,"resize")),this.timeOutMilliSeconds=1e3*n,this.idleSubscription=this.idle$.subscribe(r=>{this.resetTimer()}),this.startTimer(),this.expired$}startTimer(){this.timer$=function eW(e=0,t,n=AG){let r=-1;return null!=t&&(Sb(t)?n=t:r=t),new Ft(i=>{let o=m_(e)?+e-n.now():e;o<0&&(o=0);let s=0;return n.schedule(function(){i.closed||(i.next(s++),0<=r?this.schedule(void 0,r):i.complete())},o)})}(this.timeOutMilliSeconds,this.timeOutMilliSeconds).subscribe(n=>{this.expired$.next(!0)})}resetTimer(n){this.timer$.unsubscribe(),n&&(this.timeOutMilliSeconds=1e3*n),this.startTimer()}stopTimer(){this.timer$.unsubscribe(),this.idleSubscription.unsubscribe()}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();class tW{constructor(t,n){this.open=t,this.close=n||t}isManual(){return"manual"===this.open||"manual"===this.close}}const nW={hover:["mouseover","mouseout"],focus:["focusin","focusout"]};const on=typeof window<"u"&&window||{},sn=on.document;var D_=function(e){return e.isBs4="bs4",e.isBs5="bs5",e}(D_||{});let so;function T_(){const e=on.document.createElement("span");e.innerText="testing bs version",e.classList.add("d-none"),e.classList.add("pl-1"),on.document.head.appendChild(e);const t=on.getComputedStyle(e).paddingLeft;return t&&parseFloat(t)?(on.document.head.removeChild(e),"bs4"):(on.document.head.removeChild(e),"bs5")}function Lu(){return{isBs4:(so||(so=T_()),"bs4"===so),isBs5:(so||(so=T_()),"bs5"===so)}}class lW{static reflow(t){}static getStyles(t){let n=t.ownerDocument.defaultView;return(!n||!n.opener)&&(n=on),n.getComputedStyle(t)}static stackOverflowConfig(){const t=function cW(){const e=Lu(),t=Object.keys(e).find(n=>e[n]);return D_[t]}();return{crossorigin:"anonymous",integrity:"bs5"===t?"sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65":"sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2",cdnLink:"bs5"===t?"https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css":"https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"}}}typeof console>"u"||console;let A4,dW=(()=>{class e{constructor(){this._focusTrapStack=[]}register(n){this._focusTrapStack=this._focusTrapStack.filter(i=>i!==n);let r=this._focusTrapStack;r.length&&r[r.length-1]._disable(),r.push(n),n._enable()}deregister(n){n._disable();const r=this._focusTrapStack,i=r.indexOf(n);-1!==i&&(r.splice(i,1),r.length&&r[r.length-1]._enable())}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();try{A4=typeof Intl<"u"&&Intl.v8BreakIterator}catch{A4=!1}let x_=(()=>{class e{constructor(n){this._platformId=n,this.isBrowser=this._platformId?g2(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!A4)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWeb
1Kit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static{this.\u0275fac=function(r){return new(r||e)(B(Wr))}}static{this.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),k_=(()=>{class e{constructor(n){this._platform=n}isDisabled(n){return n.hasAttribute("disabled")}isVisible(n){return function hW(e){return!!(e.offsetWidth||e.offsetHeight||"function"==typeof e.getClientRects&&e.getClientRects().length)}(n)&&"visible"===getComputedStyle(n).visibility}isTabbable(n){if(!this._platform.isBrowser)return!1;const r=function fW(e){try{return e.frameElement}catch{return null}}(function bW(e){return e.ownerDocument&&e.ownerDocument.defaultView||window}(n));if(r&&(-1===O_(r)||!this.isVisible(r)))return!1;let i=n.nodeName.toLowerCase(),o=O_(n);return n.hasAttribute("contenteditable")?-1!==o:!("iframe"===i||"object"===i||this._platform.WEBKIT&&this._platform.IOS&&!function yW(e){let t=e.nodeName.toLowerCase(),n="input"===t&&e.type;return"text"===n||"password"===n||"select"===t||"textarea"===t}(n))&&("audio"===i?!!n.hasAttribute("controls")&&-1!==o:"video"===i?-1!==o&&(null!==o||this._platform.FIREFOX||n.hasAttribute("controls")):n.tabIndex>=0)}isFocusable(n,r){return function AW(e){return!function gW(e){return function CW(e){return"input"==e.nodeName.toLowerCase()}(e)&&"hidden"==e.type}(e)&&(function pW(e){let t=e.nodeName.toLowerCase();return"input"===t||"select"===t||"button"===t||"textarea"===t}(e)||function mW(e){return function vW(e){return"a"==e.nodeName.toLowerCase()}(e)&&e.hasAttribute("href")}(e)||e.hasAttribute("contenteditable")||R_(e))}(n)&&!this.isDisabled(n)&&(r?.ignoreVisibility||this.isVisible(n))}static{this.\u0275fac=function(r){return new(r||e)(B(x_))}}static{this.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function R_(e){if(!e.hasAttribute("tabindex")||void 0===e.tabIndex)return!1;let t=e.getAttribute("tabindex");return"-32768"!=t&&!(!t||isNaN(parseInt(t,10)))}function O_(e){if(!R_(e))return null;const t=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}function N_(e){return null!=e&&"false"!=`${e}`}class EW{get enabled(){return this._enabled}set enabled(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}constructor(t,n,r,i,o=!1){this._element=t,this._checker=n,this._ngZone=r,this._document=i,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,o||this.attachAnchors()}destroy(){const t=this._startAnchor,n=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),n&&(n.removeEventListener("focus",this.endAnchorListener),n.parentNode&&n.parentNode.removeChild(n)),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(){return new Promise(t=>{this._executeOnStable(()=>t(this.focusInitialElement()))})}focusFirstTabbableElementWhenReady(){return new Promise(t=>{this._executeOnStable(()=>t(this.focusFirstTabbableElement()))})}focusLastTabbableElementWhenReady(){return new Promise(t=>{this._executeOnStable(()=>t(this.focusLastTabbableElement()))})}_getRegionBoundary(t){let n=this._element.querySelectorAll(`[cdk-focus-region-${t}], [cdkFocusRegion${t}], [cdk-focus-${t}]`);for(let r=0;r<n.length;r++)n[r].hasAttribute(`cdk-focus-${t}`)?console.warn(`Found use of deprecated attribute 'cdk-focus-${t}', use 'cdkFocusRegion${t}' instead. The deprecated attribute will be removed in 8.0.0.`,n[r]):n[r].hasAttribute(`cdk-focus-region-${t}`)&&console.warn(`Found use of deprecated attribute 'cdk-focus-region-${t}', use 'cdkFocusRegion${t}' instead. The deprecated attribute will be removed in 8.0.0.`,n[r]);return"start"==t?n.length?n[0]:this._getFirstTabbableElement(this._element):n.length?n[n.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(){const t=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(t){if(t.hasAttribute("cdk-focus-initial")&&console.warn("Found use of deprecated attribute 'cdk-focus-initial', use 'cdkFocusInitial' instead. The deprecated attribute will be removed in 8.0.0",t),!this._checker.isFocusable(t)){const n=this._getFirstTabbableElement(t);return n?.focus(),!!n}return t.focus(),!0}return this.focusFirstTabbableElement()}focusFirstTabbableElement(){const t=this._getRegionBoundary("start");return t&&t.focus(),!!t}focusLastTabbableElement(){const t=this._getRegionBoundary("end");return t&&t.focus(),!!t}hasAttached(){return this._hasAttached}_getFirstTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;let n=t.children||t.childNodes;for(let r=0;r<n.length;r++){let i=n[r].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(n[r]):null;if(i)return i}return null}_getLastTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;let n=t.children||t.childNodes;for(let r=n.length-1;r>=0;r--){let i=n[r].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(n[r]):null;if(i)return i}return null}_createAnchor(){const t=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t.setAttribute("aria-hidden","true"),t}_toggleAnchorTabIndex(t,n){t?n.setAttribute("tabindex","0"):n.removeAttribute("tabindex")}toggleAnchors(t){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}_executeOnStable(t){this._ngZone.isStable?t():this._ngZone.onStable.pipe(Es(1)).subscribe(t)}}let _W=(()=>{class e{constructor(n,r,i){this._checker=n,this._ngZone=r,this._document=i}create(n,r=!1){return new EW(n,this._checker,this._ngZone,this._document,r)}static{this.\u0275fac=function(r){return new(r||e)(B(k_),B(Oe),B(Pt))}}static{this.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),wW=(()=>{class e{get enabled(){return this.focusTrap.enabled}set enabled(n){this.focusTrap.enabled=N_(n)}get autoCapture(){return this._autoCapture}set autoCapture(n){this._autoCapture=N_(n)}constructor(n,r,i){this._elementRef=n,this._focusTrapFactory=r,this._previouslyFocusedElement=null,this._autoCapture=!1,this._document=i,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(n){const r=n.autoCapture;r&&!r.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=this._document.activeElement,this.focusTrap.focusInitialElementWhenReady()}static{this.\u0275fac=function(r){return new(r||e)(P(Cn),P(_W),P(Pt))}}static{this.\u0275dir=zt({type:e,selectors:[["","focusTrap",""]],inputs:{enabled:[0,"cdkTrapFocus","enabled"],autoCapture:[0,"cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["focusTrap"],features:[yo]})}}return e})(),L_=(()=>{class e{static forRoot(){return{ngModule:e,providers:[dW,x_,k_]}}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275mod=Gn({type:e})}static{this.\u0275inj=On({imports:[uu]})}}return e})();const Pu={schedule(e){let t=requestAnimationFrame,n=cancelAnimationFrame;const{delegate:r}=Pu;r&&(t=r.requestAnimationFrame,n=r.cancelAnimationFrame);const i=t(o=>{n=void 0,e(o)});return new G(()=>n?.(i))},requestAnimationFrame(...e){const{delegate:t}=Pu;return(t?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){const{delegate:t}=Pu;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0},DW=new class SW extends p_{flush(t){this._active=!0;const n=this._scheduled;this._scheduled=void 0;const{actions:r}=this;let i;t=t||r.shift();do{if(i=t.execute(t.state,t.delay))break}while((t=r[0])&&t.id===n&&r.shift());if(this._active=!1,i){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw i}}}
1(class IW extends h_{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}requestAsyncId(t,n,r=0){return null!==r&&r>0?super.requestAsyncId(t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=Pu.requestAnimationFrame(()=>t.flush(void 0))))}recycleAsyncId(t,n,r=0){var i;if(null!=r?r>0:this.delay>0)return super.recycleAsyncId(t,n,r);const{actions:o}=t;null!=n&&(null===(i=o[o.length-1])||void 0===i?void 0:i.id)!==n&&(Pu.cancelAnimationFrame(n),t._scheduled=void 0)}});var P_=function(e){return e.top="top",e.bottom="bottom",e.left="left",e.right="right",e.auto="auto",e.end="right",e.start="left",e["top left"]="top left",e["top right"]="top right",e["right top"]="right top",e["right bottom"]="right bottom",e["bottom right"]="bottom right",e["bottom left"]="bottom left",e["left bottom"]="left bottom",e["left top"]="left top",e["top start"]="top left",e["top end"]="top right",e["end top"]="right top",e["end bottom"]="right bottom",e["bottom end"]="bottom right",e["bottom start"]="bottom left",e["start bottom"]="start bottom",e["start top"]="left top",e}(P_||{}),b4=function(e){return e.top="top",e.bottom="bottom",e.left="start",e.right="end",e.auto="auto",e.end="end",e.start="start",e["top left"]="top start",e["top right"]="top end",e["right top"]="end top",e["right bottom"]="end bottom",e["bottom right"]="bottom end",e["bottom left"]="bottom start",e["left bottom"]="start bottom",e["left top"]="start top",e["top start"]="top start",e["top end"]="top end",e["end top"]="end top",e["end bottom"]="end bottom",e["bottom end"]="bottom end",e["bottom start"]="bottom start",e["start bottom"]="start bottom",e["start top"]="start top",e}(b4||{});function Ms(e,t){if(1!==e.nodeType)return[];const r=e.ownerDocument.defaultView?.getComputedStyle(e,null);return t?r&&r[t]:r}function E4(e){if(!e)return document.documentElement;let r,n=e?.offsetParent;for(;null===n&&e.nextElementSibling&&r!==e.nextElementSibling;)r=e.nextElementSibling,n=r.offsetParent;const i=n&&n.nodeName;return i&&"BODY"!==i&&"HTML"!==i?n&&-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===Ms(n,"position")?E4(n):n:r?r.ownerDocument.documentElement:document.documentElement}function _4(e){return null!==e.parentNode?_4(e.parentNode):e}function h5(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;const n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?e:t,i=n?t:e,o=document.createRange();o.setStart(r,0),o.setEnd(i,0);const s=o.commonAncestorContainer;if(e!==s&&t!==s||r.contains(i))return function TW(e){const{nodeName:t}=e;return"BODY"!==t&&("HTML"===t||E4(e.firstElementChild)===e)}(s)?s:E4(s);const a=_4(e);return a.host?h5(a.host,t):h5(e,_4(t).host)}function F_(e){if(!e||!e.parentElement)return document.documentElement;let t=e.parentElement;for(;t?.parentElement&&"none"===Ms(t,"transform");)t=t.parentElement;return t||document.documentElement}function B_(e,t){const n="x"===t?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(e[`border${n}Width`])+parseFloat(e[`border${r}Width`])}function H_(e,t,n){return Math.max(t[`offset${e}`],t[`scroll${e}`],n[`client${e}`],n[`offset${e}`],n[`scroll${e}`],0)}function V_(e){const t=e.body,n=e.documentElement;return{height:H_("Height",t,n),width:H_("Width",t,n)}}function Fu(e){return{...e,right:(e.left||0)+e.width,bottom:(e.top||0)+e.height}}function Mt(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function U_(e){const t=e.getBoundingClientRect();if(!(t&&Mt(t.top)&&Mt(t.left)&&Mt(t.bottom)&&Mt(t.right)))return t;const n={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},r="HTML"===e.nodeName?V_(e.ownerDocument):void 0,i=r?.width||e.clientWidth||Mt(t.right)&&Mt(n.left)&&t.right-n.left||0,o=r?.height||e.clientHeight||Mt(t.bottom)&&Mt(n.top)&&t.bottom-n.top||0;let s=e.offsetWidth-i,a=e.offsetHeight-o;if(s||a){const c=Ms(e);s-=B_(c,"x"),a-=B_(c,"y"),n.width-=s,n.height-=a}return Fu(n)}function w4(e,t,n=!1){const r="HTML"===t.nodeName,i=U_(e),o=U_(t),s=Ms(t),a=parseFloat(s.borderTopWidth),c=parseFloat(s.borderLeftWidth);n&&r&&(o.top=Math.max(o.top??0,0),o.left=Math.max(o.left??0,0));const l=Fu({top:(i.top??0)-(o.top??0)-a,left:(i.left??0)-(o.left??0)-c,width:i.width,height:i.height});if(l.marginTop=0,l.marginLeft=0,r){const u=parseFloat(s.marginTop),d=parseFloat(s.marginLeft);Mt(l.top)&&(l.top-=a-u),Mt(l.bottom)&&(l.bottom-=a-u),Mt(l.left)&&(l.left-=c-d),Mt(l.right)&&(l.right-=c-d),l.marginTop=u,l.marginLeft=d}return l}
1function I4(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function j_(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}const{overflow:t,overflowX:n,overflowY:r}=Ms(e);return/(auto|scroll|overlay)/.test(String(t)+String(r)+String(n))?e:j_(I4(e))}function Q_(e,t="top"){const n="top"===t?"scrollTop":"scrollLeft",r=e.nodeName;return"BODY"===r||"HTML"===r?(e.ownerDocument.scrollingElement||e.ownerDocument.documentElement)[n]:e[n]}function z_(e){const t=e.nodeName;return"BODY"!==t&&"HTML"!==t&&("fixed"===Ms(e,"position")||z_(I4(e)))}function S4(e,t,n=0,r,i=!1){let o={top:0,left:0};const s=i?F_(e):h5(e,t);if("viewport"===r)o=function xW(e,t=!1){const n=e.ownerDocument.documentElement,r=w4(e,n),i=Math.max(n.clientWidth,window.innerWidth||0),o=Math.max(n.clientHeight,window.innerHeight||0),s=t?0:Q_(n),a=t?0:Q_(n,"left");return Fu({top:s-Number(r?.top)+Number(r?.marginTop),left:a-Number(r?.left)+Number(r?.marginLeft),width:i,height:o})}(s,i);else{let a;"scrollParent"===r?(a=j_(I4(t)),"BODY"===a.nodeName&&(a=e.ownerDocument.documentElement)):a="window"===r?e.ownerDocument.documentElement:r;const c=w4(a,s,i);if(c&&"HTML"===a.nodeName&&!z_(s)){const{height:l,width:u}=V_(e.ownerDocument);Mt(o.top)&&Mt(c.top)&&Mt(c.marginTop)&&(o.top+=c.top-c.marginTop),Mt(o.top)&&(o.bottom=Number(l)+Number(c.top)),Mt(o.left)&&Mt(c.left)&&Mt(c.marginLeft)&&(o.left+=c.left-c.marginLeft),Mt(o.top)&&(o.right=Number(u)+Number(c.left))}else c&&(o=c)}return Mt(o.left)&&(o.left+=n),Mt(o.top)&&(o.top+=n),Mt(o.right)&&(o.right-=n),Mt(o.bottom)&&(o.bottom-=n),o}function kW({width:e,height:t}){return e*t}function Z_(e,t,n,r,i=["top","bottom","right","left"],o="viewport",s=0){if(-1===e.indexOf("auto"))return e;const a=S4(n,r,s,o),c={top:{width:a?.width??0,height:(t?.top??0)-(a?.top??0)},right:{width:(a?.right??0)-(t?.right??0),height:a?.height??0},bottom:{width:a?.width??0,height:(a?.bottom??0)-(t?.bottom??0)},left:{width:(t.left??0)-(a?.left??0),height:a?.height??0}},l=Object.keys(c).map(h=>({position:h,...c[h],area:kW(c[h])})).sort((h,p)=>p.area-h.area);let u=l.filter(({width:h,height:p})=>h>=n.clientWidth&&p>=n.clientHeight);u=u.filter(({position:h})=>i.some(p=>p===h));const d=u.length>0?u[0].position:l[0].position,f=e.split(" ")[1];return n.className=n.className.replace(/bs-tooltip-auto/g,`bs-tooltip-${Lu().isBs5?b4[d]:d}`),d+(f?`-${f}`:"")}const p5=(e,t=0)=>e?parseFloat(e):t;function G_(e){const n=e.ownerDocument.defaultView?.getComputedStyle(e),r=p5(n?.marginTop)+p5(n?.marginBottom),i=p5(n?.marginLeft)+p5(n?.marginRight);return{width:Number(e.offsetWidth)+i,height:Number(e.offsetHeight)+r}}function W_(e,t,n){return w4(t,n?F_(e):h5(e,t),n)}function D4(e,t,n){const r=n.split(" ")[0],i=G_(e),o={width:i.width,height:i.height},s=-1!==["right","left"].indexOf(r),a=s?"top":"left",c=s?"left":"top",l=s?"height":"width",u=s?"width":"height";return o[a]=(t[a]??0)+t[l]/2-i[l]/2,o[c]=r===c?(t[c]??0)-i[u]:t[function OW(e){const t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,n=>t[n])}(c)]??0,o}function q_(e,t){return!!e.modifiers[t]?.enabled}const LW={top:["top","top start","top end"],bottom:["bottom","bottom start","bottom end"],start:["start","start top","start bottom"],end:["end","end top","end bottom"]};function g5(e,t){return!!Lu().isBs5&&LW[t].includes(e)}function J_(e,t,n){!e||!t||Object.keys(t).forEach(r=>{let i="";-1!==["width","height","top","right","bottom","left"].indexOf(r)&&function MW(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(Number(e))}(t[r])&&(i="px"),n?n.setStyle(e,r,`${String(t[r])}${i}`):e.style[r]=String(t[r])+i})}function BW(e){let t=e.offsets.target;const n=e.instance.target.querySelector(".arrow");if(!n)return e;const r=-1!==["left","right"].indexOf(e.placement.split(" ")[0]),i=r?"height":"width",o=r?"Top":"Left",s=o.toLowerCase(),a=r?"left":"top",c=r?"bottom":"right",l=G_(n)[i],u=e.placement.split(" ")[1];(e.offsets.host[c]??0)-l<(t[s]??0)&&(t[s]-=(t[s]??0)-((e.offsets.host[c]??0)-l)),Number(e.offsets.host[s])+Number(l)>
1(t[c]??0)&&(t[s]+=Number(e.offsets.host[s])+Number(l)-Number(t[c])),t=Fu(t);const d=Ms(e.instance.target),f=parseFloat(d[`margin${o}`])||0,h=parseFloat(d[`border${o}Width`])||0;let p;if(u){const C=parseFloat(d.borderRadius)||0,v=Number(f+h+C);p=s===u?Number(e.offsets.host[s])+v:Number(e.offsets.host[s])+Number(e.offsets.host[i]-v)}else p=Number(e.offsets.host[s])+Number(e.offsets.host[i]/2-l/2);let m=p-(t[s]??0)-f-h;return m=Math.max(Math.min(t[i]-(l+5),m),0),e.offsets.arrow={[s]:Math.round(m),[a]:""},e.instance.arrow=n,e}function HW(e){if(e.offsets.target=Fu(e.offsets.target),!q_(e.options,"flip"))return e.offsets.target={...e.offsets.target,...D4(e.instance.target,e.offsets.host,e.placement)},e;const t=S4(e.instance.target,e.instance.host,0,"viewport",!1);let n=e.placement.split(" ")[0],r=e.placement.split(" ")[1]||"";const a=Z_("auto",e.offsets.host,e.instance.target,e.instance.host,e.options.allowedPositions),c=[n,a];return c.forEach((l,u)=>{if(n!==l||c.length===u+1)return;n=e.placement.split(" ")[0];const d="left"===n&&Math.floor(e.offsets.target.right??0)>Math.floor(e.offsets.host.left??0)||"right"===n&&Math.floor(e.offsets.target.left??0)<Math.floor(e.offsets.host.right??0)||"top"===n&&Math.floor(e.offsets.target.bottom??0)>Math.floor(e.offsets.host.top??0)||"bottom"===n&&Math.floor(e.offsets.target.top??0)<Math.floor(e.offsets.host.bottom??0),f=Math.floor(e.offsets.target.left??0)<Math.floor(t.left??0),h=Math.floor(e.offsets.target.right??0)>Math.floor(t.right??0),p=Math.floor(e.offsets.target.top??0)<Math.floor(t.top??0),m=Math.floor(e.offsets.target.bottom??0)>Math.floor(t.bottom??0),C="left"===n&&f||"right"===n&&h||"top"===n&&p||"bottom"===n&&m,v=-1!==["top","bottom"].indexOf(n),y=v&&"left"===r&&f||v&&"right"===r&&h||!v&&"left"===r&&p||!v&&"right"===r&&m;(d||C||y)&&((d||C)&&(n=c[u+1]),y&&(r=function NW(e){return"right"===e?"left":"left"===e?"right":e}(r)),e.placement=n+(r?` ${r}`:""),e.offsets.target={...e.offsets.target,...D4(e.instance.target,e.offsets.host,e.placement)})}),e}function UW(e){if(!q_(e.options,"preventOverflow"))return e;const t="transform",n=e.instance.target.style,{top:r,left:i,[t]:o}=n;n.top="",n.left="",n[t]="";const s=S4(e.instance.target,e.instance.host,0,e.options.modifiers.preventOverflow?.boundariesElement||"scrollParent",!1);n.top=r,n.left=i,n[t]=o;const c={primary(l){let u=e.offsets.target[l];return(e.offsets.target[l]??0)<(s[l]??0)&&(u=Math.max(e.offsets.target[l]??0,s[l]??0)),{[l]:u}},secondary(l){const u="right"===l,d=u?"left":"top";let h=e.offsets.target[d];return(e.offsets.target[l]??0)>(s[l]??0)&&(h=Math.min(e.offsets.target[d]??0,(s[l]??0)-e.offsets.target[u?"width":"height"])),{[d]:h}}};return["left","right","top","bottom"].forEach(l=>{const u=-1!==["left","top","start"].indexOf(l)?c.primary:c.secondary;e.offsets.target={...e.offsets.target,...u(l)}}),e}function jW(e){const t=e.placement,n=t.split(" ")[0],r=t.split(" ")[1];if(r){const{host:i,target:o}=e.offsets,s=-1!==["bottom","top"].indexOf(n),a=s?"left":"top",c=s?"width":"height",l={start:{[a]:i[a]},end:{[a]:(i[a]??0)+i[c]-o[c]}};e.offsets.target={...o,[a]:a===r?l.start[a]:l.end[a]}}return e}const zW=new class QW{position(t,n){return this.offset(t,n)}offset(t,n){return W_(n,t)}positionElements(t,n,r,i,o){const s=[HW,jW,UW,BW],c=function VW(e,t,n,r){if(!e||!t)return;const i=W_(e,t);!n.match(/^(auto)*\s*(left|right|top|bottom|start|end)*$/)&&!n.match(/^(left|right|top|bottom|start|end)*(?: (left|right|top|bottom|start|end))*$/)&&(n="auto");const o=!!n.match(/auto/g);let s=n.match(/auto\s(left|right|top|bottom|start|end)/)?n.split(" ")[1]||"auto":n;const a=s.match(/^(left|right|top|bottom|start|end)* ?(?!\1)(left|right|top|bottom|start|end)?/);return a&&(s=a[1]+(a[2]?` ${a[2]}`:"")),-1!==["left right","right left","top bottom","bottom top"].indexOf(s)&&(s="auto"),s=Z_(s,i,e,t,r?r.allowedPositions:void 0),{options:r||{modifiers:{}},instance:{target:e,host:t,arrow:void 0},offsets:{target:D4(e,i,s),host:i,arrow:void 0},positionFixed:!1,placement:s,placementAuto:o}}(n,t,P_[r],o);if(c)return s.reduce((l,u)=>u(l),c)}};function ZW(e,t,n,r,i,o){const s=zW.positionElements(e,t,n,r,i);if(!s)return;const a=function RW(e){return{width:e.offsets.target.width,height:e.offsets.target.height,left:Math.floor(e.offsets.target.left??0),top:Math.round(e.offsets.target.top??0),bottom:Math.round(e.offsets.target.bottom??0),right:Math.floor(e.offsets.target.right??0)}}(s);J_(t,{"will-change":"transform",top:"0px",left:"0px",transform:`translate3d(${a.left}px, ${a.top}px, 0px)`},o),s.instance.arrow&&J_(s.instance.arrow,s.offsets.arrow,o),function FW(e,t){const n=e.instance.target;let r=n.className;const i=Lu().isBs5?b4[e.placement]:e.placement;e.placementAuto&&(r=r.replace(/bs-popover-auto/g,`bs-popover-${i}`),r=r.replace(/ms-2|me-2|mb-2|mt-2/g,""),r=r.replace(/bs-tooltip-auto/g,`bs-tooltip-${i}`),r=r.replace(/\sauto/g,` ${i}`),-1!==r.indexOf("popover")&&(r=r+" "+function PW(e){return Lu().isBs5?g5(e,"end")?"ms-2":g5(e,"start")?"me-2":g5(e,"to
1p")?"mb-2":g5(e,"bottom")?"mt-2":"":""}(i)),-1!==r.indexOf("popover")&&-1===r.indexOf("popover-auto")&&(r+=" popover-auto"),-1!==r.indexOf("tooltip")&&-1===r.indexOf("tooltip-auto")&&(r+=" tooltip-auto")),r=r.replace(/left|right|top|bottom|end|start/g,`${i.split(" ")[0]}`),t?t.setAttribute(n,"class",r):n.className=r}(s,o)}let Bu=(()=>{class e{constructor(n,r,i){this.update$$=new Nt,this.positionElements=new Map,this.isDisabled=!1,g2(i)&&n.runOutsideAngular(()=>{this.triggerEvent$=u4(Tn(window,"scroll",{passive:!0}),Tn(window,"resize",{passive:!0}),ce(0,DW),this.update$$),this.triggerEvent$.subscribe(()=>{this.isDisabled||this.positionElements.forEach(o=>{ZW(m5(o.target),m5(o.element),o.attachment,o.appendToBody,this.options,r.createRenderer(null,null))})})})}position(n){this.addPositionElement(n)}get event$(){return this.triggerEvent$}disable(){this.isDisabled=!0}enable(){this.isDisabled=!1}addPositionElement(n){this.positionElements.set(m5(n.element),n)}calcPosition(){this.update$$.next(null)}deletePositionElement(n){this.positionElements.delete(m5(n))}setOptions(n){this.options=n}static{this.\u0275fac=function(r){return new(r||e)(B(Oe),B(hs),B(Wr))}}static{this.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function m5(e){return"string"==typeof e?document.querySelector(e):e instanceof Cn?e.nativeElement:e??null}class Hu{constructor(t,n,r){this.nodes=t,this.viewRef=n,this.componentRef=r}}class GW{constructor(t,n,r,i,o,s,a,c,l){this._viewContainerRef=t,this._renderer=n,this._elementRef=r,this._injector=i,this._componentFactoryResolver=o,this._ngZone=s,this._applicationRef=a,this._posService=c,this._document=l,this.onBeforeShow=new qe,this.onShown=new qe,this.onBeforeHide=new qe,this.onHidden=new qe,this._providers=[],this._isHiding=!1,this.containerDefaultSelector="body",this._listenOpts={},this._globalListener=Function.prototype}get isShown(){return!this._isHiding&&!!this._componentRef}attach(t){return this._componentFactory=this._componentFactoryResolver.resolveComponentFactory(t),this}to(t){return this.container=t||this.container,this}position(t){return t?(this.attachment=t.attachment||this.attachment,this._elementRef=t.target||this._elementRef,this):this}provide(t){return this._providers.push(t),this}show(t={}){if(this._subscribePositioning(),this._innerComponent=void 0,!this._componentRef){this.onBeforeShow.emit(),this._contentRef=this._getContentRef(t.content,t.context,t.initialState);const n=Lt.create({providers:this._providers,parent:this._injector});if(!this._componentFactory)return;if(this._componentRef=this._componentFactory.create(n,this._contentRef.nodes),this._applicationRef.attachView(this._componentRef.hostView),this.instance=this._componentRef.instance,Object.assign(this._componentRef.instance,t),this.container instanceof Cn&&this.container.nativeElement.appendChild(this._componentRef.location.nativeElement),"string"==typeof this.container&&typeof this._document<"u"){const r=this._document.querySelector(this.container)||this._document.querySelector(this.containerDefaultSelector);if(!r)return;r.appendChild(this._componentRef.location.nativeElement)}!this.container&&this._elementRef&&this._elementRef.nativeElement.parentElement&&this._elementRef.nativeElement.parentElement.appendChild(this._componentRef.location.nativeElement),this._contentRef.componentRef&&(this._innerComponent=this._contentRef.componentRef.instance,this._contentRef.componentRef.changeDetectorRef.markForCheck(),this._contentRef.componentRef.changeDetectorRef.detectChanges()),this._componentRef.changeDetectorRef.markForCheck(),this._componentRef.changeDetectorRef.detectChanges(),this.onShown.emit(t.id?{id:t.id}:this._componentRef.instance)}return this._registerOutsideClick(),this._componentRef}hide(t){if(!this._componentRef)return this;this._posService.deletePositionElement(this._componentRef.location),this.onBeforeHide.emit(this._componentRef.instance);const n=this._componentRef.location.nativeElement;return n.parentNode?.removeChild(n),this._contentRef?.componentRef?.destroy(),this._viewContainerRef&&this._contentRef?.viewRef&&this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._contentRef.viewRef)),this._contentRef?.viewRef?.destroy(),this._contentRef=void 0,this._componentRef=void 0,this._removeGlobalListener(),this.onHidden.emit(t?{id:t}:null),this}toggle(){this.isShown?this.hide():this.show()}dispose(){this.isShown&&this.hide(),this._unsubscribePositioning(),this._unregisterListenersFn&&this._unregisterListenersFn()}listen(t){this.triggers=t.triggers||this.triggers,this._listenOpts.outsideClick=t.outsideClick,this._listenOpts.outsideEsc=t.outsideEsc,t.target=t.target||this._elementRef?.
1nativeElement;const n=this._listenOpts.hide=()=>t.hide?t.hide():void this.hide(),r=this._listenOpts.show=o=>{t.show?t.show(o):this.show(o),o()};return this._renderer&&(this._unregisterListenersFn=function rW(e,t){const n=function S_(e,t=nW){const n=(e||"").trim();if(0===n.length)return[];const r=n.split(/\s+/).map(o=>o.split(":")).map(o=>{const s=t[o[0]]||o;return new tW(s[0],s[1])}),i=r.filter(o=>o.isManual());if(i.length>1)throw new Error("Triggers parse error: only one manual trigger is allowed");if(1===i.length&&r.length>1)throw new Error("Triggers parse error: manual trigger can't be mixed with other triggers");return r}(t.triggers),r=t.target;if(1===n.length&&n[0].isManual())return Function.prototype;const i=[],o=[],s=()=>{o.forEach(a=>i.push(a())),o.length=0};return n.forEach(a=>{const c=a.open===a.close,l=c?t.toggle:t.show;if(!c&&a.close&&t.hide){const u=a.close,d=t.hide;o.push(()=>e.listen(r,u,d))}l&&i.push(e.listen(r,a.open,()=>l(s)))}),()=>{i.forEach(a=>a())}}(this._renderer,{target:t.target,triggers:t.triggers,show:r,hide:n,toggle:o=>{this.isShown?n():r(o)}})),this}_removeGlobalListener(){this._globalListener&&(this._globalListener(),this._globalListener=Function.prototype)}attachInline(t,n){return t&&n&&(this._inlineViewRef=t.createEmbeddedView(n)),this}_registerOutsideClick(){if(this._componentRef&&this._componentRef.location){if(this._listenOpts.outsideClick){const t=this._componentRef.location.nativeElement;setTimeout(()=>{this._renderer&&this._elementRef&&(this._globalListener=function iW(e,t){return t.outsideClick?e.listen("document","click",n=>{t.target&&t.target.contains(n.target)||t.targets&&t.targets.some(r=>r.contains(n.target))||t.hide&&t.hide()}):Function.prototype}(this._renderer,{targets:[t,this._elementRef.nativeElement],outsideClick:this._listenOpts.outsideClick,hide:()=>this._listenOpts.hide&&this._listenOpts.hide()}))})}this._listenOpts.outsideEsc&&this._renderer&&this._elementRef&&(this._globalListener=function oW(e,t){return t.outsideEsc?e.listen("document","keyup.esc",n=>{t.target&&t.target.contains(n.target)||t.targets&&t.targets.some(r=>r.contains(n.target))||t.hide&&t.hide()}):Function.prototype}(this._renderer,{targets:[this._componentRef.location.nativeElement,this._elementRef.nativeElement],outsideEsc:this._listenOpts.outsideEsc,hide:()=>this._listenOpts.hide&&this._listenOpts.hide()}))}}getInnerComponent(){return this._innerComponent}_subscribePositioning(){this._zoneSubscription||!this.attachment||(this.onShown.subscribe(()=>{this._posService.position({element:this._componentRef?.location,target:this._elementRef,attachment:this.attachment,appendToBody:"body"===this.container})}),this._zoneSubscription=this._ngZone.onStable.subscribe(()=>{this._componentRef&&this._posService.calcPosition()}))}_unsubscribePositioning(){this._zoneSubscription&&(this._zoneSubscription.unsubscribe(),this._zoneSubscription=void 0)}_getContentRef(t,n,r){if(!t)return new Hu([]);if(t instanceof qr){if(this._viewContainerRef){const s=this._viewContainerRef.createEmbeddedView(t,n);return s.markForCheck(),new Hu([s.rootNodes],s)}const o=t.createEmbeddedView({});return this._applicationRef.attachView(o),new Hu([o.rootNodes],o)}if("function"==typeof t){const o=this._componentFactoryResolver.resolveComponentFactory(t),s=Lt.create({providers:this._providers,parent:this._injector}),a=o.create(s);return Object.assign(a.instance,r),this._applicationRef.attachView(a.hostView),new Hu([[a.location.nativeElement]],a.hostView,a)}const i=this._renderer?[this._renderer.createText(`${t}`)]:[];return new Hu([i])}}let vc=(()=>{class e{constructor(n,r,i,o,s,a){this._componentFactoryResolver=n,this._ngZone=r,this._injector=i,this._posService=o,this._applicationRef=s,this._document=a}createLoader(n,r,i){return new GW(r,i,n,this._injector,this._componentFactoryResolver,this._ngZone,this._applicationRef,this._posService,this._document)}static{this.\u0275fac=function(r){return new(r||e)(B(xa),B(Oe),B(Lt),B(Bu),B(Cr),B(Pt))}}static{this.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const WW=["*"];let K_=(()=>{class e{constructor(){this.hide=()=>{},this.setClass=()=>{}}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"platform"})}}return e})(),Y_=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"platform"})}}return e})();const C5={backdrop:!0,keyboard:!0,focus:!0,show:!1,ignoreBackdropClick:!1,class:"",animated:!0,initialState:{},closeInterceptor:void 0},qW=new Q("override-default-config");let JW=(()=>{class e{constructor(n,r,i){this._element=r,this._renderer=i,this.isShown=!1,this.isAnimated=!1,this._focusEl=null,this.isModalHiding=!1,this.clickStartedInContent=!1,this.config=Object.assign({},n)}ngOnInit(){this._focusEl=sn.activeElement,this.isAnimated&&this._renderer.addClass(this._element.nativeElement,"fade"),this._renderer.setStyle(this._element.nativeElement,"display","block"),setTimeout(()=>{this.isShown=!0,this._renderer.addClass(this._element.nativeElement,"show")},this.isAnimated?150:0),sn&&sn.body&&(this.bsModalService&&1===this.bsModalService.getModalsCount()&&(this.bsModalService.checkScrollbar(),this.bsModalService.setScrollbar()),this._renderer.addClass(sn.body,"modal-open"),this._renderer.setStyle(sn.body,"overflow-y","hidden")),this._element.nativeElement&&this._element.nativeElement.focus()}onClickStarted(n){this.clickStartedInContent=n.target!==this._element.nativeElement}onClickStop(n){this.config.ignoreBackdropClick||"static"===this.config.backdrop||n.target!==this._element.nativeElement||this.clickStartedInContent?this.clickStartedInContent=!1:(this.bsModalService?.setDismissReason("backdrop-click"),this.hide())}onPopState(){this.bsModalService?.setDismissReason("browser-back-navigation-clicked"),this.hide()}onEsc(n){this.isShown&&((27===n.keyCode||"Escape"===n.key)&&n.preventDefault(),this.config.keyboard&&this.level===this.bsModalService?.getModalsCount()&&(this.bsModalService?.setDismissReason("esc"),this.hide()))}ngOnDestroy(){this.isShown&&this._hide()}
1hide(){if(!this.isModalHiding){if(this.config.closeInterceptor)return void this.config.closeInterceptor().then(()=>this._hide(),()=>{});this._hide()}}_hide(){this.isModalHiding=!0,this._renderer.removeClass(this._element.nativeElement,"show"),setTimeout(()=>{this.isShown=!1,sn&&sn.body&&1===this.bsModalService?.getModalsCount()&&(this._renderer.removeClass(sn.body,"modal-open"),this._renderer.setStyle(sn.body,"overflow-y","")),this.bsModalService?.hide(this.config.id),this.isModalHiding=!1,this._focusEl&&this._focusEl.focus()},this.isAnimated?300:0)}static{this.\u0275fac=function(r){return new(r||e)(P(Y_),P(Cn),P(wi))}}static{this.\u0275cmp=Zi({type:e,selectors:[["modal-container"]],hostAttrs:["role","dialog","tabindex","-1",1,"modal"],hostVars:3,hostBindings:function(r,i){1&r&&xr("mousedown",function(s){return i.onClickStarted(s)})("click",function(s){return i.onClickStop(s)})("popstate",function(){return i.onPopState()},!1,Xp)("keydown.esc",function(s){return i.onEsc(s)},!1,Xp),2&r&&Mr("aria-modal",!0)("aria-labelledby",i.config.ariaLabelledBy)("aria-describedby",i.config.ariaDescribedby)},ngContentSelectors:WW,decls:3,vars:2,consts:[["role","document","focusTrap",""],[1,"modal-content"]],template:function(r,i){1&r&&(b0(),be(0,"div",0)(1,"div",1),E0(2),Pe()()),2&r&&Di("modal-dialog"+(i.config.class?" "+i.config.class:""))},dependencies:[wW],encapsulation:2})}}return e})(),KW=(()=>{class e{get isAnimated(){return this._isAnimated}set isAnimated(n){this._isAnimated=n}get isShown(){return this._isShown}set isShown(n){this._isShown=n,n?this.renderer.addClass(this.element.nativeElement,"show"):this.renderer.removeClass(this.element.nativeElement,"show")}constructor(n,r){this._isAnimated=!1,this._isShown=!1,this.element=n,this.renderer=r}ngOnInit(){this.isAnimated&&(this.renderer.addClass(this.element.nativeElement,"fade"),lW.reflow(this.element.nativeElement)),this.isShown=!0}static{this.\u0275fac=function(r){return new(r||e)(P(Cn),P(wi))}}static{this.\u0275cmp=Zi({type:e,selectors:[["bs-modal-backdrop"]],hostAttrs:[1,"modal-backdrop"],decls:0,vars:0,template:function(r,i){},encapsulation:2})}}return e})(),YW=1,M4=(()=>{class e{constructor(n,r,i){this.clf=r,this.modalDefaultOption=i,this.onShow=new qe,this.onShown=new qe,this.onHide=new qe,this.onHidden=new qe,this.isBodyOverflowing=!1,this.originalBodyPadding=0,this.scrollbarWidth=0,this.modalsCount=0,this.loaders=[],this._focusEl=null,this._backdropLoader=this.clf.createLoader(),this._renderer=n.createRenderer(null,null),this.config=i?Object.assign({},C5,i):C5}show(n,r){this._focusEl=sn.activeElement,this.modalsCount++,this._createLoaders();const i=r?.id||YW++;return this.config=this.modalDefaultOption?Object.assign({},C5,this.modalDefaultOption,r):Object.assign({},C5,r),this.config.id=i,this._showBackdrop(),this.lastDismissReason=void 0,this._showModal(n)}hide(n){(1===this.modalsCount||null==n)&&(this._hideBackdrop(),this.resetScrollbar()),this.modalsCount=this.modalsCount>=1&&null!=n?this.modalsCount-1:0,setTimeout(()=>{this._hideModal(n),this.removeLoaders(n)},this.config.animated?150:0),this._focusEl&&this._focusEl.focus()}_showBackdrop(){const n=!0===this.config.backdrop||"static"===this.config.backdrop,r=!this.backdropRef||!this.backdropRef.instance.isShown;1===this.modalsCount&&(this.removeBackdrop(),n&&r&&(this._backdropLoader.attach(KW).to("body").show({isAnimated:this.config.animated}),this.backdropRef=this._backdropLoader._componentRef))}_hideBackdrop(){this.backdropRef&&(this.backdropRef.instance.isShown=!1,setTimeout(()=>this.removeBackdrop(),this.config.animated?150:0))}_showModal(n){const r=this.loaders[this.loaders.length-1];if(this.config&&this.config.providers)for(const s of this.config.providers)r.provide(s);const i=new K_,o=r.provide({provide:Y_,useValue:this.config}).provide({provide:K_,useValue:i}).attach(JW).to("body");return i.hide=()=>this.hide(i.id),i.setClass=s=>{o.instance&&(o.instance.config.class=s)},i.onHidden=new qe,i.onHide=new qe,this.copyEvent(r.onBeforeHide,i.onHide),this.copyEvent(r.onHidden,i.onHidden),o.show({content:n,isAnimated:this.config.animated,initialState:this.config.initialState,bsModalService:this,id:this.config.id}),o.instance&&(o.instance.level=this.getModalsCount(),i.content=r.getInnerComponent(),i.id=o.instance.config?.id),i}_hideModal(n){if(null!=n){const r=this.loaders.findIndex(o=>o.instance?.config.id===n),i=this.loaders[r];i&&i.hide(n)}
1else this.loaders.forEach(r=>{r.instance&&r.hide(r.instance.config.id)})}getModalsCount(){return this.modalsCount}setDismissReason(n){this.lastDismissReason=n}removeBackdrop(){this._renderer.removeClass(sn.body,"modal-open"),this._renderer.setStyle(sn.body,"overflow-y",""),this._backdropLoader.hide(),this.backdropRef=void 0}checkScrollbar(){this.isBodyOverflowing=sn.body.clientWidth<window.innerWidth,this.scrollbarWidth=this.getScrollbarWidth()}setScrollbar(){sn&&(this.originalBodyPadding=parseInt(window.getComputedStyle(sn.body).getPropertyValue("padding-right")||"0",10),this.isBodyOverflowing&&(sn.body.style.paddingRight=`${this.originalBodyPadding+this.scrollbarWidth}px`))}resetScrollbar(){sn.body.style.paddingRight=`${this.originalBodyPadding}px`}getScrollbarWidth(){const n=this._renderer.createElement("div");this._renderer.addClass(n,"modal-scrollbar-measure"),this._renderer.appendChild(sn.body,n);const r=n.offsetWidth-n.clientWidth;return this._renderer.removeChild(sn.body,n),r}_createLoaders(){const n=this.clf.createLoader();this.copyEvent(n.onBeforeShow,this.onShow),this.copyEvent(n.onShown,this.onShown),this.copyEvent(n.onBeforeHide,this.onHide),this.copyEvent(n.onHidden,this.onHidden),this.loaders.push(n)}removeLoaders(n){if(null!=n){const r=this.loaders.findIndex(i=>i.instance?.config.id===n);r>=0&&(this.loaders.splice(r,1),this.loaders.forEach((i,o)=>{i.instance&&(i.instance.level=o+1)}))}else this.loaders.splice(0,this.loaders.length)}copyEvent(n,r){n.subscribe(i=>{r.emit(this.lastDismissReason||i)})}static{this.\u0275fac=function(r){return new(r||e)(B(hs),B(vc),B(qW,8))}}static{this.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"platform"})}}return e})();L_.forRoot();let XW=(()=>{class e{static forRoot(){return{ngModule:e,providers:[M4,vc,Bu]}}static forChild(){return{ngModule:e,providers:[M4,vc,Bu]}}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275mod=Gn({type:e})}static{this.\u0275inj=On({imports:[L_]})}}return e})(),$W=(()=>{class e{constructor(n,r){this.http=n,this.toastService=r}get sessionID(){return null!=this.userObject&&this.userObject.hasOwnProperty("sessionID")?atob(this.userObject.sessionID):null}get userObject(){return JSON.parse(localStorage.getItem("User")||"{}")}getUsersName(){const n=JSON.parse(localStorage.getItem("User"));return null!=n&&n.hasOwnProperty("name")?n.name:null}getUserId(){const n=JSON.parse(localStorage.getItem("User"));return null!=n&&n.hasOwnProperty("sub")?n.sub:null}getLoggedInUserEmail(){const n=JSON.parse(localStorage.getItem("User"));return null!=n&&n.hasOwnProperty("preferred_username")?n.preferred_username:null}static{this.\u0275fac=function(r){return new(r||e)(B(p4),B(w_))}}static{this.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const X_="400ms cubic-bezier(0.4,0.0,0.2,1)",eq=[ii({height:0,visibility:"hidden"}),Ou(X_,ii({height:"*",visibility:"visible"}))],tq=[ii({height:"*",visibility:"visible"}),Ou(X_,ii({height:0,visibility:"hidden"}))];let nq=(()=>{class e{set display(n){this._display=n,"none"!==n?this.isAnimated?this.toggle():this.show():this.hide()}set collapse(n){this.collapseNewValue=n,(!this._player||this._isAnimationDone)&&(this.isExpanded=n,this.toggle())}get collapse(){return this.isExpanded}constructor(n,r,i){this._el=n,this._renderer=r,this.collapsed=new qe,this.collapses=new qe,this.expanded=new qe,this.expands=new qe,this.isExpanded=!0,this.collapseNewValue=!0,this.isCollapsed=!1,this.isCollapse=!0,this.isCollapsing=!1,this.isAnimated=!1,this._display="block",this._stylesLoaded=!1,this._COLLAPSE_ACTION_NAME="collapse",this._EXPAND_ACTION_NAME="expand",this._factoryCollapseAnimation=i.build(tq),this._factoryExpandAnimation=i.build(eq)}ngAfterViewChecked(){this._stylesLoaded=!0,this._player&&this._isAnimationDone&&(this._player.reset(),this._renderer.setStyle(this._el.nativeElement,"height","*"))}toggle(){this.isExpanded?this.hide():this.show()}hide(){this.isCollapsing=!0,this.isExpanded=!1,this.isCollapsed=!0,this.isCollapsing=!1,this.collapses.emit(this),this._isAnimationDone=!1,this.animationRun(this.isAnimated,this._COLLAPSE_ACTION_NAME)(()=>{this._isAnimationDone=!0,this.collapseNewValue!==this.isCollapsed&&this.isAnimated?this.show():(this.collapsed.emit
1(this),this._renderer.setStyle(this._el.nativeElement,"display","none"))})}show(){this._renderer.setStyle(this._el.nativeElement,"display",this._display),this.isCollapsing=!0,this.isExpanded=!0,this.isCollapsed=!1,this.isCollapsing=!1,this.expands.emit(this),this._isAnimationDone=!1,this.animationRun(this.isAnimated,this._EXPAND_ACTION_NAME)(()=>{this._isAnimationDone=!0,this.collapseNewValue!==this.isCollapsed&&this.isAnimated?this.hide():(this.expanded.emit(this),this._renderer.removeStyle(this._el.nativeElement,"overflow"))})}animationRun(n,r){if(!n||!this._stylesLoaded)return o=>o();this._renderer.setStyle(this._el.nativeElement,"overflow","hidden"),this._renderer.addClass(this._el.nativeElement,"collapse");const i=r===this._EXPAND_ACTION_NAME?this._factoryExpandAnimation:this._factoryCollapseAnimation;return this._player&&this._player.reset(),this._player=i.create(this._el.nativeElement),this._player.play(),o=>this._player?.onDone(o)}static{this.\u0275fac=function(r){return new(r||e)(P(Cn),P(wi),P(u5))}}static{this.\u0275dir=zt({type:e,selectors:[["","collapse",""]],hostVars:9,hostBindings:function(r,i){2&r&&(Mr("aria-hidden",i.isCollapsed),zl("collapse",i.isCollapse)("in",i.isExpanded)("show",i.isExpanded)("collapsing",i.isCollapsing))},inputs:{display:"display",isAnimated:"isAnimated",collapse:"collapse"},outputs:{collapsed:"collapsed",collapses:"collapses",expanded:"expanded",expands:"expands"},exportAs:["bs-collapse"]})}}return e})(),rq=(()=>{class e{static forRoot(){return{ngModule:e,providers:[]}}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275mod=Gn({type:e})}static{this.\u0275inj=On({})}}return e})();const iq=["*"],oq=e=>({dropdown:e});let sq=(()=>{class e{constructor(){this.autoClose=!0,this.insideClick=!1,this.isAnimated=!1,this.stopOnClickPropagation=!1}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),xs=(()=>{class e{constructor(){this.direction="down",this.autoClose=!0,this.insideClick=!1,this.isAnimated=!1,this.stopOnClickPropagation=!1,this.isOpenChange=new qe,this.isDisabledChange=new qe,this.toggleClick=new qe,this.counts=0,this.dropdownMenu=new Promise(n=>{this.resolveDropdownMenu=n})}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"platform"})}}return e})();const $_=[ii({height:0,overflow:"hidden"}),Ou("220ms cubic-bezier(0, 0, 0.2, 1)",ii({height:"*",overflow:"hidden"}))];let aq=(()=>{class e{get direction(){return this._state.direction}constructor(n,r,i,o,s){this._state=n,this.cd=r,this._renderer=i,this._element=o,this.isOpen=!1,this._factoryDropDownAnimation=s.build($_),this._subscription=n.isOpenChange.subscribe(a=>{this.isOpen=a;const c=this._element.nativeElement.querySelector(".dropdown-menu");this._renderer.addClass(this._element.nativeElement.querySelector("div"),"open"),c&&(this._renderer.addClass(c,"show"),(c.classList.contains("dropdown-menu-right")||c.classList.contains("dropdown-menu-end"))&&(this._renderer.setStyle(c,"left","auto"),this._renderer.setStyle(c,"right","0")),"up"===this.direction&&(this._renderer.setStyle(c,"top","auto"),this._renderer.setStyle(c,"transform","translateY(-101%)"))),c&&this._state.isAnimated&&this._factoryDropDownAnimation.create(c).play(),this.cd.markForCheck(),this.cd.detectChanges()})}_contains(n){return this._element.nativeElement.contains(n)}ngOnDestroy(){this._subscription.unsubscribe()}static{this.\u0275fac=function(r){return new(r||e)(P(xs),P(ec),P(wi),P(Cn),P(u5))}}static{this.\u0275cmp=Zi({type:e,selectors:[["bs-dropdown-container"]],hostAttrs:[2,"display","block","position","absolute","z-index","1040"],ngContentSelectors:iq,decls:2,vars:9,consts:[[3,"ngClass"]],template:function(r,i){1&r&&(b0(),be(0,"div",0),E0(1),Pe()),2&r&&(zl("dropup","up"===i.direction)("show",i.isOpen)("open",i.isOpen),ut("ngClass",Zv(7,oq,"down"===i.direction)))},dependencies:[TA],encapsulation:2,changeDetection:0})}}return e})(),ew=(()=>{class e{set autoClose(n){this._state.autoClose=n}get autoClose(){return this._state.autoClose}set isAnimated(n){this._state.isAnimated=n}get isAnimated(){return this._state.isAnimated}set insideClick(n){this._state.insideClick=n}get insideClick(){return this._state.insideClick}set isDisabled(n){this._isDisabled=n,this._state.isDisabledChange.emit(n),n&&this.hide()}get isDisabled(){return this._isDisabled}get isOpen(){return this._showInline?this._isInlineOpen:this._dropdown.isS
1hown}set isOpen(n){n?this.show():this.hide()}get _showInline(){return!this.container}constructor(n,r,i,o,s,a,c){this._elementRef=n,this._renderer=r,this._viewContainerRef=i,this._cis=o,this._state=s,this._config=a,this.dropup=!1,this._isInlineOpen=!1,this._isDisabled=!1,this._subscriptions=[],this._isInited=!1,this._state.autoClose=this._config.autoClose,this._state.insideClick=this._config.insideClick,this._state.isAnimated=this._config.isAnimated,this._state.stopOnClickPropagation=this._config.stopOnClickPropagation,this._factoryDropDownAnimation=c.build($_),this._dropdown=this._cis.createLoader(this._elementRef,this._viewContainerRef,this._renderer).provide({provide:xs,useValue:this._state}),this.onShown=this._dropdown.onShown,this.onHidden=this._dropdown.onHidden,this.isOpenChange=this._state.isOpenChange}ngOnInit(){this._isInited||(this._isInited=!0,this._dropdown.listen({outsideClick:!1,triggers:this.triggers,show:()=>this.show()}),this._subscriptions.push(this._state.toggleClick.subscribe(n=>this.toggle(n))),this._subscriptions.push(this._state.isDisabledChange.pipe(ki(n=>n)).subscribe(()=>this.hide())))}show(){if(!this.isOpen&&!this.isDisabled){if(this._showInline)return this._inlinedMenu||this._state.dropdownMenu.then(n=>{this._dropdown.attachInline(n.viewContainer,n.templateRef),this._inlinedMenu=this._dropdown._inlineViewRef,this.addBs4Polyfills(),this._inlinedMenu&&this._renderer.addClass(this._inlinedMenu.rootNodes[0].parentNode,"open"),this.playAnimation()}).catch(),this.addBs4Polyfills(),this._isInlineOpen=!0,this.onShown.emit(!0),this._state.isOpenChange.emit(!0),void this.playAnimation();this._state.dropdownMenu.then(n=>{const r=this.dropup||typeof this.dropup<"u"&&this.dropup;this._state.direction=r?"up":"down";const i=this.placement||(r?"top start":"bottom start");this._dropdown.attach(aq).to(this.container).position({attachment:i}).show({content:n.templateRef,placement:i}),this._state.isOpenChange.emit(!0)}).catch()}}hide(){this.isOpen&&(this._showInline?(this.removeShowClass(),this.removeDropupStyles(),this._isInlineOpen=!1,this.onHidden.emit(!0)):this._dropdown.hide(),this._state.isOpenChange.emit(!1))}toggle(n){return this.isOpen||!n?this.hide():this.show()}_contains(n){return this._elementRef.nativeElement.contains(n.target)||this._dropdown.instance&&this._dropdown.instance._contains(n.target)}navigationClick(n){const r=this._elementRef.nativeElement.querySelector(".dropdown-menu");if(!r)return;const i=this._elementRef.nativeElement.ownerDocument.activeElement,o=r.querySelectorAll(".dropdown-item");switch(n.keyCode){case 38:this._state.counts>0&&o[--this._state.counts].focus();break;case 40:this._state.counts+1<o.length&&(i.classList!==o[this._state.counts].classList?o[this._state.counts].focus():o[++this._state.counts].focus())}n.preventDefault()}ngOnDestroy(){for(const n of this._subscriptions)n.unsubscribe();this._dropdown.dispose()}addBs4Polyfills(){this.addShowClass(),this.checkRightAlignment(),this.addDropupStyles()}playAnimation(){this._state.isAnimated&&this._inlinedMenu&&setTimeout(()=>{this._inlinedMenu&&this._factoryDropDownAnimation.create(this._inlinedMenu.rootNodes[0]).play()})}addShowClass(){this._inlinedMenu&&this._inlinedMenu.rootNodes[0]&&this._renderer.addClass(this._inlinedMenu.rootNodes[0],"show")}removeShowClass(){this._inlinedMenu&&this._inlinedMenu.rootNodes[0]&&this._renderer.removeClass(this._inlinedMenu.rootNodes[0],"show")}checkRightAlignment(){if(this._inlinedMenu&&this._inlinedMenu.rootNodes[0]){const n=this._inlinedMenu.rootNodes[0].classList.contains("dropdown-menu-right")||this._inlinedMenu.rootNodes[0].classList.contains("dropdown-menu-end");this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"left",n?"auto":"0"),this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"right",n?"0":"auto")}}addDropupStyles(){this._inlinedMenu&&this._inlinedMenu.rootNodes[0]&&(this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"top",this.dropup?"auto":"100%"),this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"transform",this.dropup?"translateY(-101%)":"translateY(0)"),this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"bottom","auto"))}removeDropupStyles(){this._inlinedMenu&&this._inlinedMenu.rootNodes[0]&&(this._renderer.removeStyle(this._inlinedMenu.rootNodes[0],"top"),this._renderer.removeStyle(this._inlinedMenu.rootNodes[0],"transform"),this._renderer.removeStyle(this._inlinedMenu.rootNodes[0],"bottom"))}static{this.\u0275fac=function(r){return new(r||e)(P(Cn),P(wi),P(gr),P(vc),P(xs),P(sq),P(u5))}}static{this.\u0275dir=zt({type:e,selectors:[["","bsDropdown",""],["","dropdown",""]],hostVars:6,hostBindings:function(r,i){1&r&&xr("keydown.arrowDown",function(s){return i.navigationClick(s)})("keydown.arrowUp",function(s){return i.navigationClick(s)}),2&r&&zl("dropup",i.dropup)("open",i.isOpen)("show",i.isOpen)},inputs:{placement:"placement",triggers:"triggers",container:"container",dropup:"dropup",autoClose:"autoClose",isAnimated:"isAnimated",insideClick:"insideClick",isDisabled:"isDisabled",isOpen:"isOpen"},outputs:{isOpenChange:"isOpenChange",onShown:"onShown",onHidden:"onHidden"},exportAs:["bs-dropdown"],features:[x0([xs])]})}}return e})(),cq=(()=>{class e{constructor(n,r,i){n.resolveDropdownMenu({templateRef:i,viewContainer:r})}static{this.\u0275fac=function(r){return new(r||e)(P(xs),P(gr),P(qr))}}static{this.\u0275dir=zt({type:e,selectors:[["","bsDropdownMenu",""],["","dropdownMenu",""]],exportAs:["bs-dropdown-menu"]})}}return e})(),lq=(()=>{class e{constructor(n,r,i,o,s){this._changeDetectorRef=n,this._dropdown=r,this._element=i,this._renderer=o,this._state=s,this.isOpen=!1,this._subscriptions=[],this._subscriptions.push(this._state.isOpenChange.subscribe(a=>{this.isOpen=a,a?(this._documentClickListener=this._renderer.listen("document","click",c=>{this._state.autoClose&&2!==c.button&&!this._element.nativeElement.contains(c.target)&&(!this._state.insideClick||!this._dropdown._contains(c))&&(this._state.toggleClick.emit(!1),this._changeDetectorRef.detectChanges())}),this._escKeyUpListener=this._renderer.listen(this._element.nativeElement,"keyup.esc",()=>{this._state.autoClose&&(this._state.toggleClick.emit(!1),this._changeDetectorRef.detectChanges())})):(this._documentClickListener&&this._documentClickListener(),this._escKeyUpListener&&this._escKeyUpListener())})),this._subscriptions.push(this._state.isDisabledChange.subscribe(a=>this.isDisabled=a||void 0))}onClick(n){this._state.stopOnClickPropagation&&n.stopPropagation(),!this.isDisabled&&this._state.toggleClick.emit(!0)}ngOnDestroy(){this._documentClickListener&&this._documentClickListener(),this._escKeyUpListener&&this._escKeyUpListener();for(const n of this._subscriptions)n.unsubscribe()}static{this.\u0275fac=function(r){return new(r||e)(P(ec),P(ew),P(Cn),P(wi),P(xs))}}static{this.\u0275dir=zt({type:e,selectors:[["","bsDropdownToggle",""],["","dropdownToggle",""]],hostVars:3,hostBindings:function(r,i){1&r&&xr("click",function(s){return i.onClick(s)}),2&r&&Mr("aria-haspopup",!0)("disabled",i.isDisabled)("aria-expanded",i.isOpen)},exportAs:["bs-dropdown-toggle"]})}}return e})(),uq=(()=>{class e{static forRoot(){return{ngModule:e,providers:[vc,Bu,xs]}}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275mod=Gn({type:e})}static{this.\u0275inj=On({imports:[uu]})}}return e})();function dq(e,t){if(1&e&&(be(0,"li")(1,"div",25),St(2,"img",26),Pe()()),2&e){const n=cn();Ze(2),ut("alt",n.resellerData.customerName)("src",n.resellerData.customerLogo,Xi)}}function fq(e,t){1&e&&(be(0,"ul",27)(1,"li",28)(2,"a",29),Dt(3,"View Balances"),Pe()(),be(4,"li",28)(5,"a",29),Dt(6,"Initiate Settlement"),Pe()(),be(7,"li",28)(8,"a",29),Dt(9,"Pay with Tingg"),Pe()(),be(10,"li",28)(11,"a",30),Dt(12,"Reconcile Payments"),Pe()()())}function hq(e,t){1&e&&(be(0,"a",39),St(1,"span",40),be(2,"span",18),Dt(3," Manage PIN"),Pe()())}function pq(e,t){if(1&e){const n=ql();be(0,"div",31)(1,"a",32),St(2,"span",24),be(3,"span",18),Dt(4,"Profile "),Pe()(),be(5,"a",33),St(6,"span",34),be(7,"span",18),Dt(8,"Change Password "),Pe()(),Tr(9,hq,4,0,"a",35),St(10,"div",36),be(11,"a",37),xr("click",function(){return tl(n),nl(cn().logout())}),St(12,"span",38),be(13,"span",18),Dt(14,"Logout"),Pe()()()}if(2&e){const n=cn();Ze(9),ut("ngIf",n.customerDetails.allowsPinLogin&&(null==n.userObject?null:n.userObject.pinLoginEnabled))}}function gq(e,t){1&e&&(be(0,"a",39),St(1,"span",40),be(2,"span",18),Dt(3,"Manage PIN "),Pe()())}function mq(e,t){if(1&e){const n=ql();be(0,"div",31)(1,"a",32),St(2,"span",24),be(3,"span",18),Dt(4," Profile"),Pe()(),be(5,"a",33),St(6,"span",34),be(7,"span",18),Dt(8,"Change Password"),Pe()(),Tr(9,gq,4,0,"a",35),St(10,"div",36),be(11,"a",37),xr("click",function(){return tl(n),nl(cn().logout())}),St(12,"span",38),be(13,"span",18),Dt(14,"Logout"),Pe()()()}if(2&e){const n=cn();Ze(9),ut("ngIf",n.customerDetails.allowsPinLogin&&(null==n.userObject?null:n.userObject.pinLoginEnabled))}}let Cq=(()=>{class e{constructor(n,r,i,o,s,a,c){this.accountService=n,this.toasterService=r,this.toastr=i,this.bnIdle=o,this.modalService=s,this.authenticationService=a,this.window=c,this.title="top-nav",this.isCollapsed=!0,this.isConnected=!0,this.userName="",this.businessName="",this.authorizationCode="",this.redirectUri="",this.clientId="",this.canManageBusiness=!1,this.customerName="",this.myDate=new Date,this.settings=io("img/bell.svg"),this.cogSvg=io("img/cog.svg"),this.bellSvg=io("img/bell-icon.svg"),this.arrowrightSvg=io("img/arrow-right.svg"),this.onlineSvg=io("img/online.svg"),this.userImage=io("img/user-image.png"),this.cellulantLogo=io("img/Cellulant-logo.png"),this.assetUrl=io("flag/"),this.chevronIconSvg
1=io("img/icon-down.svg"),this.logoPath=Tt_casUiAPIUrl+"/app/images/",this.currencies=[],this.currency={isoCode:"",countryName:"",countryFlag:""},this.resellerCustomerCode=null,this.resellerData={customerName:"",customerLogo:""},this.FLAG_URL=Tt_FLAG_URL,this.updateSubscription=new G,this.internetStatus$=G.EMPTY,this.launchFreshDeskSDK(),setInterval(()=>{this.currentDate=new Date},1e3)}ngOnInit(){this.checkActivity(),this.subscription=QE.subscribe(n=>{this.singleSpaProps=n}),this.checkConnection(),this.currencies=this.accountService.getCurrencyNames(),this.customerDetails=this.accountService.getCustomer(),this.userObject=this.accountService.userObject,this.setUserSelectedCountry(),this.fetchUserProfile(),this.checkIfCanManageBusiness(),this.fetchResellerData()}ngAfterViewInit(){setInterval(()=>{this.checkIfUserTokenIsExpired()},5e3),window.addEventListener("popstate",()=>{this.checkIfUserTokenIsExpired()})}checkIfCanManageBusiness(){const n=setInterval(()=>{JSON.parse(localStorage.getItem("Permissions"))?.find(o=>"customer-management"===o.tinggProductCode.toLowerCase())&&(this.canManageBusiness=!0)},1e3);setTimeout(()=>{clearInterval(n)},1e4)}get isCustomerLive(){return"live"===this.customerDetails?.onboardingLevelCode}onToggleLiveMode(n){return n}get checkUIEnvironment(){return window.location.origin.toLowerCase().includes("sandbox")&&window.location.origin.toLowerCase().includes("live")?"sandbox":!window.location.origin.toLowerCase().includes("sandbox")&&window.location.origin.toLowerCase().includes("live")?"live":"other"}setCurrency(n,r,i){this.currency.isoCode=n,this.currency.countryName=r,this.currency.countryID=i,this.currency.countryFlag=this.assetUrl+n+".svg",localStorage.setItem("UserSelectedCurrency",JSON.stringify(this.currency)),this.singleSpaProps.EventBus.emit({name:"countryChange",data:n}),window.dispatchEvent(new Event("storage"))}ngOnDestroy(){this.timer.clear(),this.updateSubscription.unsubscribe(),this.internetStatus$.unsubscribe()}checkActivity(){this.timer=new LZ({timeout:Tt_sessionTimeout,onTimeout:()=>{this.logout(!0)}})}checkConnection(){this.isConnected=navigator.onLine,this.internetStatus$=u4(ce(null),Tn(window,"online"),Tn(window,"offline")).pipe(ke(()=>navigator.onLine)).subscribe(n=>{this.isConnected=n,this.isConnected?this.toastr.success("You are back online"):this.toastr.error("You are offline")})}toggleCollapsed(){this.isCollapsed=!this.isCollapsed}toggleSideNav(){let n=document.querySelector(".sidebar"),r=document.querySelector(".backdrop");document.querySelector(".nav-toggle").classList.contains("nav-toggle--active")?(n.classList.remove("open"),r.style.display="none"):(n.classList.add("open"),r.style.display="block"),document.querySelector(".nav-toggle").classList.toggle("nav-toggle--active")}logout(n=!1){const r=localStorage.getItem("UserSelectedCurrency");r&&(document.cookie=`UserSelectedCurrency=${r}; path=/; secure=true`),this.accountService.logout().subscribe(()=>{this.redirectOnLogout(n)},()=>{this.redirectOnLogout(n)})}redirectOnLogout(n=!1){if(localStorage.clear(),n){let r=`${location.origin}/cas/auth?response_type=code&client_id=${Tt_OATH2_PARAMS.client_id}&redirect_uri=${encodeURIComponent(document.location.href)}&state=${Tt_OATH2_PARAMS.state}&nonce=${Tt_OATH2_PARAMS.nonce}&scope=`;this.window.location.href=r}else this.window.location.href=Tt_loginUrl;this.modalService._hideModal()}fetchUserProfile(){null!==this.authenticationService.getUserId()?this.userName=this.authenticationService.getUsersName():this.accountService.getProfile().pipe(Mo()).subscribe(n=>{this.userName=n.name;const r=JSON.parse(localStorage.getItem("User"));r.name=n.name,r.phone_number=n.phone_number,r.preferred_username=n.preferred_username,r.updated_at=n.updated_at,r.sub=n.sub,r.customer=n.customer,r.pinLoginEnabled=n.pinLoginEnabled,this.userObject=r,localStorage.setItem("User",JSON.stringify(r))})}checkIfUserTokenIsExpired(){const n=JSON.parse(localStorage.getItem("User"));if(!n){const r=localStorage.getItem("UserSelectedCurrency");r&&(document.cookie=`UserSelectedCurrency=${r}; path=/; secure=true`),this.window.location.href=Tt_loginUrl}if(null!=n&&n.hasOwnProperty("access_token")){if(this.isTokenAboutToExpire(n)){const r=this.accountService.refreshToken().subscribe(i=>{},i=>{400===i.status&&(this.toasterService.warning("Oops. Your session has expired."),setTimeout(()=>{this.logout(!0)},2e3))},()=>{r.closed||r.complete()});this.updateSubscription.add(r)}this.tokenNotExpired(n)||(this.toasterService.warning("Oops. Your session has expired."),setTimeout(()=>{this.logout(!0)},2e3))}}isTokenAboutToExpire(n){const r=this.getTokenExpirationDate(n);if(null==r)return!1;const i=new Date;return r.getTime()-1e3*Tt_offsetSessionTimeout<=i.getTime()}fetchResellerData(){const n=this.accountService.getCustomer();n&&n.hasOwnProperty("customerOwner")&&n.customerOwner&&(this.resellerData.customerName=n.customerOwner?.customerName,n.customerOwner?.customerLogo&&(this.resellerData.customerLogo=this.logoPath+n.customerOwner.customerLogo))}tokenNotExpired(n){const r=new PE,i=n.access_token,o=r.isTokenExpired(i);return null!=i&&!o}getTokenExpirationDate(n){return(new PE).getTokenExpirationDate(n.access_token)}launchFreshDeskSDK(){const n=document.createElement("script");n.async=!0,n.src=Tt_freshDeskSourceFile,document.head.appendChild(n),setTimeout(()=>{window.fcWidget.init({token:Tt_freshDeskToken,host:Tt_freshDeskHost,firstName:this.authenticationService.getUsersName(),externalId:this.authenticationService.getUserId(),email:this.authenticationService.getLoggedInUserEmail()}),window.fcWidget.setExternalId(String(this.authenticationService.getUserId())),window.fcWidget.user.setFirstName(String(this.authenticationService.getUsersName())),window.fcWidget.user.setEmail(String(this.authenticationService.getLoggedInUserEmail())),window.fcWidget.user.setProperties({plan:"Pro",status:"Active"})},Tt_freshDeskTimeout)}setUserSelectedCountry(){if(this.currencies.length>0){const n=JSON.parse(localStorage.getItem("UserSelectedCurrency"));if(n)this.setCurrency(n.isoCode,n.countryName,n.countryID);else{const i=document.cookie.split(";")?.find(o=>o.trim().startsWith("UserSelectedCurrency="));if(i){const o=i.split("=")[1];localStorage.setItem("UserSelectedCurrency",o)}else{const o=JSON.parse(localStorage.getItem("User"))?.customer.countryCode;if(o&&this.currencies){const s=this.currencies?.find(a=>a.isoCode===o);s?this.setCurrency(s.isoCode,s.countryName,s.countryID):this.setCurrency(this.currencies[0].isoCode,this.currencies[0].countryName,this.currencies[0].countryID)}}}}}static{this.\u0275fac=function(r){return new(r||e)(P(wG),P(w_),P(f5),P(I_),P(M4),P($W),P("Window"))}}static{this.\u0275cmp=Zi({type:e,selectors:[["top-nav-root"]],features:[x0([OA])],decls:34,vars:12,consts:[[1,"topnav","navbar","navbar-expand-lg","navbar-light","bg-white","align-items-center","ml-17rem","app-v2"],["collapse","isCollapsed","id","navbarNav","isAnimated","true",1,"collapse","navbar-collapse"],[1,"navbar-nav"],[4,"ngIf"],[1,"navbar-nav","ml-auto"],[1,"nav-item"],["dropdown","",1,"btn-group","d-block"],["aria-controls","dropdown-animated","aria-expanded","fal
1se","aria-haspopup","true","data-toggle","dropdown","dropdownToggle","","id","btn-quick-actions","type","button",1,"btn","btn-brand","btn-quick-actions","btn-sm","btn-tingg-header","align-items-center","dropdown-toggle"],["alt","stats icon",1,"ml-1",3,"src"],["aria-labelledby","btn-quick-actions","class","dropdown-menu dropdown-menu-right","id","dropdown-basic","role","menu",4,"dropdownMenu"],[1,"nav-link","btn","bell-btn","btn-sm","btn-source","d-flex","justify-content-around","align-items-center"],["alt","bell",3,"src"],["alt","online",1,"online-dot",3,"src"],["dropdown","",1,"nav-item",2,"max-width","240px"],["aria-controls","dropdown-profile","aria-haspopup","true","data-toggle","dropdown","dropdownToggle","","href","#","id","profileDropdown","role","button",1,"nav-link","dropdown-toggle","profile"],[1,"d-flex","justify-content-between"],[1,"mr-2","d-lg-inline","text-gray-600","ml-8",2,"max-width","200px","overflow","hidden","text-overflow","ellipsis","white-space","nowrap"],[1,"pr-2","profile-image",3,"alt","src"],[1,"user-text"],["alt","arrow",3,"src"],["aria-labelledby","profileDropdown","class","dropdown-menu dropdown-menu-right shadow animated--grow-in","id","dropdown-profile",4,"dropdownMenu"],[1,"navbar-nav","mobile-top-nav"],["dropdown","",1,"nav-item","ml-auto",2,"max-width","240px"],[1,"d-flex","justify-content-between","pl-2"],[1,"fas","fa-user","fa-sm","fa-fw","mr-2","text-black-400"],[1,"mt-2","ml-5"],["alt","logo",1,"img-fluid","ml-auto","brand-logo",3,"alt","src"],["aria-labelledby","btn-quick-actions","id","dropdown-basic","role","menu",1,"dropdown-menu","dropdown-menu-right"],["role","menuitem"],["routerLink","/payments/balance",1,"dropdown-item"],["routerLink","/payments/reconcile",1,"dropdown-item"],["aria-labelledby","profileDropdown","id","dropdown-profile",1,"dropdown-menu","dropdown-menu-right","shadow","animated--grow-in"],["routerLink","/onboarding/profile",1,"dropdown-item","lbl-modal-1"],["routerLink","/onboarding/change-password",1,"dropdown-item","lbl-modal-1"],[1,"fas","fa-key","fa-sm","fa-fw","mr-2","text-black-400"],["class","dropdown-item lbl-modal-1","routerLink","/onboarding/manage-pin",4,"ngIf"],[1,"dropdown-divider"],[1,"dropdown-item","lbl-modal-1",3,"click"],[1,"fas","fa-sign-out-alt","fa-sm","fa-fw","mr-2","text-black-400"],["routerLink","/onboarding/manage-pin",1,"dropdown-item","lbl-modal-1"],[1,"fas","fa-lock","fa-sm","fa-fw","mr-2","text-black-400"]],template:function(r,i){1&r&&(be(0,"nav",0)(1,"div",1)(2,"ul",2),Tr(3,dq,3,2,"li",3),Pe(),be(4,"ul",4)(5,"li",5)(6,"div",6)(7,"button",7),Dt(8," Quick Action "),St(9,"img",8),Pe(),Tr(10,fq,13,0,"ul",9),Pe()(),be(11,"li",5)(12,"a",10),St(13,"img",11)(14,"img",12),Pe()(),be(15,"li",13)(16,"a",14)(17,"div",15)(18,"span",16),St(19,"img",17),be(20,"span",18),Dt(21),Pe()(),St(22,"img",19),Pe()(),Tr(23,pq,15,1,"div",20),Pe()()(),be(24,"ul",21)(25,"li",22)(26,"a",14)(27,"div",23)(28,"span",16),St(29,"span",24),be(30,"span",18),Dt(31),Pe()(),St(32,"img",19),Pe()(),Tr(33,mq,15,1,"div",20),Pe()()()),2&r&&(Ze(3),ut("ngIf",i.resellerData.customerLogo),Ze(6),ut("src",i.chevronIconSvg,Xi),Ze(4),ut("src",i.bellSvg,Xi),Ze(),ut("src",i.onlineSvg,Xi),Ze(2),Mr("aria-expanded",!i.isCollapsed),Ze(3),ut("alt",i.userName)("src",i.userImage,Xi),Ze(2),Mi(" ",i.userName,""),Ze(),ut("src",i.arrowrightSvg,Xi),Ze(4),Mr("aria-expanded",!i.isCollapsed),Ze(5),I0(i.userName),Ze(),ut("src",i.arrowrightSvg,Xi))},dependencies:[Mh,t5,nq,cq,lq,ew],styles:['body[_ngcontent-%COMP%]{margin:0;color:#193367;font-family:Montserrat-Regular,serif}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]{font-family:Montserrat-Regular,serif}h1[_ngcontent-%COMP%]{font-size:32px}p[_ngcontent-%COMP%], .athin[_ngcontent-%COMP%], .ablack[_ngcontent-%COMP%], .asemibold[_ngcontent-%COMP%], .aextbold[_ngcontent-%COMP%]{font-family:Montserrat-Regular,serif}.navbar-nav[_ngcontent-%COMP%]   .fa-bell[_ngcontent-%COMP%]:before{content:"\\f0f3";color:#193367}.bell-btn[_ngcontent-%COMP%]{border-radius:6px!important;height:32px;border:1px solid #F1F1F1}.no-padding[_ngcontent-%COMP%]{padding:0}.min-height[_ngcontent-%COMP%]{min-height:70vh}.full-height[_ngcontent-%COMP%]{height:70vh}a[_ngcontent-%COMP%]{cursor:pointer!important}@keyframes _ngcontent-%COMP%_growIn{0%{transform:scale(.9);opacity:0}
1to{transform:scale(1);opacity:1}}.animated--grow-in[_ngcontent-%COMP%]{animation-name:_ngcontent-%COMP%_growIn;animation-duration:.2s;animation-timing-function:transform cubic-bezier(.18,1.25,.4,1),opacity cubic-bezier(0,1,.4,1)}.select-choice.nav-item[_ngcontent-%COMP%]   .nav-link[data-toggle=collapse][_ngcontent-%COMP%]:after, .select-choice.nav-item[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:after{width:1rem;text-align:center;float:none;vertical-align:0;border:0;font-weight:900;content:"\\f107"!important;font-family:"Font Awesome 5 Free",serif;position:absolute;right:20px;top:30px}.select-choice[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{box-shadow:0 0 2px #0000001f,0 2px 4px #00000029;border-radius:6px!important}.select-choice.nav-item[_ngcontent-%COMP%]   .nav-link[data-toggle=collapse][_ngcontent-%COMP%]:hover:before, .select-choice.nav-item[_ngcontent-%COMP%]   .nav-link[data-toggle=collapse][_ngcontent-%COMP%]:hover:after{color:#2ed06e}.select-choice.nav-item[_ngcontent-%COMP%]   .nav-link[data-toggle=collapse][_ngcontent-%COMP%]:before, .select-choice.nav-item[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:before{width:1rem;text-align:center;float:none;vertical-align:0;border:0;font-weight:900;content:"\\f106"!important;font-family:"Font Awesome 5 Free",serif;position:absolute;right:0}.topnav[_ngcontent-%COMP%]{position:fixed;top:0;right:0;left:0;z-index:1036}@media (max-width: 767px){.reverse[_ngcontent-%COMP%]{flex-direction:column-reverse}.select-choice[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:none!important}.select-choice[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{display:block!important}.dashboard-services[_ngcontent-%COMP%]   .service-btn-wrapper[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin-bottom:10px}}@media (max-width: 575px){.bg-login-image.full-height[_ngcontent-%COMP%]{height:75vh}}@media (min-width: 576px) and (max-width: 767px){.bg-login-image.full-height[_ngcontent-%COMP%]{height:75vh}}@media (min-width: 768px) and (max-width: 991px){.bg-login-image.full-height[_ngcontent-%COMP%]{height:70vh;background-position:top}.reverse[_ngcontent-%COMP%]{flex-direction:column-reverse}}@media (min-width: 992px) and (max-width: 1199px){.default-button[_ngcontent-%COMP%]{background:#fff;color:#2ed06e;padding:5px 10px;font-size:14px;font-family:averta-semibold,serif;border:1px solid #e3e3e3}}@media (min-width: 1200px){.get-started[_ngcontent-%COMP%]{margin-right:65px}}.navbar[_ngcontent-%COMP%]{padding:0!important;border-bottom:1px solid #e3e3e3}.navbar[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]{padding:7px;position:relative}.navbar[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]:last-child{padding:9px;align-self:center}.notification-bell[_ngcontent-%COMP%]{width:32px}.img-flag[_ngcontent-%COMP%]{margin-right:10px;width:18px;height:18px}.user-dropdown[_ngcontent-%COMP%]{line-height:.8}.navbar[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]   a.nav-link[_ngcontent-%COMP%]{color:#222;font-family:Montserrat-Regular,serif;font-size:14px;font-weight:600}.nav-item[_ngcontent-%COMP%]   .profile[_ngcontent-%COMP%]{line-height:1}#profileDropdown[_ngcontent-%COMP%]{border:1px solid #F1F1F1;padding:5px 10px!important;border-radius:6px;width:151px;height:35px}.profile-image[_ngcontent-%COMP%]{width:31px}.user-text[_ngcontent-%COMP%]{font-family:Montserrat-Regular,serif;font-size:14px;font-weight:500;line-height:17px;letter-spacing:0px;text-align:left;color:#545454}ul.navbar-nav[_ngcontent-%COMP%]{margin-right:34px}.manageprofile[_ngcontent-%COMP%]{color:#484848}.navbar[_ngcontent-%COMP%]   .btn-top-menu[_ngcontent-%COMP%]{font-size:1.6rem;border:0;color:#05e386;padding:6px 14px}.img-profile[_ngcontent-%COMP%]{width:40px;height:40px;background:#05e386}.custom-switch-outer[_ngcontent-%COMP%]{border:1px solid #e1e3e5;border-radius:20px;height:32px;display:flex;align-items:center;padding:15px}.custom-switch-outer[_ngcontent-%COMP%]   .custom-control-label[_ngcontent-%COMP%]{margin-top:3px;color:#193367!important;font-family:Montserrat-Regular,serif}.custom-switch-outer[_ngcontent-%COMP%]   .custom-control-label[_ngcontent-%COMP%]:before{left:-2.35rem;width:2rem;top:.08rem;background:#ff653b;border:none}
1.custom-switch-outer[_ngcontent-%COMP%]   .go-live[_ngcontent-%COMP%]{color:#ff653b!important}.custom-switch-outer[_ngcontent-%COMP%]   .custom-control-label[_ngcontent-%COMP%]:after{left:calc(-2.525rem + 2px);width:calc(1.35rem - 4px);height:calc(1.35rem - 4px);background:linear-gradient(180deg,#fff,#f3f3f5);box-shadow:0 2px 4px #191c1f3d;border-radius:.5rem;transition:transform .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;top:-.025rem}.custom-switch-outer[_ngcontent-%COMP%]   input#customSwitches[_ngcontent-%COMP%]:checked + .custom-control-label[_ngcontent-%COMP%]:before{background:#193367}.custom-switch-outer[_ngcontent-%COMP%]   .custom-control-input[_ngcontent-%COMP%]:checked ~ .custom-control-label[_ngcontent-%COMP%]:after{left:calc(-2.525rem + 5px);background-color:#193367}.custom-switch-outer[_ngcontent-%COMP%]   .custom-control-input[_ngcontent-%COMP%]:focus ~ .custom-control-label[_ngcontent-%COMP%]:before{box-shadow:none;background-color:#ccc}.dropdown-toggle.profile[_ngcontent-%COMP%]:after{display:none}.mobile-top-nav[_ngcontent-%COMP%]{width:100vw;display:none}.navbar-expand-lg[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]{max-height:56px}@media (min-width: 0px) and (max-width: 991px){.topnav.ml-17rem[_ngcontent-%COMP%]{margin-left:0!important}.navbar[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]:last-child{padding:0!important;align-self:center}.mobile-top-nav[_ngcontent-%COMP%]{display:flex;flex-direction:row}.mobile-top-nav[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]{padding:0;border-right:0}.navbar-nav[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{position:absolute}}.brand-logo[_ngcontent-%COMP%]{max-height:30px;margin-bottom:10px}.navbar-nav.ml-auto[_ngcontent-%COMP%]{align-items:center!important}.ml-17rem[_ngcontent-%COMP%]{margin-left:17rem!important}.online-dot[_ngcontent-%COMP%]{position:absolute;top:14px;right:20px}.btn-quick-actions[_ngcontent-%COMP%]{color:#fff!important;background-color:#193367!important;font-size:14px!important;border-radius:25px!important;font-family:Montserrat,serif;width:140px;height:35px}']})}}return e})();function tw(e){return new w(3e3,!1)}function Lo(e){switch(e.length){case 0:return new Nu;case 1:return e[0];default:return new A_(e)}}function nw(e,t,n=new Map,r=new Map){const i=[],o=[];let s=-1,a=null;if(t.forEach(c=>{const l=c.get("offset"),u=l==s,d=u&&a||new Map;c.forEach((f,h)=>{let p=h,m=f;if("offset"!==h)switch(p=e.normalizePropertyName(p,i),m){case"!":m=n.get(h);break;case oo:m=r.get(h);break;default:m=e.normalizeStyleValue(h,p,m,i)}d.set(p,m)}),u||o.push(d),a=d,s=l}),i.length)throw function Vq(){return new w(3502,!1)}();return o}function x4(e,t,n,r){switch(t){case"start":e.onStart(()=>r(n&&k4(n,"start",e)));break;case"done":e.onDone(()=>r(n&&k4(n,"done",e)));break;case"destroy":e.onDestroy(()=>r(n&&k4(n,"destroy",e)))}}function k4(e,t,n){const o=R4(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,n.totalTime??e.totalTime,!!n.disabled),s=e._data;return null!=s&&(o._data=s),o}function R4(e,t,n,r,i="",o=0,s){return{element:e,triggerName:t,fromState:n,toState:r,phaseName:i,totalTime:o,disabled:!!s}}function Ar(e,t,n){let r=e.get(t);return r||e.set(t,r=n),r}function rw(e){const t=e.indexOf(":");return[e.substring(1,t),e.slice(t+1)]}const Xq=typeof document>"u"?null:document.documentElement;function O4(e){const t=e.parentNode||e.host||null;return t===Xq?null:t}let ks=null,iw=!1;function ow(e,t){for(;t;){if(t===e)return!0;t=O4(t)}return!1}function sw(e,t,n){if(n)return Array.from(e.querySelectorAll(t));const r=e.querySelector(t);return r?[r]:[]}let N4=(()=>{class e{validateStyleProperty(n){return function eJ(e){ks||(ks=function tJ(){return typeof document<"u"?document.body:null}()||{},iw=!!ks.style&&"WebkitAppearance"in ks.style);let t=!0;return ks.style&&!function $q(e){return"ebkit"==e.substring(1,6)}(e)&&(t=e in ks.style,!t&&iw&&(t="Webkit"+e.charAt(0).toUpperCase()+e.slice(1)in ks.style)),t}(n)}containsElement(n,r){return ow(n,r)}getParentElement(n){return O4(n)}query(n,r,i){return sw(n,r,i)}computeStyle(n,r,i){return i||""}animate(n,r,i,o,s,a=[],c){return new Nu(i,o)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=F({token:e,factory:e.\u0275fac})}}return e})();class L4{static{this.NOOP=new N4}}class P4{}const rJ=1e3,F4="ng-enter",y5="ng-leave",A5="ng-trigger",b5=".ng-trigger",cw="ng-animating",B4=".ng-animating";function ao(e){if("number"==typeof e)return e;const t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:H4(parseFloat(t[1]),t[2])}function H4(e,t){return"s"===t?e*rJ:e}
vendor: 4,109 bytes, line 1
1function E5(e,t,n){return e.hasOwnProperty("duration")?e:function oJ(e,t,n){let i,o=0,s="";if("string"==typeof e){const a=e.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return t.push(tw()),{duration:0,delay:0,easing:""};i=H4(parseFloat(a[1]),a[2]);const c=a[3];null!=c&&(o=H4(parseFloat(c),a[4]));const l=a[5];l&&(s=l)}else i=e;if(!n){let a=!1,c=t.length;i<0&&(t.push(function vq(){return new w(3100,!1)}()),a=!0),o<0&&(t.push(function yq(){return new w(3101,!1)}()),a=!0),a&&t.splice(c,0,tw())}return{duration:i,delay:o,easing:s}}(e,t,n)}function Pi(e,t,n){t.forEach((r,i)=>{const o=U4(i);n&&!n.has(i)&&n.set(i,e.style[o]),e.style[o]=r})}function Rs(e,t){t.forEach((n,r)=>{const i=U4(r);e.style[i]=""})}function Vu(e){return Array.isArray(e)?1==e.length?e[0]:C_(e):e}const V4=new RegExp("{{\\s*(.+?)\\s*}}","g");function uw(e){let t=[];if("string"==typeof e){let n;for(;n=V4.exec(e);)t.push(n[1]);V4.lastIndex=0}return t}function Uu(e,t,n){const r=`${e}`,i=r.replace(V4,(o,s)=>{let a=t[s];return null==a&&(n.push(function bq(){return new w(3003,!1)}()),a=""),a.toString()});return i==r?e:i}const cJ=/-+([a-z0-9])/g;function U4(e){return e.replace(cJ,(...t)=>t[1].toUpperCase())}function br(e,t,n){switch(t.type){case fe.Trigger:return e.visitTrigger(t,n);case fe.State:return e.visitState(t,n);case fe.Transition:return e.visitTransition(t,n);case fe.Sequence:return e.visitSequence(t,n);case fe.Group:return e.visitGroup(t,n);case fe.Animate:return e.visitAnimate(t,n);case fe.Keyframes:return e.visitKeyframes(t,n);case fe.Style:return e.visitStyle(t,n);case fe.Reference:return e.visitReference(t,n);case fe.AnimateChild:return e.visitAnimateChild(t,n);case fe.AnimateRef:return e.visitAnimateRef(t,n);case fe.Query:return e.visitQuery(t,n);case fe.Stagger:return e.visitStagger(t,n);default:throw function Eq(){return new w(3004,!1)}()}}function j4(e,t){return window.getComputedStyle(e)[t]}const dJ=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class dw extends P4{normalizePropertyName(t,n){return U4(t)}normalizeStyleValue(t,n,r,i){let o="";const s=r.toString().trim();if(dJ.has(n)&&0!==r&&"0"!==r)if("number"==typeof r)o="px";else{const a=r.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&i.push(function _q(){return new w(3005,!1)}())}return s+o}}const _5="*";const w5=new Set(["true","1"]),I5=new Set(["false","0"]);function fw(e,t){const n=w5.has(e)||I5.has(e),r=w5.has(t)||I5.has(t);return(i,o)=>{let s=e==_5||e==i,a=t==_5||t==o;return!s&&n&&"boolean"==typeof i&&(s=i?w5.has(e):I5.has(e)),!a&&r&&"boolean"==typeof o&&(a=o?w5.has(t):I5.has(t)),s&&a}}const gJ=new RegExp("s*:selfs*,?","g");function Q4(e,t,n,r){return new mJ(e).build(t,n,r)}class mJ{constructor(t){this._driver=t}build(t,n,r){const i=new yJ(n);return this._resetContextStyleTimingState(i),br(this,Vu(t),i)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles=new Map,t.collectedStyles.set("",new Map),t.currentTime=0}visitTrigger(t,n){let r=n.queryCount=0,i=n.depCount=0;const o=[],s=[];return"@"==t.name.charAt(0)&&n.errors.push(function wq(){return new w(3006,!1)}()),t.definitions.forEach(a=>{if(this._resetContextStyleTimingState(n),a.type==fe.State){const c=a,l=c.name;l.toString().split(/\s*,\s*/).forEach(u=>{c.name=u,o.push(this.visitState(c,n))}),c.name=l}else if(a.type==fe.Transition){const c=this.visitTransition(a,n);r+=c.queryCount,i+=c.depCount,s.push(c)}else n.errors.push(function Iq(){return new w(3007,!1)}())}),{type:fe.Trigger,name:t.name,states:o,transitions:s,queryCount:r,depCount:i,options:null}}visitState(t,n){const r=this.visitStyle(t.styles,n),i=t.options&&t.options.params||null;if(r.containsDynamicStyles){const o=new Set,s=i||{};r.styles.forEach(a=>{a instanceof Map&&a.forEach(c=>
1{uw(c).forEach(l=>{s.hasOwnProperty(l)||o.add(l)})})}),o.size&&n.errors.push(function Sq(){return new w(3008,!1)}(0,o.values()))}return{type:fe.State,name:t.name,style:r,options:i?{params:i}:null}}visitTransition(t,n){n.queryCount=0,n.depCount=0;const r=br(this,Vu(t.animation),n),i=function fJ(e,t){const n=[];return"string"==typeof e?e.split(/\s*,\s*/).forEach(r=>function hJ(e,t,n){if(":"==e[0]){const c=function pJ(e,t){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(n,r)=>parseFloat(r)>parseFloat(n);case":decrement":return(n,r)=>parseFloat(r)<parseFloat(n);default:return t.push(function Pq(){return new w(3016,!1)}()),"* => *"}}(e,n);if("function"==typeof c)return void t.push(c);e=c}const r=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return n.push(function Lq(){return new w(3015,!1)}()),t;const i=r[1],o=r[2],s=r[3];t.push(fw(i,s)),"<"==o[0]&&(i!=_5||s!=_5)&&t.push(fw(s,i))}(r,n,t)):n.push(e),n}(t.expr,n.errors);return{type:fe.Transition,matchers:i,animation:r,queryCount:n.queryCount,depCount:n.depCount,options:Os(t.options)}}visitSequence(t,n){return{type:fe.Sequence,steps:t.steps.map(r=>br(this,r,n)),options:Os(t.options)}}visitGroup(t,n){const r=n.currentTime;let i=0;const o=t.steps.map(s=>{n.currentTime=r;const a=br(this,s,n);return i=Math.max(i,n.currentTime),a});return n.currentTime=i,{type:fe.Group,steps:o,options:Os(t.options)}}visitAnimate(t,n){const r=function bJ(e,t){if(e.hasOwnProperty("duration"))return e;if("number"==typeof e)return z4(E5(e,t).duration,0,"");const n=e;if(n.split(/\s+/).some(o=>"{"==o.charAt(0)&&"{"==o.charAt(1))){const o=z4(0,0,"");return o.dynamic=!0,o.strValue=n,o}const i=E5(n,t);return z4(i.duration,i.delay,i.easing)}(t.timings,n.errors);n.currentAnimateTimings=r;let i,o=t.styles?t.styles:ii({});if(o.type==fe.Keyframes)i=this.visitKeyframes(o,n);else{let s=t.styles,a=!1;if(!s){a=!0;const l={};r.easing&&(l.easing=r.easing),s=ii(l)}n.currentTime+=r.duration+r.delay;const c=this.visitStyle(s,n);c.isEmptyStep=a,i=c}return n.currentAnimateTimings=null,{type:fe.Animate,timings:r,style:i,options:null}}visitStyle(t,n){const r=this._makeStyleAst(t,n);return this._validateStyleAst(r,n),r}_makeStyleAst(t,n){const r=[],i=Array.isArray(t.styles)?t.styles:[t.styles];for(let a of i)"string"==typeof a?a===oo?r.push(a):n.errors.push(new w(3002,!1)):r.push(new Map(Object.entries(a)));let o=!1,s=null;return r.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(s=a.get("easing"),a.delete("easing")),!o))for(let c of a.values())if(c.toString().indexOf("{{")>=0){o=!0;break}}),{type:fe.Style,styles:r,easing:s,offset:t.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(t,n){const r=n.currentAnimateTimings;let i=n.currentTime,o=n.currentTime;r&&o>0&&(o-=r.duration+r.delay),t.styles.forEach(s=>{"string"!=typeof s&&s.forEach((a,c)=>{const l=n.collectedStyles.get(n.currentQuerySelector),u=l.get(c);let d=!0;u&&(o!=i&&o>=u.startTime&&i<=u.endTime&&(n.errors.push(function Tq(){return new w(3010,!1)}()),d=!1),o=u.startTime),d&&l.set(c,{startTime:o,endTime:i}),n.options&&function aJ(e,t,n){const r=t.params||{},i=uw(e);i.length&&i.forEach(o=>{r.hasOwnProperty(o)||n.push(function Aq(){return new w(3001,!1)}())})}(a,n.options,n.errors)})})}visitKeyframes(t,n){const r={type:fe.Keyframes,styles:[],options:null};if(!n.currentAnimateTimings)return n.errors.push(function Mq(){return new w(3011,!1)}()),r;let o=0;const s=[];let a=!1,c=!1,l=0;const u=t.steps.map(v=>{const y=this._makeStyleAst(v,n);let S=null!=y.offset?y.offset:function AJ(e){if("string"==typeof e)return null;let t=null;if(Array.isArray(e))e.forEach(n=>{if(n instanceof Map&&n.has("offset")){const r=n;t=parseFloat(r.get("offset")),r.delete("offset")}});else if(e instanceof Map&&e.has("offset")){const n=e;t=parseFloat(n.get("offset")),n.delete("offset")}return t}(y.styles),N=0;return null!=S&&(o++,N=y.offset=S),c=c||N<0||N>1,a=a||N<l,l=N,s.push(N),y});c&&n.errors.push(function xq(){return new w(3012,!1)}()),a&&n.errors.push(function kq(){return new w(3200,!1)}());const d=t.steps.length;let f=0;o>0&&o<d?n.errors.push(function Rq(){return new w(3202,!1)}()):0==o&&(f=1/(d-1));const h=d-1,p=n.currentTime,m=n.currentAnimateTimings,C=m.duration;return u.forEach((v,y)=>{const S=f>0?y==h?1:f*y:s[y],N=S*C;
vendor: 12,542 bytes, line 1
1n.currentTime=p+m.delay+N,m.duration=N,this._validateStyleAst(v,n),v.offset=S,r.styles.push(v)}),r}visitReference(t,n){return{type:fe.Reference,animation:br(this,Vu(t.animation),n),options:Os(t.options)}}visitAnimateChild(t,n){return n.depCount++,{type:fe.AnimateChild,options:Os(t.options)}}visitAnimateRef(t,n){return{type:fe.AnimateRef,animation:this.visitReference(t.animation,n),options:Os(t.options)}}visitQuery(t,n){const r=n.currentQuerySelector,i=t.options||{};n.queryCount++,n.currentQuery=t;const[o,s]=function CJ(e){const t=!!e.split(/\s*,\s*/).find(n=>":self"==n);return t&&(e=e.replace(gJ,"")),e=e.replace(/@\*/g,b5).replace(/@\w+/g,n=>b5+"-"+n.slice(1)).replace(/:animating/g,B4),[e,t]}(t.selector);n.currentQuerySelector=r.length?r+" "+o:o,Ar(n.collectedStyles,n.currentQuerySelector,new Map);const a=br(this,Vu(t.animation),n);return n.currentQuery=null,n.currentQuerySelector=r,{type:fe.Query,selector:o,limit:i.limit||0,optional:!!i.optional,includeSelf:s,animation:a,originalSelector:t.selector,options:Os(t.options)}}visitStagger(t,n){n.currentQuery||n.errors.push(function Oq(){return new w(3013,!1)}());const r="full"===t.timings?{duration:0,delay:0,easing:"full"}:E5(t.timings,n.errors,!0);return{type:fe.Stagger,animation:br(this,Vu(t.animation),n),timings:r,options:null}}}class yJ{constructor(t){this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function Os(e){return e?(e={...e}).params&&(e.params=function vJ(e){return e?{...e}:null}(e.params)):e={},e}function z4(e,t,n){return{duration:e,delay:t,easing:n}}function Z4(e,t,n,r,i,o,s=null,a=!1){return{type:1,element:e,keyframes:t,preStyleProps:n,postStyleProps:r,duration:i,delay:o,totalTime:i+o,easing:s,subTimeline:a}}class S5{constructor(){this._map=new Map}get(t){return this._map.get(t)||[]}append(t,n){let r=this._map.get(t);r||this._map.set(t,r=[]),r.push(...n)}has(t){return this._map.has(t)}clear(){this._map.clear()}}const wJ=new RegExp(":enter","g"),SJ=new RegExp(":leave","g");function G4(e,t,n,r,i,o=new Map,s=new Map,a,c,l=[]){return(new DJ).buildKeyframes(e,t,n,r,i,o,s,a,c,l)}class DJ{buildKeyframes(t,n,r,i,o,s,a,c,l,u=[]){l=l||new S5;const d=new W4(t,n,l,i,o,u,[]);d.options=c;const f=c.delay?ao(c.delay):0;d.currentTimeline.delayNextStep(f),d.currentTimeline.setStyles([s],null,d.errors,c),br(this,r,d);const h=d.timelines.filter(p=>p.containsAnimation());if(h.length&&a.size){let p;for(let m=h.length-1;m>=0;m--){const C=h[m];if(C.element===n){p=C;break}}p&&!p.allowOnlyTimelineStyles()&&p.setStyles([a],null,d.errors,c)}return h.length?h.map(p=>p.buildKeyframes()):[Z4(n,[],[],[],0,f,"",!1)]}visitTrigger(t,n){}visitState(t,n){}visitTransition(t,n){}visitAnimateChild(t,n){const r=n.subInstructions.get(n.element);if(r){const i=n.createSubContext(t.options),o=n.currentTimeline.currentTime,s=this._visitSubInstructions(r,i,i.options);o!=s&&n.transformIntoNewTimeline(s)}n.previousNode=t}visitAnimateRef(t,n){const r=n.createSubContext(t.options);r.transformIntoNewTimeline(),this._applyAnimationRefDelays([t.options,t.animation.options],n,r),this.visitReference(t.animation,r),n.transformIntoNewTimeline(r.currentTimeline.currentTime),n.previousNode=t}_applyAnimationRefDelays(t,n,r){for(const i of t){const o=i?.delay;if(o){const s="number"==typeof o?o:ao(Uu(o,i?.params??{},n.errors));r.delayNextStep(s)}}}_visitSubInstructions(t,n,r){let o=n.currentTimeline.currentTime;const s=null!=r.duration?ao(r.duration):null,a=null!=r.delay?ao(r.delay):null;return 0!==s&&t.forEach(c=>{const l=n.appendInstructionToTimeline(c,s,a);o=Math.max(o,l.duration+l.delay)}),o}visitReference(t,n){n.updateOptions(t.options,!0),br(this,t.animation,n),n.previousNode=t}visitSequence(t,n){const r=n.subContextCount;let i=n;const o=t.options;if(o&&(o.params||o.delay)&&(i=n.createSubContext(o),i.transformIntoNewTimeline(),null!=o.delay)){i.previousNode.type==fe.Style&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=D5);const s=ao(o.delay);i.delayNextStep(s)}t.steps.length&&(t.steps.forEach(s=>br(this,s,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>r&&i.transformIntoNewTimeline()),n.previousNode=t}visitGroup(t,n){const r=[];let i=n.currentTimeline.currentTime;const o=t.options&&t.options.delay?ao(t.options.delay):0;t.steps.forEach(s=>{const a=n.createSubContext(t.options);o&&a.delayNextStep(o),br(this,s,a),i=Math.max(i,a.currentTimeline.currentTime),r.push(a.currentTimeline)}),r.forEach(s=>n.currentTimeline.mergeTimelineCollectedStyles(s)),n.transformIntoNewTimeline(i),n.previousNode=t}_visitTiming(t,n){if(t.dynamic){const r=t.strValue;return E5(n.params?Uu(r,n.params,n.errors):r,n.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,n){const r=n.currentAnimateTimings=this._visitTiming(t.timings,n),i=n.currentTimeline;r.delay&&(n.incrementTime(r.delay),i.snapshotCurrentStyles());const o=t.style;o.type==fe.Keyframes?this.visitKeyframes(o,n):(n.incrementTime(r.duration),this.visitStyle(o,n),i.applyStylesToKeyframe()),n.currentAnimateTimings=null,n.previousNode=t}visitStyle(t,n){const r=n.currentTimeline,i=n.currentAnimateTimings;!i&&r.hasCurrentStyleProperties()&&r.forwardFrame();const o=i&&i.easing||t.easing;t.isEmptyStep?r.applyEmptyStep(o):r.setStyles(t.styles,o,n.errors,n.options),n.previousNode=t}visitKeyframes(t,n){const r=n.currentAnimateTimings,i=n.currentTimeline.duration,o=r.duration,a=n.createSubContext().currentTimeline;a.easing=r.easing,t.styles.forEach(c=>{a.forwardTime((c.offset||0)*o),a.setStyles(c.styles,c.easing,n.errors,n.options),a.applyStylesToKeyframe()}),n.currentTimeline.mergeTimelineCollectedStyles(a),n.transformIntoNewTimeline(i+o),n.previousNode=t}visitQuery(t,n){const r=n.currentTimeline.currentTime,i=t.options||{},o=i.delay?ao(i.delay):0;o&&(n.previousNode.type===fe.Style||0==r&&n.currentTimeline.hasCurrentStyleProperties())&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=D5);let s=r;const a=n.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!i.optional,n.errors);n.currentQueryTotal=a.length;let c=null;a.forEach((l,u)=>{n.currentQueryIndex=u;const d=n.createSubContext(t.options,l);o&&d.delayNextStep(o),l===n.element&&(c=d.currentTimeline),br(this,t.animation,d),d.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,d.currentTimeline.currentTime)}),n.currentQueryIndex=0,n.currentQueryTotal=0,n.transformIntoNewTimeline(s),c&&(n.currentTimeline.mergeTimelineCollectedStyles(c),n.currentTimeline.snapshotCurrentStyles()),n.previousNode=t}visitStagger(t,n){const r=n.parentContext,i=n.currentTimeline,o=t.timings,s=Math.abs(o.duration),a=s*(n.currentQueryTotal-1);let c=s*n.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":c=a-c;break;case"full":c=r.currentStaggerTime}const u=n.currentTimeline;c&&u.delayNextStep(c);const d=u.currentTime;br(this,t.animation,n),n.previousNode=t,r.currentStaggerTime=i.currentTime-d+(i.startTime-r.currentTimeline.startTime)}}const D5={};class W4{constructor(t,n,r,i,o,s,a,c){this._driver=t,this.element=n,this.subInstructions=r,this._enterClassName=i,this._leaveClassName=o,this.errors=s,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=D5,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=c||new T5(this._driver,n,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,n){if(!t)return;const r=t;let i=this.options;null!=r.duration&&(i.duration=ao(r.duration)),null!=r.delay&&(i.delay=ao(r.delay));const o=r.params;if(o){let s=i.params;s||(s=this.options.params={}),Object.keys(o).forEach(a=>{(!n||!s.hasOwnProperty(a))&&(s[a]=Uu(o[a],s,this.errors))})}}_copyOptions(){const t={};if(this.options){const n=this.options.params;if(n){const r=t.params={};Object.keys(n).forEach(i=>{r[i]=n[i]})}}return t}createSubContext(t=null,n,r){const i=n||this.element,o=new W4(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,r||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(t),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(t){return this.previousNode=D5,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,n,r){const i={duration:n??t.duration,delay:this.currentTimeline.currentTime+(r??0)+t.delay,easing:""},o=new TJ(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,i,t.stretchStartingKeyframe);return this.timelines.push(o),i}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,n,r,i,o,s){let a=[];if(i&&a.push(this.element),t.length>0){t=(t=t.replace(wJ,"."+this._enterClassName)).replace(SJ,"."+this._leaveClassName);let l=this._driver.query(this.element,t,1!=r);0!==r&&(l=r<0?l.slice(l.length+r,l.length):l.slice(0,r)),a.push(...l)}return!o&&0==a.length&&s.push(function Nq(){return new w(3014,!1)}()),a}}class T5{constructor(t,n,r,i){this._driver=t,this.element=n,this.startTime=r,this._elementTimelineStylesLookup=i,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(n),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(n,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(t){const n=1===this._keyframes.size&&this._pendingStyles.size;this.duration||n?(this.forwardTime(this.currentTime+t),n&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,n){return this.applyStylesToKeyframe(),new T5(this._driver,t,n||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,n){this._localTimelineStyles.set(t,n),this._globalTimelineStyles.set(t,n),this._styleSummary.set(t,{time:this.currentTime,value:n})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&this._previousKeyframe.set("easing",t);for(let[n,r]of this._globalTimelineStyles)this._backFill.set(n,r||oo),this._currentKeyframe.set(n,oo);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,n,r,i){n&&this._previousKeyframe.set("easing",n);const o=i&&i.params||{},s=function MJ(e,t){const n=new Map;let r;return e.forEach(i=>{if("*"===i){r??=t.keys();for(let o of r)n.set(o,oo)}else for(let[o,s]of i)n.set(o,s)}),n}(t,this._globalTimelineStyles);for(let[a,c]of s){const l=Uu(c,o,r);this._pendingStyles.set(a,l),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??oo),this._updateStyle(a,l)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((t,n)=>{this._currentKeyframe.set(n,t)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((t,n)=>{this._currentKeyframe.has(n)||this._currentKeyframe.set(n,t)}))}snapshotCurrentStyles(){for(let[t,n]of this._localTimelineStyles)this._pendingStyles.set(t,n),this._updateStyle(t,n)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const t=[];for(let n in this._currentKeyframe)t.push(n);return t}
1mergeTimelineCollectedStyles(t){t._styleSummary.forEach((n,r)=>{const i=this._styleSummary.get(r);(!i||n.time>i.time)&&this._updateStyle(r,n.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,n=new Set,r=1===this._keyframes.size&&0===this.duration;let i=[];this._keyframes.forEach((a,c)=>{const l=new Map([...this._backFill,...a]);l.forEach((u,d)=>{"!"===u?t.add(d):u===oo&&n.add(d)}),r||l.set("offset",c/this.duration),i.push(l)});const o=[...t.values()],s=[...n.values()];if(r){const a=i[0],c=new Map(a);a.set("offset",0),c.set("offset",1),i=[a,c]}return Z4(this.element,i,o,s,this.duration,this.startTime,this.easing,!1)}}class TJ extends T5{constructor(t,n,r,i,o,s,a=!1){super(t,n,s.delay),this.keyframes=r,this.preStyleProps=i,this.postStyleProps=o,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:n,duration:r,easing:i}=this.timings;if(this._stretchStartingKeyframe&&n){const o=[],s=r+n,a=n/s,c=new Map(t[0]);c.set("offset",0),o.push(c);const l=new Map(t[0]);l.set("offset",gw(a)),o.push(l);const u=t.length-1;for(let d=1;d<=u;d++){let f=new Map(t[d]);const h=f.get("offset");f.set("offset",gw((n+h*r)/s)),o.push(f)}r=s,n=0,i="",t=o}return Z4(this.element,t,this.preStyleProps,this.postStyleProps,r,n,i,!0)}}function gw(e,t=3){const n=Math.pow(10,t-1);return Math.round(e*n)/n}function mw(e,t,n,r,i,o,s,a,c,l,u,d,f){return{type:0,element:e,triggerName:t,isRemovalTransition:i,fromState:n,fromStyles:o,toState:r,toStyles:s,timelines:a,queriedElements:c,preStyleProps:l,postStyleProps:u,totalTime:d,errors:f}}const q4={};class Cw{constructor(t,n,r){this._triggerName=t,this.ast=n,this._stateStyles=r}match(t,n,r,i){return function xJ(e,t,n,r,i){return e.some(o=>o(t,n,r,i))}(this.ast.matchers,t,n,r,i)}buildStyles(t,n,r){let i=this._stateStyles.get("*");return void 0!==t&&(i=this._stateStyles.get(t?.toString())||i),i?i.buildStyles(n,r):new Map}build(t,n,r,i,o,s,a,c,l,u){const d=[],f=this.ast.options&&this.ast.options.params||q4,p=this.buildStyles(r,a&&a.params||q4,d),m=c&&c.params||q4,C=this.buildStyles(i,m,d),v=new Set,y=new Map,S=new Map,N="void"===i,K={params:vw(m,f),delay:this.ast.options?.delay},J=u?[]:G4(t,n,this.ast.animation,o,s,p,C,K,l,d);let R=0;return J.forEach(_e=>{R=Math.max(_e.duration+_e.delay,R)}),d.length?mw(n,this._triggerName,r,i,N,p,C,[],[],y,S,R,d):(J.forEach(_e=>{const un=_e.element,ct=Ar(y,un,new Set);_e.preStyleProps.forEach(li=>ct.add(li));const Vc=Ar(S,un,new Set);_e.postStyleProps.forEach(li=>Vc.add(li)),un!==n&&v.add(un)}),mw(n,this._triggerName,r,i,N,p,C,J,[...v.values()],y,S,R))}}function vw(e,t){const n={...t};return Object.entries(e).forEach(([r,i])=>{null!=i&&(n[r]=i)}),n}class kJ{constructor(t,n,r){this.styles=t,this.defaultParams=n,this.normalizer=r}buildStyles(t,n){const r=new Map,i=vw(t,this.defaultParams);return this.styles.styles.forEach(o=>{"string"!=typeof o&&o.forEach((s,a)=>{s&&(s=Uu(s,i,n));const c=this.normalizer.normalizePropertyName(a,n);s=this.normalizer.normalizeStyleValue(a,c,s,n),r.set(a,s)})}),r}}class OJ{constructor(t,n,r){this.name=t,this.ast=n,this._normalizer=r,this.transitionFactories=[],this.states=new Map,n.states.forEach(i=>{this.states.set(i.name,new kJ(i.style,i.options&&i.options.params||{},r))}),yw(this.states,"true","1"),yw(this.states,"false","0"),n.transitions.forEach(i=>{this.transitionFactories.push(new Cw(t,i,this.states))}),this.fallbackTransition=function NJ(e,t){return new Cw(e,{type:fe.Transition,animation:{type:fe.Sequence,steps:[],options:null},matchers:[(s,a)=>!0],options:null,queryCount:0,depCount:0},t)}(t,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,n,r,i){return this.transitionFactories.find(s=>s.match(t,n,r,i))||null}matchStyles(t,n,r){return this.fallbackTransition.buildStyles(t,n,r)}}function yw(e,t,n){e.has(t)?e.has(n)||e.set(n,e.get(t)):e.has(n)&&e.set(t,e.get(n))}const LJ=new S5;class PJ{constructor(t,n,r){this.bodyNode=t,this._driver=n,this._normalizer=r,this._animations=new Map,this._playersById=new Map,this.players=[]}register(t,n){const r=[],o=Q4(this._driver,n,r,[]);if(r.length)throw function Uq(){return new w(3503,!1)}();this._animations.set(t,o)}_buildPlayer(t,n,r){const i=t.element,o=nw(this._normalizer,t.keyframes,n,r);return this._driver.animate(i,o,t.duration,t.delay,t.easing,[],!0)}create(t,n,r={}){const i=[],o=this._animations.get(t);let s;const a=new Map;if(o?(s=G4(this._driver,n,o,F4,y5,new Map,new Map,r,LJ,i),s.forEac
vendor: 26,150 bytes, line 1
1h(u=>{const d=Ar(a,u.element,new Map);u.postStyleProps.forEach(f=>d.set(f,null))})):(i.push(function jq(){return new w(3300,!1)}()),s=[]),i.length)throw function Qq(){return new w(3504,!1)}();a.forEach((u,d)=>{u.forEach((f,h)=>{u.set(h,this._driver.computeStyle(d,h,oo))})});const l=Lo(s.map(u=>{const d=a.get(u.element);return this._buildPlayer(u,new Map,d)}));return this._playersById.set(t,l),l.onDestroy(()=>this.destroy(t)),this.players.push(l),l}destroy(t){const n=this._getPlayer(t);n.destroy(),this._playersById.delete(t);const r=this.players.indexOf(n);r>=0&&this.players.splice(r,1)}_getPlayer(t){const n=this._playersById.get(t);if(!n)throw function zq(){return new w(3301,!1)}();return n}listen(t,n,r,i){const o=R4(n,"","","");return x4(this._getPlayer(t),r,o,i),()=>{}}command(t,n,r,i){if("register"==r)return void this.register(t,i[0]);if("create"==r)return void this.create(t,n,i[0]||{});const o=this._getPlayer(t);switch(r){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(t)}}}const Aw="ng-animate-queued",J4="ng-animate-disabled",UJ=[],bw={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},jJ={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},oi="__ng_removed";class K4{get params(){return this.options.params}constructor(t,n=""){this.namespaceId=n;const r=t&&t.hasOwnProperty("value");if(this.value=function GJ(e){return e??null}(r?t.value:t),r){const{value:o,...s}=t;this.options=s}else this.options={};this.options.params||(this.options.params={})}absorbOptions(t){const n=t.params;if(n){const r=this.options.params;Object.keys(n).forEach(i=>{null==r[i]&&(r[i]=n[i])})}}}const ju="void",Y4=new K4(ju);class QJ{constructor(t,n,r){this.id=t,this.hostElement=n,this._engine=r,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,Nr(n,this._hostClassName)}listen(t,n,r,i){if(!this._triggers.has(n))throw function Zq(){return new w(3302,!1)}();if(null==r||0==r.length)throw function Gq(){return new w(3303,!1)}();if(!function WJ(e){return"start"==e||"done"==e}(r))throw function Wq(){return new w(3400,!1)}();const o=Ar(this._elementListeners,t,[]),s={name:n,phase:r,callback:i};o.push(s);const a=Ar(this._engine.statesByElement,t,new Map);return a.has(n)||(Nr(t,A5),Nr(t,A5+"-"+n),a.set(n,Y4)),()=>{this._engine.afterFlush(()=>{const c=o.indexOf(s);c>=0&&o.splice(c,1),this._triggers.has(n)||a.delete(n)})}}register(t,n){return!this._triggers.has(t)&&(this._triggers.set(t,n),!0)}_getTrigger(t){const n=this._triggers.get(t);if(!n)throw function qq(){return new w(3401,!1)}();return n}trigger(t,n,r,i=!0){const o=this._getTrigger(n),s=new X4(this.id,n,t);let a=this._engine.statesByElement.get(t);a||(Nr(t,A5),Nr(t,A5+"-"+n),this._engine.statesByElement.set(t,a=new Map));let c=a.get(n);const l=new K4(r,this.id);if(!(r&&r.hasOwnProperty("value"))&&c&&l.absorbOptions(c.options),a.set(n,l),c||(c=Y4),l.value!==ju&&c.value===l.value){if(!function KJ(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!=r.length)return!1;for(let i=0;i<n.length;i++){const o=n[i];if(!t.hasOwnProperty(o)||e[o]!==t[o])return!1}return!0}(c.params,l.params)){const m=[],C=o.matchStyles(c.value,c.params,m),v=o.matchStyles(l.value,l.params,m);m.length?this._engine.reportError(m):this._engine.afterFlush(()=>{Rs(t,C),Pi(t,v)})}return}const f=Ar(this._engine.playersByElement,t,[]);f.forEach(m=>{m.namespaceId==this.id&&m.triggerName==n&&m.queued&&m.destroy()});let h=o.matchTransition(c.value,l.value,t,l.params),p=!1;if(!h){if(!i)return;h=o.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:n,transition:h,fromState:c,toState:l,player:s,isFallbackTransition:p}),p||(Nr(t,Aw),s.onStart(()=>{yc(t,Aw)})),s.onDone(()=>{let m=this.players.indexOf(s);m>=0&&this.players.splice(m,1);const C=this._engine.playersByElement.get(t);if(C){let v=C.indexOf(s);v>=0&&C.splice(v,1)}}),this.players.push(s),f.push(s),s}deregister(t){this._triggers.delete(t),this._engine.statesByElement.forEach(n=>n.delete(t)),this._elementListeners.forEach((n,r)=>{this._elementListeners.set(r,n.filter(i=>i.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const n=this._engine.playersByElement.get(t);n&&(n.forEach(r=>r.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,n){const r=this._engine.driver.query(t,b5,!0);r.forEach(i=>{if(i[oi])return;const o=this._engine.fetchNamespacesByElement(i);o.size?o.forEach(s=>s.triggerLeaveAnimation(i,n,!1,!0)):this.clearElementCache(i)}),this._engine.afterFlushAnimationsDone(()=>r.forEach(i=>this.clearElementCache(i)))}triggerLeaveAnimation(t,n,r,i){const o=this._engine.statesByElement.get(t),s=new Map;if(o){const a=[];if(o.forEach((c,l)=>{if(s.set(l,c.value),this._triggers.has(l)){const u=this.trigger(t,l,ju,i);u&&a.push(u)}}),a.length)return this._engine.markElementAsRemoved(this.id,t,!0,n,s),r&&Lo(a).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const n=this._elementListeners.get(t),r=this._engine.statesByElement.get(t);if(n&&r){const i=new Set;n.forEach(o=>{const s=o.name;if(i.has(s))return;i.add(s);const c=this._triggers.get(s).fallbackTransition,l=r.get(s)||Y4,u=new K4(ju),d=new X4(this.id,s,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:s,transition:c,fromState:l,toState:u,player:d,isFallbackTransition:!0})})}}removeNode(t,n){const r=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,n),this.triggerLeaveAnimation(t,n,!0))return;let i=!1;if(r.totalAnimations){const o=r.players.length?r.playersByQueriedElement.get(t):[];if(o&&o.length)i=!0;else{let s=t;for(;s=s.parentNode;)if(r.statesByElement.get(s)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(t),i)r.markElementAsRemoved(this.id,t,!1,n);else{const o=t[oi];(!o||o===bw)&&(r.afterFlush(()=>this.clearElementCache(t)),r.destroyInnerAnimations(t),r._onRemovalComplete(t,n))}}insertNode(t,n){Nr(t,this._hostClassName)}drainQueuedTransitions(t){const n=[];return this._queue.forEach(r=>{const i=r.player;if(i.destroyed)return;const o=r.element,s=this._elementListeners.get(o);s&&s.forEach(a=>{if(a.name==r.triggerName){const c=R4(o,r.triggerName,r.fromState.value,r.toState.value);c._data=t,x4(r.player,a.phase,c,a.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):n.push(r)}),this._queue=[],n.sort((r,i)=>{const o=r.transition.ast.depCount,s=i.transition.ast.depCount;return 0==o||0==s?o-s:this._engine.driver.containsElement(r.element,i.element)?1:-1})}destroy(t){this.players.forEach(n=>n.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}}class zJ{_onRemovalComplete(t,n){this.onRemovalComplete(t,n)}constructor(t,n,r){this.bodyNode=t,this.driver=n,this._normalizer=r,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(i,o)=>{}}get queuedPlayers(){const t=[];return this._namespaceList.forEach(n=>{n.players.forEach(r=>{r.queued&&t.push(r)})}),t}createNamespace(t,n){const r=new QJ(t,n,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,n)?this._balanceNamespaceList(r,n):(this.newHostElements.set(n,r),this.collectEnterElement(n)),this._namespaceLookup[t]=r}_balanceNamespaceList(t,n){const r=this._namespaceList,i=this.namespacesByHostElement;if(r.length-1>=0){let s=!1,a=this.driver.getParentElement(n);for(;a;){const c=i.get(a);if(c){const l=r.indexOf(c);r.splice(l+1,0,t),s=!0;break}a=this.driver.getParentElement(a)}s||r.unshift(t)}else r.push(t);return i.set(n,t),t}register(t,n){let r=this._namespaceLookup[t];return r||(r=this.createNamespace(t,n)),r}registerTrigger(t,n,r){let i=this._namespaceLookup[t];i&&i.register(n,r)&&this.totalAnimations++}destroy(t,n){t&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const r=this._fetchNamespace(t);this.namespacesByHostElement.delete(r.hostElement);const i=this._namespaceList.indexOf(r);i>=0&&this._namespaceList.splice(i,1),r.destroy(n),delete this._namespaceLookup[t]}))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const n=new Set,r=this.statesByElement.get(t);if(r)for(let i of r.values())if(i.namespaceId){const o=this._fetchNamespace(i.namespaceId);o&&n.add(o)}return n}trigger(t,n,r,i){if(M5(n)){const o=this._fetchNamespace(t);if(o)return o.trigger(n,r,i),!0}return!1}insertNode(t,n,r,i){if(!M5(n))return;const o=n[oi];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;const s=this.collectedLeaveElements.indexOf(n);s>=0&&this.collectedLeaveElements.splice(s,1)}if(t){const s=this._fetchNamespace(t);s&&s.insertNode(n,r)}i&&this.collectEnterElement(n)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,n){n?this.disabledNodes.has(t)||(this.disabledNodes.add(t),Nr(t,J4)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),yc(t,J4))}removeNode(t,n,r){if(M5(n)){const i=t?this._fetchNamespace(t):null;i?i.removeNode(n,r):this.markElementAsRemoved(t,n,!1,r);const o=this.namespacesByHostElement.get(n);o&&o.id!==t&&o.removeNode(n,r)}else this._onRemovalComplete(n,r)}markElementAsRemoved(t,n,r,i,o){this.collectedLeaveElements.push(n),n[oi]={namespaceId:t,setForRemoval:i,hasAnimation:r,removedBeforeQueried:!1,previousTriggersValues:o}}listen(t,n,r,i,o){return M5(n)?this._fetchNamespace(t).listen(n,r,i,o):()=>{}}_buildInstruction(t,n,r,i,o){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,r,i,t.fromState.options,t.toState.options,n,o)}destroyInnerAnimations(t){let n=this.driver.query(t,b5,!0);n.forEach(r=>this.destroyActiveAnimationsForElement(r)),0!=this.playersByQueriedElement.size&&(n=this.driver.query(t,B4,!0),n.forEach(r=>this.finishActiveQueriedAnimationOnElement(r)))}destroyActiveAnimationsForElement(t){const n=this.playersByElement.get(t);n&&n.forEach(r=>{r.queued?r.markedForDestroy=!0:r.destroy()})}finishActiveQueriedAnimationOnElement(t){const n=this.playersByQueriedElement.get(t);n&&n.forEach(r=>r.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return Lo(this.players).onDone(()=>t());t()})}processLeaveNode(t){const n=t[oi];if(n&&n.setForRemoval){if(t[oi]=bw,n.namespaceId){this.destroyInnerAnimations(t);const r=this._fetchNamespace(n.namespaceId);r&&r.clearElementCache(t)}this._onRemovalComplete(t,n.setForRemoval)}t.classList?.contains(J4)&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEach(r=>{this.markElementAsDisabled(r,!1)})}flush(t=-1){let n=[];if(this.newHostElements.size&&(this.newHostElements.forEach((r,i)=>this._balanceNamespaceList(r,i)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let r=0;r<this.collectedEnterElements.length;r++)Nr(this.collectedEnterElements[r],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const r=[];try{n=this._flushAnimations(r,t)}finally{for(let i=0;i<r.length;i++)r[i]()}}else for(let r=0;r<this.collectedLeaveElements.length;r++)this.processLeaveNode(this.collectedLeaveElements[r]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(r=>r()),this._flushFns=[],this._whenQuietFns.length){const r=this._whenQuietFns;this._whenQuietFns=[],n.length?Lo(n).onDone(()=>{r.forEach(i=>i())}):r.forEach(i=>i())}}reportError(t){throw function Jq(){return new w(3402,!1)}()}_flushAnimations(t,n){const r=new S5,i=[],o=new Map,s=[],a=new Map,c=new Map,l=new Map,u=new Set;this.disabledNodes.forEach(Y=>{u.add(Y);const ne=this.driver.query(Y,".ng-animate-queued",!0);for(let oe=0;oe<ne.length;oe++)u.add(ne[oe])});const d=this.bodyNode,f=Array.from(this.statesByElement.keys()),h=ww(f,this.collectedEnterElements),p=new Map;let m=0;h.forEach((Y,ne)=>{const oe=F4+m++;p.set(ne,oe),Y.forEach(Le=>Nr(Le,oe))});const C=[],v=new Set,y=new Set;for(let Y=0;Y<this.collectedLeaveElements.length;Y++){const ne=this.collectedLeaveElements[Y],oe=ne[oi];oe&&oe.setForRemoval&&(C.push(ne),v.add(ne),oe.hasAnimation?this.driver.query(ne,".ng-star-inserted",!0).forEach(Le=>v.add(Le)):y.add(ne))}const S=new Map,N=ww(f,Array.from(v));N.forEach((Y,ne)=>{const oe=y5+m++;S.set(ne,oe),Y.forEach(Le=>Nr(Le,oe))}),t.push(()=>{h.forEach((Y,ne)=>{const oe=p.get(ne);Y.forEach(Le=>yc(Le,oe))}),N.forEach((Y,ne)=>{const oe=S.get(ne);Y.forEach(Le=>yc(Le,oe))}),C.forEach(Y=>{this.processLeaveNode(Y)})});const K=[],J=[];for(let Y=this._namespaceList.length-1;Y>=0;Y--)this._namespaceList[Y].drainQueuedTransitions(n).forEach(oe=>{const Le=oe.player,ot=oe.element;if(K.push(Le),this.collectedEnterElements.length){const Rn=ot[oi];if(Rn&&Rn.setForMove){if(Rn.previousTriggersValues&&Rn.previousTriggersValues.has(oe.triggerName)){const Ws=Rn.previousTriggersValues.get(oe.triggerName),Hr=this.statesByElement.get(oe.element);if(Hr&&Hr.has(oe.triggerName)){const f1=Hr.get(oe.triggerName);f1.value=Ws,Hr.set(oe.triggerName,f1)}}return void Le.destroy()}}const Ot=!d||!this.driver.containsElement(d,ot),Je=S.get(ot),dn=p.get(ot),ht=this._buildInstruction(oe,r,dn,Je,Ot);if(ht.errors&&ht.errors.length)return void J.push(ht);if(Ot)return Le.onStart(()=>Rs(ot,ht.fromStyles)),Le.onDestroy(()=>Pi(ot,ht.toStyles)),void i.push(Le);if(oe.isFallbackTransition)return Le.onStart(()=>Rs(ot,ht.fromStyles)),Le.onDestroy(()=>Pi(ot,ht.toStyles)),void i.push(Le);const gD=[];ht.timelines.forEach(Rn=>{Rn.stretchStartingKeyframe=!0,this.disabledNodes.has(Rn.element)||gD.push(Rn)}),ht.timelines=gD,r.append(ot,ht.timelines),s.push({instruction:ht,player:Le,element:ot}),ht.queriedElements.forEach(Rn=>Ar(a,Rn,[]).push(Le)),ht.preStyleProps.forEach((Rn,Ws)=>{if(Rn.size){let Hr=c.get(Ws);Hr||c.set(Ws,Hr=new Set),Rn.forEach((f1,$6)=>Hr.add($6))}}),ht.postStyleProps.forEach((Rn,Ws)=>{let Hr=l.get(Ws);Hr||l.set(Ws,Hr=new Set),Rn.forEach((f1,$6)=>Hr.add($6))})});if(J.length){const Y=[];J.forEach(ne=>{Y.push(function Kq(){return new w(3505,!1)}())}),K.forEach(ne=>ne.destroy()),this.reportError(Y)}const R=new Map,_e=new Map;s.forEach(Y=>{const ne=Y.element;r.has(ne)&&(_e.set(ne,ne),this._beforeAnimationBuild(Y.player.namespaceId,Y.instruction,R))}),i.forEach(Y=>{const ne=Y.element;this._getPreviousPlayers(ne,!1,Y.namespaceId,Y.triggerName,null).forEach(Le=>{Ar(R,ne,[]).push(Le),Le.destroy()})});const un=C.filter(Y=>Sw(Y,c,l)),ct=new Map;_w(ct,this.driver,y,l,oo).forEach(Y=>{Sw(Y,c,l)&&un.push(Y)});const li=new Map;h.forEach((Y,ne)=>{_w(li,this.driver,new Set(Y),c,"!")}),un.forEach(Y=>{const ne=ct.get(Y),oe=li.get(Y);ct.set(Y,new Map([...ne?.entries()??[],...oe?.entries()??[]]))});const qo=[],Uc=[],jc={};s.forEach(Y=>{const{element:ne,player:oe,instruction:Le}=Y;if(r.has(ne)){if(u.has(ne))return oe.onDestroy(()=>Pi(ne,Le.toStyles)),oe.disabled=!0,oe.overrideTotalTime(Le.totalTime),void i.push(oe);let ot=jc;if(_e.size>1){let Je=ne;const dn=[];for(;Je=Je.parentNode;){const ht=_e.get(Je);if(ht){ot=ht;break}dn.push(Je)}dn.forEach(ht=>_e.set(ht,ot))}const Ot=this._buildAnimation(oe.namespaceId,Le,R,o,li,ct);if(oe.setRealPlayer(Ot),ot===jc)qo.push(oe);else{const Je=this.playersByElement.get(ot);Je&&Je.length&&(oe.parentPlayer=Lo(Je)),i.push(oe)}}else Rs(ne,Le.fromStyles),oe.onDestroy(()=>Pi(ne,Le.toStyles)),Uc.push(oe),u.has(ne)&&i.push(oe)}),Uc.forEach(Y=>{const ne=o.get(Y.element);if(ne&&ne.length){const oe=Lo(ne);Y.setRealPlayer(oe)}}),i.forEach(Y=>{Y.parentPlayer?Y.syncPlayerEvents(Y.parentPlayer):Y.destroy()});for(let Y=0;Y<C.length;Y++){const ne=C[Y],oe=ne[oi];if(yc(ne,y5),oe&&oe.hasAnimation)continue;let Le=[];if(a.size){let Ot=a.get(ne);Ot&&Ot.length&&Le.push(...Ot);let Je=this.driver.query(ne,B4,!0);for(let dn=0;dn<Je.length;dn++){let ht=a.get(Je[dn]);ht&&ht.length&&Le.push(...ht)}}const ot=Le.filter(Ot=>!Ot.destroyed);ot.length?qJ(this,ne,ot):this.processLeaveNode(ne)}return C.length=0,qo.forEach(Y=>{this.players.push(Y),Y.onDone(()=>{Y.destroy();const ne=this.players.indexOf(Y);this.players.splice(ne,1)}),Y.play()}),qo}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,n,r,i,o){let s=[];if(n){const a=this.playersByQueriedElement.get(t);a&&(s=a)}else{const a=this.playersByElement.get(t);if(a){const c=!o||o==ju;a.forEach(l=>{l.queued||!c&&l.triggerName!=i||s.push(l)})}}return(r||i)&&(s=s.filter(a=>!(r&&r!=a.namespaceId||i&&i!=a.triggerName))),s}_beforeAnimationBuild(t,n,r){const o=n.element,s=n.isRemovalTransition?void 0:t,a=n.isRemovalTransition?void 0:n.triggerName;for(const c of n.timelines){const l=c.element,u=l!==o,d=Ar(r,l,[]);this._getPreviousPlayers(l,u,s,a,n.toState).forEach(h=>{const p=h.getRealPlayer();p.beforeDestroy&&p.beforeDestroy(),h.destroy(),d.push(h)})}Rs(o,n.fromStyles)}_buildAnimation(t,n,r,i,o,s){const a=n.triggerName,c=n.element,l=[],u=new Set,d=new Set,f=n.timelines.map(p=>{const m=p.element;u.add(m);const C=m[oi];if(C&&C.removedBeforeQueried)return new Nu(p.duration,p.delay);const v=m!==c,y=function JJ(e){const t=[];return Iw(e,t),t}((r.get(m)||UJ).map(R=>R.getRealPlayer())).filter(R=>!!R.element&&R.element===m),S=o.get(m),N=s.get(m),K=nw(this._normalizer,p.keyframes,S,N),J=this._buildPlayer(p,K,y);if(p.subTimeline&&i&&d.add(m),v){const R=new X4(t,a,m);R.setRealPlayer(J),l.push(R)}return J});l.forEach(p=>{Ar(this.playersByQueriedElement,p.element,[]).push(p),p.onDone(()=>function ZJ(e,t,n){let r=e.get(t);if(r){if(r.length){const i=r.indexOf(n);r.splice(i,1)}0==r.length&&e.delete(t)}return r}(this.playersByQueriedElement,p.element,p))}),u.forEach(p=>Nr(p,cw));const h=Lo(f);return h.onDestroy(()=>{u.forEach(p=>yc(p,cw)),Pi(c,n.toStyles)}),d.forEach(p=>{Ar(i,p,[]).push(h)}),h}_buildPlayer(t,n,r){return n.length>0?this.driver.animate(t.element,n,t.duration,t.delay,t.easing,r):new Nu(t.duration,t.delay)}}class X4{constructor(t,n,r){this.namespaceId=t,this.triggerName=n,this.element=r,this._player=new Nu,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,this._queuedCallbacks.forEach((n,r)=>{n.forEach(i=>x4(t,r,void 0,i))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){const n=this._player;n.triggerCallback&&t.onStart(()=>n.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,n){Ar(this._queuedCallbacks,t,[]).push(n)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){const n=this._player;n.triggerCallback&&n.triggerCallback(t)}}function M5(e){return e&&1===e.nodeType}function Ew(e,t){const n=e.style.display;return e.style.display=t??"none",n}function _w(e,t,n,r,i){const o=[];n.forEach(c=>o.push(Ew(c)));const s=[];r.forEach((c,l)=>{const u=new Map;c.forEach(d=>{const f=t.computeStyle(l,d,i);u.set(d,f),(!f||0==f.length)&&(l[oi]=jJ,s.push(l))}),e.set(l,u)});let a=0;return n.forEach(c=>Ew(c,o[a++])),s}function ww(e,t){const n=new Map;if(e.forEach(a=>n.set(a,[])),0==t.length)return n;const i=new Set(t),o=new Map;function s(a){if(!a)return 1;let c=o.get(a);if(c)return c;const l=a.parentNode;return c=n.has(l)?l:i.has(l)?1:s(l),o.set(a,c),c}return t.forEach(a=>{const c=s(a);1!==c&&n.get(c).push(a)}),n}function Nr(e,t){e.classList?.add(t)}function yc(e,t){e.classList?.remove(t)}function qJ(e,t,n){Lo(n).onDone(()=>e.processLeaveNode(t))}function Iw(e,t){for(let n=0;n<e.length;n++){const r=e[n];r instanceof A_?Iw(r.players,t):t.push(r)}}function Sw(e,t,n){const r=n.get(e);if(!r)return!1;let i=t.get(e);return i?r.forEach(o=>i.add(o)):t.set(e,r),n.delete(e),!0}class Qu{constructor(t,n,r){this._driver=n,this._normalizer=r,this._triggerCache={},this.onRemovalComplete=(i,o)=>{},this._transitionEngine=new zJ(t.body,n,r),this._timelineEngine=new PJ(t.body,n,r),this._transitionEngine.onRemovalComplete=(i,o)=>this.onRemovalComplete(i,o)}registerTrigger(t,n,r,i,o){const s=t+"-"+i;let a=this._triggerCache[s];if(!a){const c=[],u=Q4(this._driver,o,c,[]);if(c.length)throw function Hq(){return new w(3404,!1)}();a=function RJ(e,t,n){return new OJ(e,t,n)}(i,u,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(n,i,a)}register(t,n){this._transitionEngine.register(t,n)}destroy(t,n){this._transitionEngine.destroy(t,n)}onInsert(t,n,r,i){this._transitionEngine.insertNode(t,n,r,i)}onRemove(t,n,r){this._transitionEngine.removeNode(t,n,r)}disableAnimations(t,n){this._transitionEngine.markElementAsDisabled(t,n)}process(t,n,r,i){if("@"==r.charAt(0)){const[o,s]=rw(r);this._timelineEngine.command(o,n,s,i)}else this._transitionEngine.trigger(t,n,r,i)}listen(t,n,r,i,o){if("@"==r.charAt(0)){const[s,a]=rw(r);return this._timelineEngine.listen(s,n,a,o)}return this._transitionEngine.listen(t,n,r,i,o)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(t){this._transitionEngine.afterFlushAnimationsDone(t)}}class zu{static{this.initialStylesByElement=new WeakMap}constructor(t,n,r){this._element=t,this._startStyles=n,this._endStyles=r,this._state=0;let i=zu.initialStylesByElement.get(t);i||zu.initialStylesByElement.set(t,i=new Map),this._initialStyles=i}start(){this._state<1&&(this._startStyles&&Pi(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Pi(this._element,this._initialStyles),this._endStyles&&(Pi(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(zu.initialStylesByElement.delete(this._element),this._startStyles&&(Rs(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Rs(this._element,this._endStyles),this._endStyles=null),Pi(this._element,this._initialStyles),this._state=3)}}function $4(e){let t=null;return e.forEach((n,r)=>{(function XJ(e){return"display"===e||"position"===e})(r)&&(t=t||new Map,t.set(r,n))}),t}class Dw{constructor(t,n,r,i){this.element=t,this.keyframes=n,this.options=r,this._specialStyles=i,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=r.duration,this._delay=r.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:new Map;const n=()=>this._onFinish();this.domPlayer.addEventListener("finish",n),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",n)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(t){const n=[];return t.forEach(r=>{n.push(Object.fromEntries(r))}),n}_triggerWebAnimation(t,n,r){return t.animate(this._convertKeyframesToObject(n),r)}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}setPosition(t){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=t*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const t=new Map;this.hasStarted()&&this._finalKeyframe.forEach((r,i)=>{"offset"!==i&&t.set(i,this._finished?r:j4(this.element,i))}),this.currentSnapshot=t}triggerCallback(t){const n="start"===t?this._onStartFns:this._onDoneFns;
1n.forEach(r=>r()),n.length=0}}class Tw{validateStyleProperty(t){return!0}validateAnimatableStyleProperty(t){return!0}containsElement(t,n){return ow(t,n)}getParentElement(t){return O4(t)}query(t,n,r){return sw(t,n,r)}computeStyle(t,n,r){return j4(t,n)}animate(t,n,r,i,o,s=[]){const c={duration:r,delay:i,fill:0==i?"both":"forwards"};o&&(c.easing=o);const l=new Map,u=s.filter(h=>h instanceof Dw);(function lJ(e,t){return 0===e||0===t})(r,i)&&u.forEach(h=>{h.currentSnapshot.forEach((p,m)=>l.set(m,p))});let d=function sJ(e){return e.length?e[0]instanceof Map?e:e.map(t=>new Map(Object.entries(t))):[]}(n).map(h=>new Map(h));d=function uJ(e,t,n){if(n.size&&t.length){let r=t[0],i=[];if(n.forEach((o,s)=>{r.has(s)||i.push(s),r.set(s,o)}),i.length)for(let o=1;o<t.length;o++){let s=t[o];i.forEach(a=>s.set(a,j4(e,a)))}}return t}(t,d,l);const f=function YJ(e,t){let n=null,r=null;return Array.isArray(t)&&t.length?(n=$4(t[0]),t.length>1&&(r=$4(t[t.length-1]))):t instanceof Map&&(n=$4(t)),n||r?new zu(e,n,r):null}(t,d);return new Dw(t,d,c,f)}}const Mw="@.disabled";class xw{constructor(t,n,r,i){this.namespaceId=t,this.delegate=n,this.engine=r,this._onDestroy=i,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(t){this.delegate.destroyNode?.(t)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(t,n){return this.delegate.createElement(t,n)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,n){this.delegate.appendChild(t,n),this.engine.onInsert(this.namespaceId,n,t,!1)}insertBefore(t,n,r,i=!0){this.delegate.insertBefore(t,n,r),this.engine.onInsert(this.namespaceId,n,t,i)}removeChild(t,n,r){this.parentNode(n)&&this.engine.onRemove(this.namespaceId,n,this.delegate)}selectRootElement(t,n){return this.delegate.selectRootElement(t,n)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,n,r,i){this.delegate.setAttribute(t,n,r,i)}removeAttribute(t,n,r){this.delegate.removeAttribute(t,n,r)}addClass(t,n){this.delegate.addClass(t,n)}removeClass(t,n){this.delegate.removeClass(t,n)}setStyle(t,n,r,i){this.delegate.setStyle(t,n,r,i)}removeStyle(t,n,r){this.delegate.removeStyle(t,n,r)}setProperty(t,n,r){"@"==n.charAt(0)&&n==Mw?this.disableAnimations(t,!!r):this.delegate.setProperty(t,n,r)}setValue(t,n){this.delegate.setValue(t,n)}listen(t,n,r){return this.delegate.listen(t,n,r)}disableAnimations(t,n){this.engine.disableAnimations(t,n)}}class $J extends xw{constructor(t,n,r,i,o){super(n,r,i,o),this.factory=t,this.namespaceId=n}setProperty(t,n,r){"@"==n.charAt(0)?"."==n.charAt(1)&&n==Mw?this.disableAnimations(t,r=void 0===r||!!r):this.engine.process(this.namespaceId,t,n.slice(1),r):this.delegate.setProperty(t,n,r)}listen(t,n,r){if("@"==n.charAt(0)){const i=function eK(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(t);let o=n.slice(1),s="";return"@"!=o.charAt(0)&&([o,s]=function tK(e){const t=e.indexOf(".");return[e.substring(0,t),e.slice(t+1)]}(o)),this.engine.listen(this.namespaceId,i,o,s,a=>{this.factory.scheduleListenerCallback(a._data||-1,r,a)})}return this.delegate.listen(t,n,r)}}class nK{constructor(t,n,r){this.delegate=t,this.engine=n,this._zone=r,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,n.onRemovalComplete=(i,o)=>{o?.removeChild(null,i)}}createRenderer(t,n){const i=this.delegate.createRenderer(t,n);if(!t||!n?.data?.animation){const l=this._rendererCache;let u=l.get(i);return u||(u=new xw("",i,this.engine,()=>l.delete(i)),l.set(i,u)),u}const o=n.id,s=n.id+"-"+this._currentId;this._currentId++,this.engine.register(s,t);const a=l=>{Array.isArray(l)?l.forEach(a):this.engine.registerTrigger(o,s,t,l.name,l)};return n.data.animation.forEach(a),new $J(this,s,i,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(t,n,r){if(t>=0&&t<this._microtaskId)return void this._zone.run(()=>n(r));const i=this._animationCallbacksBuffer;0==i.length&&queueMicrotask(()=>{this._zone.run(()=>
1{i.forEach(o=>{const[s,a]=o;s(a)}),this._animationCallbacksBuffer=[]})}),i.push([n,r])}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}const kw=[{provide:P4,useFactory:function iK(){return new dw}},{provide:Qu,useClass:(()=>{class e extends Qu{constructor(n,r,i){super(n,r,i)}ngOnDestroy(){this.flush()}static{this.\u0275fac=function(r){return new(r||e)(B(Pt),B(L4),B(P4))}}static{this.\u0275prov=F({token:e,factory:e.\u0275fac})}}return e})()},{provide:hs,useFactory:function oK(e,t,n){return new nK(e,t,n)},deps:[w2,Qu,Oe]}],e6=[{provide:L4,useFactory:()=>new Tw},{provide:Rp,useValue:"BrowserAnimations"},...kw],Rw=[{provide:L4,useClass:N4},{provide:Rp,useValue:"NoopAnimations"},...kw];let sK=(()=>{class e{static withConfig(n){return{ngModule:e,providers:n.disableAnimations?Rw:e6}}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275mod=Gn({type:e})}static{this.\u0275inj=On({providers:e6,imports:[sb]})}}return e})(),aK=(()=>{class e{static forRoot(){return{ngModule:e,providers:[vc,Bu]}}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275mod=Gn({type:e})}static{this.\u0275inj=On({imports:[uu]})}}return e})(),cK=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275mod=Gn({type:e,bootstrap:[Cq]})}static{this.\u0275inj=On({providers:[I_,{provide:"Window",useValue:window},lG(Ts(No.LegacyInterceptors,[{provide:o_,useFactory:XZ},{provide:ku,useExisting:o_,multi:!0}]))],imports:[aK.forRoot(),sb,sK,EZ,rq.forRoot(),uq.forRoot(),uu,s4,$G.forRoot({maxOpened:1,preventDuplicates:!0,autoDismiss:!0}),XW.forRoot()]})}}return e})();var k5={log:"log",debug:"debug",info:"info",warn:"warn",error:"error"},co=console,Ac={};Object.keys(k5).forEach(function(e){Ac[e]=co[e]});var Zu="Datadog Browser SDK:",$e={debug:Ac.debug.bind(co,Zu),log:Ac.log.bind(co,Zu),info:Ac.info.bind(co,Zu),warn:Ac.warn.bind(co,Zu),error:Ac.error.bind(co,Zu)},R5="https://docs.datadoghq.com",Ow="".concat(R5,"/real_user_monitoring/browser/troubleshooting"),O5="More details:";function Nw(e,t){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];try{return e.apply(void 0,n)}catch(i){$e.error(t,i)}}}var Gu,lK=function(e,t,n){if(n||2===arguments.length)for(var o,r=0,i=t.length;r<i;r++)(o||!(r in t))&&(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);return e.concat(o||Array.prototype.slice.call(t))},t6=!1;function dK(e){t6=e}function pe(e){return function(){return Ns(e,this,arguments)}}function Ns(e,t,n){try{return e.apply(t,n)}catch(r){if(n6(r),Gu)try{Gu(r)}catch(i){n6(i)}}}function n6(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];t6&&$e.error.apply($e,lK(["[MONITOR]"],e,!1))}function Lr(e,t){return-1!==e.indexOf(t)}function r6(e){if(Array.from)return Array.from(e);var t=[];if(e instanceof Set)e.forEach(function(r){return t.push(r)});else for(var n=0;n<e.length;n++)t.push(e[n]);return t}function Po(e,t){for(var n=0;n<e.length;n+=1){var r=e[n];if(t(r,n))return r}}function Lw(e){return Object.keys(e).map(function(t){return e[t]})}function i6(e){return Object.keys(e).map(function(t){return[t,e[t]]})}function Wu(e,t){return e.slice(0,t.length)===t}function ye(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.forEach(function(r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}),e}function Fo(){if("object"==typeof globalThis)return globalThis;Object.defineProperty(Object.prototype,"_dd_temp_",{get:function(){return this},configurable:!0});var e=_dd_temp_;return delete Object.prototype._dd_temp_,"object"!=typeof e&&(e="object"==typeof self?self:"object"==typeof window?window:{}),e}var Bo=1024,Pw=1024*Bo,CK=/[^\u0000-\u007F]/;function o6(e){return CK.test(e)?void 0!==window.TextEncoder?(new TextEncoder).encode(e).length:new Blob([e]).size:e.length}function Ho(e,t){var r,n=Fo();return n.Zone&&"function"==typeof n.Zone.__symbol__&&(r=e[n.Zone.__symbol__(t)]),r||(r=e[t]),r}function An(e,t){return Ho(Fo(),"setTimeout")(pe(e),t)}function Er(e){Ho(Fo(),"clearTimeout")(e)}function bc(e,t){return Ho(Fo(),"setInterval")(pe(e),t)}function qu(e){Ho(Fo(),"clearInterval")(e)}function lo(e,t,n){var s,a,r=!n||void 0===n.leading||n.leading,i=!n||void 0===n.trailing||n.trailing,o=!1;return{throttled:function(){for(var c=[],l=0;l<arguments.length;l++)c[l]=arguments[l];o?s=c:(r?e.apply(void 0,c):s=c,o=!0,a=An(function(){i&&s&&e.apply(void 0,s),o=!1,s=void 0},t))},cancel:function(){Er(a),o=!1,s=void 0}}}function it(){}function Ls(e,t,n){if("object"!=typeof e||null===e)return JSON.stringify(e);var r=Ec(Object.prototype),i=Ec(Array.prototype),o=Ec(Object.getPrototypeOf(e)),s=Ec(e);
1try{return JSON.stringify(e,t,n)}catch{return"<error: unable to serialize object>"}finally{r(),i(),o(),s()}}function Ec(e){var t=e,n=t.toJSON;return n?(delete t.toJSON,function(){t.toJSON=n}):it}function Ju(e){return ye({},e)}function N5(e,t){return Object.keys(e).some(function(n){return e[n]===t})}function Ps(e){return 0===Object.keys(e).length}var AK=3*Bo,bK=16*Bo,EK=200;function Fw(e){var t=0,n=lo(function(s){t=o6(Ls(s)),e()},EK),r=n.throttled,i=n.cancel,o=function(){i(),t=0};return{updateCustomerData:function(s){Ps(s)?o():r(s)},resetCustomerData:o,getBytesCount:function(){return t},stop:function(){i()}}}function Vo(e){return null===e?"null":Array.isArray(e)?"array":typeof e}function L5(e,t,n){if(void 0===n&&(n=function IK(){if(typeof WeakSet<"u"){var e=new WeakSet;return{hasAlreadyBeenSeen:function(n){var r=e.has(n);return r||e.add(n),r}}}var t=[];return{hasAlreadyBeenSeen:function(n){var r=t.indexOf(n)>=0;return r||t.push(n),r}}}()),void 0===t)return e;if("object"!=typeof t||null===t)return t;if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){var r=t.flags||[t.global?"g":"",t.ignoreCase?"i":"",t.multiline?"m":"",t.sticky?"y":"",t.unicode?"u":""].join("");return new RegExp(t.source,r)}if(!n.hasAlreadyBeenSeen(t)){if(Array.isArray(t)){for(var i=Array.isArray(e)?e:[],o=0;o<t.length;++o)i[o]=L5(i[o],t[o],n);return i}var s="object"===Vo(e)?e:{};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(s[a]=L5(s[a],t[a],n));return s}}function s6(e){return L5(void 0,e)}function Fi(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,r=0,i=e;r<i.length;r++){var o=i[r];null!=o&&(n=L5(n,o))}return n}var SK=220*Bo,DK="$",TK=3;function jt(e,t){void 0===t&&(t=SK);var n=Ec(Object.prototype),r=Ec(Array.prototype),i=[],o=new WeakMap,s=a6(e,DK,void 0,i,o),a=JSON.stringify(s),c=a?a.length:0;if(!(c>t)){for(;i.length>0&&c<t;){var l=i.shift(),u=0;if(Array.isArray(l.source))for(var d=0;d<l.source.length;d++){if(c+=void 0!==(f=a6(l.source[d],l.path,d,i,o))?JSON.stringify(f).length:4,c+=u,u=1,c>t){c6(t,"truncated",e);break}l.target[d]=f}else for(var d in l.source)if(Object.prototype.hasOwnProperty.call(l.source,d)){var f;if(void 0!==(f=a6(l.source[d],l.path,d,i,o))&&(c+=JSON.stringify(f).length+u+d.length+TK,u=1),c>t){c6(t,"truncated",e);break}l.target[d]=f}}return n(),r(),s}c6(t,"discarded",e)}function a6(e,t,n,r,i){var o=function kK(e){var t=e;if(t&&"function"==typeof t.toJSON)try{return t.toJSON()}catch{}return e}(e);if(!o||"object"!=typeof o)return function MK(e){return"bigint"==typeof e?"[BigInt] ".concat(e.toString()):"function"==typeof e?"[Function] ".concat(e.name||"unknown"):"symbol"==typeof e?"[Symbol] ".concat(e.description||e.toString()):e}(o);var s=function xK(e){try{if(e instanceof Event)return{isTrusted:e.isTrusted};var n=Object.prototype.toString.call(e).match(/\[object (.*)\]/);if(n&&n[1])return"[".concat(n[1],"]")}catch{}return"[Unserializable]"}(o);if("[Object]"!==s&&"[Array]"!==s&&"[Error]"!==s)return s;var a=e;if(i.has(a))return"[Reference seen at ".concat(i.get(a),"]");var c=void 0!==n?"".concat(t,".").concat(n):t,l=Array.isArray(o)?[]:{};return i.set(a,c),r.push({source:o,target:l,path:c}),l}function c6(e,t,n){$e.warn("The data provided has been ".concat(t," as it is over the limit of ").concat(e," characters:"),n)}var at=function(){function e(t){this.onFirstSubscribe=t,this.observers=[]}return e.prototype.subscribe=function(t){var n=this;return this.observers.push(t),1===this.observers.length&&this.onFirstSubscribe&&(this.onLastUnsubscribe=this.onFirstSubscribe(this)||void 0),{unsubscribe:function(){n.observers=n.observers.filter(function(r){return t!==r}),!n.observers.length&&n.onLastUnsubscribe&&n.onLastUnsubscribe()}}},e.prototype.notify=function(t){this.observers.forEach(function(n){return n(t)})},e}();function Bw(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new at(function(n){var r=e.map(function(i){return i.subscribe(function(o){return n.notify(o)})});return function(){return r.forEach(function(i){return i.unsubscribe()})}})}function l6(e){var t={},n=new at,r={getContext:function(){return s6(t)},setContext:function(i){"object"===Vo(i)?(t=jt(i),e&&e.updateCustomerData(t)):r.clearContext(),n.notify()},setContextProperty:function(i,o){t[i]=jt(o),e&&e.updateCustomerData(t),n.notify()},removeContextProperty:function(i){delete t[i],e&&e.updateCustomerData(t),n.notify()},clearContext:function(){t={},e&&e.resetCustomerData(),n.notify()},changeObservable:n};return r}var u6={GRANTED:"granted",NOT_GRANTED:"not-granted"};
1function Et(e,t,n,r,i){return Xn(e,t,[n],r,i)}function Xn(e,t,n,r,i){var o=void 0===i?{}:i,s=o.once,a=o.capture,c=o.passive,l=pe(function(p){!p.isTrusted&&!p.__ddIsTrusted&&!e.allowUntrustedEvents||(s&&h(),r(p))}),u=c?{capture:a,passive:c}:a,d=window.EventTarget&&t instanceof EventTarget?window.EventTarget.prototype:t,f=Ho(d,"addEventListener");function h(){var p=Ho(d,"removeEventListener");n.forEach(function(m){return p.call(t,m,l,u)})}return n.forEach(function(p){return f.call(t,p,l,u)}),{stop:h}}var Hw=[];function Vw(e,t,n,r){var i=function NK(e,t){return"".concat("_dd_c","_").concat(e,"_").concat(t)}(n,r);function a(){var c=localStorage.getItem(i);return null!==c?JSON.parse(c):{}}Hw.push(Et(e,window,"storage",function(c){i===c.key&&function o(){t.setContext(a())}()})),t.changeObservable.subscribe(function s(){localStorage.setItem(i,JSON.stringify(t.getContext()))}),t.setContext(Fi(a(),t.getContext()))}function LK(){var e="",t=0;return{isAsync:!1,get isEmpty(){return!e},write:function(n,r){var i=o6(n);t+=i,e+=n,r&&r(i)},finish:function(n){n(this.finishSync())},finishSync:function(){var n={output:e,outputBytesCount:t,rawBytesCount:t,pendingData:""};return e="",t=0,n},estimateEncodedBytesCount:function(n){return n.length}}}var Ku="?";function Uo(e){var t=[],n=d6(e,"stack"),r=String(e);return n&&Wu(n,r)&&(n=n.slice(r.length)),n&&n.split("\n").forEach(function(i){var o=function BK(e){var t=PK.exec(e);if(t){var n=t[2]&&0===t[2].indexOf("native"),r=t[2]&&0===t[2].indexOf("eval"),i=FK.exec(t[2]);return r&&i&&(t[2]=i[1],t[3]=i[2],t[4]=i[3]),{args:n?[t[2]]:[],column:t[4]?+t[4]:void 0,func:t[1]||Ku,line:t[3]?+t[3]:void 0,url:n?void 0:t[2]}}}(i)||function VK(e){var t=HK.exec(e);if(t)return{args:[],column:t[3]?+t[3]:void 0,func:Ku,line:t[2]?+t[2]:void 0,url:t[1]}}(i)||function jK(e){var t=UK.exec(e);if(t)return{args:[],column:t[4]?+t[4]:void 0,func:t[1]||Ku,line:+t[3],url:t[2]}}(i)||function ZK(e){var t=QK.exec(e);if(t){var n=t[3]&&t[3].indexOf(" > eval")>-1,r=zK.exec(t[3]);return n&&r&&(t[3]=r[1],t[4]=r[2],t[5]=void 0),{args:t[2]?t[2].split(","):[],column:t[5]?+t[5]:void 0,func:t[1]||Ku,line:t[4]?+t[4]:void 0,url:t[3]}}}(i);o&&(!o.func&&o.line&&(o.func=Ku),t.push(o))}),{message:d6(e,"message"),name:d6(e,"name"),stack:t}}var Uw="((?:file|https?|blob|chrome-extension|native|eval|webpack|snippet|<anonymous>|\\w+\\.|\\/).*?)",_c="(?::(\\d+))",PK=new RegExp("^\\s*at (.*?) ?\\(".concat(Uw).concat(_c,"?").concat(_c,"?\\)?\\s*$"),"i"),FK=new RegExp("\\((\\S*)".concat(_c).concat(_c,"\\)")),HK=new RegExp("^\\s*at ?".concat(Uw).concat(_c,"?").concat(_c,"??\\s*$"),"i"),UK=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,QK=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|capacitor|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,zK=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function d6(e,t){if("object"==typeof e&&e&&t in e){var n=e[t];return"string"==typeof n?n:void 0}}var WK=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?([\s\S]*)$/;function P5(){var n,t=new Error;if(!t.stack)try{throw t}catch{}return Ns(function(){var r=Uo(t);r.stack=r.stack.slice(2),n=wc(r)}),n}function wc(e){var t=jw(e);return e.stack.forEach(function(n){var r="?"===n.func?"<anonymous>":n.func,i=n.args&&n.args.length>0?"(".concat(n.args.join(", "),")"):"",o=n.line?":".concat(n.line):"",s=n.line&&n.column?":".concat(n.column):"";t+="\n  at ".concat(r).concat(i," @ ").concat(n.url).concat(o).concat(s)}),t}function jw(e){return"".concat(e.name||"Error",": ").concat(e.message)}var Qw="No stack, consider using an instance of Error";function zw(e){var t=e.stackTrace,n=e.originalError,r=e.handlingStack,i=e.startClocks,s=e.source,a=e.handling,c=n instanceof Error,l=function JK(e,t,n,r){return e?.message&&e?.name?e.message:t?"Empty message":"".concat(n," ").concat(Ls(jt(r)))}(t,c,e.nonErrorPrefix,n),u=function KK(e,t){return void 0!==t&&(!!e||t.stack.length>0&&(t.stack.length>1||void 0!==t.stack[0].url))}(c,t)?wc(t):Qw,d=c?Gw(n,s):void 0;return{startClocks:i,source:s,handling:a,handlingStack:r,originalError:n,type:t?t.name:void 0,message:l,stack:u,causes:d,fingerprint:Zw(n)}}function Zw(e){return e instanceof Error&&"dd_fingerprint"in e?String(e.dd_fingerprint):void 0}function Gw(e,t){for(var n=e,r=[];n?.cause instanceof Error&&r.length<10;){var i=Uo(n.cause);r.push({message:n.cause.message,source:t,type:i?.name,stack:i&&wc(i)}),n=n.cause}return r.length?r:void 0}var Ic=function(e){return e.WRITABLE_RESOURCE_GRAPHQL="writable_resource_graphql",e.REMOTE_CONFIGURATION="remote_configuration",e.LONG_ANIMATION_FRAME="long_animation_frame",e.ACTION_NAME_MASKING="action_name_masking",e}(Ic||{}),F5=new Set;function B5(e){return F5.has(e)}var Ww="datad0g.com",eY="dd0g-gov.com",Fs="datadoghq.com",tY="datadoghq.eu",rY="pci.browser-intake-datadoghq.com",iY=["ddsource","ddtags"];function Bs(e){return 0!==e&&100*Math.random()<=e}function H5(e,t){return+e.toFixed(t)}function Sc(e){return"number"==typeof e}var h6,Mn=1e3,$n=60*Mn,qw=60*$n,aY=24*qw*365;function V5(e){return{relative:e,timeStamp:lY(e)}}function cY(e){return{relative:f6(e),timeStamp:e}}function lY(e){var t=Pr()-performance.now();return t>Yu()?Math.round(Dc(t,e)):function dY(e){return Math.round(Dc(Yu(),e))}(e)}function Fe(e){return Sc(e)?H5(1e6*e,0):e}function Pr(){return(new Date).getTime()}function ln(){return Pr()}function Fr(){return performance.now()}function Qn(){return{relative:Fr(),timeStamp:ln()}}function Jw(){return{relative:0,timeStamp:Yu()}}function bn(e,t){return t-e}function Dc(e,t){return e+t}function f6(e){return e-Yu()}function Yu(){return void 0===h6&&(h6=performance.timing.navigationStart),h6}function p6(e,t){var n=window.__ddBrowserSdkExtensionCallback;n&&n({type:e,payload:t})}function Kw(){var e,t=window.navigator;return{status:t.onLine?"connected":"not_connected",interfaces:t.connection&&t.connection.type?[t.connection.type]:void 0,effective_type:null===(e=t.connection)||void 0===e?void 0:e.effectiveType}}function Yw(e,t){var n=e.indexOf(t);n>=0&&e.splice(n,1)}var hY=500;function Xw(){var e=[];return{add:function(i){e.push(i)>hY&&e.splice(0,1)},remove:function(i){Yw(e,i)},drain:function(i){e.forEach(function(o){return o(i)}),e.length=0}}}var Hs={log:"log",configuration:"configuration",usage:"usage"},pY=["https://www.datadoghq-browser-agent.com","https://www.datad0g-browser-agent.com","https://d3uc069fcn7uxw.cloudfront.net","https://d20xtzwzcl0ceb.cloudfront.net","http://localhost","<anonymous>"],gY=["ddog-gov.com"],U5=Xw(),uo=function(e){U5.add(function(){return uo(e)})};function Tc(e,t){n6(k5.debug,e,t),uo(ye({type:Hs.log,message:e,status:"debug"},t))}function j5(e,t){uo(ye({type:Hs.log,status:"error"},function bY(e){if(e instanceof Error){var t=Uo(e);return{error:{kind:t.name,stack:wc(EY(t))},message:t.message}}return{error:{stack:Qw},message:"".concat("Uncaught"," ").concat(Ls(e))}}(e),t))}function er(e){uo({type:Hs.usage,usage:e})}function EY(e){return e.stack=e.stack.filter(function(t){return!t.url||pY.some(function(n){return Wu(t.url,n)})}),e}function $w(e){var t=ye({},e);return["id","name","email"].forEach(function(r){r in t&&(t[r]=String(t[r]))}),t}function eI(e,t){t.silentMultipleInit||$e.error("".concat(e," is already initialized."))}function xn(e){return e?(parseInt(e,10)^16*Math.random()>>parseInt(e,10)/4).toString(16):"".concat(1e7,"-").concat(1e3,"-").concat(4e3,"-").concat(8e3,"-").concat(1e11).replace(/[018]/g,xn)}var Q5=/([\w-]+)\s*=\s*([^;]+)/g;function Xu(e,t){for(Q5.lastIndex=0;;){var n=Q5.exec(e);if(!n)break;if(n[1]===t)return n[2]}}function tI(e,t,n){void 0===n&&(n="");var r=e.charCodeAt(t-1),o=r>=55296&&r<=56319?t+1:t;return e.length<=o?e:"".concat(e.slice(0,o)).concat(n)}function nI(e,t,n){var r=e.vitalsByName,i=e.vitalsByReference;void 0===n&&(n={});var o={name:t,startClocks:Qn(),context:n.context,description:n.description},s={__dd_vital_reference:!0};return r.set(t,o),i.set(s,o),s}function rI(e,t,n,r){var i=t.vitalsByName,o=t.vitalsByReference;void 0===r&&(r={});var s="string"==typeof n?i.get(n):o.get(n);s&&(e(function TY(e,t,n,r){var i;return{name:e.name,type:"duration",startClocks:t,duration:bn(t.timeStamp,r.timeStamp),context:Fi(e.context,n.context),description:null!==(i=n.description)&&void 0!==i?i:e.description}}(s,s.startClocks,r,Qn())),"string"==typeof n?i.delete(n):o.delete(n))}function Mc(){var e=function xY(){return Fo().DatadogEventBridge}();if(e)return{getCapabilities:function(){var t;return JSON.parse((null===(t=e.getCapabilities)||void 0===t?void 0:t.call(e))||"[]")},getPrivacyLevel:function(){var t;return null===(t=e.getPrivacyLevel)||void 0===t?void 0:t.call(e)},getAllowedWebViewHosts:function(){return JSON.parse(e.getAllowedWebViewHosts())},send:function(t,n,r){e.send(JSON.stringify({eventType:t,event:n,view:r?{id:r}:void 0}))}}}function iI(e){var t=Mc();return!!t&&Lr(t.getCapabilities(),e)}function Vs(e){var t;void 0===e&&(e=null===(t=Fo().location)||void 0===t?void 0:t.hostname);var n=Mc();return!!n&&n.getAllowedWebViewHosts().some(function(r){return e===r||function pK(e,t){return e.slice(-t.length)===t}(e,".".concat(r))})}function tr(e,t,n,r){var o=(void 0===r?{}:r).computeHandlingStack,s=e[t];if("function"!=typeof s){if(!(t in e)||!Wu(t,"on"))return{stop:it};s=it}var a=!1,c=function(){if(a)return s.apply(this,arguments);var u,l=r6(arguments);Ns(n,null,[{target:this,parameters:l,onPostCall:function(f){u=f},handlingStack:o?P5():void 0}]);var d=s.apply(this,l);return u&&Ns(u,null,[d]),d};return e[t]=c,{stop:function(){a=!0,e[t]===c&&(e[t]=s)}}}function $u(e,t,n){var r=Object.getOwnPropertyDescriptor(e,t);if(!r||!r.set||!r.configurable)return{stop:it};var i=it,o=function(a,c){An(function(){o!==i&&n(a,c)},0)},s=function(a){r.set.call(this,a),o(this,a)};
1return Object.defineProperty(e,t,{set:s}),{stop:function(){var a;(null===(a=Object.getOwnPropertyDescriptor(e,t))||void 0===a?void 0:a.set)===s&&Object.defineProperty(e,t,r),o=i}}}function g6(e){return z5(e,location.href).href}function z5(e,t){var n=function OY(){if(void 0===Z5)try{var e=new oI("http://test/path");Z5="http://test/path"===e.href}catch{Z5=!1}return Z5?oI:void 0}();if(n)try{return void 0!==t?new n(e,t):new n(e)}catch(s){throw new Error("Failed to construct URL: ".concat(String(s)," ").concat(Ls({url:e,base:t})))}if(void 0===t&&!/:/.test(e))throw new Error("Invalid URL: '".concat(e,"'"));var r=document,i=r.createElement("a");if(void 0!==t){var o=(r=document.implementation.createHTMLDocument("")).createElement("base");o.href=t,r.head.appendChild(o),r.body.appendChild(i)}return i.href=e,i}var Z5,G5,W5,C6,oI=URL;function sI(){return G5||(G5=function NY(){return new at(function(e){if(window.fetch){var t=tr(window,"fetch",function(n){return function LY(e,t){var n=e.parameters,r=e.onPostCall,i=e.handlingStack,o=n[0],s=n[1],a=s&&s.method;void 0===a&&o instanceof Request&&(a=o.method);var c=void 0!==a?String(a).toUpperCase():"GET",l=o instanceof Request?o.url:g6(String(o)),d={state:"start",init:s,input:o,method:c,startClocks:Qn(),url:l,handlingStack:i};t.notify(d),n[0]=d.input,n[1]=d.init,r(function(f){return function PY(e,t,n){var r=n;function i(o){r.state="resolve",ye(r,o),e.notify(r)}t.then(pe(function(o){i({response:o,responseType:o.type,status:o.status,isAborted:!1})}),pe(function(o){var s,a;i({status:0,isAborted:(null===(a=null===(s=r.init)||void 0===s?void 0:s.signal)||void 0===a?void 0:a.aborted)||o instanceof DOMException&&o.code===DOMException.ABORT_ERR,error:o})}))}(t,f,d)})}(n,e)},{computeHandlingStack:!0}).stop;return t}})}()),G5}function ed(e,t,n,r){var i=new Date;i.setTime(i.getTime()+n);var o="expires=".concat(i.toUTCString()),s=r&&r.crossSite?"none":"strict",a=r&&r.domain?";domain=".concat(r.domain):"",c=r&&r.secure?";secure":"",l=r&&r.partitioned?";partitioned":"";document.cookie="".concat(e,"=").concat(t,";").concat(o,";path=/;samesite=").concat(s).concat(a).concat(c).concat(l)}function m6(e){return Xu(document.cookie,e)}function jo(e){return W5||(W5=function IY(e){var t=new Map;for(Q5.lastIndex=0;;){var n=Q5.exec(e);if(!n)break;t.set(n[1],n[2])}return t}(document.cookie)),W5.get(e)}function aI(e,t){ed(e,"",0,t)}var q5,HY="datadog-synthetics-public-id",VY="datadog-synthetics-result-id",UY="datadog-synthetics-injects-rum";function cI(){return!(!window._DATADOG_SYNTHETICS_INJECTS_RUM&&!jo(UY))}function v6(){return q5??(q5=function WY(e){var t;void 0===e&&(e=window);var n=e.navigator.userAgent;return e.chrome||/HeadlessChrome/.test(n)?1:0===(null===(t=e.navigator.vendor)||void 0===t?void 0:t.indexOf("Apple"))||/safari/i.test(n)&&!/chrome|android/i.test(n)?2:e.document.documentMode?0:3}())}var xc="_dd_s",Us=4*qw,lI=15*$n,uI=/^([a-zA-Z]+)=([a-z0-9-]+)$/,y6="&",qY="1";function js(){return{isExpired:qY}}function J5(e){return Ps(e)}function dI(e){return!J5(e)}function K5(e){return void 0!==e.isExpired||!function JY(e){return(void 0===e.created||Pr()-Number(e.created)<Us)&&(void 0===e.expire||Pr()<Number(e.expire))}(e)}function fI(e){e.expire=String(Pr()+lI)}function A6(e){return i6(e).map(function(t){var r=t[1];return"".concat(t[0],"=").concat(r)}).join(y6)}function hI(e){var t={};return function KY(e){return!!e&&(-1!==e.indexOf(y6)||uI.test(e))}(e)&&e.split(y6).forEach(function(n){var r=uI.exec(n);null!==r&&(t[r[1]]=r[2])}),t}var YY="_dd",XY="_dd_r",$Y="_dd_l",eX="rum",tX="logs";function oX(e){return function(t){ed(xc,A6(t),lI,e)}}function aX(){return hI(m6(xc))}var lX="_dd_test_";function pI(e){localStorage.setItem(xc,A6(e))}function fX(){return hI(localStorage.getItem(xc))}function hX(){pI(js())}var Y5,pX=10,gX=100,gI=[];function Qs(e,t,n){var r;void 0===n&&(n=0);var i=t.isLockEnabled,o=t.persistSession,s=t.expireSession,a=function(f){return o(ye({},f,{lock:l}))},c=function(){var f=t.retrieveSession(),h=f.lock;return f.lock&&delete f.lock,{session:f,lock:h}};if(Y5||(Y5=e),e===Y5)if(i&&n>=gX)mI(t);else{var l,u=c();
1if(i){if(u.lock)return void X5(e,t,n);if(l=xn(),a(u.session),(u=c()).lock!==l)return void X5(e,t,n)}var d=e.process(u.session);if(i&&(u=c()).lock!==l)X5(e,t,n);else{if(d&&(K5(d)?s():(fI(d),i?a(d):o(d))),i&&(!d||!K5(d))){if((u=c()).lock!==l)return void X5(e,t,n);o(u.session),d=u.session}null===(r=e.after)||void 0===r||r.call(e,d||u.session),mI(t)}}else gI.push(e)}function X5(e,t,n){An(function(){Qs(e,t,n+1)},pX)}function mI(e){Y5=void 0;var t=gI.shift();t&&Qs(t,e)}var CI=Mn;function mX(e){var t=function rX(e){var t=function cX(e){var t={};return t.secure=!!e.useSecureSessionCookie||!!e.usePartitionedCrossSiteSessionCookie||!!e.useCrossSiteSessionCookie,t.crossSite=!!e.usePartitionedCrossSiteSessionCookie||!!e.useCrossSiteSessionCookie,t.partitioned=!!e.usePartitionedCrossSiteSessionCookie,e.trackSessionAcrossSubdomains&&(t.domain=function BY(){if(void 0===C6){for(var e="dd_site_test_".concat(xn()),n=window.location.hostname.split("."),r=n.pop();n.length&&!m6(e);)r="".concat(n.pop(),".").concat(r),ed(e,"test",Mn,{domain:r});aI(e,{domain:r}),C6=r}return C6}()),t}(e);return function FY(e){if(void 0===document.cookie||null===document.cookie)return!1;try{var t="dd_cookie_test_".concat(xn()),n="test";ed(t,n,$n,e);var r=m6(t)===n;return aI(t,e),r}catch(i){return $e.error(i),!1}}
1(t)?{type:"Cookie",cookieOptions:t}:void 0}(e);return!t&&e.allowFallbackToLocalStorage&&(t=function uX(){try{var e=xn(),t="".concat(lX).concat(e);localStorage.setItem(t,e);var n=localStorage.getItem(t);return localStorage.removeItem(t),e===n?{type:"LocalStorage"}:void 0}catch{return}}()),t}function CX(e,t,n){var l,r=new at,i=new at,o=new at,s="Cookie"===e.type?function iX(e){var t={isLockEnabled:1===v6(),persistSession:oX(e),retrieveSession:aX,expireSession:function(){return function sX(e){ed(xc,A6(js()),Us,e)}(e)}};return function nX(e){if(!jo(xc)){var n=jo(YY),r=jo(XY),i=jo($Y),o={};n&&(o.id=n),i&&/^[01]$/.test(i)&&(o[tX]=i),r&&/^[012]$/.test(r)&&(o[eX]=r),dI(o)&&(fI(o),e.persistSession(o))}}(t),t}(e.cookieOptions):function dX(){return{isLockEnabled:!1,persistSession:pI,retrieveSession:fX,expireSession:hX}}(),a=s.expireSession,c=bc(function p(){Qs({process:function(R){return K5(R)?js():void 0},after:m},s)},CI);C();var u=lo(function(){Qs({process:function(R){if(!J5(R)){var _e=m(R);return function v(R){if(J5(R))return!1;var _e=n(R[t]),ct=_e.isTracked;R[t]=_e.trackingType,delete R.isExpired,ct&&!R.id&&(R.id=xn(),R.created=String(Pr()))}(_e),_e}},after:function(R){dI(R)&&!y()&&function K(R){l=R,r.notify()}(R),l=R}},s)},CI),f=u.cancel;function m(R){return K5(R)&&(R=js()),y()&&(function S(R){return l.id!==R.id||l[t]!==R[t]}(R)?function N(){l=js(),i.notify()}():(o.notify({previousState:l,newState:R}),l=R)),R}function C(){Qs({process:function(R){if(J5(R))return js()},after:function(R){l=R}},s)}function y(){return void 0!==l[t]}return{expandOrRenewSession:u.throttled,expandSession:function h(){Qs({process:function(R){return y()?m(R):void 0}},s)},getSession:function(){return l},renewObservable:r,expireObservable:i,sessionStateUpdateObservable:o,restartSession:C,expire:function(){f(),a(),m(js())},stop:function(){qu(c)},updateSessionState:function J(R){Qs({process:function(_e){return ye({},_e,R)},after:m},s)}}}function td(e,t,n){var r=function vX(e,t){var n="/api/v2/".concat(t),r=e.proxy;if("string"==typeof r){var i=g6(r);return function(s){return"".concat(i,"?ddforward=").concat(encodeURIComponent("".concat(n,"?").concat(s)))}}if("function"==typeof r)return function(s){return r({path:n,parameters:s})};var o=function yX(e,t){var n=t.site,r=void 0===n?Fs:n,i=t.internalAnalyticsSubdomain;if("logs"===e&&t.usePciIntake&&r===Fs)return rY;if(i&&r===Fs)return"".concat(i,".").concat(Fs);if(r===eY)return"http-intake.logs.".concat(r);var o=r.split("."),s=o.pop();return"browser-intake-".concat(o.join("-"),".").concat(s)}(t,e);return function(s){return"https://".concat(o).concat(n,"?").concat(s)}}(e,t);return{build:function(i,o){var s=function AX(e,t,n,r,i){var o=e.clientToken,s=e.internalAnalyticsSubdomain,a=i.retry,c=i.encoding,l=["sdk_version:".concat("5.32.0"),"api:".concat(r)].concat(n);a&&l.push("retry_count:".concat(a.count),"retry_after:".concat(a.lastFailureStatus));var u=["ddsource=browser","ddtags=".concat(encodeURIComponent(l.join(","))),"dd-api-key=".concat(o),"dd-evp-origin-version=".concat(encodeURIComponent("5.32.0")),"dd-evp-origin=browser","dd-request-id=".concat(xn())];return c&&u.push("dd-evp-encoding=".concat(c)),"rum"===t&&u.push("batch_time=".concat(ln())),s&&u.reverse(),u.join("&")}(e,t,n,i,o);return r(s)},urlPrefix:r(""),trackType:t}}var bX=200;function $5(e,t){(t.length>bX-e.length-1||function _X(e){return!!function wX(){try{return new RegExp("[\\p{Ll}]","u"),!0}catch{return!1}}()&&new RegExp("[^\\p{Ll}\\p{Lo}0-9_:./-]","u").test(e)}(t))&&$e.warn("".concat(e," value doesn't meet tag requirements and will be sanitized. ").concat(O5," ").concat(R5,"/getting_started/tagging/#defining-tags"));var r=t.replace(/,/g,"_");return"".concat(e,":").concat(r)}var nd={ALLOW:"allow",MASK:"mask",MASK_USER_INPUT:"mask-user-input"},b6={ALL:"all",SAMPLED:"sampled"};function E6(e,t){return null==e||"string"==typeof e||($e.error("".concat(t," must be defined as a string")),!1)}function kc(e,t){return!(void 0!==e&&!function oY(e){return Sc(e)&&e>=0&&e<=100}(e)&&($e.error("".concat(t," Sample Rate should be a number between 0 and 100")),1))}function xX(e){var t,n,r,i,o;if(e&&e.clientToken)return function MX(e){return!(e&&"string"==typeof e&&!/(datadog|ddog|datad0g|dd0g)/.test(e)&&($e.error("Site should be a valid Datadog site. ".concat(O5," ").concat(R5,"/getting_started/site/.")),1))}(e.site)&&kc(e.sessionSampleRate,"Session")&&kc(e.telemetrySampleRate,"Telemetry")&&kc(e.telemetryConfigurationSampleRate,"Telemetry Configuration")&&kc(e.telemetryUsageSampleRate,"Telemetry Usage")&&E6(e.version,"Version")&&E6(e.env,"Env")&&E6(e.service,"Service")?void 0===e.trackingConsent||N5(u6,e.trackingConsent)?ye({beforeSend:e.beforeSend&&Nw(e.beforeSend,"beforeSend threw an error:"),sessionStoreStrategyType:mX(e),sessionSampleRate:null!==(t=e.sessionSampleRate)&&void 0!==t?t:100,telemetrySampleRate:null!==(n=e.telemetrySampleRate)&&void 0!==n?n:20,telemetryConfigurationSampleRate:null!==(r=e.telemetryConfigurationSampleRate)&&void 0!==r?r:5,telemetryUsageSampleRate:null!==(i=e.telemetryUsageSampleRate)&&void 0!==i?i:5,service:e.service||void 0,silentMultipleInit:!!e.silentMultipleInit,allowUntrustedEvents:!!e.allowUntrustedEvents,trackingConsent:null!==(o=e.trackingConsent)&&void 0!==o?o:u6.GRANTED,storeContextsAcrossPages:!!e.storeContextsAcrossPages,batchBytesLimit:16*Bo,eventRateLimiterThreshold:3e3,maxTelemetryEventsPerPage:15,flushTimeout:30*Mn,batchMessagesLimit:50,messageBytesLimit:256*Bo},function IX(e){var t=e.site||Fs,n=function EX(e){var t=e.env,n=e.service,r=e.version,i=e.datacenter,o=[];return t&&o.push($5("env",t)),n&&o.push($5("service",n)),r&&o.push($5("version",r)),i&&o.push($5("datacenter",i)),o}(e),r=function SX(e,t){return{logsEndpointBuilder:td(e,"logs",t),rumEndpointBuilder:td(e,"rum",t),sessionReplayEndpointBuilder:td(e,"replay",t)}}
1(e,n),i=function DX(e,t){if(e.replica){var n=ye({},e,{site:Fs,clientToken:e.replica.clientToken}),r={logsEndpointBuilder:td(n,"logs",t),rumEndpointBuilder:td(n,"rum",t)};return ye({applicationId:e.replica.applicationId},r)}}(e,n);return ye({replica:i,site:t},r)}(e)):void $e.error('Tracking Consent should be either "granted" or "not-granted"'):void 0;$e.error("Client Token is not configured, we will not send any data.")}function _6(e){var t=Vo(e);return"string"===t||"function"===t||e instanceof RegExp}function vI(e,t,n){return void 0===n&&(n=!1),e.some(function(r){try{if("function"==typeof r)return r(t);if(r instanceof RegExp)return r.test(t);if("string"==typeof r)return n?Wu(t,r):r===t}catch(i){$e.error(i)}return!1})}function OX(e){0===e.status&&!e.isAborted&&(e.traceId=void 0,e.spanId=void 0,e.traceSampled=void 0)}function yI(e,t,n,r){if(function LX(){return void 0!==AI()}()&&n.findTrackedSession()){var i=Po(e.allowedTracingUrls,function(o){return vI([o.match],t.url,!0)});i&&(t.traceSampled=!Sc(e.traceSampleRate)||Bs(e.traceSampleRate),(t.traceSampled||e.traceContextInjection===b6.ALL)&&(t.traceId=w6(),t.spanId=w6(),r(function PX(e,t,n,r){var i={};return r.forEach(function(o){switch(o){case"datadog":ye(i,{"x-datadog-origin":"rum","x-datadog-parent-id":t.toDecimalString(),"x-datadog-sampling-priority":n?"1":"0","x-datadog-trace-id":e.toDecimalString()});break;case"tracecontext":ye(i,{traceparent:"00-0000000000000000".concat(e.toPaddedHexadecimalString(),"-").concat(t.toPaddedHexadecimalString(),"-0").concat(n?"1":"0")});break;case"b3":ye(i,{b3:"".concat(e.toPaddedHexadecimalString(),"-").concat(t.toPaddedHexadecimalString(),"-").concat(n?"1":"0")});break;case"b3multi":ye(i,{"X-B3-TraceId":e.toPaddedHexadecimalString(),"X-B3-SpanId":t.toPaddedHexadecimalString(),"X-B3-Sampled":n?"1":"0"})}}),i}(t.traceId,t.spanId,t.traceSampled,i.propagatorTypes))))}}function AI(){return window.crypto||window.msCrypto}function w6(){var e=new Uint8Array(8);function t(o){return 16777216*e[o]+(e[o+1]<<16)+(e[o+2]<<8)+e[o+3]}function n(o){var s=t(0),a=t(4),c="";do{var l=s%o*4294967296+a;s=Math.floor(s/o),a=Math.floor(l/o),c=(l%o).toString(o)+c}while(s||a);return c}return AI().getRandomValues(e),e[0]=127&e[0],{toDecimalString:function r(){return n(10)},toPaddedHexadecimalString:function i(){var o=n(16);return Array(17-o.length).join("0")+o}}}var bI=["tracecontext","datadog"];function HX(e){var t=new Set;return Array.isArray(e.allowedTracingUrls)&&e.allowedTracingUrls.length>0&&e.allowedTracingUrls.forEach(function(n){_6(n)?bI.forEach(function(r){return t.add(r)}):"object"===Vo(n)&&Array.isArray(n.propagatorTypes)&&n.propagatorTypes.forEach(function(r){return t.add(r)})}),r6(t)}var UX="https://d3uc069fcn7uxw.cloudfront.net/configuration";function EI(){$e.error("Error fetching the remote configuration.")}function GX(e,t,n,r,i){var c,l,u,d,o=e.ignoreInitIfSyntheticsWillInjectRum,s=e.startDeflateWorker,a=Xw(),f=n.observable.subscribe(h);function h(){if(u&&d&&n.isGranted()){var C;if(f.unsubscribe(),d.trackViewsManually){if(!c)return;a.remove(c.callback),C=c.options}var v=i(d,l,C);a.drain(v)}}function p(C){var v=Vs();if(v&&(C=function WX(e){var t,n;return ye({},e,{applicationId:"00000000-aaaa-0000-aaaa-000000000000",clientToken:"empty",sessionSampleRate:100,defaultPrivacyLevel:null!==(t=e.defaultPrivacyLevel)&&void 0!==t?t:null===(n=Mc())||void 0===n?void 0:n.getPrivacyLevel()})}(C)),u=C,function AY(e){uo({type:Hs.configuration,configuration:e})}(function VX(e){var t,n=function kX(e){return{session_sample_rate:e.sessionSampleRate,telemetry_sample_rate:e.telemetrySampleRate,telemetry_configuration_sample_rate:e.telemetryConfigurationSampleRate,telemetry_usage_sample_rate:e.telemetryUsageSampleRate,use_before_send:!!e.beforeSend,use_cross_site_session_cookie:e.useCrossSiteSessionCookie,use_partitioned_cross_site_session_cookie:e.usePartitionedCrossSiteSessionCookie,use_secure_session_cookie:e.useSecureSessionCookie,use_proxy:!!e.proxy,silent_multiple_init:e.silentMultipleInit,track_session_across_subdomains:e.trackSessionAcrossSubdomains,allow_fallback_to_local_storage:!!e.allowFallbackToLocalStorage,store_contexts_across_pages:!!e.storeContextsAcrossPages,allow_untrusted_events:!!e.allowUntrustedEvents,tracking_consent:e.trackingConsent}}(e);return ye({session_replay_sample_rate:e.sessionReplaySampleRate,start_session_replay_recording_manually:e.startSessionReplayRecordingManually,trace_sample_rate:e.traceSampleRate,trace_context_injection:e.traceContextInjection,action_name_attribute:e.actionNameAttribute,use_allowed_tracing_urls:Array.isArray(e.allowedTracingUrls)&&e.allowedTracingUrls.length>0,selected_tracing_propagators:HX(e),default_privacy_level:e.defaultPrivacyLevel,enable_privacy_for_action_name:e.enablePrivacyF
1orActionName,use_excluded_activity_urls:Array.isArray(e.excludedActivityUrls)&&e.excludedActivityUrls.length>0,use_worker_url:!!e.workerUrl,compress_intake_requests:e.compressIntakeRequests,track_views_manually:e.trackViewsManually,track_user_interactions:e.trackUserInteractions,track_resources:e.trackResources,track_long_task:e.trackLongTasks,plugins:null===(t=e.plugins)||void 0===t?void 0:t.map(function(r){var i;return ye({name:r.name},null===(i=r.getConfigurationTelemetry)||void 0===i?void 0:i.call(r))})},n)}(C)),d)eI("DD_RUM",C);else{var y=function FX(e){var t,n;if(e.applicationId){if(kc(e.sessionReplaySampleRate,"Session Replay")&&kc(e.traceSampleRate,"Trace")){if(void 0!==e.excludedActivityUrls&&!Array.isArray(e.excludedActivityUrls))return void $e.error("Excluded Activity Urls should be an array");var r=function BX(e){if(void 0===e.allowedTracingUrls)return[];if(Array.isArray(e.allowedTracingUrls)){if(0===e.allowedTracingUrls.length||void 0!==e.service){var t=[];return e.allowedTracingUrls.forEach(function(n){_6(n)?t.push({match:n,propagatorTypes:bI}):function RX(e){var t=e;return"object"===Vo(t)&&_6(t.match)&&Array.isArray(t.propagatorTypes)}(n)?t.push(n):$e.warn("Allowed Tracing Urls parameters should be a string, RegExp, function, or an object. Ignoring parameter",n)}),t}$e.error("Service needs to be configured when tracing is enabled")}else $e.error("Allowed Tracing URLs should be an array")}(e);if(r){var i=xX(e);if(i)return ye({applicationId:e.applicationId,version:e.version||void 0,actionNameAttribute:e.actionNameAttribute,sessionReplaySampleRate:null!==(t=e.sessionReplaySampleRate)&&void 0!==t?t:0,startSessionReplayRecordingManually:!!e.startSessionReplayRecordingManually,traceSampleRate:e.traceSampleRate,allowedTracingUrls:r,excludedActivityUrls:null!==(n=e.excludedActivityUrls)&&void 0!==n?n:[],workerUrl:e.workerUrl,compressIntakeRequests:!!e.compressIntakeRequests,trackUserInteractions:!!e.trackUserInteractions,trackViewsManually:!!e.trackViewsManually,trackResources:!!e.trackResources,trackLongTasks:!!e.trackLongTasks,subdomain:e.subdomain,defaultPrivacyLevel:N5(nd,e.defaultPrivacyLevel)?e.defaultPrivacyLevel:nd.MASK,enablePrivacyForActionName:!!e.enablePrivacyForActionName,customerDataTelemetrySampleRate:1,traceContextInjection:N5(b6,e.traceContextInjection)?e.traceContextInjection:b6.ALL,plugins:e.plugins||[]},i)}}}else $e.error("Application ID is not configured, no RUM data will be collected.")}(C);if(y){if(!v&&!y.sessionStoreStrategyType)return void $e.warn("No storage available for session. We will not send any data.");y.compressIntakeRequests&&!v&&s&&!(l=s(y,"Datadog RUM",it))||(d=y,sI().subscribe(it),n.tryToInit(y.trackingConsent),h())}}}var m=function(C){a.add(function(v){return v.addDurationVital(C)})};return{init:function(C,v){C?(function YK(e){Array.isArray(e)&&function XK(e){e.forEach(function(t){F5.add(t)})}(e.filter(function(t){return N5(Ic,t)}))}(C.enableExperimentalFeatures),u=C,(!o||!cI())&&(function ZX(e,t,n){if(e)for(var r=0,i=e;r<i.length;r++){var s=i[r][t];s&&s(n)}}(C.plugins,"onInit",{initConfiguration:C,publicApi:v}),C.remoteConfigurationId&&B5(Ic.REMOTE_CONFIGURATION)?function jX(e,t){!function zX(e,t){var n=new XMLHttpRequest;Et(e,n,"load",function(){200===n.status?t(JSON.parse(n.responseText)):EI()}),Et(e,n,"error",function(){EI()}),n.open("GET","".concat(UX,"/").concat(encodeURIComponent(e.remoteConfigurationId),".json")),n.send()}(e,function(n){t(function QX(e,t){return ye({},e,t)}(e,n))})}(C,p):p(C))):$e.error("Missing configuration")},get initConfiguration(){return u},getInternalContext:it,stopSession:it,addTiming:function(C,v){void 0===v&&(v=ln()),a.add(function(y){return y.addTiming(C,v)})},startView:function(C,v){void 0===v&&(v=Qn());var y=function(S){S.startView(C,v)};a.add(y),c||(c={options:C,callback:y},h())},setViewName:function(C){a.add(function(v){return v.setViewName(C)})},setViewContext:function(C){a.add(function(v){return v.setViewContext(C)})},setViewContextProperty:function(C,v){a.add(function(y){return y.setViewContextProperty(C,v)})},addAction:function(C,v){void 0===v&&(v=t()),a.add(function(y){return y.addAction(C,v)})},addError:function(C,v){void 0===v&&(v=t()),a.add(function(y){return y.addError(C,v)})},addFeatureFlagEvaluation:function(C,v){a.add(function(y){return y.addFeatureFlagEvaluation(C,v)})},startDurationVital:function(C,v){return nI(r,C,v)},stopDurationVital:function(C,v){rI(m,r,C,v)},addDurationVital:m}}var Rc={HIDDEN:"visibility_hidden",UNLOADING:"before_unload",PAGEHIDE:"page_hide",FROZEN:"page_frozen"};function wI(e){return Lr(Lw(Rc),e)}function II(){var e,t=window;if(t.Zone&&(e=Ho(t,"MutationObserver"),t.MutationObserver&&e===t.MutationObserver)){var r=Ho(new t.MutationObserver(it),"originalInstance");e=r&&r.constructor}return e||(e=t.MutationObserver),e}var Oc={AGENT:"agent",CONSOLE:"console",CUSTOM:"custom",LOGGER:"logger",NETWORK:"network",SOURCE:"source",REPORT:"report"};function I6(e,t,n){var r=0,i=!1;return{isLimitReached:function(){if(0===r&&An(function(){r=0},$n),(r+=1)<=t||i)return i=!1,!1;if(r===t+1){i=!0;try{n({message:"Reached max number of ".concat(e,"s by minute: ").concat(t),source:Oc.AGENT,startClocks:Qn()})}finally{i=!1}}return!0}}}function SI(e,t,n){for(var r=e,i=t.split("."),o=0;o<i.length;o+=1){var s=i[o];if(!DI(r))return;o!==i.length-1?r=r[s]:r[s]=n}}function DI(e){return"object"===Vo(e)}function t$(e,t){return DI(e)&&Object.prototype.hasOwnProperty.call(e,t)}var TI,Nc={"view.name":"string","view.url":"string","view.referrer":"string"},Lc={context:"object"},S6={service:"string",version:"string"};function n$(e,t,n,r,i,o,s,a,c,l){var u,d;(u={}).view=ye({},Lc,Nc),u.error=ye({"error.message":"string","error.stack":"string","error.resource.url":"string","error.fingerprint":"string"},Lc,Nc,S6),u.resource=ye({"resource.url":"string"},B5(Ic.WRITABLE_RESOURCE_GRAPHQL)?{"resource.graphql":"object"}:{},Lc,Nc,S6),u.action=ye({"action.target.name":"string"},Lc,Nc,S6),u.long_task=ye({},Lc,Nc),u.vital=ye({},Lc,Nc),TI=u;var f=((d={}).error=I6("error",e.eventRateLimiterThreshold,l),d.action=I6("action",e.eventRateLimiterThreshold,l),d.vital=I6("vital",e.eventRateLimiterThreshold,l),d),h=function XX(){var e=function jY(){var e=window._DATADOG_SYNTHETICS_PUBLIC_ID||jo(HY);return"string"==typeof e?e:void 0}(),t=function QY(){var e=window._DATADOG_SYNTHETICS_RESULT_ID||jo(VY);return"string"==typeof e?e:void 0}();if(e&&t)return{test_id:e,result_id:t,injected:cI()}}();t.subscribe(11,function(p){var m=p.startTime,C=p.rawRumEvent,v=p.domainContext,y=p.savedCommonContext,S=p.customerContext,N=r.findView(m),K=i.findUrl(m),J=n.findTrackedSession(m);if(J&&N&&K){var R=y||c(),_e=o.findActionId(m),ct=Fi({_dd:{format_version:2,drift:Math.round(Pr()-Dc(Yu(),performance.now())),configuration:{session_sample_rate:H5(e.sessionSampleRate,3),session_replay_sample_rate:H5(e.sessionReplaySampleRate,3)},browser_sdk_version:Vs()?"5.32.0":void 0},application:{id:e.applicationId},date:ln(),service:N.service||e.service,version:N.version||e.version,source:"browser",session:{id:J.id,type:h?"synthetics":a.get()?"ci_test":"user"},view:{id:N.id,name:N.name,url:K.url,referrer:K.referrer},action:i$(C)&&_e?{id:_e}:void 0,synthetics:h,ci_test:a.get(),display:s.get(),connectivity:Kw()},C);ct.context=Fi(R.context,N.context,S),"has_replay"in ct.session||(ct.session.has_replay=R.hasReplay),"view"===ct.type&&(ct.session.sampled_for_replay=1===J.sessionReplay),Ps(R.user)||(ct.usr=R.user),function r$(e,t,n,r){var i;
1if(t){var o=function $X(e,t,n){var r=s6(e),i=n(r);return i6(t).forEach(function(o){var s=o[0],a=o[1],c=function e$(e,t){for(var n=e,r=0,i=t.split(".");r<i.length;r++){var o=i[r];if(!t$(n,o))return;n=n[o]}return n}(r,s),l=Vo(c);l===a?SI(e,s,jt(c)):"object"===a&&("undefined"===l||"null"===l)&&SI(e,s,{})}),i}(e,TI[e.type],function(a){return t(a,n)});if(!1===o&&"view"!==e.type)return!1;!1===o&&$e.warn("Can't dismiss view events using beforeSend!")}return!(null===(i=r[e.type])||void 0===i?void 0:i.isLimitReached())}(ct,e.beforeSend,v,f)&&(Ps(ct.context)&&delete ct.context,t.notify(12,ct))}})}function i$(e){return-1!==["error","resource","long_task"].indexOf(e.type)}var a$=function(){function e(){this.callbacks={}}return e.prototype.notify=function(t,n){var r=this.callbacks[t];r&&r.forEach(function(i){return i(n)})},e.prototype.subscribe=function(t,n){var r=this;return this.callbacks[t]||(this.callbacks[t]=[]),this.callbacks[t].push(n),{unsubscribe:function(){r.callbacks[t]=r.callbacks[t].filter(function(i){return n!==i})}}},e}(),e1=1/0,c$=$n;function Pc(e){var t=e.expireDelay,n=e.maxEntries,r=[],i=bc(function(){return function o(){for(var f=Fr()-t;r.length>0&&r[r.length-1].endTime<f;)r.pop()}()},c$);return{add:function s(f,h){var p={value:f,startTime:h,endTime:e1,remove:function(){Yw(r,p)},close:function(m){p.endTime=m}};return n&&r.length>=n&&r.pop(),r.unshift(p),p},find:function a(f,h){void 0===f&&(f=e1),void 0===h&&(h={returnInactive:!1});for(var p=0,m=r;p<m.length;p++){var C=m[p];if(C.startTime<=f){if(h.returnInactive||f<=C.endTime)return C.value;break}}},closeActive:function c(f){var h=r[0];h&&h.endTime===e1&&h.close(f)},findAll:function l(f,h){void 0===f&&(f=e1),void 0===h&&(h=0);var p=Dc(f,h);return r.filter(function(m){return m.startTime<=p&&f<=m.endTime}).map(function(m){return m.value})},reset:function u(){r=[]},stop:function d(){qu(i)}}}var D6,l$=Us,T6=new WeakMap;function h$(e){var n=e.parameters,i=n[1];T6.set(e.target,{state:"open",method:String(n[0]).toUpperCase(),url:g6(String(i))})}function g$(e){var n=T6.get(e.target);n&&(n.isAborted=!0)}var MI="initial_document",y$=[["document",function(e){return MI===e}],["xhr",function(e){return"xmlhttprequest"===e}],["fetch",function(e){return"fetch"===e}],["beacon",function(e){return"beacon"===e}],["css",function(e,t){return/\.css$/i.test(t)}],["js",function(e,t){return/\.js$/i.test(t)}],["image",function(e,t){return Lr(["image","img","icon"],e)||null!==/\.(gif|jpg|jpeg|tiff|png|svg|ico)$/i.exec(t)}],["font",function(e,t){return null!==/\.(woff|eot|woff2|ttf)$/i.exec(t)}],["media",function(e,t){return Lr(["audio","video"],e)||null!==/\.(mp3|mp4)$/i.exec(t)}]];function xI(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=1;n<e.length;n+=1)if(e[n-1]>e[n])return!1;return!0}function E$(e){var t=e.duration,n=e.startTime,r=e.responseEnd;return Fe(0===t&&n<r?bn(n,r):t)}function _$(e){if(RI(e)){var t=e.startTime,n=e.fetchStart,r=e.workerStart,i=e.redirectStart,o=e.redirectEnd,s=e.domainLookupStart,a=e.domainLookupEnd,c=e.connectStart,l=e.secureConnectionStart,u=e.connectEnd,d=e.requestStart,f=e.responseStart,p={download:zs(t,f,e.responseEnd),first_byte:zs(t,d,f)};return 0<r&&r<n&&(p.worker=zs(t,r,n)),n<u&&(p.connect=zs(t,c,u),c<=l&&l<=u&&(p.ssl=zs(t,l,u))),n<a&&(p.dns=zs(t,s,a)),t<o&&(p.redirect=zs(t,i,o)),p}}function kI(e){return e.duration>=0}function RI(e){var t=xI(e.startTime,e.fetchStart,e.domainLookupStart,e.domainLookupEnd,e.connectStart,e.connectEnd,e.requestStart,e.responseStart,e.responseEnd),n=!function w$(e){return e.redirectEnd>e.startTime}(e)||xI(e.startTime,e.redirectStart,e.redirectEnd,e.fetchStart);return t&&n}function zs(e,t,n){if(e<=t&&t<=n)return{duration:Fe(bn(t,n)),start:Fe(bn(e,t))}}function OI(e){return""===e.nextHopProtocol?void 0:e.nextHopProtocol}function I$(e){if(e.startTime<e.responseStart){var n=e.decodedBodySize;return{size:n,encoded_body_size:e.encodedBodySize,decoded_body_size:n,transfer_size:e.transferSize}}return{size:void 0,encoded_body_size:void 0,decoded_body_size:void 0,transfer_size:void 0}}function M6(e){return e&&!function TX(e){return iY.every(function(t){return Lr(e,t)})}(e)}var S$=/data:(.+)?(;base64)?,/g,NI=24e3;function LI(e){return!(e.length<=NI||"data:"!==e.substring(0,5)||(e=e.substring(0,NI),0))}function PI(e){return"".concat(e.match(S$)[0],"[...]")}var FI=1;function D$(e,t,n){var r=function NX(e,t){return{clearTracingIfNeeded:OX,traceFetch:function(n){return yI(e,n,t,function(r){var i;if(n.input instanceof Request&&(null===(i=n.init)||void 0===i||!i.headers))n.input=new Request
1(n.input),Object.keys(r).forEach(function(s){n.input.headers.append(s,r[s])});else{n.init=Ju(n.init);var o=[];n.init.headers instanceof Headers?n.init.headers.forEach(function(s,a){o.push([a,s])}):Array.isArray(n.init.headers)?n.init.headers.forEach(function(s){o.push(s)}):n.init.headers&&Object.keys(n.init.headers).forEach(function(s){o.push([s,n.init.headers[s]])}),n.init.headers=o.concat(i6(r))}})},traceXhr:function(n,r){return yI(e,n,t,function(i){Object.keys(i).forEach(function(o){r.setRequestHeader(o,i[o])})})}}}(t,n);(function T$(e,t,n){var r=function d$(e){return D6||(D6=function f$(e){return new at(function(t){var n=tr(XMLHttpRequest.prototype,"open",h$).stop,r=tr(XMLHttpRequest.prototype,"send",function(o){!function p$(e,t,n){var r=e.target,i=e.handlingStack,o=T6.get(r);if(o){var s=o;s.state="start",s.startClocks=Qn(),s.isAborted=!1,s.xhr=r,s.handlingStack=i;var a=!1,c=tr(r,"onreadystatechange",function(){r.readyState===XMLHttpRequest.DONE&&l()}).stop,l=function(){if(u(),c(),!a){a=!0;var d=o;d.state="complete",d.duration=bn(s.startClocks.timeStamp,ln()),d.status=r.status,n.notify(Ju(d))}},u=Et(t,r,"loadend",l).stop;n.notify(s)}}(o,e,t)},{computeHandlingStack:!0}).stop,i=tr(XMLHttpRequest.prototype,"abort",g$).stop;return function(){n(),r(),i()}})}(e)),D6}(t).subscribe(function(i){var o=i;if(M6(o.url))switch(o.state){case"start":n.traceXhr(o,o.xhr),o.requestIndex=BI(),e.notify(6,{requestIndex:o.requestIndex,url:o.url});break;case"complete":n.clearTracingIfNeeded(o),e.notify(7,{duration:o.duration,method:o.method,requestIndex:o.requestIndex,spanId:o.spanId,startClocks:o.startClocks,status:o.status,traceId:o.traceId,traceSampled:o.traceSampled,type:"xhr",url:o.url,xhr:o.xhr,isAborted:o.isAborted,handlingStack:o.handlingStack})}})})(e,t,r),function M$(e,t){var n=sI().subscribe(function(r){var i=r;if(M6(i.url))switch(i.state){case"start":t.traceFetch(i),i.requestIndex=BI(),e.notify(6,{requestIndex:i.requestIndex,url:i.url});break;case"resolve":!function x$(e,t){var n=e.response&&function C$(e){try{return e.clone()}catch{return}}(e.response);n&&n.body?function v$(e,t,n){var r=e.getReader(),i=[],o=0;function a(){var c,l;if(r.cancel().catch(it),n.collectStreamBody){var u;if(1===i.length)u=i[0];else{u=new Uint8Array(o);var d=0;i.forEach(function(f){u.set(f,d),d+=f.length})}c=u.slice(0,n.bytesLimit),l=u.length>n.bytesLimit}t(void 0,c,l)}!function s(){r.read().then(pe(function(c){c.done?a():(n.collectStreamBody&&i.push(c.value),(o+=c.value.length)>n.bytesLimit?a():s())}),pe(function(c){return t(c)}))}()}(n.body,function(){t(bn(e.startClocks.timeStamp,ln()))},{bytesLimit:Number.POSITIVE_INFINITY,collectStreamBody:!1}):t(bn(e.startClocks.timeStamp,ln()))}(i,function(o){t.clearTracingIfNeeded(i),e.notify(7,{duration:o,method:i.method,requestIndex:i.requestIndex,responseType:i.responseType,spanId:i.spanId,startClocks:i.startClocks,status:i.status,traceId:i.traceId,traceSampled:i.traceSampled,type:"fetch",url:i.url,response:i.response,init:i.init,input:i.input,isAborted:i.isAborted,handlingStack:i.handlingStack})})}})}(e,r)}function BI(){var e=FI;return FI+=1,e}function HI(e){return Sc(e)&&e<0?void 0:e}function VI(e){var n=e.isChildEvent,r=e.onChange,i=void 0===r?it:r,o={errorCount:0,longTaskCount:0,resourceCount:0,actionCount:0,frustrationCount:0},s=e.lifeCycle.subscribe(12,function(a){var c;if("view"!==a.type&&"vital"!==a.type&&n(a))switch(a.type){case"error":o.errorCount+=1,i();break;case"action":o.actionCount+=1,a.action.frustration&&(o.frustrationCount+=a.action.frustration.type.length),i();break;case"long_task":o.longTaskCount+=1,i();break;case"resource":null!==(c=a._dd)&&void 0!==c&&c.discarded||(o.resourceCount+=1,i())}});return{stop:function(){s.unsubscribe()},eventCounts:o}}var rd,At=function(e){return e.EVENT="event",e.FIRST_INPUT="first-input",e.LARGEST_CONTENTFUL_PAINT="largest-contentful-paint",e.LAYOUT_SHIFT="layout-shift",e.LONG_TASK="longtask",e.LONG_ANIMATION_FRAME="long-animation-frame",e.NAVIGATION="navigation",e.PAINT="paint",e.RESOURCE="resource",e}(At||{});function Bi(e,t){return new at(function(n){if(window.PerformanceObserver){var i,c,r=function(l){var u=function N$(e){return e.filter(function(t){return!function L$(e){return!(e.entryType!==At.RESOURCE||M6(e.name)&&kI(e))}(t)})}(l);u.length>0&&n.notify(u)},o=!0,s=new PerformanceObserver(pe(function(l){o?i=An(function(){return r(l.getEntries())}):r(l.getEntries())}));try{s.observe(t)}catch{if(Lr([At.RESOURCE,At.NAVIGATION,At.LONG_TASK,At.PAINT],t.type)){t.buffered&&(i=An(function(){return r(performance.getEntriesByType(t.type))}));try{s.observe({entryTypes:[t.type]})}catch{return}}}return o=!1,function R$(e){!rd&&function O$(){return void 0!==window.performance&&"getEntries"in performance}()&&"addEventListener"in performance&&(rd=Et(e,performance,"resourcetimingbufferfull",function(){performance.clearResourceTimings()}))}(e),!t1(At.FIRST_INPUT)&&t.type===At.FIRST_INPUT&&(c=function k$(e,t){var n=Pr(),r=!1,i=Xn(e,window,["click","mousedown","keydown","touchstart","pointerdown"],function(a){if
1(a.cancelable){var c={entryType:"first-input",processingStart:Fr(),processingEnd:Fr(),startTime:a.timeStamp,duration:0,name:"",cancelable:!1,target:null,toJSON:function(){return{}}};"pointerdown"===a.type?function o(a,c){Xn(a,window,["pointerup","pointercancel"],function(l){"pointerup"===l.type&&s(c)},{once:!0})}(e,c):s(c)}},{passive:!0,capture:!0}).stop;return{stop:i};function s(a){if(!r){r=!0,i();var c=a.processingStart-a.startTime;c>=0&&c<Pr()-n&&t(a)}}}(e,function(l){r([l])}).stop),function(){s.disconnect(),c&&c(),Er(i)}}})}function t1(e){return window.PerformanceObserver&&void 0!==PerformanceObserver.supportedEntryTypes&&PerformanceObserver.supportedEntryTypes.includes(e)}var UI=100,P$=100;function x6(e,t,n,r,i){var o=function B$(e,t,n){return new at(function(r){var o,i=[],s=0;i.push(t.subscribe(c),Bi(n,{type:At.RESOURCE}).subscribe(function(l){l.some(function(u){return!k6(n,u.name)})&&c()}),e.subscribe(6,function(l){k6(n,l.url)||(void 0===o&&(o=l.requestIndex),s+=1,c())}),e.subscribe(7,function(l){k6(n,l.url)||void 0===o||l.requestIndex<o||(s-=1,c())}));var a=function H$(e){return tr(window,"open",e)}(c).stop;return function(){a(),i.forEach(function(l){return l.unsubscribe()})};function c(){r.notify({isBusy:s>0})}})}(e,t,n);return function F$(e,t,n){var r,i=!1,o=An(pe(function(){return l({hadActivity:!1})}),UI),s=void 0!==n?An(pe(function(){return l({hadActivity:!0,end:ln()})}),n):void 0,a=e.subscribe(function(u){var d=u.isBusy;Er(o),Er(r);var f=ln();d||(r=An(pe(function(){return l({hadActivity:!0,end:f})}),P$))}),c=function(){i=!0,Er(o),Er(r),Er(s),a.unsubscribe()};function l(u){i||(c(),t(u))}return{stop:c}}(o,r,i)}function k6(e,t){return vI(e.excludedActivityUrls,t)}function Qo(e){return window.CSS&&window.CSS.escape?window.CSS.escape(e):e.replace(/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,function(t,n){return n?"\0"===t?"\ufffd":"".concat(t.slice(0,-1),"\\").concat(t.charCodeAt(t.length-1).toString(16)," "):"\\".concat(t)})}function Fc(e,t){return e.matches?e.matches(t):!!e.msMatchesSelector&&e.msMatchesSelector(t)}function id(e){if(e.parentElement)return e.parentElement;for(;e.parentNode;){if(e.parentNode.nodeType===Node.ELEMENT_NODE)return e.parentNode;e=e.parentNode}return null}var U$=function(){function e(t){var n=this;this.map=new WeakMap,t&&t.forEach(function(r){return n.map.set(r,1)})}return e.prototype.add=function(t){return this.map.set(t,1),this},e.prototype.delete=function(t){return this.map.delete(t)},e.prototype.has=function(t){return this.map.has(t)},e}();function QI(e){return e.nodeType===Node.TEXT_NODE}function Bc(e){return e.nodeType===Node.ELEMENT_NODE}function n1(e){return Bc(e)&&!!e.shadowRoot}function R6(e){return!!e.host&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&Bc(e.host)}function zI(e,t){for(var n=e.firstChild;n;)t(n),n=n.nextSibling;n1(e)&&t(e.shadowRoot)}function r1(e){return R6(e)?e.host:e.parentNode}var ge={IGNORE:"ignore",HIDDEN:"hidden",ALLOW:nd.ALLOW,MASK:nd.MASK,MASK_USER_INPUT:nd.MASK_USER_INPUT},O6="data-dd-privacy",z$="hidden",Z$="dd-privacy-",zo="***",ZI="data:image/gif;base64,R0lGODlhAQABAIAAAMLCwgAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==",G$={INPUT:!0,OUTPUT:!0,TEXTAREA:!0,SELECT:!0,OPTION:!0,DATALIST:!0,OPTGROUP:!0};function Hi(e,t,n){if(n&&n.has(e))return n.get(e);var r=r1(e),i=r?Hi(r,t,n):t,s=GI(WI(e),i);return n&&n.set(e,s),s}function GI(e,t){switch(t){case ge.HIDDEN:case ge.IGNORE:return t}switch(e){case ge.ALLOW:case ge.MASK:case ge.MASK_USER_INPUT:case ge.HIDDEN:case ge.IGNORE:return e;default:return t}}function WI(e){if(Bc(e)){if("BASE"===e.tagName)return ge.ALLOW;if("INPUT"===e.tagName){if("password"===e.type||"email"===e.type||"tel"===e.type||"hidden"===e.type)return ge.MASK;var n=e.getAttribute("autocomplete");if(n&&(n.startsWith("cc-")||n.endsWith("-password")))return ge.MASK}if(Fc(e,Hc(ge.HIDDEN)))return ge.HIDDEN;if(Fc(e,Hc(ge.MASK)))return ge.MASK;if(Fc(e,Hc(ge.MASK_USER_INPUT)))return ge.MASK_USER_INPUT;if(Fc(e,Hc(ge.ALLOW)))return ge.ALLOW;if(function J$(e){if("SCRIPT"===e.nodeName)return!0;if("LINK"===e.nodeName){var t=i("rel");return/preload|prefetch/i.test(t)&&"script"===i("as")||"shortcut icon"===t||"icon"===t}if("META"===e.nodeName){var n=i("name"),r=(t=i("rel"),i("property"));return/^msapplication-tile(image|color)$/.test(n)||"application-name"===n||"icon"===t||"apple-touch-icon"===t||"shortcut icon"===t||"keywords"===n||"description"===n||/^(og|twitter|fb):/.test(r)||/^(og|twitter):/.test(n)||"pinterest"===n||"robots"===n||"googlebot"===n||"bingbot"===n||e.hasAttribute("http-equiv")||"author"===n||"generator"===n||"framework"===n||"publisher"===n||"progid"===n||/^article:/.test(r)||/^product:/.test(r)||"google-site-verification"===n||"yandex-verification"===n||"csrf-token"===n||"p:domain_verify"===n||"verify-v1"===n||"verification"===n||"shopify-checkout-api-token"===n}function i(o){return(e.getAttribute(o)||"").toLowerCase()}return!1}(e))return ge.IGNORE}}function o1(e,t){switch(t){case ge.MASK:case ge.HIDDEN:case ge.IGNORE:return!0;case ge.MASK_USER_INPUT:return QI(e)?qI(e.parentNode):qI(e);default:return!1}}function qI(e){if(!e||e.nodeType!==e.ELEMENT_NODE)return!1;var t=e;if("INPUT"===t.tagName)switch(t.type){case"button":case"color":case"reset":case"submit":return!1}return!!G$[t.tagName]}var q$=function(e){return e.replace(/\S/g,"x")};function JI(e,t,n){var r,i=null===(r=e.parentElement)||void 0===r?void 0:r.tagName,o=e.textContent||"";if(!t||o.trim()){if("SCRIPT"===i)o=zo;else if(n===ge.HIDDEN)o=zo;else if(o1(e,n))if("DATALIST"===i||"SELECT"===i||"OPTGROUP"===i){if(!o.trim())return}else o="OPTION"===i?zo:q$(o);return o}}function Hc(e){return"[".concat(O6,'="').concat(e,'"], .').concat(Z$).concat(e)}var N6="data-dd-action-name";function KI(e,t){var n;if(function iee(){return void 0===P6&&(P6="closest"in HTMLElement.prototype),P6}())n=e.closest("[".concat(t,"]"));else for(var r=e;r;){if(r.hasAttribute(t)){n=r;break}r=id(r)}if(n)return $I(XI(n.getAttribute(t).trim()))}var L6,P6,X$=[function(e,t,n){if(function ree(){return void 0===L6&&(L6="labels"in HTMLInputElement.prototype),L6}()){if("labels"in e&&e.labels&&e.labels.length>0)return sd(e.labels[0],t)}else if(e.id){var r=e.ownerDocument&&Po(e.ownerDocument.querySelectorAll("label"),function(i){return i.htmlFor===e.id});return r&&sd(r,t,n)}},function(e){if("INPUT"===e.nodeName){var t=e,n=t.getAttribute("type");if("button"===n||"submit"===n||"reset"===n)return{name:t.value,nameSource:"text_content"}}}
1,function(e,t,n){if("BUTTON"===e.nodeName||"LABEL"===e.nodeName||"button"===e.getAttribute("role"))return sd(e,t,n)},function(e){return od(e,"aria-label")},function(e,t,n){var r=e.getAttribute("aria-labelledby");if(r)return{name:r.split(/\s+/).map(function(i){return function tee(e,t){return e.ownerDocument?e.ownerDocument.getElementById(t):null}(e,i)}).filter(function(i){return!!i}).map(function(i){return eS(i,t,n)}).join(" "),nameSource:"text_content"}},function(e){return od(e,"alt")},function(e){return od(e,"name")},function(e){return od(e,"title")},function(e){return od(e,"placeholder")},function(e,t){if("options"in e&&e.options.length>0)return sd(e.options[0],t)}],$$=[function(e,t,n){return sd(e,t,n)}],eee=10;function YI(e,t,n,r){for(var i=e,o=0;o<=eee&&i&&"BODY"!==i.nodeName&&"HTML"!==i.nodeName&&"HEAD"!==i.nodeName;){for(var s=0,a=n;s<a.length;s++){var l=(0,a[s])(i,t,r);if(l){var u=l.name,d=l.nameSource,f=u&&u.trim();if(f)return{name:$I(XI(f)),nameSource:d}}}if("FORM"===i.nodeName)break;i=id(i),o+=1}}function XI(e){return e.replace(/\s+/g," ")}function $I(e){return e.length>100?"".concat(tI(e,100)," [...]"):e}function od(e,t){return{name:e.getAttribute(t)||"",nameSource:"standard_attribute"}}function sd(e,t,n){return{name:eS(e,t,n)||"",nameSource:"text_content"}}function eS(e,t,n){if(!e.isContentEditable){if("innerText"in e){var r=e.innerText,i=function(o){for(var s=e.querySelectorAll(o),a=0;a<s.length;a+=1){var c=s[a];if("innerText"in c){var l=c.innerText;l&&l.trim().length>0&&(r=r.replace(l,""))}}};return function nee(){return!function zY(){return 0===v6()}()}()||i("script, style"),i("[".concat(N6,"]")),t&&i("[".concat(t,"]")),n&&i("".concat(Hc(ge.HIDDEN),", ").concat(Hc(ge.MASK))),r}return e.textContent}}var s1,tS=[N6,"data-testid","data-test","data-qa","data-cy","data-test-id","data-qa-id","data-testing","data-component","data-element","data-source-file"],oee=[rS,function aee(e){if(e.id&&!nS(e.id))return"#".concat(Qo(e.id))}],see=[rS,function cee(e){if("BODY"!==e.tagName)for(var t=function V$(e){if(e.classList)return e.classList;var t=(e.getAttribute("class")||"").trim();return t?t.split(/\s+/):[]}(e),n=0;n<t.length;n+=1){var r=t[n];if(!nS(r))return"".concat(Qo(e.tagName),".").concat(Qo(r))}},function lee(e){return Qo(e.tagName)}];function ad(e,t){if(function pee(e){return"isConnected"in e?e.isConnected:e.ownerDocument.documentElement.contains(e)}(e)){for(var n,r=e;r&&"HTML"!==r.nodeName;){var i=iS(r,oee,dee,t,n);if(i)return i;n=iS(r,see,fee,t,n)||cd(uee(r),n),r=id(r)}return n}}function nS(e){return/[0-9]/.test(e)}function rS(e,t){if(t&&(n=s(t)))return n;for(var r=0,i=tS;r<i.length;r++){var n;if(n=s(i[r]))return n}function s(a){if(e.hasAttribute(a))return"".concat(Qo(e.tagName),"[").concat(a,'="').concat(Qo(e.getAttribute(a)),'"]')}}function uee(e){for(var t=id(e).firstElementChild,n=1;t&&t!==e;)t.tagName===e.tagName&&(n+=1),t=t.nextElementSibling;return"".concat(Qo(e.tagName),":nth-of-type(").concat(n,")")}function iS(e,t,n,r,i){for(var o=0,s=t;o<s.length;o++){var c=(0,s[o])(e,r);if(c&&n(e,c,i))return cd(c,i)}}function dee(e,t,n){return 1===e.ownerDocument.querySelectorAll(cd(t,n)).length}function fee(e,t,n){var r;if(void 0===n)r=function(a){return Fc(a,t)};else{var i=function hee(){if(void 0===s1)try{document.querySelector(":scope"),s1=!0}catch{s1=!1}return s1}()?cd("".concat(t,":scope"),n):cd(t,n);r=function(a){return null!==a.querySelector(i)}}for(var s=id(e).firstElementChild;s;){if(s!==e&&r(s))return!1;s=s.nextElementSibling}return!0}function cd(e,t){return t?"".concat(e,">").concat(t):e}var oS=Mn,gee=100;function sS(){var e=window.getSelection();return!e||e.isCollapsed}function aS(e){return e.target instanceof Element&&!1!==e.isPrimary}var cS=3;var Eee='input:not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="range"]),textarea,select,[contenteditable],[contenteditable] *,canvas,a[href],a[href] *';function lS(e){return!(e.hasPageActivity||e.getUserActivity().input||e.getUserActivity().scroll||Fc(e.event.target,Eee))}var uS=10*Mn,ld=new Map;function dS(e,t){ld.set(e,t),ld.forEach(function(n,r){bn(r,Fr())>uS&&ld.delete(r)})}
1var wee=5*$n;function Iee(e,t,n){var o,r=Pc({expireDelay:wee}),i=new at;e.subscribe(9,function(){r.reset()}),e.subscribe(4,l);var s=function yee(e,t){var i,s,n=t.onPointerDown,r=t.onPointerUp,o={selection:!1,input:!1,scroll:!1},a=[Et(e,window,"pointerdown",function(c){aS(c)&&(i=sS(),o={selection:!1,input:!1,scroll:!1},s=n(c))},{capture:!0}),Et(e,window,"selectionchange",function(){(!i||!sS())&&(o.selection=!0)},{capture:!0}),Et(e,window,"scroll",function(){o.scroll=!0},{capture:!0,passive:!0}),Et(e,window,"pointerup",function(c){if(aS(c)&&s){var l=o;r(s,c,function(){return l}),s=void 0}},{capture:!0}),Et(e,window,"input",function(){o.input=!0},{capture:!0})];return{stop:function(){a.forEach(function(c){return c.stop()})}}}(n,{onPointerDown:function(u){return function See(e,t,n,r){var i=e.enablePrivacyForActionName?Hi(r.target,e.defaultPrivacyLevel):ge.ALLOW;if(i!==ge.HIDDEN){var o=function Tee(e,t,n){var r=e.target.getBoundingClientRect(),i=ad(e.target,n.actionNameAttribute);i&&dS(e.timeStamp,i);var o=function Y$(e,t,n){var r=t.enablePrivacyForActionName,i=t.actionNameAttribute,o=KI(e,N6)||i&&KI(e,i);return o?{name:o,nameSource:"custom_attribute"}:n===ge.MASK?{name:"Masked Element",nameSource:"mask_placeholder"}:YI(e,i,X$,r)||YI(e,i,$$,r)||{name:"",nameSource:"blank"}}(e.target,n,t);return{type:"click",target:{width:Math.round(r.width),height:Math.round(r.height),selector:i},position:{x:Math.round(e.clientX-r.left),y:Math.round(e.clientY-r.top)},name:o.name,nameSource:o.nameSource}}(r,i,e),s=!1;return x6(t,n,e,function(a){s=a.hadActivity},UI),{clickActionBase:o,hadActivityOnPointerDown:function(){return s}}}}(n,e,t,u)},onPointerUp:function(u,d,f){!function Dee(e,t,n,r,i,o,s,a,c,l){var u,d=fS(t,r,c,s,a);o(d);var f=null===(u=s?.target)||void 0===u?void 0:u.selector;f&&dS(a.timeStamp,f);var h=x6(t,n,e,function(C){C.hadActivity&&C.end<d.startClocks.timeStamp?d.discard():C.hadActivity?d.stop(C.end):l()?d.stop(d.startClocks.timeStamp):d.stop()},uS).stop,p=t.subscribe(4,function(C){d.stop(C.endClocks.timeStamp)}),m=i.subscribe(function(){d.stop()});d.stopObservable.subscribe(function(){p.unsubscribe(),h(),m.unsubscribe()})}(n,e,t,r,i,c,u.clickActionBase,d,f,u.hadActivityOnPointerDown)}}).stop;return{stop:function(){l(),i.notify(),s()},actionContexts:{findActionId:function(u){return r.findAll(u)}}};function c(u){if(!o||!o.tryAppend(u)){var d=u.clone();o=function mee(e,t){var i,n=[],r=0;function o(c){c.stopObservable.subscribe(s),n.push(c),Er(i),i=An(a,oS)}function s(){1===r&&n.every(function(c){return c.isStopped()})&&(r=2,t(n))}function a(){Er(i),0===r&&(r=1,s())}return o(e),{tryAppend:function(c){return 0===r&&(n.length>0&&!function Cee(e,t){return e.target===t.target&&function vee(e,t){return Math.sqrt(Math.pow(e.clientX-t.clientX,2)+Math.pow(e.clientY-t.clientY,2))}(e,t)<=gee&&e.timeStamp-t.timeStamp<=oS}(n[n.length-1].event,c.event)?(a(),!1):(o(c),!0))},stop:function(){a()}}}(u,function(f){!function Mee(e,t){var n=function Aee(e,t){if(function bee(e){if(e.some(function(n){return n.getUserActivity().selection||n.getUserActivity().scroll}))return!1;for(var t=0;t<e.length-(cS-1);t+=1)if(e[t+cS-1].event.timeStamp-e[t].event.timeStamp<=Mn)return!0;return!1}(e))return t.addFrustration("rage_click"),e.some(lS)&&t.addFrustration("dead_click"),t.hasError&&t.addFrustration("error_click"),{isRage:!0};var n=e.some(function(r){return r.getUserActivity().selection});return e.forEach(function(r){r.hasError&&r.addFrustration("error_click"),lS(r)&&!n&&r.addFrustration("dead_click")}),{isRage:!1}}(e,t).isRage;n?(e.forEach(function(r){return r.discard()}),t.stop(ln()),t.validate(e.map(function(r){return r.event}))):(t.discard(),e.forEach(function(r){return r.validate()}))}(f,d)})}}function l(){o&&o.stop()}}function fS(e,t,n,r,i){var u,o=xn(),s=Qn(),a=t.add(o,s.relative),c=VI({lifeCycle:e,isChildEvent:function(p){return void 0!==p.action&&(Array.isArray(p.action.id)?Lr(p.action.id,o):p.action.id===o)}}),l=0,d=[],f=new at;function h(p){0===l&&(l=1,(u=p)?a.close(f6(u)):a.remove(),c.stop(),f.notify())}return{event:i,stop:h,stopObservable:f,get hasError(){return c.eventCounts.errorCount>0},get hasPageActivity(){return void 0!==u},getUserActivity:n,addFrustration:function(p){d.push(p)},startClocks:s,isStopped:function(){return 1===l||2===l}
1,clone:function(){return fS(e,t,n,r,i)},validate:function(p){if(h(),1===l){var m=c.eventCounts,C=m.resourceCount,v=m.errorCount,y=m.longTaskCount,S=ye({type:"click",duration:u&&bn(s.timeStamp,u),startClocks:s,id:o,frustrationTypes:d,counts:{resourceCount:C,errorCount:v,longTaskCount:y},events:p??[i],event:i},r);e.notify(0,S),l=2}},discard:function(){h(),l=2}}}function hS(e,t){var n=a1(e)?{action:{id:e.id,loading_time:HI(Fe(e.duration)),frustration:{type:e.frustrationTypes},error:{count:e.counts.errorCount},long_task:{count:e.counts.longTaskCount},resource:{count:e.counts.resourceCount}},_dd:{action:{target:e.target,position:e.position,name_source:B5(Ic.ACTION_NAME_MASKING)?e.nameSource:void 0}}}:void 0,r=a1(e)?void 0:e.context,i=Fi({action:{id:xn(),target:{name:e.name},type:e.type},date:e.startClocks.timeStamp,type:"action",view:{in_foreground:t.wasInPageStateAt("active",e.startClocks.relative)}},n),o=a1(e)?{events:e.events}:{};return!a1(e)&&e.handlingStack&&(o.handlingStack=e.handlingStack),{customerContext:r,rawRumEvent:i,startTime:e.startClocks.relative,domainContext:o}}function a1(e){return"custom"!==e.type}function kee(e){var t=function(i,o){var s=zw({stackTrace:i,originalError:o,startClocks:Qn(),nonErrorPrefix:"Uncaught",source:Oc.SOURCE,handling:"unhandled"});e.notify(s)},n=function Ree(e){return tr(window,"onerror",function(t){var c,n=t.parameters,r=n[0],i=n[1],o=n[2],s=n[3],a=n[4];c=a instanceof Error?Uo(a):function GK(e,t,n,r){var i=[{url:t,column:r,line:n}],o=function qK(e){var t,n,r;return"[object String]"==={}.toString.call(e)&&(n=(t=WK.exec(e))[1],r=t[2]),{name:n,message:r}}(e);return{name:o.name,message:o.message,stack:i}}(r,i,o,s),e(c,a??r)})}(t).stop,r=function Oee(e){return tr(window,"onunhandledrejection",function(t){var r=t.parameters[0].reason||"Empty reason",i=Uo(r);e(i,r)})}(t).stop;return{stop:function(){n(),r()}}}var c1={};var ud={intervention:"intervention",deprecation:"deprecation",cspViolation:"csp_violation"};function pS(e){return ye({startClocks:Qn(),source:Oc.REPORT,handling:"unhandled"},e)}function gS(e,t,n,r,i){return n?wc({name:e,message:t,stack:[{func:"?",url:n,line:r??void 0,column:i??void 0}]}):void 0}function Zee(e,t,n,r){var i=new at;return function Bee(e){var t=function Nee(e){var t=e.map(function(n){return c1[n]||(c1[n]=function Lee(e){return new at(function(t){var n=co[e];return co[e]=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];n.apply(console,r);var o=P5();Ns(function(){t.notify(function Pee(e,t,n){var i,r=e.map(function(s){return function Fee(e){return"string"==typeof e?jt(e):e instanceof Error?jw(Uo(e)):Ls(jt(e),void 0,2)}(s)}).join(" ");if(t===k5.error){var o=Po(e,function(s){return s instanceof Error});i={stack:o?wc(Uo(o)):void 0,fingerprint:Zw(o),causes:o?Gw(o,"console"):void 0,startClocks:Qn(),message:r,source:Oc.CONSOLE,handling:"handled",handlingStack:n}}return{api:t,message:r,error:i,handlingStack:n}}(r,e,o))})},function(){co[e]=n}})}(n)),c1[n]});return Bw.apply(void 0,t)}([k5.error]).subscribe(function(n){return e.notify(n.error)})}(i),kee(i),function zee(e,t){var n=function Hee(e,t){var n=[];Lr(t,ud.cspViolation)&&n.push(function Uee(e){return new at(function(t){var n=Et(e,document,"securitypolicyviolation",function(r){t.notify(function Qee(e){var t="'".concat(e.blockedURI,"' blocked by '").concat(e.effectiveDirective,"' directive");return pS({type:e.effectiveDirective,message:"".concat(ud.cspViolation,": ").concat(t),originalError:e,csp:{disposition:e.disposition},stack:gS(e.effectiveDirective,e.originalPolicy?"".concat(t,' of the policy "').concat(tI(e.originalPolicy,100,"..."),'"'):"no policy",e.sourceFile,e.lineNumber,e.columnNumber)})}(r))}).stop;return n})}(e));var r=t.filter(function(i){return i!==ud.cspViolation});return r.length&&n.push(function Vee(e){return new at(function(t){if(window.ReportingObserver){var n=pe(function(i,o){return i.forEach(function(s){return t.notify(function jee(e){var n=e.body;return pS({type:n.id,message:"".concat(e.type,": ").concat(n.message),originalError:e,stack:gS(n.id,n.message,n.sourceFile,n.lineNumber,n.columnNumber)})}(s))})}),r=new window.ReportingObserver(n,{types:e,buffered:!0});return r.observe(),function(){r.disconnect()}}})}(r)),Bw.apply(void 0,n)}(e,[ud.cspViolation,ud.intervention]).subscribe(function(r){return t.notify(r)})}(t,i),i.subscribe(function(o){return e.notify(13,{error:o})}),function Gee(e,t,n){return e.subscribe(13,function(r){e.notify(11,ye({customerContext:r.customerContext,savedCommonContext:r.savedCommonContext},function Wee(e,t,n){var r={date:e.startClocks.timeStamp,error:{id:xn(),message:e.message,source:e.source,stack:e.stack,handling_stack:e.handlingStack,type:e.type,handling:e.handling,causes:e.causes,source_type:"browser",fingerprint:e.fingerprint,csp:e.csp},type:"error",view:{in_foreground:t.wasInPageStateAt("active",e.startClocks.relative)}},i=n.findFeatureFlagEvaluations(e.startClocks.relative);return i&&!Ps(i)&&(r.feature_flags=i),{rawRumEvent:r,startTime:e.startClocks.relative,domainContext:{error:e.originalError,handlingStack:e.handlingStack}}}(r.error,t,n)))}),{addError:function(r,i){var o=r.error,s=r.handlingStack,a=r.startClocks,c=r.context,u=zw({stackTrace:o instanceof Error?Uo(o):void 0,originalError:o,handlingStack:s,startClocks:a,nonErrorPrefix:"Provided",source:Oc.CUSTOM,handling:"handled"});e.notify(13,{customerContext:c,savedCommonContext:i,error:u})}}}(e,n,r)}function mS(e,t){if(window.requestIdleCallback&&window.cancelIdleCallback){var n=window.requestIdleCallback(pe(e),t);return function(){return window.cancelIdleCallback(n)}}return function Kee(e){var t=Pr(),n=An(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,Jee-(Pr()-t))}})}
1,0);return function(){return Er(n)}}(e)}var Jee=50,Yee=Mn,CS=new U$;function vS(e){return Dc(e.startTime,e.duration)}function F6(e,t,n){return document.readyState===t||"complete"===document.readyState?(n(),{stop:it}):Et(e,window,"complete"===t?"load":"DOMContentLoaded",n,{once:!0})}var nte=2*$n;function rte(e){var t=function ite(e){var t=e.querySelector("meta[name=dd-trace-id]"),n=e.querySelector("meta[name=dd-trace-time]");return yS(t&&t.content,n&&n.content)}(e)||function ote(e){var t=function ste(e){for(var t=0;t<e.childNodes.length;t+=1)if(n=AS(e.childNodes[t]))return n;if(e.body)for(t=e.body.childNodes.length-1;t>=0;t-=1){var n,r=e.body.childNodes[t];if(n=AS(r))return n;if(!QI(r))break}}(e);if(t)return yS(Xu(t,"trace-id"),Xu(t,"trace-time"))}(e);if(t&&!(t.traceTime<=Pr()-nte))return t.traceId}function yS(e,t){var n=t&&Number(t);if(e&&n)return{traceId:e,traceTime:n}}function AS(e){if(e&&function j$(e){return e.nodeType===Node.COMMENT_NODE}(e)){var t=/^\s*DATADOG;(.*?)\s*$/.exec(e.data);if(t)return t[1]}}function bS(){if(t1(At.NAVIGATION)){var e=performance.getEntriesByType(At.NAVIGATION)[0];if(e)return e}var t=function ate(){var e={},t=performance.timing;for(var n in t)if(Sc(t[n])){var i=t[n];e[n]=0===i?0:f6(i)}return e}(),n=ye({entryType:At.NAVIGATION,initiatorType:"navigation",name:window.location.href,startTime:0,duration:t.responseEnd,decodedBodySize:0,encodedBodySize:0,transferSize:0,workerStart:0,toJSON:function(){return ye({},n,{toJSON:void 0})}},t);return n}function cte(e,t){F6(e,"interactive",function(){var n=ye(bS().toJSON(),{entryType:At.RESOURCE,initiatorType:MI,traceId:rte(document),toJSON:function(){return ye({},n,{toJSON:void 0})}});t(n)})}function lte(e,t,n,r,i){void 0===r&&(r=function $ee(){var e=[];function t(r){var i;if(r.didTimeout){var o=performance.now();i=function(){return 30-(performance.now()-o)}}else i=r.timeRemaining.bind(r);for(;i()>0&&e.length;)e.shift()();e.length&&n()}function n(){mS(t,{timeout:Yee})}return{push:function(r){1===e.push(r)&&n()}}}()),void 0===i&&(i=cte),e.subscribe(7,function(a){s(function(){return function ute(e,t,n){var r=function ete(e){if(performance&&"getEntriesByName"in performance){var t=performance.getEntriesByName(e.url,"resource");if(t.length&&"toJSON"in t[0]){var n=t.filter(function(r){return!CS.has(r)}).filter(function(r){return kI(r)&&RI(r)}).filter(function(r){return function tte(e,t,n){return e.startTime>=t-1&&vS(e)<=Dc(n,1)}(r,e.startClocks.relative,vS({startTime:e.startClocks.relative,duration:e.duration}))});if(1===n.length)return CS.add(n[0]),n[0].toJSON()}}}(e),i=r?V5(r.startTime):e.startClocks,o=function dte(e,t){if(e.traceSampled&&e.traceId&&e.spanId)return{_dd:{span_id:e.spanId.toDecimalString(),trace_id:e.traceId.toDecimalString(),rule_psr:wS(t)}}}(e,t);if(t.trackResources||o){var s="xhr"===e.type?"xhr":"fetch",a=r?_S(r):void 0,c=function hte(e,t,n){return e.wasInPageStateDuringPeriod("frozen",t.relative,n)?void 0:Fe(n)}(n,i,e.duration),l=Fi({date:i.timeStamp,resource:{id:xn(),type:s,duration:c,method:e.method,status_code:e.status,protocol:r&&OI(r),url:LI(e.url)?PI(e.url):e.url},type:"resource",_dd:{discarded:!t.trackResources}},o,a);return{startTime:i.relative,rawRumEvent:l,domainContext:{performanceEntry:r,xhr:e.xhr,response:e.response,requestInput:e.input,requestInit:e.init,error:e.error,isAborted:e.isAborted,handlingStack:e.handlingStack}}}}(a,t,n)})});var o=Bi(t,{type:At.RESOURCE,buffered:!0}).subscribe(function(a){for(var c=function(f){(function b$(e){return"xmlhttprequest"===e.initiatorType||"fetch"===e.initiatorType})(f)||s(function(){return ES(f,t)})},l=0,u=a;l<u.length;l++)c(u[l])});function s(a){r.push(function(){var c=a();c&&e.notify(11,c)})}return i(t,function(a){s(function(){return ES(a,t)})}),{stop:function(){o.unsubscribe()}}}function ES(e,t){var n=V5(e.startTime),r=function fte(e,t){if(e.traceId)return{_dd:{trace_id:e.traceId,span_id:w6().toDecimalString(),rule_psr:wS(t)}}}(e,t);if(t.trackResources||r){var i=function A$(e){var t=e.name;if(!function kY(e){try{return!!z5(e)}catch{return!1}}(t))return Tc('Failed to construct URL for "'.concat(e.name,'"')),"other";for(var n=function RY(e){var t=z5(e).pathname;return"/"===t[0]?t:"/".concat(t)}(t),r=0,i=y$;r<i.length;r++){var o=i[r],s=o[0];if((0,o[1])(e.initiatorType,n))return s}return"other"}(e),o=_S(e),s=Fi({date:n.timeStamp,resource:{id:xn(),type:i,url:e.name,status_code:pte(e.responseStatus),protocol:OI(e)},type:"resource",_dd:{discarded:!t.trackResources}},r,o);return{startTime:n.relative,rawRumEvent:s,domainContext:{performanceEntry:e}}}}function _S(e){var t=e.renderBlockingStatus;return{resource:ye({duration:E$(e),render_blocking_status:t},I$(e),_$(e))}}function wS(e){return Sc(e.traceSampleRate)?e.traceSampleRate/100:void 0}function pte(e){return 0===e?void 0:e}var mte=10*$n;var _te=10*$n;function IS(e,t){var n,r;return void 0===t&&(t=window),"hidden"===document.visibilityState?n=0:(n=1/0,r=Xn(e,t,["pagehide","visibilitychange"],function(i){("pagehide"===i.type||"hidden"===document.visibilityState)&&(n=i.timeStamp,r())},{capture:!0}).stop),{get timeStamp(){return n},stop:function(){r?.()}}}function Ite(e,t,n){var r={},i=function yte(e,t,n){return void 0===n&&(n=bS),function Ete(e,t){var n,r=F6(e,"complete",function(){n=An(function(){return t()})}).stop;return{stop:function(){r(),Er(n)}}}(e,function(){var r=n();(function bte(e){return e.loadEventEnd<=0})(r)||t(function Ate(e){return{domComplete:e.domComplete,domContentLoaded:e.domContentLoadedEventEnd,domInteractive:e.domInteractive,loadEvent:e.loadEventEnd,firstByte:e.responseStart>=0&&e.responseStart<=Fr()?e.responseStart:void 0}}(r))})}(e,function(u){t(u.loadEvent),r.navigationTimings=u,n()}).stop,o=IS(e),s=function Cte(e,t,n){return{stop:Bi(e,{type:At.PAINT,buffered:!0}).subscribe(function(i){var o=Po(i,function(s){return"first-contentful-paint"===s.name&&s.startTime<t.timeStamp&&s.startTime<mte});o&&n(o.startTime)}).unsubscribe}}(e,o,function(u){r.firstContentfulPaint=u,n()}).stop,a=function wte(e,t,n,r){var i=1/0,o=Xn(e,n,["pointerdown","keydown"],function(c){i=c.timeStamp},{capture:!0,once:!0}).stop,s=0,a=Bi(e,{type:At.LARGEST_CONTENTFUL_PAINT,buffered:!0}).subscribe(function(c){var l=function fK(e,t){for(var n=e.length-1;n>=0;n-=1){var r=e[n];if(t(r,n,e))return r}}(c,function(d){return d.entryType===At.LARGEST_CONTENTFUL_PAINT&&d.startTime<i&&d.startTime<t.timeStamp&&d.startTime<_te&&d.size>s});if(l){var u=void 0;l.element&&(u=ad(l.element,e.actionNameAttribute)),r({value:l.startTime,targetSelector:u}),s=l.size}});return{stop:function(){o(),a.unsubscribe()}}}(e,o,window,function(u){r.largestContentfulPaint=u,n()}).stop,c=function vte(e,t,n){var r=Bi(e,{type:At.FIRST_INPUT,buffered:!0}).subscribe(function(i){var o=Po(i,function(c){return c.startTime<t.timeStamp});if(o){var s=bn(o.startTime,o.processingStart),a=void 0;o.target&&Bc(o.target)&&(a=ad(o.target,e.actionNameAttribute)),n({delay:s>=0?s:0,time:o.startTime,targetSelector:a})}});return{stop:function(){r.unsubscribe()}}}(e,o,function(u){r.firstInput=u,n()}).stop;return{stop:function l(){i(),s(),a(),c(),o.stop()},initialViewMetrics:r}}function Dte(e){var t;if(e)return null===(t=Po(e,function(n){return!!n.node&&Bc(n.node)}))||void 0===t?void 0:t.node}var l1,U6,Tte=5*Mn,Mte=Mn,SS=0,B6=1/0,H6=0,DS=function(){return l1?SS:window.performance.interactionCount||0},TS=10,Ote=1*$n;
1function MS(){var e,t=window.visualViewport;return e=t?t.pageLeft-t.offsetLeft:void 0!==window.scrollX?window.scrollX:window.pageXOffset||0,Math.round(e)}function V6(){var e,t=window.visualViewport;return e=t?t.pageTop-t.offsetTop:void 0!==window.scrollY?window.scrollY:window.pageYOffset||0,Math.round(e)}function xS(e){return U6||(U6=function Hte(e){return new at(function(t){var n=lo(function(){t.notify(u1())},200).throttled;return Et(e,window,"resize",n,{capture:!0,passive:!0}).stop})}(e)),U6}function u1(){var e=window.visualViewport;return e?{width:Number(e.width*e.scale),height:Number(e.height*e.scale)}:{width:Number(window.innerWidth||0),height:Number(window.innerHeight||0)}}var Vte=Mn;function zte(e,t,n,r,i,o){var s={},a=function Bte(e,t,n,r,i,o){var s="initial_load"===r,a=!0,c=[],l=IS(n);function u(){if(!a&&!s&&c.length>0){var f=Math.max.apply(Math,c);f<l.timeStamp&&o(f)}}var d=x6(e,t,n,function(f){a&&(a=!1,f.hadActivity&&c.push(bn(i.timeStamp,f.end)),u())}).stop;return{stop:function(){d(),l.stop()},setLoadEvent:function(f){s&&(s=!1,c.push(f),u())}}}(e,t,n,i,o,function(C){s.loadingTime=C,r()}),c=a.stop,l=a.setLoadEvent,u=function Ute(e,t,n,r){void 0===r&&(r=function Qte(e,t){return void 0===t&&(t=Vte),new at(function(n){if(window.ResizeObserver){var i=lo(function r(){n.notify(function jte(){var e=V6(),t=u1().height;return{scrollHeight:Math.round((document.scrollingElement||document.documentElement).scrollHeight),scrollDepth:Math.round(t+e),scrollTop:e}}())},t,{leading:!1,trailing:!0}),o=document.scrollingElement||document.documentElement,s=new ResizeObserver(pe(i.throttled));o&&s.observe(o);var a=Et(e,window,"scroll",i.throttled,{passive:!0});return function(){i.cancel(),s.unobserve(o),a.stop()}}})}(e));var i=0,o=0,s=0,a=r.subscribe(function(c){var l=c.scrollDepth,u=c.scrollTop,d=c.scrollHeight,f=!1;if(l>i&&(i=l,f=!0),d>o){o=d;var h=Fr();s=bn(t.relative,h),f=!0}f&&n({maxDepth:Math.min(i,o),maxDepthScrollTop:u,maxScrollHeight:o,maxScrollHeightTime:s})});return{stop:function(){return a.unsubscribe()}}}(n,o,function(C){s.scroll=C}).stop,d=function Ste(e,t,n){if(!function kte(){return t1(At.LAYOUT_SHIFT)&&"WeakRef"in window}())return{stop:it};var i,o,r=0;n({value:0});var s=function xte(){var t,n,e=0,r=0;return{update:function(i){var s;return void 0===t||i.startTime-n>=Mte||i.startTime-t>=Tte?(t=n=i.startTime,r=e=i.value,s=!0):(e+=i.value,n=i.startTime,(s=i.value>r)&&(r=i.value)),{cumulatedValue:e,isMaxValue:s}}}}(),a=Bi(e,{type:At.LAYOUT_SHIFT,buffered:!0}).subscribe(function(c){for(var l=0,u=c;l<u.length;l++){var d=u[l];if(!(d.hadRecentInput||d.startTime<t)){var f=s.update(d),h=f.cumulatedValue;if(f.isMaxValue){var m=Dte(d.sources);i=m?new WeakRef(m):void 0,o=bn(t,d.startTime)}h>r&&(r=h,m=i?.deref(),n({value:H5(r,4),targetSelector:m&&ad(m,e.actionNameAttribute),time:o}))}}});return{stop:function(){a.unsubscribe()}}}(n,o.relative,function(C){s.cumulativeLayoutShift=C,r()}).stop,f=function Nte(e,t,n){if(!function Fte(){return t1(At.EVENT)&&window.PerformanceEventTiming&&"interactionId"in PerformanceEventTiming.prototype}())return{getInteractionToNextPaint:function(){},setViewEnd:it,stop:it};var l,u,r=function Pte(e){!function Rte(){"interactionCount"in performance||l1||(l1=new window.PerformanceObserver(pe(function(e){e.getEntries().forEach(function(t){var n=t;n.interactionId&&(B6=Math.min(B6,n.interactionId),H6=Math.max(H6,n.interactionId),SS=(H6-B6)/7+1)})}))).observe({type:"event",buffered:!0,durationThreshold:0})}();var t="initial_load"===e?0:DS(),n={stopped:!1};function r(){return DS()-t}return{getViewInteractionCount:function(){return n.stopped?n.interactionCount:r()},stopViewInteractionCount:function(){n={stopped:!0,interactionCount:r()}}}}(n),i=r.getViewInteractionCount,o=r.stopViewInteractionCount,s=1/0,a=function Lte(e){var t=[];function n(){t.sort(function(r,i){return i.duration-r.duration}).splice(TS)}return{process:function(r){var i=t.findIndex(function(s){return r.interactionId===s.interactionId}),o=t[t.length-1];-1!==i?r.duration>t[i].duration&&(t[i]=r,n()):(t.length<TS||r.duration>o.duration)&&(t.push(r),n())},estimateP98Interaction:function(){var r=Math.min(t.length-1,Math.floor(e()/50));return t[r]}}}(i),c=-1;function d(p){for(var m=0,C=p;m<C.length;m++){var v=C[m];v.interactionId&&v.startTime>=t&&v.startTime<=s&&a.process(v)}var y=a.estimateP98Interaction();y&&y.duration!==c&&(c=y.duration,u=bn(t,y.startTime),l=function _ee(e){var t=ld.get(e);return ld.delete(e),t}(y.startTime),!l&&y.target&&Bc(y.target)&&(l=ad(y.target,e.actionNameAttribute)))}var f=Bi(e,{type:At.FIRST_INPUT,buffered:!0}).subscribe(d),h=Bi(e,{type:At.EVENT,durationThreshold:40,buffered:!0}).subscribe(d);return{getInteractionToNextPaint:function(){return c>=0?{value:Math.min(c,Ote),targetSelector:l,time:u}:i()?{value:0}:void 0}
1,setViewEnd:function(p){s=p,o()},stop:function(){h.unsubscribe(),f.unsubscribe()}}}(n,o.relative,i),p=f.getInteractionToNextPaint;return{stop:function(){c(),d(),u()},stopINPTracking:f.stop,setLoadEvent:l,setViewEnd:f.setViewEnd,getCommonViewMetrics:function(){return s.interactionToNextPaint=p(),s}}}var Zte=3e3,Gte=5*$n,Wte=5*$n;function kS(e){var t=e.indexOf("?");return t<0?e:e.slice(0,t)}function $te(e,t,n,r,i,o,s,a,c){return e.subscribe(3,function(l){return e.notify(11,function ene(e,t,n,r,i){var o,s,a,c,l,u,d,f,h,p,m,C,v,y,S,N,K=r.getReplayStats(e.id),J=n.findFeatureFlagEvaluations(e.startClocks.relative),R=i.findAll(e.startClocks.relative,e.duration),_e={_dd:{document_version:e.documentVersion,replay_stats:K,page_states:R,configuration:{start_session_replay_recording_manually:t.startSessionReplayRecordingManually}},date:e.startClocks.timeStamp,type:"view",view:{action:{count:e.eventCounts.actionCount},frustration:{count:e.eventCounts.frustrationCount},cumulative_layout_shift:null===(o=e.commonViewMetrics.cumulativeLayoutShift)||void 0===o?void 0:o.value,cumulative_layout_shift_time:Fe(null===(s=e.commonViewMetrics.cumulativeLayoutShift)||void 0===s?void 0:s.time),cumulative_layout_shift_target_selector:null===(a=e.commonViewMetrics.cumulativeLayoutShift)||void 0===a?void 0:a.targetSelector,first_byte:Fe(null===(c=e.initialViewMetrics.navigationTimings)||void 0===c?void 0:c.firstByte),dom_complete:Fe(null===(l=e.initialViewMetrics.navigationTimings)||void 0===l?void 0:l.domComplete),dom_content_loaded:Fe(null===(u=e.initialViewMetrics.navigationTimings)||void 0===u?void 0:u.domContentLoaded),dom_interactive:Fe(null===(d=e.initialViewMetrics.navigationTimings)||void 0===d?void 0:d.domInteractive),error:{count:e.eventCounts.errorCount},first_contentful_paint:Fe(e.initialViewMetrics.firstContentfulPaint),first_input_delay:Fe(null===(f=e.initialViewMetrics.firstInput)||void 0===f?void 0:f.delay),first_input_time:Fe(null===(h=e.initialViewMetrics.firstInput)||void 0===h?void 0:h.time),first_input_target_selector:null===(p=e.initialViewMetrics.firstInput)||void 0===p?void 0:p.targetSelector,interaction_to_next_paint:Fe(null===(m=e.commonViewMetrics.interactionToNextPaint)||void 0===m?void 0:m.value),interaction_to_next_paint_time:Fe(null===(C=e.commonViewMetrics.interactionToNextPaint)||void 0===C?void 0:C.time),interaction_to_next_paint_target_selector:null===(v=e.commonViewMetrics.interactionToNextPaint)||void 0===v?void 0:v.targetSelector,is_active:e.isActive,name:e.name,largest_contentful_paint:Fe(null===(y=e.initialViewMetrics.largestContentfulPaint)||void 0===y?void 0:y.value),largest_contentful_paint_target_selector:null===(S=e.initialViewMetrics.largestContentfulPaint)||void 0===S?void 0:S.targetSelector,load_event:Fe(null===(N=e.initialViewMetrics.navigationTimings)||void 0===N?void 0:N.loadEvent),loading_time:HI(Fe(e.commonViewMetrics.loadingTime)),loading_type:e.loadingType,long_task:{count:e.eventCounts.longTaskCount},resource:{count:e.eventCounts.resourceCount},time_spent:Fe(e.duration)},feature_flags:J&&!Ps(J)?J:void 0,display:e.commonViewMetrics.scroll?{scroll:{max_depth:e.commonViewMetrics.scroll.maxDepth,max_depth_scroll_top:e.commonViewMetrics.scroll.maxDepthScrollTop,max_scroll_height:e.commonViewMetrics.scroll.maxScrollHeight,max_scroll_height_time:Fe(e.commonViewMetrics.scroll.maxScrollHeightTime)}}:void 0,session:{has_replay:!!K||void 0,is_active:!!e.sessionIsActive&&void 0},privacy:{replay_level:t.defaultPrivacyLevel}};return Ps(e.customTimings)||(_e.view.custom_timings=function yK(e,t){for(var n={},r=0,i=Object.keys(e);r<i.length;r++){var o=i[r];n[o]=t(e[o])}return n}(e.customTimings,Fe)),{rawRumEvent:_e,startTime:e.startClocks.relative,domainContext:{location:e.location}}}(l,t,o,a,s))}),function qte(e,t,n,r,i,o,s){var l,a=new Set,c=u("initial_load",Jw(),s);function u(h,p,m){var C=function Jte(e,t,n,r,i,o,s){void 0===o&&(o=Qn());var d,m,C,v,y,a=xn(),c=new at,l={},u=0,f=Ju(r),h=l6(),p=!0;s&&(m=s.name,C=s.service||void 0,v=s.version||void 0,s.context&&h.setContext(y=s.context));var S={id:a,name:m,startClocks:o,service:C,version:v,context:y};e.notify(1,S),e.notify(2,S);var N=lo(ot,Zte,{leading:!1}
1),K=N.throttled,J=N.cancel,R=zte(e,t,n,K,i,o),un=R.setViewEnd,ct=R.stop,Vc=R.stopINPTracking,li=R.getCommonViewMetrics,qo="initial_load"===i?Ite(n,R.setLoadEvent,K):{stop:it,initialViewMetrics:{}},Uc=qo.stop,jc=qo.initialViewMetrics,Y=function gte(e,t,n){var r=VI({lifeCycle:e,isChildEvent:function(s){return s.view.id===t},onChange:n});return{stop:r.stop,eventCounts:r.eventCounts}}(e,a,K),ne=Y.stop,oe=Y.eventCounts,Le=bc(ot,Gte);function ot(){J(),u+=1;var Ot=void 0===d?ln():d.timeStamp;e.notify(3,{customTimings:l,documentVersion:u,id:a,name:m,service:C,version:v,context:h.getContext(),loadingType:i,location:f,startClocks:o,commonViewMetrics:li(),initialViewMetrics:jc,duration:bn(o.timeStamp,Ot),isActive:void 0===d,sessionIsActive:p,eventCounts:oe})}return ot(),h.changeObservable.subscribe(ot),{get name(){return m},service:C,version:v,contextManager:h,stopObservable:c,end:function(Ot){var dn,ht,Je=this;void 0===Ot&&(Ot={}),!d&&(d=null!==(dn=Ot.endClocks)&&void 0!==dn?dn:Qn(),p=null===(ht=Ot.sessionIsActive)||void 0===ht||ht,e.notify(4,{endClocks:d}),e.notify(5,{endClocks:d}),qu(Le),un(d.relative),ct(),ot(),An(function(){Je.stop()},Wte))},stop:function(){Uc(),ne(),Vc(),c.notify()},addTiming:function(Ot,Je){if(!d){var dn=function fY(e){return e<aY}(Je)?Je:bn(o.timeStamp,Je);l[function Kte(e){var t=e.replace(/[^a-zA-Z0-9-_.@$]/g,"_");return t!==e&&$e.warn("Invalid timing name: ".concat(e,", sanitized to: ").concat(t)),t}(Ot)]=dn,K()}},setViewName:function(Ot){m=Ot,ot()}}}(t,n,r,e,h,p,m);return a.add(C),C.stopObservable.subscribe(function(){a.delete(C)}),C}return function d(){t.subscribe(9,function(){c=u("route_change",void 0,{name:c.name,service:c.service,version:c.version,context:c.contextManager.getContext()})}),t.subscribe(8,function(){c.end({sessionIsActive:!1})}),t.subscribe(10,function(h){h.reason===Rc.UNLOADING&&c.end()})}(),o&&(l=function f(h){return h.subscribe(function(p){(function Yte(e,t){return e.pathname!==t.pathname||!function Xte(e){var t=e.substring(1);return""!==t&&!!document.getElementById(t)}(t.hash)&&kS(t.hash)!==kS(e.hash)})(p.oldLocation,p.newLocation)&&(c.end(),c=u("route_change"))})}(i)),{addTiming:function(h,p){void 0===p&&(p=ln()),c.addTiming(h,p)},startView:function(h,p){c.end({endClocks:p}),c=u("route_change",p,h)},setViewContext:function(h){c.contextManager.setContext(h)},setViewContextProperty:function(h,p){c.contextManager.setContextProperty(h,p)},setViewName:function(h){c.setViewName(h)},stop:function(){l&&l.unsubscribe(),c.end(),a.forEach(function(h){return h.stop()})}}}(n,e,r,t,i,!t.trackViewsManually,c)}var tne=$n,nne=Us,Zo=[];function cne(e,t,n){var r=function rne(e,t,n,r){var i=new at,o=new at,s=CX(e.sessionStoreStrategyType,t,n);Zo.push(function(){return s.stop()});var a=Pc({expireDelay:nne});function c(){return{id:s.getSession().id,trackingType:s.getSession()[t],isReplayForced:!!s.getSession().forcedReplay}}return Zo.push(function(){return a.stop()}),s.renewObservable.subscribe(function(){a.add(c(),Fr()),i.notify()}),s.expireObservable.subscribe(function(){o.notify(),a.closeActive(Fr())}),s.expandOrRenewSession(),a.add(c(),Jw().relative),r.observable.subscribe(function(){r.isGranted()?s.expandOrRenewSession():s.expire()}),function ine(e,t){var n=Xn(e,window,["click","touchstart","keydown","scroll"],t,{capture:!0,passive:!0}).stop;Zo.push(n)}(e,function(){r.isGranted()&&s.expandOrRenewSession()}),function one(e,t){var n=function(){"visible"===document.visibilityState&&t()},r=Et(e,document,"visibilitychange",n).stop;Zo.push(r);var i=bc(n,tne);Zo.push(function(){qu(i)})}(e,function(){return s.expandSession()}),function sne(e,t){var n=Et(e,window,"resume",t,{capture:!0}).stop;Zo.push(n)}(e,function(){return s.restartSession()}),{findSession:function(l,u){return a.find(l,u)},renewObservable:i,expireObservable:o,sessionStateUpdateObservable:s.sessionStateUpdateObservable,expire:s.expire,updateSessionState:s.updateSessionState}}(e,"rum",function(i){return function une(e,t){var n;return{trackingType:n=function dne(e){return"0"===e||"1"===e||"2"===e}(t)?t:Bs(e.sessionSampleRate)?Bs(e.sessionReplaySampleRate)?"1":"2":"0",
1isTracked:RS(n)}}(e,i)},n);return r.expireObservable.subscribe(function(){t.notify(8)}),r.renewObservable.subscribe(function(){t.notify(9)}),r.sessionStateUpdateObservable.subscribe(function(i){if(!i.previousState.forcedReplay&&i.newState.forcedReplay){var a=r.findSession();a&&(a.isReplayForced=!0)}}),{findTrackedSession:function(i){var o=r.findSession(i);if(o&&RS(o.trackingType))return{id:o.id,sessionReplay:"1"===o.trackingType?1:o.isReplayForced?2:0}},expire:r.expire,expireObservable:r.expireObservable,setForcedReplay:function(){return r.updateSessionState({forcedReplay:"1"})}}}function RS(e){return"2"===e||"1"===e}function fne(e){var t=e.encoder,n=e.request,r=e.flushController,i=e.messageBytesLimit,o={},s=r.flushObservable.subscribe(function(f){return function d(f){var h=Lw(o).join("\n");o={};var p=wI(f.reason),m=p?n.sendOnExit:n.send;if(p&&t.isAsync){var C=t.finishSync();C.outputBytesCount&&m(OS(C));var v=[C.pendingData,h].filter(Boolean).join("\n");v&&m({data:v,bytesCount:o6(v)})}else h&&t.write(t.isEmpty?h:"\n".concat(h)),t.finish(function(y){m(OS(y))})}(f)});function u(f,h){var p=Ls(f),m=t.estimateEncodedBytesCount(p);m>=i?$e.warn("Discarded a message whose size was bigger than the maximum allowed size ".concat(i,"KB. ").concat(O5," ").concat(Ow,"/#technical-limitations")):(function c(f){return void 0!==f&&void 0!==o[f]}(h)&&function l(f){var h=o[f];delete o[f];var p=t.estimateEncodedBytesCount(h);r.notifyAfterRemoveMessage(p)}(h),function a(f,h,p){r.notifyBeforeAddMessage(h),void 0!==p?(o[p]=f,r.notifyAfterAddMessage()):t.write(t.isEmpty?f:"\n".concat(f),function(m){r.notifyAfterAddMessage(m-h)})}(p,m,h))}return{flushController:r,add:u,upsert:u,stop:s.unsubscribe}}function OS(e){return{data:"string"==typeof e.output?e.output:new Blob([e.output],{type:"text/plain"}),bytesCount:e.outputBytesCount,encoding:e.encoding}}var hne=80*Bo,pne=32,NS=3*Pw,gne=$n,LS=Mn;function PS(e,t,n,r,i){0===t.transportStatus&&0===t.queuedPayloads.size()&&t.bandwidthMonitor.canHandle(e)?BS(e,t,n,{onSuccess:function(){return HS(0,t,n,r,i)},onFailure:function(){t.queuedPayloads.enqueue(e),FS(t,n,r,i)}}):t.queuedPayloads.enqueue(e)}function FS(e,t,n,r){2===e.transportStatus&&An(function(){BS(e.queuedPayloads.first(),e,t,{onSuccess:function(){e.queuedPayloads.dequeue(),e.currentBackoffTime=LS,HS(1,e,t,n,r)},onFailure:function(){e.currentBackoffTime=Math.min(gne,2*e.currentBackoffTime),FS(e,t,n,r)}})},e.currentBackoffTime)}function BS(e,t,n,r){var i=r.onSuccess,o=r.onFailure;t.bandwidthMonitor.add(e),n(e,function(s){t.bandwidthMonitor.remove(e),function mne(e){return"opaque"!==e.type&&(0===e.status&&!navigator.onLine||408===e.status||429===e.status||function m$(e){return e>=500}(e.status))}(s)?(t.transportStatus=t.bandwidthMonitor.ongoingRequestCount>0?1:2,e.retry={count:e.retry?e.retry.count+1:1,lastFailureStatus:s.status},o()):(t.transportStatus=0,i())})}function HS(e,t,n,r,i){0===e&&t.queuedPayloads.isFull()&&!t.queueFullReported&&(i({message:"Reached max ".concat(r," events size queued for upload: ").concat(NS/Pw,"MiB"),source:Oc.AGENT,startClocks:Qn()}),t.queueFullReported=!0);var o=t.queuedPayloads;for(t.queuedPayloads=VS();o.size()>0;)PS(o.dequeue(),t,n,r,i)}function VS(){var e=[];return{bytesCount:0,enqueue:function(t){this.isFull()||(e.push(t),this.bytesCount+=t.bytesCount)},first:function(){return e[0]},dequeue:function(){var t=e.shift();return t&&(this.bytesCount-=t.bytesCount),t},size:function(){return e.length},isFull:function(){return this.bytesCount>=NS}}}function US(e,t,n){var r=function Cne(){return{transportStatus:0,currentBackoffTime:LS,bandwidthMonitor:{ongoingRequestCount:0,ongoingByteCount:0,canHandle:function(e){return 0===this.ongoingRequestCount||this.ongoingByteCount+e.bytesCount<=hne&&this.ongoingRequestCount<pne},add:function(e){this.ongoingRequestCount+=1,this.ongoingByteCount+=e.bytesCount},remove:function(e){this.ongoingRequestCount-=1,this.ongoingByteCount-=e.bytesCount}},queuedPayloads:VS(),queueFullReported:!1}}(),i=function(o,s){return function bne(e,t,n,r){if(function Ene(){try{return window.Request&&"keepalive"in new Request
1("http://a")}catch{return!1}}()&&n.bytesCount<t){var o=e.build("fetch",n);fetch(o,{method:"POST",body:n.data,keepalive:!0,mode:"cors"}).then(pe(function(a){return r?.({status:a.status,type:a.type})}),pe(function(){j6(e.build("xhr",n),n.data,r)}))}else j6(e.build("xhr",n),n.data,r)}(e,t,o,s)};return{send:function(o){PS(o,r,i,e.trackType,n)},sendOnExit:function(o){!function yne(e,t,n){if(!!navigator.sendBeacon&&n.bytesCount<t)try{var i=e.build("beacon",n);if(navigator.sendBeacon(i,n.data))return}catch(a){!function Ane(e){jS||(jS=!0,j5(e))}(a)}j6(e.build("xhr",n),n.data)}(e,t,o)}}}var jS=!1;function j6(e,t,n){var r=new XMLHttpRequest;r.open("POST",e,!0),t instanceof Blob&&r.setRequestHeader("Content-Type",t.type),Et({allowUntrustedEvents:!0},r,"loadend",function(){n?.({status:r.status})},{once:!0}),r.send(t)}function _ne(e){var f,t=e.messagesLimit,n=e.bytesLimit,r=e.durationLimit,o=e.sessionExpireObservable,s=e.pageExitObservable.subscribe(function(m){return d(m.reason)}),a=o.subscribe(function(){return d("session_expire")}),c=new at(function(){return function(){s.unsubscribe(),a.unsubscribe()}}),l=0,u=0;function d(m){if(0!==u){var C=u,v=l;u=0,l=0,p(),c.notify({reason:m,messagesCount:C,bytesCount:v})}}function p(){Er(f),f=void 0}return{flushObservable:c,get messagesCount(){return u},notifyBeforeAddMessage:function(m){l+m>=n&&d("bytes_limit"),u+=1,l+=m,function h(){void 0===f&&(f=An(function(){d("duration_limit")},r))}()},notifyAfterAddMessage:function(m){void 0===m&&(m=0),l+=m,u>=t?d("messages_limit"):l>=n&&d("bytes_limit")},notifyAfterRemoveMessage:function(m){l-=m,0==(u-=1)&&p()}}}var Dne=Us;function QS(e){return Object.prototype.hasOwnProperty.call(history,e)?history:History.prototype}var fo,Zs,Q6,Rne=Us,Nne=10*Mn;function Pne(){0!==fo.batchCount&&(Tc("Customer data measures",fo),zS())}function dd(e,t){e.sum+=t,e.min=Math.min(e.min,t),e.max=Math.max(e.max,t)}function z6(e,t){e.sum+=t.sum,e.min=Math.min(e.min,t.min),e.max=Math.max(e.max,t.max)}function zS(){fo={batchCount:0,batchBytesCount:{min:1/0,max:0,sum:0},batchMessagesCount:{min:1/0,max:0,sum:0},globalContextBytes:{min:1/0,max:0,sum:0},userContextBytes:{min:1/0,max:0,sum:0},featureFlagBytes:{min:1/0,max:0,sum:0}}}function ZS(){Q6=!1,Zs={globalContextBytes:{min:1/0,max:0,sum:0},userContextBytes:{min:1/0,max:0,sum:0},featureFlagBytes:{min:1/0,max:0,sum:0}}}var Hne=Us;function GS(){return"hidden"===document.visibilityState?"hidden":document.hasFocus()?"active":"passive"}var Zne=Mn;function Gne(e,t){var n=Xu(document.cookie,e),r=bc(function(){var i=Xu(document.cookie,e);i!==n&&t(i)},Zne);return function(){qu(r)}}var WS="datadog-ci-visibility-test-execution-id";var kn,tre=10;function nre(e){return d1(e).segments_count}function d1(e){var t;return kn||(kn=new Map),kn.has(e)?t=kn.get(e):(kn.set(e,t={records_count:0,segments_count:0,segments_total_raw_size:0}),kn.size>tre&&function are(){if(kn)if(kn.keys){var e=kn.keys().next().value;e&&kn.delete(e)}else{var t=!0;kn.forEach(function(n,r){t&&(kn.delete(r),t=!1)})}}()),t}var Z6=new WeakMap;function Vi(e){return Z6.has(e)}function nr(e){return Z6.get(e)}function G6(e,t){var n=e.tagName,r=e.value;if(o1(e,t)){var i=e.type;return"INPUT"!==n||"button"!==i&&"submit"!==i&&"reset"!==i?r&&"OPTION"!==n?zo:void 0:r}return"OPTION"===n||"SELECT"===n?e.value:"INPUT"===n||"TEXTAREA"===n?r:void 0}var ure=/url\((?:(')([^']*)'|(")([^"]*)"|([^)]*))\)/gm,dre=/^[A-Za-z]+:|^\/\//,fre=/^data:.*,/i;var gre=/[^a-z1-6-_]/;function qS(e){var t=e.toLowerCase().trim();return gre.test(t)?"div":t}function JS(e,t){return"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='".concat(e,"' height='").concat(t,"' style='background-color:silver'%3E%3C/svg%3E")}var Ui={FullSnapshot:2,IncrementalSnapshot:3,Meta:4,Focus:6,ViewEnd:7,VisualViewport:8,FrustrationRecord:9},Gs={Document:0,DocumentType:1,Element:2,Text:3,CDATA:4,DocumentFragment:11},Br={Mutation:0,MouseMove:1,MouseInteraction:2,Scroll:3,ViewportResize:4,Input:5,TouchMove:6,MediaInteraction:7,StyleSheetRule:8},si={MouseUp:0,MouseDown:1,Click:2,ContextMenu:3,DblClick:4,Focus:5,Blur:6,TouchStart:7,TouchEnd:9},KS={Play:0,Pause:1};function YS(e){if(void 0!==e&&0!==e.length)return e.map(function(t){return{cssRules:Array.from(t.cssRules||t.rules,function(o){return o.cssText}),disabled:t.disabled||void 0,media:t.media.length>0?Array.from(t.media):void 0}})}function XS(e,t,n,r){if(t===ge.HIDDEN)return null;var i=e.getAttribute(n);if(t===ge.MASK&&n!==O6&&!tS.includes(n)&&n!==r.actionNameAttribute){var o=e.tagName;switch(n){case"title":case"alt":case"placeholder":return zo}
1if("IMG"===o&&("src"===n||"srcset"===n)){if(e.naturalWidth>0)return JS(e.naturalWidth,e.naturalHeight);var a=e.getBoundingClientRect(),c=a.width,l=a.height;return c>0||l>0?JS(c,l):ZI}if("SOURCE"===o&&("src"===n||"srcset"===n))return ZI;if("A"===o&&"href"===n||i&&Wu(n,"data-")||"IFRAME"===o&&"srcdoc"===n)return zo}return i&&"string"==typeof i&&LI(i)?PI(i):i}function W6(e){if(!e)return null;var t;try{t=e.rules||e.cssRules}catch{}return t?function hre(e,t){return e.replace(ure,function(n,r,i,o,s,a){var c=i||s||a;if(!t||!c||dre.test(c)||fre.test(c))return n;var l=r||o||"";return"url(".concat(l).concat(function pre(e,t){try{return z5(e,t).href}catch{return e}}(c,t)).concat(l,")")})}(Array.from(t,function GY(){return 2===v6()}()?Cre:$S).join(""),e.href):null}function Cre(e){return function yre(e){return"selectorText"in e}(e)&&e.selectorText.includes(":")?e.cssText.replace(/(\[[\w-]+[^\\])(:[^\]]+\])/g,"$1\\$2"):$S(e)}function $S(e){return function vre(e){return"styleSheet"in e}(e)&&W6(e.styleSheet)||e.cssText}function q6(e,t){var n=function Ere(e,t){switch(e.nodeType){case e.DOCUMENT_NODE:return function _re(e,t){return{type:Gs.Document,childNodes:J6(e,t),adoptedStyleSheets:YS(e.adoptedStyleSheets)}}(e,t);case e.DOCUMENT_FRAGMENT_NODE:return function wre(e,t){var n=R6(e);return n&&t.serializationContext.shadowRootsController.addShadowRoot(e),{type:Gs.DocumentFragment,childNodes:J6(e,t),isShadowRoot:n,adoptedStyleSheets:n?YS(e.adoptedStyleSheets):void 0}}(e,t);case e.DOCUMENT_TYPE_NODE:return function Ire(e){return{type:Gs.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId}}(e);case e.ELEMENT_NODE:return function Sre(e,t){var n,r=qS(e.tagName),i=function Dre(e){return"svg"===e.tagName||e instanceof SVGElement}(e)||void 0,o=GI(WI(e),t.parentNodePrivacyLevel);if(o===ge.HIDDEN){var s=e.getBoundingClientRect(),c=s.height;return{type:Gs.Element,tagName:r,attributes:(n={rr_width:"".concat(s.width,"px"),rr_height:"".concat(c,"px")},n[O6]=z$,n),childNodes:[],isSVG:i}}if(o!==ge.IGNORE){var l=function mre(e,t,n){var r;if(t===ge.HIDDEN)return{};for(var i={},o=qS(e.tagName),s=e.ownerDocument,a=0;a<e.attributes.length;a+=1){var l=e.attributes.item(a).name,u=XS(e,t,l,n.configuration);null!==u&&(i[l]=u)}if(e.value&&("textarea"===o||"select"===o||"option"===o||"input"===o)){var d=G6(e,t);void 0!==d&&(i.value=d)}if("option"===o&&t===ge.ALLOW&&e.selected&&(i.selected=e.selected),"link"===o){var p,h=Array.from(s.styleSheets).find(function(N){return N.href===e.href});(p=W6(h))&&h&&(i._cssText=p)}"style"===o&&e.sheet&&(p=W6(e.sheet))&&(i._cssText=p);var m=e;"input"===o&&("radio"===m.type||"checkbox"===m.type)&&(t===ge.ALLOW?i.checked=!!m.checked:o1(m,t)&&delete i.checked),("audio"===o||"video"===o)&&(i.rr_mediaState=e.paused?"paused":"played");var v,y,S=n.serializationContext;switch(S.status){case 0:v=Math.round(e.scrollTop),y=Math.round(e.scrollLeft),(v||y)&&S.elementsScrollPositions.set(e,{scrollTop:v,scrollLeft:y});break;case 1:S.elementsScrollPositions.has(e)&&(v=(r=S.elementsScrollPositions.get(e)).scrollTop,y=r.scrollLeft)}return y&&(i.rr_scrollLeft=y),v&&(i.rr_scrollTop=v),i}(e,o,t),u=[];return function Q$(e){return e.childNodes.length>0||n1(e)}(e)&&"style"!==r&&(u=J6(e,t.parentNodePrivacyLevel===o&&t.ignoreWhiteSpace===("head"===r)?t:ye({},t,{parentNodePrivacyLevel:o,ignoreWhiteSpace:"head"===r}))),{type:Gs.Element,tagName:r,attributes:l,childNodes:u,isSVG:i}}}(e,t);case e.TEXT_NODE:return function Tre(e,t){var n=JI(e,t.ignoreWhiteSpace||!1,t.parentNodePrivacyLevel);if(void 0!==n)return{type:Gs.Text,textContent:n}}(e,t);case e.CDATA_SECTION_NODE:return function Mre(){return{type:Gs.CDATA,textContent:""}}()}}(e,t);if(!n)return null;var r=nr(e)||function bre(){return Are++}(),i=n;return i.id=r,function lre(e,t){Z6.set(e,t)}(e,r),t.serializedNodeIds&&t.serializedNodeIds.add(r),i}var Are=1;function J6(e,t){var n=[];return zI(e,function(r){var i=q6(r,t);i&&n.push(i)}),n}function xre(e,t,n){return q6(e,{serializationContext:n,parentNodePrivacyLevel:t.defaultPrivacyLevel,configuration:t})}function eD(e){return!!e.changedTouches}function fd(e){return!0===e.composed&&n1(e.target)?e.composedPath()[0]:e.target}
1var Rre=function(e,t){var n=window.visualViewport,r={layoutViewportX:e,layoutViewportY:t,visualViewportX:e,visualViewportY:t};return n?(function kre(e){return Math.abs(e.pageTop-e.offsetTop-window.scrollY)>25||Math.abs(e.pageLeft-e.offsetLeft-window.scrollX)>25}(n)?(r.layoutViewportX=Math.round(e+n.offsetLeft),r.layoutViewportY=Math.round(t+n.offsetTop)):(r.visualViewportX=Math.round(e-n.offsetLeft),r.visualViewportY=Math.round(t-n.offsetTop)),r):r},nD=function(e){return{scale:e.scale,offsetLeft:e.offsetLeft,offsetTop:e.offsetTop,pageLeft:e.pageLeft,pageTop:e.pageTop,height:e.height,width:e.width}};function ai(e,t){return{data:ye({source:e},t),type:Ui.IncrementalSnapshot,timestamp:ln()}}var Ore=50;function Nre(e,t){var n=lo(function(s){var a=fd(s);if(Vi(a)){var c=rD(s);if(!c)return;var l={id:nr(a),timeOffset:0,x:c.x,y:c.y};t(ai(eD(s)?Br.TouchMove:Br.MouseMove,{positions:[l]}))}},Ore,{trailing:!1}),i=n.cancel,o=Xn(e,document,["mousemove","touchmove"],n.throttled,{capture:!0,passive:!0}).stop;return{stop:function(){o(),i()}}}function rD(e){var t=eD(e)?e.changedTouches[0]:e,n=t.clientX,r=t.clientY;if(window.visualViewport){var i=Rre(n,r);n=i.visualViewportX,r=i.visualViewportY}if(Number.isFinite(n)&&Number.isFinite(r))return{x:n,y:r};e.isTrusted&&Tc("mouse/touch event without x/y")}var ci,iD=((ci={}).pointerup=si.MouseUp,ci.mousedown=si.MouseDown,ci.click=si.Click,ci.contextmenu=si.ContextMenu,ci.dblclick=si.DblClick,ci.focus=si.Focus,ci.blur=si.Blur,ci.touchstart=si.TouchStart,ci.touchend=si.TouchEnd,ci);function Lre(e,t,n){return Xn(e,document,Object.keys(iD),function(i){var o=fd(i);if(Hi(o,e.defaultPrivacyLevel)!==ge.HIDDEN&&Vi(o)){var c,s=nr(o),a=iD[i.type];if(a!==si.Blur&&a!==si.Focus){var l=rD(i);if(!l)return;c={id:s,type:a,x:l.x,y:l.y}}else c={id:s,type:a};var u=ye({id:n.getIdForEvent(i)},ai(Br.MouseInteraction,c));t(u)}},{capture:!0,passive:!0})}var Pre=100;function oD(e,t,n,r){void 0===r&&(r=document);var i=lo(function(c){var l=fd(c);if(l&&Hi(l,e.defaultPrivacyLevel)!==ge.HIDDEN&&Vi(l)){var u=nr(l),d=l===document?{scrollTop:V6(),scrollLeft:MS()}:{scrollTop:Math.round(l.scrollTop),scrollLeft:Math.round(l.scrollLeft)};n.set(l,d),t(ai(Br.Scroll,{id:u,x:d.scrollLeft,y:d.scrollTop}))}},Pre),s=i.cancel,a=Et(e,r,"scroll",i.throttled,{capture:!0,passive:!0}).stop;return{stop:function(){a(),s()}}}var Fre=200;function Bre(e,t){var n=xS(e).subscribe(function(r){t(ai(Br.ViewportResize,r))});return{stop:function(){n.unsubscribe()}}}function Hre(e,t){var n=window.visualViewport;if(!n)return{stop:it};var r=lo(function(){t({data:nD(n),type:Ui.VisualViewport,timestamp:ln()})},Fre,{trailing:!1}),o=r.cancel,s=Xn(e,n,["resize","scroll"],r.throttled,{capture:!0,passive:!0}).stop;return{stop:function(){s(),o()}}}function Vre(e,t){return Xn(e,document,["play","pause"],function(n){var r=fd(n);!r||Hi(r,e.defaultPrivacyLevel)===ge.HIDDEN||!Vi(r)||t(ai(Br.MediaInteraction,{id:nr(r),type:"play"===n.type?KS.Play:KS.Pause}))},{capture:!0,passive:!0})}function Ure(e){function t(i,o){i&&Vi(i.ownerNode)&&o(nr(i.ownerNode))}var n=[tr(CSSStyleSheet.prototype,"insertRule",function(i){var s=i.parameters,a=s[0],c=s[1];t(i.target,function(l){return e(ai(Br.StyleSheetRule,{id:l,adds:[{rule:a,index:c}]}))})}),tr(CSSStyleSheet.prototype,"deleteRule",function(i){var s=i.parameters[0];t(i.target,function(a){return e(ai(Br.StyleSheetRule,{id:a,removes:[{index:s}]}))})})];function r(i){n.push(tr(i.prototype,"insertRule",function(o){var s=o.target,a=o.parameters,c=a[0],l=a[1];t(s.parentStyleSheet,function(u){var d=sD(s);d&&(d.push(l||0),e(ai(Br.StyleSheetRule,{id:u,adds:[{rule:c,index:d}]})))})}),tr(i.prototype,"deleteRule",function(o){var s=o.target,a=o.parameters[0];t(s.parentStyleSheet,function(c){var l=sD(s);l&&(l.push(a),e(ai(Br.StyleSheetRule,{id:c,removes:[{index:l}]})))})}))}return typeof CSSGroupingRule<"u"?r(CSSGroupingRule):(r(CSSMediaRule),r(CSSSupportsRule)),{stop:function(){n.forEach(function(i){return i.stop()})}}}function sD(e){for(var t=[],n=e;n.parentRule;){var i=Array.from(n.parentRule.cssRules).indexOf(n);t.unshift(i),n=n.parentRule}if(n.parentStyleSheet){var s=Array.from(n.parentStyleSheet.cssRules).indexOf(n);return t.unshift(s),t}}function jre(e,t){return Xn(e,window,["focus","blur"],function(){t({data:{has_focus:document.hasFocus()},type:Ui.Focus,timestamp:ln()})})}function Qre(e,t,n){var r=e.subscribe(11,function(i){var o,s;"action"===i.rawRumEvent.type&&"click"===i.rawRumEvent.action.type&&null!==(s=null===(o=i.rawRumEvent.action.frustration)||void 0===o?void 0:o.type)&&void 0!==s&&s.length&&"events"in 
1i.domainContext&&i.domainContext.events&&i.domainContext.events.length&&t({timestamp:i.rawRumEvent.date,type:Ui.FrustrationRecord,data:{frustrationTypes:i.rawRumEvent.action.frustration.type,recordIds:i.domainContext.events.map(function(a){return n.getIdForEvent(a)})}})});return{stop:function(){r.unsubscribe()}}}function zre(e,t){var n=e.subscribe(4,function(){t({timestamp:ln(),type:Ui.ViewEnd})});return{stop:function(){n.unsubscribe()}}}function aD(e,t,n){void 0===n&&(n=document);var a,r=e.defaultPrivacyLevel,i=new WeakMap,o=n!==document,s=Xn(e,n,o?["change"]:["input","change"],function(d){var f=fd(d);(f instanceof HTMLInputElement||f instanceof HTMLTextAreaElement||f instanceof HTMLSelectElement)&&l(f)},{capture:!0,passive:!0}).stop;if(o)a=it;else{var c=[$u(HTMLInputElement.prototype,"value",l),$u(HTMLInputElement.prototype,"checked",l),$u(HTMLSelectElement.prototype,"value",l),$u(HTMLTextAreaElement.prototype,"value",l),$u(HTMLSelectElement.prototype,"selectedIndex",l)];a=function(){c.forEach(function(d){return d.stop()})}}return{stop:function(){a(),s()}};function l(d){var f=Hi(d,r);if(f!==ge.HIDDEN){var p,h=d.type;if("radio"===h||"checkbox"===h){if(o1(d,f))return;p={isChecked:d.checked}}else{var m=G6(d,f);if(void 0===m)return;p={text:m}}u(d,p);var C=d.name;"radio"===h&&C&&d.checked&&function hK(e,t){Array.prototype.forEach.call(e,t)}(document.querySelectorAll('input[type="radio"][name="'.concat(Qo(C),'"]')),function(v){v!==d&&u(v,{isChecked:!1})})}}function u(d,f){if(Vi(d)){var h=i.get(d);(!h||h.text!==f.text||h.isChecked!==f.isChecked)&&(i.set(d,f),t(ai(Br.Input,ye({id:nr(d)},f))))}}}var Zre=100,Gre=16;function cD(e,t,n,r){var i=II();if(!i)return{stop:it,flush:it};var o=function Wre(e){var t=it,n=[];function r(){t(),e(n),n=[]}var i=lo(r,Gre,{leading:!1}),o=i.throttled,s=i.cancel;return{addMutations:function(a){0===n.length&&(t=mS(o,{timeout:Zre})),n.push.apply(n,a)},flush:r,stop:function(){t(),s()}}}(function(a){!function qre(e,t,n,r){var i=new Map;e.filter(function(f){return"childList"===f.type}).forEach(function(f){f.removedNodes.forEach(function(h){lD(h,r.removeShadowRoot)})});var o=e.filter(function(f){return f.target.isConnected&&function cre(e){for(var t=e;t;){if(!Vi(t)&&!R6(t))return!1;t=r1(t)}return!0}(f.target)&&Hi(f.target,n.defaultPrivacyLevel,i)!==ge.HIDDEN}),s=function Jre(e,t,n,r){for(var i=new Set,o=new Map,s=function(J){J.addedNodes.forEach(function(R){i.add(R)}),J.removedNodes.forEach(function(R){i.has(R)||o.set(R,J.target),i.delete(R)})},a=0,c=e;a<c.length;a++)s(c[a]);var u=Array.from(i);!function Xre(e){e.sort(function(t,n){var r=t.compareDocumentPosition(n);return r&Node.DOCUMENT_POSITION_CONTAINED_BY?-1:r&Node.DOCUMENT_POSITION_CONTAINS||r&Node.DOCUMENT_POSITION_FOLLOWING?1:r&Node.DOCUMENT_POSITION_PRECEDING?-1:0})}(u);for(var d=new Set,f=[],h=0,p=u;h<p.length;h++){var m=p[h];if(!N(m)){var C=Hi(m.parentNode,t.defaultPrivacyLevel,r);if(C!==ge.HIDDEN&&C!==ge.IGNORE){var v=q6(m,{serializedNodeIds:d,parentNodePrivacyLevel:C,serializationContext:{status:2,shadowRootsController:n},configuration:t});if(v){var y=r1(m);f.push({nextId:K(m),parentId:nr(y),node:v})}}}}var S=[];return o.forEach(function(J,R){Vi(R)&&S.push({parentId:nr(J),id:nr(R)})}),{adds:f,removes:S,hasBeenSerialized:N};function N(J){return Vi(J)&&d.has(nr(J))}function K(J){for(var R=J.nextSibling;R;){if(Vi(R))return nr(R);R=R.nextSibling}return null}}(o.filter(function(f){return"childList"===f.type}),n,r,i),a=s.adds,c=s.removes,l=s.hasBeenSerialized,u=function Kre(e,t,n){for(var r,i=[],o=new Set,a=0,c=e.filter(function(f){return!o.has(f.target)&&(o.add(f.target),!0)});a<c.length;a++){var l=c[a];if(l.target.textContent!==l.oldValue){var d=Hi(r1(l.target),t.defaultPrivacyLevel,n);d===ge.HIDDEN||d===ge.IGNORE||i.push({id:nr(l.target),value:null!==(r=JI(l.target,!1,d))&&void 0!==r?r:null})}}return i}(o.filter(function(f){return"characterData"===f.type&&!l(f.target)}),n,i),d=function Yre(e,t,n){for(var r=[],i=new Map,o=e.filter(function(C){var v=i.get(C.target);return!(v&&v.has(C.attributeName)||(v?v.add(C.attributeName):i.set(C.target,new Set([C.attributeName])),0))}),s=new Map,a=0,c=o;a<c.length;a++){var l=c[a];if(l.target.getAttribute(l.attributeName)!==l.oldValue){var d=Hi(l.target,t.defaultPrivacyLevel,n),f=XS(l.target,d,l.attributeName,t),h=void 0;if("value"===l.attributeName){var p=G6(l.target,d);if(void 0===p)continue;h=p}
1else h="string"==typeof f?f:null;var m=s.get(l.target);m||(m={id:nr(l.target),attributes:{}},r.push(m),s.set(l.target,m)),m.attributes[l.attributeName]=h}}return r}(o.filter(function(f){return"attributes"===f.type&&!l(f.target)}),n,i);!u.length&&!d.length&&!c.length&&!a.length||t(ai(Br.Mutation,{adds:a,removes:c,texts:u,attributes:d}))}(a.concat(s.takeRecords()),e,t,n)}),s=new i(pe(o.addMutations));return s.observe(r,{attributeOldValue:!0,attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),{stop:function(){s.disconnect(),o.stop()},flush:function(){o.flush()}}}function lD(e,t){n1(e)&&t(e.shadowRoot),zI(e,function(n){return lD(n,t)})}function rie(e){var t=e.emit,n=e.configuration,r=e.lifeCycle;if(!t)throw new Error("emit function is required");var i=function(f){t(f),p6("record",{record:f}),function ire(e){d1(e).records_count+=1}(e.viewHistory.findView().id)},o=function $re(){var e=new WeakMap;return{set:function(t,n){t===document&&!document.scrollingElement||e.set(t===document?document.scrollingElement:t,n)},get:function(t){return e.get(t)},has:function(t){return e.has(t)}}}(),s=function(e,t,n){var r=new Map,i={addShadowRoot:function(o){if(!r.has(o)){var s=cD(t,e,i,o),a=aD(e,t,o),c=oD(e,t,n,o);r.set(o,{flush:function(){return s.flush()},stop:function(){s.stop(),a.stop(),c.stop()}})}},removeShadowRoot:function(o){var s=r.get(o);s&&(s.stop(),r.delete(o))},stop:function(){r.forEach(function(o){return(0,o.stop)()})},flush:function(){r.forEach(function(o){return(0,o.flush)()})}};return i}(n,i,o),a=function tie(e,t,n,r,i,o){var s=function(c,l){void 0===c&&(c=ln()),void 0===l&&(l={status:0,elementsScrollPositions:e,shadowRootsController:t});var u=u1(),h=[{data:{height:u.height,href:window.location.href,width:u.width},type:Ui.Meta,timestamp:c},{data:{has_focus:document.hasFocus()},type:Ui.Focus,timestamp:c},{data:{node:xre(document,r,l),initialOffset:{left:MS(),top:V6()}},type:Ui.FullSnapshot,timestamp:c}];return window.visualViewport&&h.push({data:nD(window.visualViewport),type:Ui.VisualViewport,timestamp:c}),h};return o(s()),{stop:n.subscribe(2,function(c){i(),o(s(c.startClocks.timeStamp,{shadowRootsController:t,status:1,elementsScrollPositions:e}))}).unsubscribe}}(o,s,r,n,c,function(f){return f.forEach(function(h){return i(h)})}).stop;function c(){s.flush(),u.flush()}var l=function nie(){var e=new WeakMap,t=1;return{getIdForEvent:function(n){return e.has(n)||e.set(n,t++),e.get(n)}}}(),u=cD(i,n,s,document),d=[u,Nre(n,i),Lre(n,i,l),oD(n,i,o,document),Bre(n,i),aD(n,i),Vre(n,i),Ure(i),jre(n,i),Hre(n,i),Qre(r,i,l),zre(r,function(f){c(),i(f)})];return{stop:function(){s.stop(),d.forEach(function(f){return f.stop()}),a()},flushMutations:c,shadowRootsController:s}}function oie(e){var t=e.context,r=e.encoder,i=0,o=t.view.id,s=ye({start:1/0,end:-1/0,creation_reason:e.creationReason,records_count:0,has_full_snapshot:!1,index_in_view:nre(o),source:"browser"},t);return function rre(e){d1(e).segments_count+=1}(o),{addRecord:function a(l,u){s.start=Math.min(s.start,l.timestamp),s.end=Math.max(s.end,l.timestamp),s.records_count+=1,s.has_full_snapshot||(s.has_full_snapshot=l.type===Ui.FullSnapshot),r.write((r.isEmpty?'{"records":[':",")+JSON.stringify(l),function(f){u(i+=f)})},flush:function c(l){if(r.isEmpty)throw new Error("Empty segment flushed");r.write("],".concat(JSON.stringify(s).slice(1),"\n")),r.finish(function(u){(function ore(e,t){d1(e).segments_total_raw_size+=t})(s.view.id,u.rawBytesCount),l(s,u)})}}}var sie=5*Mn;function uD(){return"function"==typeof Array.from&&"function"==typeof CSSSupportsRule&&"function"==typeof URL.createObjectURL&&"forEach"in NodeList.prototype}function fie(e,t,n,r){var i=t.findTrackedSession(),o=function hie(e,t){return uD()?e?0===e.sessionReplay?"incorrect-session-plan":t?void 0:"replay-not-started":"rum-not-tracked":"browser-not-supported"}(i,r);return function Xne(e,t){var n=t.session,r=t.viewContext,i=t.errorType,o=n?n.id:"no-session-id",s=[];void 0!==i&&s.push("error-type=".concat(i)),r&&(s.push("seed=".concat(r.id)),s.push("from=".concat(r.startClocks.timeStamp)));var a=function $ne(e){var t=e.site,n=e.subdomain||function ere(e){switch(e.site){case Fs:case tY:return"app";case Ww:return"dd";default:return}}(e);return"https://".concat(n?"".concat(n,"."):"").concat(t)}(e),c="/rum/replay/sessions/".concat(o);return"".concat(a).concat(c,"?").concat(s.join("&"))}(e,{viewContext:n.findView(),errorType:o,session:i})}
1function dD(e,t,n){var o,r=0,i=[],s=0,a=[],c=Et(e,t,"message",function(d){var f=d.data;if("wrote"===f.type&&f.streamId===n){r+=f.additionalBytesCount,i.push(f.result),o=f.trailer;var h=a.shift();h&&h.id===f.id?h.writeCallback?h.writeCallback(f.result.byteLength):h.finishCallback&&h.finishCallback():(c(),Tc("Worker responses received out of order."))}}).stop;function l(){var d=0===i.length?new Uint8Array(0):function vK(e){for(var t=e.reduce(function(a,c){return a+c.length},0),n=new Uint8Array(t),r=0,i=0,o=e;i<o.length;i++){var s=o[i];n.set(s,r),r+=s.length}return n}(i.concat(o)),f={rawBytesCount:r,output:d,outputBytesCount:d.byteLength,encoding:"deflate"};return r=0,i=[],f}function u(){s>0&&(t.postMessage({action:"reset",streamId:n}),s=0)}return{isAsync:!0,get isEmpty(){return 0===s},write:function(d,f){t.postMessage({action:"write",id:s,data:d,streamId:n}),a.push({id:s,writeCallback:f,data:d}),s+=1},finish:function(d){u(),a.length?(a.forEach(function(f){delete f.writeCallback}),a[a.length-1].finishCallback=function(){return d(l())}):d(l())},finishSync:function(){u();var d=a.map(function(f){return delete f.writeCallback,delete f.finishCallback,f.data}).join("");return ye(l(),{pendingData:d})},estimateEncodedBytesCount:function(d){return d.length/8},stop:function(){c()}}}var pie=30*Mn;function fD(e){return new Worker(e.workerUrl||URL.createObjectURL(new Blob(['!function(){"use strict";function t(t){for(var e=t.reduce((function(t,e){return t+e.length}),0),a=new Uint8Array(e),n=0,r=0,i=t;r<i.length;r++){var s=i[r];a.set(s,n),n+=s.length}return a}function e(t){for(var e=t.length;--e>=0;)t[e]=0}var a=256,n=286,r=30,i=15,s=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),_=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),h=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),l=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),o=new Array(576);e(o);var d=new Array(60);e(d);var u=new Array(512);e(u);var f=new Array(256);e(f);var c=new Array(29);e(c);var p,g,w,v=new Array(r);function b(t,e,a,n,r){this.static_tree=t,this.extra_bits=e,this.extra_base=a,this.elems=n,this.max_length=r,this.has_stree=t&&t.length}function m(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}e(v);var y=function(t){return t<256?u[t]:u[256+(t>>>7)]},k=function(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255},z=function(t,e,a){t.bi_valid>16-a?(t.bi_buf|=e<<t.bi_valid&65535,k(t,t.bi_buf),t.bi_buf=e>>16-t.bi_valid,t.bi_valid+=a-16):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=a)},x=function(t,e,a){z(t,a[2*e],a[2*e+1])},A=function(t,e){var a=0;do{a|=1&t,t>>>=1,a<<=1}while(--e>0);return a>>>1},E=function(t,e,a){var n,r,s=new Array(16),_=0;for(n=1;n<=i;n++)s[n]=_=_+a[n-1]<<1;for(r=0;r<=e;r++){var h=t[2*r+1];0!==h&&(t[2*r]=A(s[h]++,h))}},Z=function(t){var e;for(e=0;e<n;e++)t.dyn_ltree[2*e]=0;for(e=0;e<r;e++)t.dyn_dtree[2*e]=0;for(e=0;e<19;e++)t.bl_tree[2*e]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0},U=function(t){t.bi_valid>8?k(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0},S=function(t,e,a,n){var r=2*e,i=2*a;return t[r]<t[i]||t[r]===t[i]&&n[e]<=n[a]},R=function(t,e,a){for(var n=t.heap[a],r=a<<1;r<=t.heap_len&&(r<t.heap_len&&S(e,t.heap[r+1],t.heap[r],t.depth)&&r++,!S(e,n,t.heap[r],t.depth));)t.heap[a]=t.heap[r],a=r,r<<=1;t.heap[a]=n},L=function(t,e,n){var r,i,h,l,o=0;if(0!==t.last_lit)do{r=t.pending_buf[t.d_buf+2*o]<<8|t.pending_buf[t.d_buf+2*o+1],i=t.pending_buf[t.l_buf+o],o++,0===r?x(t,i,e):(h=f[i],x(t,h+a+1,e),0!==(l=s[h])&&(i-=c[h],z(t,i,l)),r--,h=y(r),x(t,h,n),0!==(l=_[h])&&(r-=v[h],z(t,r,l)))}while(o<t.last_lit);x(t,256,e)},F=function(t,e){var a,n,r,s=e.dyn_tree,_=e.stat_desc.static_tree,h=e.stat_desc.has_stree,l=e.stat_desc.elems,o=-1;for(t.heap_len=0,t.heap_max=573,a=0;a<l;a++)0!==s[2*a]?(t.heap[++t.heap_len]=o=a,t.depth[a]=0):s[2*a+1]=0;for(;t.heap_len<2;)s[2*(r=t.heap[++t.heap_len]=o<2?++o:0)]=1,t.depth[r]=0,t.opt_len--,h&&(t.static_len-=_[2*r+1]);for(e.max_code=o,a=t.heap_len>>1;a>=1;a--)R(t,s,a);r=l;do{a=t.heap[1],t.heap[1]=t.heap[t.heap_len--],R(t,s,1),n=t.heap[1],t.heap[--t.heap_max]=a,t.heap[--t.heap_max]=n,s[2*r]=s[2*a]+s[2*n],t.depth[r]=(t.depth[a]>=t.depth[n]?t.depth[a]:t.depth[n])+1,s[2*a+1]=s[2*n+1]=r,t.heap[1]=r++,R(t,s,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],function(t,e){var a,n,r,s,_,h,l=e.dyn_tree,o=e.max_code,d=e.stat_desc.static_tree,u=e.stat_desc.has_stree,f=e.stat_desc.extra_bits,c=e.stat_desc.extra_base,p=e.stat_desc.max_length,g=0;for(s=0;s<=i;s++)t.bl_count[s]=0;for(l[2*t.heap[t.heap_max]+1]=0,a=t.heap_max+1;a<573;a++)(s=l[2*l[2*(n=t.heap[a])+1]+1]+1)>p&&(s=p,g++),l[2*n+1]=s,n>o||(t.bl_count[s]++,_=0,n>=c&&(_=f[n-c]),h=l[2*n],t.opt_len+=h*(s+_),u&&(t.static_len+=h*(d[2*n+1]+_)));if(0!==g){do{for(s=p-1;0===t.bl_count[s];)s--;t.bl_count[s]--,t.bl_count[s+1]+=2,t.bl_count[p]--,g-=2}while(g>0);for(s=p;0!==s;s--)for(n=t.bl_count[s];0!==n;
vendor: 17,828 bytes, line 1
1)(r=t.heap[--a])>o||(l[2*r+1]!==s&&(t.opt_len+=(s-l[2*r+1])*l[2*r],l[2*r+1]=s),n--)}}(t,e),E(s,o,t.bl_count)},T=function(t,e,a){var n,r,i=-1,s=e[1],_=0,h=7,l=4;for(0===s&&(h=138,l=3),e[2*(a+1)+1]=65535,n=0;n<=a;n++)r=s,s=e[2*(n+1)+1],++_<h&&r===s||(_<l?t.bl_tree[2*r]+=_:0!==r?(r!==i&&t.bl_tree[2*r]++,t.bl_tree[32]++):_<=10?t.bl_tree[34]++:t.bl_tree[36]++,_=0,i=r,0===s?(h=138,l=3):r===s?(h=6,l=3):(h=7,l=4))},I=function(t,e,a){var n,r,i=-1,s=e[1],_=0,h=7,l=4;for(0===s&&(h=138,l=3),n=0;n<=a;n++)if(r=s,s=e[2*(n+1)+1],!(++_<h&&r===s)){if(_<l)do{x(t,r,t.bl_tree)}while(0!=--_);else 0!==r?(r!==i&&(x(t,r,t.bl_tree),_--),x(t,16,t.bl_tree),z(t,_-3,2)):_<=10?(x(t,17,t.bl_tree),z(t,_-3,3)):(x(t,18,t.bl_tree),z(t,_-11,7));_=0,i=r,0===s?(h=138,l=3):r===s?(h=6,l=3):(h=7,l=4)}},N=!1,O=function(t,e,a,n){z(t,0+(n?1:0),3),function(t,e,a,n){U(t),n&&(k(t,a),k(t,~a)),t.pending_buf.set(t.window.subarray(e,e+a),t.pending),t.pending+=a}(t,e,a,!0)},D=function(t,e,n,r){var i,s,_=0;t.level>0?(2===t.strm.data_type&&(t.strm.data_type=function(t){var e,n=4093624447;for(e=0;e<=31;e++,n>>>=1)if(1&n&&0!==t.dyn_ltree[2*e])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(e=32;e<a;e++)if(0!==t.dyn_ltree[2*e])return 1;return 0}(t)),F(t,t.l_desc),F(t,t.d_desc),_=function(t){var e;for(T(t,t.dyn_ltree,t.l_desc.max_code),T(t,t.dyn_dtree,t.d_desc.max_code),F(t,t.bl_desc),e=18;e>=3&&0===t.bl_tree[2*l[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),i=t.opt_len+3+7>>>3,(s=t.static_len+3+7>>>3)<=i&&(i=s)):i=s=n+5,n+4<=i&&-1!==e?O(t,e,n,r):4===t.strategy||s===i?(z(t,2+(r?1:0),3),L(t,o,d)):(z(t,4+(r?1:0),3),function(t,e,a,n){var r;for(z(t,e-257,5),z(t,a-1,5),z(t,n-4,4),r=0;r<n;r++)z(t,t.bl_tree[2*l[r]+1],3);I(t,t.dyn_ltree,e-1),I(t,t.dyn_dtree,a-1)}(t,t.l_desc.max_code+1,t.d_desc.max_code+1,_+1),L(t,t.dyn_ltree,t.dyn_dtree)),Z(t),r&&U(t)},B={_tr_init:function(t){N||(!function(){var t,e,a,l,m,y=new Array(16);for(a=0,l=0;l<28;l++)for(c[l]=a,t=0;t<1<<s[l];t++)f[a++]=l;for(f[a-1]=l,m=0,l=0;l<16;l++)for(v[l]=m,t=0;t<1<<_[l];t++)u[m++]=l;for(m>>=7;l<r;l++)for(v[l]=m<<7,t=0;t<1<<_[l]-7;t++)u[256+m++]=l;for(e=0;e<=i;e++)y[e]=0;for(t=0;t<=143;)o[2*t+1]=8,t++,y[8]++;for(;t<=255;)o[2*t+1]=9,t++,y[9]++;for(;t<=279;)o[2*t+1]=7,t++,y[7]++;for(;t<=287;)o[2*t+1]=8,t++,y[8]++;for(E(o,287,y),t=0;t<r;t++)d[2*t+1]=5,d[2*t]=A(t,5);p=new b(o,s,257,n,i),g=new b(d,_,0,r,i),w=new b(new Array(0),h,0,19,7)}(),N=!0),t.l_desc=new m(t.dyn_ltree,p),t.d_desc=new m(t.dyn_dtree,g),t.bl_desc=new m(t.bl_tree,w),t.bi_buf=0,t.bi_valid=0,Z(t)},_tr_stored_block:O,_tr_flush_block:D,_tr_tally:function(t,e,n){return t.pending_buf[t.d_buf+2*t.last_lit]=e>>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&n,t.last_lit++,0===e?t.dyn_ltree[2*n]++:(t.matches++,e--,t.dyn_ltree[2*(f[n]+a+1)]++,t.dyn_dtree[2*y(e)]++),t.last_lit===t.lit_bufsize-1},_tr_align:function(t){z(t,2,3),x(t,256,o),function(t){16===t.bi_valid?(k(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}(t)}},C=function(t,e,a,n){for(var r=65535&t|0,i=t>>>16&65535|0,s=0;0!==a;){a-=s=a>2e3?2e3:a;do{i=i+(r=r+e[n++]|0)|0}while(--s);r%=65521,i%=65521}return r|i<<16|0},H=new Uint32Array(function(){for(var t,e=[],a=0;a<256;a++){t=a;for(var n=0;n<8;n++)t=1&t?3988292384^t>>>1:t>>>1;e[a]=t}return e}()),M=function(t,e,a,n){var r=H,i=n+a;t^=-1;for(var s=n;s<i;s++)t=t>>>8^r[255&(t^e[s])];return-1^t},Y={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},K={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8},P=B._tr_init,j=B._tr_stored_block,G=B._tr_flush_block,X=B._tr_tally,W=B._tr_align,q=K.Z_NO_FLUSH,J=K.Z_PARTIAL_FLUSH,Q=K.Z_FULL_FLUSH,V=K.Z_FINISH,$=K.Z_BLOCK,tt=K.Z_OK,et=K.Z_STREAM_END,at=K.Z_STREAM_ERROR,nt=K.Z_DATA_ERROR,rt=K.Z_BUF_ERROR,it=K.Z_DEFAULT_COMPRESSION,st=K.Z_FILTERED,_t=K.Z_HUFFMAN_ONLY,ht=K.Z_RLE,lt=K.Z_FIXED,ot=K.Z_DEFAULT_STRATEGY,dt=K.Z_UNKNOWN,ut=K.Z_DEFLATED,ft=258,ct=262,pt=103,gt=113,wt=666,vt=function(t,e){return t.msg=Y[e],e},bt=function(t){return(t<<1)-(t>4?9:0)},mt=function(t){for(var e=t.length;--e>=0;)t[e]=0},yt=function(t,e,a){return(e<<t.hash_shift^a)&t.hash_mask},kt=function(t){var e=t.state,a=e.pending;a>t.avail_out&&(a=t.avail_out),0!==a&&(t.output.set(e.pending_buf.subarray(e.pending_out,e.pending_out+a),t.next_out),t.next_out+=a,e.pending_out+=a,t.total_out+=a,t.avail_out-=a,e.pending-=a,0===e.pending&&(e.pending_out=0))},zt=function(t,e){G(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,kt(t.strm)},xt=function(t,e){t.pending_buf[t.pending++]=e},At=function(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e},Et=function(t,e){var a,n,r=t.max_chain_length,i=t.strstart,s=t.prev_length,_=t.nice_match,h=t.strstart>t.w_size-ct?t.strstart-(t.w_size-ct):0,l=t.window,o=t.w_mask,d=t.prev,u=t.strstart+ft,f=l[i+s-1],c=l[i+s];t.prev_length>=t.good_match&&(r>>=2),_>t.lookahead&&(_=t.lookahead);do{if(l[(a=e)+s]===c&&l[a+s-1]===f&&l[a]===l[i]&&l[++a]===l[i+1]){i+=2,a++;do{}while(l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&i<u);if(n=ft-(u-i),i=u-ft,n>s){if(t.match_start=e,s=n,n>=_)break;f=l[i+s-1],c=l[i+s]}}}while((e=d[e&o])>h&&0!=--r);return s<=t.lookahead?s:t.lookahead},Zt=function(t){var e,a,n,r,i,s,_,h,l,o,d=t.w_size;do{if(r=t.window_size-t.lookahead-t.strstart,t.strstart>=d+(d-ct)){t.window.set(t.window.subarray(d,d+d),0),t.match_start-=d,t.strstart-=d,t.block_start-=d,e=a=t.hash_size;do{n=t.head[--e],t.head[e]=n>=d?n-d:0}while(--a);e=a=d;do{n=t.prev[--e],t.prev[e]=n>=d?n-d:0}while(--a);r+=d}if(0===t.strm.avail_in)break;if(s=t.strm,_=t.window,h=t.strstart+t.lookahead,l=r,o=void 0,(o=s.avail_in)>l&&(o=l),a=0===o?0:(s.avail_in-=o,_.set(s.input.subarray(s.next_in,s.next_in+o),h),1===s.state.wrap?s.adler=C(s.adler,_,o,h):2===s.state.wrap&&(s.adler=M(s.adler,_,o,h)),s.next_in+=o,s.total_in+=o,o),t.lookahead+=a,t.lookahead+t.insert>=3)for(i=t.strstart-t.insert,t.ins_h=t.window[i],t.ins_h=yt(t,t.ins_h,t.window[i+1]);t.insert&&(t.ins_h=yt(t,t.ins_h,t.window[i+3-1]),t.prev[i&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=i,i++,t.insert--,!(t.lookahead+t.insert<3)););}while(t.lookahead<ct&&0!==t.strm.avail_in)},Ut=function(t,e){for(var a,n;;){if(t.lookahead<ct){if(Zt(t),t.lookahead<ct&&e===q)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=yt(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==a&&t.strstart-a<=t.w_size-ct&&(t.match_length=Et(t,a)),t.match_length>=3)if(n=X(t,t.strstart-t.match_start,t.match_length-3),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=3){t.match_length--;do{t.strstart++,t.ins_h=yt(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart}while(0!=--t.match_length);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=yt(t,t.ins_h,t.window[t.strstart+1]);else n=X(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(n&&(zt(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<2?t.strstart:2,e===V?(zt(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(zt(t,!1),0===t.strm.avail_out)?1:2},St=function(t,e){for(var a,n,r;;){if(t.lookahead<ct){if(Zt(t),t.lookahead<ct&&e===q)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=yt(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=2,0!==a&&t.prev_length<t.max_lazy_match&&t.strstart-a<=t.w_size-ct&&(t.match_length=Et(t,a),t.match_length<=5&&(t.strategy===st||3===t.match_length&&t.strstart-t.match_start>4096)&&(t.match_length=2)),t.prev_length>=3&&t.match_length<=t.prev_length){r=t.strstart+t.lookahead-3,n=X(t,t.strstart-1-t.prev_match,t.prev_length-3),t.lookahead-=t.prev_length-1,t.prev_length-=2;do{++t.strstart<=r&&(t.ins_h=yt(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart)}while(0!=--t.prev_length);if(t.match_available=0,t.match_length=2,t.strstart++,n&&(zt(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if((n=X(t,0,t.window[t.strstart-1]))&&zt(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return 1}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(n=X(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,e===V?(zt(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(zt(t,!1),0===t.strm.avail_out)?1:2};function Rt(t,e,a,n,r){this.good_length=t,this.max_lazy=e,this.nice_length=a,this.max_chain=n,this.func=r}var Lt=[new Rt(0,0,0,0,(function(t,e){var a=65535;for(a>t.pending_buf_size-5&&(a=t.pending_buf_size-5);;){if(t.lookahead<=1){if(Zt(t),0===t.lookahead&&e===q)return 1;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var n=t.block_start+a;if((0===t.strstart||t.strstart>=n)&&(t.lookahead=t.strstart-n,t.strstart=n,zt(t,!1),0===t.strm.avail_out))return 1;if(t.strstart-t.block_start>=t.w_size-ct&&(zt(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===V?(zt(t,!0),0===t.strm.avail_out?3:4):(t.strstart>t.block_start&&(zt(t,!1),t.strm.avail_out),1)})),new Rt(4,4,8,4,Ut),new Rt(4,5,16,8,Ut),new Rt(4,6,32,32,Ut),new Rt(4,4,16,16,St),new Rt(8,16,32,32,St),new Rt(8,16,128,128,St),new Rt(8,32,128,256,St),new Rt(32,128,258,1024,St),new Rt(32,258,258,4096,St)];function Ft(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=ut,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(1146),this.dyn_dtree=new Uint16Array(122),this.bl_tree=new Uint16Array(78),mt(this.dyn_ltree),mt(this.dyn_dtree),mt(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(16),this.heap=new Uint16Array(573),mt(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),mt(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}var Tt=function(t){if(!t||!t.state)return vt(t,at);t.total_in=t.total_out=0,t.data_type=dt;var e=t.state;return e.pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=e.wrap?42:gt,t.adler=2===e.wrap?0:1,e.last_flush=q,P(e),tt},It=function(t){var e,a=Tt(t);return a===tt&&((e=t.state).window_size=2*e.w_size,mt(e.head),e.max_lazy_match=Lt[e.level].max_lazy,e.good_match=Lt[e.level].good_length,e.nice_match=Lt[e.level].nice_length,e.max_chain_length=Lt[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=2,e.match_available=0,e.ins_h=0),a},Nt=function(t,e,a,n,r,i){if(!t)return at;var s=1;if(e===it&&(e=6),n<0?(s=0,n=-n):n>15&&(s=2,n-=16),r<1||r>9||a!==ut||n<8||n>15||e<0||e>9||i<0||i>lt)return vt(t,at);8===n&&(n=9);var _=new Ft;return t.state=_,_.strm=t,_.wrap=s,_.gzhead=null,_.w_bits=n,_.w_size=1<<_.w_bits,_.w_mask=_.w_size-1,_.hash_bits=r+7,_.hash_size=1<<_.hash_bits,_.hash_mask=_.hash_size-1,_.hash_shift=~~((_.hash_bits+3-1)/3),_.window=new Uint8Array(2*_.w_size),_.head=new Uint16Array(_.hash_size),_.prev=new Uint16Array(_.w_size),_.lit_bufsize=1<<r+6,_.pending_buf_size=4*_.lit_bufsize,_.pending_buf=new Uint8Array(_.pending_buf_size),_.d_buf=1*_.lit_bufsize,_.l_buf=3*_.lit_bufsize,_.level=e,_.strategy=i,_.method=a,It(t)},Ot={deflateInit:function(t,e){return Nt(t,e,ut,15,8,ot)},deflateInit2:Nt,deflateReset:It,deflateResetKeep:Tt,deflateSetHeader:function(t,e){return t&&t.state?2!==t.state.wrap?at:(t.state.gzhead=e,tt):at},deflate:function(t,e){var a,n;if(!t||!t.state||e>$||e<0)return t?vt(t,at):at;var r=t.state;if(!t.output||!t.input&&0!==t.avail_in||r.status===wt&&e!==V)return vt(t,0===t.avail_out?rt:at);r.strm=t;var i=r.last_flush;if(r.last_flush=e,42===r.status)if(2===r.wrap)t.adler=0,xt(r,31),xt(r,139),xt(r,8),r.gzhead?(xt(r,(r.gzhead.text?1:0)+(r.gzhead.hcrc?2:0)+(r.gzhead.extra?4:0)+(r.gzhead.name?8:0)+(r.gzhead.comment?16:0)),xt(r,255&r.gzhead.time),xt(r,r.gzhead.time>>8&255),xt(r,r.gzhead.time>>16&255),xt(r,r.gzhead.time>>24&255),xt(r,9===r.level?2:r.strategy>=_t||r.level<2?4:0),xt(r,255&r.gzhead.os),r.gzhead.extra&&r.gzhead.extra.length&&(xt(r,255&r.gzhead.extra.length),xt(r,r.gzhead.extra.length>>8&255)),r.gzhead.hcrc&&(t.adler=M(t.adler,r.pending_buf,r.pending,0)),r.gzindex=0,r.status=69):(xt(r,0),xt(r,0),xt(r,0),xt(r,0),xt(r,0),xt(r,9===r.level?2:r.strategy>=_t||r.level<2?4:0),xt(r,3),r.status=gt);else{var s=ut+(r.w_bits-8<<4)<<8;s|=(r.strategy>=_t||r.level<2?0:r.level<6?1:6===r.level?2:3)<<6,0!==r.strstart&&(s|=32),s+=31-s%31,r.status=gt,At(r,s),0!==r.strstart&&(At(r,t.adler>>>16),At(r,65535&t.adler)),t.adler=1}if(69===r.status)if(r.gzhead.extra){for(a=r.pending;r.gzindex<(65535&r.gzhead.extra.length)&&(r.pending!==r.pending_buf_size||(r.gzhead.hcrc&&r.pending>a&&(t.adler=M(t.adler,r.pending_buf,r.pending-a,a)),kt(t),a=r.pending,r.pending!==r.pending_buf_size));)xt(r,255&r.gzhead.extra[r.gzindex]),r.gzindex++;r.gzhead.hcrc&&r.pending>a&&(t.adler=M(t.adler,r.pending_buf,r.pending-a,a)),r.gzindex===r.gzhead.extra.length&&(r.gzindex=0,r.status=73)}else r.status=73;if(73===r.status)if(r.gzhead.name){a=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>a&&(t.adler=M(t.adler,r.pending_buf,r.pending-a,a)),kt(t),a=r.pending,r.pending===r.pending_buf_size)){n=1;break}n=r.gzindex<r.gzhead.name.length?255&r.gzhead.name.charCodeAt(r.gzindex++):0,xt(r,n)}while(0!==n);r.gzhead.hcrc&&r.pending>a&&(t.adler=M(t.adler,r.pending_buf,r.pending-a,a)),0===n&&(r.gzindex=0,r.status=91)}else r.status=91;if(91===r.status)if(r.gzhead.comment){a=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>a&&(t.adler=M(t.adler,r.pending_buf,r.pending-a,a)),kt(t),a=r.pending,r.pending===r.pending_buf_size)){n=1;break}n=r.gzindex<r.gzhead.comment.length?255&r.gzhead.comment.charCodeAt(r.gzindex++):0,xt(r,n)}while(0!==n);r.gzhead.hcrc&&r.pending>a&&(t.adler=M(t.adler,r.pending_buf,r.pending-a,a)),0===n&&(r.status=pt)}else r.status=pt;if(r.status===pt&&(r.gzhead.hcrc?(r.pending+2>r.pending_buf_size&&kt(t),r.pending+2<=r.pending_buf_size&&(xt(r,255&t.adler),xt(r,t.adler>>8&255),t.adler=0,r.status=gt)):r.status=gt),0!==r.pending){if(kt(t),0===t.avail_out)return r.last_flush=-1,tt}else if(0===t.avail_in&&bt(e)<=bt(i)&&e!==V)return vt(t,rt);if(r.status===wt&&0!==t.avail_in)return vt(t,rt);if(0!==t.avail_in||0!==r.lookahead||e!==q&&r.status!==wt){var _=r.strategy===_t?function(t,e){for(var a;;){if(0===t.lookahead&&(Zt(t),0===t.lookahead)){if(e===q)return 1;break}if(t.match_length=0,a=X(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,a&&(zt(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===V?(zt(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(zt(t,!1),0===t.strm.avail_out)?1:2}(r,e):r.strategy===ht?function(t,e){for(var a,n,r,i,s=t.window;;){if(t.lookahead<=ft){if(Zt(t),t.lookahead<=ft&&e===q)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=3&&t.strstart>0&&(n=s[r=t.strstart-1])===s[++r]&&n===s[++r]&&n===s[++r]){i=t.strstart+ft;do{}while(n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&r<i);t.match_length=ft-(i-r),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=3?(a=X(t,1,t.match_length-3),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(a=X(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),a&&(zt(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===V?(zt(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(zt(t,!1),0===t.strm.avail_out)?1:2}(r,e):Lt[r.level].func(r,e);if(3!==_&&4!==_||(r.status=wt),1===_||3===_)return 0===t.avail_out&&(r.last_flush=-1),tt;if(2===_&&(e===J?W(r):e!==$&&(j(r,0,0,!1),e===Q&&(mt(r.head),0===r.lookahead&&(r.strstart=0,r.block_start=0,r.insert=0))),kt(t),0===t.avail_out))return r.last_flush=-1,tt}return e!==V?tt:r.wrap<=0?et:(2===r.wrap?(xt(r,255&t.adler),xt(r,t.adler>>8&255),xt(r,t.adler>>16&255),xt(r,t.adler>>24&255),xt(r,255&t.total_in),xt(r,t.total_in>>8&255),xt(r,t.total_in>>16&255),xt(r,t.total_in>>24&255)):(At(r,t.adler>>>16),At(r,65535&t.adler)),kt(t),r.wrap>0&&(r.wrap=-r.wrap),0!==r.pending?tt:et)},deflateEnd:function(t){if(!t||!t.state)return at;var e=t.state.status;return 42!==e&&69!==e&&73!==e&&91!==e&&e!==pt&&e!==gt&&e!==wt?vt(t,at):(t.state=null,e===gt?vt(t,nt):tt)},deflateSetDictionary:function(t,e){var a=e.length;if(!t||!t.state)return at;var n=t.state,r=n.wrap;if(2===r||1===r&&42!==n.status||n.lookahead)return at;if(1===r&&(t.adler=C(t.adler,e,a,0)),n.wrap=0,a>=n.w_size){0===r&&(mt(n.head),n.strstart=0,n.block_start=0,n.insert=0);var i=new Uint8Array(n.w_size);
1i.set(e.subarray(a-n.w_size,a),0),e=i,a=n.w_size}var s=t.avail_in,_=t.next_in,h=t.input;for(t.avail_in=a,t.next_in=0,t.input=e,Zt(n);n.lookahead>=3;){var l=n.strstart,o=n.lookahead-2;do{n.ins_h=yt(n,n.ins_h,n.window[l+3-1]),n.prev[l&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=l,l++}while(--o);n.strstart=l,n.lookahead=2,Zt(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=2,n.match_available=0,t.next_in=_,t.input=h,t.avail_in=s,n.wrap=r,tt},deflateInfo:"pako deflate (from Nodeca project)"};for(var Dt=new Uint8Array(256),Bt=0;Bt<256;Bt++)Dt[Bt]=Bt>=252?6:Bt>=248?5:Bt>=240?4:Bt>=224?3:Bt>=192?2:1;Dt[254]=Dt[254]=1;var Ct=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0},Ht=Object.prototype.toString,Mt=K.Z_NO_FLUSH,Yt=K.Z_SYNC_FLUSH,Kt=K.Z_FULL_FLUSH,Pt=K.Z_FINISH,jt=K.Z_OK,Gt=K.Z_STREAM_END,Xt=K.Z_DEFAULT_COMPRESSION,Wt=K.Z_DEFAULT_STRATEGY,qt=K.Z_DEFLATED;function Jt(){this.options={level:Xt,method:qt,chunkSize:16384,windowBits:15,memLevel:8,strategy:Wt};var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Ct,this.strm.avail_out=0;var e=Ot.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(e!==jt)throw new Error(Y[e]);if(t.header&&Ot.deflateSetHeader(this.strm,t.header),t.dictionary){var a;if(a="[object ArrayBuffer]"===Ht.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,(e=Ot.deflateSetDictionary(this.strm,a))!==jt)throw new Error(Y[e]);this._dict_set=!0}}function Qt(t,e,a){try{t.postMessage({type:"errored",error:e,streamId:a})}catch(n){t.postMessage({type:"errored",error:String(e),streamId:a})}}function Vt(t){var e=t.strm.adler;return new Uint8Array([3,0,e>>>24&255,e>>>16&255,e>>>8&255,255&e])}Jt.prototype.push=function(t,e){var a,n,r=this.strm,i=this.options.chunkSize;if(this.ended)return!1;for(n=e===~~e?e:!0===e?Pt:Mt,"[object ArrayBuffer]"===Ht.call(t)?r.input=new Uint8Array(t):r.input=t,r.next_in=0,r.avail_in=r.input.length;;)if(0===r.avail_out&&(r.output=new Uint8Array(i),r.next_out=0,r.avail_out=i),(n===Yt||n===Kt)&&r.avail_out<=6)this.onData(r.output.subarray(0,r.next_out)),r.avail_out=0;else{if((a=Ot.deflate(r,n))===Gt)return r.next_out>0&&this.onData(r.output.subarray(0,r.next_out)),a=Ot.deflateEnd(this.strm),this.onEnd(a),this.ended=!0,a===jt;if(0!==r.avail_out){if(n>0&&r.next_out>0)this.onData(r.output.subarray(0,r.next_out)),r.avail_out=0;else if(0===r.avail_in)break}else this.onData(r.output)}return!0},Jt.prototype.onData=function(t){this.chunks.push(t)},Jt.prototype.onEnd=function(t){t===jt&&(this.result=function(t){for(var e=0,a=0,n=t.length;a<n;a++)e+=t[a].length;for(var r=new Uint8Array(e),i=0,s=0,_=t.length;i<_;i++){var h=t[i];r.set(h,s),s+=h.length}return r}(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},function(e){void 0===e&&(e=self);try{var a=new Map;e.addEventListener("message",(function(n){try{var r=function(e,a){switch(a.action){case"init":return{type:"initialized",version:"5.32.0"};case"write":var n=e.get(a.streamId);n||(n=new Jt,e.set(a.streamId,n));var r=n.chunks.length,i=function(t){if("function"==typeof TextEncoder&&TextEncoder.prototype.encode)return(new TextEncoder).encode(t);var e,a,n,r,i,s=t.length,_=0;for(r=0;r<s;r++)55296==(64512&(a=t.charCodeAt(r)))&&r+1<s&&56320==(64512&(n=t.charCodeAt(r+1)))&&(a=65536+(a-55296<<10)+(n-56320),r++),_+=a<128?1:a<2048?2:a<65536?3:4;for(e=new Uint8Array(_),i=0,r=0;i<_;r++)55296==(64512&(a=t.charCodeAt(r)))&&r+1<s&&56320==(64512&(n=t.charCodeAt(r+1)))&&(a=65536+(a-55296<<10)+(n-56320),r++),a<128?e[i++]=a:a<2048?(e[i++]=192|a>>>6,e[i++]=128|63&a):a<65536?(e[i++]=224|a>>>12,e[i++]=128|a>>>6&63,e[i++]=128|63&a):(e[i++]=240|a>>>18,e[i++]=128|a>>>12&63,e[i++]=128|a>>>6&63,e[i++]=128|63&a);return e}(a.data);return n.push(i,K.Z_SYNC_FLUSH),{type:"wrote",id:a.id,streamId:a.streamId,result:t(n.chunks.slice(r)),trailer:Vt(n),additionalBytesCount:i.length};case"reset":e.delete(a.streamId)}}(a,n.data);r&&e.postMessage(r)}catch(t){Qt(e,t,n.data&&"streamId"in n.data?n.data.streamId:void 0)}}))}catch(t){Qt(e,t)}}()}();'])))}var _t={status:0};function hD(e,t,n,r){switch(void 0===r&&(r=fD),0===_t.status&&function gie(e,t,n){void 0===n&&(n=fD);try{var r=n(e),i=Et(e,r,"error",function(a){Y6(e,t,a)}).stop,o=Et(e,r,"message",function(a){var c=a.data;"errored"===c.type?Y6(e,t,c.error,c.streamId):"initialized"===c.type&&function Cie(e){1===_t.status&&(_t={status:3,worker:_t.worker,stop:_t.stop,version:e})}(c.version)}).stop;r.postMessage({action:"init"}),An(function(){return function mie(e){1===_t.status&&($e.error("".concat(e," failed to start: a timeout occurred while initializing the Worker")),_t.initializationFailureCallbacks.forEach(function(t){return t()}),_t={status:2})}(t)},pie),_t={status:1,worker:r,stop:function(){i(),o()},initializationFailureCallbacks:[]}}catch(a){Y6(e,t,a)}}(e,t,r),_t.status){case 1:return _t.initializationFailureCallbacks.push(n),_t.worker;case 3:return _t.worker}}function pD(){return _t.status}function Y6(e,t,n,r){if(1===_t.status||0===_t.status){if($e.error("".concat(t," failed to start: an error occurred while creating the Worker:"),n),n instanceof Event||n instanceof Error&&function vie(e){return Lr(e,"Content Security Policy")||Lr(e,"requires 'TrustedScriptURL'")}(n.message)){var i;i=e.workerUrl?"Please make sure the Worker URL ".concat(e.workerUrl," is correct and CSP is correctly configured."):"Please make sure CSP is correctly configured.",$e.error("".concat(i," See documentation at ").concat(R5,"/integrations/content_security_policy_logs/#use-csp-with-real-user-monitoring-and-session-replay"))}else j5(n);1===_t.status&&_t.initializationFailureCallbacks.forEach(function(o){return o()}),_t={status:2}}else j5(n,{worker_version:3===_t.status&&_t.version,stream_id:r})}var Wo=function qX(e,t,n){void 0===n&&(n={});var r=function _K(e){void 0===e&&(e=2);var t=new Map,n=!1;function r(i){if(void 0===i&&(i=0),!n&&0!==e){var o=2===e?AK:bK,s=i;t.forEach(function(a){s+=a.getBytesCount()}),s>o&&(function wK(e){$e.warn("Customer data exceeds the recommended ".concat(e/Bo,"KiB threshold. ").
1concat(O5," ").concat(Ow,"/#customer-data-exceeds-the-recommended-threshold-warning"))}(o),n=!0)}}return{createDetachedTracker:function(){var i=Fw(function(){return r(i.getBytesCount())});return i},getOrCreateTracker:function(i){return t.has(i)||t.set(i,Fw(r)),t.get(i)},setCompressionStatus:function(i){0===e&&(e=i,r())},getCompressionStatus:function(){return e},stop:function(){t.forEach(function(i){return i.stop()}),t.clear()}}}(0),i=l6(r.getOrCreateTracker(2)),o=l6(r.getOrCreateTracker(1)),s=function RK(e){var t=new at;return{tryToInit:function(n){e||(e=n)},update:function(n){e=n,t.notify()},isGranted:function(){return e===u6.GRANTED},observable:t}}(),a=function SY(){return{vitalsByName:new Map,vitalsByReference:new WeakMap}}();function c(){return function wY(e,t,n){return{context:e.getContext(),user:t.getContext(),hasReplay:!!n.isRecording()||void 0}}(i,o,t)}var l=GX(n,c,s,a,function(f,h,p){f.storeContextsAcrossPages&&(Vw(f,i,"rum",2),Vw(f,o,"rum",1)),r.setCompressionStatus(h?1:2);var m=e(f,t,r,c,p,h&&n.createDeflateEncoder?function(C){return n.createDeflateEncoder(f,h,C)}:LK,s,a);return t.onRumStart(m.lifeCycle,f,m.session,m.viewHistory,h),l=function JX(e,t){return ye({init:function(n){eI("DD_RUM",n)},initConfiguration:e.initConfiguration},t)}(l,m),m}),u=pe(function(f){var h="object"==typeof f?f:{name:f};h.context&&r.getOrCreateTracker(3).updateCustomerData(h.context),l.startView(h),er({feature:"start-view"})}),d=function gK(e){var t=ye({version:"5.32.0",onReady:function(n){n()}},e);return Object.defineProperty(t,"_setDebug",{get:function(){return dK},enumerable:!1}),t}({init:pe(function(f){l.init(f,d)}),setTrackingConsent:pe(function(f){s.update(f),er({feature:"set-tracking-consent",tracking_consent:f})}),setViewName:pe(function(f){l.setViewName(f)}),setViewContext:pe(function(f){l.setViewContext(f)}),setViewContextProperty:pe(function(f,h){l.setViewContextProperty(f,h)}),setGlobalContext:pe(function(f){i.setContext(f),er({feature:"set-global-context"})}),getGlobalContext:pe(function(){return i.getContext()}),setGlobalContextProperty:pe(function(f,h){i.setContextProperty(f,h),er({feature:"set-global-context"})}),removeGlobalContextProperty:pe(function(f){return i.removeContextProperty(f)}),clearGlobalContext:pe(function(){return i.clearContext()}),getInternalContext:pe(function(f){return l.getInternalContext(f)}),getInitConfiguration:pe(function(){return s6(l.initConfiguration)}),addAction:function(f,h){var p=P5();Ns(function(){l.addAction({name:jt(f),context:jt(h),startClocks:Qn(),type:"custom",handlingStack:p}),er({feature:"add-action"})})},addError:function(f,h){var p=P5();Ns(function(){l.addError({error:f,handlingStack:p,context:jt(h),startClocks:Qn()}),er({feature:"add-error"})})},addTiming:pe(function(f,h){l.addTiming(jt(f),h)}),setUser:pe(function(f){(function _Y(e){var t="object"===Vo(e);return t||$e.error("Unsupported user:",e),t})(f)&&o.setContext($w(f)),er({feature:"set-user"})}),getUser:pe(function(){return o.getContext()}),setUserProperty:pe(function(f,h){var p,m=$w((p={},p[f]=h,p))[f];o.setContextProperty(f,m),er({feature:"set-user"})}),removeUserProperty:pe(function(f){return o.removeContextProperty(f)}),clearUser:pe(function(){return o.clearContext()}),startView:u,stopSession:pe(function(){l.stopSession(),er({feature:"stop-session"})}),addFeatureFlagEvaluation:pe(function(f,h){l.addFeatureFlagEvaluation(jt(f),jt(h)),er({feature:"add-feature-flag-evaluation"})}),getSessionReplayLink:pe(function(){return t.getSessionReplayLink()}),startSessionReplayRecording:pe(function(f){t.start(f),er({feature:"start-session-replay-recording",force:f&&f.force})}),stopSessionReplayRecording:pe(function(){return t.stop()}),addDurationVital:pe(function(f,h){er({feature:"add-duration-vital"}),l.addDurationVital({name:jt(f),type:"duration",startClocks:cY(h.startTime),duration:h.duration,context:jt(h&&h.context),description:jt(h&&h.description)})}),startDurationVital:pe(function(f,h){return er({feature:"start-duration-vital"}),l.startDurationVital(jt(f),{context:jt(h&&h.context),description:jt(h&&h.description)})}),stopDurationVital:pe(function(f,h){er({feature:"stop-duration-vital"}),l.stopDurationVital("string"==typeof f?jt(f):f,{context:jt(h&&h.context),description:jt(h&&h.description)})})});return d}(function Jne(e,t,n,r,i,o,s,a){var c=[],l=new a$;l.subscribe(12,function(Je){return p6("rum",Je)});var u=function Kne(e){var t=function mY(e,t){var n,r,i=new at,o=new Set,s=!Lr(gY,t.site)&&Bs(t.telemetrySampleRate),a=((n={})[Hs.log]=s,n[Hs.configuration]=s&&Bs(t.telemetryConfigurationSampleRate),n[Hs.usage]=s&&Bs(t.telemetryUsageSampleRate),n),c=function CY(){return{is_local_file:"file:"===window.location.protocol,is_worker:"WorkerGlobalScope"in self}}();return uo=function(u){var d=Ls(u);if(a[u.type]&&o.size<t.maxTelemetryEventsPerPage&&!o.has(d)){var f=function l(u,d,f){return Fi({type:"telemetry",date:ln(),service:u,version:"5.32.0",source:"browser",_dd:{format_version:2},telemetry:Fi(d,{runtime_env:f,connectivity:Kw(),sdk_setup:"npm"}),experimental_features:r6(F5)},void 0!==r?r():{})}(e,u,c);i.notify(f),p6("telemetry",f),o.add(d)}},function uK(e){Gu=e}(j5),{setContextProvider:function(u){r=u},observable:i,enabled:s}}("browser-rum-sdk",e);if(Vs()){var n=Mc();t.observable.subscribe(function(r){return n.send("internal_telemetry",r)})}return t}(e);u.setContextProvider(function(){var Je,dn;return{application:{id:e.applicationId},session:{id:null===(Je=m.findTrackedSession())||void 0===Je?void 0:Je.id},view:{id:null===(dn=K.findView())||void 0===dn?void 0:dn.id},action:{id:R.findActionId()}}});var d=function(Je){l.notify(13,{error:Je}),Tc("Error reported to customer",{"error.message":Je.message})},f=function One(e,t){var n=Pc({expireDelay:Rne});return e.subscribe(1,function(r){n.add({},r.startClocks.relative),t.resetCustomerData()}),e.subscribe(5,function(r){n.closeActive(r.endClocks.relative)}),{findFeatureFlagEvaluations:function(r){return n.find(r)},addFeatureFlagEvaluation:function(r,i){var o=n.find();o&&(o[r]=i,t.updateCustomerData(o))},stop:function(){return t.stop()}}}(l,n.getOrCreateTracker(0)),h=function KX(e){return new at(function(t){var n=Xn(e,window,["visibilitychange","freeze"],function(i){"visibilitychange"===i.type&&"hidden"===document.visibilityState?t.notify({reason:Rc.HIDDEN}):"freeze"===i.type&&t.notify({reason:Rc.FROZEN})},{capture:!0}).stop,r=Et(e,window,"beforeunload",function(){t.notify({reason:Rc.UNLOADING})}).stop;return function(){n(),r()}})}(e),p=h.subscribe(function(Je){l.notify(10,Je)});c.push(function(){return p.unsubscribe()});var m=Vs()?function lne(){var e={id:"00000000-aaaa-0000-aaaa-000000000000",sessionReplay:iI("records")?1:0};return{findTrackedSession:function(){return e},expire:it,expireObservable:new at,setForcedReplay:it}}():cne(e,l,s);if(Vs())!function Sne(e){var t=Mc();e.subscribe(12,function(n){t.send("rum",n)})}(l);else{var C=function Ine(e,t,n,r,i,o,s){var a=e.replica,c=function wne(e,t,n,r,i,o,s){void 0===s&&(s=fne);var a=l(e,t),c=n&&l(e,n);function l(u,d){return s({encoder:d.encoder,request:US(d.endpoint,u.batchBytesLimit,r),flushController:_ne({messagesLimit:u.batchMessagesLimit,bytesLimit:u.batchBytesLimit,durationLimit:u.flushTimeout,pageExitObservable:i,sessionExpireOb
1servable:o}),messageBytesLimit:u.messageBytesLimit})}return{flushObservable:a.flushController.flushObservable,add:function(u,d){void 0===d&&(d=!0),a.add(u),c&&d&&c.add(n.transformMessage?n.transformMessage(u):u)},upsert:function(u,d){a.upsert(u,d),c&&c.upsert(n.transformMessage?n.transformMessage(u):u,d)},stop:function(){a.stop(),c&&c.stop()}}}(e,{endpoint:e.rumEndpointBuilder,encoder:s(2)},a&&{endpoint:a.rumEndpointBuilder,transformMessage:function(l){return Fi(l,{application:{id:a.applicationId}})},encoder:s(3)},r,i,o);return t.subscribe(12,function(l){"view"===l.type?c.upsert(l,l.view.id):c.add(l)}),n.subscribe(function(l){return c.add(l,function yY(e){return e.site===Ww}(e))}),c}(e,l,u.observable,d,h,m.expireObservable,o);c.push(function(){return C.stop()}),function Lne(e,t,n,r,i){t.enabled&&Bs(e.customerDataTelemetrySampleRate)&&(zS(),ZS(),n.subscribe(12,function(s){Q6=!0,dd(Zs.globalContextBytes,r.getOrCreateTracker(2).getBytesCount()),dd(Zs.userContextBytes,r.getOrCreateTracker(1).getBytesCount()),dd(Zs.featureFlagBytes,Lr(["view","error"],s.type)?r.getOrCreateTracker(0).getBytesCount():0)}),i.subscribe(function(s){var a=s.bytesCount,c=s.messagesCount;Q6&&(fo.batchCount+=1,dd(fo.batchBytesCount,a),dd(fo.batchMessagesCount,c),z6(fo.globalContextBytes,Zs.globalContextBytes),z6(fo.userContextBytes,Zs.userContextBytes),z6(fo.featureFlagBytes,Zs.featureFlagBytes),ZS())}),bc(Pne,Nne))}(e,u,l,n,C.flushObservable)}var v=function YX(){var e=II();return new at(function(t){if(e){var n=new e(pe(function(){return t.notify()}));return n.observe(document,{attributes:!0,characterData:!0,childList:!0,subtree:!0}),function(){return n.disconnect()}}})}(),y=function Mne(e,t){var n=Ju(t);return new at(function(r){var i=function xne(e,t){var n=tr(QS("pushState"),"pushState",function(o){(0,o.onPostCall)(t)}).stop,r=tr(QS("replaceState"),"replaceState",function(o){(0,o.onPostCall)(t)}).stop,i=Et(e,window,"popstate",t).stop;return{stop:function(){n(),r(),i()}}}(e,s).stop,o=function kne(e,t){return Et(e,window,"hashchange",t)}(e,s).stop;function s(){if(n.href!==t.href){var a=Ju(t);r.notify({newLocation:a,oldLocation:n}),n=a}}return function(){i(),o()}})}(e,location),S=function Vne(e,t){void 0===t&&(t=500);var r,n=Pc({expireDelay:Hne,maxEntries:4e3});o(GS(),Fr());var i=Xn(e,window,["pageshow","focus","blur","visibilitychange","resume","freeze","pagehide"],function(a){o(function Une(e){return"freeze"===e.type?"frozen":"pagehide"===e.type?e.persisted?"frozen":"terminated":GS()}(a),a.timeStamp)},{capture:!0}).stop;function o(a,c){void 0===c&&(c=Fr()),a!==r&&(r=a,n.closeActive(c),n.add({state:r,startTime:c},c))}var s={findAll:function(a,c){var l=n.findAll(a,c);if(0!==l.length){for(var u=[],d=Math.max(0,l.length-t),f=l.length-1;f>=d;f--){var h=l[f],p=bn(a,h.startTime);u.push({state:h.state,start:Fe(p)})}return u}},wasInPageStateAt:function(a,c){return s.wasInPageStateDuringPeriod(a,c,0)},wasInPageStateDuringPeriod:function(a,c,l){return n.findAll(c,l).some(function(u){return u.state===a})},addPageState:o,stop:function(){i(),n.stop()}};return s}(e),N=function Yne(e,t,n,r,i,o,s,a,c){var l=function u$(e){var t=Pc({expireDelay:l$});return e.subscribe(1,function(r){t.add(function n(r){return{service:r.service,version:r.version,context:r.context,id:r.id,name:r.name,startClocks:r.startClocks}}(r),r.startClocks.relative)}),e.subscribe(5,function(r){t.closeActive(r.endClocks.relative)}),e.subscribe(3,function(r){var i=t.find(r.startClocks.relative);i&&r.name&&(i.name=r.name),i&&r.context&&(i.context=r.context)}),e.subscribe(9,function(){t.reset()}),{findView:function(r){return t.find(r)},stop:function(){t.stop()}}}(e),u=function Tne(e,t,n){var i,r=Pc({expireDelay:Dne});e.subscribe(1,function(a){var c=a.startClocks,l=n.href;r.add(s({url:l,referrer:i||document.referrer}),c.relative),i=l}),e.subscribe(5,function(a){r.closeActive(a.endClocks.relative)});var o=t.subscribe(function(a){var c=a.newLocation,l=r.find();if(l){var u=Fr();r.closeActive(u),r.add(s({url:c.href,referrer:l.referrer}),u)}});function s(a){return{url:a.url,referrer:a.referrer}}return{findUrl:function(a){return r.find(a)},stop:function(){o.unsubscribe(),r.stop()}}}(e,o,n),d=function xee(e,t,n,r){e.subscribe(0,function(o){return e.notify(11,hS(o,r))});var i={findActionId:it};return n.trackUserInteractions&&(i=Iee(e,t,n).actionContexts),{addAction:function(o,s){e.notify(11,ye({savedCommonContext:s},hS(o,r)))},actionContexts:i}}(e,s,t,i),f=d.addAction,h=d.actionContexts,p=function jne(e){var t=u1();return{get:function(){return{viewport:t}},stop:xS(e).subscribe(function(r){t=r}).unsubscribe}}(t),m=function Wne(e,t){var n;void 0===t&&(t=function Qne(e,t){var n=window.cookieStore?function zne(e){return function(t,n){return Et(e,window.cookieStore,"change",function(i){var o=Po(i.changed,function(s){return s.name===t})||Po(i.deleted,function(s){return s.name===t});o&&n(o.value)}).stop}}(e):Gne;return new at(function(r){return n(t,function(i){return r.notify(i)})})}(e,WS));var r=jo(WS)||(null===(n=window.Cypress)||void 0===n?void 0:n.env("traceId")),i=t.subscribe(function(o){r=o});return{get:function(){if("string"==typeof r)return{test_execution_id:r}},stop:function(){return i.unsubscribe()}}}(t);return n$(t,e,r,l,u,h,p,m,a,c),{viewHistory:l,pageStateHistory:i,urlContexts:u,addAction:f,actionContexts:h,stop:function(){m.stop(),p.stop(),u.stop(),l.stop(),i.stop()}}}(l,e,location,m,S,y,v,r,d),K=N.viewHistory,J=N.urlContexts,R=N.actionContexts,_e=N.addAction;c.push(N.stop),function vY(){U5.drain()}();var ct=$te(l,e,location,v,y,f,S,t,i),Vc=ct.addTiming,li=ct.startView,qo=ct.setViewName,Uc=ct.setViewContext,jc=ct.setViewContextProperty;c.push(ct.stop);var ne=lte(l,e,S).stop;if(c.push(ne),B5(Ic.LONG_ANIMATION_FRAME)){if(e.trackLongTasks){var oe=function qne(e,t){var n=Bi(t,{type:At.LONG_ANIMATION_FRAME,buffered:!0}).subscribe(function(r){for(var i=0,o=r;i<o.length;i++){var s=o[i],a=V5(s.startTime),c={date:a.timeStamp,long_task:{id:xn(),entry_type:"long-animation-frame",duration:Fe(s.duration),blocking_duration:Fe(s.blockingDuration),first_ui_event_timestamp:Fe(s.firstUIEventTimestamp),render_start:Fe(s.renderStart),style_and_layout_start:Fe(s.styleAndLayoutStart),start_time:Fe(s.startTime),scripts:s.scripts.map(function(l){return{duration:Fe(l.duration),pause_duration:Fe(l.pauseDuration),forced_style_and_layout_duration:Fe(l.forcedStyleAndLayoutDuration),start_time:Fe(l.startTime),execution_start:Fe(l.executionStart),source_url:l.sourceURL,source_function_name:l.sourceFunctionName,source_char_position:l.sourceCharPosition,invoker:l.invoker,invoker_type:l.invokerType,window_attribution:l.windowAttribution}})},type:"long_task",_dd:{discarded:!1}};e.notify(11,{rawRumEvent:c,startTime:a.relative,domainContext:{performanceEntry:s}})}});return{stop:function(){return n.unsubscribe()}}}(l,e).stop;c.push(oe)}}else!function qee(e,t){var n=Bi(t,{type:At.LONG_TASK,buffered:!0}).subscribe(function(r){for(var i=0,o=r;i<o.length;i++){var s=o[i];if(s.entryType!==At.LONG_TASK||!t.trackLongTasks)break;var a=V5(s.startTime),c={date:a.timeStamp,long_task:{id:xn(),entry_type:"long-task",duration:Fe(s.duration)},type:"long_task",_dd:{discarded:!1}};e.notify(11,{rawRumEvent:c,startTime:a.relative,domainContext:{performanceEntry:s}})}})}(l,e);var Le=Zee(l,e,S,f).addError;D$(l,e,m);var ot=function DY(e,t,n){function i(o){(function r(o){return!t.wasInPageStateDuringPeriod("frozen",o.startClocks.relative,o.duration)})(o)&&e.notify(11,function MY(e,t){var n={date:e.startClocks.timeStamp,vital:{id:xn(),type:e.type,name:e.name,duration:Fe(e.duration),description:e.description},type:"vital"};return t&&(n._dd={vital:{computed_value:!0}}),{rawRumEvent:n,startTime:e.startClocks.relative,customerContext:e.context,domainContext:{}}}(o,!0))}return{addDurationVital:i,startDurationVital:function(o,s){return void 0===s&&(s={}),nI(n,o,s)},stopDurationVital:function(o,s){void 0===s&&(s={}),rI(i,n,o,s)}}}(l,S,a),Ot=function o$(e,t,n,r,i){return{get:function(o){var s=n.findView(o),a=i.findUrl(o),c=t.findTrackedSession(o);if(c&&s&&a){var l=r.findActionId(o);return{application_id:e,session_id:c.id,user_action:l?{id:l}:void 0,view:{id:s.id,name:s.name,referrer:a.referrer,url:a.url}}}}}}(e.applicationId,m,K,R,J);return{addAction:_e,addError:Le,addTiming:Vc,addFeatureFlagEvaluation:f.addFeatureFlagEvaluation,startView:li,setVie
1wContext:Uc,setViewContextProperty:jc,setViewName:qo,lifeCycle:l,viewHistory:K,session:m,stopSession:function(){return m.expire()},getInternalContext:Ot.get,startDurationVital:ot.startDurationVital,stopDurationVital:ot.stopDurationVital,addDurationVital:ot.addDurationVital,stop:function(){c.forEach(function(Je){return Je()})}}},function yie(e,t){if(Vs()&&!iI("records")||!uD())return{start:it,stop:it,getReplayStats:function(){},onRumStart:it,isRecording:function(){return!1},getSessionReplayLink:function(){}};var n={status:1},r=function(){n={status:1}},i=function(){n={status:0}},o=it;return{start:function(s){return r(s)},stop:function(){return i()},getSessionReplayLink:function(){return o()},onRumStart:function(s,a,c,l,u){var d;a.startSessionReplayRecordingManually&&(n={status:0}),s.subscribe(8,function(){(2===n.status||3===n.status)&&(i(),n={status:1})}),s.subscribe(10,function(h){h.reason===Rc.UNLOADING&&i()}),s.subscribe(9,function(){1===n.status&&r()}),r=function(h){var p=c.findTrackedSession();p&&(0!==p.sessionReplay||h&&h.force)?2===n.status||3===n.status||(n={status:2},F6(a,"interactive",function(){if(2===n.status){var m=function f(){return d||(u||(u=hD(a,"Datadog Session Replay",function(){i()},t)),u&&(d=dD(a,u,1))),d}();if(!m)return void(n={status:0});var C=e(s,a,c,l,m).stop;n={status:3,stopRecording:C}}}),h&&h.force&&0===p.sessionReplay&&c.setForcedReplay()):n={status:1}},i=function(){0!==n.status&&(3===n.status&&n.stopRecording(),n={status:0})},o=function(){return fie(a,c,l,0!==n.status)},1===n.status&&r()},isRecording:function(){return 3===pD()&&3===n.status},getReplayStats:function(s){return 3===pD()?function sre(e){return kn?.get(e)}(s):void 0}}}(function die(e,t,n,r,i,o){var l,s=[],c=o||US(t.sessionReplayEndpointBuilder,6e4,function(f){e.notify(13,{error:f}),Tc("Error reported to customer",{"error.message":f.message})});if(Vs())l=function uie(e){var t=Mc();return{addRecord:function(n){var r=e.findView();t.send("record",n,r.id)}}}(r).addRecord;else{var u=function aie(e,t,n,r,i,o){return function cie(e,t,n,r){var i={status:0,nextSegmentCreationReason:"init"},o=e.subscribe(2,function(){a("view_change")}).unsubscribe,s=e.subscribe(10,function(c){a(c.reason)}).unsubscribe;function a(c){1===i.status&&(i.segment.flush(function(l,u){var d=function iie(e,t,n){var r=new FormData;r.append("segment",new Blob([e],{type:"application/octet-stream"}),"".concat(t.session.id,"-").concat(t.start));var i=ye({raw_segment_size:n,compressed_segment_size:e.byteLength},t),o=JSON.stringify(i);return r.append("event",new Blob([o],{type:"application/json"})),{data:r,bytesCount:e.byteLength}}(u.output,l,u.rawBytesCount);wI(c)?n.sendOnExit(d):n.send(d)}),Er(i.expirationTimeoutId)),i="stop"!==c?{status:0,nextSegmentCreationReason:c}:{status:2}}return{addRecord:function(c){if(2!==i.status){if(0===i.status){var l=t();if(!l)return;i={status:1,segment:oie({encoder:r,context:l,creationReason:i.nextSegmentCreationReason}),expirationTimeoutId:An(function(){a("segment_duration_limit")},sie)}}i.segment.addRecord(c,function(u){u>6e4&&a("segment_bytes_limit")})}},stop:function(){a("stop"),o(),s()}}}(e,function(){return function lie(e,t,n){var r=t.findTrackedSession(),i=n.findView();if(r&&i)return{application:{id:e},session:{id:r.id},view:{id:i.id}}}(t.applicationId,n,r)},i,o)}(e,t,n,r,c,i);l=u.addRecord,s.push(u.stop)}var d=rie({emit:l,configuration:t,lifeCycle:e,viewHistory:r}).stop;return s.push(d),{stop:function(){s.forEach(function(f){return f()})}}}),{startDeflateWorker:hD,createDeflateEncoder:dD});!function mK(e,t,n){var r=e[t];r&&!r.q&&r.version&&$e.warn("SDK is loaded more than once. This is unsupported and might have unexpected behavior."),e[t]=n,r&&r.q&&r.q.forEach(function(i){return Nw(i,"onReady callback threw an error:")()})}(Fo(),"DD_RUM",Wo),X(782),X(364),X(16),X(656),new Blob(["(",function(){function n(i,o){let s=i;return o.apiDataHierarchy?(o.apiDataHierarchy.forEach(a=>{s.hasOwnProperty(a)&&(s=s[a])}),s):i}function r(i){const o=i?.params&&0!==Object.keys(i?.params).length?`${i?.baseUrl}?${new URLSearchParams(i?.params)}`:i?.baseUrl;fetch(o,{headers:i?.headers}).then(s=>s.json()).then(s=>{const a={success:!0,data:n(s,i)};!function e(i,o){try{let s;const a=self.indexedDB.open("lookup_db",2);a.onsuccess=c=>{s=a.result;
1const l=s.transaction("collection","readwrite"),u=l.objectStore("collection").add(o.data,i?.storeName);u.onsuccess=d=>{self.postMessage(o)},u.onerror=d=>{},l.onabort=()=>{}},a.onerror=c=>{},a.onupgradeneeded=c=>{a.result.objectStoreNames.contains("collection")||c.currentTarget.result.createObjectStore("collection")}}catch{}}(i,a)}).catch(s=>{self.postMessage({success:!1,data:s})})}self.onmessage=i=>{const o=i?.data;o?.baseUrl&&o?.headers||self.postMessage({success:!1,data:"Missing parameters"});let a,s=indexedDB.open("lookup_db");s.onerror=c=>{r(o)},s.onupgradeneeded=c=>{c.currentTarget.result.createObjectStore("collection"),a=s.result},s.onsuccess=c=>{if(a=s.result,!a.objectStoreNames.contains("collection"))return void r(o);const d=a.transaction("collection").objectStore("collection").get(o?.storeName);d.onerror=f=>{r(o)},d.onsuccess=f=>{d.result?self.postMessage({success:!0,data:d.result}):r(o),a.close()}}}}.toString(),")()"],{type:"application/javascript"}),new Blob(["(",function(){self.onmessage=e=>{const t=e?.data;t?.baseUrl&&t?.headers||self.postMessage({success:!1,data:"Missing parameters"});let n="";n=t?.params&&0!==Object.keys(t?.params).length?`${t?.baseUrl}?${new URLSearchParams(t?.params)}`:t?.baseUrl,fetch(n,{headers:t?.headers}).then(r=>r.json()).then(r=>{self.postMessage({success:!0,data:r})}).catch(r=>{self.postMessage({success:!1,data:r})})}}.toString(),")()"],{type:"application/javascript"});const X6=function mZ(e){if(ko&&"object"!=typeof e)throw Error("single-spa-angular requires a configuration object");const t={...gZ,...e};if(ko&&"function"!=typeof t.bootstrapFunction)throw Error("single-spa-angular must be passed an options.bootstrapFunction");if(ko&&"string"!=typeof t.template)throw Error("single-spa-angular must be passed options.template string");if(ko&&!t.NgZone)throw Error("single-spa-angular must be passed the NgZone option");return ko&&t.Router&&!t.NavigationStart&&console.warn("single-spa-angular must be passed the NavigationStart option"),{bootstrap:CZ.bind(null,t),mount:vZ.bind(null,t),unmount:yZ.bind(null,t),update:t.updateFunction}}({domElementGetter:function xie(){let e=document.getElementById("topnav-container");return e||(e=document.createElement("div"),e.id="topnav-container",document.body.appendChild(e)),e},bootstrapFunction:e=>(QE.next(e),RU(function pZ(){return[{provide:a4,deps:[[new v7(Pt)]]},{provide:Ch,useExisting:a4}]}()).bootstrapModule(cK)),template:"<top-nav-root />",Router:ri,NavigationStart:Eu,NgZone:Oe}),kie=X6.bootstrap,Rie=[X6.mount,()=>new Promise(e=>{((e,t,n,r,i="datadoghq.eu")=>{Wo.init({applicationId:e,clientToken:t,site:i,service:n,env:r,sessionSampleRate:100,sessionReplaySampleRate:20,trackUserInteractions:!0,trackResources:!0,trackLongTasks:!0,defaultPrivacyLevel:"mask-user-input"})})(Tt_datadogConfigs.applicationId,Tt_datadogConfigs.clientToken,Tt_datadogConfigs.service,Tt_env),e(!0)})],Oie=[X6.unmount,()=>new Promise(e=>{Wo&&"function"==typeof Wo.stopSessionReplayRecording&&Wo.stopSessionReplayRecording(),Wo&&"function"==typeof Wo.stopSession&&Wo.stopSession(),e(!0)})]})(),h1})());

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.